/*
 * AUTORETOQUES — PAGE-ENCUENTRA-TU-COLOR.CSS OPTIMIZADO
 * Sustituye el contenido actual de:
 * /assets/css/page-encuentra-tu-color.css
 *
 * - Mantiene el diseño y comportamiento actuales.
 * - Usa las variables globales definidas en main.css.
 * - Reduce colores, fondos y radios repetidos.
 * - Conserva todos los selectores y breakpoints.
 */

.at-color-page {
    padding: 42px 0 80px;
    background: var(--at-soft);
}

.at-color-page__wrap {
    width: min(100% - 32px, 1440px);
    margin: 0 auto;
}

.at-color-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 42px;
    border-bottom: 1px solid #dfe3ea;
}

.at-color-steps div {
    position: relative;
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--at-gray-400);
    font-size: 13px;
    font-weight: 700;
}

.at-color-steps div.is-active {
    color: var(--at-navy-900);
}

.at-color-steps div.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 3px;
    background: var(--at-yellow);
}

.at-color-steps span {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--at-line);
    color: #6b7280;
    font-size: 11px;
}

.at-color-steps .is-active span {
    background: var(--at-navy-900);
    color: var(--at-white);
}

.at-color-page__head {
    text-align: center;
    margin-bottom: 26px;
}

.at-color-page__head h1 {
    margin: 0 0 8px;
    color: var(--at-navy-900);
    font-size: clamp(32px, 5vw, 44px);
    letter-spacing: -.04em;
}

.at-color-page__head p {
    margin: 0;
    color: var(--at-muted);
    font-size: 16px;
}

.at-color-search-card {
    padding: 24px;
    border-radius: var(--at-radius);
    background: var(--at-navy-900);
    box-shadow: 0 24px 60px rgba(13,24,42,.18);
}

.at-color-search-card .atcf-finder__header {
    display: none;
}

.at-color-search-card .atcf-finder {
    max-width: none;
}

.at-color-search-card .atcf-finder__form {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.at-color-search-card .atcf-finder__form label {
    gap: 6px;
}

.at-color-search-card .atcf-finder__form span {
    color: rgba(255,255,255,.68);
    font-size: 12px;
}

.at-color-search-card .atcf-finder__form input {
    height: 58px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 10px;
    background: rgba(255,255,255,.03);
    color: var(--at-white);
}

.at-color-search-card .atcf-finder__form input::placeholder {
    color: rgba(255,255,255,.5);
}

.at-color-search-card .atcf-finder__form button {
    grid-column: 1 / -1;
    height: 58px;
    margin-top: 8px;
    background: var(--at-yellow);
    color: var(--at-navy-900);
    border-radius: 10px;
}

.at-color-code-help {
    margin: 16px 0 2px;
    text-align: center;
}

.at-color-code-help a {
    color: var(--at-yellow);
    font-size: 13px;
    font-weight: 600;
}

.at-upload-card,
.at-help-card {
    display: none;
    margin-top: 34px;
    padding: 34px;
    border-radius: var(--at-radius);
    background: var(--at-white);
    text-align: center;
    border: 1px solid #edf0f4;
    box-shadow: 0 18px 50px rgba(13,24,42,.06);
}

.at-upload-card h2,
.at-help-card h2,
.at-popular-colors h2 {
    margin: 0 0 8px;
    color: var(--at-navy-900);
    font-size: 28px;
}

.at-upload-card p,
.at-help-card p,
.at-popular-colors p {
    margin: 0 0 22px;
    color: var(--at-muted);
}

.at-upload-box {
    width: min(100%, 390px);
    min-height: 150px;
    margin: 0 auto;
    border: 2px dashed #d6dbe4;
    border-radius: var(--at-radius-sm);
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    color: var(--at-navy-900);
}

.at-upload-box span {
    font-size: 38px;
}

.at-upload-box strong {
    padding: 10px 22px;
    border-radius: var(--at-radius-sm);
    background: var(--at-navy-900);
    color: var(--at-white);
    text-transform: uppercase;
    font-size: 13px;
}

.at-upload-box small {
    color: var(--at-muted);
}

.at-color-benefit-band {
    margin-top: 34px;
    padding: 30px;
    border-radius: var(--at-radius);
    background: var(--at-navy-900);
    color: var(--at-white);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.at-color-benefit-band div {
    padding: 0 22px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.14);
}

.at-color-benefit-band div:last-child {
    border-right: 0;
}

.at-color-benefit-band span {
    display: block;
    margin-bottom: 12px;
    color: var(--at-yellow);
    font-size: 28px;
}

.at-color-benefit-band strong {
    display: block;
    margin-bottom: 6px;
}

.at-color-benefit-band p {
    margin: 0;
    color: rgba(255,255,255,.62);
    font-size: 13px;
    line-height: 1.5;
}

.at-popular-colors {
    margin-top: 34px;
    text-align: center;
    display: none;
}

.at-popular-colors__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin-top: 22px;
}

.at-popular-colors__grid article {
    text-align: center;
}

.at-popular-colors__grid span {
    width: 82px;
    height: 82px;
    display: block;
    margin: 0 auto 10px;
    border-radius: var(--at-radius-sm);
    box-shadow: inset 0 0 0 1px rgba(13,24,42,.08), 0 12px 26px rgba(13,24,42,.10);
}

.at-popular-colors__grid strong,
.at-popular-colors__grid small {
    display: block;
}

.at-popular-colors__grid strong {
    font-size: 13px;
    color: var(--at-navy-900);
}

.at-popular-colors__grid small {
    color: var(--at-muted);
    margin-top: 3px;
}

.at-help-card div {
    display: flex;
    justify-content: center;
    gap: 34px;
}

.at-help-card a {
    color: var(--at-navy-900);
    font-weight: 600;
}

@media (max-width: 768px) {
    .at-color-steps {
        gap: 8px;
    }

    .at-color-steps div {
        font-size: 10px;
    }

    .at-color-search-card .atcf-finder__form,
    .at-color-benefit-band,
    .at-popular-colors__grid {
        grid-template-columns: 1fr;
    }

    .at-color-benefit-band div {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.14);
        padding: 22px 0;
    }

    .at-color-benefit-band div:last-child {
        border-bottom: 0;
    }

    .at-help-card div {
        flex-direction: column;
        gap: 14px;
    }
}


@media(max-width:768px){
    .page-id-36 .at-color-search-card{
        padding:0px;
    }

    .page-id-36 .atcf-search--full .atcf-tabs{
        border-radius: 20px;
        padding-top: 10px;
    }

    .page-id-36 .atcf-search--full .atcf-panel{
        padding:20px 10px;
    }

    .page-id-36 .atcf-search--full {
        border-radius: 10px 10px 0px 0px;
    }

    .page-id-36 .at-color-code-help{
        padding-bottom:10px;
    }
}


