@media (min-device-width:600px) {img[data-src-600px] {content:attr(data-src-600px, url);}}

@media (min-device-width:800px) {img[data-src-800px] {content:attr(data-src-800px, url);}}

@media (min-width: 640px) {body {font-size:1rem;}}

@media (min-width:960px) {body {font-size:1.2rem;}}

@media (min-width:1100px) {body {font-size:1.5rem;}}

html {font-size:100%;}

* {font-family:Roboto, sans-serif; box-sizing:border-box;}

#page-container {position:relative; min-height:100vh;}

#content-wrap {padding-bottom:100px;}

@media only screen and (min-width: 600px) {
  .col-s-1 {width:8.33%;}
  .col-s-2 {width:16.66%;}
  .col-s-3 {width:25%;}
  .col-s-4 {width:33.33%;}
  .col-s-5 {width:41.66%;}
  .col-s-6 {width:50%;}
  .col-s-7 {width:58.33%;}
  .col-s-8 {width:66.66%;}
  .col-s-9 {width:75%;}
  .col-s-10 {width:83.33%;}
  .col-s-11 {width:91.66%;}
  .col-s-12 {width:100%;}
}

@media only screen and (min-width: 768px) {
    .col-1 {width:8.33%;}
    .col-2 {width:16.66%;}
    .col-3 {width:25%;}
    .col-4 {width:33.33%;}
    .col-5 {width:41.66%;}
    .col-6 {width:50%;}
    .col-7 {width:58.33%;}
    .col-8 {width:66.66%;}
    .col-9 {width:75%;}
    .col-10 {width:83.33%;}
    .col-11 {width:91.66%;}
    .col-12 {width:100%;}
}

@media only screen and (max-width:768px) {[class*="col-"] {width:100%;}}

[class*=col-] {float:left; padding:1px;}

.row::after {content:""; clear:both; display:table;}

.foto {height:290px; text-align:center;}

.categoria {text-align:left; padding:0px 10px;}

#search_header {text-align:center; padding-left:12px;}

.chat_narajo {text-align:center;}

.fa-comment-dots {color:#ff8201;}

#resto_texto {display:block; color:#8a8a8a; padding-left:10px;}

#chat_naranjo {display:block; font-weight:bold; font-size:15px; color:#ff8201;}

.texto_chat {padding-top:10px; text-align:center;}

.cat-subcat {padding-top:10px; height:75px; text-align:center; color:#58585a;}

.footer {position:absolute; bottom:0; color:#9b9e9d; background-color:#342f29; height:50px; text-align:left; padding:5px 30px;}

.footer p {font-size:13px;}

.nosotros {height:auto; text-align:center;}

.gris {background-color:#f9f9f9;}

.relleno {height:80px; text-align:center; margin-bottom:20px;}

.logo img {width:300px;}

.logo {text-align:center;}

.usuario, .carro {padding-top:10px; text-align:center;}

.usuario .carro, span {display:block; font-size:12px; padding-top:10px;}

.usuario a {text-decoration:none; color:black;}

.usuario a:hover {text-decoration: underline;}

.carro a {text-decoration:none; color:black;}

.carro a:hover {text-decoration: underline;}

/* Categories Dropdown */
.navbar {margin-top:10px; overflow:hidden; width:100%;}

.navbar a {float:left; font-size:12px; color:black; text-align:center; padding:14px 16px; text-decoration:none;}

.dropdown {float:left; overflow:hidden; width:100px;}

.dropdown .dropbutton {font-size:12px; font-weight:bold; border:none; outline:none; color:#58585a; background-color:inherit; font-family:inherit; margin:0;}

.dropdown-content {display:none; position:absolute; background-color:#f1f1f1; width:auto; box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2); z-index:1;}

.dropdown-content a {float:none; color:black; padding:6px 6px; text-decoration:none; display:block; text-align:left;}

.dropdown-content a:hover {text-decoration:underline; color:#ff8201;}

.dropdown:hover .dropdown-content {display:block;}
/* End Dropdown */

.nosotros p {font-size:15px; color:#707574;}

.nosotros span {font-size:22px; color:#ff8201; font-weight:bold; padding-top:50px; padding-bottom:10px;}

.relleno span {padding-top:30px; font-size:30px; font-weight:bolder;}

.relleno a u {display:block; padding-top:30px; color:#ff8201;}

.center {text-align:center;}

.solo span {font-weight:bold; font-size:14px; display:block; padding-bottom:10px; color:#58585a;}

.caja .solo a {text-decoration:none;}

.subcat a {text-decoration:none; color:#707574;}

.caja:hover .subcat {display:block;}

.subcat:hover a {text-decoration:underline; color:#ff8201;}

.solo:hover span {text-decoration:underline; color:#ff8201;}

.buscar {padding-top:17px; width:90%; float:left; margin-right:5px;}

.buscar input {border:1px solid #707574; border-radius:5px;}

.lupa {padding-top:18px;}

#nostyle {border:2px solid #d0d0d0; background:none; padding:4px; cursor:pointer;}

.grandes {text-align:center; height:550px; padding:10px 0px;}

.grandes img {border: 1px solid #e9e9e9; border-radius:5px;}

.pequenas {padding:25px 20px;}

.pequenas img {border: 1px solid #e9e9e9; border-radius:5px;}

.texto_busqueda {padding:0px 20px; height:550px;}

.cotizacion {margin:25px 0px 15px 0px;}

.cantidad_prod {padding-bottom:1px;}

.boton_cotizar {margin-top:25px;}

.boton_cotizar button {border-radius:5px; background-color:#ff8201; padding:5px 10px; border:none; cursor:pointer; color:#fff;}

.boton_cotizar button {
    min-height: 48px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 700;
}

#titulo_busqueda {font-size:25px; font-weight:bold;}

#descr_busqueda {font-size:14px; margin-bottom:10px;}

#sku_b {float:left; font-size:14px; font-weight:bold; margin-right:5px;}

#sku_busqueda {font-size:14px; color:#ff8201;}

#categ_b {font-size:14px; font-weight:bold; float:left; margin-right:5px;}

#minus-btn, #plus-btn {border:none; padding:0px; color:#ff8201; float:left; cursor:pointer;}

#qty_input {height:26px; width:70px; margin:0px 5px;}

.menos_mas {text-align:center; display:inline;}

#search {width:100%; height:30px; margin-top:4px;}

.titulo_login span {font-size:25px; font-weight:bold; text-align:center; display:block; margin-top:10px;}

.acceder, .registrarse {margin-top:10px;}

.acceder span, .registrarse span {text-align:center; font-size:20px; font-weight:bold; display:block; margin-bottom:5px;}

.form_ingreso, .form_registro {margin:auto; width:60%; border:1px solid #707574; text-align:left; padding:15px; border-radius:5px; color:#707574;}

.form_ingreso #password, #usuario {width:100%; height:32px; border-radius:5px; border:1px solid #707574;}

.form_registro #nom, #apel, #user_name, #user_password, #correo {width:100%; height:32px; border-radius:5px; border:1px solid #707574;}

.form_ingreso,.form_registro label {font-size:15px;}

.login-feedback {
    margin: 0 0 14px;
    padding: 10px 12px;
    border: 1px solid #d89a9a;
    border-radius: 5px;
    background: #fff2f2;
    color: #8f2020;
    font-size: 14px;
    line-height: 1.4;
}

.form_ingreso a {text-decoration:none; color:#707574;}

.form_ingreso a:hover {color:#ff8201; text-decoration:underline;}

.form_boton {padding:5px 0px;}

.form_boton input {border-radius:5px; border:none; padding:8px; background-color:#ff8201; color:white; cursor:pointer; margin-bottom:5px;}

.user_options {padding:10px 0px;}

.cliente_opciones {text-align:center;}

.cliente_opciones span {font-size:15px; font-weight:bold; display:block; padding:15px 15px 0px 15px;}

.cliente_opciones a {text-decoration:none; color:#ff8201;}

.caja_hover {padding:10px; margin:auto; width:200px;}

.caja_hover:hover {border:1px solid black; border-radius:5px;}

.form_update {padding:10px; border:1px solid #707574; border-radius:5px; color:#707574;}

.form_update #nombre, #apellido, #correo_update {width:100%; border:1px solid #707574; height:32px; border-radius:5px; margin-top:5px;}

.mini_foto {text-align:center; margin-bottom:10px; border-radius:5px;}

.mini_foto img {border:1px solid #e9e9e9; border-radius:5px;}

.inner {padding:5px 5px; border:1px solid #bfbfbf; border-radius:0px 0px 5px 5px;}

.inner span {display:block; padding:8px 0px;}

.ruta {padding:5px 0px; margin-bottom:20px; background:#f9f9f9;}

#ruta_titulo {padding-top:5px; font-weight:bold; font-size:25px;}

.titulo_explorador {padding:5px 10px; border-top:3px solid #ff8201; border-left:1px solid #bfbfbf; border-right:1px solid #bfbfbf; border-radius:5px 5px 0px 0px;}

.titulo_explorador span {font-size:15px; font-weight:bold;}

.inner i:hover {color:#ff8201;}

.explorador_contenido {display:none;}

.explorador_contenido a {text-decoration:none; font-size:12px; color:black; padding-left:25px;}

.explorador_contenido a:hover {color:#ff8201;}

.dropbtn {display:block; border:none; background:none; padding:8px; width:100%; text-align:left; cursor:pointer; font-size:12px;}

.caret-icon {float:right;}

#rutas {font-size:13px; font-weight:bold; text-decoration:none; color:#404040;}

#rutas:hover {text-decoration:underline; color:#ff8201;}

.results {text-align:center; margin-bottom:20px;}

.link {font-size:15px;}

.results a {text-decoration:none; color:black;}

.results a:hover {text-decoration:underline; text-decoration-color:#ff8201;}

#box_button {font-size:14px; border-radius:5px; border:none; background-color:#ff8201; color:white; padding:5px 10px; margin-bottom:15px; margin-top:10px; cursor:pointer;}

.colores span {font-size:15px;}

.colores {margin-bottom:25px;}

.form_update label {font-size:15px;}

#categ {color:#ff8201; font-size:14px;}

.cart .remove {background:none; border:none; color:#58585a; cursor:pointer; padding:0px;}

.cart .remove:hover {text-decoration:underline; color:#ff8204;}

.table {font-size: 18px; border:1px solid #707574; border-radius:5px; margin:auto;}

#carro_vacio {margin:10px 15px; font-size:20px; font-weight:bold;}

.table td {border-bottom:#F0F0F0 1px solid; padding:10px 35px; text-align:center;}

#sku_carro {padding-bottom: 65px;}

#cantidad_carro {display:block; margin-bottom:30px;}

.paginacion {margin-top:40px; color:#58585a; font-size:18px; text-align:center;}

.paginacion a {text-decoration:none; color:#58585a;}

.paginacion a:hover {text-decoration:underline; color:#ff8201;}

.menu_explorador_colores a {font-size:15px; text-decoration:none; color:#515151; padding-left:8px;}

.menu_explorador_colores a:hover {color:#ff8201;}

.cotizar {cursor:pointer; border:none; border-radius:5px; background-color:#ff8201; color:white; padding: 5px 10px; margin-bottom:20px; margin-left:45%;}

.t_historial {font-size:15px; border-collapse:collapse; margin:auto;}

.t_historial th {border:1px solid #58585a; padding: 10px; text-align:left; background-color:#ff8201; color:white;}

.t_historial td {border:1px solid #58585a; padding: 10px;}

#lupita {text-align:center;}

.abrir_historial {border:none; background-color:transparent; cursor:pointer;}

.tabla_dh {font-size:15px; border-collapse:collapse; margin:auto;}

.tabla_dh th {border:1px solid #58585a; padding: 10px; text-align:left; background-color:#ffbf80; color:#262626;}

.tabla_dh td {border:1px solid #58585a; padding: 10px;}

.historial_contenido {display:none;}

#goback {margin-left:5px; padding:5.5px 10px; font-size:15px; text-decoration:none; color: white; background-color:#ff8201; border-radius:5px;}

#contacto {text-decoration:none; color:#ff8201;}

#contacto_form {border-radius:5px; border:1px solid black; padding:5px 10px;}

#contacto_form label {display:inline-block; width:100px;font-size:20px;}

#contacto_form div {padding:10px 0px;}

.ct_input {height:32px; width: 82%; border-radius:5px; border:1px solid #707574;}

#ct_mensaje {vertical-align:top; width: 82%; border-radius:5px; border:1px solid #707574;}

.contactanos {padding-bottom: 70px;}

.botones_contacto {text-align:center;}

.botones_contacto button {color:white; background-color:#ff8201; border-radius:5px; padding: 5px 10px; border: none; cursor:pointer;}

#re_clave {border:1px solid black; padding:10px; border-radius:5px; margin:15px 0px;}

#re_clave input {width: 78%;}

.rec_clave {text-align:center; padding-top: 10px;}

.rec_clave button {border:none; background-color:#ff8201; padding:5px 10px; border-radius:5px; cursor:pointer; color:white;}

#sku_filter {margin-bottom:15px;}

#home {font-weight:bold; color:#58585a; padding:10px 5px;}

#canti {font-size:14px; font-weight:bold;}

#sku_like {margin-left:5px;}

#titulo_brands {
    color: #ff8201;
    text-align: center;
}

/* ==========================================================================
   Ajuste visual 2026
   Capa de compatibilidad sobre la estructura PHP existente.
   ========================================================================== */

:root {
    --promologo-orange: #ff8201;
    --promologo-orange-dark: #e96f00;
    --promologo-menu-bg: #fca311;
    --promologo-text: #404040;
    --promologo-muted: #707574;
    --promologo-surface: #f7f7f7;
    --promologo-border: #e2e2e2;
    --public-header-height: 144px;
    --public-nav-height: 50px;
}

html {
    width: 100%;
    min-width: 0;
    scroll-padding-top: calc(var(--public-header-height) + var(--public-nav-height) + 16px);
}

body {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: var(--promologo-text);
    background: #fff;
}

img {
    max-width: 100%;
}

#page-container,
#content-wrap {
    width: 100%;
    min-width: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header público */
.public-header-row {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: var(--public-header-height);
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

.public-header {
    display: grid;
    grid-template-areas:
        "logo search contact actions"
        "logo catalog contact actions";
    grid-template-columns:
        minmax(210px, 1.15fr)
        minmax(320px, 2fr)
        minmax(180px, .9fr)
        minmax(150px, .8fr);
    grid-template-rows: 58px auto;
    align-content: start;
    align-items: center;
    column-gap: clamp(12px, 1.75vw, 28px);
    row-gap: 12px;
    float: none;
    width: 100%;
    height: 100%;
    padding: 10px clamp(18px, 3vw, 54px);
    background: #fff;
}

.public-header > * {
    float: none;
    min-width: 0;
}

.public-header__logo {
    grid-area: logo;
    display: flex;
    align-items: center;
    justify-content: center;
}

.public-header__logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.public-header__logo img {
    display: block;
    width: min(100%, 300px);
    height: auto;
    margin-inline: auto;
}

.public-header__search {
    grid-area: search;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

#search_header {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: center;
    width: min(100%, 470px);
    padding: 0;
}

.public-header__search #search_header {
    width: min(100%, 352px);
}

.buscar {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.buscar input,
#search {
    display: block;
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 0 16px;
    border: 2px solid var(--promologo-orange);
    border-right: 0;
    border-radius: 24px 0 0 24px;
    background: #fff;
    color: var(--promologo-text);
    font-size: 13px;
    outline: 0;
}

.buscar input:focus,
#search:focus {
    box-shadow: inset 0 0 0 1px var(--promologo-orange);
}

.lupa {
    float: none;
    width: 48px;
    padding: 0;
}

#nostyle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 40px;
    padding: 0;
    border: 2px solid var(--promologo-orange);
    border-radius: 0 24px 24px 0;
    background: var(--promologo-orange);
    color: #fff;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}

#nostyle:hover,
#nostyle:focus {
    border-color: var(--promologo-orange-dark);
    background: var(--promologo-orange-dark);
}

.public-header__catalog {
    grid-area: catalog;
    align-self: center;
    justify-self: center;
}

.public-header__catalog a,
.public-header__contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--promologo-orange);
    font-size: 15px;
    text-decoration: none;
}

.public-header__catalog a:hover,
.public-header__catalog a:focus,
.public-header__contact-link:hover,
.public-header__contact-link:focus {
    color: var(--promologo-orange-dark);
    text-decoration: underline;
}

.public-header__catalog .public-catalog-download {
    min-height: 48px;
    padding: 8px 14px;
    border: 2px solid #5b5b5b;
    border-radius: 10px;
    background: #5b5b5b;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .015em;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.public-header__catalog .public-catalog-download span {
    display: inline-flex;
    align-items: center;
    align-self: center;
    padding-top: 0;
}

.public-catalog-download__icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.public-header__catalog .public-catalog-download:hover,
.public-header__catalog .public-catalog-download:focus {
    border-color: #fca311;
    background: #fca311;
    color: #fff;
    text-decoration: none;
}

.public-header__contact {
    grid-area: contact;
    padding: 0;
}

.public-header__contact .texto_chat {
    padding: 0;
    text-align: left;
}

.public-header__contact-link {
    font-size: 13px;
}

.public-header__contact-link > i {
    display: block;
    flex: 0 0 auto;
    line-height: 1;
}

.public-header__contact-link > span {
    display: inline-block;
    padding-top: 0;
    font-size: inherit;
    line-height: 1.2;
}

.public-header__phones {
    display: block;
    padding: 4px 0 0;
    color: var(--promologo-text);
    font-size: 14px;
    line-height: 1.35;
}

.public-header__actions {
    grid-area: actions;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 8px;
}

.public-header__action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    float: none;
    width: auto;
    padding: 0;
    color: var(--promologo-text);
    text-align: center;
    text-decoration: none;
}

.public-header__action i {
    color: #111;
    font-size: 24px;
    line-height: 1;
}

.public-header__action span {
    padding-top: 7px;
    font-size: 12px;
    white-space: nowrap;
}

.public-menu-toggle {
    display: none;
}

.public-menu-toggle:focus-visible,
.public-navigation-close:focus-visible,
.public-navigation a:focus-visible,
.public-navigation button:focus-visible {
    outline: 2px solid var(--promologo-orange-dark);
    outline-offset: 2px;
}

/* Menú principal: muestra las siete categorías prioritarias sin desplazamiento. */
.public-navigation-row {
    position: sticky;
    top: var(--public-header-height);
    z-index: 990;
    width: 100%;
    height: var(--public-nav-height);
    background: var(--promologo-menu-bg);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .1);
}

.public-navigation-container {
    float: none;
    width: 100%;
    height: 100%;
    padding: 0;
}

.public-navigation {
    width: 100%;
    height: 100%;
}

.public-navigation-backdrop,
.public-navigation-mobile-header,
.public-navigation-mobile-tools {
    display: none;
}

.navbar {
    display: grid;
    grid-template-columns: minmax(74px, .62fr) repeat(7, minmax(0, 1fr));
    align-items: stretch;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: visible;
    background: var(--promologo-menu-bg);
}

.navbar > a,
.navbar > .dropdown {
    width: 100%;
    min-width: 0;
}

.navbar a,
.navbar .dropbutton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    float: none;
    height: 100%;
    margin: 0;
    width: 100%;
    padding: 0 clamp(5px, .65vw, 11px);
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    cursor: pointer;
    transition: background-color .2s ease;
}

.dropbutton-icon {
    display: none;
}

.navbar .dropbutton > span {
    display: block;
    padding-top: 0;
    font-size: inherit;
    line-height: inherit;
}

.navbar a:hover,
.navbar a:focus,
.navbar .dropbutton:hover,
.navbar .dropbutton:focus {
    background: rgba(0, 0, 0, .12);
    color: #fff;
    outline: 0;
}

.navbar #home {
    padding: 0 8px;
    color: #fff;
}

.navbar #home .fa-home {
    font-size: 20px;
    line-height: 1;
}

.dropdown {
    position: relative;
    float: none;
    width: auto;
    overflow: visible;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1300;
    width: max-content;
    min-width: 170px;
    max-width: min(260px, 88vw);
    max-height: calc(100vh - var(--public-header-height) - var(--public-nav-height) - 12px);
    padding: 5px;
    overflow-y: auto;
    border: 1px solid var(--promologo-border);
    border-top: 3px solid var(--promologo-orange);
    border-radius: 0 0 7px 7px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
    transform: none;
}

.dropdown:last-child .dropdown-content {
    right: 0;
    left: auto;
}

.dropdown-content a {
    display: block;
    width: 100%;
    height: auto;
    padding: 7px 9px;
    border-radius: 4px;
    color: var(--promologo-text);
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    white-space: normal;
}

.dropdown-content a:hover,
.dropdown-content a:focus {
    background: #fff2e5;
    color: var(--promologo-orange-dark);
    text-decoration: none;
}

.dropdown:focus-within .dropdown-content {
    display: block;
}

@media only screen and (min-width: 768px) {
    .navbar > a,
    .navbar > .dropdown > .dropbutton {
        font-size: 14px;
        text-transform: uppercase;
    }

    .navbar > .dropdown .dropdown-content a {
        font-size: 14px;
        text-transform: none;
    }
}

/* Productos del Home: cuadrícula en tablet/escritorio y carrusel en móvil. */
.home-product-section {
    padding: 24px clamp(16px, 4vw, 64px) 10px;
}

.home-product-section > .row {
    width: 100%;
}

.home-product-section .relleno {
    height: auto;
    margin: 0 0 24px;
}

.home-product-section .relleno span {
    padding-top: 0;
    color: #565656;
    font-size: clamp(24px, 2.2vw, 34px);
}

.home-product-carousel {
    width: min(100%, 1440px);
    margin: 0 auto;
}

.home-product-section .home-product-carousel {
    margin-bottom: 28px;
}

/* Mosaico administrable de categorías del Home. */
.home-category-showcase {
    width: 100%;
    padding: clamp(34px, 5vw, 68px) clamp(16px, 4vw, 64px);
    background: #fff;
}

.home-category-showcase__inner {
    width: min(100%, 1440px);
    margin: 0 auto;
}

.home-category-showcase__inner > h2 {
    margin: 0 0 clamp(22px, 3vw, 34px);
    color: var(--promologo-text);
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1.2;
    text-align: center;
}

.home-category-showcase__featured {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 24px);
}

.home-category-showcase__regular {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(14px, 2vw, 24px);
    margin-top: 0;
}

.home-category-showcase__regular .home-category-card {
    flex: 0 1 calc((100% - clamp(28px, 4vw, 48px)) / 3);
}

.home-category-card {
    --home-card-background: #f8e6c9;
    --home-card-title: #342f29;
    --home-card-description: #404040;
    --home-card-button-bg: #ff8201;
    --home-card-button-text: #fff;
    position: relative;
    isolation: isolate;
    display: flex;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: 14px;
    background: var(--home-card-background);
    box-shadow: 0 12px 30px rgba(42, 35, 29, .1);
}

.home-category-card--featured {
    aspect-ratio: 16 / 9;
}

.home-category-card--regular {
    aspect-ratio: 16 / 10;
}

.home-category-card--regular.home-category-card--has-subcategories {
    aspect-ratio: 3 / 2;
}

.home-category-card--promotion {
    --home-card-title: #fff;
}

.home-category-card--promotion .home-category-card__content h3 {
    text-shadow: 0 2px 12px rgba(0, 0, 0, .72);
}

.home-category-showcase__regular .home-category-card:nth-child(5n + 1) {
    --home-card-background: #e8f1fb;
}

.home-category-showcase__regular .home-category-card:nth-child(5n + 2) {
    --home-card-background: #e6efd9;
}

.home-category-showcase__regular .home-category-card:nth-child(5n + 3) {
    --home-card-background: #eee4f7;
}

.home-category-showcase__regular .home-category-card:nth-child(5n + 4) {
    --home-card-background: #f4c59f;
}

.home-category-showcase__regular .home-category-card:nth-child(5n) {
    --home-card-background: #f8e7be;
}

.home-category-card__media,
.home-category-card__scrim {
    position: absolute;
    inset: 0;
}

.home-category-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--home-card-focus-desktop, center center);
    transition: transform .35s ease;
}

.home-category-card--legacy-image .home-category-card__media img {
    padding: clamp(12px, 3vw, 34px);
    object-fit: contain;
}

.home-category-card__scrim {
    z-index: 1;
    background: transparent;
}

.home-category-card__primary-link {
    position: absolute;
    z-index: 1;
    inset: 0;
    border-radius: inherit;
}

.home-category-card__primary-link:focus-visible {
    outline: 3px solid var(--promologo-orange-dark);
    outline-offset: -4px;
}

.home-category-card--align-center .home-category-card__scrim {
    background: transparent;
}

.home-category-card--align-right .home-category-card__scrim {
    background: transparent;
}

.home-category-card--without-image .home-category-card__scrim {
    display: none;
}

.home-category-card__content {
    position: relative;
    z-index: 2;
    align-self: self-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: min(58%, 560px);
    padding: clamp(22px, 4vw, 40px);
    text-align: left;
}

.home-category-card--title-hidden .home-category-card__content {
    pointer-events: none;
}

.home-category-card--title-hidden .home-category-card__content a,
.home-category-card--title-hidden .home-category-card__content button {
    position: relative;
    z-index: 3;
    pointer-events: auto;
}

.home-category-card--align-center .home-category-card__content {
    align-items: center;
    width: min(78%, 680px);
    margin: auto;
    text-align: center;
}

.home-category-card--align-right .home-category-card__content {
    align-items: flex-end;
    margin-left: auto;
    text-align: right;
}

.home-category-card__content h3 {
    margin: 0;
    color: var(--home-card-title);
    font-size: clamp(22px, 2.2vw, 36px);
    line-height: 1.08;
}

.home-category-card__title-link {
    color: inherit;
    text-decoration: none;
    text-underline-offset: 4px;
}

.home-category-card__title-link:hover,
.home-category-card__title-link:focus {
    color: inherit;
    text-decoration: underline;
}

.home-category-card__title-link:focus-visible {
    outline: 3px solid var(--promologo-orange-dark);
    outline-offset: 4px;
}

.home-category-card--regular .home-category-card__content h3 {
    font-size: clamp(20px, 1.7vw, 28px);
}

.home-category-card__content p {
    display: -webkit-box;
    max-width: 52ch;
    margin: 12px 0 0;
    overflow: hidden;
    color: var(--home-card-description);
    font-size: clamp(13px, 1.05vw, 16px);
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.home-category-card--has-subcategories .home-category-card__content {
    justify-content: center;
    width: min(78%, 650px);
    padding: clamp(16px, 2.3vw, 30px);
}

.home-category-card--has-subcategories .home-category-card__content p {
    margin-top: 7px;
    -webkit-line-clamp: 2;
}

.home-category-card__subcategories {
    width: 55%;
    min-width: 178px;
    max-width: 235px;
    margin-top: 10px;
    padding: 6px 8px;
    /*border: 1px solid var(--promologo-orange);
    border-radius: 8px;
    background: rgba(255, 255, 255, .73);*/
}

.home-category-card__subcategories ul {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-category-card__subcategories a {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    min-height: 0;
    padding: 4px 0;
    border-radius: 0;
    background: transparent;
    color: var(--promologo-text);
    font-size: clamp(11px, .88vw, 13px);
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.home-category-card__subcategories a::before {
    content: "";
    flex: 0 0 auto;
    width: 6px;
    height: 8px;
    margin-top: .3em;
    background: var(--promologo-orange);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.home-category-card__subcategories a:hover,
.home-category-card__subcategories a:focus {
    background: transparent;
    color: var(--promologo-orange-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.home-category-card__subcategories a:hover::before,
.home-category-card__subcategories a:focus::before {
    background: currentColor;
}

.home-category-card__subcategories a:focus-visible {
    outline: 2px solid var(--promologo-orange-dark);
    outline-offset: 2px;
}

.home-category-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    margin-top: clamp(16px, 2vw, 24px);
    padding: 10px 14px;
    border-radius: var(--home-category-button-radius, 6px);
    background: var(--home-card-button-bg);
    color: var(--home-card-button-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
    transition: transform .2s ease, filter .2s ease;
}

.home-category-card__button-icon {
    display: block;
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.25;
}

.home-category-card__button:hover,
.home-category-card__button:focus {
    color: var(--home-card-button-text);
    text-decoration: none;
    filter: brightness(.94);
}

.home-category-card__button:focus-visible {
    outline: 3px solid #111;
    outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
    .home-category-card:hover .home-category-card__media img {
        transform: scale(1.025);
    }

    .home-category-card__button:hover {
        transform: translateY(-2px);
    }
}

/* Promociones destacadas y líneas de productos curadas. */
.home-promotions {
    width: 100%;
    padding: clamp(32px, 5vw, 64px) clamp(16px, 4vw, 64px) 0;
    background: #fff;
}

.home-promotions__inner {
    width: min(100%, 1440px);
    margin: 0 auto;
}

.home-product-lines {
    width: 100%;
    padding: clamp(24px, 3vw, 36px) clamp(16px, 4vw, 64px) clamp(32px, 5vw, 64px);
    background: #fff;
}

.home-product-lines__inner {
    width: min(100%, 1440px);
    margin: 0 auto;
}

.home-product-lines__inner > h2 {
    margin: 0 0 clamp(22px, 3vw, 34px);
    color: var(--promologo-text);
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1.2;
    text-align: center;
}

.home-product-lines__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 24px);
}

.home-product-lines__grid .home-category-card {
    width: 100%;
}

.home-product-lines__grid .home-category-card__content {
    padding: clamp(22px, 2vw, 40px);
}

.home-product-lines__grid .home-category-card__content h3 {
    text-shadow: 0 2px 12px rgba(0, 0, 0, .72);
}

/* Beneficios principales del Home. */
.home-benefits {
    width: 100%;
    padding: 28px clamp(16px, 4vw, 64px) 48px;
    background: #fff;
}

.home-benefits__inner {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.home-benefits__inner > h2 {
    margin: 0 0 26px;
    color: var(--promologo-text);
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1.2;
    text-align: center;
}

.home-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: clamp(16px, 2.4vw, 30px);
}

.home-benefit-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 2px solid var(--promologo-orange);
    border-radius: 2px;
    background: #fff;
}

.home-benefit-card__media {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f5f5f5;
}

.home-benefit-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-benefit-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    padding: clamp(18px, 2vw, 26px) clamp(14px, 1.8vw, 22px) 24px;
    text-align: center;
}

.home-benefit-card__body h3 {
    margin: 0 0 18px;
    color: #111;
    font-size: clamp(18px, 1.6vw, 23px);
    line-height: 1.25;
}

.home-benefit-card__body p {
    max-width: 68ch;
    margin: 0;
    color: var(--promologo-muted);
    font-size: clamp(13px, 1.05vw, 15px);
    line-height: 1.45;
}

/* Logotipos de organizaciones y portales del Home. */
.home-logo-wall {
    width: 100%;
    padding: clamp(30px, 4vw, 52px) clamp(14px, 4vw, 64px);
    background: #f9f9f9;
}

.home-logo-wall--portals {
    padding-top: clamp(18px, 2.5vw, 32px);
}

.home-logo-wall__inner {
    width: min(100%, 1440px);
    margin: 0 auto;
}

.home-logo-wall__inner > h2 {
    margin: 0 0 clamp(20px, 2.4vw, 30px);
    color: var(--promologo-orange);
    font-size: clamp(23px, 2.2vw, 34px);
    line-height: 1.2;
    text-align: center;
    text-wrap: balance;
}

.home-logo-wall__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-logo-wall__item {
    box-sizing: border-box;
    display: flex;
    flex: 0 1 calc((100% - 24px) / 3);
    align-items: center;
    justify-content: center;
    max-width: calc((100% - 24px) / 3);
    margin: 0;
    padding: clamp(8px, 1.1vw, 16px);
    overflow: hidden;
    aspect-ratio: 41 / 17;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    background: #fff;
}

.home-logo-wall--portals .home-logo-wall__item {
    flex-basis: calc((100% - 12px) / 2);
    max-width: calc((100% - 12px) / 2);
}

.home-logo-wall__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media only screen and (min-width: 768px) {
    .home-logo-wall__grid {
        gap: 16px;
    }

    .home-logo-wall--organizations .home-logo-wall__item {
        flex-basis: calc((100% - 200px) / 5);
        max-width: calc((100% - 200px) / 5);
    }

    .home-logo-wall--portals .home-logo-wall__item {
        flex-basis: calc((100% - 48px) / 4);
        max-width: calc((100% - 48px) / 4);
    }
}

/* Cuadrícula de las categorías existentes. */
.row:has(> .foto-categoria) {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    padding: 28px clamp(16px, 4vw, 64px) 36px;
    background: var(--promologo-surface);
}

.row:has(> .foto-categoria)::after {
    display: none;
}

.row:has(> .foto-categoria) > .row {
    grid-column: 1 / -1;
}

.row:has(> .foto-categoria) .relleno {
    height: auto;
    margin: 0 0 6px;
}

.row:has(> .foto-categoria) .relleno span {
    padding-top: 0;
    color: var(--promologo-orange);
    font-size: clamp(24px, 2.2vw, 34px);
}

.foto-categoria {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    float: none;
    width: auto;
    min-width: 0;
    min-height: 330px;
    padding: 16px;
    border: 1px solid var(--promologo-border);
    border-radius: 6px;
    background: #fff;
}

.foto-categoria > .foto,
.foto-categoria > .categoria {
    float: none;
    width: 100%;
}

.foto-categoria .foto {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 142px;
    min-height: 142px;
    padding: 10px;
    border: 1px solid #ededed;
    border-radius: 5px;
    background: #fafafa;
}

.foto-categoria .foto img {
    width: 100%;
    height: 120px;
    object-fit: contain;
}

.foto-categoria .categoria {
    padding: 15px 2px 0;
}

.foto-categoria .solo span {
    padding: 0 0 10px;
    color: var(--promologo-text);
    font-size: 14px;
    line-height: 1.3;
}

.foto-categoria .subcat span {
    padding: 4px 0;
    font-size: 12px;
    line-height: 1.35;
}

.home-about {
    padding-inline: clamp(16px, 4vw, 64px);
}

.home-about__content {
    width: min(100%, 1060px);
    margin: 0 auto;
    padding: 0;
}

/* Selector de color corporativo y tarjetas comunes de productos. */
.home-colors {
    width: 100%;
    padding: 34px clamp(16px, 4vw, 64px) 42px;
    background: #fff;
}

.home-section-heading {
    width: min(100%, 1440px);
    margin: 0 auto 16px;
    text-align: center;
}

.home-section-heading h2 {
    margin: 0;
    color: var(--promologo-orange);
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1.2;
}

.home-section-heading p {
    margin: 7px 0 0;
    color: var(--promologo-muted);
    font-size: 16px;
}

.home-color-instruction {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-top: 10px;
    color: var(--promologo-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.home-color-instruction svg {
    width: 24px;
    height: 32px;
    fill: none;
    stroke: var(--promologo-orange);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.home-color-explorer {
    width: min(100%, 1440px);
    margin: 0 auto;
}

.home-color-palette {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: min(100%, 772px);
    gap: 8px;
    margin: 0 auto 20px;
}

.home-color-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.home-color-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 5px;
    background: transparent;
    text-decoration: none;
}

.home-color-option__swatch {
    display: block;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(0, 0, 0, .28);
    border-radius: 3px;
    background: var(--home-color-swatch, #fff);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .13);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.home-color-option:hover .home-color-option__swatch {
    border-color: var(--promologo-orange-dark);
    transform: translateY(-2px);
}

.home-color-option:focus-visible {
    outline: 2px solid var(--promologo-orange-dark);
    outline-offset: 1px;
}

.home-color-option.is-active .home-color-option__swatch {
    border-color: #fff;
    outline: 3px solid var(--promologo-orange);
    outline-offset: 1px;
}

.home-color-option.is-transparent .home-color-option__swatch,
.catalog-color-swatch.is-transparent {
    background-color: #fff;
    background-image:
        linear-gradient(45deg, #d7d7d7 25%, transparent 25%),
        linear-gradient(-45deg, #d7d7d7 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #d7d7d7 75%),
        linear-gradient(-45deg, transparent 75%, #d7d7d7 75%);
    background-position: 0 0, 0 6px, 6px -6px, -6px 0;
    background-size: 12px 12px;
}

.home-color-results {
    position: relative;
}

.home-product-carousel__viewport {
    width: 100%;
    overflow: visible;
}

.home-product-carousel__viewport:focus-visible {
    outline: 2px solid var(--promologo-orange-dark);
    outline-offset: 4px;
}

.home-product-carousel__controls {
    display: none;
}

.home-product-carousel__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--promologo-orange);
    border-radius: 50%;
    background: #fff;
    color: var(--promologo-orange-dark);
    cursor: pointer;
}

.home-product-carousel__button svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.home-product-carousel__button:disabled {
    border-color: #c8c8c8;
    color: #999;
    cursor: default;
    opacity: .62;
}

.home-product-carousel__button:focus-visible {
    outline: 2px solid var(--promologo-orange-dark);
    outline-offset: 3px;
}

.home-color-results.is-loading .home-product-grid {
    opacity: .45;
    pointer-events: none;
}

.home-product-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(12px, 1.5vw, 24px);
    transition: opacity .2s ease;
}

.product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 300px;
    padding: 12px;
    overflow: hidden;
    border: 1px solid #efb16f;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.product-card:hover {
    border-color: var(--promologo-orange);
    box-shadow: 0 9px 24px rgba(0, 0, 0, .12);
    transform: translateY(-2px);
}

.product-card-main {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    color: var(--promologo-text);
    text-decoration: none;
}

.product-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: clamp(150px, 12vw, 210px);
}

.product-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card-name {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 8px;
    padding: 8px 5px;
    color: var(--promologo-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.product-card-action,
.home-color-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 5px;
    background: var(--promologo-orange);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.product-card-action {
    align-self: center;
    min-height: 34px;
    margin: 10px auto 2px;
    padding: 7px 14px;
    font-size: 13px;
}

.product-card-action:hover,
.product-card-action:focus,
.home-color-view-all:hover,
.home-color-view-all:focus {
    background: var(--promologo-orange-dark);
    color: #fff;
    text-decoration: none;
}

.home-color-status {
    min-height: 24px;
    margin: 14px 0 0;
    color: var(--promologo-muted);
    text-align: center;
}

.home-color-view-all {
    display: flex;
    width: fit-content;
    min-height: 40px;
    margin: 4px auto 0;
    margin-inline: auto;
    padding: 9px 18px;
}

.home-colors-empty,
.catalog-empty {
    grid-column: 1 / -1;
    padding: 28px;
    color: var(--promologo-muted);
    text-align: center;
}

/* Encabezado compartido de categoría y producto. */
.ruta {
    float: none;
    width: 100%;
    margin: 0;
    padding: 22px clamp(16px, 3vw, 48px);
    background: #f9f9f9;
}

.page-heading__inner {
    width: min(100%, 1600px);
    margin: 0 auto;
}

.page-heading__title {
    margin-bottom: 6px;
    padding: 0;
    color: var(--promologo-text);
    font-size: clamp(24px, 2.2vw, 32px);
    font-weight: 700;
    line-height: 1.2;
}

.page-heading__breadcrumb {
    line-height: 1.5;
}

.page-heading__breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    margin: 0;
    padding: 0;
    color: var(--promologo-muted);
    font-size: 13px;
    font-weight: 700;
    list-style: none;
}

.page-heading__breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.page-heading__breadcrumbs li:not(:last-child)::after {
    content: ">";
    color: #999;
}

.page-heading__breadcrumbs a {
    color: var(--promologo-text);
    text-decoration: none;
}

.page-heading__breadcrumbs a:hover,
.page-heading__breadcrumbs a:focus {
    color: var(--promologo-orange-dark);
    text-decoration: underline;
}

/* Catálogo: filtros y cuadrícula principal. */

.catalog-page .resultado {
    float: none;
    width: 100%;
    padding: 24px clamp(16px, 3vw, 48px) 48px;
}

.catalog-page .resultado > .row {
    display: grid;
    grid-template-columns: minmax(210px, 230px) minmax(0, 1fr);
    align-items: start;
    gap: 24px;
    width: min(100%, 1600px);
    margin: 0 auto;
}

.catalog-page .resultado > .row::after {
    display: none;
}

/* Formularios públicos y cotizador. */
.contactanos,
.acceder,
.registrarse,
.recovery-form-container {
    min-width: 0;
}

.contactanos {
    float: none;
    width: min(calc(100% - 32px), 760px);
    margin: 24px auto 0;
    padding: 0 0 70px;
}

#contacto_form {
    display: grid;
    gap: 14px;
    padding: 20px;
}

#contacto_form > div {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 0;
}

#contacto_form label {
    width: auto;
    padding-top: 8px;
}

#contacto_form .ct_input,
#contacto_form textarea,
#re_clave input,
.form_ingreso input[type="text"],
.form_ingreso input[type="password"],
.form_registro input[type="text"],
.form_registro input[type="password"],
.form_registro input[type="email"] {
    width: 100%;
    max-width: 100%;
}

#contacto_form textarea {
    resize: vertical;
}

#contacto_form .botones_contacto {
    display: flex;
    grid-template-columns: none;
    justify-content: center;
}

.acceder,
.registrarse {
    padding-right: 12px;
    padding-left: 12px;
}

.public-auth-page .acceder {
    float: none;
    width: min(calc(100% - 32px), 560px);
    margin: 24px auto 0;
}

.form_ingreso,
.form_registro {
    width: min(100%, 520px);
}

.recovery-form-container {
    float: none;
    width: min(calc(100% - 32px), 560px);
    margin: 0 auto;
}

#re_clave > div:first-child {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    width: 100%;
}

.cart-shell {
    float: none;
    width: min(calc(100% - 32px), 1180px);
    margin: 24px auto 48px;
    padding: 0;
}

.cart-table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 5px;
    -webkit-overflow-scrolling: touch;
}

.cart-table-wrap:focus-visible {
    outline: 2px solid var(--promologo-orange-dark);
    outline-offset: 3px;
}

.cart .table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    table-layout: fixed;
}

.cart .table th,
.cart .table td {
    padding: 12px 18px;
    text-align: center;
}

.cart .table th {
    background: #f7f7f7;
}

.cart-product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 150px;
}

.cart-product-image img {
    display: block;
    width: min(100%, 180px);
    height: 160px;
    object-fit: contain;
}

.cart-product-name,
.cart-product-sku,
.cart-product-quantity {
    padding: 0;
    font-size: inherit;
}

.cart-product-name {
    font-weight: 700;
}

.cart-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.cart-actions #goback {
    margin-left: 0;
}

.cart-actions #myBtn,
.cart-actions #goback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin: 0;
    padding: 12px 20px;
    border: 0;
    border-radius: 5px;
    background: var(--promologo-orange);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.cart-actions #myBtn:hover,
.cart-actions #myBtn:focus,
.cart-actions #goback:hover,
.cart-actions #goback:focus {
    background: var(--promologo-orange-dark);
    color: #fff;
    text-decoration: none;
}

.catalog-page .explorador,
.catalog-page .infinite-catalog {
    float: none;
    width: 100%;
    min-width: 0;
    padding: 0;
}

.catalog-filter-toggle,
.catalog-filter-backdrop,
.catalog-filters__header {
    display: none;
}

.catalog-filters__section + .catalog-filters__section {
    margin-top: 18px;
}

.catalog-filter-section-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-bottom: 0;
    background: #fff;
    color: var(--promologo-text);
    font: inherit;
    text-align: left;
    cursor: default;
}

.catalog-filter-section-toggle span {
    padding-top: 0;
}

.catalog-filter-section-toggle svg {
    display: none;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.menu_explorador.is-open .explorador_contenido {
    display: block;
}

.catalog-page .titulo_explorador {
    padding: 8px 12px;
}

.catalog-page .inner {
    padding: 7px 10px 9px;
}

.catalog-page .dropbtn {
    padding: 8px 4px;
}

.catalog-page .menu_explorador_colores a {
    padding: 6px 4px;
}

/* Catálogo por lotes e indicador del color seleccionado. */
.infinite-catalog {
    float: none;
    min-width: 0;
}

.infinite-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.infinite-catalog-controls {
    grid-column: 1 / -1;
    padding: 24px 0 10px;
    text-align: center;
}

.infinite-catalog-status {
    min-height: 24px;
    margin: 0 0 8px;
    color: var(--promologo-muted);
}

.infinite-catalog-sentinel {
    display: block;
    width: 100%;
    height: 2px;
}

.menu_explorador_colores a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 5px 7px;
    border-radius: 5px;
}

.menu_explorador_colores a > span {
    display: block;
    padding: 0;
    font-size: inherit;
    line-height: 1.35;
}

.catalog-color-swatch {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(0, 0, 0, .22);
    border-radius: 50%;
}

.menu_explorador_colores.is-active a {
    background: #fff2e5;
    color: var(--promologo-orange-dark);
    font-weight: 700;
}

.menu_explorador_colores.is-active .catalog-color-swatch {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--promologo-orange);
}

/* Galería de producto. */
.resultados_busqueda {
    padding: clamp(16px, 3vw, 48px);
}

.resultados_busqueda .fotos_busqueda {
    min-height: clamp(420px, 46vw, 650px);
    padding: clamp(8px, 2vw, 24px);
    background: #fff;
}

.product-gallery {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.product-gallery-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(330px, 38vw, 540px);
    overflow: hidden;
    border: 1px solid var(--promologo-border);
    border-radius: 8px;
    background: #fff;
}

.product-gallery-main-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: clamp(12px, 2vw, 28px);
}

.product-gallery-main-image {
    display: block;
    width: 100%;
    height: clamp(300px, 35vw, 500px);
    object-fit: contain;
}

.product-gallery-control,
.product-gallery-thumb-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--promologo-border);
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: var(--promologo-text);
    cursor: pointer;
}

.product-gallery-control {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 42px;
    height: 42px;
    transform: translateY(-50%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}

.product-gallery-control--previous {
    left: 12px;
}

.product-gallery-control--next {
    right: 12px;
}

.product-gallery-control:hover,
.product-gallery-control:focus-visible,
.product-gallery-thumb-control:hover,
.product-gallery-thumb-control:focus-visible {
    border-color: var(--promologo-orange);
    color: var(--promologo-orange-dark);
    outline: none;
}

.product-gallery-control svg,
.product-gallery-thumb-control svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.product-gallery-thumbnails {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
}

.product-gallery-thumb-control {
    width: 36px;
    height: 36px;
}

.product-gallery-thumbnail-list {
    display: flex;
    gap: 10px;
    width: 100%;
    overflow-x: auto;
    padding: 4px 2px 8px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
}

.product-gallery-thumbnail {
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
    padding: 5px;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}

.product-gallery-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-gallery-thumbnail.is-active,
.product-gallery-thumbnail[aria-selected="true"] {
    border-color: var(--promologo-orange);
    box-shadow: 0 0 0 1px rgba(255, 130, 1, .18);
}

.product-gallery-thumbnail:focus-visible {
    outline: 2px solid var(--promologo-orange-dark);
    outline-offset: 2px;
}

@media only screen and (max-width: 1199px) {
    :root {
        --public-header-height: 188px;
        --public-nav-height: 104px;
    }

    .public-header {
        grid-template-areas:
            "logo search search"
            "catalog actions contact";
        grid-template-columns: minmax(190px, .85fr) minmax(180px, .75fr) minmax(240px, 1fr);
        grid-template-rows: 104px 64px;
        gap: 4px 20px;
        padding: 8px clamp(18px, 3vw, 32px);
    }

    .public-header__logo {
        justify-content: flex-start;
    }

    .public-header__catalog {
        align-self: center;
    }

    .public-header__actions {
        justify-self: center;
        width: min(100%, 230px);
    }

    .public-header__contact {
        justify-self: end;
        width: 100%;
        max-width: 290px;
    }

    .navbar {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(0, 1fr));
    }

    .row:has(> .foto-categoria) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-category-showcase__regular .home-category-card {
        flex-basis: calc((100% - clamp(14px, 2vw, 24px)) / 2);
    }

    .home-product-lines__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-category-card--featured {
        aspect-ratio: 4 / 3;
    }

    .home-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .infinite-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .catalog-page .resultado {
        padding-top: 20px;
    }

    .catalog-page .resultado > .row {
        grid-template-columns: minmax(205px, 220px) minmax(0, 1fr);
        gap: 18px;
    }

    .cart-product-image img {
        width: min(100%, 150px);
        height: 145px;
    }
}

@media only screen and (max-width: 900px) {
    .catalog-page .infinite-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 767px) {
    :root {
        --public-header-height: 142px;
        --public-nav-height: 0px;
    }

    .public-header {
        grid-template-areas:
            "logo logo"
            "search menu";
        grid-template-columns: minmax(0, 1fr) 64px;
        grid-template-rows: 64px 54px;
        gap: 8px;
        padding: 8px 12px;
    }

    .public-header__logo {
        justify-content: center;
    }

    .public-header__logo img {
        width: min(100%, 190px);
    }

    .public-header__search {
        grid-area: search;
    }

    #search_header {
        grid-template-columns: minmax(0, 1fr) 52px;
        width: 100%;
    }

    .public-header__search #search_header {
        width: 100%;
    }

    .home-category-showcase {
        padding: 32px 14px 38px;
    }

    .home-promotions {
        padding: 32px 14px 0;
    }

    .home-category-showcase__inner > h2 {
        margin-bottom: 20px;
    }

    .home-category-showcase__featured {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-category-showcase__regular {
        flex-direction: column;
    }

    .home-category-showcase__regular .home-category-card {
        flex-basis: auto;
        width: 100%;
    }

    .home-category-card--featured,
    .home-category-card--regular {
        aspect-ratio: 4 / 5;
    }

    .home-category-card--regular.home-category-card--has-subcategories {
        aspect-ratio: 4 / 5;
    }

    .home-category-card__media img {
        object-position: var(--home-card-focus-mobile, var(--home-card-focus-desktop, center center));
    }

    .home-category-card__scrim,
    .home-category-card--align-right .home-category-card__scrim,
    .home-category-card--align-center .home-category-card__scrim {
        background: transparent;
    }

    .home-category-card__content,
    .home-category-card--align-center .home-category-card__content,
    .home-category-card--align-right .home-category-card__content {
        justify-content: flex-end;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 26px 22px;
    }

    .home-product-lines__grid .home-category-card__content {
        padding: 26px 22px;
    }

    .home-category-card--align-left .home-category-card__content {
        align-items: flex-start;
        text-align: left;
    }

    .home-category-card--align-center .home-category-card__content {
        align-items: center;
        text-align: center;
    }

    .home-category-card--align-right .home-category-card__content {
        align-items: flex-end;
        text-align: right;
    }

    .home-category-card__content h3,
    .home-category-card--regular .home-category-card__content h3 {
        font-size: clamp(23px, 7vw, 30px);
    }

    .home-category-card__content p {
        font-size: 14px;
        -webkit-line-clamp: 5;
    }

    .home-category-card--has-subcategories .home-category-card__content {
        justify-content: center;
        width: 100%;
        padding: 20px 18px;
    }

    .home-category-card__subcategories a {
        min-height: 44px;
        font-size: 12px;
    }

    .home-product-lines {
        padding: 32px 14px 38px;
    }

    .home-product-lines__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .buscar input,
    #search,
    #nostyle {
        height: 44px;
    }

    .lupa,
    #nostyle {
        width: 52px;
    }

    .public-header__catalog,
    .public-header__contact,
    .public-header__actions {
        display: none;
    }

    .public-menu-toggle {
        grid-area: menu;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 56px;
        min-width: 44px;
        min-height: 44px;
        padding: 4px;
        border: 0;
        border-radius: 8px;
        background: var(--promologo-orange);
        color: #fff;
        cursor: pointer;
    }

    .public-menu-toggle svg,
    .public-navigation-close svg {
        width: 24px;
        height: 24px;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 2;
    }

    .public-navigation-row {
        position: relative;
        top: auto;
        z-index: 1400;
        height: 0;
        background: transparent;
        box-shadow: none;
    }

    .public-navigation-container {
        height: 0;
    }

    .public-navigation-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1400;
        display: block;
        width: 100%;
        height: 100%;
        padding: 0;
        border: 0;
        background: rgba(0, 0, 0, .48);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .2s ease, visibility .2s ease;
    }

    .public-navigation {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1410;
        display: flex;
        flex-direction: column;
        width: min(88vw, 360px);
        height: 100vh;
        height: 100dvh;
        padding: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: #fff;
        box-shadow: -14px 0 35px rgba(0, 0, 0, .22);
        transform: translateX(105%);
        visibility: hidden;
        pointer-events: none;
        transition: transform .24s ease, visibility 0s linear .24s;
    }

    .public-menu-open {
        overflow: hidden;
    }

    .public-menu-open .public-navigation-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .public-menu-open .public-navigation {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
        transition-delay: 0s;
    }

    .public-navigation-mobile-header {
        position: sticky;
        top: 0;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 64px;
        padding: 10px 14px 10px 20px;
        border-bottom: 1px solid var(--promologo-border);
        background: #fff;
        color: var(--promologo-text);
        font-size: 20px;
    }

    .public-navigation-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        border-radius: 8px;
        background: #f3f3f3;
        color: var(--promologo-text);
        cursor: pointer;
    }

    .public-navigation-mobile-tools {
        display: grid;
        gap: 8px;
        padding: 14px;
    }

    .public-navigation-mobile-tools--primary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-bottom: 1px solid var(--promologo-border);
    }

    .public-navigation-mobile-tools--footer {
        grid-template-columns: minmax(0, 1fr);
        margin-top: auto;
        padding-bottom: max(30px, env(safe-area-inset-bottom, 0px));
        border-top: 1px solid var(--promologo-border);
    }

    .public-navigation-mobile-tools a {
        display: flex;
        align-items: center;
        gap: 8px;
        min-height: 48px;
        padding: 8px 10px;
        border-radius: 7px;
        background: #f7f7f7;
        color: var(--promologo-text);
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
    }

    .public-navigation-mobile-tools--footer .public-catalog-download {
        border: 2px solid #f3cba8;
        background: #fffaf4;
        color: #176447;
        font-size: 15px;
        font-weight: 800;
        text-transform: uppercase;
    }

    .public-navigation-mobile-phone {
        grid-column: 1 / -1;
    }

    .public-navigation-mobile-tools a i {
        color: var(--promologo-orange);
    }

    .public-navigation-mobile-tools a span,
    .catalog-filter-toggle span {
        padding-top: 0;
    }

    .public-navigation-mobile-phone {
        padding: 6px 10px 0;
        color: var(--promologo-muted);
        font-size: 13px;
        line-height: 1.45;
    }

    .navbar {
        display: block;
        width: 100%;
        height: auto;
        margin: 0;
        background: #fff;
    }

    .navbar > a,
    .navbar > .dropdown {
        display: block;
        width: 100%;
        border-bottom: 1px solid var(--promologo-border);
    }

    .navbar a,
    .navbar .dropbutton,
    .navbar #home {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 48px;
        height: auto;
        padding: 11px 18px;
        background: #fff;
        color: var(--promologo-text);
        font-size: 14px;
        text-align: left;
    }

    .navbar #home {
        justify-content: flex-start;
        gap: 10px;
    }

    .navbar a:hover,
    .navbar a:focus,
    .navbar .dropbutton:hover,
    .navbar .dropbutton:focus {
        background: #fff2e5;
        color: var(--promologo-orange-dark);
    }

    .dropbutton-icon {
        display: block;
        flex: 0 0 22px;
        width: 22px;
        height: 22px;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 2;
        transition: transform .2s ease;
    }

    .dropdown.is-open .dropbutton-icon {
        transform: rotate(180deg);
    }

    .dropdown-content,
    .dropdown:hover .dropdown-content,
    .dropdown:focus-within .dropdown-content {
        position: static;
        display: none;
        width: 100%;
        max-width: none;
        max-height: none;
        padding: 4px 12px 10px;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: #fafafa;
        box-shadow: none;
    }

    .dropdown.is-open .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        min-height: 44px;
        padding: 10px 18px;
        border-radius: 6px;
        font-size: 14px;
    }

    .home-product-section {
        padding-right: 14px;
        padding-left: 14px;
    }

    .infinite-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .ruta {
        padding: 10px 14px 12px;
    }

    .catalog-page .ruta {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
    }

    .catalog-page .page-heading__inner {
        width: 100%;
        min-width: 0;
        margin: 0;
    }

    .page-heading__title {
        font-size: clamp(22px, 7vw, 28px);
    }

    .contactanos,
    .recovery-form-container,
    .cart-shell {
        width: min(calc(100% - 28px), 760px);
    }

    #contacto_form {
        padding: 16px;
    }

    #contacto_form > div,
    #re_clave > div:first-child {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }

    #contacto_form label {
        padding-top: 0;
        font-size: 16px;
    }

    #contacto_form button,
    #re_clave button,
    .form_boton input,
    .cart-actions button,
    .cart-actions a {
        min-height: 44px;
    }

    .acceder,
    .registrarse {
        float: none;
        width: min(calc(100% - 28px), 560px);
        margin: 18px auto;
        padding: 0;
    }

    .form_ingreso,
    .form_registro {
        width: 100%;
    }

    .catalog-page #content-wrap {
        padding-bottom: 80px;
    }

    .catalog-page .resultado {
        padding: 16px 14px 0;
    }

    .catalog-page .resultado > .row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .catalog-filter-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-width: 112px;
        min-height: 44px;
        margin-top: 0;
        padding: 8px 16px;
        border: 0;
        border-radius: 7px;
        background: var(--promologo-orange);
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
    }

    .catalog-page .infinite-catalog-controls {
        padding-bottom: 0;
    }

    .catalog-page .infinite-catalog-status {
        margin-bottom: 0;
    }

    .public-cart-page .cart-table-wrap {
        overflow: visible;
    }

    .public-cart-page .cart .table,
    .public-cart-page .cart .table tbody,
    .public-cart-page .cart .table tr,
    .public-cart-page .cart .table td {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .public-cart-page .cart .table {
        border: 0;
        background: transparent;
    }

    .public-cart-page .cart .table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .public-cart-page .cart .table tbody {
        display: grid;
        gap: 16px;
    }

    .public-cart-page .cart .table tr {
        overflow: hidden;
        border: 1px solid var(--promologo-border);
        border-radius: 10px;
        background: #fff;
    }

    .public-cart-page .cart .table td {
        display: grid;
        grid-template-columns: 82px minmax(0, 1fr);
        align-items: center;
        gap: 12px;
        padding: 11px 14px;
        border-bottom: 1px solid #eee;
        text-align: left;
        overflow-wrap: anywhere;
    }

    .public-cart-page .cart .table td::before {
        content: attr(data-label);
        color: var(--promologo-text);
        font-size: 13px;
        font-weight: 700;
    }

    .public-cart-page .cart .table td:last-child {
        border-bottom: 0;
    }

    .public-cart-page .cart .table .cart-product-media {
        display: block;
        padding: 14px;
    }

    .public-cart-page .cart .table .cart-product-media::before {
        display: none;
    }

    .public-cart-page .cart-product-image {
        min-height: 210px;
    }

    .public-cart-page .cart-product-image img {
        width: 100%;
        height: 210px;
    }

    .public-cart-page .cart .remove {
        display: block;
        min-height: 44px;
        margin-top: 4px;
        text-align: left;
    }

    .public-cart-page .cart-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .public-cart-page .cart-actions #myBtn,
    .public-cart-page .cart-actions #goback {
        width: 100%;
        min-height: 48px;
    }

    .catalog-filter-toggle svg,
    .catalog-filter-close svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 2;
    }

    .catalog-filter-toggle:focus-visible,
    .catalog-filter-close:focus-visible,
    .catalog-filters a:focus-visible,
    .catalog-filters button:focus-visible {
        outline: 2px solid var(--promologo-orange-dark);
        outline-offset: 3px;
    }

    .catalog-filter-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1500;
        display: block;
        width: 100%;
        height: 100%;
        padding: 0;
        border: 0;
        background: rgba(0, 0, 0, .48);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .2s ease, visibility .2s ease;
    }

    .catalog-page .catalog-filters {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1510;
        display: flex;
        flex-direction: column;
        width: min(88vw, 360px);
        height: 100vh;
        height: 100dvh;
        padding: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: #fff;
        box-shadow: -14px 0 35px rgba(0, 0, 0, .22);
        transform: translateX(105%);
        visibility: hidden;
        pointer-events: none;
        transition: transform .24s ease, visibility 0s linear .24s;
    }

    .catalog-filters-open {
        overflow: hidden;
    }

    .catalog-filters-open .catalog-filter-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .catalog-filters-open .catalog-filters {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
        transition-delay: 0s;
    }

    .catalog-filters__header {
        position: sticky;
        top: 0;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 64px;
        padding: 10px 14px 10px 20px;
        border-bottom: 1px solid var(--promologo-border);
        background: #fff;
        font-size: 20px;
    }

    .catalog-filter-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        border-radius: 8px;
        background: #f3f3f3;
        color: var(--promologo-text);
        cursor: pointer;
    }

    .catalog-filters__body {
        padding: 16px 14px max(30px, env(safe-area-inset-bottom, 0px));
    }

    .catalog-page .catalog-filters .titulo_explorador {
        padding: 11px 12px;
    }

    .catalog-filter-section-toggle {
        min-height: 48px;
        cursor: pointer;
    }

    .catalog-filter-section-toggle svg {
        display: block;
        transition: transform .2s ease;
    }

    .catalog-filters__section.is-open .catalog-filter-section-toggle svg {
        transform: rotate(180deg);
    }

    .catalog-filter-section-content {
        display: none;
    }

    .catalog-filters__section.is-open .catalog-filter-section-content {
        display: block;
    }

    .catalog-page .catalog-filters .inner {
        padding: 8px 10px 10px;
    }

    .catalog-page .catalog-filters .dropbtn,
    .catalog-page .catalog-filters .menu_explorador_colores a {
        min-height: 44px;
    }

    .home-benefits {
        padding: 24px 14px 38px;
    }

    .home-benefits__inner > h2 {
        margin-bottom: 20px;
    }

    .home-benefits__grid {
        grid-template-columns: minmax(0, 420px);
        justify-content: center;
        gap: 18px;
    }

    .home-benefit-card__body {
        padding: 18px 16px 22px;
    }

    .home-benefit-card__body h3 {
        margin-bottom: 14px;
    }

    .row:has(> .foto-categoria) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding-right: 14px;
        padding-left: 14px;
    }

    .foto-categoria {
        min-height: 300px;
        padding: 12px;
    }

    .foto-categoria .foto {
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 0;
        overflow: hidden;
        aspect-ratio: 1 / 1;
        background: #fff;
    }

    .foto-categoria .foto img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .home-about {
        padding-inline: 12px;
    }

    .home-about__content {
        padding: 18px 0 22px;
    }

    .home-product-carousel__viewport {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .home-product-carousel__viewport::-webkit-scrollbar {
        display: none;
    }

    .home-product-grid {
        display: flex;
        gap: 12px;
        width: 100%;
    }

    .home-product-grid .product-card {
        flex: 0 0 calc((100% - 12px) / 2);
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .home-product-carousel__controls {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        margin-top: 12px;
    }

    .resultados_busqueda {
        padding: 14px;
    }

    .resultados_busqueda .fotos_busqueda {
        width: 100%;
        min-height: 330px;
    }

    .product-gallery-stage {
        min-height: 300px;
    }

    .product-gallery-main-image {
        height: 300px;
    }

    .product-gallery-control {
        width: 36px;
        height: 36px;
    }

    .product-gallery-control--previous {
        left: 8px;
    }

    .product-gallery-control--next {
        right: 8px;
    }

    .product-gallery-thumbnail {
        flex-basis: 68px;
        width: 68px;
        height: 68px;
    }

    .resultados_busqueda .texto_busqueda {
        width: 100%;
        height: auto;
        padding: 24px 4px;
    }
}

@media only screen and (max-width: 479px) {
    .public-header__logo img {
        width: min(100%, 165px);
    }

    .row:has(> .foto-categoria),
    .infinite-product-grid {
        grid-template-columns: 1fr;
    }

    .foto-categoria {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-card,
    .home-color-option,
    #nostyle,
    .navbar a,
    .navbar .dropbutton,
    .public-navigation,
    .public-navigation-backdrop,
    .dropbutton-icon,
    .catalog-filters,
    .catalog-filter-backdrop,
    .catalog-filter-section-toggle svg,
    .home-product-grid,
    .home-category-card__media img,
    .home-category-card__button {
        transition: none;
    }
}
