.ade-product-delivery{margin:1.25rem 0;padding:1rem;border:1px solid #ddd;border-radius:8px}
.ade-product-delivery h3{margin:0 0 .75rem;font-size:1.05rem}
.ade-address-box{display:block;width:100%;padding:1rem;text-align:left;color:inherit;background:#fff;border:1px solid #d7d7d7;border-radius:8px;cursor:pointer}
.ade-address-box:hover,.ade-address-box:focus{border-color:currentColor;outline-offset:2px}
.ade-address-box-heading{display:flex;align-items:center;gap:.55rem;width:100%;min-width:0}
.ade-address-box-label{min-width:0;font-weight:600}
.ade-address-box-chevron{display:flex;flex:0 0 20px;align-items:center;justify-content:center;margin-left:auto;line-height:1}
.ade-address-box-detail,.ade-address-option small{display:block;max-width:100%;margin-top:.25rem;opacity:.72;overflow-wrap:anywhere;white-space:pre-line}
.ade-address-modal[hidden]{display:none!important}
.ade-address-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:1rem}
.ade-address-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55)}
.ade-address-modal-dialog{position:relative;z-index:1;display:flex;flex-direction:column;width:min(560px,100%);max-height:calc(100vh - 2rem);max-height:calc(100dvh - 2rem);overflow:hidden;padding:1.25rem;background:#fff;color:#222;border-radius:12px;box-shadow:0 15px 50px rgba(0,0,0,.25)}
.ade-address-modal-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.ade-address-modal-header{flex:0 0 auto}
.ade-address-modal-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.ade-address-modal-header h4{margin:0;font-size:1.15rem}
.ade-address-modal-close{width:36px;height:36px;border:0;border-radius:50%;background:#f2f2f2;font-size:1.5rem;line-height:1;cursor:pointer}
.ade-address-accordion{margin:.65rem 0;border:1px solid #ddd;border-radius:8px;overflow:hidden}
.ade-address-accordion-trigger{display:flex;align-items:center;justify-content:space-between;width:100%;padding:.9rem 1rem;border:0;background:#f7f7f7;color:inherit;text-align:left;font-weight:600;cursor:pointer}
.ade-address-accordion[data-open="1"]>.ade-address-accordion-trigger{background:#eee}
.ade-popup-accordeon-arrow{flex:0 0 12px;transition:transform .3s ease}
.ade-address-accordion[data-open="1"]>.ade-address-accordion-trigger>.ade-popup-accordeon-arrow{transform:rotate(180deg)}
.ade-address-accordion-panel{padding:1rem}
.ade-address-accordion-panel[hidden]{display:none!important}
.ade-address-list{display:grid;gap:.6rem}
.ade-address-option{display:flex;align-items:center;gap:.75rem;width:100%;padding:.85rem;text-align:left;color:inherit;background:#fff;border:1px solid #ddd;border-radius:7px;cursor:pointer}
.ade-address-option-copy{flex:1;min-width:0}
.ade-address-option-copy strong{display:block;margin-bottom:.2rem}
.ade-address-option-check{visibility:hidden;font-weight:700}
.ade-address-option.is-selected{border-color:#2271b1;box-shadow:0 0 0 1px #2271b1}
.ade-address-option.is-selected .ade-address-option-check{visibility:visible;color:#2271b1}
body.ade-address-modal-open{overflow:hidden}
.ade-delivery-offers{display:grid;gap:.5rem;margin-top:.75rem;overflow:visible;background:transparent;color:inherit}
.ade-delivery-offer {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    padding: .5rem .5rem;
    border: 1px solid #dedede;
    border-radius: 9px;
    background: #fff;
    color: #222;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.ade-delivery-offer-profile {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 5px;
    min-width: 0;
}

.ade-delivery-offer-avatar {
    display: block;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    object-fit: cover;
    border-radius: 3px;
    background: #f3f3f3;
}

.ade-delivery-offer-main {
    display: flex;
    flex-direction: column;
    gap: 0px;
    min-width: 0;
}

.ade-delivery-offer-main>span {
    font-size: 12px;
    color: #666;
    line-height: 1;
}

.ade-delivery-offer-meta {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    min-width: max-content;
}

.ade-delivery-offer-meta small {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    line-height: 1;
}

.ade-delivery-offer {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: .5rem .5rem;
    border: 1px solid #dedede;
    border-radius: 9px;
    background: #fff;
    color: #222;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.ade-delivery-offer input[type=radio]{flex:0 0 auto;margin:0 0 0 .1rem;cursor:pointer}
.ade-delivery-offer:has(input[type=radio]:checked),.ade-delivery-offer.is-selected{border-color:#2271b1;box-shadow:0 2px 8px rgba(0,0,0,.09)}
.ade-delivery-selection-status{margin:.5rem 0 0;font-size:.9em}
.ade-product-delivery-notice{padding:.75rem;border-left:3px solid #dba617;background:#fff9e8}

@media(max-width:600px){
.ade-address-modal{align-items:center;padding:.5rem}
.ade-address-modal-dialog{width:100%;max-height:calc(100vh - 1rem);max-height:calc(100dvh - 1rem);padding:1rem}
.ade-address-modal-header{position:relative;z-index:1;background:#fff;padding-bottom:.75rem;margin-bottom:.5rem}
}
