/* ─── Configurator: Split Layout ─── */

.configurator {
    background: #fbfbfd;
    color: #1d1d1f;
    padding-top: 80px;
    font-family: 'Archivo', -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

/* ─── Split ─── */
.config-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .config-split {
        grid-template-columns: 1fr;
    }
}

/* ─── Left: Sticky Image ─── */
.config-split__left {
    position: relative;
}

@media (max-width: 900px) {
    .config-split__left { display: none; }
}

.config-sticky {
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.config-sticky__eyebrow {
    font-family: 'Black Mamba Venom', sans-serif;
    font-size: 24px;
    color: #FF4305;
    margin: 0 0 4px;
    text-transform: lowercase;
}

.config-sticky__title {
    font-family: 'Univers LT', sans-serif;
    font-size: 56px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin: 0 0 40px;
    color: #1d1d1f;
}

.config-sticky__title span {
    color: #2404F2;
}

.config-sticky__image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 400px;
    width: 100%;
}

.config-sticky__image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.config-sticky__price {
    margin-top: 32px;
}

.config-sticky__price-label {
    display: block;
    font-size: 13px;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
    margin-bottom: 4px;
}

.config-sticky__price-value {
    font-size: 36px;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.5px;
}

/* ─── Right: Steps ─── */
.config-split__right {
    padding: 0 48px 120px;
    border-left: 1px solid #e8e8ed;
}

@media (max-width: 900px) {
    .config-split__right {
        padding: 0 20px 80px;
        border-left: none;
    }
}

/* ─── Steps ─── */
.config-step {
    padding: 80px 0;
    border-bottom: 1px solid #e8e8ed;
}

.config-step:last-child { border-bottom: none; }

.config-step__number {
    font-size: 13px;
    font-weight: 700;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.config-step__heading {
    font-family: 'Univers LT', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #1d1d1f;
    text-transform: none;
}

.config-step__sub {
    font-size: 17px;
    color: #86868b;
    margin: 0 0 40px;
}

.config-step__note {
    font-size: 14px;
    color: #86868b;
    margin-top: 24px;
    line-height: 1.5;
}

.config-step__skip {
    display: inline-block;
    margin-top: 24px;
    color: #2404F2;
    font-size: 15px;
    text-decoration: none;
}

.config-step__skip:hover { text-decoration: underline; }

/* ─── Buyer Options ─── */
.config-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.config-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    border: 2px solid #e8e8ed;
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
}

.config-option:hover { border-color: #d2d2d7; }

.config-option.is-active {
    border-color: #2404F2;
    box-shadow: 0 0 0 1px #2404F2;
}

.config-option__title {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
}

.config-option__desc {
    font-size: 14px;
    color: #86868b;
    margin-top: 2px;
}

/* ─── Product rows ─── */
.config-product {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border: 2px solid #e8e8ed;
    border-radius: 16px;
    background: #fff;
    margin-bottom: 12px;
    transition: all 0.2s ease;
    position: relative;
}

.config-product:hover { border-color: #d2d2d7; }

.config-product.is-selected {
    border-color: #2404F2;
    box-shadow: 0 0 0 1px #2404F2;
}

.config-product__badge {
    position: absolute;
    top: -10px;
    left: 24px;
    background: #FF4305;
    color: #fff;
    padding: 3px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
}

.config-product__info h3 {
    font-family: 'Univers LT', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #1d1d1f;
}

.config-product__info h3 span { color: #2404F2; }

.config-product__info p {
    font-size: 14px;
    color: #86868b;
    margin: 0;
}

.config-product__price {
    font-size: 21px;
    font-weight: 700;
    color: #1d1d1f;
    margin-top: 8px !important;
}

/* ─── Select indicator (individual mode) ─── */
.config-select-indicator {
    flex-shrink: 0;
}

.config-select-circle {
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #d2d2d7;
    transition: all 0.2s ease;
}

.config-product.is-selected .config-select-circle {
    border-color: #2404F2;
    background: #2404F2;
    box-shadow: inset 0 0 0 3px #fff;
}

/* Individual / Team mode visibility */
.config-product { cursor: pointer; }

/* ─── Quantity ─── */
.config-qty {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #d2d2d7;
    border-radius: 100px;
    overflow: hidden;
    background: #fbfbfd;
    flex-shrink: 0;
}

.config-qty--sm { transform: scale(0.9); }

.config-qty__btn {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
    color: #1d1d1f;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
    user-select: none;
}

.config-qty__btn:hover { background: #e8e8ed; }

.config-qty__value {
    width: 40px;
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    border-left: 1.5px solid #d2d2d7;
    border-right: 1.5px solid #d2d2d7;
    line-height: 44px;
}

/* ─── Straps ─── */
.config-strap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border: 1.5px solid #e8e8ed;
    border-radius: 14px;
    background: #fff;
    margin-bottom: 10px;
}

.config-strap__label {
    display: flex;
    align-items: center;
    gap: 14px;
}

.config-strap__size {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1d1d1f;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.config-strap__range {
    font-size: 15px;
    color: #86868b;
}

/* ─── Trial note ─── */
.config-trial-note {
    padding: 16px 20px;
    background: #2404F2;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 32px;
    text-align: center;
}

/* ─── Period toggle ─── */
.config-toggle {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
}

.config-toggle__btn {
    padding: 10px 24px;
    border: none;
    background: #e8e8ed;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: #1d1d1f;
    transition: all 0.2s ease;
}

.config-toggle__btn:first-child { border-radius: 100px 0 0 100px; }
.config-toggle__btn:last-child { border-radius: 0 100px 100px 0; }
.config-toggle__btn.is-active { background: #1d1d1f; color: #fff; }

/* ─── Membership options ─── */
.config-memberships {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.config-membership-option {
    display: block;
    width: 100%;
    padding: 24px;
    border: 2px solid #e8e8ed;
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    position: relative;
}

.config-membership-option:hover { border-color: #d2d2d7; }

.config-membership-option.is-selected {
    border-color: #2404F2;
    box-shadow: 0 0 0 1px #2404F2;
}

.config-membership-option__badge {
    position: absolute;
    top: -10px;
    left: 24px;
    background: #2404F2;
    color: #fff;
    padding: 3px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
}

.config-membership-option__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 12px;
}

.config-membership-option h3 {
    font-family: 'Univers LT', sans-serif;
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    color: #1d1d1f;
}

.config-membership-option__price {
    font-size: 28px;
    font-weight: 700;
    color: #1d1d1f;
}

.config-membership-option__price small {
    font-size: 15px;
    font-weight: 400;
    color: #86868b;
}

.config-membership-option ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
}

.config-membership-option ul li {
    font-size: 13px;
    color: #86868b;
    padding-left: 18px;
    position: relative;
}

.config-membership-option ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2404F2;
    font-weight: 700;
}

/* ─── Team ─── */
.config-team-bands {
    margin-bottom: 32px;
}

.config-team-band {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 12px 0;
    border-bottom: 1px solid #e8e8ed;
    font-size: 15px;
    color: #1d1d1f;
}

.config-team-band:first-child {
    font-weight: 600;
    color: #86868b;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.config-team-input {
    text-align: center;
    margin-bottom: 20px;
}

.config-team-input label {
    display: block;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1d1d1f;
    text-transform: none;
}

.config-team-input input {
    width: 100px;
    padding: 12px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    border: 1.5px solid #d2d2d7;
    border-radius: 12px;
    color: #1d1d1f;
    background: #fff;
}

.config-team-input input:focus {
    outline: none;
    border-color: #2404F2;
    box-shadow: 0 0 0 3px rgba(36, 4, 242, 0.12);
}

.config-team-result {
    text-align: center;
    margin-bottom: 24px;
}

.config-team-result__total {
    display: block;
    font-size: 40px;
    font-weight: 700;
    color: #2404F2;
    letter-spacing: -0.5px;
}

.config-team-result__rate {
    font-size: 14px;
    color: #86868b;
}

/* ─── CTAs ─── */
.config-cta {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: #2404F2;
    color: #fff;
    border: none;
    border-radius: 100px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease;
    text-align: center;
}

.config-cta:hover { background: #1a03b0; }

.config-cta--large {
    padding: 20px 32px;
    font-size: 19px;
}

/* ─── Final step ─── */
.config-step--final {
    text-align: center;
    padding: 100px 0;
}

.config-final-check {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #2404F2;
    color: #fff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

/* ─── Loading ─── */
.config-loading {
    position: fixed;
    inset: 0;
    background: rgba(251, 251, 253, 0.92);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.config-loading__spinner {
    width: 32px;
    height: 32px;
    border: 2.5px solid #d2d2d7;
    border-top-color: #1d1d1f;
    border-radius: 50%;
    animation: config-spin 0.6s linear infinite;
    margin-bottom: 12px;
}

.config-loading p { font-size: 17px; color: #86868b; }

@keyframes config-spin { to { transform: rotate(360deg); } }

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .config-step { padding: 60px 0; }
    .config-step__heading { font-size: 28px; }
    .config-product { flex-direction: column; gap: 16px; text-align: center; }
    .config-membership-option__header { flex-direction: column; gap: 4px; }
}
