/* Storefront dialogs only: preserve the public site's existing visual identity. */
#auth-modal,#customizer-modal,#cart-drawer{background:rgba(34,26,19,.48);backdrop-filter:blur(5px)}
#auth-modal>div.store-auth-panel{width:min(460px,100%);max-width:460px;max-height:calc(100dvh - 32px);overflow-y:auto;padding:30px;border-radius:24px;box-shadow:0 25px 90px #291a1733;overscroll-behavior:contain}
#auth-modal .text-center.mb-6{margin-bottom:22px;padding:6px 24px 0}#store-auth-title{font-size:24px;letter-spacing:-.5px}#auth-modal .text-center>p{font-size:12px;line-height:1.7;color:#80756c}
#auth-modal input:not([type=checkbox]){min-height:46px;font-size:14px;background:#faf9f7;border-color:#e8e3de;border-radius:11px;padding:11px 13px}#auth-modal form>div{margin-top:14px}#auth-modal label{font-size:12px;margin-bottom:7px;color:#62574e}#auth-modal form>button[type=submit]{min-height:46px;font-size:14px;border-radius:12px;margin-top:18px}#auth-modal>div>button:first-child{width:34px;height:34px;top:14px;right:14px}
#auth-modal>div>div:has(#tab-btn-login){background:#f6f3ef;border:1px solid #eae4dc;padding:4px;border-radius:12px;gap:4px}#auth-modal #tab-btn-login,#auth-modal #tab-btn-register{font-size:12px;border-radius:8px;min-height:40px}
.store-password-field{position:relative}#auth-modal .store-password-field input{padding-right:70px}.store-password-field button{position:absolute;right:8px;top:6px;min-height:34px;padding:6px 8px;font-size:11px;font-weight:700;color:#b65413;border-radius:7px}
#customizer-modal>.store-product-panel{max-width:880px;width:100%;max-height:calc(100dvh - 36px);border-radius:24px;box-shadow:0 25px 90px #291a1733}
.store-product-body{min-height:0;flex:1;overscroll-behavior:contain;scrollbar-gutter:stable;padding:24px 28px!important;display:grid;grid-template-columns:1fr 1fr;gap:22px 24px}
.store-product-body>div{margin:0!important;min-width:0}.store-product-body>.store-product-heading,.store-product-body>div:has(#modal-extra-ingredients),.store-product-body>div:has(#modal-item-note),.store-product-body>div:has(#modal-remove-toppings){grid-column:1/-1}
.store-product-heading{padding-right:30px;padding-bottom:20px!important}.store-product-heading>div:last-child{min-width:0}#modal-product-title{font-size:25px;line-height:1.25;overflow-wrap:anywhere}#modal-product-desc{font-size:12px;line-height:1.75;max-width:600px}
.store-product-body label{font-size:12px;letter-spacing:.3px;text-transform:none}.store-product-body #modal-sizes-options,.store-product-body #modal-crust-options{grid-template-columns:1fr;gap:9px}#modal-extra-ingredients{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#modal-sizes-options>*,#modal-crust-options>*,#modal-extra-ingredients>*{min-height:58px;padding:13px;border-radius:12px;gap:10px;overflow-wrap:anywhere}#modal-remove-toppings>*{min-height:36px;padding:8px 12px}#modal-item-note{min-height:44px;font-size:13px}
.store-product-footer{flex-shrink:0;padding:16px 24px!important;background:#faf8f5!important;gap:16px}.store-product-footer>button{min-height:48px;border-radius:12px;font-size:14px}.store-product-footer>div button{width:36px;height:36px}
#cart-drawer>.store-cart-panel{max-width:510px;height:100dvh;min-height:0;border-radius:24px 0 0 24px;overflow:hidden}
.store-cart-panel>div:first-child{flex-shrink:0;padding:20px 24px;background:#fff;border-bottom:1px solid #eee7df}#store-cart-title{font-size:22px;letter-spacing:-.4px}
.store-cart-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;background:#fcfbf9}#cart-items-container{flex:none;overflow:visible;padding:18px!important;min-height:0}#cart-items-container:empty{display:none}#cart-empty-state{min-height:250px}#cart-items-container>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:14px;border-radius:14px;border-color:#ece5dd;box-shadow:0 2px 6px #36200b03}
#cart-items-container>div>div:first-child{min-width:0;align-items:flex-start;gap:10px}#cart-items-container img{width:58px;height:58px;flex-shrink:0;background:#faf6f1}#cart-items-container>div>div:first-child>div{min-width:0}#cart-items-container h4{font-size:14px;line-height:1.45;overflow-wrap:anywhere}#cart-items-container p{font-size:11px;line-height:1.65;overflow-wrap:anywhere;color:#9b6b48}#cart-items-container>div>div:last-child{flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:110px}.qty-btn{min-width:30px;min-height:32px}#cart-items-container button[title=Kaldır]{min-height:32px}
.store-cart-options{padding:14px 18px!important;border-top:0!important;background:transparent!important}.store-cart-options input{min-width:0}#cart-coupon-input{min-height:42px;font-size:12px}.store-cart-options .cart-addon-image{height:62px}.store-cart-options .cart-addon-products{grid-auto-columns:128px}.store-cart-options .cart-addon-button{width:128px}
.store-cart-footer{flex-shrink:0;padding:14px 22px max(16px,env(safe-area-inset-bottom));border-top:1px solid #e9e1d8;background:white;box-shadow:0 -6px 20px #291a1705}.store-cart-footer .space-y-2{font-size:12px}.store-cart-footer .space-y-2>div{gap:10px}#cart-total{font-size:23px;white-space:nowrap}#cart-checkout-btn{margin-top:12px;border-radius:13px;min-height:48px;font-size:14px}
#auth-modal button:focus-visible,#customizer-modal button:focus-visible,#cart-drawer button:focus-visible{outline:3px solid #fdba74;outline-offset:2px}
@media(max-width:640px){#auth-modal,#customizer-modal{padding:10px!important}#auth-modal>div.store-auth-panel{padding:24px 20px;max-height:calc(100dvh - 20px);border-radius:20px}#auth-modal input:not([type=checkbox]),#modal-item-note,#cart-coupon-input{font-size:16px}#customizer-modal>.store-product-panel{max-height:calc(100dvh - 20px);border-radius:20px}.store-product-body{display:block;padding:18px!important}.store-product-body>div{margin-bottom:20px!important}.store-product-body>div:last-child{margin-bottom:0!important}.store-product-heading{gap:12px!important;padding-right:20px}#modal-product-title{font-size:20px}.store-product-heading>div:first-child{width:68px;height:68px}#modal-extra-ingredients{grid-template-columns:repeat(2,minmax(0,1fr))}.store-product-footer{padding:12px!important;gap:10px}.store-product-footer>button{padding:10px;font-size:12px}.store-product-footer>div{gap:3px}#cart-drawer>.store-cart-panel{max-width:100%;border-radius:0}.store-cart-panel>div:first-child{padding:16px 18px}#cart-items-container{padding:12px!important}.store-cart-footer{padding:12px 16px max(12px,env(safe-area-inset-bottom))}#cart-items-container>div{grid-template-columns:minmax(0,1fr);gap:8px}#cart-items-container>div>div:last-child{max-width:none;justify-content:flex-end}#store-cart-title{font-size:20px}}
@media(max-height:600px){.store-cart-footer .space-y-2>div{margin-top:3px;padding-top:3px}.store-cart-footer{padding-top:8px}#cart-checkout-btn{margin-top:7px;min-height:40px}.store-product-heading>div:first-child{display:none}}
#auth-modal #tab-btn-login.store-auth-tab,#auth-modal #tab-btn-register.store-auth-tab{flex:1;border:1px solid transparent;background:transparent;color:#80756c;padding:10px 12px;font-weight:750;transition:background .15s,color .15s}
#auth-modal #tab-btn-login.store-auth-tab[aria-pressed=true],#auth-modal #tab-btn-register.store-auth-tab[aria-pressed=true]{background:#fff;color:#b94d09;border-color:#f2d4b7;box-shadow:0 2px 5px #59300b0a}
.store-cart-scroll{min-width:0}.store-cart-options{min-width:0}.store-cart-options section{min-width:0}.store-cart-options .cart-addon-products{width:100%;min-width:0;grid-template-rows:1fr;touch-action:pan-x pan-y;overscroll-behavior-x:contain;scroll-snap-type:none;contain:layout style}.store-cart-options .cart-addon-button{min-width:0;transform:none;box-shadow:none}.store-cart-options .cart-addon-image{aspect-ratio:2/1;object-fit:contain}
