.estimator-page.estimate-layout-updated {
    --estimate-green: #12382f;
    --estimate-line: #d8e3db;
    --estimate-tint: #e9f2ec;
}

.estimator-page .estimate-incoterm-row {
    gap: 10px 16px;
    flex-wrap: wrap;
    margin: 14px 0 21px;
}

.estimator-page .estimate-incoterm-row [hidden] {
    display: none;
}

.estimator-page .estimate-incoterm-picker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: 100%;
    min-width: 0;
    padding: 3px 3px 3px 10px;
    border: 1px solid #c4d6cb;
    border-radius: 10px;
    background: var(--estimate-tint);
}

.estimator-page .estimate-incoterm-picker label {
    color: var(--estimate-green);
    font-weight: 700;
}

.estimator-page .estimate-incoterm-picker select {
    width: clamp(135px, 29vw, 242px);
    min-width: 0;
    min-height: 34px;
    margin: 0;
    padding: 5px 22px 5px 7px;
    border: 1px solid #d1dfd5;
    border-radius: 7px;
    color: var(--estimate-green);
    background: #fff;
    font: inherit;
    font-weight: 600;
}

.estimator-page .timeline-legend {
    flex-wrap: wrap;
    gap: 6px 14px;
}

.estimate-layout-updated .estimator-form > details > summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 3px 14px;
    align-items: center;
    padding: 13px 15px 13px 17px;
    background: #f7faf7;
    border: 1px solid transparent;
    color: var(--estimate-green);
    list-style: none;
}

.estimate-layout-updated .estimator-form > details > summary::before,
.estimate-layout-updated .estimator-form > details > summary::-webkit-details-marker {
    display: none;
}

.estimate-layout-updated .estimator-form > details > summary > span:first-child {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

.estimate-layout-updated .estimator-form > details > summary > small {
    grid-column: 1;
    max-width: 100%;
    width: auto;
    padding: 0;
    text-align: left;
    color: #4c6358;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.estimate-layout-updated .estimator-form > details > summary:hover {
    background: var(--estimate-tint);
    border-color: #c4d6cb;
}

.estimate-layout-updated .estimator-form > details[open] > summary {
    background: var(--estimate-tint);
    border-radius: 11px 11px 0 0;
}

.estimate-layout-updated .estimator-form > details > summary:focus-visible,
.estimator-page .estimate-incoterm-picker select:focus-visible {
    outline: 2px solid #28674d;
    outline-offset: 2px;
}

.estimate-layout-updated summary .estimate-disclosure-icon {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: grid;
    position: relative;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #c4d6cb;
    border-radius: 9px;
    background: #fff;
    color: var(--estimate-green);
}

.estimate-disclosure-icon::before,
.estimate-disclosure-icon::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.estimate-disclosure-icon::after {
    rotate: 90deg;
}

.estimate-layout-updated details[open] > summary .estimate-disclosure-icon::after {
    display: none;
}

.estimate-layout-updated .estimator-group-content {
    padding: 16px 17px 18px;
}

.estimate-layout-updated .estimator-group-content .journey-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    padding: 0;
    gap: 14px;
}

.estimate-layout-updated .journey-fields > label,
.estimate-layout-updated .journey-fields .estimate-city,
.estimate-layout-updated .estimate-city label {
    min-width: 0;
}

.estimate-layout-updated .journey-fields :is(input:not([type="hidden"]), select) {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 43px;
}

.estimate-layout-updated .estimate-city .custom-city-fields {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 9px;
    padding: 10px;
}

.estimator-page .estimate-bottom-search {
    margin-top: 26px;
    padding: 22px 0 8px;
    border-top: 1px solid var(--estimate-line);
}

.estimator-page .estimate-bottom-search .discovery-search {
    max-width: 100%;
}

.estimator-page .estimate-bottom-search .search-suggestions {
    top: auto;
    bottom: calc(100% + 12px);
    max-height: min(330px, 50vh);
    overflow-y: auto;
}

@media (max-width: 520px) {
    .estimate-layout-updated .estimator-group-content .journey-fields {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 360px) {
    body:has(.estimator-page.estimate-layout-updated) .discovery-navigation {
        flex-wrap: wrap;
    }

    body:has(.estimator-page.estimate-layout-updated) .discovery-navigation nav {
        gap: 7px;
    }
}
