
                :root{--sf-brand:#ea580c;--sf-brand-hover:#ee7638;--sf-brand-contrast:#000000;--sf-brand-hover-contrast:#000000;--sf-bg:#060d19;--sf-surface:#0f172a;--sf-text:#f8fafc;--sf-muted:#cbd5e1;--sf-border:#334155;--sf-surface-alt:#0b1222;--sf-brand-soft:#291f26;--sf-focus-ring:#873b1a;--sf-success:#16a34a;--sf-success-contrast:#000000;--sf-success-soft:#10282e;--sf-warning:#d97706;--sf-warning-contrast:#000000;--sf-warning-soft:#272326;--sf-error:#dc2626;--sf-error-contrast:#ffffff;--sf-error-soft:#28192a;--swefood-main-color:var(--sf-brand);--swefood-accent-text-color:var(--sf-brand);--swefood-border-color:var(--sf-border);--swefood-order-button-bg:var(--sf-brand);--swefood-order-button-text:var(--sf-brand-contrast);--swefood-order-button-hover-bg:var(--sf-brand-hover);--swefood-order-button-hover-text:var(--sf-brand-hover-contrast);--swefood-global-button-bg:var(--sf-brand);--swefood-global-button-text:var(--sf-brand-contrast);--swefood-global-button-hover-bg:var(--sf-brand-hover);--swefood-global-button-hover-text:var(--sf-brand-hover-contrast);--swefood-cart-button-bg:var(--sf-surface);--swefood-cart-button-count-bg:var(--sf-brand);--swefood-cart-button-count-text:var(--sf-brand-contrast);--swefood-category-item-odd-bg:var(--sf-surface-alt);--swefood-category-item-even-bg:var(--sf-surface);--swefood-category-item-text:var(--sf-text);--swefood-myaccount-tab-bg:var(--sf-surface);--swefood-myaccount-tab-text:var(--sf-text);--swefood-myaccount-tab-hover-bg:var(--sf-brand-soft);--swefood-myaccount-tab-hover-text:var(--sf-text);--swefood-myaccount-tab-active-bg:var(--sf-brand);--swefood-myaccount-tab-active-text:var(--sf-brand-contrast);--swefood-success-color:var(--sf-success);--swefood-warning-color:var(--sf-warning);--swefood-error-color:var(--sf-error);--swefood-price-color:var(--sf-text);--swefood-sale-badge-bg:var(--sf-error);--swefood-sale-badge-text:var(--sf-error-contrast);--swefood-order-button-icon-url:none;--swefood-order-button-hover-icon-url:none;--swefood-cart-button-icon-url:none;}html.sf-theme-light,body.sf-theme-light,.sf-swefood-theme.sf-theme-light{--sf-brand:#ea580c;--sf-brand-hover:#ee7638;--sf-brand-contrast:#000000;--sf-brand-hover-contrast:#000000;--sf-bg:#f4ede4;--sf-surface:#ffffff;--sf-text:#0f172a;--sf-muted:#64748b;--sf-border:#e5e7eb;--sf-surface-alt:#faf6f2;--sf-brand-soft:#fcebe2;--sf-focus-ring:#f3a379;--sf-success:#16a34a;--sf-success-contrast:#000000;--sf-success-soft:#e3f4e9;--sf-warning:#d97706;--sf-warning-contrast:#000000;--sf-warning-soft:#faefe1;--sf-error:#dc2626;--sf-error-contrast:#ffffff;--sf-error-soft:#fbe5e5;--swefood-main-color:var(--sf-brand);--swefood-accent-text-color:var(--sf-brand);--swefood-border-color:var(--sf-border);--swefood-order-button-bg:var(--sf-brand);--swefood-order-button-text:var(--sf-brand-contrast);--swefood-order-button-hover-bg:var(--sf-brand-hover);--swefood-order-button-hover-text:var(--sf-brand-hover-contrast);--swefood-global-button-bg:var(--sf-brand);--swefood-global-button-text:var(--sf-brand-contrast);--swefood-global-button-hover-bg:var(--sf-brand-hover);--swefood-global-button-hover-text:var(--sf-brand-hover-contrast);--swefood-cart-button-bg:var(--sf-surface);--swefood-cart-button-count-bg:var(--sf-brand);--swefood-cart-button-count-text:var(--sf-brand-contrast);--swefood-category-item-odd-bg:var(--sf-surface-alt);--swefood-category-item-even-bg:var(--sf-surface);--swefood-category-item-text:var(--sf-text);--swefood-myaccount-tab-bg:var(--sf-surface);--swefood-myaccount-tab-text:var(--sf-text);--swefood-myaccount-tab-hover-bg:var(--sf-brand-soft);--swefood-myaccount-tab-hover-text:var(--sf-text);--swefood-myaccount-tab-active-bg:var(--sf-brand);--swefood-myaccount-tab-active-text:var(--sf-brand-contrast);--swefood-success-color:var(--sf-success);--swefood-warning-color:var(--sf-warning);--swefood-error-color:var(--sf-error);--swefood-price-color:var(--sf-text);--swefood-sale-badge-bg:var(--sf-error);--swefood-sale-badge-text:var(--sf-error-contrast);--swefood-order-button-icon-url:none;--swefood-order-button-hover-icon-url:none;--swefood-cart-button-icon-url:none;}html.sf-theme-dark,body.sf-theme-dark,.sf-swefood-theme.sf-theme-dark{--sf-brand:#ea580c;--sf-brand-hover:#ee7638;--sf-brand-contrast:#000000;--sf-brand-hover-contrast:#000000;--sf-bg:#060d19;--sf-surface:#0f172a;--sf-text:#f8fafc;--sf-muted:#cbd5e1;--sf-border:#334155;--sf-surface-alt:#0b1222;--sf-brand-soft:#291f26;--sf-focus-ring:#873b1a;--sf-success:#16a34a;--sf-success-contrast:#000000;--sf-success-soft:#10282e;--sf-warning:#d97706;--sf-warning-contrast:#000000;--sf-warning-soft:#272326;--sf-error:#dc2626;--sf-error-contrast:#ffffff;--sf-error-soft:#28192a;--swefood-main-color:var(--sf-brand);--swefood-accent-text-color:var(--sf-brand);--swefood-border-color:var(--sf-border);--swefood-order-button-bg:var(--sf-brand);--swefood-order-button-text:var(--sf-brand-contrast);--swefood-order-button-hover-bg:var(--sf-brand-hover);--swefood-order-button-hover-text:var(--sf-brand-hover-contrast);--swefood-global-button-bg:var(--sf-brand);--swefood-global-button-text:var(--sf-brand-contrast);--swefood-global-button-hover-bg:var(--sf-brand-hover);--swefood-global-button-hover-text:var(--sf-brand-hover-contrast);--swefood-cart-button-bg:var(--sf-surface);--swefood-cart-button-count-bg:var(--sf-brand);--swefood-cart-button-count-text:var(--sf-brand-contrast);--swefood-category-item-odd-bg:var(--sf-surface-alt);--swefood-category-item-even-bg:var(--sf-surface);--swefood-category-item-text:var(--sf-text);--swefood-myaccount-tab-bg:var(--sf-surface);--swefood-myaccount-tab-text:var(--sf-text);--swefood-myaccount-tab-hover-bg:var(--sf-brand-soft);--swefood-myaccount-tab-hover-text:var(--sf-text);--swefood-myaccount-tab-active-bg:var(--sf-brand);--swefood-myaccount-tab-active-text:var(--sf-brand-contrast);--swefood-success-color:var(--sf-success);--swefood-warning-color:var(--sf-warning);--swefood-error-color:var(--sf-error);--swefood-price-color:var(--sf-text);--swefood-sale-badge-bg:var(--sf-error);--swefood-sale-badge-text:var(--sf-error-contrast);--swefood-order-button-icon-url:none;--swefood-order-button-hover-icon-url:none;--swefood-cart-button-icon-url:none;}                html.sf-theme-dark{background:#060d19;color-scheme:dark}
                html.sf-theme-light{background:#f4ede4;color-scheme:light}
                html.sf-theme-booting *,html.sf-theme-booting *::before,html.sf-theme-booting *::after{transition:none!important}
            
/* Native Swefood: public.css */
/* Public base styles (keep this file for general public-facing CSS).
   NOTE: Shortcode-specific layout lives in assets/css/swefood-menu.css to avoid conflicts. */

.sf-loyalty-box__claim{display:inline-flex!important;align-items:center;justify-content:center;margin-top:12px;border:0!important;border-radius:12px!important;padding:11px 16px!important;background:var(--sf-brand)!important;color:var(--sf-brand-contrast);font-weight:800!important;text-decoration:none!important}
.sf-loyalty-progress__meta{display:grid;gap:5px}.sf-loyalty-progress__meta span{opacity:.82}
.swefood-loyalty-redemption{margin:0 0 18px;padding:18px;border:1px solid color-mix(in srgb, var(--sf-border) 30%, transparent);border-radius:16px;background:color-mix(in srgb, var(--sf-surface) 4%, transparent);}
.swefood-loyalty-redemption label{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.swefood-loyalty-redemption input{max-width:140px}
.sf-loyalty-box .sf-credit-control{margin:14px 0 0;padding:14px 0 0;border:0;border-top:1px solid color-mix(in srgb, var(--sf-border) 30%, transparent);border-radius:0;background:none}.sf-credit-control p{margin:0 0 6px}.sf-credit-control__applied{font-weight:800;color:var(--sf-brand)}.sf-credit-control__payable{margin-top:8px!important}.sf-credit-control__button{width:100%;min-height:44px}.sf-credit-control__remove{display:inline-flex!important;align-items:center;justify-content:center;margin-top:10px;border:1px solid color-mix(in srgb, var(--sf-border) 45%, transparent)!important;border-radius:12px!important;padding:10px 16px!important;background:transparent!important;color:inherit!important;font-weight:700!important}.sf-credit-control.is-updating{opacity:.6;pointer-events:none}

html.sf-theme-dark,
body.swefood-frontend.sf-theme-dark{
  background:var(--sf-bg);
}

html.sf-theme-light,
body.swefood-frontend.sf-theme-light{
  background:var(--sf-bg);
}

html.sf-theme-dark,
html.sf-theme-light,
body.swefood-frontend{
  width:100%;
  max-width:100%;
  min-width:0;
  min-height:100vh;
  min-height:100svh;
  min-height:100dvh;
  margin:0;
  overflow-x:hidden;
  overflow-x:clip;
}

/* Keep the mobile document contained when a Safari form field gains focus. */
@media (max-width:767px){
  html.sf-theme-dark,
  html.sf-theme-light,
  body.swefood-frontend{
    overflow-x:hidden;
  }
}

.sf-frontend-shell{
  width:100%;
  max-width:100%;
  min-width:0;
  min-height:100vh;
  min-height:100svh;
  min-height:100dvh;
  background:var(--sf-bg);
}

.sf-frontend-shell,
.sf-frontend-shell *,
.sf-frontend-shell *::before,
.sf-frontend-shell *::after{
  box-sizing:border-box;
}

.sf-frontend-shell > main{
  width:100%;
  max-width:100%;
  min-width:0;
}

/* Customer canvas; staff portals retain their own layout and palette. */
body.swefood-frontend:not(.swefood-frontend--branch-manager):not(.swefood-frontend--kitchen-manager):not(.swefood-frontend--delivery-manager){
  color:var(--sf-text);
  font-family:"Inter", "Segoe UI", sans-serif;
}
body.swefood-frontend:not(.swefood-frontend--branch-manager):not(.swefood-frontend--kitchen-manager):not(.swefood-frontend--delivery-manager) > .sf-frontend-shell{
  --sf-page-gutter:clamp(18px, 3vw, 34px);
  display:flex;
  flex-direction:column;
  background:radial-gradient(circle at top left, color-mix(in srgb, var(--sf-brand) 12%, transparent), transparent 28%),
    radial-gradient(circle at top right, color-mix(in srgb, var(--sf-bg) 68%, transparent), transparent 26%),
    var(--sf-bg);
}
body.swefood-frontend:not(.swefood-frontend--branch-manager):not(.swefood-frontend--kitchen-manager):not(.swefood-frontend--delivery-manager) > .sf-frontend-shell > main{
  flex:1 0 auto;
}

.sf-frontend-shell img,
.sf-frontend-shell video,
.sf-frontend-shell canvas,
.sf-frontend-shell iframe{
  max-width:100%;
}

.sf-frontend-header{
  position:relative;
  z-index:80;
  width:100%;
  max-width:100%;
  min-width:0;
  color:var(--sf-frontend-header-text, var(--sf-text));
  background:linear-gradient(180deg, color-mix(in srgb, var(--sf-surface) 3%, transparent), var(--sf-surface)),
    var(--sf-frontend-header-bg, var(--sf-surface));
  border-bottom:1px solid color-mix(in srgb, var(--sf-border) 12%, transparent);
  box-shadow:0 16px 42px rgba(0,0,0,.18);
  backdrop-filter:blur(18px);
}

.sf-frontend-header__inner{
  width:min(1480px, calc(100% - 36px));
  max-width:100%;
  min-width:0;
  min-height:var(--sf-frontend-header-height, 88px);
  margin:0 auto;
  padding:14px 0;
  display:flex;
  align-items:center;
  position:relative;
}

.sf-frontend-header.is-left .sf-frontend-header__inner{
  justify-content:flex-start;
}

.sf-frontend-header.is-centered .sf-frontend-header__inner{
  justify-content:center;
}

.sf-frontend-header__brand{
  display:inline-flex;
  align-items:center;
  gap:14px;
  max-width:100%;
  min-height:56px;
  padding:10px 16px;
  border-radius:22px;
  border:1px solid color-mix(in srgb, var(--sf-border) 14%, transparent);
  background:color-mix(in srgb, var(--sf-surface) 28%, transparent);
  color:var(--sf-frontend-header-text, var(--sf-text));
  text-decoration:none;
  box-shadow:0 14px 30px rgba(0,0,0,.12);
  transition:transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.sf-frontend-header.has-actions .sf-frontend-header__brand{
  max-width:calc(100% - 124px);
}

.sf-frontend-header.has-theme-action .sf-frontend-header__brand{
  max-width:calc(100% - 186px);
}

.sf-frontend-header__brand:hover,
.sf-frontend-header__brand:focus-visible{
  transform:translateY(-1px);
  border-color:color-mix(in srgb, var(--sf-focus-ring) 28%, transparent);
  background:color-mix(in srgb, var(--sf-surface) 44%, transparent);
  box-shadow:0 18px 36px rgba(0,0,0,.2);
  outline:none;
}

.sf-frontend-header__brand-image{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  min-width:44px;
}

.sf-frontend-header__brand-image img{
  display:block;
  width:auto;
  max-width:min(220px, 42vw);
  height:clamp(34px, calc(var(--sf-frontend-header-height, 88px) - 34px), 64px);
  object-fit:contain;
}

.sf-frontend-header__brand-text{
  display:block;
  max-width:min(52vw, 720px);
  color:inherit;
  font-size:clamp(1.1rem, 1.35vw, 1.45rem);
  font-weight:800;
  line-height:1.05;
  letter-spacing:-.03em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.sf-frontend-header__brand.has-image .sf-frontend-header__brand-text{
  opacity:.96;
}

.sf-frontend-header__brand.has-text .sf-frontend-header__brand-text,
.sf-frontend-header__brand.has-image-error .sf-frontend-header__brand-text{
  font-size:clamp(1.16rem, 1.5vw, 1.56rem);
}

.sf-frontend-header__actions{
  position:absolute;
  top:50%;
  right:0;
  display:flex;
  align-items:center;
  gap:10px;
  transform:translateY(-50%);
}

.sf-language-switcher{
  display:inline-flex;
  align-items:center;
  gap:3px;
  min-height:46px;
  padding:4px;
  border:1px solid color-mix(in srgb, var(--sf-border) 16%, transparent);
  border-radius:16px;
  background:color-mix(in srgb, var(--sf-surface) 28%, transparent);
  box-shadow:0 14px 30px rgba(0,0,0,.12);
}

.sf-language-switcher__option{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  min-height:36px;
  padding:0 9px;
  border-radius:12px;
  color:inherit;
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.05em;
  line-height:1;
  text-decoration:none;
  transition:background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.sf-language-switcher__option:hover,
.sf-language-switcher__option:focus-visible{
  color:inherit;
  background:color-mix(in srgb, var(--sf-surface) 8%, transparent);
  outline:2px solid color-mix(in srgb, var(--sf-brand) 62%, transparent);
  outline-offset:1px;
}

.sf-language-switcher__option.is-active{
  color:var(--sf-brand-contrast);
  background:var(--sf-brand);
  box-shadow:0 7px 16px color-mix(in srgb, var(--sf-brand) 28%, transparent);
}

body.sf-theme-light .sf-language-switcher{
  background:color-mix(in srgb, var(--sf-surface) 72%, transparent);
  border-color:color-mix(in srgb, var(--sf-border) 13%, transparent);
  box-shadow:0 12px 26px rgba(15,23,42,.08);
}

body.sf-theme-light .sf-language-switcher__option:not(.is-active):hover,
body.sf-theme-light .sf-language-switcher__option:not(.is-active):focus-visible{
  background:color-mix(in srgb, var(--sf-brand-soft) 7%, transparent);
}

.sf-frontend-header__action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:52px;
  height:52px;
  padding:0;
  border:1px solid color-mix(in srgb, var(--sf-border) 16%, transparent);
  border-radius:18px;
  background:color-mix(in srgb, var(--sf-surface) 28%, transparent);
  color:var(--sf-frontend-header-text, var(--sf-text));
  box-shadow:0 14px 30px rgba(0,0,0,.12);
  cursor:pointer;
  transition:transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s ease;
}

.sf-frontend-header__action:hover,
.sf-frontend-header__action:focus-visible{
  transform:translateY(-1px);
  border-color:color-mix(in srgb, var(--sf-focus-ring) 28%, transparent);
  background:color-mix(in srgb, var(--sf-surface) 44%, transparent);
  box-shadow:0 18px 36px rgba(0,0,0,.2);
  outline:none;
}

.sf-frontend-header__action .sf-theme-toggle__dark,
.sf-frontend-header__action .sf-theme-toggle__light{
  font-size:1.14rem;
  line-height:1;
}

body.sf-theme-dark .sf-theme-toggle__dark,
body.sf-theme-light .sf-theme-toggle__light{
  display:inline;
}

body.sf-theme-dark .sf-theme-toggle__light,
body.sf-theme-light .sf-theme-toggle__dark{
  display:none;
}

.sf-location-modal{
  --sf-location-admin-bar-height:0px;
  --sf-location-surface:var(--sf-surface);
  --sf-location-surface-soft:var(--sf-surface-alt);
  --sf-location-text:var(--sf-text);
  --sf-location-muted:var(--sf-muted);
  --sf-location-border:var(--sf-border);
  position:fixed;
  z-index:99998;
  inset:var(--sf-location-admin-bar-height) 0 0;
  display:grid;
  place-items:center;
  box-sizing:border-box;
  width:auto;
  height:auto;
  padding:max(18px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(18px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  color:var(--sf-location-text);
  font-family:inherit;
  font-size:16px;
  line-height:1.5;
  isolation:isolate;
}

.sf-location-modal[hidden]{
  display:none !important;
}

.sf-location-modal,
.sf-location-modal *,
.sf-location-modal *::before,
.sf-location-modal *::after{
  box-sizing:border-box;
}

.sf-location-modal__backdrop{
  position:absolute;
  z-index:-1;
  inset:0;
  background:color-mix(in srgb, var(--sf-surface) 76%, transparent);
  backdrop-filter:blur(10px) saturate(115%);
  -webkit-backdrop-filter:blur(10px) saturate(115%);
}

.sf-location-modal__dialog{
  position:relative;
  width:min(100%, 610px);
  max-height:calc(100vh - var(--sf-location-admin-bar-height) - 36px);
  max-height:calc(100dvh - var(--sf-location-admin-bar-height) - 36px);
  padding:clamp(24px, 5vw, 42px);
  overflow:auto;
  overscroll-behavior:contain;
  border:1px solid var(--sf-location-border);
  border-radius:clamp(22px, 4vw, 32px);
  background:radial-gradient(circle at top right, color-mix(in srgb, var(--sf-brand) 13%, transparent), transparent 36%),
    linear-gradient(145deg, color-mix(in srgb, var(--sf-surface) 3.5%, transparent), transparent 46%),
    var(--sf-location-surface);
  box-shadow:0 34px 90px rgba(2,6,23,.55), inset 0 1px 0 rgba(255,255,255,.055);
}

.sf-location-modal__close{
  position:absolute;
  top:14px;
  right:14px;
  display:grid;
  width:44px;
  height:44px;
  padding:0;
  place-items:center;
  border:1px solid var(--sf-location-border);
  border-radius:999px;
  color:var(--sf-location-text);
  background:color-mix(in srgb, var(--sf-surface) 5.5%, transparent);
  box-shadow:none;
  font:inherit;
  font-size:1.6rem;
  font-weight:400;
  line-height:1;
  cursor:pointer;
}

.sf-location-modal__eyebrow{
  margin:0 54px 12px 0;
  color:var(--sf-brand);
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.09em;
  line-height:1.2;
  text-transform:uppercase;
}

.sf-location-modal__title{
  margin:0;
  color:var(--sf-location-text);
  font:inherit;
  font-size:clamp(1.75rem, 5vw, 2.45rem);
  font-weight:820;
  line-height:1.08;
  letter-spacing:-.035em;
}

.sf-location-modal__description{
  max-width:52ch;
  margin:14px 0 24px;
  color:var(--sf-location-muted);
  font:inherit;
  line-height:1.65;
}

.sf-location-modal__field{
  display:grid;
  gap:8px;
  width:100%;
  margin:0;
  color:var(--sf-location-text);
  font:inherit;
  font-weight:750;
}

.sf-location-modal__field small{
  display:block;
  color:var(--sf-location-muted);
  font-size:.86rem;
  font-weight:450;
  line-height:1.5;
}

.sf-location-modal__input{
  display:block;
  width:100%;
  min-width:0;
  min-height:52px;
  margin:0;
  padding:13px 15px;
  border:1px solid var(--sf-location-border);
  border-radius:14px;
  color:var(--sf-location-text);
  background:var(--sf-location-surface-soft);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
  font:inherit;
  font-weight:500;
  line-height:1.3;
  outline:none;
}

.sf-location-modal__input::placeholder{
  color:color-mix(in srgb, var(--sf-location-muted) 78%, transparent);
}

.sf-location-modal__input:focus{
  border-color:color-mix(in srgb, var(--sf-brand) 72%, var(--sf-focus-ring) 28%);
  box-shadow:0 0 0 4px color-mix(in srgb, var(--sf-brand) 18%, transparent);
}

.sf-location-modal__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}

.sf-location-modal__submit,
.sf-location-modal__secondary{
  display:inline-flex;
  min-height:50px;
  margin:0;
  padding:12px 22px;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:14px;
  color:var(--sf-brand-contrast);
  background:var(--sf-brand);
  box-shadow:0 14px 30px color-mix(in srgb, var(--sf-brand) 28%, transparent);
  font:inherit;
  font-weight:800;
  line-height:1.2;
  cursor:pointer;
}

.sf-location-modal__secondary{
  border:1px solid var(--sf-location-border);
  color:var(--sf-location-text);
  background:var(--sf-location-surface-soft);
  box-shadow:none;
}

.sf-location-modal__secondary[hidden]{
  display:none;
}

.sf-location-modal__close:hover,
.sf-location-modal__close:focus-visible,
.sf-location-modal__submit:hover,
.sf-location-modal__submit:focus-visible,
.sf-location-modal__secondary:hover,
.sf-location-modal__secondary:focus-visible{
  outline:3px solid color-mix(in srgb, var(--sf-brand) 58%, transparent);
  outline-offset:3px;
}

.sf-location-modal__submit:disabled{
  cursor:wait;
  opacity:.65;
}

.sf-location-modal__status{
  min-height:1.5em;
  margin-top:15px;
  color:var(--sf-location-muted);
  font-size:.9rem;
  font-weight:650;
}

.sf-location-modal__status.is-success{color:var(--sf-success);}
.sf-location-modal__status.is-error{color:var(--sf-error);}
.sf-location-modal__status.is-warning{color:var(--sf-warning);}
.sf-location-modal__status.is-info{color:var(--sf-text);}

body.sf-location-modal-open{
  overflow:hidden;
}

body.sf-theme-light .sf-location-modal{
  --sf-location-surface:var(--sf-surface);
  --sf-location-surface-soft:var(--sf-surface-alt);
  --sf-location-text:var(--sf-text);
  --sf-location-muted:var(--sf-muted);
  --sf-location-border:var(--sf-border);
}

body.sf-theme-light .sf-location-modal__backdrop{
  background:color-mix(in srgb, var(--sf-surface) 50%, transparent);
}

body.sf-theme-light .sf-location-modal__dialog{
  box-shadow:0 34px 90px rgba(67,48,33,.28), inset 0 1px 0 rgba(255,255,255,.9);
}

body.sf-theme-light .sf-location-modal__status.is-success{color:var(--sf-success);}
body.sf-theme-light .sf-location-modal__status.is-error{color:var(--sf-error);}
body.sf-theme-light .sf-location-modal__status.is-warning{color:var(--sf-warning);}
body.sf-theme-light .sf-location-modal__status.is-info{color:var(--sf-brand);}

@media (max-width:560px){
  .sf-location-modal{
    align-items:center;
    padding:max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  }

  .sf-location-modal__dialog{
    max-height:calc(100vh - var(--sf-location-admin-bar-height) - 24px);
    max-height:calc(100dvh - var(--sf-location-admin-bar-height) - 24px);
    padding:24px 18px 20px;
    border-radius:22px;
  }

  .sf-location-modal__close{
    top:10px;
    right:10px;
  }

  .sf-location-modal__eyebrow{
    margin-right:50px;
  }

  .sf-location-modal__description{
    margin-bottom:20px;
    font-size:.94rem;
  }

  .sf-location-modal__submit,
  .sf-location-modal__secondary{
    width:100%;
  }
}

.sf-frontend-footer{
  --sf-footer-surface:var(--sf-surface);
  --sf-footer-surface-raised:var(--sf-surface);
  --sf-footer-copy:var(--sf-muted);
  --sf-footer-heading:var(--sf-text);
  --sf-footer-border:var(--sf-border);
  --sf-footer-accent:var(--sf-brand);
  margin-top:auto;
  color:var(--sf-footer-copy);
  background:radial-gradient(circle at 80% 22%, color-mix(in srgb, var(--sf-footer-accent) 9%, transparent), transparent 34%),
    linear-gradient(180deg, color-mix(in srgb, var(--sf-surface) 3.5%, transparent), var(--sf-surface) 44%),
    var(--sf-footer-surface);
  border-top:1px solid var(--sf-footer-border);
  box-shadow:0 -24px 70px rgba(0,0,0,.12);
}

body.sf-theme-light .sf-frontend-footer{
  --sf-footer-surface:var(--sf-surface);
  --sf-footer-surface-raised:var(--sf-surface);
  --sf-footer-copy:var(--sf-muted);
  --sf-footer-heading:var(--sf-text);
  --sf-footer-border:var(--sf-border);
  background:radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--sf-footer-accent) 10%, transparent), transparent 36%),
    linear-gradient(180deg, color-mix(in srgb, var(--sf-surface) 64%, transparent), color-mix(in srgb, var(--sf-surface) 18%, transparent)),
    var(--sf-footer-surface);
  box-shadow:0 -18px 55px rgba(15,23,42,.07);
}

.sf-frontend-footer__inner{
  width:min(1480px, calc(100% - 36px));
  max-width:100%;
  min-width:0;
  margin:0 auto;
  padding:clamp(48px, 5vw, 78px) 0 max(24px, var(--sf-frontend-footer-padding, 28px));
}

body.sf-has-app-nav-bottom .sf-frontend-footer__inner{
  padding-bottom:calc(max(24px, var(--sf-frontend-footer-padding, 28px)) + var(--sf-app-nav-height, 110px) + 16px + env(safe-area-inset-bottom, 0px));
}

.sf-frontend-footer a{
  color:inherit;
  text-decoration:none;
}

.sf-frontend-footer a:focus-visible{
  border-radius:8px;
  outline:3px solid color-mix(in srgb, var(--sf-footer-accent) 42%, transparent);
  outline-offset:4px;
}

.sf-frontend-footer__main{
  display:grid;
  grid-template-columns:minmax(190px, 1.2fr) minmax(210px, 1.15fr) minmax(210px, 1fr) minmax(150px, .8fr) minmax(230px, 1.15fr);
  gap:clamp(28px, 3vw, 52px);
  align-items:start;
}

.sf-frontend-footer__main.is-compact{
  grid-template-columns:minmax(0, 1fr);
}

.sf-footer-brand__identity{
  display:inline-flex;
  align-items:center;
  min-height:48px;
  max-width:100%;
  color:var(--sf-footer-heading) !important;
  font-size:clamp(1.45rem, 2vw, 2rem);
  font-weight:850;
  line-height:1;
  letter-spacing:-.04em;
}

.sf-footer-brand__identity img{
  display:block;
  width:auto;
  max-width:min(230px, 100%);
  max-height:64px;
  object-fit:contain;
}

.sf-footer-brand__tagline{
  max-width:30ch;
  margin:22px 0 0;
  color:var(--sf-footer-copy);
  font-size:.96rem;
  line-height:1.75;
}

.sf-footer-social{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:24px;
}

.sf-footer-social a{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:8px 13px;
  border:1px solid var(--sf-footer-border);
  border-radius:13px;
  background:var(--sf-footer-surface-raised);
  color:var(--sf-footer-heading);
  font-size:.82rem;
  font-weight:750;
  transition:border-color .18s ease, color .18s ease, transform .18s ease;
}

.sf-footer-social a:hover{
  transform:translateY(-1px);
  border-color:color-mix(in srgb, var(--sf-footer-accent) 55%, transparent);
  color:var(--sf-footer-accent);
}

.sf-footer-section h2{
  margin:4px 0 22px;
  color:var(--sf-footer-heading);
  font-size:1.04rem;
  font-weight:800;
  line-height:1.25;
  letter-spacing:-.02em;
}

.sf-footer-contact ul,
.sf-footer-links ul,
.sf-footer-payments{
  margin:0;
  padding:0;
  list-style:none;
}

.sf-footer-contact li{
  display:grid;
  grid-template-columns:26px minmax(0, 1fr);
  gap:12px;
  align-items:start;
  min-height:44px;
  padding:12px 0;
  border-bottom:1px solid var(--sf-footer-border);
}

.sf-footer-contact li:first-child{
  padding-top:0;
}

.sf-footer-contact li:last-child{
  border-bottom:0;
}

.sf-footer-contact li > a,
.sf-footer-contact li > span:not(.sf-footer-icon){
  min-width:0;
  overflow-wrap:anywhere;
  color:var(--sf-footer-heading);
  line-height:1.55;
}

.sf-footer-contact li > a > span,
.sf-footer-contact li > span:not(.sf-footer-icon) > span{
  display:block;
}

.sf-footer-contact li > a:hover{
  color:var(--sf-footer-accent);
}

.sf-footer-icon,
.sf-footer-service__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--sf-footer-accent);
}

.sf-footer-icon svg{
  width:22px;
  height:22px;
}

.sf-footer-hours dl{
  margin:0;
}

.sf-footer-hours dl > div{
  display:grid;
  grid-template-columns:minmax(74px, 1fr) auto;
  gap:14px;
  padding:8px 0;
  border-bottom:1px solid var(--sf-footer-border);
  font-size:.9rem;
}

.sf-footer-hours dt,
.sf-footer-hours dd{
  margin:0;
}

.sf-footer-hours dd{
  color:var(--sf-footer-heading);
  font-variant-numeric:tabular-nums;
  text-align:right;
  white-space:nowrap;
}

.sf-footer-links li + li{
  margin-top:3px;
}

.sf-footer-links a{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  color:var(--sf-footer-heading);
  font-weight:650;
  transition:color .18s ease, transform .18s ease;
}

.sf-footer-links a span{
  color:var(--sf-footer-accent);
  font-size:1.55rem;
  font-weight:400;
  line-height:1;
}

.sf-footer-links a:hover{
  color:var(--sf-footer-accent);
  transform:translateX(2px);
}

.sf-footer-services__list{
  display:grid;
  gap:10px;
}

.sf-footer-service{
  display:grid;
  grid-template-columns:38px minmax(0, 1fr) 18px;
  gap:12px;
  align-items:center;
  min-height:76px;
  padding:13px 14px;
  border:1px solid var(--sf-footer-border);
  border-radius:15px;
  background:var(--sf-footer-surface-raised);
  color:var(--sf-footer-heading) !important;
  transition:border-color .18s ease, background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

a.sf-footer-service:hover{
  transform:translateY(-1px);
  border-color:color-mix(in srgb, var(--sf-footer-accent) 65%, transparent);
  box-shadow:0 12px 28px color-mix(in srgb, var(--sf-footer-accent) 10%, transparent);
}

.sf-footer-service__icon svg{
  width:27px;
  height:27px;
}

.sf-footer-service__copy{
  display:grid;
  gap:4px;
}

.sf-footer-service__copy strong{
  font-size:.92rem;
  line-height:1.2;
}

.sf-footer-service__copy small{
  color:var(--sf-footer-copy);
  font-size:.76rem;
  line-height:1.35;
}

.sf-footer-service__arrow{
  color:var(--sf-footer-copy);
}

.sf-footer-service__arrow svg{
  width:18px;
  height:18px;
}

.sf-frontend-footer__bottom{
  display:grid;
  grid-template-columns:minmax(220px, 1fr) auto minmax(220px, 1fr);
  gap:24px;
  align-items:center;
  margin-top:clamp(38px, 4.5vw, 64px);
  padding-top:26px;
  border-top:1px solid var(--sf-footer-border);
}

.sf-footer-copyright p{
  margin:0;
  color:inherit;
  font-size:.88rem;
  line-height:1.55;
}

.sf-footer-copyright{
  grid-column:1 / -1;
  text-align:center;
}

.sf-footer-legal{
  display:flex;
  grid-column:2;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px 0;
}

.sf-footer-legal a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:6px 15px;
  color:var(--sf-footer-copy);
  font-size:.84rem;
}

.sf-footer-legal a + a{
  border-left:1px solid var(--sf-footer-border);
}

.sf-footer-legal a:hover{
  color:var(--sf-footer-accent);
}

.sf-footer-payments{
  display:flex;
  grid-column:3;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}

.sf-footer-payments li{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  max-width:180px;
  padding:8px 13px;
  overflow:hidden;
  border:1px solid var(--sf-footer-border);
  border-radius:11px;
  background:var(--sf-footer-surface-raised);
  color:var(--sf-footer-heading);
  font-size:.75rem;
  font-weight:800;
  line-height:1.2;
  text-align:center;
  text-overflow:ellipsis;
}

@media (max-width: 1320px){
  .sf-frontend-footer__main{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }

  .sf-footer-services{
    grid-column:span 2;
  }

  .sf-footer-services__list{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px){
  .sf-frontend-header{
    --sf-mobile-header-row:60px;
    position:relative;
    isolation:isolate;
    background:transparent;
    border-bottom:0;
    box-shadow:none;
    backdrop-filter:none;
  }

  .sf-frontend-header::before{
    content:"";
    position:absolute;
    z-index:0;
    inset:0 0 auto;
    height:calc(8px + var(--sf-mobile-header-row) + 34px);
    background:linear-gradient(180deg, color-mix(in srgb, var(--sf-surface) 3%, transparent), var(--sf-surface)),
      var(--sf-frontend-header-bg, var(--sf-surface));
    border-bottom:1px solid color-mix(in srgb, var(--sf-border) 12%, transparent);
    box-shadow:0 16px 42px rgba(0,0,0,.18);
    backdrop-filter:blur(18px);
    pointer-events:none;
  }

  .sf-frontend-header__inner{
    z-index:1;
    display:grid;
    grid-template-columns:minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows:var(--sf-mobile-header-row) auto;
    align-items:center;
    width:calc(100% - 24px);
    min-height:0;
    padding:8px 0 18px;
  }

  .sf-frontend-header__brand,
  .sf-frontend-header.has-actions .sf-frontend-header__brand,
  .sf-frontend-header.has-theme-action .sf-frontend-header__brand{
    grid-column:1 / -1;
    grid-row:2;
    justify-self:center;
    flex-direction:column;
    width:max-content;
    max-width:calc(100vw - 24px);
    min-width:150px;
    min-height:0;
    gap:3px;
    padding:7px 12px 9px;
    text-align:center;
    border-radius:22px 22px 26px 26px;
    background:var(--sf-surface);
  }

  .sf-frontend-header__brand{
    position:relative;
  }

  /* The logo image is scaled 1.6x upwards out of the card (see brand-image below) and reached
     into the open/closed status: drop the card by that overflow (0.6 x image height, minus
     what the row already leaves) so a 15px gap remains, as on the home page. */
  .sf-frontend-header__brand.has-image{
    margin-top:calc(29px + (clamp(64px, 9vw, 76px) - 64px) * .6);
  }

  .sf-frontend-header__brand::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:-9px;
    width:20px;
    height:20px;
    transform:translateX(-50%) rotate(45deg);
    clip-path:polygon(100% 0, 100% 100%, 0 100%);
    background:var(--sf-surface);
    border-right:1px solid color-mix(in srgb, var(--sf-border) 14%, transparent);
    border-bottom:1px solid color-mix(in srgb, var(--sf-border) 14%, transparent);
    border-radius:0 0 4px 0;
    pointer-events:none;
  }

  .sf-frontend-header__brand:hover,
  .sf-frontend-header__brand:focus-visible{
    background:color-mix(in srgb, var(--sf-surface) 92%, var(--sf-brand) 8%);
  }

  .sf-frontend-header__brand:hover::after,
  .sf-frontend-header__brand:focus-visible::after{
    background:color-mix(in srgb, var(--sf-surface) 92%, var(--sf-brand) 8%);
  }

  body.sf-page-home .sf-frontend-header::before{
    height:100%;
  }

  body.sf-page-home .sf-frontend-header__inner{
    grid-template-rows:var(--sf-mobile-header-row);
    padding-bottom:34px;
  }

  body.sf-page-home .sf-frontend-header__brand{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    margin:0 auto;
    translate:0 -30%;
  }

  /* Phones: the logo image is scaled up above the card and reached into the open/closed
     status; 26px lower leaves a 15-16px gap and still clears the food carousel. */
  @media (max-width: 599px){
    body.sf-page-home .sf-frontend-header__brand{
      translate:0 calc(-30% + 26px);
    }
  }

  body.sf-page-home .sf-frontend-header + .sf-home-page .sf-home-hero-v2__inner{
    padding-top:124px;
  }

  .sf-frontend-header.is-left .sf-frontend-header__inner,
  .sf-frontend-header.is-centered .sf-frontend-header__inner{
    justify-content:normal;
  }

  .sf-frontend-header__brand-image{
    min-width:0;
    max-width:100%;
  }

  .sf-frontend-header__brand-image img{
    width:auto;
    max-width:min(150px, 100%);
    max-height:none;
    height:clamp(64px, 9vw, 76px);
    transform:scale(1.6);
    transform-origin:center bottom;
  }

  .sf-frontend-header__brand-text,
  .sf-frontend-header__brand.has-text .sf-frontend-header__brand-text,
  .sf-frontend-header__brand.has-image-error .sf-frontend-header__brand-text{
    display:block;
    width:auto;
    max-width:calc(100vw - 48px);
    font-size:clamp(.78rem, 3.7vw, .95rem);
    line-height:1.1;
    white-space:nowrap;
    overflow-x:auto;
    overflow-y:hidden;
    overflow-wrap:normal;
    scrollbar-width:none;
    text-overflow:clip;
  }

  .sf-frontend-header__actions{
    display:contents;
    position:static;
    transform:none;
  }

  .sf-language-switcher{
    grid-column:1;
    grid-row:1;
    justify-self:start;
    min-height:42px;
    padding:3px;
    border-radius:15px;
  }

  .sf-language-switcher__option{
    min-width:36px;
    min-height:34px;
    padding:0 7px;
    border-radius:11px;
    font-size:.7rem;
  }

  .sf-frontend-header__action{
    grid-column:3;
    grid-row:1;
    justify-self:end;
    width:46px;
    height:46px;
    border-radius:16px;
  }

  .sf-frontend-footer__inner{
    width:calc(100% - 24px);
  }

  .sf-frontend-footer__main{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .sf-footer-services{
    grid-column:span 2;
  }

  .sf-frontend-footer__bottom{
    grid-template-columns:1fr 1fr;
  }

  .sf-footer-legal{
    justify-content:flex-end;
  }

  .sf-footer-payments{
    grid-column:1 / -1;
    justify-content:flex-start;
  }
}

@media (max-width: 560px){
  .sf-frontend-footer__inner{
    padding-top:42px;
  }

  .sf-frontend-footer__main{
    grid-template-columns:minmax(0, 1fr);
    gap:34px;
  }

  .sf-footer-services{
    grid-column:auto;
  }

  .sf-footer-services__list{
    grid-template-columns:minmax(0, 1fr);
  }

  .sf-footer-section h2{
    margin-bottom:16px;
  }

  .sf-footer-hours dl > div{
    min-height:40px;
    align-items:center;
  }

  .sf-frontend-footer__bottom{
    grid-template-columns:minmax(0, 1fr);
    gap:16px;
    margin-top:42px;
  }

  .sf-footer-legal{
    grid-column:auto;
    justify-content:flex-start;
    margin-left:-12px;
  }

  .sf-footer-legal a{
    min-height:44px;
    padding-inline:12px;
  }

  .sf-footer-payments{
    grid-column:auto;
  }
}

.sf-store-review-shortcode-list,
.sf-product-review-shortcode-list{
  display:grid;
  gap:14px;
}

.sf-store-review-shortcode-card,
.sf-product-review-shortcode-card{
  padding:18px;
  border-radius:18px;
  border:1px solid color-mix(in srgb, var(--sf-border) 14%, transparent);
  background:color-mix(in srgb, var(--sf-surface) 68%, transparent);
}

.sf-store-review-shortcode-card__head,
.sf-product-review-shortcode-card__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}

.sf-store-review-shortcode-empty{
  color:var(--sf-text);
}

/* Add-ons simple layout */
.sf-addons{ margin: 16px 0 10px; }
.sf-addons__title{ font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.sf-addon-group{ border:1px solid var(--sf-border); border-radius: 16px; padding: 12px; margin: 8px 0; background: var(--sf-surface); }
.sf-addon-group > legend{ padding: 0 6px; font-weight: 700; }
.sf-addon{
  display:grid;
  grid-template-columns:22px minmax(0, 1fr);
  align-items:center;
  gap:12px;
  min-height:56px;
  margin:8px 0;
  padding:12px 13px;
  border:1px solid var(--sf-border);
  border-radius:14px;
  background:var(--sf-surface);
  cursor:pointer;
  transition:border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.sf-addon:hover,
.sf-addon:focus-within,
.sf-addon.is-selected{
  border-color:color-mix(in srgb, var(--sf-brand) 48%, var(--sf-border));
  background:color-mix(in srgb, var(--sf-brand) 8%, var(--sf-surface));
}
.sf-addon.is-selected{ box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--sf-brand) 28%, transparent); }
.sf-addon input[type="checkbox"],
.sf-addon input[type="radio"]{
  -webkit-appearance:none;
  appearance:none;
  display:grid;
  place-items:center;
  width:22px;
  height:22px;
  min-width:22px;
  margin:0;
  border:1.5px solid var(--sf-border);
  border-radius:7px;
  background:var(--sf-surface);
  cursor:pointer;
  transition:border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.sf-addon input[type="checkbox"]::after,
.sf-addon input[type="radio"]::after{
  content:"";
  width:6px;
  height:10px;
  margin-top:-2px;
  border:solid var(--sf-brand-contrast);
  border-width:0 2px 2px 0;
  opacity:0;
  transform:rotate(45deg) scale(.65);
  transition:opacity .15s ease, transform .15s ease;
}
.sf-addon input[type="checkbox"]:checked,
.sf-addon input[type="radio"]:checked{
  border-color:var(--sf-brand);
  background:var(--sf-brand);
  box-shadow:0 0 0 3px color-mix(in srgb, var(--sf-brand) 14%, transparent);
}
.sf-addon input[type="checkbox"]:checked::after,
.sf-addon input[type="radio"]:checked::after{ opacity:1; transform:rotate(45deg) scale(1); }
.sf-addon input[type="checkbox"]:focus-visible,
.sf-addon input[type="radio"]:focus-visible{ outline:2px solid var(--sf-brand); outline-offset:3px; }
.sf-addon__content{ display:flex; align-items:center; justify-content:space-between; gap:10px; min-width:0; }
.sf-addon__name{ min-width:0; overflow-wrap:anywhere; font-weight:600; color:var(--sf-text); }
.sf-addon__price{ flex:0 0 auto; min-width:72px; color:var(--sf-text); font-weight:600; font-variant-numeric:tabular-nums; text-align:right; white-space:nowrap; }
@media (max-width:480px){
  .sf-addon{ gap:10px; min-height:58px; padding:12px; }
  .sf-addon__content{ gap:8px; }
  .sf-addon__price{ min-width:64px; }
}

/* Loyalty checkout card */
.sf-loyalty-box{
  --sf-loy-bg:var(--sf-bg);
  --sf-loy-accent:var(--sf-brand);
  --sf-loy-text:var(--sf-text);
  border-radius: 16px;
  padding: 18px 18px 16px;
  background:radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--sf-surface) 12%, transparent), transparent 28%), var(--sf-loy-bg);
  color: var(--sf-loy-text);
  box-shadow: 0 16px 36px rgba(0,0,0,0.12), 0 6px 16px rgba(0,0,0,0.10);
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}
.sf-loyalty-box::after{
  content: "";
  position: absolute;
  inset: -40% auto auto 60%;
  width: 180px;
  height: 180px;
  background:radial-gradient(circle, color-mix(in srgb, var(--sf-surface) 12%, transparent), transparent 64%);
  transform: rotate(18deg);
  pointer-events: none;
}
.sf-loyalty-box__eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color:var(--sf-muted);
  margin: 0 0 6px;
}
.sf-loyalty-box__eyebrow::before{
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sf-loy-accent);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--sf-brand) 25.0%, transparent);
}
.sf-loyalty-box__title{
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
}
.sf-loyalty-box__message{
  margin: 0 0 14px;
  color:var(--sf-text);
}
.sf-loyalty-progress{
  background:color-mix(in srgb, var(--sf-surface) 8%, transparent);
  border-radius: 12px;
  padding: 10px 12px;
  position: relative;
  overflow: hidden;
  border:1px solid color-mix(in srgb, var(--sf-border) 10%, transparent);
}
.sf-loyalty-progress__bar{
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background:color-mix(in srgb, var(--sf-surface) 14%, transparent);
  overflow: hidden;
  margin-bottom: 10px;
}
.sf-loyalty-progress__bar span{
  display: block;
  height: 100%;
  width: 20%;
  background:linear-gradient(90deg, var(--sf-loy-accent), var(--sf-brand));
  border-radius: 999px;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--sf-brand) 35.0%, transparent);
  transition: width .3s ease;
}
.sf-loyalty-progress__meta{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color:var(--sf-muted);
  flex-wrap: wrap;
}
.sf-loyalty-progress__meta strong{
  font-size: 14px;
}
.sf-loyalty-progress__meta span{
  font-size: 13px;
  color:var(--sf-muted);
}
.sf-loyalty-box__points{
  margin: 12px 0 0;
  font-weight: 600;
  color:var(--sf-text);
}
.sf-loyalty-box__guest{
  background:color-mix(in srgb, var(--sf-surface) 8%, transparent);
  border-radius: 12px;
  padding: 12px;
  border:1px dashed color-mix(in srgb, var(--sf-border) 16%, transparent);
}
.sf-loyalty-box__guest p{
  margin: 8px 0 0;
  color:var(--sf-text);
}
.sf-loyalty-box__pill{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background:color-mix(in srgb, var(--sf-surface) 14%, transparent);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.sf-app-close{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border:1px solid var(--sf-border);
  background:var(--sf-surface);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.sf-system-page{
  --sf-system-accent:var(--sf-brand);
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 20px;
}
.sf-system-page__inner{
  border-radius: 28px;
  padding: 32px;
  background:linear-gradient(160deg, var(--sf-surface) 0%, var(--sf-surface) 48%, var(--sf-surface) 100%);
  border: 1px solid var(--sf-border);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}
.sf-system-page__eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--sf-brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sf-system-page__eyebrow::before{
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sf-brand);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--sf-brand) 14%, #ffffff);
}
.sf-system-page__title{
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.15;
}
.sf-system-page__description{
  margin: 0;
  max-width: 700px;
  color:var(--sf-muted);
  line-height: 1.7;
}
.sf-system-page__content{
  margin-top: 28px;
}
.sf-system-page__cards{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.sf-system-page__card{
  padding: 18px;
  border-radius: 18px;
  background:color-mix(in srgb, var(--sf-surface) 88%, transparent);
  border: 1px solid var(--sf-border);
}
.sf-system-page__card h3{
  margin: 0 0 6px;
  font-size: 16px;
}
.sf-system-page__card p{
  margin: 0;
  color:var(--sf-muted);
}

.sf-home-page{
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.sf-product-tax-note {
  display: inline-block;
  margin-inline-start: 0.25em;
  color: var(--sf-muted, currentColor);
  font-size: max(0.72rem, 0.75em);
  font-weight: 500;
  white-space: nowrap;
}

.sf-ordering-off {
  box-sizing: border-box;
  width: min(760px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--sf-border);
  border-radius: 28px;
  background: var(--sf-surface);
  box-shadow: 0 28px 60px rgba(2, 6, 23, 0.20);
  color: var(--sf-text);
}
.sf-ordering-off h1 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.15;
}
.sf-ordering-off p {
  margin: 0 0 24px;
  color: var(--sf-muted);
  line-height: 1.65;
}
.sf-ordering-off__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--sf-brand);
  color: var(--sf-brand-contrast);
  font-weight: 700;
  text-decoration: none;
}
.sf-ordering-off__button:hover,
.sf-ordering-off__button:focus-visible {
  color: var(--sf-brand-contrast);
  filter: brightness(1.08);
}

/* "Ring oss": replaces cart and order buttons while ordering is paused.
   Same pill shape and weight as the popup cart's "Beställ nu", theme colours only. */
.sf-ordering-off__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.sf-call-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  max-width: 100%;
  padding: 8px 22px 8px 10px;
  border: 0;
  border-radius: 999px;
  background: var(--sf-brand);
  color: var(--sf-brand-contrast);
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--sf-brand) 26%, transparent);
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.sf-call-button:hover,
.sf-call-button:focus-visible {
  background: var(--sf-brand-hover, var(--sf-brand));
  color: var(--sf-brand-hover-contrast, var(--sf-brand-contrast));
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--sf-brand) 34%, transparent);
}
.sf-call-button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--sf-brand) 55%, var(--sf-text));
  outline-offset: 3px;
}
.sf-call-button:active { transform: scale(.97); box-shadow: 0 6px 14px color-mix(in srgb, var(--sf-brand) 22%, transparent); }
.sf-call-button__icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--sf-brand-contrast) 16%, transparent);
}
.sf-call-button__icon svg { width: 19px; height: 19px; }
.sf-call-button:hover .sf-call-button__icon svg { animation: sf-call-ring .5s ease 1; }
.sf-call-button__text { display: inline-flex; flex-direction: column; align-items: flex-start; min-width: 0; text-align: left; }
.sf-call-button__label { font-size: 1.02rem; white-space: nowrap; }
.sf-call-button__number {
  max-width: 100%;
  overflow: hidden;
  font-size: .82rem;
  font-weight: 600;
  opacity: .86;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.sf-call-button--product { width: 100%; margin-top: 14px; justify-content: center; }
/* The hero keeps its own button chrome; the number is in the aria-label and footer. */
.sf-home-hero-v2 .sf-call-button--hero:is(:hover, :focus-visible, :active) {
  background: linear-gradient(135deg, color-mix(in srgb, var(--sf-brand) 13%, var(--sf-surface)), color-mix(in srgb, var(--sf-brand) 6%, var(--sf-surface)));
  color: var(--sf-text);
}
.sf-call-button--hero .sf-call-button__icon { flex-basis: 30px; width: 30px; height: 30px; background: color-mix(in srgb, var(--sf-brand) 18%, transparent); color: var(--sf-brand); }
.sf-call-button--hero .sf-call-button__number { display: none; }
.sf-call-button--hero .sf-call-button__text { align-items: center; }
.sf-offer__buy-row .sf-call-button { flex: 1 1 auto; }
.sf-product-header__icon--call svg { width: 21px; height: 21px; }
@keyframes sf-call-ring {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-14deg); }
  40% { transform: rotate(12deg); }
  60% { transform: rotate(-8deg); }
  80% { transform: rotate(5deg); }
}
@media (max-width: 380px) {
  .sf-call-button { padding-right: 16px; gap: 8px; }
  .sf-ordering-off__actions > * { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .sf-call-button { transition: none; }
  .sf-call-button:hover,
  .sf-call-button:focus-visible,
  .sf-call-button:active { transform: none; }
  .sf-call-button:hover .sf-call-button__icon svg { animation: none; }
}
@media (forced-colors: active) {
  .sf-call-button { border: 1px solid ButtonText; }
}

/* Shared category cards for menu, home and product pages. */
.sf-menu__tabs-shell {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-bottom: 16px;
}

.sf-menu__tabs-shell,
.sf-menu__tabs-shell * { box-sizing: border-box; }

.sf-menu__tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: clamp(12px, 1.6vw, 24px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 4px 4px 6px;
  scroll-padding-inline: 4px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--sf-brand, #e92035) var(--sf-border, #ddd);
  -webkit-overflow-scrolling: touch;
}

.sf-menu__tabs::-webkit-scrollbar { height: 6px; }
.sf-menu__tabs::-webkit-scrollbar-track { background: var(--sf-border, #ddd); border-radius: 99px; }
.sf-menu__tabs::-webkit-scrollbar-thumb { background: var(--sf-brand, #e92035); border-radius: 99px; }

.sf-menu__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 clamp(112px, 10vw, 144px);
  min-width: min-content;
  padding: 3px 6px 4px;
  border: 2px solid transparent;
  border-radius: 20px;
  color: var(--sf-text, #151515);
  background: var(--sf-surface-alt, #eceaea);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.sf-menu__category-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  margin-bottom: 5px;
  overflow: hidden;
  border-radius: 50%;
}

.sf-menu__category-media .sf-menu__category-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* Categories without a photo do not reserve an empty image box. */
.sf-menu__category-media:not(:has(.sf-menu__category-image)) { display: none; }
.sf-menu__tab:not(:has(.sf-menu__category-image)) { align-self: center; }

.sf-menu__category-name {
  display: block;
  width: 100%;
  color: inherit;
  font-size: clamp(.875rem, 1.05vw, 1rem);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  text-wrap: balance;
  word-break: normal;
  hyphens: none;
  overflow-wrap: normal;
}

.sf-menu__tab.is-active {
  border-color: var(--sf-brand, #e92035);
  background: color-mix(in srgb, var(--sf-brand, #e92035) 8%, var(--sf-surface-alt, #eceaea));
}

.sf-menu__tab:focus-visible,
.sf-menu__category-arrow:focus-visible {
  outline: 3px solid var(--sf-focus-ring, #e92035);
  outline-offset: 1px;
}

.sf-menu__tabs-shell .sf-menu__category-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(30, 30, 30, 0.65);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(6px);
  transform: translateY(-50%);
  cursor: pointer;
}

.sf-menu__category-arrow--prev { left: 2px; }
.sf-menu__category-arrow--next { right: 2px; }
.sf-menu__tabs-shell .sf-menu__category-arrow[hidden] { display: none; }
.sf-menu__tabs-shell .sf-menu__category-arrow:disabled { opacity: 0.35; cursor: default; }
.sf-menu__category-arrow svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (hover: hover) and (pointer: fine) {
  .sf-menu__tab:hover { border-color: var(--sf-brand, #e92035); color: var(--sf-text, #151515); }
  .sf-menu__tabs-shell .sf-menu__category-arrow:hover:not(:disabled) { background: rgba(30, 30, 30, 0.85); }
}

@media (max-width: 767px) {
  .sf-menu__tabs-shell { margin-bottom: 14px; }
  .sf-menu__tab {
    flex-basis: clamp(102px, 32%, 144px);
    padding: 2px 4px 2px;
    border-radius: 16px;
  }
  .sf-menu__category-media { margin-bottom: 4px; }
  .sf-menu__category-name { font-size: 14px; }
  .sf-menu__tabs-shell .sf-menu__category-arrow { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .sf-menu__tab { transition: none; }
}
.wc-block-components-product-details > .sf-order-summary-line{display:block}
.wc-block-components-product-details > .sf-order-summary-line > [aria-hidden="true"]{display:none}

/* Native Swefood: swefood-single-product.css */
.sf-single-product {
  --sf-page-bg:var(--sf-bg);
  --sf-panel:var(--sf-surface);
  --sf-panel-2:var(--sf-surface-alt);
  --sf-panel-3:var(--sf-surface-alt);
  --sf-panel-soft:var(--sf-surface-alt);
  
  --sf-border-strong:var(--sf-border);
  --sf-shadow: 0 30px 90px rgba(2, 6, 23, 0.5);
  --sf-shadow-soft: 0 16px 44px rgba(2, 6, 23, 0.3);
  --sf-text-primary:var(--sf-text);
  --sf-text-secondary:var(--sf-muted);
  --sf-text-muted:var(--sf-muted);
  --sf-accent:var(--sf-brand);
  --sf-accent-2:var(--sf-brand-hover);
  --sf-accent-soft:var(--sf-brand-soft);
  --sf-menu-bg:var(--sf-bg);
  --sf-menu-panel:var(--sf-surface);
  --sf-menu-panel-2:var(--sf-surface-alt);
  --sf-menu-border:var(--sf-border);
  --sf-menu-shadow: var(--sf-shadow);
  --sf-menu-shadow-soft: var(--sf-shadow-soft);
  --sf-menu-text:var(--sf-text);
  --sf-menu-muted:var(--sf-muted);
  --sf-menu-accent:var(--sf-brand);
  --sf-menu-accent-soft:var(--sf-brand-soft);
  --sf-menu-radius: var(--sf-radius-lg);
  
  --sf-danger:var(--sf-error);
  --sf-radius-sm: 16px;
  --sf-radius-md: 22px;
  --sf-radius-lg: 30px;
  color: var(--sf-text-primary);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 20px 14px;
  position: relative;
  isolation: isolate;
}

.sf-single-product[data-sf-color-mode="dark"] {
  --sf-page-bg:var(--sf-bg);
  --sf-extra-group-border:color-mix(in srgb, var(--sf-text) 22%, transparent);
  --sf-extra-group-outline:inset 0 0 0 1px var(--sf-extra-group-border);
}

.sf-single-product a {
  color: inherit;
}

.sf-single-product img {
  max-width: 100%;
  height: auto;
}

.sf-single-product button,
.sf-single-product input,
.sf-single-product select,
.sf-single-product textarea {
  font: inherit;
}

.sf-single-product__canvas {
  width: min(1480px, calc(100% - 8px));
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
}

.sf-single-product .woocommerce-notices-wrapper {
  margin-bottom: 18px;
}

.sf-single-product .woocommerce-message,
.sf-single-product .woocommerce-error,
.sf-single-product .woocommerce-info {
  margin: 0 0 12px;
  padding: 16px 18px;
  border: 1px solid var(--sf-border);
  border-radius: var(--sf-radius-md);
  background:color-mix(in srgb, var(--sf-surface) 90%, transparent);
  color: var(--sf-text-primary);
  box-shadow: var(--sf-shadow-soft);
}

.sf-single-product__header-shell {
  margin-bottom: 18px;
}

.sf-product-header {
  padding: 10px 12px;
  border:1px solid color-mix(in srgb, var(--sf-border) 22%, transparent);
  border-radius: var(--sf-radius-lg);
  background:linear-gradient(180deg, color-mix(in srgb, var(--sf-surface) 3%, transparent), var(--sf-surface)),
    linear-gradient(90deg, color-mix(in srgb, var(--sf-surface) 96%, transparent), color-mix(in srgb, var(--sf-surface) 92%, transparent));
  box-shadow:
    0 22px 54px rgba(2, 6, 23, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(22px) saturate(118%);
  color:var(--sf-text);
}

.sf-product-header__nav {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
}

.sf-product-header__button,
.sf-product-header__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 48px;
  min-height: 48px;
  padding: 0 16px;
  border:1px solid color-mix(in srgb, var(--sf-border) 12%, transparent);
  border-radius: 999px;
  background:color-mix(in srgb, var(--sf-surface) 3.5%, transparent);
  color: var(--sf-text-primary);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sf-product-header__button {
  padding: 0 18px;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.sf-product-header__button:hover,
.sf-product-header__button:focus-visible,
.sf-product-header__icon:hover,
.sf-product-header__icon:focus-visible {
  border-color:color-mix(in srgb, var(--sf-focus-ring) 32%, transparent);
  background:color-mix(in srgb, var(--sf-brand) 10%, transparent);
  color:var(--sf-text);
  transform: translateY(-1px);
  outline: none;
}

.sf-product-header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sf-product-header__icon {
  position: relative;
  width: 48px;
  padding: 0;
}

.sf-product-header__glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.sf-product-header__glyph svg {
  width: 20px;
  height: 20px;
  display: block;
}

.sf-product-header__glyph--back {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}

.sf-product-header__glyph--back svg {
  width: 18px;
  height: 18px;
}

.sf-product-header__count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background:var(--sf-brand);
  color:var(--sf-brand-contrast);
  font-size: 0.72rem;
  font-weight: 800;
}

.sf-product-category-nav {
  margin: 0 0 18px;
}

.sf-product-category-nav__shell {
  margin-bottom: 0;
}

.sf-product-category-nav__track {
  padding-bottom: 0;
}

.sf-single-product__shell {
  display: grid;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  gap: clamp(28px, 3vw, 42px);
  align-items: start;
}

.sf-single-product__content,
.sf-single-product__secondary {
  display: grid;
  gap: clamp(24px, 2.4vw, 34px);
  min-width: 0;
}

.sf-single-product__form {
  display: grid;
  align-content: start;
}

.sf-product-meta-card,
.sf-single-product__gallery {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.sf-product-meta-card {
  padding: 4px 0 0;
}

.sf-product-meta-card__head,
.sf-product-meta-card__footer,
.sf-product-meta-card__labels,
.sf-product-meta-card__badges,
.sf-product-meta-card__tags,
.sf-product-meta-card__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.sf-product-meta-card__head {
  justify-content: space-between;
  align-items: center;
  column-gap: 12px;
  row-gap: 10px;
}

.sf-product-meta-card__labels,
.sf-product-meta-card__badges {
  max-width: 100%;
  min-width: 0;
  flex-wrap: wrap;
}

.sf-product-meta-card__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
  margin-left: auto;
}

.sf-product-kicker,
.sf-product-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border:1px solid color-mix(in srgb, var(--sf-border) 14%, transparent);
  background:color-mix(in srgb, var(--sf-surface) 4%, transparent);
  color: var(--sf-text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.sf-product-kicker {
  border-color:color-mix(in srgb, var(--sf-brand) 22%, transparent);
  background:color-mix(in srgb, var(--sf-brand) 10%, transparent);
  color:var(--sf-brand);
}

.sf-product-pill--badge,
.sf-product-pill--featured {
  border-color:color-mix(in srgb, var(--sf-brand) 22%, transparent);
  background:color-mix(in srgb, var(--sf-brand) 8%, transparent);
  color:var(--sf-brand);
}

.sf-product-pill--sale {
  border-color:color-mix(in srgb, var(--sf-brand) 24%, transparent);
  background:color-mix(in srgb, var(--sf-brand) 10%, transparent);
  color:var(--sf-text);
}

.sf-product-pill--new {
  border-color:color-mix(in srgb, var(--sf-brand) 22%, transparent);
  background:color-mix(in srgb, var(--sf-brand) 8%, transparent);
  color:var(--sf-text);
}

.sf-favorite-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border:1px solid color-mix(in srgb, var(--sf-border) 16%, transparent);
  border-radius: 999px;
  background:color-mix(in srgb, var(--sf-surface) 4%, transparent);
  color: var(--sf-text-secondary);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sf-favorite-button:hover,
.sf-favorite-button:focus-visible,
.sf-favorite-button.is-active {
  border-color:color-mix(in srgb, var(--sf-focus-ring) 34%, transparent);
  background:color-mix(in srgb, var(--sf-brand-soft) 12%, transparent);
  color:var(--sf-text);
  transform: translateY(-1px);
  outline: none;
}

.sf-favorite-button__icon {
  font-size: 0.94rem;
}

.sf-product-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 11px;
  border:1px solid color-mix(in srgb, var(--sf-border) 14%, transparent);
  border-radius: 999px;
  background:color-mix(in srgb, var(--sf-surface) 3.5%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  color: var(--sf-text-primary);
  cursor: pointer;
  appearance: none;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.sf-product-rating:hover,
.sf-product-rating:focus-visible {
  border-color:color-mix(in srgb, var(--sf-focus-ring) 28%, transparent);
  background:color-mix(in srgb, var(--sf-brand) 8%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 12px 28px rgba(2, 6, 23, 0.16);
  transform: translateY(-1px);
  outline: none;
}

.sf-product-rating__stars {
  position: relative;
  display: inline-block;
  line-height: 1;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.sf-product-rating__stars-base,
.sf-product-rating__stars-fill {
  display: block;
  font-family: "Segoe UI Symbol", "Apple Color Emoji", "Noto Sans Symbols", sans-serif;
}

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

.sf-product-rating__stars-fill {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  white-space: nowrap;
  color:var(--sf-brand);
  text-shadow: 0 0 18px color-mix(in srgb, var(--sf-brand) 18.0%, transparent);
}

.sf-product-rating__summary {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}

.sf-product-rating__value {
  color: var(--sf-text-primary);
  font-size: 0.88rem;
  font-weight: 800;
}

.sf-product-rating__count {
  color: var(--sf-text-secondary);
  font-size: 0.8rem;
  font-weight: 700;
}

.sf-review-section {
  scroll-margin-top: 120px;
}

.sf-product-meta-card__title-row {
  margin-top: 20px;
}

.sf-product-meta-card__title-copy {
  max-width: 760px;
}

.sf-product-meta-card__title {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: var(--sf-text-primary);
}

.sf-product-meta-card__lead,
.sf-product-tabs__panel,
.sf-review-card__content,
.sf-related-card__desc,
.sf-product-notes__textarea {
  color: var(--sf-text-secondary);
  font-size: 0.98rem;
  line-height: 1.72;
}

.sf-product-meta-card__lead {
  margin-top: 12px;
  max-width: 680px;
  color: var(--sf-text-primary);
  color: color-mix(in srgb, var(--sf-text-primary) 82%, var(--sf-text-secondary));
  font-size: clamp(20px, 1.5vw, 22px);
  font-weight: 500;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
}

.sf-product-meta-card__lead p:first-child { margin-top: 0; }

.sf-product-meta-card__lead p:last-child,
.sf-product-tabs__panel p:last-child {
  margin-bottom: 0;
}

.sf-product-meta-card__meta-row {
  margin-top: 18px;
}

.sf-product-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border:1px solid color-mix(in srgb, var(--sf-border) 14%, transparent);
  border-radius: 999px;
  background:color-mix(in srgb, var(--sf-surface) 3%, transparent);
  color: var(--sf-text-primary);
  font-size: 0.92rem;
  font-weight: 700;
}

.sf-product-stat__label {
  color: var(--sf-text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sf-product-meta-card__stock .stock {
  margin: 0;
  color:var(--sf-muted);
}

.sf-product-meta-card__stock .stock.out-of-stock,
.sf-product-meta-card__stock .out-of-stock {
  color:var(--sf-muted);
}

.sf-product-meta-card__footer {
  margin-top: 16px;
}

.sf-single-product__gallery {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
}

.sf-gallery-stage {
  position: relative;
  min-height: 360px;
  padding: 12px 0 0;
}

.sf-gallery-stage::before {
  content: "";
  position: absolute;
  inset: 8% 12% 12%;
  border-radius: 999px;
  background:radial-gradient(circle, color-mix(in srgb, var(--sf-brand) 18%, transparent) 0%, color-mix(in srgb, var(--sf-brand) 5%, transparent) 34%, transparent 70%);
  filter: blur(32px);
  pointer-events: none;
}

.sf-gallery-stage__main,
.sf-gallery-stack__item {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: 36px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.sf-gallery-stage__main {
  aspect-ratio: min(1.14, var(--sf-media-ratio, 4 / 3));
}

.sf-gallery-stage__main img,
.sf-gallery-stack__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 36px 48px rgba(2, 6, 23, 0.4));
}

.sf-gallery-stack {
  display: grid;
  gap: 16px;
}

.sf-gallery-stack__item {
  aspect-ratio: var(--sf-media-ratio, 4 / 3);
}

.sf-gallery-thumbs {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0 0;
  scrollbar-width: none;
}

.sf-gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.sf-gallery-thumb {
  flex: 0 0 78px;
  aspect-ratio: 1;
  padding: 0;
  border:1px solid color-mix(in srgb, var(--sf-border) 16%, transparent);
  border-radius: 20px;
  overflow: hidden;
  background:linear-gradient(180deg, color-mix(in srgb, var(--sf-surface) 3.5%, transparent), color-mix(in srgb, var(--sf-surface) 1.5%, transparent));
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.sf-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-gallery-thumb.is-active,
.sf-gallery-thumb:hover,
.sf-gallery-thumb:focus-visible {
  border-color:color-mix(in srgb, var(--sf-focus-ring) 42%, transparent);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sf-brand) 18.0%, transparent);
  outline: none;
}

.sf-product-tabs-card,
.sf-review-section,
.sf-review-form-section,
.sf-related-products,
.sf-purchase-card {
  border: 1px solid var(--sf-border);
  border-radius: var(--sf-radius-lg);
  background:linear-gradient(180deg, color-mix(in srgb, var(--sf-surface) 2%, transparent), var(--sf-surface)),
    var(--sf-panel);
  box-shadow: var(--sf-shadow);
  backdrop-filter: blur(16px);
}

.sf-product-section__head h2,
.sf-review-section__head h2,
.sf-related-products__head h2 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  color: var(--sf-text-primary);
}

.sf-product-section__head p,
.sf-review-section__head p,
.sf-related-products__head p {
  margin: 0;
  color: var(--sf-text-secondary);
  font-size: 0.9rem;
  line-height: 1.58;
}

.sf-purchase-card {
  padding: 18px 18px 16px;
}

.sf-purchase-card__head {
  margin-bottom: 22px;
}

.sf-purchase-card__catalog-note {
  margin: 0;
  color: var(--sf-text-secondary);
  line-height: 1.5;
}

.sf-purchase-card__price-wrap {
  display: grid;
  gap: 4px;
  padding-bottom: 6px;
}

.sf-purchase-card__eyebrow,
.sf-product-section__eyebrow {
  color: var(--sf-text-secondary);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sf-purchase-card__price,
.sf-purchase-card__price .price {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--sf-text-primary);
  font-weight: 900;
}

.sf-purchase-card__price .price {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
}

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

.sf-purchase-card__price ins {
  text-decoration: none;
}

.sf-purchase-card__compare {
  color:var(--sf-muted);
  font-size: 0.92rem;
  text-decoration: line-through;
}

.sf-purchase-card__tax {
  color: var(--sf-text-secondary);
  font-size: 0.84rem;
}

.sf-product-section + .sf-product-section {
  margin-top: 16px;
}

.sf-product-section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.sf-product-section__reset {
  color:var(--sf-brand);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.sf-product-section__reset:hover,
.sf-product-section__reset:focus-visible {
  color:var(--sf-text);
  outline: none;
}

.sf-variation-native-inputs,
.sf-variation-native-state {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(100%);
}

.sf-variation-groups,
.sf-extras-groups {
  display: grid;
  gap: 14px;
}

.sf-variation-group {
  display: grid;
  gap: 10px;
}

.sf-variation-group__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.sf-variation-group__label strong {
  color: var(--sf-text-primary);
}

.sf-variation-group__label span,
.sf-extra-group__meta span {
  color: var(--sf-text-secondary);
  font-size: 0.82rem;
}

.sf-variation-group__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sf-choice {
  position: relative;
  display: grid;
  gap: 6px;
  width: 100%;
  min-height: 78px;
  padding: 14px 16px;
  border:1px solid color-mix(in srgb, var(--sf-border) 14%, transparent);
  border-radius: 18px;
  background:color-mix(in srgb, var(--sf-surface) 3%, transparent);
  color: var(--sf-text-primary);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.sf-choice__pizza {
  --sf-choice-image-size: 32px;
  position: absolute;
  right: 14px;
  top: 50%;
  width: var(--sf-choice-image-size);
  height: var(--sf-choice-image-size);
  object-fit: contain;
  transform: translateY(-50%);
  pointer-events: none;
  visibility: hidden;
}
.sf-choice__pizza--small { --sf-choice-image-size: 24px; }
.sf-choice__pizza--medium { --sf-choice-image-size: 32px; }
.sf-choice__pizza--large { --sf-choice-image-size: 40px; }
.sf-choice__pizza.is-fit { visibility: visible; }

@keyframes sf-choice-pizza-spin {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}

@media (prefers-reduced-motion: no-preference) {
  .sf-choice__pizza.is-fit { animation: sf-choice-pizza-spin 9s linear infinite paused; }
  .sf-choice.is-active .sf-choice__pizza.is-fit { animation-play-state: running; }
}

.sf-choice__label {
  font-weight: 800;
}

.sf-choice__meta {
  color: var(--sf-text-secondary);
  font-size: 0.84rem;
}

.sf-choice:hover,
.sf-choice:focus-visible,
.sf-choice.is-active {
  border-color:color-mix(in srgb, var(--sf-focus-ring) 50%, transparent);
  background:color-mix(in srgb, var(--sf-brand-soft) 10%, transparent);
  box-shadow: 0 16px 30px color-mix(in srgb, var(--sf-brand) 14.0%, transparent);
  transform: translateY(-1px);
  outline: none;
}

.sf-choice.is-unavailable,
.sf-choice[disabled] {
  opacity: 0.44;
  cursor: not-allowed;
  box-shadow: none;
}

.sf-choice.is-hidden {
  display: none;
}

.sf-variation-feedback,
.sf-form-feedback {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--sf-radius-sm);
  background:color-mix(in srgb, var(--sf-brand) 20%, transparent);
  color:var(--sf-text);
}

.sf-form-feedback.is-success {
  background:color-mix(in srgb, var(--sf-success) 24%, transparent);
  color:var(--sf-success);
}

.sf-extra-group {
  margin: 0;
  padding: 0;
  border:1px solid var(--sf-extra-group-border, color-mix(in srgb, var(--sf-border) 12%, transparent));
  box-shadow:var(--sf-extra-group-outline, none);
  border-radius: 22px;
  overflow: hidden;
  background:color-mix(in srgb, var(--sf-surface) 2%, transparent);
}

.sf-extra-group.is-invalid {
  border-color:color-mix(in srgb, var(--sf-error) 38%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sf-brand) 16.0%, transparent);
}

.sf-extra-group__head {
  display: flex;
  width: 100%;
  min-height: 58px;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 16px;
  border: 0;
  border-radius: 0;
  color: var(--sf-text-primary);
  background: transparent;
  box-shadow: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sf-extra-group__head:hover {
  background:color-mix(in srgb, var(--sf-surface) 2.5%, transparent);
}

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

.sf-extra-group__head > strong {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 1rem;
}

.sf-extra-group__icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.sf-extra-group__meta {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.sf-extra-group__chevron {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

.sf-extra-group.is-open .sf-extra-group__chevron {
  transform: rotate(180deg);
}

.sf-extra-group__panel {
  display: grid;
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    grid-template-rows 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease,
    transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear;
}

.sf-extra-group.is-accordion-ready:not(.is-open) .sf-extra-group__panel {
  grid-template-rows: 0fr;
  visibility: hidden;
  opacity: 0;
  transform: translate3d(0, -5px, 0);
  transition:
    grid-template-rows 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.18s ease,
    transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.26s;
}

.sf-extra-group.is-accordion-ready.is-open .sf-extra-group__head {
  border-bottom:1px solid color-mix(in srgb, var(--sf-border) 10%, transparent);
}

.sf-extra-group.is-accordion-initializing .sf-extra-group__panel,
.sf-extra-group.is-accordion-initializing .sf-extra-group__chevron {
  transition: none;
}

.sf-extra-group__options {
  display: grid;
  min-height: 0;
  overflow: hidden;
  gap: 10px;
  padding: 0 14px;
  transition: padding 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

.sf-extra-group.is-open .sf-extra-group__options {
  padding-block: 14px;
}

.sf-extra-choice {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  min-height: 62px;
  padding: 13px 15px;
  border: 1px solid var(--sf-border);
  border-radius: 18px;
  background: var(--sf-panel-soft);
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.sf-extra-choice:hover,
.sf-extra-choice:focus-within {
  border-color: var(--sf-border-strong);
  background: var(--sf-accent-soft);
}

.sf-extra-choice.is-selected {
  border-color: var(--sf-border-strong);
  background: var(--sf-accent-soft);
  box-shadow: inset 0 0 0 1px var(--sf-border-strong);
}

.sf-extra-choice input[type="checkbox"],
.sf-extra-choice input[type="radio"],
.sf-extra-single input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  margin: 0;
  border: 1.5px solid var(--sf-text-muted);
  border-radius: 7px;
  background: var(--sf-panel-soft);
  box-shadow: inset 0 1px 2px rgba(2, 6, 23, 0.18);
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.sf-extra-choice input[type="checkbox"]::after,
.sf-extra-choice input[type="radio"]::after,
.sf-extra-single input[type="checkbox"]::after {
  content: "";
  width: 6px;
  height: 10px;
  margin-top: -2px;
  border:solid var(--sf-border);
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: rotate(45deg) scale(0.65);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.sf-extra-choice input[type="checkbox"]:checked,
.sf-extra-choice input[type="radio"]:checked,
.sf-extra-single input[type="checkbox"]:checked {
  border-color: var(--sf-accent);
  background: var(--sf-accent);
  box-shadow: 0 0 0 3px var(--sf-accent-soft);
}

.sf-extra-choice input[type="checkbox"]:checked::after,
.sf-extra-choice input[type="radio"]:checked::after,
.sf-extra-single input[type="checkbox"]:checked::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.sf-extra-choice input[type="checkbox"]:focus-visible,
.sf-extra-choice input[type="radio"]:focus-visible,
.sf-extra-single input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--sf-accent);
  outline-offset: 3px;
}

.sf-extra-choice input:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.sf-extra-choice__content {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--sf-text-secondary);
}

.sf-extra-choice__content strong {
  min-width: 0;
  color: var(--sf-text-primary);
  font-size: 0.96rem;
  overflow-wrap: anywhere;
}

.sf-extra-choice__content [data-sf-addon-price-label] {
  flex: 0 0 auto;
  min-width: 76px;
  color: var(--sf-text-secondary);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

/* Standalone extras: the group card itself is the one-tap choice. */
.sf-extra-single {
  display: flex;
  min-height: 58px;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 16px;
  color: var(--sf-text-primary);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.sf-extra-single:hover {
  background:color-mix(in srgb, var(--sf-surface) 2.5%, transparent);
}

.sf-extra-single__name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 1rem;
}

.sf-extra-single__meta {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: var(--sf-text-secondary);
}

.sf-extra-single__meta [data-sf-addon-price-label] {
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.sf-single-product .sf-extras-groups .sf-extra-group--single.is-selected {
  border-color: var(--sf-accent);
  background-image: linear-gradient(color-mix(in srgb, var(--sf-accent) 6%, transparent), color-mix(in srgb, var(--sf-accent) 6%, transparent));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sf-accent) 24%, transparent);
}

.sf-extra-group--single .sf-half-placement {
  margin: 0 14px 14px;
}

@media (max-width: 480px) {
  .sf-extra-group__head,
  .sf-extra-single {
    min-height: 58px;
    padding: 14px;
  }

  .sf-extra-group__options {
    gap: 9px;
    padding-inline: 11px;
  }

  .sf-extra-group.is-open .sf-extra-group__options {
    padding-block: 11px;
  }

  .sf-extra-choice {
    gap: 11px;
    min-height: 60px;
    padding: 12px;
  }

  .sf-extra-choice__content {
    gap: 8px;
  }

  .sf-extra-choice__content [data-sf-addon-price-label] {
    min-width: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sf-extra-group__panel,
  .sf-extra-group__chevron,
  .sf-extra-group__options {
    transition: none;
  }
}

.sf-product-notes__textarea,
.sf-review-form input,
.sf-review-form select,
.sf-review-form textarea {
  width: 100%;
  border:1px solid color-mix(in srgb, var(--sf-border) 16%, transparent);
  border-radius: 18px;
  background:color-mix(in srgb, var(--sf-surface) 3.5%, transparent);
  color: var(--sf-text-primary);
  padding: 14px 16px;
}

.sf-product-notes__textarea {
  min-height: 112px;
  resize: vertical;
}

.sf-product-notes__textarea::placeholder,
.sf-review-form input::placeholder,
.sf-review-form textarea::placeholder {
  color:var(--sf-muted);
}

.sf-purchase-card__footer {
  display: grid;
  gap: 14px;
}

.sf-qty-control {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-width: 154px;
  padding: 6px;
  border:1px solid color-mix(in srgb, var(--sf-border) 16%, transparent);
  border-radius: 999px;
  background:color-mix(in srgb, var(--sf-surface) 3%, transparent);
}

.sf-qty-control__button {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background:color-mix(in srgb, var(--sf-surface) 8%, transparent);
  color: var(--sf-text-primary);
  cursor: pointer;
}

.sf-qty-control__input {
  width: 56px;
  border: 0;
  background: transparent;
  color: var(--sf-text-primary);
  text-align: center;
  font-size: 1rem;
  font-weight: 800;
}

.sf-qty-control__input:focus {
  outline: none;
}

.sf-total-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border:1px solid color-mix(in srgb, var(--sf-brand) 18%, transparent);
  border-radius: 18px;
  background:color-mix(in srgb, var(--sf-brand) 8%, transparent);
}

.sf-total-price span {
  color: var(--sf-text-secondary);
  font-size: 0.9rem;
}

.sf-total-price strong {
  color: var(--sf-text-primary);
  font-size: 1.08rem;
}

.sf-purchase-card__submit,
.sf-related-card__cta,
.sf-review-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 20px;
  border: 0;
  border-radius: 18px;
  background:var(--sf-brand);
  color:var(--sf-brand-contrast);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 18px 36px color-mix(in srgb, var(--sf-brand) 24.0%, transparent);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.sf-purchase-card__submit,
.sf-related-card__cta,
.sf-review-form__submit {
  width: 100%;
}

.sf-purchase-card__submit:hover,
.sf-purchase-card__submit:focus-visible,
.sf-related-card__cta:hover,
.sf-related-card__cta:focus-visible,
.sf-review-form__submit:hover,
.sf-review-form__submit:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 22px 40px color-mix(in srgb, var(--sf-brand) 28.0%, transparent);
  outline: none;
}

.sf-purchase-card__submit[disabled] {
  opacity: 0.48;
  box-shadow: none;
  cursor: not-allowed;
}

.sf-purchase-card__info-row {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.sf-purchase-card__info-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border:1px solid color-mix(in srgb, var(--sf-border) 14%, transparent);
  border-radius: 14px;
  background:color-mix(in srgb, var(--sf-surface) 3%, transparent);
  color: var(--sf-text-secondary);
  font-size: 0.9rem;
}

.sf-product-loyalty-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border-radius: 22px;
  border:1px solid color-mix(in srgb, var(--sf-brand) 14%, transparent);
  background:linear-gradient(180deg, color-mix(in srgb, var(--sf-brand) 10%, transparent), color-mix(in srgb, var(--sf-brand) 3%, transparent));
}

.sf-product-loyalty-card__icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background:color-mix(in srgb, var(--sf-brand) 12%, transparent);
  color:var(--sf-brand);
}

.sf-product-loyalty-card__content strong,
.sf-product-loyalty-card__content p,
.sf-product-loyalty-card__content span {
  display: block;
}

.sf-product-loyalty-card__content strong {
  margin-bottom: 4px;
}

.sf-product-loyalty-card__content p,
.sf-product-loyalty-card__content span {
  margin: 0;
  color:var(--sf-text);
  font-size: 0.88rem;
  line-height: 1.56;
}

.sf-product-tabs-card,
.sf-review-section,
.sf-review-form-section,
.sf-related-products {
  padding: 18px;
}

.sf-related-products {
  margin-top: 0;
  min-width: 0;
  grid-column: 1 / -1;
}

.sf-product-tabs {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 0;
  border-bottom:1px solid color-mix(in srgb, var(--sf-border) 12%, transparent);
  scrollbar-width: none;
}

.sf-product-tabs::-webkit-scrollbar {
  display: none;
}

.sf-product-tabs__trigger {
  min-height: 48px;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--sf-text-secondary);
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.sf-product-tabs__trigger.is-active {
  border-bottom-color: var(--sf-accent);
  color: var(--sf-text-primary);
}

.sf-product-tabs__panel {
  margin-top: 18px;
  padding: 4px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.sf-product-tabs__panel h2,
.sf-product-tabs__panel h3 {
  color: var(--sf-text-primary);
}

.sf-product-tabs__panel .sf-tab-review + .sf-tab-review {
  margin-top: 14px;
}

.sf-product-tabs__panel .sf-tab-review strong,
.sf-product-tabs__panel .sf-tab-review span {
  display: block;
}

.sf-product-tabs__panel .sf-tab-review strong {
  margin-bottom: 4px;
  color: var(--sf-text-primary);
}

.sf-product-tabs__panel .sf-tab-review span {
  margin-bottom: 6px;
  color: var(--sf-text-secondary);
  font-size: 0.82rem;
}

.sf-review-section__head,
.sf-related-products__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 16px;
}

.sf-review-section__head a,
.sf-related-products__head a {
  color:var(--sf-brand);
  text-decoration: none;
  font-weight: 700;
}

.sf-review-grid {
  display: grid;
  gap: 12px;
}

.sf-review-card {
  padding: 18px;
  border:1px solid color-mix(in srgb, var(--sf-border) 12%, transparent);
  border-radius: 22px;
  background:color-mix(in srgb, var(--sf-surface) 3%, transparent);
}

.sf-review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 10px;
  color:var(--sf-muted);
}

.sf-review-card__stars .is-filled {
  color:var(--sf-brand);
}

.sf-review-card__content {
  margin: 0 0 12px;
}

.sf-review-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--sf-text-secondary);
  font-size: 0.82rem;
}

.sf-review-card__meta strong {
  color: var(--sf-text-primary);
}

.sf-review-empty,
.sf-review-form__notice {
  padding: 18px;
  border:1px solid color-mix(in srgb, var(--sf-border) 12%, transparent);
  border-radius: 18px;
  background:color-mix(in srgb, var(--sf-surface) 2.5%, transparent);
  color: var(--sf-text-secondary);
}

.sf-review-form-shell {
  padding: 4px 0 0;
}

.sf-review-form__title {
  margin: 0 0 16px;
  color: var(--sf-text-primary);
}

.sf-review-form p {
  margin: 0 0 14px;
}

.sf-review-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--sf-text-primary);
  font-size: 0.92rem;
  font-weight: 700;
}

.sf-review-form input:focus,
.sf-review-form select:focus,
.sf-review-form textarea:focus,
.sf-product-notes__textarea:focus {
  border-color:color-mix(in srgb, var(--sf-focus-ring) 36%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sf-brand) 14.0%, transparent);
  outline: none;
}

.sf-related-products__controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sf-related-products__arrow {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border:1px solid color-mix(in srgb, var(--sf-border) 16%, transparent);
  border-radius: 999px;
  background:color-mix(in srgb, var(--sf-surface) 3%, transparent);
  color: var(--sf-text-primary);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sf-related-products__arrow:hover,
.sf-related-products__arrow:focus-visible {
  border-color:color-mix(in srgb, var(--sf-focus-ring) 32%, transparent);
  background:color-mix(in srgb, var(--sf-brand) 10%, transparent);
  color:var(--sf-text);
  transform: translateY(-1px);
  outline: none;
}

.sf-related-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 5);
  gap: 12px;
  overflow-x: auto;
  padding: 3px 2px 6px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.sf-related-grid::-webkit-scrollbar {
  display: none;
}

.sf-related-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  gap: 10px;
  padding: 10px;
  scroll-snap-align: start;
  border:1px solid color-mix(in srgb, var(--sf-border) 12%, transparent);
  border-radius: 18px;
  background:color-mix(in srgb, var(--sf-surface) 3%, transparent);
}

.sf-related-card__image {
  display: block;
  aspect-ratio: 1.25;
  overflow: hidden;
  border-radius: 12px;
  background:color-mix(in srgb, var(--sf-surface) 3%, transparent);
}

.sf-related-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 6px;
  box-sizing: border-box;
}

.sf-related-card__body {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 10px;
  min-width: 0;
}

.sf-related-card__copy {
  display: grid;
  align-content: start;
  gap: 4px;
}

.sf-related-card__title {
  margin: 0;
  font-size: 1rem;
  color: var(--sf-text-primary);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.sf-related-card__title a {
  text-decoration: none;
}

.sf-related-card__desc {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
}

.sf-related-card__desc,
.sf-related-card__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.sf-related-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sf-related-card__price {
  color: var(--sf-text-primary);
  font-weight: 800;
  font-size: 0.88rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.sf-related-card .sf-related-card__cta {
  width: 44px;
  height: 44px;
  min-height: 44px;
  flex: 0 0 44px;
  padding: 0;
  margin-left: auto;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
}
.sf-related-card__cta:active { transform: scale(.95); }
.sf-related-card__cta.loading { opacity: .6; pointer-events: none; }
.sf-related-products a:focus-visible,
.sf-related-products button:focus-visible,
.sf-related-grid:focus-visible { outline: 2px solid var(--sf-accent); outline-offset: 2px; }

.sf-related-card__price .amount {
  color: inherit;
}

.sf-review-section,
.sf-review-form-section {
  border-radius: 24px;
}

.sf-product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:color-mix(in srgb, var(--sf-surface) 86%, transparent);
}

/* The component's flex layout otherwise overrides the browser's native
   [hidden] rule and leaves its full-screen backdrop active while closed. */
.sf-product-lightbox[hidden] {
  display: none;
}

.sf-product-lightbox img {
  max-width: min(980px, 100%);
  max-height: 86vh;
  border-radius: 24px;
  object-fit: contain;
}

.sf-product-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background:color-mix(in srgb, var(--sf-surface) 8%, transparent);
  color:var(--sf-text);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 767px) {
  .sf-single-product {
    padding: 18px 12px;
  }

  .sf-single-product .sf-single-product__header-shell {
    display: none;
  }

  .sf-single-product__canvas {
    width: 100%;
    max-width: 100%;
  }

  .sf-single-product__shell,
  .sf-single-product__content,
  .sf-single-product__secondary {
    gap: 18px;
  }

  .sf-product-meta-card {
    padding-top: 0;
  }

  .sf-product-meta-card__head {
    column-gap: 8px;
  }

  .sf-product-meta-card__labels,
  .sf-product-meta-card__badges {
    gap: 8px;
  }

  .sf-product-meta-card__actions {
    gap: 6px;
  }

  .sf-product-rating {
    gap: 6px;
    min-height: 38px;
    padding: 0 8px;
  }

  .sf-product-rating__stars {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
  }

  .sf-product-rating__summary {
    gap: 3px;
  }

  .sf-product-rating__value {
    font-size: 0.82rem;
  }

  .sf-product-rating__count {
    font-size: 0.76rem;
  }

  .sf-favorite-button {
    width: 38px;
    height: 38px;
  }

  .sf-purchase-card__head {
    margin-bottom: 18px;
  }

  .sf-product-header {
    border-radius: 24px;
  }

  .sf-product-header__button span:last-child {
    display: none;
  }

  .sf-product-meta-card__title {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .sf-gallery-stage {
    min-height: 280px;
  }

  .sf-gallery-stage__main {
    aspect-ratio: 1.02;
  }

  .sf-product-tabs-card,
  .sf-review-section,
  .sf-review-form-section,
  .sf-related-products,
  .sf-purchase-card {
    padding: 16px;
    border-radius: 24px;
  }

  .sf-review-card__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .sf-related-products__head {
    align-items: center;
  }

  .sf-related-products__controls {
    flex: 0 0 auto;
  }

  .sf-related-grid {
    grid-auto-columns: 62%;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .sf-related-grid { grid-auto-columns: calc((100% - 24px) / 3.2); }
}
@media (prefers-reduced-motion: reduce) {
  .sf-related-grid { scroll-behavior: auto; }
}

@media (max-width: 359px) {
  .sf-product-meta-card__actions {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }
}

@media (min-width: 768px) {

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

@media (min-width: 1024px) {
  .sf-single-product__shell {
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, 404px);
  }

  .sf-single-product__gallery {
    grid-column: 1;
    grid-row: 1;
  }

  .sf-single-product__content {
    grid-column: 2;
    grid-row: 1;
  }

  .sf-single-product__secondary {
    grid-column: 1 / -1;
  }

  .sf-purchase-card.is-sticky-desktop {
    position: sticky;
    top: 24px;
  }

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

}
.sf-sauce-serving[hidden]{display:none!important}
/* An add-on without a price for the selected size is not offered (same rule as the server). */
.sf-extra-choice[hidden],.sf-extra-group--single[hidden]{display:none!important}
.sf-sauce-serving{grid-column:1/-1;min-width:0;margin:0 0 .35rem;padding:.7rem;border:1px solid var(--sf-border,#8992a333);border-radius:.9rem;background:var(--sf-panel-2,var(--sf-surface-alt));color:var(--sf-text)}
.sf-sauce-serving legend{padding:0 .25rem;font:inherit;font-size:.8rem;color:var(--sf-muted)}
.sf-sauce-serving__options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem}
.sf-sauce-serving__options label{position:relative;min-width:0;cursor:pointer;text-align:center;font-size:.8rem}
.sf-sauce-serving__options input{position:absolute;width:1px;height:1px;opacity:0}
.sf-sauce-serving__options span{display:flex;align-items:center;justify-content:center;min-height:44px;padding:.5rem;border:1px solid var(--sf-border,#8992a355);border-radius:.7rem;color:var(--sf-text);background:var(--sf-surface)}
.sf-sauce-serving__options input:checked+span{border-color:var(--sf-brand);background:color-mix(in srgb,var(--sf-brand) 14%,var(--sf-surface));box-shadow:inset 0 0 0 1px var(--sf-brand)}
.sf-sauce-serving__options input:focus-visible+span{outline:2px solid var(--sf-brand);outline-offset:3px}

/* Native Swefood: swefood-single-product-theme.css */
.sf-single-product[data-sf-color-mode="light"] {
  --sf-page-bg:var(--sf-bg);
  --sf-panel:var(--sf-surface);
  --sf-panel-2:var(--sf-surface-alt);
  --sf-panel-3:var(--sf-surface-alt);
  --sf-panel-soft:var(--sf-surface-alt);
  
  --sf-border-strong:var(--sf-border);
  --sf-shadow: 0 24px 64px rgba(15, 23, 42, 0.12);
  --sf-shadow-soft: 0 14px 30px rgba(15, 23, 42, 0.08);
  --sf-text-primary:var(--sf-text);
  --sf-text-secondary:var(--sf-muted);
  --sf-text-muted:var(--sf-muted);
  --sf-accent:var(--sf-brand);
  --sf-accent-2:var(--sf-brand-hover);
  --sf-accent-soft:var(--sf-brand-soft);
  --sf-menu-bg:var(--sf-bg);
  --sf-menu-panel:var(--sf-surface);
  --sf-menu-panel-2:var(--sf-surface-alt);
  --sf-menu-border:var(--sf-border);
  --sf-menu-shadow: 0 24px 54px rgba(15, 23, 42, 0.12);
  --sf-menu-shadow-soft: 0 14px 28px rgba(15, 23, 42, 0.08);
  --sf-menu-text:var(--sf-text);
  --sf-menu-muted:var(--sf-muted);
  --sf-menu-accent:var(--sf-brand);
  --sf-menu-accent-soft:var(--sf-brand-soft);
}

.sf-single-product[data-sf-color-mode="light"] .woocommerce-message,
.sf-single-product[data-sf-color-mode="light"] .woocommerce-error,
.sf-single-product[data-sf-color-mode="light"] .woocommerce-info,
.sf-single-product[data-sf-color-mode="light"] .sf-product-tabs-card,
.sf-single-product[data-sf-color-mode="light"] .sf-review-section,
.sf-single-product[data-sf-color-mode="light"] .sf-review-form-section,
.sf-single-product[data-sf-color-mode="light"] .sf-related-products,
.sf-single-product[data-sf-color-mode="light"] .sf-purchase-card {
  background:linear-gradient(180deg, color-mix(in srgb, var(--sf-surface) 76%, transparent), color-mix(in srgb, var(--sf-surface) 58%, transparent)),
    var(--sf-panel);
  border-color: var(--sf-border);
  box-shadow: var(--sf-shadow);
}

.sf-single-product[data-sf-color-mode="light"] .sf-product-header {
  background:linear-gradient(180deg, color-mix(in srgb, var(--sf-surface) 96%, transparent), color-mix(in srgb, var(--sf-surface) 92%, transparent)),
    var(--sf-surface);
  border-color:color-mix(in srgb, var(--sf-border) 18%, transparent);
  box-shadow:
    0 20px 40px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: var(--sf-text-primary);
}

.sf-single-product[data-sf-color-mode="light"] .sf-product-header__button,
.sf-single-product[data-sf-color-mode="light"] .sf-product-header__icon,
.sf-single-product[data-sf-color-mode="light"] .sf-product-category-nav__link,
.sf-single-product[data-sf-color-mode="light"] .sf-product-rating,
.sf-single-product[data-sf-color-mode="light"] .sf-product-stat,
.sf-single-product[data-sf-color-mode="light"] .sf-product-kicker,
.sf-single-product[data-sf-color-mode="light"] .sf-product-pill,
.sf-single-product[data-sf-color-mode="light"] .sf-choice,
.sf-single-product[data-sf-color-mode="light"] .sf-extra-group,
.sf-single-product[data-sf-color-mode="light"] .sf-extra-choice,
.sf-single-product[data-sf-color-mode="light"] .sf-review-card,
.sf-single-product[data-sf-color-mode="light"] .sf-review-empty,
.sf-single-product[data-sf-color-mode="light"] .sf-review-form__notice,
.sf-single-product[data-sf-color-mode="light"] .sf-gallery-thumb,
.sf-single-product[data-sf-color-mode="light"] .sf-qty-control,
.sf-single-product[data-sf-color-mode="light"] .sf-total-price,
.sf-single-product[data-sf-color-mode="light"] .sf-purchase-card__info-pill,
.sf-single-product[data-sf-color-mode="light"] .sf-related-products__arrow,
.sf-single-product[data-sf-color-mode="light"] .sf-related-card,
.sf-single-product[data-sf-color-mode="light"] .sf-related-card__image,
.sf-single-product[data-sf-color-mode="light"] .sf-product-notes__textarea,
.sf-single-product[data-sf-color-mode="light"] .sf-review-form input,
.sf-single-product[data-sf-color-mode="light"] .sf-review-form select,
.sf-single-product[data-sf-color-mode="light"] .sf-review-form textarea {
  background:color-mix(in srgb, var(--sf-surface) 96%, transparent);
  border-color: var(--sf-border);
  color: var(--sf-text-primary);
  box-shadow: none;
}

.sf-single-product[data-sf-color-mode="light"] .sf-product-header__button:hover,
.sf-single-product[data-sf-color-mode="light"] .sf-product-header__button:focus-visible,
.sf-single-product[data-sf-color-mode="light"] .sf-product-header__icon:hover,
.sf-single-product[data-sf-color-mode="light"] .sf-product-header__icon:focus-visible,
.sf-single-product[data-sf-color-mode="light"] .sf-product-rating:hover,
.sf-single-product[data-sf-color-mode="light"] .sf-product-rating:focus-visible,
.sf-single-product[data-sf-color-mode="light"] .sf-choice:hover,
.sf-single-product[data-sf-color-mode="light"] .sf-choice:focus-visible,
.sf-single-product[data-sf-color-mode="light"] .sf-choice.is-active,
.sf-single-product[data-sf-color-mode="light"] .sf-related-products__arrow:hover,
.sf-single-product[data-sf-color-mode="light"] .sf-related-products__arrow:focus-visible,
.sf-single-product[data-sf-color-mode="light"] .sf-product-category-nav__link:hover,
.sf-single-product[data-sf-color-mode="light"] .sf-product-category-nav__link:focus-visible,
.sf-single-product[data-sf-color-mode="light"] .sf-product-category-nav__link.is-active {
  background:color-mix(in srgb, var(--sf-brand-soft) 9%, transparent);
  border-color:color-mix(in srgb, var(--sf-focus-ring) 26%, transparent);
  color:var(--sf-text);
  box-shadow: 0 14px 24px color-mix(in srgb, var(--sf-brand) 14.0%, transparent);
}

.sf-single-product[data-sf-color-mode="light"] .sf-product-kicker,
.sf-single-product[data-sf-color-mode="light"] .sf-product-pill--badge,
.sf-single-product[data-sf-color-mode="light"] .sf-product-pill--featured,
.sf-single-product[data-sf-color-mode="light"] .sf-product-loyalty-card,
.sf-single-product[data-sf-color-mode="light"] .sf-total-price {
  background:color-mix(in srgb, var(--sf-brand) 10%, transparent);
  border-color:color-mix(in srgb, var(--sf-brand) 18%, transparent);
  color:var(--sf-brand);
}

.sf-single-product[data-sf-color-mode="light"] .sf-product-pill--sale {
  background:color-mix(in srgb, var(--sf-brand) 8%, transparent);
  border-color:color-mix(in srgb, var(--sf-brand) 16%, transparent);
  color:var(--sf-brand);
}

.sf-single-product[data-sf-color-mode="light"] .sf-product-pill--new,
.sf-single-product[data-sf-color-mode="light"] .sf-product-meta-card__stock .stock {
  background:color-mix(in srgb, var(--sf-brand) 8%, transparent);
  border-color:color-mix(in srgb, var(--sf-brand) 14%, transparent);
  color:var(--sf-brand);
}

.sf-single-product[data-sf-color-mode="light"] .sf-product-meta-card__stock .stock.out-of-stock,
.sf-single-product[data-sf-color-mode="light"] .sf-product-meta-card__stock .out-of-stock {
  background: transparent;
  border-color: transparent;
  color:var(--sf-error);
}

.sf-single-product[data-sf-color-mode="light"] .sf-favorite-button {
  background:color-mix(in srgb, var(--sf-surface) 96%, transparent);
  border-color:color-mix(in srgb, var(--sf-border) 20%, transparent);
  color:var(--sf-muted);
}

.sf-single-product[data-sf-color-mode="light"] .sf-favorite-button:hover,
.sf-single-product[data-sf-color-mode="light"] .sf-favorite-button:focus-visible,
.sf-single-product[data-sf-color-mode="light"] .sf-favorite-button.is-active {
  background:color-mix(in srgb, var(--sf-brand-soft) 10%, transparent);
  border-color:color-mix(in srgb, var(--sf-focus-ring) 24%, transparent);
  color:var(--sf-text);
}

.sf-single-product[data-sf-color-mode="light"] .sf-extra-group {
  background:color-mix(in srgb, var(--sf-surface) 90%, transparent);
  border-color: #c4c4c4;
  box-shadow: inset 0 0 0 1px #c4c4c4;
}

/* Match the existing add-on group outline without changing selected or focused states. */
.sf-single-product .sf-half,
.sf-single-product .sf-product-notes__textarea:not(:focus),
.sf-single-product .sf-qty-control,
.sf-single-product .sf-purchase-card__info-pill,
.sf-single-product .sf-extra-choice:not(.is-selected):not(:hover):not(:focus-within) {
  border-color: var(--sf-extra-group-border);
  box-shadow: var(--sf-extra-group-outline);
}

.sf-single-product[data-sf-color-mode="light"] .sf-half,
.sf-single-product[data-sf-color-mode="light"] .sf-product-notes__textarea:not(:focus),
.sf-single-product[data-sf-color-mode="light"] .sf-qty-control,
.sf-single-product[data-sf-color-mode="light"] .sf-purchase-card__info-pill,
.sf-single-product[data-sf-color-mode="light"] .sf-extra-choice:not(.is-selected):not(:hover):not(:focus-within),
.sf-single-product[data-sf-color-mode="light"] .sf-product-variations .sf-choice:not(.is-active):not(:focus-visible) {
  border-color: #c4c4c4;
  box-shadow: inset 0 0 0 1px #c4c4c4;
}

.sf-single-product .sf-product-variations .sf-choice,
.sf-single-product .sf-product-variations .sf-choice:hover,
.sf-single-product .sf-product-variations .sf-choice:focus-visible {
  background:color-mix(in srgb, var(--sf-surface) 2%, transparent);
  border-color:var(--sf-extra-group-border, #c4c4c4);
  border-radius:22px;
  box-shadow:var(--sf-extra-group-outline, inset 0 0 0 1px #c4c4c4);
}

.sf-single-product[data-sf-color-mode="light"] .sf-product-variations .sf-choice {
  background:color-mix(in srgb, var(--sf-surface) 90%, transparent);
}

.sf-single-product .sf-product-variations .sf-choice.is-active {
  border-color:var(--sf-accent);
  background-image:linear-gradient(color-mix(in srgb, var(--sf-accent) 6%, transparent), color-mix(in srgb, var(--sf-accent) 6%, transparent));
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--sf-accent) 24%, transparent);
}

.sf-single-product .sf-product-variations .sf-choice:focus-visible {
  outline:2px solid var(--sf-accent);
  outline-offset:2px;
}

.sf-single-product[data-sf-color-mode="light"] .sf-extra-choice:hover,
.sf-single-product[data-sf-color-mode="light"] .sf-extra-choice:focus-within,
.sf-single-product[data-sf-color-mode="light"] .sf-extra-choice.is-selected {
  background: var(--sf-accent-soft);
  border-color: var(--sf-border-strong);
}

.sf-single-product[data-sf-color-mode="light"] .sf-product-loyalty-card__icon {
  background:color-mix(in srgb, var(--sf-brand) 10%, transparent);
  color:var(--sf-brand);
}

.sf-single-product[data-sf-color-mode="light"] .sf-choice__meta,
.sf-single-product[data-sf-color-mode="light"] .sf-extra-choice__content,
.sf-single-product[data-sf-color-mode="light"] .sf-purchase-card__tax,
.sf-single-product[data-sf-color-mode="light"] .sf-purchase-card__compare,
.sf-single-product[data-sf-color-mode="light"] .sf-product-category-nav__link,
.sf-single-product[data-sf-color-mode="light"] .sf-product-tabs__trigger,
.sf-single-product[data-sf-color-mode="light"] .sf-review-card__meta,
.sf-single-product[data-sf-color-mode="light"] .sf-related-card__desc,
.sf-single-product[data-sf-color-mode="light"] .sf-product-loyalty-card__content p,
.sf-single-product[data-sf-color-mode="light"] .sf-product-loyalty-card__content span,
.sf-single-product[data-sf-color-mode="light"] .sf-product-notes__textarea::placeholder,
.sf-single-product[data-sf-color-mode="light"] .sf-review-form input::placeholder,
.sf-single-product[data-sf-color-mode="light"] .sf-review-form textarea::placeholder {
  color: var(--sf-text-secondary);
}

.sf-single-product[data-sf-color-mode="light"] .sf-product-tabs {
  border-bottom-color:color-mix(in srgb, var(--sf-border) 16%, transparent);
}

.sf-single-product[data-sf-color-mode="light"] .sf-product-tabs__trigger.is-active {
  color: var(--sf-text-primary);
  border-bottom-color: var(--sf-accent);
}

.sf-single-product[data-sf-color-mode="light"] .sf-product-rating__stars-base {
  color:var(--sf-muted);
}

.sf-single-product[data-sf-color-mode="light"] .sf-product-rating__stars-fill,
.sf-single-product[data-sf-color-mode="light"] .sf-review-card__stars .is-filled {
  color:var(--sf-brand);
  text-shadow: none;
}

.sf-single-product[data-sf-color-mode="light"] .sf-product-section__reset,
.sf-single-product[data-sf-color-mode="light"] .sf-review-section__head a,
.sf-single-product[data-sf-color-mode="light"] .sf-related-products__head a {
  color:var(--sf-brand);
}

.sf-single-product[data-sf-color-mode="light"] .sf-product-section__reset:hover,
.sf-single-product[data-sf-color-mode="light"] .sf-product-section__reset:focus-visible,
.sf-single-product[data-sf-color-mode="light"] .sf-review-section__head a:hover,
.sf-single-product[data-sf-color-mode="light"] .sf-review-section__head a:focus-visible,
.sf-single-product[data-sf-color-mode="light"] .sf-related-products__head a:hover,
.sf-single-product[data-sf-color-mode="light"] .sf-related-products__head a:focus-visible {
  color:var(--sf-brand);
}

.sf-single-product[data-sf-color-mode="light"] .sf-qty-control__button {
  background:color-mix(in srgb, var(--sf-surface) 95%, transparent);
  color: var(--sf-text-primary);
}

.sf-single-product[data-sf-color-mode="light"] .sf-form-feedback,
.sf-single-product[data-sf-color-mode="light"] .sf-variation-feedback {
  background:color-mix(in srgb, var(--sf-brand) 8%, transparent);
  color:var(--sf-brand);
}

.sf-single-product[data-sf-color-mode="light"] .sf-form-feedback.is-success {
  background:color-mix(in srgb, var(--sf-success) 9%, transparent);
  color:var(--sf-success);
}

.sf-single-product[data-sf-color-mode="light"] .sf-extra-group.is-invalid {
  border-color:color-mix(in srgb, var(--sf-error) 18%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sf-brand) 8.0%, transparent);
}

.sf-single-product[data-sf-color-mode="light"] .sf-extra-group__head,
.sf-single-product[data-sf-color-mode="light"] .sf-review-empty,
.sf-single-product[data-sf-color-mode="light"] .sf-review-form__notice {
  border-color:color-mix(in srgb, var(--sf-border) 16%, transparent);
}

.sf-single-product[data-sf-color-mode="light"] .sf-purchase-card__submit,
.sf-single-product[data-sf-color-mode="light"] .sf-related-card__cta,
.sf-single-product[data-sf-color-mode="light"] .sf-review-form__submit {
  color:var(--sf-brand-contrast);
  box-shadow: 0 18px 34px color-mix(in srgb, var(--sf-brand) 22.0%, transparent);
}

.sf-single-product[data-sf-color-mode="light"] .sf-purchase-card__submit:hover,
.sf-single-product[data-sf-color-mode="light"] .sf-purchase-card__submit:focus-visible,
.sf-single-product[data-sf-color-mode="light"] .sf-related-card__cta:hover,
.sf-single-product[data-sf-color-mode="light"] .sf-related-card__cta:focus-visible,
.sf-single-product[data-sf-color-mode="light"] .sf-review-form__submit:hover,
.sf-single-product[data-sf-color-mode="light"] .sf-review-form__submit:focus-visible {
  box-shadow: 0 22px 40px color-mix(in srgb, var(--sf-brand) 24.0%, transparent);
}

.sf-single-product[data-sf-color-mode="light"] .sf-product-lightbox {
  background:color-mix(in srgb, var(--sf-surface) 28%, transparent);
}

.sf-single-product[data-sf-color-mode="light"] .sf-product-lightbox__close {
  background:color-mix(in srgb, var(--sf-surface) 94%, transparent);
  color:var(--sf-text);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

/* Native Swefood: half-pizza.css */
.sf-half{margin:1.2rem 0;padding:1rem;border:1px solid var(--sf-border, #8992a333);border-radius:var(--sf-radius-lg, 20px);background:var(--sf-panel, var(--sf-surface));color:var(--sf-text);font:inherit}
.sf-half [hidden],.sf-half-picker [hidden]{display:none!important}
.sf-half__heading,.sf-half__first,.sf-half__second,.sf-half-picker__head{display:flex;align-items:center;gap:.8rem;justify-content:space-between}
.sf-half h2,.sf-half-picker h2{font:inherit;font-weight:750;font-size:1rem;margin:0;line-height:1.4}
.sf-half h2 span{color:var(--sf-brand)}
.sf-half p{font-size:.8rem;line-height:1.5;color:var(--sf-muted);margin:.3rem 0 0;overflow-wrap:anywhere}
.sf-half__heading>div,.sf-half__first>div,.sf-half__second>div{min-width:0}
.sf-half__button{font:inherit;font-size:.8rem;font-weight:650;line-height:1.3;border:1px solid var(--sf-border, #8992a366);border-radius:999px;padding:.5rem .85rem;background:var(--sf-panel-2,var(--sf-surface-alt));color:var(--sf-text);cursor:pointer;flex-shrink:0;min-height:38px}
.sf-half__button:hover,.sf-half__button:focus-visible{border-color:var(--sf-brand);background:color-mix(in srgb,var(--sf-brand) 12%,var(--sf-surface));color:var(--sf-text)}
.sf-half button:focus-visible,.sf-half-picker button:focus-visible,.sf-half-picker input:focus-visible{outline:2px solid var(--sf-brand);outline-offset:3px}
.sf-half__details{border-top:1px solid var(--sf-border, #8992a333);margin-top:1rem;padding-top:1rem;animation:sf-half-reveal .18s ease-out}
.sf-half small{display:block;text-transform:uppercase;font-size:.65rem;letter-spacing:.06em;color:var(--sf-muted);margin-bottom:.3rem}
.sf-half strong{display:block;font-size:.9rem;line-height:1.5;overflow-wrap:anywhere}
.sf-half__first{justify-content:flex-start;margin-bottom:1rem}
.sf-half__tick{width:2rem;height:2rem;display:grid;place-items:center;border-radius:.75rem;background:color-mix(in srgb,#3dbfa0 15%,transparent);color:#3dbfa0;flex-shrink:0}
.sf-half__second{padding:.85rem;border:1px solid var(--sf-brand);border-radius:1rem;flex-wrap:wrap}
.sf-half__summary{margin-top:1rem;padding:.85rem;border-radius:.85rem;background:var(--sf-panel-2,var(--sf-surface-alt))}
.sf-half__summary>span{display:block;font-size:.8rem;color:var(--sf-muted);margin-top:.25rem}
.sf-half__link{font:inherit;font-size:.8rem;border:0;padding:.6rem 0 0;background:transparent;color:var(--sf-brand);text-decoration:underline;cursor:pointer}
.sf-half__status:empty{display:none}
.sf-half__status{color:var(--sf-text)!important}
.sf-half-picker{box-sizing:border-box;position:fixed;inset:auto;top:var(--sf-half-top,10vh);left:var(--sf-half-left,auto);right:1.5rem;width:min(440px,calc(100vw - 3rem));max-width:none;max-height:80dvh;margin:0;padding:1.2rem;background:var(--sf-panel,var(--sf-surface,#fff));color:var(--sf-text,#172033);border:1px solid var(--sf-border,#8992a366);border-radius:1.25rem;box-shadow:0 20px 70px #0005;font:inherit;overflow:auto;overscroll-behavior:contain;z-index:2147483000}
.sf-half-picker::backdrop{background:#0005;backdrop-filter:blur(3px)}
.sf-half-picker[open]{display:flex;flex-direction:column;overflow:hidden;height:min(80dvh,700px)}
.sf-half-picker__head,.sf-half-picker__search{flex:none}
.sf-half-picker__results{min-height:0;overflow:auto;overscroll-behavior:contain;flex:1 1 auto;-webkit-overflow-scrolling:touch}
.sf-half-picker__head{align-items:flex-start;margin-bottom:1rem}
.sf-half-picker__search{display:block;font-size:.8rem;color:var(--sf-muted);margin-bottom:.8rem}
.sf-half-picker__search input{box-sizing:border-box;display:block;width:100%;padding:.8rem 1rem;margin-top:.35rem;border:1px solid var(--sf-border,#8992a366);border-radius:.8rem;background:var(--sf-panel-2,var(--sf-surface-alt));color:var(--sf-text);font:inherit;font-size:16px}
.sf-half-picker [role=status]{font-size:.85rem;line-height:1.5;color:var(--sf-muted)}
.sf-half-picker__list{display:grid;gap:.65rem}
.sf-half-picker__item{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:.8rem;padding:.7rem 0;border-bottom:1px solid var(--sf-border,#8992a333)}
.sf-half-picker__item img{width:64px;height:64px;object-fit:cover;border-radius:.8rem;background:var(--sf-surface-alt)}
.sf-half-picker__item strong{display:block;font-size:.95rem;overflow-wrap:anywhere}
.sf-half-picker__item p{font-size:.75rem;line-height:1.5;color:var(--sf-muted);margin:.2rem 0;overflow-wrap:anywhere}
.sf-half-picker__price{font-weight:700;font-size:.85rem}
.sf-half-picker__actions{display:flex;gap:.75rem;margin-top:1rem;justify-content:center}
@keyframes sf-half-reveal{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
@media(max-width:767px){.sf-half-picker{inset:auto 0 auto!important;top:calc(var(--sf-half-vtop,0px) + 8px)!important;width:100%;max-height:calc(var(--sf-half-vheight,100dvh) - 16px);border-radius:1.3rem;padding:1rem 1rem max(1rem,env(safe-area-inset-bottom));animation:sf-half-reveal .18s ease-out}.sf-half-picker[open]{height:min(700px,calc(var(--sf-half-vheight,100dvh) - 16px))}.sf-half-picker__item{grid-template-columns:54px minmax(0,1fr) auto;gap:.55rem}.sf-half-picker__item img{width:54px;height:54px}.sf-half__heading{gap:.5rem}.sf-half__button{min-height:44px}.sf-half__second>div{flex:1 1 130px}}
@media(prefers-reduced-motion:reduce){.sf-half__details,.sf-half-picker{animation:none}}

.sf-half-placement[hidden]{display:none!important}
.sf-half-placement{grid-column:1/-1;min-width:0;margin:0 0 .35rem;padding:.7rem;border:1px solid var(--sf-border,#8992a333);border-radius:.9rem;background:var(--sf-panel-2,var(--sf-surface-alt));color:var(--sf-text)}
.sf-half-placement legend{padding:0 .25rem;font:inherit;font-size:.75rem;color:var(--sf-muted);max-width:100%;overflow-wrap:anywhere}
.sf-half-placement__options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem}
.sf-half-placement__option{position:relative;min-width:0;cursor:pointer;font:inherit;font-size:.75rem;line-height:1.35;text-align:center}
.sf-half-placement__option input{position:absolute;width:1px;height:1px;opacity:0}
.sf-half-placement__option span{display:flex;align-items:center;justify-content:center;min-height:44px;height:100%;padding:.5rem .35rem;border:1px solid var(--sf-border,#8992a355);border-radius:.7rem;overflow-wrap:anywhere;color:var(--sf-text);background:var(--sf-surface)}
.sf-half-placement__option input:checked+span{border-color:var(--sf-brand);background:color-mix(in srgb,var(--sf-brand) 14%,var(--sf-surface));box-shadow:inset 0 0 0 1px var(--sf-brand)}
.sf-half-placement__option input:focus-visible+span{outline:2px solid var(--sf-brand);outline-offset:3px}

/* Native Swefood: pizza-builder.css */
/* Swefood pizza builder – customer page. Uses the active Swefood theme tokens. */
.sf-pb {
  --sf-pb-accent: var(--sf-brand, #ea580c);
  --sf-pb-accent-text: var(--sf-brand-contrast, #000);
  --sf-pb-bg: var(--sf-bg, #060d19);
  --sf-pb-surface: var(--sf-surface, #0f172a);
  --sf-pb-surface-2: var(--sf-surface-alt, #0b1222);
  --sf-pb-text: var(--sf-text, #f8fafc);
  --sf-pb-muted: var(--sf-muted, #cbd5e1);
  --sf-pb-border: var(--sf-border, #334155);
  --sf-pb-bottom: 0px;
  --sf-pb-bar-height: 72px;
  --sf-pb-sticky-top: 0px;
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: max(6px, env(safe-area-inset-top, 0px)) 16px calc(var(--sf-pb-bar-height) + var(--sf-pb-bottom) + 24px);
  color: var(--sf-pb-text);
}
.sf-pb *, .sf-pb *::before, .sf-pb *::after { box-sizing: border-box; }
.sf-pb button { font: inherit; color: inherit; }
.sf-pb :focus-visible { outline: 3px solid var(--sf-focus-ring, var(--sf-pb-accent)); outline-offset: 2px; }

.sf-pb__preview {
  margin: 0 0 8px; padding: 8px 12px; border-radius: 12px;
  background: var(--sf-warning-soft, #272326); color: var(--sf-pb-text);
  border: 1px solid var(--sf-warning, #d97706); font-size: .85rem;
}

.sf-pb__head { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: center; gap: 8px; margin-bottom: 2px; }
.sf-pb__title { margin: 0; text-align: center; font-size: clamp(1.52rem, 6.075vw, 2.7rem); line-height: 1.1; letter-spacing: -.01em; font-weight: 800; }
.sf-pb__title em { font-style: italic; font-family: Georgia, "Times New Roman", serif; font-weight: 700; color: var(--sf-pb-accent); }
.sf-pb__icon-button {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--sf-pb-border); background: var(--sf-pb-surface); color: var(--sf-pb-text);
  cursor: pointer; text-decoration: none;
}
.sf-pb__icon-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sf-pb__icon-button:hover { border-color: var(--sf-pb-accent); }

/* Pizza stage: no plate or decoration, the pizza sits on the page background. */
.sf-pb__stage { position: relative; }
.sf-pb__scene { position: relative; width: 100%; max-width: 560px; margin: 0 auto; aspect-ratio: 1 / .78; }
.sf-pb__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.sf-pb__canvas[hidden] { display: none; }
.sf-pb__sizes {
  display: flex; flex-wrap: wrap; justify-content: center; width: max-content; max-width: 100%; margin: 4px auto 0; gap: 3px; padding: 3px;
  border-radius: 22px; border: 1px solid var(--sf-pb-border);
  background: color-mix(in srgb, var(--sf-pb-surface) 88%, transparent);
}
.sf-pb__size {
  display: grid; justify-items: center; min-width: 64px; max-width: 100%; min-height: 40px; padding: 3px 12px; border: 0; border-radius: 999px;
  background: transparent; cursor: pointer; line-height: 1.1;
}
.sf-pb__size-label { font-weight: 700; font-size: .84rem; overflow-wrap: anywhere; }
.sf-pb__size-price { display: block; font-size: .7rem; color: var(--sf-pb-muted); overflow-wrap: anywhere; }
.sf-pb__size[aria-checked="true"] { background: var(--sf-pb-text); color: var(--sf-pb-surface); }
.sf-pb__size[aria-checked="true"] .sf-pb__size-price { color: inherit; opacity: .75; }
.sf-pb__status { margin: 0; text-align: center; color: var(--sf-pb-muted); font-size: .9rem; min-height: 1.3em; }
.sf-pb__notice { margin: 4px auto 0; max-width: 520px; text-align: center; font-size: .8rem; color: var(--sf-pb-muted); }
.sf-pb__notice[hidden] { display: none; }

.sf-pb__section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 10px 0 6px; }
.sf-pb__section-head h2 { margin: 0; font-size: 1.05rem; }
.sf-pb__count { font-size: .82rem; color: var(--sf-pb-muted); }
.sf-pb__rules { margin: 0 0 8px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.sf-pb__rules li, .sf-pb__rules-text { font-size: .78rem; padding: 3px 10px; border-radius: 999px; background: var(--sf-pb-surface); border: 1px solid var(--sf-pb-border); color: var(--sf-pb-muted); }
.sf-pb__rules-text { display: inline-block; margin: 0 0 8px; }
.sf-pb__error { margin: 0 0 8px; padding: 8px 12px; border-radius: 12px; background: var(--sf-error-soft, #28192a); border: 1px solid var(--sf-error, #dc2626); color: var(--sf-pb-text); font-size: .88rem; }
.sf-pb__error[hidden] { display: none; }

.sf-pb__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px 6px; }
.sf-pb__item { display: grid; gap: 4px; align-content: start; min-width: 0; }
.sf-pb__choice {
  position: relative; display: grid; justify-items: center; gap: 2px; width: 100%; min-height: 44px; padding: 4px 2px 2px;
  border: 0; border-radius: 14px; background: transparent; cursor: pointer; text-align: center;
  transition: transform .15s ease;
}
.sf-pb__choice:active { transform: scale(.96); }
.sf-pb__choice:disabled { cursor: not-allowed; opacity: .45; }
.sf-pb__thumb {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--sf-pb-surface) 70%, #ffffff 8%), var(--sf-pb-surface-2));
  border: 2px solid var(--sf-pb-border); transition: border-color .2s ease, box-shadow .2s ease;
}
.sf-pb__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sf-pb__check {
  position: absolute; top: 0; left: calc(50% + 16px); width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sf-pb-accent); color: var(--sf-pb-accent-text);
  transform: scale(0); transition: transform .2s cubic-bezier(.3,1.6,.6,1); box-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.sf-pb__check svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sf-pb__name { font-weight: 700; font-size: .8rem; line-height: 1.15; overflow-wrap: anywhere; hyphens: auto; }
.sf-pb__price { font-size: .74rem; color: var(--sf-pb-muted); line-height: 1.15; }
.sf-pb__item.is-selected .sf-pb__thumb { border-color: var(--sf-pb-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sf-pb-accent) 30%, transparent); }
.sf-pb__item.is-selected .sf-pb__check { transform: scale(1); }
.sf-pb__item.is-selected .sf-pb__price { color: var(--sf-pb-text); }
.sf-pb__item.is-flagged .sf-pb__thumb { border-color: var(--sf-error, #dc2626); }
.sf-pb__serving { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 2px; border-radius: 10px; background: var(--sf-pb-surface-2); border: 1px solid var(--sf-pb-border); }
.sf-pb__serving[hidden] { display: none; }
.sf-pb__serving button { min-height: 32px; border: 0; border-radius: 8px; background: transparent; font-size: .7rem; font-weight: 700; cursor: pointer; padding: 2px; line-height: 1.1; }
.sf-pb__serving button[aria-checked="true"] { background: var(--sf-pb-accent); color: var(--sf-pb-accent-text); }

.sf-pb__extras { display: grid; gap: 12px; margin-top: 18px; }
.sf-pb__info { border: 1px solid var(--sf-pb-border); border-radius: 14px; background: var(--sf-pb-surface); padding: 0 14px; }
.sf-pb__info summary { cursor: pointer; padding: 11px 0; font-weight: 700; }
.sf-pb__info p { margin: 0 0 12px; color: var(--sf-pb-muted); font-size: .9rem; }
.sf-pb__note { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
.sf-pb__note textarea { width: 100%; min-height: 60px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--sf-pb-border); background: var(--sf-pb-surface); color: var(--sf-pb-text); font: inherit; resize: vertical; }

.sf-pb__bar {
  position: fixed; left: 50%; bottom: calc(var(--sf-pb-bottom) + 8px + env(safe-area-inset-bottom, 0px)); z-index: 1000;
  transform: translateX(-50%); width: min(720px, calc(100% - 20px));
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px; padding: 8px 8px 8px 14px;
  border-radius: 20px; border: 1px solid var(--sf-pb-border);
  background: color-mix(in srgb, var(--sf-pb-surface) 95%, transparent); backdrop-filter: blur(12px);
  box-shadow: 0 16px 38px rgba(2, 6, 23, .45);
  transition: opacity .2s ease, transform .2s ease;
}
.sf-pb.is-typing .sf-pb__bar, .sf-pb.has-dialog .sf-pb__bar { opacity: 0; pointer-events: none; transform: translate(-50%, 20px); }
.sf-pb__summary { display: grid; min-width: 0; }
.sf-pb__total { font-size: 1.22rem; font-weight: 800; line-height: 1.1; }
.sf-pb__breakdown { font-size: .7rem; color: var(--sf-pb-muted); overflow-wrap: anywhere; line-height: 1.25; }
.sf-pb__qty { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--sf-pb-border); border-radius: 999px; padding: 2px; }
.sf-pb__qty button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; font-size: 1.15rem; cursor: pointer; }
.sf-pb__qty button:disabled { opacity: .35; cursor: default; }
.sf-pb__qty output { min-width: 16px; text-align: center; font-weight: 700; }
.sf-pb__order {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px;
  border: 0; border-radius: 999px; cursor: pointer; font-weight: 800; font-size: 1rem;
  background: var(--sf-pb-accent); color: var(--sf-pb-accent-text);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--sf-pb-accent) 38%, transparent);
}
.sf-pb__order svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sf-pb__order:hover { background: var(--sf-brand-hover, var(--sf-pb-accent)); }
.sf-pb__order:disabled { opacity: .6; cursor: progress; }

/* One dialog, two steps (sauces, drinks), sharing header, total and actions. */
.sf-pb__dialog {
  width: min(560px, 100%); max-width: 100%; max-height: min(90dvh, 780px); margin: auto auto 0; padding: 0; border: 0;
  border-radius: 24px 24px 0 0; background: var(--sf-pb-surface); color: var(--sf-pb-text);
  box-shadow: 0 -10px 40px rgba(2, 6, 23, .5);
}
.sf-pb__dialog::backdrop { background: rgba(2, 6, 23, .6); backdrop-filter: blur(2px); }
.sf-pb__dialog[open] { animation: sf-pb-sheet .26s ease-out; }
@keyframes sf-pb-sheet { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.sf-pb__dialog-inner { display: flex; flex-direction: column; max-height: inherit; }
.sf-pb__dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 16px 10px; }
.sf-pb__dialog-head h2 { margin: 0; font-size: 1.18rem; line-height: 1.25; outline: none; }
.sf-pb__step { margin: 0 0 2px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--sf-pb-accent); }
.sf-pb__panel { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 16px 8px; }
.sf-pb__panel[hidden] { display: none; }
.sf-pb__grid--sauces { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px 8px; }
.sf-pb__dialog > .sf-pb__dialog-inner > .sf-pb__error { margin: 0 16px 8px; }
.sf-pb__dialog-foot { border-top: 1px solid var(--sf-pb-border); padding: 10px 16px calc(14px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 8px; }
.sf-pb__dialog-actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.sf-pb__drinks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sf-pb__drink { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 8px; border-radius: 16px; border: 1px solid var(--sf-pb-border); background: var(--sf-pb-surface-2); }
.sf-pb__drink.is-selected { border-color: var(--sf-pb-accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--sf-pb-accent) 25%, transparent); }
.sf-pb__drink-media img, .sf-pb__drink-ph { display: block; width: 52px; height: 52px; border-radius: 12px; object-fit: cover; background: var(--sf-pb-surface); }
.sf-pb__drink-text { display: grid; min-width: 0; }
.sf-pb__drink-name { font-weight: 700; overflow-wrap: anywhere; }
.sf-pb__drink-price { font-size: .85rem; color: var(--sf-pb-muted); }
.sf-pb__stepper { display: inline-flex; align-items: center; gap: 4px; }
.sf-pb__stepper button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--sf-pb-border); background: var(--sf-pb-surface); font-size: 1.15rem; cursor: pointer; }
.sf-pb__stepper button:disabled { opacity: .35; cursor: default; }
.sf-pb__stepper output { min-width: 20px; text-align: center; font-weight: 700; }
.sf-pb__receipt { margin-top: 12px; border-top: 1px solid var(--sf-pb-border); padding-top: 10px; font-size: .86rem; }
.sf-pb__receipt ul { list-style: none; margin: 4px 0 8px; padding: 0; color: var(--sf-pb-muted); }
.sf-pb__receipt li, .sf-pb__receipt p { display: flex; justify-content: space-between; gap: 12px; margin: 0; }
.sf-pb__receipt li span:first-child { overflow-wrap: anywhere; }
.sf-pb__receipt-head { margin-top: 6px !important; font-weight: 700; }
.sf-pb__receipt-tax { justify-content: flex-end !important; color: var(--sf-pb-muted); font-size: .78rem; }
.sf-pb__secondary { min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--sf-pb-border); background: transparent; cursor: pointer; font-weight: 700; }

/* Topping tiles as cards with a +/✓ badge. */
.sf-pb__choice { border: 1px solid color-mix(in srgb, var(--sf-pb-border) 80%, transparent); background: color-mix(in srgb, var(--sf-pb-surface) 70%, transparent); padding: 6px 2px 5px; }
.sf-pb__item.is-selected .sf-pb__choice { border-color: var(--sf-pb-accent); background: color-mix(in srgb, var(--sf-pb-accent) 10%, var(--sf-pb-surface)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--sf-pb-accent) 45%, transparent), 0 6px 18px -8px color-mix(in srgb, var(--sf-pb-accent) 70%, transparent); }
.sf-pb__item.is-selected .sf-pb__thumb { box-shadow: none; }
.sf-pb__item[hidden] { display: none; }
.sf-pb__check { top: 4px; left: auto; right: 4px; transform: none; background: color-mix(in srgb, var(--sf-pb-surface) 80%, transparent); color: var(--sf-pb-text); border: 1.5px solid color-mix(in srgb, var(--sf-pb-text) 70%, transparent); box-shadow: none; }
.sf-pb__check-on { display: none; }
.sf-pb__item.is-selected .sf-pb__check { background: var(--sf-pb-accent); color: var(--sf-pb-accent-text); border-color: var(--sf-pb-accent); }
.sf-pb__item.is-selected .sf-pb__check-on { display: block; }
.sf-pb__item.is-selected .sf-pb__check-off { display: none; }
.sf-pb__section-head { align-items: center; }
.sf-pb__section-head h2 { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.sf-pb__search { position: relative; display: flex; align-items: center; flex: 0 1 220px; min-width: 0; }
.sf-pb__search svg { position: absolute; left: 10px; width: 16px; height: 16px; fill: none; stroke: var(--sf-pb-muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.sf-pb__search input { width: 100%; min-height: 36px; padding: 6px 12px 6px 32px; border-radius: 999px; border: 1px solid var(--sf-pb-border); background: var(--sf-pb-surface); color: var(--sf-pb-text); font: inherit; font-size: .85rem; }

/* Dialog: centred step header, pizza summary, actions. */
.sf-pb__dialog-head { position: relative; display: grid; justify-items: center; text-align: center; gap: 2px; padding: 16px 52px 8px; }
.sf-pb__dialog-head h2 { font-size: clamp(1.4rem, 6vw, 1.9rem); font-weight: 800; }
.sf-pb__step { margin: 0 0 4px; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--sf-pb-border); background: color-mix(in srgb, var(--sf-pb-surface) 80%, transparent); color: var(--sf-pb-text); text-transform: none; letter-spacing: 0; font-size: .8rem; }
.sf-pb__dialog-hint { margin: 0; color: var(--sf-pb-muted); font-size: .9rem; }
.sf-pb__dialog-close { position: absolute; top: 12px; right: 12px; }
.sf-pb__grid--sauces { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sf-pb__grid--sauces .sf-pb__choice { border-radius: 18px; padding: 10px 6px 8px; }
.sf-pb__grid--sauces .sf-pb__thumb { width: 76px; height: 76px; }
.sf-pb__summary-card { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 16px; border: 1px solid var(--sf-pb-border); background: color-mix(in srgb, var(--sf-pb-surface-2) 85%, transparent); }
.sf-pb__summary-card img { width: 48px; height: 48px; object-fit: contain; }
.sf-pb__summary-text { display: grid; min-width: 0; font-size: .8rem; color: var(--sf-pb-muted); line-height: 1.3; }
.sf-pb__summary-text strong { color: var(--sf-pb-text); font-size: .95rem; }
.sf-pb__summary-total { display: grid; justify-items: end; padding-left: 10px; border-left: 1px solid var(--sf-pb-border); line-height: 1.2; }
.sf-pb__summary-total strong { font-size: 1.15rem; }
.sf-pb__summary-total small { font-size: .66rem; color: var(--sf-pb-muted); max-width: 120px; text-align: right; }
.sf-pb__secondary { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.sf-pb__secondary svg, .sf-pb__dialog-actions .sf-pb__order svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Isolate the shared page shell, including its footer. Isolating main alone
   puts its fixed negative-z video above later in-flow siblings such as footer. */
body.sf-page-pizza-builder .sf-frontend-shell { isolation:isolate; }
.sf-pb.sf-pb--photo { position:relative; isolation:auto; }
.sf-pb__oven {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  pointer-events: none; opacity: 0; transition: opacity .45s ease;
}
.sf-pb.is-oven-background > .sf-pb__oven { opacity: 1; }
.sf-pb__oven video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 35%; pointer-events: none;
}
.sf-pb__oven-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg,rgba(6,13,25,.55),rgba(6,13,25,.66) 45%,rgba(6,13,25,.82));
}
.sf-pb.is-oven-background :is(.sf-pb__title,.sf-pb__status,.sf-pb__section-head,.sf-pb__name,.sf-pb__price) {
  text-shadow: 0 1px 4px rgba(0,0,0,.95);
}
/* Native dialogs remain above the same document video; they own no video. */
.sf-pb__dialog.has-oven {
  width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh;
  margin: 0; padding: 0; border-radius: 0; background: transparent;
  box-shadow: none; overflow: hidden;
}
.sf-pb__dialog.has-oven::backdrop { background: rgba(2,6,15,.24); backdrop-filter: none; }
.sf-pb__dialog.has-oven[open] { animation: none; }
.sf-pb__dialog.has-oven .sf-pb__dialog-inner {
  position: absolute; left: 50%; bottom: max(10px,env(safe-area-inset-bottom,0px));
  transform: translateX(-50%); width: min(560px,calc(100% - 20px));
  max-height: calc(100dvh - 120px); border-radius: 24px;
  background: color-mix(in srgb,var(--sf-pb-surface) 92%,transparent);
  backdrop-filter: blur(10px) saturate(1.1);
  border: 1px solid color-mix(in srgb,var(--sf-pb-accent) 45%,transparent);
  box-shadow: 0 0 0 1px rgba(255,255,255,.04),0 -6px 40px color-mix(in srgb,var(--sf-pb-accent) 28%,transparent);
  animation: sf-pb-oven-sheet .2s ease-out;
}
.sf-pb__dialog.has-oven .sf-pb__dialog-foot { border-top: 0; }
@keyframes sf-pb-oven-sheet {
  from { transform: translate(-50%,8px); opacity: 0; }
  to { transform: translate(-50%,0); opacity: 1; }
}
@media (max-width: 899px) {
  .sf-pb.is-oven-background .sf-pb__stage {
    background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none;
  }
  .sf-pb--photo.is-oven-background .sf-pb__ingredients {
    clip-path:inset(var(--sf-pb-ingredients-clip,0px) -12px -12px);
  }
}
@media (min-width: 900px) { .sf-pb__oven video { object-position: 50% 28%; } }
@media (prefers-reduced-motion: reduce) { .sf-pb__oven { display: none; } }

/* Mobile: compact header, pinned sizes + pizza, page-scrolled toppings. */
@media (max-width: 899px) {
  /* `hidden` makes <body> a scroll container that never scrolls, which disables
     sticky positioning; `clip` keeps the same containment without that. html keeps
     its own rule, and an open Swefood modal keeps its scroll lock. */
  body.swefood-frontend.sf-page-pizza-builder:not(.sf-location-modal-open) { overflow-x: clip; overflow-y: visible; }
  .sf-pb { padding-top: env(safe-area-inset-top, 0px); }
  .sf-pb__head { grid-template-columns: 34px 1fr 34px; gap: 6px; margin-bottom: 0; }
  .sf-pb__head .sf-pb__icon-button { width: 34px; height: 34px; }
  .sf-pb__title { font-size: clamp(1.35rem, 6.3vw, 1.6875rem); }
  .sf-pb__sizes { margin-top: 2px; padding: 2px; }
  .sf-pb__size { min-height: 36px; min-width: 0; padding: 2px 12px; }
  .sf-pb__section-head { margin: 6px 0 4px; }
  .sf-pb__section-head h2 { font-size: .98rem; }
  .sf-pb__grid { gap: 6px 4px; }
  .sf-pb__name { font-size: clamp(.7rem, 3.05vw, .8rem); overflow-wrap: normal; word-break: normal; hyphens: manual; }
  .sf-pb__stage {
    position: sticky; top: calc(var(--sf-pb-sticky-top) + env(safe-area-inset-top, 0px)); z-index: 20; margin: 0 -16px; padding: 0 16px 4px;
    background: var(--sf-pb-bg);
    box-shadow: 0 10px 14px -12px rgba(0, 0, 0, .6);
  }
  .sf-pb__scene { aspect-ratio: auto; height: var(--sf-pb-scene-h, 250px); max-width: none; }
  .sf-pb__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sf-pb__extras { margin-top: 14px; }
}

@media (min-width: 900px) {
  .sf-pb { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 40px; align-items: start; padding-top: max(12px, env(safe-area-inset-top, 0px)); }
  .sf-pb__preview, .sf-pb__head { grid-column: 1 / -1; }
  .sf-pb__head { grid-template-columns: 44px 1fr 44px; margin-bottom: 6px; }
  .sf-pb__stage { grid-column: 1; grid-row: span 3; position: sticky; top: calc(var(--sf-pb-sticky-top) + 20px); }
  .sf-pb__ingredients, .sf-pb__extras { grid-column: 2; }
  .sf-pb__section-head { margin-top: 4px; }
  .sf-pb__grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 14px 8px; }
  .sf-pb__thumb { width: 68px; height: 68px; }
  .sf-pb__check { top: 6px; right: 6px; }
  .sf-pb__dialog { margin: auto; border-radius: 24px; }
}

/* Short phones: smaller tiles and controls so two rows still fit under the pizza. */
@media (max-width: 899px) and (max-height: 720px) {
  .sf-pb__thumb { width: 48px; height: 48px; }
  .sf-pb__check { top: 3px; right: 3px; width: 20px; height: 20px; }
  .sf-pb__choice { padding-top: 2px; gap: 1px; }
  .sf-pb__price { font-size: .7rem; }
  .sf-pb__size { min-height: 32px; }
  .sf-pb__head .sf-pb__icon-button { width: 32px; height: 32px; }
  .sf-pb__order { min-height: 44px; }
  .sf-pb__qty button { width: 30px; height: 30px; }
}

@media (max-width: 360px) {
  .sf-pb__bar { grid-template-columns: 1fr auto; }
  .sf-pb__qty { grid-row: 2; grid-column: 1; justify-self: start; }
  .sf-pb__order { grid-row: 1 / span 2; grid-column: 2; padding: 0 14px; }
  .sf-pb__size { min-width: 52px; padding: 3px 8px; }
  .sf-pb__grid { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .sf-pb *, .sf-pb__dialog[open] { transition: none !important; animation: none !important; }
}

/* Keep both dialog actions on one line on phones. */
.sf-pb__dialog-actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
.sf-pb__dialog-actions > button { white-space: nowrap; min-width: 0; padding: 0 14px; font-size: clamp(.86rem, 3.7vw, 1rem); }
.sf-pb__dialog-actions > button span { overflow: hidden; text-overflow: ellipsis; }

/* Swefood's frontend shell does not load the theme's screen-reader-text rule, so the
   search label would otherwise show as text and push the topping grid down. */
.sf-pb .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.sf-pb__breakdown { overflow-wrap: normal; }
@media (max-width: 420px) {
  .sf-pb__bar { gap: 6px; padding-left: 12px; }
  .sf-pb__order { padding: 0 14px; }
  .sf-pb__qty button { width: 30px; height: 30px; }
}

/* Photographic builder; existing theme and purchase controls stay authoritative. */
.sf-pb.sf-pb--photo{max-width:1740px}
.sf-pb--photo [hidden]{display:none!important}
.sf-pb--photo .sf-pb__grid{gap:14px;grid-template-columns:repeat(auto-fit,minmax(118px,1fr))}
.sf-pb--photo .sf-pb__choice{border-radius:17px;padding:12px 8px;min-height:164px;gap:7px;height:100%}
.sf-pb--photo .sf-pb__thumb{width:88px;height:88px;border:0;background:transparent;border-radius:12px;overflow:visible}
.sf-pb--photo .sf-pb__thumb img{object-fit:contain;filter:drop-shadow(0 3px 3px #0002)}
.sf-pb--photo .sf-pb__name{font-size:.9rem;line-height:1.25;min-height:2.5em;display:grid;align-content:center}
.sf-pb--photo .sf-pb__check{top:8px;right:8px;left:auto}
.sf-pb--photo .sf-pb__photo-placeholder{position:absolute;inset:0;display:grid;align-content:center;justify-items:center;gap:16px;padding:32px;text-align:center;border:1px solid var(--sf-pb-border);border-radius:24px;background:var(--sf-pb-surface);color:var(--sf-pb-text)}
.sf-pb--photo .sf-pb__photo-placeholder p{max-width:36em;overflow-wrap:anywhere}
.sf-pb--photo .sf-pb__photo-placeholder button{border:1px solid var(--sf-pb-border);border-radius:12px;padding:10px 16px;background:var(--sf-pb-surface-2)}
@media(min-width:900px){
.sf-pb.sf-pb--photo{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.1fr);gap:24px 36px;align-items:start}
.sf-pb--photo .sf-pb__head,.sf-pb--photo .sf-pb__preview{grid-column:1/-1}
.sf-pb--photo .sf-pb__stage{grid-column:1;grid-row:2;position:sticky;top:calc(var(--sf-pb-sticky-top) + 12px);align-self:start}
.sf-pb--photo .sf-pb__scene{width:100%;max-width:680px;height:auto;aspect-ratio:1;margin:0 auto}
.sf-pb--photo .sf-pb__ingredients{grid-column:2;grid-row:2;min-width:0}
.sf-pb--photo .sf-pb__extras{grid-column:2;min-width:0}
.sf-pb--photo .sf-pb__sizes{position:relative;inset:auto;justify-content:center;margin:0 auto 8px}
}
@media(min-width:1700px){.sf-pb--photo .sf-pb__ingredients>.sf-pb__grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:899px){
.sf-pb--photo .sf-pb__scene{height:var(--sf-pb-scene-h,240px);aspect-ratio:auto}
.sf-pb--photo .sf-pb__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.sf-pb--photo .sf-pb__choice{min-height:146px;padding:8px 5px}
.sf-pb--photo .sf-pb__thumb{width:72px;height:72px}
.sf-pb--photo .sf-pb__section-head{flex-wrap:wrap;gap:6px}
.sf-pb--photo .sf-pb__search{max-width:none;width:100%}
.sf-pb--photo .sf-pb__name{font-size:.8rem}
}
@media(max-height:720px) and (max-width:899px){
.sf-pb--photo .sf-pb__choice{min-height:124px;padding:6px 4px;gap:3px}
.sf-pb--photo .sf-pb__thumb{width:56px;height:56px}
}

/* Compact phone cards leave ingredient rows visible below the sticky pizza. */
.sf-pb--photo [hidden]{display:none!important}
@media(min-width:900px){.sf-pb--photo .sf-pb__stage,.sf-pb--photo .sf-pb__ingredients{grid-row:auto}}
@media(max-width:899px){
.sf-pb--photo .sf-pb__choice{min-height:130px;padding:6px 5px;gap:3px}
.sf-pb--photo .sf-pb__thumb{width:64px;height:64px}
.sf-pb--photo .sf-pb__name{min-height:2em;line-height:1.2}
.sf-pb--photo .sf-pb__section-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,1.25fr);gap:6px;align-items:center;min-height:40px}
.sf-pb--photo .sf-pb__section-head h2{display:flex;align-items:baseline;gap:4px;margin:0;min-width:0;white-space:nowrap;font-size:.88rem}
.sf-pb--photo .sf-pb__count{font-size:.65rem;white-space:nowrap}
.sf-pb--photo .sf-pb__search{min-width:0;width:100%}
.sf-pb--photo .sf-pb__search input{min-width:0;width:100%;font-size:16px}
.sf-pb--photo .sf-pb__photo-placeholder{font-size:.8rem;gap:8px;padding:12px}
}
@media(max-height:720px) and (max-width:899px){
.sf-pb--photo .sf-pb__choice{min-height:110px;padding:4px;gap:2px}
.sf-pb--photo .sf-pb__thumb{width:48px;height:48px}
.sf-pb--photo .sf-pb__name{font-size:.72rem}
.sf-pb--photo .sf-pb__price{font-size:.7rem}
}

/* One pre-rendered round tile per ingredient on every screen size; no runtime image swap. */
.sf-pb--photo .sf-pb__ingredients .sf-pb__thumb {
  position:relative;border-radius:50%;overflow:hidden;
  border:1.5px solid var(--sf-pb-border);background:var(--sf-pb-surface-2);
}
.sf-pb--photo .sf-pb__ingredients .sf-pb__thumb > img {padding:5%;border-radius:50%}
.sf-pb--photo .sf-pb__ingredients .sf-pb__thumb.is-composed > img {
  padding:0;border-radius:0;filter:drop-shadow(0 1px 1px rgba(0,0,0,.22));
}
/* Open circular ingredient choices and a bounded phone preview. */
@media (max-width:599px) {
  .sf-pb--photo .sf-pb__ingredients > .sf-pb__grid {
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:6px 2px;
  }
  .sf-pb--photo .sf-pb__ingredients .sf-pb__choice {
    min-height:120px;padding:1px 0;gap:1px;border-radius:16px;
    border:0;background:transparent;box-shadow:none;
  }
  .sf-pb--photo .sf-pb__ingredients .sf-pb__thumb {
    --sf-pb-choice-circle:clamp(72px,calc((100vw - 54px) / 4),82px);
    position:relative;width:var(--sf-pb-choice-circle);height:var(--sf-pb-choice-circle);
    max-width:100%;border-radius:50%;overflow:hidden;
    border:1.5px solid var(--sf-pb-border);background:var(--sf-pb-surface-2);
  }
  .sf-pb--photo .sf-pb__ingredients .sf-pb__thumb > img {padding:5%;border-radius:50%}
  .sf-pb--photo.is-oven-background .sf-pb__ingredients :is(.sf-pb__name,.sf-pb__price,.sf-pb__section-head) {
    color:#f8fafc;
  }
  .sf-pb--photo .sf-pb__ingredients .sf-pb__name {
    width:100%;min-width:0;min-height:2.2em;font-size:.7rem;line-height:1.1;
    overflow-wrap:anywhere;word-break:normal;hyphens:auto;
  }
  .sf-pb--photo .sf-pb__ingredients .sf-pb__price {
    font-size:.68rem;line-height:1.1;white-space:nowrap;
  }
  .sf-pb--photo .sf-pb__ingredients .sf-pb__check {
    display:none;width:20px;height:20px;top:1px;right:auto;
    left:calc(50% + clamp(72px,calc((100vw - 54px) / 4),82px) * .29);
  }
  .sf-pb--photo .sf-pb__ingredients .is-selected .sf-pb__choice {
    border:0;background:transparent;box-shadow:none;
  }
  .sf-pb--photo .sf-pb__ingredients .is-selected .sf-pb__thumb {
    border-color:var(--sf-pb-accent);
    background:color-mix(in srgb,var(--sf-pb-accent) 12%,var(--sf-pb-surface));
    box-shadow:0 0 0 2px color-mix(in srgb,var(--sf-pb-accent) 25%,transparent),0 3px 14px color-mix(in srgb,var(--sf-pb-accent) 20%,transparent);
  }
  .sf-pb--photo .sf-pb__ingredients .is-selected .sf-pb__check {display:grid}
  .sf-pb--photo .sf-pb__ingredients .sf-pb__check svg {width:12px;height:12px}
  .sf-pb--photo .sf-pb__ingredients .sf-pb__choice:focus-visible {outline:none}
  .sf-pb--photo .sf-pb__ingredients .sf-pb__choice:focus-visible .sf-pb__thumb {
    outline:3px solid var(--sf-focus-ring,var(--sf-pb-accent));outline-offset:3px;
  }
}
@media (max-width:359px) {
  .sf-pb--photo .sf-pb__ingredients > .sf-pb__grid {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:899px) {
  .sf-pb--photo .sf-pb__section-head {
    display:block;min-height:0;margin:4px 0 6px;
  }
  .sf-pb--photo .sf-pb__section-head h2 {
    display:flex;align-items:baseline;gap:6px;height:auto;
    font-size:.88rem;line-height:1.15;white-space:normal;
  }
  .sf-pb--photo .sf-pb__count {
    display:inline;min-height:0;margin:0;font-size:.65rem;line-height:1.2;white-space:nowrap;
  }
  .sf-pb--photo .sf-pb__ingredients .sf-pb__search {display:none}
}
@media (max-width:599px) and (orientation:portrait) {
  .sf-pb--photo {
    --sf-pb-mobile-pizza:clamp(210px,60vw,245px);
    --sf-pb-mobile-canvas:calc(var(--sf-pb-mobile-pizza) * 1.136364);
  }
  .sf-pb--photo .sf-pb__head {grid-template-columns:44px minmax(0,1fr) 44px;gap:4px;margin-inline:-8px;padding-block:3px}
  .sf-pb--photo .sf-pb__head .sf-pb__icon-button {width:44px;height:44px}
  .sf-pb--photo .sf-pb__head .sf-pb__icon-button svg {width:25px;height:25px}
  .sf-pb--photo .sf-pb__title {font-size:clamp(1.3rem,calc(8.2vw - 5.2px),1.875rem)}
  .sf-pb--photo .sf-pb__sizes {margin:0 auto;padding:2px}
  .sf-pb--photo .sf-pb__size {min-height:28px;padding:1px 10px}
  .sf-pb--photo .sf-pb__size-label {font-size:.75rem;line-height:1.1}
  .sf-pb--photo .sf-pb__size-price {font-size:.625rem;line-height:1.1}
  .sf-pb--photo .sf-pb__scene {
    width:100%;max-width:none;height:calc(var(--sf-pb-mobile-pizza) + 4px);
    margin:0 auto;overflow:hidden;
  }
  .sf-pb--photo .sf-pb__scene > .sf-pb__canvas {
    top:50%;right:auto;bottom:auto;left:50%;
    width:var(--sf-pb-mobile-canvas);height:var(--sf-pb-mobile-canvas);
    transform:translate(-50%,-50%);
  }
  .sf-pb--photo[data-size="S"] .sf-pb__scene > .sf-pb__canvas {
    width:calc(var(--sf-pb-mobile-canvas) * 1.282051);
    height:calc(var(--sf-pb-mobile-canvas) * 1.282051);
  }
  .sf-pb--photo[data-size="M"] .sf-pb__scene > .sf-pb__canvas {
    width:calc(var(--sf-pb-mobile-canvas) * 1.123596);
    height:calc(var(--sf-pb-mobile-canvas) * 1.123596);
  }
  .sf-pb--photo .sf-pb__ingredients .sf-pb__item {
    scroll-margin-block-start:calc(var(--sf-pb-sticky-top) + var(--sf-pb-mobile-pizza) + 48px);
    scroll-margin-block-end:calc(var(--sf-pb-bar-height) + var(--sf-pb-bottom) + 12px);
  }
}

/* The smallest phones need the last pixels for the title. */
@media (max-width:359px) and (orientation:portrait) {
  .sf-pb--photo .sf-pb__head {grid-template-columns:42px minmax(0,1fr) 42px}
  .sf-pb--photo .sf-pb__head .sf-pb__icon-button {width:42px;height:42px}
}

/* Native Swefood: swefood-kitchen-manager-page.css */
.sf-page-kitchen-manager{
  --sf-kitchen-bg:radial-gradient(circle at top, rgba(255,122,26,.16), transparent 32%), linear-gradient(180deg, #09111f 0%, #07101d 52%, #050b16 100%);
  --sf-kitchen-card:rgba(16, 25, 43, 0.94);
  --sf-kitchen-border:rgba(255,255,255,.08);
  --sf-kitchen-border-accent:rgba(255,122,26,.28);
  --sf-kitchen-text:#f8fafc;
  --sf-kitchen-muted:#94a3b8;
  --sf-kitchen-accent:#ff7a1a;
  --sf-kitchen-shadow:0 24px 50px rgba(0,0,0,.34);
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.12), transparent 28%),
    linear-gradient(180deg, #07111f 0%, #0b1322 100%);
}

.sf-page-kitchen-manager .sf-frontend-shell{
  min-height:100vh;
  background:var(--sf-kitchen-bg);
}

.sf-kitchen-page{
  min-height:100vh;
  color:var(--sf-kitchen-text);
  padding:22px 18px;
}

.sf-page-kitchen-manager .sf-manager-shell{
  width:min(1460px, 100%);
  margin:0 auto;
  display:grid;
  gap:22px;
  padding:24px;
}

.sf-kitchen-shell{
  width:min(1880px, 100%);
  min-height:calc(100vh - 44px);
  margin:0 auto;
  display:grid;
  gap:18px;
}

.sf-kitchen-head{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:start;
  gap:16px;
}

.sf-kitchen-head__copy{
  display:grid;
  gap:10px;
}

.sf-kitchen-head__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#fdba74;
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.sf-kitchen-head__eyebrow::before{
  content:"";
  width:10px;
  height:10px;
  border-radius:999px;
  background:rgba(255,122,26,.82);
  box-shadow:0 0 0 6px rgba(255,122,26,.12);
}

.sf-kitchen-head__title{
  margin:0;
  font-size:clamp(30px, 2.5vw, 46px);
  line-height:.95;
  letter-spacing:-.04em;
}

.sf-kitchen-head__subtitle{
  max-width:920px;
  margin:0;
  color:var(--sf-kitchen-muted);
  font-size:16px;
  line-height:1.6;
}

.sf-kitchen-head__meta{
  display:flex;
  align-items:center;
  gap:12px;
}

.sf-kitchen-pill,
.sf-kitchen-mini-stat,
.sf-kitchen-live-alert,
.sf-kitchen-board{
  background:rgba(10, 17, 31, .84);
  border:1px solid var(--sf-kitchen-border);
  border-radius:22px;
  box-shadow:var(--sf-kitchen-shadow);
  backdrop-filter:blur(18px);
}

.sf-kitchen-pill{
  min-width:146px;
  min-height:58px;
  padding:12px 16px;
  display:grid;
  gap:4px;
}

.sf-kitchen-pill span,
.sf-kitchen-mini-stat span{
  color:var(--sf-kitchen-muted);
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.sf-kitchen-pill strong,
.sf-kitchen-mini-stat strong{
  font-size:17px;
  line-height:1.2;
}

.sf-kitchen-logout{
  width:58px;
  height:58px;
  border-radius:18px;
  border:1px solid var(--sf-kitchen-border);
  color:var(--sf-kitchen-text);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}

.sf-kitchen-logout:hover,
.sf-kitchen-logout:focus{
  color:var(--sf-kitchen-accent);
  border-color:var(--sf-kitchen-border-accent);
}

.sf-kitchen-live-alert{
  position:fixed;
  top:22px;
  right:22px;
  z-index:9999;
  width:min(480px, calc(100vw - 28px));
  min-width:0;
  max-width:calc(100vw - 28px);
  padding:16px 18px;
  display:none;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  border-color:rgba(255,122,26,.34);
  background:linear-gradient(135deg, rgba(39, 18, 4, .96), rgba(15, 23, 42, .95));
}

.sf-kitchen-live-alert.is-visible{
  display:flex;
}

.sf-kitchen-live-alert__copy{
  display:grid;
  gap:4px;
}

.sf-kitchen-live-alert__copy span{
  color:#fdba74;
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.sf-kitchen-live-alert__copy strong{
  color:#fff7ed;
  font-size:18px;
  line-height:1.25;
}

.sf-kitchen-live-alert__actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.sf-kitchen-board{
  min-height:0;
  display:grid;
  gap:18px;
  padding:22px;
}

.sf-kitchen-board__status{
  min-height:26px;
  color:#cbd5e1;
  font-weight:700;
}

.sf-kitchen-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}

.sf-kitchen-card{
  display:grid;
  gap:16px;
  padding:22px;
  border:1px solid rgba(148, 163, 184, 0.14);
  border-radius:24px;
  background:rgba(10, 18, 32, 0.88);
  box-shadow:0 18px 40px rgba(2, 6, 23, 0.18);
}

.sf-kitchen-card--accept_order{
  border-color:rgba(249, 115, 22, 0.28);
}

.sf-kitchen-card--cooking_completed{
  border-color:rgba(52, 211, 153, 0.22);
}

.sf-kitchen-card__head,
.sf-kitchen-card__meta,
.sf-kitchen-card__statusline,
.sf-kitchen-item__title,
.sf-kitchen-card__footer{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.sf-kitchen-card__order{
  color:#f97316;
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.sf-kitchen-card__identity h2{
  margin:6px 0 0;
  color:#fff;
  font-size:1.35rem;
}

.sf-kitchen-stage-badge{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(255, 255, 255, 0.08);
  color:#fff;
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.sf-kitchen-card__meta,
.sf-kitchen-card__statusline,
.sf-kitchen-item__meta,
.sf-kitchen-card__note p,
.sf-kitchen-card__waiting{
  color:#94a3b8;
}

.sf-kitchen-card__items{
  display:grid;
  gap:12px;
}

.sf-kitchen-item{
  display:grid;
  gap:8px;
  padding:14px;
  border:1px solid rgba(148, 163, 184, 0.1);
  border-radius:18px;
  background:rgba(15, 23, 42, 0.76);
}

.sf-kitchen-card__note{
  display:grid;
  gap:8px;
  padding:14px;
  border-left:3px solid rgba(249, 115, 22, 0.42);
  background:rgba(249, 115, 22, 0.08);
  border-radius:0 16px 16px 0;
}

.sf-kitchen-card__note span{
  color:#fdba74;
  font-size:.78rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.sf-kitchen-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border:none;
  border-radius:999px;
  background:linear-gradient(135deg, #22c55e, #16a34a);
  color:#fff;
  font-weight:800;
  cursor:pointer;
}

.sf-kitchen-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border:none;
  border-radius:999px;
  background:linear-gradient(135deg, #22c55e, #16a34a);
  color:#fff;
  font-weight:800;
  cursor:pointer;
}

.sf-kitchen-button--ghost{
  background:rgba(255, 255, 255, 0.08);
}

.sf-kitchen-empty{
  display:grid;
  gap:8px;
  place-items:center;
  min-height:280px;
  border:1px dashed rgba(148, 163, 184, 0.22);
  border-radius:22px;
  color:#cbd5e1;
  text-align:center;
}

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

@media (max-width: 767px){
  .sf-page-kitchen-manager .sf-manager-shell{
    padding:14px;
  }

  .sf-kitchen-page{
    padding:16px 12px;
  }

  .sf-kitchen-board{
    padding:18px;
    border-radius:22px;
  }

  .sf-kitchen-grid{
    grid-template-columns:1fr;
  }

  .sf-kitchen-card__head,
  .sf-kitchen-card__meta,
  .sf-kitchen-card__statusline,
  .sf-kitchen-item__title,
  .sf-kitchen-card__footer{
    flex-direction:column;
  }

  .sf-kitchen-live-alert{
    top:auto;
    right:12px;
    left:12px;
    bottom:12px;
    max-width:none;
    min-width:0;
    flex-direction:column;
    align-items:stretch;
  }
}
