/* YemekTabi: modal and solidarity spacing, 2026-10-23. */
/* Product-added confirmation: preserve content flow, remove oversized padding. */
dialog.yt1861-added{box-sizing:border-box!important;padding:16px 20px 18px!important;height:auto!important;min-height:0!important;max-height:min(90dvh,760px)!important;}
dialog.yt1861-added .yt1861-head>span{width:48px!important;height:48px!important;font-size:27px!important;}
dialog.yt1861-added .yt1861-head h2{margin:6px 0 3px!important;line-height:1.2!important;}
dialog.yt1861-added .yt1861-head p{margin:3px 0 8px!important;}
dialog.yt1861-added .yt1861-line{margin-top:8px!important;padding:10px!important;}
dialog.yt1861-added .yt1861-total{margin:10px 0!important;}
dialog.yt1861-added .yt1861-continue,dialog.yt1861-added .yt1861-checkout{padding:11px!important;margin-top:7px!important;}
/* Cart: keep line-items and checkout usable at any item count. */
dialog.yt-cart-dialog{box-sizing:border-box!important;height:auto!important;min-height:0!important;max-height:90dvh!important;padding:18px 22px 20px!important;overflow-y:auto!important;}
dialog.yt-cart-dialog .yt-cart-top{margin-bottom:10px!important;}
dialog.yt-cart-dialog #ytCartList{margin-top:0!important;margin-bottom:7px!important;}
dialog.yt-cart-dialog #ytCartTotal{margin-top:9px!important;margin-bottom:12px!important;}
dialog.yt-cart-dialog .yt-cart-checkout{margin-top:9px!important;}
/* Authentication: no fixed blank area below the submit button. */
dialog.yt-auth-dialog{box-sizing:border-box!important;height:auto!important;min-height:0!important;max-height:min(90dvh,790px)!important;overflow-y:auto!important;padding:18px 24px 20px!important;}
dialog.yt-auth-dialog .yt-auth-brand{margin-bottom:10px!important;}
dialog.yt-auth-dialog .yt-auth-tabs{margin-bottom:12px!important;}
dialog.yt-auth-dialog #ytCustomerForm{padding-bottom:0!important;margin-bottom:0!important;}
dialog.yt-auth-dialog #ytCustomerForm>label{margin-top:9px!important;margin-bottom:6px!important;}
dialog.yt-auth-dialog #ytCustomerForm input:not([type=checkbox]),dialog.yt-auth-dialog #ytCustomerForm select{min-height:0!important;}
/* Homepage: remove large empty gap after final solidarity section. */
body:has(.yt-home-content #social) .yt-shell{min-height:0!important;height:auto!important;}
body:has(.yt-home-content #social) .yt-main{padding-bottom:16px!important;}
.yt-home-content section.social{margin-top:18px!important;margin-bottom:0!important;padding:22px 28px!important;min-height:0!important;}
.yt-home-content section.social h2{margin:6px 0!important;}
.yt-home-content section.social p{margin:6px 0 12px!important;}
@media(max-width:700px){
 dialog.yt1861-added{padding:14px 16px 16px!important;}
 dialog.yt-cart-dialog{padding:15px 16px 17px!important;}
 dialog.yt-auth-dialog{padding:15px 17px 17px!important;max-height:92dvh!important;}
 .yt-home-content section.social{padding:18px!important;margin-top:12px!important;}
}
