/* Food detail presentation. Native options, prices and purchase controls stay intact. */
/* Both pricing tiers for 20 cm and 30 cm pizza variants. */
html[data-theme] body.reference-style[data-service="food"] .modifier-pizza-price-tiers {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 100%;
  max-width: 100%;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
html[data-theme] body.reference-style[data-service="food"] .option-copy .modifier-pizza-price-member {
  display: block;
  color: #245730;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.25;
}
html[data-theme] body.reference-style[data-service="food"] .option-copy .modifier-pizza-price-regular {
  display: block;
  color: var(--fudo-muted,#718074);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
}
html[data-theme] body.reference-style[data-service="food"] .option-choice:has(input:checked) .option-copy .modifier-pizza-price-member,
html[data-theme] body.reference-style[data-service="food"] .option-choice:has(input:checked) .option-copy .modifier-pizza-price-regular {
  color: inherit;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] {
  --product-tone: #9dafb8;
  --product-stage: color-mix(in srgb, var(--fudo-background) 46%, var(--product-tone));
  --product-panel: color-mix(in srgb, var(--fudo-photo) 86%, var(--product-tone));
  --product-secondary: color-mix(in srgb, var(--fudo-text) 80%, var(--product-stage));
  --product-rule: color-mix(in srgb, var(--fudo-text) 16%, transparent);
  background: var(--fudo-background);
  color: var(--fudo-text);
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food][data-product-tone=pizza],
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food]:has(.modifier-pizza-diameter) { --product-tone: #9daf8b; }
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food][data-product-tone=sushi] { --product-tone: #9aafa0; }
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food][data-product-tone=cakes] { --product-tone: #c5a2b0; }
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food][data-product-tone=drinks] { --product-tone: #9bafb9; }

html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-product {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .product-gallery {
  position: sticky;
  top: calc(var(--fudo-sticky-offset, 100px) + 16px);
  width: 100%;
  aspect-ratio: 1;
  border: 0;
  border-radius: 34px;
  background: var(--product-stage);
  overflow: hidden;
}
/* Product art supplies a soft background while the foreground photo stays sharp. */
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .product-gallery::before { display: block; }
html[data-theme=light] body.reference-style.fudo-immersive-product[data-service=food] .product-gallery::before {
  filter: blur(40px) saturate(.8) brightness(1.18);
  opacity: .28;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .product-gallery > .image-wrap {
  width: 100%;
  height: 100%;
  background: transparent;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .product-gallery .product-detail-image {
  width: 100%;
  height: 100%;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  background: transparent;
  transform: scale(1.06);
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food][data-product-tone=pizza] .product-gallery .product-detail-image,
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food]:has(.modifier-pizza-diameter) .product-gallery .product-detail-image {
  object-fit: cover;
  transform: scale(1.18);
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food]:is([data-product-tone=cakes], [data-product-tone=drinks]) .product-gallery .product-detail-image { transform: none; }
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .product-details {
  min-width: 0;
  padding-top: 10px;
  background: transparent;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] :is(.product-detail-title, .product-detail-price, .modifier-section-title, .product-extra h2, .product-description h2, .product-field) {
  color: var(--fudo-text);
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .product-detail-title {
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.08;
  letter-spacing: -.035em;
  margin-bottom: 14px;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] :is(.immersive-product-summary, .product-detail-meta, .product-detail-unit, .product-description, .product-reassurance, .product-field span, .product-extra p) {
  color: var(--fudo-muted);
  border-color: var(--fudo-border);
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-product-summary {
  font-size: 16px;
  line-height: 1.55;
  margin: 12px 0 20px;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .stock-pill {
  background: var(--fudo-photo);
  color: var(--fudo-muted);
  border: 0;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] :is(.product-gallery .product-favorite, .immersive-product-close) {
  color: var(--fudo-text);
  background: color-mix(in srgb, var(--fudo-background) 64%, transparent);
  border: 0;
  box-shadow: none;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .product-gallery .product-favorite[aria-pressed=true] {
  background: var(--fudo-selected);
  color: var(--fudo-accent);
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-configure {
  background: var(--fudo-selected);
  color: var(--fudo-selected-text);
  box-shadow: 0 3px 18px #0000000d;
  min-height: 48px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 650;
}

html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .stock-pill.unavailable {
  background:var(--fudo-error-bg);
  color:var(--fudo-error);
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .stock-pill.unavailable::before {
  background:var(--fudo-error);
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set[data-layout=pills] .immersive-option-photo {
  width:42px;
  height:42px;
  flex:0 0 42px;
}

/* Pill selectors and image tiles remain the original native form controls. */
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set {
  margin: 26px 0 32px;
  scroll-margin-top: calc(var(--fudo-sticky-offset, 100px) + 18px);
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set .option-title {
  color: var(--fudo-text);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 750;
  margin-bottom: 17px;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set .option-required {
  color: var(--fudo-muted);
  font-size: 11px;
  line-height: 1.4;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set .option-choice {
  background: var(--fudo-photo);
  color: var(--fudo-text);
  border: 1px solid transparent;
  box-shadow: none;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set .option-copy {
  color: inherit;
  gap: 8px;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set .option-copy small {
  color: var(--fudo-muted);
  font-size: 13px;
  font-weight: 650;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set .option-choice:has(input:checked) {
  background: var(--fudo-selected);
  color: var(--fudo-selected-text);
  border-color: transparent;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set .option-choice:has(input:checked) .option-copy small {
  color: inherit;
  opacity: .78;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set .option-choice:has(input:checked)::after { border-color: currentColor; }
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set.has-error .option-choice { border-color: #d35236; }
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set[data-layout=pills] .option-values {
  gap: 4px;
  padding: 4px;
  background: var(--fudo-photo);
  border-radius: 999px;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set[data-layout=pills] .option-choice {
  min-height: 49px;
  padding: 10px 13px;
  border-radius: 999px;
  background: transparent;
  font-size: 14px;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set[data-layout=pills] .option-choice:has(input:checked) {
  background: var(--fudo-selected);
  color: var(--fudo-selected-text);
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set[data-layout=tiles] .option-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set[data-layout=tiles] .option-choice {
  border-radius: 25px;
  min-height: 178px;
  padding: 16px 10px 18px;
  gap: 10px;
  font-size: 14px;
  line-height: 1.3;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set .immersive-option-photo {
  width: 92px;
  height: 78px;
  max-width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-options-expand {
  color: var(--fudo-text);
  margin: 13px auto 0;
  font-size: 14px;
}

/* The primary action is the focal point; the quantity remains independently usable. */
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-buybar {
  gap: 12px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-buybar .quantity-control {
  background: var(--fudo-photo);
  color: var(--fudo-text);
  border: 0;
  border-radius: 999px;
  min-width: 100px;
  height: 48px;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-buybar .quantity-control :is(button, input) { color: var(--fudo-text); }
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-buybar .quantity-control button:hover { background: var(--fudo-surface-hover); }
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-buybar .product-add-main {
  min-height: 58px;
  border-radius: 999px;
  background: var(--fudo-accent);
  color: #fff;
  box-shadow: 0 6px 20px #00000012;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-buybar .product-add-main:hover { background: var(--fudo-accent-hover); }
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-add-price { color: #fff; font-size: 21px; }
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-add-label { color: #fff; }
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-product-bar-copy { color: var(--fudo-text); }
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-product-bar-selected { color: var(--fudo-muted); }

@media (max-width: 800px) {
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] {
    background: var(--product-stage) !important;
    color: var(--fudo-text);
  }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] main.product-main {
    background: transparent;
    overflow-x: clip;
    padding-bottom: calc(118px + var(--sabsus-safe-bottom, env(safe-area-inset-bottom, 0px))) !important;
  }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-product { display: block; }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .product-gallery {
    position: relative;
    inset: auto;
    height: min(64svh, 125vw);
    min-height: min(430px, 108vw);
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food][data-product-tone=pizza] .product-gallery .product-detail-image,
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food]:has(.modifier-pizza-diameter) .product-gallery .product-detail-image { transform: scale(1.2); }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .product-details { padding: 7px 16px 0; }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .product-detail-title {
    font-size: clamp(27px, 7vw, 36px) !important;
    line-height: 1.1 !important;
    text-align: center;
    margin: 0 auto 11px;
    max-width: 620px;
  }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] :is(.immersive-product-summary, .product-detail-meta, .product-detail-unit, .product-description, .product-reassurance, .product-field span, .product-extra p, .product-details > .eyebrow) { color: var(--product-secondary); }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] #product-details > .product-description p { color:var(--product-secondary); }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-product-summary {
    margin: 10px auto 18px;
    max-width: 620px;
    font-size: 15px;
    line-height: 1.45;
    text-align: center;
  }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .product-detail-meta {
    justify-content: center;
    text-align: center;
    margin: 10px 0 16px;
  }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .product-detail-prices:not(.fudo-jar-cake-prices):not(.fudo-pizza-prices) { display: none; }
  /* Jar cakes always show both price tiers under the title on mobile. */
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .product-detail-prices:is(.fudo-jar-cake-prices,.fudo-pizza-prices) {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100%;
    margin: 10px 0 22px;
  }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .product-detail-prices:is(.fudo-jar-cake-prices,.fudo-pizza-prices) .fudo-price-option {
    justify-content: center !important;
    text-align: center;
  }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .stock-pill {
    background: var(--product-panel);
    color: var(--product-secondary);
  }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-configure { right: 16px; bottom: 20px; max-width: calc(100% - 32px); }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set { margin: 23px 0 30px; scroll-margin-top: 85px; }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set .option-title {
    font-size: 21px;
    gap: 10px;
    margin-bottom: 16px;
  }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set .option-required { color: var(--product-secondary); }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set[data-layout=pills] .option-values {
    background: var(--product-panel);
    width: fit-content;
    min-width: min(100%, 220px);
    max-width: 100%;
    margin-inline: auto;
    overflow-x: auto;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set[data-layout=pills] .option-choice { min-width: 78px; min-height: 48px; padding: 10px 13px; font-size: 13px; }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set[data-layout=tiles] .option-values { gap: 6px; }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set[data-layout=tiles] .option-choice { min-height: 166px; padding: 13px 8px 16px; font-size: 13px; border-radius: 24px; }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set .option-choice { background: var(--product-panel); }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set[data-layout=pills] .option-choice { background: transparent; }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set .option-choice:has(input:checked) { background: var(--fudo-selected); color: var(--fudo-selected-text); }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set .immersive-option-photo { width: 88px; height: 75px; }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] :is(.product-reassurance, .product-description, .product-field) { border-color: var(--product-rule); }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-product-bar.is-scrolled {
    background: color-mix(in srgb, var(--product-stage) 82%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-product-bar.has-title { background: color-mix(in srgb, var(--product-stage) 92%, var(--fudo-background)); }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-product-bar-selected { color: var(--product-secondary); }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-buybar {
    left: max(16px, var(--sabsus-safe-left, env(safe-area-inset-left, 0px)));
    right: max(16px, var(--sabsus-safe-right, env(safe-area-inset-right, 0px)));
    bottom: calc(16px + var(--sabsus-safe-bottom, env(safe-area-inset-bottom, 0px)));
    justify-content: space-between;
    gap: 12px;
    max-width: 600px;
    pointer-events: none;
  }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-buybar > * { pointer-events: auto; }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-buybar .quantity-control {
    min-width: 98px;
    flex: 0 0 98px;
    background: var(--product-panel);
    box-shadow: var(--fudo-soft-shadow);
  }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-buybar .product-add-main { max-width: 260px; min-height: 58px; margin-left: auto; gap: 10px; }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-add-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .related-products-section { margin: 34px 16px 0; }
}

@media (max-width: 360px) {
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .product-details { padding-inline: 12px; }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set[data-layout=pills] .option-choice { min-width: 0; padding-inline: 10px; }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-option-set[data-layout=tiles] .option-choice { padding-inline: 5px; font-size: 12px; }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-buybar { left: 12px; right: 12px; gap: 8px; }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-buybar .quantity-control { min-width: 92px; flex-basis: 92px; }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .immersive-add-price { font-size: 19px; }
}

/* Diameter is a visual native-radio choice; prices stay in the main price area. */
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] {
  --pizza-size-green: color-mix(in srgb, var(--fudo-accent, #3d820e) 30%, #153d2a);
  --pizza-size-rule: color-mix(in srgb, var(--fudo-text, #18382a) 18%, transparent);
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] .option-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  min-width: 0;
  max-width: none;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] .option-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  gap: 5px;
  width: 100%;
  min-width: 0;
  max-width: none;
  min-height: 162px;
  height: auto;
  padding: 12px 10px;
  border: 1px solid var(--pizza-size-rule);
  border-radius: 22px;
  background: var(--product-panel, var(--fudo-photo, #edf2e7));
  color: var(--fudo-text, #18382a);
  box-shadow: 0 3px 12px #153d2a06;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  overflow: visible;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] .option-choice::before {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--pizza-size-rule);
  border-radius: 50%;
  background: transparent;
  pointer-events: none;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] .option-choice::after {
  content: none;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] .option-choice:has(input:checked) {
  background: var(--pizza-size-green);
  color: #fff;
  border-color: var(--pizza-size-green);
  box-shadow: 0 4px 14px #153d2a1c;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] .option-choice:has(input:checked)::before {
  background: #fff;
  border-color: #fff;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] .option-choice:has(input:checked)::after {
  content: '';
  position: absolute;
  top: 14px;
  right: 16px;
  width: 5px;
  height: 8px;
  border: solid var(--pizza-size-green);
  border-width: 0 2px 2px 0;
  border-radius: 0;
  background: transparent;
  transform: rotate(45deg);
  pointer-events: none;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] .option-choice:has(input:focus-visible) {
  outline: 3px solid var(--fudo-focus, #73aa3c);
  outline-offset: 4px;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes].has-error .option-choice {
  border-color: var(--fudo-error, #b3402a);
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] .option-choice:is(.is-unavailable, :has(input:disabled)) {
  opacity: .55;
  cursor: not-allowed;
  box-shadow: none;
}

/* Equal art frames retain the exact 30:20 diameter comparison. */
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] .modifier-pizza-diameter {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 1px;
  width: 100%;
  min-width: 0;
  height: 91px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  pointer-events: none;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] .modifier-pizza-art {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 82px;
  width: 100%;
  height: 82px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] .modifier-pizza-art svg {
  display: block;
  flex: none;
  width: var(--pizza-art-size);
  height: var(--pizza-art-size);
  max-width: 100%;
  margin: 0;
  border: 0;
  border-radius: 50%;
  overflow: visible;
  filter: drop-shadow(0 3px 3px #153d2a15);
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] .modifier-pizza-measure {
  position: relative;
  display: block;
  flex: 0 0 8px;
  height: 8px;
  max-width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
  color: inherit;
  opacity: .75;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] .modifier-pizza-measure::before,
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] .modifier-pizza-measure::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  border: solid currentColor;
  border-width: 1px 0 0 1px;
  background: transparent;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] .modifier-pizza-measure::before {
  left: 0;
  transform: translateY(-50%) rotate(-45deg);
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] .modifier-pizza-measure::after {
  right: 0;
  transform: translateY(-50%) rotate(135deg);
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] .option-copy {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  color: inherit;
  white-space: normal;
  overflow-wrap: anywhere;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] .option-copy .modifier-pizza-size-value {
  display: block;
  color: inherit;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] .option-copy .modifier-pizza-size-caption {
  display: block;
  color: var(--fudo-muted, #52654f);
  font-size: 14px;
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: .015em;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] .option-choice:has(input:checked) .option-copy small {
  color: #fff;
  opacity: 1;
}
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] :is(.immersive-option-photo, .modifier-sauce-photo) {
  display: none!important;
}
@media (hover:hover) {
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] .option-choice:not(.is-unavailable):not(:has(input:disabled)):hover {
    border-color: var(--fudo-accent, #3d820e);
    box-shadow: 0 4px 14px #153d2a14;
  }
}
@media (max-width:360px) {
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] .option-values { gap: 8px; }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] .option-choice { padding-inline: 8px; border-radius: 20px; }
}
@media (prefers-reduced-motion:reduce) {
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] .option-choice { transition: none; }
}
@media (forced-colors:active) {
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] .option-choice { border-color: ButtonText; }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] .option-choice:has(input:checked) { border: 2px solid Highlight; }
  html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .modifier-pizza-size-set[data-layout=sizes] .option-choice:has(input:checked)::after { border-color: Highlight; }
}


/* Only products with an explicit photo picker reserve space for these controls. */
.product-gallery.has-product-thumbnails .product-photo-picker {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 16px;
  display: flex;
  gap: 8px;
  padding: 6px;
  max-width: calc(100% - 32px);
  border-radius: 15px;
  background: var(--product-panel, #fff);
  box-shadow: 0 4px 18px #0002;
  transform: translateX(-50%);
}
.product-gallery.has-product-thumbnails .product-photo-choice {
  display: block;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  min-height: 52px;
  padding: 2px;
  border: 2px solid transparent;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.product-gallery.has-product-thumbnails .product-photo-choice img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
}
.product-gallery.has-product-thumbnails .product-photo-choice[aria-pressed=true] { border-color: var(--fudo-accent, #3d820e); }
.product-gallery.has-product-thumbnails .product-photo-choice:focus-visible { outline: 3px solid var(--fudo-focus, #94d562); outline-offset: 3px; }
html[data-theme] body.reference-style.fudo-immersive-product[data-service=food] .product-gallery.has-product-thumbnails .immersive-configure { bottom: 90px; }
