/* ============================================================
   FABEEYA GLOBAL STYLES — Shared across all wireframe pages
   Generated from home/index.html master CSS
   ============================================================ */

    /* Design Tokens */
    :root {
      /* Base Theme Variables (Dark Mode by default) */
      --bg-body: #1A110B;
      --bg-primary: #1A110B;
      --bg-secondary: #1F150F;
      --bg-footer: #150E09;
      --text-primary: #FDFBF7;
      --text-secondary: #E8D8CE;
      --text-contrast: #FDFBF7;
      --border-theme: rgba(212, 175, 55, 0.15);
      --border-card: rgba(212, 175, 55, 0.15);
      --card-bg: rgba(255, 255, 255, 0.02);
      --card-bg-hover: rgba(255, 255, 255, 0.04);
      --card-border-hover: #D4AF37;
      --gold-accent: #D4AF37;
      --btn-primary-bg: linear-gradient(135deg, #D4AF37 0%, #B89020 100%);
      --btn-primary-text: #1A110B;
      --btn-primary-hover-bg: #ffffff;
      --btn-primary-hover-text: #B89020;

      /* Scrolled Header (Dark by default) */
      --header-scrolled-bg: #1A110B;
      --header-scrolled-bg-glass: rgba(26, 17, 11, 0.75);
      --header-scrolled-text: #ffffff;
      --header-scrolled-border: rgba(212, 175, 55, 0.15);
      --header-scrolled-search-bg: rgba(255, 255, 255, 0.08);
      --header-scrolled-search-border: rgba(212, 175, 55, 0.25);
      --header-scrolled-search-text: #ffffff;

      /* Drawer & Dropdowns */
      --dropdown-bg: #1A110B;
      --dropdown-border: rgba(212, 175, 55, 0.25);
      --dropdown-text: #ffffff;
      --dropdown-text-muted: #E8D8CE;
      --dropdown-item-hover: rgba(255, 255, 255, 0.03);
      --drawer-bg: #1A110B;
      --drawer-footer-bg: #150E09;

      /* Floating Search Glassmorphism (Dark Coffee Brown Glass) */
      --search-glass-bg: rgba(42, 29, 20, 0.72);
      --search-glass-border: rgba(212, 175, 55, 0.2);
      --search-glass-text: #FDFBF7;
      --search-glass-text-muted: #E8D8CE;
      --search-glass-input-bg: rgba(255, 255, 255, 0.06);
      --search-glass-input-border: rgba(212, 175, 55, 0.25);
      --search-glass-input-text: #ffffff;
      --search-glass-tab-active: #D4AF37;
      --search-glass-tab-active-bar: #D4AF37;

      /* Core Design Tokens */
      --primary-brown: #4A3525;
      --primary-brown-dark: #352519;
      --primary-brown-light: #6E533C;
      --accent-cream: #FDFBF7;
      --accent-beige: #F7F4EB;
      --accent-rose: #E8D8CE;
      --accent-rose-light: #F5EDE8;
      --text-dark: #2C2520;
      --text-muted: #7A726C;
      --border-color: #EFECE6;
      --white: #ffffff;
      --gold: #D4AF37;
      --red: #C0392B;
      --shadow-sm: 0 2px 8px rgba(74, 53, 37, 0.04);
      --shadow-md: 0 8px 24px rgba(74, 53, 37, 0.08);
      --shadow-lg: 0 16px 32px rgba(74, 53, 37, 0.12);
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    body.light-mode {
      --bg-body: #ffffff;
      --bg-primary: #ffffff;
      --bg-secondary: #FDFBF7;
      --bg-footer: #4A3525;
      --text-primary: #2C2520;
      --text-secondary: #7A726C;
      --text-contrast: #2C2520;
      --border-theme: #DCD1C4;
      --border-card: #CDBEB0;
      --border-color: #DCD1C4;
      --card-bg: #ffffff;
      --card-bg-hover: #FDFBF7;
      --card-border-hover: #4A3525;
      --gold-accent: #4A3525;
      --btn-primary-bg: linear-gradient(135deg, #4A3525 0%, #352519 100%);
      --btn-primary-text: #ffffff;
      --btn-primary-hover-bg: #ffffff;
      --btn-primary-hover-text: #4A3525;

      /* Scrolled Header (Light Mode) */
      --header-scrolled-bg: #ffffff;
      --header-scrolled-bg-glass: rgba(255, 255, 255, 0.75);
      --header-scrolled-text: #2C2520;
      --header-scrolled-border: #DCD1C4;
      --header-scrolled-search-bg: #FCF6F2;
      --header-scrolled-search-border: #DCD1C4;
      --header-scrolled-search-text: #2C2520;

      /* Drawer & Dropdowns */
      --dropdown-bg: #ffffff;
      --dropdown-border: #CDBEB0;
      --dropdown-text: #2C2520;
      --dropdown-text-muted: #7A726C;
      --dropdown-item-hover: #FDFBF7;
      --drawer-bg: #ffffff;
      --drawer-footer-bg: #FDFBF7;

      /* Floating Search Glassmorphism (White Glass) */
      --search-glass-bg: rgba(255, 255, 255, 0.7);
      --search-glass-border: rgba(74, 53, 37, 0.15);
      --search-glass-text: #2C2520;
      --search-glass-text-muted: #7A726C;
      --search-glass-input-bg: rgba(255, 255, 255, 0.5);
      --search-glass-input-border: rgba(74, 53, 37, 0.15);
      --search-glass-input-text: #2C2520;
      --search-glass-tab-active: #4A3525;
      --search-glass-tab-active-bar: #4A3525;
    }

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

    body {
      font-family: 'Plus Jakarta Sans', sans-serif;
      color: var(--text-primary);
      background-color: var(--bg-body);
      line-height: 1.6;
      overflow-x: hidden;
      transition: background-color 0.3s ease, color 0.3s ease;
    }

    h1,
    h2,
    h3,
    h4,
    .serif-font {
      font-family: 'Playfair Display', serif;
      font-weight: 600;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: var(--transition);
    }

    button {
      font-family: 'Plus Jakarta Sans', sans-serif;
      cursor: pointer;
      border: none;
      background: none;
      transition: var(--transition);
    }

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

    /* Utility Classes */
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    .flex-center {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .text-center {
      text-align: center;
    }

    /* Top Announcement Bar */
    .top-bar {
      background-color: #150E09;
      border-bottom: 1px solid rgba(212, 175, 55, 0.12);
      font-size: 12px;
      color: rgba(255, 255, 255, 0.85);
      padding: 8px 0;
      font-weight: 500;
      letter-spacing: 0.3px;
    }

    .top-bar .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
    }

    .top-bar-left,
    .top-bar-right {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .top-bar-link {
      color: rgba(255, 255, 255, 0.8);
      font-size: 12px;
      font-weight: 500;
      text-decoration: none;
      transition: color 0.2s ease;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .top-bar-link svg {
      color: inherit;
      fill: none;
      stroke: currentColor;
    }

    .top-bar-link:hover {
      color: #D4AF37;
    }

    /* ============================================================
       MAIN HEADER — Fixed Brown Glass (NOT affected by dark/light mode)
       Always: dark brown glassmorphism bg + white logo + white icons
       ============================================================ */
    .main-header {
      /* Fixed brown glass — always dark, immune to theme variables */
      background: rgba(20, 12, 6, 0.55);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      padding: 18px 0;
      position: fixed;
      width: 100%;
      top: 35px;
      left: 0;
      z-index: 100;
      border-bottom: 1px solid rgba(212, 175, 55, 0.18);
      box-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
      transition: top 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                  padding 0.3s ease,
                  background 0.3s ease,
                  box-shadow 0.3s ease;
    }

    /* Logo — always white */
    .main-header .logo-main {
      color: #ffffff !important;
      text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
    }

    .main-header .logo-sub {
      color: rgba(255, 255, 255, 0.65) !important;
      letter-spacing: 4px;
    }

    /* Nav links — always white */
    .main-header .header-nav-link {
      color: #ffffff !important;
    }

    .main-header .header-nav-link:hover {
      color: #D4AF37 !important;
    }

    /* Action buttons (cart, wishlist, bell) — always white */
    .main-header .header-action-btn {
      color: #ffffff !important;
    }

    .main-header .header-action-btn svg {
      color: inherit !important;
      stroke: currentColor;
      fill: currentColor;
    }

    .main-header .header-action-btn svg[fill="none"] {
      fill: none !important;
      stroke: currentColor;
    }

    /* Search bar — frosted glass white */
    .main-header .search-input {
      background-color: rgba(255, 255, 255, 0.10) !important;
      border-color: rgba(212, 175, 55, 0.25) !important;
      color: #ffffff !important;
    }

    .main-header .search-input::placeholder {
      color: rgba(255, 255, 255, 0.5);
    }

    .main-header .search-input:focus {
      background-color: rgba(255, 255, 255, 0.15) !important;
      border-color: rgba(212, 175, 55, 0.5) !important;
      box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
    }

    .main-header .search-btn {
      color: rgba(255, 255, 255, 0.75) !important;
    }

    /* Member card button */
    .main-header .btn-member-card {
      background-color: rgba(212, 175, 55, 0.15) !important;
      border: 1px solid rgba(212, 175, 55, 0.4) !important;
      color: #D4AF37 !important;
      font-weight: 700;
    }

    .main-header .btn-member-card:hover {
      background-color: #D4AF37 !important;
      color: #1A110B !important;
      border-color: #D4AF37 !important;
    }

    /* Scrolled state — deepen glass */
    .main-header.scrolled {
      background: rgba(15, 9, 4, 0.82) !important;
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      padding: 10px 0;
      box-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
      top: 0 !important;
      border-bottom: 1px solid rgba(212, 175, 55, 0.22);
    }

    /* Scrolled state — logo and icons stay white */
    .main-header.scrolled .logo-main {
      color: #ffffff !important;
    }

    .main-header.scrolled .logo-sub {
      color: rgba(255, 255, 255, 0.6) !important;
    }

    .main-header.scrolled .header-nav-link {
      color: #ffffff !important;
    }

    .main-header.scrolled .header-action-btn {
      color: #ffffff !important;
    }

    .main-header.scrolled .search-input {
      background-color: rgba(255, 255, 255, 0.08) !important;
      border-color: rgba(212, 175, 55, 0.3) !important;
      color: #ffffff !important;
    }

    .main-header.scrolled .search-btn {
      color: rgba(255, 255, 255, 0.75) !important;
    }

    .main-header.scrolled .btn-member-card {
      background: linear-gradient(135deg, #D4AF37 0%, #B89020 100%) !important;
      border-color: #D4AF37 !important;
      color: #1A110B !important;
      font-weight: 800;
    }

    .main-header.scrolled .btn-member-card:hover {
      background-color: #ffffff !important;
      color: #B89020 !important;
      border-color: #ffffff !important;
    }

    .header-grid {
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 24px;
    }

    .header-left {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    .logo-container {
      display: flex;
      flex-direction: column;
    }

    .logo-main {
      font-size: 24px;
      font-weight: 800;
      letter-spacing: 2px;
      line-height: 1.1;
    }

    .logo-sub {
      font-size: 9px;
      letter-spacing: 3px;
      text-transform: uppercase;
      font-weight: 600;
      margin-top: 1px;
    }

    .header-nav {
      display: flex;
      align-items: center;
      list-style: none;
      gap: 24px;
    }

    .header-nav-link {
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      display: flex;
      align-items: center;
      gap: 4px;
      cursor: pointer;
      padding: 8px 0;
    }

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

    .search-container {
      position: relative;
      width: 100%;
      max-width: 420px;
      margin: 0 auto;
    }

    .search-input {
      width: 100%;
      padding: 10px 18px;
      padding-right: 46px;
      border: 1px solid var(--border-color);
      border-radius: 24px;
      font-family: inherit;
      font-size: 13px;
      color: var(--text-dark);
      background-color: #FCF6F2;
      outline: none;
      transition: var(--transition);
    }

    .search-input:focus {
      border-color: var(--primary-brown-light);
      background-color: var(--white);
      box-shadow: 0 0 0 3px rgba(110, 83, 60, 0.1);
    }

    .search-btn {
      position: absolute;
      right: 14px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-muted);
    }

    .search-btn:hover {
      color: var(--primary-brown);
    }

    /* Digital Member Card Popover & Button */
    .btn-member-card {
      background-color: var(--primary-brown);
      color: var(--white);
      padding: 8px 16px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.5px;
      display: flex;
      align-items: center;
      gap: 6px;
      border: 1.5px solid var(--primary-brown);
      transition: var(--transition);
    }

    .btn-member-card:hover {
      background-color: var(--white);
      color: var(--primary-brown);
    }

    /* Guest Auth Buttons Styling */
    .auth-buttons-wrapper {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .btn-auth-masuk {
      border: 1.5px solid var(--white);
      color: var(--white);
      background-color: transparent;
      padding: 8px 18px;
      border-radius: 20px;
      font-size: 12.5px;
      font-weight: 700;
      letter-spacing: 0.5px;
      cursor: pointer;
      transition: var(--transition);
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .main-header.scrolled .btn-auth-masuk {
      border-color: var(--header-scrolled-text);
      color: var(--header-scrolled-text);
    }

    .btn-auth-masuk:hover {
      background-color: var(--white);
      color: var(--primary-brown) !important;
      border-color: var(--white);
    }

    .main-header.scrolled .btn-auth-masuk:hover {
      background-color: var(--header-scrolled-text);
      color: var(--header-scrolled-bg) !important;
    }

    .btn-auth-daftar {
      background: var(--btn-primary-bg);
      color: var(--btn-primary-text);
      padding: 8px 18px;
      border-radius: 20px;
      font-size: 12.5px;
      font-weight: 700;
      letter-spacing: 0.5px;
      border: 1.5px solid transparent;
      cursor: pointer;
      transition: var(--transition);
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .btn-auth-daftar:hover {
      background-color: var(--white);
      color: var(--gold-accent) !important;
      border-color: var(--white);
    }

    .member-card-dropdown {
      position: absolute;
      top: calc(100% + 12px);
      right: 0;
      width: 320px;
      background-color: var(--dropdown-bg);
      border: 1px solid var(--dropdown-border);
      border-radius: 12px;
      box-shadow: var(--shadow-lg);
      padding: 20px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
      z-index: 150;
    }

    .member-card-wrapper.open .member-card-dropdown {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .digital-card {
      background: linear-gradient(135deg, #4A3525 0%, #352519 100%);
      color: #FDFBF7;
      border-radius: 10px;
      padding: 16px;
      position: relative;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(74, 53, 37, 0.2);
      border: 1px solid rgba(212, 175, 55, 0.3);
      aspect-ratio: 1.586;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .digital-card::before {
      content: '';
      position: absolute;
      top: -30%;
      right: -20%;
      width: 60%;
      height: 120%;
      background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
      transform: rotate(-15deg);
    }

    .card-header-logo {
      font-family: 'Playfair Display', serif;
      font-weight: 700;
      font-size: 16px;
      letter-spacing: 1.5px;
      color: #D4AF37;
    }

    .card-tier {
      font-size: 9px;
      text-transform: uppercase;
      letter-spacing: 2px;
      font-weight: 700;
      color: #D4AF37;
      border: 1px solid #D4AF37;
      padding: 2px 6px;
      border-radius: 4px;
    }

    .card-body {
      margin-top: 10px;
    }

    .card-number {
      font-family: monospace;
      font-size: 14px;
      letter-spacing: 2px;
    }

    .card-holder {
      font-size: 12px;
      font-weight: 600;
      margin-top: 4px;
      text-transform: uppercase;
    }

    .card-footer {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-top: auto;
    }

    .card-points {
      font-size: 10px;
      color: #E8D8CE;
    }

    .card-points-val {
      font-size: 14px;
      font-weight: 700;
      color: #D4AF37;
    }

    .card-barcode {
      width: 80px;
      height: 24px;
      background-color: white;
      border-radius: 2px;
      display: flex;
      align-items: center;
      justify-content: space-around;
      padding: 2px;
    }

    .barcode-line {
      width: 2px;
      height: 100%;
      background-color: black;
    }

    .barcode-line.thin {
      width: 1px;
    }

    .barcode-line.thick {
      width: 3.5px;
    }

    /* Search Dropdown Popover */
    .search-dropdown {
      position: absolute;
      top: calc(100% + 8px);
      left: 50%;
      transform: translateX(-50%) translateY(10px);
      width: 550px;
      max-width: calc(100vw - 32px);
      background-color: var(--white);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      box-shadow: var(--shadow-lg);
      padding: 24px;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
      z-index: 150;
      text-align: left;
    }

    .search-container.focused .search-dropdown {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) translateY(0);
    }

    .search-dropdown-section {
      margin-bottom: 20px;
    }

    .search-dropdown-section:last-child {
      margin-bottom: 0;
    }

    .search-section-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
      border-bottom: 1px solid var(--border-color);
      padding-bottom: 6px;
    }

    .search-section-title {
      font-size: 13px;
      font-weight: 700;
      color: var(--primary-brown);
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .search-clear-all {
      font-size: 11px;
      font-weight: 700;
      color: var(--red);
      cursor: pointer;
    }

    /* Search History Items */
    .search-history-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .search-history-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 13px;
      color: var(--text-dark);
      padding: 4px 0;
    }

    .search-history-link {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-grow: 1;
    }

    .search-history-link:hover {
      color: var(--primary-brown);
    }

    .search-history-remove {
      color: var(--text-muted);
      cursor: pointer;
      font-size: 14px;
    }

    .search-history-remove:hover {
      color: var(--red);
    }

    /* Trending List */
    .search-trending-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .search-trending-tag {
      background-color: var(--accent-cream);
      border: 1px solid var(--border-color);
      color: var(--text-dark);
      padding: 6px 14px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 600;
      transition: var(--transition);
    }

    .search-trending-tag:hover {
      background-color: var(--primary-brown);
      color: var(--white);
      border-color: var(--primary-brown);
    }

    /* Search Recommendations */
    .search-rec-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 12px;
    }

    .search-rec-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      transition: var(--transition);
    }

    .search-rec-item:hover {
      transform: translateY(-2px);
    }

    .search-rec-img-wrapper {
      width: 100%;
      aspect-ratio: 0.85;
      border-radius: 6px;
      overflow: hidden;
      background-color: var(--accent-cream);
      margin-bottom: 8px;
      border: 1px solid var(--border-color);
    }

    .search-rec-img-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .search-rec-title {
      font-size: 11px;
      font-weight: 600;
      color: var(--text-dark);
      line-height: 1.3;
      margin-bottom: 4px;
      height: 28px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .search-rec-price {
      font-size: 11px;
      font-weight: 700;
      color: var(--primary-brown);
    }

    .header-actions {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 20px;
    }

    .header-action-btn {
      color: var(--white);
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .header-action-btn svg {
      color: inherit;
      stroke: currentColor;
    }

    .header-action-btn:hover {
      color: rgba(255, 255, 255, 0.75);
    }

    .theme-toggle-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: var(--transition);
    }

    .theme-toggle-btn svg {
      stroke: currentColor;
    }

    .theme-toggle-btn:hover {
      color: var(--gold-accent) !important;
      transform: scale(1.08);
    }

    .sun-icon {
      display: none;
    }

    .moon-icon {
      display: block;
    }

    .light-mode .moon-icon {
      display: none !important;
    }

    .light-mode .sun-icon {
      display: block !important;
    }

    .badge-count {
      position: absolute;
      top: -6px;
      right: -8px;
      background-color: var(--primary-brown);
      color: var(--white);
      font-size: 10px;
      font-weight: bold;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .header-separator {
      width: 1px;
      height: 22px;
      background-color: var(--border-theme);
      margin: 0 -6px;
      align-self: center;
      transition: var(--transition);
    }

    /* User Avatar and Dropdown Menu Styles */
    .btn-user-avatar {
      display: flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      padding: 4px 8px;
      border-radius: 24px;
      transition: var(--transition);
    }

    .avatar-circle {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(212, 175, 55, 0.5);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffffff !important;
      transition: var(--transition);
    }

    /* Avatar stays white — not affected by light-mode */
    .light-mode .avatar-circle {
      background-color: rgba(255, 255, 255, 0.12);
      color: #ffffff !important;
      border-color: rgba(212, 175, 55, 0.5);
    }

    .main-header.scrolled .avatar-circle {
      border-color: rgba(212, 175, 55, 0.5);
    }

    .user-name-label {
      font-size: 12.5px;
      font-weight: 700;
      color: #ffffff !important;
      max-width: 90px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* User name stays white — not affected by scrolled or light-mode */
    .main-header.scrolled .user-name-label {
      color: #ffffff !important;
    }

    .light-mode .user-name-label {
      color: #ffffff !important;
    }

    .user-menu-dropdown {
      width: 330px !important;
      padding: 16px !important;
    }

    .user-menu-profile-header {
      display: flex;
      align-items: center;
      gap: 12px;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--border-theme);
      margin-bottom: 12px;
    }

    .user-menu-avatar {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--btn-primary-bg);
      color: var(--btn-primary-text);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 15px;
      font-weight: 800;
    }

    .user-menu-info {
      display: flex;
      flex-direction: column;
    }

    .user-menu-name {
      font-size: 13.5px;
      font-weight: 700;
      color: var(--text-primary);
    }

    .user-menu-role {
      font-size: 11px;
      color: var(--text-secondary);
      opacity: 0.8;
    }

    .user-menu-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 2px;
      margin-bottom: 10px;
    }

    .user-menu-item-link {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 10px;
      border-radius: 6px;
      font-size: 13px;
      font-weight: 600;
      color: var(--text-primary);
      transition: var(--transition);
      text-decoration: none;
    }

    .user-menu-item-link:hover {
      background-color: var(--dropdown-item-hover);
      color: var(--gold-accent) !important;
      transform: translateX(4px);
    }

    .user-menu-theme-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 10px;
      border-radius: 6px;
      font-size: 13px;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 12px;
      background-color: var(--dropdown-item-hover);
      border: 1px solid var(--border-theme);
    }

    .theme-row-label {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .theme-toggle-inline-btn {
      padding: 4px 10px;
      border-radius: 12px;
      font-size: 11px;
      font-weight: 700;
      border: 1px solid var(--border-theme);
      background-color: var(--white);
      color: var(--text-dark);
      cursor: pointer;
      transition: var(--transition);
    }

    .theme-toggle-inline-btn:hover {
      transform: scale(1.05);
      border-color: var(--gold-accent);
    }

    /* Navigation Links CSS cleaned up */

    /* Dropdown Navigation */
    .nav-item-dropdown {
      position: relative;
    }

    .chevron-icon {
      transition: transform 0.2s ease;
    }

    .nav-item-dropdown:hover .chevron-icon,
    .nav-item-dropdown.open .chevron-icon {
      transform: rotate(180deg);
    }

    .dropdown-menu {
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%) translateY(10px);
      width: 240px;
      background-color: var(--white);
      border: 1px solid var(--border-color);
      border-radius: 10px;
      box-shadow: var(--shadow-lg);
      padding: 12px;
      list-style: none;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
      z-index: 200;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    /* Open state */
    .nav-item-dropdown:hover .dropdown-menu,
    .nav-item-dropdown.open .dropdown-menu {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) translateY(0);
    }

    .dropdown-item {
      display: flex;
      align-items: center;
      height: 44px;
      padding: 0 18px;
      font-size: 13px;
      font-weight: 500;
      color: var(--text-dark);
      border-radius: 6px;
      transition: var(--transition);
      text-transform: none;
      /* Make items normal capitalization */
    }

    .dropdown-item:hover,
    .dropdown-item:focus {
      background-color: var(--accent-cream);
      color: var(--primary-brown);
      outline: none;
      padding-left: 22px;
      /* Microinteraction sliding */
    }

    .dropdown-item.active {
      background-color: var(--accent-beige);
      color: var(--primary-brown);
      font-weight: 700;
    }

    /* Hero Section */
    .hero-section {
      height: 720px;
      position: relative;
      display: flex;
      align-items: center;
      overflow: visible;
      background-color: var(--primary-brown-dark);
      padding: 0;
    }

    .hero-bg-video {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 1;
    }

    .hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, rgba(53, 37, 25, 0.85) 0%, rgba(74, 53, 37, 0.5) 100%);
      z-index: 2;
    }

    .hero-section .container {
      position: relative;
      z-index: 3;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      align-items: center;
      gap: 60px;
      margin-bottom: 40px;
    }

    .hero-content {
      max-width: 560px;
    }

    .hero-title {
      font-size: 52px;
      line-height: 1.15;
      color: var(--white);
      margin-bottom: 12px;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .hero-accent-text {
      color: var(--accent-rose);
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 24px;
      text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    }

    .hero-subtitle {
      font-size: 17px;
      color: var(--accent-rose-light);
      margin-bottom: 40px;
      line-height: 1.6;
      max-width: 540px;
      text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    }

    .hero-btns {
      display: flex;
      gap: 16px;
    }

    .hero-btns .btn-primary {
      background: linear-gradient(135deg, #D4AF37 0%, #B89020 100%);
      color: var(--white);
      border: none;
      border-radius: 50px;
      padding: 12px 30px;
      font-weight: 700;
      box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
    }

    .hero-btns .btn-primary:hover {
      background: var(--white);
      color: #B89020;
      transform: translateY(-2px);
      box-shadow: 0 12px 28px rgba(212, 175, 55, 0.4);
    }

    .hero-btns .btn-secondary {
      border: 1.5px solid var(--white);
      color: var(--white);
      background-color: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      border-radius: 50px;
      padding: 12px 30px;
      font-weight: 700;
    }

    .hero-btns .btn-secondary:hover {
      background-color: var(--white);
      color: var(--primary-brown);
    }


    /* Floating Overlapping Search / Category Bar */
    .hero-floating-search {
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translate(-50%, 50%);
      width: calc(100% - 48px);
      max-width: 1040px;
      background: var(--search-glass-bg);
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      border: 1px solid var(--search-glass-border);
      border-radius: 24px;
      box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
      padding: 24px 32px;
      z-index: 10;
      color: var(--search-glass-text);
    }

    .search-tabs {
      display: flex;
      gap: 32px;
      border-bottom: 1px solid var(--search-glass-border);
      margin-bottom: 20px;
      padding-bottom: 10px;
    }

    .search-tab {
      font-size: 13px;
      font-weight: 700;
      color: var(--search-glass-text-muted);
      cursor: pointer;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      position: relative;
      transition: var(--transition);
    }

    .search-tab:hover {
      color: var(--search-glass-tab-active);
      opacity: 0.8;
    }

    .search-tab.active {
      color: var(--search-glass-tab-active);
    }

    .search-tab.active::after {
      content: '';
      position: absolute;
      bottom: -11px;
      left: 0;
      right: 0;
      height: 3px;
      background-color: var(--search-glass-tab-active-bar);
      border-radius: 2px;
    }

    /* Floating Search Bar Row Styles */
    .search-bar-row {
      display: flex;
      align-items: center;
      gap: 16px;
      width: 100%;
    }

    .search-bar-field {
      flex: 1;
    }

    .search-bar-field:first-child {
      flex: 1.8;
      /* Make search input field wider */
    }

    .search-bar-input,
    .search-bar-select {
      width: 100%;
      padding: 12px 18px;
      border: 1px solid var(--search-glass-input-border);
      border-radius: 12px;
      font-size: 13.5px;
      font-family: inherit;
      color: var(--search-glass-input-text);
      background-color: var(--search-glass-input-bg);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      outline: none;
      transition: var(--transition);
    }

    .search-bar-input::placeholder {
      color: var(--search-glass-text-muted);
      opacity: 0.7;
    }

    .search-bar-input:focus,
    .search-bar-select:focus {
      border-color: var(--search-glass-tab-active);
      background-color: rgba(255, 255, 255, 0.85);
      color: #2C2520;
      box-shadow: 0 0 0 3px rgba(110, 83, 60, 0.1);
    }

    .search-bar-select option {
      background-color: var(--dropdown-bg);
      color: var(--dropdown-text);
    }

    .search-select-wrapper {
      position: relative;
    }

    .search-select-wrapper::after {
      content: '▾';
      position: absolute;
      right: 16px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-muted);
      pointer-events: none;
      font-size: 12px;
    }

    .search-bar-select {
      appearance: none;
      -webkit-appearance: none;
      -moz-appearance: none;
      padding-right: 36px;
      cursor: pointer;
    }

    .btn-search-submit {
      background-color: var(--primary-brown);
      color: var(--white);
      font-weight: 700;
      padding: 12px 28px;
      border-radius: 12px;
      font-size: 13.5px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      white-space: nowrap;
      transition: var(--transition);
      cursor: pointer;
    }

    .btn-search-submit:hover {
      background-color: var(--primary-brown-dark);
      transform: translateY(-1px);
      box-shadow: var(--shadow-sm);
    }

    /* Custom Dropdown Styling */
    .custom-dropdown {
      position: relative;
      width: 100%;
    }

    .custom-dropdown-btn {
      width: 100%;
      padding: 12px 18px;
      border: 1px solid var(--search-glass-input-border);
      border-radius: 12px;
      font-size: 13.5px;
      font-family: inherit;
      color: var(--search-glass-input-text);
      background-color: var(--search-glass-input-bg);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      outline: none;
      transition: var(--transition);
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      text-align: left;
    }

    .custom-dropdown-btn:focus,
    .custom-dropdown.open .custom-dropdown-btn {
      border-color: var(--gold-accent);
      box-shadow: 0 0 0 3px var(--border-theme);
    }

    .chevron-arrows {
      display: flex;
      align-items: center;
      color: var(--search-glass-text-muted);
      opacity: 0.7;
    }

    .custom-dropdown-list {
      position: absolute;
      top: calc(100% + 6px);
      left: 0;
      width: 100%;
      background-color: var(--dropdown-bg);
      border: 1px solid var(--dropdown-border);
      border-radius: 12px;
      box-shadow: var(--shadow-lg);
      list-style: none;
      padding: 6px 0;
      margin: 0;
      max-height: 240px;
      overflow-y: auto;
      z-index: 150;
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    }

    .custom-dropdown.open .custom-dropdown-list {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .custom-dropdown-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 18px;
      font-size: 13.5px;
      color: var(--dropdown-text);
      cursor: pointer;
      transition: background-color 0.15s ease, color 0.15s ease;
    }

    .custom-dropdown-item:hover {
      background-color: var(--dropdown-item-hover);
    }

    .custom-dropdown-item.selected {
      background: var(--btn-primary-bg) !important;
      color: var(--btn-primary-text) !important;
      font-weight: 600;
    }

    .custom-dropdown-item .check-icon {
      opacity: 0;
      transition: opacity 0.15s ease;
      color: currentColor;
    }

    .custom-dropdown-item.selected .check-icon {
      opacity: 1;
    }

    @media (max-width: 768px) {
      .search-bar-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
      }

      .search-bar-field:first-child {
        flex: none;
      }

      .btn-search-submit {
        width: 100%;
        padding: 14px;
      }
    }

    .search-popular-row {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 12px;
      color: var(--search-glass-text-muted);
      flex-wrap: wrap;
      margin-top: 8px;
    }

    .search-popular-tag {
      background-color: var(--search-glass-input-bg);
      padding: 6px 14px;
      border-radius: 20px;
      color: var(--search-glass-text);
      font-weight: 600;
      transition: var(--transition);
      border: 1px solid var(--search-glass-input-border);
    }

    .search-popular-tag:hover {
      background-color: var(--search-glass-tab-active-bar);
      color: var(--btn-primary-text);
      border-color: var(--search-glass-tab-active-bar);
    }


    .usp-bar {
      background-color: var(--bg-primary);
      padding: 150px 0 50px 0;
      border-bottom: 1px solid var(--border-theme);
      transition: var(--transition);
    }

    .usp-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    .usp-item {
      display: flex;
      align-items: center;
      gap: 16px;
      background-color: var(--card-bg);
      padding: 24px;
      border-radius: 16px;
      border: 1.5px solid var(--border-card);
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
    }

    .usp-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 30px rgba(212, 175, 55, 0.15);
      border-color: var(--card-border-hover);
    }

    .usp-icon-wrapper {
      background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
      border: 1px solid rgba(212, 175, 55, 0.25);
      color: var(--gold);
      width: 48px;
      height: 48px;
      border-radius: 50%;
      font-size: 18px;
      flex-shrink: 0;
    }

    .usp-title {
      font-size: 14px;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 2px;
    }

    .usp-desc {
      font-size: 12px;
      color: var(--text-secondary);
    }

    /* Section Styling */
    .section-padding {
      padding: 80px 0;
      transition: var(--transition);
    }

    .section-header {
      margin-bottom: 48px;
      position: relative;
    }

    .section-title-wrapper {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 20px;
    }

    .section-line {
      height: 1px;
      background-color: var(--border-theme);
      flex-grow: 1;
      max-width: 80px;
    }

    .section-title {
      font-size: 30px;
      color: var(--text-primary);
      text-transform: uppercase;
      letter-spacing: 2px;
      white-space: nowrap;
      font-weight: 700;
    }

    .section-subtext {
      color: var(--text-secondary);
      font-size: 14px;
      margin-top: 8px;
    }

    .section-header-flex {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 40px;
      border-bottom: 1px solid var(--border-theme);
      padding-bottom: 16px;
    }

    .section-header-flex .section-title {
      text-align: left;
    }

    .view-all-link {
      font-size: 13px;
      font-weight: 700;
      color: var(--gold);
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 6px 16px;
      border-radius: 20px;
      background-color: rgba(212, 175, 55, 0.1);
      border: 1px solid var(--border-theme);
      transition: var(--transition);
    }

    .view-all-link:hover {
      color: var(--primary-brown-dark);
      background-color: var(--gold);
      transform: translateX(4px);
      box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    }

    /* Product Categories */
    .categories-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 20px;
    }

    .category-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      transition: var(--transition);
    }

    .category-img-wrapper {
      width: 100%;
      aspect-ratio: 1;
      border-radius: 50%;
      overflow: hidden;
      margin-bottom: 16px;
      border: 2px solid rgba(212, 175, 55, 0.3);
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: var(--shadow-sm);
    }

    .category-img-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .category-card:hover .category-img-wrapper {
      border-color: var(--gold);
      transform: translateY(-6px);
      box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    }

    .category-card:hover .category-img-wrapper img {
      transform: scale(1.1);
    }

    .category-name {
      font-size: 13px;
      font-weight: 700;
      color: var(--text-primary);
      letter-spacing: 0.5px;
      text-transform: uppercase;
      margin-top: 4px;
      transition: var(--transition);
    }

    .category-card:hover .category-name {
      color: var(--gold);
    }

    /* Product Cards */
    .products-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 24px;
    }

    .product-card {
      background-color: var(--card-bg);
      border-radius: 20px;
      overflow: hidden;
      position: relative;
      display: flex;
      flex-direction: column;
      border: 1.5px solid var(--border-card);
      transition: var(--transition);
    }

    .product-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 30px rgba(212, 175, 55, 0.15);
      border-color: var(--card-border-hover);
    }

    .product-img-container {
      position: relative;
      overflow: hidden;
      aspect-ratio: 0.85;
      background-color: var(--bg-secondary);
    }

    .product-img-container img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .product-card:hover .product-img-container img {
      transform: scale(1.06);
    }

    .badge-best-seller {
      position: absolute;
      top: 12px;
      left: 12px;
      background: linear-gradient(135deg, #D4AF37 0%, #B89020 100%);
      color: #1A110B;
      font-size: 9px;
      font-weight: 800;
      padding: 4px 8px;
      border-radius: 6px;
      letter-spacing: 0.5px;
      z-index: 10;
      box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
    }

    .wishlist-btn {
      position: absolute;
      top: 12px;
      right: 12px;
      background-color: rgba(26, 17, 11, 0.8);
      color: var(--accent-rose);
      width: 32px;
      height: 32px;
      border-radius: 50%;
      font-size: 14px;
      z-index: 10;
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
      border: 1px solid var(--border-card);
    }

    .wishlist-btn:hover {
      color: var(--red);
      background-color: var(--white);
      transform: scale(1.1);
      border-color: var(--red);
    }

    .wishlist-btn.active {
      color: var(--red);
      background-color: var(--white);
    }

    .product-quick-add {
      position: absolute;
      bottom: 12px;
      left: 12px;
      right: 12px;
      background: linear-gradient(135deg, #D4AF37 0%, #B89020 100%);
      color: #1A110B;
      padding: 10px 16px;
      font-size: 11px;
      font-weight: 850;
      text-transform: uppercase;
      letter-spacing: 1px;
      border-radius: 30px;
      border: none;
      transform: translateY(150%);
      transition: var(--transition);
      z-index: 10;
      box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      cursor: pointer;
    }

    .product-card:hover .product-quick-add {
      transform: translateY(0);
    }

    .product-quick-add:hover {
      background: var(--white);
      color: #B89020;
      box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
    }

    .product-info {
      padding: 20px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
    }

    .product-title {
      font-size: 14.5px;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 6px;
      line-height: 1.4;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      height: 40px;
    }

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

    .product-rating {
      display: flex;
      align-items: center;
      gap: 4px;
      font-size: 11px;
      color: var(--text-secondary);
      margin-bottom: 8px;
    }

    .stars-active {
      color: var(--gold);
    }

    .product-price-row {
      margin-top: auto;
      display: flex;
      align-items: baseline;
      gap: 8px;
      flex-wrap: wrap;
    }

    .price-discounted {
      font-size: 17px;
      font-weight: 800;
      color: var(--gold-accent);
    }

    .price-original {
      font-size: 12px;
      color: var(--text-secondary);
      text-decoration: line-through;
      opacity: 0.8;
    }

    /* Promo Banners */
    .promos-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }

    .promo-banner {
      border-radius: 24px;
      overflow: hidden;
      position: relative;
      height: 300px;
      display: flex;
      align-items: center;
      color: var(--white);
      box-shadow: var(--shadow-lg);
      background-size: cover;
      background-position: center;
      transition: var(--transition);
      border: 1px solid var(--border-card);
    }

    .promo-banner:hover {
      transform: translateY(-5px);
      box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
      border-color: var(--card-border-hover);
    }

    .promo-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(90deg, rgba(26, 17, 11, 0.9) 0%, rgba(26, 17, 11, 0.4) 100%);
      z-index: 1;
    }

    .promo-banner-left {
      background-image: url('assets/silk.png');
    }

    .promo-banner-right {
      background-image: url('assets/folded.png');
    }

    .promo-content {
      position: relative;
      z-index: 2;
      padding: 40px;
      max-width: 65%;
    }

    .promo-subtitle {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 2px;
      font-weight: 800;
      color: var(--gold);
      margin-bottom: 8px;
      display: block;
    }

    .promo-title {
      font-size: 32px;
      line-height: 1.2;
      margin-bottom: 24px;
      font-weight: 700;
    }

    .promo-btn-white {
      background: linear-gradient(135deg, #D4AF37 0%, #B89020 100%);
      color: #1A110B;
      padding: 12px 28px;
      border-radius: 50px;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 1px;
      text-transform: uppercase;
      border: none;
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
      cursor: pointer;
    }

    .promo-btn-white:hover {
      background: var(--white);
      color: #B89020;
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(255, 255, 255, 0.2);
    }

    .countdown-container {
      position: relative;
      z-index: 2;
      background: rgba(26, 17, 11, 0.75);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid var(--border-card);
      border-radius: 20px;
      padding: 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      margin-right: 40px;
      width: 230px;
      margin-left: auto;
      box-shadow: var(--shadow-md);
      color: var(--white);
    }

    .countdown-label {
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--gold);
    }

    .countdown-timers {
      display: flex;
      gap: 10px;
    }

    .timer-block {
      display: flex;
      flex-direction: column;
      align-items: center;
      background: rgba(255, 255, 255, 0.05);
      border-radius: 10px;
      padding: 8px 6px;
      border: 1px solid var(--border-card);
      min-width: 44px;
      box-shadow: var(--shadow-sm);
    }

    .timer-val {
      font-size: 20px;
      font-weight: 800;
      color: var(--gold);
      line-height: 1.2;
    }

    .timer-unit {
      font-size: 8.5px;
      color: var(--accent-rose);
      text-transform: uppercase;
      font-weight: 700;
      opacity: 0.8;
    }

    /* Testimonials Section */
    .testimonial-card {
      background-color: var(--card-bg);
      border: 1.5px solid var(--border-card);
      border-radius: 20px;
      padding: 36px;
      position: relative;
      transition: var(--transition);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%;
      box-shadow: var(--shadow-sm);
    }

    .testimonial-card:hover {
      border-color: var(--card-border-hover);
      box-shadow: 0 12px 30px rgba(212, 175, 55, 0.15);
      transform: translateY(-4px);
    }

    .quote-icon {
      font-size: 48px;
      color: var(--gold);
      line-height: 1;
      margin-bottom: -10px;
      font-family: 'Playfair Display', serif;
      opacity: 0.6;
    }

    .testimonial-text {
      font-size: 14.5px;
      color: var(--text-primary);
      margin-bottom: 24px;
      line-height: 1.6;
      font-style: italic;
    }

    .testimonial-user {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .user-profile {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .user-avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid rgba(212, 175, 55, 0.3);
    }

    .user-name {
      font-weight: 700;
      font-size: 13px;
      color: var(--text-primary);
      margin-bottom: 2px;
    }

    .user-stars {
      color: var(--gold);
      font-size: 10px;
    }

    .next-arrow-btn {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      border: 1.5px solid rgba(212, 175, 55, 0.25);
      color: var(--gold);
      font-size: 12px;
      background: none;
      transition: var(--transition);
    }

    .testimonial-card:hover .next-arrow-btn {
      border-color: var(--gold);
      color: #1A110B;
      background-color: var(--gold);
      box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    }

    /* Instagram Feed */
    .instagram-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 32px;
    }

    .instagram-heading-text {
      text-align: left;
    }

    .instagram-title {
      font-size: 20px;
      color: var(--gold);
      letter-spacing: 1.5px;
      font-weight: 700;
      text-transform: uppercase;
    }

    .instagram-subtitle {
      font-size: 13px;
      color: var(--text-secondary);
    }

    .instagram-btn {
      border: 1.5px solid var(--gold);
      color: var(--gold);
      padding: 12px 24px;
      border-radius: 50px;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .instagram-btn:hover {
      background-color: var(--gold);
      color: #1A110B;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    }

    .instagram-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 16px;
    }

    .instagram-item {
      aspect-ratio: 1;
      border-radius: 16px;
      overflow: hidden;
      position: relative;
      box-shadow: var(--shadow-sm);
      border: 1px solid var(--border-card);
    }

    .instagram-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .instagram-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: rgba(26, 17, 11, 0.75);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--gold);
      font-size: 20px;
      opacity: 0;
      transition: var(--transition);
      z-index: 2;
    }

    .instagram-item:hover .instagram-overlay {
      opacity: 1;
    }

    .instagram-item:hover img {
      transform: scale(1.08);
    }

    /* Newsletter Section */
    .newsletter-section {
      background: linear-gradient(135deg, #2A1D13 0%, #1A110B 100%);
      padding: 60px 0;
      border-top: 1px solid var(--border-theme);
      border-bottom: 1px solid var(--border-theme);
    }

    .newsletter-flex {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 40px;
      flex-wrap: wrap;
    }

    .newsletter-left {
      display: flex;
      align-items: center;
      gap: 24px;
      max-width: 500px;
    }

    .newsletter-icon-circle {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(212, 175, 55, 0.2);
      color: var(--gold);
      font-size: 22px;
      flex-shrink: 0;
      box-shadow: var(--shadow-sm);
    }

    .newsletter-title {
      font-size: 18px;
      color: var(--text-primary);
      font-weight: 750;
      margin-bottom: 4px;
    }

    .newsletter-desc {
      font-size: 13px;
      color: var(--accent-rose);
      line-height: 1.4;
    }

    .newsletter-form {
      display: flex;
      gap: 12px;
      flex-grow: 1;
      max-width: 600px;
    }

    .newsletter-input {
      padding: 14px 24px;
      border: 1.5px solid rgba(212, 175, 55, 0.2);
      border-radius: 50px;
      background-color: rgba(255, 255, 255, 0.05);
      font-family: inherit;
      font-size: 13.5px;
      flex-grow: 1;
      outline: none;
      transition: var(--transition);
      color: var(--white);
    }

    .newsletter-input::placeholder {
      color: var(--accent-rose);
      opacity: 0.6;
    }

    .newsletter-input:focus {
      border-color: var(--gold);
      box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
      background-color: rgba(255, 255, 255, 0.08);
    }

    .newsletter-btn {
      background: linear-gradient(135deg, #D4AF37 0%, #B89020 100%);
      color: #1A110B;
      padding: 14px 32px;
      border-radius: 50px;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 1px;
      text-transform: uppercase;
      white-space: nowrap;
      border: none;
      cursor: pointer;
      transition: var(--transition);
    }

    .newsletter-btn:hover {
      background: var(--white);
      color: #B89020;
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
    }

    /* Footer Section */
    .main-footer {
      background-color: #150E09;
      padding: 80px 0 20px 0;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr 1.2fr;
      gap: 32px;
      margin-bottom: 60px;
    }

    .footer-logo-col {
      max-width: 260px;
    }

    .footer-desc {
      font-size: 13px;
      color: var(--accent-rose);
      margin: 16px 0 24px 0;
      line-height: 1.6;
      opacity: 0.85;
    }

    .social-links {
      display: flex;
      gap: 12px;
    }

    .social-link {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(212, 175, 55, 0.15);
      color: var(--gold);
      font-size: 16px;
      transition: var(--transition);
    }

    .social-link:hover {
      background-color: var(--gold);
      color: #1A110B;
      transform: translateY(-2px);
      border-color: var(--gold);
      box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    }

    .footer-col-title {
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--gold);
      margin-bottom: 24px;
    }

    .footer-list {
      list-style: none;
    }

    .footer-item {
      margin-bottom: 12px;
    }

    .footer-link {
      font-size: 13px;
      color: var(--accent-rose);
      opacity: 0.8;
    }

    .footer-link:hover {
      color: var(--gold);
      padding-left: 4px;
      opacity: 1;
    }

    .payment-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
    }

    .payment-card {
      background-color: rgba(255, 255, 255, 0.03);
      border: 1.5px solid rgba(212, 175, 55, 0.15);
      border-radius: 8px;
      padding: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 36px;
      transition: var(--transition);
    }

    .payment-card:hover {
      border-color: var(--gold);
      transform: translateY(-2px);
      box-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
    }

    .payment-card img {
      max-height: 20px;
      object-fit: contain;
    }

    .footer-bottom {
      border-top: 1px solid rgba(212, 175, 55, 0.15);
      padding-top: 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 12px;
      color: var(--accent-rose);
      opacity: 0.8;
      flex-wrap: wrap;
      gap: 12px;
    }

    .footer-bottom-links {
      display: flex;
      gap: 20px;
    }

    .footer-bottom-link:hover {
      color: var(--gold);
    }

    /* Cart Drawer */
    .cart-drawer-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: rgba(0, 0, 0, 0.6);
      z-index: 1000;
      opacity: 0;
      pointer-events: none;
      transition: var(--transition);
      backdrop-filter: blur(4px);
    }

    .cart-drawer-overlay.active {
      opacity: 1;
      pointer-events: auto;
    }

    .cart-drawer {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      width: 400px;
      max-width: 100%;
      background-color: var(--drawer-bg);
      z-index: 1001;
      transform: translateX(100%);
      transition: var(--transition);
      box-shadow: var(--shadow-lg);
      display: flex;
      flex-direction: column;
      border-left: 1px solid var(--border-theme);
    }

    .cart-drawer.active {
      transform: translateX(0);
    }

    .cart-header {
      padding: 24px;
      border-bottom: 1px solid var(--border-theme);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .cart-header-title {
      font-size: 18px;
      font-weight: 700;
      color: var(--gold-accent);
    }

    .close-cart-btn {
      font-size: 20px;
      color: var(--text-secondary);
    }

    .close-cart-btn:hover {
      color: var(--text-primary);
    }

    .cart-items-container {
      flex-grow: 1;
      overflow-y: auto;
      padding: 24px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .cart-empty-message {
      color: var(--text-secondary);
      font-size: 14px;
      text-align: center;
      margin-top: 40px;
    }

    .cart-item {
      display: flex;
      gap: 16px;
      border-bottom: 1px solid var(--border-theme);
      padding-bottom: 16px;
    }

    .cart-item-img {
      width: 70px;
      height: 70px;
      border-radius: 4px;
      object-fit: cover;
      background-color: var(--bg-secondary);
      border: 1px solid var(--border-theme);
    }

    .cart-item-details {
      flex-grow: 1;
    }

    .cart-item-title {
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 4px;
      color: var(--text-primary);
    }

    .cart-item-price {
      font-size: 14px;
      font-weight: 700;
      color: var(--gold-accent);
      margin-bottom: 8px;
    }

    .cart-item-qty-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .qty-controls {
      display: flex;
      align-items: center;
      border: 1px solid var(--border-theme);
      border-radius: 4px;
      background-color: var(--card-bg);
    }

    .qty-btn {
      width: 24px;
      height: 24px;
      font-size: 12px;
      color: var(--text-secondary);
    }

    .qty-btn:hover {
      color: var(--text-primary);
      background-color: var(--card-bg-hover);
    }

    .qty-val {
      font-size: 12px;
      font-weight: 700;
      width: 24px;
      text-align: center;
      color: var(--text-primary);
    }

    .remove-item-btn {
      font-size: 11px;
      color: var(--red);
      font-weight: 600;
    }

    .cart-footer {
      padding: 24px;
      border-top: 1px solid var(--border-theme);
      background-color: var(--drawer-footer-bg);
    }

    .cart-subtotal-row {
      display: flex;
      justify-content: space-between;
      font-weight: 700;
      font-size: 16px;
      color: var(--text-primary);
      margin-bottom: 16px;
    }

    .cart-subtotal-val {
      color: var(--gold-accent);
    }

    .checkout-btn {
      width: 100%;
      background: linear-gradient(135deg, #D4AF37 0%, #B89020 100%);
      color: #1A110B;
      padding: 14px;
      border-radius: 4px;
      font-weight: 800;
      text-transform: uppercase;
      font-size: 13px;
      letter-spacing: 1px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    .checkout-btn:hover {
      background: var(--white);
      color: #B89020;
      box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    }

    .view-cart-btn {
      width: 100%;
      background: transparent;
      border: 1px solid var(--border-theme);
      color: var(--text-dark);
      padding: 14px;
      border-radius: 4px;
      font-weight: 800;
      text-transform: uppercase;
      font-size: 13px;
      letter-spacing: 1px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-top: 10px;
    }
    .view-cart-btn:hover {
      background: rgba(255, 255, 255, 0.05);
      border-color: var(--gold-accent);
      color: var(--gold-accent);
    }

    /* Toast Notification */
    .toast {
      position: fixed;
      bottom: 24px;
      left: 24px;
      background: linear-gradient(135deg, #D4AF37 0%, #B89020 100%);
      color: #1A110B;
      padding: 12px 24px;
      border-radius: 50px;
      font-size: 13px;
      font-weight: 700;
      box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
      transform: translateY(150%);
      transition: var(--transition);
      z-index: 2000;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .toast.active {
      transform: translateY(0);
    }

    .toast-icon {
      color: #1A110B;
      font-weight: 800;
    }

    /* Media Queries for Responsiveness */
    @media (max-width: 1024px) {
      .header-grid {
        grid-template-columns: 1fr 1.5fr;
      }

      .search-container {
        grid-column: 1 / span 2;
        order: 3;
      }

      .navigation-bar {
        display: none;
      }

      .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
      }

      .hero-content {
        margin: 0 auto;
      }

      .hero-btns {
        justify-content: center;
      }

      .hero-image-wrapper {
        justify-content: center;
      }

      .usp-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .categories-grid {
        grid-template-columns: repeat(4, 1fr);
      }

      .products-grid {
        grid-template-columns: repeat(3, 1fr);
      }

      .promos-grid {
        grid-template-columns: 1fr;
      }

      .footer-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .products-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .categories-grid {
        grid-template-columns: repeat(3, 1fr);
      }

      .newsletter-flex {
        flex-direction: column;
        align-items: stretch;
      }

      .newsletter-form {
        flex-direction: column;
      }

      .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    @media (max-width: 480px) {
      .usp-grid {
        grid-template-columns: 1fr;
      }

      .categories-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .products-grid {
        grid-template-columns: 1fr;
      }

      .footer-grid {
        grid-template-columns: 1fr;
      }

      .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    /* Header Actions Dropdowns */
    .header-action-wrapper {
      position: relative;
      display: inline-block;
    }

    .header-dropdown {
      position: absolute;
      top: calc(100% + 12px);
      right: 0;
      width: 340px;
      background-color: var(--dropdown-bg);
      border: 1px solid var(--dropdown-border);
      border-radius: 12px;
      box-shadow: 0 10px 30px rgba(26, 17, 11, 0.2);
      padding: 16px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
      z-index: 1000;
      text-align: left;
    }

    .header-action-wrapper.open .header-dropdown {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .dropdown-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
      border-bottom: 1px solid var(--border-theme);
      padding-bottom: 8px;
    }

    .dropdown-header-title {
      font-size: 14px;
      font-weight: 700;
      color: var(--gold-accent);
      text-transform: none;
    }

    .dropdown-close-btn {
      font-size: 20px;
      color: var(--text-secondary);
      cursor: pointer;
      line-height: 1;
    }

    .dropdown-close-btn:hover {
      color: var(--text-primary);
    }

    .dropdown-items-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
      max-height: 280px;
      overflow-y: auto;
      margin-bottom: 12px;
    }

    /* Wishlist Item Styles */
    .wishlist-dropdown-item {
      display: flex;
      align-items: center;
      gap: 12px;
      border-bottom: 1px solid var(--border-theme);
      padding-bottom: 10px;
    }

    .wishlist-dropdown-item:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }

    .wishlist-item-img {
      width: 50px;
      height: 50px;
      border-radius: 6px;
      object-fit: cover;
      background-color: var(--bg-secondary);
      border: 1px solid var(--border-theme);
    }

    .wishlist-item-info {
      flex-grow: 1;
      text-align: left;
    }

    .wishlist-item-title {
      font-size: 12px;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 2px;
      line-height: 1.3;
    }

    .wishlist-item-variant {
      font-size: 11px;
      color: var(--text-secondary);
      opacity: 0.8;
      margin-bottom: 2px;
    }

    .wishlist-item-price {
      font-size: 12px;
      font-weight: 700;
      color: var(--gold-accent);
    }

    .wishlist-item-delete {
      color: var(--text-secondary);
      cursor: pointer;
      font-size: 16px;
      padding: 4px;
      transition: var(--transition);
      line-height: 1;
    }

    .wishlist-item-delete:hover {
      color: var(--red);
      transform: scale(1.1);
    }

    .dropdown-btn-primary {
      width: 100%;
      background: linear-gradient(135deg, #D4AF37 0%, #B89020 100%);
      color: #1A110B;
      padding: 10px;
      border-radius: 6px;
      font-weight: 800;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      text-align: center;
    }

    .dropdown-btn-primary:hover {
      background: var(--white);
      color: #B89020;
    }

    .dropdown-empty-text {
      font-size: 12px;
      color: var(--text-secondary);
      opacity: 0.8;
      text-align: center;
      padding: 16px 0;
    }

    /* Notification Item Styles */
    .notification-item {
      display: flex;
      gap: 12px;
      padding: 8px;
      border-radius: 8px;
      cursor: pointer;
      transition: var(--transition);
      text-align: left;
    }

    .notification-item:hover {
      background-color: var(--dropdown-item-hover);
    }

    .notification-item.unread {
      background-color: rgba(212, 175, 55, 0.05);
      border-left: 3px solid var(--gold);
    }

    .notification-icon-wrapper {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      flex-shrink: 0;
      color: var(--gold);
      background-color: rgba(212, 175, 55, 0.1);
      border: 1px solid rgba(212, 175, 55, 0.2);
    }

    .notification-info {
      flex-grow: 1;
    }

    .notification-title {
      font-size: 12px;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 2px;
      line-height: 1.3;
    }

    .notification-desc {
      font-size: 11px;
      color: var(--text-secondary);
      opacity: 0.85;
      line-height: 1.4;
    }

    .notification-meta {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 6px;
      flex-shrink: 0;
    }

    .notification-time {
      font-size: 10px;
      color: var(--text-secondary);
      opacity: 0.8;
    }

    .notification-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background-color: var(--red);
      display: none;
    }

    .notification-item.unread .notification-dot {
      display: block;
    }

    .dropdown-link-more {
      font-size: 12px;
      font-weight: 700;
      color: var(--gold);
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    .dropdown-link-more:hover {
      color: var(--text-primary);
    }

    /* Top Announcement Bar Close Banner Layout Shift styles */
    .top-bar {
      background-color: #150E09;
      border-bottom: 1px solid rgba(212, 175, 55, 0.12);
      font-size: 12px;
      color: rgba(255, 255, 255, 0.85);
      padding: 8px 0;
      font-weight: 500;
      position: relative;
      z-index: 101;
      max-height: 50px;
      opacity: 1;
      overflow: hidden;
      transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        padding 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .top-bar-close {
      background: none;
      border: none;
      font-size: 18px;
      font-weight: bold;
      color: rgba(255, 255, 255, 0.7);
      cursor: pointer;
      opacity: 1;
      margin-left: 16px;
      padding: 0 4px;
      line-height: 1;
      transition: color 0.2s ease, transform 0.2s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .top-bar-close:hover {
      color: #D4AF37;
      opacity: 1;
      transform: scale(1.15);
    }

    .top-bar.dismissed {
      max-height: 0 !important;
      opacity: 0 !important;
      padding-top: 0 !important;
      padding-bottom: 0 !important;
      border-bottom-color: transparent !important;
    }

    .top-bar-dismissed-final .top-bar {
      display: none !important;
    }

    .top-bar-dismissed .main-header:not(.scrolled) {
      top: 0 !important;
    }
  
