/* Local homepage refresh. Higher specificity also overrides the legacy inline shell.
   Keep editor content and WooCommerce behaviour intact. */
body.home #spinoi-site {
  --sp-cream: #fcfaf5;
  --sp-blue-dark: #192d49;
  --sp-ink: #192d49;
  --sp-muted: #536174;
  --sp-red: #b63e28;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--sp-cream);
}
body.home #spinoi-site .sp-container { width: min(1200px, calc(100% - 64px)); }
body.home #spinoi-site .sp-top-strip { background: #192d49; padding: 9px 0; font-size: 12px; letter-spacing: .025em; }
body.home #spinoi-site .sp-header { background: #fcfaf5; border-bottom: 1px solid #e5e3db; }
body.home #spinoi-site .sp-header-inner { min-height: 88px; }
body.home #spinoi-site .sp-logo { font-size: 25px; letter-spacing: -.06em; }
body.home #spinoi-site .sp-logo-mark { background: #f5be4f; color: #192d49; box-shadow: none; border-radius: 12px; }
body.home #spinoi-site .sp-nav a { font-size: 14px; font-weight: 650; }
body.home #spinoi-site .sp-search { background: #fff; border: 1px solid #d8dcd9; border-radius: 10px; box-shadow: none; min-height: 44px; }
body.home #spinoi-site .sp-btn { border-radius: 9px; min-height: 46px; box-shadow: none; font-weight: 700; padding: 13px 20px; }
body.home #spinoi-site .sp-btn-primary,
body.home #spinoi-site .sp-btn-secondary { background: #244eab; color: #fff; }
body.home #spinoi-site .sp-btn-yellow { background: #f5c45d; color: #192d49; }
body.home #spinoi-site .sp-btn-light { border: 1px solid #d8dcd9; }
body.home #spinoi-site a:focus-visible,
body.home #spinoi-site input:focus-visible { outline: 3px solid #244eab; outline-offset: 4px; }
body.home #spinoi-site .sp-hero { background: #f4f0e6; padding: 60px 0; border-bottom: 1px solid #e5e3db; }
body.home #spinoi-site .sp-hero::before,
body.home #spinoi-site .sp-hero::after { display: none; }
body.home #spinoi-site .sp-hero-grid { gap: 56px; grid-template-columns: 1.08fr 1fr; }
body.home #spinoi-site .sp-eyebrow { background: none; padding: 0; border: 0; box-shadow: none; color: #675334; font-size: 11px; text-transform: uppercase; letter-spacing: .09em; line-height: 1.7; }
body.home #spinoi-site .sp-hero h1 { font-weight: 750; font-size: clamp(38px, 4.3vw, 62px); line-height: 1.06; letter-spacing: -.055em; margin-bottom: 22px; }
body.home #spinoi-site .sp-hero h1 span { color: #244eab; }
body.home #spinoi-site .sp-lead { font-size: 17px; line-height: 1.7; max-width: 490px; }
body.home #spinoi-site .sp-trust-row { display: flex; flex-wrap: wrap; gap: 10px 18px; }
body.home #spinoi-site .sp-trust-pill { padding: 0; background: none; border: 0; box-shadow: none; font-size: 12px; font-weight: 600; }
body.home #spinoi-site .sp-trust-pill::before { content: "\2713"; color: #336d4d; margin-right: 6px; }
body.home #spinoi-site .sp-hero-card { display: flex; flex-direction: column-reverse; padding: 0; background: #e7def3; border: 0; border-radius: 24px; box-shadow: none; overflow: hidden; }
body.home #spinoi-site .sp-grocery-basket { min-height: 355px; padding: 230px 28px 24px; border-radius: 0; color: #192d49; background: url('../images/refresh/bakery.png') no-repeat center 37%; background-size: 100% auto; position: relative; }
body.home #spinoi-site .sp-grocery-basket > div { background: #fcfaf5; border-radius: 12px; padding: 18px; position: relative; box-shadow: 0 8px 20px #192d4910; }
body.home #spinoi-site .sp-basket-title { font-size: 26px; line-height: 1.12; letter-spacing: -.035em; margin: 0; }
body.home #spinoi-site .sp-grocery-basket p { font-size: 13px; line-height: 1.5; color: #536174; margin: 10px 0 0; }
body.home #spinoi-site .sp-basket-icons { display: none; }
body.home #spinoi-site .sp-floating-row { gap: 1px; margin: 0; background: #d9cde6; }
body.home #spinoi-site .sp-floating-product { border-radius: 0; background: #ede5f5; border: 0; padding: 16px 8px; box-shadow: none; font-size: 12px; }
body.home #spinoi-site .sp-floating-product small { font-size: 10px; font-weight: 500; }
body.home #spinoi-site .sp-section { padding: 48px 0; }
body.home #spinoi-site .sp-section-kicker { color: #9b492d; font-size: 11px; letter-spacing: .13em; font-weight: 750; margin-bottom: 10px; }
body.home #spinoi-site .sp-section h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; font-weight: 720; letter-spacing: -.045em; }
body.home #spinoi-site .sp-section-text { font-size: 15px; line-height: 1.6; }
body.home #spinoi-site .sp-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
body.home #spinoi-site .sp-category-card { min-height: 176px; border-radius: 14px; border: 1px solid #192d4910; padding: 12px 10px 16px; gap: 8px; }
body.home #spinoi-site .sp-cat-visual { position: static; height: 112px; width: 100%; }
body.home #spinoi-site .sp-cat-visual img { max-height: 110px; border-radius: 9px; }
body.home #spinoi-site .sp-category-card h3 { font-weight: 650; font-size: 15px; }
body.home #spinoi-site .sp-products-wrap { padding: 0; background: none; border: 0; box-shadow: none; border-radius: 0; }
body.home #spinoi-site .sp-product-tabs { gap: 8px; }
body.home #spinoi-site .sp-tab { border: 1px solid #d8dcd9; border-radius: 8px; box-shadow: none; min-height: 44px; padding: 11px 17px; font-weight: 600; }
body.home #spinoi-site .sp-tab.is-active { background: #192d49; color: #fff; border-color: #192d49; }
body.home #spinoi-site .sp-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
body.home #spinoi-site .sp-product-card { border: 1px solid #e1e3df; border-radius: 14px; padding: 14px; background: #fff; box-shadow: none; display: flex; flex-direction: column; }
body.home #spinoi-site .sp-product-img { aspect-ratio: 1; height: auto; min-height: 0; border-radius: 9px; background-color: #f6f6f2; background-size: contain !important; background-repeat: no-repeat; margin-bottom: 16px; }
body.home #spinoi-site .sp-product-img img { width: 100%; height: 100%; object-fit: contain; }
body.home #spinoi-site .sp-product-card h3 { font-size: 17px; line-height: 1.35; font-weight: 650; letter-spacing: -.015em; }
body.home #spinoi-site .sp-product-card p { line-height: 1.5; font-size: 13px; }
body.home #spinoi-site .sp-price-row { margin-top: auto; gap: 8px; }
body.home #spinoi-site .sp-price { color: #192d49; font-size: 20px; font-weight: 750; }
body.home #spinoi-site .sp-cart-mini { width: 44px; height: 44px; background: #244eab; border-radius: 9px; box-shadow: none; color: white; }
body.home #spinoi-site .sp-mini-btn { min-height: 44px; display: inline-flex; align-items: center; font-size: 12px; }
body.home #spinoi-site .sp-badge { background: #f5c45d; color: #192d49; border-radius: 6px; font-size: 10px; box-shadow: none; }
body.home #spinoi-site .sp-promo { background: #fcfaf5; padding: 24px 0; }
body.home #spinoi-site .sp-promo-card { background: #192d49; border-radius: 18px; padding: 40px; box-shadow: none; border: 0; }
body.home #spinoi-site .sp-promo-card h2 { font-size: clamp(29px, 3.1vw, 42px); line-height: 1.12; font-weight: 700; letter-spacing: -.04em; }
body.home #spinoi-site .sp-promo-card p { color: #e0e5ed; line-height: 1.7; }
body.home #spinoi-site .sp-deal-box { background: #ffffff09; border: 1px solid #ffffff30; border-radius: 12px; }
body.home #spinoi-site .sp-order-flow,
body.home #spinoi-site .sp-love-wrap { box-shadow: none; border: 1px solid #e1e3df; background: #fff; border-radius: 16px; }
body.home #spinoi-site .sp-flow-step { border-radius: 10px; background: #f7f6f1; }
body.home #spinoi-site .sp-flow-step h3 { font-weight: 650; color: #192d49; }
body.home #spinoi-site .sp-step-num { background: #f5c45d; color: #192d49; box-shadow: none; border-radius: 8px; }
body.home #spinoi-site .sp-info-card { box-shadow: none; border-radius: 10px; }
body.home #spinoi-site .sp-info-card h3 { font-weight: 650; line-height: 1.3; }
body.home #spinoi-site .sp-visit { background: #f0eee4; }
body.home #spinoi-site .sp-location-card,
body.home #spinoi-site .sp-map-card { box-shadow: none; border-radius: 16px; }
body.home #spinoi-site .sp-map-placeholder { background: #e3ebdf; border: 1px solid #d2ddcd; border-radius: 12px; }
body.home #spinoi-site .sp-footer { background: #192d49; }
body.home #spinoi-site .sp-footer h3,
body.home #spinoi-site .sp-footer h4 { color: #fff; font-weight: 700; }
body.home #spinoi-site .sp-footer p,
body.home #spinoi-site .sp-footer a { color: #dce2ec; }
@media (max-width: 900px) {
  body.home #spinoi-site .sp-container { width: calc(100% - 40px); }
  body.home #spinoi-site .sp-hero-grid { gap: 28px; }
  body.home #spinoi-site .sp-hero h1 { font-size: 42px; }
  body.home #spinoi-site .sp-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.home #spinoi-site .sp-info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  body.home #spinoi-site .sp-container { width: calc(100% - 32px); }
  body.home #spinoi-site .sp-top-strip-inner { justify-content: center; text-align: center; }
  body.home #spinoi-site .sp-top-strip-inner span:last-child { display: none; }
  body.home #spinoi-site .sp-header-inner { flex-wrap: wrap; gap: 16px; padding: 18px 0; }
  body.home #spinoi-site .sp-nav { display: flex; gap: 18px; }
  body.home #spinoi-site .sp-actions { width: 100%; }
  body.home #spinoi-site .sp-actions form { flex: 1; min-width: 0; }
  body.home #spinoi-site .sp-search { min-width: 0; width: 100%; }
  body.home #spinoi-site .sp-hero { padding: 32px 0; }
  body.home #spinoi-site .sp-hero-grid { grid-template-columns: 1fr; }
  body.home #spinoi-site .sp-hero h1 { font-size: clamp(36px, 9vw, 52px); max-width: 510px; }
  body.home #spinoi-site .sp-lead { font-size: 15px; }
  body.home #spinoi-site .sp-hero-buttons { gap: 8px; }
  body.home #spinoi-site .sp-hero-buttons .sp-btn { font-size: 12px; padding: 12px 14px; }
  body.home #spinoi-site .sp-grocery-basket { min-height: 320px; padding: 200px 20px 20px; background-position: center 35%; }
  body.home #spinoi-site .sp-floating-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.home #spinoi-site .sp-section { padding: 32px 0; }
  body.home #spinoi-site .sp-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  body.home #spinoi-site .sp-section-head { gap: 16px; }
  body.home #spinoi-site .sp-product-grid { gap: 10px; }
  body.home #spinoi-site .sp-product-card { padding: 10px; }
  body.home #spinoi-site .sp-product-card h3 { font-size: 14px; }
  body.home #spinoi-site .sp-price { font-size: 17px; }
  body.home #spinoi-site .sp-price-row { flex-wrap: wrap; }
  body.home #spinoi-site .sp-card-actions { display: flex; gap: 8px; align-items: center; }
  body.home #spinoi-site .sp-promo-card { padding: 24px; }
  body.home #spinoi-site .sp-info-grid { grid-template-columns: 1fr; }
  body.home #spinoi-site .sp-order-flow { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  body.home #spinoi-site * { transition: none !important; scroll-behavior: auto !important; }
  body.home #spinoi-site .sp-btn:hover,
  body.home #spinoi-site .sp-category-card:hover { transform: none; }
}
