/* Lista mejorada y vista de productos optimizada */

/* Vista de lista - 1 producto por fila */
.col-100.col-size .cr-product-box {
    width: 100%;
    margin-bottom: 20px;
}

.col-100.col-size .cr-product-box .cr-product-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 180px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.col-100.col-size .cr-product-box .cr-product-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Contenedor de imagen optimizado */
.col-100.col-size .cr-product-box .cr-product-card .cr-product-image {
    flex-shrink: 0;
    width: 250px;
    height: 180px;
    margin-right: 20px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.col-100.col-size .cr-product-box .cr-product-card .cr-product-image .cr-image-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.col-100.col-size .cr-product-box .cr-product-card .cr-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.col-100.col-size .cr-product-box .cr-product-card:hover .cr-product-image img {
    transform: scale(1.05);
}

/* Botones de acción en imagen */
.col-100.col-size .cr-product-box .cr-product-card .cr-product-image .cr-side-view {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transition: all 0.3s ease;
}

.col-100.col-size .cr-product-box .cr-product-card:hover .cr-product-image .cr-side-view {
    opacity: 1;
    right: 15px;
}

.col-100.col-size .cr-product-box .cr-product-card .cr-product-image .cr-shopping-bag {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.col-100.col-size .cr-product-box .cr-product-card:hover .cr-product-image .cr-shopping-bag {
    opacity: 1;
    transform: scale(1.1);
}

/* Contenido del producto optimizado */
.col-100.col-size .cr-product-box .cr-product-card .cr-product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    text-align: left;
}

/* Información superior */
.col-100.col-size .cr-product-box .cr-product-card .cr-product-details .product-info {
    flex: 1;
}

.col-100.col-size .cr-product-box .cr-product-card .cr-product-details .cr-brand {
    margin-bottom: 8px;
}

.col-100.col-size .cr-product-box .cr-product-card .cr-product-details .cr-brand a {
    justify-content: flex-start;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.col-100.col-size .cr-product-box .cr-product-card .cr-product-details a.title {
    justify-content: flex-start;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #2b2b2d;
    display: block;
}

.col-100.col-size .cr-product-box .cr-product-card .cr-product-details a.title:hover {
    color: #f44336;
}

/* Descripción del producto (si existe) */
.col-100.col-size .cr-product-box .cr-product-card .cr-product-details .product-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Vista de grid normal - 4 productos por fila con más altura */
/* Selector súper específico para anular todas las reglas existentes */
html body main .cr-product-box:not([class*="col-"]) .cr-product-card,
html body main .cr-product-box.col-25 .cr-product-card,
html body main .cr-product-box.col-lg-3 .cr-product-card,
html body main .cr-product-box.col-md-4 .cr-product-card,
html body main .cr-product-box.col-sm-6 .cr-product-card {
    min-height: 440px !important; /* Aumentamos la altura total */
    display: flex !important;
    flex-direction: column !important;
    transition: all 0.3s ease !important;
    background: white !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

html body main .cr-product-box:not([class*="col-"]) .cr-product-card:hover,
html body main .cr-product-box.col-25 .cr-product-card:hover,
html body main .cr-product-box.col-lg-3 .cr-product-card:hover,
html body main .cr-product-box.col-md-4 .cr-product-card:hover,
html body main .cr-product-box.col-sm-6 .cr-product-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Imagen del producto en vista grid - 80% del alto de la tarjeta */
html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-image,
html body main .cr-product-box.col-25 .cr-product-card .cr-product-image,
html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-image,
html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-image,
html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-image {
    height: 350px !important; /* 80% de 440px - imagen más alta */
    max-height: 350px !important;
    min-height: 350px !important;
    width: 100% !important;
    margin-bottom: 8px !important; /* Margen reducido */
    border-radius: 8px !important;
    overflow: hidden !important;
    position: relative !important;
    background: #f8f8f8 !important;
    flex-shrink: 0 !important;
}

html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-image .cr-image-inner,
html body main .cr-product-box.col-25 .cr-product-card .cr-product-image .cr-image-inner,
html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-image .cr-image-inner,
html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-image .cr-image-inner,
html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-image .cr-image-inner {
    height: 350px !important; /* Ajustamos al nuevo tamaño */
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-image img,
html body main .cr-product-box.col-25 .cr-product-card .cr-product-image img,
html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-image img,
html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-image img,
html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
    display: block !important;
}

html body main .cr-product-box:not([class*="col-"]) .cr-product-card:hover .cr-product-image img,
html body main .cr-product-box.col-25 .cr-product-card:hover .cr-product-image img,
html body main .cr-product-box.col-lg-3 .cr-product-card:hover .cr-product-image img,
html body main .cr-product-box.col-md-4 .cr-product-card:hover .cr-product-image img,
html body main .cr-product-box.col-sm-6 .cr-product-card:hover .cr-product-image img {
    transform: scale(1.03) !important;
}

/* Ícono del carrito en vista grid - evitar que se corte */
html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-image .cr-shopping-bag,
html body main .cr-product-box.col-25 .cr-product-card .cr-product-image .cr-shopping-bag,
html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-image .cr-shopping-bag,
html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-image .cr-shopping-bag,
html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-image .cr-shopping-bag {
    position: absolute !important;
    bottom: 10px !important;
    right: 10px !important;
    width: 35px !important;
    height: 35px !important;
    background-color: #f44336 !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    opacity: 0.9 !important;
    z-index: 10 !important;
    font-size: 14px !important;
    cursor: pointer !important;
}

/* Ícono dentro del botón de carrito circular sobre la imagen */
html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-image .cr-shopping-bag i,
html body main .cr-product-box.col-25 .cr-product-card .cr-product-image .cr-shopping-bag i,
html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-image .cr-shopping-bag i,
html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-image .cr-shopping-bag i,
html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-image .cr-shopping-bag i {
    font-size: 16px !important;
    color: white !important;
    display: inline-block !important;
    line-height: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-weight: normal !important;
}

/* Íconos de font específicos para el botón de carrito circular */
html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-image .cr-shopping-bag [class*="ri-"],
html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-image .cr-shopping-bag [class*="mdi-"],
html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-image .cr-shopping-bag [class*="icon-"],
html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-image .cr-shopping-bag [class*="fa-"],
html body main .cr-product-box.col-25 .cr-product-card .cr-product-image .cr-shopping-bag [class*="ri-"],
html body main .cr-product-box.col-25 .cr-product-card .cr-product-image .cr-shopping-bag [class*="mdi-"],
html body main .cr-product-box.col-25 .cr-product-card .cr-product-image .cr-shopping-bag [class*="icon-"],
html body main .cr-product-box.col-25 .cr-product-card .cr-product-image .cr-shopping-bag [class*="fa-"],
html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-image .cr-shopping-bag [class*="ri-"],
html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-image .cr-shopping-bag [class*="mdi-"],
html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-image .cr-shopping-bag [class*="icon-"],
html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-image .cr-shopping-bag [class*="fa-"],
html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-image .cr-shopping-bag [class*="ri-"],
html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-image .cr-shopping-bag [class*="mdi-"],
html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-image .cr-shopping-bag [class*="icon-"],
html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-image .cr-shopping-bag [class*="fa-"],
html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-image .cr-shopping-bag [class*="ri-"],
html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-image .cr-shopping-bag [class*="mdi-"],
html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-image .cr-shopping-bag [class*="icon-"],
html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-image .cr-shopping-bag [class*="fa-"] {
    font-size: 16px !important;
    color: white !important;
    display: inline-block !important;
    line-height: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-family: inherit !important;
}

/* Todos los elementos dentro del botón de carrito circular */
html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-image .cr-shopping-bag *,
html body main .cr-product-box.col-25 .cr-product-card .cr-product-image .cr-shopping-bag *,
html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-image .cr-shopping-bag *,
html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-image .cr-shopping-bag *,
html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-image .cr-shopping-bag * {
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Fallback: Si no hay ícono, añadir uno con ::before */
html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-image .cr-shopping-bag::before,
html body main .cr-product-box.col-25 .cr-product-card .cr-product-image .cr-shopping-bag::before,
html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-image .cr-shopping-bag::before,
html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-image .cr-shopping-bag::before,
html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-image .cr-shopping-bag::before {
    content: "🛒" !important;
    font-size: 16px !important;
    color: white !important;
    display: block !important;
    line-height: 1 !important;
}

/* Alternativa con ícono de texto simple */
html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-image .cr-shopping-bag::after,
html body main .cr-product-box.col-25 .cr-product-card .cr-product-image .cr-shopping-bag::after,
html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-image .cr-shopping-bag::after,
html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-image .cr-shopping-bag::after,
html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-image .cr-shopping-bag::after {
    content: "+" !important;
    font-size: 18px !important;
    color: white !important;
    font-weight: bold !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    display: block !important;
    line-height: 1 !important;
}

html body main .cr-product-box:not([class*="col-"]) .cr-product-card:hover .cr-product-image .cr-shopping-bag,
html body main .cr-product-box.col-25 .cr-product-card:hover .cr-product-image .cr-shopping-bag,
html body main .cr-product-box.col-lg-3 .cr-product-card:hover .cr-product-image .cr-shopping-bag,
html body main .cr-product-box.col-md-4 .cr-product-card:hover .cr-product-image .cr-shopping-bag,
html body main .cr-product-box.col-sm-6 .cr-product-card:hover .cr-product-image .cr-shopping-bag {
    opacity: 1 !important;
    transform: scale(1.1) !important;
}

/* Ícono de wishlist en vista grid */
html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-image .cr-side-view,
html body main .cr-product-box.col-25 .cr-product-card .cr-product-image .cr-side-view,
html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-image .cr-side-view,
html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-image .cr-side-view,
html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-image .cr-side-view {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
    z-index: 10 !important;
}

html body main .cr-product-box:not([class*="col-"]) .cr-product-card:hover .cr-product-image .cr-side-view,
html body main .cr-product-box.col-25 .cr-product-card:hover .cr-product-image .cr-side-view,
html body main .cr-product-box.col-lg-3 .cr-product-card:hover .cr-product-image .cr-side-view,
html body main .cr-product-box.col-md-4 .cr-product-card:hover .cr-product-image .cr-side-view,
html body main .cr-product-box.col-sm-6 .cr-product-card:hover .cr-product-image .cr-side-view {
    opacity: 1 !important;
    right: 10px !important;
}

/* Detalles del producto en vista grid - contenido más comprimido */
html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-details,
html body main .cr-product-box.col-25 .cr-product-card .cr-product-details,
html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-details,
html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-details,
html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-details {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 6px 8px 6px 8px !important; /* Padding más reducido */
    height: 82px !important; /* 440px - 350px - 8px = 82px */
}

/* Título más compacto en vista grid */
html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-details a.title,
html body main .cr-product-box.col-25 .cr-product-card .cr-product-details a.title,
html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-details a.title,
html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-details a.title,
html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-details a.title {
    font-size: 12px !important; /* Más pequeño */
    font-weight: 600 !important;
    line-height: 1.0 !important; /* Línea súper compacta */
    margin-bottom: 1px !important; /* Margen mínimo */
    height: 22px !important; /* Altura muy reducida */
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-align: left !important;
    justify-content: flex-start !important;
}

/* Precio más compacto en vista grid */
html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-details .cr-price,
html body main .cr-product-box.col-25 .cr-product-card .cr-product-details .cr-price,
html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-details .cr-price,
html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-details .cr-price,
html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-details .cr-price {
    margin: 2px 0 !important; /* Margen súper reducido */
}

html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-details .cr-price .new-price,
html body main .cr-product-box.col-25 .cr-product-card .cr-product-details .cr-price .new-price,
html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-details .cr-price .new-price,
html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-details .cr-price .new-price,
html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-details .cr-price .new-price {
    font-size: 14px !important; /* Tamaño más pequeño */
    font-weight: 700 !important;
    line-height: 1.1 !important;
}

/* Botón de carrito más compacto en vista grid */
html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-details .cart_btn,
html body main .cr-product-box.col-25 .cr-product-card .cr-product-details .cart_btn,
html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-details .cart_btn,
html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-details .cart_btn,
html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-details .cart_btn {
    margin-top: auto !important;
}

html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary,
html body main .cr-product-box.col-25 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary,
html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary,
html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary,
html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary {
    height: 28px !important; /* Más compacto */
    font-size: 10px !important; /* Texto más pequeño */
    font-weight: 600 !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    padding: 4px 10px !important; /* Padding reducido */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    background-color: #f44336 !important; /* Color de fondo rojo */
    color: white !important;
    border: 1px solid #f44336 !important;
    cursor: pointer !important;
}

/* Ícono dentro del botón de carrito en vista grid */
html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary i,
html body main .cr-product-box.col-25 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary i,
html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary i,
html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary i,
html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary i {
    font-size: 10px !important; /* Más pequeño */
    color: white !important;
    display: inline-block !important;
    line-height: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Asegurar que el texto del botón también sea visible */
html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary span,
html body main .cr-product-box.col-25 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary span,
html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary span,
html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary span,
html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary span {
    color: white !important;
    font-size: 10px !important; /* Más pequeño */
    font-weight: 600 !important;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Reglas adicionales para asegurar visibilidad de todos los elementos del botón */
html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary *,
html body main .cr-product-box.col-25 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary *,
html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary *,
html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary *,
html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary * {
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Específicamente para íconos de font (RemixIcon, MaterialDesignIcons, etc.) */
html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary [class*="ri-"],
html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary [class*="mdi-"],
html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary [class*="icon-"],
html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary [class*="fa-"],
html body main .cr-product-box.col-25 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary [class*="ri-"],
html body main .cr-product-box.col-25 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary [class*="mdi-"],
html body main .cr-product-box.col-25 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary [class*="icon-"],
html body main .cr-product-box.col-25 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary [class*="fa-"],
html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary [class*="ri-"],
html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary [class*="mdi-"],
html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary [class*="icon-"],
html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary [class*="fa-"],
html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary [class*="ri-"],
html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary [class*="mdi-"],
html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary [class*="icon-"],
html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary [class*="fa-"],
html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary [class*="ri-"],
html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary [class*="mdi-"],
html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary [class*="icon-"],
html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary [class*="fa-"] {
    font-size: 10px !important; /* Más pequeño para consistencia */
    color: white !important;
    display: inline-block !important;
    line-height: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-family: inherit !important;
}

.cr-product-box .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

/* Responsividad para vista grid */
@media (max-width: 1200px) {
    html body main .cr-product-box:not([class*="col-"]) .cr-product-card,
    html body main .cr-product-box.col-25 .cr-product-card,
    html body main .cr-product-box.col-lg-3 .cr-product-card,
    html body main .cr-product-box.col-md-4 .cr-product-card,
    html body main .cr-product-box.col-sm-6 .cr-product-card {
        min-height: 400px !important; /* Altura ajustada */
    }
    
    html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-image,
    html body main .cr-product-box.col-25 .cr-product-card .cr-product-image,
    html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-image,
    html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-image,
    html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-image {
        height: 320px !important; /* 80% de 400px */
        max-height: 320px !important;
        min-height: 320px !important;
    }
    
    html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-image .cr-image-inner,
    html body main .cr-product-box.col-25 .cr-product-card .cr-product-image .cr-image-inner,
    html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-image .cr-image-inner,
    html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-image .cr-image-inner,
    html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-image .cr-image-inner {
        height: 320px !important;
    }
    
    html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-details,
    html body main .cr-product-box.col-25 .cr-product-card .cr-product-details,
    html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-details,
    html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-details,
    html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-details {
        height: 72px !important; /* 400px - 320px - 8px = 72px */
    }
}

@media (max-width: 768px) {
    html body main .cr-product-box:not([class*="col-"]) .cr-product-card,
    html body main .cr-product-box.col-25 .cr-product-card,
    html body main .cr-product-box.col-lg-3 .cr-product-card,
    html body main .cr-product-box.col-md-4 .cr-product-card,
    html body main .cr-product-box.col-sm-6 .cr-product-card {
        min-height: 380px !important; /* Altura ajustada para móvil */
    }
    
    html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-image,
    html body main .cr-product-box.col-25 .cr-product-card .cr-product-image,
    html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-image,
    html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-image,
    html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-image {
        height: 304px !important; /* 80% de 380px */
        max-height: 304px !important;
        min-height: 304px !important;
    }
    
    html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-image .cr-image-inner,
    html body main .cr-product-box.col-25 .cr-product-card .cr-product-image .cr-image-inner,
    html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-image .cr-image-inner,
    html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-image .cr-image-inner,
    html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-image .cr-image-inner {
        height: 304px !important;
    }
    
    html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-details,
    html body main .cr-product-box.col-25 .cr-product-card .cr-product-details,
    html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-details,
    html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-details,
    html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-details {
        height: 68px !important; /* 380px - 304px - 8px = 68px */
    }
    
    html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-details a.title,
    html body main .cr-product-box.col-25 .cr-product-card .cr-product-details a.title,
    html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-details a.title,
    html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-details a.title,
    html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-details a.title {
        font-size: 11px !important; /* Más pequeño en móviles */
        height: 20px !important;
    }
}

@media (max-width: 480px) {
    html body main .cr-product-box:not([class*="col-"]) .cr-product-card,
    html body main .cr-product-box.col-25 .cr-product-card,
    html body main .cr-product-box.col-lg-3 .cr-product-card,
    html body main .cr-product-box.col-md-4 .cr-product-card,
    html body main .cr-product-box.col-sm-6 .cr-product-card {
        min-height: 360px !important; /* Altura ajustada para móvil pequeño */
    }
    
    html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-image,
    html body main .cr-product-box.col-25 .cr-product-card .cr-product-image,
    html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-image,
    html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-image,
    html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-image {
        height: 288px !important; /* 80% de 360px */
        max-height: 288px !important;
        min-height: 288px !important;
    }
    
    html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-image .cr-image-inner,
    html body main .cr-product-box.col-25 .cr-product-card .cr-product-image .cr-image-inner,
    html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-image .cr-image-inner,
    html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-image .cr-image-inner,
    html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-image .cr-image-inner {
        height: 288px !important;
    }
    
    html body main .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-details,
    html body main .cr-product-box.col-25 .cr-product-card .cr-product-details,
    html body main .cr-product-box.col-lg-3 .cr-product-card .cr-product-details,
    html body main .cr-product-box.col-md-4 .cr-product-card .cr-product-details,
    html body main .cr-product-box.col-sm-6 .cr-product-card .cr-product-details {
        height: 64px !important; /* 360px - 288px - 8px = 64px */
    }
}

/* Ocultar descripción en vista de grid */
.cr-product-box .cr-product-card .cr-product-details .product-description {
    display: none !important;
}

/* Precio mejorado */
.col-100.col-size .cr-product-box .cr-product-card .cr-product-details .cr-price {
    margin: 15px 0;
}

.col-100.col-size .cr-product-box .cr-product-card .cr-product-details .cr-price .new-price {
    font-size: 24px;
    font-weight: 700;
    color: #f44336;
}

/* Botón de carrito mejorado */
.col-100.col-size .cr-product-box .cr-product-card .cr-product-details .cart_btn {
    margin-top: auto;
    padding-top: 15px;
}

.col-100.col-size .cr-product-box .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary {
    width: auto;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.col-100.col-size .cr-product-box .cr-product-card .cr-product-details .cart_btn .cr-btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

/* Responsividad para vista de lista */
@media (max-width: 768px) {
    .col-100.col-size .cr-product-box .cr-product-card {
        flex-direction: column;
        min-height: auto;
        padding: 15px;
    }
    
    .col-100.col-size .cr-product-box .cr-product-card .cr-product-image {
        width: 100%;
        height: 200px;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .col-100.col-size .cr-product-box .cr-product-card .cr-product-details {
        text-align: center;
    }
    
    .col-100.col-size .cr-product-box .cr-product-card .cr-product-details .cr-brand a,
    .col-100.col-size .cr-product-box .cr-product-card .cr-product-details a.title {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .col-100.col-size .cr-product-box .cr-product-card .cr-product-image {
        height: 180px;
    }
    
    .col-100.col-size .cr-product-box .cr-product-card .cr-product-details a.title {
        font-size: 18px;
    }
    
    .col-100.col-size .cr-product-box .cr-product-card .cr-product-details .cr-price .new-price {
        font-size: 20px;
    }
}

/* Mejorar también la vista de 2 columnas */
.col-50.col-size .cr-product-box {
    width: 50%;
    padding: 0 10px;
    margin-bottom: 20px;
}

.col-50.col-size .cr-product-box .cr-product-card {
    display: flex;
    flex-direction: column;
    min-height: 320px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.col-50.col-size .cr-product-box .cr-product-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.col-50.col-size .cr-product-box .cr-product-card .cr-product-image {
    width: 100%;
    height: 180px;
    margin-bottom: 15px;
    border-radius: 6px;
    overflow: hidden;
}

.col-50.col-size .cr-product-box .cr-product-card .cr-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.col-50.col-size .cr-product-box .cr-product-card .cr-product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 0;
}

@media (max-width: 768px) {
    .col-50.col-size .cr-product-box {
        width: 100%;
    }
}

/* FORZAR APLICACIÓN DE ESTILOS DE GRID - CACHE BUSTER v2.0 */
html body main section .cr-product-box:not([class*="col-"]) .cr-product-card,
html body main section .cr-product-box.col-25 .cr-product-card,
html body main section .cr-product-box.col-lg-3 .cr-product-card,
html body main section .cr-product-box.col-md-4 .cr-product-card,
html body main section .cr-product-box.col-sm-6 .cr-product-card {
    min-height: 440px !important;
    background: white !important;
    border: 1px solid #e0e0e0 !important;
    display: flex !important;
    flex-direction: column !important;
}

html body main section .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-image,
html body main section .cr-product-box.col-25 .cr-product-card .cr-product-image,
html body main section .cr-product-box.col-lg-3 .cr-product-card .cr-product-image,
html body main section .cr-product-box.col-md-4 .cr-product-card .cr-product-image,
html body main section .cr-product-box.col-sm-6 .cr-product-card .cr-product-image {
    height: 350px !important;
    max-height: 350px !important;
    min-height: 350px !important;
    width: 100% !important;
    background: #f8f8f8 !important;
}

html body main section .cr-product-box:not([class*="col-"]) .cr-product-card .cr-product-details,
html body main section .cr-product-box.col-25 .cr-product-card .cr-product-details,
html body main section .cr-product-box.col-lg-3 .cr-product-card .cr-product-details,
html body main section .cr-product-box.col-md-4 .cr-product-card .cr-product-details,
html body main section .cr-product-box.col-sm-6 .cr-product-card .cr-product-details {
    height: 82px !important;
    padding: 6px 8px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}
