/* Standalone estimator wrapper — calendar styles come from hb-checkout.css */

.hb-shipping-calc {
    margin: 1.5rem 0;
    font-family: inherit;
    max-width: 480px;
}

.hb-shipping-calc__title {
    margin: 0 0 0.875rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.hb-shipping-calc__input-row {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
    margin-bottom: 0.5rem;
}

.hb-shipping-calc__input {
    flex: 1;
    min-width: 0;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 0.15s;
}

.hb-shipping-calc__input:focus {
    outline: none;
    border-color: #555;
}

.hb-shipping-calc__btn {
    padding: 0.5rem 1.25rem;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}

.hb-shipping-calc__btn:hover:not(:disabled) { background: #111; }
.hb-shipping-calc__btn:disabled { opacity: 0.6; cursor: default; }

.hb-shipping-calc__error {
    margin: 0.25rem 0 0;
    color: #c0392b;
    font-size: 0.875rem;
}

.hb-shipping-calc__results {
    margin-top: 1rem;
}

/* Override max-width for the calendar inside the estimator */
.hb-shipping-calc__results .hb-cal {
    max-width: 100%;
}
