/* Modern interactive ecommerce storefront */

.wsf-root {
  --wsf-primary: var(--mk-primary, #9333ea);
  --wsf-accent: var(--mk-accent, #a855f7);
  --wsf-glow: color-mix(in srgb, var(--wsf-primary) 35%, transparent);
  --wsf-surface: #ffffff;
  --wsf-surface-2: #f8fafc;
  --wsf-text: #0f172a;
  --wsf-muted: #64748b;
  --wsf-border: rgba(15, 23, 42, 0.08);
  position: relative;
  isolation: isolate;
  font-family: var(--rc-font-family, system-ui, sans-serif);
  background: var(--wsf-surface-2);
  color: var(--wsf-text);
  transition: background-color 0.35s ease, color 0.35s ease;
}

html[data-marketing-theme="dark"] .wsf-root,
html[data-theme="dark"] .wsf-root,
.wsf-root.wsf-theme-dark {
  --wsf-surface: #111113;
  --wsf-surface-2: #0a0a0c;
  --wsf-text: #f4f4f5;
  --wsf-muted: #a1a1aa;
  --wsf-border: rgba(255, 255, 255, 0.1);
  --wsf-glow: color-mix(in srgb, var(--wsf-primary) 42%, transparent);
  color-scheme: dark;
}

html[data-marketing-theme="light"] .wsf-root,
.wsf-root.wsf-theme-light {
  color-scheme: light;
}

/* Ambient animated background */
.wsf-ambient {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.wsf-ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  animation: wsf-float 14s ease-in-out infinite;
}

.wsf-ambient__orb--1 {
  width: 280px;
  height: 280px;
  top: -80px;
  right: -40px;
  background: var(--wsf-primary);
  animation-delay: 0s;
}

.wsf-ambient__orb--2 {
  width: 220px;
  height: 220px;
  bottom: 20%;
  left: -60px;
  background: var(--wsf-accent);
  animation-delay: -4s;
}

.wsf-ambient__orb--3 {
  width: 180px;
  height: 180px;
  top: 40%;
  right: 15%;
  background: color-mix(in srgb, var(--wsf-accent) 60%, white);
  animation-delay: -8s;
  opacity: 0.25;
}

@keyframes wsf-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(12px, -18px) scale(1.05);
  }
  66% {
    transform: translate(-10px, 14px) scale(0.96);
  }
}

.wsf-promo {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: linear-gradient(
    110deg,
    color-mix(in srgb, var(--wsf-primary) 95%, black),
    var(--wsf-accent) 45%,
    color-mix(in srgb, var(--wsf-primary) 80%, white)
  );
  background-size: 200% 100%;
  animation: wsf-promo-shift 8s ease infinite;
  color: #fff;
  letter-spacing: 0.04em;
}

.wsf-promo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  animation: wsf-shimmer 3.5s ease-in-out infinite;
}

@keyframes wsf-promo-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes wsf-shimmer {
  0% {
    transform: translateX(-100%);
  }
  60%,
  100% {
    transform: translateX(200%);
  }
}

.wsf-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--wsf-border);
  background: color-mix(in srgb, var(--wsf-surface) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  transition: box-shadow 0.25s ease;
}

.wsf-header.is-scrolled {
  box-shadow: 0 8px 32px -12px rgba(15, 23, 42, 0.15);
}

html[data-marketing-theme="dark"] .wsf-header.is-scrolled,
.wsf-root.wsf-theme-dark .wsf-header.is-scrolled {
  box-shadow: 0 8px 32px -12px rgba(0, 0, 0, 0.55);
}

.wsf-theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--wsf-border);
  background: color-mix(in srgb, var(--wsf-surface) 88%, transparent);
  color: var(--wsf-muted);
  cursor: pointer;
  transition:
    color 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.wsf-theme-toggle:hover {
  color: var(--wsf-primary);
  border-color: color-mix(in srgb, var(--wsf-primary) 35%, transparent);
  box-shadow: 0 4px 16px -6px var(--wsf-glow);
  transform: translateY(-1px);
}

.wsf-theme-toggle__icon {
  width: 1.125rem;
  height: 1.125rem;
}

.wsf-theme-toggle__icon--sun {
  display: none;
}

html[data-marketing-theme="dark"] .wsf-theme-toggle__icon--moon,
.wsf-root.wsf-theme-dark .wsf-theme-toggle__icon--moon {
  display: none;
}

html[data-marketing-theme="dark"] .wsf-theme-toggle__icon--sun,
.wsf-root.wsf-theme-dark .wsf-theme-toggle__icon--sun {
  display: block;
}

html[data-marketing-theme="dark"] .wsf-theme-toggle,
.wsf-root.wsf-theme-dark .wsf-theme-toggle {
  color: var(--wsf-text);
  background: color-mix(in srgb, var(--wsf-surface) 92%, var(--wsf-primary) 8%);
}

.wsf-search input {
  color: var(--wsf-text);
}

.wsf-search input::placeholder {
  color: var(--wsf-muted);
}

.wsf-logo {
  box-shadow: 0 4px 14px var(--wsf-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wsf-logo:hover {
  transform: scale(1.04);
}

.wsf-search {
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  border: 1px solid var(--wsf-border);
  background: color-mix(in srgb, var(--wsf-surface) 90%, var(--wsf-surface-2));
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.wsf-search:focus-within {
  box-shadow: 0 0 0 3px var(--wsf-glow), 0 8px 24px -8px var(--wsf-glow);
  border-color: color-mix(in srgb, var(--wsf-primary) 45%, transparent);
  transform: translateY(-1px);
}

.wsf-cart-btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.wsf-cart-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 16px var(--wsf-glow);
  border-color: color-mix(in srgb, var(--wsf-primary) 35%, transparent);
}

.wsf-cart-btn.is-bump {
  animation: wsf-bump 0.45s ease;
}

@keyframes wsf-bump {
  0%,
  100% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.12);
  }
}

.wsf-cart-count {
  animation: wsf-pop 0.35s ease;
}

@keyframes wsf-pop {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  70% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ── Hero carousel ── */
.wsf-hero {
  position: relative;
  z-index: 1;
  min-height: clamp(16rem, 52vw, 28rem);
  overflow: hidden;
  background: #0f172a;
}

.wsf-hero__track {
  position: absolute;
  inset: 0;
}

.wsf-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.85s ease, transform 1.1s ease;
  transform: scale(1.04);
}

.wsf-hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.wsf-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.wsf-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15, 23, 42, 0.82) 0%,
    rgba(15, 23, 42, 0.45) 42%,
    rgba(15, 23, 42, 0.15) 100%
  );
}

.wsf-hero__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  border-radius: 0.375rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wsf-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(16rem, 52vw, 28rem);
  padding-bottom: 2.5rem;
}

.wsf-hero__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.wsf-hero__title {
  margin-top: 0.35rem;
  max-width: 14rem;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
}

.wsf-hero__title-accent {
  display: block;
  background: linear-gradient(135deg, #fff 20%, color-mix(in srgb, var(--wsf-accent) 70%, white));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wsf-hero__cta {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 1.1rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.wsf-hero__dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  z-index: 3;
  display: flex;
  gap: 0.4rem;
  transform: translateX(-50%);
}

.wsf-hero__dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transition: width 0.25s ease, background 0.25s ease;
}

.wsf-hero__dot.is-active {
  width: 1.25rem;
  background: #fff;
}

/* ── Visual category tiles ── */
.wsf-cat-visual {
  position: relative;
  z-index: 1;
  padding: 1.25rem 0 0.25rem;
}

.wsf-cat-visual__scroll {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.wsf-cat-visual__scroll::-webkit-scrollbar {
  display: none;
}

.wsf-cat-tile {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  scroll-snap-align: start;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease;
}

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

.wsf-cat-tile__ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 999px;
  padding: 3px;
  background: linear-gradient(135deg, var(--wsf-border), color-mix(in srgb, var(--wsf-primary) 25%, transparent));
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.wsf-cat-tile.is-active .wsf-cat-tile__ring,
.wsf-cat-tile:hover .wsf-cat-tile__ring {
  background: linear-gradient(135deg, var(--wsf-primary), var(--wsf-accent));
  box-shadow: 0 8px 20px -6px var(--wsf-glow);
}

.wsf-cat-tile__img,
.wsf-cat-tile__inner {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid var(--wsf-surface);
}

.wsf-cat-tile__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wsf-surface-2);
  color: var(--wsf-muted);
}

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

.wsf-cat-tile__inner--ph {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--wsf-primary);
}

.wsf-cat-tile__label {
  max-width: 4.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  color: var(--wsf-muted);
}

.wsf-cat-tile.is-active .wsf-cat-tile__label {
  color: var(--wsf-primary);
}

/* ── Offers strip ── */
.wsf-deals {
  position: relative;
  z-index: 1;
  padding: 1.5rem 0 0.5rem;
}

.wsf-deals__head {
  margin-bottom: 0.85rem;
}

.wsf-deals__title {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e11d48;
}

.wsf-deals__scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.wsf-deal-card {
  position: relative;
  flex: 0 0 8.5rem;
  scroll-snap-align: start;
}

.wsf-deal-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.wsf-deal-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--wsf-surface);
  border: 1px solid var(--wsf-border);
}

.wsf-deal-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.wsf-deal-card:hover .wsf-deal-card__img {
  transform: scale(1.06);
}

.wsf-deal-card__ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 2rem;
  font-weight: 800;
  color: var(--wsf-muted);
  background: var(--wsf-surface-2);
}

.wsf-deal-card__badge {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  border-radius: 0.3rem;
  padding: 0.15rem 0.4rem;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #e11d48, #f97316);
}

.wsf-deal-card__name {
  margin-top: 0.45rem;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wsf-deal-card__price {
  margin-top: 0.15rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.wsf-deal-card__was {
  font-size: 0.5625rem;
  text-decoration: line-through;
  color: var(--wsf-muted);
}

.wsf-deal-card__now {
  font-size: 0.75rem;
  font-weight: 800;
  color: #e11d48;
}

.wsf-deal-card__add {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.wsf-deal-card:hover .wsf-deal-card__add,
.wsf-deal-card:focus-within .wsf-deal-card__add {
  opacity: 1;
  transform: scale(1);
}

@media (hover: none) {
  .wsf-deal-card__add {
    opacity: 1;
    transform: scale(1);
  }
}

.wsf-strip {
  position: relative;
  z-index: 1;
  padding: 1.75rem 1rem 0.5rem;
}

.wsf-strip__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  background: linear-gradient(135deg, var(--wsf-text) 30%, var(--wsf-primary) 70%, var(--wsf-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wsf-strip__title--compact {
  font-size: clamp(1.125rem, 3vw, 1.375rem);
}

.wsf-strip__count {
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--wsf-muted);
}

.wsf-strip__count::before {
  content: "· ";
}

.wsf-strip__sub {
  margin-top: 0.35rem;
  max-width: 32rem;
  font-size: 0.875rem;
  color: var(--wsf-muted);
}

.wsf-cat-row__title {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wsf-text);
}

.wsf-cat-row__count {
  font-size: 0.6875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--wsf-muted);
}

.wsf-section {
  position: relative;
  z-index: 1;
}

.wsf-section-head {
  animation: wsf-fade-up 0.6s ease both;
}

.wsf-cat-pill {
  transition: all 0.22s cubic-bezier(0.34, 1.2, 0.64, 1);
  border: 1px solid var(--wsf-border);
  background: color-mix(in srgb, var(--wsf-surface) 88%, transparent);
}

.wsf-cat-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -6px var(--wsf-glow);
}

.wsf-cat-pill.is-active {
  background: linear-gradient(135deg, var(--wsf-primary), var(--wsf-accent));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px -6px var(--wsf-glow);
}

.wsf-cat-row {
  animation: wsf-fade-up 0.5s ease both;
}

.wsf-cat-row.is-hidden-filter {
  display: none !important;
}

.wsf-cat-row__head h2 {
  color: var(--wsf-text);
}

.wsf-cat-scroll-wrap {
  margin: 0 -0.25rem;
  padding: 0 0.25rem;
}

.wsf-cat-scroll-wrap::before,
.wsf-cat-scroll-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0.5rem;
  width: 1.25rem;
  z-index: 2;
  pointer-events: none;
}

.wsf-cat-scroll-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--wsf-surface-2), transparent);
}

.wsf-cat-scroll-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--wsf-surface-2), transparent);
}

.wsf-cat-scroll {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--wsf-primary) 35%, transparent) transparent;
  padding-bottom: 0.35rem;
}

.wsf-cat-scroll::-webkit-scrollbar {
  height: 5px;
}

.wsf-cat-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: color-mix(in srgb, var(--wsf-primary) 40%, transparent);
}

.wsf-product-card--compact,
.wsf-product-card--immersive,
.wsf-product-card--modern {
  flex: 0 0 11.5rem;
  width: 11.5rem;
  scroll-snap-align: start;
  opacity: 0;
  transform: translateY(12px);
}

.wsf-product-card--modern {
  display: flex;
  flex-direction: column;
  background: var(--wsf-surface);
  border: 1px solid var(--wsf-border);
  border-radius: 1.125rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 16px -6px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.38s cubic-bezier(0.34, 1.2, 0.64, 1),
    box-shadow 0.38s ease,
    border-color 0.28s ease,
    background-color 0.35s ease;
}

html[data-marketing-theme="dark"] .wsf-product-card--modern,
.wsf-root.wsf-theme-dark .wsf-product-card--modern {
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.35),
    0 8px 24px -10px rgba(0, 0, 0, 0.55);
}

@media (min-width: 640px) {
  .wsf-product-card--compact,
  .wsf-product-card--immersive,
  .wsf-product-card--modern {
    flex: 0 0 13.25rem;
    width: 13.25rem;
  }
}

@media (min-width: 1024px) {
  .wsf-product-card--compact,
  .wsf-product-card--immersive,
  .wsf-product-card--modern {
    flex: 0 0 14.5rem;
    width: 14.5rem;
  }
}

/* ── Modern shop card ── */
.wsf-product-card--modern .wsf-product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--wsf-surface-2);
}

.wsf-product-card--modern .wsf-product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.wsf-product-card--modern .wsf-product-card__img-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--wsf-primary) 10%, var(--wsf-surface-2)),
    color-mix(in srgb, var(--wsf-accent) 8%, var(--wsf-surface))
  );
  font-size: 2.25rem;
  font-weight: 800;
  color: color-mix(in srgb, var(--wsf-primary) 35%, var(--wsf-muted));
}

.wsf-product-card--modern .wsf-product-card__badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 2;
  border-radius: 0.4rem;
  padding: 0.22rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.2;
}

.wsf-product-card--modern .wsf-product-card__cart {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px) scale(0.88);
  box-shadow: 0 8px 24px -6px var(--wsf-glow);
  transition:
    opacity 0.28s ease,
    transform 0.32s cubic-bezier(0.34, 1.4, 0.64, 1),
    box-shadow 0.28s ease;
}

.wsf-product-card--modern .wsf-product-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.75rem 0.85rem 0.85rem;
  min-height: 0;
  flex: 1;
}

.wsf-product-card--modern .wsf-product-card__name {
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--wsf-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s ease;
}

.wsf-product-card--modern .wsf-product-card__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  margin-top: 0.1rem;
}

.wsf-product-card--modern .wsf-product-card__price {
  font-size: 0.875rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--wsf-primary);
  line-height: 1.2;
}

.wsf-product-card--modern.wsf-product-card--offer .wsf-product-card__price {
  color: #e11d48;
}

.wsf-product-card--modern .wsf-product-card__price-was {
  font-size: 0.6875rem;
  font-weight: 600;
  text-decoration: line-through;
  color: var(--wsf-muted);
  font-variant-numeric: tabular-nums;
}

.wsf-product-card--modern .wsf-product-card__desc {
  max-height: 0;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 0.6875rem;
  line-height: 1.45;
  color: var(--wsf-muted);
  transition:
    max-height 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease,
    margin 0.3s ease;
}

.wsf-product-card--modern:hover,
.wsf-product-card--modern:focus-within {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--wsf-primary) 22%, transparent);
  box-shadow:
    0 16px 40px -14px var(--wsf-glow),
    0 0 0 1px color-mix(in srgb, var(--wsf-primary) 10%, transparent);
}

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

.wsf-product-card--modern:hover .wsf-product-card__name,
.wsf-product-card--modern:focus-within .wsf-product-card__name {
  color: var(--wsf-primary);
}

.wsf-product-card--modern:hover .wsf-product-card__cart,
.wsf-product-card--modern:focus-within .wsf-product-card__cart {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.wsf-product-card--modern:hover .wsf-product-card__desc,
.wsf-product-card--modern:focus-within .wsf-product-card__desc {
  max-height: 4.5rem;
  margin-top: 0.35rem;
  opacity: 1;
}

.wsf-product-card--modern.wsf-product-card--offer:hover,
.wsf-product-card--modern.wsf-product-card--offer:focus-within {
  border-color: color-mix(in srgb, #e11d48 25%, transparent);
  box-shadow:
    0 16px 40px -14px rgba(225, 29, 72, 0.2),
    0 0 0 1px color-mix(in srgb, #e11d48 12%, transparent);
}

.wsf-product-card--modern .wsf-product-card__cart:hover {
  transform: translateY(0) scale(1.08);
  box-shadow: 0 10px 28px -6px var(--wsf-glow);
}

.wsf-product-card--modern .wsf-product-card__cart:active {
  transform: translateY(0) scale(0.96);
}

@media (hover: none) {
  .wsf-product-card--modern .wsf-product-card__cart {
    opacity: 1;
    transform: none;
  }

  .wsf-product-card--modern .wsf-product-card__desc {
    max-height: 3.5rem;
    margin-top: 0.3rem;
    opacity: 1;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* Full-bleed background image */
.wsf-product-card--immersive .wsf-product-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.wsf-product-card--immersive .wsf-product-card__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
  filter: saturate(0.92) brightness(0.88);
}

.wsf-product-card--immersive .wsf-product-card__bg-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--wsf-primary) 28%, #1e293b),
    color-mix(in srgb, var(--wsf-accent) 18%, #0f172a)
  );
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.35);
}

.wsf-product-card--immersive .wsf-product-card__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.08) 0%,
    rgba(15, 23, 42, 0.25) 38%,
    rgba(15, 23, 42, 0.72) 100%
  );
  transition: opacity 0.4s ease, background 0.4s ease;
  pointer-events: none;
}

.wsf-product-card--immersive .wsf-product-card__tag {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 3;
  border-radius: 0.375rem;
  padding: 0.2rem 0.45rem;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.wsf-product-card--immersive .wsf-product-card__price-pill {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.05rem;
  border-radius: 0.5rem;
  padding: 0.25rem 0.45rem;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.wsf-product-card--immersive .wsf-product-card__pill-was {
  font-size: 0.5rem;
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.5);
  font-variant-numeric: tabular-nums;
}

.wsf-product-card--immersive .wsf-product-card__pill-now {
  font-size: 0.6875rem;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.wsf-product-card--immersive.wsf-product-card--offer .wsf-product-card__pill-now {
  color: #fecdd3;
}

.wsf-product-card--immersive .wsf-product-card__tag--sold {
  background: rgba(255, 255, 255, 0.88);
  color: #0f172a;
  backdrop-filter: blur(6px);
}

.wsf-product-card--immersive .wsf-product-card__float {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 0.35rem;
  transform: translateY(0);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.wsf-product-card--immersive .wsf-product-card__float-inner {
  border-radius: 0.75rem;
  padding: 0.5rem 0.55rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(0.35rem);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    background 0.38s ease,
    border-color 0.38s ease;
}

.wsf-product-card--immersive .wsf-product-card__name {
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.9);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wsf-product-card--immersive .wsf-product-card__foot {
  display: flex;
  align-items: center;
  justify-content: stretch;
  margin-top: 0.4rem;
}

.wsf-product-card--immersive .wsf-add-btn--compact {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 1.85rem;
  padding: 0 0.65rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0.95;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.3, 0.64, 1), box-shadow 0.3s ease;
}

.wsf-add-btn__label {
  line-height: 1;
}

/* Hover / focus — reveal action panel */
.wsf-product-card--immersive:hover,
.wsf-product-card--immersive:focus-within {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 22px 40px -18px var(--wsf-glow),
    0 0 0 1px color-mix(in srgb, var(--wsf-primary) 25%, transparent);
}

.wsf-product-card--immersive:hover .wsf-product-card__bg-img,
.wsf-product-card--immersive:focus-within .wsf-product-card__bg-img {
  transform: scale(1.12);
  filter: saturate(1.08) brightness(1);
}

.wsf-product-card--immersive:hover .wsf-product-card__veil,
.wsf-product-card--immersive:focus-within .wsf-product-card__veil {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0) 0%,
    rgba(15, 23, 42, 0.2) 50%,
    rgba(15, 23, 42, 0.75) 100%
  );
}

.wsf-product-card--immersive:hover .wsf-product-card__price-pill,
.wsf-product-card--immersive:focus-within .wsf-product-card__price-pill {
  opacity: 0;
  transform: translateY(-4px);
}

.wsf-product-card--immersive:hover .wsf-product-card__float-inner,
.wsf-product-card--immersive:focus-within .wsf-product-card__float-inner {
  opacity: 1;
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 14px 32px -12px rgba(0, 0, 0, 0.35);
}

html[data-marketing-theme="dark"] .wsf-product-card--immersive:hover .wsf-product-card__float-inner,
html[data-marketing-theme="dark"] .wsf-product-card--immersive:focus-within .wsf-product-card__float-inner,
html[data-theme="dark"] .wsf-product-card--immersive:hover .wsf-product-card__float-inner,
html[data-theme="dark"] .wsf-product-card--immersive:focus-within .wsf-product-card__float-inner {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
}

.wsf-product-card--immersive:hover .wsf-product-card__name,
.wsf-product-card--immersive:focus-within .wsf-product-card__name {
  color: var(--wsf-text);
}

.wsf-product-card--immersive:hover .wsf-add-btn--compact,
.wsf-product-card--immersive:focus-within .wsf-add-btn--compact {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 6px 18px -4px var(--wsf-glow);
}

.wsf-product-card--immersive.wsf-product-card--offer:hover,
.wsf-product-card--immersive.wsf-product-card--offer:focus-within {
  box-shadow:
    0 22px 40px -16px rgba(225, 29, 72, 0.28),
    0 0 0 1px color-mix(in srgb, #e11d48 22%, transparent);
}

.wsf-product-card--compact .wsf-product-card__img-wrap {
  aspect-ratio: 1 / 1;
}

.wsf-product-card--compact:hover {
  transform: translateY(-4px);
}

.wsf-add-btn--compact {
  box-shadow: 0 2px 8px -2px var(--wsf-glow);
}

.wsf-add-btn--compact:hover {
  transform: scale(1.08);
}

.wsf-product-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.875rem;
  transition:
    transform 0.38s cubic-bezier(0.34, 1.2, 0.64, 1),
    box-shadow 0.38s ease,
    border-color 0.28s ease;
  opacity: 0;
  transform: translateY(18px);
}

.wsf-product-card:not(.wsf-product-card--immersive) {
  border: 1px solid var(--wsf-border);
  background: color-mix(in srgb, var(--wsf-surface) 92%, transparent);
  backdrop-filter: blur(8px);
}

.wsf-product-card.is-visible {
  animation: wsf-card-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--wsf-delay, 0s);
}

.wsf-product-card.is-hidden-filter {
  display: none !important;
}

@keyframes wsf-card-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes wsf-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wsf-product-card:not(.wsf-product-card--immersive):hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--wsf-primary) 25%, transparent);
  box-shadow: 0 20px 40px -16px var(--wsf-glow), 0 0 0 1px color-mix(in srgb, var(--wsf-primary) 12%, transparent);
}

.wsf-product-card__img-wrap {
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, color-mix(in srgb, var(--wsf-primary) 6%, #f4f4f5), #fafafa);
  overflow: hidden;
}

html[data-marketing-theme="dark"] .wsf-product-card__img-wrap,
html[data-theme="dark"] .wsf-product-card__img-wrap {
  background: linear-gradient(145deg, #27272a, color-mix(in srgb, var(--wsf-primary) 10%, #18181b));
}

.wsf-product-card__img-wrap img {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.wsf-product-card:hover .wsf-product-card__img-wrap img {
  transform: scale(1.08);
}

.wsf-product-card__badge {
  background: color-mix(in srgb, var(--wsf-surface) 88%, transparent);
  backdrop-filter: blur(6px);
  color: var(--wsf-primary);
  border: 1px solid color-mix(in srgb, var(--wsf-primary) 20%, transparent);
}

.wsf-offer-badge {
  background: linear-gradient(135deg, #e11d48, #f97316);
  animation: wsf-offer-pulse 2.4s ease-in-out infinite;
}

@keyframes wsf-offer-pulse {
  0%,
  100% {
    box-shadow: 0 4px 14px -4px rgba(225, 29, 72, 0.45);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 6px 20px -4px rgba(249, 115, 22, 0.55);
    transform: scale(1.04);
  }
}

.wsf-product-card--offer:not(.wsf-product-card--immersive) {
  border-color: color-mix(in srgb, #e11d48 22%, transparent);
}

.wsf-product-card--offer:not(.wsf-product-card--immersive):hover {
  box-shadow: 0 20px 40px -16px rgba(225, 29, 72, 0.22), 0 0 0 1px color-mix(in srgb, #e11d48 15%, transparent);
}

@media (hover: none) {
  .wsf-product-card--immersive .wsf-product-card__float-inner {
    opacity: 1;
    transform: none;
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(255, 255, 255, 0.55);
  }

  html[data-marketing-theme="dark"] .wsf-product-card--immersive .wsf-product-card__float-inner,
  html[data-theme="dark"] .wsf-product-card--immersive .wsf-product-card__float-inner {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .wsf-product-card--immersive .wsf-product-card__name {
    color: var(--wsf-text);
  }

  .wsf-product-card--immersive .wsf-add-btn--compact {
    opacity: 1;
    transform: scale(1);
  }
}

.wsf-add-btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 4px 12px -4px var(--wsf-glow);
}

.wsf-add-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 20px -4px var(--wsf-glow);
}

.wsf-add-btn.is-added {
  animation: wsf-added 0.5s ease;
}

@keyframes wsf-added {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(0.92);
  }
  60% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

.wsf-btn-primary {
  background: linear-gradient(135deg, var(--wsf-primary), color-mix(in srgb, var(--wsf-accent) 85%, var(--wsf-primary)));
  color: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.wsf-btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 8px 24px -6px var(--wsf-glow);
  transform: translateY(-1px);
}

.wsf-btn-primary:active {
  transform: translateY(0) scale(0.98);
}

html[data-marketing-theme="dark"] .wsf-cat-pill,
.wsf-root.wsf-theme-dark .wsf-cat-pill {
  background: color-mix(in srgb, var(--wsf-surface) 90%, transparent);
  color: var(--wsf-muted);
}

html[data-marketing-theme="dark"] .wsf-cat-scroll-wrap::before,
.wsf-root.wsf-theme-dark .wsf-cat-scroll-wrap::before {
  background: linear-gradient(90deg, var(--wsf-surface-2), transparent);
}

html[data-marketing-theme="dark"] .wsf-cat-scroll-wrap::after,
.wsf-root.wsf-theme-dark .wsf-cat-scroll-wrap::after {
  background: linear-gradient(270deg, var(--wsf-surface-2), transparent);
}

html[data-marketing-theme="dark"] .wsf-fab__count,
.wsf-root.wsf-theme-dark .wsf-fab__count {
  border-color: var(--wsf-surface);
  background: #fafafa;
  color: #0f172a;
}

html[data-marketing-theme="dark"] .wsf-quote-msg--error,
.wsf-root.wsf-theme-dark .wsf-quote-msg--error {
  background: rgba(127, 29, 29, 0.35);
  color: #fecaca;
}

html[data-marketing-theme="dark"] .wsf-quote-msg--success,
.wsf-root.wsf-theme-dark .wsf-quote-msg--success {
  background: rgba(6, 78, 59, 0.35);
  color: #a7f3d0;
}

html[data-marketing-theme="dark"] .wsf-cart-line,
.wsf-root.wsf-theme-dark .wsf-cart-line {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

html[data-marketing-theme="dark"] .wsf-cart-line:hover,
.wsf-root.wsf-theme-dark .wsf-cart-line:hover {
  box-shadow: 0 4px 16px -8px rgba(0, 0, 0, 0.45);
}

html[data-marketing-theme="dark"] .wsf-cart-drawer,
.wsf-root.wsf-theme-dark .wsf-cart-drawer {
  box-shadow: -24px 0 64px -24px rgba(0, 0, 0, 0.55);
}

html[data-marketing-theme="dark"] .wsf-cart-line__remove:hover,
.wsf-root.wsf-theme-dark .wsf-cart-line__remove:hover {
  background: rgba(127, 29, 29, 0.35);
  color: #fecaca;
}

.wsf-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--wsf-border);
  background: var(--wsf-surface);
}

.wsf-footer__logo {
  box-shadow: 0 4px 12px var(--wsf-glow);
}

.wsf-fab {
  position: fixed;
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  right: max(1.25rem, env(safe-area-inset-right));
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  box-shadow:
    0 12px 32px -8px var(--wsf-glow),
    0 4px 14px -4px rgba(15, 23, 42, 0.25);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  animation: wsf-fab-in 0.5s ease 0.4s both;
}

.wsf-fab__icon {
  width: 1.35rem;
  height: 1.35rem;
}

.wsf-fab__count {
  position: absolute;
  top: -0.15rem;
  right: -0.15rem;
  display: flex;
  min-width: 1.125rem;
  height: 1.125rem;
  align-items: center;
  justify-content: center;
  padding: 0 0.25rem;
  border-radius: 999px;
  border: 2px solid var(--wsf-surface, #fff);
  background: #0f172a;
  font-size: 0.625rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  animation: wsf-pop 0.35s ease;
}

.wsf-fab__count.hidden {
  display: none;
}

.wsf-fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 16px 40px -10px var(--wsf-glow),
    0 6px 18px -4px rgba(15, 23, 42, 0.28);
}

.wsf-fab:active {
  transform: translateY(0) scale(0.98);
}

.wsf-fab.is-bump {
  animation: wsf-bump 0.45s ease;
}

@keyframes wsf-fab-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.wsf-toast {
  position: fixed;
  bottom: max(5rem, calc(env(safe-area-inset-bottom) + 4rem));
  left: 50%;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: min(90vw, 22rem);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--wsf-primary), var(--wsf-accent));
  box-shadow: 0 12px 32px -8px var(--wsf-glow);
  transform: translate(-50%, 120%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1), opacity 0.25s ease;
  pointer-events: none;
}

.wsf-toast.is-show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.wsf-empty-state {
  border: 1px dashed color-mix(in srgb, var(--wsf-primary) 25%, transparent);
  background: color-mix(in srgb, var(--wsf-primary) 4%, var(--wsf-surface));
  animation: wsf-fade-up 0.6s ease both;
}

.wsf-design-shell {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgb(var(--rc-border));
  box-shadow: 0 24px 48px -32px rgba(15, 23, 42, 0.45);
}

.wsf-design-badge {
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
}

body.wsf-cart-open {
  overflow: hidden;
}

.wsf-cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
}

.wsf-cart-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.wsf-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  width: min(100%, 28rem);
  height: 100%;
  max-height: 100dvh;
  min-height: 0;
  background: var(--wsf-surface);
  border-left: 1px solid var(--wsf-border);
  box-shadow: -24px 0 64px -24px rgba(15, 23, 42, 0.35);
  transform: translateX(105%);
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

@media (max-width: 639px) {
  .wsf-cart-drawer {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: min(92dvh, 100%);
    border-left: none;
    border-top: 1px solid var(--wsf-border);
    border-radius: 1.25rem 1.25rem 0 0;
    box-shadow: 0 -24px 64px -24px rgba(15, 23, 42, 0.35);
    transform: translateY(105%);
  }

  .wsf-cart-drawer.is-open {
    transform: translateY(0);
  }

  .wsf-cart-drawer__handle {
    display: block;
    width: 2.5rem;
    height: 0.25rem;
    margin: 0.65rem auto 0;
    border-radius: 999px;
    background: color-mix(in srgb, var(--wsf-muted) 35%, transparent);
  }
}

.wsf-cart-drawer__handle {
  display: none;
}

@media (min-width: 640px) {
  .wsf-cart-drawer.is-open {
    transform: translateX(0);
  }
}

.wsf-cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-shrink: 0;
  padding: 1.125rem 1.25rem;
  border-bottom: 1px solid var(--wsf-border);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--wsf-primary) 8%, var(--wsf-surface)),
    var(--wsf-surface)
  );
}

.wsf-cart-drawer__title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.wsf-cart-drawer__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, var(--wsf-primary), color-mix(in srgb, var(--wsf-accent) 85%, var(--wsf-primary)));
  color: #fff;
  box-shadow: 0 6px 18px -6px var(--wsf-glow);
}

.wsf-cart-drawer__icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.wsf-cart-drawer__title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--wsf-text);
}

.wsf-cart-drawer__subtitle {
  margin-top: 0.1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--wsf-muted);
}

.wsf-cart-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border: 1px solid var(--wsf-border);
  border-radius: 999px;
  background: var(--wsf-surface-2);
  color: var(--wsf-muted);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.wsf-cart-drawer__close svg {
  width: 1rem;
  height: 1rem;
}

.wsf-cart-drawer__close:hover {
  color: var(--wsf-text);
  background: color-mix(in srgb, var(--wsf-primary) 8%, var(--wsf-surface-2));
  transform: scale(1.05);
}

.wsf-cart-drawer__items {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--wsf-primary) 30%, transparent) transparent;
}

.wsf-cart-drawer__items::-webkit-scrollbar {
  width: 5px;
}

.wsf-cart-drawer__items::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: color-mix(in srgb, var(--wsf-primary) 35%, transparent);
}

.wsf-cart-lines {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.wsf-cart-drawer__contact {
  flex-shrink: 0;
  max-height: min(38vh, 18rem);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.5rem 1rem 0.65rem;
  border-top: 1px solid var(--wsf-border);
  background: color-mix(in srgb, var(--wsf-surface-2) 55%, var(--wsf-surface));
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--wsf-primary) 25%, transparent) transparent;
}

.wsf-cart-drawer__contact.hidden {
  display: none;
}

.wsf-cart-drawer__foot {
  flex-shrink: 0;
  border-top: 1px solid var(--wsf-border);
  padding: 1rem 1.25rem;
  padding-bottom: max(1.125rem, env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--wsf-surface-2) 65%, var(--wsf-surface));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.wsf-cart-total-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.875rem;
  border: 1px solid var(--wsf-border);
  background: var(--wsf-surface);
}

.wsf-cart-total-card__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--wsf-muted);
}

.wsf-cart-total-card__amount {
  font-size: 1.125rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--wsf-primary);
}

.wsf-cart-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.875rem 1.25rem;
  border: none;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
}

.wsf-cart-checkout svg {
  width: 1.125rem;
  height: 1.125rem;
  transition: transform 0.22s ease;
}

.wsf-cart-checkout:hover svg {
  transform: translateX(3px);
}

.wsf-cart-checkout:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

.wsf-cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
  text-align: center;
}

.wsf-cart-empty__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--wsf-primary) 10%, var(--wsf-surface-2));
  color: var(--wsf-primary);
}

.wsf-cart-empty__icon svg {
  width: 1.75rem;
  height: 1.75rem;
  opacity: 0.85;
}

.wsf-cart-empty__title {
  margin-top: 1rem;
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--wsf-text);
}

.wsf-cart-empty__sub {
  margin-top: 0.35rem;
  max-width: 14rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--wsf-muted);
}

.wsf-cart-line {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
  padding: 0.65rem;
  border-radius: 1rem;
  border: 1px solid var(--wsf-border);
  background: var(--wsf-surface);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  animation: wsf-fade-up 0.35s ease both;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.wsf-cart-line:hover {
  border-color: color-mix(in srgb, var(--wsf-primary) 22%, transparent);
  box-shadow: 0 4px 16px -8px var(--wsf-glow);
}

.wsf-cart-line__media {
  flex-shrink: 0;
}

.wsf-cart-line__img {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 0.75rem;
  object-fit: cover;
  background: var(--wsf-surface-2);
}

.wsf-cart-line__img--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--wsf-muted);
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--wsf-primary) 8%, var(--wsf-surface-2)),
    var(--wsf-surface-2)
  );
}

.wsf-cart-line__main {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wsf-cart-line__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.wsf-cart-line__name {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--wsf-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wsf-cart-line__unit {
  margin-top: 0.15rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--wsf-muted);
}

.wsf-cart-line__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.wsf-cart-line__price {
  font-size: 0.875rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--wsf-primary);
}

.wsf-cart-line__qty {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.15rem;
  border-radius: 999px;
  border: 1px solid var(--wsf-border);
  background: var(--wsf-surface-2);
}

.wsf-qty-btn {
  display: inline-flex;
  width: 1.625rem;
  height: 1.625rem;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: var(--wsf-surface);
  color: var(--wsf-text);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.wsf-qty-btn svg {
  width: 0.75rem;
  height: 0.75rem;
}

.wsf-qty-btn:hover {
  background: color-mix(in srgb, var(--wsf-primary) 12%, var(--wsf-surface));
  color: var(--wsf-primary);
  transform: scale(1.06);
}

.wsf-qty-val {
  min-width: 1.375rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.wsf-cart-line__remove {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--wsf-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.wsf-cart-line__remove svg {
  width: 0.875rem;
  height: 0.875rem;
}

.wsf-cart-line__remove:hover {
  background: color-mix(in srgb, #ef4444 12%, var(--wsf-surface));
  color: #ef4444;
}

.wsf-cart-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.wsf-cart-form--compact {
  gap: 0.4rem;
}

.wsf-cart-form__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0.4rem;
}

@media (max-width: 380px) {
  .wsf-cart-form__grid {
    grid-template-columns: 1fr;
  }
}

.wsf-cart-form__field {
  display: flex;
  flex-direction: column;
}

.wsf-form-hint {
  margin: -0.15rem 0 0;
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--wsf-muted);
}

.wsf-form-hint:empty {
  display: none;
}

.wsf-form-hint.is-found {
  color: var(--wsf-primary);
}

.wsf-form-hint.is-error {
  color: #b91c1c;
}

.wsf-cart-form--compact .wsf-quote-field {
  margin-top: 0;
  padding: 0.5rem 0.65rem;
  font-size: 0.8125rem;
  border-radius: 0.625rem;
}

.wsf-cart-form--compact .wsf-quote-field--notes {
  min-height: 2.75rem;
  resize: none;
}

.wsf-cart-form__optional {
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: color-mix(in srgb, var(--wsf-muted) 80%, transparent);
}

.wsf-cart-form__check {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--wsf-muted);
  user-select: none;
}

.wsf-cart-form__check input[type="checkbox"] {
  width: 0.875rem;
  height: 0.875rem;
  margin: 0;
  accent-color: var(--wsf-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.wsf-location-field-wrap {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
}

.wsf-location-field-wrap.is-open {
  display: flex;
  overflow: visible;
}

.wsf-location-distance {
  margin: 0;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--wsf-primary);
}

.wsf-cart-drawer__contact:has(.wsf-location-field-wrap.is-open) {
  overflow: visible;
}

.wsf-location-distance.hidden {
  display: none;
}

.pac-container {
  z-index: 10080 !important;
  border-radius: 0.75rem;
  border: 1px solid var(--wsf-border, #e4e4e7);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  font-family: inherit;
  margin-top: 0.25rem;
}

.pac-item {
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.35;
  cursor: pointer;
}

.pac-item:hover,
.pac-item-selected {
  background: color-mix(in srgb, var(--wsf-primary, #9333ea) 8%, #fff);
}

.wsf-customer-lookup-hint {
  min-height: 0;
  margin-top: 0.2rem;
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--wsf-muted);
}

.wsf-customer-lookup-hint:empty {
  display: none;
}

.wsf-customer-lookup-hint.is-found {
  color: var(--wsf-primary);
}

.wsf-customer-lookup-hint.is-error {
  color: #b91c1c;
}

.wsf-quote-field--notes {
  min-height: 4.5rem;
  resize: vertical;
}

.wsf-quote-field {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  border-radius: 0.75rem;
  border: 1px solid var(--wsf-border);
  background: var(--wsf-surface);
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  color: var(--wsf-text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wsf-quote-field:focus {
  border-color: color-mix(in srgb, var(--wsf-primary) 45%, transparent);
  box-shadow: 0 0 0 3px var(--wsf-glow);
}

.wsf-quote-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--wsf-muted);
}

.wsf-cart-form--compact .wsf-quote-msg {
  margin-top: 0.25rem;
  padding: 0.4rem 0.55rem;
  border-radius: 0.5rem;
  font-size: 0.6875rem;
}

.wsf-quote-msg {
  margin-top: 0.75rem;
  border-radius: 0.75rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.8125rem;
  animation: wsf-fade-up 0.35s ease both;
}

.wsf-quote-msg--error {
  background: #fef2f2;
  color: #b91c1c;
}

.wsf-quote-msg--success {
  background: #ecfdf5;
  color: #047857;
}

.wsf-cart-count.hidden {
  display: none;
}

.mk-brand-text {
  color: var(--wsf-primary);
}

@media (prefers-reduced-motion: reduce) {
  .wsf-ambient__orb,
  .wsf-promo,
  .wsf-promo::after,
  .wsf-product-card.is-visible,
  .wsf-fab,
  .wsf-section-head,
  .wsf-offer-badge,
  .wsf-cat-row {
    animation: none !important;
  }

  .wsf-product-card--compact,
  .wsf-product-card--immersive,
  .wsf-product-card--modern {
    opacity: 1;
    transform: none;
  }

  .wsf-product-card--modern:hover,
  .wsf-product-card--modern:focus-within {
    transform: none;
  }

  .wsf-product-card--modern .wsf-product-card__desc {
    max-height: 4rem;
    opacity: 1;
    margin-top: 0.35rem;
  }

  .wsf-product-card--modern .wsf-product-card__cart {
    opacity: 1;
    transform: none;
  }

  .wsf-product-card--immersive:hover,
  .wsf-product-card--immersive:focus-within {
    transform: none;
  }

  .wsf-product-card--immersive .wsf-product-card__float-inner {
    opacity: 1;
    transform: none;
    background: rgba(255, 255, 255, 0.9);
  }

  html[data-marketing-theme="dark"] .wsf-product-card--immersive .wsf-product-card__float-inner,
  html[data-theme="dark"] .wsf-product-card--immersive .wsf-product-card__float-inner {
    background: rgba(15, 23, 42, 0.88);
  }

  .wsf-product-card--immersive .wsf-product-card__name {
    color: var(--wsf-text);
  }

  .wsf-product-card--immersive .wsf-add-btn--compact {
    opacity: 1;
  }

  .wsf-product-card {
    opacity: 1;
    transform: none;
  }

  .wsf-product-card:hover {
    transform: none;
  }
}
