.gx-customizer {
    --gx-cream: #f7f1e7;
    --gx-cream-deep: #efe3d0;
    --gx-gold: #b88a3b;
    --gx-coffee: #3d2c22;
    --gx-bluegray: #d9e3e6;
    --gx-ink: #2f2924;
    --gx-muted: #75695f;
    color: var(--gx-ink);
    background: var(--gx-cream);
    border: 1px solid rgba(184, 138, 59, 0.25);
    font-family: inherit;
    max-width: 1120px;
    margin: 0 auto;
    padding: 32px;
}

.gx-customizer * {
    box-sizing: border-box;
}

.gx-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 32px;
    align-items: center;
    min-height: 320px;
    border-bottom: 1px solid rgba(61, 44, 34, 0.12);
    padding-bottom: 28px;
}

.gx-hero__eyebrow {
    color: var(--gx-gold);
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 12px;
}

.gx-hero h1 {
    color: var(--gx-coffee);
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0;
    margin: 0;
}

.gx-hero__copy {
    color: var(--gx-muted);
    font-size: 18px;
    line-height: 1.8;
    margin: 18px 0 0;
    max-width: 620px;
}

.gx-hero__visual {
    align-items: center;
    background: var(--gx-bluegray);
    display: flex;
    justify-content: center;
    min-height: 260px;
    padding: 24px;
}

.gx-bracelet-preview,
.gx-bracelet-large {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.gx-bracelet-preview span,
.gx-bracelet-large span {
    background: #ffffff;
    border: 2px solid rgba(184, 138, 59, 0.55);
    border-radius: 999px;
    box-shadow: inset 0 0 10px rgba(61, 44, 34, 0.12);
    display: block;
}

.gx-bracelet-preview span {
    height: 28px;
    width: 28px;
}

.gx-bracelet-large span {
    height: 34px;
    width: 34px;
}

.gx-steps {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 28px 0;
}

.gx-step-tab {
    background: #fffaf2;
    border: 1px solid rgba(61, 44, 34, 0.12);
    color: var(--gx-muted);
    cursor: pointer;
    font-size: 14px;
    min-height: 44px;
    padding: 8px 10px;
}

.gx-step-tab.is-active {
    background: var(--gx-coffee);
    border-color: var(--gx-coffee);
    color: #fffaf2;
}

.gx-step-panel {
    display: none;
}

.gx-step-panel.is-active {
    display: block;
}

.gx-section-heading {
    margin-bottom: 22px;
}

.gx-section-heading span {
    color: var(--gx-gold);
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.gx-section-heading h2 {
    color: var(--gx-coffee);
    font-size: 28px;
    letter-spacing: 0;
    margin: 0;
}

.gx-form-grid,
.gx-choice-grid,
.gx-card-grid,
.gx-design-layout {
    display: grid;
    gap: 16px;
}

.gx-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gx-form-grid label {
    color: var(--gx-coffee);
    display: grid;
    font-size: 14px;
    font-weight: 700;
    gap: 8px;
}

.gx-form-grid input,
.gx-form-grid select {
    background: #fffaf2;
    border: 1px solid rgba(61, 44, 34, 0.18);
    color: var(--gx-ink);
    min-height: 46px;
    padding: 10px 12px;
    width: 100%;
}

.gx-choice-grid,
.gx-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gx-choice,
.gx-crystal-card,
.gx-report-preview,
.gx-design-notes {
    background: #fffaf2;
    border: 1px solid rgba(61, 44, 34, 0.12);
    padding: 18px;
}

.gx-choice {
    color: var(--gx-coffee);
    cursor: pointer;
    min-height: 108px;
    text-align: left;
}

.gx-choice.is-selected {
    border-color: var(--gx-gold);
    box-shadow: 0 0 0 2px rgba(184, 138, 59, 0.16);
}

.gx-choice strong,
.gx-choice span,
.gx-report-preview span,
.gx-report-preview strong {
    display: block;
}

.gx-choice span,
.gx-crystal-card p,
.gx-design-notes p,
.gx-report-preview p {
    color: var(--gx-muted);
    line-height: 1.7;
}

.gx-crystal-card {
    min-height: 190px;
}

.gx-crystal-card__swatch {
    border-radius: 999px;
    display: block;
    height: 42px;
    margin-bottom: 16px;
    width: 42px;
}

.gx-crystal-card__swatch--blue {
    background: #9fbfd0;
}

.gx-crystal-card__swatch--gold {
    background: #d6b263;
}

.gx-crystal-card__swatch--rose {
    background: #d8aaa5;
}

.gx-crystal-card h3,
.gx-design-notes h3 {
    color: var(--gx-coffee);
    font-size: 19px;
    margin: 0 0 8px;
}

.gx-design-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
}

.gx-bracelet-large {
    background: var(--gx-bluegray);
    min-height: 230px;
    padding: 28px;
}

.gx-report-preview {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gx-report-preview p {
    grid-column: 1 / -1;
    margin: 0;
}

.gx-report-preview strong {
    color: var(--gx-coffee);
    font-size: 30px;
    margin-top: 6px;
}

.gx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

.gx-button {
    background: #fffaf2;
    border: 1px solid rgba(61, 44, 34, 0.2);
    color: var(--gx-coffee);
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    min-height: 44px;
    padding: 10px 18px;
}

.gx-button--primary {
    background: var(--gx-gold);
    border-color: var(--gx-gold);
    color: #fffaf2;
}

@media (max-width: 820px) {
    .gx-customizer {
        padding: 20px;
    }

    .gx-hero,
    .gx-form-grid,
    .gx-design-layout,
    .gx-report-preview {
        grid-template-columns: 1fr;
    }

    .gx-choice-grid,
    .gx-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gx-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .gx-choice-grid,
    .gx-card-grid {
        grid-template-columns: 1fr;
    }

    .gx-actions {
        justify-content: stretch;
    }

    .gx-button {
        width: 100%;
    }
}
