.eazyship-hidden{display:none!important}
.eazyship{--es-red:#e74c3c;--es-red-tint:#fdecea;--es-ink:#333;--es-line:#e6e6e6;border:2px solid var(--es-red);border-radius:12px;padding:16px;margin:0 0 20px;background:#fff;width:100%;clear:both}
.eazyship .es-head{display:flex;align-items:center;gap:8px;margin-bottom:10px;color:var(--es-red)}
.eazyship .es-head h3{margin:0;font-size:16px;font-weight:700;color:var(--es-ink)}
.eazyship .es-head svg{width:22px;height:22px;flex:none}
.eazyship .es-form{display:flex;gap:8px}
.eazyship .es-pin{flex:1;min-width:0;height:auto;border:1px solid #cfcfcf;border-radius:6px;padding:10px 12px;font-size:15px;color:var(--es-ink);letter-spacing:.08em}
.eazyship .es-pin:focus{outline:2px solid var(--es-red);outline-offset:1px;border-color:var(--es-red)}
.eazyship .es-check{background:#222;color:#fff;border:0;border-radius:6px;padding:0 20px;min-height:42px;font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:.04em;cursor:pointer}
.eazyship .es-check:hover{background:#000}
.eazyship .es-status{display:none;margin-top:12px;border-radius:8px;padding:9px 12px;font-size:13.5px}
.eazyship .es-status.show{display:block}
.eazyship .es-status.ok{background:#e9f7ef;color:#1e8e4f}
.eazyship .es-status.warn{background:#fff5e0;color:#b26a00}
.eazyship .es-status.bad{background:var(--es-red-tint);color:#cf3f30}
.eazyship .es-status.wait{background:#f3f3f3;color:#666}
.eazyship .es-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}
.eazyship .es-chips span{background:#fff;border-radius:999px;padding:2px 9px;font-size:12px;font-weight:600}
.eazyship .es-options{display:none;gap:10px;margin-top:14px}
.eazyship.es-ready .es-options{display:grid}
.eazyship .es-hint{font-size:13px;color:#777;margin-top:8px}
.eazyship.es-ready .es-hint{display:none}
.eazyship .es-legend{font-weight:600;color:var(--es-ink)}
.eazyship .es-opt{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;border:2px solid var(--es-line);border-radius:10px;padding:12px 14px;margin:0;cursor:pointer;transition:border-color .15s,background .15s}
.eazyship .es-opt:hover{border-color:#bbb}
.eazyship .es-opt input{accent-color:var(--es-red);width:18px;height:18px;margin:0}
.eazyship .es-opt:has(input:checked){border-color:var(--es-red);background:var(--es-red-tint)}
.eazyship .es-opt:has(input:focus-visible){outline:2px solid var(--es-red);outline-offset:2px}
.eazyship .es-opt.off{opacity:.55;cursor:not-allowed;background:#f7f7f7}
.eazyship .es-name{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-weight:700;color:var(--es-ink);font-size:15px}
.eazyship .es-name small{font-weight:600;font-size:11px;border-radius:4px;padding:1px 6px;background:var(--es-red);color:#fff}
.eazyship .es-when{display:block;font-size:13.5px;color:#666}
.eazyship .es-when b{color:var(--es-ink)}
.eazyship .es-cost{font-weight:700;color:var(--es-ink);text-align:right;white-space:nowrap}
.eazyship .es-cost.free{color:#1e8e4f}
@media (max-width:420px){.eazyship .es-opt{grid-template-columns:auto 1fr}.eazyship .es-cost{grid-column:2;text-align:left}}
.eazyship .es-hint{font-size:12.5px;color:#8a8a8a;margin-top:8px}
.eazyship,.eazyship *{box-sizing:border-box}
.eazyship .es-opt{font-weight:400}

/* Layout guard: always full width, even if a theme puts the widget in a flex row. */
.eazyship{display:block;flex:1 1 100%!important;max-width:100%!important;min-width:0;order:-1}
.woocommerce-variation-add-to-cart:has(>.eazyship),.cart:has(>.eazyship){flex-wrap:wrap}
.eazyship .es-form{flex-wrap:nowrap}
.eazyship .es-check{flex:none;white-space:nowrap;min-height:44px;height:auto;align-self:stretch}
.eazyship .es-head h3{font-size:16px!important;line-height:1.3}
.eazyship .es-when{white-space:normal}

/* Check-only mode (out of stock, or no delivery choice): show dates, no selection. */
.eazyship.es-info .es-opt{grid-template-columns:1fr auto;cursor:default}
.eazyship.es-info .es-opt input{display:none}
.eazyship.es-info .es-opt:hover{border-color:var(--es-line)}
.eazyship .es-note{background:#f3f3f3;color:#555;border-radius:8px;padding:8px 12px;font-size:13px;margin-bottom:10px}
