/* =========================================
   COLECCIONES
========================================= */

.colecciones-page {
    background: #ffffff;
    overflow-x: hidden;
}

/* HERO */

.colecciones-banner {
    width: 92%;
    height: 430px;
    margin: 170px auto 0;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    margin-bottom: 90px !important;
}

.colecciones-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.72);
}

.colecciones-banner-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.colecciones-banner-text h1 {
    color: #fefcf6;
    font-family: "DinPro", sans-serif;
    font-size: 35px;
    line-height: 1.18;
    font-weight: 300;
}

.colecciones-banner-text strong {
    font-weight: 700;
}

/* BUSCADOR */

/* BUSCADOR */
.colecciones-buscador {
    background: #fefcf6;
    width: 100%;
    margin: 95px auto 0;
    padding: 85px 0 95px;
    text-align: center;
    font-family: "Gotham", sans-serif;
}

.buscador-title {
    margin-bottom: 70px;
}

.buscador-title h2 {
    font-family: "DinPro", sans-serif;
    font-size: 30px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #705039;
    margin-bottom: 14px;
}

.buscador-title p {
    font-size: 25px;
    font-weight: 300;
    color: #ac8b72;
    margin: 0;
}

/* =========================================
   GRID CENTRADO
========================================= */

.buscador-grid {
    width: min(1450px, 88%);

    margin: 0 auto;

    padding-top: 34px;

    border-top: 1px solid #ac8b72;

    display: grid;

    /* MÁS ESPACIO A DISEÑO Y FORMATO */
    grid-template-columns: 1.1fr 0.9fr 1.35fr 1.9fr;

    column-gap: 70px;

    align-items: start;

    text-align: left;
}

/* =========================================
   CAMPOS
========================================= */

.buscador-campo {
    min-width: 0;
}

/* =========================================
   LABELS
========================================= */

.buscador-campo label {
    display: block;

    font-family: "Gotham", sans-serif;

    font-size: 18px;

    font-weight: 400;

    color: #4b4036;

    margin-bottom: 34px;
}

/* =========================================
   SELECTS
========================================= */

.buscador-campo select {
    width: 100%;

    min-width: 0;

    height: 38px;

    border: 0;

    border-bottom: 1px solid #705039;

    background-color: transparent !important;

    color: #705039;

    font-family: "Gotham", sans-serif;

    font-size: 15px;

    font-weight: 300;

    padding: 0 34px 8px 0 !important;

    outline: none;

    cursor: pointer;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    /* FLECHA */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%23705039' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;

    background-repeat: no-repeat !important;

    background-position: right 4px center !important;

    background-size: 14px !important;
}

/* =========================================
   FORMATO
========================================= */

.buscador-campo:nth-child(4) select {
    font-size: 13px;
}

/* BOTONES */
.buscador-actions {
    margin-top: 82px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
}

.btn-buscar {
    width: 170px;
    height: 48px;
    background: #705039;
    color: #fefcf6;
    border-radius: 4px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-family: "Gotham", sans-serif;
    font-size: 27px;
    font-weight: 300;
    text-decoration: none;
}

.btn-buscar:hover {
    background: #fefcf6 !important;

    color: #705039 !important;

    border-color: #705039 !important;

    transform: translateY(-2px);

    transition: all 0.3s ease;
}

.btn-asistencia {
    min-width: 690px;
    height: 58px;
    padding: 0 28px;

    border: 1px solid #705039;
    color: #705039;
    background: transparent;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-family: "Gotham", sans-serif;
    font-size: 20px;
    font-weight: 300;
    text-decoration: none;
}

/* TABS */

.colecciones-tabs {
    width: 68%;
    max-width: 1180px;
    margin: 70px auto 120px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 42px;
}

.colecciones-tabs a,
.colecciones-tabs a:visited,
.colecciones-tabs a:hover {
    color: #705039;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.colecciones-tabs span {
    width: 190px;
    height: 42px;

    border: 1px solid #b6a296;

    color: #705039;

    font-family: "DinPro", sans-serif;
    font-size: 28px;
    font-weight: 600;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    transition: all 0.3s ease;
    border-radius: 4px;
}
.colecciones-tabs span:hover {
    background: #705039 !important;

    color: #fefcf6 !important;

    border-color: #705039 !important;

    transform: translateY(-2px);

    transition: all 0.3s ease;
}

.colecciones-tabs img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
}

/* =========================================
   BLOQUES DE COLECCIONES
========================================= */

/* CONTENEDOR */

.coleccion-bloque {
    width: 88%;
    max-width: 1380px;
    margin: 0 auto;
}

.coleccion-info {
    display: grid;

    grid-template-columns:
        51%
        49%;

    gap: 40px;

    align-items: start;
}

/* COLUMNA IZQUIERDA */

.coleccion-left {
    max-width: 760px;
}

/* TITULO */

.coleccion-left h2 {
    font-family: "DinProRegular", sans-serif;
    font-size: 56px;
    font-weight: 200;
    line-height: 1;
    font-size: 32px;
    color: #ac8b72;
    margin-bottom: 60px;
    font-weight: 200;
}

.coleccion-left h2 strong {
    color: #4b4036;
    font-weight: 500;
}

/* DESCRIPCIÓN */

.coleccion-desc {
    width: 100%;
    max-width: 920px;

    font-family: "Gotham", sans-serif;
    font-size: 18px;
    line-height: 1.28;
    font-weight: 200;

    color: #ac8b72;

    text-align: end;

    margin: 0 auto 38px;
}

/* IMAGEN PRINCIPAL */

.coleccion-main-img {
    width: 100%;
    height: 723px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
    display: block;
}

/* META */

.coleccion-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 30px;
}

.coleccion-meta p {
    font-family: "Gotham", sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #705039;
}

/* COLUMNA DERECHA */

.coleccion-right {
    width: 100%;
    padding-top: 10px;
    padding-left: 12px;
}

/* TITULO COLORES */

.coleccion-right h3 {
    font-family: "Gotham", sans-serif;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.3px;

    color: #4b4036;

    margin-bottom: 66px;
}

/* GRID COLORES */

/* GRID COLORES */
.colores-grid {
    display: grid;
    grid-template-columns: repeat(4, 95px);
     justify-content: start; /* antes estaba center */
    gap: 42px 35px;
}

/* ITEM COLOR */

.color-item {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-decoration: none;
}

/* IMAGEN */

.color-item img {
    width: 95px;
    height: 249.3px;

    object-fit: cover;

    transition: all 0.28s ease;
}

/* HOVER */

.color-item:hover img {
    transform: translateY(-8px);
}

/* TEXTO */

.color-item span {
    margin-top: 10px;

    font-family: "Gotham", sans-serif;
    font-size: 14px;
    font-weight: 200;
    letter-spacing: 1px;

    color: #4b4036;

    opacity: 0;
    transform: translateY(-6px);

    transition: all 0.28s ease;
    text-align: center;
}

.color-item:hover span {
    opacity: 1;
    transform: translateY(0);
}

/* FORMATOS */

.formatos-section {
    width: 100%;

    margin-top: 90px;

    padding-bottom: 90px;
}

.formatos-section h3 {
    font-family: "Gotham", sans-serif;
    font-size: 22px;
    font-weight: 300;

    color: #4B4036;

    margin-bottom: 55px;
}

/* GRID FORMATOS */

.formatos-grid {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 75px;
}

/* CARD */

.formato-card {
    display: grid;

    grid-template-columns: 170px 1fr;

    gap: 34px;

    align-items: center;
}

/* IMAGEN FORMATO */

.formato-card img {
    width: 200px;
    height: 200px;

    object-fit: contain;
}

/* TITULO */

.formato-card h4 {
    font-family: "Gotham", sans-serif;
    font-size: 16px;
    font-weight: 200;

    color: #705039;

    margin-top: 10px;
    margin-bottom: 12px;
    margin-left: 14px;
}

/* TEXTO */

.formato-card p {
    font-family: "Gotham", sans-serif;
    font-size: 13.6px;
    line-height: 1.3;

    color: #ac8b72;
    margin-left: 14px;
    font-weight: 200;
    padding-top: 10px;
}

/* WALNUTS */

.walnuts-formatos {
    grid-template-columns: repeat(2, 1fr);
}

/* =========================
   COLECCIONES FULL RESPONSIVE
========================= */

/* LAPTOP */
@media (max-width: 1400px) {
    .buscador-grid {
        column-gap: 55px !important;
    }

    .coleccion-info {
        grid-template-columns: 55% 45% !important;
        gap: 45px !important;
    }

    .coleccion-main-img {
        height: 600px !important;
    }

    .colores-grid {
        grid-template-columns: repeat(4, 82px) !important;
        gap: 34px 24px !important;
    }

    .color-item img {
        width: 82px !important;
        height: 220px !important;
    }

    .formatos-grid {
        gap: 40px !important;
    }
}

/* TABLET */
@media (max-width: 991px) {
    .colecciones-banner {
        width: 92% !important;
        height: 330px !important;
        margin-top: 120px !important;
        margin-bottom: 60px !important;
    }

    .colecciones-banner-text h1 {
        font-size: 25px !important;
        padding: 0 20px !important;
    }

    .colecciones-buscador {
        margin-top: 60px !important;
        padding: 65px 0 !important;
    }

    .buscador-title {
        margin-bottom: 45px !important;
    }

    .buscador-title h2 {
        font-size: 26px !important;
    }

    .buscador-title p {
        font-size: 18px !important;
    }

    .buscador-grid {
        width: 86% !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 36px 32px !important;
        border-top: 1px solid #ac8b72 !important;
        padding-top: 34px !important;
    }

    .buscador-campo {
        text-align: left !important;
    }

    .buscador-campo label {
        font-size: 17px !important;
        margin-bottom: 16px !important;
    }

    .buscador-campo select {
        font-size: 17px !important;
    }

    .buscador-actions {
        margin-top: 55px !important;
        gap: 34px !important;
    }

    .btn-asistencia {
        min-width: 0 !important;
        width: 86% !important;
        max-width: 620px !important;
    }

    .colecciones-tabs {
        width: 86% !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 22px !important;
        margin: 55px auto 80px !important;
    }

    .colecciones-tabs span {
        width: 150px !important;
        font-size: 18px !important;
    }

    .colecciones-tabs img {
        width: 100% !important;
        height: 220px !important;
    }

    .coleccion-bloque {
        width: 88% !important;
        padding-top: 65px !important;
        padding-bottom: 65px !important;
    }

    .coleccion-info {
        grid-template-columns: 1fr !important;
        gap: 55px !important;
    }

    .coleccion-left h2 {
        font-size: 32px !important;
        text-align: center !important;
        margin-bottom: 32px !important;
    }

    .coleccion-desc {
        max-width: 100% !important;
        font-size: 16px !important;
        text-align: center !important;
    }

    .coleccion-main-img {
        height: 420px !important;
    }

    .coleccion-right h3 {
        text-align: center !important;
        margin-bottom: 38px !important;
    }

    .colores-grid {
        grid-template-columns: repeat(4, 82px) !important;
        justify-content: center !important;
        gap: 32px 24px !important;
    }

    .color-item img {
        width: 82px !important;
        height: 215px !important;
    }

    .color-item span {
        opacity: 1 !important;
        transform: none !important;
        font-size: 12px !important;
    }

    .formatos-section {
        margin-top: 65px !important;
        padding-bottom: 60px !important;
    }

    .formatos-grid,
    .walnuts-formatos {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 38px !important;
    }

    .formato-card {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 18px !important;
    }

    .formato-card img {
        width: 160px !important;
        height: 160px !important;
        margin: 0 auto !important;
    }

    .formato-card h4,
    .formato-card p {
        margin-left: 0 !important;
    }
}

/* MOBILE */
@media (max-width: 575px) {
    .colecciones-banner {
        width: 90% !important;
        height: 270px !important;
        margin-top: 105px !important;
        margin-bottom: 45px !important;
        border-radius: 12px !important;
    }

    .colecciones-banner-text h1 {
        font-size: 20px !important;
        line-height: 1.25 !important;
    }

    .colecciones-buscador {
        margin-top: 42px !important;
        padding: 50px 0 60px !important;
    }

    .buscador-title {
        margin-bottom: 35px !important;
    }

    .buscador-title h2 {
        font-size: 23px !important;
    }

    .buscador-title p {
        font-size: 16px !important;
        line-height: 1.35 !important;
    }

    .buscador-grid {
        width: 86% !important;

        grid-template-columns: 1fr !important;

        gap: 28px !important;

        border-top: none !important;

        padding-top: 0 !important;
    }

    .buscador-campo {
        text-align: center !important;

        width: 100% !important;

        max-width: 340px !important;

        margin: 0 auto !important;
    }

    .buscador-campo label {
        font-size: 16px !important;

        margin-bottom: 12px !important;

        text-align: center !important;
    }

    .buscador-campo select {
        width: 100% !important;

        height: 42px !important;

        font-size: 14px !important;

        text-align: center !important;

        text-align-last: center !important;

        padding: 0 28px 8px 12px !important;

        background-position: right 2px center !important;

        background-size: 15px !important;

        white-space: nowrap !important;

        overflow: hidden !important;

        text-overflow: ellipsis !important;
    }

    /* FORMATO */
    .buscador-campo:nth-child(4) select {
        font-size: 11.5px !important;
    }

    .buscador-actions {
        margin-top: 42px !important;
        gap: 26px !important;
    }

    .btn-buscar {
        width: 145px !important;
        height: 44px !important;
        font-size: 22px !important;
    }

    .btn-asistencia {
        width: 86% !important;
        min-width: 0 !important;
        height: auto !important;
        padding: 14px 18px !important;
        font-size: 14px !important;
        line-height: 1.35 !important;
        text-align: center !important;
    }

    .colecciones-tabs {
        width: 82% !important;
        grid-template-columns: 1fr !important;
        gap: 34px !important;
        margin: 48px auto 65px !important;
    }

    .colecciones-tabs span {
        width: 165px !important;
        height: 40px !important;
        font-size: 18px !important;
        margin-bottom: 16px !important;
    }

    .colecciones-tabs img {
        width: 100% !important;
        height: 240px !important;
    }

    .coleccion-bloque {
        width: 88% !important;
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }

    .coleccion-left h2 {
        font-size: 27px !important;
        margin-bottom: 24px !important;
    }

    .coleccion-desc {
        font-size: 15px !important;
        line-height: 1.45 !important;
        text-align: center !important;
        margin-bottom: 28px !important;
    }

    .coleccion-main-img {
        height: 330px !important;
        border-radius: 5px !important;
    }

    .coleccion-meta {
        flex-direction: column !important;
        gap: 8px !important;
        margin-top: 22px !important;
        text-align: center !important;
    }

    .coleccion-meta p {
        font-size: 15px !important;
        margin: 0 !important;
    }

    .coleccion-right h3,
    .formatos-section h3 {
        font-size: 21px !important;
        text-align: center !important;
        margin-bottom: 32px !important;
    }

    .colores-grid {
        grid-template-columns: repeat(2, 95px) !important;
        justify-content: center !important;
        gap: 30px 28px !important;
    }

    .color-item img {
        width: 95px !important;
        height: 230px !important;
    }

    .color-item span {
        opacity: 1 !important;
        transform: none !important;
        font-size: 10.5px !important;
        margin-top: 8px !important;
        text-align: center;
    }

    .formatos-section {
        margin-top: 55px !important;
        padding-bottom: 45px !important;
    }

    .formatos-grid,
    .walnuts-formatos,
    .formato-simple {
        grid-template-columns: 1fr !important;
        gap: 34px !important;
    }

    .formato-card {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 14px !important;
    }

    .formato-card img {
        width: 145px !important;
        height: 145px !important;
        margin: 0 auto !important;
    }

    .formato-card h4 {
        font-size: 18px !important;
        margin-left: 0 !important;
    }

    .formato-card p {
        font-size: 14px !important;
        line-height: 1.45 !important;
        margin-left: 0 !important;
    }
}

/* MOBILE MUY PEQUEÑO */
@media (max-width: 380px) {
    .colecciones-banner {
        height: 230px !important;
        margin-top: 95px !important;
    }

    .colecciones-banner-text h1 {
        font-size: 18px !important;
    }

    .colecciones-tabs img {
        height: 210px !important;
    }

    .coleccion-main-img {
        height: 285px !important;
    }

    .colores-grid {
        grid-template-columns: repeat(2, 82px) !important;
        gap: 28px 22px !important;
    }

    .color-item img {
        width: 82px !important;
        height: 210px !important;
    }

    .color-item span {
        opacity: 1 !important;
        transform: none !important;
        font-size: 10px !important;
        margin-top: 8px !important;
        text-align: center;
    }
}
/* =========================================
   FIX GLOBAL NAVEGADORES
========================================= */

html {
    -webkit-text-size-adjust: 100%;
}

/* RENDER TIPOGRAFIA */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
button,
label,
select,
option {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;

    text-rendering: geometricPrecision !important;

    font-kerning: normal !important;

    font-feature-settings: "kern" 1 !important;
}

/* EVITA BUGS SAFARI FLEX/GRID */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* IMAGENES UNIFORMES */
img {
    display: block;
    max-width: 100%;
}

/* FIX BOTONES */
button,
a,
select {
    -webkit-appearance: none;
    appearance: none;
}

/* FIX GRID SAFARI */
.colores-grid,
.colecciones-tabs,
.buscador-grid,
.formatos-grid {
    min-width: 0 !important;
}

.buscador-campo select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;

    background-color: transparent !important;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23705039' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

    background-repeat: no-repeat !important;

    background-position: right 4px center !important;

    background-size: 16px !important;

    padding-right: 28px !important;

    cursor: pointer !important;
}

/* OCULTAR FLECHA EDGE */
.buscador-campo select::-ms-expand {
    display: none;
}

/* FIX HOVER IMAGENES */
.color-item img,
.formato-card img,
.colecciones-tabs img,
.coleccion-main-img {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* FIX SAFARI OVERFLOW */
.colecciones-page,
.coleccion-bloque,
.coleccion-info,
.coleccion-left,
.coleccion-right {
    overflow-x: hidden !important;
}

