.elementor-kit-5{--e-global-color-primary:#D6C750;--e-global-color-secondary:#5E5E5E;--e-global-color-text:#3C3C3C;--e-global-color-accent:#78B131;--e-global-color-3e0af96:#FFFFFF;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS */html, body {
    margin: 0;
    overflow-x: hidden;
}

/* =========================
   VISOR DE IMAGEN
========================= */
.viewer-image img {
    height: 100vh;
    width: 100%;
    object-fit: cover;
    display: block;

    transition:
        opacity 0.25s cubic-bezier(0.22, 1, 0.16, 1),
        filter 0.25s ease,
        transform 0.3s ease;

    backface-visibility: hidden;
    transform: translateZ(0);
}


.viewer-image img {
    will-change: opacity, filter, transform;
}

.viewer-image img.fade-out {
    opacity: 0;
    filter: blur(4px) brightness(0.95);
    transform: scale(1.03);
}

.viewer-image img.fade-in {
    opacity: 1;
    filter: blur(0px) brightness(1);
    transform: scale(1);
}



/* =========================
   FLECHAS
========================= */
.flecha {
    color: #fff;
    background: #808080;
    border: 0.5px solid #cba74a;
    border-radius: 25px;
    transition: background 0.2s ease;
    width: 100%;
    display: block;
    padding: 5px;
}

.flecha:hover {
    background: #cba74a;
}

/* =========================
   PANEL DE MATERIALES
========================= */
.material-panel {
    max-width: 320px;
    text-align: center;
    padding: 5px;
}

/* =========================
   GRID DE MATERIALES
========================= */
.material-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 12px;
}

/* =========================
   CARD DE MATERIAL
========================= */
.material-card {
    text-align: center;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.material-card:hover {
    transform: translateY(-2px);
}

/* =========================
   SWATCH
========================= */
.material-swatch {
    width: 58px;
    height: 58px;
    margin: 0 auto 6px;
    border-color: #00000;
    border-radius: 50%;
    background: center / cover;
    border: 0.5px solid;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* =========================
   NOMBRE DEL MATERIAL
========================= */
.material-name {
    max-width: 80px;
    margin: 0 auto;
    font-size: 12px;
    line-height: 1.2;
    color: #999999;
    word-break: break-word;
}

/* =========================
   ESTADO ACTIVO
========================= */
.material-card.active .material-swatch {
    border-color: #cba74a;
    box-shadow: 0 0 0 1px #000; 
}

.material-card.active .material-name {
    color: #333333;
    font-weight: 500;
     
}/* End custom CSS */