/* ============================================================
   DrawBlanket  —  Dark Halloween E-Commerce Store
   Mobile-first  |  Inter + Poppins  |  Production-ready
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@500;600;700;800;900&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --bg: #0d0d0d;
  --bg-card: #1a1a1a;
  --bg-elevated: #242424;
  --bg-input: #1e1e1e;
  --border: #333;
  --text: #f0ece4;
  --text-muted: #9a9590;
  --text-dim: #666;
  --orange: #FF6B35;
  --orange-dk: #e85520;
  --orange-lt: rgba(255,107,53,.1);
  --purple: #7B2FF7;
  --purple-lt: rgba(123,47,247,.1);
  --green: #00C853;
  --red: #FF1744;
  --gold: #FFD700;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,.4);
  --max-w: 1280px;
  --header-h: 64px;
  --announce-h: 36px;
}

/* ---------- Reset & Base ---------- */
*,
*::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(--text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

a {
  color: var(--orange);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover {
  color: var(--orange-dk);
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
}

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

/* ---------- Container ---------- */
.s-container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- Announcement Bar ---------- */
.s-announce {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--announce-h);
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  z-index: 1000;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
}
.s-announce a {
  color: #fff;
  text-decoration: underline;
  margin-left: 6px;
}
.s-announce a:hover {
  color: rgba(255,255,255,.85);
}

/* ---------- Header ---------- */
.s-header {
  position: fixed;
  top: var(--announce-h);
  left: 0;
  width: 100%;
  height: var(--header-h);
  background: rgba(26,26,26,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  transition: box-shadow .3s ease;
}
.s-header--scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,.5);
}

.s-header__wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.s-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--text);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.s-logo:hover {
  color: var(--orange);
}
.s-logo span {
  font-size: 20px;
}

/* Navigation */
.s-nav {
  display: none;
  align-items: center;
  gap: 28px;
}
.s-nav a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: color .2s ease;
}
.s-nav a:hover,
.s-nav a.active {
  color: var(--text);
}
.s-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
  transition: width .25s ease;
}
.s-nav a:hover::after,
.s-nav a.active::after {
  width: 100%;
}

@media (min-width: 768px) {
  .s-nav {
    display: flex;
  }
}

/* Header Actions */
.s-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.s-header__actions button,
.s-header__actions a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 20px;
  transition: background .2s ease, color .2s ease;
  position: relative;
  text-decoration: none;
}
.s-header__actions button:hover,
.s-header__actions a:hover {
  background: var(--bg-elevated);
  color: var(--text);
}

.s-cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  pointer-events: none;
}

/* Hamburger */
.s-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  transition: background .2s ease;
}
.s-hamburger:hover {
  background: var(--bg-elevated);
}
.s-hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.s-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.s-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.s-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 768px) {
  .s-hamburger {
    display: none;
  }
}

/* Mobile Menu */
.s-mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(13,13,13,.97);
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  padding-top: calc(var(--announce-h) + var(--header-h));
}
.s-mobile-menu.s-mobile-menu--open {
  opacity: 1;
  visibility: visible;
}
.s-mobile-menu a {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  transition: color .2s ease;
}
.s-mobile-menu a:hover {
  color: var(--orange);
}

/* Body offset for fixed bars */
body {
  padding-top: calc(var(--announce-h) + var(--header-h));
}

/* ---------- Hero Banner ---------- */
.s-hero-banner {
  position: relative;
  width: 100%;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, #2a0845 0%, #1a0a2e 30%, #0d0d0d 70%);
}
.s-hero-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(255,107,53,.08) 0%, transparent 60%);
  pointer-events: none;
}
.s-hero-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}
.s-hero-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
}
.s-hero-banner__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, transparent 20%, rgba(13,13,13,.6) 70%);
}
.s-hero-banner__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 64px 16px 48px;
}
.s-hero-banner__tag {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--orange);
  background: rgba(255,107,53,.12);
  border: 1px solid rgba(255,107,53,.25);
  margin-bottom: 24px;
}
.s-hero-banner__title {
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #fff 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.s-hero-banner__subtitle {
  font-size: clamp(15px, 2.5vw, 18px);
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.s-hero-banner__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.s-hero-banner__trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}
.s-hero-banner__trust span {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* ---------- Section ---------- */
.s-section {
  padding: 48px 0;
}
.s-section .s-container {
  max-width: var(--max-w);
}

.s-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}
.s-section__head h2 {
  font-size: clamp(22px, 3vw, 28px);
}
.s-section__head a {
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  white-space: nowrap;
}
.s-section__head a:hover {
  text-decoration: underline;
}

/* ---------- Product Grid ---------- */
.s-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .s-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .s-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Product Card ---------- */
.s-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
  display: flex;
  flex-direction: column;
}
.s-card:hover {
  border-color: rgba(255,107,53,.35);
  box-shadow: 0 8px 32px rgba(0,0,0,.5), 0 0 0 1px rgba(255,107,53,.15);
  transform: translateY(-4px);
}

.s-card__img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}
.s-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.s-card:hover .s-card__img {
  transform: scale(1.05);
}

.s-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  line-height: 1.3;
  z-index: 2;
}
.s-card__save {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
  background: var(--red);
  color: #fff;
  letter-spacing: .3px;
}

.s-card__info {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.s-card__name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}
.s-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--text-muted);
}
.s-card__rating .s-stars {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 1px;
}
.s-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
  margin-top: auto;
}
.s-card__price-current,
.s-card__price-now {
  font-size: 18px;
  font-weight: 700;
  color: var(--orange);
  font-family: 'Poppins', sans-serif;
}
.s-card__price-old,
.s-card__price-was {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.s-card__btn {
  display: block;
  width: calc(100% - 28px);
  margin: 0 14px 14px;
  padding: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: background .2s ease, transform .15s ease;
  border: none;
  cursor: pointer;
}
.s-card__btn:hover {
  background: var(--orange-dk);
}
.s-card__btn:active {
  transform: scale(.97);
}

/* ---------- Product Detail ---------- */
.s-product__top {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 768px) {
  .s-product__top {
    flex-direction: row;
    align-items: flex-start;
  }
}

.s-product__gallery {
  flex: 1 1 50%;
  min-width: 0;
}
.s-product__main-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  margin-bottom: 12px;
}
.s-product__thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.s-product__thumbs::-webkit-scrollbar {
  height: 4px;
}
.s-product__thumbs::-webkit-scrollbar-track {
  background: transparent;
}
.s-product__thumbs::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
.s-product__thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 2px solid transparent;
  opacity: .6;
  cursor: pointer;
  transition: opacity .2s ease, border-color .2s ease;
}
.s-product__thumb:hover {
  opacity: .85;
}
.s-product__thumb.active {
  border-color: var(--orange);
  opacity: 1;
}

.s-product__info {
  flex: 1 1 50%;
  min-width: 0;
}
.s-product__info h1 {
  font-size: clamp(24px, 3.5vw, 32px);
  margin-bottom: 12px;
}

.s-product__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 16px;
  background: var(--orange);
  color: #fff;
}

.s-product__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.s-product__rating .s-stars {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 1px;
}

.s-product__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}
.s-product__price-current {
  font-size: 28px;
  font-weight: 800;
  color: var(--orange);
  font-family: 'Poppins', sans-serif;
}
.s-product__price-old {
  font-size: 16px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.s-product__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.s-product__features {
  margin-bottom: 24px;
}
.s-product__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text);
}
.s-product__features li::before {
  content: '\2713';
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.s-product__specs {
  margin-bottom: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.s-product__spec-row {
  display: flex;
  padding: 10px 14px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}
.s-product__spec-row:last-child {
  border-bottom: none;
}
.s-product__spec-row:nth-child(even) {
  background: var(--bg-elevated);
}
.s-product__spec-label {
  flex: 0 0 40%;
  color: var(--text-muted);
  font-weight: 500;
}
.s-product__spec-value {
  flex: 1;
  color: var(--text);
}

/* Quantity Selector */
.s-product__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  overflow: hidden;
}
.s-product__qty button {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text);
  background: var(--bg-elevated);
  transition: background .2s ease;
}
.s-product__qty button:hover {
  background: var(--border);
}
.s-product__qty input {
  width: 52px;
  height: 40px;
  text-align: center;
  border: none;
  background: var(--bg-input);
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  -moz-appearance: textfield;
}
.s-product__qty input::-webkit-outer-spin-button,
.s-product__qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Product Actions */
.s-product__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.s-product__actions .s-btn {
  flex: 1;
  min-width: 140px;
}

/* Reviews */
.s-product__reviews {
  margin-top: 48px;
}
.s-product__reviews h2 {
  font-size: 22px;
  margin-bottom: 24px;
}

.s-review-photos {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.s-review-photos img {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  opacity: .85;
  transition: opacity .2s ease, transform .2s ease;
}
.s-review-photos img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.s-review {
  padding: 20px;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
  margin-bottom: 16px;
}
.s-review__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.s-review__stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 1px;
}
.s-review__date {
  font-size: 12px;
  color: var(--text-dim);
}
.s-review__text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.s-review__author {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.s-review__verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--green);
  font-weight: 600;
  margin-left: 8px;
}
.s-review__verified::before {
  content: '\2713';
}

/* Product page extras (BEM aliases + missing classes) */
.s-product-page { padding-top: calc(var(--header-h) + var(--announce-h) + 10px); }
.s-product__thumb--active, .s-product__thumb.active { border-color: var(--orange); opacity: 1; }
.s-product__main-img-wrap { position:relative; border-radius:var(--radius); overflow:hidden; background:var(--bg-card); aspect-ratio:1/1; }
.s-product__main-img-wrap .s-card__badge { position:absolute; top:12px; left:12px; z-index:2; }
.s-product__name { font-size:clamp(24px,3.5vw,32px); font-weight:700; margin-bottom:8px; font-family:'Poppins',sans-serif; }
.s-product__sub { font-size:14px; color:var(--text-muted); margin-bottom:12px; }
.s-product__price-block { display:flex; align-items:baseline; gap:10px; margin-bottom:16px; flex-wrap:wrap; }
.s-product__price { font-size:28px; font-weight:800; color:var(--orange); font-family:'Poppins',sans-serif; }
.s-product__was { font-size:18px; color:var(--text-dim); text-decoration:line-through; }
.s-product__save-tag { background:var(--green); color:#fff; font-size:12px; font-weight:700; padding:3px 8px; border-radius:4px; }
.s-product__desc { font-size:14px; line-height:1.7; color:var(--text-muted); margin-bottom:16px; }
.s-product__features { list-style:none; margin-bottom:20px; }
.s-product__features li { padding:6px 0; font-size:14px; color:var(--text); }
.s-product__qty-row { display:flex; align-items:center; gap:12px; margin-bottom:20px; }
.s-product__qty-row label { font-size:14px; font-weight:500; }
.s-product__actions { margin-bottom:20px; }
.s-product__trust { display:flex; gap:16px; font-size:12px; color:var(--text-muted); flex-wrap:wrap; margin-bottom:20px; }
.s-product__specs-wrap { margin-top:16px; }
.s-product__specs-wrap summary { cursor:pointer; font-size:14px; font-weight:600; color:var(--orange); padding:8px 0; }
.s-product__specs-table { width:100%; border-collapse:collapse; margin-top:8px; }
.s-product__specs-table td { padding:8px 12px; font-size:13px; border-bottom:1px solid var(--border); }
.s-product__specs-table td:first-child { color:var(--text-muted); width:40%; }
.s-product__reviews-section { padding:40px 0; border-top:1px solid var(--border); margin-top:40px; }
.s-product__reviews-section h2 { font-size:22px; font-weight:700; margin-bottom:20px; font-family:'Poppins',sans-serif; }
.s-review-photo { width:80px; height:80px; object-fit:cover; border-radius:var(--radius-sm); cursor:pointer; }
.s-product__upsells { padding:40px 0; }
.s-product__upsells h2 { font-size:22px; font-weight:700; margin-bottom:20px; font-family:'Poppins',sans-serif; }
.s-breadcrumb-wrap { padding-top: calc(var(--header-h) + var(--announce-h)); background:var(--bg); }
.s-qty-btn { width:32px; height:32px; display:flex; align-items:center; justify-content:center; background:var(--bg-elevated); border:1px solid var(--border); border-radius:var(--radius-sm); color:var(--text); font-size:16px; cursor:pointer; transition:background .2s; }
.s-qty-btn:hover { background:var(--border); }
.s-product__rating { display:flex; align-items:center; gap:6px; margin-bottom:12px; }

/* ---------- Upsell / Cross-sell ---------- */
.s-upsell {
  padding: 32px 0;
}
.s-upsell h3 {
  font-size: 20px;
  margin-bottom: 20px;
}
.s-upsell__row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.s-upsell__row .s-card {
  flex-shrink: 0;
  width: 200px;
}
@media (min-width: 768px) {
  .s-upsell__row .s-card {
    width: 240px;
  }
}

/* ---------- Cart Drawer ---------- */
.s-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.s-cart-overlay.open,
.s-cart-overlay.s-cart-overlay--open {
  opacity: 1;
  visibility: visible;
}

.s-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-card);
  z-index: 1101;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  border-left: 1px solid var(--border);
}
.s-cart-drawer.open,
.s-cart-drawer.s-cart-drawer--open {
  transform: translateX(0);
}

@media (max-width: 480px) {
  .s-cart-drawer {
    width: 100%;
  }
}

.s-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.s-cart-header h3 {
  font-size: 18px;
  font-weight: 700;
}
.s-cart-header button {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 20px;
  color: var(--text-muted);
  transition: background .2s ease, color .2s ease;
}
.s-cart-header button:hover {
  background: var(--bg-elevated);
  color: var(--text);
}

.s-cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.s-cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.s-cart-item:last-child {
  border-bottom: none;
}
.s-cart-item__img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}
.s-cart-item__details {
  flex: 1;
  min-width: 0;
}
.s-cart-item__name {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.s-cart-item__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 8px;
}
.s-cart-item__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.s-cart-item__qty button {
  width: 28px;
  height: 28px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  color: var(--text);
  transition: background .2s ease;
}
.s-cart-item__qty button:hover {
  background: var(--border);
}
.s-cart-item__qty span {
  width: 32px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  background: var(--bg-input);
}
.s-cart-item__remove {
  font-size: 18px;
  color: var(--text-dim);
  align-self: flex-start;
  padding: 4px;
  transition: color .2s ease;
}
.s-cart-item__remove:hover {
  color: var(--red);
}

/* Cart Bump Offer */
.s-cart-bump {
  margin: 16px 20px;
  padding: 14px;
  background: var(--orange-lt);
  border: 1px dashed var(--orange);
  border-radius: var(--radius-sm);
}
.s-cart-bump__title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--orange);
}
.s-cart-bump__text {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}
.s-cart-bump__btn {
  display: inline-block;
  padding: 6px 14px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background .2s ease;
}
.s-cart-bump__btn:hover {
  background: var(--orange-dk);
}

/* Cart Footer */
.s-cart-footer {
  padding: 20px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.s-cart-footer__subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 15px;
}
.s-cart-footer__subtotal span:last-child {
  font-size: 20px;
  font-weight: 700;
  color: var(--orange);
  font-family: 'Poppins', sans-serif;
}
.s-cart-footer .s-btn {
  width: 100%;
}

/* BEM aliases for cart drawer sub-elements */
.s-cart-drawer__header { display:flex; align-items:center; justify-content:space-between; padding:20px; border-bottom:1px solid var(--border); flex-shrink:0; }
.s-cart-drawer__header h3 { font-size:18px; font-weight:700; }
.s-cart-drawer__close { width:36px; height:36px; display:flex; align-items:center; justify-content:center; border-radius:var(--radius-sm); font-size:20px; color:var(--text-muted); background:none; border:none; cursor:pointer; transition:background .2s, color .2s; }
.s-cart-drawer__close:hover { background:var(--bg-elevated); color:var(--text); }
.s-cart-drawer__items { flex:1; overflow-y:auto; padding:16px 20px; scrollbar-width:thin; scrollbar-color:var(--border) transparent; }
.s-cart-drawer__footer { padding:20px; border-top:1px solid var(--border); flex-shrink:0; }
.s-cart-drawer__total { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; font-size:15px; }
.s-cart-drawer__total span:last-child { font-size:20px; font-weight:700; color:var(--orange); font-family:'Poppins',sans-serif; }
.s-cart-drawer__shipping { font-size:12px; color:var(--text-muted); margin-bottom:14px; }

/* Cart item styles for JS-rendered items */
.s-cart-item { display:flex; gap:12px; padding:12px 0; border-bottom:1px solid var(--border); position:relative; }
.s-cart-item__img { width:64px; height:64px; object-fit:cover; border-radius:var(--radius-sm); background:var(--bg-elevated); flex-shrink:0; }
.s-cart-item__info { flex:1; min-width:0; }
.s-cart-item__name { font-size:14px; font-weight:500; margin-bottom:4px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.s-cart-item__price { font-size:14px; color:var(--orange); font-weight:600; margin-bottom:6px; }
.s-cart-item__qty { display:flex; align-items:center; gap:8px; }
.s-cart-item__remove { position:absolute; top:12px; right:0; color:var(--text-dim); background:none; border:none; cursor:pointer; font-size:16px; padding:4px; }
.s-cart-item__remove:hover { color:var(--red); }

/* Cart bumps */
.s-cart-bumps { margin-top:16px; padding-top:16px; border-top:1px solid var(--border); }
.s-cart-bumps__title { font-size:14px; font-weight:600; color:var(--orange); margin-bottom:12px; }
.s-cart-bump { display:flex; align-items:center; gap:10px; padding:8px 0; }
.s-cart-bump img { width:48px; height:48px; object-fit:cover; border-radius:var(--radius-sm); background:var(--bg-elevated); }
.s-cart-bump__info { flex:1; min-width:0; }
.s-cart-bump__name { font-size:13px; font-weight:500; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.s-cart-bump__price { font-size:12px; color:var(--text-muted); }
.s-cart-bump__old { text-decoration:line-through; margin-right:4px; }

/* ---------- Account / Auth ---------- */
.s-account {
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 16px;
}

.s-auth-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
}
.s-auth-tabs button {
  flex: 1;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.s-auth-tabs button.active {
  color: var(--text);
  border-bottom-color: var(--orange);
}
.s-auth-tabs button:hover {
  color: var(--text);
}

.s-auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.s-auth-form label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 4px;
  display: block;
}
.s-auth-form input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.s-auth-form input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-lt);
}
.s-auth-form input::placeholder {
  color: var(--text-dim);
}
.s-auth-form .s-btn {
  margin-top: 8px;
}

/* Profile */
.s-profile {
  padding: 32px 0;
}
.s-profile__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.s-profile__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--orange);
  flex-shrink: 0;
}
.s-profile__name {
  font-size: 18px;
  font-weight: 700;
}
.s-profile__email {
  font-size: 13px;
  color: var(--text-muted);
}

/* Order List */
.s-order-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.s-order-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  gap: 12px;
  flex-wrap: wrap;
}
.s-order-list__id {
  font-size: 14px;
  font-weight: 600;
}
.s-order-list__date {
  font-size: 12px;
  color: var(--text-muted);
}
.s-order-list__status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}
.s-order-list__status--delivered {
  background: rgba(0,200,83,.12);
  color: var(--green);
}
.s-order-list__status--processing {
  background: var(--orange-lt);
  color: var(--orange);
}
.s-order-list__status--cancelled {
  background: rgba(255,23,68,.1);
  color: var(--red);
}
.s-order-list__total {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

/* Account page BEM aliases */
.s-account-page { padding-top: calc(var(--header-h) + var(--announce-h) + 20px); min-height: 100vh; }
.s-account__auth { max-width: 480px; margin: 40px auto; padding: 0 16px; }
.s-account__tabs { display:flex; border-bottom:2px solid var(--border); margin-bottom:32px; }
.s-account__tab { flex:1; padding:12px; font-size:15px; font-weight:600; color:var(--text-muted); background:none; border:none; border-bottom:2px solid transparent; margin-bottom:-2px; cursor:pointer; transition:color .2s, border-color .2s; }
.s-account__tab--active { color:var(--text); border-bottom-color:var(--orange); }
.s-account__tab:hover { color:var(--text); }
.s-account__form { display:flex; flex-direction:column; gap:16px; }
.s-form-group label { font-size:13px; font-weight:500; color:var(--text-muted); margin-bottom:6px; display:block; }
.s-form-group input { width:100%; padding:12px 14px; background:var(--bg-input); border:1px solid var(--border); border-radius:var(--radius-sm); color:var(--text); font-size:14px; transition:border-color .2s, box-shadow .2s; }
.s-form-group input:focus { border-color:var(--orange); box-shadow:0 0 0 3px var(--orange-lt); outline:none; }
.s-form-group input::placeholder { color:var(--text-dim); }
.s-form-error { color:var(--red); font-size:13px; min-height:18px; }
.s-account__profile { max-width:640px; margin:40px auto; padding:0 16px; }
.s-account__profile-header { display:flex; align-items:center; gap:16px; margin-bottom:32px; flex-wrap:wrap; }
.s-account__avatar { width:56px; height:56px; border-radius:50%; background:var(--orange); display:flex; align-items:center; justify-content:center; font-size:22px; font-weight:700; color:#fff; flex-shrink:0; }
.s-account__sections { display:flex; flex-direction:column; gap:32px; }
.s-account__section h2 { font-size:18px; font-weight:700; margin-bottom:16px; font-family:'Poppins',sans-serif; }
.s-account__orders { display:flex; flex-direction:column; gap:12px; }
.s-account__details { display:flex; flex-direction:column; gap:12px; }
.s-account__detail { display:flex; justify-content:space-between; padding:12px 16px; background:var(--bg-card); border-radius:var(--radius-sm); border:1px solid var(--border); }
.s-account__detail span:first-child { color:var(--text-muted); font-size:14px; }
.s-account__detail span:last-child { font-weight:500; font-size:14px; }
.s-order { padding:16px; background:var(--bg-card); border-radius:var(--radius-sm); border:1px solid var(--border); }
.s-order__header { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.s-order__id { font-size:14px; font-weight:600; }
.s-order__status { padding:3px 10px; border-radius:99px; font-size:11px; font-weight:600; text-transform:uppercase; }
.s-status--success { background:rgba(0,200,83,.12); color:var(--green); }
.s-status--pending { background:var(--orange-lt); color:var(--orange); }
.s-status--failed { background:rgba(255,23,68,.1); color:var(--red); }
.s-order__meta { display:flex; justify-content:space-between; font-size:13px; color:var(--text-muted); margin-bottom:8px; }
.s-order__total { font-weight:700; color:var(--orange); }
.s-order__items { display:flex; flex-wrap:wrap; gap:6px; }
.s-order__item { font-size:12px; background:var(--bg-elevated); padding:3px 8px; border-radius:4px; }
.s-account-avatar { width:28px; height:28px; border-radius:50%; background:var(--orange); display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700; color:#fff; }

/* ---------- Buttons ---------- */
.s-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease;
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}
.s-btn:active {
  transform: scale(.97);
}

.s-btn--primary {
  background: var(--orange);
  color: #fff;
}
.s-btn--primary:hover {
  background: var(--orange-dk);
  box-shadow: 0 4px 16px rgba(255,107,53,.3);
  color: #fff;
}

.s-btn--secondary {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}
.s-btn--secondary:hover {
  background: var(--orange-lt);
  color: var(--orange);
}

.s-btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(240,236,228,.3);
}
.s-btn--ghost:hover {
  background: rgba(240,236,228,.08);
  border-color: rgba(240,236,228,.5);
  color: #fff;
}
.s-btn--lg {
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
}
.s-btn--full {
  display: block;
  width: 100%;
  text-align: center;
}
.s-btn--sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* ---------- Footer ---------- */
.s-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  margin-top: 48px;
}

.s-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (min-width: 480px) {
  .s-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .s-footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.s-footer__col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 16px;
  color: var(--text);
}
.s-footer__col a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color .2s ease;
}
.s-footer__col a:hover {
  color: var(--orange);
}

.s-footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
}

/* ---------- Search Overlay ---------- */
.s-search {
  position: fixed;
  inset: 0;
  background: rgba(13,13,13,.95);
  z-index: 1200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 20vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.s-search.s-search--open {
  opacity: 1;
  visibility: visible;
}
.s-search__inner {
  width: 100%;
  max-width: 600px;
  padding: 0 16px;
}
.s-search__input {
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 18px;
  transition: border-color .2s ease;
}
.s-search__input:focus {
  border-color: var(--orange);
}
.s-search__input::placeholder {
  color: var(--text-dim);
}
.s-search__results {
  margin-top: 12px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  max-height: 320px;
  overflow-y: auto;
}
.s-search__results a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  transition: background .15s ease;
}
.s-search__results a:last-child {
  border-bottom: none;
}
.s-search__results a:hover {
  background: var(--bg-elevated);
}
.s-search__close {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: background .2s ease, color .2s ease;
}
.s-search__close:hover {
  background: var(--bg-elevated);
  color: var(--text);
}

/* ---------- Breadcrumb ---------- */
.s-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  font-size: 13px;
  flex-wrap: wrap;
}
.s-breadcrumb a {
  color: var(--text-muted);
  transition: color .2s ease;
}
.s-breadcrumb a:hover {
  color: var(--orange);
}
.s-breadcrumb span {
  color: var(--text-dim);
}
.s-breadcrumb__current {
  color: var(--text);
}

/* ---------- Category Filters ---------- */
.s-cat-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 12px;
  scrollbar-width: none;
}
.s-cat-filters::-webkit-scrollbar {
  display: none;
}
.s-cat-filters button {
  flex-shrink: 0;
  padding: 8px 18px;
  background: var(--bg-elevated);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.s-cat-filters button:hover {
  color: var(--text);
  border-color: var(--text-muted);
}
.s-cat-filters button.active {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

/* ---------- Empty State ---------- */
.s-empty-state {
  text-align: center;
  padding: 64px 16px;
}
.s-empty-state__icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: .5;
}
.s-empty-state__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.s-empty-state__text {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ---------- Utility: Badges ---------- */
.s-badge--trending {
  background: var(--orange);
  color: #fff;
}
.s-badge--new {
  background: var(--purple);
  color: #fff;
}
.s-badge--bestseller {
  background: var(--green);
  color: #fff;
}
.s-badge--viral {
  background: linear-gradient(135deg, var(--orange), var(--purple));
  color: #fff;
}
.s-badge--premium {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1a1a1a;
}
.s-badge--tech {
  background: #00B8D4;
  color: #fff;
}
.s-badge--default {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
}

/* ---------- Utility: Stars ---------- */
.s-stars {
  display: inline-flex;
  gap: 1px;
  color: var(--gold);
  font-style: normal;
}

/* ---------- Utility: Price ---------- */
.s-price {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--orange);
}
.s-price--old {
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 400;
}

/* ---------- Skeleton Loading ---------- */
.s-skeleton {
  position: relative;
  overflow: hidden;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
}
.s-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,.04) 40%,
    rgba(255,255,255,.04) 60%,
    transparent 100%
  );
  animation: skeleton-shimmer 1.5s infinite;
}
@keyframes skeleton-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.s-skeleton--text {
  height: 14px;
  width: 80%;
  margin-bottom: 8px;
}
.s-skeleton--title {
  height: 20px;
  width: 60%;
  margin-bottom: 12px;
}
.s-skeleton--img {
  aspect-ratio: 1 / 1;
  width: 100%;
}
.s-skeleton--btn {
  height: 40px;
  width: 100%;
}

/* ---------- Toast ---------- */
.s-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  min-width: 280px;
  max-width: 380px;
  padding: 14px 20px;
  background: var(--bg-elevated);
  color: var(--text);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 500;
  z-index: 1300;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(120%);
  opacity: 0;
  transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .35s ease;
}
.s-toast.show {
  transform: translateY(0);
  opacity: 1;
}
.s-toast--success {
  border-left: 3px solid var(--green);
}
.s-toast--error {
  border-left: 3px solid var(--red);
}
.s-toast--info {
  border-left: 3px solid var(--orange);
}

/* ---------- Scroll Reveal ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Scrollbar Global ---------- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-dim);
}

/* ---------- Focus Visible ---------- */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* ---------- Responsive Tweaks ---------- */
@media (max-width: 767px) {
  .s-container {
    padding: 0 16px;
  }

  .s-section {
    padding: 32px 0;
  }

  .s-hero-banner {
    min-height: 50vh;
  }

  .s-footer {
    padding: 32px 0 20px;
    margin-top: 32px;
  }
}

@media (min-width: 768px) {
  .s-container {
    padding: 0 24px;
  }
}

@media (min-width: 1024px) {
  .s-container {
    padding: 0 32px;
  }

  body {
    font-size: 16px;
  }
}

/* ======================================================================
   CHECKOUT PAGE
   ====================================================================== */
.s-checkout-page {
  padding: 60px 0 80px;
  min-height: 60vh;
}
.s-checkout__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--text);
}
.s-checkout__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}
@media (max-width: 860px) {
  .s-checkout__grid {
    grid-template-columns: 1fr;
  }
}
.s-checkout__section {
  margin-bottom: 32px;
  padding: 24px;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border);
}
.s-checkout__section h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}
.s-form-row {
  display: flex;
  gap: 12px;
}
.s-form-group--sm {
  max-width: 80px;
}
.s-checkout__methods {
  display: flex;
  gap: 12px;
}
.s-checkout__method {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}
.s-checkout__method input { display: none; }
.s-checkout__method:hover {
  border-color: var(--text-dim);
}
.s-checkout__method--active {
  border-color: var(--orange);
  background: rgba(255,107,53,.08);
}
.s-checkout__method-icon {
  display: flex;
  align-items: center;
  color: var(--orange);
}
.s-checkout__pay {
  margin-top: 16px;
  font-size: 18px;
  padding: 16px;
}
.s-checkout__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-dim);
}

/* Order Summary */
.s-checkout__summary {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.s-checkout__summary h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}
.s-checkout__items {
  margin-bottom: 16px;
  max-height: 320px;
  overflow-y: auto;
}
.s-checkout__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.s-checkout__item:last-child {
  border-bottom: none;
}
.s-checkout__item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--bg-elevated);
}
.s-checkout__item-info { flex: 1; }
.s-checkout__item-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}
.s-checkout__item-qty {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}
.s-checkout__item-price {
  font-size: 15px;
  font-weight: 600;
  color: var(--orange);
}
.s-checkout__line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-dim);
}
.s-checkout__line--total {
  border-top: 2px solid var(--border);
  margin-top: 8px;
  padding-top: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.s-checkout__free {
  color: var(--green, #22c55e);
  font-weight: 600;
}

/* ======================================================================
   LIGHTBOX MODAL
   ====================================================================== */
.s-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.s-lightbox--open {
  opacity: 1;
  visibility: visible;
}
.s-lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
  user-select: none;
}
.s-lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  background: rgba(255,255,255,.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s ease;
  z-index: 2;
}
.s-lightbox__close:hover {
  background: rgba(255,255,255,.2);
}
.s-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s ease;
  z-index: 2;
}
.s-lightbox__nav:hover {
  background: rgba(255,255,255,.18);
}
.s-lightbox__prev { left: 16px; }
.s-lightbox__next { right: 16px; }
.s-lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  background: rgba(0,0,0,.5);
  padding: 4px 14px;
  border-radius: 99px;
}

/* ======================================================================
   REVIEW — IMPROVED LAYOUT WITH AVATARS & ATTACHED PHOTOS
   ====================================================================== */
.s-review__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.s-review__header-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.s-review__photos {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.s-review__photo {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s ease, transform .15s ease;
}
.s-review__photo:hover {
  border-color: var(--orange);
  transform: scale(1.04);
}
@media (max-width: 480px) {
  .s-review__photo {
    width: 72px;
    height: 72px;
  }
}

/* ======================================================================
   ACCOUNT PAGE — ENHANCED FORMS
   ====================================================================== */
.s-account-page {
  padding-top: calc(var(--header-h) + var(--announce-h) + 32px);
  min-height: 60vh;
}
.s-form-error {
  color: var(--red);
  font-size: 13px;
  font-weight: 500;
  min-height: 18px;
}
.s-order {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.s-order__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.s-order__id {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.s-order__status {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  text-transform: capitalize;
}
.s-status--success { background: rgba(0,200,83,.15); color: var(--green); }
.s-status--pending { background: rgba(255,215,0,.12); color: var(--gold); }
.s-status--failed { background: rgba(255,23,68,.12); color: var(--red); }
.s-order__meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.s-order__total { font-weight: 700; color: var(--orange); }
.s-order__items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.s-order__item {
  font-size: 12px;
  padding: 3px 8px;
  background: var(--bg-elevated);
  border-radius: 4px;
  color: var(--text-muted);
}

/* ======================================================================
   PRODUCT GALLERY — DESKTOP SIDE-BY-SIDE
   ====================================================================== */
.s-product__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .s-product__top {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}
.s-product__gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.s-product__main-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius);
}
.s-product__thumbs {
  display: flex;
  gap: 8px;
}
.s-product__thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  opacity: .6;
  cursor: pointer;
  transition: opacity .2s ease, border-color .2s ease;
}
.s-product__thumb:hover {
  opacity: .85;
}
.s-product__qty {
  display: flex;
  align-items: center;
  gap: 8px;
}
.s-product__qty span {
  font-weight: 600;
  font-size: 16px;
  min-width: 28px;
  text-align: center;
}

/* ============================================================
   REDESIGN v7 — Hero Carousel, Trust Bar, Cards, Mobile
   ============================================================ */

/* ---------- Hero Carousel ---------- */
.s-hero-carousel {
  position: relative;
  width: 100%;
  min-height: 75vh;
  overflow: hidden;
}
.s-hero-carousel__slides {
  display: flex;
  width: 300%;
  height: 100%;
  min-height: 75vh;
  transition: transform .7s cubic-bezier(.4,0,.2,1);
}
.s-hero-carousel__slide {
  width: 100%;
  min-height: 75vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.s-hero-carousel__slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.s-hero-carousel__slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,13,13,.45) 0%, rgba(13,13,13,.7) 60%, var(--bg) 100%);
}
.s-hero-carousel__slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 16px 60px;
  max-width: 700px;
  margin: 0 auto;
}
.s-hero-carousel__tag {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--orange);
  background: rgba(255,107,53,.15);
  border: 1px solid rgba(255,107,53,.3);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.s-hero-carousel__title {
  font-size: clamp(32px, 6.5vw, 58px);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 18px;
  font-family: "Poppins", sans-serif;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.s-hero-carousel__subtitle {
  font-size: clamp(14px, 2.2vw, 17px);
  color: rgba(255,255,255,.8);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.s-hero-carousel__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Carousel Dots */
.s-hero-carousel__dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.s-hero-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: rgba(255,255,255,.3);
  border: none;
  cursor: pointer;
  transition: background .3s ease, width .3s ease;
  padding: 0;
}
.s-hero-carousel__dot.active {
  background: var(--orange);
  width: 28px;
}

/* Carousel Arrows */
.s-hero-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
  padding: 0;
}
.s-hero-carousel__arrow:hover {
  background: rgba(255,107,53,.6);
  border-color: var(--orange);
}
.s-hero-carousel__arrow--prev { left: 16px; }
.s-hero-carousel__arrow--next { right: 16px; }

@media (max-width: 767px) {
  .s-hero-carousel__arrow { display: none; }
  .s-hero-carousel, .s-hero-carousel__slides, .s-hero-carousel__slide {
    min-height: 65vh;
  }
}

/* ---------- Trust Bar (New SVG Icons) ---------- */
.s-trust-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.s-trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.s-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.s-trust-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.s-trust-item__icon--ship {
  background: linear-gradient(135deg, #1a472a 0%, #2d6a3f 100%);
  box-shadow: 0 2px 8px rgba(0,200,83,.2);
}
.s-trust-item__icon--return {
  background: linear-gradient(135deg, #2a1a47 0%, #4a2d7a 100%);
  box-shadow: 0 2px 8px rgba(123,47,247,.2);
}
.s-trust-item__icon--secure {
  background: linear-gradient(135deg, #1a3a47 0%, #2d5a7a 100%);
  box-shadow: 0 2px 8px rgba(45,136,255,.2);
}
.s-trust-item__icon--rating {
  background: linear-gradient(135deg, #473a1a 0%, #7a6a2d 100%);
  box-shadow: 0 2px 8px rgba(255,215,0,.2);
}
.s-trust-item__icon svg {
  width: 20px;
  height: 20px;
}
.s-trust-item__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.s-trust-item__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}
.s-trust-item__sub {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.2;
}

@media (max-width: 767px) {
  .s-trust-bar__inner {
    gap: 16px;
    justify-content: space-around;
  }
  .s-trust-item__text { display: none; }
  .s-trust-item { gap: 0; }
  .s-trust-item__icon { width: 42px; height: 42px; border-radius: 12px; }
  .s-trust-item__icon svg { width: 22px; height: 22px; }
}

/* ---------- Improved Mobile Menu ---------- */
.s-mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  margin-top: calc(var(--announce-h) + var(--header-h));
}
.s-mobile-menu__close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: background .2s, color .2s;
}
.s-mobile-menu__close:hover {
  background: var(--bg-elevated);
  color: var(--text);
}
.s-mobile-menu__nav {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
}
.s-mobile-menu__nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  transition: background .15s, color .2s;
  text-decoration: none;
}
.s-mobile-menu__nav a:hover {
  background: var(--bg-elevated);
  color: var(--orange);
}
.s-mobile-menu__nav hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 8px 24px;
}

/* Mobile menu override — stack from top */
.s-mobile-menu.s-mobile-menu--open {
  align-items: stretch;
  justify-content: flex-start;
}

/* ---------- Improved Card Styles ---------- */
.s-card__img-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--bg-card));
  pointer-events: none;
  z-index: 1;
}

/* Badge gradient styles */
.s-badge--trending { background: linear-gradient(135deg, #ff6b35, #ff8f1f); color: #fff; }
.s-badge--new { background: linear-gradient(135deg, #7B2FF7, #a855f7); color: #fff; }
.s-badge--bestseller { background: linear-gradient(135deg, #00C853, #69f0ae); color: #0d0d0d; }
.s-badge--premium { background: linear-gradient(135deg, #FFD700, #fbbf24); color: #0d0d0d; }
.s-badge--tech { background: linear-gradient(135deg, #2d88ff, #60a5fa); color: #fff; }
.s-badge--default { background: rgba(255,255,255,.12); color: var(--text); backdrop-filter: blur(8px); }

/* Section alt background */
.s-section--alt {
  background: rgba(26,26,26,.5);
}

/* Category filter pills */
.s-cat-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.s-cat-pill {
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.s-cat-pill:hover {
  color: var(--text);
  border-color: var(--orange);
}
.s-cat-pill--active {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

/* Newsletter section */
.s-newsletter {
  background: linear-gradient(135deg, rgba(42,8,69,.3) 0%, rgba(13,13,13,.8) 100%);
  border-top: 1px solid rgba(123,47,247,.15);
  border-bottom: 1px solid rgba(123,47,247,.15);
}
.s-newsletter__form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.s-newsletter__form input {
  flex: 1;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
}
.s-newsletter__form input:focus {
  border-color: var(--orange);
}
@media (max-width: 480px) {
  .s-newsletter__form {
    flex-direction: column;
  }
}

/* Search items */
.s-search__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  transition: background .15s ease;
  text-decoration: none;
}
.s-search__item:last-child { border-bottom: none; }
.s-search__item:hover { background: var(--bg-elevated); }
.s-search__item img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.s-search__item-name { font-weight: 600; }
.s-search__item-price { color: var(--orange); font-weight: 700; font-size: 13px; }
.s-search__empty { padding: 24px; text-align: center; color: var(--text-muted); }
.s-search__bar {
  display: flex;
  gap: 12px;
  align-items: center;
}
.s-search__bar input {
  flex: 1;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 18px;
}
.s-search__bar input:focus { border-color: var(--orange); }
.s-search__bar button {
  width: 48px;
  height: 48px;
  font-size: 22px;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.s-search__bar button:hover {
  background: var(--bg-elevated);
  color: var(--text);
}

/* Improved mobile styles */
@media (max-width: 767px) {
  .s-section { padding: 32px 0; }
  .s-section__head h2 { font-size: 20px; }
  .s-grid { gap: 12px; }
  .s-card__info { padding: 12px; }
  .s-card__name { font-size: 13px; min-height: auto; -webkit-line-clamp: 2; }
  .s-card__rating { font-size: 11px; margin-bottom: 6px; }
  .s-card__price-now { font-size: 16px; }
  .s-card__btn { margin: 0 12px 12px; width: calc(100% - 24px); padding: 10px; font-size: 12px; }
  .s-card__badge { font-size: 9px; padding: 3px 7px; }
  .s-card__save { font-size: 10px; padding: 3px 7px; }
  .s-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* Rating stars */
.s-star { letter-spacing: 1px; }
.s-star--full { color: var(--gold); }
.s-star--half { color: var(--gold); opacity: .7; }
.s-star--empty { color: var(--text-dim); }
.s-rating-count { color: var(--text-muted); font-size: 12px; }

/* Empty state */
.s-empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}
.s-empty-state span { font-size: 48px; display: block; margin-bottom: 12px; }
.s-empty-state p { margin-bottom: 16px; font-size: 16px; }

/* ============================================================
   REDESIGN v7 — Hero Carousel, Trust Bar, Cards, Mobile
   ============================================================ */

/* ---------- Hero Carousel ---------- */
.s-hero-carousel {
  position: relative;
  width: 100%;
  min-height: 75vh;
  overflow: hidden;
}
.s-hero-carousel__slides {
  display: flex;
  width: 300%;
  height: 100%;
  min-height: 75vh;
  transition: transform .7s cubic-bezier(.4,0,.2,1);
}
.s-hero-carousel__slide {
  width: 100%;
  min-height: 75vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.s-hero-carousel__slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.s-hero-carousel__slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,13,13,.45) 0%, rgba(13,13,13,.7) 60%, var(--bg) 100%);
}
.s-hero-carousel__slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 16px 60px;
  max-width: 700px;
  margin: 0 auto;
}
.s-hero-carousel__tag {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--orange);
  background: rgba(255,107,53,.15);
  border: 1px solid rgba(255,107,53,.3);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.s-hero-carousel__title {
  font-size: clamp(32px, 6.5vw, 58px);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 18px;
  font-family: "Poppins", sans-serif;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.s-hero-carousel__subtitle {
  font-size: clamp(14px, 2.2vw, 17px);
  color: rgba(255,255,255,.8);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.s-hero-carousel__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Carousel Dots */
.s-hero-carousel__dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.s-hero-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: rgba(255,255,255,.3);
  border: none;
  cursor: pointer;
  transition: background .3s ease, width .3s ease;
  padding: 0;
}
.s-hero-carousel__dot.active {
  background: var(--orange);
  width: 28px;
}

/* Carousel Arrows */
.s-hero-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
  padding: 0;
}
.s-hero-carousel__arrow:hover {
  background: rgba(255,107,53,.6);
  border-color: var(--orange);
}
.s-hero-carousel__arrow--prev { left: 16px; }
.s-hero-carousel__arrow--next { right: 16px; }

@media (max-width: 767px) {
  .s-hero-carousel__arrow { display: none; }
  .s-hero-carousel, .s-hero-carousel__slides, .s-hero-carousel__slide {
    min-height: 65vh;
  }
}

/* ---------- Trust Bar (New SVG Icons) ---------- */
.s-trust-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.s-trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.s-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.s-trust-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.s-trust-item__icon--ship {
  background: linear-gradient(135deg, #1a472a 0%, #2d6a3f 100%);
  box-shadow: 0 2px 8px rgba(0,200,83,.2);
}
.s-trust-item__icon--return {
  background: linear-gradient(135deg, #2a1a47 0%, #4a2d7a 100%);
  box-shadow: 0 2px 8px rgba(123,47,247,.2);
}
.s-trust-item__icon--secure {
  background: linear-gradient(135deg, #1a3a47 0%, #2d5a7a 100%);
  box-shadow: 0 2px 8px rgba(45,136,255,.2);
}
.s-trust-item__icon--rating {
  background: linear-gradient(135deg, #473a1a 0%, #7a6a2d 100%);
  box-shadow: 0 2px 8px rgba(255,215,0,.2);
}
.s-trust-item__icon svg {
  width: 20px;
  height: 20px;
}
.s-trust-item__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.s-trust-item__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}
.s-trust-item__sub {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.2;
}

@media (max-width: 767px) {
  .s-trust-bar__inner {
    gap: 16px;
    justify-content: space-around;
  }
  .s-trust-item__text { display: none; }
  .s-trust-item { gap: 0; }
  .s-trust-item__icon { width: 42px; height: 42px; border-radius: 12px; }
  .s-trust-item__icon svg { width: 22px; height: 22px; }
}

/* ---------- Improved Mobile Menu ---------- */
.s-mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  margin-top: calc(var(--announce-h) + var(--header-h));
}
.s-mobile-menu__close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: background .2s, color .2s;
}
.s-mobile-menu__close:hover {
  background: var(--bg-elevated);
  color: var(--text);
}
.s-mobile-menu__nav {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
}
.s-mobile-menu__nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  transition: background .15s, color .2s;
  text-decoration: none;
}
.s-mobile-menu__nav a:hover {
  background: var(--bg-elevated);
  color: var(--orange);
}
.s-mobile-menu__nav hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 8px 24px;
}

/* Mobile menu override — stack from top */
.s-mobile-menu.s-mobile-menu--open {
  align-items: stretch;
  justify-content: flex-start;
}

/* ---------- Improved Card Styles ---------- */
.s-card__img-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--bg-card));
  pointer-events: none;
  z-index: 1;
}

/* Badge gradient styles */
.s-badge--trending { background: linear-gradient(135deg, #ff6b35, #ff8f1f); color: #fff; }
.s-badge--new { background: linear-gradient(135deg, #7B2FF7, #a855f7); color: #fff; }
.s-badge--bestseller { background: linear-gradient(135deg, #00C853, #69f0ae); color: #0d0d0d; }
.s-badge--premium { background: linear-gradient(135deg, #FFD700, #fbbf24); color: #0d0d0d; }
.s-badge--tech { background: linear-gradient(135deg, #2d88ff, #60a5fa); color: #fff; }
.s-badge--default { background: rgba(255,255,255,.12); color: var(--text); backdrop-filter: blur(8px); }

/* Section alt background */
.s-section--alt {
  background: rgba(26,26,26,.5);
}

/* Category filter pills */
.s-cat-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.s-cat-pill {
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.s-cat-pill:hover {
  color: var(--text);
  border-color: var(--orange);
}
.s-cat-pill--active {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

/* Newsletter section */
.s-newsletter {
  background: linear-gradient(135deg, rgba(42,8,69,.3) 0%, rgba(13,13,13,.8) 100%);
  border-top: 1px solid rgba(123,47,247,.15);
  border-bottom: 1px solid rgba(123,47,247,.15);
}
.s-newsletter__form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.s-newsletter__form input {
  flex: 1;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
}
.s-newsletter__form input:focus {
  border-color: var(--orange);
}
@media (max-width: 480px) {
  .s-newsletter__form {
    flex-direction: column;
  }
}

/* Search items */
.s-search__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  transition: background .15s ease;
  text-decoration: none;
}
.s-search__item:last-child { border-bottom: none; }
.s-search__item:hover { background: var(--bg-elevated); }
.s-search__item img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.s-search__item-name { font-weight: 600; }
.s-search__item-price { color: var(--orange); font-weight: 700; font-size: 13px; }
.s-search__empty { padding: 24px; text-align: center; color: var(--text-muted); }
.s-search__bar {
  display: flex;
  gap: 12px;
  align-items: center;
}
.s-search__bar input {
  flex: 1;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 18px;
}
.s-search__bar input:focus { border-color: var(--orange); }
.s-search__bar button {
  width: 48px;
  height: 48px;
  font-size: 22px;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.s-search__bar button:hover {
  background: var(--bg-elevated);
  color: var(--text);
}

/* Improved mobile styles */
@media (max-width: 767px) {
  .s-section { padding: 32px 0; }
  .s-section__head h2 { font-size: 20px; }
  .s-grid { gap: 12px; }
  .s-card__info { padding: 12px; }
  .s-card__name { font-size: 13px; min-height: auto; -webkit-line-clamp: 2; }
  .s-card__rating { font-size: 11px; margin-bottom: 6px; }
  .s-card__price-now { font-size: 16px; }
  .s-card__btn { margin: 0 12px 12px; width: calc(100% - 24px); padding: 10px; font-size: 12px; }
  .s-card__badge { font-size: 9px; padding: 3px 7px; }
  .s-card__save { font-size: 10px; padding: 3px 7px; }
  .s-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* Rating stars */
.s-star { letter-spacing: 1px; }
.s-star--full { color: var(--gold); }
.s-star--half { color: var(--gold); opacity: .7; }
.s-star--empty { color: var(--text-dim); }
.s-rating-count { color: var(--text-muted); font-size: 12px; }

/* Empty state */
.s-empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}
.s-empty-state span { font-size: 48px; display: block; margin-bottom: 12px; }
.s-empty-state p { margin-bottom: 16px; font-size: 16px; }

/* Fix: Mobile header alignment */
@media (max-width: 767px) {
  .s-header__wrap {
    gap: 12px;
  }
  .s-logo {
    flex: 1;
    font-size: 18px;
  }
  .s-header__actions {
    gap: 4px;
  }
  .s-header__actions button,
  .s-header__actions a {
    width: 36px;
    height: 36px;
  }
  .s-header__actions svg {
    width: 20px;
    height: 20px;
  }
}

/* ============================================================
   FIX: Account page gap + Cart Drawer Redesign
   ============================================================ */

/* --- Account page: reduce gap between header and profile --- */
.s-account-page {
  padding-top: calc(var(--header-h) + var(--announce-h) + 10px);
}
.s-account__profile {
  margin: 12px auto;
}
.s-account__auth {
  margin: 20px auto;
}

/* --- Cart Drawer Redesign --- */

/* Cart items container */
.s-cart-items {
  padding: 12px 16px;
  gap: 12px;
  display: flex;
  flex-direction: column;
}

/* Cart item card */
.s-cart-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  position: relative;
  transition: border-color .2s ease;
}
.s-cart-item:hover {
  border-color: rgba(255,107,53,.3);
}
.s-cart-item:last-child {
  border-bottom: 1px solid var(--border);
}

/* Cart item image — bigger and nicer */
.s-cart-item__img {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

/* Cart item info */
.s-cart-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

/* Cart item name */
.s-cart-item__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
}

/* Cart item price */
.s-cart-item__price {
  font-size: 16px;
  font-weight: 800;
  color: var(--orange);
  font-family: 'Poppins', sans-serif;
  margin-bottom: 0;
}

/* Quantity controls — pill style */
.s-cart-item__qty {
  display: inline-flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 99px;
  overflow: hidden;
  height: 34px;
}
.s-cart-item__qty button,
.s-cart-item__qty .s-qty-btn {
  width: 34px;
  height: 34px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text);
  border: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
  border-radius: 99px;
}
.s-cart-item__qty button:hover,
.s-cart-item__qty .s-qty-btn:hover {
  background: var(--orange);
  color: #fff;
}
.s-cart-item__qty span {
  width: 32px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  background: transparent;
  line-height: 34px;
}

/* Remove button — top right corner */
.s-cart-item__remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-dim);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: all .2s ease;
  padding: 0;
  align-self: unset;
}
.s-cart-item__remove:hover {
  background: #ff4444;
  color: #fff;
  border-color: #ff4444;
}

/* --- Cart Bumps / Upsell Section --- */
.s-cart-bumps {
  margin: 4px 0 0;
  padding: 16px;
  background: linear-gradient(135deg, rgba(255,107,53,.06) 0%, rgba(255,215,0,.04) 100%);
  border: 1px solid rgba(255,107,53,.2);
  border-radius: 14px;
}
.s-cart-bumps__title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--orange);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.s-cart-bumps__title::before {
  content: "✨";
  font-size: 14px;
}

/* Individual bump card */
.s-cart-bump {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 8px;
  transition: border-color .2s ease;
}
.s-cart-bump:last-child {
  margin-bottom: 0;
}
.s-cart-bump:hover {
  border-color: rgba(255,107,53,.3);
}

/* Bump image */
.s-cart-bump img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

/* Bump info */
.s-cart-bump__info {
  flex: 1;
  min-width: 0;
}
.s-cart-bump__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.s-cart-bump__price {
  font-size: 14px;
  font-weight: 800;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 6px;
}
.s-cart-bump__old {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-dim);
  text-decoration: line-through;
}

/* Bump add button */
.s-cart-bump .s-btn--sm,
.s-cart-bump .s-btn--secondary {
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 99px;
  background: var(--orange);
  color: #fff;
  border: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s ease, transform .15s ease;
}
.s-cart-bump .s-btn--sm:hover,
.s-cart-bump .s-btn--secondary:hover {
  background: #e85a2a;
  transform: scale(1.05);
}

/* Cart header refinement */
.s-cart-header {
  padding: 16px 20px;
  background: var(--bg-card);
}
.s-cart-header h3 {
  font-size: 17px;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}
.s-cart-header h3::before {
  content: "🛒";
  font-size: 18px;
}

/* Cart footer refinement */
.s-cart-footer {
  padding: 16px 20px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}
.s-cart-footer__subtotal {
  margin-bottom: 12px;
}
.s-cart-footer__subtotal span:first-child {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}
.s-cart-footer__subtotal span:last-child {
  font-size: 22px;
  font-weight: 800;
}

/* Cart checkout button glow */
.s-cart-footer .s-btn--primary {
  border-radius: 12px;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .5px;
  box-shadow: 0 4px 16px rgba(255,107,53,.3);
  transition: box-shadow .2s ease, transform .15s ease;
}
.s-cart-footer .s-btn--primary:hover {
  box-shadow: 0 6px 24px rgba(255,107,53,.45);
  transform: translateY(-1px);
}

/* Empty cart refinement */
.s-cart-items .s-empty-state {
  padding: 60px 24px;
}
.s-cart-items .s-empty-state span {
  font-size: 56px;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .s-cart-item__img {
    width: 76px;
    height: 76px;
  }
  .s-cart-item {
    padding: 12px;
    border-radius: 12px;
  }
  .s-cart-item__name {
    font-size: 13px;
  }
  .s-cart-item__price {
    font-size: 15px;
  }
  .s-cart-bump img {
    width: 48px;
    height: 48px;
  }
}

/* ============================================================
   FIX: Bump/upsell images + layout improvement
   ============================================================ */

/* Bump card — horizontal layout with bigger images */
.s-cart-bump {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 10px;
}
.s-cart-bump:last-child {
  margin-bottom: 0;
}

/* Bump images — bigger, dark bg to hide white product backgrounds */
.s-cart-bump img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

/* Bump info — more space for name */
.s-cart-bump__info {
  flex: 1;
  min-width: 0;
}
.s-cart-bump__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}
.s-cart-bump__price {
  font-size: 15px;
  font-weight: 800;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 8px;
}
.s-cart-bump__old {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-dim);
  text-decoration: line-through;
}

/* Bump add button — pill style */
.s-cart-bump .s-btn--sm,
.s-cart-bump .s-btn--secondary,
.s-cart-bump .s-btn {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 99px;
  background: var(--orange);
  color: #fff;
  border: none;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
  box-shadow: 0 2px 8px rgba(255,107,53,.25);
}
.s-cart-bump .s-btn--sm:hover,
.s-cart-bump .s-btn--secondary:hover,
.s-cart-bump .s-btn:hover {
  background: #e85a2a;
  transform: scale(1.05);
}

/* Bumps container title */
.s-cart-bumps__title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--orange);
  margin-bottom: 14px;
}

@media (max-width: 480px) {
  .s-cart-bump img {
    width: 64px;
    height: 64px;
  }
  .s-cart-bump__name {
    font-size: 13px;
  }
  .s-cart-bump .s-btn--sm,
  .s-cart-bump .s-btn--secondary,
  .s-cart-bump .s-btn {
    padding: 8px 14px;
    font-size: 12px;
  }
}



/* ============================================================
   FIX: Product page — remove double padding between header,
   breadcrumb and product gallery
   ============================================================ */

/* body already has padding-top:100px for fixed header.
   breadcrumb-wrap and main should NOT duplicate that. */
.s-product-page {
  padding-top: 0 !important;
}
.s-breadcrumb-wrap {
  padding-top: 6px !important;
}
.s-breadcrumb-wrap .s-breadcrumb {
  padding: 4px 0 2px;
}

@media (max-width: 480px) {
  .s-breadcrumb-wrap {
    padding-top: 2px !important;
  }
  .s-breadcrumb-wrap .s-breadcrumb {
    padding: 2px 0 2px;
    font-size: 13px;
  }
}

/* ============================================================
   FIX: Account page gap, mobile menu gap, announce marquee
   ============================================================ */

/* Account page: body already clears the fixed header */
.s-account-page {
  padding-top: 4px !important;
}
.s-account__profile {
  margin: 4px auto !important;
}
.s-account__auth {
  margin: 4px auto !important;
}

/* Mobile menu: remove duplicate top padding, body already offsets */
.s-mobile-menu {
  padding-top: 0 !important;
}
.s-mobile-menu__header {
  margin-top: 0 !important;
  padding-top: 12px;
}

/* Announcement bar marquee scroll */
@keyframes announceScroll {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
.s-announce .s-container {
  animation: announceScroll 18s linear infinite;
  display: inline-block;
  white-space: nowrap;
}
