
:root {
  --bg: #FFFFFF;
  --bg-elevated: #FFFFFF;
  --bg-subtle: #F7F6F3;
  --bg-muted: #F0EEE9;
  --ink: #0E1526;
  --ink-soft: #4A5568;
  --muted: #8A92A6;
  --line: #E8E6E1;
  --line-soft: #F0EEE9;
  --navy: #0E1730;
  --navy-2: #152057;
  --navy-3: #1C2A6B;
  --accent: #FF4E17;
  --accent-2: #FF8A00;
  --accent-3: #FFC300;
  --sunset: linear-gradient(135deg, #FF4E17 0%, #FF8A00 50%, #FFC300 100%);
  --teal: #0D9488;
  --teal-soft: #CCFBF1;
  --success: #059669;
  --danger: #DC2626;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-xs: 0 1px 2px rgba(14,21,38,.04);
  --shadow-sm: 0 2px 8px rgba(14,21,38,.06);
  --shadow-md: 0 8px 24px rgba(14,21,38,.08);
  --shadow-lg: 0 16px 48px rgba(14,21,38,.12);
  --shadow-xl: 0 24px 64px rgba(14,21,38,.16);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --display: 'Space Grotesk', var(--font);
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  --header-h: 72px;
  --announce-h: 40px;
}

html.dark {
  --bg: #0B0E14;
  --bg-elevated: #12161F;
  --bg-subtle: #161B26;
  --bg-muted: #1C2230;
  --ink: #F0F2F7;
  --ink-soft: #A0A8B8;
  --muted: #6B7385;
  --line: #252B3A;
  --line-soft: #1A1F2C;
  --navy: #0A0F1C;
  --navy-2: #111827;
  --teal-soft: #134E4A;
  --shadow-xs: 0 1px 2px rgba(0,0,0,.2);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.25);
  --shadow-md: 0 8px 24px rgba(0,0,0,.3);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.4);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.5);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ========== LAYOUT ========== */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; width: 100%; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* ========== ANNOUNCEMENT BAR ========== */
.announce {
  background: var(--navy);
  color: #fff;
  height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 60;
}
.announce-track {
  display: flex;
  gap: 48px;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.announce-track span { display: inline-flex; align-items: center; gap: 8px; }
.announce-track .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent-2); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== HEADER ========== */
#siteHeader {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
html.dark #siteHeader { background: rgba(11,14,20,.92); }
#siteHeader.scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.mainnav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-img {
  height: 44px;
  width: auto;
  background: #fff;
  padding: 4px 8px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06);
}
html.dark .logo-img { background: #fff; }
.logo-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.logo-name small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 1px;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.navlinks a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.navlinks a:hover, .navlinks a.active { color: var(--ink); background: var(--bg-subtle); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.icon-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ink-soft);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  position: relative;
}
.icon-btn:hover { background: var(--bg-subtle); color: var(--ink); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn svg { width: 20px; height: 20px; stroke-width: 1.75; }
.cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(255,78,23,.4);
}
.price-toggle {
  display: flex;
  background: var(--bg-subtle);
  border-radius: 99px;
  padding: 3px;
  font-size: 12px;
  font-weight: 600;
}
.price-toggle button {
  padding: 6px 12px;
  border-radius: 99px;
  color: var(--muted);
  transition: all var(--transition);
}
.price-toggle button.active {
  background: var(--bg);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}
.mobile-menu-btn { display: none; }
@media (max-width: 900px) {
  .navlinks { display: none; }
  .price-toggle { display: none; }
  .mobile-menu-btn { display: flex; }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 28px 0 48px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}
.hero-copy { max-width: 520px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--sunset);
  border-radius: 2px;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.hero h1 .grad {
  background: var(--sunset);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 16.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 440px;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.btn-sunset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  background: var(--sunset);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-radius: 99px;
  box-shadow: 0 8px 24px rgba(255,78,23,.28);
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-sunset:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,78,23,.36); }
.btn-sunset:active { transform: translateY(0); }
.btn-outline-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1.5px solid var(--line);
  font-weight: 600;
  font-size: 15px;
  border-radius: 99px;
  transition: border-color var(--transition), background var(--transition);
}
.btn-outline-pill:hover { border-color: var(--ink); background: var(--bg-subtle); }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--teal); flex-shrink: 0; }

/* Hero visual / carousel */
.hero-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16/11;
  background: var(--bg-muted);
  box-shadow: var(--shadow-lg);
}
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-float-badge {
  position: absolute;
  z-index: 5;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  padding: 10px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 4s ease-in-out infinite;
}
html.dark .hero-float-badge { background: rgba(18,22,31,.94); }
.hero-float-badge.b1 { bottom: 24px; left: 24px; }
.hero-float-badge.b2 { top: 24px; right: 24px; animation-delay: -2s; }
.hero-float-badge .pulse {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(5,150,105,.5);
  animation: pulse 2s infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(5,150,105,.5); }
  70% { box-shadow: 0 0 0 10px rgba(5,150,105,0); }
  100% { box-shadow: 0 0 0 0 rgba(5,150,105,0); }
}
.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  gap: 8px;
}
.carousel-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  transition: all var(--transition);
}
.carousel-dots button.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

/* ========== CATEGORIES ========== */
.section { padding: 64px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.section-head p { color: var(--ink-soft); font-size: 14.5px; margin-top: 4px; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--transition);
}
.link-arrow:hover { gap: 10px; }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
.cat-tile {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.cat-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--sunset);
  opacity: 0;
  transition: opacity var(--transition);
}
.cat-tile:hover {
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.cat-tile:hover::before { opacity: 0.06; }
.cat-ico {
  width: 48px; height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-subtle);
  border-radius: 14px;
  font-size: 22px;
  transition: transform var(--transition-spring);
}
.cat-tile:hover .cat-ico { transform: scale(1.12); }
.cat-tile h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
  position: relative;
}
.cat-tile span {
  font-size: 12px;
  color: var(--muted);
  position: relative;
}

/* ========== PRODUCTS ========== */
.filter-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filter-tab {
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 99px;
  color: var(--ink-soft);
  background: var(--bg-subtle);
  transition: all var(--transition);
}
.filter-tab:hover { color: var(--ink); }
.filter-tab.active {
  background: var(--navy);
  color: #fff;
}
html.dark .filter-tab.active { background: var(--ink); color: var(--bg); }
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.p-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}
.p-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.p-img-wrap {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-muted);
  overflow: hidden;
}
.p-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.p-card:hover .p-img-wrap img { transform: scale(1.06); }
.p-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  letter-spacing: 0.02em;
  z-index: 2;
}
.p-badge.new { background: var(--navy); color: #fff; }
.p-badge.sale { background: var(--accent); color: #fff; }
.p-badge.low { background: #FEF3C7; color: #92400E; }
.p-quick {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 2;
}
.p-card:hover .p-quick { opacity: 1; transform: translateY(0); }
.p-quick button {
  flex: 1;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition);
}
html.dark .p-quick button { background: var(--bg-elevated); }
.p-quick button:hover { background: var(--navy); color: #fff; }
.p-quick button.primary { background: var(--navy); color: #fff; }
.p-quick button.primary:hover { background: var(--navy-2); }
.p-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}
.p-cat {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.p-name {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.p-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
}
.p-price {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.p-price small {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 4px;
}
.p-stock {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 4px;
}
.p-stock.low { color: #D97706; }
.p-stock.out { color: var(--danger); }

/* ========== BANNER ========== */
.banner {
  margin: 24px 0 48px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  background: var(--navy);
}
.banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.banner-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,23,48,.92) 0%, rgba(14,23,48,.5) 60%, transparent 100%);
}
.banner-text {
  position: relative;
  z-index: 2;
  padding: 40px 48px;
  max-width: 480px;
  color: #fff;
}
.banner-text h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.banner-text p { font-size: 15px; opacity: 0.85; margin-bottom: 20px; line-height: 1.6; }
.banner-cta {
  display: inline-flex;
  padding: 12px 22px;
  background: #fff;
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  border-radius: 99px;
  transition: transform var(--transition);
}
.banner-cta:hover { transform: scale(1.03); }

/* ========== TRUST / FEATURES ========== */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 8px 0 48px;
}
@media (max-width: 800px) { .features { grid-template-columns: repeat(2, 1fr); } }
.fc-item {
  background: var(--bg-subtle);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: transform var(--transition);
}
.fc-item:hover { transform: translateY(-3px); }
.fc-item .ico {
  width: 48px; height: 48px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: 14px;
  box-shadow: var(--shadow-xs);
  font-size: 22px;
}
.fc-item h4 { font-size: 14.5px; font-weight: 650; margin-bottom: 4px; }
.fc-item p { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

/* ========== BRANDS ========== */
.brands-strip {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.brands-track {
  display: flex;
  gap: 48px;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.brands-track span {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  opacity: 0.7;
  letter-spacing: -0.01em;
}

/* ========== FOOTER ========== */
footer {
  background: var(--navy);
  color: #C8CDD8;
  padding: 64px 0 0;
  margin-top: 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.foot-logo { height: 42px; background: #fff; padding: 4px 8px; border-radius: 8px; }
.foot-logo-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}
.foot-col p { font-size: 13.5px; line-height: 1.7; max-width: 280px; margin-bottom: 20px; }
.foot-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.foot-col ul li { margin-bottom: 10px; }
.foot-col ul a {
  font-size: 14px;
  transition: color var(--transition);
}
.foot-col ul a:hover { color: #fff; }
.foot-social {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.foot-social a {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  transition: background var(--transition);
}
.foot-social a:hover { background: rgba(255,255,255,.16); }
.foot-signup-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.foot-signup-form input {
  flex: 1;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #fff;
  outline: none;
  transition: border-color var(--transition);
}
.foot-signup-form input::placeholder { color: rgba(255,255,255,.4); }
.foot-signup-form input:focus { border-color: var(--accent-2); }
.foot-signup-form button {
  padding: 12px 18px;
  background: var(--sunset);
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.foot-contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13.5px;
}
.foot-contact-strip a { display: inline-flex; align-items: center; gap: 8px; transition: color var(--transition); }
.foot-contact-strip a:hover { color: #fff; }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 12.5px;
  color: rgba(255,255,255,.45);
}
.foot-credit a { color: rgba(255,255,255,.6); }
.foot-credit a:hover { color: #fff; }

/* ========== CART DRAWER ========== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(14,21,38,.45);
  backdrop-filter: blur(4px);
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.overlay.show { opacity: 1; visibility: visible; }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100%;
  background: var(--bg);
  z-index: 90;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-xl);
}
.drawer.show { transform: translateX(0); }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h3 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
}
.drawer-close {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition);
}
.drawer-close:hover { background: var(--bg-subtle); }
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.cart-empty svg { margin: 0 auto 16px; opacity: 0.4; }
.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.ci-thumb {
  width: 72px; height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-muted);
  flex-shrink: 0;
}
.ci-info { flex: 1; min-width: 0; }
.ci-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ci-price { font-size: 14px; font-weight: 700; color: var(--ink); }
.ci-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.qty-ctrl {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-subtle);
  border-radius: 8px;
  overflow: hidden;
}
.qty-ctrl button {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--ink-soft);
  transition: background var(--transition);
}
.qty-ctrl button:hover { background: var(--line); }
.qty-ctrl span {
  width: 28px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
}
.ci-remove {
  font-size: 12px;
  color: var(--muted);
  transition: color var(--transition);
}
.ci-remove:hover { color: var(--danger); }
.drawer-foot {
  padding: 20px 24px 28px;
  border-top: 1px solid var(--line);
  background: var(--bg-subtle);
}
.drawer-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}
.drawer-total span { font-size: 14px; color: var(--ink-soft); }
.drawer-total strong {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
}
.btn-navy {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}
.btn-navy:hover { background: var(--navy-2); }
.btn-navy:active { transform: scale(0.985); }
.btn-outline-block {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 13px;
  margin-top: 10px;
  border: 1.5px solid var(--line);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.btn-outline-block:hover { border-color: var(--ink); background: var(--bg); }

/* ========== SEARCH MODAL ========== */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
  background: rgba(14,21,38,.5);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}
.search-modal.show { opacity: 1; visibility: visible; }
.search-box {
  width: min(640px, 92vw);
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: translateY(-12px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.search-modal.show .search-box { transform: translateY(0) scale(1); }
.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.search-input-wrap svg { color: var(--muted); flex-shrink: 0; }
.search-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: var(--ink);
}
.search-input-wrap kbd {
  font-size: 11px;
  padding: 3px 7px;
  background: var(--bg-subtle);
  border-radius: 5px;
  color: var(--muted);
  font-family: inherit;
}
.search-results {
  max-height: 360px;
  overflow-y: auto;
  padding: 8px;
}
.sr-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition);
}
.sr-item:hover, .sr-item.active { background: var(--bg-subtle); }
.sr-item img {
  width: 48px; height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bg-muted);
}
.sr-item div { flex: 1; min-width: 0; }
.sr-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sr-item p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.sr-add {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  padding: 6px 12px;
  background: rgba(255,78,23,.08);
  border-radius: 6px;
  opacity: 0;
  transition: opacity var(--transition);
}
.sr-item:hover .sr-add { opacity: 1; }
.search-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* ========== PRODUCT QUICK VIEW ========== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(14,21,38,.5);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}
.modal.show { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--bg);
  border-radius: var(--radius-lg);
  width: min(880px, 100%);
  max-height: 90vh;
  overflow: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
  position: relative;
}
.modal.show .modal-box { transform: scale(1); }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-subtle);
  z-index: 5;
  transition: background var(--transition);
}
.modal-close:hover { background: var(--line); }
.qv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 700px) { .qv-grid { grid-template-columns: 1fr; } }
.qv-img {
  aspect-ratio: 1;
  background: var(--bg-muted);
}
.qv-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.qv-body { padding: 36px 32px; }
.qv-body .p-cat { margin-bottom: 8px; }
.qv-body h2 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.2;
}
.qv-price {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}
.qv-desc {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 24px;
}
.qv-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.qv-actions .btn-sunset { flex: 1; justify-content: center; min-width: 140px; }
.qv-actions .btn-outline-pill { flex: 1; justify-content: center; }

/* ========== CHECKOUT MODAL ========== */
#checkoutModal .modal-box { width: min(520px, 100%); padding: 32px; }
#checkoutModal h2 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}
#checkoutModal .sub { color: var(--ink-soft); font-size: 14px; margin-bottom: 24px; }
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink-soft);
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  outline: none;
  transition: border-color var(--transition);
}
.form-row input:focus, .form-row select:focus { border-color: var(--navy); }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-opts { display: flex; flex-direction: column; gap: 8px; margin: 16px 0 24px; }
.pay-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}
.pay-opt:hover { border-color: var(--muted); }
.pay-opt.sel { border-color: var(--navy); background: var(--bg-subtle); }
.pay-opt input { accent-color: var(--navy); }
.modal-total {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  margin-bottom: 16px;
  font-weight: 600;
}
#checkoutSuccess { text-align: center; padding: 24px 0; display: none; }
#checkoutSuccess .check {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: var(--teal-soft);
  color: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.order-num {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  margin: 8px 0 20px;
}

/* ========== TOAST ========== */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--navy);
  color: #fff;
  padding: 14px 24px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 90vw;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ========== MOBILE NAV ========== */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--bg);
  padding: 24px;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.mobile-nav.show { transform: translateX(0); }
.mobile-nav-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid var(--line-soft);
}

/* ========== UTILITIES ========== */
.stock-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}
