/* Premium visual layer — animations & polish (no functional changes) */

/* ── Live ambient background ── */
.wsf-root {
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, color-mix(in srgb, var(--wsf-primary) 9%, transparent), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 50%, color-mix(in srgb, var(--wsf-accent) 7%, transparent), transparent 45%),
    radial-gradient(ellipse 70% 45% at 0% 80%, color-mix(in srgb, var(--wsf-primary) 6%, transparent), transparent 50%),
    var(--wsf-surface-2);
}

.wsf-ambient__aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.38;
  mix-blend-mode: soft-light;
  animation: wsf-prem-aurora 18s ease-in-out infinite;
}

.wsf-ambient__aurora--1 {
  width: min(560px, 90vw);
  height: min(320px, 50vw);
  top: 8%;
  left: -12%;
  background: linear-gradient(135deg, var(--wsf-primary), var(--wsf-accent));
  animation-delay: 0s;
}

.wsf-ambient__aurora--2 {
  width: min(480px, 85vw);
  height: min(280px, 45vw);
  bottom: 5%;
  right: -10%;
  background: linear-gradient(225deg, var(--wsf-accent), color-mix(in srgb, var(--wsf-primary) 60%, white));
  animation-delay: -6s;
}

.wsf-ambient__aurora--3 {
  width: min(360px, 70vw);
  height: min(240px, 40vw);
  top: 42%;
  left: 38%;
  background: linear-gradient(90deg, color-mix(in srgb, var(--wsf-accent) 70%, transparent), var(--wsf-primary));
  opacity: 0.22;
  animation-delay: -12s;
}

@keyframes wsf-prem-aurora {
  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 0.32;
  }
  33% {
    transform: translate(4%, -3%) scale(1.06) rotate(2deg);
    opacity: 0.48;
  }
  66% {
    transform: translate(-3%, 4%) scale(0.96) rotate(-1deg);
    opacity: 0.36;
  }
}

.wsf-ambient__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, color-mix(in srgb, var(--wsf-primary) 14%, transparent) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, black 0%, transparent 85%);
  opacity: 0.35;
  animation: wsf-prem-grid-drift 40s linear infinite;
}

@keyframes wsf-prem-grid-drift {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(28px);
  }
}

.wsf-ambient__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.wsf-ambient__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--wsf-primary) 55%, white);
  box-shadow: 0 0 12px color-mix(in srgb, var(--wsf-primary) 40%, transparent);
  opacity: 0;
  animation: wsf-prem-particle 12s ease-in-out infinite;
}

.wsf-ambient__particle:nth-child(1) { left: 8%; top: 18%; animation-delay: 0s; animation-duration: 14s; }
.wsf-ambient__particle:nth-child(2) { left: 22%; top: 62%; animation-delay: -2s; animation-duration: 11s; width: 3px; height: 3px; }
.wsf-ambient__particle:nth-child(3) { left: 45%; top: 28%; animation-delay: -4s; animation-duration: 16s; }
.wsf-ambient__particle:nth-child(4) { left: 68%; top: 72%; animation-delay: -1s; animation-duration: 13s; width: 5px; height: 5px; }
.wsf-ambient__particle:nth-child(5) { left: 82%; top: 35%; animation-delay: -6s; animation-duration: 15s; }
.wsf-ambient__particle:nth-child(6) { left: 55%; top: 88%; animation-delay: -3s; animation-duration: 12s; width: 3px; height: 3px; }
.wsf-ambient__particle:nth-child(7) { left: 12%; top: 82%; animation-delay: -5s; animation-duration: 17s; }
.wsf-ambient__particle:nth-child(8) { left: 92%; top: 58%; animation-delay: -7s; animation-duration: 10s; }
.wsf-ambient__particle:nth-child(9) { left: 35%; top: 48%; animation-delay: -8s; animation-duration: 14s; width: 2px; height: 2px; }
.wsf-ambient__particle:nth-child(10) { left: 75%; top: 12%; animation-delay: -9s; animation-duration: 11s; }

@keyframes wsf-prem-particle {
  0%,
  100% {
    opacity: 0;
    transform: translateY(0) scale(0.6);
  }
  15% {
    opacity: 0.7;
  }
  50% {
    opacity: 0.35;
    transform: translateY(-28px) scale(1);
  }
  85% {
    opacity: 0.6;
  }
}

.wsf-root.wsf-motion-on .wsf-ambient {
  transition: transform 0.1s linear;
  will-change: transform;
}

/* ── Hero ── */
.wsf-hero-static__aurora {
  position: absolute;
  inset: -20%;
  background:
    conic-gradient(from 210deg at 70% 30%, color-mix(in srgb, var(--wsf-accent) 22%, transparent), transparent 35%, color-mix(in srgb, var(--wsf-primary) 18%, transparent) 55%, transparent 75%);
  filter: blur(48px);
  opacity: 0.55;
  animation: wsf-prem-hero-aurora 14s ease-in-out infinite;
}

@keyframes wsf-prem-hero-aurora {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(8deg) scale(1.05);
  }
}

.wsf-hero-static__float-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.wsf-hero-float-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--wsf-primary) 18%, transparent);
  background: color-mix(in srgb, var(--wsf-surface) 75%, transparent);
  backdrop-filter: blur(10px);
  color: var(--wsf-primary);
  box-shadow: 0 12px 32px -16px var(--wsf-glow);
  animation: wsf-prem-float-icon 7s ease-in-out infinite;
}

.wsf-hero-float-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.wsf-hero-float-icon--1 { top: 12%; right: 8%; animation-delay: 0s; }
.wsf-hero-float-icon--2 { top: 58%; right: 18%; animation-delay: -2.2s; width: 2.25rem; height: 2.25rem; border-radius: 0.85rem; opacity: 0.85; }
.wsf-hero-float-icon--3 { bottom: 18%; left: 6%; animation-delay: -4s; }
.wsf-hero-float-icon--4 { top: 22%; left: 42%; animation-delay: -1.5s; width: 2rem; height: 2rem; opacity: 0.7; }

@keyframes wsf-prem-float-icon {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(4deg);
  }
}

.wsf-hero-static__copy {
  position: relative;
}

.wsf-hero-static__copy::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--wsf-primary), var(--wsf-accent));
  opacity: 0.55;
}

@media (max-width: 639px) {
  .wsf-hero-float-icon--2,
  .wsf-hero-float-icon--4 {
    display: none;
  }

  .wsf-hero-static__copy::before {
    display: none;
  }
}

.wsf-hero-static .wsf-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem 0.35rem 0.55rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--wsf-primary) 20%, transparent);
  background: color-mix(in srgb, var(--wsf-surface) 88%, var(--wsf-primary) 12%);
  backdrop-filter: blur(8px);
}

.wsf-hero-static .wsf-hero__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wsf-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--wsf-primary) 25%, transparent);
  animation: wsf-prem-pulse-dot 2s ease-in-out infinite;
}

@keyframes wsf-prem-pulse-dot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.75;
  }
}

.wsf-stat-pill svg {
  flex-shrink: 0;
  padding: 0.2rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--wsf-primary) 12%, transparent);
  color: var(--wsf-primary);
  transition: transform 0.25s ease, background 0.25s ease;
}

.wsf-stat-pill:hover svg {
  transform: scale(1.1);
  background: color-mix(in srgb, var(--wsf-primary) 20%, transparent);
}

/* ── Header glass upgrade ── */
.wsf-header {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--wsf-primary) 8%, var(--wsf-surface)) 0%, color-mix(in srgb, var(--wsf-surface) 78%, transparent) 100%);
  border-bottom-color: color-mix(in srgb, var(--wsf-primary) 12%, var(--wsf-border));
}

.wsf-header.is-scrolled {
  background: color-mix(in srgb, var(--wsf-surface) 92%, transparent);
  border-bottom-color: color-mix(in srgb, var(--wsf-primary) 18%, var(--wsf-border));
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--wsf-primary) 14%, transparent),
    0 14px 36px -18px rgba(15, 23, 42, 0.2);
}

html[data-marketing-theme="dark"] .wsf-header.is-scrolled,
.wsf-root.wsf-theme-dark .wsf-header.is-scrolled {
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--wsf-primary) 18%, transparent),
    0 14px 36px -18px rgba(0, 0, 0, 0.55);
}

.wsf-logo {
  transition: transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.3s ease;
}

.wsf-logo:hover {
  transform: scale(1.04) rotate(-2deg);
  box-shadow: 0 8px 24px -8px var(--wsf-glow);
}

.wsf-search {
  border: 1px solid var(--wsf-border);
  background: color-mix(in srgb, var(--wsf-surface) 90%, transparent);
  backdrop-filter: blur(8px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.wsf-search:focus-within {
  border-color: color-mix(in srgb, var(--wsf-primary) 35%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--wsf-primary) 12%, transparent);
}

/* ── Trust bar ── */
.wsf-trust-bar {
  background: color-mix(in srgb, var(--wsf-surface) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom-color: color-mix(in srgb, var(--wsf-primary) 10%, var(--wsf-border));
}

.wsf-trust-bar .mx-auto {
  gap: 0.65rem;
}

.wsf-trust-bar__item {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--wsf-border);
  background: color-mix(in srgb, var(--wsf-surface) 92%, var(--wsf-primary) 8%);
  font-weight: 700;
  transition:
    color 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.wsf-trust-bar__item:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--wsf-primary) 30%, transparent);
  box-shadow: 0 10px 24px -14px var(--wsf-glow);
  background: color-mix(in srgb, var(--wsf-surface) 88%, var(--wsf-primary) 12%);
}

.wsf-trust-bar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--wsf-primary) 18%, transparent), color-mix(in srgb, var(--wsf-accent) 12%, transparent));
  color: var(--wsf-primary);
  flex-shrink: 0;
}

.wsf-trust-bar__icon svg {
  width: 0.95rem;
  height: 0.95rem;
}

/* ── Section headers ── */
.wsf-section-head__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.wsf-section-head__eyebrow::before {
  content: "";
  width: 1.25rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--wsf-primary), var(--wsf-accent));
}

.wsf-strip__title {
  background: linear-gradient(135deg, var(--wsf-text) 30%, color-mix(in srgb, var(--wsf-text) 70%, var(--wsf-primary)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wsf-count-badge {
  background: color-mix(in srgb, var(--wsf-surface) 88%, var(--wsf-primary) 12%);
  border-color: color-mix(in srgb, var(--wsf-primary) 18%, var(--wsf-border));
}

/* ── Image motion — hero bestsellers, deals, products, shops ── */
.wsf-hero-bestsellers__media {
  isolation: isolate;
}

.wsf-hero-bestsellers__img,
.wsf-deal-card__img,
.wsf-product-card--modern .wsf-product-card__img,
.wsf-shop-card__bg-img,
.wsf-cat-tile__img {
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.wsf-root.wsf-motion-on .wsf-hero-bestsellers__img,
.wsf-root.wsf-motion-on .wsf-deal-card__img,
.wsf-root.wsf-motion-on .wsf-shop-card__bg-img {
  animation: wsf-prem-ken-burns 18s ease-in-out infinite;
}

.wsf-hero-bestsellers__item:nth-child(odd) .wsf-hero-bestsellers__img,
.wsf-deal-card:nth-child(even) .wsf-deal-card__img {
  animation-delay: -4s;
}

.wsf-hero-bestsellers__card:hover .wsf-hero-bestsellers__img,
.wsf-hero-bestsellers__card:focus-within .wsf-hero-bestsellers__img,
.wsf-deal-card:hover .wsf-deal-card__img,
.wsf-deal-card:focus-within .wsf-deal-card__img,
.wsf-product-card--modern:hover .wsf-product-card__img,
.wsf-product-card--modern:focus-within .wsf-product-card__img,
.wsf-shop-card:hover .wsf-shop-card__bg-img,
.wsf-shop-card:focus-within .wsf-shop-card__bg-img,
.wsf-cat-tile:hover .wsf-cat-tile__img {
  animation: none;
  transform: scale(1.1);
}

@keyframes wsf-prem-ken-burns {
  0%,
  100% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.06) translate(-1.5%, -1%);
  }
}

.wsf-hero-bestsellers__media::after,
.wsf-product-card--modern .wsf-product-card__media::after,
.wsf-deal-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.22) 50%, transparent 58%);
  transform: translateX(-120%);
  pointer-events: none;
  transition: transform 0.6s ease;
}

.wsf-hero-bestsellers__card:hover .wsf-hero-bestsellers__media::after,
.wsf-product-card--modern:hover .wsf-product-card__media::after,
.wsf-deal-card:hover .wsf-deal-card__media::after {
  transform: translateX(120%);
}

.wsf-hero-bestsellers__card {
  transform-style: preserve-3d;
}

[data-wsf-tilt] {
  transition: transform 0.15s ease-out, box-shadow 0.28s ease, border-color 0.28s ease;
}

[data-wsf-tilt]:hover {
  transform: perspective(900px) rotateX(var(--wsf-tilt-x, 0deg)) rotateY(var(--wsf-tilt-y, 0deg)) translateY(-4px);
}

/* ── Category tiles ── */
.wsf-cat-tile__ring {
  position: relative;
  overflow: hidden;
}

.wsf-cat-tile__ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(from 0deg, var(--wsf-primary), var(--wsf-accent), var(--wsf-primary));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.wsf-cat-tile.is-active .wsf-cat-tile__ring::after,
.wsf-cat-tile:hover .wsf-cat-tile__ring::after {
  opacity: 0.35;
  animation: wsf-prem-ring-spin 4s linear infinite;
}

@keyframes wsf-prem-ring-spin {
  to {
    transform: rotate(360deg);
  }
}

.wsf-cat-tile__img,
.wsf-cat-tile__inner {
  position: relative;
  z-index: 1;
}

/* ── Deals strip ── */
.wsf-deals {
  position: relative;
}

.wsf-deals::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--wsf-primary) 6%, transparent), transparent 40%, color-mix(in srgb, var(--wsf-accent) 5%, transparent));
  pointer-events: none;
  border-radius: 1.5rem;
}

.wsf-deal-card {
  transform-style: preserve-3d;
}

.wsf-deal-card__media {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.wsf-deals__title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.wsf-deals__title::before {
  content: "";
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  background: var(--wsf-primary);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13 10V3L4 14h7v7l9-11h-7z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13 10V3L4 14h7v7l9-11h-7z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

/* ── Policy cards ── */
.wsf-policy-card {
  transition: transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.wsf-policy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -22px var(--wsf-glow);
}

.wsf-policy-card__icon {
  transition: transform 0.3s ease, background 0.3s ease;
}

.wsf-policy-card:hover .wsf-policy-card__icon {
  transform: scale(1.08) rotate(-4deg);
  background: color-mix(in srgb, var(--wsf-primary) 18%, var(--wsf-surface-2));
}

/* ── Footer ── */
.wsf-footer::before {
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--wsf-primary),
    var(--wsf-accent),
    var(--wsf-primary),
    transparent
  );
  opacity: 0.8;
}

.wsf-footer__social-btn {
  animation: wsf-footer-social-live 4s ease-in-out infinite;
}

.wsf-footer__social-btn:nth-child(2) {
  animation-delay: 0.6s;
}

.wsf-footer__social-btn:nth-child(3) {
  animation-delay: 1.2s;
}

.wsf-footer__social-btn:nth-child(4) {
  animation-delay: 1.8s;
}

.wsf-footer__social-btn:hover {
  animation-play-state: paused;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 18px -10px var(--wsf-glow);
}

@keyframes wsf-footer-social-live {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wsf-footer__social-btn {
    animation: none;
  }
}

/* ── FAB pulse ── */
.wsf-fab {
  animation: wsf-prem-fab-glow 3s ease-in-out infinite;
}

@keyframes wsf-prem-fab-glow {
  0%,
  100% {
    box-shadow: 0 8px 28px -8px var(--wsf-glow);
  }
  50% {
    box-shadow: 0 12px 36px -6px color-mix(in srgb, var(--wsf-primary) 45%, transparent);
  }
}

/* ── CTA buttons ── */
.wsf-btn-primary.wsf-btn-shine {
  position: relative;
  overflow: hidden;
}

.wsf-btn-primary.wsf-btn-shine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.28) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: wsf-prem-btn-shine 4s ease-in-out infinite;
}

@keyframes wsf-prem-btn-shine {
  0%,
  70%,
  100% {
    transform: translateX(-120%);
  }
  85% {
    transform: translateX(120%);
  }
}

/* ── Homepage category cards (links + images) ── */
.wsf-cat-visual--home .wsf-cat-visual__scroll {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  overflow: visible;
  padding: 0;
  scroll-snap-type: none;
}

.wsf-cat-visual--home .wsf-cat-tile--card {
  flex: none;
  width: 100%;
  min-width: 0;
  scroll-snap-align: unset;
}

.wsf-cat-tile--card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  text-decoration: none;
  transition: transform 0.28s cubic-bezier(0.34, 1.15, 0.64, 1);
}

.wsf-cat-tile--card:hover,
.wsf-cat-tile--card:focus-visible {
  transform: translateY(-4px);
}

.wsf-cat-tile__card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--wsf-border);
  background: var(--wsf-surface-2);
  box-shadow:
    0 14px 32px -22px rgba(15, 23, 42, 0.45),
    0 0 0 1px color-mix(in srgb, var(--wsf-primary) 5%, transparent);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.wsf-cat-tile--card:hover .wsf-cat-tile__card,
.wsf-cat-tile--card:focus-visible .wsf-cat-tile__card {
  border-color: color-mix(in srgb, var(--wsf-primary) 35%, transparent);
  box-shadow:
    0 22px 40px -18px var(--wsf-glow),
    0 0 0 1px color-mix(in srgb, var(--wsf-primary) 12%, transparent);
}

.wsf-cat-tile--card .wsf-cat-tile__img,
.wsf-cat-tile--card .wsf-cat-tile__inner {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.wsf-cat-tile--card .wsf-cat-tile__inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wsf-cat-tile--card .wsf-cat-tile__inner--all {
  background: linear-gradient(145deg, color-mix(in srgb, var(--wsf-primary) 16%, var(--wsf-surface)), var(--wsf-surface-2));
  color: var(--wsf-primary);
}

.wsf-cat-tile--card .wsf-cat-tile__inner--ph {
  font-size: 2rem;
  font-weight: 800;
  color: var(--wsf-primary);
  background: linear-gradient(145deg, color-mix(in srgb, var(--wsf-primary) 10%, var(--wsf-surface-2)), var(--wsf-surface));
}

.wsf-cat-tile--card:hover .wsf-cat-tile__img,
.wsf-cat-tile--card:focus-visible .wsf-cat-tile__img {
  transform: scale(1.08);
}

.wsf-cat-tile__shade {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 23, 42, 0.55) 100%);
  opacity: 0.35;
  transition: opacity 0.25s ease;
}

.wsf-cat-tile--card:hover .wsf-cat-tile__shade,
.wsf-cat-tile--card:focus-visible .wsf-cat-tile__shade {
  opacity: 0.55;
}

.wsf-cat-tile--card .wsf-cat-tile__label {
  max-width: 100%;
  padding: 0 0.15rem;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--wsf-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.wsf-cat-tile--card:hover .wsf-cat-tile__label,
.wsf-cat-tile--card:focus-visible .wsf-cat-tile__label {
  color: var(--wsf-primary);
}

@media (min-width: 480px) {
  .wsf-cat-visual--home .wsf-cat-visual__scroll {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 640px) {
  .wsf-cat-visual--home .wsf-cat-visual__scroll {
    gap: 0.85rem;
  }

  .wsf-cat-tile__card {
    border-radius: 1.1rem;
  }
}

@media (min-width: 768px) {
  .wsf-cat-visual--home .wsf-cat-visual__scroll {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .wsf-cat-visual--home .wsf-cat-visual__scroll {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .wsf-cat-visual--home .wsf-cat-visual__scroll {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* ── Catalogue page (/catalog, /site/catalog) ── */
.wsf-catalog-banner {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid color-mix(in srgb, var(--wsf-primary) 10%, var(--wsf-border));
}

.wsf-catalog-banner__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, color-mix(in srgb, var(--wsf-primary) 16%, transparent), transparent 58%),
    radial-gradient(ellipse 55% 45% at 0% 100%, color-mix(in srgb, var(--wsf-accent) 12%, transparent), transparent 52%),
    linear-gradient(180deg, var(--wsf-surface) 0%, var(--wsf-surface-2) 100%);
}

.wsf-catalog-banner__mesh {
  position: absolute;
  inset: -40%;
  background-image:
    linear-gradient(color-mix(in srgb, var(--wsf-primary) 7%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--wsf-primary) 7%, transparent) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, black 15%, transparent 72%);
  opacity: 0.45;
  animation: wsf-mesh-drift 24s linear infinite;
}

.wsf-catalog-banner__glow {
  position: absolute;
  top: 0;
  right: 8%;
  width: min(360px, 50vw);
  height: min(360px, 50vw);
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--wsf-accent) 24%, transparent), transparent 68%);
  filter: blur(40px);
  animation: wsf-glow-pulse 6s ease-in-out infinite;
}

.wsf-catalog-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .wsf-catalog-banner__inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

.wsf-catalog-banner__copy {
  max-width: 40rem;
}

.wsf-catalog-banner__aside {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.wsf-catalog-banner__stat {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  padding: 0.65rem 1rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--wsf-primary) 18%, var(--wsf-border));
  background: color-mix(in srgb, var(--wsf-surface) 88%, var(--wsf-primary) 12%);
  box-shadow: 0 12px 28px -18px var(--wsf-glow);
}

.wsf-catalog-banner__stat-num {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--wsf-primary);
}

.wsf-catalog-banner__stat-label {
  margin-top: 0.2rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wsf-muted);
}

.wsf-catalog-banner__back {
  white-space: nowrap;
}

.wsf-catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.25rem;
}

.wsf-catalog-filters {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 4.25rem);
  z-index: 15;
  margin-top: 1rem;
  padding: 0.65rem 0.75rem 0.75rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--wsf-primary) 12%, var(--wsf-border));
  background: color-mix(in srgb, var(--wsf-surface) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 12px 32px -24px rgba(15, 23, 42, 0.35);
}

/* Compact quick-link categories (catalog page only) */
.wsf-root--catalog .wsf-catalog-filters .wsf-cat-visual--compact {
  padding: 0;
}

.wsf-root--catalog .wsf-catalog-filters .wsf-cat-visual--compact .wsf-cat-visual__scroll {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.25rem, 1fr));
  gap: 0.45rem 0.35rem;
  padding: 0.1rem 0.05rem 0.15rem;
  overflow: visible;
}

.wsf-root--catalog .wsf-catalog-filters .wsf-cat-tile--compact {
  min-width: 0;
  gap: 0.3rem;
}

.wsf-root--catalog .wsf-catalog-filters .wsf-cat-tile--compact .wsf-cat-tile__ring {
  width: 3.25rem;
  height: 3.25rem;
  margin-inline: auto;
  padding: 2px;
}

.wsf-root--catalog .wsf-catalog-filters .wsf-cat-tile--compact .wsf-cat-tile__inner--ph {
  font-size: 0.875rem;
}

.wsf-root--catalog .wsf-catalog-filters .wsf-cat-tile--compact .wsf-cat-tile__label {
  max-width: 100%;
  font-size: 0.5625rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wsf-root--catalog .wsf-catalog-filters .wsf-cat-tile--compact.is-active .wsf-cat-tile__label,
.wsf-root--catalog .wsf-catalog-filters .wsf-cat-tile--compact:hover .wsf-cat-tile__label {
  color: var(--wsf-primary);
}

.wsf-root--catalog .wsf-catalog-filters .wsf-cat-tile--compact:hover {
  transform: translateY(-2px);
}

@media (min-width: 640px) {
  .wsf-root--catalog .wsf-catalog-filters .wsf-cat-visual--compact .wsf-cat-visual__scroll {
    grid-template-columns: repeat(auto-fill, minmax(4.75rem, 1fr));
    gap: 0.5rem 0.4rem;
  }

  .wsf-root--catalog .wsf-catalog-filters .wsf-cat-tile--compact .wsf-cat-tile__ring {
    width: 3.5rem;
    height: 3.5rem;
  }

  .wsf-root--catalog .wsf-catalog-filters .wsf-cat-tile--compact .wsf-cat-tile__label {
    font-size: 0.625rem;
  }
}

@media (min-width: 1024px) {
  .wsf-root--catalog .wsf-catalog-filters .wsf-cat-visual--compact .wsf-cat-visual__scroll {
    grid-template-columns: repeat(auto-fill, minmax(5rem, 1fr));
  }
}

.wsf-root--catalog .wsf-cat-rows--catalog {
  gap: 2.25rem;
}

.wsf-root--catalog .wsf-cat-row {
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}

.wsf-root--catalog .wsf-cat-row__head {
  padding: 0.75rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid var(--wsf-border);
  background: color-mix(in srgb, var(--wsf-surface) 92%, var(--wsf-primary) 8%);
  box-shadow: 0 8px 24px -20px rgba(15, 23, 42, 0.35);
}

.wsf-root--catalog .wsf-cat-row__thumb {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--wsf-primary) 15%, transparent);
  box-shadow: 0 6px 16px -10px var(--wsf-glow);
}

.wsf-root--catalog .wsf-cat-row__title {
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.wsf-root--catalog .wsf-cat-row__count:not(:empty)::before {
  content: "· ";
}

.wsf-root--catalog .wsf-cat-scroll-wrap::before,
.wsf-root--catalog .wsf-cat-scroll-wrap::after {
  display: none;
}

.wsf-root--catalog .wsf-cat-scroll--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  overflow: visible;
  padding-bottom: 0;
  scroll-snap-type: none;
}

.wsf-root--catalog .wsf-cat-scroll--grid .wsf-product-card--modern {
  flex: none;
  width: 100%;
  min-width: 0;
  scroll-snap-align: unset;
}

.wsf-root--catalog .wsf-cat-scroll--grid .wsf-product-card--modern .wsf-product-card__body {
  padding: 0.65rem 0.7rem 0.75rem;
  gap: 0.25rem;
}

.wsf-root--catalog .wsf-cat-scroll--grid .wsf-product-card--modern .wsf-product-card__name {
  font-size: 0.8125rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
}

.wsf-root--catalog .wsf-cat-scroll--grid .wsf-product-card--modern .wsf-product-card__price {
  font-size: 0.875rem;
}

.wsf-root--catalog .wsf-cat-scroll--grid .wsf-product-card--modern .wsf-product-card__desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: none;
  opacity: 1;
  margin-top: 0.15rem;
  font-size: 0.6875rem;
  line-height: 1.45;
}

.wsf-root--catalog .wsf-cat-scroll--grid .wsf-product-card--modern .wsf-product-card__cart {
  width: 2.35rem;
  height: 2.35rem;
  opacity: 1;
  transform: none;
}

.wsf-root--catalog .wsf-cat-scroll--grid .wsf-product-card--modern .wsf-product-card__media {
  aspect-ratio: 1 / 1;
}

.wsf-root--catalog .wsf-cat-scroll--grid .wsf-product-card--modern:hover .wsf-product-card__img,
.wsf-root--catalog .wsf-cat-scroll--grid .wsf-product-card--modern:focus-within .wsf-product-card__img {
  transform: scale(1.06);
}

@media (min-width: 480px) {
  .wsf-root--catalog .wsf-cat-scroll--grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .wsf-root--catalog .wsf-cat-scroll--grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }

  .wsf-catalog-filters {
    top: calc(env(safe-area-inset-top, 0px) + 4.5rem);
  }
}

@media (min-width: 1024px) {
  .wsf-root--catalog .wsf-cat-scroll--grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .wsf-root--catalog .wsf-cat-scroll--grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .wsf-catalog-filters {
    margin-inline: -0.15rem;
    padding-inline: 0.55rem;
  }
}

/* ── Tablet & mobile refinements ── */
@media (max-width: 1023px) {
  .wsf-ambient__aurora--3 {
    display: none;
  }

  .wsf-ambient__particle:nth-child(n + 7) {
    display: none;
  }
}

@media (max-width: 639px) {
  .wsf-trust-bar .mx-auto {
    flex-direction: column;
    align-items: stretch;
  }

  .wsf-trust-bar__item {
    justify-content: center;
    width: 100%;
    font-size: 0.75rem;
  }

  .wsf-hero-bestsellers__list {
    scroll-padding-inline: 1rem;
    padding-inline: 0.15rem;
  }

  .wsf-hero-bestsellers__item {
    flex-basis: min(82vw, 17rem);
  }

  .wsf-ambient__grid {
    opacity: 0.2;
  }

  .wsf-ambient__aurora {
    filter: blur(56px);
    opacity: 0.28;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .wsf-shops-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wsf-hero-static__grid {
    gap: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wsf-ambient__aurora,
  .wsf-ambient__grid,
  .wsf-ambient__particle,
  .wsf-hero-static__aurora,
  .wsf-hero-float-icon,
  .wsf-hero-static .wsf-hero__eyebrow::before,
  .wsf-hero-bestsellers__img,
  .wsf-deal-card__img,
  .wsf-shop-card__bg-img,
  .wsf-cat-tile__ring::after,
  .wsf-fab,
  .wsf-btn-primary.wsf-btn-shine::after {
    animation: none !important;
  }

  .wsf-catalog-banner__mesh,
  .wsf-catalog-banner__glow {
    animation: none !important;
  }

  .wsf-root.wsf-motion-on .wsf-ambient {
    transition: none;
  }
}
