
body.dark {
    background: #040507;
}


/*20210406 UPDATE*/
.carousel-products {
    margin-bottom: 30px;
}

/*FB CHAT*/
.fb_dialog,
.fb_customer_chat_bounce_in_v2,
.fb_customer_chat_bounce_out_v2 {
    left: auto !important;
    right: 20pt !important;
    bottom: 70pt !important
}

.fb_dialog {
    background: none !important;
}

.tempCardImg {
    width: 100%;
    height: 150px;
    object-fit: scale-down;
    background-position: center center !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
}

/*Products Card Last and Top*/
.tempCardImgCat {
    width: 100%;
    height: 210px;
    object-fit: scale-down;
    background-position: center center !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
}

/*Products Card Last and Top*/
.tempCardImgRV {
    width: 100%;
    height: 120px;
    display: block;
    object-fit: scale-down;
    background-position: center center !important;
    background-size: contain !important;
    background-repeat: no-repeat !important
}

/*Recen View Module*/
.card {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cardProd {
    height: 230px;
}

.cardProdCat {
    height: 280px;
}

.ItemDesCont {
    font-size: 110%;
}

.ItemDesCont img {
    max-width: 100%;
    height: auto;
}

.PageDesCont img {
    max-width: 100%;
    height: auto;
}

.ItemSpecTit {
    background: #eee;
    color: #999;
    position: relative;
    left: -35px;
    top: 5px;
    font-size: 30px;
    letter-spacing: 1pt;
    width: 106%;
    font-weight: normal;
    padding: 5px 20px;
    margin: 0 10px 30px 0;
    transition: all 0.5s ease;
}

.ItemSpecTit:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    border-style: solid;
    border-width: 0 15px 15px 0;
    border-color: transparent #333 transparent transparent;
}

.ItemSpecTit:hover {
    background: #999;
    color: #eee;
    text-decoration: none;
    transition: all 0.5s ease;
}

.ItemSpecCont img {
    max-width: 100%;
    height: auto;
}

/*----------*/

.carousel-cb .carousel-control-prev {
    left: -22px;
}

.carousel-cb .carousel-control-next {
    right: -22px;
}


.carousel-cb .carousel-indicators {
    bottom: -35px;
}

.carousel-cb .carousel-indicators li,
.carousel-sli .carousel-indicators li {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 1px;
    text-indent: -999px;
    border: 1px solid #ccc;
    border-radius: 10px;
    cursor: pointer;
    background-color: #000;
    background-color: rgba(0, 0, 0, 0);
}

.carousel-cb .carousel-indicators .active,
.carousel-sli .carousel-indicators .active {
    margin: 0;
    width: 12px;
    height: 12px;
    background-color: #bbb;
}

/* Botones de navegaciÃ³n laterales con Font Awesome */
.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    background-color: black;
    /* Fondo blanco */
    border-radius: 50%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    /* Sombra */
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    /* Quita bordes adicionales */
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: #0000FF;
    /* Fondo mÃ¡s claro al pasar el mouse */
}

/* Ajuste del tamaÃ±o y color de los Ã­conos */
.carousel-control-prev i,
.carousel-control-next i {
    font-size: 18px;
    color: white;
    /* Color del Ã­cono */
}

.carousel-control-prev {
    left: -20px;
    /* Ajuste de posición a la izquierda */
}

.carousel-control-next {
    right: -20px;
    /* Ajuste de posición a la derecha */
}

/*PARALLAX*/


.scrollingElement {
    overflow: scroll;
    position: absolute;
    top: 213px;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow-y: auto;
}

.parallax-container {
    height: 300px;
    width: 100%;
}


.parallax-window {
    min-height: 280px;
    background: transparent;
}

.parallax-window-b {
    min-height: 250px;
    background: transparent;
}

/*OTHER*/

.top {
    border-bottom: 1px solid #1967be;
    height: auto;
    overflow: hidden;
    background: #fff;
}

.top .top-sup-logo {
    padding: 5px 0;
    text-align: center
}

.top .top-sup-logo img {
    max-height: 110px
}

.cont-img-card-prod {
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 5px;
}

.cont-img-card-prod img {
    max-height: 140px;
    object-fit: contain;
    width: 100%;
    margin: auto;
    display: block;
}

.img-card-prod {
    max-height: 150px;
    object-fit: contain;
    width: 100%;
    margin: auto;
    display: block;
}


.contGen {
    background: #FFF;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1)
}

/*STYLES 2017-06-16*/
.pri_fin {
    font-size: 22px;
    color: #EC6B18;
    font-weight: normal;
}

.pri_finBF {
    font-size: 24px;
    color: #eee;
    font-weight: normal;
}

.pri_ant {
    font-weight: normal;
    text-decoration: line-through;
}

.pri_aho {
    color: #EC6B18;
    font-weight: normal;
}

.label-pri {
    font-size: 16px;
    text-align: right;
}

table.prices {
    width: 100%
}

/*STYLES 2017-11-16*/
.cat-pri_fin {
    font-size: 18px;
    color: #EC6B18;
    font-weight: normal;
}

.cat-pri_ant {
    font-weight: normal;
    text-decoration: line-through;
    color: #666
}

.cat-pri_aho {
    color: #EC6B18;
    font-weight: normal;
}

.cat-label-pri {
    font-size: 13px;
    color: #999;
    text-align: right;
    padding-right: 15px
}

table.cat-prices {
    width: 100%
}

/**/
/*BEG ESTILOS FINALES A PASAR AL CSC GEN*/
.vmod-item-pri {
    color: #EC6B18
}

.vmod-item-pri:hover {
    color: #fff;
    background: #EC6B18
}

.vmod-item-priBF {
    color: #000;
    font-size: 105%;
}

.vmod-item-priBF:hover {
    color: #fff;
    background: #EC6B18
}

.label-priBF {
    font-size: 110%;
}

/*END ESTILOS FINALES A PASAR AL CSC GEN*/

/*20190403*/
#footer {
    background: #e0e0e0;
}

#copyright {
    background: #666666;
}

.prod-img {
    webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    border-color: #eeeeee !important;
}

.prod-img:hover {
    -webkit-transform: scale(1.02);
    -moz-transform: scale(1.02);
    -o-transform: scale(1.02);
    -ms-transform: scale(1.02);
    transform: scale(1.02);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border-color: #999999 !important;
}

/* Estilos específicos para imagen de producto con galería */
.prod-img-gall img {
    max-height: 270px;
}

/* Estilos específicos para imagen de producto sin galería */
.prod-img-nogall img {
    max-height: 380px;
}

/*OTHER*/
.media-search {
    padding: 15px 5px 15px 5px;
    margin: 0;
    background: #fff;
    border-bottom: 1px dotted #ddd;
    transition: all 0.5s ease
}

.media-search:hover {
    background: #eee;
    transition: all 0.5s ease
}

/*20230214*/
#loading {
    font-size: 60%;
    margin-top: 5px;
}

#loading>.alert {
    margin: 0;
    padding: 5px;
}

/*20230308*/
.vcat-cat {
    transition: transform 0.2s ease-out;
    /* Transición suave al cambiar el tamaño */
}

.vcat-cat:hover {
    transform: scale(1.02);
    /* Aumenta el tamaño en un 2% */
}

.vcat-item {
    border-color: #eee;
    transition: border-color 0.5s ease-out;
    /* Transición suave al cambiar el tamaño */
}

.vcat-item:hover {
    border-color: #3459e6;
    /* Aumenta el tamaño en un 2% */
}

/*20231120 Styles BF*/

.cardPriceBF {
    background-color: #000;
    color: #eee;
}

/*BEG MOD MEGA MENU*/

@media (min-width: 768px) {
    .collapse.dont-collapse-sm {
        display: block;
        height: auto !important;
        visibility: visible;
    }
}

#collapseMainMenu {
    font-weight: inherit;
}

#collapseMainMenu ul.mainMenu {
    padding: 0;
}

#collapseMainMenu ul.mainMenu li {
    padding: 0;
    text-transform: uppercase;
    border: 0px none;
    border-top: 1px solid #ddd;
    border-radius: 4px
}

#collapseMainMenu ul.mainMenu li:first-child {
    border: 0px none;
}

#collapseMainMenu.in ul.mainMenu li {
    text-align: center;
}

#collapseMainMenu ul.mainMenu li:hover {
    background-color: #3598dc;
}

#collapseMainMenu ul.mainMenu li a {
    color: #555555;
    font-size: 14px;
    font-weight: bold;
    line-height: 39px;
    display: block;
    padding: 0 14px;
    text-decoration: none;
}

#collapseMainMenu ul.mainMenu li a:hover {
    color: #ffffff;
    text-decoration: none;
}

.panel-mainmenu {
    font-weight: inherit;
}

.panel-mainmenu a:hover {
    text-decoration: none;
}

.panel-mainmenu .panel-heading {
    padding: 0;
}

.panel-mainmenu .panel-heading:hover {
    background: #3598dc;
}

.panel-mainmenu .panel-heading .panel-title {
    font-size: 20px;
}

.panel-mainmenu .panel-heading a {
    color: #3598dc;
    font-weight: bold;
    line-height: 30px;
    padding: 10px;
    display: block;
}

.panel-mainmenu .panel-heading a:hover {
    color: #fff;
}

.mainMenuSearch {
    font-weight: inherit;
}

.mainMenuSearch label {
    position: absolute;
    cursor: text;
    left: 0;
    top: 0;
    padding: 0 14px;
    line-height: 39px;
}

.mainMenuSearch label.fa {
    color: #2780e3;
    font-size: 18pt;
    letter-spacing: 13px;
    line-height: inherit;
}

.mainMenuSearch input {
    width: 100%;
    height: 39px;
    padding: 0 20px 0 40px;
    font-size: inherit;
    -webkit-appearance: none;
    opacity: 0.01;
    color: #ffffff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.mainMenuSearch input:hover {
    background-color: #eeeeee;
    color: #555555;
}

.mainMenuSearch input:focus {
    opacity: 1;
}

/*END MOD MEGA MENU*/

/*DEBUG*/
.debug-cache {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 12px;
    border-radius: 6px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 11px;
    min-width: 280px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    opacity: 0.85;
    transition: opacity 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.debug-cache:hover {
    opacity: 1;
}

.debug-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.debug-header h4 {
    margin: 0;
    color: #64B5F6;
    font-size: 12px;
    font-weight: normal;
}

.cache-badge {
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.cache-badge.cached {
    background: #4CAF50;
    color: #fff;
}

.cache-badge.fresh {
    background: #FF5722;
    color: #fff;
}

.timestamp-item {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.timestamp-item:last-child {
    border-bottom: none;
}

/* New cache debug styles */
.debug-section {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.debug-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cache-item {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.cache-item:last-child {
    border-bottom: none;
}

.cache-name {
    font-size: 10px;
    color: #E1F5FE;
    margin-bottom: 2px;
}

.cache-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 9px;
}

.cache-age {
    color: #FFC107;
}

.cache-ttl {
    color: #81C784;
}

.cache-status-badge {
    padding: 1px 4px;
    border-radius: 2px;
    font-size: 8px;
    font-weight: bold;
    text-transform: uppercase;
}

.cache-status-badge.valid {
    background: #4CAF50;
    color: #fff;
}

.cache-status-badge.expired {
    background: #F44336;
    color: #fff;
}

.cache-valid {
    color: #4CAF50;
    font-weight: bold;
}

.cache-expired {
    color: #F44336;
    font-weight: bold;
}

.main-cache {
    background: rgba(33, 150, 243, 0.1);
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.cache-stats {
    background: rgba(76, 175, 80, 0.1);
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.cache-details {
    background: rgba(255, 193, 7, 0.1);
    padding: 8px;
    border-radius: 4px;
}

/* Enhanced cache item styles */
.cache-item {
    padding: 8px;
    margin-bottom: 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
}

.cache-item.valid {
    border-left: 4px solid #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.cache-item.expired {
    border-left: 4px solid #F44336;
    background: rgba(244, 67, 54, 0.1);
}

.cache-item.warning {
    border-left: 4px solid #FF9800;
    background: rgba(255, 152, 0, 0.1);
}

.cache-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cache-name {
    font-size: 11px;
    color: #E1F5FE;
    font-weight: bold;
}

.cache-details {
    font-size: 9px;
}

.cache-row {
    display: flex;
    justify-content: space-between;
    padding: 1px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.cache-row:last-child {
    border-bottom: none;
}

.cache-label {
    color: #B0BEC5;
    font-weight: normal;
}

.cache-value {
    color: #E0E0E0;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

.cache-status-badge {
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 8px;
    font-weight: bold;
    text-transform: uppercase;
}

.cache-status-badge.valid {
    background: #4CAF50;
    color: #fff;
}

.cache-status-badge.expired {
    background: #F44336;
    color: #fff;
}

.cache-status-badge.warning {
    background: #FF9800;
    color: #fff;
}

.cache-remaining {
    color: #4CAF50;
    font-weight: bold;
}

.debug-footer {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #666;
}

.timestamp-item.highlight {
    background: rgba(255, 255, 255, 0.05);
    margin: 2px -12px;
    padding: 3px 12px;
}

.timestamp-item .label {
    color: #9E9E9E;
    margin-right: 10px;
}

.timestamp-item .value {
    color: #FFF;
}

/*CATEGORY*/
/* Estilos para cards de categoría */
.category-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-card .card-header {
    padding: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--bs-primary);
}

/* Contenedor de imagen con altura fija */
.category-card .card-img {
    height: 180px;
    padding: 0.5rem;
}

.category-image {
    width: 100%;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

.category-image.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bs-gray-100);
}

/* Nuevo diseño moderno para cards de categoría */
.category-card-modern {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    background: white;
    position: relative;
}

.category-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(74, 90, 189, 0.15) !important;
    border-color: rgba(74, 90, 189, 0.3);
}

/* Efecto de hover con gradiente animado */
.category-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #4A5ABD, #E67A2E, #4A5ABD);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
    z-index: -1;
}

.category-card-modern:hover::before {
    opacity: 0.05;
}

.category-image-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #4A5ABD 0%, #E67A2E 100%);
}

.category-image {
    width: 100%;
    height: 120px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.category-card-modern:hover .category-image {
    transform: scale(1.05);
}

.category-no-image {
    background: linear-gradient(135deg, #4A5ABD 0%, #E67A2E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.category-default-icon {
    font-size: 2rem;
    color: white;
}

.category-body {
    background: white;
    flex-grow: 1;
    min-height: 60px;
}

.category-title {
    font-weight: 600;
    font-size: 1rem;
    color: #2d3748;
    line-height: 1.2;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.category-card-modern:hover .category-title {
    color: #4A5ABD;
}

/* Variaciones de gradientes con tu paleta de colores */
.category-card-modern:nth-child(odd) .category-image-container,
.category-card-modern:nth-child(odd) .category-no-image {
    background: linear-gradient(135deg, #4A5ABD 0%, #E67A2E 100%);
}

.category-card-modern:nth-child(even) .category-image-container,
.category-card-modern:nth-child(even) .category-no-image {
    background: linear-gradient(135deg, #E67A2E 0%, #4A5ABD 100%);
}

.category-card-modern:nth-child(3n) .category-image-container,
.category-card-modern:nth-child(3n) .category-no-image {
    background: linear-gradient(45deg, #4A5ABD 0%, #E67A2E 50%, #4A5ABD 100%);
}

/* Clases específicas para título de categoría */
.category-title-icon {
    background: linear-gradient(135deg, #4A5ABD 0%, #E67A2E 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.category-title-divider {
    height: 3px;
    background: linear-gradient(135deg, #5B6BCF 0%, #F8FAFC 100%);
    border-radius: 2px;
    opacity: 0.8;
}

/* === DISEÑO CIRCULAR COMPACTO DE CATEGORÍAS === */
/* Estilo Marcimex - Simple y elegante */

.category-circle-wrapper {
    width: 100%;
    max-width: 120px;
    margin: 0 auto;
}

.category-circle {
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* Mantiene proporción 1:1 (círculo perfecto) */
    border-radius: 50%;
    background-color: #f5f5f5;
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-circle-no-image {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.category-circle-no-image i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Efecto hover en el círculo */
a:hover .category-circle {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(74, 90, 189, 0.2);
}

/* Nombre de la categoría debajo del círculo */
.category-circle-name {
    display: block;
    font-weight: 500;
    font-size: 0.85rem;
    line-height: 1.3;
    color: #333;
    transition: color 0.3s ease;
    word-wrap: break-word;
    max-width: 100%;
}

a:hover .category-circle-name {
    color: #4A5ABD;
}

/* Responsive - ajustar tamaños en móviles */
@media (max-width: 576px) {
    .category-circle-wrapper {
        max-width: 80px;
    }
    
    .category-circle-name {
        font-size: 0.75rem;
    }
    
    .category-circle-no-image i {
        font-size: 1.2rem !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .category-circle-wrapper {
        max-width: 100px;
    }
}

/* === FIN DISEÑO CIRCULAR === */

/* === DISEÑO CIRCULAR PARA MARCAS === */
/* Igual que categorías pero con fondo blanco para los logos */

.brand-circle-wrapper {
    width: 100%;
    max-width: 120px;
    margin: 0 auto;
}

.brand-circle {
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* Mantiene proporción 1:1 (círculo perfecto) */
    border-radius: 50%;
    background-color: #fff; /* Fondo blanco para logos de marcas */
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #e9ecef; /* Borde sutil para definir el círculo */
}

.brand-circle-no-image {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.brand-circle-no-image i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Efecto hover en el círculo de marca */
a:hover .brand-circle {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(74, 90, 189, 0.2);
    border-color: #4A5ABD; /* Borde azul en hover */
}

/* Nombre de la marca debajo del círculo */
.brand-circle-name {
    display: block;
    font-weight: 500;
    font-size: 0.85rem;
    line-height: 1.3;
    color: #333;
    transition: color 0.3s ease;
    word-wrap: break-word;
    max-width: 100%;
}

a:hover .brand-circle-name {
    color: #4A5ABD;
}

/* Responsive - ajustar tamaños en móviles para marcas */
@media (max-width: 576px) {
    .brand-circle-wrapper {
        max-width: 80px;
    }
    
    .brand-circle-name {
        font-size: 0.75rem;
    }
    
    .brand-circle-no-image i {
        font-size: 1.2rem !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .brand-circle-wrapper {
        max-width: 100px;
    }
}

/* === FIN DISEÑO CIRCULAR MARCAS === */

/* Estilos de productos */
.product-card {
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--bs-primary);
}

.product-img-container {
    width: 100%;
    height: 150px;
    background-position: center center !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
}

.product-title {
    font-size: 0.9rem;
    height: 4rem;
    /* Aproximadamente 3 líneas */
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--bs-dark);
}

.product-price {
    font-weight: bold;
    color: var(--bs-primary);
    font-size: 1.1rem;
}

/* Nombre de producto en tarjetas de carousel - Estilo NOVICOMPU limpio */
.product-card-name {
    min-height: 3.6rem;
    /* 3 líneas × 1.4 line-height */
    display: -webkit-box; /* Necesario para -webkit-line-clamp */
    display: box; /* Fallback estándar (no ampliamente soportado) */
    -webkit-line-clamp: 3; /* Webkit prefixed - ampliamente soportado */
    line-clamp: 3; /* Propiedad estándar para compatibilidad futura */
    -webkit-box-orient: vertical; /* Necesario para -webkit-line-clamp */
    box-orient: vertical; /* Fallback estándar */
    overflow: hidden;
    line-height: 1.2;
    text-align: center;
    color: var(--bs-dark);
}

.card-text.badge {
    color: var(--bs-secondary);
    font-weight: 500;
}

.product-price-container {
    margin-top: 0.5rem;
}

.brand-logo {
    max-height: 90px;
    width: auto;
    object-fit: contain;
}

.hover-shadow:hover {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.transition-300 {
    transition: all 0.3s ease;
}

/*BRAND*/
/* Estilos modernos para cards de marcas */
.brand-card-modern {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    background: white;
    position: relative;
}

.brand-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(74, 90, 189, 0.15) !important;
    border-color: rgba(74, 90, 189, 0.3);
    background: white;
}

/* Efecto de hover con gradiente animado para marcas */
.brand-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #4A5ABD, #E67A2E, #4A5ABD);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
    z-index: -1;
}

.brand-card-modern:hover::before {
    opacity: 0.05;
}

.brand-image-container {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 105px;
}

.brand-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.brand-card-modern:hover .brand-image-wrapper {
    transform: scale(1.05);
}

.brand-logo-modern {
    max-height: 80px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.brand-no-image {
    background: linear-gradient(135deg, #4A5ABD 0%, #E67A2E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.brand-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.brand-default-icon {
    font-size: 1.8rem;
    color: white;
}

.brand-body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    flex-grow: 1;
    min-height: 50px;
}

.brand-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #2d3748;
    line-height: 1.2;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.brand-card-modern:hover .brand-title {
    color: #4A5ABD;
}

/* Estilos para la página de detalle de marca */
.brand-logo-showcase {
    max-width: 180px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-detail {
    max-height: 75px;
    width: auto;
    object-fit: contain;
}

.brand-logo-placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #4A5ABD 0%, #E67A2E 100%);
}

.brand-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #6c757d;
}

.brand-header {
    margin-bottom: 2rem;
}

.brand-categories {
    margin-top: 2rem;
}

/* Variaciones de gradientes para brands */
.brand-card-modern:nth-child(odd) .brand-no-image {
    background: linear-gradient(135deg, #4A5ABD 0%, #E67A2E 100%);
}

.brand-card-modern:nth-child(even) .brand-no-image {
    background: linear-gradient(135deg, #E67A2E 0%, #4A5ABD 100%);
}

.brand-card-modern:nth-child(3n) .brand-no-image {
    background: linear-gradient(45deg, #4A5ABD 0%, #E67A2E 50%, #4A5ABD 100%);
}

/* Logos de marcas tradicionales */
.brand-logo {
    max-height: 150px;
    width: auto;
    object-fit: contain;
}

.category-img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

.hover-shadow:hover {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.transition-300 {
    transition: all 0.3s ease;
}

/* Modern Product Pricing Styles */
.product-pricing {
    animation: fadeInUp 0.6s ease-out;
}

.product-pricing .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-pricing .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.price-final {
    font-weight: 700 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    animation: priceHighlight 2s ease-in-out;
}

.pri_ant .text-decoration-line-through {
    font-size: 1rem;
    opacity: 0.7;
}

.pri_finBF .price-final {
    color: #28a745 !important;
    text-shadow: 0 0 10px rgba(40, 167, 69, 0.3);
}

.cardPriceBF {
    background: linear-gradient(135deg, #343a40 0%, #495057 100%);
    color: white;
    border-radius: 8px;
}

.cardPriceBF td {
    background: transparent !important;
}

.label-priBF {
    animation: pulse 2s infinite;
}

.pri_aho .badge {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    animation: bounceIn 1s ease-out;
}

.breadcrumb-item a {
    color: #888;
    font-weight: 500;
    text-decoration: none;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 0.825rem;
    text-transform: uppercase !important;
}

.breadcrumb-item a:hover {
    color: #555;
    text-decoration: none;
}

.product-title-h1 {
    font-size: 2.0rem;
    font-weight: bold;
}

/* CONTACT */

.contact-hero {
    background: var(--gradient-mixed) !important;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23pattern)"/></svg>');
    opacity: 0.5;
}

.contact-hero .hero-content {
    position: relative;
    z-index: 2;
}

.contact-hero .hero-image {
    position: relative;
    z-index: 2;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-main {
    position: relative;
}

.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

.contact-info-item {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #ffc107;
}

.contact-info-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-info-item .icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffc107, #ff8c00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-right: 1rem;
}

.social-media-bar {
    background: #343a40;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
}

.social-link:hover {
    background: #ffc107;
    color: #343a40;
    transform: translateY(-2px);
}

.social-link.facebook:hover {
    background: #3b5998;
    color: white;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.social-link.twitter:hover {
    background: #1da1f2;
    color: white;
}

.social-link.youtube:hover {
    background: #ff0000;
    color: white;
}

.social-link.linkedin:hover {
    background: #0077b5;
    color: white;
}

.social-link.whatsapp:hover {
    background: #25d366;
    color: white;
}

.office-hours {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.office-hours .day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #dee2e6;
}

.office-hours .day:last-child {
    border-bottom: none;
}

.office-hours .hours {
    font-weight: 600;
    color: #28a745;
}

.office-hours .closed {
    color: #dc3545;
}

.faq-section .accordion-button {
    background: white;
    border: none;
    border-radius: 10px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.5rem;
}

.faq-section .accordion-button:not(.collapsed) {
    background: #ffc107;
    color: #343a40;
}

.faq-section .accordion-body {
    background: #f8f9fa;
    border-radius: 0 0 10px 10px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes priceHighlight {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

/*===================================
  RESPONSIVE STYLES - BOOTSTRAP 5.3.8
=====================================*/

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {

    /* Debug cache adjustments for very small screens */
    .debug-cache {
        bottom: 5px;
        right: 5px;
        left: 5px;
        min-width: auto;
        font-size: 10px;
        padding: 8px;
    }

    /* Category icons for very small screens */
    .category-icon-wrapper {
        width: 50px;
        height: 50px;
    }

    .category-default-icon {
        font-size: 1.2rem;
    }

    /* Brand icons for very small screens */
    .brand-icon-wrapper {
        width: 50px;
        height: 50px;
    }

    .brand-default-icon {
        font-size: 1.2rem;
    }
}

/* Medium devices (tablets, 768px and down) */
@media (max-width: 767.98px) {

    /* Product images without gallery */
    .prod-img-nogall img {
        max-height: 240px;
    }

    /* Product title */
    .product-title-h1 {
        font-size: 1.7rem;
    }

    /* Debug cache */
    .debug-cache {
        bottom: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
    }

    /* Categories */
    .category-card .card-img {
        height: 150px;
    }

    .category-image {
        height: 80px;
    }

    .category-body {
        padding: 0.8rem;
        min-height: 50px;
    }

    .category-title {
        font-size: 0.9rem;
    }

    .category-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .category-default-icon {
        font-size: 1.5rem;
    }

    /* Products */
    .product-img-container {
        height: 120px;
    }

    .product-title {
        font-size: 0.85rem;
        height: 3.0rem;
    }

    /* Brands */
    .brand-image-container {
        min-height: 95px;
        padding: 0.75rem;
    }

    .brand-logo-modern {
        max-height: 60px;
    }

    .brand-body {
        padding: 0.8rem;
        min-height: 50px;
    }

    .brand-title {
        font-size: 0.9rem;
    }

    .brand-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .brand-default-icon {
        font-size: 1.5rem;
    }

    .brand-logo-showcase {
        max-width: 150px;
        min-height: 100px;
    }

    .brand-logo-detail {
        max-height: 50px;
    }

    .brand-logo-placeholder {
        width: 100px;
        height: 100px;
    }

    /* Pricing */
    .price-final {
        font-size: 1.25rem !important;
    }

    .product-pricing .card-header h5 {
        font-size: 1rem;
    }

    .prices table {
        font-size: 0.9rem;
    }

    /* Contact */
    .contact-hero .display-4 {
        font-size: 2rem;
    }

    .hero-stats .col-auto {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .stat-item {
        justify-content: center;
    }
}

/* ========================================
   GOOGLE MAPS COMPONENT STYLES
   ======================================== */

/* Maps container improvements */
.google-maps-section {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    padding: 2rem 1rem;
    margin: 2rem 0;
}

.google-maps-section h5 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
    font-weight: 600;
}

/* Map cards styling */
.map-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Map container styling for embedded iframes */
.map-container {
    position: relative;
    overflow: hidden;
}

.map-container iframe {
    width: 100% !important;
    height: 300px !important;
    border: none !important;
    border-radius: 0;
}

.map-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.map-card .card-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border-bottom: none;
    padding: 1rem 1.25rem;
    font-weight: 600;
}

.map-card .badge {
    font-size: 0.75em;
    padding: 0.4em 0.8em;
    border-radius: 20px;
}

.map-card .card-body {
    padding: 1.25rem;
}

.map-card .card-body p {
    margin-bottom: 0.75rem;
    color: #666;
    font-size: 0.95rem;
}

.map-card .card-body i {
    width: 20px;
    text-align: center;
}

/* Iframe responsive improvements */
.map-card iframe {
    transition: filter 0.3s ease;
    border-radius: 0;
}

.map-card:hover iframe {
    filter: brightness(1.1);
}

/* Contact buttons section */
.contact-buttons-section {
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-top: 2rem;
}

.contact-buttons-section .btn {
    transition: all 0.3s ease;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    min-width: 180px;
}

.contact-buttons-section .btn-success {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border: none;
    color: white;
}

.contact-buttons-section .btn-success:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.contact-buttons-section .btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    color: white;
}

.contact-buttons-section .btn-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

.contact-buttons-section .btn i {
    margin-right: 0.5rem;
    font-size: 1.1em;
}

/* Responsive adjustments for maps */
@media (max-width: 768px) {
    .google-maps-section {
        padding: 1.5rem 0.75rem;
        margin: 1rem 0;
    }
    
    .google-maps-section h5 {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .map-card .card-header {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .map-card .card-body {
        padding: 1rem;
    }
    
    .contact-buttons-section .btn {
        min-width: auto;
        width: 100%;
        margin-bottom: 0.75rem;
    }
    
    .contact-buttons-section .d-flex {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .google-maps-section h5 {
        font-size: 1rem;
        padding: 0.5rem;
    }
    
    .map-card {
        margin-bottom: 1rem;
    }
    
    .contact-buttons-section {
        padding: 1.5rem 0;
    }
}

/* Animation for map loading */
.map-card iframe {
    opacity: 0;
    animation: fadeInMap 1s ease forwards;
}

@keyframes fadeInMap {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Loading state for dynamic content */
.maps-loading {
    text-align: center;
    padding: 3rem;
    color: #fff;
}

.maps-loading i {
    font-size: 2rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   DEBUG CACHE FLOATING BUTTON
   ======================================== */

.debug-cache-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    animation: fadeInFloat 0.5s ease-in-out;
}

.debug-cache-float .btn {
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    padding: 0.75rem 1rem;
    min-width: 60px;
}

.debug-cache-float .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.debug-cache-float .btn i {
    font-size: 1.2em;
}

.debug-cache-float .badge {
    font-size: 0.7em;
    min-width: 18px;
    height: 18px;
    line-height: 1.2;
    border-radius: 50%;
}

@keyframes fadeInFloat {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Debug cache modal customizations */
#debugCacheModal .modal-dialog {
    max-width: 95vw;
}

#debugCacheModal .cache-preview {
    max-height: 200px;
    overflow-y: auto;
    font-size: 0.85em;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}

/* Cache raw content styling */
#debugCacheModal .cache-preview-full {
    max-height: 400px;
    overflow-y: auto;
    font-size: 0.8em;
    background: #1e1e1e;
    color: #d4d4d4;
    border: 1px solid #404040;
    border-radius: 0.375rem;
    padding: 1rem;
    white-space: pre-wrap;
    word-wrap: break-word;
}

#debugCacheModal .cache-raw-content {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1rem;
    background: #fafbfc;
}

/* Cache View Toggle */
#debugCacheModal .cache-view {
    transition: opacity 0.3s ease;
}

#debugCacheModal .btn-group .btn.active {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

/* Copy button styling */
#debugCacheModal .cache-raw-content .btn-outline-primary {
    border-color: #6c757d;
    color: #6c757d;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

#debugCacheModal .cache-raw-content .btn-outline-primary:hover {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

/* Cache details grid styling */
#debugCacheModal .cache-details-grid {
    background: #f8f9fa;
    border-radius: 0.375rem;
    padding: 0.75rem;
    border: 1px solid #dee2e6;
}

#debugCacheModal .detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0;
    border-bottom: 1px dotted #dee2e6;
}

#debugCacheModal .detail-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

#debugCacheModal .detail-label {
    font-weight: 600;
    color: #6c757d;
    font-size: 0.8rem;
}

#debugCacheModal .detail-value {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.75rem;
    color: #495057;
    text-align: right;
}

/* Table row colors with better visibility */
#debugCacheModal .table-success {
    background-color: rgba(25, 135, 84, 0.1);
    border-left: 4px solid #198754;
}

#debugCacheModal .table-info {
    background-color: rgba(13, 202, 240, 0.1);
    border-left: 4px solid #0dcaf0;
}

#debugCacheModal .table-warning {
    background-color: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
}

#debugCacheModal .table-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border-left: 4px solid #dc3545;
}

/* Badge improvements */
#debugCacheModal .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.5rem;
}

#debugCacheModal .badge i {
    margin-right: 0.25rem;
}

/* JSON syntax highlighting simulation */
#debugCacheModal .cache-preview-full .json-key {
    color: #9cdcfe;
}

#debugCacheModal .cache-preview-full .json-string {
    color: #ce9178;
}

#debugCacheModal .cache-preview-full .json-number {
    color: #b5cea8;
}

#debugCacheModal .cache-preview-full .json-boolean {
    color: #569cd6;
}

#debugCacheModal .cache-preview-full .json-null {
    color: #808080;
}

#debugCacheModal .table-responsive {
    border-radius: 0.375rem;
    border: 1px solid #dee2e6;
}

#debugCacheModal .sticky-top {
    top: 0;
    z-index: 10;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .debug-cache-float {
        bottom: 15px;
        right: 15px;
    }
    
    .debug-cache-float .btn {
        padding: 0.6rem 0.8rem;
        min-width: 50px;
    }
    
    #debugCacheModal .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100vw - 1rem);
    }
    
    #debugCacheModal .table-responsive {
        font-size: 0.85em;
    }
}

@media (max-width: 768px) {
  .ratio-4x3 {
    --bs-aspect-ratio: 100%; /* 1:1 en pantallas medianas y superiores */
  }
}