/* Storefront — every store's shop front.
 *
 * Nothing here names a color or a font: the layout sets the --sf-* custom
 * properties from the store's theme (app/helpers/storefront_helper.sl), and
 * everything else is derived from them with color-mix(). A theme the AI
 * designer recolors or refonts therefore restyles the whole storefront.
 */

:root {
  --sf-line: color-mix(in srgb, var(--sf-text) 14%, transparent);
  --sf-line-strong: color-mix(in srgb, var(--sf-text) 28%, transparent);
  --sf-tint: color-mix(in srgb, var(--sf-text) 5%, var(--sf-bg));
  --sf-wrap: 1240px;
  --sf-gutter: clamp(16px, 4vw, 40px);
  --sf-section: clamp(56px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.sf {
  margin: 0;
  background: var(--sf-bg);
  color: var(--sf-text);
  font-family: var(--sf-font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.sf :where(img) { display: block; max-width: 100%; height: auto; }

.sf :where(a) { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.sf :where(h1, h2, h3) {
  font-family: var(--sf-font-heading);
  font-weight: var(--sf-heading-weight);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

.sf :where(p) { margin: 0 0 1em; }
.sf :where(p:last-child) { margin-bottom: 0; }

.sf :focus-visible { outline: 2px solid var(--sf-accent); outline-offset: 3px; }

.sf-wrap { max-width: var(--sf-wrap); margin: 0 auto; padding: 0 var(--sf-gutter); }

.sf-muted { color: var(--sf-muted); }

/* ---------------------------------------------------------------- chrome */

.sf-announcement {
  background: var(--sf-accent);
  color: var(--sf-accent-text);
  font-size: 14px;
  text-align: center;
  padding: 9px var(--sf-gutter);
}

.sf-header { border-bottom: 1px solid var(--sf-line); }

.sf-header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 76px;
}

.sf-logo {
  font-family: var(--sf-font-heading);
  font-weight: var(--sf-heading-weight);
  font-size: 22px;
  line-height: 1.1;
  text-decoration: none;
  margin-right: auto;
}

.sf-nav { display: flex; gap: 26px; font-size: 15px; }
.sf-nav a { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.sf-nav a:hover, .sf-nav a[aria-current="page"] { border-bottom-color: currentColor; }

.sf-cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 15px;
}

.sf-cart-count {
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--sf-accent);
  color: var(--sf-accent-text);
  font-size: 13px;
  font-weight: 600;
  display: inline-grid;
  place-items: center;
}

.sf-mobile-nav { display: none; }

@media (max-width: 820px) {
  .sf-nav { display: none; }
  .sf-header-inner { min-height: 64px; gap: 16px; }
  .sf-logo { font-size: 19px; }
  .sf-mobile-nav {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 0 var(--sf-gutter) 12px;
    font-size: 15px;
    white-space: nowrap;
    scrollbar-width: none;
  }
  .sf-mobile-nav a { text-decoration: none; }
}

.sf-footer {
  margin-top: var(--sf-section);
  border-top: 1px solid var(--sf-line);
  padding: 56px 0 40px;
  font-size: 15px;
}

.sf-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.sf-footer-name { font-family: var(--sf-font-heading); font-weight: var(--sf-heading-weight); font-size: 26px; margin-bottom: 10px; }
.sf-footer h2 { font-family: var(--sf-font-body); font-size: 15px; font-weight: 600; margin-bottom: 12px; letter-spacing: 0; }
.sf-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sf-footer a { text-decoration: none; color: var(--sf-muted); }
.sf-footer a:hover { color: var(--sf-text); }
.sf-footer-base { margin-top: 48px; color: var(--sf-muted); font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 720px) {
  .sf-footer-grid { grid-template-columns: 1fr 1fr; }
  .sf-footer-grid > :first-child { grid-column: 1 / -1; }
}

.sf-preview-badge {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 50;
  background: var(--sf-text);
  color: var(--sf-bg);
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
}

/* --------------------------------------------------------------- buttons */

.sf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid var(--sf-accent);
  border-radius: var(--sf-button-radius);
  background: var(--sf-accent);
  color: var(--sf-accent-text);
  font: 600 16px/1 var(--sf-font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}

.sf-button:hover { background: color-mix(in srgb, var(--sf-accent) 86%, var(--sf-text)); }

.sf-button--ghost { background: transparent; color: var(--sf-text); border-color: var(--sf-line-strong); }
.sf-button--ghost:hover { background: var(--sf-tint); }
.sf-button--block { width: 100%; }
.sf-button[disabled] { opacity: .45; cursor: not-allowed; }

.sf-link { font-weight: 600; font-size: 15px; white-space: nowrap; }

/* -------------------------------------------------------------- sections */

.sf-section { padding: var(--sf-section) 0 0; }

.sf-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.sf-section-head h2 { font-size: clamp(30px, 4.2vw, 52px); }

/* Hero — minimal: the headline is the design. */
.sf-hero { padding-top: clamp(40px, 7vw, 96px); }

.sf-hero h1 { font-size: clamp(46px, 8.4vw, 124px); line-height: .95; letter-spacing: -0.025em; }

.sf-hero-sub { font-size: clamp(18px, 1.6vw, 21px); color: var(--sf-muted); max-width: 46ch; margin-top: 28px; }

.sf-hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

.sf-hero--center { text-align: center; }
.sf-hero--center .sf-hero-sub { margin-left: auto; margin-right: auto; }
.sf-hero--center .sf-hero-actions { justify-content: center; }

.sf-hero--minimal .sf-hero-copy { max-width: 15ch; }
.sf-hero--minimal.sf-hero--center .sf-hero-copy { max-width: none; }
.sf-hero--minimal h1 { max-width: 14ch; }
.sf-hero--minimal.sf-hero--center h1 { margin: 0 auto; }

/* Hero — split: type on one side, picture on the other. */
.sf-hero--split .sf-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.sf-hero--split h1 { font-size: clamp(44px, 6.6vw, 96px); }

.sf-hero-media {
  border-radius: var(--sf-radius);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background: var(--sf-tint);
}

.sf-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }

@media (max-width: 860px) {
  .sf-hero--split .sf-hero-grid { grid-template-columns: 1fr; }
}

/* Hero — image: a full-width picture with the copy set on a solid panel,
   readable whatever the picture and the palette. */
.sf-hero--image { padding-top: 0; }

.sf-hero-stage {
  position: relative;
  min-height: min(78vh, 760px);
  display: flex;
  align-items: flex-end;
  background: var(--sf-tint) center / cover no-repeat;
}

.sf-hero-panel {
  background: var(--sf-bg);
  padding: clamp(24px, 4vw, 48px);
  max-width: 640px;
  margin: 0 0 clamp(16px, 4vw, 48px) clamp(16px, 4vw, 48px);
  border-radius: var(--sf-radius);
}

.sf-hero--image.sf-hero--center .sf-hero-stage { justify-content: center; }
.sf-hero--image.sf-hero--center .sf-hero-panel { margin-left: 16px; margin-right: 16px; }
.sf-hero--image h1 { font-size: clamp(40px, 5.6vw, 76px); }
.sf-hero--image .sf-hero-sub { margin-top: 18px; }

/* Product grid */
.sf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 40px) clamp(16px, 2vw, 28px);
}

.sf-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1000px) { .sf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .sf-grid, .sf-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.sf-card { display: block; text-decoration: none; }

.sf-card-media {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--sf-radius);
  overflow: hidden;
  background: var(--sf-surface);
}

.sf-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sf-card:hover .sf-card-media img { transform: scale(1.03); }

.sf-card-title { margin-top: 14px; font-size: 16px; font-weight: 600; line-height: 1.3; }
.sf-card:hover .sf-card-title { text-decoration: underline; text-underline-offset: 3px; }
.sf-card-meta { margin-top: 2px; font-size: 14px; color: var(--sf-muted); }

.sf-price { display: flex; gap: 10px; align-items: baseline; margin-top: 6px; font-size: 15px; }
.sf-price-now { font-weight: 600; }
.sf-price-sale { color: var(--sf-accent); }
.sf-price-was { color: var(--sf-muted); text-decoration: line-through; font-size: 14px; }

.sf-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--sf-button-radius);
  background: var(--sf-bg);
  color: var(--sf-text);
}

.sf-tag--sale { background: var(--sf-accent); color: var(--sf-accent-text); }

/* Collection list */
.sf-collections {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.sf-collection { display: block; text-decoration: none; }
.sf-collection-media { aspect-ratio: 4 / 5; border-radius: var(--sf-radius); overflow: hidden; background: var(--sf-surface); }
.sf-collection-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sf-collection:hover .sf-collection-media img { transform: scale(1.03); }
.sf-collection-title {
  margin-top: 14px;
  font-family: var(--sf-font-heading);
  font-weight: var(--sf-heading-weight);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.1;
}
.sf-collection-cta { font-size: 15px; color: var(--sf-muted); margin-top: 4px; }
.sf-collection:hover .sf-collection-cta { color: var(--sf-text); text-decoration: underline; text-underline-offset: 3px; }

/* Image with text — an editorial spread. */
.sf-spread {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: center;
}

.sf-spread--right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.sf-spread--right .sf-spread-media { order: 2; }
.sf-spread-media { border-radius: var(--sf-radius); overflow: hidden; background: var(--sf-tint); aspect-ratio: 16 / 11; }
.sf-spread-media img { width: 100%; height: 100%; object-fit: cover; }
.sf-spread h2 { font-size: clamp(32px, 4.4vw, 60px); margin-bottom: 24px; }
.sf-spread-text { font-size: 18px; max-width: 52ch; }
.sf-spread .sf-button { margin-top: 28px; }

@media (max-width: 860px) {
  .sf-spread, .sf-spread--right { grid-template-columns: 1fr; }
  .sf-spread--right .sf-spread-media { order: 0; }
}

/* Rich text */
.sf-prose { max-width: 68ch; }
.sf-prose--center { margin: 0 auto; text-align: center; }
.sf-prose h2 { font-size: clamp(30px, 4vw, 50px); margin-bottom: 22px; }
.sf-prose-text { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.65; }

/* Features */
.sf-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 0;
  border-top: 1px solid var(--sf-line);
}

.sf-feature { padding: 28px 28px 8px 0; }
.sf-feature + .sf-feature { padding-left: 28px; border-left: 1px solid var(--sf-line); }
.sf-feature-icon { color: var(--sf-accent); margin-bottom: 18px; }
.sf-feature h3 { font-family: var(--sf-font-body); font-weight: 600; font-size: 18px; line-height: 1.3; margin-bottom: 8px; letter-spacing: 0; }
.sf-feature p { color: var(--sf-muted); font-size: 16px; }

@media (max-width: 720px) {
  .sf-feature, .sf-feature + .sf-feature { padding: 24px 0 8px; border-left: 0; }
  .sf-feature + .sf-feature { border-top: 1px solid var(--sf-line); }
}

/* Testimonials — set as type, not boxed. */
.sf-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(32px, 4vw, 56px);
}

.sf-quote { margin: 0; }
.sf-quote blockquote {
  margin: 0;
  font-family: var(--sf-font-heading);
  font-weight: var(--sf-heading-weight);
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.3;
  text-wrap: pretty;
}
.sf-quote blockquote::before { content: "\201C"; }
.sf-quote blockquote::after { content: "\201D"; }
.sf-quote figcaption { margin-top: 16px; color: var(--sf-muted); font-size: 15px; }

/* Newsletter band */
.sf-band {
  background: var(--sf-surface);
  border-radius: var(--sf-radius);
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 28px;
  align-items: center;
}

.sf-band h2 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 12px; }
.sf-band p { color: var(--sf-muted); max-width: 54ch; }

@media (max-width: 720px) { .sf-band { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- pages */

.sf-page-head { padding: clamp(36px, 6vw, 80px) 0 clamp(24px, 4vw, 44px); }
.sf-page-head h1 { font-size: clamp(40px, 6vw, 80px); }
.sf-page-head p { color: var(--sf-muted); max-width: 60ch; margin-top: 16px; font-size: 18px; }
.sf-count { color: var(--sf-muted); font-size: 15px; margin-top: 12px; }

.sf-empty { padding: 56px 0; color: var(--sf-muted); }
.sf-empty h2 { color: var(--sf-text); font-size: 30px; margin-bottom: 12px; }
.sf-empty .sf-button { margin-top: 20px; }

/* Product page */
.sf-product {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 88px);
  padding-top: clamp(24px, 4vw, 56px);
  align-items: start;
}

.sf-product-media { border-radius: var(--sf-radius); overflow: hidden; background: var(--sf-surface); aspect-ratio: 1; }
.sf-product-media img { width: 100%; height: 100%; object-fit: cover; }
.sf-product-info { position: sticky; top: 24px; }
.sf-breadcrumb { font-size: 14px; color: var(--sf-muted); margin-bottom: 20px; }
.sf-breadcrumb a { color: inherit; }
.sf-product h1 { font-size: clamp(36px, 4.6vw, 64px); }
.sf-product-type { color: var(--sf-muted); margin-top: 10px; }
.sf-product .sf-price { font-size: 22px; margin-top: 22px; }
.sf-product .sf-price-was { font-size: 18px; }
.sf-product-description { margin-top: 28px; font-size: 17px; max-width: 56ch; }
.sf-buy { margin-top: 32px; display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: end; }
.sf-stock { margin-top: 14px; font-size: 14px; color: var(--sf-muted); }
.sf-stock--low { color: var(--sf-accent); font-weight: 600; }
.sf-perks { margin-top: 32px; border-top: 1px solid var(--sf-line); font-size: 15px; }
.sf-perks p { padding: 14px 0; margin: 0; border-bottom: 1px solid var(--sf-line); color: var(--sf-muted); }

@media (max-width: 860px) {
  .sf-product { grid-template-columns: 1fr; }
  .sf-product-info { position: static; }
}

/* Forms */
.sf-field { display: grid; gap: 6px; }
.sf-field label { font-size: 14px; font-weight: 600; }
.sf-input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--sf-line-strong);
  border-radius: min(var(--sf-radius), 12px);
  background: var(--sf-surface);
  color: var(--sf-text);
  font: 16px var(--sf-font-body);
}
textarea.sf-input { padding: 12px 14px; min-height: 96px; resize: vertical; }
.sf-input:focus { outline: 2px solid var(--sf-accent); outline-offset: 1px; border-color: transparent; }
.sf-input[aria-invalid="true"] { border-color: var(--sf-accent); border-width: 2px; }
.sf-field-error { font-size: 14px; color: var(--sf-accent); font-weight: 600; }
.sf-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sf-form-grid .sf-field--wide { grid-column: 1 / -1; }

@media (max-width: 560px) { .sf-form-grid { grid-template-columns: 1fr; } }

.sf-alert {
  border: 2px solid var(--sf-accent);
  border-radius: min(var(--sf-radius), 12px);
  padding: 14px 18px;
  margin-bottom: 24px;
  font-weight: 600;
}

/* Cart */
.sf-cart { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 5vw, 64px); align-items: start; }

@media (max-width: 900px) { .sf-cart { grid-template-columns: 1fr; } }

.sf-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sf-line); }

.sf-line {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--sf-line);
  align-items: start;
}

.sf-line-media { border-radius: min(var(--sf-radius), 12px); overflow: hidden; background: var(--sf-surface); aspect-ratio: 1; }
.sf-line-title { font-weight: 600; text-decoration: none; }
.sf-line-unit { color: var(--sf-muted); font-size: 15px; }
.sf-line-total { font-weight: 600; }
.sf-qty { display: flex; gap: 8px; margin-top: 12px; align-items: center; flex-wrap: wrap; }
.sf-qty .sf-input { width: 76px; min-height: 40px; }
.sf-qty .sf-button { min-height: 40px; padding: 0 16px; font-size: 14px; }
.sf-remove { background: none; border: 0; padding: 0 4px; color: var(--sf-muted); font: 14px var(--sf-font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sf-remove:hover { color: var(--sf-text); }

@media (max-width: 560px) {
  .sf-line { grid-template-columns: 80px minmax(0, 1fr); }
  .sf-line-total { grid-column: 2; }
}

.sf-summary { background: var(--sf-surface); border-radius: var(--sf-radius); padding: 28px; position: sticky; top: 24px; }
.sf-summary h2 { font-size: 26px; margin-bottom: 18px; }
.sf-summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: 16px; }
.sf-summary-total { border-top: 1px solid var(--sf-line); margin-top: 8px; padding-top: 16px; font-weight: 700; font-size: 19px; }
.sf-summary .sf-button { margin-top: 20px; }
.sf-summary-note { font-size: 14px; color: var(--sf-muted); margin-top: 14px; }

.sf-meter { height: 6px; border-radius: 999px; background: var(--sf-line); overflow: hidden; margin-top: 10px; }
.sf-meter span { display: block; height: 100%; background: var(--sf-accent); }

.sf-mini-lines { list-style: none; padding: 0; margin: 0 0 12px; }
.sf-mini-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; font-size: 15px; }
.sf-mini-line .sf-line-media { width: 56px; }

/* Checkout and order pages */
.sf-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.sf-checkout fieldset { border: 0; padding: 0; margin: 0 0 32px; }
.sf-checkout legend { font-family: var(--sf-font-heading); font-weight: var(--sf-heading-weight); font-size: 24px; margin-bottom: 16px; padding: 0; }

@media (max-width: 900px) { .sf-checkout { grid-template-columns: 1fr; } .sf-checkout .sf-summary { position: static; order: -1; } }

.sf-test-mode {
  border: 2px dashed var(--sf-line-strong);
  border-radius: var(--sf-radius);
  padding: clamp(24px, 4vw, 40px);
  max-width: 560px;
}

.sf-test-mode h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; }
.sf-test-mode .sf-button { margin-top: 24px; }

.sf-receipt { max-width: 760px; }
.sf-receipt-number { color: var(--sf-muted); font-size: 16px; margin-bottom: 10px; }
.sf-receipt h1 { font-size: clamp(38px, 5.4vw, 68px); }
.sf-receipt-lead { font-size: 19px; margin-top: 18px; max-width: 56ch; }
.sf-receipt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--sf-line); }
.sf-receipt-grid h2 { font-family: var(--sf-font-body); font-size: 15px; font-weight: 600; margin-bottom: 8px; letter-spacing: 0; }

@media (max-width: 560px) { .sf-receipt-grid { grid-template-columns: 1fr; } }

/* About */
.sf-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(28px, 6vw, 96px); padding-top: clamp(36px, 6vw, 80px); }
.sf-about h1 { font-size: clamp(42px, 6vw, 88px); }
.sf-about-lead { font-size: clamp(20px, 2vw, 26px); line-height: 1.45; margin-bottom: 28px; }
.sf-about-text { font-size: 18px; max-width: 60ch; }

@media (max-width: 860px) { .sf-about { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .sf *, .sf *::before, .sf *::after { transition: none !important; }
}

/* Language picker (footer) */
.sf-locales { display: flex; gap: 4px; flex-wrap: wrap; }
.sf-locales button {
  background: none;
  border: 1px solid transparent;
  border-radius: var(--sf-button-radius);
  padding: 4px 10px;
  color: var(--sf-muted);
  font: 13px var(--sf-font-body);
  cursor: pointer;
}
.sf-locales button:hover { color: var(--sf-text); }
.sf-locales button[aria-current="true"] { color: var(--sf-text); border-color: var(--sf-line-strong); }

/* Payment choice at checkout: card (Stripe) or mobile money (pawaPay). */
.sf-pay-methods { display: grid; gap: 10px; margin: 8px 0 20px; }
.sf-pay-method { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--sf-text) 18%, transparent); border-radius: var(--sf-radius); cursor: pointer; }
.sf-pay-method:has(input:checked) { border-color: var(--sf-accent); box-shadow: inset 0 0 0 1px var(--sf-accent); }
.sf-pay-method input { margin-top: 4px; accent-color: var(--sf-accent); }
.sf-pay-method strong { display: block; }
.sf-pay-method .sf-muted { font-size: 14px; }

/* "Runs on Comptoir" — the platform's link, as quiet as the text around it. */
.sf-runs-on { color: inherit; text-decoration: none; }
.sf-runs-on:hover { text-decoration: underline; text-underline-offset: 3px; }
