/* ==========================================================================
   AVENIX COMMERCE — Boutique en ligne
   ========================================================================== */

/* ---------------- Announcement + header ---------------- */
.announce {
  background: var(--navy); color: #CBD5E1; font-size: 11.5px;
  min-height: 36px; display: flex; align-items: center;
}
.announce-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.announce-left { display: flex; align-items: center; gap: 9px; }
.announce-left svg { width: 14px; height: 14px; color: #93C5FD; }
.announce strong { color: #fff; font-weight: 700; }
.announce-links { display: flex; gap: 20px; align-items: center; }
.announce-links a:hover { color: #fff; }

.store-header { position: sticky; top: 0; z-index: 90; background: #fff; border-bottom: 1px solid var(--line); }
.header-main {
  min-height: var(--header-h); display: flex; align-items: center; gap: 28px;
  width: min(1240px, calc(100% - 48px)); margin-inline: auto;
}
.store-logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px; background: var(--blue);
  display: grid; place-items: center; color: #fff; font-family: var(--font-display);
  font-weight: 800; font-size: 20px; letter-spacing: -.05em; position: relative; overflow: hidden;
}
.logo-mark::after {
  content: ''; position: absolute; width: 15px; height: 15px; border: 1.5px solid rgba(255,255,255,.38);
  border-radius: 50%; right: -3px; bottom: -3px;
}
.store-logo b { font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: -.04em; display: block; line-height: 1.1; }
.store-logo small { display: block; font-size: 9px; color: var(--muted); letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin-top: 3px; }

.header-search { flex: 1; max-width: 520px; position: relative; }
.header-search .search-box input {
  height: 44px; background: var(--bg); border-color: transparent; padding-left: 42px; font-size: 13px;
}
.header-search .search-box input:focus { background: #fff; border-color: var(--blue); }
.header-search kbd {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-body); font-size: 9.5px; color: var(--muted-light);
  border: 1px solid var(--line); background: #fff; border-radius: 5px; padding: 2px 5px;
}
.search-suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; display: none; z-index: 95;
}
.search-suggest.open { display: block; }
.suggest-item { display: flex; align-items: center; gap: 10px; padding: 9px; border-radius: 8px; text-align: left; width: 100%; }
.suggest-item:hover { background: var(--bg); }
.suggest-item img { width: 38px; height: 38px; border-radius: 7px; object-fit: cover; background: var(--bg); }
.suggest-item b { display: block; font-size: 12px; font-weight: 700; }
.suggest-item small { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }
.suggest-item .price { margin-left: auto; font-size: 11px; font-weight: 800; color: var(--blue); }
.suggest-empty { padding: 16px; font-size: 12px; color: var(--muted); text-align: center; }

.header-nav { display: flex; align-items: center; gap: 26px; margin-left: 4px; }
.header-nav a { font-size: 13px; font-weight: 700; color: var(--text-soft); position: relative; padding: 8px 0; white-space: nowrap; }
.header-nav a:hover, .header-nav a.active { color: var(--blue); }
.header-nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 5px; margin-left: auto; flex-shrink: 0; }
.header-action {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-width: 46px; height: 46px; border-radius: 10px; color: var(--text-soft); position: relative;
  transition: background .18s ease, color .18s ease;
}
.header-action:hover { background: var(--pale); color: var(--blue); }
.header-action svg { width: 19px; height: 19px; }
.header-action small { font-size: 8.5px; font-weight: 700; letter-spacing: .01em; }
.header-action .count {
  position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--blue); color: #fff; font-size: 9px; font-weight: 800;
  display: grid; place-items: center; border: 2px solid #fff;
}
.header-action .count.orange { background: var(--orange); }
.header-action .count:empty { display: none; }
.mobile-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); place-items: center; color: var(--text); }
.mobile-toggle svg { width: 20px; }

.category-bar { border-top: 1px solid var(--line); background: #fff; }
.category-bar-inner { display: flex; align-items: center; gap: 4px; width: min(1240px, calc(100% - 48px)); margin-inline: auto; overflow-x: auto; scrollbar-width: none; }
.category-bar-inner::-webkit-scrollbar { display: none; }
.category-bar a {
  display: flex; align-items: center; gap: 7px; padding: 11px 11px;
  font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.category-bar a svg { width: 14px; height: 14px; }
.category-bar a:hover { color: var(--blue); }
.category-bar a.active { color: var(--blue); border-color: var(--blue); }
.category-bar .all-link { color: var(--text); font-weight: 800; }
.category-bar .promo-link { margin-left: auto; color: var(--red); font-weight: 800; display: flex; align-items: center; gap: 6px; }
.category-bar .promo-link svg { width: 13px; }

/* mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 120; background: rgba(10,18,32,.5); display: none;
}
.mobile-nav.open { display: block; }
.mobile-panel {
  width: min(340px, 88vw); height: 100%; background: #fff; padding: 22px;
  overflow-y: auto; box-shadow: var(--shadow-lg); animation: slide-left .22s ease;
}
@keyframes slide-left { from { transform: translateX(-100%); } to { transform: none; } }
.mobile-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.mobile-nav .mobile-close { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line); }
.mobile-nav .mobile-close svg { width: 18px; }
.mobile-links { display: grid; gap: 3px; }
.mobile-links a { display: flex; align-items: center; gap: 11px; padding: 11px 10px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--text-soft); }
.mobile-links a:hover, .mobile-links a.active { background: var(--pale); color: var(--blue); }
.mobile-links a svg { width: 17px; color: var(--muted); }
.mobile-links a.active svg { color: var(--blue); }
.mobile-sep { height: 1px; background: var(--line); margin: 16px 0; }
.mobile-label { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--muted-light); padding: 8px 10px 6px; }
.mobile-cta { display: grid; gap: 8px; margin-top: 20px; }

/* ---------------- Hero ---------------- */
.hero {
  background: var(--pale); border-bottom: 1px solid #DCE9FB;
  position: relative; overflow: hidden;
}
.hero::before, .hero::after {
  content: ''; position: absolute; border: 1px solid rgba(37,99,235,.10); border-radius: 50%;
}
.hero::before { width: 560px; height: 560px; right: -220px; top: -240px; }
.hero::after { width: 360px; height: 360px; right: -80px; top: -140px; border-color: rgba(37,99,235,.13); }
.hero-inner {
  width: min(1240px, calc(100% - 48px)); margin-inline: auto;
  display: grid; grid-template-columns: 1.03fr .97fr; gap: 52px; align-items: center;
  padding: 58px 0 66px; position: relative; z-index: 1;
}
.hero-copy { max-width: 590px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #C7DBFA;
  color: var(--blue-ink); border-radius: 30px; padding: 7px 12px 7px 8px; font-size: 11px; font-weight: 800;
  margin-bottom: 20px;
}
.hero-pill span { background: var(--blue); color: #fff; border-radius: 20px; padding: 3px 8px; font-size: 9px; letter-spacing: .04em; }
.hero h1 {
  font-size: clamp(38px, 4.7vw, 62px); font-weight: 800; letter-spacing: -.055em; line-height: 1.04;
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--blue); position: relative; }
.hero h1 em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 7px;
  background: rgba(37,99,235,.14); border-radius: 8px; z-index: -1;
}
.hero-copy > p { color: var(--text-soft); font-size: 15.5px; line-height: 1.75; max-width: 500px; margin-bottom: 28px; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -.04em; }
.hero-stat span { display: block; font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.hero-stat + .hero-stat { border-left: 1px solid #D5E4F7; padding-left: 32px; }

.hero-visual { position: relative; }
.hero-image {
  position: relative; border-radius: 26px; overflow: hidden; background: #DCE9FB;
  aspect-ratio: 1.10 / 1; box-shadow: 0 30px 70px rgba(16,24,39,.16);
  border: 1px solid rgba(255,255,255,.7);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-float {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: 13px; box-shadow: var(--shadow-lg); padding: 12px 14px;
  display: flex; align-items: center; gap: 10px; z-index: 2;
}
.hero-float .float-icon { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--pale); color: var(--blue); }
.hero-float .float-icon svg { width: 17px; }
.hero-float b { display: block; font-size: 11.5px; font-weight: 800; }
.hero-float small { display: block; font-size: 9.5px; color: var(--muted); margin-top: 1px; }
.float-product { left: -34px; bottom: 44px; }
.float-product .float-icon { background: var(--green-pale); color: var(--green); }
.float-delivery { right: -16px; top: 34px; }
.hero-visual .hero-tag {
  position: absolute; left: 22px; top: 22px; background: rgba(255,255,255,.94);
  border-radius: 20px; padding: 6px 11px; font-size: 10px; font-weight: 800; color: var(--navy);
  display: flex; align-items: center; gap: 6px; z-index: 2;
}
.hero-visual .hero-tag svg { width: 12px; color: var(--orange); }
.hero-caption {
  position: absolute; right: 14px; bottom: 14px; left: 14px; color: #fff; z-index: 2;
  padding: 14px 16px; border-radius: 14px; background: rgba(16,24,39,.72); backdrop-filter: blur(6px);
}
.hero-caption small { font-size: 9px; text-transform: uppercase; letter-spacing: .14em; color: #BFDBFE; font-weight: 800; }
.hero-caption b { display: block; font-family: var(--font-display); font-size: 15px; margin-top: 3px; }
.hero-caption span { font-size: 11px; color: #CBD5E1; }

/* ---------------- Trust strip ---------------- */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 20px 18px; border-right: 1px solid var(--line); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: 0; }
.trust-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--pale); color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.trust-icon svg { width: 18px; }
.trust-item b { display: block; font-size: 11.5px; font-weight: 800; }
.trust-item small { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }

/* ---------------- Categories ---------------- */
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.category-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #C7D9F5; }
.category-thumb { aspect-ratio: 1.35 / 1; overflow: hidden; background: var(--bg); }
.category-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.category-card:hover img { transform: scale(1.05); }
.category-copy { padding: 13px 14px 15px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.category-copy b { font-size: 12px; font-weight: 800; line-height: 1.35; }
.category-copy span { display: block; font-size: 9.5px; color: var(--muted); margin-top: 2px; }
.category-arrow { width: 28px; height: 28px; border-radius: 8px; background: var(--bg); display: grid; place-items: center; color: var(--muted); flex-shrink: 0; transition: .18s; }
.category-arrow svg { width: 13px; }
.category-card:hover .category-arrow { background: var(--blue); color: #fff; }

/* ---------------- Promo banners ---------------- */
.promo-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 16px; }
.promo-panel {
  border-radius: var(--radius-lg); padding: 34px; min-height: 290px; overflow: hidden;
  display: flex; align-items: center; gap: 24px; position: relative; border: 1px solid transparent;
}
.promo-panel.blue { background: var(--pale); border-color: #D5E5FB; }
.promo-panel.dark { background: var(--navy); color: #fff; }
.promo-panel.orange { background: #FFF7ED; border-color: #FDE7CB; }
.promo-copy { flex: 1; z-index: 1; min-width: 0; }
.promo-copy .eyebrow { margin-bottom: 7px; }
.promo-panel.dark .eyebrow { color: #93C5FD; }
.promo-panel.dark .eyebrow::before { background: #93C5FD; }
.promo-copy h3 { font-size: clamp(22px, 2.5vw, 31px); font-weight: 800; line-height: 1.15; margin-bottom: 9px; letter-spacing: -.04em; }
.promo-copy p { font-size: 12.5px; color: var(--text-soft); max-width: 330px; margin-bottom: 18px; }
.promo-panel.dark p { color: #B8C6DA; }
.promo-image { width: 42%; aspect-ratio: 1; border-radius: 16px; overflow: hidden; flex-shrink: 0; border: 1px solid rgba(255,255,255,.16); }
.promo-image img { width: 100%; height: 100%; object-fit: cover; }
.promo-panel.small { padding: 26px; min-height: 290px; flex-direction: column; align-items: flex-start; justify-content: space-between; }
.promo-panel.small .promo-image { width: 100%; aspect-ratio: 1.9; height: 120px; }
.promo-panel.small .promo-copy h3 { font-size: 23px; }
.promo-panel.dark .btn-white:hover { background: var(--pale); border-color: var(--pale); }

/* ---------------- Product cards ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position: relative;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #C9DAF4; }
.product-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg); display: block; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-media img { transform: scale(1.045); }
.product-badges { position: absolute; top: 11px; left: 11px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; z-index: 2; }
.product-badges .badge { box-shadow: 0 2px 8px rgba(15,23,42,.12); }
.wish-btn {
  position: absolute; right: 10px; top: 10px; width: 34px; height: 34px;
  border-radius: 50%; background: rgba(255,255,255,.96); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--muted); z-index: 2;
  transition: .18s ease; box-shadow: var(--shadow-xs);
}
.wish-btn svg { width: 15px; height: 15px; }
.wish-btn:hover { color: var(--red); border-color: #FECACA; transform: scale(1.06); }
.wish-btn.active { background: var(--red); border-color: var(--red); color: #fff; }
.wish-btn.active svg { fill: #fff; }
.quick-add {
  position: absolute; right: 11px; bottom: 11px; width: 38px; height: 38px; border-radius: 11px;
  background: var(--navy); color: #fff; display: grid; place-items: center; z-index: 2;
  opacity: 0; transform: translateY(6px); transition: .2s ease; box-shadow: var(--shadow-sm);
}
.quick-add svg { width: 17px; }
.product-card:hover .quick-add { opacity: 1; transform: none; }
.quick-add:hover { background: var(--blue); }
.quick-add[disabled] { background: #94A3B8; opacity: .7; }
.product-body { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.product-meta { display: flex; align-items: center; gap: 6px; font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.product-meta span:first-child { color: var(--blue); }
.product-name { font-size: 13px; font-weight: 800; line-height: 1.35; letter-spacing: -.01em; min-height: 35px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-name:hover { color: var(--blue); }
.product-rating { display: flex; align-items: center; gap: 6px; }
.product-rating .stars svg { width: 11px; height: 11px; }
.product-rating small { font-size: 9.5px; color: var(--muted); }
.product-price-row { display: flex; align-items: flex-end; gap: 8px; margin-top: auto; padding-top: 7px; flex-wrap: wrap; }
.product-price { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -.04em; }
.product-old { font-size: 11px; color: var(--muted-light); text-decoration: line-through; }
.discount-pill { font-size: 9px; font-weight: 800; color: var(--red); background: var(--red-pale); padding: 2px 6px; border-radius: 5px; }
.stock-line { font-size: 9.5px; color: var(--muted); display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.stock-line .dot-live { background: var(--green); }
.stock-line.low .dot-live { background: var(--orange); }
.stock-line.out .dot-live { background: var(--red); }
.stock-line.out { color: var(--red); font-weight: 700; }

/* list view */
.product-grid.list-view { grid-template-columns: 1fr; gap: 12px; }
.product-grid.list-view .product-card { flex-direction: row; }
.product-grid.list-view .product-media { width: 220px; aspect-ratio: 1 / 1; flex-shrink: 0; }
.product-grid.list-view .product-body { padding: 20px 24px; gap: 7px; }
.product-grid.list-view .product-name { font-size: 17px; min-height: 0; -webkit-line-clamp: 1; }
.product-grid.list-view .product-meta { font-size: 10px; }
.product-grid.list-view .product-price { font-size: 21px; }
.product-grid.list-view .product-desc { font-size: 12px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 640px; }
.product-grid.list-view .product-card .quick-add { opacity: 1; transform: none; width: auto; padding: 0 14px; display: inline-flex; gap: 7px; font-size: 11px; font-weight: 700; height: 38px; }
.product-grid.list-view .product-card .quick-add::after { content: 'Ajouter'; }
.product-grid.list-view .product-rating { margin-top: 2px; }

/* ---------------- Brand strip ---------------- */
.brand-strip { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.brand-item { display: flex; align-items: center; justify-content: center; min-height: 82px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: -.04em; color: #94A3B8; transition: .18s; }
.brand-item:nth-child(6n) { border-right: 0; }
.brand-item:nth-last-child(-n+6) { border-bottom: 0; }
.brand-item:hover { color: var(--blue); background: var(--pale); }

/* ---------------- Advantages ---------------- */
.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.advantage { padding: 26px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.advantage .adv-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--pale); color: var(--blue); display: grid; place-items: center; margin-bottom: 17px; }
.advantage:nth-child(2) .adv-icon { background: var(--green-pale); color: var(--green); }
.advantage:nth-child(3) .adv-icon { background: var(--orange-pale); color: #B45309; }
.advantage:nth-child(4) .adv-icon { background: #F5F3FF; color: var(--violet); }
.advantage .adv-icon svg { width: 21px; height: 21px; }
.advantage h3 { font-size: 15px; font-weight: 800; margin-bottom: 7px; }
.advantage p { font-size: 12px; color: var(--muted); line-height: 1.65; }

/* ---------------- Testimonials ---------------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.testimonial .stars svg { width: 14px; height: 14px; }
.testimonial blockquote { margin: 0; font-size: 13px; color: var(--text-soft); line-height: 1.75; flex: 1; }
.testimonial-user { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.testimonial-user b { display: block; font-size: 11.5px; }
.testimonial-user small { display: block; font-size: 9.5px; color: var(--muted); }
.testimonial-user .verified { margin-left: auto; color: var(--green); display: flex; align-items: center; gap: 4px; font-size: 9px; font-weight: 700; }
.testimonial-user .verified svg { width: 12px; }

/* ---------------- Newsletter ---------------- */
.newsletter-panel { background: var(--navy); border-radius: var(--radius-xl); padding: 52px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 40px; }
.newsletter-panel::before, .newsletter-panel::after { content: ''; position: absolute; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; }
.newsletter-panel::before { width: 360px; height: 360px; right: -100px; top: -120px; }
.newsletter-panel::after { width: 250px; height: 250px; right: -30px; top: -50px; }
.newsletter-copy { position: relative; z-index: 1; }
.newsletter-copy .eyebrow { color: #93C5FD; }
.newsletter-copy .eyebrow::before { background: #93C5FD; }
.newsletter-copy h2 { color: #fff; font-size: clamp(25px, 3vw, 35px); font-weight: 800; margin-bottom: 10px; }
.newsletter-copy p { color: #B8C6DA; font-size: 13px; max-width: 420px; }
.newsletter-form { display: flex; gap: 9px; position: relative; z-index: 1; }
.newsletter-form input { flex: 1; height: 50px; border-radius: 11px; border: 1px solid #2D3B52; background: #182235; color: #fff; padding: 0 15px; outline: 0; font-size: 13px; }
.newsletter-form input::placeholder { color: #7D8CA3; }
.newsletter-form input:focus { border-color: #60A5FA; }
.newsletter-note { font-size: 10px; color: #7D8CA3; margin-top: 10px; display: flex; align-items: center; gap: 6px; }
.newsletter-note svg { width: 12px; }

/* ---------------- Footer ---------------- */
.store-footer { background: var(--navy); color: #A9B7CA; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 38px; padding: 62px 0 46px; }
.footer-brand .store-logo b { color: #fff; }
.footer-brand .store-logo small { color: #7D8CA3; }
.footer-brand p { font-size: 12px; line-height: 1.75; margin: 18px 0; max-width: 280px; color: #93A2B6; }
.footer-contact { display: grid; gap: 7px; font-size: 11.5px; }
.footer-contact a, .footer-contact span { display: flex; align-items: center; gap: 8px; }
.footer-contact svg { width: 13px; color: #64748B; }
.footer-contact a:hover { color: #fff; }
.footer-col h4 { color: #fff; font-size: 12px; font-weight: 800; margin-bottom: 16px; letter-spacing: .02em; }
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { font-size: 11.5px; color: #93A2B6; display: inline-flex; align-items: center; gap: 6px; }
.footer-col a:hover { color: #fff; }
.footer-col .badge { font-size: 8.5px; }
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social a { width: 34px; height: 34px; border-radius: 8px; border: 1px solid #2A394F; display: grid; place-items: center; color: #93A2B6; }
.footer-social a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.footer-social svg { width: 15px; }
.footer-bottom { border-top: 1px solid #263449; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom p { font-size: 10px; color: #7D8CA3; }
.footer-bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 10px; color: #7D8CA3; }
.footer-bottom-links a:hover { color: #fff; }
.footer-payments { display: flex; gap: 6px; align-items: center; }
.payment-chip { font-size: 8.5px; font-weight: 800; border: 1px solid #2A394F; border-radius: 5px; padding: 4px 6px; color: #B8C6DA; letter-spacing: .03em; }
.footer-legal-note { font-size: 9.5px; color: #64748B; text-align: center; padding: 0 0 22px; }

/* ---------------- Page hero / content pages ---------------- */
.page-hero { background: var(--pale); border-bottom: 1px solid #DCE9FB; padding: 28px 0 48px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; width: 320px; height: 320px; border: 1px solid rgba(37,99,235,.10); border-radius: 50%; right: -80px; top: -120px; }
.page-hero .breadcrumb { margin-bottom: 24px; position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin-bottom: 10px; position: relative; z-index: 1; }
.page-hero p { color: var(--text-soft); font-size: 14px; max-width: 620px; position: relative; z-index: 1; }
.page-hero-centered { text-align: center; }
.page-hero-centered .breadcrumb { justify-content: center; }
.page-hero-centered p { margin-inline: auto; }
.page-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.result-count { font-size: 12px; color: var(--muted); }
.result-count b { color: var(--text); }

/* ---------------- Catalog ---------------- */
.catalog-layout { display: grid; grid-template-columns: 258px minmax(0, 1fr); gap: 28px; padding: 34px 0 72px; align-items: start; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: sticky; top: 130px; }
.filters-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.filters-head b { font-size: 13px; font-weight: 800; display: flex; align-items: center; gap: 7px; }
.filters-head svg { width: 15px; }
.filters-clear { font-size: 10px; font-weight: 700; color: var(--blue); }
.filter-group { border-bottom: 1px solid var(--line); padding: 17px 18px; }
.filter-group:last-child { border: 0; }
.filter-title { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; font-weight: 800; margin-bottom: 12px; cursor: pointer; }
.filter-title svg { width: 14px; color: var(--muted); transition: transform .2s; }
.filter-group.closed .filter-body { display: none; }
.filter-group.closed .filter-title svg { transform: rotate(-90deg); }
.filter-body { display: grid; gap: 9px; }
.filter-check { display: flex; align-items: center; gap: 9px; font-size: 11.5px; color: var(--text-soft); cursor: pointer; }
.filter-check input { width: 15px; height: 15px; accent-color: var(--blue); }
.filter-check span.count { margin-left: auto; font-size: 9.5px; color: var(--muted-light); background: var(--bg); padding: 1px 6px; border-radius: 10px; }
.price-inputs { display: flex; align-items: center; gap: 8px; }
.price-inputs input { width: 100%; height: 36px; padding: 0 9px; border: 1px solid var(--line); border-radius: 8px; font-size: 11.5px; outline: 0; }
.price-inputs span { color: var(--muted-light); font-size: 11px; }
.range-slider { width: 100%; margin-top: 12px; accent-color: var(--blue); }
.stock-filter { display: flex; gap: 6px; flex-wrap: wrap; }
.stock-filter button { border: 1px solid var(--line); background: #fff; border-radius: 20px; padding: 5px 10px; font-size: 10px; font-weight: 700; color: var(--muted); }
.stock-filter button.active { border-color: var(--blue); background: var(--pale); color: var(--blue); }

.catalog-main { min-width: 0; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.sort-control { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); }
.sort-control select { height: 38px; border: 1px solid var(--line); border-radius: 9px; background: #fff; padding: 0 30px 0 11px; font-size: 11.5px; font-weight: 600; outline: 0; }
.view-toggle { display: flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #fff; }
.view-toggle button { width: 38px; height: 36px; display: grid; place-items: center; color: var(--muted); }
.view-toggle button svg { width: 15px; }
.view-toggle button.active { background: var(--pale); color: var(--blue); }
.active-chips { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 15px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #C7D9F5; background: var(--pale); color: var(--blue); border-radius: 20px; padding: 4px 8px 4px 10px; font-size: 10px; font-weight: 700; }
.chip button { display: grid; place-items: center; color: var(--blue); }
.chip svg { width: 11px; }
.mobile-filter-btn { display: none; }
.filters-apply-mobile { display: none; }

/* ---------------- Product detail ---------------- */
.pdp { padding: 30px 0 0; }
.pdp-main { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 44px; margin-bottom: 52px; }
.pdp-gallery { min-width: 0; }
.pdp-main-image { border-radius: var(--radius-lg); overflow: hidden; background: var(--bg); border: 1px solid var(--line); aspect-ratio: 1.06 / 1; position: relative; }
.pdp-main-image img { width: 100%; height: 100%; object-fit: cover; }
.pdp-main-image .product-badges { top: 16px; left: 16px; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.pdp-thumb { border-radius: 11px; overflow: hidden; border: 2px solid transparent; background: var(--bg); aspect-ratio: 1; padding: 0; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb.active { border-color: var(--blue); }
.pdp-info { min-width: 0; padding-top: 4px; }
.pdp-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.pdp-brand span { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); }
.pdp-brand .badge { font-size: 9px; }
.pdp-info h1 { font-size: clamp(27px, 3.3vw, 37px); font-weight: 800; letter-spacing: -.045em; line-height: 1.12; margin-bottom: 12px; }
.pdp-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.pdp-meta .rating { font-size: 12.5px; }
.pdp-meta .rating a { color: var(--muted); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.pdp-meta .sku { font-size: 10px; color: var(--muted); }
.pdp-price { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.pdp-price .now { font-family: var(--font-display); font-size: 34px; font-weight: 800; letter-spacing: -.055em; line-height: 1; }
.pdp-price .old { font-size: 16px; color: var(--muted-light); text-decoration: line-through; }
.pdp-price .save { background: var(--red-pale); color: var(--red); border-radius: 6px; font-size: 10px; font-weight: 800; padding: 4px 7px; }
.pdp-price .tax { margin-left: auto; font-size: 10px; color: var(--muted); }
.pdp-desc { font-size: 13.5px; color: var(--text-soft); line-height: 1.75; margin-bottom: 22px; }
.option-group { margin-bottom: 18px; }
.option-label { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; font-weight: 800; margin-bottom: 9px; }
.option-label span { color: var(--muted); font-weight: 500; }
.option-values { display: flex; gap: 8px; flex-wrap: wrap; }
.option-btn { border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 8px 13px; font-size: 11.5px; font-weight: 600; color: var(--text-soft); }
.option-btn:hover { border-color: var(--blue); }
.option-btn.active { border-color: var(--blue); background: var(--pale); color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.pdp-buy { display: flex; align-items: center; gap: 10px; margin: 22px 0 16px; flex-wrap: wrap; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; height: 50px; background: #fff; }
.qty-stepper button { width: 42px; height: 100%; display: grid; place-items: center; color: var(--text-soft); }
.qty-stepper button:hover { background: var(--bg); color: var(--blue); }
.qty-stepper button svg { width: 15px; }
.qty-stepper input { width: 42px; border: 0; text-align: center; outline: 0; font-weight: 800; font-size: 13px; background: transparent; }
.pdp-buy .btn-primary { flex: 1; min-width: 180px; height: 50px; font-size: 14px; }
.pdp-buy .wish-btn-lg { width: 50px; height: 50px; border-radius: 11px; border: 1px solid var(--line-strong); display: grid; place-items: center; background: #fff; color: var(--muted); }
.pdp-buy .wish-btn-lg svg { width: 18px; }
.pdp-buy .wish-btn-lg.active { background: var(--red); border-color: var(--red); color: #fff; }
.pdp-buy .wish-btn-lg.active svg { fill: #fff; }
.stock-note { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--green); font-weight: 700; }
.stock-note svg { width: 14px; }
.stock-note.low { color: #B45309; }
.stock-note.out { color: var(--red); }
.pdp-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; }
.pdp-perk { display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: var(--text-soft); }
.pdp-perk svg { width: 15px; color: var(--blue); }
.pdp-tabs { border-top: 1px solid var(--line); padding: 36px 0 56px; }
.pdp-tab-content { padding-top: 28px; }
.pdp-description { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; }
.pdp-description h3, .specs-panel h3 { font-size: 18px; margin-bottom: 12px; }
.pdp-description p { font-size: 13.5px; color: var(--text-soft); line-height: 1.85; margin-bottom: 14px; }
.specs-panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.spec-row { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 11.5px; }
.spec-row:last-child { border: 0; }
.spec-row span:first-child { color: var(--muted); }
.spec-row span:last-child { font-weight: 700; text-align: right; }
.review-layout { display: grid; grid-template-columns: 300px 1fr; gap: 36px; }
.review-score { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; height: fit-content; }
.review-score strong { font-family: var(--font-display); font-size: 46px; font-weight: 800; letter-spacing: -.05em; line-height: 1; display: block; }
.review-score .stars { margin: 8px 0; }
.review-score .stars svg { width: 16px; height: 16px; }
.review-score p { font-size: 11px; color: var(--muted); margin-bottom: 16px; }
.rating-bars { display: grid; gap: 6px; text-align: left; }
.rating-bar { display: flex; align-items: center; gap: 7px; font-size: 9.5px; color: var(--muted); }
.rating-bar .progress-bar { flex: 1; height: 5px; }
.review-list { display: grid; gap: 0; }
.review-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.review-item:first-child { padding-top: 0; }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; flex-wrap: wrap; }
.review-head b { font-size: 12px; }
.review-head time { margin-left: auto; font-size: 10px; color: var(--muted); }
.review-item h4 { font-size: 13px; margin: 8px 0 5px; }
.review-item p { font-size: 12.5px; color: var(--text-soft); line-height: 1.7; }
.review-verified { font-size: 9px; color: var(--green); display: inline-flex; align-items: center; gap: 3px; }
.review-verified svg { width: 11px; }
.related-section { border-top: 1px solid var(--line); padding: 54px 0 72px; }

/* ---------------- Cart ---------------- */
.cart-page { padding: 34px 0 72px; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; align-items: start; }
.cart-panel, .summary-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.cart-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 22px; border-bottom: 1px solid var(--line); }
.cart-panel-head h2 { font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.cart-panel-head h2 span { font-size: 11px; color: var(--muted); font-weight: 600; }
.cart-clear { font-size: 10.5px; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.cart-clear:hover { color: var(--red); }
.cart-clear svg { width: 13px; }
.cart-item { display: grid; grid-template-columns: 94px minmax(0, 1fr) auto auto; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item:last-child { border-bottom: 0; }
.cart-thumb { width: 94px; height: 94px; border-radius: 11px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { min-width: 0; }
.cart-item-brand { font-size: 9px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--blue); }
.cart-item-info h3 { font-size: 13px; font-weight: 800; margin: 4px 0 4px; line-height: 1.35; }
.cart-item-info p { font-size: 10px; color: var(--muted); }
.cart-item-price { text-align: right; min-width: 86px; }
.cart-item-price b { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 800; }
.cart-item-price small { font-size: 9.5px; color: var(--muted); }
.cart-item .qty-stepper { height: 36px; }
.cart-item .qty-stepper button { width: 30px; }
.cart-item .qty-stepper input { width: 32px; font-size: 11px; }
.cart-remove { color: var(--muted-light); display: grid; place-items: center; padding: 6px; border-radius: 6px; }
.cart-remove:hover { color: var(--red); background: var(--red-pale); }
.cart-remove svg { width: 15px; }
.cart-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.cart-continue { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.cart-continue:hover { color: var(--blue); }
.cart-continue svg { width: 14px; }
.cart-note { font-size: 10px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.cart-note svg { width: 13px; }

.summary-panel { padding: 22px; position: sticky; top: 130px; }
.summary-panel h2 { font-size: 16px; font-weight: 800; margin-bottom: 18px; }
.summary-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 12px; color: var(--text-soft); }
.summary-line span:last-child { font-weight: 700; color: var(--text); }
.summary-line.discount span:last-child { color: var(--green); }
.summary-line.total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 15px; font-size: 15px; }
.summary-line.total span:first-child { font-weight: 800; color: var(--text); }
.summary-line.total span:last-child { font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -.04em; }
.coupon-box { margin: 15px 0 17px; }
.coupon-form { display: flex; gap: 7px; }
.coupon-form input { flex: 1; height: 40px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; padding: 0 11px; font-size: 11.5px; outline: 0; text-transform: uppercase; }
.coupon-form input:focus { border-color: var(--blue); }
.coupon-form .btn { min-height: 40px; padding: 0 14px; font-size: 11px; }
.coupon-applied { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--green-pale); border: 1px solid #BBF7D0; border-radius: 9px; padding: 9px 11px; font-size: 11px; color: #15803D; font-weight: 700; }
.coupon-applied button { color: #15803D; display: grid; place-items: center; }
.coupon-applied svg { width: 13px; }
.summary-panel .btn-primary { width: 100%; margin-top: 4px; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: 9.5px; color: var(--muted); }
.secure-note svg { width: 12px; }
.free-shipping { background: var(--pale); border: 1px solid #D5E5FB; border-radius: 10px; padding: 11px 12px; margin-bottom: 15px; }
.free-shipping p { font-size: 10.5px; color: var(--blue-ink); display: flex; align-items: center; gap: 6px; margin-bottom: 7px; }
.free-shipping p svg { width: 13px; }
.free-shipping .progress-bar { background: #DCE9FB; height: 5px; }
.free-shipping .progress-bar span { background: var(--blue); }
.cart-empty { padding: 60px 24px; text-align: center; }

/* ---------------- Checkout ---------------- */
.checkout-page { padding: 30px 0 72px; }
.checkout-steps { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 6px 0 34px; flex-wrap: wrap; }
.checkout-step { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 30px; font-size: 10.5px; font-weight: 700; color: var(--muted); }
.checkout-step .step-num { width: 23px; height: 23px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 9px; font-weight: 800; }
.checkout-step.active { background: var(--pale); color: var(--blue); }
.checkout-step.active .step-num { background: var(--blue); border-color: var(--blue); color: #fff; }
.checkout-step.done { color: var(--green); }
.checkout-step.done .step-num { background: var(--green); border-color: var(--green); color: #fff; }
.checkout-sep { width: 22px; height: 1px; background: var(--line-strong); }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 26px; align-items: start; }
.checkout-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.checkout-card h2 { font-size: 19px; font-weight: 800; margin-bottom: 5px; }
.checkout-card > p.sub { font-size: 12px; color: var(--muted); margin-bottom: 22px; }
.checkout-card .form-grid { margin-bottom: 18px; }
.checkout-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.checkout-nav .back { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.checkout-nav .back:hover { color: var(--blue); }
.checkout-nav svg { width: 15px; }
.shipping-options, .payment-options { display: grid; gap: 10px; }
.choice-card {
  display: flex; align-items: center; gap: 13px; padding: 15px 16px;
  border: 1px solid var(--line-strong); border-radius: 11px; background: #fff; cursor: pointer;
  transition: .18s ease;
}
.choice-card:hover { border-color: #93B4F8; }
.choice-card.selected { border-color: var(--blue); background: var(--pale); box-shadow: 0 0 0 1px var(--blue); }
.choice-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; flex-shrink: 0; }
.choice-card.selected .choice-radio { border-color: var(--blue); }
.choice-card.selected .choice-radio::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.choice-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--bg); display: grid; place-items: center; color: var(--text-soft); flex-shrink: 0; }
.choice-icon svg { width: 18px; }
.choice-card.selected .choice-icon { background: #fff; color: var(--blue); }
.choice-copy { flex: 1; min-width: 0; }
.choice-copy b { display: block; font-size: 12px; font-weight: 800; }
.choice-copy small { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }
.choice-price { font-size: 12px; font-weight: 800; white-space: nowrap; }
.choice-price.free { color: var(--green); }
.payment-note { margin-top: 16px; background: var(--orange-pale); border: 1px solid #FDE7CB; border-radius: 10px; padding: 11px 13px; font-size: 10.5px; color: #92400E; display: flex; gap: 8px; line-height: 1.5; }
.payment-note svg { width: 15px; flex-shrink: 0; margin-top: 1px; }
.review-block { background: var(--bg); border: 1px solid var(--line); border-radius: 11px; padding: 15px 16px; margin-bottom: 12px; }
.review-block-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.review-block-head b { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.review-block-head button { font-size: 10px; font-weight: 700; color: var(--blue); }
.review-block p { font-size: 12px; color: var(--text-soft); line-height: 1.6; }
.checkout-items { display: grid; gap: 0; }
.checkout-item { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.checkout-item:last-child { border-bottom: 0; }
.checkout-item img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--bg); }
.checkout-item b { display: block; font-size: 10.5px; line-height: 1.4; }
.checkout-item small { display: block; font-size: 9.5px; color: var(--muted); margin-top: 2px; }
.checkout-item span { margin-left: auto; font-size: 10.5px; font-weight: 800; white-space: nowrap; }
.checkout-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 130px; }
.checkout-summary h3 { font-size: 14px; font-weight: 800; margin-bottom: 14px; }
.checkout-summary .summary-line { padding: 6px 0; font-size: 11.5px; }
.checkout-summary .summary-line.total span:last-child { font-size: 19px; }
.checkout-help { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; font-size: 10px; color: var(--muted); display: grid; gap: 8px; }
.checkout-help span { display: flex; align-items: center; gap: 7px; }
.checkout-help svg { width: 13px; color: var(--blue); }

/* confirmation */
.confirmation-page { padding: 58px 0 80px; }
.confirmation-card { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.confirmation-head { padding: 42px 34px 32px; text-align: center; border-bottom: 1px solid var(--line); }
.success-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--green-pale); color: var(--green); display: grid; place-items: center; margin: 0 auto 18px; border: 1px solid #BBF7D0; }
.success-icon svg { width: 34px; height: 34px; }
.confirmation-head h1 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.confirmation-head p { font-size: 13px; color: var(--muted); max-width: 480px; margin-inline: auto; }
.order-number-box { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; background: var(--pale); border: 1px dashed #BFDBFE; padding: 9px 15px; border-radius: 9px; font-size: 12px; font-weight: 800; color: var(--blue); }
.order-number-box svg { width: 15px; }
.confirmation-body { padding: 28px 34px 34px; }
.confirmation-body h3 { font-size: 13px; font-weight: 800; margin-bottom: 12px; }
.confirmation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 26px; }
.confirmation-info { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 15px; }
.confirmation-info .eyebrow { font-size: 9px; margin-bottom: 6px; }
.confirmation-info b { display: block; font-size: 12px; }
.confirmation-info p { font-size: 11px; color: var(--muted); line-height: 1.6; margin-top: 3px; }
.confirmation-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; padding-top: 10px; }

/* ---------------- Auth ---------------- */
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.auth-visual { background: var(--navy); color: #fff; padding: clamp(34px, 5vw, 68px); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.auth-visual::before { content: ''; position: absolute; width: 540px; height: 540px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; right: -180px; bottom: -210px; }
.auth-visual::after { content: ''; position: absolute; width: 340px; height: 340px; border: 1px solid rgba(255,255,255,.05); border-radius: 50%; right: -70px; bottom: -110px; }
.auth-visual .store-logo b { color: #fff; }
.auth-visual .store-logo small { color: #7D8CA3; }
.auth-visual-copy { margin: auto 0; position: relative; z-index: 1; max-width: 460px; }
.auth-visual-copy .eyebrow { color: #93C5FD; }
.auth-visual-copy .eyebrow::before { background: #93C5FD; }
.auth-visual-copy h1 { color: #fff; font-size: clamp(30px, 3.7vw, 48px); font-weight: 800; line-height: 1.12; margin-bottom: 16px; }
.auth-visual-copy p { color: #B8C6DA; font-size: 13.5px; line-height: 1.8; margin-bottom: 28px; }
.auth-benefits { display: grid; gap: 13px; }
.auth-benefit { display: flex; align-items: flex-start; gap: 11px; font-size: 12px; color: #CBD5E1; }
.auth-benefit .ab-icon { width: 27px; height: 27px; border-radius: 8px; background: rgba(37,99,235,.22); color: #93C5FD; display: grid; place-items: center; flex-shrink: 0; }
.auth-benefit .ab-icon svg { width: 14px; }
.auth-benefit b { display: block; color: #fff; font-size: 11.5px; margin-bottom: 1px; }
.auth-benefit span { font-size: 10.5px; color: #93A2B6; }
.auth-visual-foot { font-size: 9.5px; color: #64748B; position: relative; z-index: 1; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-form-wrap { width: min(410px, 100%); }
.auth-form-wrap .auth-mobile-logo { display: none; }
.auth-form-wrap h2 { font-size: 27px; font-weight: 800; margin-bottom: 6px; }
.auth-form-wrap > p { font-size: 12.5px; color: var(--muted); margin-bottom: 26px; }
.auth-form { display: grid; gap: 15px; }
.auth-form .field label { font-size: 11px; }
.auth-form .input { height: 46px; }
.auth-form .btn { height: 47px; margin-top: 4px; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--muted-light); font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin: 6px 0; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; background: var(--line); flex: 1; }
.demo-access { border: 1px solid #D5E5FB; background: var(--pale); border-radius: 11px; padding: 13px 14px; display: flex; align-items: center; gap: 10px; }
.demo-access .demo-icon { width: 34px; height: 34px; border-radius: 9px; background: #fff; color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.demo-access .demo-icon svg { width: 16px; }
.demo-access b { display: block; font-size: 11px; color: var(--blue-ink); }
.demo-access small { display: block; font-size: 9.5px; color: #5B7BAE; margin-top: 1px; }
.demo-access button { margin-left: auto; font-size: 10px; font-weight: 800; color: var(--blue); white-space: nowrap; }
.auth-alt { text-align: center; font-size: 11.5px; color: var(--muted); margin-top: 20px; }
.auth-alt a { color: var(--blue); font-weight: 700; }
.auth-back { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); margin-bottom: 26px; }
.auth-back:hover { color: var(--blue); }
.auth-back svg { width: 14px; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 42px; }
.password-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; display: grid; place-items: center; color: var(--muted); }
.password-toggle svg { width: 16px; }
.auth-terms { font-size: 10px; color: var(--muted); line-height: 1.6; }
.auth-terms a { color: var(--blue); text-decoration: underline; }

/* ---------------- Account ---------------- */
.account-page { padding: 34px 0 76px; }
.account-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 26px; align-items: start; }
.account-side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: sticky; top: 130px; }
.account-user { padding: 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 11px; }
.account-user b { display: block; font-size: 12.5px; }
.account-user small { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }
.account-nav { padding: 8px; display: grid; gap: 2px; }
.account-nav a, .account-nav button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 11px; border-radius: 8px;
  font-size: 12px; font-weight: 600; color: var(--text-soft); text-align: left;
}
.account-nav a:hover, .account-nav button:hover { background: var(--bg); color: var(--text); }
.account-nav a.active, .account-nav button.active { background: var(--pale); color: var(--blue); font-weight: 800; }
.account-nav svg { width: 16px; color: var(--muted); }
.account-nav .active svg { color: var(--blue); }
.account-nav .logout { color: var(--red); margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0; padding-top: 13px; }
.account-nav .logout svg { color: var(--red); }
.account-main { min-width: 0; }
.account-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.account-head h1 { font-size: 25px; font-weight: 800; }
.account-head p { font-size: 12px; color: var(--muted); margin-top: 4px; }
.account-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.account-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 15px; }
.account-stat .as-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--pale); color: var(--blue); display: grid; place-items: center; margin-bottom: 11px; }
.account-stat:nth-child(2) .as-icon { background: var(--green-pale); color: var(--green); }
.account-stat:nth-child(3) .as-icon { background: var(--orange-pale); color: #B45309; }
.account-stat:nth-child(4) .as-icon { background: #F5F3FF; color: var(--violet); }
.account-stat .as-icon svg { width: 15px; }
.account-stat strong { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.account-stat span { display: block; font-size: 9.5px; color: var(--muted); margin-top: 2px; }
.account-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; }
.account-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.account-panel-head h2 { font-size: 15px; font-weight: 800; }
.account-panel-head a { font-size: 10.5px; font-weight: 700; color: var(--blue); }
.account-table { width: 100%; border-collapse: collapse; }
.account-table th { text-align: left; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 9px 10px; border-bottom: 1px solid var(--line); font-weight: 800; }
.account-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); font-size: 11.5px; }
.account-table tr:last-child td { border-bottom: 0; }
.account-table .order-link { font-weight: 800; color: var(--blue); }
.account-orders { display: grid; gap: 12px; }
.client-order-card { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; background: #fff; }
.client-order-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.client-order-head b { font-size: 12.5px; }
.client-order-head small { font-size: 10px; color: var(--muted); display: block; margin-top: 2px; }
.client-order-items { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.client-order-items img { width: 40px; height: 40px; border-radius: 7px; object-fit: cover; background: var(--bg); border: 1px solid var(--line); }
.client-order-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; flex-wrap: wrap; }
.client-order-foot b { font-size: 14px; }
.client-order-foot .actions { display: flex; gap: 6px; }
.addresses-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.address-card { border: 1px solid var(--line); border-radius: 10px; padding: 15px; position: relative; }
.address-card.default { border-color: var(--blue); background: #FBFDFF; }
.address-card .badge { position: absolute; right: 12px; top: 12px; font-size: 8px; }
.address-card b { display: block; font-size: 11.5px; margin-bottom: 5px; }
.address-card p { font-size: 10.5px; color: var(--muted); line-height: 1.65; }
.address-card .addr-actions { display: flex; gap: 10px; margin-top: 10px; }
.address-card .addr-actions button { font-size: 9.5px; font-weight: 700; color: var(--blue); }
.address-add { border: 1px dashed var(--line-strong); border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 132px; color: var(--muted); font-size: 11px; font-weight: 700; }
.address-add:hover { border-color: var(--blue); color: var(--blue); background: #FBFDFF; }
.address-add svg { width: 20px; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.profile-avatar-row { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.profile-avatar-row b { display: block; font-size: 13px; }
.profile-avatar-row small { display: block; font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.favorite-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

/* ---------------- Tracking ---------------- */
.tracking-page { padding: 40px 0 76px; }
.tracking-card { max-width: 880px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.tracking-search { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.tracking-search .search-box { flex: 1; min-width: 240px; }
.tracking-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tracking-head h2 { font-size: 19px; font-weight: 800; }
.tracking-head p { font-size: 11px; color: var(--muted); margin-top: 3px; }
.tracking-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 26px; }
.tracking-meta > div { background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: 12px; }
.tracking-meta span { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 800; }
.tracking-meta b { display: block; font-size: 11.5px; margin-top: 4px; }
.tracking-progress { margin: 24px 0 30px; }
.tracking-steps { display: flex; justify-content: space-between; position: relative; margin-bottom: 8px; }
.tracking-steps::before { content: ''; position: absolute; left: 20px; right: 20px; top: 13px; height: 2px; background: var(--line); }
.tracking-steps .track-line { position: absolute; left: 20px; top: 13px; height: 2px; background: var(--green); transition: width .3s; }
.track-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 20%; }
.track-step .track-dot { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; color: var(--muted); font-size: 10px; }
.track-step.done .track-dot { background: var(--green); border-color: var(--green); color: #fff; }
.track-step.current .track-dot { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.track-step span { font-size: 9px; color: var(--muted); text-align: center; line-height: 1.3; }
.track-step.done span, .track-step.current span { color: var(--text); font-weight: 700; }
.tracking-timeline { border-top: 1px solid var(--line); padding-top: 22px; }

/* ---------------- Content: about ---------------- */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-image { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1.15; border: 1px solid var(--line); }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-copy h2 { font-size: clamp(27px, 3.2vw, 37px); font-weight: 800; margin-bottom: 16px; }
.about-copy p { font-size: 13.5px; color: var(--text-soft); line-height: 1.85; margin-bottom: 14px; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.about-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
.about-stat strong { display: block; font-family: var(--font-display); font-size: 31px; font-weight: 800; letter-spacing: -.05em; color: var(--blue); }
.about-stat span { display: block; font-size: 10.5px; color: var(--muted); margin-top: 5px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.value-card .value-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--pale); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.value-card:nth-child(2) .value-icon { background: var(--green-pale); color: var(--green); }
.value-card:nth-child(3) .value-icon { background: var(--orange-pale); color: #B45309; }
.value-card svg { width: 20px; }
.value-card h3 { font-size: 15px; margin-bottom: 7px; }
.value-card p { font-size: 12px; color: var(--muted); line-height: 1.7; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.team-card .avatar { margin: 0 auto 12px; }
.team-card b { display: block; font-size: 12.5px; }
.team-card span { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }

/* ---------------- Contact ---------------- */
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; align-items: start; }
.contact-info { display: grid; gap: 12px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; gap: 13px; }
.contact-card .contact-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--pale); color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.contact-card .contact-icon svg { width: 17px; }
.contact-card b { display: block; font-size: 12px; }
.contact-card p { font-size: 11px; color: var(--muted); line-height: 1.65; margin-top: 3px; }
.contact-card a { color: var(--blue); font-weight: 700; }
.contact-form-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.contact-form-panel h2 { font-size: 21px; margin-bottom: 5px; }
.contact-form-panel > p { font-size: 12px; color: var(--muted); margin-bottom: 22px; }
.map-card { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; height: 230px; position: relative; background: #EAF0F8; margin-top: 16px; }
.map-card::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(#D6E1EF 1px, transparent 1px), linear-gradient(90deg, #D6E1EF 1px, transparent 1px); background-size: 40px 40px; opacity: .8; }
.map-road { position: absolute; background: #fff; }
.map-road.r1 { height: 12px; left: 0; right: 0; top: 46%; transform: rotate(-7deg); }
.map-road.r2 { width: 12px; top: 0; bottom: 0; left: 38%; transform: rotate(9deg); }
.map-pin { position: absolute; left: 50%; top: 40%; width: 42px; height: 42px; border-radius: 50% 50% 50% 4px; transform: translate(-50%, -50%) rotate(-45deg); background: var(--blue); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(37,99,235,.35); }
.map-pin svg { transform: rotate(45deg); color: #fff; width: 18px; }
.map-label { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 5px 10px; font-size: 10px; font-weight: 700; white-space: nowrap; box-shadow: var(--shadow-sm); }

/* ---------------- FAQ ---------------- */
.faq-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 34px; align-items: start; }
.faq-side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 9px; position: sticky; top: 130px; }
.faq-side button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 10px 11px; border-radius: 8px; font-size: 11.5px; font-weight: 600; color: var(--text-soft); text-align: left; }
.faq-side button:hover { background: var(--bg); }
.faq-side button.active { background: var(--pale); color: var(--blue); font-weight: 800; }
.faq-side svg { width: 15px; }
.faq-search { margin-bottom: 20px; }
.faq-group { margin-bottom: 30px; }
.faq-group h2 { font-size: 17px; font-weight: 800; margin-bottom: 13px; }
.faq-cta { background: var(--navy); border-radius: var(--radius); padding: 26px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; flex-wrap: wrap; }
.faq-cta h3 { color: #fff; font-size: 17px; margin-bottom: 4px; }
.faq-cta p { color: #B8C6DA; font-size: 11.5px; }

/* ---------------- Legal ---------------- */
.legal-wrap { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 40px; align-items: start; padding: 44px 0 80px; }
.legal-nav { position: sticky; top: 130px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.legal-nav b { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); display: block; margin-bottom: 10px; }
.legal-nav a { display: block; padding: 7px 8px; border-radius: 6px; font-size: 11.5px; color: var(--text-soft); }
.legal-nav a:hover { background: var(--bg); color: var(--blue); }
.legal-content { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.legal-content h1 { font-size: 28px; margin-bottom: 6px; }
.legal-content .legal-updated { font-size: 10.5px; color: var(--muted); margin-bottom: 26px; }
.legal-content h2 { font-size: 18px; margin: 30px 0 10px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p, .legal-content li { font-size: 12.5px; color: var(--text-soft); line-height: 1.8; }
.legal-content ul { list-style: disc; padding-left: 18px; display: grid; gap: 4px; margin: 8px 0; }
.legal-content p + p { margin-top: 10px; }
.legal-content a { color: var(--blue); }

/* ---------------- Categories page ---------------- */
.categories-page { padding: 40px 0 76px; }
.categories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.category-feature { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: #fff; transition: .22s ease; }
.category-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.category-feature-image { aspect-ratio: 1.7; overflow: hidden; background: var(--bg); position: relative; }
.category-feature-image img { width: 100%; height: 100%; object-fit: cover; }
.category-feature-icon { position: absolute; left: 16px; bottom: 16px; width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.95); color: var(--blue); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.category-feature-icon svg { width: 19px; }
.category-feature-copy { padding: 18px; }
.category-feature-copy h3 { font-size: 16px; font-weight: 800; margin-bottom: 5px; }
.category-feature-copy p { font-size: 11.5px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.category-feature-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; }
.category-feature-foot span { font-size: 10px; color: var(--muted); font-weight: 600; }

/* ---------------- Favorites ---------------- */
.favorites-page { padding: 34px 0 76px; }
.favorites-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.favorites-head h1 { font-size: 28px; font-weight: 800; }
.favorites-head p { font-size: 12px; color: var(--muted); margin-top: 3px; }
.favorites-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

/* ---------------- Not found ---------------- */
.notfound { min-height: 58vh; display: grid; place-items: center; text-align: center; padding: 60px 24px; }
.notfound .nf-code { font-family: var(--font-display); font-size: 92px; font-weight: 800; color: var(--pale-strong); line-height: 1; letter-spacing: -.08em; }
.notfound h1 { font-size: 27px; margin: -14px 0 8px; }
.notfound p { font-size: 13px; color: var(--muted); margin-bottom: 22px; }

/* ---------------- Dark mode (storefront) ---------------- */
body.dark {
  --bg: #0B1220;
  --surface: #111C2E;
  --white: #111C2E;
  --text: #E8EEF7;
  --text-soft: #C3CEE0;
  --muted: #93A2B6;
  --muted-light: #718197;
  --line: #243248;
  --line-strong: #324158;
  --pale: #101F35;
  --pale-strong: #17304F;
  background: var(--bg);
  color: var(--text);
}
body.dark .store-header, body.dark .category-bar, body.dark .trust-strip,
body.dark .product-card, body.dark .category-card, body.dark .advantage,
body.dark .testimonial, body.dark .brand-item, body.dark .accordion,
body.dark .cart-panel, body.dark .summary-panel, body.dark .checkout-card,
body.dark .checkout-summary, body.dark .confirmation-card, body.dark .account-side,
body.dark .account-stat, body.dark .account-panel, body.dark .client-order-card,
body.dark .tracking-card, body.dark .contact-card, body.dark .contact-form-panel,
body.dark .faq-side, body.dark .legal-nav, body.dark .legal-content,
body.dark .categories-page .category-feature, body.dark .about-stat,
body.dark .value-card, body.dark .team-card, body.dark .filters,
body.dark .view-toggle, body.dark .pdp-main-image, body.dark .specs-panel,
body.dark .review-score, body.dark .auth-shell, body.dark .modal,
body.dark .search-suggest, body.dark .dropdown-panel, body.dark .mobile-panel {
  background: var(--surface);
  border-color: var(--line);
}
body.dark .hero { background: #0E192B; border-color: var(--line); }
body.dark .page-hero { background: #0E192B; border-color: var(--line); }
body.dark .product-media, body.dark .category-thumb, body.dark .pdp-main-image,
body.dark .cart-thumb, body.dark .review-score, body.dark .confirmation-info,
body.dark .tracking-meta > div, body.dark .checkout-summary, body.dark .legal-nav,
body.dark .faq-side { background: #0D1727; }
body.dark .header-search .search-box input { background: #0D1727; color: var(--text); }
body.dark .header-search .search-box input:focus { background: #0D1727; }
body.dark .header-search kbd { background: #0D1727; }
body.dark .input, body.dark .field input, body.dark .field select, body.dark .field textarea,
body.dark .select, body.dark .textarea, body.dark .sort-control select { background: #0D1727; color: var(--text); border-color: var(--line-strong); }
body.dark .btn { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
body.dark .btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
body.dark .btn-soft { background: var(--pale); color: #93C5FD; border-color: var(--pale-strong); }
body.dark .btn-white { background: #fff; color: var(--navy); }
body.dark .quick-add { background: #fff; color: var(--navy); }
body.dark .badge { background: #1B2A40; color: #B8C6DA; }
body.dark .badge-blue { background: var(--pale); color: #93C5FD; }
body.dark .btn-soft { background: var(--pale); }
body.dark .summary-line.total, body.dark .cart-bottom { border-color: var(--line); }
body.dark .account-nav .logout { border-color: var(--line); }
body.dark .store-logo b, body.dark .account-user b { color: var(--text); }
body.dark .brand-item { color: #718197; }
body.dark .brand-item:hover { background: var(--pale); color: #93C5FD; }
body.dark .auth-form-wrap h2, body.dark .legal-content h1, body.dark .page-hero h1 { color: var(--text); }
body.dark .hero h1 { color: var(--text); }
body.dark .option-btn { background: var(--surface); color: var(--text-soft); border-color: var(--line); }
body.dark .option-btn.active { background: var(--pale); }
body.dark .account-table th { color: var(--muted); }
body.dark .account-table td { border-color: var(--line); }
body.dark .modal-head, body.dark .modal-foot { background: var(--surface); border-color: var(--line); }
body.dark .dropdown-item:hover { background: #16263C; }
body.dark .map-card { background: #0D1727; }
body.dark .map-card::before { opacity: .12; }
body.dark .suggest-item:hover { background: #16263C; }
body.dark .cart-remove:hover { background: #2A1720; }
body.dark .toast { background: #1B2A40; }
body.dark .auth-visual { background: #0A1220; }
body.dark .footer-col a:hover, body.dark .footer-contact a:hover { color: #fff; }
