*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body { font-family: 'Georgia', serif; color: #2c1a0e; background: #F2F1EB; overflow-x: hidden; }
    a { text-decoration: none; color: inherit; }
    img { display: block; max-width: 100%; }

    :root {
      --gold:  #c9a84c;
      --dark:  #2c1a0e;
      --cream: #F2F1EB;
      --light: #e8e4d8;
      --footer-bg: #e8d5b8;
      --brown-btn: #b55325;
      --brown-btn-hover: #8b3a1a;
    }

    /* ══════════ ANIMATIONS ══════════ */
    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    .animate-on-scroll {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
    }
    .animate-on-scroll.animated {
      opacity: 1;
      transform: translateY(0);
    }

    .wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

    /* ══════════ NAV BAR (Sync with All Products) ══════════ */
    nav {
      position: sticky; top: 20px; z-index: 200;
      display: flex; align-items: center; justify-content: center;
      margin: 22px auto 34px;
      width: min(1180px, calc(100% - 40px));
      min-height: 66px; padding: 0 36px;
      background: rgba(242,241,235,0.96);
      border: 1px solid #c9a84c;
      border-radius: 999px;
      box-shadow: 0 8px 32px rgba(0,0,0,.08);
      backdrop-filter: blur(10px);
    }
    .nav-left, .nav-right { display: flex; align-items: center; flex: 1; }
    .nav-left { gap: 32px; justify-content: flex-start; padding-left: 48px; }
    .nav-right { gap: 24px; justify-content: flex-end; padding-right: 48px; }
    .nav-logo { position: absolute; left: 50%; transform: translateX(-50%); }
    .nav-logo img { height: 44px; width: auto; object-fit: contain; }
    .nav-left a, .nav-right a {
      font-family: sans-serif; font-size: 14px; font-weight: 700;
      color: var(--dark); white-space: nowrap; transition: color .2s;
    }
    .nav-left a:hover, .nav-right a:hover { color: var(--gold); }
    .nav-left a.active, .nav-right a.active { color: var(--gold); }
    .nav-icons { display: flex; gap: 14px; align-items: center; }
    .nav-icons img { width: 20px; height: 20px; object-fit: contain; cursor: pointer; }

    /* ── Dropdown ── */
    .nav-dropdown {
      position: relative;
      display: flex;
      align-items: center;
    }
    .nav-dropdown > a {
      display: flex; align-items: center; gap: 4px;
      font-family: sans-serif; font-size: 14px; font-weight: 700;
      color: var(--dark); white-space: nowrap; transition: color .2s;
      cursor: pointer;
    }
    .nav-dropdown > a::after {
      content: '▾';
      font-size: 11px;
      margin-top: 1px;
    }
    .nav-dropdown:hover > a { color: var(--gold); }
    .dropdown-menu {
      display: none;
      position: absolute;
      top: calc(100% + 4px);
      left: 50%;
      transform: translateX(-50%);
      background: #fdf8f0;
      border: 1px solid #c9a84c;
      border-radius: 14px;
      box-shadow: 0 8px 28px rgba(0,0,0,.12);
      min-width: 200px;
      padding: 8px 0;
      z-index: 300;
      overflow: hidden;
    }
    .nav-dropdown:hover .dropdown-menu,
    .dropdown-menu:hover { display: block; }
    /* Bridge pseudo-element fills the gap so mouse can travel to menu */
    .nav-dropdown > a::before {
      content: '';
      position: absolute;
      top: 100%;
      left: -20px;
      right: -20px;
      height: 20px;
      background: transparent;
    }
    .dropdown-menu::before {
      content: '';
      position: absolute;
      top: -20px;
      left: 0;
      right: 0;
      height: 20px;
      background: transparent;
    }
    .dropdown-menu a {
      display: block;
      padding: 11px 20px;
      font-family: sans-serif;
      font-size: 13px;
      font-weight: 600;
      color: var(--dark);
      transition: background .15s, color .15s;
      white-space: nowrap;
    }
    .dropdown-menu a:hover {
      background: var(--gold);
      color: #fff;
    }
    .dropdown-menu a + a {
      border-top: 1px solid #e8d9c0;
    }

    /* ══════════ HERO SECTION ══════════ */
    .hero-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; margin-bottom: 60px; }
    .hero-text h1 { font-size: 64px; color: var(--gold); font-weight: 900; margin-bottom: 20px; }
    .hero-text p { font-size: 16px; line-height: 1.6; color: #444; margin-bottom: 15px; }
    .hero-img-box { position: relative; height: 420px; }
    .hero-bg { width: 100%; height: 100%; object-fit: contain; z-index: 1; }
    .hero-3d { position: absolute; top: 10%; left: 10%; width: 85%; height: 85%; object-fit: contain; z-index: 2; }

    /* ══════════ FILTER BAR ══════════ */
    .filter-bar {
      max-width: 1180px;
      margin: 0 auto 40px;
      padding: 0 44px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .filter-left {
      display: flex;
      align-items: center;
      gap: 20px;
    }
    .filter-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      background: #fff;
      border: 1px solid #ccc;
      padding: 8px 20px;
      border-radius: 4px;
      font-family: sans-serif;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
    }
    .product-count {
      font-family: sans-serif;
      font-size: 14px;
      font-weight: 700;
      color: #333;
    }
    .filter-right {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .sort-label {
      font-family: sans-serif;
      font-size: 14px;
      font-weight: 700;
    }
    .sort-select {
      background: #fff;
      border: 1px solid #ccc;
      padding: 8px 15px;
      border-radius: 4px;
      font-family: sans-serif;
      font-size: 14px;
      cursor: pointer;
    }

    /* ══════════ PRODUCT GRID ══════════ */
    .product-grid {
      max-width: 1180px;
      margin: 0 auto 40px;
      padding: 0 44px;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 30px;
    }
    .product-card {
      background: #fff;
      border-radius: 16px;
      padding: 18px 16px 16px;
      box-shadow: 0 2px 12px rgba(0,0,0,.07);
      display: flex;
      flex-direction: column;
      gap: 12px;
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      animation: fadeInUp 0.8s ease-out backwards;
      position: relative;
      overflow: hidden;
      transform-style: preserve-3d;
    }
    .product-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--gold), #e8c060, var(--gold));
      transform: scaleX(0);
      transition: transform 0.4s ease;
    }
    .product-card:hover::before {
      transform: scaleX(1);
    }
    .product-card:hover {
      transform: translateY(-12px) scale(1.03) rotateY(2deg);
      box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }
    .prod-img-wrap {
      width: 100%;
      height: 180px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 30px;
    }
    .prod-img-wrap img {
      width: 100%;
      height: 140px;
      object-fit: contain;
      display: block;
      transition: all 0.4s ease;
    }
    .product-card:hover .prod-img-wrap img {
      transform: scale(1.1) rotate(2deg);
      filter: brightness(1.1);
    }
    .prod-title {
      font-family: sans-serif;
      font-size: 14px;
      color: #333;
      line-height: 1.4;
      margin-bottom: 25px;
      min-height: 40px;
      font-weight: 700;
      width: 100%;
      text-align: left;
    }
    .prod-bottom {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: auto;
    }
    .prod-price {
      font-family: sans-serif;
      font-size: 15px;
      font-weight: 700;
      color: #111;
    }
    .explore-btn {
      background: #b55325;
      color: #fff;
      font-family: sans-serif;
      font-size: 11px;
      font-weight: 600;
      padding: 8px 18px;
      border-radius: 20px;
      transition: background 0.3s;
    }
    .explore-btn:hover {
      background: #8b3a1a;
    }

    /* ══════════ FEATURED COLLECTION (Sync) ══════════ */
    .feat-title { text-align: center; font-size: 42px; margin: 80px 0 40px; color: var(--dark); }
    .feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 80px; }
    .feat-card {
      background: #fff; border-radius: 15px; padding: 25px; text-align: center;
      transition: 0.4s; position: relative; border: 1px solid transparent; position: relative; overflow: hidden;
    }
    .feat-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), #e8c060, var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
    }
    .feat-card:hover { border-color: var(--gold); transform: translateY(-5px); }
    .feat-card:hover::before { transform: scaleX(1); }
    .feat-card img { height: 130px; margin: 0 auto 15px; object-fit: contain; }
    .feat-card h4 { font-size: 14px; margin-bottom: 15px; min-height: 35px; }
    .feat-price { display: block; font-weight: 800; margin-bottom: 15px; color: var(--gold); }
    .feat-explore-btn {
      background: #8B4513;
      color: #fff;
      font-family: sans-serif;
      font-size: 12px;
      font-weight: 600;
      padding: 8px 16px;
      border-radius: 50px;
      border: none;
      cursor: pointer;
      white-space: nowrap;
      transition: all 0.3s ease;
      text-decoration: none;
      display: inline-block;
      position: relative;
      overflow: hidden;
    }
    .feat-explore-btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
      transition: left 0.5s ease;
    }
    .feat-explore-btn:hover::before {
      left: 100%;
    }
    .feat-explore-btn:hover {
      background: #6b3410;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(139,69,19,0.3);
    }

    /* ══════════ THREE GOLD BOXES (Sync) ══════════ */
    .gold-section { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 100px; }
    .gold-box { background: #dfc28e; padding: 25px; border-radius: 8px; text-align: center; }
    .gold-box img { width: 100%; height: 240px; object-fit: cover; border-radius: 4px; margin-bottom: 20px; }
    .gold-box h3 { font-size: 22px; margin-bottom: 15px; }
    .gold-box p { font-size: 13px; line-height: 1.5; margin-bottom: 20px; color: #333; }
    .gold-link { font-weight: 800; color: #b24a1d; border-bottom: 1px solid #b24a1d; font-size: 13px; }

    @media (max-width: 1024px) {
      nav { flex-wrap: nowrap; padding: 0 20px; }
      .nav-left { gap: 12px; padding-left: 16px; }
      .nav-right { gap: 10px; padding-right: 16px; }
      .product-grid, .feat-grid, .gold-section,
      .hero-grid { grid-template-columns: 1fr; text-align: center; }
    }

    @media (max-width: 900px) {
      nav { padding: 0 20px; }
      .product-grid, .feat-grid, .gold-section,
      .hero-grid { grid-template-columns: 1fr; text-align: center; }
    }

    @media (max-width: 700px) {
      .nav-left, .nav-right { flex: 1 1 100%; justify-content: center; }
      .nav-logo { order: -1; width: 100%; display: flex; justify-content: center; position: static; transform: none; }
      .product-grid, .feat-grid, .gold-section,
      .hero-grid { grid-template-columns: 1fr; text-align: center; }
    }

/* ══════════ HAMBURGER MENU ══════════ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 400;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(242,241,235,0.98);
  z-index: 350;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow-y: auto;
  padding: 80px 30px 40px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-family: sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  padding: 14px 0;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  transition: color 0.2s;
}
.nav-mobile-menu a:hover { color: var(--gold); }
.nav-mobile-menu .mobile-section-label {
  font-family: sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 18px 0 6px;
  width: 100%;
  text-align: center;
}
.nav-mobile-menu .mobile-icons {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  justify-content: center;
}
.nav-mobile-menu .mobile-icons img { width: 24px; height: 24px; object-fit: contain; }
.nav-mobile-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--dark);
  z-index: 360;
}
/* Fix: at 1024px, don't break the pill nav shape */
@media (max-width: 1024px) {
  nav { flex-wrap: nowrap; padding: 0 20px; }
  .nav-left { gap: 12px; padding-left: 16px; }
  .nav-right { gap: 10px; padding-right: 16px; }
}
@media (max-width: 480px) {
  nav { padding: 0 16px; min-height: 56px; justify-content: space-between; flex-wrap: nowrap; }
  .nav-left, .nav-right { display: none; }
  .nav-hamburger { display: flex; }
  .nav-logo { position: static; transform: none; margin: 0 auto; }
  .hero-text h1 { font-size: 40px; }
  .product-grid { padding: 0 16px; }
  .filter-bar { padding: 0 16px; flex-wrap: wrap; gap: 10px; }
  .gold-section { grid-template-columns: 1fr; }
}
