/* ============================================================
   3D BRUSH CUSTOMIZER — front-page section
   Loaded only where the section renders (see ehf_enqueue_assets).
   Prefix: .ehf3d-
   ============================================================ */

.ehf3d-section { background: var(--color-cream); }

/* Several elements below are display:flex, which beats the UA's [hidden]
   rule — without this they stay visible after JS hides them. */
.ehf3d [hidden], .ehf3d-viewport [hidden] { display: none !important; }

/* Kept so old /#customizer links still land on the tool now that the section
   itself carries id="custom" from the OEM band merged into it. */
.ehf3d-anchor-note { margin: 0; height: 0; scroll-margin-top: calc(var(--header-height) + 20px); }

/* The OEM capability cards moved here from a section of their own. Their
   default cream fill was invisible against this section's cream background,
   so they take the same white-card treatment as the tool below them. */
.ehf3d-section .oem-grid { margin-bottom: 34px; }
.ehf3d-section .oem-card {
    background: var(--color-white);
    padding: 22px 22px 24px;
}
.ehf3d-section .oem-card h4 { font-size: 1rem; }
.ehf3d-section .oem-card p { font-size: 0.86rem; }
.ehf3d-section .oem-wholesale { margin-top: 38px; }

.ehf3d {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 24px;
    box-shadow: var(--shadow-md);
}

/* ---------- Stage / viewport ---------- */
.ehf3d-stage { position: sticky; top: calc(var(--header-height) + 20px); }

.ehf3d-viewport {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(160deg, #F6F3EE 0%, #EDE8E0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ehf3d-viewport canvas {
    position: absolute; inset: 0;
    width: 100% !important; height: 100% !important;
    display: block; touch-action: none;
}
.ehf3d-poster {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    opacity: 0; transition: opacity .35s ease;
    pointer-events: none;
}
.ehf3d-poster.is-on { opacity: 1; }
.ehf3d-viewport.is-live .ehf3d-poster { opacity: 0; }

/* Empty state when no poster image has been uploaded yet */
.ehf3d-viewport::after {
    content: "3D preview";
    font-family: var(--font-heading);
    font-size: 15px;
    color: #C3BCB0;
    letter-spacing: .04em;
}
.ehf3d-viewport:has(.ehf3d-poster)::after,
.ehf3d-viewport.is-live::after { content: none; }

.ehf3d-launch {
    position: absolute; z-index: 3;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 18px 30px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    cursor: pointer;
    font-family: var(--font-body);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), border-color var(--transition);
}
.ehf3d-launch:hover { transform: translateY(-2px); border-color: var(--color-primary); }
.ehf3d-launch-icon { color: var(--color-primary); display: block; }
.ehf3d-launch-label { font-size: 14px; font-weight: 600; color: var(--color-charcoal); }
.ehf3d-launch-note { font-size: 11px; color: var(--color-text-light); }

.ehf3d-loading {
    position: absolute; z-index: 4;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    font-size: 12px; color: var(--color-text-light);
}
.ehf3d-spinner {
    width: 30px; height: 30px; border-radius: 50%;
    border: 2.5px solid var(--color-border);
    border-top-color: var(--color-primary);
    animation: ehf3dspin .7s linear infinite;
}
@keyframes ehf3dspin { to { transform: rotate(360deg); } }

.ehf3d-viewtools {
    position: absolute; top: 12px; left: 12px; z-index: 3;
    display: flex; gap: 6px;
}
.ehf3d-vbtn {
    padding: 6px 12px;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(6px);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    font-family: var(--font-body); font-size: 11px;
    color: var(--color-text); cursor: pointer;
    transition: all var(--transition);
}
.ehf3d-vbtn:hover { border-color: var(--color-wood); }
.ehf3d-vbtn.is-on { background: var(--color-charcoal); color: #fff; border-color: var(--color-charcoal); }

.ehf3d-hint {
    position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
    z-index: 3; margin: 0;
    font-size: 11px; color: var(--color-text-light);
    background: rgba(255,255,255,.85); backdrop-filter: blur(6px);
    padding: 5px 14px; border-radius: 20px; pointer-events: none;
}

/* ---------- Live recap under the viewport ---------- */
.ehf3d-recap { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.ehf3d-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11.5px; line-height: 1.4;
    padding: 5px 11px;
    background: var(--color-cream-dark);
    border-radius: 20px;
    color: var(--color-text);
}
.ehf3d-tag i {
    font-style: normal; font-size: 10px;
    color: var(--color-text-light); text-transform: uppercase; letter-spacing: .06em;
}
.ehf3d-tag u { text-decoration: none; font-weight: 600; }
.ehf3d-tag--dot::before {
    content: ""; width: 10px; height: 10px; border-radius: 50%;
    background: var(--dot); border: 1px solid rgba(0,0,0,.12); flex-shrink: 0;
}

/* ---------- Panel ---------- */
.ehf3d-panel { display: flex; flex-direction: column; min-width: 0; }

/* ---------- Step rail ----------
   Same component as the production timeline's stage rail, on purpose: numbered
   dots on a connecting line, label underneath, click any to jump. The previous
   pill row wrapped to a second line and left "Review" stranded on its own.
   Padding on the wrap gives the active dot's halo somewhere to sit, since the
   horizontal scroll needs overflow-y: hidden. */
.ehf3d-railwrap {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    margin: 0 0 20px;
    padding: 8px 0 14px;
    border-bottom: 1px solid var(--color-border);
}
.ehf3d-steps {
    position: relative;
    display: flex;
    list-style: none;
    margin: 0; padding: 0;
    min-width: 100%;
}
.ehf3d-steps::before {
    content: "";
    position: absolute;
    top: 13px; left: 0; right: 0;
    height: 2px;
    background: var(--color-border);
}
/* Nine steps have to fit the panel width, so the basis is tuned to the longest
   label ("Packaging" at 10px). Narrower panels scroll the rail. */
.ehf3d-steps li {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    flex: 1 0 50px;
    padding: 0 1px;
    font-size: 10px; color: var(--color-text-light);
    cursor: pointer; text-align: center;
    transition: color var(--transition);
}
.ehf3d-steps li span {
    position: relative; z-index: 1;
    display: grid; place-items: center; flex-shrink: 0;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    font-size: 11.5px; font-weight: 600; color: var(--color-text-light);
    transition: all var(--transition);
}
.ehf3d-steps li b { font-weight: 600; line-height: 1.3; white-space: nowrap; }
.ehf3d-steps li:hover { color: var(--color-text); }
.ehf3d-steps li:hover span { border-color: var(--color-wood); }
.ehf3d-steps li.is-on { color: var(--color-primary); }
.ehf3d-steps li.is-on span {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(74, 124, 89, 0.14);
}
.ehf3d-steps li.is-done span {
    background: var(--color-primary-light);
    border-color: var(--color-primary-light);
    color: #fff;
}

.ehf3d-pane { display: none; }
.ehf3d-pane.is-on { display: block; animation: ehf3dfade .3s ease; }
@keyframes ehf3dfade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.ehf3d-pane-title {
    font-family: var(--font-heading);
    font-size: 21px; margin: 0 0 5px; color: var(--color-charcoal);
}
.ehf3d-pane-sub { font-size: 13px; line-height: 1.6; color: var(--color-text-light); margin: 0 0 16px; }

/* Sub-groups get a rule above them as well as a label. Several panes carry
   three or four groups, and a bare uppercase caption was not enough separation
   to tell them apart at a glance. */
.ehf3d-sublabel {
    font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
    color: var(--color-charcoal);
    margin: 24px 0 10px;
    padding-top: 18px;
    border-top: 1px solid var(--color-border);
}
.ehf3d-sublabel:first-of-type {
    margin-top: 0; padding-top: 0; border-top: none;
}

.ehf3d-note {
    font-size: 11.5px; line-height: 1.6; color: var(--color-text-light);
    margin: 10px 0 0; padding-left: 10px;
    border-left: 2px solid var(--color-border);
}

/* ---------- Material cards ---------- */
.ehf3d-mats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ehf3d-mat {
    display: flex; flex-direction: column; gap: 9px;
    padding: 11px; text-align: left;
    background: var(--color-white);
    border: 1.5px solid var(--color-border); border-radius: 10px;
    cursor: pointer; font-family: var(--font-body);
    transition: all var(--transition);
}
.ehf3d-mat:hover { border-color: var(--color-wood); }
.ehf3d-mat.is-on { border-color: var(--color-primary); background: rgba(74,124,89,.045); }
.ehf3d-mat-img {
    display: block; aspect-ratio: 4 / 3;
    border-radius: 7px; overflow: hidden; background: var(--color-cream-dark);
}
.ehf3d-mat-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ehf3d-mat-text strong { display: block; font-size: 12.5px; line-height: 1.3; color: var(--color-charcoal); }
.ehf3d-mat-text em { display: block; font-style: normal; font-size: 10.5px; line-height: 1.4; color: var(--color-text-light); margin-top: 3px; }

/* ---------- Shape cards ---------- */
.ehf3d-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ehf3d-card {
    display: flex; flex-direction: column; gap: 8px;
    padding: 12px; text-align: left;
    background: var(--color-white);
    border: 1.5px solid var(--color-border); border-radius: 10px;
    cursor: pointer; font-family: var(--font-body);
    transition: all var(--transition);
}
.ehf3d-card:hover { border-color: var(--color-wood); }
.ehf3d-card.is-on { border-color: var(--color-primary); background: rgba(74,124,89,.045); }
.ehf3d-card-img {
    display: block; height: 96px; border-radius: 7px; overflow: hidden;
    background: var(--color-cream-dark);
}
.ehf3d-card-img img { width: 100%; height: 100%; object-fit: contain; }
.ehf3d-card-text strong { display: block; font-size: 13px; color: var(--color-charcoal); }
.ehf3d-card-text em { display: block; font-style: normal; font-size: 11px; color: var(--color-text-light); margin-top: 2px; }

/* Bristles reuse the packaging card. Four options, so two rows of two rather
   than the packaging step's three across. Until the four close-ups are shot,
   each card falls back to a flat swatch of its bristle colour, striped so it
   reads as a placeholder rather than as a solid-colour product. */
.ehf3d-packs--bristle { grid-template-columns: 1fr 1fr; }
.ehf3d-pack-img--swatch { position: relative; }
.ehf3d-pack-img--swatch::after {
    content: "";
    position: absolute; inset: 0;
    background: repeating-linear-gradient(90deg, rgba(255,255,255,.34) 0 2px, transparent 2px 6px);
}

/* ---------- Colour swatches ---------- */
.ehf3d-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 10px; }
.ehf3d-sw {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 8px 4px; background: none;
    border: 1.5px solid transparent; border-radius: 10px;
    cursor: pointer; font-family: var(--font-body);
    transition: all var(--transition);
}
.ehf3d-sw span {
    width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid rgba(0,0,0,.1);
    box-shadow: inset 0 -6px 10px rgba(0,0,0,.14), inset 0 4px 8px rgba(255,255,255,.28);
    transition: transform var(--transition);
}
.ehf3d-sw em {
    font-style: normal; font-size: 10.5px; line-height: 1.3;
    text-align: center; color: var(--color-text-light);
}
.ehf3d-sw:hover span { transform: scale(1.08); }
.ehf3d-sw.is-on { border-color: var(--color-primary); background: rgba(74,124,89,.05); }
.ehf3d-sw.is-on em { color: var(--color-primary); font-weight: 600; }

/* "Any colour" chip — a colour wheel that opens the native picker. The wheel
   is painted by the gradient below; the real <input type="color"> sits on top
   at zero opacity so one click both selects the option and opens the picker. */
.ehf3d-sw--custom { position: relative; cursor: pointer; }
.ehf3d-sw-wheel {
    position: relative; display: block;
    width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid rgba(0,0,0,.1);
    background: conic-gradient(#E14D4D, #E1A54D, #D9D34D, #57C15B, #4DC4C1,
                               #4D7FE1, #8A4DE1, #E14DB0, #E14D4D);
    box-shadow: inset 0 -6px 10px rgba(0,0,0,.14), inset 0 4px 8px rgba(255,255,255,.28);
    transition: transform var(--transition);
}
.ehf3d-sw-wheel::after {
    content: ""; position: absolute; inset: 32%;
    border-radius: 50%; background: var(--color-white);
    box-shadow: inset 0 1px 3px rgba(0,0,0,.15);
}
/* Once a colour is chosen the wheel becomes that colour — the visitor needs to
   see their pick in the row, not a generic rainbow. */
.ehf3d-sw--custom.is-picked .ehf3d-sw-wheel { background: var(--picked); }
.ehf3d-sw--custom.is-picked .ehf3d-sw-wheel::after { content: none; }
.ehf3d-sw--custom:hover .ehf3d-sw-wheel { transform: scale(1.08); }
.ehf3d-sw-wheel input[type="color"] {
    position: absolute; inset: 0; width: 100%; height: 100%;
    opacity: 0; border: none; padding: 0; cursor: pointer;
}

/* ---------- Chips ---------- */
.ehf3d-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ehf3d-chips--compact { grid-template-columns: 1fr 1fr; }
.ehf3d-chip {
    padding: 10px 12px; text-align: left;
    background: var(--color-white);
    border: 1.5px solid var(--color-border); border-radius: 9px;
    cursor: pointer; font-family: var(--font-body);
    transition: all var(--transition);
}
.ehf3d-chip:hover { border-color: var(--color-wood); }
.ehf3d-chip.is-on { border-color: var(--color-primary); background: rgba(74,124,89,.045); }
.ehf3d-chip strong { display: block; font-size: 12.5px; font-weight: 600; color: var(--color-charcoal); }
.ehf3d-chip em { display: block; font-style: normal; font-size: 10.5px; color: var(--color-text-light); margin-top: 2px; }

/* ---------- Inputs ---------- */
.ehf3d-input, .ehf3d-select {
    width: 100%; padding: 10px 12px;
    background: var(--color-white);
    border: 1.5px solid var(--color-border); border-radius: 8px;
    font-family: var(--font-body); font-size: 13px; color: var(--color-text);
    outline: none; transition: border-color var(--transition);
}
.ehf3d-input:focus, .ehf3d-select:focus { border-color: var(--color-primary); }

.ehf3d-other { margin-top: 12px; }
.ehf3d-other-toggle {
    background: none; border: 1px dashed var(--color-border); border-radius: 20px;
    padding: 6px 14px;
    font-family: var(--font-body); font-size: 11.5px; color: var(--color-text-light);
    cursor: pointer; transition: all var(--transition);
}
.ehf3d-other-toggle:hover { border-color: var(--color-primary); color: var(--color-primary); }
.ehf3d-other.is-open .ehf3d-other-toggle { display: none; }
.ehf3d-other-body { display: grid; gap: 8px; animation: ehf3dfade .25s ease; }

.ehf3d-textarea { resize: vertical; min-height: 90px; line-height: 1.6; }

/* ---------- Review step ---------- */
.ehf3d-review {
    margin: 0 0 4px; padding: 4px 0;
    border-top: 1px solid var(--color-border);
}
.ehf3d-review > div {
    display: grid; grid-template-columns: 116px 1fr; gap: 12px;
    padding: 9px 0; border-bottom: 1px solid var(--color-border);
    align-items: baseline;
}
.ehf3d-review dt {
    font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
    color: var(--color-text-light);
}
.ehf3d-review dd {
    margin: 0; font-size: 13px; color: var(--color-charcoal);
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.ehf3d-review dd.is-empty { color: #B6B0A4; font-style: italic; }
.ehf3d-review .ehf3d-chipdot {
    width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0;
    border: 1px solid rgba(0,0,0,.15);
}

.ehf3d-assure {
    list-style: none; margin: 16px 0 0; padding: 14px 16px;
    background: var(--color-cream-dark); border-radius: 9px;
}
.ehf3d-assure li {
    position: relative; padding-left: 20px; margin-bottom: 6px;
    font-size: 12px; color: var(--color-text);
}
.ehf3d-assure li:last-child { margin-bottom: 0; }
.ehf3d-assure li::before {
    content: "✓"; position: absolute; left: 0;
    color: var(--color-primary); font-weight: 700;
}

.ehf3d-inline { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
.ehf3d-inline .ehf3d-select { flex: 1; }

.ehf3d-toggle { display: flex; gap: 0; border: 1.5px solid var(--color-border); border-radius: 8px; overflow: hidden; }
.ehf3d-toggle button {
    flex: 1; padding: 9px 10px; background: var(--color-white); border: none;
    font-family: var(--font-body); font-size: 12.5px; color: var(--color-text-light);
    cursor: pointer; transition: all var(--transition);
}
.ehf3d-toggle button + button { border-left: 1.5px solid var(--color-border); }
.ehf3d-toggle button.is-on { background: var(--color-primary); color: #fff; font-weight: 600; }
.ehf3d-toggle--4 button { font-size: 11.5px; padding: 9px 4px; }
.ehf3d-logo-text, .ehf3d-logo-upload { margin-top: 10px; }

.ehf3d-logocolors { display: flex; gap: 6px; flex-wrap: wrap; }
.ehf3d-logocolors button,
.ehf3d-logocolor-custom {
    width: 30px; height: 30px; border-radius: 50%;
    border: 2px solid var(--color-border); cursor: pointer;
    transition: all var(--transition); flex-shrink: 0; padding: 0;
}
.ehf3d-logocolors button.is-on,
.ehf3d-logocolor-custom.is-on { border-color: var(--color-primary); box-shadow: 0 0 0 2px rgba(74,124,89,.25); }
.ehf3d-logocolor-custom .ehf3d-sw-wheel { width: 100%; height: 100%; border: none; box-shadow: none; }
.ehf3d-logocolor-custom .ehf3d-sw-wheel::after { inset: 34%; }

.ehf3d-upload {
    display: flex; align-items: center; gap: 10px;
    padding: 14px; border: 1.5px dashed var(--color-border); border-radius: 9px;
    cursor: pointer; transition: all var(--transition);
}
.ehf3d-upload:hover { border-color: var(--color-primary); background: rgba(74,124,89,.03); }
.ehf3d-upload-icon {
    display: grid; place-items: center; flex-shrink: 0;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--color-cream-dark); color: var(--color-primary); font-size: 16px;
}
.ehf3d-upload-text { font-size: 12.5px; color: var(--color-text-light); }

.ehf3d-range {
    width: 100%; height: 4px; -webkit-appearance: none; appearance: none;
    background: var(--color-border); border-radius: 4px; outline: none;
}
.ehf3d-range::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--color-primary); cursor: pointer; border: 2px solid #fff;
    box-shadow: var(--shadow-sm);
}
.ehf3d-range::-moz-range-thumb {
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--color-primary); cursor: pointer; border: 2px solid #fff;
}

/* ---------- Packaging ---------- */
/* Three across: the thumbnails are square now, so two columns would make this
   step twice as tall as every other one. */
.ehf3d-packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ehf3d-pack {
    display: flex; flex-direction: column; gap: 8px;
    padding: 10px; text-align: left;
    background: var(--color-white);
    border: 1.5px solid var(--color-border); border-radius: 10px;
    cursor: pointer; font-family: var(--font-body);
    transition: all var(--transition);
}
.ehf3d-pack:hover { border-color: var(--color-wood); }
.ehf3d-pack.is-on { border-color: var(--color-primary); background: rgba(74,124,89,.045); }
/* Source photos are square (1200×1200) — keep the container square so nothing
   gets cropped through the middle of the box. */
.ehf3d-pack-img {
    display: block; aspect-ratio: 1 / 1;
    border-radius: 7px; overflow: hidden; background: var(--color-cream-dark);
}
.ehf3d-pack-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ehf3d-pack-text strong { display: block; font-size: 12.5px; color: var(--color-charcoal); }
.ehf3d-pack-text em { display: block; font-style: normal; font-size: 10.5px; color: var(--color-text-light); margin-top: 2px; }

/* ---------- Nav + CTA ---------- */
.ehf3d-nav {
    display: flex; gap: 10px; margin-top: 22px; padding-top: 18px;
    border-top: 1px solid var(--color-border);
}
.ehf3d-nav .btn { flex: 1; justify-content: center; text-align: center; }
.ehf3d-nav .btn[disabled] { opacity: .4; pointer-events: none; }

/* Sits in the left column under the recap tags now, not below the option
   panel — see the note in the template. */
.ehf3d-cta { margin-top: 18px; }
.ehf3d-cta .btn { width: 100%; text-align: center; justify-content: center; }
.ehf3d-cta-note {
    margin: 8px 0 0; text-align: center;
    font-size: 11px; color: var(--color-text-light);
}

/* ---------- What happens next ----------
   Replaced the related-cases strip. The homepage already has a case-studies
   section, so that strip showed the same posts a second time, and it pointed a
   visitor who had just finished configuring a product away from the CTA. */
.ehf3d-nextsteps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    list-style: none;
    margin: 40px 0 0;
    padding: 26px 24px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    counter-reset: none;
}
.ehf3d-nextsteps li { display: flex; flex-direction: column; }
.ehf3d-next-num {
    display: grid; place-items: center;
    width: 30px; height: 30px; margin-bottom: 12px;
    border-radius: 50%;
    background: rgba(74, 124, 89, .1);
    font-family: var(--font-heading);
    font-size: 14px; font-weight: 600;
    color: var(--color-primary);
}
.ehf3d-nextsteps li strong {
    font-family: var(--font-heading);
    font-size: 15px; line-height: 1.3;
    color: var(--color-charcoal);
    margin-bottom: 6px;
}
.ehf3d-nextsteps li span:not(.ehf3d-next-num) {
    font-size: 12.5px; line-height: 1.6;
    color: var(--color-text-light);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .ehf3d { grid-template-columns: 1fr; }
    .ehf3d-stage { position: static; }
    .ehf3d-viewport { aspect-ratio: 3 / 2; }
    .ehf3d-nextsteps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
    .ehf3d { padding: 16px; gap: 22px; }
    .ehf3d-viewport { aspect-ratio: 1 / 1; }
    .ehf3d-cards, .ehf3d-chips { grid-template-columns: 1fr; }
    .ehf3d-mats { grid-template-columns: 1fr; }
    .ehf3d-mat { flex-direction: row; align-items: center; }
    .ehf3d-mat-img { width: 84px; flex-shrink: 0; }
    .ehf3d-packs { grid-template-columns: 1fr 1fr; }
    .ehf3d-toggle--4 { flex-wrap: wrap; }
    .ehf3d-toggle--4 button { flex: 1 0 50%; }
    .ehf3d-review > div { grid-template-columns: 96px 1fr; }
    .ehf3d-swatches { grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); }
    .ehf3d-nextsteps { grid-template-columns: 1fr; gap: 22px; }
    .ehf3d-nav { flex-direction: column-reverse; }
}
