/* Shared controls for customer-facing dialogs. Position and hit area come from each dialog. */
:where(button[aria-label^="Закрыть"],.product-collapse,.pp-prompt-close,.dialog-close,.pp-account-close,.checkout-page-close,#closeMobileMenu) {
  position:relative;
}
:is(button[aria-label^="Закрыть"],button.product-collapse,button.pp-prompt-close,button.dialog-close,button.pp-account-close,a.checkout-page-close,button#closeMobileMenu),
#ppCustomerAuth button.pp-auth-close {
  border:0!important;
  border-radius:50%;
  background:transparent!important;
  color:#645a50!important;
  -webkit-text-fill-color:currentColor!important;
  box-shadow:none!important;
  font-size:0!important;
  -webkit-tap-highlight-color:transparent;
  transition:opacity .18s ease!important;
}
:is(button[aria-label^="Закрыть"],button.product-collapse,button.pp-prompt-close,button.dialog-close,button.pp-account-close,a.checkout-page-close,button#closeMobileMenu) > :is(svg,.app-native-icon,.collapse-desktop,.collapse-mobile) {
  visibility:hidden;
}
:is(button[aria-label^="Закрыть"],button.product-collapse,button.pp-prompt-close,button.dialog-close,button.pp-account-close,a.checkout-page-close,button#closeMobileMenu)::before {
  content:"";
  position:absolute;
  inset:0;
  margin:auto;
  width:19px;
  height:19px;
  background:currentColor;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 6 12 12M18 6 6 18' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  pointer-events:none;
  transition:transform .18s ease;
}
:is(button[aria-label^="Закрыть"],button.product-collapse,button.pp-prompt-close,button.dialog-close,button.pp-account-close,a.checkout-page-close,button#closeMobileMenu):focus-visible {
  outline:2px solid #75695e!important;
  outline-offset:2px;
}
@media(hover:hover) and (pointer:fine) {
  :is(button[aria-label^="Закрыть"],button.product-collapse,button.pp-prompt-close,button.dialog-close,button.pp-account-close,a.checkout-page-close,button#closeMobileMenu):hover,
  #ppCustomerAuth button.pp-auth-close:hover {
    background:transparent!important;
    opacity:.85;
  }
}
:is(button[aria-label^="Закрыть"],button.product-collapse,button.pp-prompt-close,button.dialog-close,button.pp-account-close,a.checkout-page-close,button#closeMobileMenu):active::before {
  transform:scale(.94);
}
#ppCustomerAuth button.pp-auth-close:hover {
  transform:none;
}


dialog.pp-native-contact-map .modern-map-canvas iframe{display:block;width:100%;height:100%;border:0}
dialog.pp-native-contact-map .pp-contact-zoom{
 position:absolute;top:42px;right:14px;z-index:2;display:grid;
 border:1px solid #ffffffc9;border-radius:12px;background:#fffdf9df;
 box-shadow:0 3px 12px #211b1414;overflow:hidden;
}
dialog.pp-native-contact-map .pp-contact-zoom button{width:36px;height:40px;background:transparent;color:#645a50;font-size:20px;padding:0;border-radius:0}
dialog.pp-native-contact-map .pp-contact-zoom button+button{border-top:1px solid #ded8d0}
dialog.pp-native-contact-map .pp-contact-zoom button:active{background:#ded7cf88}
dialog.pp-native-contact-map .modern-contact-location{padding:0}
dialog.pp-native-contact-map .pp-contact-details{padding:22px}
dialog.pp-native-contact-map .pp-contact-details h2{margin:0 0 9px;font-size:22px;line-height:29px}
dialog.pp-native-contact-map .pp-contact-details .modern-contacts-address{margin:0 0 6px;font-size:14px;color:#675d52}
dialog.pp-native-contact-map .pp-contact-details .modern-contact-schedule{margin:0 0 6px;font-size:12px}
dialog.pp-native-contact-map .pp-contact-details .modern-contact-phones{display:grid;justify-items:start;gap:0;margin:0}
dialog.pp-native-contact-map .pp-contact-details .modern-contact-phones a{display:flex;align-items:center;min-height:44px;padding:0;border:0;background:none;font-size:19px;font-weight:700}
dialog.pp-native-contact-map .modern-contact-footer .modern-contact-address-button{min-height:52px;border-radius:26px}
dialog.pp-native-contact-map .modern-map-status button{min-height:38px;background:none;color:#645a50}
@media(max-width:900px){
 dialog.pp-mobile-sheet.modern-contacts-dialog.pp-native-contact-map[open]{grid-template-rows:min(310px,34dvh) minmax(0,1fr)!important}
 dialog.pp-mobile-sheet.pp-native-contact-map .modern-contacts-map{grid-row:1;position:relative;inset:auto;min-height:0}
 dialog.pp-mobile-sheet.pp-native-contact-map .modern-contacts-copy{margin:0;padding:0;background:#fffdf9;min-height:0}
}
#ppCustomerAuth button.pp-auth-close,#ppCustomerAuth button.pp-auth-close:hover,
#ppCitySheet>.pp-city-dismiss,button.promo-story-close,button.app-promotion-close{
 background:transparent!important;border-color:transparent!important;box-shadow:none!important;
}

/* Desktop dialog close controls use the mobile product button, including its surface. */
@font-face{font-family:AppIonicons;src:url('/assets/app-ionicons.ttf') format('truetype');font-display:block}
@media(min-width:701px){
 :root body :is(button[aria-label^="Закрыть"],button.product-collapse,button.pp-prompt-close,button.dialog-close,#modal button#closeModal,button.pp-account-close,button.pp-auth-close,button.pp-city-dismiss,button.promo-story-close,button.app-promotion-close,a.checkout-page-close,button#closeMobileMenu){
  width:44px!important;height:44px!important;padding:0!important;border:0!important;border-radius:22px!important;
  background:#f4efe9f5!important;color:#645a50!important;-webkit-text-fill-color:currentColor!important;
  outline:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  font-size:0!important;opacity:1;cursor:pointer;contain:layout;
 }
 :root body :is(button[aria-label^="Закрыть"],button.product-collapse,button.pp-prompt-close,button.dialog-close,#modal button#closeModal,button.pp-account-close,button.pp-auth-close,button.pp-city-dismiss,button.promo-story-close,button.app-promotion-close,a.checkout-page-close,button#closeMobileMenu)::before{
  content:"\f24a"!important;display:grid!important;place-items:center;position:absolute!important;inset:0!important;margin:auto!important;
  font:normal 19px/19px AppIonicons!important;width:19px!important;height:19px!important;
  background:transparent!important;color:inherit!important;-webkit-text-fill-color:currentColor!important;
  border:0!important;mask:none!important;-webkit-mask:none!important;pointer-events:none;transform:none!important;
 }
 :root body :is(button[aria-label^="Закрыть"],button.product-collapse,button.pp-prompt-close,button.dialog-close,#modal button#closeModal,button.pp-account-close,button.pp-auth-close,button.pp-city-dismiss,button.promo-story-close,button.app-promotion-close,a.checkout-page-close,button#closeMobileMenu)::after{content:none!important}
 :root body :is(button[aria-label^="Закрыть"],button.product-collapse,button.pp-prompt-close,button.dialog-close,#modal button#closeModal,button.pp-account-close,button.pp-auth-close,button.pp-city-dismiss,button.promo-story-close,button.app-promotion-close,a.checkout-page-close,button#closeMobileMenu)>:is(svg,.app-native-icon,.collapse-desktop,.collapse-mobile){visibility:hidden!important}
 :root body :is(button[aria-label^="Закрыть"],button.product-collapse,button.pp-prompt-close,button.dialog-close,#modal button#closeModal,button.pp-account-close,button.pp-auth-close,button.pp-city-dismiss,button.promo-story-close,button.app-promotion-close,a.checkout-page-close,button#closeMobileMenu):hover{background:#f4efe9f5!important}
 :root body :is(button[aria-label^="Закрыть"],button.product-collapse,button.pp-prompt-close,button.dialog-close,#modal button#closeModal,button.pp-account-close,button.pp-auth-close,button.pp-city-dismiss,button.promo-story-close,button.app-promotion-close,a.checkout-page-close,button#closeMobileMenu):focus-visible{outline:0!important;opacity:.7}
 :root body :is(button[aria-label^="Закрыть"],button.product-collapse,button.pp-prompt-close,button.dialog-close,#modal button#closeModal,button.pp-account-close,button.pp-auth-close,button.pp-city-dismiss,button.promo-story-close,button.app-promotion-close,a.checkout-page-close,button#closeMobileMenu):focus-visible::before{background:transparent!important;transform:none!important;opacity:1}
 :root body :is(button[aria-label^="Закрыть"],button.product-collapse,button.pp-prompt-close,button.dialog-close,#modal button#closeModal,button.pp-account-close,button.pp-auth-close,button.pp-city-dismiss,button.promo-story-close,button.app-promotion-close,a.checkout-page-close,button#closeMobileMenu):active{opacity:.77;transform:scale(.94)}
}

/* Main desktop actions match the cart's Continue checkout button. */
@media(min-width:701px){
 :root body :is(.primary,.pp-auth-primary,#pp-location-save,.modern-contact-address-button,.modern-delivery-order,#checkoutButton,#addProduct,#halfAdd){
  min-height:52px;border:0!important;border-radius:26px!important;
  background:#ff641e!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  font-size:14px;font-weight:700;line-height:20px;text-align:center;
 }
 :root body :is(.primary,.pp-auth-primary,#pp-location-save,.modern-contact-address-button,.modern-delivery-order,#checkoutButton,#addProduct,#halfAdd):not(:disabled):hover{background:#f75d18!important;box-shadow:none!important}
 :root body :is(.primary,.pp-auth-primary,#pp-location-save,.modern-contact-address-button,.modern-delivery-order,#checkoutButton,#addProduct,#halfAdd):not(:disabled):active{opacity:.83}
}

/* Promo entry is one field, without the browser's inner focus rectangle. */
#cart .pp-cart-promo{border:0}
#cart .pp-cart-promo input,
#cart .pp-cart-promo input:is(:focus,:focus-visible){
 appearance:none;-webkit-appearance:none;border:0!important;outline:0!important;box-shadow:none!important;
 background:transparent!important;border-radius:0;margin:0;padding:0;min-height:46px;line-height:24px;font-size:16px;
}

/* Compact cart quantity squares with legible signs and count. */
#cart .pp-cart-line-bottom .quantity{gap:6px}
#cart .pp-cart-line-bottom .quantity button{
 position:relative;display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;
 padding:0;border:0;border-radius:12px;font-size:22px;font-weight:800;line-height:1;color:#453c34;
}
#cart .pp-cart-line-bottom .quantity button::after{content:"";position:absolute;inset:-4px;background:transparent}
#cart .pp-cart-line-bottom .quantity>span{min-width:18px;text-align:center;font-size:16px;line-height:24px;font-weight:750;color:#302b26;font-variant-numeric:tabular-nums}
#cart .pp-cart-line-bottom .quantity button:focus-visible{outline:0;background:#e8e1d8;color:#17130f}

/* Keep the close glyph anchored inside static grid/flex buttons as well. */
@media(min-width:701px){
 :root body :is(button[aria-label^="Закрыть"],button.product-collapse,button.pp-prompt-close,button.dialog-close,#modal button#closeModal,button.pp-account-close,button.pp-auth-close,button.pp-city-dismiss,button.promo-story-close,button.app-promotion-close,a.checkout-page-close,button#closeMobileMenu){contain:layout}
}

/* Story and half-builder close controls match the mobile product button at every width. */

 :is(dialog#modal.promo-story-dialog>button#closeModal,dialog#modal.app-halves-sheet button#appHalfBack){
  width:44px!important;height:44px!important;padding:0!important;border:0!important;border-radius:22px!important;
  background:#f4efe9f5!important;color:#645a50!important;-webkit-text-fill-color:currentColor!important;
  outline:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  font-size:0!important;opacity:1;cursor:pointer;contain:layout;
 }
 :is(dialog#modal.promo-story-dialog>button#closeModal,dialog#modal.app-halves-sheet button#appHalfBack)::before{
  content:"\f24a"!important;display:grid!important;place-items:center;position:absolute!important;inset:0!important;margin:auto!important;
  font:normal 19px/19px AppIonicons!important;width:19px!important;height:19px!important;
  background:transparent!important;color:inherit!important;-webkit-text-fill-color:currentColor!important;
  border:0!important;mask:none!important;-webkit-mask:none!important;pointer-events:none;transform:none!important;
 }
 :is(dialog#modal.promo-story-dialog>button#closeModal,dialog#modal.app-halves-sheet button#appHalfBack)::after{content:none!important}
 :is(dialog#modal.promo-story-dialog>button#closeModal,dialog#modal.app-halves-sheet button#appHalfBack)>:is(svg,.app-native-icon,.collapse-desktop,.collapse-mobile){visibility:hidden!important}
 :is(dialog#modal.promo-story-dialog>button#closeModal,dialog#modal.app-halves-sheet button#appHalfBack):hover{background:#f4efe9f5!important}
 :is(dialog#modal.promo-story-dialog>button#closeModal,dialog#modal.app-halves-sheet button#appHalfBack):focus-visible{outline:0!important;opacity:.7}
 :is(dialog#modal.promo-story-dialog>button#closeModal,dialog#modal.app-halves-sheet button#appHalfBack):focus-visible::before{background:transparent!important;transform:none!important;opacity:1}
 :is(dialog#modal.promo-story-dialog>button#closeModal,dialog#modal.app-halves-sheet button#appHalfBack):active{opacity:.77;transform:scale(.94)}

/* Pointer and restored focus never add a colored ring around storefront controls. */
:root body :is(button,a,summary,input,textarea,select,[tabindex],[role=button]):is(:focus,:focus-visible),
:root body :is(#modal,#cart,#pp-location-dialog,#ppCustomerAuth,#mobileMenu,#ppCitySheet) :is(button,a,summary,input,textarea,select,[tabindex],[role=button]):is(:focus,:focus-visible),
:root body #modal #closeModal:is(:focus,:focus-visible){outline:0!important;outline-offset:0!important;-webkit-tap-highlight-color:transparent}
:root body :is(button,a,summary,[role=button]){-webkit-tap-highlight-color:transparent}
:root body :is(.pp-app-dock,.header) :is(button,a):focus-visible{opacity:.78}
:root body #pp-location-dialog :is(.pp-location-search-row,.pp-location-parts label,.pp-address-card-comment):focus-within{outline:0!important;box-shadow:none!important}

/* Resting mobile fields remain visible on the white checkout canvas. */
@media(max-width:700px){
 :root body #checkoutForm .checkout-field.checkout-comment,
 :root body #checkoutForm .checkout-field.checkout-comment:focus-within{
  min-height:52px;padding:10px 14px;background:#f5f3f0!important;border:0!important;border-radius:17px!important;box-shadow:none!important;
 }
 :root body #checkoutForm .checkout-comment textarea,
 :root body #checkoutForm .checkout-comment textarea:focus{
  display:block;box-sizing:border-box;width:100%;height:32px;min-height:32px;max-height:32px;margin:0;padding:5px 0 3px;
  background:transparent!important;font-size:16px!important;line-height:22px;resize:none;outline:0!important;box-shadow:none!important;transition:none;
 }
 :root body #checkoutForm .checkout-comment textarea::placeholder{color:#78716a;opacity:1}
 :root body #checkoutForm :is(.checkout-pickup-card,.checkout-all-times){
  background:#f5f3f0!important;border:0!important;border-radius:17px!important;box-shadow:none;
 }
 :root body #checkoutForm .checkout-all-times{min-height:52px;padding:12px 14px;gap:8px;font-size:16px;line-height:22px;color:#2e2b28}
 :root body #checkoutForm .checkout-all-times>span{min-width:0;white-space:normal}
 :root body #checkoutForm .checkout-all-times>strong{flex:none;font-size:16px;line-height:22px;color:#645a50}
 :root body #checkoutForm .checkout-time-rail .checkout-time-pill{background:#f5f3f0;box-shadow:none;min-height:48px;font-size:16px;line-height:22px}
 :root body #checkoutForm .checkout-time-rail .checkout-time-pill[aria-pressed=true]{background:#fff0e5;color:#a54219;font-weight:700}

 /* Same control geometry as desktop: a 44px hit area and a quiet 19px close. */
 :root body #cart.pp-mobile-sheet #closeCart,
 :root body #cart.pp-mobile-sheet #closeCart:is(:hover,:focus,:focus-visible){
  position:static!important;inset:auto!important;display:grid;place-items:center;flex:none;width:44px!important;height:44px!important;min-width:44px;min-height:44px;
  padding:0!important;margin:0;border:0!important;border-radius:22px!important;background:#f4efe9f5!important;
  color:#645a50!important;-webkit-text-fill-color:currentColor!important;font-size:0!important;outline:0!important;box-shadow:none!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;contain:layout;
 }
 :root body #cart.pp-mobile-sheet #closeCart::before{
  content:"\f24a"!important;position:absolute!important;inset:0!important;margin:auto!important;display:grid!important;place-items:center;
  width:19px!important;height:19px!important;font:normal 19px/19px AppIonicons!important;color:#645a50!important;
  background:transparent!important;mask:none!important;-webkit-mask:none!important;border:0!important;pointer-events:none;transform:none!important;
 }
 :root body #cart.pp-mobile-sheet #closeCart::after{content:none!important}
 :root body #cart.pp-mobile-sheet #closeCart>:is(svg,.app-native-icon){display:none!important}
 :root body #cart.pp-mobile-sheet .pp-cart-clear,
 :root body #cart.pp-mobile-sheet .pp-cart-clear:is(:hover,:focus,:focus-visible){
  display:grid;place-items:center;flex:none;width:44px!important;height:44px!important;min-width:44px;min-height:44px;padding:0!important;
  border:0!important;border-radius:0!important;background:transparent!important;color:#645a50!important;
  -webkit-text-fill-color:currentColor!important;font-size:0;outline:0!important;box-shadow:none!important;
 }
 :root body #cart.pp-mobile-sheet .pp-cart-clear svg{display:block!important;visibility:visible!important;width:20px!important;height:20px!important;stroke-width:1.8}
}

/* Checkout follows the complete visual viewport during keyboard pan. */
@media(max-width:900px){
 :root body dialog#modal.checkout-dialog.pp-mobile-sheet[open]{
  max-height:var(--pp-auth-viewport-height,100dvh)!important;
 }
}
/* The payment group remains a neutral input card on the mobile white canvas. */
@media(max-width:700px){
 :root body #checkoutForm .checkout-payment-card,
 :root body #checkoutForm .checkout-payment-card:focus-within{
  background:#f5f3f0!important;border:0!important;border-radius:17px!important;box-shadow:none!important;
 }
 :root body #checkoutForm .checkout-payment-card .checkout-payment-choices{background:#eae7e2}
 :root body #checkoutForm .checkout-payment-card :is(.checkout-change,.checkout-exact){background:transparent;border-top-color:#e5e1db}
}

/* Nested native dialogs restore focus to the underlying cart or its opener.
   Include the dialog itself: it need not carry a tabindex attribute. */
:root body :is(dialog,button,a,summary,input,textarea,select,[tabindex],[role="button"],[contenteditable]):is(:focus,:focus-visible),
:root body :is(#cart,#modal,#pp-location-dialog,#ppCustomerAuth,#mobileMenu,#ppCitySheet):is(:focus,:focus-visible),
:root body :is(#cart,#modal,#pp-location-dialog,#ppCustomerAuth,#mobileMenu,#ppCitySheet) :is(button,a,summary,input,textarea,select,[tabindex],[role="button"],[contenteditable]):is(:focus,:focus-visible){
 outline:0!important;
 outline-offset:0!important;
 -webkit-tap-highlight-color:transparent!important;
}
/* Control focus must not add a second frame. Keep dialog shadows and every
   existing pressed/selected background, border and text colour unchanged. */
:root body :is(button,a[role="button"],summary,[role="button"]){
 -webkit-tap-highlight-color:transparent!important;
 -webkit-user-select:none;
 user-select:none;
}
:root body :is(button,a[role="button"],summary,[role="button"]):is(:focus,:focus-visible),
:root body :is(#cart,#modal,#pp-location-dialog,#ppCustomerAuth,#mobileMenu,#ppCitySheet) :is(button,a[role="button"],summary,[role="button"]):is(:focus,:focus-visible),
:root body #cart :is(.pp-cart-modes,.pp-cart-address):focus-within{
 box-shadow:none!important;
}
/* Keyboard navigation remains visible without a coloured ring. No blur(),
   selection, caret, or text-field appearance changes are involved. */
html[data-pp-input="keyboard"] body :is(button,a,summary,[role="button"]):focus-visible{
 opacity:.78;
 text-decoration:underline;
 text-decoration-color:currentColor;
 text-underline-offset:3px;
}

/* The map reuses its existing close action over the mobile viewport. */
@media(max-width:700px){
 :root body dialog#pp-location-dialog>button#pp-location-map-close.pp-location-close.pp-location-map-close{
  position:absolute!important;inset:calc(14px + env(safe-area-inset-top,0px)) 18px auto auto!important;z-index:1500;
  display:grid!important;place-items:center;width:44px!important;height:44px!important;min-height:44px!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:22px!important;
  background:#f4efe9f5!important;color:#645a50!important;-webkit-text-fill-color:currentColor!important;
  box-shadow:none!important;outline:0!important;font-size:0!important;line-height:1!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;-webkit-tap-highlight-color:transparent;
 }
 :root body dialog#pp-location-dialog>button#pp-location-map-close.pp-location-close.pp-location-map-close::before,
 :root body dialog#pp-location-dialog>button#pp-location-map-close.pp-location-close.pp-location-map-close::after{content:none!important;display:none!important}
 :root body dialog#pp-location-dialog>button#pp-location-map-close.pp-location-close.pp-location-map-close>svg{
  display:block!important;visibility:visible!important;width:19px!important;height:19px!important;stroke:currentColor;stroke-width:2;pointer-events:none;
 }
 :root body dialog#pp-location-dialog .pp-location-map-wrap:not([data-compact-map=tiny]) .pp-map-zoom{
  top:calc(70px + env(safe-area-inset-top,0px))!important;right:22px!important;left:auto!important;
 }
 :root body dialog#pp-location-dialog .pp-location-map-wrap:not([data-compact-map=tiny]) .pp-location-me{
  top:calc(164px + env(safe-area-inset-top,0px))!important;right:22px!important;left:auto!important;
 }
}

/* Checkout keeps a stable white surface while its scroll window follows the keyboard. */
@media(max-width:700px){
 :root body dialog#modal.checkout-dialog.pp-mobile-sheet[open]{
  height:max(1px,calc(var(--pp-form-surface-height,var(--pp-auth-viewport-height,100dvh)) - 8px))!important;
  max-height:none!important;overflow:hidden!important;
 }
 :root body dialog#modal.checkout-dialog.pp-mobile-sheet #checkoutForm>.checkout-scroll{
  box-sizing:border-box;flex:none;height:max(1px,calc(var(--pp-form-visible-height,var(--pp-auth-viewport-height,100dvh)) - 8px));max-height:none;
 }
 :root body dialog#modal.checkout-dialog>button#closeModal,
 :root body #checkoutPage>a.checkout-page-close{
  position:absolute;top:calc(10px + env(safe-area-inset-top,0px));right:14px;left:auto;translate:none;
  display:grid!important;place-items:center;width:44px!important;height:44px!important;min-height:44px;
  padding:0!important;border:0!important;border-radius:22px!important;background:#f4efe9f5!important;color:#645a50!important;
  -webkit-text-fill-color:currentColor!important;outline:0!important;box-shadow:none!important;touch-action:manipulation;contain:layout;
 }
 :root body dialog#modal.checkout-dialog>button#closeModal::before,
 :root body #checkoutPage>a.checkout-page-close::before{
  content:"\f24a"!important;position:absolute!important;inset:0!important;margin:auto!important;
  display:grid!important;place-items:center;width:19px!important;height:19px!important;font:normal 19px/19px AppIonicons!important;
  background:transparent!important;border:0!important;color:#645a50!important;mask:none!important;-webkit-mask:none!important;transform:none!important;
 }
 :root body dialog#modal.checkout-dialog>button#closeModal::after,
 :root body #checkoutPage>a.checkout-page-close::after{content:none!important}
 :root body dialog#modal.checkout-dialog>button#closeModal>:is(svg,.app-native-icon,.collapse-desktop,.collapse-mobile){visibility:hidden!important}
}

/* Preorder opens one complete picker with readable neutral time cards. */
:root body #checkoutForm .checkout-all-times{background:#ececee!important;color:#2e2b28;box-shadow:none}
:root body #checkoutTimeSheet{background:#f5f5f7!important}
:root body #checkoutTimeSheet header{background:transparent}
:root body #checkoutTimeSheet .checkout-time-option{background:#e7e7eb!important;color:#2e2b28;box-shadow:none}
:root body #checkoutTimeSheet .checkout-time-option[aria-pressed=true]{background:#fff0e5!important;color:#a54219;box-shadow:inset 0 0 0 1px #d37754}

/* Compact footer: legal details on the left, social links on the right. */
:root body .site-footer :is(.pp-quiet-platform,.pp-classic-platform){flex-direction:row;flex-wrap:nowrap;white-space:nowrap}
:root body .site-footer :is(.pp-quiet-platform,.pp-classic-platform)>img{width:120px;height:auto;max-width:none;flex:none}
@media(max-width:700px){
 :root body .site-footer .pp-quiet-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;max-width:620px;padding:28px 20px calc(28px + env(safe-area-inset-bottom,0px));text-align:left}
 :root body .pp-quiet-footer .pp-footer-organization{grid-column:1;max-width:none}
 :root body .pp-quiet-footer .pp-quiet-company{font-size:15px;line-height:22px}
 :root body .pp-quiet-footer .pp-footer-requisites{font-size:11px;line-height:18px}
 :root body .pp-quiet-footer .pp-quiet-socials{grid-column:2;align-self:start;justify-content:flex-end;margin:0;gap:0}
 :root body .pp-quiet-footer .pp-quiet-socials a{width:38px;min-height:44px}
 :root body .pp-quiet-footer .pp-quiet-legal{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 :root body .pp-quiet-footer .pp-quiet-legal :is(a,button){justify-content:flex-start;text-align:left;padding:6px 0}
 :root body .pp-quiet-footer .pp-quiet-legal>:last-child{justify-content:flex-end;text-align:right}
 :root body .pp-quiet-footer .pp-quiet-platform{grid-column:1;justify-content:flex-start;justify-self:start;margin:0;gap:7px}
 :root body .site-footer .pp-quiet-platform>img{width:104px}
 :root body .pp-quiet-footer .pp-quiet-meta{grid-column:2;flex-direction:column;align-items:flex-end;justify-content:center;gap:0;text-align:right}
 :root body .pp-quiet-footer .pp-quiet-meta button{padding:5px 0;min-height:28px}
 :root body .pp-quiet-footer :is(.pp-quiet-payments,.pp-quiet-pay-note){display:none}
}

/* Warm half-pizza surface, with the existing independent flavor controls. */
dialog#modal.app-halves-sheet.app-halves-clean{background:linear-gradient(145deg,#f8efdf,#f2e4cb 60%,#ead8b9)!important}
#modal.app-halves-sheet.app-halves-clean :is(#modalContent,.app-half-head,.app-half-scroll,.app-halves-builder,.app-half-selection,.app-half-footer,.app-half-review){background:transparent!important}
#modal.app-halves-sheet.app-halves-clean :is(.app-half-list-toggle,.app-half-random){background:#ffffffad!important}
#modal.app-halves-sheet.app-halves-clean .extra-card{background:#ffffffa6}
#modal.app-halves-sheet.app-halves-clean .extra-card.selected{background:#fff0e5}
@media(min-width:901px){
 :root body .site-footer .pp-classic-logo{width:116px;height:78px;margin-bottom:14px}
 :root body .site-footer .pp-classic-logo img{width:116px!important;height:auto!important;max-height:78px!important}
 :root body .site-footer .pp-classic-platform>img{width:112px!important;height:auto!important;max-width:none!important;max-height:none!important;opacity:1}
}

/* Clear mobile city choices on the white sheet. */
@media(max-width:900px){
 :root body dialog#ppCitySheet .pp-city-options label{
  --pp-city-glass-tint:rgba(150,145,157,.10);
  position:relative;isolation:isolate;overflow:hidden;
  background:radial-gradient(ellipse at 8% -55%,#ffffffef 0,transparent 68%),linear-gradient(180deg,#ffffff85 0%,#d8d5df1f 38%,#a7a2b32b 66%,#ffffff80 100%),var(--pp-city-glass-tint)!important;
  border:1.5px solid #aaa6af99!important;
  box-shadow:0 5px 14px #39333f12,inset 0 1.5px 1px #fffffff5,inset 0 -1.5px 2px #79708022,inset 1px 0 1px #ffffffb3,inset -1px 0 1px #ffffff99!important;
  color:#403c42;-webkit-backdrop-filter:blur(18px) saturate(135%);backdrop-filter:blur(18px) saturate(135%);
 }
 :root body dialog#ppCitySheet .pp-city-options label::before{content:"";position:absolute;inset:1px;border-radius:inherit;pointer-events:none;z-index:0;box-shadow:inset 0 1px 0 #fff,inset 0 -1px 0 #ffffff8c;background:linear-gradient(125deg,#ffffffb3,transparent 35%,transparent 68%,#ffffff38)}
 :root body dialog#ppCitySheet .pp-city-options label::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:0;background:linear-gradient(112deg,transparent 18%,#ffffffa6 21%,#ffffff1f 34%,transparent 46%),radial-gradient(ellipse at 50% 115%,#ffffffa6,transparent 66%);opacity:.7}
 :root body dialog#ppCitySheet .pp-city-options label>span{position:relative;z-index:1}
 :root body dialog#ppCitySheet .pp-city-options label:has(input:checked){--pp-city-glass-tint:rgba(150,145,157,.16);border-color:#d08a6399!important;color:#453c39}
 :root body dialog#ppCitySheet .pp-city-radio{border-color:#918b93;background:#ffffff85;box-shadow:inset 0 1px 1px #57515a1a,0 1px 0 #fff}
 :root body dialog#ppCitySheet .pp-city-options input:checked+.pp-city-radio{border-color:#c2602c;background:#ffffffcc}
 :root body dialog#ppCitySheet .pp-city-radio::after{background:#c2602c}
}
@media(max-width:900px) and (prefers-reduced-transparency:reduce){:root body dialog#ppCitySheet .pp-city-options label{background:#f4f2f2!important;-webkit-backdrop-filter:none;backdrop-filter:none}}


/* Keep the existing address title; add the approved mobile subtitle only. */
#locationSiteButton .pp-location-empty-caption{display:none}
@media(max-width:900px){
 :root body .header #locationSiteButton[data-needs-address]:not([data-needs-city]) .pp-location-default-caption{display:none!important}
 :root body .header #locationSiteButton[data-needs-address]:not([data-needs-city]) small{display:block!important;white-space:nowrap;color:#74675a!important;background-image:none!important;animation:none!important;-webkit-text-fill-color:#74675a!important}
 :root body .header #locationSiteButton[data-needs-address]:not([data-needs-city]) .pp-location-empty-caption{display:inline!important;-webkit-text-fill-color:inherit!important}
}
@media(prefers-reduced-motion:no-preference){
 #locationSiteButton[data-needs-address] :is(.pp-address-initial>span,.pp-address-query){animation-duration:6s!important}
 @media(max-width:900px){
  @supports (-webkit-background-clip:text) or (background-clip:text){
   :root body .header #locationSiteButton[data-needs-address]:not([data-needs-city]) .pp-location-summary :is(strong,small){
    background-image:linear-gradient(90deg,#b94713 0%,#ff9960 25%,#b94713 50%,#ff9960 75%,#b94713 100%)!important;
    background-size:200% 100%!important;
    background-position:100% 0;
    -webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;
    animation:pp-address-mobile-continuous 1s linear infinite!important;
   }
   :root body .header #locationSiteButton[data-needs-address]:not([data-needs-city]) .pp-location-summary :is(strong,small) span{background:none!important;animation:none!important;-webkit-text-fill-color:inherit!important}
  }
 }
}

/* Desktop: highlight the whole address prompt, including its first word. */
@media(min-width:901px){
 .modern-order-address #locationSiteButton[data-needs-address] .pp-address-initial{color:#bd4a16!important;-webkit-text-fill-color:#bd4a16!important}
 .modern-order-address #locationSiteButton[data-needs-address] .pp-address-initial>span{background:none!important;animation:none!important;-webkit-text-fill-color:inherit!important;color:inherit!important}
 @media(prefers-reduced-motion:no-preference){
  @supports (-webkit-background-clip:text) or (background-clip:text){
   .modern-order-address #locationSiteButton[data-needs-address] .pp-address-initial{
    background-image:linear-gradient(90deg,#b94713 0%,#ff9960 25%,#b94713 50%,#ff9960 75%,#b94713 100%)!important;
    background-size:200% 100%!important;background-position:100% 0;
    background-clip:text!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important;
    animation:pp-address-desktop-continuous 1s linear infinite!important;
   }
  }
 }
}

@keyframes pp-address-desktop-continuous{from{background-position:100% 0}to{background-position:0 0}}

@keyframes pp-address-mobile-continuous{from{background-position:100% 0}to{background-position:0 0}}
