/* ========================================
   CATÁLOGO PRISCILLA
======================================== */

.catalogo_inicio {
    width: 100%;
    margin: 0 auto;
}

/* ENCABEZADO */

.catalogo_encabezado {
    margin-top: 50px;
    margin-bottom: 37px;
}

.catalogo_encabezado h2 {
    margin: 0 0 13px;
    color: #211b16;
    font-family: var(--font_primary, 'Manrope', sans-serif);
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -1px;
}

.catalogo_linea_dorada {
    display: block;
    width: 57px;
    height: 5px;
    margin-bottom: 17px;
    border-radius: 10px;
    background: linear-gradient(115deg,
            #ff9900 25%,
            #eca006 48%,
            #f1c254 100%);
}

.catalogo_encabezado p {
    margin: 0;
    color: #77716c;
    font-family: var(--font_primary, 'Manrope', sans-serif);
    font-size: 14px;
    font-weight: 400;
}

/* CUADRÍCULA */

.catalogo_productos {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
}

/* TARJETA */

.tarjeta_producto {
    min-width: 0;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    background: #ffffff;
    border: 1px solid #eee5da;
    border-radius: 17px;

    box-shadow: 0 5px 13px rgba(65, 44, 20, 0.035);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.tarjeta_producto:hover {
    transform: translateY(-4px);
    border-color: #e6d1a9;
    box-shadow: 0 12px 25px rgba(65, 44, 20, 0.10);
}

/* ========================================
   IMAGEN DEL PRODUCTO
======================================== */

.tarjeta_producto_imagen {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f7f3ed;
}

.tarjeta_producto_imagen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.4s ease;
}

.tarjeta_producto:hover .tarjeta_producto_imagen img {
    transform: scale(1.035);
}

/* ETIQUETA DE CATEGORÍA */

.producto_categoria_etiqueta {
    position: absolute;
    top: 14px;
    left: 17px;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 10px 15px;

    background: rgba(28, 23, 18, 0.88);
    border: 1px solid rgba(241, 194, 84, 0.30);
    border-radius: 30px;

    color: #ffffff;

    font-family: var(--font_primary, 'Manrope', sans-serif);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.producto_categoria_etiqueta i {
    font-size: 16px;

    background: linear-gradient(115deg,
            #ff9900 25%,
            #eca006 48%,
            #f1c254 100%);

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ========================================
   INFORMACIÓN DEL PRODUCTO
======================================== */

.tarjeta_producto_informacion {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 17px 16px 15px;
}

.tarjeta_producto_informacion h3 {
    margin: 0 0 11px;
    text-transform: uppercase;
    color: #211b16;
    font-family: var(--font_primary, 'Manrope', sans-serif);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: -0.35px;
}

/* PRECIO */

.tarjeta_producto_informacion .producto_precio {
    display: block;
    width: fit-content;
    margin-bottom: 26px;

    color: #98620c;
    font-family: var(--font_primary, 'Manrope', sans-serif);
    font-size: 25px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.6px;
}

/* ========================================
   BOTONES
======================================== */

.producto_acciones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;

    margin-top: auto;
}

.producto_acciones a,
.producto_acciones button {
    min-width: 0;
    min-height: 46px;
    padding: 0 10px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border-radius: 12px;

    font-family: var(--font_primary, 'Manrope', sans-serif);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;

    cursor: pointer;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.producto_acciones i {
    font-size: 17px;
}

/* WHATSAPP */

.btn_producto_whatsapp {
    background: #078c43;
    border: 1px solid #078c43;
    color: #ffffff;
}

.btn_producto_whatsapp:hover {
    background: #06783a;
    border-color: #06783a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(7, 140, 67, 0.18);
}

/* VER PRODUCTO */

.btn_ver_producto {
    background: linear-gradient(115deg,
            #ff9900 25%,
            #eca006 48%,
            #f1c254 100%);

    border: 1px solid transparent;
    color: #ffffff;
}

.btn_ver_producto:hover {
    background: linear-gradient(115deg,
            #e88900 25%,
            #d99000 48%,
            #e4b33f 100%);

    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 143, 20, 0.22);
}

/* ========================================
   SIN PRODUCTOS
======================================== */

.catalogo_sin_productos {
    grid-column: 1 / -1;
    padding: 35px 15px;

    color: #77716c;
    text-align: center;
    font-family: var(--font_primary, 'Manrope', sans-serif);
}

/* ========================================
   PAGINACIÓN
======================================== */

.catalogo_paginacion {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.catalogo_paginacion nav {
    display: flex;
    justify-content: center;
}

.catalogo_paginacion nav>div:first-child {
    display: none;
}

.catalogo_paginacion nav>div:last-child {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
}

.catalogo_paginacion a,
.catalogo_paginacion span[aria-current="page"] span,
.catalogo_paginacion span[aria-disabled="true"] span {
    min-width: 43px;
    height: 43px;
    padding: 0 13px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #e9e1d6;
    border-radius: 11px;

    background: #ffffff;
    color: #302820;

    font-family: var(--font_primary, 'Manrope', sans-serif);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.catalogo_paginacion span[aria-current="page"] span {
    background: linear-gradient(115deg,
            #ff9900 25%,
            #eca006 48%,
            #f1c254 100%);

    border-color: transparent;
    color: #ffffff;
}

.catalogo_paginacion a:hover {
    border-color: #d9b66e;
    background: #fff9ec;
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 1024px) {

    .catalogo_productos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .catalogo_inicio {
        padding-right: 25px;
        padding-left: 25px;
    }

}

/* ========================================
   MÓVIL
======================================== */

@media (max-width: 700px) {

    .catalogo_inicio {
        padding: 20px 15px 45px;
        scroll-margin-top: 160px;
    }

    .catalogo_encabezado {
        margin-top: 0px;
        margin-bottom: 15px;
    }

    .catalogo_encabezado h2 {
        font-size: 21px;
    }

    .catalogo_encabezado p {
        font-size: 12px;
    }

    .catalogo_productos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .tarjeta_producto {
        border-radius: 11px;
    }

    .producto_categoria_etiqueta {
        top: 9px;
        left: 9px;
        gap: 6px;
        padding: 7px 9px;
        font-size: 8px;
    }

    .producto_categoria_etiqueta i {
        font-size: 12px;
    }

    .tarjeta_producto_informacion {
        padding: 12px 10px;
    }

    .tarjeta_producto_informacion h3 {
        min-height: 35px;
        margin-bottom: 8px;
        font-size: 12px;
        line-height: 1.4;
    }

    .tarjeta_producto_informacion .producto_precio {
        font-size: 17px;
        margin-bottom: 15px;
    }

    .producto_acciones {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }


    .producto_acciones a,
    .producto_acciones button {
        font-size: 0;
        gap: 0;
    }

    .producto_acciones i {
        font-size: 18px;
    }

    .catalogo_paginacion {
        margin-top: 32px;
    }

}

/* ========================================
   MÓVILES PEQUEÑOS
======================================== */

@media (max-width: 360px) {

    .catalogo_productos {
        gap: 9px;
    }

    .tarjeta_producto_informacion {
        padding: 10px 8px;
    }

    .tarjeta_producto_informacion h3 {
        font-size: 11px;
    }

    .tarjeta_producto_informacion .producto_precio {
        font-size: 15px;
    }

}