.cart-trigger { font-family: "DM Sans", sans-serif; white-space: nowrap; }
.cart-trigger .count { background: #213849; color: white; border-radius: 99px; padding: 3px 7px; margin-left: 3px; font-size: 11px; }
.cardbuttons button.add-cart { color: #213849; background: #ffcc67; border-color: #ffcc67; cursor: pointer; }
.cardbuttons button.add-cart:hover { background: #ffe1a2; }
.cart-overlay { display: none; position: fixed; inset: 0; z-index: 50; background: #122b3f88; }
.cart-overlay.open { display: block; }
.cart-panel { margin-left: auto; height: 100%; width: min(510px, 100%); background: #fffdf7; display: flex; flex-direction: column; box-shadow: -14px 0 45px #10293b40; }
.cart-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 23px; border-bottom: 1px solid #e4e9e6; }
.cart-top h2 { font-size: 30px; margin: 0; }
.close-cart { border: 0; border-radius: 50%; background: #e9f3f1; width: 42px; height: 42px; font-size: 26px; cursor: pointer; }
.cart-body { flex: 1; overflow-y: auto; padding: 22px; }
.cart-empty { text-align: center; padding: 45px 15px; color: #607484; }
.cart-line { display: grid; grid-template-columns: 58px 1fr auto; gap: 13px; align-items: start; border-bottom: 1px solid #e4e9e6; padding: 12px 0; }
.cart-line img { width: 54px; height: 72px; object-fit: contain; }
.cart-line strong { display: block; font-size: 14px; line-height: 1.4; }
.cart-line .price { color: #147e81; font-size: 14px; font-weight: 800; }
.qty { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.qty button { width: 28px; height: 28px; background: white; border: 1px solid #c3d7d3; border-radius: 7px; font-weight: 800; cursor: pointer; }
.remove { border: 0; background: none; color: #a64646; text-decoration: underline; font-size: 12px; cursor: pointer; }
.cart-summary { background: #f1f9f5; padding: 19px 23px; border-top: 1px solid #dce7df; }
.total-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14px; }
.total-row.grand { border-top: 1px solid #d2dfdb; margin-top: 8px; padding-top: 13px; font-size: 21px; font-weight: 800; }
.checkout-disabled { width: 100%; background: #d5e0df !important; color: #586c6e !important; cursor: not-allowed; }
.checkout-notice { font-size: 13px; padding: 12px; background: #fff1d1; color: #70511d; border-radius: 10px; line-height: 1.5; }
.delivery-check { display: grid; grid-template-columns: 1fr 110px auto; align-items: end; gap: 9px; margin: 18px 0 10px; }
.field label { display: block; font-weight: 800; font-size: 13px; margin-bottom: 6px; }
.field input, .field select, .field textarea { display: block; width: 100%; border-radius: 10px; border: 1px solid #cbdbd7; background: white; padding: 12px; font: inherit; color: #213849; }
.field textarea { resize: vertical; }
.delivery-result { font-size: 14px; font-weight: 700; border-radius: 11px; background: #fff0cb; padding: 12px; line-height: 1.5; }
.delivery-result.eligible { background: #dcf3e6; color: #206745; }
.delivery-result.ineligible { background: #fee8e4; color: #a04436; }
.local-order-form { display: grid; grid-template-columns: 1fr; gap: 13px; padding: 19px; background: #eaf7f0; border: 1px solid #c4e3d3; border-radius: 14px; margin-top: 15px; }
.local-order-form[hidden] { display: none; }
.bulk-panel { margin-top: 25px; background: #e9f4f2; border: 2px solid #c3e2dc; border-radius: 20px; padding: 28px; text-align: center; }
.bulk-panel h3 { font-size: 30px; margin: 10px 0; }
.bulk-panel p { line-height: 1.75; color: #58717c; max-width: 680px; margin: 0 auto; }
.bulk-form { max-width: 800px; margin: 25px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 13px; text-align: left; }
.bulk-form .wide { grid-column: 1 / -1; }
.bulk-form button { justify-self: start; }
.smallprint { font-size: 12px; color: #647983; line-height: 1.6; }
body.cart-open { overflow: hidden; }
.order-banner { background: #dff3e8; color: #245d47; padding: 15px 22px; text-align: center; font-size: 14px; font-weight: 700; }
@media (max-width: 660px) {
  .cart-trigger { padding: 11px 12px; font-size: 12px; }
  .delivery-check { grid-template-columns: 1fr 110px; }
  .delivery-check button { grid-column: 1 / -1; }
  .bulk-form { grid-template-columns: 1fr; }
  .bulk-form .wide { grid-column: auto; }
  .cart-top, .cart-body, .cart-summary { padding: 16px; }
}
