/* ============================================================
   EVERWEARINDIA — Trophies, Awards & Corporate Mementos
   Static stylesheet
============================================================ */

:root {
  --bg: #faf7f2;
  --bg-2: #f3ece0;
  --surface: #f0e9dc;
  --ink: #1a1410;
  --ink-2: #2a221b;
  --soft: #6b5f54;
  --soft-2: #8e8479;
  --line: rgba(26, 20, 16, 0.10);
  --line-strong: rgba(26, 20, 16, 0.18);
  --accent: #b08d57;        /* antique gold */
  --accent-2: #8a6a3e;      /* deep gold */
  --accent-soft: #e7d6b3;
  --danger: #a8412c;
  --success: #5a7a3a;

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1240px;
  --radius: 0px;
  --radius-sm: 2px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(26, 20, 16, 0.04);
  --shadow-lg: 0 24px 60px -20px rgba(26, 20, 16, 0.18);
}

[data-theme=\"dark\"] {
  --bg: #14110d;
  --bg-2: #1c1813;
  --surface: #1f1a14;
  --ink: #f1ead9;
  --ink-2: #d8cfba;
  --soft: #aea391;
  --soft-2: #877d6b;
  --line: rgba(241, 234, 217, 0.10);
  --line-strong: rgba(241, 234, 217, 0.18);
  --accent: #d4ac6e;
  --accent-2: #b08d57;
  --accent-soft: #3a2f1f;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body { padding-bottom: 0; }
@media (max-width: 991.98px) {
  body { padding-bottom: 56px; }
}

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

a { color: inherit; text-decoration: none; transition: color 0.25s ease, opacity 0.25s ease; }
a:hover { color: var(--accent-2); }

::selection { background: var(--accent); color: #fff; }

.container { max-width: var(--container); padding: 0 24px; margin: 0 auto; }

/* Typography */
.brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.02em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
}
.brand .dot { color: var(--accent); margin-left: 1px; }

h1, h2, h3, h4, h5, h6, .display-title {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.08;
  margin: 0 0 0.6em;
}
em { font-style: italic; color: var(--accent-2); font-family: var(--font-display); }

.section-title { font-size: clamp(2rem, 4vw, 3.2rem); }
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 14px;
}

.text-soft { color: var(--soft); }
.text-muted-2 { color: var(--soft); }

/* Sections */
.section { padding: 90px 0; }
.section-tight { padding: 50px 0; }
.bg-surface { background: var(--surface); }
.border-top-soft { border-top: 1px solid var(--line); }
.border-bottom-soft { border-bottom: 1px solid var(--line); }
.divider-line { border-color: var(--line); }

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-tight { padding: 32px 0; }
}

/* ============================================================
   ANNOUNCEMENT BAR
============================================================ */
.announcement-bar {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 10px 16px;
  font-weight: 500;
}

/* ============================================================
   HEADER
============================================================ */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(0,0,0,0.08); }

.icon-btn {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border: none; background: transparent;
  color: var(--ink);
  border-radius: 50%;
  font-size: 18px;
  position: relative;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.icon-btn:hover { background: var(--surface); color: var(--accent-2); }
.icon-btn .badge {
  position: absolute;
  top: 4px; right: 4px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 5px;
  letter-spacing: 0;
}

.nav-link-main {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.nav-link-main:hover { color: var(--accent-2); }
.nav-link-main.active { color: var(--accent-2); }

/* Mega menu */
.has-mega { position: static; }
.mega-menu {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0 40px;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  box-shadow: var(--shadow-lg);
}
.has-mega:hover .mega-menu, .mega-menu:hover, .mega-menu.show {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0s;
}
.mega-col h6 {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.mega-col ul { list-style: none; padding: 0; margin: 0; }
.mega-col ul li { margin-bottom: 8px; }
.mega-col ul li a { font-size: 14px; color: var(--ink); }
.mega-col ul li a:hover { color: var(--accent-2); }
.mega-feature {
  display: block; position: relative; overflow: hidden;
  height: 240px; background: var(--surface);
}
.mega-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.mega-feature:hover img { transform: scale(1.04); }
.mega-feature .label {
  position: absolute; bottom: 16px; left: 16px;
  background: var(--bg); color: var(--ink);
  padding: 8px 14px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1.2;
  text-decoration: none;
}
.btn-lg { padding: 14px 30px; font-size: 14px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

.btn-dark, .btn-ink {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}
.btn-dark:hover, .btn-ink:hover { background: var(--ink-2); color: var(--bg); }

.btn-light {
  background: var(--bg); color: var(--ink); border-color: var(--bg);
}
.btn-light:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.btn-outline-dark, .btn-outline-ink {
  background: transparent; color: var(--ink); border-color: var(--ink);
}
.btn-outline-dark:hover, .btn-outline-ink:hover { background: var(--ink); color: var(--bg); }

.btn-outline-light {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.6);
}
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-accent {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent-2); border-color: var(--accent-2); }

.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 10px 20px;
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ============================================================
   HERO
============================================================ */
.hero { position: relative; overflow: hidden; background: var(--ink); }
.hero-slide { color: #fff; }
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,16,12,0.78) 0%, rgba(20,16,12,0.5) 45%, rgba(20,16,12,0.15) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 80px 0; }
.hero-eyebrow {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.02;
  margin-bottom: 28px;
}
.hero h1 em { color: var(--accent-soft); }
.hero-lead {
  color: rgba(255,255,255,0.82);
  font-size: 16px;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-pagination {
  position: absolute;
  bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 5;
  display: flex; gap: 10px;
}
.hero-pagination button {
  width: 32px; height: 2px;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  padding: 0;
}
.hero-pagination button.active { background: var(--accent-soft); }

/* ============================================================
   CATEGORY CARDS
============================================================ */
.cat-card {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 3/4;
}
.cat-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cat-card:hover img { transform: scale(1.06); }
.cat-card-arrow {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--ink);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  transform: translate(-4px, 4px);
}
.cat-card:hover .cat-card-arrow { opacity: 1; transform: translate(0,0); }
.cat-card-body {
  position: absolute;
  left: 18px; bottom: 18px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.cat-card-body span {
  display: block;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 6px;
}
.cat-card-body h5 {
  color: #fff;
  font-size: 26px;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
}

/* ============================================================
   TABS (clean)
============================================================ */
.nav-tabs-clean {
  border: none;
  gap: 8px;
}
.nav-tabs-clean .nav-link {
  border: none;
  background: transparent;
  color: var(--soft);
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
}
.nav-tabs-clean .nav-link.active {
  background: var(--ink); color: var(--bg);
}

/* ============================================================
   PRODUCT CARD
============================================================ */
.product-card {
  position: relative;
  background: transparent;
}
.product-media {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 3/4;
  margin-bottom: 14px;
}
.product-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity 0.45s ease, transform 0.7s cubic-bezier(0.2,0.7,0.2,1);
}
.product-media .img-main { position: absolute; inset: 0; }
.product-media .img-hover {
  position: absolute; inset: 0;
  opacity: 0;
}
.product-card:hover .img-hover { opacity: 1; }
.product-card:hover .img-main { transform: scale(1.05); }

.product-tag {
  position: absolute; top: 12px; left: 12px;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--bg); color: var(--ink);
  padding: 5px 10px; font-weight: 700;
  z-index: 2;
}
.product-tag.sale { background: var(--ink); color: var(--bg); }
.product-tag.new { background: var(--accent); color: #fff; }

.product-actions {
  position: absolute; top: 12px; right: 12px;
  display: flex; flex-direction: column; gap: 6px;
  z-index: 2;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }
.product-actions button {
  width: 36px; height: 36px;
  border: none; background: var(--bg);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.product-actions button:hover { background: var(--ink); color: var(--bg); }
.product-actions button.is-active { background: var(--accent); color: #fff; }

.product-quick-cta {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.product-card:hover .product-quick-cta { opacity: 1; transform: translateY(0); }
.product-quick-cta .btn {
  width: 100%;
  background: var(--ink); color: var(--bg);
  font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 12px;
}
.product-quick-cta .btn:hover { background: var(--accent); }

.product-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 6px;
  letter-spacing: 0.01em;
}
.product-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
}
.product-price { font-weight: 600; color: var(--ink); }
.product-price-old { color: var(--soft-2); text-decoration: line-through; font-size: 12px; }
.product-rating { color: var(--accent-2); font-size: 12px; display: inline-flex; align-items: center; gap: 4px; }
.product-rating .count { color: var(--soft); margin-left: 2px; }

.swatches {
  display: flex; gap: 6px; margin-top: 10px;
}
.swatch {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-block;
}

/* ============================================================
   MARQUEE
============================================================ */
.marquee {
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.marquee-track {
  display: flex; gap: 40px;
  white-space: nowrap;
  animation: marquee 36s linear infinite;
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  letter-spacing: 0.02em;
}
.marquee-track .dot { color: var(--accent); margin: 0 8px; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   FLASH SALE
============================================================ */
.flash-banner {
  background: var(--ink);
  color: var(--bg);
  padding: 56px 44px;
  position: relative;
  overflow: hidden;
}
.flash-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(176,141,87,0.25), transparent 60%);
  pointer-events: none;
}
.flash-banner h2, .flash-banner .display-title { color: var(--bg); }
.flash-banner em { color: var(--accent-soft); }

.countdown {
  display: flex; gap: 14px;
  margin: 24px 0 8px;
}
.countdown-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 14px 12px;
  text-align: center;
  min-width: 70px;
}
.countdown-box .num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  color: var(--bg);
}
.countdown-box .label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
}

/* ============================================================
   PROMO BANNERS
============================================================ */
.promo-banner {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  background-size: cover;
  background-position: center;
  aspect-ratio: 16/9;
  color: #fff;
  display: block;
}
.promo-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.6));
}
.promo-banner-body {
  position: absolute;
  left: 32px; bottom: 32px; right: 32px;
  z-index: 2;
}
.promo-banner-body h3 {
  color: #fff;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  margin: 6px 0 12px;
}

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 32px;
  height: 100%;
}
.testimonial-card .stars { color: var(--accent); font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.testimonial-author img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author strong { display: block; font-size: 14px; }
.testimonial-author small { color: var(--soft); font-size: 12px; }

/* ============================================================
   BRAND STRIP
============================================================ */
.brand-strip {
  display: flex; flex-wrap: wrap;
  justify-content: space-around; align-items: center;
  gap: 28px;
}
.brand-strip .b {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--soft-2);
  letter-spacing: 0.06em;
  opacity: 0.65;
  transition: opacity 0.2s, color 0.2s;
}
.brand-strip .b:hover { opacity: 1; color: var(--ink); }

/* ============================================================
   NEWSLETTER
============================================================ */
.newsletter {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  padding: 72px 24px;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(176,141,87,0.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(231,214,179,0.10), transparent 40%);
  pointer-events: none;
}
.newsletter h2, .newsletter .display-title { color: var(--bg); position: relative; }
.newsletter em { color: var(--accent-soft); }
.newsletter .form-control {
  height: 52px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--bg);
  padding: 0 18px;
  font-family: var(--font-body);
  font-size: 14px;
}
.newsletter .form-control::placeholder { color: rgba(255,255,255,0.5); }
.newsletter .form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.08);
  box-shadow: none;
  color: var(--bg);
}
.newsletter .btn-accent { height: 52px; padding: 0 28px; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--bg-2);
  color: var(--ink);
  padding: 72px 0 32px;
  border-top: 1px solid var(--line);
}
.site-footer .footer-col h6 {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 18px;
}
.site-footer .footer-col ul { list-style: none; padding: 0; margin: 0; }
.site-footer .footer-col ul li { margin-bottom: 10px; font-size: 14px; color: var(--soft); }
.site-footer .footer-col ul li a { color: var(--ink); }
.site-footer .footer-col ul li a:hover { color: var(--accent-2); }

.social-icons { display: flex; gap: 6px; }
.social-icons a {
  width: 38px; height: 38px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  border-radius: 50%;
  transition: all 0.2s;
}
.social-icons a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.payment-icons { display: flex; gap: 10px; flex-wrap: wrap; }
.payment-icons span {
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 700;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  color: var(--soft);
  border-radius: 2px;
}

/* ============================================================
   MOBILE BOTTOM NAV
============================================================ */
.mobile-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  z-index: 90;
  padding: 4px 0 max(4px, env(safe-area-inset-bottom));
  display: none;
}
@media (max-width: 991.98px) { .mobile-bottom-nav { display: block; } }
.mobile-bottom-nav .nav-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.mobile-bottom-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 2px; /* reduced from 4px */
  font-size: 9px; /* reduced from 10px */
  color: var(--soft);
  padding: 6px 0;
  position: relative;
}
.mobile-bottom-nav a.active, .mobile-bottom-nav a:hover { color: var(--ink); }
.mobile-bottom-nav i { font-size: 17px; }
.mobile-bottom-nav .badge {
  position: absolute;
  top: 2px; right: calc(50% - 16px);
  background: var(--accent); color: #fff;
  font-size: 9px; font-weight: 700;
  min-width: 16px; height: 16px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

/* ============================================================
   SEARCH OVERLAY
============================================================ */
/* 1. Mobile-responsive modal */
.search-overlay {
  padding: 16px;          /* was: padding-top: 100px only */
  padding-top: 80px;
  align-items: flex-start;
}

.search-modal {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;     /* center on all widths */
}

/* 2. Tighter input on small screens */
@media (max-width: 576px) {
  .search-overlay { padding: 12px 8px; padding-top: 60px; }
  .search-input-wrap { height: 52px; padding: 0 14px; gap: 8px; }
  .search-input-wrap input { font-size: 16px; }  /* prevents iOS zoom */
  .search-modal::after { font-size: 10px; padding: 8px 14px; }
}

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 12, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
}
.search-overlay.show { display: flex; }
 
/* modal box */
.search-modal {
  width: 100%;
  max-width: 560px;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -16px rgba(26,20,16,0.22);
  animation: searchSlideDown 0.25s ease;
  overflow: hidden;
}
@keyframes searchSlideDown {
  from { transform: translateY(-10px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
 
/* input row */
.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  height: 64px;
  border-bottom: 2px solid var(--accent);
}
 
.search-icon {
  font-size: 18px;
  color: var(--soft);
  flex-shrink: 0;
}
 
.search-input-wrap input[type="search"] {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
  outline: none;
  padding: 0;
  /* hide browser's built-in clear button */
  -webkit-appearance: none;
}
.search-input-wrap input[type="search"]::-webkit-search-cancel-button { display: none; }
.search-input-wrap input::placeholder { color: var(--soft-2); font-style: italic; }
 
/* close (×) button inside input row */
.search-close-btn {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border: none;
  background: transparent;
  color: var(--soft);
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.search-close-btn:hover {
  background: var(--surface);
  color: var(--ink);
}
 
/* hint line below input */
.search-modal::after {
  content: 'Press Enter to search  ·  Esc to close';
  display: block;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft-2);
  padding: 10px 20px;
}

/* ============================================================
   FORM CONTROLS (LOGIN, REGISTER, NEWSLETTER)
============================================================ */
.form-control, .form-select {
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(176,141,87,0.12);
}
label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); font-weight: 600; }

/* ============================================================
   TOAST
============================================================ */
.toast-stack {
  position: fixed; bottom: 24px; left: 24px;
  z-index: 9999;
  display: flex; flex-direction: column; gap: 8px;
}
@media (max-width: 991.98px) { .toast-stack { bottom: 90px; } }
.toast-item {
  background: var(--ink); color: var(--bg);
  padding: 14px 18px;
  border-radius: 2px;
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.3s ease;
  min-width: 240px;
  border-left: 3px solid var(--accent);
}
.toast-item i { color: var(--accent-soft); font-size: 18px; }
@keyframes toastIn {
  from { transform: translateX(-12px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ============================================================
   REVEAL ANIMATION
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2,0.7,0.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   PAGE HEADER (collection / shop / about)
============================================================ */
.page-hero {
  background: var(--surface);
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 8px;
}
.page-hero .crumbs {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--soft); margin-bottom: 12px;
}

/* Shop layout */
.shop-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.shop-filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.shop-filter-bar .pill {
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  font-size: 12px; letter-spacing: 0.04em;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--ink);
  background: transparent;
}
.shop-filter-bar .pill:hover { background: var(--surface); }
.shop-filter-bar .pill.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Cart page */
.cart-row {
  display: grid;
  grid-template-columns: 96px 1fr auto auto auto;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.cart-row img { width: 96px; height: 120px; object-fit: cover; background: var(--surface); }
.qty-stepper {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-strong);
}
.qty-stepper button {
  width: 32px; height: 36px;
  border: none; background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.qty-stepper input {
  width: 36px; height: 36px;
  border: none; text-align: center;
  font-size: 14px; background: transparent;
  color: var(--ink);
}
.cart-summary {
  background: var(--surface);
  padding: 28px;
  border: 1px solid var(--line);
  position: sticky;
  top: 100px;
}
.cart-summary .row-line {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}
.cart-summary .row-line.total {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  border-top: 1px solid var(--line-strong);
  padding-top: 16px; margin-top: 8px;
}
@media (max-width: 768px) {
  .cart-row { grid-template-columns: 80px 1fr; gap: 14px; }
  .cart-row .cart-row-cell { grid-column: 2 / -1; }
}

/* Auth pages */
.auth-wrap {
  min-height: calc(100vh - 200px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 991.98px) { .auth-wrap { grid-template-columns: 1fr; } }
.auth-art {
  background-size: cover; background-position: center;
  position: relative;
}
.auth-art::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(140deg, rgba(20,16,12,0.45), rgba(20,16,12,0.15));
}
.auth-art .auth-art-quote {
  position: absolute; left: 40px; right: 40px; bottom: 40px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.2;
  font-style: italic;
}
@media (max-width: 991.98px) { .auth-art { display: none; } }
.auth-form {
  padding: 80px 60px;
  display: flex; flex-direction: column; justify-content: center;
}
@media (max-width: 600px) { .auth-form { padding: 48px 24px; } }
.auth-form h1 { font-size: clamp(2rem, 3.5vw, 2.6rem); }
.auth-form .form-control { height: 50px; }

/* Product page */
.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.product-gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: var(--surface); }
@media (max-width: 768px) { .product-gallery { grid-template-columns: 1fr; } }
.product-info-stack { padding-left: 24px; }
@media (max-width: 991.98px) { .product-info-stack { padding-left: 0; padding-top: 32px; } }
.size-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.size-grid button {
  padding: 12px 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
}
.size-grid button:hover { background: var(--surface); }
.size-grid button.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.accordion-clean { border-top: 1px solid var(--line); }
.accordion-clean .acc-item { border-bottom: 1px solid var(--line); }
.accordion-clean .acc-head {
  padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.accordion-clean .acc-body {
  display: none;
  padding: 0 0 18px;
  color: var(--soft);
  font-size: 14px;
}
.accordion-clean .acc-item.open .acc-body { display: block; }
.accordion-clean .acc-item.open .acc-head i { transform: rotate(45deg); }
.accordion-clean .acc-head i { transition: transform 0.3s; }

/* Dashboard */
.dash-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
}
@media (max-width: 768px) { .dash-grid { grid-template-columns: 1fr; } }
.dash-side { border: 1px solid var(--line); padding: 8px; height: fit-content; }
.dash-side a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--ink);
  border-radius: 2px;
}
.dash-side a:hover { background: var(--surface); }
.dash-side a.active { background: var(--ink); color: var(--bg); }
.dash-card { border: 1px solid var(--line); padding: 24px; background: var(--bg); }

/* About */
.about-hero {
  position: relative;
  min-height: 60vh;
  display: flex; align-items: end;
  background-size: cover; background-position: center;
  color: #fff;
  padding: 60px 0;
}
.about-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.55));
}
.about-hero .container { position: relative; z-index: 2; }
.about-hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 5rem); }
.stat-block { padding: 32px 0; border-top: 1px solid var(--line); }
.stat-block .num {
  font-family: var(--font-display);
  font-size: 56px; font-weight: 500;
  color: var(--ink);
  line-height: 1;
}
.stat-block .label {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--soft); margin-top: 8px;
}

/* Helpers */
.gap-2 { gap: 0.5rem; } .gap-3 { gap: 1rem; } .gap-4 { gap: 1.5rem; }