/* Variables de colores - Paleta inspirada en Carters */
:root {
    --primary-color: #65d0d3b5;
    --secondary-color: #9c27b0;
    --accent-color: #fb8e6a;
    --dark-color: #333333;
    --light-color: #ffffff;
    --gray-light: #f8f9fa;
    --gray-medium: #e9ecef;
    --gray-dark: #6c757d;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --danger-color: #f44336;
    --text-color: #212121;
    --text-light: #757575;
    --border-radius: 8px;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 15px rgba(0,0,0,0.15);
    --section-spacing: 25px;
}

/* ===== ESTILOS GENERALES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--gray-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== BANNER SUPERIOR ===== */
.hero-banner {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 20px;
}

.hero-banner h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* ===== HERO SECTION ===== */
.hero-main {
    background: var(--gray-light);
    padding: 60px 0;
    margin-bottom: var(--section-spacing);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text-content {
    padding-right: 40px;
}

.hero-tagline {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--dark-color);
    text-align: justify;
    text-justify: inter-word;
}

.hero-tagline span {
    display: block;
}

.hero-tagline .accent {
    color: var(--primary-color);
    font-size: 2.8rem;
}

.hero-subtagline {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.hero-cta-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hero-feature {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-medium);
}

.hero-feature i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.hero-feature span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-color);
}

.hero-image-content {
    position: relative;
}

.hero-main-image {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    background-color: var(--gray-medium);
}

.promo-badge-large {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--danger-color);
    color: white;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: var(--shadow-hover);
}

/* ===== HERO CON IMAGEN ===== */
.hero-image-replacement {
    text-align: center;
    margin-bottom: 40px;
}

.hero-brand-image {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.hero-brand-image:hover {
    transform: scale(1.02);
}

.hero-with-background {
    background: linear-gradient(135deg, rgba(101, 208, 211, 0.1) 0%, rgba(251, 142, 106, 0.1) 100%);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 2px dashed var(--primary-color);
    text-align: center;
}

.hero-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-logo-image {
    max-width: 150px;
    height: auto;
    flex-shrink: 0;
}

.hero-logo-text {
    flex: 1;
    min-width: 300px;
}

.hero-logo-text .hero-tagline {
    font-size: 1.8rem;
    text-align: left;
    margin-bottom: 0;
}

/* ===== OFERTAS DESTACADAS ===== */
.featured-offers {
    padding: var(--section-spacing) 0;
    background: var(--gray-light);
    margin-bottom: var(--section-spacing);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.offer-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-medium);
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.offer-percentage {
    font-size: 3rem;
    font-weight: 800;
    color: var(--danger-color);
    margin-bottom: 10px;
}

.offer-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.offer-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===== HERO CON CARRUSEL ===== */
.hero-carousel-section {
    background: var(--gray-light);
    padding: 60px 0;
    margin-bottom: var(--section-spacing);
}

.hero-carousel-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-carousel-container {
    position: relative;
}

#heroCarousel {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    background: white;
    border: 1px solid var(--gray-medium);
}

.products-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 30px;
    background: white;
    align-items: start;
}

/* ===== TARJETAS DE PRODUCTOS - ESTILOS ESTANDARIZADOS ===== */
.product-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--gray-medium);
    display: flex;
    flex-direction: column;
    height: 380px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 220px;
    background-color: var(--gray-light);
    flex: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    background-color: var(--gray-light);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Botón circular flotante para agregar al carrito */
.floating-add-cart {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: var(--shadow-hover);
    transition: all 0.3s ease;
    z-index: 10;
    border: 2px solid white;
    cursor: pointer;
}

.floating-add-cart:hover:not(:disabled) {
    background: var(--accent-color);
    transform: scale(1.1);
    color: white;
}

.floating-add-cart i {
    font-size: 1rem;
}

/* Botón agotado */
.btn-agotado.floating-add-cart {
    background: var(--gray-medium);
    color: white;
    cursor: not-allowed;
    opacity: 0.8;
}

.btn-agotado.floating-add-cart:hover {
    transform: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Badges */
.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--danger-color);
    color: var(--light-color);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 5;
}

.feature-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 5;
}

.double-badge {
    background: linear-gradient(45deg, var(--warning-color), var(--danger-color));
    color: var(--light-color);
}

.promo-badge {
    background-color: var(--danger-color);
    color: var(--light-color);
}

.featured-badge {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

/* Información del producto */
.product-info {
    padding: 15px;
    background: white;
    border-top: 1px solid var(--gray-medium);
    flex-shrink: 0;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
    line-height: 1.3;
    height: 2.4rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-category {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 10px;
    font-style: italic;
    height: 1.1rem;
    overflow: hidden;
}

.product-price {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    min-height: 1.8rem;
}

.original-price {
    font-size: 0.85rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.sale-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--danger-color);
}

.regular-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
}

.product-stock {
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 8px;
}

.stock-available {
    color: var(--success-color);
}

.stock-unavailable {
    color: var(--danger-color);
}

/* ===== TARJETAS DE CARRUSEL ===== */
.carousel-product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 480px;
    border: 1px solid var(--gray-medium);
    transition: all 0.3s ease;
    position: relative;
}

.carousel-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.carousel-product-card .product-image {
    height: 300px;
    position: relative;
    overflow: hidden;
    background-color: var(--gray-light);
    flex: 1;
}

.carousel-product-card .floating-add-cart {
    width: 45px;
    height: 45px;
    bottom: 15px;
    right: 15px;
}

.carousel-product-card .floating-add-cart i {
    font-size: 1.1rem;
}

.carousel-product-card .product-info {
    padding: 20px;
    background: white;
    border-top: 1px solid var(--gray-medium);
}

/* ===== CATEGORÍAS ===== */
.categories-section {
    padding: var(--section-spacing) 0;
    background: var(--gray-light);
    margin-bottom: var(--section-spacing);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: start;
}

.category-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-medium);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 380px;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.category-image {
    height: 220px;
    overflow: hidden;
    background-color: var(--gray-light);
    position: relative;
    flex: 1;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    background-color: var(--gray-light);
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

/* Botón flotante para categorías */
.floating-view-category {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: var(--shadow-hover);
    transition: all 0.3s ease;
    z-index: 10;
    border: 2px solid white;
}

.floating-view-category:hover {
    background: var(--accent-color);
    transform: scale(1.1);
    color: white;
}

.floating-view-category i {
    font-size: 1rem;
}

.category-info {
    padding: 15px;
    background: white;
    border-top: 1px solid var(--gray-medium);
    text-align: center;
    flex-shrink: 0;
}

.category-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
    line-height: 1.3;
    height: 2.6rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.category-description {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.4;
    height: 2.4rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ===== SECCIONES DE PRODUCTOS ===== */
.promo-section,
.featured-section {
    padding: var(--section-spacing) 0;
    margin-bottom: var(--section-spacing);
    background: var(--gray-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: start;
}

.no-products-section {
    padding: var(--section-spacing) 0;
    background: var(--gray-light);
    margin-bottom: var(--section-spacing);
}

.no-products-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.no-products-content i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.no-products-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.no-products-content p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* ===== BANNER DE PROMOCIONES ===== */
.promotion-banner {
    background-color: var(--gray-light) !important;
    border-bottom: 2px solid var(--gray-medium);
}

.promotion-slider {
    color: var(--dark-color) !important;
    font-weight: 600;
}

.promotion-item strong {
    color: var(--primary-color);
}

.promotion-item small {
    color: var(--gray-dark) !important;
    font-weight: 500;
}

/* ===== BOTONES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 60px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark-color);
    border: 2px solid var(--dark-color);
}

.btn-secondary:hover {
    background-color: var(--dark-color);
    color: var(--light-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-add-cart {
    background-color: var(--primary-color);
    color: var(--light-color);
    width: 100%;
    padding: 10px;
    font-size: 14px;
}

.btn-add-cart:hover {
    background-color: var(--accent-color);
}

.btn-out-of-stock {
    background-color: var(--gray-medium);
    color: var(--gray-dark);
    width: 100%;
    padding: 10px;
    cursor: not-allowed;
}

.btn-category {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 8px 16px;
    font-size: 14px;
}

.btn-category:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

/* ===== SECCIONES COMUNES ===== */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-badge {
    display: inline-block;
    background-color: var(--danger-color);
    color: var(--light-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* ===== CARRUSEL ===== */
.carousel-indicators {
    bottom: 15px;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    border: 2px solid transparent;
}

.carousel-indicators button.active {
    background-color: var(--primary-color);
    border-color: white;
}

.carousel-control-prev,
.carousel-control-next {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    margin: 0 15px;
    border: 2px solid var(--gray-medium);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background-color: white;
    border-color: var(--primary-color);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(0.5);
    width: 20px;
    height: 20px;
}

.carousel-controls-bottom {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 30;
}

/* ===== MODAL/PRODUCT DRAWER ===== */
.product-drawer .modal-dialog {
    margin: 0;
    margin-left: auto;
    max-width: 800px;
    height: 100vh;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
}

.product-drawer.show .modal-dialog {
    transform: translateX(0);
}

.product-drawer .modal-content {
    height: 100%;
    border-radius: 0;
    border: none;
}

/* Miniaturas del modal */
.image-thumbnails .thumbnail {
    width: 60px;
    height: 60px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-thumbnails .thumbnail:hover,
.image-thumbnails .thumbnail.active {
    border-color: #007bff;
    transform: scale(1.05);
}

.image-thumbnails .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Selectores de tallas y colores en modal */
.talla-btn {
    padding: 8px 16px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
    position: relative;
}

.talla-btn:hover {
    border-color: #007bff;
    background-color: #f8f9fa;
}

.talla-btn.selected {
    border-color: #28a745;
    background-color: #28a745;
    color: white;
}

.talla-btn.sin-stock {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
    opacity: 0.5;
    position: relative;
}

.talla-btn.sin-stock::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: #dc3545;
    transform: rotate(-45deg);
}

.color-btn {
    width: 40px;
    height: 40px;
    border: 3px solid #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.color-btn:hover {
    border-color: #007bff;
    transform: scale(1.1);
}

.color-btn.selected {
    border-color: #28a745;
    transform: scale(1.1);
}

.color-btn.selected::after {
    content: "✓";
    font-weight: bold;
}

/* Precios en modal */
.price-comparison {
    display: flex;
    align-items: center;
    gap: 10px;
}

.original-price {
    color: #6c757d;
    font-size: 1.1em;
}

.sale-price {
    color: #dc3545;
    font-size: 1.4em;
    font-weight: bold;
}

.regular-price {
    color: #28a745;
    font-size: 1.4em;
    font-weight: bold;
}

.discount-percentage {
    background: #dc3545;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
}

/* Indicador de múltiples imágenes */
.multiple-images-indicator {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 8px;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    z-index: 15;
}

.multiple-images-indicator:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
}

.multiple-images-indicator i {
    font-size: 10px;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Pantallas grandes */
@media (min-width: 1400px) {
    .products-grid,
    .categories-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 25px;
    }
    
    .product-card,
    .category-card {
        height: 400px;
    }
    
    .product-image,
    .category-image {
        height: 240px;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .products-grid,
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
    
    .product-image,
    .carousel-product-card .product-image,
    .products-grid .product-card .product-image,
    .category-image {
        height: 200px;
    }
    
    .product-card,
    .category-card {
        height: 360px;
    }
}

/* Tablet grande */
@media (max-width: 992px) {
    .hero-content,
    .hero-carousel-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text-content {
        padding-right: 0;
    }
    
    .hero-tagline {
        font-size: 2.8rem;
    }
    
    .hero-tagline .accent {
        font-size: 2.2rem;
    }
    
    .hero-cta-buttons {
        justify-content: center;
    }
    
    .hero-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid,
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
    
    .products-row {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }
    
    .product-card,
    .category-card {
        height: 360px;
    }
    
    .product-image,
    .category-image {
        height: 200px;
    }
    
    :root {
        --section-spacing: 60px;
    }
}

/* Tablet pequeña */
@media (max-width: 768px) {
    .hero-banner h2 {
        font-size: 1.5rem;
    }
    
    .hero-tagline {
        font-size: 2.2rem;
    }
    
    .hero-tagline .accent {
        font-size: 1.8rem;
    }
    
    .hero-subtagline {
        font-size: 1.4rem;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid,
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .hero-main,
    .hero-carousel-section {
        padding: 40px 0;
    }
    
    .featured-section,
    .promo-section,
    .categories-section {
        padding: 60px 0;
    }
    
    .btn {
        width: 15%;
        max-width: 250px;
    }
    
    .products-row {
        grid-template-columns: 1fr;
        padding: 15px;
    }
    
    .carousel-product-card {
        height: 440px;
    }
    
    .carousel-product-card .product-image {
        height: 250px;
    }
    
    .product-card,
    .category-card {
        height: 340px;
    }
    
    .product-image,
    .category-image {
        height: 180px;
    }
    
    .floating-add-cart,
    .floating-view-category {
        width: 35px;
        height: 35px;
        bottom: 10px;
        right: 10px;
    }
    
    .floating-add-cart i,
    .floating-view-category i {
        font-size: 0.9rem;
    }
    
    .product-info,
    .category-info {
        padding: 12px;
    }
    
    .product-name {
        font-size: 0.9rem;
        height: 2.2rem;
    }
    
    .category-name {
        font-size: 1rem;
        height: 2.4rem;
    }
    
    .hero-brand-image {
        max-height: 150px;
    }
    
    .hero-logo-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .hero-logo-text .hero-tagline {
        text-align: center;
        font-size: 1.5rem;
    }
    
    .hero-with-background {
        padding: 25px 20px;
    }
    
    :root {
        --section-spacing: 50px;
    }
}

/* Móvil */
@media (max-width: 576px) {
    .products-grid,
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .product-card,
    .category-card {
        height: 320px;
        max-width: 100%;
    }
    
    .product-image,
    .category-image {
        height: 160px;
    }
    
    .floating-add-cart,
    .floating-view-category {
        width: 32px;
        height: 32px;
        bottom: 8px;
        right: 8px;
    }
    
    .floating-add-cart i,
    .floating-view-category i {
        font-size: 0.85rem;
    }
    
    .product-info,
    .category-info {
        padding: 10px;
    }
    
    .product-name {
        font-size: 0.85rem;
        height: 2rem;
    }
    
    .category-name {
        font-size: 0.95rem;
        height: 2.2rem;
    }
    
    .product-category {
        font-size: 0.75rem;
    }
    
    .category-description {
        font-size: 0.8rem;
        height: 2.2rem;
    }
    
    .sale-price,
    .regular-price {
        font-size: 1rem;
    }
    
    .carousel-product-card {
        height: 420px;
    }
    
    .carousel-product-card .product-image {
        height: 240px;
    }
    
    .hero-brand-image {
        max-height: 120px;
    }
    
    .hero-logo-text .hero-tagline {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    :root {
        --section-spacing: 40px;
    }
}

/* Utilidades para imágenes */
.image-container {
    aspect-ratio: 1 / 1;
}

.square-image {
    aspect-ratio: 1 / 1;
}

.standard-image {
    aspect-ratio: 4 / 3;
}

/* Asegurar que el modal se vea correctamente */
#productModal .modal-content {
    position: relative;
    z-index: 1060;
}

#productModal .modal-body {
    opacity: 1 !important;
    visibility: visible !important;
}

#productModal .modal-dialog {
    z-index: 1061;
}

#modalProductImage {
    display: block;
    max-width: 100%;
    height: auto;
}

#modalProductName,
#modalProductDescription,
#modalProductPrice {
    opacity: 1 !important;
    color: #333 !important;
}

#modalTallasContainer .btn,
#modalColoresContainer .btn {
    opacity: 1 !important;
    visibility: visible !important;
}

.agregar-carrito-btn {
    transition: all 0.3s ease;
}

.agregar-carrito-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.agregar-carrito-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}