/* Warm, compact controls that stay independent of theme button hover styles. */
.jdr-delivery-location{padding:7px 16px;background:#f7f1e6;border-bottom:1px solid #e8dcc4;text-align:center;font-size:13px;color:#49331d}
.jdr-delivery-location>button,.jdr-shipping-link{background:transparent!important;border:0!important;box-shadow:none!important;color:#49331d!important;text-decoration:none;padding:7px 14px;border-radius:20px;white-space:normal;text-transform:none!important;line-height:1.4!important;height:auto!important;transition:background .18s ease,color .18s ease}
.jdr-delivery-location>button:hover,.jdr-delivery-location>button:focus-visible{background:#e9dcc3!important;color:#302516!important}
.jdr-shipping-link{padding:3px 0;text-decoration:underline;text-underline-offset:3px}
.jdr-shipping-link:hover{color:#785629!important}
.jdr-shipping-target{display:block;font-size:12px;line-height:1.5;margin:7px 0;color:#49331d}
.jdr-shipping-target small{display:block;color:#38613e;margin-top:3px}
body button.jdr-shipping-quote{display:inline-flex;align-items:center;justify-content:center;gap:6px;max-width:100%;min-height:36px;height:auto!important;background:#fff8e9!important;color:#49331d!important;border:1px solid #c9ac73!important;border-radius:8px;padding:9px 13px!important;box-shadow:0 2px 5px #49331d0a!important;text-transform:none!important;font-size:12px;font-weight:600;line-height:1.35!important;white-space:normal;letter-spacing:0;cursor:pointer;transition:background .18s ease,border-color .18s ease}
body button.jdr-shipping-quote::before{content:'↗';font-size:16px;line-height:1}
body button.jdr-shipping-quote:hover{background:#f0e2c7!important;border-color:#a48244!important;color:#302516!important}
.jdr-cart-shipping-message:empty{display:none}
.jdr-cart-shipping-message{padding:14px;background:#f7f1e6;border:1px solid #e8dcc4;border-radius:10px;margin-bottom:12px;color:#49331d;line-height:1.5}
.jdr-delivery-modal .modal-inner-wrap{max-width:480px;border:1px solid #dfc99f;border-radius:20px;overflow:hidden;background:radial-gradient(ellipse at top right,#f0d8ab80,transparent 65%),#fffaf1;box-shadow:0 20px 70px #29251e40;color:#29251e}
.jdr-delivery-modal .modal-header{padding:25px 28px 10px;border:0}
.jdr-delivery-modal .modal-title{padding:0;border:0;font-size:23px;font-weight:700;line-height:1.25;color:#49331d}
.jdr-delivery-modal .modal-content{padding:4px 28px 26px}
.jdr-delivery-modal .action-close{top:10px;right:10px;margin:0;width:36px;min-height:36px;height:36px;border-radius:50%;background:transparent!important;box-shadow:none!important}
.jdr-delivery-modal .action-close::before{color:#75664f!important}
.jdr-delivery-eyebrow{display:block;color:#866328;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:1.3px;margin:6px 0 12px}
.jdr-delivery-intro{font-size:27px;font-weight:800;letter-spacing:-.5px;color:#583b1d;line-height:1.2!important;margin-bottom:10px}
.jdr-delivery-modal label{display:block;margin:12px 0 6px;font-size:12px;font-weight:600;color:#5e513e}
.jdr-delivery-modal input,.jdr-delivery-modal textarea{width:100%;box-sizing:border-box;border:1px solid #d9cbb3;border-radius:8px;background:#fff!important;min-height:43px;padding:10px 12px;font-size:14px;color:#29251e;box-shadow:none}
.jdr-delivery-modal input:focus,.jdr-delivery-modal textarea:focus{border-color:#a48244;outline:2px solid #dfc99f70;outline-offset:1px;box-shadow:none}
.jdr-postcode-form #jdr-postcode{font-size:23px;letter-spacing:5px;height:54px;font-weight:600}
.jdr-delivery-modal button.action.primary{display:block;width:100%;height:auto!important;min-height:46px;padding:12px 16px!important;margin:16px 0 0;border:0!important;border-radius:9px;background:#49331d!important;color:#fff!important;box-shadow:0 4px 12px #49331d20!important;font-size:14px;font-weight:700;text-transform:none!important;line-height:1.4!important}
.jdr-delivery-modal button.action.primary:hover{background:#674a29!important}
.jdr-delivery-modal button.action.primary:disabled{opacity:.65;cursor:wait}
.jdr-delivery-modal .jdr-postcode-skip{display:block;margin:8px auto 0;padding:9px 12px!important;min-height:36px;height:auto!important;background:transparent!important;color:#75664f!important;box-shadow:none!important;border:0!important;font-size:12px;text-transform:none!important}
.jdr-delivery-modal p{line-height:1.55;font-size:13px}
.jdr-delivery-modal .jdr-delivery-intro{font-size:27px}
.jdr-quote-context{margin-bottom:5px;color:#665b4d}
.jdr-quote-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}
.jdr-field-wide{grid-column:1/-1}
.jdr-delivery-modal textarea{min-height:64px;resize:vertical}
.jdr-quote-form>p:not(.jdr-quote-context):not(.jdr-quote-status){font-size:11px;color:#80715c;margin:12px 0 0}
.jdr-quote-trap{display:none!important}
.jdr-quote-status,.jdr-postcode-error{margin:10px 0 0;color:#a03724}
.jdr-quote-status:empty,.jdr-postcode-error:empty{display:none}
.jdr-shipping-confirmation{max-width:700px;margin:6px auto;padding:9px 12px;border:1px solid #ccd7bf;border-radius:8px;background:#eef3e7;color:#354b32;font-size:12px;line-height:1.5}
.jdr-shipping-confirmation[hidden]{display:none}
.jdr-delivery-location button:focus-visible,.jdr-shipping-target button:focus-visible{outline:2px solid #a48244;outline-offset:3px}
@media(max-width:600px){.jdr-delivery-modal .modal-inner-wrap{width:calc(100% - 24px);margin:24px auto;max-height:85vh;max-height:85dvh;border-radius:16px}.jdr-delivery-modal .modal-header{padding:22px 20px 8px}.jdr-delivery-modal .modal-content{padding:3px 20px 20px}.jdr-delivery-modal .modal-title{font-size:21px}.jdr-delivery-modal .jdr-delivery-intro{font-size:25px}.jdr-shipping-target{font-size:11px}.jdr-delivery-location{font-size:12px;padding:5px 10px}.jdr-quote-fields{gap:0 10px}.jdr-delivery-modal input{font-size:16px}body button.jdr-shipping-quote{font-size:11px;padding:8px 10px!important}}
@media(max-width:360px){.jdr-quote-fields{grid-template-columns:1fr}.jdr-field-wide{grid-column:auto}}
/* Override Magento's mobile slide-panel defaults without moving the modal. */
@media(max-width:767px){
 .modal-popup.jdr-delivery-modal.modal-slide{left:0!important;width:100%!important;padding:0!important}
 .modal-popup.jdr-delivery-modal.modal-slide .modal-inner-wrap{position:relative;display:flex;flex-direction:column;min-height:0!important;height:auto!important;width:calc(100% - 24px)!important;max-width:480px;margin:24px auto!important;max-height:85vh;max-height:85dvh;background:radial-gradient(ellipse at top right,#f0d8ab80,transparent 65%),#fffaf1!important}
 .modal-popup.jdr-delivery-modal.modal-slide .modal-header{flex-shrink:0}
 .modal-popup.jdr-delivery-modal.modal-slide .modal-content{overflow-y:auto;background:transparent!important}
}
