/* ==========================================================================
   Trendy Choice — Design System
   iOS-inspired premium minimalism. White / neutral, hairline borders,
   generous spacing, soft radii, restrained motion.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #0a0a0c;
  --ink-2: #1d1d1f;
  --muted: #6e6e73;
  --muted-2: #8e8e93;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --bg-sand: #f2efe9;
  --bg-sand-2: #e9e4da;
  --accent: #0a84ff;
  --accent-ink: #0066cc;
  --success: #1c8c4a;
  --success-bg: #e8f6ee;
  --warn: #9a6400;
  --warn-bg: #fdf3e0;
  --danger: #c0392b;
  --danger-bg: #fdecea;

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.1);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --header-h: 64px;
  --max: 1240px;
  --gutter: 24px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Inter", "Hind Siliguri", "Segoe UI", Roboto, system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.011em;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection {
  background: #d7e9ff;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap-narrow {
  max-width: 820px;
}
.section {
  padding: 88px 0;
}
.section-sm {
  padding: 56px 0;
}
.section-soft {
  background: var(--bg-soft);
}
.section-sand {
  background: var(--bg-sand);
}
.stack {
  display: flex;
  flex-direction: column;
}
.row {
  display: flex;
  align-items: center;
}
.between {
  justify-content: space-between;
}
.gap-8 {
  gap: 8px;
}
.gap-12 {
  gap: 12px;
}
.gap-16 {
  gap: 16px;
}
.gap-24 {
  gap: 24px;
}
.grow {
  flex: 1;
}
.center {
  text-align: center;
}
.hide {
  display: none !important;
}
.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;
}

/* ---------- Typography ---------- */
.display {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.h4 {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  color: var(--muted);
  letter-spacing: -0.01em;
}
.small {
  font-size: 0.875rem;
  color: var(--muted);
}
.tiny {
  font-size: 0.78rem;
  color: var(--muted-2);
}
.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.mono {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.balance {
  text-wrap: balance;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.2s, opacity 0.2s,
    box-shadow 0.25s;
  white-space: nowrap;
  user-select: none;
}
.btn:hover {
  background: #26262a;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}
.btn:active {
  transform: translateY(0) scale(0.985);
}
.btn[disabled],
.btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}
.btn-sm {
  height: 38px;
  padding: 0 18px;
  font-size: 0.86rem;
}
.btn-lg {
  height: 54px;
  padding: 0 34px;
  font-size: 1rem;
}
.btn-block {
  width: 100%;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.04);
  box-shadow: none;
}
.btn-soft {
  background: var(--bg-soft);
  color: var(--ink);
}
.btn-soft:hover {
  background: #ececef;
  box-shadow: none;
}
.btn-white {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
}
.btn-danger {
  background: var(--danger);
}
.btn-danger:hover {
  background: #a93226;
}
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--accent-ink);
  border-radius: 6px;
}
.btn-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  color: var(--ink);
  transition: background 0.2s;
  position: relative;
}
.icon-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}
.icon-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.6;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.nav a {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  color: var(--ink-2);
  transition: background 0.2s, color 0.2s;
}
.nav a:hover {
  background: rgba(0, 0, 0, 0.045);
}
.nav a.active {
  color: var(--ink);
  font-weight: 500;
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
}
.bag-count {
  position: absolute;
  top: 3px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  display: grid;
  place-items: center;
  line-height: 1;
}
.bag-count[data-empty="true"] {
  display: none;
}
.menu-toggle {
  display: none;
}

/* Mobile sheet */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
}
.sheet.open {
  display: block;
}
.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  animation: fade 0.25s var(--ease);
}
.sheet-panel {
  position: absolute;
  inset: 0 0 auto 0;
  background: #fff;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  padding: 18px 20px 26px;
  animation: sheetDown 0.32s var(--ease-out);
  max-height: 88vh;
  overflow: auto;
}
.sheet-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--line);
}
.sheet-panel a:last-child {
  border-bottom: 0;
}
@keyframes sheetDown {
  from {
    transform: translateY(-14px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Mobile tab bar */
.tabbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 70;
  height: 62px;
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--line);
}
.tabbar-inner {
  height: 62px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0;
  position: relative;
}
.tabbar a.active {
  color: var(--ink);
}
.tabbar svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.6;
}
.tabbar .bag-count {
  top: 6px;
  right: calc(50% - 18px);
}

/* ---------- Hero ---------- */
.hero {
  padding: 28px 0 0;
}
.hero-panel {
  position: relative;
  border-radius: var(--r-2xl);
  background: linear-gradient(180deg, #f4f1ec 0%, #eae5dc 100%);
  overflow: hidden;
  min-height: 520px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 20px;
  padding: 56px 56px 56px 60px;
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 480px;
}
.hero-copy .eyebrow {
  color: #8a7f6d;
  margin-bottom: 18px;
}
.hero-copy h1 {
  margin-bottom: 20px;
}
.hero-copy p {
  color: #5c564c;
  font-size: 1.06rem;
  line-height: 1.6;
  max-width: 400px;
  margin-bottom: 30px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-media {
  position: relative;
  height: 100%;
  min-height: 400px;
}
.hero-media img {
  position: absolute;
  border-radius: var(--r-lg);
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(60, 50, 35, 0.16);
}
.hero-media .hm-1 {
  width: 58%;
  aspect-ratio: 3/4;
  right: 4%;
  top: 2%;
  z-index: 2;
}
.hero-media .hm-2 {
  width: 44%;
  aspect-ratio: 1/1;
  left: 0;
  bottom: 4%;
  z-index: 3;
}
.hero-media .hm-3 {
  width: 34%;
  aspect-ratio: 1/1;
  right: 0;
  bottom: 0;
  z-index: 1;
  opacity: 0.95;
}
.hero-badge {
  position: absolute;
  z-index: 4;
  left: 2%;
  top: 6%;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: var(--r-pill);
  padding: 9px 16px;
  font-size: 0.78rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 7px;
}
.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.18);
}

/* ---------- Trust strip ---------- */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 28px;
}
.trust-item {
  background: #fff;
  padding: 22px 24px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.trust-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke-width: 1.5;
  color: var(--ink);
}
.trust-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.trust-item span {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ---------- Section head ---------- */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.sec-head .eyebrow {
  margin-bottom: 10px;
}
.sec-head p {
  color: var(--muted);
  margin-top: 10px;
  max-width: 520px;
}

/* ---------- Category chips ---------- */
.chips {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.chips::-webkit-scrollbar {
  display: none;
}
.chip {
  flex-shrink: 0;
  height: 38px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 0.86rem;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.chip:hover {
  border-color: var(--ink);
}
.chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.chip .count {
  font-size: 0.72rem;
  opacity: 0.55;
}

/* ---------- Product grid & card ---------- */
.grid-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 22px;
}
.grid-products.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.card-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 4/5;
  margin-bottom: 14px;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out), opacity 0.4s;
}
.card:hover .card-media img {
  transform: scale(1.045);
}
.card-media .img-alt {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.card:hover .card-media .img-alt {
  opacity: 1;
}
.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: var(--r-pill);
  padding: 5px 11px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}
.card-badge.soldout {
  background: rgba(10, 10, 12, 0.82);
  color: #fff;
}
.card-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.25s var(--ease);
}
.card:hover .card-fav {
  opacity: 1;
  transform: none;
}
.card-fav svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.7;
}
.card-fav.on svg {
  fill: var(--ink);
}
.quick-add {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  height: 42px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s var(--ease-out);
  box-shadow: var(--shadow-sm);
}
.card:hover .quick-add {
  opacity: 1;
  transform: none;
}
.quick-add:hover {
  background: #fff;
}
.quick-add svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.8;
}
.card-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 2px;
}
.card-cat {
  font-size: 0.72rem;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}
.card-title {
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.35;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card:hover .card-title {
  color: var(--accent-ink);
}
.card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 3px;
}
.price {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.price-was {
  font-size: 0.82rem;
  color: var(--muted-2);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}
.swatches {
  display: flex;
  gap: 5px;
  margin-top: 7px;
}
.swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: inset 0 0 0 1.5px #fff;
}

/* Skeleton */
.sk {
  background: linear-gradient(90deg, #f0f0f2 25%, #f7f7f9 37%, #f0f0f2 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: var(--r-sm);
}
@keyframes shimmer {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
.sk-card .sk-media {
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  margin-bottom: 14px;
}
.sk-line {
  height: 11px;
  margin-bottom: 8px;
}
.sk-line.w60 {
  width: 60%;
}
.sk-line.w40 {
  width: 40%;
}

/* ---------- Editorial / feature blocks ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}
.feature {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  padding: 34px;
  color: #fff;
  isolation: isolate;
}
.feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.9s var(--ease-out);
}
.feature:hover img {
  transform: scale(1.04);
}
.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0.55) 100%
  );
}
.feature h3 {
  font-size: 1.5rem;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}
.feature p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 16px;
}
.feature .btn {
  height: 40px;
  padding: 0 20px;
  font-size: 0.85rem;
  background: #fff;
  color: var(--ink);
}
.feature .btn:hover {
  background: #fff;
}

/* ---------- Value props ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
}
.value .v-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.value .v-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
}
.value h4 {
  margin-bottom: 7px;
}
.value p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- Newsletter ---------- */
.newsletter {
  border-radius: var(--r-2xl);
  background: var(--ink);
  color: #fff;
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.newsletter h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.newsletter p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  max-width: 380px;
}
.nl-form {
  display: flex;
  gap: 10px;
}
.nl-form input {
  flex: 1;
  height: 52px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  padding: 0 22px;
  font-size: 0.92rem;
  min-width: 0;
}
.nl-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.nl-form .btn {
  background: #fff;
  color: var(--ink);
  height: 52px;
}
.nl-form .btn:hover {
  background: #f0f0f0;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 280px;
  margin: 14px 0 20px;
  line-height: 1.6;
}
.socials {
  display: flex;
  gap: 8px;
}
.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: all 0.2s;
}
.socials a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.socials svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.6;
}
.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 16px;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--accent-ink);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--muted-2);
}
.pay-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.pay-badge {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--muted);
  background: #fff;
}

/* ---------- Breadcrumb ---------- */
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted-2);
  padding: 22px 0 0;
  flex-wrap: wrap;
}
.crumbs a:hover {
  color: var(--ink);
}
.crumbs span.sep {
  opacity: 0.5;
}

/* ---------- Shop layout ---------- */
.shop-head {
  padding: 34px 0 26px;
}
.shop-head h1 {
  margin-bottom: 8px;
}
.shop-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.search-field {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 340px;
}
.search-field svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  stroke-width: 1.7;
  color: var(--muted-2);
  pointer-events: none;
}
.search-field input {
  width: 100%;
  height: 42px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: #fff;
  padding: 0 16px 0 40px;
  font-size: 0.88rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-field input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}
.select-wrap {
  position: relative;
}
.select-wrap select {
  height: 42px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: #fff;
  padding: 0 36px 0 16px;
  font-size: 0.86rem;
  appearance: none;
  cursor: pointer;
}
.select-wrap::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.result-count {
  font-size: 0.84rem;
  color: var(--muted);
  margin-left: auto;
}
.filter-toggle {
  display: none;
}
.shop-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 80px;
}
.filters {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.filter-group {
  padding: 0 0 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.filter-group:last-child {
  border-bottom: 0;
}
.filter-group h5 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 14px;
}
.filter-list label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  font-size: 0.88rem;
  cursor: pointer;
  color: var(--ink-2);
}
.filter-list input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--ink);
  cursor: pointer;
}
.filter-list .n {
  margin-left: auto;
  font-size: 0.76rem;
  color: var(--muted-2);
}
.price-range {
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-range input {
  width: 100%;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 0 10px;
  font-size: 0.84rem;
  min-width: 0;
}
.empty-state {
  text-align: center;
  padding: 80px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-xl);
}
.empty-state .e-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}
.empty-state h3 {
  margin-bottom: 8px;
}
.empty-state p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 22px;
}

/* ---------- Product detail ---------- */
.pdp {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  padding: 28px 0 80px;
  align-items: start;
}
.pdp-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.pdp-main {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 1/1;
  position: relative;
}
.pdp-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pdp-thumbs {
  display: flex;
  gap: 10px;
}
.pdp-thumb {
  width: 76px;
  height: 76px;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1.5px solid transparent;
  background: var(--bg-soft);
  transition: border-color 0.2s;
}
.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pdp-thumb.active {
  border-color: var(--ink);
}
.pdp-info {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.pdp-info .card-cat {
  margin-bottom: 10px;
}
.pdp-info h1 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin-bottom: 14px;
}
.pdp-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
.pdp-price .price {
  font-size: 1.6rem;
}
.pdp-price .price-was {
  font-size: 1rem;
}
.pdp-price .save {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--success);
  background: var(--success-bg);
  padding: 3px 8px;
  border-radius: var(--r-pill);
}
.pdp-rating {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 22px;
}
.stars {
  display: inline-flex;
  gap: 1px;
  color: var(--ink);
}
.stars svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  stroke: none;
}
.pdp-desc {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 26px;
}
.opt-group {
  margin-bottom: 22px;
}
.opt-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.opt-head .lbl {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.opt-head .val {
  font-size: 0.84rem;
  color: var(--ink);
}
.opt-values {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.opt {
  min-width: 44px;
  height: 40px;
  padding: 0 15px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 0.86rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.18s;
}
.opt:hover {
  border-color: var(--ink);
}
.opt.active {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
  font-weight: 500;
}
.opt[disabled] {
  opacity: 0.35;
  text-decoration: line-through;
  cursor: not-allowed;
}
.opt .sw {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  height: 48px;
  overflow: hidden;
}
.qty button {
  width: 44px;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: var(--ink);
  transition: background 0.2s;
}
.qty button:hover {
  background: var(--bg-soft);
}
.qty span {
  min-width: 34px;
  text-align: center;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}
.pdp-actions {
  display: flex;
  gap: 10px;
  margin: 26px 0 18px;
}
.pdp-actions .btn {
  flex: 1;
}
.pdp-meta {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: grid;
  gap: 12px;
}
.pdp-meta-row {
  display: flex;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--muted);
  align-items: flex-start;
}
.pdp-meta-row svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke-width: 1.6;
  color: var(--ink);
}
.pdp-meta-row strong {
  color: var(--ink);
  font-weight: 500;
}
.accordion {
  border-top: 1px solid var(--line);
  margin-top: 22px;
}
.acc-item {
  border-bottom: 1px solid var(--line);
}
.acc-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
}
.acc-head svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s;
  stroke-width: 1.8;
}
.acc-item.open .acc-head svg {
  transform: rotate(45deg);
}
.acc-body {
  display: none;
  padding: 0 0 18px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}
.acc-item.open .acc-body {
  display: block;
}

/* ---------- Cart ---------- */
.page-head {
  padding: 40px 0 28px;
}
.page-head h1 {
  margin-bottom: 8px;
}
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
  padding-bottom: 90px;
}
.cart-list {
  border-top: 1px solid var(--line);
}
.cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.cart-item-img {
  width: 96px;
  height: 112px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-soft);
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-info h4 {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.35;
}
.cart-item-info .variant {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}
.qty-sm {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  height: 34px;
}
.qty-sm button {
  width: 32px;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}
.qty-sm span {
  min-width: 26px;
  text-align: center;
  font-size: 0.84rem;
}
.remove-link {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.remove-link:hover {
  color: var(--danger);
}
.cart-item-price {
  text-align: right;
  font-weight: 600;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}
.summary {
  background: var(--bg-soft);
  border-radius: var(--r-xl);
  padding: 28px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.summary h3 {
  font-size: 1.05rem;
  margin-bottom: 20px;
}
.sum-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 7px 0;
  color: var(--muted);
}
.sum-row strong {
  color: var(--ink);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.sum-row.total {
  border-top: 1px solid var(--line-strong);
  margin-top: 12px;
  padding-top: 16px;
  font-size: 1rem;
  color: var(--ink);
  font-weight: 600;
}
.sum-row.total strong {
  font-size: 1.2rem;
  font-weight: 600;
}
.summary .btn {
  margin-top: 20px;
}
.summary .note {
  font-size: 0.76rem;
  color: var(--muted-2);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}
.promo-row {
  display: flex;
  gap: 8px;
  margin: 16px 0 4px;
}
.promo-row input {
  flex: 1;
  height: 40px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: #fff;
  padding: 0 12px;
  font-size: 0.84rem;
  min-width: 0;
}
.promo-row button {
  height: 40px;
  padding: 0 16px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
}

/* ---------- Checkout ---------- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: start;
  padding-bottom: 90px;
}
.co-section {
  margin-bottom: 34px;
}
.co-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.co-step {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.co-section-head h3 {
  font-size: 1.05rem;
}
.field {
  margin-bottom: 14px;
}
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.field label .req {
  color: var(--danger);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 48px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: #fff;
  padding: 0 14px;
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea {
  height: auto;
  min-height: 88px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.5;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}
.field input.invalid,
.field select.invalid,
.field textarea.invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.08);
}
.field .err {
  display: none;
  font-size: 0.76rem;
  color: var(--danger);
  margin-top: 5px;
}
.field.has-error .err {
  display: block;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}
.hint {
  font-size: 0.76rem;
  color: var(--muted-2);
  margin-top: 5px;
}
.pay-options {
  display: grid;
  gap: 10px;
}
.pay-opt {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
}
.pay-opt:hover {
  border-color: var(--ink);
}
.pay-opt.selected {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.pay-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pay-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  transition: border-color 0.2s;
}
.pay-opt.selected .pay-radio {
  border-color: var(--ink);
}
.pay-opt.selected .pay-radio::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
}
.pay-opt .p-name {
  font-size: 0.9rem;
  font-weight: 500;
}
.pay-opt .p-desc {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 1px;
}
.pay-logo {
  width: 40px;
  height: 28px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  flex-shrink: 0;
}
.pay-logo.cod {
  background: var(--ink);
}
.pay-logo.bkash {
  background: #e2136e;
}
.pay-logo.nagad {
  background: #ec1c24;
}
.pay-logo.rocket {
  background: #8c3494;
}
.pay-logo.upay {
  background: #f7941d;
}
.manual-pay {
  display: none;
  margin-top: 14px;
  padding: 20px;
  border-radius: var(--r-md);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.manual-pay.show {
  display: block;
  animation: fade 0.3s var(--ease);
}
.manual-pay .mp-head {
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.mp-number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  margin-bottom: 12px;
}
.mp-number .num {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.mp-number .type {
  font-size: 0.72rem;
  color: var(--muted);
}
.mp-steps {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
  padding-left: 16px;
  list-style: decimal;
}
.mp-steps li {
  margin-bottom: 3px;
}
.co-summary-items {
  max-height: 300px;
  overflow: auto;
  margin-bottom: 16px;
}
.co-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  align-items: center;
}
.co-item-img {
  width: 52px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
  position: relative;
}
.co-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.co-item-qty {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.62rem;
  display: grid;
  place-items: center;
  font-weight: 600;
}
.co-item-info {
  flex: 1;
  min-width: 0;
}
.co-item-info h5 {
  font-size: 0.82rem;
  font-weight: 500;
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.co-item-info span {
  font-size: 0.74rem;
  color: var(--muted);
}
.co-item-price {
  font-size: 0.84rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.secure-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  color: var(--muted);
  justify-content: center;
  margin-top: 14px;
}
.secure-note svg {
  width: 13px;
  height: 13px;
  stroke-width: 1.8;
}

/* ---------- Confirmation / tracking ---------- */
.confirm-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 0 90px;
  text-align: center;
}
.confirm-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  display: grid;
  place-items: center;
  margin: 0 auto 26px;
  animation: pop 0.5s var(--ease-out);
}
.confirm-icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 2;
}
@keyframes pop {
  0% {
    transform: scale(0.7);
    opacity: 0;
  }
  60% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.confirm-wrap h1 {
  margin-bottom: 12px;
}
.confirm-wrap > p {
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto 30px;
  line-height: 1.6;
}
.order-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px;
  text-align: left;
  margin-bottom: 20px;
}
.order-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.order-id {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.order-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}
.om label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  margin-bottom: 4px;
}
.om div {
  font-size: 0.88rem;
  line-height: 1.5;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 0.76rem;
  font-weight: 500;
  white-space: nowrap;
}
.status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.st-pending {
  background: var(--warn-bg);
  color: var(--warn);
}
.st-confirmed {
  background: #e8f1fd;
  color: #0a5fbf;
}
.st-processing {
  background: #eef0fd;
  color: #4b4fc4;
}
.st-shipped {
  background: #e9f4fb;
  color: #0b6f9c;
}
.st-delivered {
  background: var(--success-bg);
  color: var(--success);
}
.st-cancelled,
.st-rejected {
  background: var(--danger-bg);
  color: var(--danger);
}
.timeline {
  margin-top: 6px;
}
.tl-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  position: relative;
  padding-bottom: 22px;
}
.tl-item:last-child {
  padding-bottom: 0;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 20px;
  bottom: 0;
  width: 1.5px;
  background: var(--line);
}
.tl-item:last-child::before {
  display: none;
}
.tl-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1.5px solid var(--line-strong);
  display: grid;
  place-items: center;
  z-index: 1;
}
.tl-dot svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.4;
}
.tl-item.done .tl-dot {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.tl-item.current .tl-dot {
  background: #fff;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06);
}
.tl-body h5 {
  font-size: 0.88rem;
  font-weight: 500;
  margin: 2px 0 2px;
}
.tl-body p {
  font-size: 0.78rem;
  color: var(--muted);
}
.tl-body time {
  font-size: 0.72rem;
  color: var(--muted-2);
}
.track-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 34px;
}
.track-form input {
  flex: 1;
  height: 50px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  padding: 0 20px;
  font-size: 0.92rem;
  min-width: 0;
}
.track-form input:focus {
  outline: none;
  border-color: var(--ink);
}

/* ---------- Toast ---------- */
.toast-host {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  pointer-events: none;
  width: max-content;
  max-width: calc(100vw - 32px);
}
.toast {
  background: rgba(10, 10, 12, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  font-size: 0.86rem;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.35s var(--ease-out);
  display: flex;
  align-items: center;
  gap: 9px;
}
.toast svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
}
.toast.out {
  animation: toastOut 0.3s var(--ease) forwards;
}
@keyframes toastIn {
  from {
    transform: translateY(14px) scale(0.96);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@keyframes toastOut {
  to {
    transform: translateY(8px);
    opacity: 0;
  }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Demo banner ---------- */
.demo-bar {
  background: #fff8e6;
  border-bottom: 1px solid #f0e2bd;
  color: #7a5c00;
  font-size: 0.78rem;
  text-align: center;
  padding: 8px 16px;
  line-height: 1.4;
}
.demo-bar strong {
  font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-products {
    grid-template-columns: repeat(3, 1fr);
  }
  .pdp {
    gap: 36px;
  }
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr 330px;
    gap: 32px;
  }
  .hero-panel {
    padding: 44px;
    min-height: 460px;
  }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .footer-col:last-child {
    display: none;
  }
}
@media (max-width: 900px) {
  :root {
    --gutter: 20px;
  }
  .nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .section {
    padding: 64px 0;
  }
  .hero-panel {
    grid-template-columns: 1fr;
    padding: 40px 32px 0;
    min-height: 0;
    gap: 0;
  }
  .hero-copy {
    max-width: 100%;
    padding-bottom: 32px;
  }
  .hero-media {
    min-height: 300px;
    height: 300px;
  }
  .hero-media .hm-1 {
    width: 46%;
    right: 2%;
    top: 0;
  }
  .hero-media .hm-2 {
    width: 38%;
    left: 2%;
    bottom: 0;
  }
  .hero-media .hm-3 {
    width: 30%;
    right: 0;
    bottom: 0;
  }
  .hero-badge {
    top: 0;
    left: 0;
  }
  .trust {
    grid-template-columns: 1fr 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .values {
    grid-template-columns: 1fr;
  }
  .newsletter {
    grid-template-columns: 1fr;
    padding: 40px 28px;
    gap: 24px;
  }
  .pdp {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pdp-info {
    position: static;
  }
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .summary {
    position: static;
  }
  .shop-body {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .filters {
    position: static;
    display: none;
    padding-bottom: 20px;
  }
  .filters.open {
    display: block;
  }
  .filter-toggle {
    display: inline-flex;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-col:last-child {
    display: block;
  }
  .tabbar {
    display: block;
  }
  body {
    padding-bottom: 62px;
  }
  .toast-host {
    bottom: 78px;
  }
  .grid-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 14px;
  }
  .grid-products.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .sec-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
  }
  .order-meta-grid {
    grid-template-columns: 1fr;
  }
  .field-row-3 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  :root {
    --gutter: 16px;
    --header-h: 56px;
  }
  .display {
    font-size: 2.35rem;
  }
  .hero {
    padding-top: 16px;
  }
  .hero-panel {
    border-radius: var(--r-xl);
    padding: 30px 22px 0;
  }
  .hero-copy p {
    font-size: 0.95rem;
  }
  .hero-cta .btn {
    flex: 1;
    padding: 0 18px;
  }
  .hero-media {
    height: 250px;
    min-height: 250px;
  }
  .trust {
    grid-template-columns: 1fr;
  }
  .trust-item {
    padding: 16px 18px;
  }
  .section {
    padding: 48px 0;
  }
  .card-media {
    border-radius: var(--r-md);
    margin-bottom: 10px;
  }
  .card-title {
    font-size: 0.86rem;
  }
  .price {
    font-size: 0.9rem;
  }
  .quick-add {
    display: none;
  }
  .card-fav {
    opacity: 1;
    transform: none;
    width: 30px;
    height: 30px;
  }
  .card-badge {
    font-size: 0.6rem;
    padding: 4px 8px;
    top: 8px;
    left: 8px;
  }
  .newsletter {
    border-radius: var(--r-xl);
    padding: 32px 22px;
  }
  .nl-form {
    flex-direction: column;
  }
  .nl-form .btn {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .cart-item {
    grid-template-columns: 76px 1fr;
    gap: 14px;
  }
  .cart-item-img {
    width: 76px;
    height: 92px;
  }
  .cart-item-price {
    grid-column: 2;
    text-align: left;
    margin-top: 6px;
  }
  .pdp-thumb {
    width: 62px;
    height: 62px;
  }
  .pdp-actions {
    flex-direction: column;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .track-form {
    flex-direction: column;
  }
  .track-form .btn {
    width: 100%;
  }
  .order-card {
    padding: 20px;
  }
  .confirm-wrap {
    padding: 36px 0 60px;
  }
  .shop-toolbar {
    gap: 8px;
  }
  .search-field {
    max-width: none;
    flex-basis: 100%;
  }
  .result-count {
    margin-left: 0;
  }
}
