/* ===========================================================================
   wholesale.css — visually distinctive UI for the /wholesale flow.
   Consumes tokens.css + base.css from head-assets. The page deliberately
   uses MORE purple than the retail catalogue so customers feel they're in
   a different mode — paired with brand green for cohesion.
   =========================================================================== */

.wholesale-mode {
  /* Override the body bg specifically for the wholesale flow so the green
     accents below pop against a warm-but-distinct backdrop. */
  background:
    radial-gradient(ellipse at top, rgba(98, 0, 99, 0.06), transparent 40%),
    var(--color-bg);
}

.wholesale-main { padding-bottom: var(--space-16); }

/* ---------- Shared WHOLESALE badge ---------- */
.ws-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-pill);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
}
.ws-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-brand-100);
  box-shadow: 0 0 0 4px rgba(232, 243, 216, 0.25);
  animation: ws-badge-pulse 2s ease-in-out infinite;
}
@keyframes ws-badge-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(232, 243, 216, 0.25); }
  50%      { box-shadow: 0 0 0 9px rgba(232, 243, 216, 0.05); }
}

/* ---------- Hero ---------- */
.ws-hero {
  position: relative;
  padding: clamp(60px, 10vw, 100px) 0 clamp(50px, 8vw, 90px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at top right, rgba(98, 0, 99, 0.60), transparent 55%),
    linear-gradient(135deg, var(--color-brand-800) 0%, var(--color-brand-700) 40%, var(--color-accent-700) 100%);
  color: #fff;
}
.ws-hero::before {
  /* decorative grain blob */
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 60%);
  filter: blur(50px);
  z-index: 0;
}
.ws-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
}
.ws-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.6rem + 3vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: var(--tracking-tight);
  color: #fff;
  margin: var(--space-5) 0 var(--space-4);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}
.ws-hero-sub {
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.92);
  max-width: 540px;
  margin: 0 auto var(--space-8);
  line-height: 1.6;
}
.ws-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin: var(--space-8) auto;
  max-width: 580px;
}
.ws-stat {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.ws-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.ws-stat-label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.ws-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-4);
  padding: 14px 32px;
  background: #fff;
  color: var(--color-brand-800);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-base);
  text-decoration: none;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.4);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.ws-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(0, 0, 0, 0.45);
  background: var(--color-brand-50);
}

/* Hero floating bubbles — reuse retail .bubble keyframes but recoloured. */
.ws-hero-bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.ws-hero-bubbles .bubble-1 { background: rgba(255, 200, 100, 0.40); }
.ws-hero-bubbles .bubble-2 { background: rgba(232, 243, 216, 0.30); }
.ws-hero-bubbles .bubble-3 { background: rgba(255, 110, 160, 0.40); }
.ws-hero-bubbles .bubble-4 { background: rgba(155, 60, 156, 0.45); }
.ws-hero-bubbles .bubble-5 { background: rgba(255, 255, 255, 0.45); }
.ws-hero-bubbles .bubble-6 { background: rgba(71, 143, 7, 0.40); }

/* ---------- Section primitives ---------- */
.ws-section { padding: clamp(40px, 6vw, 64px) 0; }
.ws-section-head { text-align: center; max-width: 640px; margin: 0 auto var(--space-10); }
.ws-section-head h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-ink);
  margin-bottom: var(--space-2);
}
.ws-section-sub { color: var(--color-ink-muted); font-size: var(--text-sm); margin: 0; }
.ws-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-accent-700);
  background: var(--color-accent-100);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-3);
}

/* ---------- "How it works" 4-step grid ---------- */
.ws-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.ws-step {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.ws-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-brand-100);
}
.ws-step-num {
  position: absolute;
  top: -16px; left: var(--space-6);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--color-brand-700), var(--color-accent-700));
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 800;
  box-shadow: 0 6px 14px -4px rgba(98, 0, 99, 0.5);
}
.ws-step h3 {
  font-family: var(--font-display);
  font-size: var(--text-md);
  color: var(--color-ink);
  margin: var(--space-3) 0 var(--space-2);
}
.ws-step p { font-size: var(--text-sm); color: var(--color-ink-muted); margin: 0; line-height: 1.55; }

/* ---------- Payment terms card ---------- */
.ws-section-terms {
  background:
    radial-gradient(ellipse at top right, rgba(71, 143, 7, 0.06), transparent 60%),
    var(--color-surface-2);
}
.ws-terms-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  max-width: 920px;
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
}
.ws-terms-col h3 {
  font-family: var(--font-display);
  font-size: var(--text-md);
  color: var(--color-ink);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-4);
}
.ws-terms-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.ws-terms-col li {
  position: relative;
  padding-left: 24px;
  font-size: var(--text-sm);
  color: var(--color-ink-muted);
  line-height: 1.55;
}
.ws-terms-col li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-brand-600);
}
.ws-icon-coin::before { content: "🪙"; font-style: normal; }
.ws-icon-lock::before { content: "🔒"; font-style: normal; }

/* ---------- Catalogue grid ---------- */
.ws-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-6);
}
.ws-preloader {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-12) 0;
  color: var(--color-ink-muted);
}
.ws-spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-accent-700);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.ws-product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
  position: relative;
}
.ws-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-100);
}
.ws-product-card::before {
  /* "WHOLESALE" corner ribbon to keep the mode obvious */
  content: "WHOLESALE";
  position: absolute;
  top: 12px; left: 12px;
  background: linear-gradient(135deg, var(--color-brand-700), var(--color-accent-700));
  color: #fff;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  z-index: 1;
  box-shadow: 0 4px 12px -4px rgba(98, 0, 99, 0.5);
}
.ws-product-image {
  aspect-ratio: 4 / 5;
  background: var(--color-surface-2);
  overflow: hidden;
}
.ws-product-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.ws-product-card:hover .ws-product-image img { transform: scale(1.06); }

.ws-product-body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.ws-product-cat {
  font-size: var(--text-xs);
  color: var(--color-ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.ws-product-name {
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ws-prices {
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px dashed var(--color-border);
}
.ws-prices-row { display: flex; justify-content: space-between; align-items: baseline; }
.ws-price-retail { color: var(--color-ink-soft); font-size: var(--text-xs); }
.ws-price-retail .ws-strike { text-decoration: line-through; font-weight: 600; }
.ws-price-wholesale {
  display: flex; align-items: baseline; gap: 6px;
}
.ws-price-wholesale-amount {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-accent-700);
}
.ws-price-wholesale-suffix { font-size: var(--text-xs); color: var(--color-ink-muted); }

.ws-savings {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--space-2);
  padding: 4px 10px;
  background: var(--color-brand-50);
  border: 1px solid var(--color-brand-100);
  color: var(--color-brand-800);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 700;
  align-self: flex-start;
}

.ws-product-add {
  margin-top: var(--space-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: none;
  background: linear-gradient(135deg, var(--color-brand-700), var(--color-accent-700));
  color: #fff;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.ws-product-add:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -6px rgba(98, 0, 99, 0.45);
}

.ws-product-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-12) var(--space-6);
  color: var(--color-ink-muted);
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
}

/* ---------- Size × quantity matrix modal ---------- */
.ws-modal {
  position: fixed; inset: 0;
  z-index: var(--z-modal);
  display: none;
}
.ws-modal.show { display: block; }
.ws-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(20, 22, 18, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.ws-modal-dialog {
  position: relative;
  max-width: 640px;
  width: calc(100% - 2 * var(--space-4));
  margin: 5vh auto;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: ws-modal-in 0.25s var(--ease-out);
}
@keyframes ws-modal-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.ws-modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--color-surface-2);
  color: var(--color-ink);
  font-size: 22px;
  cursor: pointer;
  z-index: 2;
}
.ws-modal-close:hover { background: var(--color-border); }
.ws-modal-header {
  display: flex; gap: var(--space-4);
  padding: var(--space-6);
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(135deg, rgba(71, 143, 7, 0.06), rgba(98, 0, 99, 0.06));
}
.ws-modal-header img {
  width: 72px; height: 72px;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
}
.ws-modal-header h2 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-ink);
  margin: 0 0 var(--space-1);
}
.ws-modal-price {
  font-size: var(--text-sm);
  color: var(--color-ink-muted);
  margin: 0;
}
.ws-modal-price strong { color: var(--color-accent-700); font-weight: 700; }

.ws-modal-body { padding: var(--space-6); overflow-y: auto; flex: 1; }
.ws-modal-hint {
  font-size: var(--text-sm);
  color: var(--color-ink-muted);
  background: var(--color-brand-50);
  border-left: 3px solid var(--color-brand-600);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin: 0 0 var(--space-5);
}

.ws-size-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: var(--space-3);
}
.ws-size-row {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  display: flex; flex-direction: column; gap: 6px;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.ws-size-row.has-qty {
  background: #fff;
  border-color: var(--color-brand-600);
  box-shadow: 0 0 0 3px rgba(71, 143, 7, 0.12);
}
.ws-size-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--color-ink);
}
.ws-size-qty {
  display: flex; align-items: center; gap: 6px;
}
.ws-size-qty button {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  cursor: pointer;
  font-weight: 700;
  color: var(--color-ink);
  transition: background var(--dur-fast) var(--ease-out);
}
.ws-size-qty button:hover { background: var(--color-brand-50); border-color: var(--color-brand-600); }
.ws-size-qty input {
  flex: 1;
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 4px 6px;
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
}
.ws-size-qty input:focus {
  outline: none;
  border-color: var(--color-brand-600);
  box-shadow: 0 0 0 3px rgba(71, 143, 7, 0.15);
}

.ws-modal-totals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding: var(--space-4);
  background: var(--color-surface-2);
  border-radius: var(--radius-md);
}
.ws-modal-totals > div {
  display: flex; flex-direction: column;
  font-size: var(--text-xs);
  color: var(--color-ink-muted);
}
.ws-modal-totals strong { font-family: var(--font-display); font-size: var(--text-md); color: var(--color-ink); margin-top: 2px; }

.ws-modal-error {
  margin-top: var(--space-4);
  padding: 10px 14px;
  background: var(--color-danger-bg);
  border-left: 3px solid var(--color-danger);
  color: var(--color-danger);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 500;
}

.ws-modal-footer {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: flex-end;
  gap: var(--space-3);
}

/* ---------- Buttons ---------- */
.ws-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.ws-btn-primary {
  background: linear-gradient(135deg, var(--color-brand-700), var(--color-accent-700));
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(98, 0, 99, 0.5);
}
.ws-btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px -8px rgba(98, 0, 99, 0.6);
}
.ws-btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.ws-btn-ghost {
  background: transparent;
  color: var(--color-ink);
  border: 1px solid var(--color-border);
}
.ws-btn-ghost:hover { background: var(--color-surface-2); }
.ws-btn-block { width: 100%; }

/* ---------- Wholesale cart drawer ---------- */
.ws-cart-backdrop {
  position: fixed; inset: 0;
  background: rgba(20, 22, 18, 0.45);
  z-index: calc(var(--z-overlay) + 1);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-out), visibility 0s linear var(--dur-base);
}
.ws-cart-backdrop.active {
  opacity: 1; visibility: visible;
  transition: opacity var(--dur-base) var(--ease-out);
}
.ws-cart {
  position: fixed; top: 0; right: 0;
  width: min(480px, 100vw);
  height: 100dvh;
  background: var(--color-surface);
  box-shadow: var(--shadow-xl);
  transform: translateX(100%);
  transition: transform var(--dur-base) var(--ease-out);
  z-index: calc(var(--z-modal) + 1);
  display: flex; flex-direction: column;
}
.ws-cart.active { transform: translateX(0); }

.ws-cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  background: linear-gradient(135deg, var(--color-brand-700), var(--color-accent-700));
  color: #fff;
}
.ws-cart-header h3 { font-family: var(--font-display); font-size: var(--text-md); margin: 0; color: #fff; }
.ws-cart-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.ws-cart-body { flex: 1; overflow-y: auto; padding: var(--space-4) 0; }
.ws-cart-empty { text-align: center; padding: var(--space-12) var(--space-6); color: var(--color-ink-muted); }
.ws-cart-empty-icon { font-size: 56px; margin-bottom: var(--space-4); opacity: 0.65; }
.ws-cart-empty-sub { font-size: var(--text-sm); margin-top: var(--space-2); }

.ws-cart-item {
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.ws-cart-item img {
  width: 56px; height: 56px;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  flex-shrink: 0;
}
.ws-cart-item-main { flex: 1; min-width: 0; }
.ws-cart-item-name {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 2px;
}
.ws-cart-item-meta {
  font-size: 11px;
  color: var(--color-ink-muted);
  display: flex; flex-wrap: wrap; gap: 6px;
}
.ws-cart-item-sizes { font-size: 11px; color: var(--color-ink-soft); margin-top: 4px; line-height: 1.4; }
.ws-cart-item-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-accent-700);
  font-size: var(--text-sm);
  white-space: nowrap;
}
.ws-cart-item-edit, .ws-cart-item-remove {
  background: none; border: none;
  font-size: 12px;
  color: var(--color-ink-muted);
  cursor: pointer;
  padding: 2px 6px;
}
.ws-cart-item-edit:hover { color: var(--color-brand-700); }
.ws-cart-item-remove:hover { color: var(--color-danger); }

.ws-cart-validation {
  padding: var(--space-4) var(--space-6);
  background: var(--color-warning-bg);
  border-top: 1px solid #fed7aa;
  font-size: var(--text-sm);
  color: var(--color-warning);
}
.ws-cart-validation ul { margin: 6px 0 0; padding-left: 20px; }
.ws-cart-validation li { margin-bottom: 4px; }
.ws-cart-validation.valid {
  background: var(--color-success-bg);
  border-top-color: #bbf7d0;
  color: var(--color-success);
}

.ws-cart-footer {
  padding: var(--space-5) var(--space-6);
  border-top: 1px solid var(--color-border);
  background: var(--color-surface-2);
}
.ws-cart-totals { margin-bottom: var(--space-4); }
.ws-cart-row {
  display: flex; justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--color-ink-muted);
  margin-bottom: 4px;
}
.ws-cart-row strong { color: var(--color-ink); font-weight: 600; }
.ws-cart-row.ws-cart-total {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
  font-family: var(--font-display);
  font-size: var(--text-md);
  color: var(--color-ink);
}
.ws-cart-row.ws-cart-total strong { color: var(--color-ink); }
.ws-cart-row.ws-cart-deposit {
  color: var(--color-accent-700);
  font-weight: 600;
}
.ws-cart-row.ws-cart-deposit strong { color: var(--color-accent-700); font-weight: 800; }
.ws-cart-foot-note {
  margin-top: var(--space-3);
  font-size: 11px;
  color: var(--color-ink-soft);
  text-align: center;
}

/* ---------- Floating "View order" pill ---------- */
.ws-fab {
  position: fixed;
  bottom: 24px; left: 24px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--color-brand-700), var(--color-accent-700));
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  cursor: pointer;
  z-index: 990;
  box-shadow: 0 10px 24px -6px rgba(98, 0, 99, 0.5);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.ws-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(98, 0, 99, 0.6);
}
.ws-fab-count {
  background: #fff;
  color: var(--color-accent-700);
  font-family: var(--font-display);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: var(--text-xs);
  min-width: 28px;
  text-align: center;
}
.ws-fab[hidden] { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .ws-steps { grid-template-columns: repeat(2, 1fr); }
  .ws-terms-card { grid-template-columns: 1fr; padding: var(--space-6); }
}
@media (max-width: 600px) {
  .ws-hero-stats { grid-template-columns: 1fr; }
  .ws-products-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
  .ws-modal-header { flex-direction: column; align-items: flex-start; }
  .ws-modal-totals { grid-template-columns: 1fr; }
  .ws-fab { bottom: 18px; left: 18px; }
  .ws-fab-label { display: none; }
}
@media (max-width: 380px) {
  .ws-products-grid { grid-template-columns: 1fr; }
}
