﻿:root {
    --color-gold: #d4af37;
    --color-dark: #212529;
    --color-text: #333;
    --color-light: #f8f9fa;
    --transition-base: all 0.3s ease;
}

.customer-info-static small {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
}
body {
    background-color: #f8f9fa;
}

.card {
    border-radius: 15px;
}

.step-icon {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: #dee2e6;
    color: #fff;
    display: inline-block;
    font-size: 1.2rem;
}

.step-icon.active {
    background: #0d6efd;
    box-shadow: 0 0 10px rgba(13, 110, 253, 0.3);
}

.table thead th {
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #6c757d;
}
.customer-info-static span {
    display: block;
    line-height: 1.4;
}

.card-custom {
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
    border: none;
}

.admin-sidebar {
    width: 260px;
    background-color: #fff; 
    border-right: 1px solid #eee;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
}
.carrier-wrapper {
    display: flex;
    min-height: 100vh;
}

.carrier-sidebar {
    width: 260px;
    background-color: #fff;
    border-right: 1px solid #eee;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    padding: 20px;
}

.carrier-main {
    margin-left: 260px;
    width: calc(100% - 260px);
    background-color: #f8f9fa;
}
.admin-main-content {
    margin-left: 260px; 
    width: calc(100% - 260px);
    background-color: #f8f9fa;
    min-height: 100vh;
}

.sidebar-link{
    text-decoration: none;
}

.sidebar-link.active {
    color: var(--color-gold) !important;
    background-color: #fffcf0 !important;
    border-right: 3px solid var(--color-gold);
    transform: translateX(5px);
    font-weight: 600;
}
/* --- Global & Layout --- */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
}

.bg-gray-100 {
    background-color: var(--color-light);
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.text-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3em;
}

/* --- Navbar & Search --- */
.navbar {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    background-color: #fff;
    padding-block: 0.8rem;
}

.navbar-brand img {
    height: 45px;
    transition: transform 0.3s;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: var(--color-text) !important;
    margin: 0 10px;
    transition: var(--transition-base);
    position: relative;
}

    .nav-link:hover, .nav-link.active {
        color: var(--color-gold) !important;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: var(--color-gold);
        transition: width 0.3s;
    }

    .nav-link:hover::after {
        width: 100%;
    }

.search-group .form-control {
    border-radius: 20px 0 0 20px;
    border-right: none;
}

.search-group .btn-search {
    border-radius: 0 20px 20px 0;
    border-left: none;
    border-color: #ced4da;
    background-color: #fff;
    color: var(--color-text);
}

    .search-group .btn-search:hover {
        background-color: var(--color-gold);
        color: #fff;
        border-color: var(--color-gold);
    }

/* --- User & Cart --- */
.user-menu .dropdown-toggle {
    background: transparent;
    border: 1px solid #eee;
    padding: 5px 15px;
    border-radius: 30px;
    transition: var(--transition-base);
}

    .user-menu .dropdown-toggle:hover {
        border-color: var(--color-gold);
        color: var(--color-gold) !important;
    }

.dropdown-item:active {
    background-color: var(--color-gold);
}

.btn-cart, .btn-cart-wrapper i {
    color: var(--color-text);
    transition: var(--transition-base);
}

    .btn-cart:hover, .btn-cart-wrapper:hover i {
        color: var(--color-gold);
    }

.btn-cart-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border: none;
    background: transparent;
    transition: transform 0.2s;
}

    .btn-cart-wrapper:hover {
        transform: scale(1.1);
    }

    .btn-cart-wrapper i {
        font-size: 1.6rem;
    }

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(30%, -30%);
    font-size: 0.7rem;
    padding: 0.35em 0.5em;
}

.cart-badge-count {
    position: absolute;
    top: 3px;
    right: -3px;
    background-color: #dc3545;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    width: 18px;
    height: 18px;
    line-height: 16px;
    text-align: center;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* --- Components: Card, Carousel, Section --- */
.card {
    border: 1px solid #ddd !important;
}

.card-custom {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.card-header-custom {
    background-color: white;
    border-bottom: 1px solid #eee;
    padding: 15px 20px;
    border-radius: 12px 12px 0 0;
    font-weight: 700;
    color: var(--color-text);
}

.carousel-fade-wrapper {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.carousel-item img {
    object-fit: cover !important;
    max-height: 420px !important;
}

.section-title {
    font-weight: 700;
    color: var(--color-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

    .section-title::after {
        content: '';
        position: absolute;
        width: 60px;
        height: 3px;
        background-color: var(--color-gold);
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }

/* --- Product Cards --- */
.ho-item:hover {
    transform: translateY(-10px);
}

.product-card {
    transition: var(--transition-base);
    border: 1px solid #eee;
    background: #fff;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-color: var(--color-gold);
    }

.product-img {
    transition: transform 0.2s;
}

    .product-img:hover {
        transform: scale(1.05);
    }

.card-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}

    .card-img-wrapper img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 90%;
        max-height: 90%;
        object-fit: contain;
        transition: transform 0.5s ease;
    }

.product-card:hover .card-img-wrapper img {
    transform: translate(-50%, -50%) scale(1.05);
}

/* --- Buttons --- */
.btn-buy-now {
    background-color: var(--color-dark);
    color: #fff;
    border: none;
    font-weight: 500;
}

    .btn-buy-now:hover, .btn-login:hover {
        background-color: var(--color-gold);
        color: #000;
    }

.btn-outline-gold {
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    font-weight: 600;
    padding: 10px 30px;
    transition: 0.3s;
}

    .btn-outline-gold:hover {
        background-color: var(--color-gold);
        color: #fff;
    }

.btn-action-lg {
    height: 60px;
    border-radius: 8px;
    transition: var(--transition-base);
}

.btn-buy-now-lg {
    background-color: var(--color-gold);
    color: #fff;
    border: none;
}

    .btn-buy-now-lg:hover {
        background-color: #c09b2d;
        color: #fff;
        box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    }

.btn-add-cart-lg {
    border: 2px solid var(--color-dark);
    color: var(--color-dark);
    background: #fff;
}

    .btn-add-cart-lg:hover {
        background: var(--color-dark);
        color: #fff;
    }

/* --- Checkout & Voucher --- */
.checkout-summary {
    position: sticky;
    top: 2rem;
}

.step-breadcrumb {
    font-size: 0.9rem;
    color: #6c757d;
}

.voucher-item {
    border: 1px dashed #ced4da;
    border-radius: 8px;
    transition: 0.2s;
}

    .voucher-item:hover {
        background-color: #f0fff4;
        border-color: #198754;
        cursor: pointer;
    }

.voucher-radio:checked + label .voucher-item {
    background-color: #d1e7dd;
    border-color: #0f5132;
}

/* --- Sidebar & Breadcrumb --- */
.sidebar-wrapper {
    background-color: #fff;
    border: 1px solid #eee;
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
    position: relative;
}

    .sidebar-title::after {
        content: '';
        position: absolute;
        width: 40px;
        height: 2px;
        background-color: var(--color-gold);
        bottom: -2px;
        left: 0;
    }

.sidebar-link {
    color: #555;
    font-weight: 500;
    padding: 8px 10px;
    border-radius: 5px;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
}

    .sidebar-link i {
        margin-right: 10px;
        color: #aaa;
        transition: color 0.3s;
    }

    .sidebar-link:hover, .sidebar-link.active {
        color: var(--color-gold);
        background-color: #fffcf0;
        transform: translateX(5px);
    }

        .sidebar-link:hover i {
            color: var(--color-gold);
        }

.breadcrumb-custom {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

    .breadcrumb-custom .breadcrumb-item a {
        color: #999;
        text-decoration: none;
        transition: color 0.3s;
    }

        .breadcrumb-custom .breadcrumb-item a:hover {
            color: var(--color-gold);
        }

    .breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
        content: "›";
        font-size: 1.2rem;
        line-height: 1;
        color: #ccc;
    }

/* --- Pagination --- */
.pagination-zyuuki .page-link {
    color: var(--color-dark);
    border: none;
    background: var(--color-light);
    margin: 0 5px;
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    transition: var(--transition-base);
}

    .pagination-zyuuki .page-link:hover, .pagination-zyuuki .page-item.active .page-link {
        background-color: var(--color-gold);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
    }

.pagination-zyuuki .page-item:first-child .page-link, .pagination-zyuuki .page-item:last-child .page-link {
    background: transparent;
    font-size: 1.2rem;
}

/* --- Product Details --- */
.main-image-frame {
    border: 1px solid #eee;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
}

.thumb-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
}

.thumb-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 1px solid #eee;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.2s;
    background: #fff;
}

    .thumb-img:hover, .thumb-img.active {
        opacity: 1;
        border-color: var(--color-gold);
        transform: translateY(-2px);
    }

.quantity-group .btn {
    border-color: #ced4da;
    color: var(--color-text);
    width: 40px;
}

    .quantity-group .btn:hover {
        background-color: var(--color-light);
    }

.quantity-group .form-control {
    border-color: #ced4da;
    border-inline: 0;
    font-weight: 600;
}

/* --- Profile & Tables --- */
.profile-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: none;
    overflow: hidden;
}

.profile-header {
    background-color: var(--color-dark);
    color: var(--color-gold);
    padding: 20px 30px;
    border-bottom: 3px solid var(--color-gold);
}

.profile-label {
    font-weight: 600;
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-avatar-lg {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.form-control-view {
    background-color: var(--color-light);
    border: 1px solid #e9ecef;
    color: var(--color-dark);
    font-weight: 500;
    padding: 10px 15px;
}

    .form-control-view:focus {
        background-color: var(--color-light);
        box-shadow: none;
        border-color: var(--color-gold);
    }

.btn-update-profile {
    background-color: var(--color-gold);
    color: #fff;
    border: none;
    padding: 10px 30px;
    font-weight: 600;
    transition: 0.3s;
}

    .btn-update-profile:hover {
        background-color: #c09b2d;
        transform: translateY(-2px);
        box-shadow: 0 5px 10px rgba(212, 175, 55, 0.3);
    }

.table-custom th, .table-purchased thead th {
    font-weight: 600;
    text-transform: uppercase;
}

.table-custom th {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: #6c757d;
}

.table-purchased thead th {
    background-color: var(--color-dark);
    color: var(--color-gold);
    border: none;
    font-size: 0.9rem;
    padding: 15px;
}

.table-purchased tbody td, .table-order tbody td {
    vertical-align: middle;
    padding: 15px;
}

.table-purchased tbody td {
    border-bottom: 1px solid #eee;
}

.table-purchased tbody tr:hover {
    background-color: #fcfcfc;
}

.img-thumbnail-sm {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #eee;
    padding: 5px;
    background: #fff;
}

.table-order thead th {
    background-color: var(--color-light);
    color: #555;
    font-size: 0.85rem;
    border-bottom: 2px solid #eee;
    padding: 15px;
    text-transform: uppercase;
    font-weight: 600;
}

.order-id {
    font-family: monospace;
    font-weight: 700;
    color: var(--color-dark);
    background: #eee;
    padding: 2px 6px;
    border-radius: 4px;
}

/* --- Badges & Reviews --- */
.badge-soft-warning {
    background-color: #fff8dd;
    color: var(--color-gold);
    border: 1px solid #ffeeba;
}

.badge-soft-success {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.badge-soft-danger {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

.badge-soft-info {
    background-color: #cff4fc;
    color: #055160;
    border: 1px solid #b6effb;
}

.review-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 25px;
    height: 100%;
    transition: var(--transition-base);
    position: relative;
}

    .review-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
        border-color: var(--color-gold);
    }

        .review-card:hover .quote-icon {
            color: #fffcf0;
        }

.quote-icon {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 3rem;
    color: #f0f0f0;
    font-family: serif;
    line-height: 1;
}

.review-text {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.user-avatar-sm, .avatar-circle {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.review-item {
    background-color: var(--color-light);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
}

.btn-rate {
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    font-weight: 600;
    transition: var(--transition-base);
    border-radius: 50px;
    padding: 5px 20px;
}

.btn-rate:hover {
    background-color: var(--color-gold);
    color: #fff;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.zyuuki-footer {
    background: linear-gradient(to right, #1a1c20, #212529);
    color: #e9ecef;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .footer-social-link:hover {
        background-color: #ffc107;
        color: #212529;
        transform: translateY(-3px);
        box-shadow: 0 4px 10px rgba(255, 193, 7, 0.4);
    }

.team-member-name {
    font-size: 0.95rem;
    color: #f8f9fa;
}

.team-member-id {
    font-size: 0.8rem;
    color: #adb5bd;
}
