.quote {
    max-width: 820px;
}

.quote h1 {
    font-size: clamp(32px, 6vw, 52px);
}

.quote [hidden] {
    display: none;
}

#quote-form {
    padding: clamp(18px, 5vw, 42px);
    scroll-margin-top: 12px;
    border: 1px solid var(--data7-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(16, 31, 27, .07);
}

.quote-progress {
    display: grid;
    gap: 8px;
    margin-bottom: 24px;
    color: #315348;
    font-size: 14px;
    font-weight: 750;
}

.quote-progress progress {
    width: 100%;
    height: 10px;
    accent-color: #28775b;
}

.quote-step h2 {
    margin: 0 0 14px;
    font-size: clamp(24px, 4vw, 32px);
    line-height: 1.2;
}

.quote-field,
.quote legend {
    display: block;
    margin: 16px 0 7px;
    font-weight: 700;
}

.quote small {
    color: var(--data7-muted);
    font-size: .8em;
    font-weight: 500;
}

.quote input:not([type="radio"], [type="checkbox"]),
.quote textarea,
.quote select {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #a4b3ad;
    border-radius: 9px;
    background: #fbfcfb;
    color: var(--data7-ink);
    font: inherit;
}

.quote textarea {
    resize: vertical;
}

.quote button {
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.quote :is(input, select, textarea, button):focus-visible {
    outline: 2px solid #286753;
    outline-offset: 2px;
}

.quote-hint {
    margin: 8px 0 12px;
    color: var(--data7-muted);
    font-size: 14px;
    line-height: 1.55;
}

.quote fieldset {
    min-width: 0;
    margin: 20px 0 0;
    padding: 0;
    border: 0;
}

.quote-styles,
.quote-palettes,
.quote-options {
    display: grid;
    gap: 8px;
}

.quote-styles,
.quote-palettes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote-options {
    margin-top: 8px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 195px), 1fr));
}

.quote :is(.quote-options, .quote-styles, .quote-palettes) label {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 7px;
    border: 1px solid var(--data7-line);
    border-radius: 9px;
    font-size: 14px;
    cursor: pointer;
}

.quote :is(.quote-styles, .quote-palettes) label {
    flex-direction: column;
    text-align: center;
}

.quote :is(.quote-styles, .quote-palettes, .quote-options) label:has(input:checked) {
    border-color: #28775b;
    background: #eef6f1;
}

.quote input:is([type="radio"], [type="checkbox"]) {
    flex-shrink: 0;
    margin: 0;
    accent-color: #28775b;
}

.quote-style-sample,
.quote-swatches {
    display: block;
    width: 100%;
    border: 1px solid #aebcb5;
    border-radius: 5px;
}

.quote-style-sample {
    position: relative;
    height: 42px;
    overflow: hidden;
    background: var(--style-background);
}

.quote-style-sample::before,
.quote-style-sample::after {
    position: absolute;
    content: "";
}

.quote-style-sample::before {
    inset: 10px auto auto 10%;
    width: 38%;
    height: 12px;
    border-bottom: 3px solid var(--style-ink);
    border-top: 4px solid var(--style-ink);
}

.quote-style-sample::after {
    inset: 8px 8% 8px auto;
    width: 30%;
    border-radius: var(--style-radius, 3px);
    background: var(--style-detail);
}

.quote-clean {
    --style-background: #fff;
    --style-ink: #486b66;
    --style-detail: #d2e5e2;
}

.quote-elegant {
    --style-background: #1e302c;
    --style-ink: #e3c89a;
    --style-detail: #aa8453;
}

.quote-warm {
    --style-background: #ffebd8;
    --style-ink: #805044;
    --style-detail: #d38e78;
    --style-radius: 50%;
}

.quote-swatches { height: 18px; background: var(--swatches); }

.quote-color-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
}

.quote-reference,
.quote-review-item {
    margin: 12px 0;
    padding: 12px;
    border: 1px solid var(--data7-line);
    border-radius: 12px;
    background: #f6f8f4;
}

.quote-reference .quote-field:first-child {
    margin-top: 0;
}

.quote-text,
.quote-secondary {
    min-height: 44px;
    padding: 8px 12px;
    border: 0;
    border-radius: 9px;
    color: #214e40;
    background: transparent;
}

.quote-text {
    text-decoration: underline;
}

.quote-secondary {
    border: 1px solid #a4b3ad;
    background: white;
}

.quote-secondary:disabled {
    opacity: .55;
    cursor: default;
}

.quote-navigation,
.quote-review-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.quote-navigation {
    margin-top: 24px;
    flex-wrap: wrap;
}

.quote-navigation .odonto-sales__cta {
    min-height: 44px;
    margin-left: auto;
    border: 1px solid transparent;
    justify-content: center;
}

.quote-review-item h4 {
    margin: 0;
}

.quote-review-item p {
    margin: 6px 0;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    font-size: 14px;
    line-height: 1.5;
}

.quote-review-heading .quote-text {
    flex-shrink: 0;
}

.quote-whatsapp-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: 12px;
}
