/* ==========================================================
   WEB CONFIGURATOR V0.5
   ========================================================== */

.hero {
    padding-bottom: 24px;
}

.smartControls {
    position: relative;
    z-index: 3;
    margin-top: 26px;
    margin-bottom: 12px;
    border: 1px solid var(--line);
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.032),
            rgba(255,255,255,.01)
        ),
        rgba(7,9,12,.58);
    border-radius: 20px;
    padding: 16px;
}

.controlGrid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0,1fr));
    gap: 15px;
}

.controlGroup {
    min-width: 0;
}

.controlLabel {
    margin-bottom: 7px;
    color: #768191;
    text-transform: uppercase;
    letter-spacing: .085em;
    font-size: 9px;
    font-weight: 850;
}

.controlOptions {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.controlOption {
    border: 1px solid var(--line);
    background: rgba(255,255,255,.018);
    color: #8c96a5;
    border-radius: 9px;
    padding: 7px 9px;
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
    transition:
        background .14s ease,
        border-color .14s ease,
        color .14s ease,
        transform .14s ease;
}

.controlOption:hover {
    color: var(--text);
    transform: translateY(-1px);
}

.controlOption.active {
    color: var(--cyan2);
    border-color:
        rgba(40,199,250,.34);
    background:
        rgba(40,199,250,.075);
}

.customBudget {
    width: 105px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.018);
    color: var(--text);
    outline: none;
    border-radius: 9px;
    padding: 7px 9px;
    font-size: 11px;
}

.customBudget:focus {
    border-color:
        rgba(40,199,250,.4);
}

.freePromptLabel {
    margin:
        17px 2px
        6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #768191;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 9px;
    font-weight: 850;
}

.freePromptLabel span:last-child {
    color: #505966;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
}

.promptBox {
    border-radius: 17px;
}

textarea {
    min-height: 74px;
    font-size: 14px;
}

.examples {
    display: none;
}

/* ----------------------------------------------------------
   VARIANTS
   ---------------------------------------------------------- */

.variants {
    gap: 12px;
}

.variant {
    position: relative;
    overflow: hidden;
    padding: 19px;
    min-height: 118px;
}

.variant.active::after {
    content: "";
    position: absolute;
    right: -20px;
    top: -32px;
    width: 95px;
    height: 95px;
    border-radius: 50%;
    background:
        rgba(40,199,250,.08);
    filter: blur(2px);
}

.variantLabel {
    font-size: 11px;
    font-weight: 760;
}

.variantPrice {
    margin-top: 4px;
    font-size: 25px;
}

.variantMeta {
    font-size: 10px;
}

/* ----------------------------------------------------------
   BUDGET
   ---------------------------------------------------------- */

.budgetCard {
    padding: 20px;
    background:
        linear-gradient(
            145deg,
            rgba(40,199,250,.035),
            transparent
        ),
        var(--surface);
}

.budgetTop strong {
    font-size: 19px;
}

.bar {
    height: 9px;
}

/* ----------------------------------------------------------
   COMPONENT CARDS V0.5
   ---------------------------------------------------------- */

.component {
    min-height: 215px;
    padding: 18px;
}

.componentName {
    min-height: 0;
    font-size: 14px;
    padding-right: 3px;
}

.componentSpecs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
    padding-bottom: 53px;
}

.componentSpec {
    border: 1px solid rgba(255,255,255,.055);
    background: rgba(255,255,255,.018);
    border-radius: 8px;
    padding: 6px 7px;
    line-height: 1.05;
}

.componentSpecLabel {
    display: block;
    color: #65707f;
    font-size: 8px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: .06em;
    margin-bottom: 3px;
}

.componentSpecValue {
    color: #b9c2ce;
    font-size: 10px;
    font-weight: 700;
}

.componentBottom {
    bottom: 16px;
}

.componentPrice {
    font-size: 17px;
}

.supplier {
    max-width: 280px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ----------------------------------------------------------
   GENERAL
   ---------------------------------------------------------- */

.sectionTitle h2 {
    font-size: 25px;
}

.sectionTitle p {
    max-width: 390px;
    text-align: right;
}

.requestSummary {
    margin-top: 22px;
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media(max-width: 900px) {

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


@media(max-width: 620px) {

    .smartControls {
        padding: 13px;
        border-radius: 17px;
    }

    .controlGrid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .controlOptions {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .controlOptions::-webkit-scrollbar {
        display: none;
    }

    .controlOption {
        white-space: nowrap;
        flex: none;
    }

    .customBudget {
        flex: none;
    }

    .component {
        min-height: 205px;
    }

    .sectionTitle p {
        text-align: left;
    }

    .variant {
        min-height: 105px;
    }

    h1 {
        font-size: 38px;
    }

    .sub {
        font-size: 13px;
    }
}
