.cart-btn, .btn-hero-amber { border: 0; cursor: pointer; }
.hero-buttons .btn-hero-amber { font-family: inherit; }
.quote-cart {
    position: fixed; inset: 0 0 0 auto; margin: 0; width: min(100%, 520px);
    height: 100%; height: 100dvh; max-height: 100%; max-width: 100%; border: 0;
    background: #fffdf8; color: #2d2218; padding: 0; box-shadow: -12px 0 60px #0003;
}
.quote-cart[open] { display: flex; flex-direction: column; }
.quote-cart::backdrop { background: #21170999; }
body.cart-is-open { overflow: hidden; }
.cart-heading { padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eeddc5; flex-shrink: 0; }
.cart-heading h2 { font-size: 24px; line-height: 1.3; }
.cart-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: 2px; color: #b45309; margin-bottom: 4px; }
.cart-close { border: 1px solid #eeddc5; border-radius: 50%; width: 44px; height: 44px; background: white; font-size: 18px; cursor: pointer; flex-shrink: 0; }
.cart-body { overflow-y: auto; overscroll-behavior: contain; flex: 1; min-height: 0; padding: 20px 24px; }
.cart-intro { color: #6e6256; font-size: 13px; margin-bottom: 20px; }
.cart-empty { text-align: center; padding: 28px 8px; }
.cart-empty p { margin-bottom: 16px; }
.cart-browse { min-height: 44px; border: 0; border-radius: 24px; background: #d97706; color: white; padding: 12px 24px; font-weight: 700; cursor: pointer; }
.cart-line { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 12px; padding: 18px 0; border-bottom: 1px solid #eeddc5; }
.cart-line:first-child { padding-top: 0; }
.cart-line img { width: 64px; height: 72px; border-radius: 10px; object-fit: cover; }
.cart-line h3 { font-size: 14px; line-height: 1.5; margin-bottom: 3px; }
.cart-line-price { font-size: 13px; color: #b45309; font-weight: 700; }
.cart-line-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 10px; }
.cart-quantity { display: inline-flex; align-items: center; border: 1px solid #eeddc5; border-radius: 24px; overflow: hidden; background: white; }
.cart-quantity button { width: 44px; height: 44px; border: 0; background: transparent; color: #2d2218; font-size: 22px; cursor: pointer; }
.cart-quantity output { min-width: 26px; text-align: center; font-size: 14px; font-weight: 700; }
.cart-quantity button:disabled { color: #b6a898; cursor: default; }
.cart-remove { min-height: 44px; border: 0; background: transparent; color: #84522e; text-decoration: underline; font-size: 12px; cursor: pointer; padding: 0 8px; }
.cart-note-field { margin-top: 24px; }
.cart-note-field label { font-size: 13px; font-weight: 700; display: block; margin-bottom: 8px; }
.cart-note-field label span { font-weight: 400; color: #6e6256; }
.cart-note-field textarea { width: 100%; display: block; border: 1px solid #eeddc5; border-radius: 12px; padding: 12px; font: inherit; font-size: 16px; resize: vertical; min-height: 90px; }
.cart-summary { flex-shrink: 0; padding: 18px 24px max(18px, env(safe-area-inset-bottom)); border-top: 1px solid #eeddc5; background: white; }
.cart-subtotal { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 15px; }
.cart-subtotal strong { font-size: 21px; color: #b45309; }
#quote-price-note { font-size: 12px; color: #6e6256; margin: 6px 0 14px; }
.whatsapp-quote { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px; border-radius: 25px; background: #187b42; color: white; font-size: 14px; font-weight: 800; text-align: center; text-decoration: none; }
.whatsapp-quote[aria-disabled="true"] { background: #e8e3da; color: #786f61; cursor: default; }
.cart-disclaimer { font-size: 11px; color: #6e6256; line-height: 1.6; margin-top: 10px; }
.cart-feedback { position: fixed; bottom: max(20px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); background: #2d2218; color: white; border-radius: 14px; padding: 12px 18px; z-index: 101; font-size: 13px; box-shadow: 0 4px 20px #0003; pointer-events: none; }
.cart-feedback:empty { display: none; }
@media (max-width: 768px) {
    .hero-buttons .btn-hero-amber { width: 100%; max-width: 290px; min-height: 46px; justify-content: center; padding: 12px 16px; }
}
@media (max-width: 480px) {
    .top-nav { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 128px); }
    .search-bar { grid-column: 1 / -1; width: 100%; }
    .header-actions { min-width: 0; }
    .header-actions .cart-btn { max-width: 100%; flex-wrap: wrap; justify-content: center; gap: 2px 5px; font-size: 11px; }
    .cart-heading { padding: 16px; }
    .cart-heading h2 { font-size: 22px; }
    .cart-body { padding: 16px; }
    .cart-summary { padding: 14px 16px max(14px, env(safe-area-inset-bottom)); }
    .cart-line { grid-template-columns: 54px minmax(0,1fr); gap: 10px; }
    .cart-line img { width: 54px; height: 64px; }
}
@media (max-height: 560px) {
    .quote-cart[open] { overflow-y: auto; }
    .cart-body { flex: none; overflow: visible; }
}
