.gt-offer-previous {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: .375rem;
    font-size: .875rem;
    line-height: 1.3;
}

.gt-offer-previous[hidden] {
    display: none;
}

.gt-offer-old-price {
    color: #656c79;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.gt-offer-discount {
    padding: .2rem .45rem;
    border-radius: 4px;
    background: #315cdb;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}

.gt-offer-actions,
.catalog-modal--estimate {
    --gt-offer-blue: #315cdb;
    --gt-offer-hover: #2449bf;
}

.gt-offer-actions {
    display: grid;
    gap: .5rem;
}

.gt-offer-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 46px;
    padding: .625rem .875rem;
    border: 1px solid var(--gt-offer-blue);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.gt-offer-actions .gt-offer-primary {
    background: var(--gt-offer-blue);
    color: #fff;
}

.gt-offer-actions .gt-offer-primary:hover {
    border-color: var(--gt-offer-hover);
    background: var(--gt-offer-hover);
    color: #fff;
}

.gt-offer-actions .gt-offer-secondary {
    background: #fff;
    color: var(--gt-offer-blue);
}

.gt-offer-actions .gt-offer-secondary:hover {
    background: #edf2ff;
    color: var(--gt-offer-hover);
}

.gt-offer-actions .btn:focus-visible {
    z-index: 1;
    outline: 2px solid var(--gt-offer-blue);
    outline-offset: 2px;
}

.gt-offer-panel {
    display: grid;
    gap: 1rem;
}

.gt-offer-current {
    font-variant-numeric: tabular-nums;
}

.gt-offer-actions .gt-offer-quote {
    flex-direction: column;
    gap: .2rem;
    min-height: 76px;
    padding: .875rem;
    font-size: 1.125rem;
    line-height: 1.25;
}

.gt-offer-quote small {
    font-size: .875rem;
    font-weight: 400;
}

.gt-product-offer-actions {
    grid-auto-rows: 1fr;
}

.gt-offer-cart-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 4rem;
    gap: .5rem;
}

#catalog.catalog-modal--estimate .catalog-modal__dialog {
    width: calc(100% - 2rem);
    max-width: 29rem;
    margin-inline: auto;
}

#catalog.catalog-modal--estimate .catalog-modal__body {
    padding: 0;
}

#catalog.catalog-modal--estimate .capture-form__block {
    flex-direction: column;
    gap: 1.25rem;
    padding: 2.75rem clamp(1rem, 5vw, 2rem) 1.75rem;
}

#catalog.catalog-modal--estimate .catalog-text,
#catalog.catalog-modal--estimate .catalog-form {
    max-width: none;
}

#catalog.catalog-modal--estimate .capture-form__title {
    margin: 0 0 .5rem;
    font-size: clamp(1.625rem, 5vw, 2rem);
    font-weight: 700;
    line-height: 1.15;
}

#catalog.catalog-modal--estimate .gt-estimate-subtitle {
    margin: 0;
    color: #000;
    font-size: 1rem;
    line-height: 1.4;
}

#catalog.catalog-modal--estimate .catalog-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: .75rem;
}

#catalog.catalog-modal--estimate .capture-form__phone {
    min-height: 3.25rem;
    padding: .75rem 1rem;
}

#catalog.catalog-modal--estimate .catalog-form > button[type="submit"] {
    justify-content: center;
    width: 100%;
    min-height: 3rem;
    margin-top: .25rem;
    border-color: var(--gt-offer-blue);
    background: var(--gt-offer-blue);
    color: #fff;
}

#catalog.catalog-modal--estimate .catalog-form > button[type="submit"]:hover {
    border-color: var(--gt-offer-hover);
    background: var(--gt-offer-hover);
}

#catalog.catalog-modal--estimate .close {
    position: absolute;
    inset: .375rem .375rem auto auto;
    z-index: 3;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #000;
    opacity: 1;
}

#catalog.catalog-modal--estimate .close img {
    display: none;
}

#catalog.catalog-modal--estimate .close::before,
#catalog.catalog-modal--estimate .close::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 1.5px;
    border-radius: 1px;
    background: currentColor;
    content: "";
    transform: translate(-50%, -50%) rotate(45deg);
}

#catalog.catalog-modal--estimate .close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

#catalog.catalog-modal--estimate .close:focus-visible {
    outline: 2px solid var(--gt-offer-blue);
    outline-offset: -3px;
}
