/* Preset layer prevents legacy theme rules from washing out the opt-in dark UI. */
@layer rp-menu-preset {
/* Opt-in menu presentation only; unselected templates and checkout are untouched. */
body [data-rp-menu-template="bold-dark"] {
  --rp-menu-bg:#121212;--rp-menu-surface:#1a1a1a;--rp-menu-raised:#242424;
  --rp-menu-ink:#fff;--rp-menu-muted:#bbb7b1;--rp-text:#fff;--rp-muted:#bbb7b1;--rp-menu-line:#ffffff26;
  --rp-menu-accent:#e8262b;--rp-menu-action:#ce2028;--rp-menu-on-accent:#fff;--rp-menu-price:#ff666b;
  --rp-menu-display:"Bebas Neue","Arial Narrow",Impact,sans-serif;--rp-menu-body:"DM Sans",Inter,system-ui,sans-serif;
  background:var(--rp-menu-bg)!important;color:var(--rp-menu-ink)!important;font-family:var(--rp-menu-body)!important;
  border-color:var(--rp-menu-line)!important;box-shadow:none!important;min-width:0;
}
body [data-rp-menu-template="bold-dark"][data-rp-menu-accent="brand"] {
  --rp-menu-accent:var(--theme-button-color,#e8262b);--rp-menu-action:var(--theme-button-color,#ce2028);
  --rp-menu-on-accent:var(--theme-button-text-color,#fff);--rp-menu-price:var(--rp-menu-ink);
}
body :is(.rp-menu-board,.rp-pizza-public,.rp-menu-page,.rp-menu-category-page)[data-rp-menu-template="bold-dark"] {
  padding:clamp(16px,2vw,28px)!important;border-radius:18px;border:1px solid var(--rp-menu-line)!important;
}
body [data-rp-menu-template="bold-dark"] :is(.rp-menu-category,.rp-pizza-public-stage,.rp-pizza-stage,.rp-pizza-products-section,.rp-pizza-products-sections) {
  background:transparent!important;border-color:var(--rp-menu-line)!important;box-shadow:none!important;
}
/* Category links retain their original targets, active states and handlers. */
body [data-rp-menu-template="bold-dark"] :is(.rp-master-menu-category-strip,.rp-master-menu-category-row,.rp-pizza-public-tiles,.rp-ui-subcategory-bar) {
  gap:10px!important;background:transparent!important;
  border-color:var(--rp-menu-line)!important;padding:0!important;min-width:0;
}
body [data-rp-menu-template="bold-dark"] .rp-master-menu-category-strip {margin-bottom:26px!important}
body [data-rp-menu-template="bold-dark"] .rp-master-menu-category-row {width:100%!important}
body [data-rp-menu-template="bold-dark"] :is(.rp-mcat-shell,.rp-pizza-tile-shell) {width:auto!important;flex:0 1 auto!important;min-width:0!important;padding:0!important;background:transparent!important}
body [data-rp-menu-template="bold-dark"] [data-rp-category-template] .rp-mcat-item,
body [data-rp-menu-template="bold-dark"] .rp-ui-subcategory {
  display:flex;flex-direction:row!important;align-items:center!important;justify-content:center!important;
  width:auto!important;min-width:0!important;max-width:100%;min-height:44px!important;height:auto!important;
  background:var(--rp-menu-surface)!important;border:1px solid var(--rp-menu-line)!important;border-radius:999px!important;
  color:var(--rp-menu-ink)!important;box-shadow:none!important;padding:0!important;aspect-ratio:auto!important;transform:none!important;
}
body [data-rp-menu-template="bold-dark"] [data-rp-category-template] .rp-mcat-media {display:none!important}
body [data-rp-menu-template="bold-dark"] [data-rp-category-template] .rp-mcat-label {position:static!important;padding:11px 18px!important;background:none!important;width:auto!important}
body [data-rp-menu-template="bold-dark"] [data-rp-category-template] :is(.rp-mcat-text,.rp-mcat-label),
body [data-rp-menu-template="bold-dark"] .rp-ui-subcategory {
  color:var(--rp-menu-ink)!important;-webkit-text-fill-color:currentColor!important;font-family:var(--rp-menu-body)!important;
  font-size:14px!important;font-weight:600!important;line-height:1.35!important;letter-spacing:0!important;text-transform:none!important;text-shadow:none!important;
}
body [data-rp-menu-template="bold-dark"] [data-rp-category-template] .rp-mcat-item:is(.is-active,[aria-current="true"]),
body [data-rp-menu-template="bold-dark"] .rp-ui-subcategory.is-active {background:var(--rp-menu-action)!important;border-color:var(--rp-menu-action)!important}
body [data-rp-menu-template="bold-dark"] [data-rp-category-template] .rp-mcat-item:is(.is-active,[aria-current="true"]) :is(.rp-mcat-text,.rp-mcat-label) {color:var(--rp-menu-on-accent)!important}
body [data-rp-menu-template="bold-dark"] [data-rp-category-template] .rp-mcat-item:hover {border-color:var(--rp-menu-accent)!important}
body [data-rp-menu-template="bold-dark"] .rp-ui-subcategory {padding:9px 14px!important;font-size:12px!important}
/* Item tiles include dynamically fetched categories and client-rendered pizza items. */
body [data-rp-menu-template="bold-dark"] :is(.rp-pizza-products,.rp-related-grid,.rp-menu-category-page-grid) {display:grid;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;width:100%!important;min-width:0!important}
body [data-rp-menu-template="bold-dark"] :is(.rp-pizza-product,.rp-related-card,.rp-menu-category-page-item) {
  display:flex;flex-direction:column!important;width:100%!important;min-width:0!important;height:auto!important;padding:0!important;
  background:var(--rp-menu-surface)!important;border:1px solid var(--rp-menu-line)!important;border-radius:22px!important;overflow:hidden!important;
  box-shadow:none!important;color:var(--rp-menu-ink)!important;text-decoration:none!important;transition:border-color .18s ease;
}
body [data-rp-menu-template="bold-dark"] :is(.rp-pizza-product,.rp-related-card,.rp-menu-category-page-item):hover {border-color:#ffffff50!important;transform:none!important}
body [data-rp-menu-template="bold-dark"] :is(.rp-pizza-product-media,.rp-related-media) {
  display:block;position:relative!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:4/3!important;
  padding:0!important;border:0!important;border-radius:0!important;background:var(--rp-menu-raised)!important;overflow:hidden!important;flex:none!important;
}
body [data-rp-menu-template="bold-dark"] :is(.rp-pizza-product-image,.rp-related-media img) {display:block;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;border-radius:0!important;position:static!important;box-shadow:none!important}
body [data-rp-menu-template="bold-dark"] :is(.rp-pizza-product-body,.rp-related-body) {display:flex;flex-direction:column!important;gap:10px!important;flex:1!important;padding:20px!important;background-color:var(--rp-menu-surface)!important;border:0!important;min-width:0!important}
body [data-rp-menu-template="bold-dark"] .rp-pizza-product-head {align-items:flex-start!important;flex-wrap:wrap!important;gap:8px!important}
body [data-rp-menu-template="bold-dark"] :is(.rp-pizza-product-title,.rp-related-name) {
  color:var(--rp-menu-ink)!important;-webkit-text-fill-color:currentColor!important;font-family:var(--rp-menu-display)!important;
  font-size:clamp(24px,2.1vw,30px)!important;font-weight:400!important;line-height:1.12!important;letter-spacing:.025em!important;text-transform:uppercase!important;
  overflow:visible!important;white-space:normal!important;-webkit-line-clamp:unset!important;margin:0!important;min-width:0;
}
body [data-rp-menu-template="bold-dark"] :is(.rp-menu-block-title,.rp-category-header,.rp-pizza-section-title,.rp-pizza-products-section-title,.rp-ui-preview-title) {
  font-family:var(--rp-menu-display)!important;font-size:clamp(32px,3vw,44px)!important;font-weight:400!important;color:var(--rp-menu-ink)!important;
  -webkit-text-fill-color:currentColor!important;letter-spacing:.02em!important;line-height:1.1!important;background:none!important;
  border:0!important;box-shadow:none!important;padding:0!important;margin:24px 0 16px!important;
}
body [data-rp-menu-template="bold-dark"] :is(.rp-pizza-product-desc,.rp-pizza-product-desc a,.rp-item-description-copy,.rp-item-modifiers-subtitle,.rp-ui-preview-note) {color:var(--rp-menu-muted)!important;-webkit-text-fill-color:currentColor!important;font-family:var(--rp-menu-body)!important;font-size:14px!important;line-height:1.6!important;letter-spacing:0!important;margin:0!important}
body [data-rp-menu-template="bold-dark"] :is(.rp-pizza-product-title a,.rp-related-name a) {color:inherit!important;-webkit-text-fill-color:currentColor!important;font:inherit!important;text-decoration:none!important}
body [data-rp-menu-template="bold-dark"] :is(.rp-pizza-product-meta,.rp-related-price) {font-family:var(--rp-menu-display)!important;font-size:27px!important;line-height:1.15!important;color:var(--rp-menu-price)!important;-webkit-text-fill-color:currentColor!important;background:none!important;margin:0!important}
body [data-rp-menu-template="bold-dark"] .rp-pizza-product-actions {margin-top:auto!important;padding-top:6px!important;gap:10px!important}
body [data-rp-menu-template="bold-dark"] :is(.rp-pizza-primary-btn,.rp-item-btn-primary,.rp-related-add) {background:var(--rp-menu-action)!important;border:1px solid var(--rp-menu-action)!important;color:var(--rp-menu-on-accent)!important;-webkit-text-fill-color:var(--rp-menu-on-accent)!important;font-family:var(--rp-menu-body)!important;font-weight:700!important;min-height:44px!important;border-radius:12px!important;box-shadow:none!important;text-shadow:none!important;text-decoration:none!important}
body [data-rp-menu-template="bold-dark"] :is(.rp-badge,.rp-item-halal-badge,.rp-item-offer-badge,.rp-related-offer-badge) {background:var(--rp-menu-raised)!important;border:1px solid var(--rp-menu-line)!important;color:var(--rp-menu-ink)!important;-webkit-text-fill-color:currentColor!important;box-shadow:none!important}
body [data-rp-menu-template="bold-dark"] :is(.rp-pizza-size-chip,.rp-pizza-product-qty,.rp-pizza-product-qty-btn,.rp-item-btn-secondary) {background:var(--rp-menu-raised)!important;border-color:var(--rp-menu-line)!important;color:var(--rp-menu-ink)!important;-webkit-text-fill-color:currentColor!important;box-shadow:none!important}
body [data-rp-menu-template="bold-dark"] .rp-pizza-size-chip.is-active {border-color:var(--rp-menu-accent)!important}
body [data-rp-menu-template="bold-dark"] :is(a,button,input,[tabindex]):focus-visible {outline:3px solid var(--rp-menu-price)!important;outline-offset:3px!important}
/* Dedicated category and item pages: no data or modifier interactions are changed. */
body [data-rp-menu-template="bold-dark"] :is(.rp-menu-item-shell,.rp-menu-item-info,.rp-menu-item-media-card,.rp-item-description,.rp-item-modifier-card,.rp-related-panel),
body .rp-menu-category-page[data-rp-menu-template="bold-dark"] > article {background:var(--rp-menu-surface)!important;border-color:var(--rp-menu-line)!important;color:var(--rp-menu-ink)!important;box-shadow:none!important}
body [data-rp-menu-template="bold-dark"] :is(.rp-menu-item-shell,.rp-menu-item-media-card)::before,
body [data-rp-menu-template="bold-dark"] :is(.rp-menu-item-shell,.rp-menu-item-media-card)::after {display:none!important}
body [data-rp-menu-template="bold-dark"] .rp-item-title,body .rp-menu-category-page[data-rp-menu-template="bold-dark"] h1 {font:400 clamp(36px,4vw,56px)/1.08 var(--rp-menu-display)!important;color:var(--rp-menu-ink)!important;-webkit-text-fill-color:currentColor!important}
body [data-rp-menu-template="bold-dark"] :is(.rp-item-eyebrow,.rp-item-description-title,.rp-item-modifiers-title,.rp-item-modifier-name,.rp-item-modifier-option-text,.rp-item-modifier-option-price,.rp-item-breadcrumb a,.rp-item-breadcrumb span,.rp-related-panel h2) {color:var(--rp-menu-ink)!important;-webkit-text-fill-color:currentColor!important}
body [data-rp-menu-template="bold-dark"] .rp-item-modifier-option-label {background:transparent!important;border-color:var(--rp-menu-line)!important}
body [data-rp-menu-template="bold-dark"] .rp-item-modifier-input {border-color:#aaa!important;accent-color:var(--rp-menu-accent)}
body .rp-menu-category-page[data-rp-menu-template="bold-dark"] :is(h1,h2,p,a,.shrink-0) {color:var(--rp-menu-ink)!important}
body .rp-menu-category-page[data-rp-menu-template="bold-dark"] .rp-menu-category-page-item {margin:0!important}
body .rp-menu-category-page[data-rp-menu-template="bold-dark"] .rp-menu-category-page-item > div {flex-direction:column!important;gap:0!important;height:100%}
body .rp-menu-category-page[data-rp-menu-template="bold-dark"] .rp-menu-category-page-item > div > img {width:100%!important;height:auto!important;aspect-ratio:4/3;object-fit:cover;border-radius:0!important}
body .rp-menu-category-page[data-rp-menu-template="bold-dark"] .rp-menu-category-page-item .min-w-0 {padding:18px}
body .rp-menu-category-page[data-rp-menu-template="bold-dark"] .rp-menu-category-page-item h2 {font:400 26px/1.15 var(--rp-menu-display)!important}
body .rp-menu-category-page[data-rp-menu-template="bold-dark"] .rp-menu-category-page-item p {color:var(--rp-menu-muted)!important;font-size:14px!important}
@media(max-width:1100px){body [data-rp-menu-template="bold-dark"] :is(.rp-pizza-products,.rp-related-grid,.rp-menu-category-page-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){body [data-rp-menu-template="bold-dark"] :is(.rp-pizza-products,.rp-related-grid,.rp-menu-category-page-grid){grid-template-columns:minmax(0,1fr)!important}body [data-rp-menu-template="bold-dark"] :is(.rp-pizza-product-body,.rp-related-body){padding:18px!important}body [data-rp-menu-template="bold-dark"] [data-rp-category-template] .rp-mcat-label{padding:10px 14px!important}}
@media(prefers-reduced-motion:reduce){body [data-rp-menu-template="bold-dark"] *{transition:none!important}}

/* Promotional item tiles share surfaces without replacing artwork or actions. */
body [data-rp-menu-template="bold-dark"] :is(.rp-master-bogo-tile,.rp-master-bogo-copy,.rp-item-index-panel) {background-color:var(--rp-menu-surface)!important;border-color:var(--rp-menu-line)!important;box-shadow:none!important}
body [data-rp-menu-template="bold-dark"] .rp-master-bogo-title {font:400 28px/1.15 var(--rp-menu-display)!important;color:var(--rp-menu-ink)!important;-webkit-text-fill-color:currentColor!important}
body [data-rp-menu-template="bold-dark"] .rp-master-bogo-subtitle {color:var(--rp-menu-muted)!important;-webkit-text-fill-color:currentColor!important}
body [data-rp-menu-template="bold-dark"] .rp-master-bogo-deal {color:var(--rp-menu-price)!important;-webkit-text-fill-color:currentColor!important}
body [data-rp-menu-template="bold-dark"] .rp-master-bogo-btn {background:var(--rp-menu-action)!important;border-color:var(--rp-menu-action)!important;color:var(--rp-menu-on-accent)!important;-webkit-text-fill-color:currentColor!important;box-shadow:none!important}
/* Respect state-driven hidden nodes and inline display:none. */
/* Keep the category grid geometry: existing navigation uses its column count to position content. */
body [data-rp-menu-template="bold-dark"] .rp-ui-subcategory-bar {display:flex;flex-wrap:wrap;gap:8px!important}
body [data-rp-menu-template="bold-dark"] :is(.rp-pizza-products,.rp-related-grid,.rp-menu-category-page-grid):not([hidden]):not(.hidden):not([style*="display:none"]):not([style*="display: none"]) {display:grid!important}

}

@layer rp-menu-preset {
  /* Local tokens also style existing inline-colored menu controls, never global UI. */
  body [data-rp-menu-template="bold-dark"]:not([data-rp-menu-accent="brand"]) {
    --theme-button-color:#ce2028;--theme-button-border-color:#ce2028;--theme-button-text-color:#fff;
  }
  body [data-rp-menu-template="bold-dark"] .rp-pizza-product-title {display:block!important}
  body [data-rp-menu-template="bold-dark"] .rp-pizza-product.no-item-image {min-height:180px!important}
}
