.delivery-order{max-width:860px;margin:0 auto;padding:1rem}.delivery-order [hidden]{display:none!important}.delivery-perex{max-width:720px;margin:0 auto 2rem;line-height:1.6;text-align:center}.delivery-step{border:1px solid #ddd;border-radius:12px;padding:1.5rem;margin-bottom:1.5rem;background:#fff}.delivery-step h2{font-size:1.5rem;margin-bottom:1.25rem}.delivery-field{display:block;margin-bottom:1rem;width:100%}.delivery-field input,.delivery-field textarea{margin-top:.35rem}.delivery-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 1rem}.delivery-amount{display:flex;align-items:center;gap:.75rem;max-width:280px}.delivery-price{background:#f0f6eb;border-radius:8px;padding:1rem;margin:1rem 0;font-weight:600}.delivery-product{display:flex;align-items:center;gap:1rem;border:1px solid #ddd;border-radius:8px;padding:1rem;margin:.5rem 0}.delivery-product img{width:80px;height:80px;object-fit:cover}.delivery-product .delivery-description{flex:1}.delivery-product p{margin:.25rem 0}.delivery-order button:disabled{opacity:.45;cursor:not-allowed}.delivery-next-action{display:flex;justify-content:center;margin-top:2rem}.delivery-next{min-width:220px;min-height:56px;padding:.9rem 2.5rem;font-weight:600}.delivery-order dialog{border:0;border-radius:12px;width:min(900px,95vw);max-height:90vh;padding:1.5rem}.delivery-order dialog::backdrop{background:#0008}.delivery-product-list{height:60vh;overflow-y:auto}.delivery-gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;max-height:70vh;overflow-y:auto;margin-top:1rem}.delivery-gallery-grid img{width:100%;height:auto}.delivery-consent{display:block;margin:1rem 0}.delivery-consent input{margin-right:.5rem}.delivery-order table{width:100%}.delivery-order th,.delivery-order td{padding:.6rem;border-bottom:1px solid #ddd;text-align:left}.delivery-total{font-size:1.4rem;background:#f0f6eb}#delivery-loading{position:fixed;inset:0;z-index:2000;background:rgba(20,28,18,.4);display:grid;place-items:center;text-align:center;padding:1rem;overscroll-behavior:contain;touch-action:none;outline:none}
.delivery-loading-panel{box-sizing:border-box;width:min(100%,360px);max-height:90dvh;overflow:auto;background:#fff;border-radius:14px;padding:1.5rem;box-shadow:0 12px 40px #0002}
.delivery-loading-panel .delivery-spinner{width:24px;height:24px;margin-bottom:.75rem}
#delivery-loading-title{font-size:1rem;font-weight:600;line-height:1.5;margin:0 0 .5rem}
.delivery-loading-time{font-size:.875rem;line-height:1.5;color:#687164;margin:0}
#delivery-countdown{display:inline-block;min-width:2ch;font-variant-numeric:tabular-nums}
@media(prefers-reduced-motion:reduce){.delivery-loading-panel .delivery-spinner{animation:none}}.delivery-spinner{display:inline-block;width:28px;height:28px;border:3px solid #ccc;border-top-color:#476b27;border-radius:50%;animation:delivery-spin .8s linear infinite}.delivery-qr{width:260px;max-width:100%;height:auto}#delivery-suggestions button{display:block;width:100%;text-align:left;padding:.7rem;background:white;border:1px solid #ddd}.delivery-order .text-danger{color:#ac1826}.delivery-order [aria-invalid=true]{border-color:#ac1826}@keyframes delivery-spin{to{transform:rotate(360deg)}}@media(max-width:600px){.delivery-order{padding:.5rem}.delivery-step{padding:1rem}.delivery-grid,.delivery-gallery-grid{grid-template-columns:1fr}.delivery-product{flex-wrap:wrap}.delivery-product img{width:64px;height:64px}#delivery-submit{width:100%;white-space:normal}}

#delivery-suggestions{margin:.5rem 0 1rem}.delivery-address-suggestion{display:flex!important;width:100%;align-items:center;gap:.75rem;margin-top:.5rem;padding:.8rem 1rem!important;text-align:left;background:#fff;border:2px solid #b8caae!important;border-radius:8px}.delivery-address-suggestion:hover,.delivery-address-suggestion:focus{background:#edf5e7;border-color:#476b27!important}.delivery-address-suggestion-action{flex:0 0 auto;font-weight:700;color:#35531d}.delivery-address-suggestion-label{overflow-wrap:anywhere}.delivery-selected-address{padding:.85rem 1rem;border-left:4px solid #476b27;background:#edf5e7;color:#263238;font-weight:600}

.delivery-price-table{margin:0}.delivery-order .delivery-price-table td{text-align:right;font-variant-numeric:tabular-nums}.delivery-order .delivery-price-table tr:last-child>*{border-bottom:0}

.delivery-calendar-table{table-layout:fixed;border-collapse:collapse;font-size:.95rem}
.delivery-order .delivery-calendar-table th,.delivery-order .delivery-calendar-table td{vertical-align:top;padding:.75rem .5rem}
.delivery-calendar-table th:first-child{width:12%}
.delivery-calendar-table th:nth-child(2){width:30%}
.delivery-calendar-table abbr{text-decoration:none;cursor:default}
.delivery-calendar-date{white-space:nowrap;font-variant-numeric:tabular-nums}
.delivery-route-options{display:flex;flex-direction:column;align-items:stretch;gap:.5rem}
.delivery-route-button{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.15rem;min-height:48px;width:100%;max-width:320px;padding:.6rem;white-space:normal;overflow-wrap:anywhere;line-height:1.35}
.delivery-route-time{font-size:.9em;font-variant-numeric:tabular-nums}
.delivery-order .delivery-route-button:disabled{opacity:1!important;background:#e6e7e5!important;color:#656a62!important;border:1px dashed #999e95!important;box-shadow:none;cursor:not-allowed}
.delivery-route-unavailable{font-size:.8em;font-weight:700;letter-spacing:.02em}
.delivery-route-button[aria-pressed=true]{outline:3px solid #476b27;outline-offset:1px;background:#edf5e7}
@media(max-width:480px){.delivery-calendar-table{font-size:.8rem}.delivery-order .delivery-calendar-table th,.delivery-order .delivery-calendar-table td{padding:.65rem .25rem}.delivery-calendar-table th:first-child{width:10%}.delivery-calendar-table th:nth-child(2){width:36%}.delivery-route-button{padding:.5rem .3rem;font-size:.85rem}}

#delivery-calendar{max-height:65vh;overflow-y:auto;margin-top:1rem}#delivery-term-selected{margin:1rem 0}#delivery-calendar-open{margin-bottom:1rem}

.delivery-order dialog{box-sizing:border-box}@media(max-width:480px){#delivery-calendar-dialog{padding:1rem}}

.delivery-company-lookup{display:flex;align-items:flex-start;gap:.6rem;min-width:0}.delivery-company-lookup .delivery-field{flex:0 1 150px;min-width:0}.delivery-company-lookup input{box-sizing:border-box;width:100%}#delivery-ares{flex:0 0 auto;align-self:flex-start;margin-top:1.85rem;white-space:nowrap}

.delivery-submit-actions{display:flex;justify-content:center;margin-top:2rem}#delivery-submit{min-height:80px;max-width:100%;padding:1.25rem 2rem;white-space:normal;font-size:1.125rem;line-height:1.5}
#delivery-restart{display:flex;justify-content:flex-end;margin:0 0 1rem}
.delivery-confirmation-notice{text-align:center}.delivery-confirmation-payment{margin:2rem auto 0;max-width:520px;text-align:center}.delivery-confirmation-payment .table{text-align:left}.delivery-confirmation-payment .delivery-qr{display:block;margin:1.5rem auto 0}.delivery-payment-countdown,.delivery-payment-complete{margin:2.5rem auto 0;max-width:520px;padding:1.25rem;border:2px solid #476b27;border-radius:10px;background:#f0f6eb;text-align:center}.delivery-payment-countdown h2{font-size:1.2rem;margin:0 0 .75rem}.delivery-payment-complete p{margin:0 0 1rem}.delivery-payment-complete p:last-child{margin-bottom:0}.delivery-payment-countdown strong{font-size:2rem;font-variant-numeric:tabular-nums}.delivery-confirmation-actions{margin:2.5rem 0;text-align:center}

.delivery-order dialog h2 {
  padding-right: 2.75rem;
}
.delivery-dialog-close {
  position: absolute;
  top: .5rem;
  right: .5rem;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: .375rem;
  background: transparent;
  color: inherit;
  font-size: 1.75rem;
  line-height: 1;
}
.delivery-dialog-close:hover {
  background: #f1f1f1;
}
.delivery-required,
#delivery-amount-help:empty,
#delivery-ares-status:empty {
  display: none;
}
#delivery-order-form label:has(:required) .delivery-required {
  display: inline;
  color: #ac1826;
}
#delivery-errors ul {
  margin: 0;
  padding-left: 1.5rem;
}

.delivery-calendar-action {
  display: flex;
  justify-content: center;
}
#delivery-calendar-open.btn-primary {
  min-height: 56px;
  padding: .9rem 2.5rem;
  font-weight: 600;
  white-space: normal;
}
#delivery-order-form .form-control:required,
#delivery-order-form .delivery-consent:has(input:required) {
  background-color: #f0f6eb;
}
#delivery-order-form .delivery-consent:has(input:required) {
  padding: .6rem .75rem;
  border-radius: .375rem;
}
