/* ============================================================
   Zarin-e-Husn — Global Styles
   Theme: High-End Luxury (Dior/Chanel inspired)
   ============================================================ */

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

/* ── Variables ── */
:root {
  --bg: #faf8f5;           /* warm ivory */
  --bg-deep: #ffffff;      /* white */
  --card: #ffffff;
  --gold: #c9a84c;
  --text: #2c2824;         /* dark charcoal */
  --text-mid: #5a534a;
  --muted: #9a928a;
  --border: rgba(44, 40, 36, 0.1);
  --border-soft: rgba(44, 40, 36, 0.05);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
  --nav-h: 80px;
  --transition: 0.5s cubic-bezier(0.25, 1, 0.25, 1);
  
  --black: #2c2824;
  --white: #ffffff;
  --champagne: #faf8f5;
  --gold-light: #e8d48b;
  --gold-dim: #a68623;
  --rose: #d4a0a0;
  --font-ui: 'Lato', sans-serif;
  --shadow: transparent;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { border: none; background: none; font-family: inherit; cursor: pointer; }

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ── Navigation ── */
body > nav, header > nav, .site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), border-bottom var(--transition);
  border-bottom: 1px solid transparent;
}
body > nav.scrolled, header > nav.scrolled {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.nav-logo-link { color: var(--text) !important; filter: none !important; }
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
}
.nav-logo span, .nav-logo em { color: var(--text) !important; font-style: normal; }

.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text);
  font-family: var(--font-body);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }

/* Ensure logo and icons are light on home since hero is dark */
body.page-home nav:not(.scrolled) .nav-logo-link,
body.page-home nav:not(.scrolled) .nav-links > li > a, 
body.page-home nav:not(.scrolled) .nav-icons button,
body.page-home nav:not(.scrolled) .nav-icons a {
  color: #fff !important;
}
/* Dropdown links must stay dark — white-on-white fix */
body.page-home nav:not(.scrolled) .nav-dropdown .dropdown-menu a {
  color: var(--text-mid) !important;
}
body.page-home nav:not(.scrolled) .nav-logo-link em { color: #fff !important; }

.nav-icons { display: flex; gap: 24px; align-items: center; }
.nav-icons button, .nav-icons a {
  color: var(--text);
  font-size: 1.2rem;
  transition: color var(--transition);
  position: relative;
}
.nav-icons button:hover, .nav-icons a:hover { color: var(--gold); }
.cart-count {
  position: absolute; top: -8px; right: -10px;
  background: var(--text); color: #fff;
  font-size: 0.6rem; font-weight: 400;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.hamburger { display: none; flex-direction: column; gap: 6px; }
.hamburger span { display: block; width: 28px; height: 1px; background: var(--text); transition: var(--transition); }
body.page-home nav:not(.scrolled) .hamburger span { background: var(--text); }

/* ── Mobile Nav ── */
.nav-links.mobile-open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: var(--nav-h); left: 0; right: 0;
  background: #ffffff;
  padding: 40px 24px;
  gap: 24px;
  border-bottom: 1px solid var(--border);
  z-index: 999;
}
.nav-links.mobile-open a { color: var(--text) !important; }
.nav-links.mobile-open a:hover { color: var(--gold) !important; }

/* Nav Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown .dropdown-menu {
  position: absolute; top: 100%; left: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 10px 0;
  min-width: 240px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  opacity: 0; visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex; flex-direction: column;
  z-index: 1000;
  border-radius: 0 0 8px 8px;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown .dropdown-menu.open,
.nav-dropdown.open .dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateY(0);
}
.nav-dropdown .dropdown-menu a {
  padding: 14px 24px;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  font-family: var(--font-body);
  color: var(--text-mid) !important;
  text-transform: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.nav-dropdown .dropdown-menu a:hover {
  background: rgba(212,175,55,0.05);
  color: var(--gold) !important;
  padding-left: 32px;
}
@media (max-width: 900px) {
  .nav-dropdown .dropdown-menu {
    position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none; border: none;
    background: transparent; padding: 0; min-width: 100%;
    margin-top: 12px; margin-left: 20px;
    display: none;
  }
  .nav-dropdown .dropdown-menu.open,
  .nav-dropdown.open .dropdown-menu {
    display: flex;
  }
}

/* ── Hero Section ── */
#hero {
  position: relative;
  height: 100vh; min-height: 600px;
  display: flex; align-items: flex-end; justify-content: flex-start; /* Minimalist bottom-left */
  overflow: hidden;
  background: var(--bg);
}
.hero-carousel, #hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.carousel-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.5s ease;
}
.carousel-slide.active { opacity: 1; }

.hero-video-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(0,0,0,0.45);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 48px 80px 48px;
  max-width: 800px;
  text-align: left;
}
.hero-eyebrow {
  font-size: 0.75rem; letter-spacing: 0.4em;
  text-transform: uppercase; color: var(--text);
  margin-bottom: 24px;
  opacity: 0; animation: fadeUp 1.2s 0.3s forwards;
  display: block;
}
.hero-title, .hero-title-main {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 6rem);
  font-weight: 300; line-height: 1.1;
  color: #ffffff;
  margin-bottom: 24px;
  opacity: 0; animation: fadeUp 1.2s 0.5s forwards;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-sub, .hero-title-sub {
  font-size: 1rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: rgba(255,255,255,0.85);
  opacity: 0; animation: fadeUp 1.2s 0.7s forwards;
  margin-bottom: 0;
}
.hero-cta {
  margin-top: 40px;
  display: flex; gap: 24px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 1.2s 0.9s forwards;
}
.scroll-hint { display: none; } /* removed to keep elegant minimalist */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn-primary, .btn-outline {
  padding: 16px 48px;
  font-family: var(--font-body);
  font-size: 0.7rem; font-weight: 400;
  letter-spacing: 0.3em; text-transform: uppercase;
  transition: all var(--transition);
  border-radius: 0; clip-path: none;
}
.btn-primary {
  background: var(--text);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--gold);
  transform: none; box-shadow: none;
}
.btn-outline {
  border: 1px solid var(--text);
  color: var(--text);
}
.btn-outline:hover {
  background: var(--text);
  color: #ffffff;
  transform: none;
}

/* ── Section Shared ── */
section { padding: 100px 0; }
.container { max-width: 1440px; margin: 0 auto; padding: 0 48px; }

.section-label {
  font-size: 0.75rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--text); margin-bottom: 24px; display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300; line-height: 1.2;
  color: var(--text);
  margin-bottom: 48px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-header { text-align: center; margin-bottom: 80px; display: block; }
.view-all {
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text); border-bottom: 1px solid var(--text);
  padding-bottom: 4px; transition: color var(--transition);
}
.view-all:hover { color: var(--gold); border-color: var(--gold); }
.gold-rule { width: 40px; height: 1px; background: var(--text); margin: 32px auto; }
.gold-text { color: var(--gold); }

/* ── Categories ── */
#categories { background: var(--bg); }
.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.cat-img-card {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4; display: block;
  background: var(--bg-deep);
}
.cat-img-wrap { position: absolute; inset: 0; overflow: hidden; }
.cat-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.cat-img-card:hover .cat-img-wrap img { transform: scale(1.05); }
.cat-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(44, 40, 36, 0.4), transparent 50%);
  transition: opacity var(--transition); opacity: 0;
}
.cat-img-card:hover .cat-img-overlay { opacity: 1; }
.cat-img-info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 24px;
  z-index: 2; text-align: center;
}
.cat-img-card .cat-name {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 300;
  color: #ffffff; margin: 0;
}
.cat-cta-pill { display: none; }
.cat-row-3 { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.premium-cat-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 80px; text-align: center; }
.premium-cat-grid .premium-cat-card { width: 320px; max-width: 100%; text-decoration: none; }
.premium-cat-card .cat-img-wrap {
  border-radius: 50%; aspect-ratio: 1; overflow: hidden; margin: 0 auto 24px;
}
.premium-cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.premium-cat-card:hover img { transform: scale(1.05); }
.premium-cat-card .cat-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 300; }

/* ── Featured Products ── */
#featured { background: #ffffff; }
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 64px 32px;
}
.product-card {
  position: relative; background: transparent; border: none; box-shadow: none;
}
.product-img-wrap {
  position: relative; overflow: hidden; aspect-ratio: 3/4;
  background: var(--bg); margin-bottom: 24px;
}
.product-img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--muted);
}
.product-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--text); color: #fff;
  font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase;
  padding: 6px 12px; z-index: 2;
}
.product-info { text-align: center; padding: 0; }
.product-category {
  font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.product-name {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 300;
  margin-bottom: 12px; color: var(--text);
}
.product-pricing { display: flex; justify-content: center; align-items: center; gap: 16px; }
.product-price { font-family: var(--font-body); font-size: 1rem; color: var(--text); }
.product-price-old { font-size: 0.9rem; color: var(--muted); text-decoration: line-through; }
.product-actions {
  position: absolute; bottom: 0; left: 0; right: 0; display: flex; gap: 0;
  transform: translateY(100%); transition: transform 0.5s ease; z-index: 3;
}
.product-card:hover .product-actions { transform: translateY(0); }
.product-actions button {
  flex: 1; padding: 18px 0; background: var(--text); color: #ffffff;
  font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase;
  transition: background var(--transition);
}
.product-actions button:hover { background: var(--gold); }
.product-actions button.buy-now-btn { background: #000; }
.product-actions button.buy-now-btn:hover { background: var(--gold); }
.product-actions button.wishlist-btn { flex: 0 0 54px; background: var(--bg); color: var(--text); }
.product-actions button.wishlist-btn:hover { background: var(--gold); color: #fff; }

/* ── Brand Story ── */
#story { background: var(--bg); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-visual { aspect-ratio: 4/5; background: #ffffff; overflow: hidden; }
.story-visual-inner { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 8rem; color: var(--text); opacity: 0.05; font-style: italic; }
.story-text { padding-right: 48px; }
.story-text p { font-size: 1rem; line-height: 2; color: var(--text-mid); margin-bottom: 32px; font-weight: 300; }
.story-stats { display: flex; gap: 64px; margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--border); }
.stat-num { font-family: var(--font-display); font-size: 3rem; font-weight: 300; color: var(--text); line-height: 1; margin-bottom: 12px; }
.stat-label { font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }

/* ── Marquee ── */
.marquee-wrap {
  background: var(--text); padding: 20px 0; overflow: hidden; color: #fff;
}
.marquee-track { display: flex; white-space: nowrap; animation: marquee 30s linear infinite; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 32px;
  font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; padding: 0 32px;
}
.marquee-dot { width: 4px; height: 4px; background: #fff; border-radius: 50%; opacity: 0.5; }

/* ── Testimonials ── */
#testimonials { background: #ffffff; text-align: center; }
.testimonial-slider { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.testimonial-card { max-width: 400px; padding: 48px; text-align: center; }
.t-stars { color: var(--text); font-size: 0.8rem; margin-bottom: 24px; letter-spacing: 0.2em; }
.t-text { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; line-height: 1.8; color: var(--text); margin-bottom: 32px; }
.t-author { font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text); }

/* ── Newsletter ── */
#newsletter { background: var(--bg); padding: 120px 0; text-align: center; }
.newsletter-inner { max-width: 600px; margin: 0 auto; }
.newsletter-inner p { margin-bottom: 48px; font-size: 1rem; color: var(--text-mid); }
.newsletter-form { display: flex; border-bottom: 1px solid var(--text); }
.newsletter-form input { flex: 1; padding: 16px 0; background: transparent; border: none; outline: none; font-family: var(--font-body); font-size: 0.9rem; color: var(--text); }
.newsletter-form input::placeholder { color: var(--muted); }
.newsletter-form .btn-primary { padding: 16px 24px; font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: #ffffff; clip-path: none; background: var(--text); }
.newsletter-form .btn-primary:hover { background: var(--gold); }

/* ── Footer ── */
footer { background: #ffffff; padding: 100px 0 40px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 64px; margin-bottom: 80px; }
.footer-brand .nav-logo { font-size: 1.5rem; margin-bottom: 24px; display: block; color: var(--text); }
.footer-brand p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.8; max-width: 300px; }
.footer-social { display: flex; gap: 24px; margin-top: 32px; }
.footer-social a, .footer-social-item { font-size: 1.2rem; color: var(--text); transition: color var(--transition); text-decoration: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 50%; }
.footer-social a:hover, .footer-social-item:hover { color: var(--gold); border-color: var(--gold); }
.footer-col h4 { font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 32px; color: var(--text); }
.footer-col ul li { margin-bottom: 16px; }
.footer-col ul li a { font-size: 0.9rem; color: var(--text-mid); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.get-in-touch-list { list-style: none; padding: 0; margin: 0; }
.get-in-touch-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 16px !important; color: var(--text-mid) !important; font-size: 0.9rem; }
.get-in-touch-list li i { color: var(--gold); width: 16px; text-align: center; font-size: 1.1rem; }
.get-in-touch-list li span { color: var(--text-mid); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 40px; border-top: 1px solid var(--border); font-size: 0.75rem; color: var(--muted); letter-spacing: 0.1em; flex-wrap: wrap; gap: 16px; }
.footer-pay { display: flex; gap: 16px; align-items: center; }
.pay-badge { font-size: 0.7rem; letter-spacing: 0.15em; color: var(--muted); text-transform: uppercase; }

/* ── Cart Drawer ── */
#cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 440px; background: #ffffff;
  z-index: 2000; transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.25, 1);
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
}
#cart-drawer.open { transform: translateX(0); }
.cart-header { padding: 32px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.cart-header h3 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 300; color: var(--text); }
.cart-close { font-size: 1.5rem; color: var(--text); transition: transform 0.3s; }
.cart-close:hover { transform: rotate(90deg); }
.cart-items { flex: 1; overflow-y: auto; padding: 32px; }
.cart-item { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--border-soft); }
.cart-item-img { width: 80px; height: 100px; background: var(--bg); flex-shrink: 0; }
.cart-item-details { flex: 1; }
.cart-item-name { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 8px; color: var(--text); }
.cart-item-variant { font-size: 0.65rem; color: var(--muted); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 12px; }
.cart-item-row { display: flex; align-items: center; justify-content: space-between; }
.cart-item-price { font-family: var(--font-body); font-size: 1rem; color: var(--text); }
.qty-ctrl { display: flex; align-items: center; gap: 16px; border: 1px solid var(--border); padding: 4px 12px; }
.qty-ctrl button { font-size: 1rem; color: var(--muted); }
.qty-ctrl button:hover { color: var(--text); }
.cart-footer { padding: 32px; border-top: 1px solid var(--border); background: var(--bg); }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.cart-total span:first-child { font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text); }
.cart-total span:last-child { font-family: var(--font-display); font-size: 1.5rem; color: var(--text); }
.cart-checkout { width: 100%; padding: 20px; text-align: center; background: var(--text); color: #fff; font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; }
.cart-empty { text-align: center; padding: 80px 0; font-family: var(--font-display); font-size: 1.4rem; color: var(--muted); font-style: italic; }

/* ── Toast & Overlay ── */
#overlay { position: fixed; inset: 0; background: rgba(255,255,255,0.8); backdrop-filter: blur(4px); z-index: 1800; opacity: 0; pointer-events: none; transition: opacity var(--transition); }
#overlay.active { opacity: 1; pointer-events: all; }
#toast { position: fixed; bottom: 40px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--text); color: #fff; padding: 16px 32px; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; z-index: 3000; opacity: 0; transition: all 0.3s; pointer-events: none; }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Utilities */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-title { font-size: 4rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-row-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-content { padding: 0 24px 60px 24px; }
  .hero-title { font-size: 3rem; }
  #hero { height: 100svh; min-height: 500px; }
  #hero-video { object-fit: contain; }
  .story-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  section { padding: 80px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  #cart-drawer { width: 100%; }
  
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.5rem; }
  .container { padding: 0 24px; }
  
}


/* --- UI REFINEMENTS --- */
.nav-logo-img {
  height: 90px !important;
  width: auto !important;
  mix-blend-mode: multiply !important;
  margin-top: 5px;
}

.footer-brand img {
  height: 90px !important;
  width: auto !important;
  mix-blend-mode: multiply !important;
  margin-bottom: 20px;
}

.collection-title {
  position: relative !important;
  z-index: 10;
  color: var(--gold) !important;
  background: var(--bg) !important;
  padding: 10px 20px !important;
  border-radius: 4px;
  font-size: 1.5rem !important;
  letter-spacing: 2px;
  margin-top: -20px !important;
  box-shadow: 0 4px 12px var(--border) !important;
  display: inline-block;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-card img {
  border-radius: 8px;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* Fix Contact & About Pages */
.contact-container, .about-container {
  background: var(--card-warm);
  padding: 60px;
  border-radius: 12px;
  box-shadow: 0 10px 30px var(--border-soft);
  margin-top: 40px;
  margin-bottom: 40px;
  border: 1px solid var(--border-soft);
}

.contact-container h1, .about-container h1 {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 20px;
}

.carousel-slide.active {
  z-index: 2 !important;
  opacity: 1;
}
.carousel-slide {
  z-index: 1;
}



/* Hero overrides removed — single source of truth at end of file */
.cat-img-info .cat-name {
  color: #fff !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* Final UI Fixes */
.cat-img-info {
  background: rgba(44, 40, 36, 0.4);
  padding: 10px;
  backdrop-filter: blur(5px);
  border-radius: 4px;
}
.cat-img-wrap {
  border-radius: 8px !important;
}
.premium-cat-card .cat-img-wrap {
  border-radius: 12px !important;
}

/* Hero height override removed — single source of truth at end of file */

/* Elegant Buttons */
.btn-primary, .btn-secondary {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  font-weight: 400;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before, .btn-secondary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--gold);
  z-index: -1;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s ease;
}

.btn-primary:hover::before, .btn-secondary:hover::before {
  transform: scaleY(1);
}

.btn-primary:hover, .btn-secondary:hover {
  color: #fff !important;
  border-color: var(--gold) !important;
}

/* Hero CTA overrides removed — single source of truth at end of file */

/* Category Circles Restore */
.premium-cat-card .cat-img-wrap {
  border-radius: 50% !important;
  aspect-ratio: 1 !important;
  border: 1px solid var(--border-soft);
  box-shadow: 0 10px 30px var(--shadow);
}
.premium-cat-card .cat-img-overlay {
  display: none !important;
}
.premium-cat-card .cat-img-info {
  position: static !important;
  background: transparent !important;
  padding: 16px 0 0 0 !important;
  backdrop-filter: none !important;
}
.premium-cat-card .cat-name {
  color: var(--text) !important;
  text-shadow: none !important;
}

/* Dropdown & Footer Beautification */
.nav-dropdown .dropdown-menu {
  background: var(--card) !important;
  border: 1px solid var(--border-soft) !important;
  border-radius: 12px !important;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05) !important;
  padding: 12px 0 !important;
  min-width: 200px !important;
  margin-top: 15px !important;
}
.dropdown-menu li a {
  padding: 12px 24px !important;
  font-family: var(--font-body) !important;
  font-size: 0.85rem !important;
  color: var(--text-mid) !important;
  transition: all 0.3s ease !important;
  text-transform: capitalize !important;
  letter-spacing: 0.1em !important;
}
.dropdown-menu li a:hover {
  background: var(--bg-deep) !important;
  color: var(--gold) !important;
  padding-left: 30px !important;
}

.footer-brand p {
  font-size: 1rem !important;
  color: var(--text-mid) !important;
  line-height: 2 !important;
  letter-spacing: 0.05em !important;
}
.footer-col h4 {
  font-size: 0.85rem !important;
  color: var(--gold) !important;
  margin-bottom: 24px !important;
}
.footer-col ul li a {
  font-size: 0.85rem !important;
  letter-spacing: 0.05em !important;
  opacity: 0.8 !important;
}
.footer-col ul li a:hover {
  opacity: 1 !important;
  color: var(--gold) !important;
}

/* Contact Form Beautification */
.contact-form {
  background: var(--card) !important;
  padding: 40px !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03) !important;
  border: 1px solid var(--border-soft) !important;
}
.contact-form .form-group label {
  font-family: var(--font-display) !important;
  font-size: 1.1rem !important;
  color: var(--text) !important;
  margin-bottom: 12px !important;
  display: block !important;
}
.contact-form input, .contact-form textarea {
  width: 100% !important;
  padding: 16px 20px !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  background: var(--bg-deep) !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  transition: all 0.3s ease !important;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none !important;
  border-color: var(--gold) !important;
  background: var(--card) !important;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1) !important;
}
.contact-form .btn-primary {
  width: 100% !important;
  padding: 20px !important;
  font-size: 1.1rem !important;
  letter-spacing: 0.15em !important;
  margin-top: 10px !important;
}

/* About Page Beautification */
.about-container {
  background: var(--card) !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.04) !important;
  border: 1px solid var(--border-soft) !important;
  padding: 80px !important;
  max-width: 1000px !important;
  margin: 60px auto !important;
}
.about-container h2 {
  font-family: var(--font-display) !important;
  font-size: 3.5rem !important;
  color: var(--gold) !important;
  margin-bottom: 30px !important;
  text-align: center !important;
}
.about-container p {
  font-size: 1.1rem !important;
  line-height: 2.2 !important;
  color: var(--text-mid) !important;
  margin-bottom: 24px !important;
  text-align: center !important;
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}
.story-grid .story-visual {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

/* Shop Active UI Fix */
.filter-btn {
  font-family: var(--font-display) !important;
  font-size: 1.1rem !important;
  color: var(--text-mid) !important;
  border: 1px solid var(--border-soft) !important;
  background: var(--card) !important;
  padding: 12px 30px !important;
  border-radius: 30px !important;
  transition: all 0.3s ease !important;
  letter-spacing: 0.05em !important;
}
.filter-btn:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}
.filter-btn.active {
  background: var(--gold) !important;
  color: #fff !important;
  border-color: var(--gold) !important;
  box-shadow: 0 5px 15px rgba(201, 168, 76, 0.3) !important;
}

/* Enforce perfectly circular categories on homepage */
.premium-circle {
  position: relative !important;
  border-radius: 50% !important;
  aspect-ratio: 1 !important;
  width: 100% !important;
  max-width: 300px !important;
  margin: 0 auto !important;
  height: auto !important;
  box-shadow: none !important;
  overflow: hidden !important;
  display: block !important;
}
.premium-circle img {
  border-radius: 50% !important;
  aspect-ratio: 1 !important;
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
}

/* Dropdown box shadow fix */


.nav-dropdown > .dropdown-menu {
  opacity: 0;
  visibility: hidden;
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
  transition: all 0.3s ease;
  display: block !important;
}
.nav-dropdown:hover > .dropdown-menu,
.nav-dropdown.open > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  background: var(--card) !important;
  border: 1px solid var(--border-soft) !important;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05) !important;
}

/* ══════════════════════════════════════════════════
   HERO SECTION — SINGLE SOURCE OF TRUTH
   All hero styles consolidated here. No other
   hero overrides exist in this file.
   ══════════════════════════════════════════════════ */
#hero {
  height: 100vh !important;
  min-height: 600px !important;
  max-height: 900px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}
.hero-carousel, #hero-video {
  border-radius: 0 !important;
}
.hero-video-overlay {
  background: linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.3) 100%) !important;
}
.hero-content {
  padding: 0 60px !important;
  max-width: 750px !important;
  text-align: left !important;
}
.hero-title-main {
  font-family: var(--font-display) !important;
  font-size: clamp(3rem, 5vw, 5rem) !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3) !important;
  line-height: 1.1 !important;
  margin-bottom: 16px !important;
}
.hero-title-sub {
  font-size: 1rem !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.85) !important;
  text-shadow: 0 1px 10px rgba(0,0,0,0.3) !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
}
#hero .btn-primary {
  background: #ffffff !important;
  color: var(--text) !important;
  border: none !important;
  padding: 16px 40px !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.15em !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}
#hero .btn-primary:hover {
  background: var(--gold) !important;
  color: #ffffff !important;
}
@media (max-width: 768px) {
  #hero { height: 100svh !important; min-height: 500px !important; align-items: flex-end !important; }
  .hero-content { padding: 0 24px 60px 24px !important; }
  .hero-title-main { font-size: 2.5rem !important; }
  .hero-title-sub { font-size: 0.85rem !important; }
}

/* Two-category grid — centered circles */
.premium-cat-grid--two {
  grid-template-columns: repeat(2, 1fr) !important;
  max-width: 700px !important;
  margin: 0 auto !important;
}

/* ═══════════════════════════════════════════
   NAVBAR DROPDOWN — Beautiful redesign
   ═══════════════════════════════════════════ */
.nav-dropdown > .dropdown-menu {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(12px) !important;
  background: #fff !important;
  border: none !important;
  border-radius: 14px !important;
  box-shadow: 0 20px 60px rgba(44,40,36,0.12), 0 4px 16px rgba(44,40,36,0.06) !important;
  padding: 8px !important;
  min-width: 200px !important;
  margin-top: 12px !important;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease !important;
  display: block !important;
  overflow: hidden !important;
}
.nav-dropdown:hover > .dropdown-menu,
.nav-dropdown.open > .dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  background: #fff !important;
}

/* Dropdown items */
.nav-dropdown .dropdown-menu li {
  margin: 0 !important;
}
.nav-dropdown .dropdown-menu a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 11px 16px !important;
  font-family: var(--font-body) !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.06em !important;
  color: var(--text) !important;
  text-transform: none !important;
  border-radius: 8px !important;
  transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  position: relative !important;
}
.nav-dropdown .dropdown-menu a::before {
  content: none !important;
}
.nav-dropdown .dropdown-menu a:hover {
  background: rgba(212,175,55,0.08) !important;
  color: var(--gold) !important;
  padding-left: 20px !important;
}

/* Gold dot indicator on hover */
.nav-dropdown .dropdown-menu a::after {
  content: '' !important;
  display: inline-block !important;
  width: 4px !important;
  height: 4px !important;
  background: var(--gold) !important;
  border-radius: 50% !important;
  margin-left: auto !important;
  opacity: 0 !important;
  transition: opacity 0.18s ease !important;
  flex-shrink: 0 !important;
}
.nav-dropdown .dropdown-menu a:hover::after {
  opacity: 1 !important;
}

/* Divider between "All Collections" and the category links */
.nav-dropdown .dropdown-menu li:first-child a {
  border-bottom: 1px solid rgba(44,40,36,0.06) !important;
  border-radius: 8px 8px 0 0 !important;
  margin-bottom: 4px !important;
  padding-bottom: 14px !important;
  color: var(--muted) !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

/* Ensure text always visible (override white-on-white from hero) */
body.page-home nav:not(.scrolled) .nav-dropdown .dropdown-menu a,
body.page-home nav:not(.scrolled) .nav-dropdown .dropdown-menu a:hover,
nav .nav-dropdown .dropdown-menu a {
  color: var(--text) !important;
}
body.page-home nav:not(.scrolled) .nav-dropdown .dropdown-menu a:hover {
  color: var(--gold) !important;
}

/* ═══════════════════════════════════════════
   MOBILE RESPONSIVENESS FIXES
   ═══════════════════════════════════════════ */

/* General mobile container padding */
@media (max-width: 768px) {
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  
  /* Nav */
  nav {
    padding: 0 16px !important;
  }
  
  /* Hero text scaling */
  .hero-title-main {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  .hero-title-sub {
    font-size: 0.8rem !important;
  }
  
  /* Categories — stack on smallest screens */
  .premium-cat-grid,
  .premium-cat-grid--two {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    max-width: 100% !important;
  }
  .premium-circle {
    max-width: 140px !important;
  }
  
  /* Section titles */
  .section-title {
    font-size: 1.6rem !important;
  }
  
  /* Story grid */
  .story-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  
  /* Footer grid */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  
  /* Testimonial slider */
  .testimonial-slider {
    grid-template-columns: 1fr !important;
  }
  
  /* Page hero */
  .page-hero {
    padding: 80px 16px 40px !important;
  }
  .page-hero h1 {
    font-size: 2rem !important;
  }

  /* Cart drawer full width on mobile */
  #cart-drawer {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 20px 20px 0 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    top: auto !important;
    height: 80vh !important;
  }
}

@media (max-width: 480px) {
  .premium-cat-grid,
  .premium-cat-grid--two {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .hero-title-main {
    font-size: 1.7rem !important;
  }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .story-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
  }
  .premium-cat-grid--two {
    max-width: 560px !important;
  }
}

/* Shop sidebar mobile overlay backdrop */
@media (max-width: 991px) {
  .shop-sidebar.active::before {
    content: '' !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,0,0,0.4) !important;
    z-index: -1 !important;
  }
}
