/* Gallery design integration. Scoped to the server-selected preview presentation.
   Existing controls, providers, validation and totals retain their event owners. */
body.gallery-presentation {
    --gallery-paper: #faf9f7;
    --gallery-white: #fff;
    --gallery-ink: #242424;
    --gallery-muted: #676461;
    --gallery-line: #e4e1dd;
    --gallery-red: #cb3026;
    --gallery-photo: #f2f2f2;
    --gallery-font: 'DM Sans', 'Noto Sans Thai', 'Hiragino Kaku Gothic ProN', Tahoma, sans-serif;
    --gallery-display: 'Bricolage Grotesque', var(--gallery-font);
    --gallery-header: 100px;
    margin: 0;
    padding-top: 0;
    background: var(--gallery-paper);
    color: var(--gallery-ink);
    font: 15px/1.6 var(--gallery-font);
    padding-bottom: env(safe-area-inset-bottom);
}
.gallery-presentation :is(h1,h2,h3,h4,h5) {
    font-family: var(--gallery-display);
    color: var(--gallery-ink);
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.15;
}
.gallery-presentation :is(input,select,textarea,button,a,p,label,li,strong,span) { font-family: inherit; }
.gallery-presentation :is(a,button,input,select,textarea):focus-visible { outline: 3px solid var(--gallery-red); outline-offset: 4px; }
.gallery-presentation .nav-toggle:focus-visible { outline: 3px solid var(--gallery-red) !important; outline-offset: 3px; }
.gallery-presentation :is(button,a) { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.gallery-presentation a { color: var(--gallery-red); }
.gallery-presentation .container { width: min(1320px, calc(100% - 64px)); max-width: none; padding-inline: 0; }
.gallery-presentation .mainWpapContainer { background: transparent; }
.gallery-presentation .header { position: sticky; top: 0; z-index: 1000; background: var(--gallery-paper); box-shadow: none; }
.gallery-presentation .mainMenuWrap { background: var(--gallery-paper); border-bottom: 1px solid var(--gallery-line); padding: 8px 0; }
.gallery-presentation .mainMenuBar { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.gallery-presentation .nav { width: auto; flex: 1; }
.gallery-presentation .wrapper-flush { display: flex; align-items: center; gap: 42px; }
.gallery-presentation .logo { position: static; margin: 0; padding: 0 !important; width: 92px; flex: 0 0 92px; }
.gallery-presentation .logo img { width: 92px; height: 64px; object-fit: contain; filter: grayscale(1) brightness(.22); }
.gallery-presentation .nav-container { float: none; width: auto; padding: 0 !important; margin: 0 !important; height: auto; min-height: 0; transform: none; visibility: visible; }
.gallery-presentation .nav-menu { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; }
.gallery-presentation .nav-menu .menu-item { margin: 0; padding: 0; }
.gallery-presentation .nav-menu .menu-link { color: var(--gallery-ink); font: 600 13px/1.4 var(--gallery-font); padding: 14px 0; border: 0; background: none; }
.gallery-presentation .nav-menu .active > .menu-link { color: var(--gallery-red); box-shadow: 0 2px var(--gallery-red); }
.gallery-presentation .header-cart-sec { position: static; width: auto; display: flex; gap: 18px; align-items: center; }
.gallery-presentation .header-language-desktop { gap: 0; margin: 0; }
.gallery-presentation .header-language-desktop a { color: var(--gallery-ink); font-family: var(--gallery-font); }
.gallery-presentation .header-language-desktop a.active { background: #eae7e2; color: var(--gallery-red) !important; border-radius: 20px; }
.gallery-presentation .header-cart-sec .header-cart-link { border-radius: 32px; background: var(--gallery-red); color: white; padding: 10px 12px; min-height: 44px; gap: 8px; }
.gallery-presentation .header-cart-sec .header-cart-label { font: 600 12px/1.4 var(--gallery-font); }
.gallery-presentation .header-cart-sec .header-cart-summary { display: none; }
.gallery-presentation .header-cart-sec .top-language-col { font-size: 11px; padding-top: 8px; }
.gallery-presentation .pizaa-services-sec { padding: 42px 0 64px; background: none; }
.gallery-presentation .sec-heading { text-align: left; margin: 0 0 32px; }
.gallery-presentation .sec-heading img { display: none; }
.gallery-presentation .sec-heading h2 { font-size: clamp(34px, 4vw, 58px); margin: 0; }
.gallery-presentation .sec-heading h2,.gallery-presentation .gallery-category-title { text-align: left; }
.gallery-presentation .sec-heading h2::before,.gallery-presentation .sec-heading h2::after { display: none; }
.gallery-presentation .pizza-service-tab { display: grid; grid-template-columns: 186px minmax(0, 1fr); gap: 24px; }
.gallery-presentation .pizza-service-nav { display: flex; flex-direction: column; position: sticky; top: calc(var(--gallery-header) + 16px); align-self: start; width: 100%; padding: 0; margin: 0; gap: 6px; border: 0; max-height: calc(100dvh - var(--gallery-header) - 30px); overflow-y: auto; }
.gallery-presentation .pizza-service-nav li { float: none; width: 100%; margin: 0; padding: 0; background: none; }
.gallery-presentation .pizza-service-nav li a { display: flex; align-items: center; min-height: 48px; padding: 13px 16px; color: var(--gallery-ink); background: none; font: 600 15px/1.5 var(--gallery-font); border: 0; border-radius: 11px; text-transform: none; text-align: left; white-space: normal; }
.gallery-presentation .pizza-service-nav li.active a { color: #fff; background: var(--gallery-red); }
.gallery-presentation .pizza-service-nav li:not(.active) a:hover { color: var(--gallery-ink); background: #eae8e5; }
.gallery-presentation .pizza-service-nav li a::after { display: none; }
.gallery-presentation .pizza-service-tab > .tab-content { min-width: 0; width: 100%; padding: 0; }
.gallery-presentation .pizza-service-tab > .tab-content > .tab-pane { display: block; opacity: 1; margin: 0 0 64px; scroll-margin-top: calc(var(--gallery-header) + 20px); }
.gallery-presentation .gallery-category-title { font-size: clamp(28px, 3vw, 39px); margin: 0 0 24px; border-top: 1px solid #d5d5d5; padding-top: 24px; }
.gallery-presentation .pizaa-category { margin: 0 0 22px; text-align: left; }
.gallery-presentation .pizaa-category ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.gallery-presentation .pizaa-category li { border: 1px solid var(--gallery-line); border-radius: 30px; min-height: 44px; padding: 10px 18px; font: 500 14px/1.6 var(--gallery-font); color: var(--gallery-muted); background: transparent; }
.gallery-presentation .pizaa-category li.active { color: white; background: var(--gallery-ink); }
.gallery-presentation [id^="catid"].row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; margin: 0; }
.gallery-presentation [id^="catid"].row::before,
.gallery-presentation [id^="catid"].row::after { display: none; }
.gallery-presentation [id^="catid"] > .col-md-3 { float: none; flex: none; max-width: none; width: 100%; padding: 0; min-width: 0; display: flex; }
.gallery-presentation #exTab2 .pizaa-service-col { display: flex; flex-direction: column; align-items: stretch; width: 100%; margin: 0; padding: 0 0 18px; text-align: left; background: white; border: 1px solid #e1e1e1; border-radius: 21px; overflow: hidden; box-shadow: 0 4px 0 #d0d0d021; }
.gallery-presentation #exTab2 .pizaa-service-col .pizza-ser-img-col { position: relative; width: 100%; height: auto; aspect-ratio: 1.12; border-radius: 0; background: var(--gallery-photo); margin: 0 0 12px; padding: 0; display: grid; place-items: center; }
.gallery-presentation .pizza-ser-img-col picture { display: contents; }
.gallery-presentation #exTab2 .pizaa-service-col .pizza-ser-img-col img.gp-item-photo { width: 94%; height: 94%; max-width: none; max-height: none; object-fit: contain; margin: 0; mix-blend-mode: multiply; }
.gallery-presentation .pizza-overlay { border-radius: 0; }
.gallery-presentation #exTab2 .pizaa-service-col h4 { font: 750 20px/1.2 var(--gallery-display); margin: 0 17px 6px; min-height: 0; text-align: left; }
.gallery-presentation #exTab2 .pizaa-service-col .description { margin: 0 17px 12px; font: 12px/1.7 var(--gallery-font); color: var(--gallery-muted); min-height: 0; height: auto; max-height: none; overflow: visible; text-align: left; }
.gallery-presentation #exTab2 .pizaa-service-col .code-no { margin: auto 17px 12px; padding: 0; font: 750 18px/1.4 var(--gallery-display); color: var(--gallery-ink); text-align: left; }
.gallery-presentation .service-order-btn { border: 0; background: var(--gallery-red); color: white; font: 600 12px/1.5 var(--gallery-font); border-radius: 30px; min-height: 44px; padding: 12px 20px; }
.gallery-presentation #exTab2 .pizaa-service-col .service-order-btn { align-self: flex-end; width: auto; margin: 0 17px; }
.gallery-presentation :is(.home-slider-btn,.checkout-btn,.gp-primary,.info-btn,.pizza-cart-btn,.order-now-btn) { background: var(--gallery-red); color: white; border-radius: 30px; font-family: var(--gallery-font); border: 0; min-height: 44px; }
.gallery-presentation :is(.service-order-btn,.home-slider-btn,.checkout-btn,.gp-primary,.info-btn):hover { background: #ad241c; color: white; }
.gallery-presentation :is([aria-disabled="true"],button:disabled) { opacity: .6; cursor: wait; }
.gallery-presentation .topBanner { background: transparent !important; min-height: 0; height: auto; padding: 52px 0 12px; }
.gallery-presentation .topBanner::before,.gallery-presentation .topBanner::after { display: none !important; }
.gallery-presentation .topBanner .container { height: auto; }
.gallery-presentation .topBannerInner { position: relative; top: auto; transform: none; padding: 0; min-height: 0; height: auto; text-align: left; }
.gallery-presentation .topBannerInner h2 { color: var(--gallery-ink); font-size: clamp(34px, 5vw, 61px); text-shadow: none; margin: 0; }
.gallery-presentation .sliderWrap { margin: 24px auto 0; width: min(1320px, calc(100% - 64px)); border-radius: 26px; overflow: hidden; }
.gallery-presentation #home-slider2 .fill { min-height: 430px; }
.gallery-presentation .bannerText { padding: 74px 28px; max-width: 700px; }
.gallery-presentation .banner-heading h2 { font: 800 clamp(38px, 5vw, 72px)/1.03 var(--gallery-display); color: white; }
.gallery-presentation .build-you-pizza { width: min(1320px, calc(100% - 64px)); border-radius: 22px; overflow: hidden; margin: 40px auto 0; background: var(--gallery-ink); }
.gallery-presentation .start-building-copy h2 { color: white; font-family: var(--gallery-display); }
.gallery-presentation .bottom-detail-sec { width: min(1320px, calc(100% - 64px)); margin: 0 auto 64px; border-radius: 22px; overflow: hidden; }
.gallery-presentation .gallery-footer-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.gallery-presentation .bottom-detail-inner h3 { color: white; font-family: var(--gallery-display); }
.gallery-presentation .btn-white { border-radius: 30px; font-family: var(--gallery-font); }
.gallery-presentation .footer { background: var(--gallery-ink); color: var(--gallery-paper); border-radius: 28px 28px 0 0; }
.gallery-presentation .footer h3 { color: white; font-family: var(--gallery-display); }
.gallery-presentation .footer a { color: var(--gallery-paper); font-family: var(--gallery-font); font-size: 13px; }
.gallery-presentation .ft-bottom-rlt { background: transparent; border-top: 1px solid #555; }
.gallery-presentation .right-fixed-cart { display: block; top: auto; bottom: max(18px, env(safe-area-inset-bottom)); right: 90px; }
.gallery-presentation .fixed-cart { display: flex; align-items: center; gap: 12px; background: var(--gallery-ink); border: 0; border-radius: 40px; color: white; padding: 14px 22px; box-shadow: 0 7px 25px #28282845; }
.gallery-presentation .fixed-cart img { width: 22px; height: auto; }
.gallery-presentation .fixed-cart strong { background: transparent; margin: 0; padding: 0; color: white; font: 600 14px var(--gallery-font); }
.gallery-presentation .fixed-cart i { position: static; background: white; color: var(--gallery-ink); border-radius: 50%; }
.gallery-presentation:has(.cart-page,.checkout-page,[data-customizer],[data-half-customizer]) .right-fixed-cart { display: none; }
/* Cart layout and canonical mutations continue to belong to cart.blade.php. */
.gallery-presentation .cart-page { padding-top: 30px; }
.gallery-presentation .cart-page .cart-item-row { border: 1px solid var(--gallery-line); background: white; border-radius: 19px; margin-bottom: 15px; padding: 22px 16px; }
.gallery-presentation .cart-page :is(.item-name-col,.wing-cart-title) { font-family: var(--gallery-display); color: var(--gallery-ink); }
.gallery-presentation .cart-page .cart-item-img { border-radius: 14px; background: var(--gallery-photo); padding: 8px; }
.gallery-presentation .cart-page .cart-item-img img { mix-blend-mode: multiply; }
.gallery-presentation .cart-total-box { background: #efede9; border: 0; border-radius: 22px; padding: 28px; box-shadow: none; }
.gallery-presentation .cart-total-box h3 { font: 750 30px var(--gallery-display); color: var(--gallery-ink); }
.gallery-presentation .cart-total-box li { font-family: var(--gallery-font); }
.gallery-presentation .cart-total-box .main-amount { font: 800 30px var(--gallery-display); }
.gallery-presentation :is(.cart-promo-upsell,.cart-code-panel,.discount-code-panel) { background: #efede9; border-radius: 18px; border-color: var(--gallery-line); }
/* The existing dialogs, maps, OTP contexts and Omise fields keep their IDs. */
.gallery-presentation .modal-content { background: white; border: 0; border-radius: 22px; box-shadow: 0 24px 70px #24242430; }
.gallery-presentation .modal :is(h2,h3,h4) { font-family: var(--gallery-display); color: var(--gallery-ink); }
.gallery-presentation .modal :is(.about-text,.about-content,.formBox) { font-family: var(--gallery-font); }
.gallery-presentation :is(.form-control,.input-custom,.formBox input:not([type="checkbox"]):not([type="radio"]),.formBox select,.formBox textarea) { background: #fdfdfd; border: 1px solid #ccc; border-radius: 10px; min-height: 48px; font-family: var(--gallery-font); }
.gallery-presentation :is(.checkout-page,.account-info-page,.build-you-pizz-page) { padding-block: 30px 64px; }
.gallery-presentation :is(.delivery-top-sec,.delivery-time-panel,.card-info-col,.checkout-order-summary,.personal-info-col,.user-address-col,.pizza-price-detail-sec) { background: white; border: 1px solid var(--gallery-line); border-radius: 20px; padding: 26px; box-shadow: none; }
.gallery-presentation :is(.gp-product-card,.gp-option-card,.gp-customizer-layout .panel,.pizza-accordions .panel) { border-color: var(--gallery-line); border-radius: 16px; overflow: hidden; background: white; }
.gallery-presentation .gp-customizer-layout :is(h2,h3) { font-family: var(--gallery-display); }
.gallery-presentation .build-you-pizz-nav a { font-family: var(--gallery-font); border-radius: 12px; }
.gallery-presentation .build-you-pizz-nav .active a { background: var(--gallery-red); color: white; }
.gallery-presentation .gp-mobile-actions { background: var(--gallery-paper); border-color: var(--gallery-line); }
.gallery-presentation .catering-page { --catering-red: var(--gallery-red); font-family: var(--gallery-font); }
.gallery-presentation .catering-page :is(h1,h2,h3) { font-family: var(--gallery-display); }
.gallery-presentation #wingUpgradePopup :is(.wing-upgrade-heading h2,.wing-size-title,.wing-size-price,.wing-size-upgrade) { font-family: var(--gallery-display); }
.gallery-presentation #wingUpgradePopup .wing-size-options { gap: 8px; }
.gallery-presentation #wingUpgradePopup .wing-size-option { padding: 12px; border-radius: 15px; }
.gallery-presentation #wingUpgradePopup .wing-size-option.is-selected { border-color: var(--gallery-red); background: #faeeeb; }
.gallery-presentation #wingUpgradePopup .wing-upgrade-footer { background: white; }
.gallery-presentation #wingUpgradePopup .wing-size-saving br { display: block; }
.gallery-presentation .scheduled-order-site-banner { background: #efede9; color: var(--gallery-ink); font-family: var(--gallery-font); }
.gallery-presentation .scheduled-order-site-banner--emergency { background: #faeeeb; color: #8e201a; }
.gallery-presentation .alert { border-radius: 14px; }
@media (max-width: 1199px) {
    .gallery-presentation .wrapper-flush { gap: 24px; }
    .gallery-presentation .nav-menu { gap: 14px; }
    .gallery-presentation .nav-menu .menu-link { font-size: 12px; }
    .gallery-presentation .pizza-service-tab { grid-template-columns: 175px minmax(0,1fr); gap: 24px; }
    .gallery-presentation [id^="catid"].row { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 991px) and (min-width: 768px) {
    .gallery-presentation .mainMenuBar { flex-wrap: wrap; }
    .gallery-presentation .header-cart-sec { margin-left: auto; }
    .gallery-presentation .wrapper-flush { flex-wrap: wrap; gap: 12px; }
    .gallery-presentation .nav-menu { flex-wrap: wrap; }
}
@media (max-width: 767px) {
    body.gallery-presentation { --gallery-header: 88px; }
    .gallery-presentation .container { width: calc(100% - 32px); }
    .gallery-presentation .mainMenuWrap { padding: 4px 0; }
    .gallery-presentation .mainMenuBar { display: block; min-height: 72px; }
    .gallery-presentation .wrapper-flush { display: block; min-height: 72px; }
    .gallery-presentation .logo { width: 84px; }
    .gallery-presentation .logo img { width: 84px; height: 72px; }
    .gallery-presentation .header-cart-sec { display: none; }
    .gallery-presentation .header-mobile-cart { color: white; background: var(--gallery-red); border-radius: 999px; padding: 0 12px; gap: 8px; min-height: 44px; min-width: 64px; justify-content: center; }
    .gallery-presentation .header-mobile-cart:hover,.gallery-presentation .header-mobile-cart:focus { color: white; }
    .gallery-presentation .header-mobile-cart__icon img { width: 19px; height: 22px; filter: brightness(0) invert(1); }
    .gallery-presentation .header-mobile-cart__icon i { position: static; width: auto; height: auto; background: transparent; color: white; font: 600 12px/1 var(--gallery-font); }
    .gallery-presentation .header-language-mobile__toggle { color: var(--gallery-ink); }
    .gallery-presentation .nav-toggle .line { background: var(--gallery-ink); }
    .gallery-presentation .nav-container { display: none; width: 100%; background: var(--gallery-paper); top: 100%; left: 0; max-height: calc(100dvh - var(--gallery-header)); overflow-y: auto; }
    .gallery-presentation .nav-container.is-visible { display: block; }
    .gallery-presentation .nav-toggle { background: transparent; }
    .gallery-presentation .nav-menu { display: block; padding: 16px; }
    .gallery-presentation .nav-menu .menu-link { display: block; min-height: 44px; padding: 12px; font-size: 14px; }
    .gallery-presentation .pizaa-services-sec { padding-top: 24px; }
    .gallery-presentation .sec-heading { margin-bottom: 20px; }
    .gallery-presentation .pizza-service-tab { display: block; }
    .gallery-presentation .pizza-service-nav { position: sticky; top: var(--gallery-header); z-index: 20; flex-direction: row; overflow-x: auto; overflow-y: hidden; max-height: none; width: calc(100% + 32px); margin: 0 -16px 22px; padding: 10px 16px; background: var(--gallery-paper); border-bottom: 1px solid var(--gallery-line); scrollbar-width: thin; }
    .gallery-presentation .pizza-service-nav li { flex: 0 0 auto; width: auto; }
    .gallery-presentation .pizza-service-nav li a { white-space: nowrap; min-height: 44px; padding: 12px 16px; }
    .gallery-presentation .pizza-service-tab > .tab-content > .tab-pane { scroll-margin-top: calc(var(--gallery-header) + 95px); margin-bottom: 42px; }
    .gallery-presentation .gallery-category-title { font-size: 29px; padding-top: 20px; margin-bottom: 18px; }
    .gallery-presentation [id^="catid"].row { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 12px; }
    .gallery-presentation #exTab2 .pizaa-service-col { border-radius: 16px; padding-bottom: 14px; }
    .gallery-presentation #exTab2 .pizaa-service-col .pizza-ser-img-col { margin-bottom: 14px; }
    .gallery-presentation #exTab2 .pizaa-service-col h4 { font-size: 17px; margin-inline: 12px; }
    .gallery-presentation #exTab2 .pizaa-service-col .description { font-size: 11px; margin-inline: 12px; margin-bottom: 12px; }
    .gallery-presentation #exTab2 .pizaa-service-col .code-no { font-size: 16px; margin-inline: 12px; }
    .gallery-presentation #exTab2 .pizaa-service-col .service-order-btn { margin: 0 12px; padding: 12px 18px; }
    /* The existing standard/premium mobile rules contain category IDs. */
    .gallery-presentation .pizaa-services-sec :is(#catid4,#catid65) .pizaa-service-col { display: flex; flex-direction: column; align-items: stretch; padding: 0 0 14px; text-align: left; }
    .gallery-presentation .pizaa-services-sec :is(#catid4,#catid65) .pizza-ser-img-col { width: 100%; height: auto; margin: 0 0 14px; inset: auto; }
    .gallery-presentation .pizaa-services-sec :is(#catid4,#catid65) .pizaa-service-col > h4 { margin: 0 12px 10px; font: 750 17px/1.2 var(--gallery-display); text-align: left; overflow-wrap: normal; }
    .gallery-presentation .pizaa-services-sec :is(#catid4,#catid65) .pizaa-service-col > p { margin: 0 12px 12px; font: 11px/1.7 var(--gallery-font); text-align: left; }
    .gallery-presentation .pizaa-services-sec :is(#catid4,#catid65) .pizaa-service-col > .code-no { margin: auto 12px 12px; font: 750 16px/1.4 var(--gallery-display); text-align: left; }
    .gallery-presentation .pizaa-services-sec :is(#catid4,#catid65) .pizaa-service-col > .service-order-btn { margin: 0 12px; align-self: flex-end; font-size: 12px; }
    .gallery-presentation .topBanner { padding-top: 30px; }
    .gallery-presentation .sliderWrap,.gallery-presentation .build-you-pizza,.gallery-presentation .bottom-detail-sec { width: calc(100% - 32px); border-radius: 20px; }
    .gallery-presentation #home-slider2 .fill { min-height: 350px; }
    .gallery-presentation .bannerText { padding: 48px 0; }
    .gallery-presentation .bottom-detail-sec .row { margin: 0; }
    .gallery-presentation .right-fixed-cart { left: 16px; right: 16px; width: auto; }
    /* Clear the basket in both floating and existing page-foot contact layouts. */
    .gallery-presentation #line-widget { bottom: calc(90px + env(safe-area-inset-bottom)); }
    body.gallery-presentation:has(.pizaa-services-sec .tab-pane.active :is(#catid4, #catid65)) #line-widget,
    body.gallery-presentation:has(.account-info-page) #line-widget { padding-bottom: calc(102px + env(safe-area-inset-bottom)); }
    .gallery-presentation .fixed-cart { display: flex; gap: 18px; align-items: center; justify-content: center; width: 100%; min-height: 56px; }
    .gallery-presentation .cart-page .cart-item-row { padding: 16px 12px; }
    .gallery-presentation :is(.cart-total-box,.delivery-top-sec,.delivery-time-panel,.card-info-col,.personal-info-col,.user-address-col) { padding: 20px; }
    .gallery-presentation .cart-total-amount-sec { margin-top: 20px; }
    .gallery-presentation #wingUpgradePopup .wing-size-option { min-height: 76px; padding: 9px 112px 9px 12px; }
    .gallery-presentation :is(.form-control,.input-custom,.formBox input,.formBox select,.formBox textarea) { font-size: 16px; }
    .gallery-presentation .footer { padding-bottom: 90px; }
}
@media (max-width: 359px) {
    .gallery-presentation [id^="catid"].row { grid-template-columns: minmax(0,1fr); }
    .gallery-presentation #exTab2 .pizaa-service-col .pizza-ser-img-col { aspect-ratio: 1.35; }
    .gallery-presentation #wingUpgradePopup .wing-size-detail { display: block; line-height: 1.35; }
    .gallery-presentation #wingUpgradePopup .wing-size-detail strong { font-size: 12px; }
    .gallery-presentation #wingUpgradePopup .wing-size-detail span { font-size: 10px; }
    .gallery-presentation #wingUpgradePopup .wing-size-detail span::before { content: ''; }
}
@media (prefers-reduced-motion: reduce) {
    .gallery-presentation *, .gallery-presentation *::before, .gallery-presentation *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
/* Keep existing help text and actions readable on the integrated surfaces. */
.gallery-presentation .header-language-desktop a.active { color: #b72b23 !important; }
.gallery-presentation :is(.gp-customizer-hero h1,.gp-summary-heading h2) { color: white; }
.gallery-presentation :is(.login-left > p,.cart-total-box li > span,.personal-info-col li > span,.account-info-page th,.sub-total > span,.secondary-phone-help,.wing-size-detail > span,.build-you-pizz-nav a span,.build-you-pizz-nav a small) { color: var(--gallery-muted); }
.gallery-presentation .build-you-pizz-nav .active a :is(span,small) { color: white; }
.gallery-presentation .btn-primary { color: white; background: var(--gallery-red); }
.gallery-presentation .catering-package__copy .catering-eyebrow { color: #b72b23; }
.gallery-presentation p > a:not([class]) { text-decoration: underline; }
.gallery-presentation .bottom-detail-sec .btn-white { color: white; }
.gallery-presentation .otp-login-wrapper .another-method-wrapper .mb-2 { color: var(--gallery-muted); }
.gallery-presentation .login-social-col a { color: #fff; min-height: 44px; }
.gallery-presentation .login-social-col .google-plus-login { background: var(--gallery-red) !important; }
.gallery-presentation .loginBox input { color: var(--gallery-ink); }
.gallery-presentation .loginBox input::placeholder { color: var(--gallery-muted); opacity: 1; }
.gallery-presentation .header-cart-sec .top-language-col a { color: var(--gallery-ink) !important; font-size: inherit; }
/* The existing price and Order action share one wrapping footer, including AJAX cards. */
.gallery-presentation #exTab2 .gallery-card-actions { align-self: stretch; min-width: 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: auto 17px 0; padding-top: 2px; }
.gallery-presentation #exTab2 .pizaa-service-col .gallery-card-actions .code-no { margin: 0; width: auto; flex: 0 0 auto; white-space: nowrap; }
.gallery-presentation #exTab2 .pizaa-service-col .gallery-card-actions .service-order-btn { margin: 0 0 0 auto; padding: 10px 12px; flex-shrink: 0; }
.gallery-presentation #exTab2 .pizaa-service-col .description:empty { display: none; }
.gallery-presentation .header-cart-sec .baket-col { position: static; display: flex; align-items: center; gap: 7px; width: auto; height: 24px; flex: 0 0 auto; order: -1; }
.gallery-presentation .header-cart-sec .baket-col img { width: 19px; height: 22px; filter: brightness(0) invert(1); }
.gallery-presentation .header-cart-sec .baket-col i { position: static; width: auto; height: auto; background: transparent; border: 0; color: white; font: 600 12px/1 var(--gallery-font); }
.gallery-presentation #line-widget a { position: relative; display: inline-grid; width: 50px; height: 50px; border-radius: 8px; background: #087f35; }
.gallery-presentation .gallery-line-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: white; font: 700 13px/1 var(--gallery-font); }
.gallery-presentation #line-widget img { position: relative; z-index: 1; width: 50px; height: 50px; margin: 0; object-fit: contain; }
.gallery-presentation #line-widget img.gallery-contact-image-error { opacity: 0; }
@media (max-width: 767px) {
    .gallery-presentation #exTab2 .gallery-card-actions { margin-inline: 12px; }
    .gallery-presentation .header-mobile-cart__label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .gallery-presentation .header-mobile-cart__icon { position: static; display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; width: auto; height: auto; }
}

/* Customer presentation polish. Existing controls retain their handlers. */
.gallery-presentation .gallery-category-title {
    border-top: 3px solid var(--gallery-red);
    padding: 20px 0 16px;
    border-bottom: 1px solid var(--gallery-line);
}
.gallery-presentation .pizaa-category ul li::before,
.gallery-presentation .pizaa-category ul li::after,
.gallery-presentation .pizaa-category ul li.active::after { content: none; }
.gallery-presentation #halfproductPopup .modal-dialog { max-width: 660px; }
.gallery-presentation #halfproductPopup .modal-content { background: white !important; }
.gallery-presentation #halfproductPopup .modal-body { padding: 48px 20px 24px; }
.gallery-presentation #halfproductPopup .loginBox { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.gallery-presentation #halfproductPopup .login-left,
.gallery-presentation #halfproductPopup .login-right { float: none; width: auto !important; margin: 0; padding: 0 !important; display: flex; flex-direction: column; border: 0; }
.gallery-presentation #halfproductPopup .loginBox::before,
.gallery-presentation #halfproductPopup .loginBox::after,
.gallery-presentation #halfproductPopup .login-right::before,
.gallery-presentation #halfproductPopup .login-right::after { display: none; }
.gallery-presentation #halfproductPopup h3 { font-size: 24px; margin: 0 0 8px; }
.gallery-presentation #halfproductPopup p { font-size: 14px; line-height: 1.45; margin: 0 0 12px; }
.gallery-presentation #halfproductPopup .half-pizza-select-col { margin-top: auto; }
.gallery-presentation #halfproductPopup .half-pizza-img { margin: 0 0 12px; }
.gallery-presentation #halfproductPopup .half-pizza-img img { width: 120px !important; height: 120px !important; object-fit: contain; }
.gallery-presentation #halfproductPopup .service-order-btn { min-height: 44px; padding: 12px 20px; margin: 0; }
.gallery-presentation #productPopup:has(.secondproductid) .about-img-col { height: 150px; }
.gallery-presentation #productPopup:has(.secondproductid) .about-img-col img { max-height: 150px; object-fit: contain; }
.gallery-presentation #productPopup:has(.secondproductid) .product-dis { padding-top: 12px; }
.gallery-presentation #productPopup:has(.secondproductid) h3 { font-size: 25px; margin: 0 0 8px; }
.gallery-presentation #productPopup:has(.secondproductid) .product-dis > p { font-size: 14px; line-height: 1.5; }
.gallery-presentation #productPopup:has(.secondproductid) .input-row { margin-bottom: 16px; }
.gallery-presentation #productPopup:has(.secondproductid) .input-row > label { display: block; margin-bottom: 8px; font-weight: 650; }
.gallery-presentation #productPopup:has(.secondproductid) .chees-option-btn-col a { display: flex; align-items: center; justify-content: center; font: 600 16px/1.4 var(--gallery-font); min-height: 48px; height: auto; padding: 12px; }
.gallery-presentation #productPopup .secondproductid:has(option:checked:not([value=""])) { border-color: var(--gallery-red); background-color: #fff8f5; }
.gallery-presentation #productPopup .secondproductid { width: 100%; min-height: 48px; font: 500 16px/1.4 var(--gallery-font); border: 1px solid var(--gallery-line); border-radius: 10px; background-color: white; color: var(--gallery-ink); }
.gallery-presentation .gp-customizer .pizza-baking-detail .deleteToping { position: relative; width: 44px; height: 44px; background: transparent; flex-shrink: 0; }
.gallery-presentation .gp-customizer .pizza-baking-detail .deleteToping::before { content: ''; position: absolute; inset: 10px; background: #f0ece8; border-radius: 50%; z-index: 0; }
.gallery-presentation .gp-customizer .pizza-baking-detail .deleteToping img { position: relative; width: 10px; height: 10px; z-index: 1; }
@media (max-width: 767px) {
    .gallery-presentation #halfproductPopup .modal-body { padding: 48px 16px 20px; }
    .gallery-presentation #halfproductPopup .loginBox { gap: 16px; }
    .gallery-presentation #halfproductPopup h3 { font-size: 20px; }
    .gallery-presentation #halfproductPopup .half-pizza-img img { width: 96px !important; height: 96px !important; }
    .gallery-presentation #productPopup:has(.secondproductid) .modal-body { padding: 48px 20px 20px; }
}
