/*
Theme Name: Supreme Fitness
Template: kadence
Description: Rebuild of the React storefront. Every value is measured from the live original at 1440px, not taken from the design doc.
Version: 2.1.5
*/

/* -------------------------------------------------------------------------
   Tokens. Identical to the React app's @theme block in src/index.css.
   Note --radius: the app sets every radius scale to 3px, so "rounded-xl"
   there is 3px. DESIGN_SYSTEM.md says cards are 12px; the shipped site does
   not, and the shipped site is what this matches.
   ---------------------------------------------------------------------- */
:root {
  --sf-bg: #0B0B0D;
  --sf-surface: #15161A;
  --sf-surface-2: #1F2126;
  --sf-border: #2A2D33;
  --sf-border-strong: #3A3E45;
  --sf-text: #F5F5F7;
  --sf-muted: #8A8E97;
  --sf-subtle: #5F6269;
  --sf-lime: #C9FF3B;
  --sf-lime-hover: #B6EA28;
  --sf-on-lime: #0B0B0D;
  --sf-success: #34D399;
  --sf-warning: #F4C04A;
  --sf-destructive: #FF4D4D;
  --sf-radius: 3px;
  --sf-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --sf-container: 1280px;
  --sf-lime-glow: 0 2px 12px rgba(201, 255, 59, 0.25);
  --sf-card-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);

  /* Kadence draws its remaining components from this palette. Mapped so
     nothing it still prints (notices, forms) shows up in its light defaults. */
  --global-palette1: #C9FF3B;
  --global-palette2: #B6EA28;
  --global-palette3: #F5F5F7;
  --global-palette4: #F5F5F7;
  --global-palette5: #8A8E97;
  --global-palette6: #5F6269;
  --global-palette7: #1F2126;
  --global-palette8: #15161A;
  --global-palette9: #0B0B0D;
  --global-palette-highlight: #C9FF3B;
  --global-palette-btn: #0B0B0D;
  --global-palette-btn-bg: #C9FF3B;
  --global-palette-btn-hover: #0B0B0D;
  --global-palette-btn-bg-hover: #B6EA28;
  --global-content-width: 1280px;
}

body {
  --fluentform-primary: #C9FF3B;
  --fluentform-secondary: #F5F5F7;
}

/* -------------------------------------------------------------------------
   Base
   ---------------------------------------------------------------------- */
html { scroll-behavior: smooth; }

body.sf {
  margin: 0;
  background: var(--sf-bg);
  color: var(--sf-text);
  font-family: var(--sf-font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

.sf-site { min-height: 100vh; display: flex; flex-direction: column; }
.sf-main { flex: 1; display: flex; flex-direction: column; position: relative; z-index: 10; }

/* :where() gives these zero specificity, so any component rule wins even at
   a bare class. Without it ".sf h1" (0,1,1) outranks ".sf-hero__title" (0,1,0)
   and the hero heading loses its margin. */
:where(.sf) h1, :where(.sf) h2, :where(.sf) h3, :where(.sf) h4 { font-family: var(--sf-font); font-weight: 800; color: var(--sf-text); margin: 0; }
:where(.sf) p { margin: 0; }
:where(.sf) a { color: inherit; text-decoration: none; }
:where(.sf) ul { list-style: none; margin: 0; padding: 0; }
:where(.sf) img { max-width: 100%; height: auto; display: block; }
:where(.sf) button { font-family: inherit; }
.sf-muted { color: var(--sf-muted); }
.sf-lime { color: var(--sf-lime); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0B0B0D; }
::-webkit-scrollbar-thumb { background: #2A2D33; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #C9FF3B; }

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

/* The quote result box sets display:flex, which silently overrides the
   hidden attribute and leaves an empty bar under the ZIP field. */
.sf [hidden] { display: none !important; }

/* Icons are inline SVG; sized by class like the app's w-N h-N utilities. */
.sf-i-12 { width: 12px; height: 12px; flex-shrink: 0; }
.sf-i-14 { width: 14px; height: 14px; flex-shrink: 0; }
.sf-i-16 { width: 16px; height: 16px; flex-shrink: 0; }
.sf-i-20 { width: 20px; height: 20px; flex-shrink: 0; }
.sf-i-24 { width: 24px; height: 24px; flex-shrink: 0; }
.sf-i-28 { width: 28px; height: 28px; flex-shrink: 0; }
.sf-i-32 { width: 32px; height: 32px; flex-shrink: 0; }

.sf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sf-muted);
}

/* -------------------------------------------------------------------------
   Buttons - the app's Button component: 3px radius, 600 weight, lime glow.
   default h-40 px-24 14px; sm h-36 px-12; lg h-48 px-32 16px.
   ---------------------------------------------------------------------- */
.sf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 24px;
  border-radius: var(--sf-radius);
  border: 0;
  background: var(--sf-lime);
  color: var(--sf-on-lime);
  font-family: var(--sf-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: var(--sf-lime-glow);
  transition: background .15s ease-out, transform .15s ease-out, border-color .15s ease-out;
}
.sf-btn:hover { background: var(--sf-lime-hover); color: var(--sf-on-lime); transform: translateY(-1px); }
.sf-btn:active { transform: translateY(1px); }
.sf-btn--sm { height: 36px; padding: 0 12px; }
.sf-btn--lg { height: 48px; padding: 0 32px; font-size: 16px; }
.sf-btn--block { width: 100%; }
.sf-btn--outline {
  background: transparent;
  color: var(--sf-text);
  border: 1px solid var(--sf-border);
  box-shadow: none;
}
.sf-btn--outline:hover { background: var(--sf-surface-2); color: var(--sf-text); border-color: var(--sf-border-strong); }
.sf-btn.is-disabled { opacity: .5; pointer-events: none; }
/* Kadence's own WooCommerce CSS carries compound selectors - things like
   ".woocommerce li.product a" - that happen to out-specificity a plain
   ".sf-btn" rule wherever a button sits inside WooCommerce's native
   product-loop markup. That's a losing fight to keep patching one component
   at a time in whichever spot it's next noticed (it held up fine on the
   single-product page, which has no such Kadence selector, then lost on
   the shop grid, which does). #wrapper is the one element every page is
   rendered inside (see header.php), so anchoring here gives .sf-btn's own
   color enough specificity to always win, everywhere it's used, without
   reaching for !important. Add future "sf-" components here the same way
   if one of them turns up fighting the same battle. */
#wrapper .sf-btn, #wrapper .sf-btn:hover { color: var(--sf-on-lime); }
#wrapper .sf-btn--outline, #wrapper .sf-btn--outline:hover { color: var(--sf-text); }

/* Pills - the Badge component: full radius, 12px/600 uppercase, .025em. */
.sf-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}
.sf-pill--secondary { background: var(--sf-surface-2); color: var(--sf-muted); }
.sf-pill--outline { background: transparent; color: var(--sf-text); border-color: var(--sf-border); }

/* Inputs - 3px radius, surface-2, lime focus ring. */
.sf-site .sf-input, .sf-site input.sf-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  background: var(--sf-surface-2);
  border: 1px solid var(--sf-border);
  border-radius: var(--sf-radius);
  color: var(--sf-text);
  font-family: var(--sf-font);
  font-size: 15px;
  line-height: 1.4;
  outline: none;
  transition: border-color .15s;
  -webkit-appearance: none;
  appearance: none;
}
.sf-site .sf-input::placeholder { color: var(--sf-muted); opacity: 1; }
.sf-site .sf-input:focus { border-color: var(--sf-lime); box-shadow: 0 0 0 1px var(--sf-lime); }

/* -------------------------------------------------------------------------
   Nav. Sticky, blurred surface at 80%, utility bar above.
   ---------------------------------------------------------------------- */
.sf-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(21, 22, 26, 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sf-border);
}

.sf-nav__utility {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 6px 16px;
  background: var(--sf-surface-2);
  border-bottom: 1px solid var(--sf-border);
  color: var(--sf-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}
.sf-nav__utility-item { display: inline-flex; align-items: center; gap: 6px; transition: color .15s; }
a.sf-nav__utility-item:hover { color: var(--sf-text); }
.sf-nav__utility-sep { opacity: .4; }
.sf-nav__utility--mobile { display: none; overflow: hidden; padding: 6px 0; }

.sf-ticker { display: flex; width: max-content; white-space: nowrap; animation: sf-ticker 18s linear infinite; will-change: transform; }
.sf-ticker__group { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; }
.sf-ticker__item { display: inline-flex; align-items: center; gap: 6px; padding: 0 24px; }
.sf-ticker__sep { opacity: .4; padding: 0 12px; }
@keyframes sf-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.sf-nav__row {
  position: relative;
  max-width: var(--sf-container);
  margin: 0 auto;
  padding: 0 16px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sf-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.sf-brand__mark { width: 40px; height: 40px; border-radius: var(--sf-radius); transition: opacity .15s; }
.sf-brand:hover .sf-brand__mark { opacity: .9; }
.sf-brand__text { display: flex; flex-direction: column; line-height: 1; }
.sf-brand__name { font-size: 18px; font-weight: 800; letter-spacing: -0.025em; color: var(--sf-text); }
.sf-brand__tag { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sf-muted); margin-top: 2px; }

.sf-nav__links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 32px;
}
.sf-nav__links a { font-size: 14px; font-weight: 500; line-height: 20px; color: var(--sf-muted); transition: color .15s; }
.sf-nav__links a:hover { color: var(--sf-text); }

.sf-nav__tools { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.sf-search { position: relative; }
.sf-search__icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--sf-muted); pointer-events: none; }
.sf-site .sf-search__input, .sf-site input.sf-search__input {
  width: 100%;
  height: 38px;
  padding: 8px 36px;
  background: var(--sf-surface-2);
  border: 1px solid var(--sf-border);
  border-radius: var(--sf-radius);
  color: var(--sf-text);
  font-family: var(--sf-font);
  font-size: 14px;
  line-height: 20px;
  outline: none;
  transition: border-color .15s;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}
.sf-site .sf-search__input::placeholder { color: var(--sf-muted); }
.sf-site .sf-search__input:focus { border-color: var(--sf-lime); box-shadow: 0 0 0 1px var(--sf-lime); }
.sf-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.sf-search--nav { width: 288px; }
.sf-search--row { width: 100%; }
.sf-search--shop { width: 256px; }

.sf-nav__searchrow { display: none; border-top: 1px solid var(--sf-border); padding: 10px 16px; }
.sf-nav__searchrow .sf-search { max-width: var(--sf-container); margin: 0 auto; }

.sf-nav__toggle { display: none; width: 40px; height: 40px; padding: 8px; background: transparent; border: 0; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.sf-nav__toggle span { display: block; height: 2px; background: var(--sf-text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.sf-nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sf-nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.sf-nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.sf-nav__mobile { display: flex; flex-direction: column; border-top: 1px solid var(--sf-border); background: var(--sf-surface); }
.sf-nav__mobile[hidden] { display: none; }
.sf-nav__mobile a { padding: 14px 16px; font-size: 14px; font-weight: 500; color: var(--sf-text); border-bottom: 1px solid var(--sf-border); }
.sf-nav__mobile a:hover { color: var(--sf-lime); }

/* -------------------------------------------------------------------------
   Breadcrumbs. 12px/500, home icon, chevrons at 60% muted.
   ---------------------------------------------------------------------- */
.sf-crumbs { max-width: var(--sf-container); margin: 0 auto; padding: 20px 16px 0; width: 100%; box-sizing: border-box; }
.sf-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; }
.sf-crumbs li { display: flex; align-items: center; gap: 6px; }
.sf-crumbs a { display: inline-flex; align-items: center; gap: 4px; color: var(--sf-muted); transition: color .15s; }
.sf-crumbs a:hover { color: var(--sf-text); }
.sf-crumbs__sep { color: var(--sf-muted); opacity: .6; }
.sf-crumbs [aria-current] { color: var(--sf-text); max-width: 20rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* -------------------------------------------------------------------------
   Hero. 144px padding, skyline at .22 under a dark scrim, centred column.
   ---------------------------------------------------------------------- */
.sf-hero {
  position: relative;
  overflow: hidden;
  padding: 144px 16px;
  text-align: center;
  background: var(--sf-bg);
}
.sf-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.22; z-index: 0; }
.sf-hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(11, 11, 13, 0.4) 0%, rgba(11, 11, 13, 0.6) 55%, var(--sf-bg) 100%); }
.sf-hero__inner { position: relative; z-index: 2; max-width: 864px; margin: 0 auto; }
.sf-hero__eyebrow { margin-bottom: 24px; }
.sf-hero__title { font-size: 60px; line-height: 63px; letter-spacing: -0.02em; margin: 0 0 20px; }
.sf-hero__accent { color: var(--sf-lime); }
.sf-hero__lead { color: var(--sf-muted); font-size: 18px; line-height: 29.25px; max-width: 672px; margin: 0 auto 32px; }
.sf-hero__actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* -------------------------------------------------------------------------
   Sections and headings
   ---------------------------------------------------------------------- */
.sf-section { max-width: var(--sf-container); margin: 0 auto; padding: 96px 16px; width: 100%; box-sizing: border-box; }
.sf-section__center { text-align: center; margin: 0 auto 48px; }
.sf-section__center .sf-eyebrow { display: inline; line-height: 16px; margin-bottom: 0; }
.sf-section__center .sf-h2 { margin-top: 12px; }
.sf-section__lead { color: var(--sf-muted); font-size: 16px; line-height: 26px; max-width: 672px; margin: 0 auto; }

.sf-h2 { font-size: 36px; line-height: 1.25; letter-spacing: -0.025em; margin: 0 0 16px; }
.sf-h2--sm { font-size: 30px; line-height: 36px; margin-bottom: 12px; }

/* Catalog: heading row then the same grid as the shop page. */
.sf-catalog__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid var(--sf-border); }
.sf-catalog__count { color: var(--sf-muted); font-size: 14px; line-height: 20px; flex-shrink: 0; margin-left: 16px; }
.sf-catalog__head .sf-h2--sm { margin-bottom: 0; }
.sf-catalog__sub { color: var(--sf-muted); font-size: 12px; line-height: 16px; margin-top: 4px; }

/* -------------------------------------------------------------------------
   Product grid and card. 4 x 294 at 24px gap inside 1248.
   ---------------------------------------------------------------------- */
.sf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.sf-card { list-style: none; margin: 0; display: flex; }
/* A <div>, not an <a>: the add-to-cart button below is itself a link, and an
   <a> can't legally contain another <a>. The card's clickable areas are the
   two links inside it (photo and title) instead of one link around it all -
   the same shape WooCommerce's own default card template uses. Hovering
   anywhere in here still lifts the whole card; :hover isn't limited to the
   exact element the cursor is over. */
.sf-card__link {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--sf-surface);
  border: 1px solid var(--sf-border);
  border-radius: var(--sf-radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.sf-card__link:hover { transform: translateY(-4px); box-shadow: var(--sf-card-shadow); border-color: var(--sf-border-strong); }

.sf-card__thumb-link { display: block; flex-shrink: 0; }
.sf-card__title-link { color: inherit; text-decoration: none; }
.sf-card__title-link:hover { color: var(--sf-lime); }

.sf-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sf-surface-2); flex-shrink: 0; }
.sf-card__media img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .5s, transform .5s; }
.sf-card__link:hover .sf-card__media img { opacity: 1; transform: scale(1.05); }
.sf-card__link.is-sold .sf-card__media img { filter: grayscale(1); }
.sf-card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--sf-subtle); }
.sf-card__cond { position: absolute; top: 12px; right: 12px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

/* SOLD stamp: 4px lime border, -12deg, dark blurred backing. */
.sf-stamp-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.sf-stamp {
  padding: 8px 16px;
  border: 4px solid var(--sf-lime);
  background: rgba(11, 11, 13, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transform: rotate(-12deg);
}
.sf-stamp span { color: var(--sf-lime); font-size: 24px; font-weight: 800; letter-spacing: 0.08em; line-height: 1.33; }
.sf-stamp--lg { padding: 12px 32px; }
.sf-stamp--lg span { font-size: 36px; }

.sf-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.sf-card__title {
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.025em;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sf-card__blurb { color: var(--sf-muted); font-size: 12px; line-height: 1.375; margin: 0 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-card__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 8px; margin: 0 0 16px; }
.sf-card__price { color: var(--sf-lime); font-size: 20px; font-weight: 800; line-height: 28px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sf-card__price .woocommerce-Price-amount, .sf-card__price bdi { color: inherit; font-weight: inherit; }
.sf-card__stock { color: var(--sf-muted); font-size: 12px; font-weight: 500; white-space: nowrap; }
.sf-card__soldtext { color: var(--sf-muted); font-size: 16px; font-weight: 600; }
.sf-card__note { display: flex; align-items: center; gap: 4px; color: var(--sf-muted); font-size: 11px; margin: auto 0 8px; }
.sf-card__body .sf-btn { margin-top: auto; }

/* Empty state */
.sf-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 64px 16px; }
.sf-empty__icon { width: 64px; height: 64px; border-radius: 999px; background: var(--sf-surface-2); display: flex; align-items: center; justify-content: center; color: var(--sf-muted); margin-bottom: 16px; }
.sf-empty__title { font-size: 18px; letter-spacing: -0.025em; margin-bottom: 4px; }
.sf-empty__text { color: var(--sf-muted); font-size: 14px; max-width: 384px; margin-bottom: 24px; }

.sf-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.sf-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: var(--sf-radius); background: var(--sf-surface); border: 1px solid var(--sf-border); color: var(--sf-text); font-size: 14px; }
.sf-pagination .page-numbers.current { background: var(--sf-lime); color: var(--sf-on-lime); border-color: var(--sf-lime); }

/* -------------------------------------------------------------------------
   Delivery section: 3 step cards, then rates + order panels.
   ---------------------------------------------------------------------- */
.sf-delivery { border-top: 1px solid var(--sf-border); scroll-margin-top: 96px; }

.sf-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 48px; }
.sf-step { background: var(--sf-surface); border: 1px solid var(--sf-border); border-radius: var(--sf-radius); padding: 24px; }
.sf-step__icon { display: block; margin-bottom: 16px; }
.sf-step__title { font-size: 16px; line-height: 24px; letter-spacing: -0.025em; margin-bottom: 8px; }
.sf-step__desc { color: var(--sf-muted); font-size: 14px; line-height: 22.75px; }

.sf-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sf-panel { background: var(--sf-surface); border: 1px solid var(--sf-border); border-radius: var(--sf-radius); padding: 28px; }
.sf-panel--col { display: flex; flex-direction: column; }
.sf-panel__head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.sf-panel__title { font-size: 18px; letter-spacing: -0.025em; }
.sf-panel__lead { color: var(--sf-muted); font-size: 14px; line-height: 1.5; margin-bottom: 20px; }
.sf-panel__note { color: var(--sf-muted); font-size: 12px; line-height: 1.5; margin-top: 16px; }
.sf-panel__actions { display: flex; gap: 12px; margin-top: auto; }
.sf-panel__actions .sf-btn { flex: 1; }

.sf-rates li { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--sf-border); font-size: 14px; }
.sf-rates li:last-child { border-bottom: 0; }
.sf-rates__price { color: var(--sf-lime); font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }

.sf-checks { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.sf-checks li { display: flex; align-items: flex-start; gap: 8px; color: var(--sf-muted); font-size: 14px; line-height: 1.5; }
.sf-checks svg { margin-top: 2px; }

/* -------------------------------------------------------------------------
   Trust grid: 3 columns, 16px gap, 24px card padding, 40px icon box.
   ---------------------------------------------------------------------- */
.sf-trust { padding-top: 80px; padding-bottom: 80px; border-top: 1px solid var(--sf-border); }
.sf-trust .sf-section__center { margin-bottom: 40px; }
.sf-trust .sf-h2 { margin-bottom: 12px; }
.sf-trust__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sf-trust__card { background: var(--sf-surface); border: 1px solid var(--sf-border); border-radius: var(--sf-radius); padding: 24px; }
.sf-trust__icon { width: 40px; height: 40px; border-radius: var(--sf-radius); background: var(--sf-surface-2); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.sf-trust__title { font-size: 16px; line-height: 22px; letter-spacing: -0.025em; margin-bottom: 8px; }
.sf-trust__desc { color: var(--sf-muted); font-size: 14px; line-height: 22.75px; }

/* -------------------------------------------------------------------------
   Email capture: 672 card, 56px padding, shadow, 64px icon circle.
   ---------------------------------------------------------------------- */
.sf-capture-wrap { padding: 80px 16px; }
.sf-capture {
  max-width: 672px;
  margin: 0 auto;
  padding: 56px;
  background: var(--sf-surface);
  border: 1px solid var(--sf-border);
  border-radius: var(--sf-radius);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  text-align: center;
  box-sizing: border-box;
}
.sf-capture__icon { width: 64px; height: 64px; border-radius: 999px; background: var(--sf-surface-2); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.sf-capture .sf-h2--sm { text-wrap: balance; }
.sf-capture__lead { color: var(--sf-muted); font-size: 16px; line-height: 26px; max-width: 448px; margin: 0 auto 24px; }
.sf-capture__list { text-align: left; max-width: 448px; margin: 0 auto 32px; display: flex; flex-direction: column; gap: 8px; }
.sf-capture__list li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.5; }
.sf-capture__list svg { margin-top: 2px; }
.sf-capture__list strong { font-weight: 800; }
.sf-capture__form { display: flex; gap: 12px; max-width: 520px; margin: 0 auto; }
.sf-capture__input { flex: 1 1 auto; min-width: 0; }
.sf-capture__btn { flex: 0 0 auto; height: 48px; }
.sf-capture__fine { color: var(--sf-muted); font-size: 12px; line-height: 16px; margin-top: 20px; }

/* -------------------------------------------------------------------------
   Shop page
   ---------------------------------------------------------------------- */
.sf-shop { width: 100%; }
.sf-shop__head { max-width: var(--sf-container); margin: 0 auto; padding: 40px 16px 48px; box-sizing: border-box; }
.sf-shop__title { font-size: 36px; line-height: 40px; letter-spacing: -0.02em; margin-bottom: 8px; }
.sf-shop__lede { color: var(--sf-muted); font-size: 16px; line-height: 24px; max-width: 672px; }
.sf-shop__tools { max-width: var(--sf-container); margin: 0 auto; padding: 0 16px 32px; display: flex; justify-content: flex-end; box-sizing: border-box; }
.sf-shop__grid-wrap { max-width: var(--sf-container); margin: 0 auto; padding: 0 16px 96px; box-sizing: border-box; }
.sf-shop__count { display: block; margin-bottom: 24px; }

/* -------------------------------------------------------------------------
   Product page: 5fr / 7fr, 64px gap, sticky gallery.
   ---------------------------------------------------------------------- */
.sf-product { max-width: var(--sf-container); margin: 0 auto; padding: 48px 16px; box-sizing: border-box; width: 100%; }
.sf-product__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.sf-product__gallery { position: sticky; top: 112px; }

.sf-gallery { display: flex; flex-direction: column; gap: 12px; background: var(--sf-surface); border: 1px solid var(--sf-border); border-radius: var(--sf-radius); padding: 12px; }
.sf-gallery__main {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--sf-radius);
  background: var(--sf-surface-2);
}
.sf-gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.sf-gallery__main:hover img { transform: scale(1.02); }
.sf-gallery__main.is-sold img { filter: grayscale(1); }
.sf-gallery__main .sf-card__placeholder { position: absolute; inset: 0; }
.sf-gallery__thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-gallery__thumb { width: 64px; height: 64px; padding: 0; border: 2px solid var(--sf-border); border-radius: var(--sf-radius); overflow: hidden; background: var(--sf-surface-2); cursor: pointer; transition: border-color .15s; }
.sf-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sf-gallery__thumb:hover { border-color: var(--sf-border-strong); }
.sf-gallery__thumb.is-active { border-color: var(--sf-lime); }
.sf-gallery__note { color: var(--sf-muted); font-size: 11px; line-height: 1.375; }

.sf-product__info { display: flex; flex-direction: column; }
.sf-product__cat { margin-bottom: 16px; }
.sf-product__title { font-size: 48px; line-height: 60px; letter-spacing: -0.02em; margin-bottom: 20px; }
.sf-product__pricerow { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--sf-border); }
.sf-product__price { color: var(--sf-lime); font-size: 36px; font-weight: 800; line-height: 40px; font-variant-numeric: tabular-nums; }
.sf-product__price .woocommerce-Price-amount, .sf-product__price bdi { color: inherit; font-weight: inherit; }
.sf-product__retail { color: var(--sf-muted); font-size: 24px; text-decoration: line-through; font-variant-numeric: tabular-nums; }
.sf-product__soldword { color: var(--sf-muted); font-size: 30px; font-weight: 800; letter-spacing: -0.025em; }
.sf-product__condnote { color: var(--sf-muted); font-size: 12px; line-height: 1.5; margin-bottom: 20px; }
.sf-product__condnote span { font-weight: 600; color: rgba(245, 245, 247, 0.7); }
.sf-product__desc { color: var(--sf-muted); font-size: 16px; line-height: 26px; margin-bottom: 24px; }
.sf-product__desc p { margin: 0 0 1em; }
.sf-product__desc p:last-child { margin-bottom: 0; }

.sf-specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 24px; font-size: 14px; }
.sf-specs dt { color: var(--sf-muted); }
.sf-specs dd { margin: 0; font-weight: 500; }

.sf-know { background: var(--sf-surface); border: 1px solid var(--sf-border); border-radius: var(--sf-radius); padding: 20px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.sf-know__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.sf-know__tag { color: var(--sf-muted); font-size: 11px; font-weight: 500; }
.sf-know__row { display: flex; align-items: flex-start; gap: 12px; color: var(--sf-muted); font-size: 14px; line-height: 1.5; }
.sf-know__row svg { margin-top: 2px; }
.sf-know__foot { padding-top: 8px; border-top: 1px solid var(--sf-border); }
.sf-know__link { display: inline-flex; align-items: center; gap: 8px; color: var(--sf-lime); font-size: 14px; font-weight: 600; transition: color .15s; }
.sf-know__link:hover { color: rgba(201, 255, 59, 0.8); }

.sf-avail { background: var(--sf-surface); border: 1px solid var(--sf-border); border-radius: var(--sf-radius); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.sf-avail__row { display: flex; align-items: center; justify-content: space-between; }
.sf-avail__state { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.sf-avail__soldbox { background: var(--sf-surface-2); border: 1px solid var(--sf-border); border-radius: var(--sf-radius); padding: 16px 20px; text-align: center; }
.sf-avail__soldtitle { font-size: 14px; font-weight: 600; }
.sf-avail__soldtext { color: var(--sf-muted); font-size: 12px; margin-top: 4px; }

.sf-quote { background: var(--sf-surface); border: 1px solid var(--sf-border); border-radius: var(--sf-radius); padding: 28px; margin-top: 24px; }
.sf-quote__head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.sf-quote__title { font-size: 16px; line-height: 22px; letter-spacing: -0.025em; }
.sf-quote__sub { color: var(--sf-muted); font-size: 12px; margin-top: 2px; }
.sf-quote__form { display: flex; gap: 12px; margin-bottom: 4px; }
.sf-site .sf-quote__form .sf-input { flex: 1; min-height: 40px; height: 40px; padding: 8px 14px; font-size: 14px; }
.sf-quote__form .sf-btn { height: 40px; }
.sf-quote__error { color: var(--sf-destructive); font-size: 12px; margin-top: 8px; }
.sf-quote__result { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--sf-surface-2); border: 1px solid var(--sf-border); border-radius: var(--sf-radius); padding: 16px 20px; margin-top: 16px; font-size: 14px; }
.sf-quote__distance { color: var(--sf-muted); }
.sf-quote__price { font-weight: 600; }
.sf-quote__cta { margin-top: 12px; }
.sf-quote__cta a { display: inline-flex; align-items: center; gap: 8px; color: var(--sf-lime); font-size: 14px; font-weight: 600; }
.sf-quote__cta a:hover { text-decoration: underline; }

/* -------------------------------------------------------------------------
   Inner pages: 768 column, 64px padding, 30px title.
   ---------------------------------------------------------------------- */
.sf-page { max-width: 768px; margin: 0 auto; padding: 64px 16px; box-sizing: border-box; width: 100%; }
.sf-page__head { margin-bottom: 40px; }
.sf-page__head .sf-eyebrow { margin-bottom: 12px; }
.sf-page__title { font-size: 30px; line-height: 36px; letter-spacing: -0.025em; margin-bottom: 8px; }
.sf-page__sub { color: var(--sf-muted); font-size: 14px; }
.sf-page--faq .sf-page__head { margin-bottom: 48px; }
.sf-page--faq .sf-page__title { font-size: 36px; line-height: 1.25; letter-spacing: -0.02em; margin: 12px 0 16px; }
.sf-page--faq .sf-page__sub { font-size: 16px; line-height: 26px; }

.sf-prose h2 { font-size: 18px; font-weight: 700; margin: 40px 0 12px; }
.sf-prose h2:first-child { margin-top: 0; }
.sf-prose h3 { font-size: 16px; font-weight: 700; margin: 24px 0 8px; }
.sf-prose p { color: var(--sf-muted); font-size: 14px; line-height: 1.625; margin: 0 0 12px; }
.sf-prose ul, .sf-prose ol { margin: 0 0 12px; padding-left: 20px; color: var(--sf-muted); font-size: 14px; line-height: 1.625; }
.sf-prose ul { list-style: disc; }
.sf-prose ol { list-style: decimal; }
.sf-prose li { margin-bottom: 8px; }
.sf-prose a { color: var(--sf-text); text-decoration: underline; text-underline-offset: 4px; transition: color .15s; }
.sf-prose a:hover { color: var(--sf-lime); }
.sf-prose a.button { display: inline-flex; align-items: center; height: 40px; padding: 0 20px; margin-top: 8px; border-radius: var(--sf-radius); background: var(--sf-lime); color: var(--sf-on-lime); font-size: 14px; font-weight: 600; text-decoration: none; box-shadow: var(--sf-lime-glow); }
.sf-prose a.button:hover { background: var(--sf-lime-hover); }
.sf-prose table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0 0 16px; }
.sf-prose th, .sf-prose td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--sf-border); }
.sf-prose th { color: var(--sf-muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.sf-prose td:last-child { color: var(--sf-lime); font-weight: 600; text-align: right; }
.sf-prose hr { border: 0; border-top: 1px solid var(--sf-border); margin: 32px 0; }

/* FAQ: category eyebrow, one card per group, accordion rows. */
.sf-page--faq .sf-page__content { display: flex; flex-direction: column; gap: 40px; }
.sf-faq__cat { margin: 0 0 16px !important; font-size: 12px !important; font-weight: 600 !important; }
.sf-faq__group { background: var(--sf-surface); border: 1px solid var(--sf-border); border-radius: var(--sf-radius); padding: 0 24px; }
.sf-faq__item { border-bottom: 1px solid var(--sf-border); }
.sf-faq__item:last-child { border-bottom: 0; }
.sf-faq__q { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 0; background: transparent; border: 0; text-align: left; cursor: pointer; color: var(--sf-text); font-size: 14px; font-weight: 600; line-height: 1.375; }
.sf-faq__q:hover span { color: var(--sf-lime); }
.sf-faq__chev { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--sf-muted); transition: transform .2s; }
.sf-faq__item.is-open .sf-faq__chev { transform: rotate(180deg); }
.sf-faq__a p { color: var(--sf-muted); font-size: 14px; line-height: 1.625; padding-bottom: 20px; margin: 0; }
.sf-page--faq .sf-page__content > p:last-child { display: none; }

.sf-faq-cta { margin-top: 64px; background: var(--sf-surface); border: 1px solid var(--sf-border); border-radius: var(--sf-radius); padding: 32px; text-align: center; }
.sf-faq-cta__icon { width: 64px; height: 64px; border-radius: 999px; background: var(--sf-surface-2); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.sf-faq-cta__title { font-size: 20px; letter-spacing: -0.025em; margin-bottom: 8px; }
.sf-faq-cta__text { color: var(--sf-muted); font-size: 14px; line-height: 1.625; margin-bottom: 24px; }

/* -------------------------------------------------------------------------
   Footer: 3 columns, 48px gap, 64px padding, bottom row.
   ---------------------------------------------------------------------- */
.sf-footer { background: var(--sf-bg); border-top: 1px solid var(--sf-border); padding: 64px 0; margin-top: auto; }
.sf-footer__grid { max-width: var(--sf-container); margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; box-sizing: border-box; }
.sf-footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.sf-footer__brand img { width: 48px; height: 48px; border-radius: var(--sf-radius); }
.sf-footer__brand-text { line-height: 1.25; }
.sf-footer__brand-text .sf-brand__name { display: block; }
.sf-footer__brand-text .sf-brand__tag { display: block; margin-top: 2px; }
.sf-footer__blurb { color: var(--sf-muted); font-size: 14px; line-height: 1.625; max-width: 320px; }
.sf-footer__heading { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sf-muted); margin-bottom: 16px; }
.sf-footer__links { display: flex; flex-direction: column; gap: 10px; }
.sf-footer__links a { color: var(--sf-muted); font-size: 14px; transition: color .15s; }
.sf-footer__links a:hover { color: var(--sf-text); }
.sf-footer__contact { display: flex; flex-direction: column; gap: 12px; }
.sf-footer__contact .sf-footer__heading { margin-bottom: 4px; }
.sf-footer__contact p { display: flex; align-items: flex-start; gap: 8px; color: var(--sf-muted); font-size: 14px; }
.sf-footer__contact svg { margin-top: 2px; color: var(--sf-muted); }
.sf-footer__contact a:hover { color: var(--sf-text); }
.sf-footer__bottom { max-width: var(--sf-container); margin: 48px auto 0; padding: 32px 16px 0; border-top: 1px solid var(--sf-border); display: flex; justify-content: space-between; align-items: center; color: var(--sf-muted); font-size: 12px; line-height: 16px; box-sizing: border-box; }

/* -------------------------------------------------------------------------
   Anything Kadence or WooCommerce still prints outside the child templates
   (store notices, form messages) takes the dark surfaces.
   ---------------------------------------------------------------------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error { background: var(--sf-surface); border-top-color: var(--sf-lime); color: var(--sf-text); }
.woocommerce-store-notice { background: var(--sf-surface-2); color: var(--sf-text); }
html body .frm-fluent-form .ff-btn-submit:not(.ff_btn_no_style) { background: var(--sf-lime); color: var(--sf-on-lime); border: 0; border-radius: var(--sf-radius); font-weight: 600; }
html body .frm-fluent-form .ff-el-form-control { background-color: var(--sf-surface-2); border: 1px solid var(--sf-border); color: var(--sf-text); border-radius: var(--sf-radius); }
html body .frm-fluent-form .ff-el-input--label label { color: var(--sf-text); }

/* -------------------------------------------------------------------------
   Responsive. Breakpoints mirror Tailwind's: 640 sm, 768 md, 1024 lg, 1280 xl.
   Grid columns follow the original exactly: 2 below 1024, 3 to 1279, 4 above.
   The product page goes two-column at 768 (md), with the gallery sticky.
   ---------------------------------------------------------------------- */
@media (max-width: 1279px) {
  .sf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .sf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sf-search--nav { display: none; }
  .sf-nav__searchrow { display: block; }
  .sf-product__grid { gap: 32px; }
  .sf-panels { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .sf-nav__links { display: none; }
  .sf-nav__toggle { display: flex; }
  .sf-hero { padding: 96px 16px; }
  .sf-hero__title { font-size: 32px; line-height: 36px; }
  .sf-grid { gap: 12px; }
  .sf-card__body { padding: 12px; }
  .sf-card__title { font-size: 14px; line-height: 1.375; margin-bottom: 4px; }
  .sf-card__blurb { font-size: 11px; }
  .sf-card__price { font-size: 18px; }
  .sf-card__stock { font-size: 11px; }
  .sf-card__note { font-size: 10px; }
  .sf-section { padding: 64px 16px; }
  .sf-h2 { font-size: 30px; }
  .sf-steps, .sf-trust__grid { grid-template-columns: 1fr; }
  .sf-panel__actions { flex-direction: column; }
  .sf-product__grid { grid-template-columns: 1fr; }
  .sf-product__gallery { position: static; max-width: 480px; margin: 0 auto; width: 100%; }
  .sf-product__title { font-size: 30px; line-height: 1.25; }
  .sf-capture { padding: 40px 24px; }
  .sf-capture__form { flex-direction: column; }
  .sf-capture__btn { width: 100%; }
  .sf-footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .sf-footer__bottom { flex-direction: column; gap: 8px; }
  .sf-shop__title { font-size: 30px; line-height: 36px; }
  .sf-shop__tools { justify-content: stretch; }
  .sf-search--shop { width: 100%; }
}

@media (max-width: 639px) {
  .sf-nav__utility { display: none; }
  .sf-nav__utility--mobile { display: block; }
  .sf-hero__actions .sf-btn { width: 100%; }
}

/* -------------------------------------------------------------------------
   Cart. Header button as the original: "Cart" 14px/500 + 20px icon, lime
   count badge top-right. Add-to-cart buttons reuse .sf-btn.
   ---------------------------------------------------------------------- */
.sf-cart { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px; color: var(--sf-text); flex-shrink: 0; transition: color .15s; }
.sf-cart:hover { color: var(--sf-lime); }
.sf-cart__label { font-size: 14px; font-weight: 500; }
.sf-cart__count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--sf-lime); color: var(--sf-on-lime); font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
.sf-cart__count.is-empty { display: none; }
.sf-btn.added { background: var(--sf-lime-hover); }
.sf-btn.loading { opacity: .7; pointer-events: none; }
.sf-card .added_to_cart { display: none; }

/* Single product: WooCommerce's form, restyled. Stock is one unit per
   machine, so the quantity field would only ever say 1. */
.sf-avail__buy form.cart { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.sf-avail__buy .quantity { display: none; }
.sf-avail__buy .stock { display: none; }
.sf-site .sf-avail__buy .single_add_to_cart_button { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 48px; padding: 0 32px; border: 0; border-radius: var(--sf-radius); background: var(--sf-lime); color: var(--sf-on-lime); font-family: var(--sf-font); font-size: 16px; font-weight: 600; line-height: 1; box-shadow: var(--sf-lime-glow); cursor: pointer; transition: background .15s, transform .15s; }
.sf-site .sf-avail__buy .single_add_to_cart_button:hover { background: var(--sf-lime-hover); transform: translateY(-1px); }
.sf-site .sf-avail__buy .single_add_to_cart_button:disabled { opacity: .5; }
.sf-avail__secure { display: flex; align-items: center; justify-content: center; gap: 8px; padding-top: 16px; border-top: 1px solid var(--sf-border); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sf-muted); }

/* Cart and checkout pages: the WooCommerce blocks in the dark palette. */
.sf-page--wide { max-width: var(--sf-container); padding: 40px 16px 96px; }
.sf-page__title--wc { font-size: 36px; line-height: 40px; letter-spacing: -0.02em; margin-bottom: 32px; }
.sf-wc { --wc-form-border-color: var(--sf-border); --wc-form-border-width: 1px; --wc-form-border-radius: 3px; color: var(--sf-text); }
/* Kadence gives every Gutenberg block marked "wide align" a full-viewport
   breakout (negative margins out to 100vw), regardless of the page's own
   max-width. WooCommerce marks the cart and checkout blocks wide-aligned by
   default, so on any monitor wider than the 1280px container they blew
   straight through it edge to edge instead of sitting inside .sf-page--wide
   like everything else. This cancels the breakout so they size to their
   actual parent, same as every other block on the page. */
html body .sf-wc .wp-block-woocommerce-cart.alignwide, html body .sf-wc .wp-block-woocommerce-checkout.alignwide { width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; }
/* No gap here: WooCommerce's own is-large layout already splits main/sidebar
   65/35 with no slack, reserved as padding-right on main instead of a gap.
   Adding a gap on top of that exact split overflowed the row and wrapped
   the sidebar below the cart/checkout form instead of beside it. */
.sf-wc .wc-block-components-sidebar { background: var(--sf-surface); border: 1px solid var(--sf-border); border-radius: var(--sf-radius); padding: 24px; }
.sf-wc .wc-block-components-totals-item, .sf-wc .wc-block-components-totals-footer-item, .sf-wc .wc-block-cart-items__row, .sf-wc .wc-block-components-order-summary-item { border-color: var(--sf-border); color: var(--sf-text); }
.sf-wc .wc-block-cart-items th, .sf-wc .wc-block-components-product-name, .sf-wc .wc-block-components-checkout-step__title, .sf-wc .wc-block-components-title, .sf-wc .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { color: var(--sf-text); }
.sf-wc .wc-block-components-product-metadata, .sf-wc .wc-block-components-checkout-step__description, .sf-wc .wc-block-components-product-details__value, .sf-wc .wc-block-components-order-summary-item__quantity { color: var(--sf-muted); }
.sf-wc .wc-block-components-product-price, .sf-wc .wc-block-formatted-money-amount { color: var(--sf-lime); font-weight: 800; font-variant-numeric: tabular-nums; }
.sf-wc .wc-block-cart-item__image img, .sf-wc .wc-block-components-order-summary-item__image img { border-radius: var(--sf-radius); }
.sf-wc .wc-block-components-button, .sf-wc .wc-block-cart__submit-button, .sf-wc .wc-block-components-checkout-place-order-button { background: var(--sf-lime); color: var(--sf-on-lime); border: 0; border-radius: var(--sf-radius); font-family: var(--sf-font); font-weight: 600; box-shadow: var(--sf-lime-glow); }
.sf-wc .wc-block-components-button:hover, .sf-wc .wc-block-components-checkout-place-order-button:hover { background: var(--sf-lime-hover); color: var(--sf-on-lime); }
.sf-wc .wc-block-components-button.outlined, .sf-wc .wc-block-components-button.is-link { background: transparent; color: var(--sf-text); border: 1px solid var(--sf-border); box-shadow: none; }
/* The checkout block paints its fields white with a high-specificity rule;
   the html body prefix is the minimum that outranks it without !important. */
html body .sf-wc .wc-block-components-text-input input, html body .sf-wc .wc-block-components-textarea textarea, html body .sf-wc .wc-block-components-combobox .components-combobox-control__input, html body .sf-wc .wc-block-components-select .components-custom-select-control__button, html body .sf-wc .wc-blocks-components-select__container, html body .sf-wc .wc-block-components-country-input input, html body .sf-wc .wc-block-components-quantity-selector, html body .sf-wc .wc-block-components-form .wc-block-components-text-input input { background: var(--sf-surface-2); border-color: var(--sf-border); color: var(--sf-text); border-radius: var(--sf-radius); }
/* The Ship/Local pickup toggle keeps WooCommerce's own white "selected" pill
   rather than being pulled into the dark palette like the fields above; it
   only needed dark text so that pill isn't blank white-on-white. */
.sf-wc .wc-block-checkout__shipping-method-option--selected { color: var(--sf-bg); }
html body .sf-wc .wc-block-components-text-input input:-webkit-autofill { -webkit-text-fill-color: var(--sf-text); -webkit-box-shadow: 0 0 0 1000px var(--sf-surface-2) inset; }
.sf-wc .wc-block-components-text-input input:focus, .sf-wc .wc-block-components-textarea textarea:focus { border-color: var(--sf-lime); box-shadow: 0 0 0 1px var(--sf-lime); }
.sf-wc .wc-block-components-text-input label, .sf-wc .wc-block-components-checkbox label, .sf-wc .wc-block-components-radio-control__label { color: var(--sf-muted); }
.sf-wc .wc-block-components-text-input.is-active label { color: var(--sf-muted); }
.sf-wc .wc-block-components-radio-control__option, .sf-wc .wc-block-components-radio-control-accordion-option, .sf-wc .wc-block-components-checkout-step, .sf-wc .wc-block-components-shipping-rates-control__package, .sf-wc .wc-block-components-panel { border-color: var(--sf-border); }
.sf-wc .wc-block-components-radio-control__option--checked-option-highlighted, .sf-wc .wc-block-components-radio-control-accordion-option--checked-option-highlighted { background: var(--sf-surface-2); }
.sf-wc .wc-block-components-notice-banner { background: var(--sf-surface); border-color: var(--sf-border); color: var(--sf-text); }
.sf-wc .wc-block-components-quantity-selector input, .sf-wc .wc-block-components-quantity-selector button { color: var(--sf-text); }
.sf-wc .wc-block-cart__empty-cart__title, .sf-wc .wp-block-woocommerce-empty-cart-block h2 { color: var(--sf-text); }
.sf-wc .wc-block-components-product-badge { background: var(--sf-surface-2); color: var(--sf-muted); border: 0; }
.sf-wc a { color: var(--sf-text); text-decoration: underline; text-underline-offset: 3px; }
.sf-wc a:hover { color: var(--sf-lime); }
/* WooPayments card fields live in an iframe with their own light theme; the
   frame around them takes the dark surface so it reads as one form. */
.sf-wc .wcpay-upe-element, .sf-wc #wcpay-upe-element, .sf-wc .wcpay-payment-element { background: var(--sf-surface-2); border: 1px solid var(--sf-border); border-radius: var(--sf-radius); padding: 12px; }

@media (max-width: 767px) {
  .sf-cart__label { display: none; }
  .sf-page--wide { padding: 24px 16px 64px; }
  .sf-page__title--wc { font-size: 30px; line-height: 36px; }
}
