@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: var(--fs-14, 14px);
    color: var(--Light_mode-Gray_Scale-5, #1a1a1a);
    background-color: #1a1a18;
    overflow-x: hidden;
}

/* ==========================================================================
   HEADER COMPONENT (CHUẨN BEM CSS - RESPONSIVE & CHỈ DÙNG ICON SVG)
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 900;
    padding: 24px 44px;
    background: transparent;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.header--scrolled {
    padding: 16px 44px;
    background: rgba(20, 20, 18, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header__container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 1. Left: Navigation */
.header__nav {
    flex: 1;
    display: flex;
    align-items: center;
}

.header__menu {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header__menu-link {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    color: rgba(255, 255, 255, 0.92);
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s ease;
}

.header__menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.header__menu-link:hover {
    color: #ffffff;
}

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

/* 2. Center: Brand Logo */
.header__brand {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.header__logo {
    text-decoration: none;
    color: #ffffff;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.header__logo:hover {
    opacity: 0.85;
}

.header__logo-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-weight: 400;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
}

/* 3. Right: Actions */
.header__actions {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
}

/* Cart Icon */
.header__cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    padding: 6px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.header__cart:hover {
    transform: scale(1.08);
}

.header__cart-badge {
    position: absolute;
    top: -2px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* Mobile Toggle Hamburger */
.header__toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 950;
}

.header__toggle-bar {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile Drawer */
.header__mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 1000;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0.4s ease;
}

.header__mobile-drawer.is-active {
    visibility: visible;
    pointer-events: auto;
}

.header__mobile-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.header__mobile-drawer.is-active .header__mobile-backdrop {
    opacity: 1;
}

.header__mobile-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 85%;
    max-width: 360px;
    background: #1c1c1a;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
}

.header__mobile-drawer.is-active .header__mobile-content {
    transform: translateX(0);
}

.header__mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header__mobile-logo {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    color: #ffffff;
    text-transform: uppercase;
}

.header__mobile-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: color 0.3s ease;
}

.header__mobile-close:hover {
    color: #ffffff;
}

.header__mobile-list {
    list-style: none;
    margin: 40px 0 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.header__mobile-link {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: block;
}

.header__mobile-link:hover {
    color: #ffffff;
    padding-left: 6px;
}

/* Responsive Header */
@media (max-width: 991px) {
    .header {
        padding: 20px 24px;
    }
    
    .header--scrolled {
        padding: 14px 24px;
    }

    .header__nav {
        display: none;
    }

    .header__brand {
        justify-content: flex-start;
    }

    .header__toggle {
        display: flex;
    }

    .header__actions {
        gap: 16px;
    }
}