:root {
    --primary: #9a6a4c;
    --primary-dark: #6a4330;
    --secondary: #f4ede6;
    --accent: #d4a373;
    --dark: #1f2937;
    --muted: #6b7280;
    --light: #fffaf6;
    --white: #ffffff;
    --border: rgba(154, 106, 76, 0.14);
    --shadow: 0 18px 45px rgba(31, 41, 55, 0.08);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Be Vietnam Pro', sans-serif;
    color: var(--dark);
    background: linear-gradient(180deg, #fffaf6 0%, #f7f2ec 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.section-padding {
    padding: 84px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: .75rem;
}

.section-subtitle {
    color: var(--muted);
    max-width: 650px;
}

.bg-soft {
    background: rgba(255,255,255,0.65);
}

.text-primary {
    color: var(--primary) !important;
}

.btn-brand {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 12px 24px;
    font-weight: 700;
    transition: .3s ease;
    box-shadow: 0 12px 25px rgba(154, 106, 76, 0.24);
}

    .btn-brand:hover {
        transform: translateY(-2px);
        color: #fff;
    }

.btn-outline-brand {
    border: 1px solid rgba(154, 106, 76, 0.32);
    color: var(--primary-dark);
    border-radius: 999px;
    padding: 11px 22px;
    font-weight: 700;
    background: rgba(255,255,255,0.88);
}

.topbar {
    background: rgba(31, 41, 55, 0.95);
    color: rgba(255,255,255,0.9);
    font-size: .92rem;
}

.navbar {
    backdrop-filter: blur(16px);
    background: rgba(255, 250, 246, 0.86) !important;
    border-bottom: 1px solid rgba(154, 106, 76, 0.08);
}

.navbar-brand img {
    height: 48px;
}

.nav-link {
    font-weight: 600;
    color: var(--dark);
    margin-left: 10px;
}

    .nav-link:hover, .nav-link.active {
        color: var(--primary);
    }

.hero-wrap {
    min-height: 100vh;
    padding-top: 110px;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    border-radius: 34px;
    min-height: 72vh;
    padding: 70px;
    color: #fff;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

    .hero-slide::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 34px;
        background: linear-gradient(90deg, rgba(17,24,39,.78) 0%, rgba(17,24,39,.38) 48%, rgba(17,24,39,.18) 100%);
    }

.hero-slide-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    font-weight: 700;
    margin-bottom: 22px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    font-weight: 800;
    line-height: 1.08;
}

.hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,.88);
    max-width: 560px;
}

.hero-stats {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 14px;
    max-width: 560px;
}

.stat-card {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 22px;
    padding: 18px;
}

    .stat-card strong {
        display: block;
        font-size: 1.35rem;
    }

.floating-card {
    border-radius: 28px;
    padding: 26px;
    background: rgba(255,255,255,.9);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,.72);
}

.category-card, .product-card, .testimonial-card, .contact-card, .admin-card {
    background: rgba(255,255,255,.88);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.category-card {
    padding: 28px;
    height: 100%;
    transition: .28s ease;
}

    .category-card:hover, .product-card:hover {
        transform: translateY(-6px);
    }

.category-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(154,106,76,.15), rgba(212,163,115,.2));
    color: var(--primary);
    font-size: 1.45rem;
}

.product-card {
    overflow: hidden;
    height: 100%;
}

.product-media {
    position: relative;
    background: #f5efe8;
}

    .product-media img {
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

.badge-soft {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.94);
    font-size: .82rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.product-content {
    padding: 22px;
}

.product-category {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .72rem;
    color: var(--primary);
    font-weight: 800;
}

.product-title {
    font-size: 1.08rem;
    font-weight: 700;
    margin: 8px 0 10px;
    min-height: 52px;
}

    .product-title a:hover {
        color: var(--primary);
    }

.product-desc {
    color: var(--muted);
    min-height: 48px;
}

.price-box {
    display: flex;
    gap: 10px;
    align-items: center;
}

    .price-box strong {
        color: var(--primary-dark);
        font-size: 1.15rem;
    }

    .price-box del {
        color: #9ca3af;
    }

.action-row {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    display: grid;
    place-items: center;
}

.feature-strip {
    background: linear-gradient(135deg, rgba(31,41,55,.98), rgba(106,67,48,.96));
    color: #fff;
    border-radius: 34px;
    padding: 36px;
}

.filter-bar {
    background: rgba(255,255,255,.82);
    padding: 18px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 24px;
}

.pagination .page-link {
    border: none;
    color: var(--primary-dark);
    margin: 0 4px;
    border-radius: 12px;
    box-shadow: 0 5px 14px rgba(31,41,55,.06);
}

.pagination .active .page-link {
    background: var(--primary);
    color: white;
}

.detail-gallery-main {
    overflow: hidden;
    border-radius: 28px;
    background: #f5efe8;
}

.detail-thumb {
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
}

    .detail-thumb.active {
        border-color: var(--primary);
    }

.info-list li {
    margin-bottom: 10px;
    color: var(--muted);
}

.similar-area {
    background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.92));
}

.cart-item {
    display: grid;
    grid-template-columns: 90px 1.6fr .9fr .8fr auto;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-bottom: 1px solid rgba(107,114,128,.12);
}

    .cart-item img {
        border-radius: 16px;
    }

.summary-box {
    padding: 26px;
}

.form-control, .form-select {
    border-radius: 16px;
    min-height: 50px;
    border-color: rgba(154,106,76,.16);
    padding-left: 16px;
}

    .form-control:focus, .form-select:focus {
        border-color: rgba(154,106,76,.5);
        box-shadow: 0 0 0 .18rem rgba(154,106,76,.12);
    }

.contact-map iframe {
    width: 100%;
    min-height: 420px;
    border: 0;
    border-radius: 24px;
}

.footer {
    background: #111827;
    color: rgba(255,255,255,.78);
    padding: 64px 0 30px;
}

    .footer h5 {
        color: white;
    }

    .footer a {
        color: rgba(255,255,255,.78);
    }

        .footer a:hover {
            color: white;
        }

.search-pill {
    border-radius: 999px;
    background: rgba(154,106,76,.08);
    color: var(--primary);
    padding: 8px 14px;
    font-weight: 700;
}

.admin-sidebar {
    min-height: 100vh;
    background: linear-gradient(180deg, #111827 0%, #1f2937 100%);
    color: #fff;
    padding: 28px 18px;
}

.admin-menu a {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 16px;
    color: rgba(255,255,255,.84);
    margin-bottom: 8px;
}

    .admin-menu a.active, .admin-menu a:hover {
        background: rgba(255,255,255,.1);
        color: #fff;
    }

.admin-topbar {
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(154,106,76,.1);
}

.metric-card {
    padding: 24px;
    border-radius: 24px;
    background: white;
    box-shadow: var(--shadow);
}

    .metric-card small {
        color: var(--muted);
        font-weight: 600;
    }

    .metric-card h3 {
        margin: 12px 0 4px;
        font-size: 2rem;
    }

.table-modern {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

    .table-modern th {
        color: var(--muted);
        font-size: .9rem;
        text-transform: uppercase;
        letter-spacing: .06em;
    }

    .table-modern td, .table-modern th {
        padding: 18px 20px;
        vertical-align: middle;
    }

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 99;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #22c55e;
    color: white;
    display: grid;
    place-items: center;
    box-shadow: 0 18px 35px rgba(34,197,94,.32);
}

.empty-state {
    padding: 56px 20px;
    text-align: center;
    color: var(--muted);
}

@media (max-width: 991px) {
    .hero-slide {
        padding: 36px 26px;
        min-height: 76vh;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .section-padding {
        padding: 64px 0;
    }

    .cart-item {
        grid-template-columns: 72px 1fr;
    }
}

@media (max-width: 767px) {
    .hero-wrap {
        min-height: auto;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .feature-strip, .floating-card {
        padding: 24px;
    }

    .navbar-brand img {
        height: 40px;
    }

    .action-row {
        flex-wrap: wrap;
    }
}

.monaco-product-card {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 8px 24px rgba(60, 40, 20, 0.07);
    transition: all .25s ease;
}

    .monaco-product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 36px rgba(60, 40, 20, 0.12);
    }

.monaco-product-thumb-wrap {
    position: relative;
    background: #d9c9b8;
    padding: 18px 18px 0 18px;
}

.monaco-product-thumb {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    border-radius: 22px;
    background: #f3f3f3;
}

.monaco-badge-card {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 5;
    background: #fff;
    color: #8f603c;
    font-weight: 700;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 999px;
}

.monaco-product-body {
    padding: 22px 22px 18px;
    background: #fff;
}

.monaco-product-category {
    color: #a56f45;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.monaco-product-title {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 800;
    min-height: 58px;
    margin-bottom: 14px;
}

    .monaco-product-title a {
        text-decoration: none;
        color: #1e2c45;
    }

        .monaco-product-title a:hover {
            color: #a56f45;
        }

.monaco-product-desc {
    color: #6f7685;
    font-size: 17px;
    line-height: 1.6;
    min-height: 82px;
    margin-bottom: 18px;
}

.monaco-product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 14px;
}

.monaco-price-now {
    font-size: 20px;
    font-weight: 800;
    color: #8c5d38;
    line-height: 1.2;
}

.monaco-action-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.monaco-eye-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eadfd5;
    color: #1e2c45;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all .2s ease;
}

    .monaco-eye-btn:hover {
        color: #a56f45;
        border-color: #d4b08f;
    }

.monaco-cart-btn {
    border: none;
    background: #c7925e;
    color: #fff !important;
    border-radius: 999px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

    .monaco-cart-btn:hover {
        background: #b57f4c;
        color: #fff !important;
    }

@media (max-width: 991.98px) {
    .monaco-product-thumb {
        height: 280px;
    }
}

@media (max-width: 767.98px) {
    .monaco-product-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .monaco-action-group {
        width: 100%;
        justify-content: space-between;
    }

    .monaco-cart-btn {
        flex: 1;
    }

    .monaco-product-desc {
        min-height: auto;
    }

    .monaco-product-card {
        background: #fff;
        border-radius: 28px;
        overflow: hidden;
        height: 100%;
        box-shadow: 0 8px 24px rgba(60, 40, 20, 0.07);
        transition: all .25s ease;
    }

        .monaco-product-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 16px 36px rgba(60, 40, 20, 0.12);
        }

    .monaco-product-thumb-wrap {
        position: relative;
        background: #d9c9b8;
        padding: 18px 18px 0 18px;
    }

    .monaco-product-thumb {
        width: 100%;
        height: 320px;
        object-fit: cover;
        display: block;
        border-radius: 22px;
        background: #f3f3f3;
    }

    .monaco-badge-card {
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 5;
        background: #fff;
        color: #8f603c;
        font-weight: 700;
        font-size: 15px;
        padding: 8px 16px;
        border-radius: 999px;
    }

    .monaco-product-body {
        padding: 22px 22px 18px;
        background: #fff;
    }

    .monaco-product-category {
        color: #a56f45;
        font-size: 14px;
        font-weight: 800;
        letter-spacing: 2px;
        text-transform: uppercase;
        margin-bottom: 10px;
    }

    .monaco-product-title {
        font-size: 20px;
        line-height: 1.4;
        font-weight: 800;
        min-height: 58px;
        margin-bottom: 14px;
    }

        .monaco-product-title a {
            text-decoration: none;
            color: #1e2c45;
        }

            .monaco-product-title a:hover {
                color: #a56f45;
            }

    .monaco-product-desc {
        color: #6f7685;
        font-size: 17px;
        line-height: 1.6;
        min-height: 82px;
        margin-bottom: 18px;
    }

    .monaco-product-bottom {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        gap: 14px;
    }

    .monaco-price-now {
        font-size: 20px;
        font-weight: 800;
        color: #8c5d38;
        line-height: 1.2;
    }

    .monaco-action-group {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .monaco-eye-btn {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: #fff;
        border: 1px solid #eadfd5;
        color: #1e2c45;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: all .2s ease;
    }

        .monaco-eye-btn:hover {
            color: #a56f45;
            border-color: #d4b08f;
        }

    .monaco-cart-btn {
        border: none;
        background: #c7925e;
        color: #fff !important;
        border-radius: 999px;
        padding: 12px 28px;
        font-size: 16px;
        font-weight: 700;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: all .2s ease;
    }

    .detail-gallery-card,
    .detail-info-card {
        background: #fff;
        border-radius: 28px;
        padding: 24px;
        box-shadow: 0 8px 24px rgba(60,40,20,.07);
    }

    .detail-main-image-wrap {
        background: #f6f0ea;
        border-radius: 24px;
        overflow: hidden;
    }

    .detail-main-image {
        width: 100%;
        height: 520px;
        object-fit: cover;
        display: block;
    }

    .detail-thumb-item {
        background: #faf7f4;
        border-radius: 18px;
        overflow: hidden;
        border: 1px solid #eee2d8;
    }

    .detail-thumb-image,
    .detail-thumb-video {
        width: 100%;
        height: 120px;
        object-fit: cover;
        display: block;
    }

    .detail-category {
        color: #a56f45;
        font-size: 14px;
        font-weight: 800;
        letter-spacing: 2px;
        text-transform: uppercase;
        margin-bottom: 10px;
    }

    .detail-title {
        font-size: 38px;
        line-height: 1.25;
        font-weight: 800;
        color: #1e2c45;
        margin-bottom: 14px;
    }

    .detail-price {
        font-size: 30px;
        font-weight: 800;
        color: #8c5d38;
    }

    .detail-code {
        color: #6f7685;
        font-size: 16px;
    }

    .detail-desc {
        color: #4f596b;
        font-size: 17px;
        line-height: 1.8;
    }

    .detail-option-card {
        background: #faf7f4;
        border: 1px solid #eee2d8;
        border-radius: 22px;
        padding: 20px;
    }

    .detail-action-wrap {
        display: flex;
        gap: 14px;
        flex-wrap: wrap;
    }

    .btn-outline-brand {
        border: 1px solid #c7925e;
        color: #c7925e;
        background: #fff;
    }

        .btn-outline-brand:hover {
            background: #c7925e;
            color: #fff;
        }

    @media (max-width: 991.98px) {
        .detail-main-image {
            height: 380px;
        }

        .detail-title {
            font-size: 30px;
        }
    }

    .monaco-cart-btn:hover {
        background: #b57f4c;
        color: #fff !important;
    }

    .filter-bar {
        background: #fff;
        border-radius: 24px;
        padding: 20px;
        box-shadow: 0 8px 24px rgba(60,40,20,.05);
        margin-bottom: 24px;
    }

    .search-pill {
        display: inline-block;
        padding: 8px 18px;
        border-radius: 999px;
        background: #f6efe8;
        color: #8c5d38;
        font-weight: 700;
    }

    @media (max-width: 991.98px) {
        .monaco-product-thumb {
            height: 280px;
        }
    }

    @media (max-width: 767.98px) {
        .monaco-product-bottom {
            flex-direction: column;
            align-items: stretch;
        }

        .monaco-action-group {
            width: 100%;
            justify-content: space-between;
        }

        .monaco-cart-btn {
            flex: 1;
        }

        .monaco-product-desc {
            min-height: auto;
        }
    }
}
