/* ==================================================
   ESENCIA — TEMA COMPLETO
   MARFIL + ROSA
   ================================================== */

body:has(.category-page.esencia) {

    background: #F5F1E8;
    color: #CFA6A1;

}


/* ==================================================
   TOPBAR
   ================================================== */

body:has(.category-page.esencia) .topbar {

    background: #F5F1E8;

    border-bottom: 2px solid #CFA6A1;

}


/* ICONOS TOPBAR */

body:has(.category-page.esencia) .topbar-item,
body:has(.category-page.esencia) .topbar-item i {

    color: #CFA6A1;

}


/* HOVER TOPBAR */

body:has(.category-page.esencia) .topbar-item:hover {

    background: #CFA6A1;

    color: #F5F1E8;

}


body:has(.category-page.esencia)
.topbar-item:hover i {

    color: #F5F1E8;

}


/* ==================================================
   SIDEBAR
   ================================================== */

body:has(.category-page.esencia) .sidebar {

    background: #F5F1E8;

    border-right: 2px solid #CFA6A1;

}


/* ICONOS SIDEBAR */

body:has(.category-page.esencia) .sidebar i {

    color: #CFA6A1;

}


/* BOTÓN MENU */

body:has(.category-page.esencia)
.sidebar .expander #btn {

    color: #CFA6A1;

}


/* ENLACES */

body:has(.category-page.esencia)
.sidebar li a {

    background: #F5F1E8;

}


body:has(.category-page.esencia)
.sidebar li a .descriptor {

    color: #CFA6A1;

}


/* EFECTO HOVER */

body:has(.category-page.esencia)
.sidebar li a::after {

    background: #CFA6A1;

}


body:has(.category-page.esencia)
.sidebar li a:hover i,

body:has(.category-page.esencia)
.sidebar li a:hover .descriptor {

    color: #F5F1E8;

}


/* INICIO */

body:has(.category-page.esencia)
.sidebar .category {

    background: #CFA6A1;

    color: #F5F1E8;

}


/* ==================================================
   SUBMENÚ
   ================================================== */

body:has(.category-page.esencia)
.sidebar .submenu {

    background: #F5F1E8;

}


body:has(.category-page.esencia)
.sidebar .submenu li a {

    background: #F5F1E8;

}


body:has(.category-page.esencia)
.sidebar .submenu li a i,

body:has(.category-page.esencia)
.sidebar .submenu li a span {

    color: #CFA6A1;

}


/* ==================================================
   CONTENIDO
   ================================================== */

body:has(.category-page.esencia)
.category-page.esencia {

    background: #F5F1E8;

}


/* ENCABEZADO */

body:has(.category-page.esencia)
.category-heading {

    border-bottom: 2px solid #CFA6A1;

}


body:has(.category-page.esencia)
.category-heading h1 {

    color: #CFA6A1;

}


body:has(.category-page.esencia)
.category-heading p {

    color: #CFA6A1;

}


/* ICONO DE ESENCIA */

body:has(.category-page.esencia)
.section-symbol {

    background: #CFA6A1;

    color: #F5F1E8;

}


/* ==================================================
   PRODUCTOS
   ================================================== */

body:has(.category-page.esencia)
.product-card {

    background: #F5F1E8;

    border: 2px solid #CFA6A1;

}


body:has(.category-page.esencia)
.product-info h2 {

    color: #CFA6A1;

}


body:has(.category-page.esencia)
.product-info p {

    color: #CFA6A1;

}


body:has(.category-page.esencia)
.product-price {

    color: #CFA6A1;

}


/* ==================================================
   BOTONES
   ================================================== */

body:has(.category-page.esencia)
.quantity-minus,

body:has(.category-page.esencia)
.quantity-plus {

    background: #F5F1E8;

    border: 2px solid #CFA6A1;

    color: #CFA6A1;

}


body:has(.category-page.esencia)
.quantity-minus:hover,

body:has(.category-page.esencia)
.quantity-plus:hover {

    background: #CFA6A1;

    color: #F5F1E8;

}


/* CONSULTAR */

body:has(.category-page.esencia)
.consult-product {

    background: #F5F1E8;

    border: 2px solid #CFA6A1;

    color: #CFA6A1;

}


body:has(.category-page.esencia)
.consult-product:hover {

    background: #CFA6A1;

    color: #F5F1E8;

}


/* BOLSA */

body:has(.category-page.esencia)
.add-to-bag {

    background: #CFA6A1;

    color: #F5F1E8;

    border: 2px solid #CFA6A1;

}


body:has(.category-page.esencia)
.add-to-bag:hover {

    background: #F5F1E8;

    color: #CFA6A1;

}


/* ==================================================
   DIVISIONES
   ================================================== */

body:has(.category-page.esencia) hr {

    border-color: #CFA6A1;

}


body:has(.category-page.esencia) .division {

    background: #CFA6A1;

}
/* =========================================
   SUBMENÚS — HOVER
   ========================================= */

/* Estado normal */
body:has(.category-page.esencia)
.sidebar .submenu li a {

    background: #F5F1E8;

    color: #CFA6A1;

}


/* Iconos y texto normales */
body:has(.category-page.esencia)
.sidebar .submenu li a i,

body:has(.category-page.esencia)
.sidebar .submenu li a span {

    color: #CFA6A1;

}


/* Efecto rosa al pasar el mouse */
body:has(.category-page.esencia)
.sidebar .submenu li a::after {

    content: "";

    position: absolute;

    width: 100%;
    height: 100%;

    left: 0;
    top: 0;

    background: #CFA6A1;

    transform: scaleX(0);

    transform-origin: left;

    transition: transform .3s ease;

    z-index: -1;

}


/* Activar fondo rosa */
body:has(.category-page.esencia)
.sidebar .submenu li a:hover::after {

    transform: scaleX(1);

}


/* Texto e icono pasan a marfil */
body:has(.category-page.esencia)
.sidebar .submenu li a:hover i,

body:has(.category-page.esencia)
.sidebar .submenu li a:hover span {

    color: #F5F1E8;

}
/* ==================================================
   ESENCIA — BANNER PEQUEÑO
   ================================================== */

.category-page.esencia .category-banner {

    width: 100%;
    max-width: 1100px;

    height: 190px;

    margin: 0 auto 30px;

    border-radius: 14px;

    overflow: hidden;

    border: 2px solid #CFA6A1;

}

.category-page.esencia .category-banner img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

}


/* ==================================================
   PRODUCTOS — CONTENEDOR
   ================================================== */

.category-page.esencia .products-grid {

    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

}


/* ==================================================
   TARJETA DEL PRODUCTO
   ================================================== */

.category-page.esencia .product-card {

    background: #F5F1E8;

    border: 2px solid #CFA6A1;

    border-radius: 14px;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    transition: .3s ease;

}


/* EFECTO AL PASAR EL MOUSE */

.category-page.esencia .product-card:hover {

    transform: translateY(-5px);

    box-shadow:
        0 8px 25px rgba(207, 166, 161, .30);

}


/* ==================================================
   IMAGEN DEL PRODUCTO
   ================================================== */

.category-page.esencia .product-image {

    width: 100%;

    height: 190px;

    overflow: hidden;

    background: #CFA6A1;

}


.category-page.esencia .product-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform .4s ease;

}


.category-page.esencia .product-card:hover
.product-image img {

    transform: scale(1.04);

}


/* ==================================================
   INFORMACIÓN
   ================================================== */

.category-page.esencia .product-info {

    padding: 15px;

    display: flex;

    flex-direction: column;

    flex: 1;

}


/* NOMBRE */

.category-page.esencia .product-info h2 {

    margin: 0 0 7px;

    color: #CFA6A1;

    font-size: 17px;

    font-weight: 700;

}


/* DESCRIPCIÓN */

.category-page.esencia .product-info p {

    margin: 0 0 12px;

    color: #CFA6A1;

    font-size: 12px;

    line-height: 1.45;

    min-height: 52px;

}


/* ==================================================
   PRECIO
   ================================================== */

.category-page.esencia .product-price {

    margin-bottom: 13px;

    color: #CFA6A1;

    font-size: 18px;

    font-weight: 800;

}


/* ==================================================
   ACCIONES
   ================================================== */

.category-page.esencia .product-actions {

    display: flex;

    align-items: center;

    gap: 6px;

    margin-top: auto;

}


/* ==================================================
   CANTIDAD
   ================================================== */

.category-page.esencia .quantity {

    display: flex;

    align-items: center;

    gap: 3px;

}


.category-page.esencia .quantity-minus,
.category-page.esencia .quantity-plus {

    width: 29px;
    height: 29px;

    padding: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 2px solid #CFA6A1;

    border-radius: 7px;

    background: #F5F1E8;

    color: #CFA6A1;

    cursor: pointer;

    transition: .2s ease;

}


.category-page.esencia .quantity-minus:hover,
.category-page.esencia .quantity-plus:hover {

    background: #CFA6A1;

    color: #F5F1E8;

}


.category-page.esencia .quantity-minus span,
.category-page.esencia .quantity-plus span {

    font-size: 17px;

}


.category-page.esencia .quantity-number {

    min-width: 20px;

    text-align: center;

    color: #CFA6A1;

    font-size: 13px;

    font-weight: 700;

}


/* ==================================================
   CONSULTAR
   ================================================== */

.category-page.esencia .consult-product {

    height: 29px;

    padding: 0 8px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 3px;

    border: 2px solid #CFA6A1;

    border-radius: 7px;

    background: #F5F1E8;

    color: #CFA6A1;

    text-decoration: none;

    font-size: 11px;

    font-weight: 600;

    white-space: nowrap;

    transition: .2s ease;

}


.category-page.esencia .consult-product:hover {

    background: #CFA6A1;

    color: #F5F1E8;

}


.category-page.esencia .consult-product
.material-symbols-rounded {

    font-size: 16px;

}


/* ==================================================
   AÑADIR A BOLSA
   ================================================== */

.category-page.esencia .add-to-bag {

    width: 34px;
    height: 34px;

    margin-left: auto;

    padding: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 0;

    border: 2px solid #CFA6A1;

    border-radius: 8px;

    background: #CFA6A1;

    color: #F5F1E8;

    cursor: pointer;

    transition: .2s ease;

}


.category-page.esencia .add-to-bag:hover {

    background: #F5F1E8;

    color: #CFA6A1;

}


.category-page.esencia .add-to-bag
.material-symbols-rounded:first-child {

    font-size: 18px;

}


.category-page.esencia .add-to-bag
.material-symbols-rounded:last-child {

    font-size: 12px;

}


/* ==================================================
   RESPONSIVE
   ================================================== */

@media screen and (max-width: 1100px) {

    .category-page.esencia .products-grid {

        grid-template-columns:
            repeat(3, 1fr);

    }

}


@media screen and (max-width: 800px) {

    .category-page.esencia .products-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


@media screen and (max-width: 550px) {

    .category-page.esencia .products-grid {

        grid-template-columns: 1fr;

    }

    .category-page.esencia .category-banner {

        height: 140px;

    }

}



/* =========================================================
   KRAFEX — PAPEL & TRAZO
   JADE + GRIS HIELO + MANGO
   ========================================================= */


/* =========================================================
   COLORES
   ========================================================= */

.category-page.paper {

    --paper-jade: #0F6B5B;
    --paper-hielo: #E8ECE9;
    --paper-mango: #D99A2B;

}


/* =========================================================
   FONDO
   ========================================================= */

body:has(.category-page.paper) {

    background: #0F6B5B;
    color: #E8ECE9;

}


.category-page.paper {

    width: 100%;
    min-height: 100vh;

    background: #0F6B5B;
    color: #E8ECE9;

}


/* =========================================================
   TOPBAR
   ========================================================= */

body:has(.category-page.paper) .topbar {

    background: #0F6B5B;

    border-bottom: 2px solid #E8ECE9;

}


body:has(.category-page.paper) .topbar-item,
body:has(.category-page.paper) .topbar-item i {

    color: #D99A2B;

}


body:has(.category-page.paper) .topbar-item:hover {

    background: #D99A2B;

}


body:has(.category-page.paper)
.topbar-item:hover i {

    color: #E8ECE9;

}


body:has(.category-page.paper) .cart-counter {

    background: #D99A2B;

    color: #0F6B5B;

}


/* =========================================================
   SIDEBAR
   ========================================================= */

body:has(.category-page.paper) .sidebar {

    background: #0F6B5B;

    border-right: 2px solid #E8ECE9;

}


body:has(.category-page.paper) .sidebar i {

    color: #D99A2B;

}


body:has(.category-page.paper)
.sidebar .expander #btn {

    color: #D99A2B;

}


body:has(.category-page.paper)
.sidebar li a {

    background: #0F6B5B;

}


body:has(.category-page.paper)
.sidebar li a .descriptor {

    color: #E8ECE9;

}


/* HOVER */

body:has(.category-page.paper)
.sidebar li a:hover {

    background: #D99A2B;

}


body:has(.category-page.paper)
.sidebar li a:hover i,

body:has(.category-page.paper)
.sidebar li a:hover .descriptor {

    color: #0F6B5B;

}


/* INICIO */

body:has(.category-page.paper)
.sidebar .category {

    background: #D99A2B;

    color: #0F6B5B;

}


/* =========================================================
   SUBMENÚ
   ========================================================= */

body:has(.category-page.paper)
.sidebar .submenu {

    background: #0F6B5B;

}


body:has(.category-page.paper)
.sidebar .submenu li a {

    background: #0F6B5B;

}


body:has(.category-page.paper)
.sidebar .submenu li a i,

body:has(.category-page.paper)
.sidebar .submenu li a span {

    color: #D99A2B;

}


body:has(.category-page.paper)
.sidebar .submenu li a:hover {

    background: #D99A2B;

}


body:has(.category-page.paper)
.sidebar .submenu li a:hover i,

body:has(.category-page.paper)
.sidebar .submenu li a:hover span {

    color: #0F6B5B;

}


/* =========================================================
   CONTENIDO
   ========================================================= */

.category-page.paper .paper-content {

    width: 100%;

    background: #0F6B5B;

    color: #E8ECE9;

}


/* =========================================================
   BANNER
   ========================================================= */

.category-page.paper .banner-container {

    width: 100%;

    max-width: 1100px;

    height: 190px;

    margin: 0 auto 30px;

}


.category-page.paper .banner {

    width: 100%;

    height: 100%;

    overflow: hidden;

    border: 2px solid #E8ECE9;

    border-radius: 14px;

}


.category-page.paper .banner img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

}


/* =========================================================
   ENCABEZADO
   ========================================================= */

.category-page.paper .category-heading {

    width: 100%;

    border-bottom: 2px solid #E8ECE9;

}


.category-page.paper .category-label {

    color: #D99A2B;

}


.category-page.paper .category-heading h1 {

    color: #E8ECE9;

}


.category-page.paper .category-heading p {

    color: #E8ECE9;

}


/* =========================================================
   PRODUCTOS
   ========================================================= */

.category-page.paper .products-grid {

    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

}


/* =========================================================
   TARJETA
   ========================================================= */

.category-page.paper .product-card {

    background: #0F6B5B;

    border: 2px solid #E8ECE9;

    border-radius: 14px;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    transition: .3s ease;

}


.category-page.paper .product-card:hover {

    transform: translateY(-5px);

}


/* =========================================================
   IMAGEN
   ========================================================= */

.category-page.paper .product-image {

    width: 100%;

    height: 190px;

    overflow: hidden;

    background: #0F6B5B;

    border-bottom: 2px solid #E8ECE9;

}


.category-page.paper .product-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform .4s ease;

}


.category-page.paper
.product-card:hover
.product-image img {

    transform: scale(1.04);

}


/* =========================================================
   INFORMACIÓN
   ========================================================= */

.category-page.paper .product-info {

    padding: 15px;

    display: flex;

    flex-direction: column;

    flex: 1;

}


.category-page.paper .product-info h2 {

    margin: 0 0 7px;

    color: #E8ECE9;

    font-size: 17px;

    font-weight: 700;

}


.category-page.paper .product-info p {

    margin: 0 0 12px;

    color: #E8ECE9;

    font-size: 12px;

    line-height: 1.45;

    min-height: 52px;

}


/* =========================================================
   PRECIO
   ========================================================= */

.category-page.paper .product-price {

    margin-bottom: 13px;

    color: #E8ECE9;

    font-size: 18px;

    font-weight: 800;

}


/* =========================================================
   ACCIONES
   ========================================================= */

.category-page.paper .product-actions {

    display: flex;

    align-items: center;

    gap: 6px;

    margin-top: auto;

}


/* =========================================================
   CANTIDAD
   ========================================================= */

.category-page.paper .quantity {

    display: flex;

    align-items: center;

    gap: 3px;

}


.category-page.paper .quantity-minus,
.category-page.paper .quantity-plus {

    width: 29px;

    height: 29px;

    padding: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 2px solid #E8ECE9;

    border-radius: 7px;

    background: #0F6B5B;

    color: #E8ECE9;

    cursor: pointer;

    transition: .2s ease;

}


.category-page.paper .quantity-minus:hover,
.category-page.paper .quantity-plus:hover {

    background: #E8ECE9;

    color: #0F6B5B;

}


.category-page.paper .quantity-number {

    min-width: 20px;

    text-align: center;

    color: #E8ECE9;

    font-size: 13px;

    font-weight: 700;

}


/* =========================================================
   CONSULTAR
   ========================================================= */

.category-page.paper .consult-product {

    height: 29px;

    padding: 0 8px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 3px;

    border: 2px solid #E8ECE9;

    border-radius: 7px;

    background: #0F6B5B;

    color: #E8ECE9;

    text-decoration: none;

    font-size: 11px;

    font-weight: 600;

    white-space: nowrap;

    transition: .2s ease;

}


.category-page.paper .consult-product:hover {

    background: #E8ECE9;

    color: #0F6B5B;

}


/* =========================================================
   BOLSA
   ========================================================= */

.category-page.paper .add-to-bag {

    width: 34px;

    height: 34px;

    margin-left: auto;

    padding: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 0;

    border: 2px solid #D99A2B;

    border-radius: 8px;

    background: #D99A2B;

    color: #0F6B5B;

    cursor: pointer;

    transition: .2s ease;

}


.category-page.paper .add-to-bag:hover {

    background: #E8ECE9;

    border-color: #E8ECE9;

    color: #0F6B5B;

}


.category-page.paper
.add-to-bag
.material-symbols-rounded {

    color: #0F6B5B;

}


/* =========================================================
   LÍNEAS
   ========================================================= */

body:has(.category-page.paper) hr {

    border-color: #E8ECE9;

}


body:has(.category-page.paper) .division {

    background: #E8ECE9;

}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 1100px) {

    .category-page.paper .products-grid {

        grid-template-columns:
            repeat(3, 1fr);

    }

}


@media screen and (max-width: 800px) {

    .category-page.paper .products-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


@media screen and (max-width: 550px) {

    .category-page.paper .products-grid {

        grid-template-columns: 1fr;

    }


    .category-page.paper .banner-container {

        height: 140px;

    }

}

/* =========================================================
   KRAFEX — COMPAÑÍA
   PAISAJE — CIELO + SOL + NUBES + CÉSPED
   TOPBAR + SIDEBAR — MADERA
   IMÁGENES — MISMAS MEDIDAS QUE PAPEL & TRAZO
   ========================================================= */


/* =========================================================
   COLORES
   ========================================================= */

.category-page.compañia {

    --cielo: #67C9ED;
    --cielo-claro: #DDF6FC;

    --nube: #FFFFFF;

    --cesped: #69A844;
    --cesped-oscuro: #3D7130;
    --hojas: #4D8D38;

    --sol: #FFD34D;

    --madera-oscura: #2E160B;
    --madera: #5A321C;
    --madera-media: #70421F;
    --madera-clara: #8B5A35;

    /* TEXTOS */
    --texto-oscuro: #24140C;
    --texto-verde: #163B24;

    --blanco: #FFFFFF;

}


/* =========================================================
   FONDO GENERAL
   ========================================================= */

body:has(.category-page.compañia) {

    background: #67C9ED !important;

    color: #FFFFFF;

}


.category-page.compañia {

    position: relative;

    width: 100%;
    min-height: 100vh;

    background:
        linear-gradient(
            to bottom,
            #67C9ED 0%,
            #67C9ED 42%,
            #DDF6FC 68%,
            #B7E5BD 78%,
            #69A844 88%,
            #3D7130 100%
        ) !important;

    color: #FFFFFF;

}


/* =========================================================
   CONTENIDO
   ========================================================= */

.category-page.compañia .content {

    position: relative;

    width: 100%;
    min-height: 100vh;

    background: transparent !important;

}


.category-page.compañia .paper-content {

    position: relative;

    width: 100%;

    background: transparent !important;

    color: #FFFFFF;

}


/* =========================================================
   SOL
   ========================================================= */

.category-page.compañia .paper-content::before {

    content: "";

    position: absolute;

    top: 35px;
    right: 70px;

    width: 100px;
    height: 100px;

    background: #FFD34D;

    border-radius: 50%;

    box-shadow:
        0 0 25px rgba(255, 211, 77, 0.8),
        0 0 55px rgba(255, 211, 77, 0.45);

    z-index: 0;

    pointer-events: none;

}


/* =========================================================
   BANNER
   ========================================================= */

.category-page.compañia .banner-container {

    position: relative;

    width: 100%;
    max-width: 1100px;

    height: 190px;

    margin: 0 auto 30px;

    padding: 0;

    box-sizing: border-box;

    background: transparent !important;

}


/* =========================================================
   NUBE 1
   ========================================================= */

.category-page.compañia .banner-container::before {

    content: "";

    position: absolute;

    top: -15px;
    left: 120px;

    width: 135px;
    height: 35px;

    background: #FFFFFF;

    border-radius: 40px;

    opacity: 0.9;

    box-shadow:
        25px -18px 0 7px #FFFFFF,
        65px -10px 0 11px #FFFFFF;

    z-index: 1;

    pointer-events: none;

}


/* =========================================================
   NUBE 2
   ========================================================= */

.category-page.compañia .banner-container::after {

    content: "";

    position: absolute;

    top: 115px;
    right: 100px;

    width: 120px;
    height: 32px;

    background: #FFFFFF;

    border-radius: 40px;

    opacity: 0.75;

    box-shadow:
        22px -15px 0 6px #FFFFFF,
        58px -8px 0 9px #FFFFFF;

    z-index: 1;

    pointer-events: none;

}


/* =========================================================
   BANNER
   ========================================================= */

.category-page.compañia .banner {

    position: relative;

    z-index: 2;

    width: 100%;
    height: 100%;

    overflow: hidden;

    border: 2px solid #FFFFFF;

    border-radius: 14px;

    box-sizing: border-box;

}


.category-page.compañia .banner img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

}


/* =========================================================
   ENCABEZADO
   ========================================================= */

.category-page.compañia .category-heading {

    position: relative;

    z-index: 3;

    width: 100%;

    border-bottom: 2px solid #FFFFFF !important;

}


.category-page.compañia .category-label {

    color: #FFD34D !important;

}


.category-page.compañia .category-heading h1 {

    color: #24140C !important;

}


.category-page.compañia .category-heading p {

    color: #24140C !important;

}


/* =========================================================
   PRODUCTOS
   ========================================================= */

.category-page.compañia .products-grid {

    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

}


/* =========================================================
   TARJETAS
   ========================================================= */

.category-page.compañia .product-card {

    position: relative;

    z-index: 3;

    background: rgba(255, 255, 255, 0.18) !important;

    border: 2px solid #FFFFFF !important;

    border-radius: 14px;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    transition: transform .3s ease;

}


.category-page.compañia .product-card:hover {

    transform: translateY(-5px);

}


/* =========================================================
   IMAGEN
   MISMO TAMAÑO QUE PAPEL & TRAZO
   ========================================================= */

.category-page.compañia .product-image {

    width: 100%;

    height: 190px;

    overflow: hidden;

    background: transparent;

    border-bottom: 2px solid #FFFFFF !important;

}


.category-page.compañia .product-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .4s ease;

}


.category-page.compañia
.product-card:hover
.product-image img {

    transform: scale(1.04);

}


/* =========================================================
   INFORMACIÓN
   ========================================================= */

.category-page.compañia .product-info {

    padding: 15px;

    display: flex;

    flex-direction: column;

    flex: 1;

}


.category-page.compañia .product-info h2 {

    margin: 0 0 7px;

    color: #24140C !important;

    font-size: 17px;

    font-weight: 700;

}


.category-page.compañia .product-info p {

    margin: 0 0 12px;

    color: #24140C !important;

    font-size: 12px;

    line-height: 1.45;

    min-height: 52px;

}


/* =========================================================
   PRECIO
   ========================================================= */

.category-page.compañia .product-price {

    margin-bottom: 13px;

    color: #163B24 !important;

    font-size: 18px;

    font-weight: 800;

}


/* =========================================================
   ACCIONES
   ========================================================= */

.category-page.compañia .product-actions {

    display: flex;

    align-items: center;

    gap: 6px;

    margin-top: auto;

}


/* =========================================================
   CANTIDAD
   ========================================================= */

.category-page.compañia .quantity {

    display: flex;

    align-items: center;

    gap: 3px;

}


.category-page.compañia .quantity-minus,
.category-page.compañia .quantity-plus {

    width: 29px;
    height: 29px;

    padding: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 2px solid #24140C !important;

    border-radius: 7px;

    background: rgba(255, 255, 255, 0.35) !important;

    color: #24140C !important;

    cursor: pointer;

    transition: .2s ease;

}


.category-page.compañia .quantity-minus:hover,
.category-page.compañia .quantity-plus:hover {

    background: #4D8D38 !important;

    border-color: #163B24 !important;

    color: #FFFFFF !important;

}


.category-page.compañia .quantity-number {

    min-width: 20px;

    text-align: center;

    color: #24140C !important;

    font-size: 13px;

    font-weight: 700;

}


/* =========================================================
   CONSULTAR
   ========================================================= */

.category-page.compañia .consult-product {

    height: 29px;

    padding: 0 8px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 3px;

    border: 2px solid #24140C !important;

    border-radius: 7px;

    background: rgba(255, 255, 255, 0.35) !important;

    color: #24140C !important;

    text-decoration: none;

    font-size: 11px;

    font-weight: 700;

    white-space: nowrap;

    transition: .2s ease;

}


.category-page.compañia .consult-product:hover {

    background: #4D8D38 !important;

    border-color: #163B24 !important;

    color: #FFFFFF !important;

}


/* =========================================================
   BOLSA
   ========================================================= */

.category-page.compañia .add-to-bag {

    width: 34px;
    height: 34px;

    margin-left: auto;

    padding: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 2px solid #FFD34D !important;

    border-radius: 8px;

    background: #FFD34D !important;

    color: #24140C !important;

    cursor: pointer;

    transition: .2s ease;

}


.category-page.compañia .add-to-bag:hover {

    background: #4D8D38 !important;

    border-color: #163B24 !important;

    color: #FFFFFF !important;

}


.category-page.compañia
.add-to-bag
.material-symbols-rounded {

    color: #24140C !important;

}


.category-page.compañia
.add-to-bag:hover
.material-symbols-rounded {

    color: #FFFFFF !important;

}


/* =========================================================
   TOPBAR — MADERA
   ========================================================= */

body:has(.category-page.compañia) .topbar {

    background:
        repeating-linear-gradient(
            0deg,
            rgba(46, 22, 11, 0.35) 0px,
            rgba(46, 22, 11, 0.35) 2px,
            transparent 3px,
            transparent 11px
        ),
        linear-gradient(
            90deg,
            #2E160B 0%,
            #5A321C 18%,
            #70421F 38%,
            #8B5A35 50%,
            #70421F 65%,
            #5A321C 82%,
            #2E160B 100%
        ) !important;

    border-bottom: 3px solid #FFFFFF !important;

}


/* =========================================================
   TOPBAR — ICONOS Y TEXTO
   ========================================================= */

body:has(.category-page.compañia)
.topbar-item,

body:has(.category-page.compañia)
.topbar-item i,

body:has(.category-page.compañia)
.topbar-item .material-symbols-rounded {

    color: #FFFFFF !important;

}


/* =========================================================
   TOPBAR — HOVER
   ========================================================= */

body:has(.category-page.compañia)
.topbar-item:hover {

    background: #4D8D38 !important;

}


body:has(.category-page.compañia)
.topbar-item:hover i,

body:has(.category-page.compañia)
.topbar-item:hover .material-symbols-rounded {

    color: #163B24 !important;

}


/* =========================================================
   CONTADOR
   ========================================================= */

body:has(.category-page.compañia)
.cart-counter {

    background: #FFD34D !important;

    color: #24140C !important;

}


/* =========================================================
   SIDEBAR — MADERA
   ========================================================= */

body:has(.category-page.compañia) .sidebar {

    background:
        repeating-linear-gradient(
            90deg,
            rgba(46, 22, 11, 0.35) 0px,
            rgba(46, 22, 11, 0.35) 2px,
            transparent 3px,
            transparent 15px
        ),
        linear-gradient(
            180deg,
            #2E160B 0%,
            #5A321C 20%,
            #70421F 45%,
            #5A321C 70%,
            #2E160B 100%
        ) !important;

    border-right: 3px solid #FFFFFF !important;

}


/* =========================================================
   SIDEBAR — ICONOS
   ========================================================= */

body:has(.category-page.compañia)
.sidebar i,

body:has(.category-page.compañia)
.sidebar .material-symbols-rounded {

    color: #FFFFFF !important;

}


/* =========================================================
   SIDEBAR — TEXTOS
   ========================================================= */

body:has(.category-page.compañia)
.sidebar .descriptor,

body:has(.category-page.compañia)
.sidebar .category,

body:has(.category-page.compañia)
.sidebar .tooltip,

body:has(.category-page.compañia)
.sidebar .submenu span {

    color: #FFFFFF !important;

}


/* =========================================================
   SIDEBAR — ENLACES
   ========================================================= */

body:has(.category-page.compañia)
.sidebar li a {

    background: transparent !important;

}


/* =========================================================
   SIDEBAR — HOVER
   ========================================================= */

body:has(.category-page.compañia)
.sidebar li a:hover {

    background: #4D8D38 !important;

}


body:has(.category-page.compañia)
.sidebar li a:hover i,

body:has(.category-page.compañia)
.sidebar li a:hover span,

body:has(.category-page.compañia)
.sidebar li a:hover .descriptor,

body:has(.category-page.compañia)
.sidebar li a:hover .material-symbols-rounded {

    color: #163B24 !important;

}


/* =========================================================
   CATEGORÍA ACTIVA
   ========================================================= */

body:has(.category-page.compañia)
.sidebar .category {

    background: #4D8D38 !important;

    color: #163B24 !important;

}


/* =========================================================
   SUBMENÚ
   ========================================================= */

body:has(.category-page.compañia)
.sidebar .submenu {

    background: #2E160B !important;

}


body:has(.category-page.compañia)
.sidebar .submenu li a {

    background: transparent !important;

}


body:has(.category-page.compañia)
.sidebar .submenu li a:hover {

    background: #4D8D38 !important;

}


body:has(.category-page.compañia)
.sidebar .submenu li a:hover i,

body:has(.category-page.compañia)
.sidebar .submenu li a:hover span,

body:has(.category-page.compañia)
.sidebar .submenu li a:hover .material-symbols-rounded {

    color: #163B24 !important;

}


/* =========================================================
   LÍNEAS DE SEPARACIÓN
   ========================================================= */

body:has(.category-page.compañia)
.topbar {

    border-bottom: 3px solid #FFFFFF !important;

}


body:has(.category-page.compañia)
.sidebar {

    border-right: 3px solid #FFFFFF !important;

}


body:has(.category-page.compañia)
hr {

    border: 0 !important;

    border-top: 2px solid #FFFFFF !important;

    opacity: 1 !important;

}


body:has(.category-page.compañia)
.division {

    background: #FFFFFF !important;

    opacity: 1 !important;

}


body:has(.category-page.compañia)
.category-heading {

    border-bottom: 2px solid #FFFFFF !important;

}


/* =========================================================
   CÉSPED DECORATIVO
   ========================================================= */

.category-page.compañia .products-grid::after {

    content: "";

    position: absolute;

    left: -5%;
    right: -5%;

    bottom: -80px;

    height: 150px;

    background:
        radial-gradient(
            ellipse at 10% 100%,
            #3D7130 0,
            #3D7130 45%,
            transparent 46%
        ),
        radial-gradient(
            ellipse at 35% 100%,
            #69A844 0,
            #69A844 45%,
            transparent 46%
        ),
        radial-gradient(
            ellipse at 60% 100%,
            #4D8D38 0,
            #4D8D38 45%,
            transparent 46%
        ),
        radial-gradient(
            ellipse at 85% 100%,
            #3D7130 0,
            #3D7130 45%,
            transparent 46%
        );

    pointer-events: none;

    z-index: -1;

}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 1100px) {

    .category-page.compañia .products-grid {

        grid-template-columns:
            repeat(3, 1fr);

    }

}


@media screen and (max-width: 800px) {

    .category-page.compañia .products-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .category-page.compañia .product-image {

        height: 190px;

    }


    .category-page.compañia .paper-content::before {

        right: 30px;

        width: 75px;
        height: 75px;

    }

}


@media screen and (max-width: 550px) {

    .category-page.compañia .products-grid {

        grid-template-columns: 1fr;

    }


    .category-page.compañia .banner-container {

        height: 140px;

    }


    .category-page.compañia .product-image {

        height: 190px;

    }


    .category-page.compañia .paper-content::before {

        top: 20px;

        right: 15px;

        width: 60px;
        height: 60px;

    }

}
/* =========================================================
   KRAFEX — HÁBITAT
   ESTILO — NÓRDICO + JADE + BLANCO + MADERA CLARA
   ========================================================= */


/* =========================================================
   COLORES
   ========================================================= */

.category-page.habitad {

    --habitat-jade: #0F6B5B;
    --habitat-jade-claro: #5FBFAF;

    --habitat-blanco: #FFFFFF;
    --habitat-blanco-calido: #F8F8F5;

    --habitat-madera: #D8C3A5;
    --habitat-madera-suave: #E9DCC8;

    --habitat-negro: #171717;
    --habitat-rosa: #CFA6A1;

    --habitat-dorado: #D6C3A3;

}


/* =========================================================
   FONDO GENERAL
   ========================================================= */

body:has(.category-page.habitad) {

    background:
        linear-gradient(
            to bottom,
            #FFFFFF 0%,
            #FFFFFF 55%,
            #F8F8F5 70%,
            #E9DCC8 88%,
            #D8C3A5 100%
        ) !important;

    color: var(--habitat-negro);

}


.category-page.habitad {

    position: relative;

    width: 100%;
    min-height: 100vh;

    background:
        linear-gradient(
            to bottom,
            #FFFFFF 0%,
            #FFFFFF 50%,
            #F8F8F5 68%,
            #E9DCC8 87%,
            #D8C3A5 100%
        );

    color: var(--habitat-negro);

}


/* =========================================================
   CONTENIDO
   ========================================================= */

.category-page.habitad .content {

    position: relative;

    width: 100%;
    min-height: 100vh;

    background: transparent;

    box-sizing: border-box;

}


/* =========================================================
   ACENTO JADE
   PARED DECORATIVA
   ========================================================= */

.category-page.habitad .paper-content {

    position: relative;

    background: transparent;

}


/* =========================================================
   BANNER
   MISMAS MEDIDAS DE PAPEL & TRAZO
   ========================================================= */

.category-page.habitad .banner-container {

    position: relative;

    width: 100%;
    max-width: 1100px;

    height: 190px;

    margin: 0 auto 30px;

    box-sizing: border-box;

}


.category-page.habitad .banner {

    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;

    border: 2px solid var(--habitat-jade);

    border-radius: 14px;

    background: var(--habitat-blanco);

}


.category-page.habitad .banner img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

}


/* =========================================================
   ENCABEZADO
   ========================================================= */

.category-page.habitad .category-heading {

    width: 100%;

    border-bottom: 2px solid var(--habitat-jade);

}


.category-page.habitad .category-label {

    color: var(--habitat-jade);

}


.category-page.habitad .category-heading h1 {

    color: var(--habitat-negro);

}


.category-page.habitad .category-heading p {

    color: var(--habitat-negro);

}


/* =========================================================
   TOPBAR
   ========================================================= */

body:has(.category-page.habitad) .topbar {

    background:
        linear-gradient(
            90deg,
            #D8C3A5,
            #E9DCC8,
            #D8C3A5
        ) !important;

    border-bottom: 2px solid var(--habitat-jade) !important;

}


body:has(.category-page.habitad)
.topbar-item {

    color: var(--habitat-negro) !important;

}


body:has(.category-page.habitad)
.topbar-item .material-symbols-rounded {

    color: var(--habitat-jade) !important;

}


body:has(.category-page.habitad)
.topbar-item:hover {

    background: var(--habitat-jade) !important;

}


body:has(.category-page.habitad)
.topbar-item:hover .material-symbols-rounded {

    color: var(--habitat-blanco) !important;

}


/* =========================================================
   CONTADOR DE BOLSA
   ========================================================= */

body:has(.category-page.habitad)
.cart-counter {

    background: var(--habitat-rosa) !important;

    color: var(--habitat-negro) !important;

}


/* =========================================================
   SIDEBAR
   ========================================================= */

body:has(.category-page.habitad) .sidebar {

    background:
        linear-gradient(
            180deg,
            #D8C3A5,
            #E9DCC8,
            #D8C3A5
        ) !important;

    border-right: 2px solid var(--habitat-jade) !important;

}


/* =========================================================
   SIDEBAR — ICONOS
   ========================================================= */

body:has(.category-page.habitad)
.sidebar .material-symbols-rounded,

body:has(.category-page.habitad)
.sidebar i {

    color: var(--habitat-jade) !important;

}


/* =========================================================
   SIDEBAR — TEXTO
   ========================================================= */

body:has(.category-page.habitad)
.sidebar .descriptor,

body:has(.category-page.habitad)
.sidebar .category,

body:has(.category-page.habitad)
.sidebar .tooltip,

body:has(.category-page.habitad)
.sidebar .submenu span {

    color: var(--habitat-negro) !important;

}


/* =========================================================
   SIDEBAR — ENLACES
   ========================================================= */

body:has(.category-page.habitad)
.sidebar li a {

    background: transparent !important;

}


/* =========================================================
   SIDEBAR — HOVER
   ========================================================= */

body:has(.category-page.habitad)
.sidebar li a:hover {

    background: var(--habitat-jade) !important;

}


body:has(.category-page.habitad)
.sidebar li a:hover i,

body:has(.category-page.habitad)
.sidebar li a:hover span,

body:has(.category-page.habitad)
.sidebar li a:hover .descriptor {

    color: var(--habitat-blanco) !important;

}


/* =========================================================
   CATEGORÍA ACTIVA
   ========================================================= */

body:has(.category-page.habitad)
.sidebar .category {

    background: var(--habitat-jade) !important;

    color: var(--habitat-blanco) !important;

}


/* =========================================================
   SUBMENÚ
   ========================================================= */

body:has(.category-page.habitad)
.sidebar .submenu {

    background: #E9DCC8 !important;

}


body:has(.category-page.habitad)
.sidebar .submenu li a {

    background: transparent !important;

}


body:has(.category-page.habitad)
.sidebar .submenu li a i,

body:has(.category-page.habitad)
.sidebar .submenu li a span {

    color: var(--habitat-jade) !important;

}


body:has(.category-page.habitad)
.sidebar .submenu li a:hover {

    background: var(--habitat-jade) !important;

}


body:has(.category-page.habitad)
.sidebar .submenu li a:hover i,

body:has(.category-page.habitad)
.sidebar .submenu li a:hover span {

    color: var(--habitat-blanco) !important;

}


/* =========================================================
   PRODUCTOS
   ========================================================= */

.category-page.habitad .products-grid {

    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

}


/* =========================================================
   TARJETAS
   ========================================================= */

.category-page.habitad .product-card {

    background: var(--habitat-blanco);

    border: 2px solid var(--habitat-jade);

    border-radius: 14px;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}


.category-page.habitad .product-card:hover {

    transform: translateY(-5px);

    box-shadow:
        0 10px 25px rgba(15, 107, 91, .15);

}


/* =========================================================
   IMAGEN
   MISMO TAMAÑO DE PAPEL & TRAZO
   ========================================================= */

.category-page.habitad .product-image {

    width: 100%;
    height: 190px;

    overflow: hidden;

    background: var(--habitat-blanco-calido);

    border-bottom: 2px solid var(--habitat-jade);

}


.category-page.habitad .product-image img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .4s ease;

}


.category-page.habitad
.product-card:hover
.product-image img {

    transform: scale(1.04);

}


/* =========================================================
   INFORMACIÓN
   ========================================================= */

.category-page.habitad .product-info {

    padding: 15px;

    display: flex;
    flex-direction: column;

    flex: 1;

}


.category-page.habitad .product-info h2 {

    margin: 0 0 7px;

    color: var(--habitat-negro);

    font-size: 17px;

    font-weight: 700;

}


.category-page.habitad .product-info p {

    margin: 0 0 12px;

    color: #4B4B4B;

    font-size: 12px;

    line-height: 1.45;

    min-height: 52px;

}


/* =========================================================
   PRECIO
   ========================================================= */

.category-page.habitad .product-price {

    margin-bottom: 13px;

    color: var(--habitat-jade);

    font-size: 18px;

    font-weight: 800;

}


/* =========================================================
   ACCIONES
   ========================================================= */

.category-page.habitad .product-actions {

    display: flex;

    align-items: center;

    gap: 6px;

    margin-top: auto;

}


/* =========================================================
   CANTIDAD
   ========================================================= */

.category-page.habitad .quantity {

    display: flex;

    align-items: center;

    gap: 3px;

}


.category-page.habitad
.quantity-minus,

.category-page.habitad
.quantity-plus {

    width: 29px;
    height: 29px;

    padding: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 2px solid var(--habitat-jade);

    border-radius: 7px;

    background: var(--habitat-blanco);

    color: var(--habitat-jade);

    cursor: pointer;

    transition: .2s ease;

}


.category-page.habitad
.quantity-minus:hover,

.category-page.habitad
.quantity-plus:hover {

    background: var(--habitat-jade);

    color: var(--habitat-blanco);

}


.category-page.habitad .quantity-number {

    min-width: 20px;

    text-align: center;

    color: var(--habitat-negro);

    font-size: 13px;

    font-weight: 700;

}


/* =========================================================
   CONSULTAR
   ========================================================= */

.category-page.habitad .consult-product {

    height: 29px;

    padding: 0 8px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 3px;

    border: 2px solid var(--habitat-jade);

    border-radius: 7px;

    background: var(--habitat-blanco);

    color: var(--habitat-jade);

    text-decoration: none;

    font-size: 11px;

    font-weight: 600;

    white-space: nowrap;

    transition: .2s ease;

}


.category-page.habitad .consult-product:hover {

    background: var(--habitat-jade);

    color: var(--habitat-blanco);

}


/* =========================================================
   BOLSA
   ========================================================= */

.category-page.habitad .add-to-bag {

    width: 34px;
    height: 34px;

    margin-left: auto;

    padding: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 2px solid var(--habitat-rosa);

    border-radius: 8px;

    background: var(--habitat-rosa);

    color: var(--habitat-negro);

    cursor: pointer;

    transition: .2s ease;

}


.category-page.habitad .add-to-bag:hover {

    background: var(--habitat-jade);

    border-color: var(--habitat-jade);

    color: var(--habitat-blanco);

}


.category-page.habitad
.add-to-bag
.material-symbols-rounded {

    color: var(--habitat-negro);

}


.category-page.habitad
.add-to-bag:hover
.material-symbols-rounded {

    color: var(--habitat-blanco);

}


/* =========================================================
   LÍNEAS Y DIVISIONES
   ========================================================= */

body:has(.category-page.habitad) hr {

    border-color: var(--habitat-jade) !important;

}


body:has(.category-page.habitad) .division {

    background: var(--habitat-jade) !important;

}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 1100px) {

    .category-page.habitad .products-grid {

        grid-template-columns:
            repeat(3, 1fr);

    }

}


@media screen and (max-width: 800px) {

    .category-page.habitad .products-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


@media screen and (max-width: 550px) {

    .category-page.habitad .products-grid {

        grid-template-columns: 1fr;

    }


    .category-page.habitad .banner-container {

        height: 140px;

    }

}
/* =========================================================
   KRAFEX — ATELIER
   ESTILO NEÓN
   ========================================================= */

:root {
    --atelier-bg: #070909;
    --atelier-bg-2: #0d1110;

    --atelier-card: #101514;
    --atelier-card-2: #151c1a;

    --atelier-neon: #39ff14;
    --atelier-neon-dark: #16a800;
    --atelier-neon-soft: #8cff70;

    --atelier-white: #f5f5f5;
    --atelier-text: #d8ddd9;
    --atelier-muted: #89938d;

    --atelier-border: rgba(57, 255, 20, 0.35);
    --atelier-glow: rgba(57, 255, 20, 0.28);

    --topbar-height: 72px;
    --sidebar-width: 70px;
    --sidebar-open: 220px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(57, 255, 20, 0.08),
            transparent 30%
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(57, 255, 20, 0.05),
            transparent 30%
        ),
        var(--atelier-bg);

    color: var(--atelier-text);

    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}


/* =========================================================
   TOPBAR
   ========================================================= */

.topbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: var(--topbar-height);

    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 28px 0 24px;

    background:
        linear-gradient(
            90deg,
            #090c0b,
            #101614,
            #090c0b
        );

    border-bottom: 1px solid var(--atelier-border);

    box-shadow:
        0 0 18px rgba(57, 255, 20, 0.08),
        0 4px 25px rgba(0, 0, 0, 0.45);
}


/* LOGO */

.topbar-logo {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    overflow: hidden;

    border: 1px solid rgba(57, 255, 20, 0.45);

    box-shadow:
        0 0 10px rgba(57, 255, 20, 0.2);

    transition: 0.25s ease;
}

.topbar-logo:hover {
    border-color: var(--atelier-neon);

    box-shadow:
        0 0 12px var(--atelier-neon),
        0 0 28px rgba(57, 255, 20, 0.35);

    transform: scale(1.04);
}

.topbar-logo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* ACCIONES TOPBAR */

.topbar-actions {
    display: flex;
    align-items: center;

    gap: 10px;
}

.topbar-item {
    position: relative;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    color: var(--atelier-white);

    transition:
        color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.topbar-item:hover {
    color: var(--atelier-neon);

    background: rgba(57, 255, 20, 0.07);

    box-shadow:
        inset 0 0 12px rgba(57, 255, 20, 0.05),
        0 0 15px rgba(57, 255, 20, 0.12);

    transform: translateY(-1px);
}

.topbar-item .material-symbols-rounded {
    font-size: 25px;
}


/* CONTADOR */

.cart-counter {
    position: absolute;

    top: 2px;
    right: 1px;

    min-width: 17px;
    height: 17px;

    padding: 0 4px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50px;

    background: var(--atelier-neon);

    color: #061006;

    font-size: 10px;
    font-weight: 900;

    box-shadow:
        0 0 7px var(--atelier-neon),
        0 0 14px rgba(57, 255, 20, 0.45);
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.sidebar {
    position: fixed;

    top: var(--topbar-height);
    left: 0;

    width: var(--sidebar-width);
    height: calc(100vh - var(--topbar-height));

    z-index: 900;

    padding: 14px 10px;

    background:
        linear-gradient(
            180deg,
            #0b0f0e,
            #080b0a
        );

    border-right: 1px solid var(--atelier-border);

    box-shadow:
        5px 0 25px rgba(0, 0, 0, 0.35);

    overflow-x: hidden;
    overflow-y: auto;

    transition:
        width 0.3s ease,
        box-shadow 0.3s ease;
}


/* SIDEBAR ABIERTA */

.sidebar.active,
.sidebar.open {
    width: var(--sidebar-open);

    box-shadow:
        8px 0 30px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(57, 255, 20, 0.06);
}


/* EXPANDER */

.expander {
    width: 100%;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 12px;
}

#btn {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    color: var(--atelier-white);

    cursor: pointer;

    transition: 0.25s ease;
}

#btn:hover {
    color: var(--atelier-neon);

    background: rgba(57, 255, 20, 0.08);

    text-shadow:
        0 0 8px var(--atelier-neon);

    box-shadow:
        0 0 15px rgba(57, 255, 20, 0.12);
}


/* TITULO ATELIER */

.sidebar > a {
    display: block;

    margin-bottom: 12px;
}

.category {
    width: 100%;

    padding: 13px 10px;

    color: var(--atelier-neon);

    font-size: 14px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;

    text-align: center;

    border: 1px solid rgba(57, 255, 20, 0.25);

    border-radius: 10px;

    background:
        rgba(57, 255, 20, 0.045);

    box-shadow:
        0 0 10px rgba(57, 255, 20, 0.06);
}


/* =========================================================
   SIDEBAR LISTAS
   ========================================================= */

.sidebar li {
    list-style: none;
}

.sidebar > li {
    position: relative;

    margin-bottom: 6px;
}

.sidebar li > a {
    min-height: 45px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 8px 10px;

    color: var(--atelier-text);

    border-radius: 10px;

    transition: 0.25s ease;
}

.sidebar li > a:hover {
    color: var(--atelier-neon);

    background:
        rgba(57, 255, 20, 0.07);

    box-shadow:
        inset 0 0 12px rgba(57, 255, 20, 0.04),
        0 0 10px rgba(57, 255, 20, 0.06);
}

.sidebar li > a .material-symbols-rounded {
    min-width: 28px;

    font-size: 22px;

    text-align: center;
}

.descriptor {
    opacity: 0;

    white-space: nowrap;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;

    transition: opacity 0.2s ease;
}

.sidebar.active .descriptor,
.sidebar.open .descriptor {
    opacity: 1;
}


/* SUBMENU */

.submenu {
    display: none;

    padding: 5px 0 7px 10px;
}

.has-submenu.active > .submenu {
    display: block;
}

.submenu li a {
    min-height: 36px;

    padding: 6px 8px;

    font-size: 12px;
}

.submenu li a .material-symbols-rounded {
    font-size: 18px;
}


/* =========================================================
   TOOLTIP
   ========================================================= */

.tooltip {
    position: absolute;

    left: 63px;
    top: 50%;

    transform: translateY(-50%);

    padding: 7px 10px;

    border-radius: 7px;

    background: #101513;

    border: 1px solid rgba(57, 255, 20, 0.25);

    color: var(--atelier-neon);

    font-size: 11px;

    white-space: nowrap;

    opacity: 0;
    pointer-events: none;

    transition: 0.2s ease;

    box-shadow:
        0 0 12px rgba(57, 255, 20, 0.12);
}

.sidebar:not(.active):not(.open) .has-submenu:hover .tooltip {
    opacity: 1;
}


/* =========================================================
   CONTENIDO
   ========================================================= */

.category-page {
    min-height: 100vh;

    margin-left: var(--sidebar-width);

    padding-top: var(--topbar-height);

    transition: margin-left 0.3s ease;
}

.sidebar.active ~ .category-page,
.sidebar.open ~ .category-page {
    margin-left: var(--sidebar-open);
}


/* =========================================================
   CONTENT
   ========================================================= */

.content {
    width: min(1500px, 100%);

    margin: 0 auto;

    padding: 30px 30px 60px;
}


/* =========================================================
   BANNER
   ========================================================= */

.category-banner {
    width: 100%;

    max-width: 1150px;

    height: 250px;

    margin: 0 auto 30px;

    overflow: hidden;

    border-radius: 22px;

    border: 1px solid rgba(57, 255, 20, 0.4);

    background: #0c110f;

    box-shadow:
        0 0 15px rgba(57, 255, 20, 0.12),
        0 0 45px rgba(57, 255, 20, 0.06);

    position: relative;
}

.category-banner::after {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.2),
            transparent 50%,
            rgba(57, 255, 20, 0.08)
        );
}

.category-banner img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* =========================================================
   ENCABEZADO ATELIER
   ========================================================= */

.category-header {
    max-width: 850px;

    margin: 0 auto 35px;

    text-align: center;
}

.category-title {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-bottom: 8px;

    color: var(--atelier-neon);

    font-size: clamp(30px, 4vw, 48px);

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 2px;

    text-shadow:
        0 0 6px var(--atelier-neon),
        0 0 18px rgba(57, 255, 20, 0.55),
        0 0 35px rgba(57, 255, 20, 0.25);
}

.category-title .material-symbols-rounded {
    font-size: 42px;
}

.category-subtitle {
    margin-bottom: 8px;

    color: var(--atelier-white);

    font-size: 20px;

    font-weight: 800;
}

.category-description {
    max-width: 650px;

    margin: 0 auto;

    color: var(--atelier-muted);

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   GRID
   ========================================================= */

.products-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 16px;
}


/* =========================================================
   PRODUCT CARD
   ========================================================= */

.product-card {
    position: relative;

    min-width: 0;

    padding: 9px;

    display: flex;
    flex-direction: column;

    background:
        linear-gradient(
            145deg,
            var(--atelier-card-2),
            var(--atelier-card)
        );

    border: 1px solid rgba(57, 255, 20, 0.22);

    border-radius: 16px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.3);

    overflow: hidden;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-5px);

    border-color: rgba(57, 255, 20, 0.65);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.45),
        0 0 14px rgba(57, 255, 20, 0.15),
        0 0 35px rgba(57, 255, 20, 0.07);
}


/* =========================================================
   IMAGEN PRODUCTO
   ========================================================= */

.product-image {
    width: 100%;

    aspect-ratio: 1 / 0.82;

    overflow: hidden;

    border-radius: 11px;

    background: #080b0a;

    border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);

    filter:
        brightness(1.05)
        saturate(1.08);
}


/* =========================================================
   INFORMACIÓN
   ========================================================= */

.product-info {
    padding: 10px 5px 3px;

    display: flex;
    flex-direction: column;

    flex: 1;
}

.product-info h2 {
    margin-bottom: 5px;

    color: var(--atelier-white);

    font-size: 15px;

    line-height: 1.25;
}

.product-info p {
    min-height: 48px;

    margin-bottom: 7px;

    color: var(--atelier-muted);

    font-size: 11px;

    line-height: 1.45;
}


/* =========================================================
   PRECIO
   ========================================================= */

.product-price {
    margin-bottom: 9px;

    color: var(--atelier-neon);

    font-size: 17px;

    font-weight: 900;

    text-shadow:
        0 0 7px rgba(57, 255, 20, 0.45);
}


/* =========================================================
   ACCIONES
   ========================================================= */

.product-actions {
    margin-top: auto;

    display: flex;

    align-items: center;

    gap: 7px;
}


/* =========================================================
   CANTIDAD
   ========================================================= */

.quantity {
    height: 32px;

    display: flex;
    align-items: center;

    border: 1px solid rgba(57, 255, 20, 0.28);

    border-radius: 8px;

    background: #080c0a;

    overflow: hidden;
}

.quantity button {
    width: 27px;
    height: 30px;

    border: 0;

    background: transparent;

    color: var(--atelier-neon);

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition: 0.2s ease;
}

.quantity button:hover {
    background: rgba(57, 255, 20, 0.1);

    text-shadow:
        0 0 7px var(--atelier-neon);
}

.quantity .material-symbols-rounded {
    font-size: 17px;
}

.quantity-number {
    width: 25px;

    text-align: center;

    color: var(--atelier-white);

    font-size: 12px;
    font-weight: 800;
}


/* =========================================================
   CONSULTAR
   ========================================================= */

.consult-product {
    height: 32px;

    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 4px;

    padding: 0 7px;

    border: 1px solid rgba(57, 255, 20, 0.2);

    border-radius: 8px;

    color: var(--atelier-muted);

    font-size: 10px;
    font-weight: 700;

    transition: 0.2s ease;
}

.consult-product:hover {
    color: var(--atelier-neon);

    border-color: rgba(57, 255, 20, 0.55);

    background: rgba(57, 255, 20, 0.06);

    box-shadow:
        0 0 10px rgba(57, 255, 20, 0.08);
}

.consult-product .material-symbols-rounded {
    font-size: 16px;
}


/* =========================================================
   AÑADIR A BOLSA
   ========================================================= */

.add-to-bag {
    width: 36px;
    height: 32px;

    flex-shrink: 0;

    border: 1px solid rgba(57, 255, 20, 0.5);

    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            #2fbd12,
            #18a508
        );

    color: #061006;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    box-shadow:
        0 0 8px rgba(57, 255, 20, 0.18);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.add-to-bag:hover {
    transform: translateY(-1px);

    filter: brightness(1.15);

    box-shadow:
        0 0 8px var(--atelier-neon),
        0 0 18px rgba(57, 255, 20, 0.35);
}

.add-to-bag:active {
    transform: scale(0.94);
}

.add-to-bag .material-symbols-rounded {
    font-size: 18px;
}


/* =========================================================
   EFECTO NEÓN EN CARDS
   ========================================================= */

.product-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 18px;
    right: 18px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--atelier-neon),
            transparent
        );

    opacity: 0.35;

    box-shadow:
        0 0 8px var(--atelier-neon);
}


/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #060807;
}

::-webkit-scrollbar-thumb {
    background: #1d7f12;

    border-radius: 10px;

    border: 2px solid #060807;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--atelier-neon);

    box-shadow:
        0 0 8px var(--atelier-neon);
}


/* =========================================================
   SELECCIÓN
   ========================================================= */

::selection {
    background: var(--atelier-neon);

    color: #061006;
}


/* =========================================================
   RESPONSIVE — 4 PRODUCTOS
   ========================================================= */

@media (max-width: 1250px) {

    .products-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

}


/* =========================================================
   RESPONSIVE — 3 PRODUCTOS
   ========================================================= */

@media (max-width: 1000px) {

    .products-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .content {
        padding: 25px 20px 50px;
    }

}


/* =========================================================
   RESPONSIVE — SIDEBAR REDUCIDA
   ========================================================= */

@media (max-width: 800px) {

    :root {
        --sidebar-width: 60px;
    }

    .topbar {
        padding: 0 15px;
    }

    .products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .category-banner {
        height: 190px;
    }

    .category-title {
        font-size: 30px;
    }

}


/* =========================================================
   RESPONSIVE — CELULAR
   ========================================================= */

@media (max-width: 560px) {

    .topbar {
        height: 62px;
    }

    .category-page {
        padding-top: 62px;
    }

    .sidebar {
        top: 62px;

        height: calc(100vh - 62px);
    }

    .content {
        padding: 18px 12px 40px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .category-banner {
        height: 160px;

        border-radius: 15px;
    }

    .category-title {
        font-size: 25px;

        letter-spacing: 1px;
    }

    .category-title .material-symbols-rounded {
        font-size: 30px;
    }

    .category-subtitle {
        font-size: 17px;
    }

    .category-description {
        font-size: 12px;
    }

    .topbar-item {
        width: 38px;
        height: 38px;
    }

    .topbar-item .material-symbols-rounded {
        font-size: 22px;
    }

}


/* =========================================================
   CELULAR MUY PEQUEÑO
   ========================================================= */

@media (max-width: 380px) {

    .topbar {
        padding: 0 8px;
    }

    .topbar-actions {
        gap: 2px;
    }

    .topbar-logo {
        width: 38px;
        height: 38px;
    }

    .content {
        padding-left: 8px;
        padding-right: 8px;
    }

}