/* Responsive website styles. No alternate application shell. */
@media(max-width:760px){.sabsus-account-dialog{box-sizing:border-box;width:calc(100% - 32px);max-width:420px}.sabsus-account-dialog input{font-size:16px}}

/* Native WebViews use the app navigation. The website footer remains on the web. */
html[data-sabsus-runtime="ios"] .site-footer,
html[data-sabsus-runtime="android"] .site-footer { display: none !important; }
body[data-page="account"] .account-dashboard { display: grid; gap: 16px; }
body[data-page="account"] .account-shortcuts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 8px;
  margin: 14px 0;
}
body[data-page="account"] .account-shortcuts a {
  justify-content: center;
  text-align: center;
  min-height: 44px;
  overflow-wrap: anywhere;
}
#account-subscriptions, #fudo-membership { scroll-margin-top: 112px; }
#fudo-membership[hidden], .fudo-membership-dialog [hidden] { display: none !important; }
.fudo-member-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 14px auto;
  padding: 20px;
  border-radius: 20px;
  color: #f5ffed;
  background: linear-gradient(115deg, #163b25, #28683c);
}
.fudo-member-banner h2, .fudo-member-banner p { margin: 0; color: inherit; }
.fudo-member-banner h2 { font-size: clamp(20px, 4vw, 32px); line-height: 1.15; }
.fudo-member-banner p { margin-top: 6px; }
.fudo-member-banner .fudo-member-cta { color: #173b25; background: #dcffb1; border-color: transparent; }
.fudo-member-cta { min-height: 44px; }
.fudo-membership-dialog {
  box-sizing: border-box;
  width: min(100% - 28px, 480px);
  max-height: 85dvh;
  overflow: auto;
  padding: 22px;
  color: #163b25;
  background: #fbfff7;
  border: 1px solid #bad7b8;
  border-radius: 22px;
}
.fudo-membership-dialog::backdrop { background: rgb(8 24 13 / 62%); }
.fudo-membership-dialog h2 { margin: 6px 0 10px; font-size: 26px; }
.fudo-membership-dialog p { margin: 8px 0; }
.fudo-member-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fudo-member-label { font-weight: 700; color: #367a3f; }
.fudo-member-close { min-width: 44px; min-height: 44px; }
.fudo-member-price { font-weight: 750; font-size: 19px; }
.fudo-member-payment { margin: 12px 0; }
.fudo-member-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.fudo-member-status { overflow-wrap: anywhere; }
@media (max-width: 540px) {
  .fudo-member-banner { grid-template-columns: minmax(0, 1fr); padding: 15px; gap: 12px; }
  .fudo-member-banner .fudo-member-cta { width: 100%; }
  .fudo-membership-dialog { max-height: calc(100dvh - 32px - var(--sabsus-safe-top, 0px) - var(--sabsus-safe-bottom, 0px)); }
}

.product-prices.fudo-dual-prices, .product-detail-prices.fudo-dual-prices {
  display: grid;
  gap: 2px;
  min-width: 0;
  width: fit-content;
  max-width: 100%;
}
.fudo-dual-prices .fudo-price-option {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
  padding: 2px 5px;
  border-radius: 5px;
  min-width: 0;
}
.fudo-dual-prices .fudo-price-label {
  color: #455348;
  font-size: 11px;
  line-height: 1.15;
}
.reference-style .fudo-dual-prices .product-price,
.reference-style .fudo-dual-prices .product-detail-price {
  display: inline;
  padding: 0;
  margin: 0;
  min-height: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}
.fudo-dual-prices .fudo-price-option-member { background: #e9f6df; }
.fudo-dual-prices .fudo-price-option-member .fudo-price-label,
.reference-style .fudo-dual-prices .fudo-price-option-member .product-price,
.reference-style .fudo-dual-prices .fudo-price-option-member .product-detail-price { color: #245730; }
.product-detail-prices.fudo-dual-prices .fudo-price-label { font-size: 12px; }
.reference-style .product-detail-prices.fudo-dual-prices .product-detail-price { font-size: 16px; }

/* The food theme loads after the responsive styles. Match the paired price block only. */
html body.reference-style .product-prices.fudo-dual-prices .fudo-price-option {
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: baseline;
  gap: 5px;
  padding: 2px 5px;
}
html body.reference-style .product-prices.fudo-dual-prices .fudo-price-option strong.product-price,
html body.reference-style .product-detail-prices.fudo-dual-prices .fudo-price-option strong.product-detail-price {
  display: inline !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  line-height: 1.3 !important;
}
html body.reference-style .product-card .product-prices.fudo-dual-prices .fudo-price-option-regular > .fudo-price-label {
  display: none;
}
html body.reference-style .product-card .product-prices.fudo-dual-prices .fudo-price-option-regular strong.product-price {
  font-size: 18px !important;
}
html body.reference-style .product-prices.fudo-dual-prices .fudo-price-option-member strong.product-price {
  font-size: 13px !important;
}
html body.reference-style .product-prices.fudo-dual-prices .fudo-price-label {
  flex: 0 1 auto;
  font-size: 10px;
}
html body.reference-style[data-page="product"][data-service="food"] .product-detail-prices.fudo-dual-prices {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 8px 16px;
  width: 100%;
  margin: 20px 0 10px;
}
html body.reference-style[data-page="product"][data-service="food"] .product-detail-prices.fudo-dual-prices .fudo-price-option-regular { padding: 0; }
html body.reference-style[data-page="product"][data-service="food"] .product-detail-prices.fudo-dual-prices .fudo-price-option-regular > .fudo-price-label { display: none; }
html body.reference-style[data-page="product"][data-service="food"] .product-detail-prices.fudo-dual-prices .fudo-price-option-regular strong { font-size: clamp(20px, 2.4vw, 26px) !important; }
html body.reference-style[data-page="product"][data-service="food"] .product-detail-prices.fudo-dual-prices .fudo-price-option-member {
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 6px 10px;
  border-radius: 10px;
}
html body.reference-style[data-page="product"][data-service="food"] .product-detail-prices.fudo-dual-prices .fudo-price-option-member strong { font-size: 16px !important; }
html[data-fudo-member-pricing="active"] body.reference-style[data-page="product"][data-service="food"] .product-detail-prices.fudo-dual-prices .fudo-price-option-member strong { font-size: clamp(20px, 2.4vw, 26px) !important; }

html body.reference-style .fudo-member-banner.fudo-member-banner-product {
  grid-template-columns: minmax(0, 1fr) auto;
  box-sizing: border-box;
  width: 100%;
  gap: 12px 16px;
  margin: 0 0 22px;
  padding: 16px;
  text-align: start;
  border-radius: 16px;
}
html body.reference-style .fudo-member-banner-product .fudo-member-banner-title {
  margin: 0 0 5px;
  color: #dcffb1;
  font-size: 12px;
  font-weight: 700;
}
html body.reference-style .fudo-member-banner-product h2 {
  color: #f5ffed !important;
  font-size: clamp(17px, 2.4vw, 22px);
}
html body.reference-style .fudo-member-banner-product .fudo-member-banner-terms { color: #f5ffed !important; font-size: 13px; }
html body.reference-style .fudo-member-banner-product .fudo-member-cta {
  color: #173b25 !important;
  background: #dcffb1 !important;
  border-color: transparent !important;
  width: auto;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  white-space: normal;
}
@media (max-width: 440px) {
  html body.reference-style .fudo-member-banner.fudo-member-banner-product { grid-template-columns: minmax(0, 1fr); }
  html body.reference-style .fudo-member-banner-product .fudo-member-cta { width: 100%; }
}

html body.reference-style .product-media.fudo-media-with-prices {
  position: relative;
}
html body.reference-style .product-media > .product-prices.fudo-photo-prices {
  position: absolute;
  z-index: 2;
  inset: auto 7px 7px auto;
  box-sizing: border-box;
  width: max-content !important;
  min-width: 0 !important;
  max-width: calc(100% - 14px) !important;
  gap: 0;
  margin: 0;
  padding: 2px;
  border-radius: 8px;
  color: #203024;
  background: #fbfff8;
  box-shadow: 0 1px 5px rgb(15 40 20 / 18%);
  pointer-events: none;
}
html body.reference-style .product-media > .fudo-photo-prices .fudo-price-option {
  gap: 4px;
  padding: 2px 4px;
}
html body.reference-style .product-media > .fudo-photo-prices .fudo-price-option-member {
  background: #dbefcc;
}
@media (max-width: 360px) {
  html body.reference-style .product-media > .product-prices.fudo-photo-prices {
    right: 5px;
    bottom: 5px;
    max-width: calc(100% - 10px) !important;
  }
  html body.reference-style .product-media > .fudo-photo-prices .fudo-price-option {
    gap: 3px;
    padding-inline: 3px;
  }
}

html body.reference-style .product-media > .product-prices.fudo-photo-prices {
  background: #e3f3d8;
  border-radius: 6px;
}
/* Membership badges keep their pale background in both themes. */
html[data-theme="dark"] body.reference-style .fudo-dual-prices .fudo-price-option-member > :is(.fudo-price-label, .product-price, .product-detail-price) {
  color: #194325 !important;
}

/* Member-first pricing for catalog cards and product detail pages. */
html body.reference-style .product-prices.fudo-dual-prices,
html body.reference-style .product-detail-prices.fudo-dual-prices {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 5px !important;
  min-width: 0;
  max-width: 100%;
}
html body.reference-style .fudo-dual-prices .fudo-price-option {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  width: fit-content;
  justify-content: flex-start !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 2px 6px !important;
}
html body.reference-style .fudo-dual-prices .fudo-price-option-member {
  order: 0;
  padding: 5px 8px !important;
  background: #e3f3d8 !important;
  border-radius: 8px;
}
html body.reference-style .fudo-dual-prices .fudo-price-option-member > .fudo-price-label {
  display: inline !important;
  font-weight: 800 !important;
  color: #245730 !important;
  font-size: 11px !important;
}
html body.reference-style .product-prices.fudo-dual-prices .fudo-price-option-member strong.product-price {
  font-size: clamp(18px, 1.8vw, 23px) !important;
  font-weight: 800 !important;
  color: #194325 !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}
html body.reference-style .product-detail-prices.fudo-dual-prices .fudo-price-option-member strong.product-detail-price {
  font-size: clamp(25px, 3vw, 34px) !important;
  font-weight: 800 !important;
  color: #194325 !important;
  white-space: normal !important;
}
html body.reference-style .fudo-dual-prices .fudo-price-option-regular {
  order: 1;
  padding: 1px 0 !important;
  background: transparent !important;
}
html body.reference-style .fudo-dual-prices .fudo-price-option-regular > .fudo-price-label {
  display: inline !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  color: var(--fudo-muted, #718074) !important;
}
html body.reference-style .product-prices.fudo-dual-prices .fudo-price-option-regular strong.product-price {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: var(--fudo-muted, #718074) !important;
  white-space: normal !important;
}
html body.reference-style .product-detail-prices.fudo-dual-prices .fudo-price-option-regular strong.product-detail-price {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--fudo-muted, #718074) !important;
  white-space: normal !important;
}
/* Override the more-specific former Food card/detail typography. */
html body.reference-style[data-service="food"] #catalog-grid .product-card:not(.catalog-feature-card) .product-prices.fudo-dual-prices .fudo-price-option-member strong.product-price {
  font-size: clamp(18px, 1.8vw, 23px) !important;
  font-weight: 800 !important;
  color: #194325 !important;
  white-space: normal !important;
}
html body.reference-style[data-service="food"] #catalog-grid .product-card:not(.catalog-feature-card) .product-prices.fudo-dual-prices .fudo-price-option-regular strong.product-price {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: var(--fudo-muted, #718074) !important;
  white-space: normal !important;
}
html body.reference-style[data-page="product"][data-service="food"] .product-detail-prices.fudo-dual-prices {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 5px !important;
}
html body.reference-style[data-page="product"][data-service="food"] .product-detail-prices.fudo-dual-prices .fudo-price-option-member {
  padding: 5px 10px !important;
  background: #e3f3d8 !important;
}
html body.reference-style[data-page="product"][data-service="food"] .product-detail-prices.fudo-dual-prices .fudo-price-option-member strong.product-detail-price {
  font-size: clamp(25px, 3vw, 34px) !important;
}
html body.reference-style[data-page="product"][data-service="food"] .product-detail-prices.fudo-dual-prices .fudo-price-option-regular strong.product-detail-price {
  font-size: 14px !important;
}
@media (max-width: 420px) {
  html body.reference-style .product-prices.fudo-dual-prices .fudo-price-option-member strong.product-price {
    font-size: 17px !important;
  }
}

/* Only a verified, active matching membership selects the subscriber price. */
html[data-fudo-member-pricing="active"] body.reference-style .fudo-dual-prices .fudo-price-option-regular {
  display: none !important;
}

html[data-fudo-member-pricing="active"] body.reference-style .modifier-pizza-price-regular {
  display: none !important;
}
