/* Visible flavor lists, large quantity controls, and a compact floating basket. */
body{padding-bottom:240px}
.layout{display:block;max-width:1000px;margin:auto}
.intro{padding-top:28px;padding-bottom:22px}
.intro h1{font-size:clamp(2.3rem,3.5vw,3rem)}
.product-groups{display:grid;gap:22px}
.product-group{background:#fff;border:1px solid #e5dad3;border-radius:14px;overflow:hidden}
.product-group-heading{padding:20px 24px;background:#f8f0ec;border-bottom:1px solid #eadcd4}
.product-group-heading h3{font-size:1.5rem}
.product-group-heading p{color:#72594e;font-size:.875rem;margin:5px 0 0}
.flavor-row{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:20px;align-items:center;padding:22px 24px;border-bottom:1px solid #eee3dc}
.flavor-row:last-child{border-bottom:0}
.flavor-row.has-items{background:#fcf7f6;box-shadow:inset 4px 0 #9c5a69}
.flavor-info h4{font-size:1.15rem;line-height:1.4;margin:0;font-weight:600}
.flavor-price{font-size:.9rem;color:#765c51;margin:4px 0}
.flavor-status{color:#70434d;font-size:.875rem;font-weight:600;margin:6px 0 0}
.flavor-status:empty{display:none}
.quantity-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.quantity-options:has(>button:only-child){grid-template-columns:1fr;max-width:180px;justify-self:end;width:100%}
.quantity-add{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:88px;padding:10px 6px;background:#f4e4e7;border:1px solid #dbb5be;border-radius:10px;color:#743c4a}
.quantity-add:hover{background:#ead0d6;border-color:#9f6171}
.quantity-add:active{background:#dfbdc6}
.quantity-add span{font-size:.875rem}
.quantity-add strong{font-size:1.25rem;line-height:1.25}
[data-category="simples"] .quantity-add strong{font-size:1rem}
.cake-config{padding:10px 24px 22px;border-bottom:1px solid #e8d9d1;background:#fffdfa}
.cake-config p{color:#70584d;font-size:.95rem}
fieldset{border:0;padding:0;margin:18px 0 0;min-width:0}
legend{font-weight:600;margin-bottom:10px;font-size:1rem;padding:0}
.choice-group{display:flex;flex-wrap:wrap;gap:10px}
.choice-group label{display:flex;align-items:center;gap:9px;border:1px solid #d6c0b6;border-radius:8px;min-height:50px;padding:10px 15px;cursor:pointer;background:white}
.choice-group label:has(input:checked){background:#f3e0e5;border-color:#965768;color:#703745}
.choice-group input{width:20px;height:20px;accent-color:#894956;margin:0;flex-shrink:0}
.choice-group label:focus-within{outline:3px solid #255eaa;outline-offset:2px}
.filling-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.filling-options label{min-height:58px}.filling-options label:has(input:disabled){background:#f3f1ec;color:#716b65;cursor:default}
.cake-config .filling-count{font-size:1rem;font-weight:600;color:#3f5a4d}
.cake-selection-summary{margin:24px 0 14px;padding:18px;background:#eef2ec;border:1px solid #c8dbd1;border-radius:10px;font-size:1rem;line-height:1.5}
.cake-selection-summary p{margin:8px 0}.cake-selection-summary>strong:last-child{font-size:1.35rem}
.cake-add{width:100%;min-height:58px;padding:14px;font-size:1.1rem}.cake-add:disabled{opacity:.55;cursor:default}
.cake-cart-status{color:#3f5a4d;font-weight:600}.cake-cart-status:empty{display:none}
@media(max-width:450px){.filling-options{grid-template-columns:1fr}}
#order{position:static;margin:40px 0 0;padding:28px;scroll-margin-top:100px}
#order-title{font-size:1.9rem}
#cart-list{max-height:none;overflow:visible}
.cart-item{display:grid;grid-template-columns:minmax(0,1fr) 260px 70px;gap:20px;align-items:center;padding:22px 0}
.cart-item strong{font-size:1.05rem}
.cart-item p{font-size:.95rem}
.cart-bottom{margin:0}
.stepper button{width:44px;min-height:48px}
.stepper input{width:60px;min-height:48px}
.order-summary{max-width:420px;margin:24px 0 0 auto}
#floating-basket{position:fixed;bottom:20px;right:24px;width:360px;max-width:calc(100vw - 32px);max-height:30dvh;z-index:25;border:1px solid #ceb1b7;border-radius:12px;background:#fffdfa;box-shadow:0 5px 28px #56322e26;overflow:hidden;display:flex;flex-direction:column}
#floating-basket.at-order{display:none}
#basket-toggle{min-height:54px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px 16px;background:#874454;color:#fff;text-align:left;font-size:1rem}
#basket-toggle small{font-size:.875rem;display:inline-block;margin-left:5px;color:#fff}
#basket-toggle strong{white-space:nowrap;font-size:1rem;margin-left:auto}
.basket-chevron{font-size:1.4rem;line-height:1}
#basket-toggle[aria-expanded="false"] .basket-chevron{transform:rotate(180deg)}
#basket-body{min-height:0;display:flex;flex-direction:column;overflow:hidden}
#basket-body[hidden]{display:none}
#basket-list{margin:0;padding:4px 14px;overflow-y:auto;list-style:none;min-height:0;font-size:.875rem;overscroll-behavior:contain;scrollbar-width:thin}
#basket-list li{display:flex;gap:9px;padding:9px 0;border-bottom:1px solid #ebded8;align-items:start}
#basket-list li:last-child{border:0}
#basket-list strong{white-space:nowrap;color:#733a49}
#basket-list span{overflow-wrap:anywhere}
#basket-list .basket-empty{color:#70594e}
#view-basket{margin:0;border-top:1px solid #e5d6d1;min-height:46px;flex-shrink:0;background:#f4e8e5;color:#6d3542;font-size:.95rem;font-weight:600}
.toast{bottom:auto;top:85px;font-size:.95rem;z-index:60}
dialog{max-width:640px}
dialog .field{font-size:1rem;margin:20px 0}
dialog .field input,dialog .field textarea{font-size:1rem;min-height:52px}
.fulfillment .choice-group label{flex:1}
#review-items{max-height:200px;overflow-y:auto;padding-right:5px}
.review-row{font-size:.95rem}
@media(max-width:760px){
 body{padding-bottom:245px}
 nav button{font-size:.875rem}
 .flavor-row{grid-template-columns:1fr;gap:13px;padding:20px 16px}
 .product-group-heading{padding:18px 16px}
 .quantity-options{gap:8px}
 .quantity-options:has(>button:only-child){max-width:none;justify-self:stretch}
 .quantity-add{min-height:88px}
 .quantity-add strong{font-size:1.25rem}
 .flavor-info h4{font-size:1.15rem}
 .cake-config{padding:10px 16px 20px}
 .choice-group{gap:8px}
 .choice-group label{padding:10px 12px;font-size:.95rem}
 #order{padding:20px;margin-top:30px}
 .cart-item{grid-template-columns:1fr auto;gap:12px}
 .cart-description{grid-column:1/-1}
 .cart-bottom{gap:12px;flex-wrap:wrap}
 .cart-price{font-size:1rem}
 #floating-basket{bottom:calc(10px + env(safe-area-inset-bottom));left:12px;right:12px;width:auto;max-width:none;max-height:29dvh}
 #basket-toggle{padding:10px 13px;gap:7px;min-height:50px}
 #basket-list li{padding:7px 0}
 .toast{top:75px;bottom:auto}
 .intro h1{font-size:2.35rem}
}
@media print{
 body{padding:0}#floating-basket,.quantity-options,.flavor-status,.cake-config{display:none!important}
 .product-group{break-inside:avoid;margin-bottom:18px}.flavor-row{display:block;padding:8px 16px}
 .product-group-heading{padding:12px 16px}.flavor-price{margin:0}
}
