.hd-estimated-delivery-wrapper {
    border: 1px solid #e4e9f0;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 30px;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
}

.hd-ed-title {
    margin: 0 0 22px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #101828;
}

.hd-ed-country-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: -8px 0 20px;
    font-size: 13px;
    color: #64748b;
}

.hd-ed-country-selector select {
    padding: 5px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
    cursor: pointer;
    background-color: #f8fafc;
    color: #334155;
}

.hd-ed-country-selector select:focus {
    border-color: #2f54eb;
    box-shadow: 0 0 0 1px #2f54eb;
}

.hd-ed-timeline {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.hd-ed-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 13px;
    color: #667085;
    position: relative;
}

/* Connector line between the icon circles */
.hd-ed-step + .hd-ed-step::before {
    content: "";
    position: absolute;
    top: 20px;
    left: -50%;
    width: 100%;
    height: 2px;
    background: #e4e7ec;
    transform: translateY(-50%);
}

.hd-ed-step.hd-ed-step-ships::before {
    background: #1d2939;
}

.hd-ed-step.hd-ed-step-delivered::before {
    background: #e4e7ec;
}

.hd-ed-step-icon {
    position: relative;
    z-index: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2f54eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hd-ed-step-delivered .hd-ed-step-icon {
    background: #e9edf3;
}

.hd-ed-step strong {
    margin-top: 10px;
    margin-bottom: 2px;
    font-size: 14px;
    font-weight: 700;
    color: #101828;
}

.hd-ed-step-delivered strong {
    color: #98a2b3;
}

.hd-ed-step-date {
    font-size: 13px;
    color: #667085;
}

.hd-ed-step-delivered .hd-ed-step-date {
    color: #98a2b3;
}

/* Returns & Refund notice */
.hd-ed-footer {
    border-top: 1px solid #eef2f6;
    margin: 20px -20px 0;
    padding: 14px 20px 0;
}

.hd-ed-returns {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e4e9f0;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.5;
    color: #475467;
}

.hd-ed-returns-icon {
    display: flex;
    flex-shrink: 0;
}

.hd-ed-returns-text a,
.hd-ed-returns-text strong {
    color: #2f54eb;
    font-weight: 600;
    text-decoration: none;
}

.hd-ed-returns-text a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .hd-estimated-delivery-wrapper {
        padding: 16px;
    }
    .hd-ed-title {
        font-size: 15px;
        margin-bottom: 18px;
    }
    .hd-ed-step-icon {
        width: 34px;
        height: 34px;
    }
    .hd-ed-step-icon svg {
        width: 17px;
        height: 17px;
    }
    .hd-ed-step + .hd-ed-step::before {
        top: 17px;
    }
    .hd-ed-step strong {
        font-size: 13px;
    }
    .hd-ed-step-date {
        font-size: 12px;
    }
    .hd-ed-footer {
        margin: 16px -16px 0;
        padding: 12px 16px 0;
    }
    .hd-ed-country-selector select {
        max-width: 160px;
    }
}
