/* Shop-it24 Multi-Shop — CI tokens + scoped surfaces */

:root {
  /* Apex hub / mall (cool blues) */
  --si-ink: #0F172A;
  --si-accent: #2563EB;
  --si-accent-2: #3B82F6;
  --si-surface: #F1F5F9;
  --si-paper: #FFFFFF;

  /* SoftRitual (rose + beige) */
  --si-blush: #c97b84;
  --si-beige: #FAF7F4;
  --si-beige-line: #E8DFD8;

  /* KitchenDepot (green + poppy) */
  --si-olive: #5C6B4A;
  --si-olive-deep: #3F7D4E;
  --si-pop: #E11D48;
  --si-terracotta: #B85C38;

  /* Shared chrome */
  --si-muted: #475569;
  --si-line: #CBD5E1;
  --si-cta: #2563EB;
  --si-header-bg: rgba(241, 245, 249, 0.94);
  --si-radius: 20px;
  --si-header: 4.5rem;
  --si-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --si-serif: "Palatino Linotype", Palatino, "Iowan Old Style", Georgia, serif;
  --si-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  --si-tap: 44px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Surfaces --- */

body.si-theme {
  margin: 0;
  color: var(--si-ink);
  background: var(--si-surface);
  font-family: var(--si-sans);
  font-size: 1.05rem;
  line-height: 1.55;
}

body.si-theme.si-view-hub,
body.si-theme.si-view-stores,
body.si-theme.si-view-cart,
body.si-theme.si-view-neutral {
  --si-ink: #0F172A;
  --si-accent: #2563EB;
  --si-accent-2: #3B82F6;
  --si-surface: #F1F5F9;
  --si-paper: #FFFFFF;
  --si-muted: #475569;
  --si-line: #CBD5E1;
  --si-cta: #2563EB;
  --si-header-bg: rgba(241, 245, 249, 0.94);
  background: #F1F5F9;
  color: #0F172A;
}

body.si-theme.si-brand-softritual {
  --si-ink: #0F172A;
  --si-accent: #c97b84;
  --si-accent-2: #c97b84;
  --si-surface: #FAF7F4;
  --si-paper: #FFFFFF;
  --si-muted: #7A6A66;
  --si-line: #E8DFD8;
  --si-cta: #c97b84;
  --si-header-bg: rgba(250, 247, 244, 0.94);
  background: #FAF7F4;
  color: #0F172A;
}

body.si-theme.si-brand-kitchendepot {
  --si-ink: #0F172A;
  --si-accent: #5C6B4A;
  --si-accent-2: #3F7D4E;
  --si-surface: #F3F5EE;
  --si-paper: #FFFFFF;
  --si-muted: #5A6254;
  --si-line: #D5DCC8;
  --si-cta: #E11D48;
  --si-header-bg: rgba(243, 245, 238, 0.94);
  background: #F3F5EE;
  color: #0F172A;
}

body.si-theme .wp-site-blocks > header,
body.si-theme .wp-site-blocks > footer,
body.si-theme .si-fse-slot {
  display: none;
}

/* --- Header / cart pill --- */

.si-skip {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 100;
  min-height: var(--si-tap);
  padding: 0.65rem 1rem;
  background: #0F172A;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
}

.si-skip:focus {
  top: 0.75rem;
}

.si-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--si-header-bg);
  border-bottom: 1px solid var(--si-line);
  backdrop-filter: blur(12px);
}

.si-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  min-height: var(--si-header);
}

.si-logo {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--si-ink);
  text-decoration: none;
  font-size: 0.92rem;
  min-height: var(--si-tap);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.si-switcher {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.si-switch {
  color: var(--si-ink);
  text-decoration: none;
  font-size: 0.95rem;
  min-height: var(--si-tap);
  display: inline-flex;
  align-items: center;
  padding: 0 0.35rem;
}

.si-switch.is-active {
  font-weight: 700;
}

body.si-view-hub .si-logo,
body.si-view-stores .si-logo,
body.si-view-cart .si-logo {
  color: #2563EB;
}

body.si-brand-softritual .si-switch.is-active {
  color: #c97b84;
}

body.si-brand-kitchendepot .si-switch.is-active {
  color: #3F7D4E;
}

.si-switch-rule {
  color: var(--si-line);
  user-select: none;
}

.si-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: var(--si-tap);
  min-width: var(--si-tap);
  background: #0F172A;
  color: #fff;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
}

.si-cart-icon {
  display: flex;
}

.si-cart-count {
  display: none;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: #3B82F6;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2rem;
  text-align: center;
}

.si-cart-count.is-hot {
  display: inline-block;
}

body.si-brand-softritual .si-cart-count.is-hot {
  background: #c97b84;
}

body.si-brand-kitchendepot .si-cart-count.is-hot {
  background: #E11D48;
}

.si-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--si-tap);
  height: var(--si-tap);
  border: 1px solid var(--si-line);
  border-radius: 999px;
  background: var(--si-paper);
  cursor: pointer;
}

.si-burger-box,
.si-burger-box::before,
.si-burger-box::after {
  display: block;
  width: 1rem;
  height: 1.5px;
  margin: 0 auto;
  background: var(--si-ink);
  content: "";
}

.si-burger-box::before {
  transform: translateY(-5px);
}

.si-burger-box::after {
  transform: translateY(3.5px);
}

.si-main {
  min-height: calc(100vh - 11rem);
}

/* --- Type + buttons --- */

.si-hero h1,
.si-brand-hero h1 {
  font-family: var(--si-serif);
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.85rem;
}

.si-lede,
.si-card p,
.si-shared p {
  color: var(--si-muted);
  margin: 0;
}

.si-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--si-muted);
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.si-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--si-tap);
  margin-top: 1.25rem;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  background: var(--si-cta);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
}

.si-btn-ghost {
  background: transparent;
  color: var(--si-ink);
  border: 1px solid var(--si-line);
}

.si-btn-ink {
  background: #0F172A;
  color: #fff;
}

/* --- Heroes --- */

.si-hero,
.si-hero-stores,
.si-brand-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 2.75rem 1.35rem 2.4rem;
}

.si-hero-visual {
  position: relative;
  width: 7.25rem;
  height: 7.25rem;
  margin: 0 auto 1.35rem;
}

.si-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.si-hero-orb-a {
  width: 4.6rem;
  height: 4.6rem;
  left: -0.35rem;
  top: 0.2rem;
  background: var(--si-accent);
  opacity: 0.42;
}

.si-hero-orb-b {
  width: 3.4rem;
  height: 3.4rem;
  right: -0.15rem;
  bottom: 0.15rem;
  background: var(--si-accent-2);
  opacity: 0.55;
}

.si-hero-mark {
  position: absolute;
  inset: 1.05rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  background: linear-gradient(160deg, var(--si-accent), var(--si-accent-2));
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
  z-index: 1;
}

body.si-view-hub .si-hero-hub,
body.si-view-stores .si-hero-stores {
  color: #fff;
  padding: 3.1rem 1.35rem 3rem;
  background:
    radial-gradient(720px 240px at 12% -10%, rgba(59, 130, 246, 0.55), transparent 58%),
    radial-gradient(640px 220px at 96% 8%, rgba(37, 99, 235, 0.4), transparent 52%),
    linear-gradient(180deg, #0F172A 0%, #1E3A8A 46%, #2563EB 72%, #F1F5F9 100%);
}

body.si-view-hub .si-hero-hub .si-kicker,
body.si-view-hub .si-hero-hub .si-lede,
body.si-view-stores .si-hero-stores .si-kicker,
body.si-view-stores .si-hero-stores .si-lede {
  color: #DBEAFE;
}

body.si-view-hub .si-hero-mark,
body.si-view-stores .si-hero-mark {
  background: linear-gradient(160deg, #60A5FA, #93C5FD);
}

.si-sr-page .si-brand-hero {
  padding: 3rem 1.35rem 2.75rem;
  background:
    radial-gradient(640px 220px at 18% -20%, rgba(201, 123, 132, 0.38), transparent 60%),
    radial-gradient(520px 180px at 92% 0%, rgba(232, 223, 216, 0.9), transparent 55%),
    linear-gradient(180deg, #E8DFD8 0%, #FAF7F4 78%);
}

.si-sr-page .si-hero-orb-a {
  background: #c97b84;
}

.si-sr-page .si-hero-orb-b {
  background: #E8DFD8;
}

.si-sr-page .si-hero-mark {
  background: linear-gradient(160deg, #c97b84, #a85a64);
}

.si-kd-page .si-brand-hero {
  color: #fff;
  padding: 3rem 1.35rem 2.85rem;
  background:
    radial-gradient(620px 210px at 10% -16%, rgba(225, 29, 72, 0.38), transparent 58%),
    radial-gradient(580px 200px at 100% 6%, rgba(63, 125, 78, 0.45), transparent 52%),
    linear-gradient(180deg, #5C6B4A 0%, #3F7D4E 48%, #F3F5EE 100%);
}

.si-kd-page .si-brand-hero .si-kicker,
.si-kd-page .si-brand-hero .si-lede {
  color: #E8F0E4;
}

.si-kd-page .si-hero-orb-a {
  background: #3F7D4E;
}

.si-kd-page .si-hero-orb-b {
  background: #E11D48;
}

.si-kd-page .si-hero-mark {
  background: linear-gradient(160deg, #5C6B4A, #3F7D4E);
}

.si-woo .si-hero {
  padding: 2.4rem 1.35rem 1rem;
}

/* --- Hub cards --- */

.si-grid,
.si-brands {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 960px;
  margin: 1.35rem auto 1.75rem;
  padding: 0 1rem;
}

/* Keep hub tiles side-by-side even on narrow phones */
.si-grid .si-card,
.si-brands .si-logo-card {
  min-width: 0;
  padding: 1.25rem 0.9rem 1.2rem;
}

.si-grid .si-card h2 {
  font-size: clamp(1.05rem, 4vw, 1.5rem);
}

.si-grid .si-card p {
  font-size: 0.88rem;
  max-width: none;
}

.si-grid .si-mark {
  width: 3.4rem;
  height: 3.4rem;
  font-size: 0.85rem;
}

.si-card,
.si-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--si-line);
  border-radius: var(--si-radius);
  padding: 1.85rem 1.45rem 1.7rem;
  text-align: center;
  box-shadow: var(--si-shadow);
}

body.si-view-hub .si-card {
  background: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.1);
}

body.si-view-hub .si-card.si-sr {
  border-top: 5px solid #c97b84;
}

body.si-view-hub .si-card.si-kd {
  border-top: 5px solid #3F7D4E;
}

.si-card p {
  flex: 1 1 auto;
  font-size: 0.98rem;
  max-width: 30ch;
}

.si-card h2 {
  font-family: var(--si-serif);
  margin: 0.35rem 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.si-mark,
.si-logo-mark {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 0.9rem;
}

.si-sr .si-kicker,
.si-sr-page .si-brand-hero .si-kicker {
  color: #c97b84;
}

.si-sr .si-mark,
.si-sr .si-logo-mark {
  background: #FAF7F4;
  color: #c97b84;
  border: 1px solid #E8DFD8;
}

.si-sr .si-btn,
.si-sr-page .si-brand-hero .si-btn:not(.si-btn-ghost) {
  background: #c97b84;
}

.si-kd .si-kicker,
.si-kd-page .si-brand-hero .si-kicker {
  color: #3F7D4E;
}

.si-kd-page .si-brand-hero .si-kicker {
  color: #F4C7C7;
}

.si-kd .si-mark,
.si-kd .si-logo-mark {
  background: #EEF3E8;
  color: #3F7D4E;
  border: 1px solid #D5DCC8;
}

.si-kd .si-btn,
.si-kd-page .si-brand-hero .si-btn:not(.si-btn-ghost) {
  background: #E11D48;
}

.si-hub-note,
.si-foot {
  text-align: center;
  padding: 1.15rem 1.25rem 2.25rem;
  color: var(--si-muted);
  font-size: 0.88rem;
}

.si-hub-note a,
.si-foot a {
  color: var(--si-ink);
  text-decoration: none;
  font-weight: 600;
}

.si-foot {
  border-top: 1px solid var(--si-line);
}

.si-foot-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.si-foot-meta {
  margin: 0.4rem 0 0;
}

/* --- Brand landings --- */

.si-brand-actions {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 0.45rem;
}

.si-brand-actions .si-btn {
  margin-top: 1.1rem;
}

#si-range,
.si-range {
  max-width: 1100px;
  margin: 0 auto 2rem;
  padding: 0.5rem 1.25rem 1rem;
  scroll-margin-top: 7.5rem;
}

.si-range-head {
  text-align: center;
  margin-bottom: 1.35rem;
}

.si-range-head h2 {
  font-family: var(--si-serif);
  font-size: 1.55rem;
  margin: 0;
}

.si-products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.si-product {
  background: #FFFFFF;
  border: 1px solid var(--si-line);
  border-radius: 16px;
  padding: 0.95rem;
  box-shadow: var(--si-shadow);
}

.si-product-media {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  background: var(--si-surface);
}

.si-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.si-product-ph {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--si-surface), var(--si-line));
}

body.si-brand-softritual .si-product-ph {
  background: linear-gradient(180deg, #FAF7F4, #E8DFD8);
}

body.si-brand-kitchendepot .si-product-ph {
  background: linear-gradient(180deg, #EEF3E8, #D5DCC8);
}

body.si-view-hub .si-product-ph,
body.si-view-cart .si-product-ph {
  background: linear-gradient(180deg, #DBEAFE, #CBD5E1);
}

.si-product-title {
  font-size: 1.05rem;
  margin: 0.8rem 0 0.3rem;
  line-height: 1.3;
}

.si-product-title a {
  color: var(--si-ink);
  text-decoration: none;
}

.si-product-price {
  margin: 0;
  color: var(--si-muted);
  font-size: 0.95rem;
}

.si-empty {
  text-align: center;
  background: #FFFFFF;
  border: 1px dashed var(--si-line);
  border-radius: var(--si-radius);
  padding: 2.25rem 1.35rem;
}

.si-empty p {
  margin: 0 0 0.55rem;
  color: var(--si-muted);
}

.si-empty-hint {
  font-size: 0.92rem;
}

/* Shared cart note — same chrome on hub, brands, cart */

.si-shared {
  max-width: 720px;
  margin: 0.5rem auto 2.4rem;
  padding: 1.7rem 1.4rem;
  text-align: center;
  background: #FFFFFF;
  border: 1px solid var(--si-line);
  border-radius: var(--si-radius);
  box-shadow: var(--si-shadow);
}

.si-shared .si-kicker {
  color: #2563EB;
}

body.si-brand-softritual .si-shared .si-kicker {
  color: #c97b84;
}

body.si-brand-kitchendepot .si-shared .si-kicker {
  color: #3F7D4E;
}

.si-shared .si-btn {
  margin-top: 1.1rem;
  background: #0F172A;
}

.si-logo-card {
  min-height: 240px;
  justify-content: center;
  text-decoration: none;
  color: var(--si-ink);
}

.si-logo-card strong {
  font-family: var(--si-serif);
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 0.4rem;
}

.si-logo-card .si-logo-mark {
  width: 5.4rem;
  height: 5.4rem;
  font-size: 1.15rem;
}

.si-woo {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 2rem;
}

body.si-theme.woocommerce-cart,
body.si-theme.woocommerce-checkout,
body.si-theme.woocommerce-page {
  --si-surface: #F1F5F9;
  background: #F1F5F9;
}

@media (min-width: 721px) {
  .si-logo-cart {
    width: 44px;
    height: 44px;
  }
  .si-logo-text {
    font-size: 1.15rem;
  }
  .si-burger {
    display: none;
  }

  .si-switcher {
    display: flex;
  }

  .si-grid,
  .si-brands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
    margin-top: 1.75rem;
  }

  .si-products {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  }

  .si-hero,
  .si-hero-stores,
  .si-brand-hero {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .si-card,
  .si-logo-card {
    padding: 2.15rem 1.8rem 1.9rem;
  }
}

@media (max-width: 720px) {
  /* Logo+name | Lang+Cart | Burger */
  .si-header-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.65rem;
  }

  .si-logo {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    gap: 0.4rem;
    max-width: 100%;
  }

  .si-logo-cart {
    width: 38px !important;
    height: 38px !important;
  }

  .si-logo-text {
    display: inline !important;
    font-size: 0.8rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .si-header-actions {
    grid-column: 2;
    grid-row: 1;
    margin-left: 0 !important;
    gap: 0.3rem;
    align-items: center;
  }

  .si-burger {
    grid-column: 3;
    grid-row: 1;
    width: 38px;
    height: 38px;
    min-height: 38px;
  }

  .si-lang-select {
    min-height: 38px;
    height: 38px;
    padding: 0 0.35rem;
    font-size: 0.72rem;
  }

  .si-header-actions .si-cart,
  .si-cart {
    min-width: 38px;
    min-height: 38px;
    height: 38px;
    padding: 0 0.5rem;
    box-shadow: none;
  }

  .si-cart-text {
    display: none;
  }

  .si-switcher {
    display: none;
  }

  .si-header.is-open .si-switcher {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 2;
    position: static;
    flex-direction: column;
    gap: 0;
    padding: 0.35rem 0 0.25rem;
    width: 100%;
  }

  .si-switch-rule {
    display: none;
  }

  .si-switch {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--si-line);
    width: 100%;
  }
}


@media (hover: hover) {
  .si-card,
  .si-logo-card,
  .si-btn,
  .si-cart {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }

  .si-card:hover,
  .si-logo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
  }

  .si-btn:hover,
  .si-cart:hover {
    transform: translateY(-1px);
  }
}

/* --- Header actions: lang + cart --- */
.si-header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
  flex-shrink: 0;
}

.si-lang-select {
  min-height: var(--si-tap);
  padding: 0 0.55rem;
  border: 1px solid var(--si-line);
  border-radius: 999px;
  background: var(--si-paper);
  color: var(--si-ink);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

/* --- Loud CTAs: Add to cart / Checkout --- */
.si-btn-cta,
body.si-theme .single_add_to_cart_button,
body.si-theme .checkout-button,
body.si-theme a.checkout-button,
body.si-theme .wc-block-cart__submit-button,
body.si-theme .wc-block-components-checkout-place-order-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px !important;
  padding: 0.95rem 1.6rem !important;
  border-radius: 999px !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.35);
  transform: translateZ(0);
  animation: si-cta-pulse 2.4s ease-in-out infinite;
}

body.si-brand-softritual .si-btn-cta,
body.si-brand-softritual .single_add_to_cart_button,
body.si-brand-softritual .checkout-button {
  background: #c97b84 !important;
  border-color: #c97b84 !important;
  box-shadow: 0 10px 28px rgba(201, 123, 132, 0.4);
}

body.si-brand-kitchendepot .si-btn-cta,
body.si-brand-kitchendepot .single_add_to_cart_button,
body.si-brand-kitchendepot .checkout-button {
  background: #E11D48 !important;
  border-color: #E11D48 !important;
  box-shadow: 0 10px 28px rgba(225, 29, 72, 0.4);
}

body.si-theme .si-checkout-cta,
body.si-theme.woocommerce-cart .checkout-button {
  background: #2563EB !important;
  border-color: #2563EB !important;
  color: #fff !important;
  width: 100%;
  max-width: 420px;
  font-size: 1.12rem !important;
}

.si-btn-ico {
  display: inline-flex;
  font-size: 1.15em;
  line-height: 1;
}

@keyframes si-cta-pulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(37, 99, 235, 0.28); }
  50% { box-shadow: 0 14px 36px rgba(37, 99, 235, 0.48); }
}

/* --- Qty +/- --- */
.si-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--si-line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  min-height: var(--si-tap);
}

.si-qty-btn {
  width: var(--si-tap);
  height: var(--si-tap);
  border: 0;
  background: #F1F5F9;
  color: var(--si-ink);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}

.si-qty-btn:hover {
  background: #DBEAFE;
}

.si-qty-input,
.si-qty input.qty {
  width: 3.2rem !important;
  min-height: var(--si-tap);
  border: 0 !important;
  text-align: center;
  font-weight: 700;
  margin: 0 !important;
  box-shadow: none !important;
  appearance: textfield;
  -moz-appearance: textfield;
}

.si-qty input.qty::-webkit-outer-spin-button,
.si-qty input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body.si-theme form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

body.si-theme form.cart .single_add_to_cart_button {
  flex: 1 1 220px;
}

/* Cart+24 brand mark */
.si-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #2563EB;
}
.si-logo-cart {
  display: block;
  width: 40px;
  height: 40px;
}
.si-logo-text {
  font-weight: 800;
  letter-spacing: 0.01em;
  font-size: 1.05rem;
  line-height: 1.1;
  white-space: nowrap;
}
body.si-brand-softritual .si-logo-mark { color: #c97b84; }
body.si-brand-kitchendepot .si-logo-mark { color: #3F7D4E; }
body.si-view-hub .si-logo-mark,
body.si-view-stores .si-logo-mark,
body.si-view-cart .si-logo-mark,
body.si-view-neutral .si-logo-mark { color: #2563EB; }

.si-header-actions .si-cart,
.si-header-actions .si-lang-select,
.si-burger {
  height: 40px;
  min-height: 40px;
}
.si-header-actions .si-cart {
  min-width: 40px;
  padding: 0 0.7rem;
  box-shadow: none;
}


/* ===== Header v1.3.1 — clean layout ===== */
a.si-skip,
.si-skip {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
  min-height: 0 !important;
  min-width: 0 !important;
  top: auto !important;
  left: auto !important;
  animation: none !important;
}
a.si-skip:focus,
a.si-skip:focus-visible,
.si-skip:focus,
.si-skip:focus-visible {
  position: fixed !important;
  top: 0.75rem !important;
  left: 0.75rem !important;
  z-index: 10000 !important;
  width: auto !important;
  height: auto !important;
  clip: auto !important;
  margin: 0 !important;
  padding: 0.65rem 1rem !important;
  overflow: visible !important;
  background: #0F172A !important;
  color: #fff !important;
  border-radius: 999px !important;
  min-height: 44px !important;
}

.si-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #E2E8F0;
  backdrop-filter: blur(10px);
}

.si-header-inner {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.55rem 0.85rem;
  min-height: 112px;
  position: relative;
}

.si-logo {
  display: flex !important;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  text-decoration: none;
  order: 1;
}

.si-logo-img {
  display: block !important;
  height: 96px !important;
  width: auto !important;
  max-width: 300px !important;
  object-fit: contain !important;
}

.si-header-actions {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  margin-left: auto !important;
  flex: 0 0 auto;
  order: 2;
}

.si-lang-select {
  height: 40px;
  min-height: 40px;
  padding: 0 0.45rem;
  border: 1px solid #CBD5E1;
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  font-size: 0.78rem;
}

.si-header .si-cart {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  height: 40px;
  min-height: 40px;
  min-width: 40px;
  padding: 0 0.65rem;
  border-radius: 999px;
  background: #0F172A;
  color: #fff;
  text-decoration: none;
  box-shadow: none !important;
}

.si-header .si-cart-text { display: none !important; }

.si-burger {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #CBD5E1;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.si-header .si-switcher {
  display: none;
  order: 3;
  flex: 1 1 100%;
  width: 100%;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border-top: 1px solid #E2E8F0;
}

.si-header.is-open .si-switcher {
  display: flex !important;
}

.si-header .si-switch {
  padding: 0.85rem 0.25rem;
  border-bottom: 1px solid #E2E8F0;
  text-decoration: none;
  color: #0F172A;
  font-weight: 600;
}

.si-switch-rule { display: none !important; }

@media (min-width: 721px) {
  .si-logo-img {
    height: 112px !important;
    max-width: 340px !important;
  }
  .si-burger {
    display: none !important;
  }
  .si-header .si-switcher {
    display: flex !important;
    order: 2;
    flex: 1 1 auto;
    width: auto;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border-top: 0;
    padding: 0;
  }
  .si-header-actions {
    order: 3;
  }
  .si-header .si-switch {
    padding: 0.35rem 0.15rem;
    border-bottom: 0;
  }
}


/* Circle marks: logo / icons instead of letters */
.si-hero-mark-logo {
  overflow: hidden;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}
.si-hero-mark-logo img,
.si-hero-mark-cart img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  display: block;
  background: transparent;
}
.si-mark-icon,
.si-logo-mark.si-mark-icon {
  font-size: 0 !important;
  letter-spacing: 0 !important;
  color: inherit;
  overflow: hidden;
  padding: 0 !important;
}
.si-mark-icon .si-mark-img,
.si-logo-mark .si-mark-img,
.si-hero-mark .si-mark-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.si-mark-icon .si-mark-svg,
.si-logo-mark .si-mark-svg,
.si-hero-mark .si-mark-svg {
  width: 70%;
  height: 70%;
  display: block;
}
.si-sr .si-mark-icon,
.si-sr .si-logo-mark,
.si-sr-page .si-hero-mark {
  color: #c97b84;
  background: #FAF7F4;
}
.si-kd .si-mark-icon,
.si-kd .si-logo-mark,
.si-kd-page .si-hero-mark {
  color: #3F7D4E;
  background: #EEF3E8;
}
.si-view-hub .si-hero-mark-logo,
.si-view-stores .si-hero-mark-logo {
  width: 6.75rem;
  height: 6.75rem;
  background: transparent !important;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.22);
}

/* Cart/Checkout qty: keep number readable (no black blob / double chrome) */
body.si-theme .wc-block-components-quantity-selector,
body.si-theme .si-qty {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 999px !important;
  overflow: visible !important;
  background: #fff !important;
  min-height: 44px !important;
  box-shadow: none !important;
  outline: none !important;
}
body.si-theme .wc-block-components-quantity-selector input,
body.si-theme .wc-block-components-quantity-selector .wc-block-components-quantity-selector__input,
body.si-theme .si-qty input.qty,
body.si-theme .si-qty-input,
body.si-theme .quantity input.qty {
  width: 3rem !important;
  min-width: 2.5rem !important;
  max-width: 4rem !important;
  height: 44px !important;
  min-height: 44px !important;
  border: 0 !important;
  background: #fff !important;
  color: #0F172A !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  line-height: 44px !important;
  text-align: center !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #0F172A !important;
  box-shadow: none !important;
  outline: none !important;
  appearance: textfield !important;
  -moz-appearance: textfield !important;
  margin: 0 !important;
  padding: 0 0.25rem !important;
}
body.si-theme .wc-block-components-quantity-selector button,
body.si-theme .si-qty-btn {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  border: 0 !important;
  background: #F1F5F9 !important;
  color: #0F172A !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* === v1.4.0 — Selfmade metallic + CI sharpen + trust + PDP === */

:root {
  --si-steel: #2F343A;
  --si-silver: #C0C5CE;
  --si-chrome: #8A9199;
}

body.si-theme.si-view-hub {
  --si-accent: #2563EB;
  --si-accent-2: #3B82F6;
  --si-surface: #EFF6FF;
  --si-header-bg: rgba(239, 246, 255, 0.96);
  background:
    radial-gradient(900px 320px at 8% -8%, rgba(59, 130, 246, 0.22), transparent 55%),
    #EFF6FF;
}

body.si-theme.si-brand-softritual {
  --si-header-bg: rgba(250, 247, 244, 0.97);
  background:
    radial-gradient(800px 280px at 90% -12%, rgba(201, 123, 132, 0.18), transparent 50%),
    #FAF7F4;
}

body.si-theme.si-brand-softritual .si-header {
  border-bottom-color: #E8DFD8;
  box-shadow: 0 1px 0 rgba(201, 123, 132, 0.12);
}

body.si-theme.si-brand-kitchendepot {
  --si-header-bg: rgba(243, 245, 238, 0.97);
  background:
    radial-gradient(800px 280px at 0% -10%, rgba(225, 29, 72, 0.12), transparent 48%),
    #F3F5EE;
}

body.si-theme.si-brand-kitchendepot .si-header {
  border-bottom-color: #D5DCC8;
  box-shadow: 0 1px 0 rgba(63, 125, 78, 0.14);
}

body.si-theme.si-brand-selfmade {
  --si-ink: #1A1D21;
  --si-accent: #8A9199;
  --si-accent-2: #C0C5CE;
  --si-surface: #E8EAED;
  --si-paper: #F7F8F9;
  --si-muted: #5C636A;
  --si-line: #B8BEC6;
  --si-cta: #2F343A;
  --si-header-bg: rgba(239, 246, 255, 0.96);
  background:
    radial-gradient(780px 260px at 85% -8%, rgba(192, 197, 206, 0.45), transparent 52%),
    linear-gradient(180deg, #2F343A 0%, #3A4048 18%, #E8EAED 42%, #E8EAED 100%);
  color: #1A1D21;
}

/* Selfmade header chrome removed — global Apex Blue header (v1.4.3) */

body.si-brand-selfmade .si-cart-count.is-hot {
  background: #C0C5CE;
  color: #2F343A;
}

.si-sm-page .si-brand-hero {
  color: #F7F8F9;
  padding: 3rem 1.35rem 2.85rem;
  background:
    radial-gradient(620px 210px at 12% -16%, rgba(192, 197, 206, 0.35), transparent 58%),
    radial-gradient(580px 200px at 100% 6%, rgba(138, 145, 153, 0.4), transparent 52%),
    linear-gradient(180deg, #2F343A 0%, #3A4048 48%, #E8EAED 100%);
}

.si-sm-page .si-brand-hero .si-kicker,
.si-sm-page .si-brand-hero .si-lede,
.si-sm-page .si-brand-hero .si-trust {
  color: #C0C5CE;
}

.si-sm-page .si-hero-orb-a { background: #8A9199; }
.si-sm-page .si-hero-orb-b { background: #C0C5CE; }
.si-sm-page .si-hero-mark {
  background: linear-gradient(160deg, #2F343A, #8A9199);
}

.si-sm .si-kicker { color: #5C636A; }
.si-sm .si-mark,
.si-sm .si-logo-mark {
  background: linear-gradient(145deg, #2F343A, #5C636A);
  color: #C0C5CE;
  border: 1px solid #8A9199;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 8px 18px rgba(47,52,58,0.25);
}
.si-sm .si-btn,
.si-sm-page .si-brand-hero .si-btn:not(.si-btn-ghost) {
  background: #2F343A;
  color: #F7F8F9;
  border-color: #8A9199;
}
.si-sm-page .si-brand-hero .si-btn-ghost {
  color: #F7F8F9;
  border-color: #C0C5CE;
}

body.si-view-hub .si-card.si-sm {
  border-top: 5px solid #2F343A;
  background: linear-gradient(180deg, #F7F8F9 0%, #FFFFFF 55%);
}

.si-sm .si-mark-icon,
.si-sm .si-logo-mark,
.si-sm-page .si-hero-mark {
  background: linear-gradient(145deg, #2F343A, #5C636A);
}

/* 3-up hub / stores */
.si-grid-3,
.si-brands-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1100px;
}
@media (max-width: 820px) {
  .si-grid-3,
  .si-brands-3 {
    grid-template-columns: 1fr;
  }
}

/* Trust + PayPal */
.si-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin: 0.85rem auto 0;
  max-width: 36rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--si-muted);
}
.si-trust-sep { opacity: 0.55; }
.si-paypal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.75rem 0 0;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--si-line);
  background: var(--si-paper);
  font-size: 0.82rem;
  color: var(--si-muted);
}
.si-paypal-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.5rem;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  background: #003087;
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.si-foot-trust {
  font-weight: 600;
  color: var(--si-ink);
  margin: 0 0 0.55rem;
}

/* Product card benefit */
.si-product-benefit {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: var(--si-muted);
  font-weight: 600;
}

/* PDP extras */
.si-pdp-brand {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--si-accent);
}
.si-pdp-extras {
  margin: 1.25rem 0 0;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: var(--si-paper);
  border: 1px solid var(--si-line);
}
.si-pdp-extras h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
}
.si-howto,
.si-benefits {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--si-muted);
  font-size: 0.92rem;
}
.si-legal-note {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: var(--si-muted);
}

/* Sticky mobile ATC */
.si-sticky-atc {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.96);
  border-top: 1px solid var(--si-line);
  backdrop-filter: blur(10px);
  box-shadow: 0 -8px 24px rgba(15,23,42,0.1);
}
.si-sticky-atc-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: 640px;
  margin: 0 auto;
}
.si-sticky-price { font-weight: 700; color: var(--si-ink); }
.si-sticky-atc-btn {
  margin-top: 0 !important;
  flex: 1 1 auto;
  max-width: 16rem;
}
@media (max-width: 720px) {
  body.single-product .si-sticky-atc { display: block; }
  body.single-product .si-main { padding-bottom: 5.5rem; }
}

/* Hub header blue underline accent */
body.si-view-hub .si-header {
  border-bottom: 2px solid #2563EB;
}
body.si-brand-softritual .si-header {
  border-bottom: 2px solid #c97b84;
}
body.si-brand-kitchendepot .si-header {
  border-bottom: 2px solid #3F7D4E;
}

/* === v1.4.1 — Selfmade WCAG contrast (anthracite hero + light body) === */
body.si-theme.si-brand-selfmade {
  --si-ink: #111111;
  --si-muted: #3A4048;
  --si-accent: #2F343A;
  --si-accent-2: #5C636A;
  --si-surface: #F5F6F7;
  --si-paper: #FFFFFF;
  --si-line: #D1D5DB;
  --si-cta: #1A1D21;
  --si-header-bg: rgba(239, 246, 255, 0.96);
  background:
    radial-gradient(780px 260px at 85% -8%, rgba(47, 52, 58, 0.35), transparent 52%),
    linear-gradient(180deg, #1A1D21 0%, #2F343A 16%, #F5F6F7 38%, #F5F6F7 100%);
  color: #111111;
}

/* Selfmade dark header rules removed — Apex Blue global (v1.4.3) */

body.si-brand-selfmade .si-cart-count.is-hot {
  background: #E8EAED;
  color: #1A1D21;
}

/* Hero / header: dark anthracite + light text */
.si-sm-page .si-brand-hero {
  color: #F3F4F6;
  background:
    radial-gradient(620px 210px at 12% -16%, rgba(232, 234, 237, 0.12), transparent 58%),
    radial-gradient(580px 200px at 100% 6%, rgba(47, 52, 58, 0.55), transparent 52%),
    linear-gradient(180deg, #1A1D21 0%, #2F343A 55%, #F5F6F7 100%);
}

.si-sm-page .si-brand-hero h1 {
  color: #F3F4F6;
}

.si-sm-page .si-brand-hero .si-kicker,
.si-sm-page .si-brand-hero .si-lede,
.si-sm-page .si-brand-hero .si-trust {
  color: #E8EAED;
}

.si-sm-page .si-brand-hero .si-btn:not(.si-btn-ghost) {
  background: #E8EAED;
  color: #1A1D21;
  border-color: #E8EAED;
}

.si-sm-page .si-brand-hero .si-btn-ghost {
  color: #F3F4F6;
  border-color: #E8EAED;
}

/* Body / cards / prices: light panels + dark text — never #0F172A on mid-gray */
body.si-brand-selfmade .si-range,
body.si-brand-selfmade .si-range-head,
body.si-brand-selfmade .si-products,
body.si-brand-selfmade .si-cart-note,
body.si-brand-selfmade .si-main > .woocommerce,
body.si-brand-selfmade .woocommerce-product-gallery,
body.si-brand-selfmade .summary,
body.si-brand-selfmade .si-pdp-extras {
  color: #111111;
}

body.si-brand-selfmade .si-range-head h2,
body.si-brand-selfmade .si-product-title,
body.si-brand-selfmade .si-product-title a,
body.si-brand-selfmade .si-product-price,
body.si-brand-selfmade .si-product-price .amount,
body.si-brand-selfmade .woocommerce-Price-amount,
body.si-brand-selfmade .price,
body.si-brand-selfmade .price .amount,
body.si-brand-selfmade .product_title,
body.si-brand-selfmade .entry-title,
body.si-brand-selfmade .woocommerce-product-details__short-description,
body.si-brand-selfmade .woocommerce-tabs,
body.si-brand-selfmade .sticky-atc,
body.si-brand-selfmade .si-sticky-price {
  color: #111111 !important;
}

body.si-brand-selfmade .si-product {
  background: #FFFFFF;
  border-color: #D1D5DB;
  color: #111111;
}

body.si-brand-selfmade .si-product-benefit,
body.si-brand-selfmade .si-range-head .si-kicker,
body.si-brand-selfmade .si-muted,
body.si-brand-selfmade .si-howto,
body.si-brand-selfmade .si-benefits,
body.si-brand-selfmade .si-legal-note {
  color: #3A4048 !important;
}

body.si-brand-selfmade .si-pdp-brand {
  color: #2F343A !important;
}

body.si-brand-selfmade .si-pdp-extras {
  background: #F5F6F7;
  border-color: #D1D5DB;
}

body.si-brand-selfmade .si-btn:not(.si-btn-ghost),
body.si-brand-selfmade .single_add_to_cart_button,
body.si-brand-selfmade .si-sticky-atc-btn {
  background: #1A1D21 !important;
  color: #F3F4F6 !important;
  border-color: #2F343A !important;
}

/* Metallic chrome only as borders/accents — never as text-on-midgray body */
body.si-brand-selfmade a:not(.si-btn):not(.si-switch):not(.si-logo) {
  color: #1A1D21;
}

body.si-brand-selfmade .si-footer,
body.si-brand-selfmade .si-foot {
  background: #F5F6F7;
  color: #111111;
  border-top: 1px solid #D1D5DB;
}

body.si-brand-selfmade .si-foot a,
body.si-brand-selfmade .si-foot-trust {
  color: #111111;
}

/* v1.4.3 — header ALWAYS Apex Blue (all brands) */
body.si-theme .si-header {
  background: rgba(239, 246, 255, 0.96) !important;
  border-bottom: 2px solid #2563EB !important;
  color: #0f172a !important;
}
body.si-theme .si-header .si-logo,
body.si-theme .si-header .si-switch,
body.si-theme .si-header .si-lang-select,
body.si-theme .si-header .si-cart {
  color: #0f172a !important;
  border-bottom-color: #94a3b8;
}
body.si-theme .si-header .si-switch.is-active {
  color: #2563EB !important;
  border-bottom-color: #2563EB !important;
}
body.si-theme .si-header .si-burger {
  background: #eff6ff !important;
  border-color: #93c5fd !important;
}
body.si-theme .si-header .si-burger-box,
body.si-theme .si-header .si-burger-box::before,
body.si-theme .si-header .si-burger-box::after {
  background: #1e3a8a !important;
}

/* Selfmade: keep Apex header vars; metallic only in hero/content */
body.si-theme.si-brand-selfmade {
  --si-header-bg: rgba(239, 246, 255, 0.96);
}

/* SoftRitual / KitchenDepot accent borders only (do not override Apex bg) */
body.si-theme.si-brand-softritual .si-header {
  border-bottom-color: #c97b84 !important;
}
body.si-theme.si-brand-kitchendepot .si-header {
  border-bottom-color: #3F7D4E !important;
}
