/* =========================================================
   SEWGO — Storefront styles
   ========================================================= */
:root {
  --bg-a: #cfd7da;
  --bg-b: #a9b5bb;
  --panel-top: #f2f4f3;
  --panel-bottom: #ebeedb;
  --card: rgba(255, 255, 255, 0.62);
  --card-strong: rgba(255, 255, 255, 0.86);
  --card-border: rgba(255, 255, 255, 0.95);
  --ink: #111214;
  --ink-2: #3c4046;
  --muted: #858a91;
  --line: rgba(17, 18, 20, 0.08);
  --lime: #dcf65a;
  --lime-deep: #c7e63a;
  --violet: #6b4cf6;
  --violet-soft: #ece8ff;
  --heart: #ef3b4a;
  --ok: #1f9d55;
  --danger: #d6343f;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 18px 40px -28px rgba(34, 44, 56, 0.35);
  --shadow-pop: 0 30px 80px -24px rgba(20, 24, 32, 0.35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "PingFang SC", "Hiragino Sans", "Malgun Gothic", "Noto Sans Arabic", "Noto Sans Devanagari", sans-serif;
  --display: "Inter Tight", var(--font);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  padding: clamp(10px, 2.4vw, 36px) clamp(10px, 2.4vw, 36px);
  font: 400 14px/1.5 var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(900px 700px at 110% 110%, rgba(120, 138, 150, 0.45), transparent 60%),
    linear-gradient(160deg, var(--bg-a), var(--bg-b));
  -webkit-font-smoothing: antialiased;
}
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-sm { width: 16px; height: 16px; }
.ic-fill { fill: currentColor; stroke: none; }
[dir="rtl"] .flip { transform: scaleX(-1); }

/* ---------- Shell ---------- */
.shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px;
  border-radius: 40px;
  background: linear-gradient(180deg, var(--panel-top) 0%, #eff1ee 55%, var(--panel-bottom) 100%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 50px 100px -40px rgba(30, 40, 52, 0.45), 0 2px 0 rgba(255, 255, 255, 0.8) inset;
}

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 8px);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 10px 30px -22px rgba(30, 40, 52, 0.4);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px 9px 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  font: 700 20px/1 var(--display);
  letter-spacing: -0.03em;
  direction: ltr;
}
.logo svg { width: 26px; height: 26px; }
.logo .dot { color: var(--violet); }

.search {
  flex: 0 1 300px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 5px 5px 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
  padding: 8px 0;
}
.search input::placeholder { color: #5b6067; }
.search button {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  transition: transform 0.2s var(--ease);
}
.search button:hover { transform: rotate(-20deg); }

.top-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  position: relative;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s var(--ease), background 0.2s;
}
.icon-btn:hover { transform: translateY(-1px); }
.icon-btn .heart { color: var(--heart); }
.badge-count {
  position: absolute;
  top: -2px; inset-inline-end: -2px;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--violet);
  color: #fff;
  font: 700 11px/19px var(--font);
  text-align: center;
  border: 2px solid #fff;
  transform: scale(0);
  transition: transform 0.25s var(--ease);
}
.badge-count.show { transform: scale(1); }
.badge-count.bump { animation: bump 0.4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* Language selector */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px;
  padding: 0 8px 0 14px;
  border-radius: 999px;
  background: #fff;
  font-weight: 500; font-size: 13px;
}
.lang-btn .flag {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--violet-soft), #fff);
  font: 700 11px/1 var(--font);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--violet);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  width: 220px;
  max-height: 60vh;
  overflow: auto;
  padding: 6px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-pop);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: 0.2s var(--ease);
  z-index: 60;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 14px;
  text-align: start;
}
.lang-menu button:hover { background: #f3f4f2; }
.lang-menu button[aria-checked="true"] { background: var(--violet-soft); color: var(--violet); font-weight: 600; }
.lang-menu small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- Cards / Dashboard ---------- */
.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 12px; color: var(--ink-2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.round-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s var(--ease), background 0.2s, color 0.2s;
  z-index: 2;
}
.round-link:hover { background: var(--ink); color: #fff; transform: rotate(45deg); }
[dir="rtl"] .round-link:hover { transform: rotate(-45deg); }

.dash {
  margin-top: 14px;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 0.8fr 1.4fr 1fr;
  grid-template-rows: auto auto 1fr auto;
  grid-template-areas:
    "hero hero hero colors"
    "hero hero hero newgen"
    "hero hero hero tall"
    "more stat pop  tall";
}
.a-hero { grid-area: hero; }
.a-colors { grid-area: colors; }
.a-newgen { grid-area: newgen; }
.a-tall { grid-area: tall; }
.a-more { grid-area: more; }
.a-stat { grid-area: stat; }
.a-pop { grid-area: pop; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 12px;
  min-height: 440px;
  padding: 30px 30px 26px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(245, 247, 244, 0.7));
}
.hero-text { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.hero-text .chip .grid4 { width: 12px; height: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5px; }
.hero-text .chip .grid4 i { background: var(--ink-2); border-radius: 1.5px; }
.hero h1 {
  margin: 22px 0 18px;
  font: 600 clamp(34px, 4.1vw, 54px)/1.04 var(--display);
  letter-spacing: -0.035em;
  max-width: 12ch;
  text-wrap: balance;
}
.slide-info { display: flex; align-items: center; gap: 14px; min-height: 64px; }
.slide-num {
  font: 300 46px/1 var(--display);
  color: transparent;
  -webkit-text-stroke: 1.2px #aeb3b9;
  letter-spacing: -0.02em;
  min-width: 2ch;
}
.slide-line { position: relative; width: clamp(50px, 8vw, 110px); height: 1px; background: #b9bdc2; flex: none; }
.slide-line::after {
  content: ""; position: absolute; inset-inline-end: -1px; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid #b9bdc2; border-inline-end: 1px solid #b9bdc2;
  transform: rotate(45deg);
}
[dir="rtl"] .slide-line::after { transform: rotate(-45deg); }
.slide-copy { max-width: 250px; }
.slide-copy strong { display: block; font: 500 15px/1.3 var(--font); margin-bottom: 3px; }
.slide-copy span { display: block; font-size: 12px; color: var(--muted); line-height: 1.45; }
.fade-swap { animation: fadeUp 0.55s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.btn-lime {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 30px;
  padding: 6px 6px 6px 22px;
  border-radius: 999px;
  background: var(--lime);
  font-weight: 600; font-size: 14px;
  box-shadow: 0 10px 24px -12px rgba(160, 200, 20, 0.8);
  transition: background 0.2s, transform 0.2s var(--ease);
}
.btn-lime:hover { background: var(--lime-deep); transform: translateY(-1px); }
.btn-lime .knob {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  transition: transform 0.3s var(--ease);
}
.btn-lime:hover .knob { transform: rotate(45deg); }
[dir="rtl"] .btn-lime:hover .knob { transform: rotate(-45deg); }

.follow { margin-top: auto; padding-top: 28px; display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-2); }
.follow a {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink-2);
  transition: 0.2s;
}
.follow a:hover { background: var(--ink); color: #fff; }
.follow .ic { width: 15px; height: 15px; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 320px; }
.hero-stage {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 1;
  cursor: pointer;
}
.hero-stage img {
  position: absolute; inset: 6% 6% 12%;
  width: 88%; height: 82%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
  animation: floaty 7s ease-in-out infinite;
}
.hero-stage::after {
  content: ""; position: absolute; left: 22%; right: 22%; bottom: 7%; height: 22px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(43, 26, 143, 0.22), transparent);
  animation: shadowPulse 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shadowPulse { 50% { transform: scaleX(0.86); opacity: 0.7; } }
.hero-stage img.out { opacity: 0; transform: translateY(14px) scale(0.94) rotate(-3deg); }
@keyframes floaty { 50% { translate: 0 -10px; } }
.orbit { position: absolute; inset-inline: 2%; bottom: 3%; width: 96%; height: 90px; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; animation: drift 9s ease-in-out infinite; pointer-events: none; }
.orb.pearl { background: radial-gradient(circle at 32% 30%, #fff 0%, #d8dbde 45%, #9aa0a6 100%); box-shadow: 0 6px 12px -4px rgba(0, 0, 0, 0.25); }
.orb.violet { background: radial-gradient(circle at 32% 30%, #a996ff 0%, #5a3be6 50%, #2b1a8f 100%); box-shadow: 0 6px 12px -4px rgba(60, 30, 180, 0.45); }
.orb.lime { background: radial-gradient(circle at 32% 30%, #f6ffc4 0%, #d4f046 55%, #93ad12 100%); }
.orb:nth-of-type(2) { animation-delay: -2s; }
.orb:nth-of-type(3) { animation-delay: -4s; }
.orb:nth-of-type(4) { animation-delay: -6s; }
@keyframes drift { 50% { transform: translate(6px, -12px); } }
.hero-nav {
  position: absolute; left: 50%; bottom: -2px;
  transform: translateX(-50%);
  display: flex; gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.25);
  z-index: 3;
}
.hero-nav button { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; transition: background 0.2s; }
.hero-nav button:hover { background: #f1f2f0; }
.hero-dots { position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%); display: flex; gap: 6px; }
.hero-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(17, 18, 20, 0.18); transition: 0.3s var(--ease); }
.hero-dots i.on { width: 18px; background: var(--ink); }

/* Popular colors */
.colors { padding: 16px 18px 18px; }
.card-title { margin: 0; font: 500 15px/1.3 var(--font); letter-spacing: -0.01em; }
.swatches { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.swatch {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.15), inset 0 3px 5px rgba(255, 255, 255, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.06);
  outline: 2px solid transparent;
  outline-offset: 3px;
  transition: transform 0.2s var(--ease), outline-color 0.2s;
}
.swatch:hover { transform: scale(1.1); }
.swatch[aria-pressed="true"] { outline-color: var(--ink); }

/* New gen card */
.newgen { min-height: 150px; padding: 16px 18px; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; }
.newgen .card-title { position: relative; z-index: 2; max-width: 52%; }
.newgen img {
  position: absolute; inset-inline-end: -6%; bottom: -8%;
  width: 66%; height: 116%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.6s var(--ease);
}
.newgen:hover img { transform: scale(1.05) rotate(-3deg); }

/* Tall card */
.tall { min-height: 300px; cursor: pointer; display: flex; flex-direction: column; justify-content: flex-end; }
.tall .bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 0.9s var(--ease); }
.tall:hover .bgimg { transform: scale(1.05); }
.tall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(250, 250, 248, 0.98) 18%, rgba(250, 250, 248, 0.75) 36%, transparent 62%); }
.tall .round-link { position: absolute; top: 14px; inset-inline-end: 14px; }
.tall .txt { position: relative; z-index: 2; padding: 18px; }
.tall .txt strong { display: block; font: 500 16px/1.25 var(--font); letter-spacing: -0.01em; }
.tall .txt span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }

/* More products */
.more { padding: 16px; display: flex; flex-direction: column; }
.more .sub { font-size: 12px; color: var(--muted); }
.more .fav-mini { position: absolute; top: 14px; inset-inline-end: 14px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.95); color: var(--heart); }
.thumbs { margin-top: auto; padding-top: 16px; display: flex; gap: 8px; }
.thumbs button {
  flex: 1;
  aspect-ratio: 1;
  max-width: 64px;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 12px -8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s var(--ease);
}
.thumbs button:hover { transform: translateY(-3px); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* Stat */
.stat { padding: 14px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.avatars { display: flex; z-index: 2; }
.avatars span {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 20px;
  border: 2px solid #fff;
  margin-inline-start: -10px;
  box-shadow: 0 3px 8px -3px rgba(0, 0, 0, 0.2);
}
.avatars span:first-child { margin-inline-start: 0; }
.stat-circle {
  margin-top: -10px;
  width: 112px; height: 112px;
  border-radius: 50%;
  display: grid; place-content: center;
  color: #fff;
  background: radial-gradient(circle at 30% 25%, #8f78ff, var(--violet) 55%, #4a2fd0);
  box-shadow: 0 16px 30px -14px rgba(90, 60, 230, 0.8);
}
.stat-circle b { font: 500 28px/1 var(--display); letter-spacing: -0.02em; }
.stat-circle small { font-size: 11px; opacity: 0.85; margin-top: 4px; padding: 0 10px; line-height: 1.2; }
.stat .pill { margin-top: -14px; display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px; border-radius: 999px; background: #fff; font-size: 12px; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.3); z-index: 2; }
.star { color: #f5b301; }

/* Popular */
.pop { display: grid; grid-template-columns: 1fr 1fr; min-height: 150px; cursor: pointer; }
.pop .l { padding: 16px; display: flex; flex-direction: column; align-items: flex-start; }
.pop .chip { background: #fff; font-size: 11px; padding: 4px 10px; }
.pop .chip .ic { width: 12px; height: 12px; color: #f0592f; }
.pop .card-title { margin-top: 14px; font-size: 14px; max-width: 16ch; }
.stack { margin-top: auto; display: flex; }
.stack img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-inline-start: -8px; background: #fff; }
.stack img:first-child { margin-inline-start: 0; }
.pop .r { position: relative; margin: 8px; margin-inline-start: 0; border-radius: 18px; overflow: hidden; }
.pop .r img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.pop:hover .r img { transform: scale(1.06); }
.pop .round-link { position: absolute; top: 8px; inset-inline-end: 8px; width: 34px; height: 34px; }
.rating-chip { position: absolute; bottom: 8px; inset-inline-end: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.95); font-size: 11px; font-weight: 600; }
.rating-chip .ic { width: 12px; height: 12px; }

/* ---------- Catalog ---------- */
.section { margin-top: 44px; padding: 0 8px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 20px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: var(--violet); text-transform: uppercase; letter-spacing: 0.08em; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.section h2 { margin: 6px 0 0; font: 600 clamp(26px, 3vw, 38px)/1.1 var(--display); letter-spacing: -0.03em; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter {
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--card-border);
  font-size: 13px; font-weight: 500;
  transition: 0.2s;
}
.filter:hover { background: #fff; }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.select-wrap { position: relative; }
.select-wrap select {
  appearance: none;
  padding: 9px 36px 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: #fff;
  font-size: 13px; font-weight: 500;
  cursor: pointer;
}
[dir="rtl"] .select-wrap select { padding: 9px 16px 9px 36px; }
.select-wrap .ic { position: absolute; top: 50%; inset-inline-end: 12px; width: 14px; height: 14px; transform: translateY(-50%); pointer-events: none; }
.results-note { font-size: 13px; color: var(--muted); margin: -8px 0 16px; display: flex; gap: 10px; align-items: center; }
.results-note button { color: var(--violet); font-weight: 600; font-size: 13px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.p-card {
  display: flex; flex-direction: column;
  padding: 8px;
  border-radius: var(--r-lg);
  background: var(--card-strong);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  animation: fadeUp 0.5s var(--ease) both;
}
.p-card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(34, 44, 56, 0.45); }
.p-media { position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: #f3f4f1; }
.p-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: opacity 0.4s, transform 0.6s var(--ease); }
.p-media img.alt { position: absolute; inset: 0; opacity: 0; object-fit: cover; mix-blend-mode: normal; }
.p-card:hover .p-media img.alt { opacity: 1; }
.p-card:hover .p-media img { transform: scale(1.04); }
.tag-off { position: absolute; top: 10px; inset-inline-start: 10px; padding: 5px 10px; border-radius: 999px; background: var(--lime); font-size: 11px; font-weight: 700; z-index: 2; }
.fav-btn {
  position: absolute; top: 8px; inset-inline-end: 8px; z-index: 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink-2);
  transition: transform 0.2s var(--ease);
}
.fav-btn:hover { transform: scale(1.1); }
.fav-btn[aria-pressed="true"] { color: var(--heart); }
.fav-btn[aria-pressed="true"] .ic { fill: currentColor; }
.p-body { padding: 12px 8px 6px; display: flex; flex-direction: column; flex: 1; }
.p-body h3 { margin: 0; font: 500 14px/1.35 var(--font); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-meta { margin-top: 6px; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.p-meta .ic { width: 13px; height: 13px; }
.p-dots { display: flex; gap: 4px; margin-inline-start: auto; }
.p-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.p-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.price { font: 600 20px/1 var(--display); letter-spacing: -0.02em; }
.compare { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); text-decoration: line-through; }
.add-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  flex: none;
  transition: transform 0.2s var(--ease), background 0.2s;
}
.add-btn:hover { background: var(--violet); transform: scale(1.06); }
.empty-state { text-align: center; padding: 50px 20px; color: var(--muted); }

/* Perks */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.perk { padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
.perk .pi { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #fff; flex: none; color: var(--violet); }
.perk strong { display: block; font-weight: 600; font-size: 14px; }
.perk span { font-size: 12px; color: var(--muted); }

/* Footer */
.footer { margin-top: 44px; padding: 28px; border-radius: 28px; background: var(--ink); color: #d9dbde; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; }
.footer .logo { background: rgba(255, 255, 255, 0.08); color: #fff; }
.footer p { font-size: 13px; color: #9ca1a8; max-width: 32ch; margin: 14px 0 0; }
.footer h4 { margin: 4px 0 12px; font-size: 13px; color: #fff; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 13px; }
.footer ul a:hover { color: var(--lime); }
.pay-logos { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-logos span { padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); font-size: 11px; font-weight: 700; letter-spacing: 0.02em; color: #fff; }
.footer-bottom { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12px; color: #80868d; }

/* ---------- Bottom sheets ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(16, 18, 22, 0.42);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.scrim.open { opacity: 1; visibility: visible; }
.sheet {
  position: fixed; z-index: 90;
  left: 50%; bottom: 0;
  width: min(560px, 100%);
  max-height: min(88vh, 900px);
  display: flex; flex-direction: column;
  border-radius: 30px 30px 0 0;
  background: linear-gradient(180deg, #fafbf9, #f1f3ee);
  box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, 105%);
  transition: transform 0.45s var(--ease);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  visibility: hidden;
}
.sheet.open { transform: translate(-50%, 0); visibility: visible; }
.sheet.dragging { transition: none; }
.sheet.wide { width: min(1000px, 100%); }
.sheet-grab { padding: 10px 0 2px; display: grid; place-items: center; cursor: grab; touch-action: none; }
.sheet-grab i { width: 44px; height: 5px; border-radius: 3px; background: rgba(17, 18, 20, 0.18); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 22px 14px; touch-action: none; }
.sheet-head h3 { margin: 0; font: 600 22px/1.2 var(--display); letter-spacing: -0.02em; }
.sheet-head h3 small { font: 500 13px var(--font); color: var(--muted); margin-inline-start: 6px; }
.close-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; flex: none; }
.sheet-body { flex: 1; overflow: auto; padding: 0 22px 18px; overscroll-behavior: contain; }
.sheet-foot { padding: 16px 22px 20px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.7); }

.ship-progress { padding: 12px 14px; border-radius: 16px; background: #fff; font-size: 13px; margin-bottom: 14px; }
.ship-progress .bar { margin-top: 8px; height: 6px; border-radius: 3px; background: #eceee9; overflow: hidden; }
.ship-progress .bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--violet), #9d8bff); transition: width 0.5s var(--ease); }
.ship-progress.ok .bar i { background: linear-gradient(90deg, #9bd21a, var(--lime)); }
.line-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 18px; background: #fff; margin-bottom: 8px; }
.line-item .th { width: 76px; height: 76px; border-radius: 14px; background: #f3f4f1; overflow: hidden; cursor: pointer; }
.line-item .th img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.line-item h4 { margin: 0; font-size: 13px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-item .var { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.line-item .var i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15); }
.line-item .row { margin-top: 8px; display: flex; align-items: center; gap: 10px; }
.line-item .lp { font-weight: 600; font-size: 14px; text-align: end; }
.line-item .rm { margin-top: 6px; color: var(--muted); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.line-item .rm:hover { background: #fdecee; color: var(--danger); }
.line-item .end { display: flex; flex-direction: column; align-items: flex-end; }
.stepper { display: inline-flex; align-items: center; border-radius: 999px; background: #f1f2ef; padding: 3px; }
.stepper button { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; }
.stepper button:disabled { opacity: 0.4; cursor: default; }
.stepper output { min-width: 28px; text-align: center; font-weight: 600; font-size: 13px; }
.stepper.lg button { width: 38px; height: 38px; }
.stepper.lg output { min-width: 40px; font-size: 15px; }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; }
.sum-row strong { font: 600 22px/1 var(--display); letter-spacing: -0.02em; }
.sum-note { font-size: 12px; color: var(--muted); margin: 4px 0 14px; }
.btn-dark {
  width: 100%;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 7px 7px 7px 24px;
  border-radius: 999px;
  background: var(--ink); color: #fff;
  font-weight: 600; font-size: 15px;
  transition: background 0.2s, transform 0.2s var(--ease);
}
.btn-dark:hover { background: #26282c; }
.btn-dark:active { transform: scale(0.99); }
.btn-dark .knob { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); flex: none; }
.btn-dark:disabled { opacity: 0.6; cursor: progress; }
.btn-ghost { width: 100%; margin-top: 8px; padding: 12px; border-radius: 999px; font-weight: 500; font-size: 14px; color: var(--ink-2); }
.btn-ghost:hover { background: rgba(0, 0, 0, 0.04); }
.sheet-empty { text-align: center; padding: 30px 10px 40px; }
.sheet-empty .bubble { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--violet); }
.sheet-empty .bubble .ic { width: 34px; height: 34px; }
.sheet-empty h4 { margin: 0; font: 600 18px var(--display); }
.sheet-empty p { margin: 6px 0 18px; color: var(--muted); }
.sheet-empty .btn-lime { margin-top: 0; }

/* Product sheet */
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: 26px; }
.pd-gallery { position: sticky; top: 0; align-self: start; }
.pd-main { aspect-ratio: 1; border-radius: 24px; background: #fff; overflow: hidden; }
.pd-main img { width: 100%; height: 100%; object-fit: contain; animation: fadeUp 0.4s var(--ease); }
.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.pd-thumbs button { width: 70px; height: 70px; border-radius: 14px; overflow: hidden; background: #fff; border: 2px solid transparent; }
.pd-thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info h2 { margin: 8px 0 8px; font: 600 clamp(20px, 2.4vw, 26px)/1.2 var(--display); letter-spacing: -0.02em; }
.pd-rating { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.pd-price { margin: 16px 0 6px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.pd-price .price { font-size: 32px; }
.pd-price .compare { display: inline; font-size: 14px; }
.save-pill { padding: 4px 10px; border-radius: 999px; background: var(--lime); font-size: 12px; font-weight: 700; }
.promo-pill { display: inline-flex; margin-top: 4px; padding: 4px 10px; border-radius: 999px; background: var(--violet-soft); color: var(--violet); font-size: 12px; font-weight: 600; }
.stock { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ok); margin-top: 8px; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(31, 157, 85, 0.15); }
.opt-label { margin: 18px 0 8px; font-size: 13px; font-weight: 600; }
.opt-label span { font-weight: 400; color: var(--muted); }
.variant-row { display: flex; gap: 10px; }
.pd-actions { display: flex; gap: 10px; align-items: center; margin-top: 20px; flex-wrap: wrap; }
.pd-actions .btn-dark { flex: 1; min-width: 220px; width: auto; }
.pd-actions .fav-btn { position: static; width: 52px; height: 52px; background: #fff; }
.tabs { margin-top: 24px; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; overflow-x: auto; scrollbar-width: none; }
.tabs button { flex: 1; padding: 9px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; white-space: nowrap; color: var(--ink-2); }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab-panel { padding: 16px 4px 8px; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.tab-panel p { margin: 0 0 12px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; margin-top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px var(--violet-soft); }
.checks.tips li::before { background: #f0a200; box-shadow: 0 0 0 4px #fff3d6; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.spec-table th, .spec-table td { padding: 10px 4px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.spec-table th { font-weight: 500; color: var(--muted); width: 42%; }

/* Toast */
.toasts { position: fixed; z-index: 120; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 16px); transform: translateX(-50%); display: grid; gap: 8px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; box-shadow: var(--shadow-pop); animation: toastIn 0.4s var(--ease); }
.toast .ti { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); }
.toast.out { opacity: 0; transform: translateY(-8px); transition: 0.3s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px) scale(0.96); } }

/* ---------- Checkout ---------- */
.co-top .back { display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; height: 46px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 500; }
.secure-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ok); font-weight: 600; padding: 0 12px; }
.co-grid { margin-top: 14px; display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; align-items: start; }
.co-title { margin: 18px 8px 2px; font: 600 clamp(28px, 3.4vw, 42px)/1.1 var(--display); letter-spacing: -0.035em; }
.co-step { padding: 22px; margin-bottom: 14px; background: var(--card-strong); }
.co-step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.co-step-head .slide-num { font-size: 36px; }
.co-step-head h3 { margin: 0; font: 600 18px/1.2 var(--display); letter-spacing: -0.01em; }
.fields { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.f { grid-column: span 6; display: flex; flex-direction: column; gap: 6px; }
.f.s3 { grid-column: span 3; }
.f.s2 { grid-column: span 2; }
.f.s4 { grid-column: span 4; }
.f label { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.f input, .f select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid #e3e5e0;
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.f select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23111' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-inline-end: 36px; }
[dir="rtl"] .f select { background-position: left 14px center; }
.f input:focus, .f select:focus { border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-soft); }
.f.invalid input, .f.invalid select { border-color: var(--danger); box-shadow: 0 0 0 4px #fdecee; }
.f .err { font-size: 11px; color: var(--danger); min-height: 0; }
.f .err:empty { display: none; }
.check-line { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); grid-column: span 6; cursor: pointer; }
.check-line input { width: 18px; height: 18px; accent-color: var(--violet); }
.ship-opts { display: grid; gap: 10px; }
.ship-opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1.5px solid #e6e8e3; cursor: pointer; transition: 0.2s; }
.ship-opt:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17, 18, 20, 0.06); }
.ship-opt input { width: 18px; height: 18px; accent-color: var(--ink); }
.ship-opt .ic { color: var(--violet); }
.ship-opt div { flex: 1; }
.ship-opt strong { display: block; font-size: 14px; font-weight: 600; }
.ship-opt span { font-size: 12px; color: var(--muted); }
.ship-opt b { font-size: 14px; }
.pay-box { border-radius: 18px; background: #fff; border: 1px solid #e6e8e3; padding: 18px; }
.pay-demo { display: grid; place-items: center; text-align: center; gap: 10px; padding: 18px 10px; border: 1.5px dashed #d6d2f7; border-radius: 14px; background: repeating-linear-gradient(135deg, #faf9ff, #faf9ff 10px, #f5f3ff 10px, #f5f3ff 20px); color: var(--ink-2); font-size: 13px; }
.pay-demo .brands { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pay-demo .brands span { padding: 5px 9px; border-radius: 7px; background: #fff; border: 1px solid #e6e8e3; font-size: 11px; font-weight: 700; }
.pay-note { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.pay-error { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: #fdecee; color: var(--danger); font-size: 13px; }
.terms { margin: 12px 0 0; font-size: 11px; color: var(--muted); text-align: center; }

.summary { position: sticky; top: 96px; padding: 22px; background: var(--card-strong); }
.summary h3 { margin: 0 0 16px; font: 600 18px/1.2 var(--display); }
.s-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; }
.s-item .th { position: relative; width: 60px; height: 60px; border-radius: 14px; background: #fff; }
.s-item .th img { width: 100%; height: 100%; object-fit: contain; border-radius: 14px; }
.s-item .th b { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 11px; line-height: 20px; text-align: center; }
.s-item h4 { margin: 0; font-size: 13px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s-item small { color: var(--muted); font-size: 12px; }
.s-item .lp { font-weight: 600; font-size: 13px; }
.coupon { display: flex; gap: 8px; margin: 16px 0; }
.coupon input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid #e3e5e0; background: #fff; outline: none; text-transform: uppercase; }
.coupon input:focus { border-color: var(--violet); }
.coupon input::placeholder { text-transform: none; }
.coupon button { padding: 0 18px; border-radius: 999px; background: #fff; border: 1px solid #e3e5e0; font-weight: 600; font-size: 13px; }
.coupon button:hover { background: var(--ink); color: #fff; }
.coupon-msg { font-size: 12px; margin: -8px 0 12px; }
.coupon-msg.ok { color: var(--ok); }
.coupon-msg.bad { color: var(--danger); }
.totals { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.totals div { display: flex; justify-content: space-between; gap: 10px; }
.totals .muted { color: var(--muted); }
.totals .disc { color: var(--ok); }
.totals .grand { padding-top: 12px; border-top: 1px solid var(--line); align-items: baseline; }
.totals .grand strong { font: 600 26px/1 var(--display); letter-spacing: -0.02em; }
.summary-toggle { display: none; }
.co-result { max-width: 560px; margin: 40px auto; padding: 40px 28px; text-align: center; }
.co-result .bubble { width: 90px; height: 90px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); }
.co-result .bubble .ic { width: 40px; height: 40px; stroke-width: 2.4; }
.co-result h2 { margin: 0; font: 600 30px/1.15 var(--display); letter-spacing: -0.03em; }
.co-result p { color: var(--ink-2); margin: 10px 0 6px; }
.co-result .order-no { display: inline-block; margin: 8px 0 22px; padding: 6px 14px; border-radius: 999px; background: #fff; font-weight: 600; font-size: 13px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .dash {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-template-areas:
      "hero hero"
      "colors colors"
      "newgen tall"
      "pop pop"
      "more stat";
  }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .co-grid { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
  .summary-toggle {
    display: flex; width: 100%; justify-content: space-between; align-items: center;
    font-weight: 600; font-size: 14px;
  }
  .summary-toggle .ic { transition: transform 0.3s; }
  .summary:not(.expanded) .summary-body { display: none; }
  .summary.expanded .summary-toggle .ic { transform: rotate(180deg); }
  .summary.expanded .summary-toggle { margin-bottom: 14px; }
  .summary h3 { display: none; }
  .pd { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
}
@media (max-width: 720px) {
  body { padding: 8px; }
  .shell { padding: 10px; border-radius: 28px; }
  .topbar { flex-wrap: wrap; border-radius: 24px; top: calc(env(safe-area-inset-top, 0px) + 6px); }
  .logo { padding: 8px 14px 8px 10px; font-size: 18px; }
  .search { order: 5; flex: 1 1 100%; }
  .icon-btn { width: 42px; height: 42px; }
  .lang-btn { height: 42px; padding: 0 5px 0 12px; }
  .lang-btn .lang-name { display: none; }
  .hero { grid-template-columns: 1fr; padding: 22px 20px; min-height: 0; }
  .hero-visual { order: -1; min-height: 0; }
  .hero-stage { width: min(100%, 320px); }
  .hero h1 { margin-top: 16px; max-width: none; }
  .btn-lime { margin-top: 22px; }
  .dash {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "hero hero"
      "colors colors"
      "newgen newgen"
      "tall tall"
      "pop pop"
      "more stat";
  }
  .tall { min-height: 340px; }
  .perks { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; padding: 22px; }
  .fields { grid-template-columns: repeat(2, 1fr); }
  .f, .f.s3, .f.s4 { grid-column: span 2; }
  .f.s2 { grid-column: span 1; }
  .check-line { grid-column: span 2; }
  .co-step { padding: 18px; }
  .sheet { max-height: 92vh; border-radius: 26px 26px 0 0; }
  .sheet-head, .sheet-body, .sheet-foot { padding-inline: 16px; }
  .section { padding: 0 4px; }
}
@media (max-width: 420px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .p-card { padding: 6px; border-radius: 20px; }
  .p-body { padding: 10px 4px 4px; }
  .p-body h3 { font-size: 13px; }
  .price { font-size: 17px; }
  .add-btn { width: 38px; height: 38px; }
  .p-dots { display: none; }
  .dash { grid-template-areas: "hero hero" "colors colors" "newgen newgen" "tall tall" "pop pop" "more more" "stat stat"; }
  .slide-num { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
