/* LC Sels Shop — maquette locale Gen Z / pro */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  /* Clair (défaut LC) */
  --ss-bg: #f4f8fb;
  --ss-navy-2: #0c3d5c;
  --ss-cyan: #1a6b9c;
  --ss-cyan-dim: rgba(26, 107, 156, 0.12);
  --ss-orange: #ff5a1f;
  --ss-orange-hot: #ff7a45;
  --ss-text: #0c3d5c;
  --ss-muted: rgba(12, 61, 92, 0.62);
  --ss-line: rgba(12, 61, 92, 0.14);
  --ss-ok: #0a7a4a;
  --ss-surface: #ffffff;
  --ss-surface-2: rgba(12, 61, 92, 0.04);
  --ss-input-bg: #ffffff;
  --ss-panel: #ffffff;
  --ss-overlay: rgba(12, 61, 92, 0.45);
  --ss-hero-scrim: linear-gradient(105deg, rgba(12, 61, 92, 0.55) 0%, rgba(12, 61, 92, 0.28) 42%, rgba(7, 26, 42, 0.18) 100%);
  --ss-hero-text: #fff;
  --ss-hero-muted: rgba(255, 255, 255, 0.82);
  --ss-hero-kicker: #9af0ff;
  --ss-title-grad: linear-gradient(100deg, #fff 10%, #9af0ff 100%);
  --ss-logo-filter: none;
  --ss-noise-op: 0.04;
  --ss-glow-op: 0.22;
  --ss-check-fg: #fff;
  --ss-font-display: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --ss-font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

html[data-theme="dark"] {
  --ss-bg: #071a2a;
  --ss-cyan: #3ee0ff;
  --ss-cyan-dim: rgba(62, 224, 255, 0.18);
  --ss-text: #e8f4fa;
  --ss-muted: rgba(232, 244, 250, 0.62);
  --ss-line: rgba(62, 224, 255, 0.22);
  --ss-ok: #3dff9a;
  --ss-surface: rgba(255, 255, 255, 0.06);
  --ss-surface-2: rgba(255, 255, 255, 0.03);
  --ss-input-bg: rgba(0, 0, 0, 0.25);
  --ss-panel: linear-gradient(165deg, #0e2a40, #071a2a);
  --ss-overlay: rgba(4, 12, 20, 0.72);
  --ss-hero-scrim: linear-gradient(105deg, rgba(7, 26, 42, 0.88) 0%, rgba(7, 26, 42, 0.5) 42%, rgba(7, 26, 42, 0.22) 100%);
  --ss-hero-text: #fff;
  --ss-hero-muted: rgba(232, 244, 250, 0.72);
  --ss-hero-kicker: #3ee0ff;
  --ss-title-grad: linear-gradient(100deg, #fff 20%, var(--ss-cyan) 100%);
  --ss-logo-filter: brightness(0) invert(1);
  --ss-noise-op: 0.07;
  --ss-glow-op: 0.35;
  --ss-check-fg: #071a2a;
}

.sels-shop-body {
  margin: 0;
  min-height: 100vh;
  background: var(--ss-bg);
  color: var(--ss-text);
  font-family: var(--ss-font);
  overflow-x: hidden;
}

.sels-shop-body * {
  box-sizing: border-box;
}

.ss-noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: var(--ss-noise-op);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ss-glow {
  pointer-events: none;
  position: fixed;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  filter: blur(80px);
  opacity: var(--ss-glow-op);
  z-index: 0;
}

.ss-glow--1 {
  top: -18vw;
  right: -10vw;
  background: radial-gradient(circle, #1a6b9c 0%, transparent 70%);
  animation: ssDrift 14s ease-in-out infinite alternate;
}

.ss-glow--2 {
  bottom: -20vw;
  left: -12vw;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.45) 0%, transparent 70%);
  animation: ssDrift 18s ease-in-out infinite alternate-reverse;
}

@keyframes ssDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(4%, 6%) scale(1.08); }
}

.ss-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(16px, 4vw, 40px);
}

.ss-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.ss-brand img {
  height: 36px;
  width: auto;
  filter: var(--ss-logo-filter);
}

.ss-top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ss-theme-toggle {
  appearance: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ss-line);
  background: var(--ss-surface);
  color: var(--ss-text);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.ss-theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.ss-theme-toggle .theme-icon { display: none; }
html[data-theme="light"] .ss-theme-toggle .theme-icon-sun { display: block; }
html[data-theme="dark"] .ss-theme-toggle .theme-icon-moon { display: block; }
html[data-theme-pref="auto"] .ss-theme-toggle .theme-icon-sun,
html[data-theme-pref="auto"] .ss-theme-toggle .theme-icon-moon { display: none; }
html[data-theme-pref="auto"] .ss-theme-toggle .theme-icon-auto { display: block; }

.ss-brand-mark {
  font-family: var(--ss-font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ss-cyan);
}

.ss-back {
  color: var(--ss-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.ss-back:hover {
  color: var(--ss-text);
  border-color: var(--ss-cyan);
}

.ss-demo {
  position: relative;
  z-index: 2;
  margin: 0 clamp(16px, 4vw, 40px);
  padding: 8px 14px;
  border-radius: 999px;
  width: fit-content;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #071a2a;
  background: linear-gradient(90deg, #3ee0ff, #9af0ff);
  animation: ssPulse 2.4s ease-in-out infinite;
}

@keyframes ssPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(62, 224, 255, 0.45); }
  50% { box-shadow: 0 0 0 10px rgba(62, 224, 255, 0); }
}

/* HERO */
.ss-hero {
  position: relative;
  z-index: 1;
  min-height: clamp(280px, 42vh, 420px);
  display: grid;
  align-items: end;
  padding: 20px clamp(16px, 4vw, 40px) 28px;
}

.ss-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(8, 24, 40, 0.58) 0%, rgba(12, 61, 92, 0.48) 50%, rgba(2, 132, 199, 0.38) 100%),
    url("../img/sels/adoucisseur-hero-bg.jpg") center / cover no-repeat;
}

.ss-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 64px;
  background: linear-gradient(180deg, transparent, var(--ss-bg));
  pointer-events: none;
  z-index: 1;
}

.ss-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  animation: ssRise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes ssRise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.ss-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f8fafc;
}

.ss-hero h1 {
  margin: 0 0 12px;
  max-width: 16ch;
  font-family: var(--ss-font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ss-hero-text);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.ss-hero-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.ss-hero-steps span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.82rem;
  font-weight: 700;
  color: #f8fafc;
}

.ss-hero-lead {
  margin: 0 0 18px;
  max-width: 40rem;
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  line-height: 1.5;
  color: rgba(248, 250, 252, 0.88);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}


.ss-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.ss-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  padding: 14px 26px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.ss-btn:active {
  transform: scale(0.98);
}

.ss-btn--pay,
.ss-btn--primary {
  color: #ffffff;
  background: linear-gradient(120deg, var(--ss-orange), var(--ss-orange-hot));
  box-shadow: 0 12px 40px rgba(255, 90, 31, 0.35);
}

.ss-btn--primary:hover,
.ss-btn--pay:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(255, 90, 31, 0.45);
}

.ss-btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
}

.ss-btn--ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.ss-scroll-hint {
  margin-top: 18px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ss-hero-muted);
  animation: ssBounce 2s ease-in-out infinite;
}

@keyframes ssBounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* SHOP STAGE */
.ss-stage {
  position: relative;
  z-index: 1;
  padding: 28px clamp(16px, 4vw, 40px) 120px;
}

.ss-stage-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.ss-stage-head h2 {
  margin: 0;
  font-family: var(--ss-font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
}

.ss-stage-head p {
  margin: 6px 0 0;
  color: var(--ss-muted);
  max-width: 42ch;
}

.ss-steps {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ss-step-pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--ss-line);
  color: var(--ss-muted);
}

.ss-step-pill.is-on {
  color: var(--ss-check-fg);
  background: var(--ss-cyan);
  border-color: var(--ss-cyan);
}

.ss-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 900px) {
  .ss-grid { grid-template-columns: 1fr; }
}

.ss-product {
  position: relative;
  border: 1px solid var(--ss-line);
  border-radius: 28px;
  padding: 18px 18px 20px;
  background: var(--ss-surface);
  backdrop-filter: blur(10px);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  animation: ssRise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.ss-product:nth-child(1) { animation-delay: 0.05s; }
.ss-product:nth-child(2) { animation-delay: 0.15s; }
.ss-product:nth-child(3) { animation-delay: 0.25s; }

.ss-product:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(62, 224, 255, 0.55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.ss-product.is-selected {
  border-color: var(--ss-cyan);
  box-shadow: 0 0 0 1px var(--ss-cyan), 0 24px 60px rgba(62, 224, 255, 0.15);
}

.ss-product-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ss-cyan);
  background: var(--ss-cyan-dim);
}

.ss-product-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 220px;
  margin-bottom: 12px;
}

.ss-product-visual img {
  max-height: 210px;
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ss-product:hover .ss-product-visual img {
  transform: translateY(-8px) rotate(-2deg) scale(1.04);
}

.ss-product h3 {
  margin: 0 0 6px;
  font-family: var(--ss-font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.ss-product .ss-meta {
  margin: 0 0 14px;
  color: var(--ss-muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.ss-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.ss-price {
  font-family: var(--ss-font-display);
  font-size: 1.55rem;
  font-weight: 800;
}

.ss-price small {
  font-family: var(--ss-font);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ss-muted);
  margin-left: 4px;
}

.ss-vat {
  font-size: 0.75rem;
  color: var(--ss-muted);
}

.ss-check {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--ss-line);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  opacity: 0;
  transform: scale(0.6);
  transition: 0.2s;
  background: var(--ss-cyan);
  color: var(--ss-check-fg);
}

.ss-product.is-selected .ss-check {
  opacity: 1;
  transform: scale(1);
}

/* ADD PANEL */
.ss-add-panel {
  margin-top: 18px;
  border: 1px solid var(--ss-line);
  border-radius: 28px;
  padding: 22px clamp(16px, 3vw, 28px);
  background: var(--ss-surface);
  display: none;
}

.ss-add-panel.is-open {
  display: block;
  animation: ssRise 0.45s ease both;
}

.ss-add-head h3 {
  margin: 0 0 6px;
  font-family: var(--ss-font-display);
  font-size: 1.25rem;
}

.ss-add-head p {
  margin: 0 0 16px;
  color: var(--ss-muted);
  font-size: 0.92rem;
}

.ss-add-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

.ss-add-row .ss-qty {
  margin-bottom: 0;
}

.ss-tier-wrap {
  margin: 14px 0 4px;
  padding: 10px 12px;
  max-width: 320px;
  width: fit-content;
  border-radius: 12px;
  border: 1px solid var(--ss-line);
  background: var(--ss-surface);
}

.ss-tier-title {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ss-muted);
  line-height: 1.3;
}

.ss-tier-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ss-tier-table {
  width: auto;
  min-width: 0;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.ss-tier-table th,
.ss-tier-table td {
  padding: 4px 8px;
  text-align: right;
  border-bottom: 1px solid var(--ss-line);
  white-space: nowrap;
}

.ss-tier-table th:first-child,
.ss-tier-table td:first-child {
  text-align: left;
  padding-left: 6px;
}

.ss-tier-table th {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ss-muted);
}

.ss-tier-table tbody tr {
  cursor: pointer;
  transition: background 0.15s ease;
}

.ss-tier-table tbody tr:hover {
  background: var(--ss-surface-2);
}

.ss-tier-table tbody tr:hover td:first-child {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ss-tier-table tbody tr.is-on {
  background: var(--ss-cyan-dim);
}

.ss-tier-table tbody tr.is-on td {
  color: var(--ss-cyan);
  font-weight: 800;
}

.ss-tier-table td:nth-child(2),
.ss-tier-table td:nth-child(3) {
  font-variant-numeric: tabular-nums;
}

.ss-tier-hint {
  margin: 6px 0 0;
  font-size: 0.7rem;
  color: var(--ss-muted);
}

.ss-live-price {
  margin: 10px 0 0;
  font-size: 0.95rem;
  color: var(--ss-text);
}

.ss-live-price strong {
  font-weight: 800;
  color: var(--ss-cyan);
}

.ss-qty-note {
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: var(--ss-muted);
}

.ss-qty-note a {
  color: var(--ss-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* CHECKOUT */
.ss-checkout {
  margin-top: 22px;
  display: none;
}

.ss-checkout.is-open {
  display: block;
  animation: ssRise 0.45s ease both;
}

.ss-checkout-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 22px;
  align-items: start;
}

@media (max-width: 960px) {
  .ss-checkout-grid { grid-template-columns: 1fr; }
}

.ss-form-card {
  background: var(--ss-surface);
  border: 1px solid var(--ss-line);
  border-radius: 24px;
  padding: 22px clamp(16px, 2.5vw, 28px) 28px;
}

.ss-form-title {
  margin: 0 0 10px;
  font-family: var(--ss-font-display);
  font-size: 1.35rem;
  color: var(--ss-navy-2);
}

html[data-theme="dark"] .ss-form-title {
  color: var(--ss-text);
}

.ss-b2b-banner {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(12, 61, 92, 0.18);
  background: rgba(12, 61, 92, 0.06);
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ss-navy-2);
}

.ss-b2b-banner strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 800;
}

html[data-theme="dark"] .ss-b2b-banner {
  border-color: rgba(62, 224, 255, 0.28);
  background: rgba(62, 224, 255, 0.1);
  color: var(--ss-text);
}

.ss-form-subtitle {
  margin: 8px 0 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ss-navy-2);
}

html[data-theme="dark"] .ss-form-subtitle {
  color: var(--ss-text);
}

.ss-field {
  margin-bottom: 14px;
}

.ss-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ss-navy-2);
}

html[data-theme="dark"] .ss-field label {
  color: var(--ss-text);
}

.ss-req {
  color: var(--ss-orange);
}

.ss-field-hint {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: var(--ss-muted);
}

.ss-field input,
.ss-field select {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: #ebf5fb;
  color: #0c3d5c;
  padding: 14px 14px;
  font: inherit;
  font-size: 1rem;
}

html[data-theme="dark"] .ss-field input,
html[data-theme="dark"] .ss-field select {
  background: rgba(62, 224, 255, 0.1);
  color: var(--ss-text);
}

.ss-field input:focus,
.ss-field select:focus {
  outline: 2px solid var(--ss-cyan);
}

.ss-field select option {
  color: #111;
}

.ss-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ss-field--grow { grid-column: span 1; }
.ss-field-row .ss-field--num { max-width: 110px; justify-self: stretch; }
.ss-field-row:has(.ss-field--num) {
  grid-template-columns: 1fr 110px;
}
.ss-field-row:has(.ss-field--zip) {
  grid-template-columns: 140px 1fr;
}

@media (max-width: 560px) {
  .ss-field-row,
  .ss-field-row:has(.ss-field--num),
  .ss-field-row:has(.ss-field--zip) {
    grid-template-columns: 1fr;
  }
  .ss-field-row .ss-field--num { max-width: none; }
}

.ss-checkline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 12px;
  font-size: 0.92rem;
  color: var(--ss-text);
  cursor: pointer;
}

.ss-checkline input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
}

.ss-delivery-window {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--ss-line);
}

.ss-cart-empty {
  margin: 0 0 12px;
  color: rgba(226, 232, 240, 0.55);
  font-size: 0.9rem;
  font-weight: 600;
}

.ss-cart-lines {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.ss-cart-line {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.ss-cart-line img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

.ss-cart-line-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ss-cart-line-body strong {
  font-size: 0.88rem;
  color: #fff;
}

.ss-cart-line-body span,
.ss-cart-line-body em {
  font-size: 0.78rem;
  color: rgba(226, 232, 240, 0.72);
  font-style: normal;
}

.ss-cart-line-body em {
  color: #7dd3fc;
  font-weight: 700;
}

.ss-cart-rm {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(226, 232, 240, 0.55);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}

.ss-cart-rm:hover {
  color: #fda4af;
}

.ss-sum-dl {
  margin: 0;
  display: grid;
  gap: 8px;
}

.ss-sum-dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.ss-sum-dl dt {
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
}

.ss-sum-dl dd {
  margin: 0;
  font-weight: 700;
  color: #fff;
}

.ss-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ss-cyan);
}

.ss-pack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  max-width: 420px;
}

.ss-pack button {
  appearance: none;
  flex: 1 1 140px;
  max-width: 200px;
  border: 1px solid var(--ss-line);
  background: var(--ss-surface);
  color: var(--ss-text);
  border-radius: 14px;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: 0.2s;
}

.ss-pack button strong {
  display: block;
  font-family: var(--ss-font-display);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.ss-pack button span {
  color: var(--ss-muted);
  font-size: 0.75rem;
  line-height: 1.3;
}

.ss-pack button.is-on {
  border-color: var(--ss-cyan);
  background: var(--ss-cyan-dim);
}

.ss-qty {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.ss-qty button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ss-line);
  background: var(--ss-surface);
  color: var(--ss-text);
  font-size: 1.3rem;
  cursor: pointer;
}

.ss-qty button:hover {
  border-color: var(--ss-cyan);
  color: var(--ss-cyan);
}

.ss-qty input[type="number"] {
  width: 5.5ch;
  min-width: 3ch;
  margin: 0;
  padding: 6px 4px;
  border: 1px solid var(--ss-line);
  border-radius: 10px;
  background: var(--ss-surface);
  color: var(--ss-text);
  text-align: center;
  font-family: var(--ss-font-display);
  font-size: 1.6rem;
  font-weight: 800;
  -moz-appearance: textfield;
  appearance: textfield;
}

.ss-qty input[type="number"]:focus {
  outline: none;
  border-color: var(--ss-cyan);
}

.ss-qty input[type="number"]::-webkit-outer-spin-button,
.ss-qty input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ss-fields {
  display: grid;
  gap: 10px;
}

.ss-fields input,
.ss-fields select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--ss-line);
  background: var(--ss-input-bg);
  color: var(--ss-text);
  padding: 12px 14px;
  font: inherit;
}

.ss-fields input:focus,
.ss-fields select:focus {
  outline: 2px solid var(--ss-cyan);
  border-color: transparent;
}

.ss-fields select option {
  color: #111;
}

.ss-summary {
  position: sticky;
  top: 88px;
  border-radius: 22px;
  padding: 20px;
  color: #f8fafc;
  background: linear-gradient(160deg, #0b1f33 0%, #0c3d5c 58%, #0369a1 100%);
  box-shadow: 0 22px 44px rgba(12, 61, 92, 0.28);
  border: 0;
}

.ss-summary h4 {
  margin: 0 0 12px;
  font-family: var(--ss-font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.ss-summary .ss-total {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--ss-font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.ss-summary .ss-note {
  margin: 10px 0 0;
  font-size: 0.78rem;
  color: rgba(226, 232, 240, 0.62);
}

.ss-b2b {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.18);
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(248, 250, 252, 0.88);
  font-weight: 600;
}

.ss-privacy {
  margin: 10px 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(226, 232, 240, 0.7);
}

.ss-privacy a {
  color: #7dd3fc;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ss-privacy a:hover {
  color: #fff;
}

.ss-pay-wrap {
  margin-top: 14px;
}

.ss-btn--pay {
  width: 100%;
  justify-content: center;
  font-size: 1.05rem;
  padding: 16px 22px;
}

.ss-btn--pay[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* OVERLAYS */
.ss-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 24px;
  background: var(--ss-overlay);
  backdrop-filter: blur(8px);
}

.ss-overlay.is-on {
  display: grid;
  animation: ssFade 0.25s ease both;
}

@keyframes ssFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.ss-panel {
  width: min(440px, 100%);
  border-radius: 28px;
  padding: 28px 24px;
  background: var(--ss-panel);
  border: 1px solid var(--ss-line);
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
  color: var(--ss-text);
}

.ss-panel h3 {
  margin: 0 0 8px;
  font-family: var(--ss-font-display);
  font-size: 1.6rem;
}

.ss-panel p {
  margin: 0 0 18px;
  color: var(--ss-muted);
  line-height: 1.45;
}

.ss-loader {
  width: 46px;
  height: 46px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 3px solid var(--ss-line);
  border-top-color: var(--ss-cyan);
  animation: ssSpin 0.8s linear infinite;
}

@keyframes ssSpin {
  to { transform: rotate(360deg); }
}

.ss-success-ico {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(61, 255, 154, 0.15);
  color: var(--ss-ok);
  font-size: 1.8rem;
  animation: ssPop 0.45s cubic-bezier(0.2, 1.4, 0.3, 1);
}

@keyframes ssPop {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.ss-mail-mock {
  text-align: left;
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--ss-surface-2);
  border: 1px dashed var(--ss-line);
  font-size: 0.82rem;
  color: var(--ss-muted);
  line-height: 1.45;
}

.ss-mail-mock strong {
  color: var(--ss-text);
}

/* sticky mobile CTA hint */
.ss-float-hint {
  display: none;
}

@media (max-width: 700px) {
  .ss-hero {
    min-height: clamp(240px, 38vh, 360px);
    align-items: end;
  }
  .ss-product-visual {
    min-height: 180px;
  }
  .ss-product-visual img {
    max-height: 170px;
  }
}
