/* ============================================================
   VELOURA — Main Stylesheet
   Modern fashion e-commerce, inspired by Boohoo/ASOS design
   ============================================================ */

/* ── Root tokens ─────────────────────────────────────────── */
:root {
  --bg:          #ffffff;
  --text:        #0b0b0f;
  --muted:       #6b7280;
  --line:        #e5e7eb;
  --chip:        #f3f4f6;
  --accent:      #111827;
  --sale:        #b91c1c;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.06);
  --shadow-md:   0 8px 24px rgba(0,0,0,.10);
  --shadow-lg:   0 16px 40px rgba(0,0,0,.14);
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --max:         1200px;
  --header-h:    0px; /* updated by JS if needed */
  --font:        'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --ease-out:    cubic-bezier(.22,.68,0,1.2);
  --ease-in-out: cubic-bezier(.4,0,.2,1);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a  { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
input, button { border: 0; outline: none; background: none; }

/* ── Container ───────────────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* =============================================================
   HEADER
   ============================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

/* ── Promo bar ───────────────────────────────────────────── */
.promo {
  background: #0b0b0f;
  color: #fff;
  font-size: .875rem;
  font-weight: 500;
  overflow: hidden;
}
.promo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 0;
  position: relative;
}
.promo-ticker {
  display: flex;
  align-items: center;
  gap: 10px;
}
.promo-sep { opacity: .4; }
.promo-link {
  color: #fff;
  text-decoration: underline;
  white-space: nowrap;
  opacity: .85;
  transition: opacity .2s;
}
.promo-link:hover { opacity: 1; }

/* ── Utility strip ───────────────────────────────────────── */
.utility {
  border-bottom: 1px solid var(--line);
  font-size: .875rem;
  color: var(--muted);
  background: #fff;
}
.utility-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  gap: 12px;
}
.utility-left,
.utility-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.util-link { color: var(--muted); font-weight: 450; transition: color .18s; }
.util-link:hover { color: var(--text); }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--chip);
  border: 1px solid var(--line);
  font-size: .82rem;
  color: var(--muted);
  font-weight: 500;
}

/* ── Main nav bar ────────────────────────────────────────── */
.mainbar { padding: 12px 0; background: #fff; }
.mainbar-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}
.left-cluster { display: flex; align-items: center; gap: 10px; min-width: 0; }

/* Brand logo */
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.brand-text {
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 1.22rem;
  color: var(--text);
  transition: opacity .2s;
}
.brand:hover .brand-text { opacity: .7; }

/* Desktop search */
.search-bar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff;
  min-width: 0;
  transition: border-color .2s, box-shadow .2s;
  color: var(--muted);
}
.search-bar:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(17,24,39,.08);
  color: var(--text);
}
.search-bar input {
  flex: 1;
  font-size: .97rem;
  min-width: 0;
  color: var(--text);
}
.search-bar input::placeholder { color: #9ca3af; }
.kbd {
  flex-shrink: 0;
  font-size: .78rem;
  padding: 3px 8px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: var(--chip);
  color: var(--muted);
  white-space: nowrap;
}

/* Action icon buttons */
.actions { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.icon-btn {
  width: 42px; height: 42px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--text);
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.icon-btn:hover {
  box-shadow: 0 0 0 4px rgba(17,24,39,.07);
  transform: translateY(-1px);
}
.icon-btn:active { transform: scale(.95); }
.badge {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 2px solid #fff;
  animation: pop .3s var(--ease-out);
}
@keyframes pop {
  0%   { transform: scale(0); }
  70%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Burger */
.burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: box-shadow .18s;
}
.burger:hover { box-shadow: 0 0 0 4px rgba(17,24,39,.07); }
.lines { width: 18px; height: 12px; position: relative; }
.lines span {
  position: absolute; left: 0; right: 0;
  height: 2px; background: #111827;
  border-radius: 2px;
  transition: transform .22s ease, opacity .18s ease;
}
.lines span:nth-child(1) { top: 0; }
.lines span:nth-child(2) { top: 5px; }
.lines span:nth-child(3) { top: 10px; }
.burger[aria-expanded="true"] .lines span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] .lines span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .lines span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Mobile search row */
.search-row {
  display: none;
  border-top: 1px solid var(--line);
  padding: 10px 0 13px;
  background: #fff;
}
.search-row .search-bar { display: flex; }
.search-row.open { display: block; }

/* ── Category nav ────────────────────────────────────────── */
.cats { background: #fff; border-top: 1px solid var(--line); }
.cats-row {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.cats-row::-webkit-scrollbar { display: none; }
.cat {
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .1px;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--accent);
  white-space: nowrap;
  position: relative;
  transition: background .18s, color .18s;
}
.cat::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transform: translateX(-50%);
  transition: width .22s var(--ease-in-out);
}
.cat:hover { background: var(--chip); }
.cat:hover::after,
.mega-wrap:hover .cat::after { width: calc(100% - 24px); }
.sale-cat { color: var(--sale) !important; }
.sale-cat::after { background: var(--sale); }

/* ── Mega menu ───────────────────────────────────────────── */
.mega-wrap { position: relative; }
.mega {
  position: absolute;
  left: 50%; top: calc(100% + 6px);
  transform: translateX(-50%);
  min-width: 620px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  display: none;
  opacity: 0;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.mega.open {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
  animation: megaIn .18s var(--ease-out) forwards;
}
@keyframes megaIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.mega-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 20px;
}
.mega-col h4 {
  font-size: .78rem;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 700;
}
.mega-col a {
  display: block;
  padding: 7px 0;
  font-size: .94rem;
  color: var(--muted);
  transition: color .16s, padding-left .18s;
}
.mega-col a:hover { color: var(--text); padding-left: 4px; }

/* Feature card inside mega */
.feature-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  background: linear-gradient(160deg, #fafafa, #fff);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.feat-tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--chip);
  border: 1px solid var(--line);
  font-size: .8rem;
  color: var(--muted);
  font-weight: 500;
  width: fit-content;
}
.feature-card strong { font-size: 1rem; display: block; }
.feature-card p { color: var(--muted); font-size: .88rem; line-height: 1.5; }
.feat-cta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 13px;
  border-radius: 10px;
  border: 1.5px solid var(--accent);
  font-size: .9rem;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  transition: background .18s, transform .18s;
  width: fit-content;
}
.feat-cta:hover { background: #374151; transform: translateY(-1px); }

/* =============================================================
   MOBILE OVERLAY + DRAWER
   ============================================================= */
.overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 950;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.overlay.show { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: min(380px, 88vw);
  background: #fff;
  border-right: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  transform: translateX(-105%);
  transition: transform .26s var(--ease-in-out);
  z-index: 1000;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.close-btn {
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: box-shadow .18s, transform .18s;
}
.close-btn:hover { box-shadow: 0 0 0 4px rgba(17,24,39,.07); transform: rotate(90deg); }
.drawer-body { padding: 8px 8px; overflow-y: auto; flex: 1; }
.drawer-divider { border: 0; border-top: 1px solid var(--line); margin: 10px 8px; }

.m-item {
  width: 100%;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: .97rem; font-weight: 500;
  color: var(--text);
  transition: background .15s;
}
.m-item:hover { background: var(--chip); }
.m-dd {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  border-radius: 12px;
  border: 0; background: transparent;
  font-size: .97rem; font-weight: 500;
  color: var(--text);
  transition: background .15s;
}
.m-dd:hover { background: var(--chip); }
.chev {
  width: 8px; height: 8px;
  display: inline-block;
  border-right: 2px solid #9ca3af;
  border-bottom: 2px solid #9ca3af;
  transform: rotate(45deg);
  transition: transform .22s;
  flex-shrink: 0;
}
.m-dd[aria-expanded="true"] .chev { transform: rotate(-135deg); }
.m-sub {
  max-height: 0; overflow: hidden;
  opacity: 0; transform: translateY(-4px);
  transition: max-height .24s ease, opacity .2s ease, transform .2s ease;
}
.m-sub.open {
  max-height: 400px; opacity: 1; transform: translateY(0);
  padding-bottom: 6px;
}
.m-sub a {
  display: block;
  padding: 10px 20px;
  border-radius: 10px;
  color: var(--muted);
  font-size: .94rem;
  transition: background .14s, color .14s;
}
.m-sub a:hover { background: var(--chip); color: var(--text); }

/* =============================================================
   HERO
   ============================================================= */
.hero {
  min-height: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 60px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(17,24,39,.04) 0%, transparent 70%),
    linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdots/%3E%3C/svg%3E") repeat;
  opacity: .018;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--muted);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 32px;
}
.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .2px;
  transition: background .2s, transform .18s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(17,24,39,.18);
}
.btn-primary:hover {
  background: #374151;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(17,24,39,.25);
}
.btn-primary:active { transform: scale(.97); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--line);
  transition: border-color .2s, background .2s, transform .18s;
}
.btn-secondary:hover {
  border-color: var(--accent);
  background: var(--chip);
  transform: translateY(-2px);
}
.hero-badge-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 36px;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
}

/* =============================================================
   CATEGORY TILES
   ============================================================= */
.cat-tiles-section { padding-top: 0; }
.cat-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 28px 0;
}
.cat-tile {
  height: 200px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: transform .26s var(--ease-out), box-shadow .26s;
}
.cat-tile:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-lg);
}
.cat-tile span {
  position: relative; z-index: 1;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.cat-tile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.55) 100%);
  transition: background .28s;
}
.cat-tile:hover::after {
  background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.65) 100%);
}
.cat-tile--women     { background: linear-gradient(135deg, #f3e8e8 0%, #d4a0a0 100%); }
.cat-tile--men       { background: linear-gradient(135deg, #dde8f3 0%, #7aa0c4 100%); }
.cat-tile--accessories { background: linear-gradient(135deg, #e8f0e8 0%, #8db49a 100%); }

/* =============================================================
   SECTIONS
   ============================================================= */
.section { padding: 64px 0; }
.section.arrivals { background: var(--chip); }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 12px;
}
.section-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}
.section-header h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.view-all-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: #fff;
  white-space: nowrap;
  transition: color .18s, border-color .18s, box-shadow .18s, transform .18s;
}
.view-all-link:hover {
  color: var(--text);
  border-color: var(--accent);
  transform: translateX(2px);
}

/* =============================================================
   PRODUCT GRID + CARDS
   ============================================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow .26s var(--ease-out), transform .26s var(--ease-out);
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.product-img-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--chip);
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-in-out);
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-quick-view {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%) translateY(10px);
  white-space: nowrap;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 14px;
  opacity: 0;
  transition: opacity .22s, transform .22s var(--ease-out);
  pointer-events: none;
  color: var(--text);
}
.product-card:hover .product-quick-view {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.product-info {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-info h3 {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}
.product-info h3 a { color: inherit; }
.product-info h3 a:hover { text-decoration: underline; }
.price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}
.product-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  margin-top: 4px;
  transition: background .18s, transform .18s;
}
.product-btn:hover { background: #374151; transform: translateY(-1px); }

/* =============================================================
   USP STRIP
   ============================================================= */
.usp-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  background: #fff;
}
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.usp-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--chip);
  transition: box-shadow .2s, transform .2s;
}
.usp-item:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.usp-item svg { flex-shrink: 0; color: var(--accent); }
.usp-item div { display: flex; flex-direction: column; gap: 2px; }
.usp-item strong { font-size: .9rem; font-weight: 700; color: var(--text); }
.usp-item span   { font-size: .8rem; color: var(--muted); }

/* =============================================================
   NEWSLETTER
   ============================================================= */
.newsletter {
  padding: 80px 0;
  background: linear-gradient(180deg, #f9fafb 0%, #fff 100%);
}
.newsletter-box {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.newsletter-eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
}
.newsletter-box h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.newsletter-box p {
  color: var(--muted);
  font-size: .97rem;
  line-height: 1.65;
}
.newsletter-form {
  width: 100%;
  display: flex;
  gap: 0;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  margin-top: 8px;
  transition: border-color .2s, box-shadow .2s;
}
.newsletter-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(17,24,39,.08);
}
.newsletter-form input {
  flex: 1;
  padding: 13px 16px;
  font-size: .97rem;
  color: var(--text);
  background: transparent;
}
.newsletter-form input::placeholder { color: #9ca3af; }
.newsletter-form button {
  padding: 13px 22px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  white-space: nowrap;
  transition: background .18s;
}
.newsletter-form button:hover { background: #374151; }
.newsletter-note { font-size: .8rem; color: #9ca3af; margin-top: 4px; }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,.85);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .brand-text { color: #fff; }
.footer-brand p {
  margin-top: 12px;
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  max-width: 260px;
}
.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.social-btn {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  transition: background .18s, color .18s, transform .18s;
}
.social-btn:hover {
  background: rgba(255,255,255,.18);
  color: #fff;
  transform: translateY(-2px);
}
.footer-col h4 {
  font-size: .78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 14px;
  font-weight: 700;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  transition: color .18s, padding-left .18s;
}
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 12px;
  flex-wrap: wrap;
}
.copyright { font-size: .85rem; color: rgba(255,255,255,.35); }
.payment-icons { display: flex; align-items: center; gap: 6px; }
.pay-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  font-size: .74rem;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  letter-spacing: .4px;
}

/* =============================================================
   SCROLL REVEAL ANIMATION
   ============================================================= */
.will-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s var(--ease-out);
}
.will-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s var(--ease-out);
}
.revealed .reveal,
.reveal.revealed,
.hero .reveal { /* hero items reveal immediately */
  opacity: 1;
  transform: translateY(0);
}
/* Stagger hero children */
.hero .hero-tag    { transition-delay: .05s; }
.hero h1           { transition-delay: .15s; }
.hero p            { transition-delay: .25s; }
.hero .hero-buttons{ transition-delay: .35s; }
/* Force hero reveals on load */
@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}
.hero .reveal {
  animation: heroReveal .6s var(--ease-out) forwards;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .utility-left { display: none; }
  .burger { display: inline-flex; }
  .kbd    { display: none; }
  .usp-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 740px) {
  .cats        { display: none; }
  .search-bar  { display: none; }
  .search-icon-btn { display: inline-flex !important; }
  .products-grid   { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-tiles       { grid-template-columns: 1fr; }
  .cat-tile        { height: 140px; }
  .mega-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-form { flex-direction: column; border-radius: var(--radius-sm); }
  .newsletter-form input, .newsletter-form button {
    border-radius: 0;
    width: 100%;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .section { padding: 44px 0; }
  .hero { padding: 60px 20px 44px; }
  .hero h1 { font-size: 2.1rem; }
  .pill { display: none; }
  .promo-ticker span:not(:first-child) { display: none; }
  .promo-sep { display: none; }
  .usp-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-info  { padding: 10px 12px 12px; }
  .product-info h3 { font-size: .85rem; }
  .price { font-size: .9rem; }
  .product-btn { font-size: .8rem; padding: 8px 10px; }
  .section-header { flex-direction: column; align-items: flex-start; }
}

/* ── Utility: focus-visible ──────────────────────────────── */
:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Scrollbar (Chrome) ──────────────────────────────────── */
::-webkit-scrollbar       { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #9ca3af; }


/* ═══════════════════════════════════════════════════════════
   AUTH PAGES  (register / login / forgot-password / reset)
   ═══════════════════════════════════════════════════════════ */

.auth-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 16px;
  background: var(--color-bg, #fafaf8);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid #e8e8e4;
  border-radius: 16px;
  padding: 40px 40px 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

.auth-header {
  margin-bottom: 28px;
  text-align: center;
}
.auth-header h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 6px;
  letter-spacing: -.3px;
}
.auth-header p {
  color: #777;
  font-size: .93rem;
  margin: 0;
}

/* Form */
.auth-form { display: flex; flex-direction: column; gap: 18px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .82rem; font-weight: 600; color: #444; letter-spacing: .3px; text-transform: uppercase; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: .95rem;
  color: #111;
  background: #fafaf8;
  transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box;
}
.form-group input:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(17,17,17,.07);
  background: #fff;
}

.form-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.forgot-link {
  font-size: .82rem;
  color: #666;
  text-decoration: none;
  font-weight: 500;
}
.forgot-link:hover { color: #111; text-decoration: underline; }

.form-check { flex-direction: row !important; align-items: center; }
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: #555;
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] { width: 15px; height: 15px; cursor: pointer; }

.btn-auth {
  width: 100%;
  padding: 13px;
  background: #111;
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: .2px;
  transition: background .15s, transform .1s;
  margin-top: 4px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}
.btn-auth:hover { background: #333; }
.btn-auth:active { transform: scale(.99); }

.auth-terms {
  font-size: .8rem;
  color: #888;
  text-align: center;
  margin: 0;
}
.auth-terms a { color: #555; }

.auth-footer-link {
  margin-top: 20px;
  text-align: center;
  font-size: .88rem;
  color: #666;
}
.auth-footer-link a { color: #111; font-weight: 600; text-decoration: none; }
.auth-footer-link a:hover { text-decoration: underline; }

/* Alerts */
.alert {
  padding: 13px 16px;
  border-radius: 8px;
  font-size: .9rem;
  margin-bottom: 18px;
  line-height: 1.4;
}
.alert-success { background: #f0faf4; border: 1px solid #b2dfcb; color: #1a6640; }
.alert-error   { background: #fff5f5; border: 1px solid #fcc; color: #c0392b; }

@media (max-width: 480px) {
  .auth-card { padding: 28px 20px; }
}

/* Mobile nav logout button styled as link */
.m-item--btn {
  all: unset;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}
