#bag-dialog{width:min(570px,100%);max-width:none;height:100dvh;max-height:100dvh;inset:0 0 0 auto;margin:0;border:0;border-radius:24px 0 0 24px;padding:0;background:#f7f3ea;overflow:hidden;box-shadow:-25px 0 100px #10271e22}#bag-dialog[open]{display:flex;flex-direction:column;animation:cartEnter .48s cubic-bezier(.22,.61,.36,1)}.cart-head{flex-shrink:0;background:var(--green);color:#f5f1e8;padding:26px 32px 25px;position:relative;border-radius:24px 0 0 0}.cart-brandline{display:flex;gap:15px;align-items:center;font-size:9px;letter-spacing:2px;color:#d6c69e;padding-right:40px;font-weight:500}.cart-star{font-size:24px;line-height:1}.cart-head .close{top:20px;right:24px;width:37px;height:37px;border-radius:50%;border:1px solid #f5f1e838;background:#ffffff08;color:#f5f1e8;font-size:25px;line-height:1}.cart-titleline{display:flex;align-items:center;gap:17px;margin-top:19px}#bag-dialog .cart-head h2{font-size:33px;line-height:1.15;letter-spacing:-1.4px;margin:0;font-weight:500}.cart-titleline>span{border:1px solid #c6b38888;min-width:32px;height:32px;padding:0 8px;border-radius:50%;display:grid;place-items:center;font-size:12px;color:#e2d4b7}.cart-head>p{font-size:11px;color:#ced8ca;margin:13px 0 0;line-height:1.7}.cart-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bdb19a transparent;padding:26px 32px 20px}.cart-section-label{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:9px;font-weight:650;letter-spacing:1.7px;padding-bottom:13px;border-bottom:1px solid #193c3020}.cart-section-label>span:last-child{font-weight:500;letter-spacing:0;color:#787a6d;font-size:10px}.cart-item{display:grid;grid-template-columns:88px minmax(0,1fr) 31px;gap:18px;position:relative;padding:20px 0;border-bottom:1px solid #193c301b;animation:cartItemEnter .35s ease-out}.cart-thumb{display:block;aspect-ratio:4/5;padding:0;border:0;border-radius:44px 44px 9px 9px;background:#dad3c1;overflow:hidden}.cart-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.cart-thumb:hover img{transform:scale(1.05)}.cart-item-info{display:flex;flex-direction:column;align-items:flex-start;padding:5px 0;gap:7px}.cart-item-number{font-size:8px;letter-spacing:1.5px;color:#9a8356;font-weight:600}.cart-product-title{border:0;padding:0;background:none;color:var(--green);text-align:left;font-size:17px;line-height:1.3;letter-spacing:-.5px;font-weight:600;overflow-wrap:anywhere}.cart-item-kind{font-size:10px;color:#7d8172;line-height:1.5}.cart-item-price{margin-top:auto;font-size:10px;font-weight:550;color:#8a7449;line-height:1.5}.cart-remove{width:31px;height:34px;padding:7px;background:transparent;border:0;color:#7a8072;border-radius:50%;align-self:center;transition:background .25s,color .25s}.cart-remove svg{width:18px;height:18px}.cart-remove:hover{background:#ece1d7;color:#985c4c}.cart-continue{display:flex;align-items:center;gap:9px;margin:21px 0 26px;padding:6px 0;border:0;background:transparent;color:var(--green);font-size:11px;font-weight:600}.cart-continue svg{width:15px;height:15px}.cart-details{border:1px solid #193c3026;border-radius:13px;background:#fff9f040;padding:0 17px}.cart-details summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;padding:18px 0;list-style:none;font-size:11px;font-weight:600}.cart-details summary::-webkit-details-marker{display:none}.cart-details summary>span{display:flex;align-items:center;gap:13px}.cart-details summary small{font-size:9px;color:#9c8252}.cart-details summary svg{width:15px;height:15px;transition:transform .25s}.cart-details[open] summary svg{transform:rotate(180deg)}.cart-fields{padding:0 0 17px}.cart-fields label{font-size:11px;margin:10px 0 8px}.cart-fields #customer-name,.cart-fields #message{font-size:12px;background:#fffdf766;border-color:#193c3024;padding:11px;border-radius:8px}.cart-fields>small{font-size:9px;color:#838777;display:block;margin-top:7px;line-height:1.6}.cart-price-note{display:flex;gap:13px;align-items:flex-start;margin:21px 0 0}.cart-price-note svg{width:21px;height:21px;flex-shrink:0;color:#ad905b}.cart-price-note p{font-size:10px;line-height:1.8;margin:0;color:#7e8375}.cart-footer{padding:22px 32px max(18px,env(safe-area-inset-bottom));background:#f7f3eafa;border-top:1px solid #193c3026;box-shadow:0 -9px 24px #193c3005;flex-shrink:0}.cart-summary{display:flex;justify-content:space-between;gap:12px;font-size:12px;font-weight:600}.cart-summary>span:last-child{font-size:11px;color:#937c4e;text-align:right}.cart-footer .muted{font-size:10px;line-height:1.7;margin:12px 0 0}.cart-footer .order-actions{gap:12px;margin-top:16px}.cart-footer .button{min-height:50px;font-size:11px;display:flex;justify-content:center;gap:14px}.cart-footer .button:disabled{cursor:default;box-shadow:none;transform:none;opacity:.45}.cart-instagram{text-align:center;font-size:10px;font-weight:550;line-height:1.6;text-decoration:underline;text-underline-offset:4px;padding:1px}.cart-footer #copy-status{font-size:10px;line-height:1.6;margin:0}.cart-footer #copy-status:not(:empty){margin:12px 0 0}.cart-footer #copy-status textarea{height:90px;font-size:11px;background:#fff9;border-radius:8px;margin-top:8px}.cart-undo{display:flex;justify-content:space-between;align-items:center;gap:10px;border-radius:8px;background:#e9e1cd;margin-top:15px;padding:12px;font-size:10px;line-height:1.5}.cart-undo[hidden]{display:none}.cart-undo button{background:transparent;border:0;text-decoration:underline;text-underline-offset:3px;color:var(--green);font-size:10px;font-weight:650;padding:4px;flex-shrink:0}.cart-empty{text-align:center;padding:30px 12px 10px}.cart-empty-art{width:106px;height:106px;margin:0 auto 17px;color:#a68a51;border-radius:50%;background:radial-gradient(ellipse,#e5d7b955,transparent 72%)}.cart-empty-art svg{width:100%;height:100%}.cart-empty h3{font-size:26px;letter-spacing:-1px;line-height:1.22;font-weight:500;margin:0 0 16px}.cart-empty p{font-size:11px;line-height:1.9;color:#7b8174;max-width:290px;margin:0 auto 20px}.cart-empty .button{font-size:11px;padding:15px 20px;min-height:48px}.cart-empty .arrow-icon{width:15px}.cart-scroll:has(.cart-empty) .cart-continue{display:none}.cart-scroll:has(.cart-empty) .cart-details{margin-top:24px}
@keyframes cartEnter{from{opacity:.5;transform:translateX(35px)}to{opacity:1;transform:translateX(0)}}@keyframes cartItemEnter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:650px){#bag-dialog{width:100%;border-radius:0}.cart-head{border-radius:0;padding:23px 23px 22px}.cart-head .close{top:18px;right:18px}.cart-titleline{margin-top:17px;gap:13px}#bag-dialog .cart-head h2{font-size:30px}.cart-head>p{font-size:10px}.cart-scroll{padding:22px 22px 18px}.cart-item{grid-template-columns:76px minmax(0,1fr) 30px;gap:13px;padding:17px 0}.cart-product-title{font-size:16px}.cart-item-info{gap:6px;padding:2px 0}.cart-item-kind,.cart-item-price{font-size:9px}.cart-section-label{font-size:8px}.cart-section-label>span:last-child{font-size:9px}.cart-footer{padding:18px 22px max(16px,env(safe-area-inset-bottom))}.cart-footer .muted{font-size:9px;line-height:1.65;margin-top:10px}.cart-footer .order-actions{margin-top:13px}.cart-empty{padding-top:25px}.cart-empty h3{font-size:24px}.cart-summary{font-size:11px}.cart-summary>span:last-child{font-size:10px}.cart-fields label{font-size:10px}}
@media(max-height:700px){.cart-head{padding-top:18px;padding-bottom:18px}.cart-titleline{margin-top:10px}.cart-head>p{margin-top:8px}.cart-footer .muted{font-size:9px}.cart-footer{padding-top:14px}.cart-footer .order-actions{margin-top:10px}.cart-empty-art{width:80px;height:80px}.cart-empty{padding-top:15px}.cart-empty h3{font-size:23px}}
@media(prefers-reduced-motion:reduce){#bag-dialog[open],.cart-item{animation:none}}
#open-bag{display:flex;align-items:center;gap:8px}.bag-icon{width:18px;height:21px;flex-shrink:0}#open-bag b{margin-left:0;background:#193c3008}.cart-remove{min-height:40px}.cart-details summary:focus-visible{outline:2px solid #a78b51;outline-offset:3px;border-radius:8px}
@media(max-width:650px){#open-bag{gap:4px}.bag-icon{width:16px;height:19px}.tools{gap:4px}}
@media(max-width:650px){#bag-dialog .cart-head h2{font-size:clamp(24px,7vw,30px)}.cart-titleline h2{min-width:0;overflow-wrap:normal}.cart-titleline>span{flex-shrink:0}}

.cart-details h3{font-size:14px;font-weight:600;letter-spacing:0;margin:20px 0 8px}.cart-fields input{display:block;width:100%;box-sizing:border-box;font:inherit;color:var(--green);padding:12px;border:1px solid #193c3044;background:#fffdf766;border-radius:8px}.cart-fields #customer-phone{font-size:16px}.cart-fields [aria-invalid=true]{border-color:#9d3a2b;background:#fff5f0}.cart-fields .field-error{color:#9d3a2b;font-size:11px;line-height:1.6}.cart-fields small[hidden]{display:none}.cart-fields .contact-note{margin-top:13px;line-height:1.7}#send-whatsapp{cursor:pointer}#send-whatsapp:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
#order-status{font-size:12px;line-height:1.6;color:var(--green);margin:12px 0}#order-status[hidden]{display:none}#send-whatsapp[aria-busy=true]{opacity:.65;cursor:wait;pointer-events:none}
/* Keep the whole basket reachable in landscape and when a phone keyboard reduces its height. */
@media(max-height:550px){#bag-dialog[open]{display:block;overflow-y:auto}.cart-scroll{overflow:visible;min-height:0}.cart-head,.cart-footer{position:relative}.cart-footer{padding-bottom:max(16px,env(safe-area-inset-bottom))}}
