.gf-product-delivery {
    overflow: hidden;
    border: 1px solid #e6e8ed;
    border-radius: 16px;
    background: #fff;
    color: #141d2e;
}

.gf-product-delivery-summary {
    display: grid;
    min-height: 60px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    list-style: none;
}

.gf-product-delivery-summary::-webkit-details-marker {
    display: none;
}

.gf-product-delivery-summary strong,
.gf-product-delivery-summary small {
    display: block;
}

.gf-product-delivery-summary small,
.gf-product-delivery-form label span {
    color: #4b5567;
    font-weight: 400;
}

.gf-product-delivery-summary > i:first-child,
.gf-product-delivery-quote {
    color: #b81436;
}

.gf-product-delivery[open] .gf-product-delivery-chevron {
    transform: rotate(180deg);
}

.gf-product-delivery-content {
    padding: 0 14px 14px;
}

.gf-product-delivery-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.gf-product-delivery-form[hidden],
.gf-product-delivery-result[hidden] {
    display: none;
}

.gf-product-delivery-form label {
    min-width: 0;
    font-size: .9rem;
    font-weight: 650;
}

.gf-product-delivery-form .gf-input {
    display: block;
    min-width: 0;
    width: 100%;
    min-height: 44px;
    margin-top: 4px;
}

.gf-product-delivery-form button {
    min-height: 44px;
    grid-column: 1 / -1;
    justify-self: start;
}

.gf-product-delivery-result {
    margin-bottom: 8px;
    border-radius: 10px;
    background: #f3f5f8;
    padding: 10px 12px;
}

.gf-product-delivery-result[data-state="estimate"] {
    background: #edf7f0;
}

.gf-product-delivery-result[data-state="warning"] {
    background: #fff5e3;
}

.gf-product-delivery-result p {
    margin: 4px 0 0;
    font-size: .9rem;
}

.gf-product-delivery-quote {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 4px 0;
    text-decoration: underline;
    text-underline-offset: .15em;
}

.gf-product-delivery :is(summary, button, input, a):focus-visible {
    outline: 2px solid #b81436;
    outline-offset: 2px;
}

.gf-product-delivery-summary:focus-visible {
    outline-offset: -2px;
}
