/* ==========================================================================
   Sand & Petrol landing styles. Mobile first. Every value traces to a token.
   ========================================================================== */

/* --- Scoped reset. :where() keeps specificity at 0 so components always win. */
:where(.sp-body *, .sp-body *::before, .sp-body *::after) { box-sizing: border-box; }
:where(.sp-body h1, .sp-body h2, .sp-body h3, .sp-body p, .sp-body figure,
       .sp-body blockquote, .sp-body dl, .sp-body dd) { margin: 0; }
:where(.sp-body ul, .sp-body ol) { margin: 0; padding: 0; list-style: none; }
:where(.sp-body img, .sp-body svg) { max-width: 100%; }
:where(.sp-body button) { font: inherit; color: inherit; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--sp-header-h) + 16px); }

body.sp-body {
  margin: 0;
  background: var(--sp-bg);
  color: var(--sp-ink);
  font-family: var(--sp-font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.sp-body :focus-visible { outline: 2px solid var(--sp-accent); outline-offset: 3px; border-radius: 6px; }
.sp-body ::selection { background: var(--sp-accent); color: #fff; }

.sp-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sp-skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--sp-ink); color: #fff; padding: 12px 18px;
  border-radius: var(--sp-r-sm); text-decoration: none; transition: top .2s var(--sp-ease);
}
.sp-skip:focus { top: 16px; }

.sp-shell { width: 100%; max-width: var(--sp-maxw); margin-inline: auto; padding-inline: var(--sp-gutter); }
.sp-i { width: 20px; height: 20px; flex: none; }

.sp-only-desk { display: none; }
@media (min-width: 1024px) {
  .sp-only-desk { display: revert; }
  .sp-only-mobile { display: none !important; }
}

/* --- Type scale ---------------------------------------------------------- */
.sp-h2 {
  font-family: var(--sp-font-display); font-weight: 600;
  font-size: clamp(26px, 4.6vw, 40px); line-height: 1.08; letter-spacing: -.015em;
}
.sp-h2--tight { max-width: 18ch; }

.sp-link {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--sp-accent); font-weight: 500; font-size: 15px; text-decoration: none;
}
.sp-link .sp-i { width: 17px; height: 17px; transition: transform .2s var(--sp-ease); }
.sp-link:hover .sp-i { transform: translateX(4px); }
.sp-link--onpanel { color: #fff; }

/* --- Buttons: full pill, per the shape rule ------------------------------ */
.sp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  font-family: var(--sp-font-display); font-weight: 600; font-size: 15px; line-height: 1;
  padding: 15px 24px; border-radius: var(--sp-r-pill);
  transition: transform .18s var(--sp-ease), box-shadow .22s var(--sp-ease), background .18s, color .18s;
}
.sp-btn .sp-i { width: 18px; height: 18px; }
.sp-btn--primary { background: var(--sp-ink); color: #fff; }
.sp-btn--primary:hover { transform: translateY(-2px); box-shadow: var(--sp-shadow-lift); }
.sp-btn--ghost { background: var(--sp-surface); color: var(--sp-ink); box-shadow: inset 0 0 0 1px var(--sp-line); }
.sp-btn--ghost:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--sp-ink), var(--sp-shadow-lift); }
.sp-btn--onaccent { background: #fff; color: var(--sp-accent); }
.sp-btn--onaccent:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -16px rgba(6,32,30,.7); }
.sp-btn:active { transform: translateY(0) scale(.98); }

/* --- Icon buttons -------------------------------------------------------- */
.sp-iconbtn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 0; background: transparent; color: var(--sp-ink);
  border-radius: var(--sp-r-pill); cursor: pointer; text-decoration: none;
  transition: background .18s, transform .18s var(--sp-ease);
}
.sp-iconbtn:hover { background: var(--sp-surface); }
.sp-iconbtn:active { transform: scale(.94); }
.sp-iconbtn--outline { background: var(--sp-surface); box-shadow: inset 0 0 0 1px var(--sp-line); }
.sp-iconbtn--outline:disabled { opacity: .35; cursor: default; }
.sp-iconbtn--cart { background: var(--sp-ink); color: #fff; }
.sp-iconbtn--cart:hover { background: var(--sp-accent); }
.sp-iconbtn__badge {
  position: absolute; top: -2px; right: -2px; min-width: 19px; height: 19px; padding: 0 5px;
  display: grid; place-items: center; background: var(--sp-accent); color: #fff;
  font-size: 11px; font-weight: 600; line-height: 1; border-radius: var(--sp-r-pill);
  box-shadow: 0 0 0 2px var(--sp-bg);
}
.sp-iconbtn--cart .sp-iconbtn__badge { box-shadow: 0 0 0 2px var(--sp-bg); }
.sp-iconbtn__badge.is-hidden { display: none; }

/* --- Header -------------------------------------------------------------- */
.sp-header { position: sticky; top: 0; z-index: 60; background: var(--sp-bg); transition: box-shadow .3s, background .3s; }
.sp-header.is-stuck { background: rgba(235,227,215,.88); backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--sp-line); }
.sp-header__row { display: flex; align-items: center; gap: var(--sp-sm); height: var(--sp-header-h); }

.sp-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--sp-accent); margin-right: auto; }
.sp-logo__mark { width: 34px; height: 34px; flex: none; }
.sp-logo__mark svg { display: block; width: 100%; height: 100%; }
.sp-logo__name {
  font-family: var(--sp-font-display); font-weight: 700; font-size: 19px; letter-spacing: -.02em;
  color: var(--sp-ink); max-width: 24ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.sp-nav { display: flex; align-items: center; gap: 4px; }
.sp-nav a {
  padding: 9px 14px; border-radius: var(--sp-r-pill); text-decoration: none;
  color: var(--sp-ink-soft); font-size: 15px; font-weight: 500; transition: color .18s, background .18s;
}
.sp-nav a:hover { color: var(--sp-ink); background: var(--sp-surface); }

.sp-search {
  display: flex; align-items: center; gap: 9px; padding: 0 14px; height: 42px;
  background: var(--sp-surface); border-radius: var(--sp-r-sm);
  box-shadow: inset 0 0 0 1px var(--sp-line); color: var(--sp-ink-soft);
  transition: box-shadow .2s;
}
.sp-search:focus-within { box-shadow: inset 0 0 0 2px var(--sp-accent); }
.sp-search input {
  border: 0; background: none; outline: none; font: inherit; font-size: 14px;
  color: var(--sp-ink); width: 150px; padding: 0;
}
.sp-search input::placeholder { color: var(--sp-ink-soft); }
@media (min-width: 1200px) { .sp-search input { width: 190px; } }

.sp-header__actions { display: flex; align-items: center; gap: 4px; margin-left: 4px; }
.sp-searchrow { padding: 0 0 14px; }
.sp-searchrow .sp-search--wide { height: 46px; }
.sp-searchrow .sp-search--wide input { width: 100%; flex: 1; }

/* --- Drawers, scrim ------------------------------------------------------ */
.sp-scrim { position: fixed; inset: 0; background: rgba(28,26,23,.42); z-index: 90; opacity: 0; transition: opacity .28s var(--sp-ease); }
.sp-scrim.is-on { opacity: 1; }

.sp-drawer {
  position: fixed; inset-block: 0; inset-inline-start: 0; z-index: 100;
  width: min(88vw, 340px); background: var(--sp-bg);
  display: flex; flex-direction: column;
  transform: translateX(-100%); transition: transform .32s var(--sp-ease);
  box-shadow: 12px 0 40px -20px rgba(78,64,44,.5);
}
.sp-drawer--right { inset-inline: auto 0; transform: translateX(100%); width: min(92vw, 400px); }
.sp-drawer.is-open { transform: translateX(0); }
.sp-drawer__top { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 10px; }
.sp-drawer__title { font-family: var(--sp-font-display); font-weight: 600; font-size: 18px; }
.sp-drawer__nav { display: flex; flex-direction: column; padding: 8px; overflow-y: auto; }
.sp-drawer__nav a {
  padding: 15px 14px; text-decoration: none; color: var(--sp-ink);
  font-family: var(--sp-font-display); font-weight: 500; font-size: 17px;
  border-radius: var(--sp-r-sm); border-bottom: 1px solid var(--sp-line);
}
.sp-drawer__nav a:hover { background: var(--sp-surface); }
.sp-drawer__nav a:last-child { border-bottom: 0; }

/* --- 1. Hero ------------------------------------------------------------- */
.sp-hero { padding-block: 32px 48px; }
.sp-hero__grid { display: grid; gap: 36px; }
.sp-hero__title {
  font-family: var(--sp-font-display); font-weight: 700;
  font-size: clamp(33px, 7.4vw, 58px); line-height: 1.03; letter-spacing: -.025em; max-width: 15ch;
}
.sp-hero__sub { margin-top: 18px; color: var(--sp-ink-soft); font-size: clamp(15px, 2.4vw, 18px); max-width: 44ch; }
.sp-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.sp-hero__art { position: relative; aspect-ratio: 1 / .84; }
.sp-hero__panel {
  position: absolute; border-radius: var(--sp-r-lg); overflow: hidden;
  background: var(--sp-surface-alt); box-shadow: var(--sp-shadow-lift);
}
.sp-hero__panel svg { display: block; width: 100%; height: 100%; }
.sp-hero__panel--a { left: 0; top: 0; width: 76%; height: 84%; z-index: 1; }
.sp-hero__panel--b { right: 0; top: 12%; width: 38%; height: 44%; z-index: 2; }
.sp-hero__panel--c { right: 8%; bottom: 0; width: 40%; height: 42%; z-index: 3; }

@media (min-width: 960px) {
  .sp-hero { padding-block: 56px 88px; }
  .sp-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); align-items: center; gap: 52px; }
}

/* --- 2. Featured categories: asymmetric bento ---------------------------- */
.sp-sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.sp-sechead--stack { flex-direction: column; align-items: stretch; gap: 20px; }
.sp-sec { padding-block: var(--sp-xl); }
.sp-sec--flush { padding-bottom: calc(var(--sp-xl) - 20px); }
@media (min-width: 960px) {
  .sp-sec { padding-block: var(--sp-xxl); }
  .sp-sec--flush { padding-bottom: calc(var(--sp-xxl) - 24px); }
}

.sp-bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
.sp-tile {
  display: flex; flex-direction: column; text-decoration: none; color: var(--sp-ink);
  background: var(--sp-surface); border-radius: var(--sp-r-md); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--sp-line);
  transition: transform .3s var(--sp-ease), box-shadow .3s var(--sp-ease);
}
.sp-tile:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--sp-line), var(--sp-shadow-lift); }
.sp-tile__art { display: block; background: var(--sp-surface-alt); aspect-ratio: 16 / 10; overflow: hidden; }
.sp-tile__art svg { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--sp-ease); }
.sp-tile:hover .sp-tile__art svg { transform: scale(1.045); }
.sp-tile__body { display: flex; flex-direction: column; gap: 7px; padding: 20px; flex: 1; }
.sp-tile__icon { color: var(--sp-accent); }
.sp-tile__name { font-family: var(--sp-font-display); font-weight: 600; font-size: 19px; line-height: 1.15; }
.sp-tile__blurb { color: var(--sp-ink-soft); font-size: 14.5px; line-height: 1.55; }
.sp-tile__meta {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px;
  color: var(--sp-accent); font-weight: 500; font-size: 14px;
}
.sp-tile__meta .sp-i { width: 16px; height: 16px; transition: transform .2s var(--sp-ease); }
.sp-tile:hover .sp-tile__meta .sp-i { transform: translateX(4px); }

@media (min-width: 700px) { .sp-bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .sp-bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(226px, auto); }
  .sp-tile--1 { grid-column: 1 / 3; grid-row: 1 / 3; }
  .sp-tile--1 .sp-tile__art { aspect-ratio: auto; flex: 1; }
  .sp-tile--1 .sp-tile__name { font-size: 25px; }
  .sp-tile--2 { grid-column: 3 / 5; grid-row: 1 / 2; flex-direction: row; }
  .sp-tile--2 .sp-tile__art { aspect-ratio: 1 / 1; width: 42%; flex: none; }
  .sp-tile--3 { grid-column: 3 / 4; grid-row: 2 / 3; }
  .sp-tile--4 { grid-column: 4 / 5; grid-row: 2 / 3; }
  .sp-tile--3 .sp-tile__blurb, .sp-tile--4 .sp-tile__blurb { display: none; }
}

/* --- 3. Best sellers rail ------------------------------------------------ */
.sp-rail__nav { display: flex; gap: 8px; }
.sp-rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.sp-rail::-webkit-scrollbar { display: none; }
.sp-rail__track {
  display: flex; gap: 14px; padding-block: 4px 22px;
  padding-inline: max(var(--sp-gutter), (100vw - var(--sp-maxw)) / 2);
}
.sp-rail .sp-card { flex: 0 0 clamp(228px, 70vw, 268px); scroll-snap-align: start; }

/* --- 4. Tabs + product grid --------------------------------------------- */
.sp-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.sp-tabs::-webkit-scrollbar { display: none; }
.sp-tab {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; cursor: pointer;
  padding: 11px 18px; border: 0; border-radius: var(--sp-r-pill);
  background: var(--sp-surface); box-shadow: inset 0 0 0 1px var(--sp-line); color: var(--sp-ink);
  font-family: var(--sp-font-display); font-weight: 500; font-size: 14.5px;
  transition: background .2s, color .2s, box-shadow .2s, transform .18s var(--sp-ease);
}
.sp-tab .sp-i { width: 18px; height: 18px; }
.sp-tab:hover { transform: translateY(-2px); }
.sp-tab.is-active { background: var(--sp-ink); color: #fff; box-shadow: none; }

.sp-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 520px)  { .sp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .sp-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1200px) { .sp-grid { grid-template-columns: repeat(5, 1fr); } }

/* --- Product card -------------------------------------------------------- */
.sp-card {
  display: flex; flex-direction: column; background: var(--sp-surface);
  border-radius: var(--sp-r-md); overflow: hidden; box-shadow: inset 0 0 0 1px var(--sp-line);
  transition: transform .3s var(--sp-ease), box-shadow .3s var(--sp-ease);
}
.sp-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--sp-line), var(--sp-shadow-lift); }
.sp-card__media { position: relative; background: var(--sp-surface-alt); aspect-ratio: 1 / 1; overflow: hidden; }
.sp-card__media-link { display: block; height: 100%; }
.sp-card__art { display: block; height: 100%; }
.sp-card__art svg, .sp-card__img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--sp-ease);
}
.sp-card:hover .sp-card__art svg, .sp-card:hover .sp-card__img { transform: scale(1.05); }

.sp-badge {
  position: absolute; top: 11px; left: 11px; z-index: 2;
  background: var(--sp-accent); color: #fff; font-size: 11.5px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 11px; border-radius: var(--sp-r-pill);
}
.sp-card__tools {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  display: flex; flex-direction: column; gap: 7px;
  opacity: 0; transform: translateX(8px); transition: opacity .24s var(--sp-ease), transform .24s var(--sp-ease);
}
.sp-card:hover .sp-card__tools, .sp-card:focus-within .sp-card__tools { opacity: 1; transform: none; }
@media (hover: none) { .sp-card__tools { opacity: 1; transform: none; } }
.sp-tool {
  width: 34px; height: 34px; display: grid; place-items: center; cursor: pointer;
  border: 0; border-radius: var(--sp-r-pill); background: var(--sp-surface); color: var(--sp-ink);
  box-shadow: 0 2px 8px rgba(78,64,44,.14); transition: background .18s, color .18s, transform .18s var(--sp-ease);
}
.sp-tool .sp-i { width: 17px; height: 17px; }
.sp-tool:hover { background: var(--sp-ink); color: #fff; }
.sp-tool[aria-pressed="true"] { background: var(--sp-accent); color: #fff; }
.sp-tool[aria-pressed="true"] .sp-i { fill: currentColor; }

.sp-card__body { display: flex; flex-direction: column; gap: 7px; padding: 15px 16px 16px; flex: 1; }
.sp-card__title { font-family: var(--sp-font-display); font-weight: 600; font-size: 16px; line-height: 1.22; letter-spacing: -.005em; }
.sp-card__title a { color: inherit; text-decoration: none; }
.sp-card__title a:hover { color: var(--sp-accent); }
.sp-card__desc {
  color: var(--sp-ink-soft); font-size: 13.5px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.sp-rating { display: inline-flex; align-items: center; gap: 7px; }
.sp-rating__stars { display: inline-flex; gap: 1.5px; }
.sp-star svg { width: 13px; height: 13px; display: block; }
.sp-star--full svg { fill: var(--sp-star); }
.sp-star--empty svg { fill: var(--sp-line); }
.sp-star--half svg { fill: var(--sp-line); }
.sp-star--half { position: relative; }
.sp-star--half::after {
  content: ""; position: absolute; inset: 0 50% 0 0; overflow: hidden;
  background: var(--sp-star);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.6l2.5 5.4 5.9.7-4.4 4 1.2 5.8L10 14.6 4.8 17.5 6 11.7 1.6 7.7l5.9-.7z'/%3E%3C/svg%3E") 0 0 / 13px 13px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.6l2.5 5.4 5.9.7-4.4 4 1.2 5.8L10 14.6 4.8 17.5 6 11.7 1.6 7.7l5.9-.7z'/%3E%3C/svg%3E") 0 0 / 13px 13px no-repeat;
}
.sp-rating__n { font-size: 12.5px; color: var(--sp-ink-soft); }

.sp-swatches { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 2px; }
.sp-swatch {
  width: 19px; height: 19px; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--sp-r-pill); background: var(--sw);
  box-shadow: inset 0 0 0 1px rgba(28,26,23,.18);
  transition: transform .16s var(--sp-ease), box-shadow .16s var(--sp-ease);
}
.sp-swatch:hover { transform: scale(1.12); }
.sp-swatch.is-active {
  box-shadow: inset 0 0 0 1px rgba(28,26,23,.18), 0 0 0 2px var(--sp-surface), 0 0 0 3.5px var(--sp-accent);
}
.sp-swatches__label { font-size: 12px; color: var(--sp-ink-soft); margin-left: 2px; }

.sp-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 13px; }
.sp-price { font-family: var(--sp-font-display); font-weight: 600; font-size: 16.5px; letter-spacing: -.01em; }
.sp-price del { color: var(--sp-ink-soft); font-weight: 400; font-size: 13px; margin-right: 5px; }
.sp-price ins { text-decoration: none; color: var(--sp-ink); }
.sp-price .woocommerce-Price-amount { white-space: nowrap; }
.sp-btn--add { padding: 11px 16px; font-size: 13.5px; background: var(--sp-ink); color: #fff; }
.sp-btn--add:hover { background: var(--sp-accent); transform: translateY(-2px); }
.sp-btn__tick { display: none; width: 16px; height: 16px; }
.sp-btn--add.is-done { background: var(--sp-accent); }
.sp-btn--add.is-done .sp-btn__tick { display: block; }
.sp-btn--add.is-busy { opacity: .68; pointer-events: none; }

/* --- 5. Promotional banner ---------------------------------------------- */
.sp-promo {
  position: relative; overflow: hidden; background: var(--sp-accent); color: #fff;
  border-radius: var(--sp-r-lg); padding: 36px 24px; display: grid; gap: 20px;
}
.sp-promo__kicker { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.sp-promo__title { font-family: var(--sp-font-display); font-weight: 600; font-size: clamp(26px, 4.4vw, 42px); line-height: 1.06; letter-spacing: -.02em; margin-top: 10px; max-width: 17ch; }
.sp-promo__text { margin-top: 14px; color: rgba(255,255,255,.82); max-width: 46ch; font-size: 15.5px; }
.sp-promo .sp-btn { margin-top: 26px; }
.sp-promo__art { position: relative; border-radius: var(--sp-r-md); overflow: hidden; aspect-ratio: 4 / 3; }
.sp-promo__art svg { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .sp-promo { grid-template-columns: 1.1fr .9fr; align-items: center; padding: 60px; gap: 40px; }
  /* The art breaks its frame: it bleeds past the panel edge. */
  .sp-promo__art { aspect-ratio: 1 / 1; margin: -60px -60px -60px 0; border-radius: 0; }
}

/* --- 6. Why choose us: split, dividers not cards ------------------------- */
.sp-why { display: grid; gap: 32px; }
.sp-why__list { margin-top: 8px; }
.sp-why__item { padding-block: 20px; border-top: 1px solid var(--sp-line); }
.sp-why__item:last-child { border-bottom: 1px solid var(--sp-line); }
.sp-why__item dt {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--sp-font-display); font-weight: 600; font-size: 17.5px;
}
.sp-why__item dt .sp-i { color: var(--sp-accent); }
.sp-why__item dd { margin-top: 7px; padding-left: 31px; color: var(--sp-ink-soft); font-size: 15px; max-width: 62ch; }

.sp-why__panel {
  background: var(--sp-accent); color: #fff; border-radius: var(--sp-r-lg);
  padding: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.sp-stat__num { font-family: var(--sp-font-display); font-weight: 700; font-size: clamp(58px, 13vw, 88px); line-height: .92; letter-spacing: -.04em; }
.sp-why__panel .sp-star--empty svg { fill: rgba(255,255,255,.28); }
.sp-stat__label { color: rgba(255,255,255,.8); font-size: 15px; max-width: 30ch; }
.sp-why__panel .sp-link { margin-top: 6px; }
@media (min-width: 960px) {
  .sp-why { grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: start; }
  .sp-why__panel { position: sticky; top: calc(var(--sp-header-h) + 24px); }
}

/* --- 7. Reviews ---------------------------------------------------------- */
.sp-quotes { display: grid; gap: 14px; grid-template-columns: 1fr; }
.sp-quote {
  background: var(--sp-surface); border-radius: var(--sp-r-md); padding: 24px;
  box-shadow: inset 0 0 0 1px var(--sp-line);
  display: flex; flex-direction: column; gap: 13px;
}
.sp-quote blockquote p { font-size: 16px; line-height: 1.6; color: var(--sp-ink); }
.sp-quote figcaption { margin-top: auto; padding-top: 6px; display: flex; flex-direction: column; gap: 2px; }
.sp-quote__who { font-family: var(--sp-font-display); font-weight: 600; font-size: 14.5px; }
.sp-quote__what { color: var(--sp-ink-soft); font-size: 13.5px; text-decoration: none; }
.sp-quote__what:hover { color: var(--sp-accent); text-decoration: underline; }
@media (min-width: 700px)  { .sp-quotes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .sp-quotes { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .sp-quote:first-child { grid-column: span 2; background: var(--sp-surface-alt); }
  .sp-quote:first-child blockquote p { font-size: clamp(19px, 2.1vw, 24px); line-height: 1.36; }
}

/* --- 8. Newsletter ------------------------------------------------------- */
.sp-news { background: var(--sp-accent-soft); border-radius: var(--sp-r-lg); padding: 32px 24px; display: grid; gap: 24px; }
.sp-news__copy p { margin-top: 12px; color: var(--sp-ink-soft); font-size: 15.5px; max-width: 48ch; }
.sp-news__form { display: flex; gap: 10px; flex-wrap: wrap; align-content: start; }
.sp-news__form input {
  flex: 1 1 210px; min-width: 0; padding: 15px 18px; font: inherit; font-size: 15px;
  color: var(--sp-ink); background: var(--sp-surface); border: 0;
  border-radius: var(--sp-r-sm); box-shadow: inset 0 0 0 1px var(--sp-line);
  transition: box-shadow .2s;
}
.sp-news__form input::placeholder { color: var(--sp-ink-soft); }
.sp-news__form input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--sp-accent); }
.sp-news__form.is-error input { box-shadow: inset 0 0 0 2px #8C2F1F; }
.sp-news__msg { flex: 1 0 100%; font-size: 13.5px; color: var(--sp-ink-soft); min-height: 19px; }
.sp-news__form.is-error .sp-news__msg { color: #8C2F1F; }
.sp-news__form.is-ok .sp-news__msg { color: var(--sp-accent); font-weight: 500; }
@media (min-width: 900px) { .sp-news { grid-template-columns: 1fr 1fr; align-items: center; padding: 56px; gap: 40px; } }

/* --- 9. Footer ----------------------------------------------------------- */
.sp-footer { background: var(--sp-ink); color: #EBE3D7; padding-block: 52px 22px; }
.sp-footer__top { display: grid; gap: 32px; grid-template-columns: 1fr; }
.sp-logo--foot { color: #EBE3D7; margin-right: 0; }
.sp-logo--foot .sp-logo__name { color: #EBE3D7; }
.sp-footer__note { margin-top: 14px; color: rgba(235,227,215,.72); font-size: 14.5px; max-width: 34ch; }
.sp-social { display: flex; gap: 8px; margin-top: 18px; }
.sp-social__a {
  width: 38px; height: 38px; display: grid; place-items: center; color: #EBE3D7;
  border-radius: var(--sp-r-pill); box-shadow: inset 0 0 0 1px rgba(235,227,215,.26);
  text-decoration: none; transition: background .2s, color .2s, transform .2s var(--sp-ease);
}
.sp-social__a:hover { background: #EBE3D7; color: var(--sp-ink); transform: translateY(-2px); }
.sp-footer__col { display: flex; flex-direction: column; gap: 11px; }
.sp-footer__col h3 { font-family: var(--sp-font-display); font-weight: 600; font-size: 15px; margin: 0 0 3px; }
.sp-footer__col a { color: rgba(235,227,215,.74); text-decoration: none; font-size: 14.5px; transition: color .18s; }
.sp-footer__col a:hover { color: #fff; text-decoration: underline; }
.sp-footer__bar {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(235,227,215,.18);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  color: rgba(235,227,215,.62); font-size: 13.5px;
}
@media (min-width: 700px)  { .sp-footer__top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sp-footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; } }

/* --- Quick view modal ---------------------------------------------------- */
.sp-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; background: rgba(28,26,23,.46); opacity: 0; transition: opacity .26s var(--sp-ease); }
.sp-modal.is-on { opacity: 1; }
.sp-modal__panel {
  position: relative; width: min(100%, 820px); max-height: 88vh; overflow-y: auto;
  background: var(--sp-surface); border-radius: var(--sp-r-lg); padding: 22px;
  transform: translateY(14px) scale(.985); transition: transform .3s var(--sp-ease);
}
.sp-modal.is-on .sp-modal__panel { transform: none; }
.sp-modal__x { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--sp-surface-alt); }
.sp-quickview { display: grid; gap: 22px; }
.sp-quickview__art { border-radius: var(--sp-r-md); overflow: hidden; background: var(--sp-surface-alt); aspect-ratio: 1 / 1; }
.sp-quickview__art svg, .sp-quickview__art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sp-quickview__title { font-family: var(--sp-font-display); font-weight: 600; font-size: clamp(21px, 3vw, 28px); line-height: 1.12; }
.sp-quickview__desc { color: var(--sp-ink-soft); margin-top: 10px; font-size: 15px; }
.sp-quickview__row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.sp-quickview__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
@media (min-width: 720px) { .sp-quickview { grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; } .sp-modal__panel { padding: 26px; } }

/* --- Wishlist panel ------------------------------------------------------ */
.sp-wishlist { padding: 8px 18px 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.sp-wish-row { display: flex; gap: 12px; align-items: center; background: var(--sp-surface); border-radius: var(--sp-r-sm); padding: 10px; box-shadow: inset 0 0 0 1px var(--sp-line); }
.sp-wish-row__art { width: 58px; height: 58px; flex: none; border-radius: 9px; overflow: hidden; background: var(--sp-surface-alt); }
.sp-wish-row__art svg, .sp-wish-row__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-wish-row__t { font-family: var(--sp-font-display); font-weight: 600; font-size: 14.5px; line-height: 1.2; text-decoration: none; color: var(--sp-ink); }
.sp-wish-row__p { font-size: 13px; color: var(--sp-ink-soft); margin-top: 3px; }
.sp-wish-empty { padding: 28px 4px; color: var(--sp-ink-soft); font-size: 15px; }
.sp-wish-empty strong { display: block; font-family: var(--sp-font-display); color: var(--sp-ink); font-size: 17px; margin-bottom: 6px; }

/* --- Toast --------------------------------------------------------------- */
.sp-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 140;
  transform: translate(-50%, 16px); opacity: 0;
  background: var(--sp-ink); color: #fff; padding: 13px 20px; border-radius: var(--sp-r-pill);
  font-size: 14.5px; font-weight: 500; box-shadow: var(--sp-shadow-lift);
  transition: opacity .26s var(--sp-ease), transform .26s var(--sp-ease);
  max-width: calc(100vw - 32px); text-align: center;
}
.sp-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* --- Scroll reveal. Hidden only once JS confirms it can un-hide. --------- */
.sp-js .sp-reveal { opacity: 0; transform: translateY(18px); transition: opacity .62s var(--sp-ease), transform .62s var(--sp-ease); }
.sp-js .sp-reveal.is-in { opacity: 1; transform: none; }

/* --- Reduced motion is honoured everywhere ------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sp-body *, .sp-body *::before, .sp-body *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .sp-js .sp-reveal { opacity: 1 !important; transform: none !important; }
}

/* --- Print --------------------------------------------------------------- */
@media print {
  .sp-header, .sp-drawer, .sp-scrim, .sp-modal, .sp-toast, .sp-card__tools { display: none !important; }
  .sp-js .sp-reveal { opacity: 1 !important; transform: none !important; }
}
