/* =========================================================
       DESIGN TOKENS — все цвета, размеры и тени только здесь
       ========================================================= */
:root,
[data-theme="light"] {
  /* Fonts */
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", "Helvetica Neue", sans-serif;

  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm: clamp(0.8125rem, 0.78rem + 0.3vw, 0.9375rem);
  --text-base: clamp(0.9375rem, 0.9rem + 0.2vw, 1rem);
  --text-md: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --text-xl: clamp(1.375rem, 1.1rem + 1.1vw, 1.875rem);
  --text-2xl: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);

  /* Spacing (4px grid) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;

  /* Surfaces */
  --bg: #f5f4f0;
  --surface: #faf9f6;
  --surface-2: #ffffff;
  --surface-off: #eeece6;
  --divider: #e4e1d9;
  --border: #d8d4cc;

  /* Text */
  --text: #1a1714;
  --text-muted: #6a6660;
  --text-faint: #aeaaa4;
  --text-inv: #faf9f6;

  /* Primary — forest green */
  --primary: #2a6854;
  --primary-h: #1d5242;
  --primary-a: #113b2e;
  --primary-hi: #cfe6de;
  --primary-glow: oklch(from #2a6854 l c h / 0.22);

  /* Accent — warm sand */
  --accent: #c08558;
  --accent-h: #a86d42;
  --accent-hi: #f3e5d5;

  /* Promo — deep crimson */
  --promo: #b83438;
  --promo-bg: #fceaea;
  --promo-glow: oklch(from #b83438 l c h / 0.18);

  /* Radius */
  --r-sm: 0.375rem;
  --r-md: 0.625rem;
  --r-lg: 0.875rem;
  --r-xl: 1.125rem;
  --r-2xl: 1.5rem;
  --r-full: 9999px;

  /* Shadows */
  --sh-xs: 0 1px 2px oklch(0.15 0.01 60/0.05);
  --sh-sm:
    0 1px 3px oklch(0.15 0.01 60/0.06), 0 2px 8px oklch(0.15 0.01 60/0.04);
  --sh-md:
    0 2px 8px oklch(0.15 0.01 60/0.08), 0 6px 20px oklch(0.15 0.01 60/0.05);
  --sh-lg:
    0 8px 24px oklch(0.15 0.01 60/0.1), 0 20px 44px oklch(0.15 0.01 60/0.06);
  --sh-card-hover:
    0 4px 16px oklch(0.15 0.01 60/0.12), 0 14px 36px oklch(0.15 0.01 60/0.08);
  --sh-glow-primary:
    0 0 16px var(--primary-glow), 0 4px 12px oklch(0.15 0.01 60/0.1);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t: 200ms;
  --t-lg: 320ms;

  /* Layout */
  --max-w: 1240px;
}

/* dark-blue */
[data-theme="dark"] {
  --bg: #0f1720;
  --surface: #151d27;
  --surface-2: #1b2430;
  --surface-off: #121923;
  --divider: #253140;
  --border: #314051;

  --text: #e9f0f6;
  --text-muted: #9baaba;
  --text-faint: #667587;
  --text-inv: #151d27;

  --primary: #6ea6c9;
  --primary-h: #5a93b7;
  --primary-a: #3e7699;
  --primary-hi: #1a2d3d;
  --primary-glow: oklch(from #6ea6c9 l c h / 0.22);

  --accent: #c9a47a;
  --accent-h: #af8a61;
  --accent-hi: #352a20;

  --promo: #c97a7d;
  --promo-bg: #2c1b22;
  --promo-glow: oklch(from #c97a7d l c h / 0.16);

  --r-sm: 0.375rem;
  --r-md: 0.625rem;
  --r-lg: 0.875rem;
  --r-xl: 1.125rem;
  --r-2xl: 1.5rem;
  --r-full: 9999px;

  --sh-xs: 0 1px 2px oklch(0 0 0 / 0.22);
  --sh-sm: 0 1px 3px oklch(0 0 0 / 0.26), 0 2px 8px oklch(0 0 0 / 0.18);
  --sh-md: 0 2px 8px oklch(0 0 0 / 0.34), 0 6px 20px oklch(0 0 0 / 0.22);
  --sh-lg: 0 8px 24px oklch(0 0 0 / 0.42), 0 20px 44px oklch(0 0 0 / 0.26);
  --sh-card-hover:
    0 4px 16px oklch(0 0 0 / 0.42),
    0 0 0 1px oklch(from var(--primary) l c h / 0.2);
  --sh-glow-primary:
    0 0 20px var(--primary-glow), 0 4px 12px oklch(0 0 0 / 0.3);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t: 200ms;
  --t-lg: 320ms;

  --max-w: 1240px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #121110;
    --surface: #191714;
    --surface-2: #1e1c19;
    --surface-off: #161412;
    --divider: #282522;
    --border: #322f2a;
    --text: #eae7e0;
    --text-muted: #857f76;
    --text-faint: #4e4a44;
    --text-inv: #191714;
    --primary: #56a38a;
    --primary-h: #3a8e74;
    --primary-a: #277260;
    --primary-hi: #1a3330;
    --primary-glow: oklch(from #56a38a l c h/.25);
    --accent: #d49870;
    --accent-h: #bc7e55;
    --accent-hi: #3a2c20;
    --promo: #e06468;
    --promo-bg: #2c1616;
    --promo-glow: oklch(from #e06468 l c h/.2);
    --sh-xs: 0 1px 2px oklch(0 0 0/0.25);
    --sh-sm: 0 1px 3px oklch(0 0 0/0.3);
    --sh-md: 0 2px 8px oklch(0 0 0/0.4);
    --sh-lg: 0 8px 24px oklch(0 0 0/0.5);
    --sh-card-hover:
      0 4px 16px oklch(0 0 0/0.5),
      0 0 0 1px oklch(from var(--primary) l c h/.25);
    --sh-glow-primary:
      0 0 20px var(--primary-glow), 0 4px 12px oklch(0 0 0/0.35);
  }
}

/* =========================================================
       BASE RESET
       ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--sp-16);
}
body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img,
picture {
  display: block;
  max-width: 100%;
  height: auto;
  background: var(--surface-off);
}
ul,
ol {
  list-style: none;
}
button {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  text-wrap: balance;
  line-height: 1.2;
}
p {
  text-wrap: pretty;
}
::selection {
  background: oklch(from var(--primary) l c h / 0.2);
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* Universal interactive transitions */
a,
button,
[role="button"],
input {
  transition:
    color var(--t) var(--ease),
    background var(--t) var(--ease),
    border-color var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    transform var(--t) var(--ease),
    opacity var(--t) var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !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-width: 0;
}

/* =========================================================
       LAYOUT
       ========================================================= */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(var(--sp-4), 4vw, var(--sp-8));
}

/* =========================================================
       PROMO BANNER
       ========================================================= */
.promo-banner {
  background: linear-gradient(
    90deg,
    var(--promo-bg) 0%,
    color-mix(in oklch, var(--promo-bg) 60%, var(--surface)) 100%
  );
  border-bottom: 1px solid oklch(from var(--promo) l c h / 0.18);
  padding-block: 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.promo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 100% at 50% 50%,
    oklch(from var(--promo) l c h / 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.promo-banner-inner {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--promo);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.promo-banner-inner strong {
  font-weight: 700;
  font-size: var(--text-md);
  letter-spacing: -0.01em;
}
.promo-sep {
  width: 3px;
  height: 3px;
  border-radius: var(--r-full);
  background: currentColor;
  opacity: 0.5;
}

/* =========================================================
       HEADER
       ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--bg) l c h / 0.9);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--divider);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding-block: var(--sp-3);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.logo-icon {
  width: 30px;
  height: 30px;
  color: var(--primary);
  flex-shrink: 0;
}
.logo-dot {
  color: var(--accent);
}

/* Search */
.search-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--surface-off);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: var(--sp-2) var(--sp-4);
  flex: 1;
  max-width: 380px;
}
.search-bar:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font: inherit;
  font-size: var(--text-sm);
  color: var(--text);
}
.search-bar input::placeholder {
  color: var(--text-faint);
}
.search-icon {
  color: var(--text-faint);
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}

/* Icon button (theme toggle) */
.btn-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  color: var(--text-muted);
  flex-shrink: 0;
}
.btn-icon:hover {
  background: var(--surface-off);
  color: var(--text);
}
.btn-icon:active {
  transform: scale(0.92);
}

@media (max-width: 600px) {
  .search-bar {
    max-width: none;
    order: 3;
    flex-basis: 100%;
  }
  .header-inner {
    flex-wrap: wrap;
  }
}

/* =========================================================
       HERO STRIP
       ========================================================= */
.hero-strip {
  padding-block: clamp(var(--sp-8), 5vw, var(--sp-12));
}
.hero-text {
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}
.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-3);
}
.hero-title em {
  font-style: italic;
  color: var(--primary);
}
.hero-sub {
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 52ch;
  margin-inline: auto;
}

/* =========================================================
       FILTERS + COUNT ROW
       ========================================================= */
.filters-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}
.filter-tabs {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}
.filter-tab {
  padding: 6px var(--sp-4);
  border-radius: var(--r-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
}
.filter-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.filter-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-inv);
  box-shadow: var(--sh-glow-primary);
}
.filter-tab:active {
  transform: scale(0.95);
}
.count-label {
  font-size: var(--text-sm);
  color: var(--text-faint);
}
.count-label span {
  font-weight: 600;
  color: var(--text-muted);
}

/* =========================================================
       DISCLAIMER NOTICE
       ========================================================= */
.disclaimer-notice {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5);
  margin-bottom: var(--sp-6);
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}
.disclaimer-notice svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

/* =========================================================
       PRODUCT GRID
       ========================================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 700px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-2);
  }
}

/* =========================================================
       PRODUCT CARD  — marketplace style
       ========================================================= */
.product-card {
  background: var(--surface-2);
  border-radius: var(--r-xl);
  border: 1px solid var(--divider);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-sm);
  cursor: pointer;
  position: relative;
}
.product-card:hover {
  box-shadow: var(--sh-card-hover);
  transform: translateY(-2px);
  border-color: oklch(from var(--primary) l c h / 0.25);
}
.product-card:active {
  transform: translateY(0);
  box-shadow: var(--sh-sm);
}

/* Image */
.card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 50% 20%,
      oklch(from var(--primary) l c h / 0.06),
      transparent 45%
    ),
    linear-gradient(
      180deg,
      var(--surface-off) 0%,
      color-mix(in oklch, var(--surface-off) 82%, black) 100%
    );
  display: block;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 38%;
  transition:
    transform var(--t-lg) var(--ease),
    opacity var(--t-lg) var(--ease);
  opacity: 1;
}
.product-card:hover .card-img-wrap img {
  transform: scale(1.05);
}

/* Badge on image */
.card-badge {
  position: absolute;
  top: var(--sp-2);
  left: var(--sp-2);
  background: var(--promo);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: var(--r-sm);
  text-transform: uppercase;
}

/* Wishlist */
.card-wishlist {
  position: absolute;
  top: var(--sp-2);
  right: var(--sp-2);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: oklch(from var(--surface-2) l c h / 0.88);
  backdrop-filter: blur(6px);
  border-radius: var(--r-full);
  color: var(--text-faint);
  opacity: 0;
}
.product-card:hover .card-wishlist {
  opacity: 1;
}
.card-wishlist:hover {
  color: var(--promo);
  transform: scale(1.15);
}
.card-wishlist.active {
  opacity: 1;
  color: var(--promo);
}

/* card price */
.card-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-2);
}

.card-price-current {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.card-price-old {
  font-size: var(--text-sm);
  color: var(--text-faint);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: oklch(from var(--text-faint) l c h / 0.8);
}

/* Skeleton shimmer */
.img-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--surface-off) 25%,
    var(--surface) 50%,
    var(--surface-off) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

/* Card body */
.card-body {
  padding: var(--sp-3) var(--sp-3) var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  flex: 1;
}
.card-brand {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-title {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-sub {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CTA full-width like WB */
.card-cta-wrap {
  padding: 0 var(--sp-3) var(--sp-3);
}
.btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  width: 100%;
  padding: 9px var(--sp-4);
  background: var(--primary);
  color: var(--text-inv);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--r-md);
  border: none;
  letter-spacing: 0.01em;
}
.btn-cta:hover {
  background: var(--primary-h);
  box-shadow: var(--sh-glow-primary);
}
.btn-cta:active {
  background: var(--primary-a);
  transform: scale(0.97);
}

/* =========================================================
       SKELETON CARDS
       ========================================================= */
.card-skeleton {
  background: var(--surface-2);
  border-radius: var(--r-xl);
  border: 1px solid var(--divider);
  overflow: hidden;
}
.skel-block {
  background: linear-gradient(
    90deg,
    var(--surface-off) 25%,
    var(--surface) 50%,
    var(--surface-off) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: var(--r-sm);
}
.skel-img {
  aspect-ratio: 4/3;
  width: 100%;
  border-radius: 0;
}
.skel-body {
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.skel-line {
  height: 11px;
}
.w30 {
  width: 30%;
}
.w55 {
  width: 55%;
}
.w75 {
  width: 75%;
}

/* =========================================================
       EMPTY STATE
       ========================================================= */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-16) var(--sp-8);
  color: var(--text-muted);
  grid-column: 1 / -1;
}
.empty-state svg {
  width: 44px;
  height: 44px;
  color: var(--text-faint);
  margin-bottom: var(--sp-4);
}
.empty-state h3 {
  color: var(--text);
  font-size: var(--text-lg);
  margin-bottom: var(--sp-2);
}
.empty-state p {
  max-width: 34ch;
  font-size: var(--text-sm);
}

/* =========================================================
       SCROLL FADE REVEAL
       ========================================================= */
.fade-in {
  opacity: 1;
}
@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
  }
  @keyframes reveal-fade {
    to {
      opacity: 1;
    }
  }
}

/* =========================================================
       FOOTER
       ========================================================= */
.site-footer {
  margin-top: var(--sp-16);
  padding-block: var(--sp-10);
  border-top: 1px solid var(--divider);
  background: var(--surface);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
}
@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
}
.footer-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--sp-3);
}
.footer-entity {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}
.footer-entity strong {
  color: var(--text);
  font-weight: 600;
}
.footer-entity a {
  color: var(--primary);
}
.footer-entity a:hover {
  color: var(--primary-h);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  margin-top: var(--sp-4);
}
.footer-link {
  font-size: var(--text-xs);
  color: var(--text-muted);
  border-bottom: 1px solid var(--divider);
  padding-bottom: 1px;
}
.footer-link:hover {
  color: var(--primary);
  border-color: var(--primary);
}
.footer-bottom {
  margin-top: var(--sp-8);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--divider);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--text-faint);
}
.footer-disclaimer {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.65;
}
.footer-disclaimer em {
  display: block;
  color: var(--text-faint);
  margin-top: var(--sp-2);
  font-style: normal;
}

/* =========================================================
       BACK TO TOP
       ========================================================= */
.back-top {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: 50;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: var(--text-inv);
  border-radius: var(--r-full);
  box-shadow: var(--sh-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}
.back-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-top:hover {
  background: var(--primary-h);
  box-shadow: var(--sh-glow-primary);
}
.back-top:active {
  transform: scale(0.9);
}

/* =========================================================
       GLOW ANIMATION on cards (subtle)
       ========================================================= */
@keyframes card-appear {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.product-card.appearing {
  animation: card-appear 0.38s var(--ease) both;
}
