:root {
    /* Paleta de colores MediaMarkt */
    --primary-color: #E2001A;       /* Rojo característico de MediaMarkt */
    --secondary-color: #000000;     /* Negro */
    --accent-color: #FFD100;        /* Amarillo para destacar */
    --background: #FFFFFF;          /* Fondo blanco */
    --surface: #FFFFFF;             /* Superficies blancas */
    --text-dark: #1D1D1F;           /* Texto negro suavizado */
    --text-light: #86868B;          /* Texto gris Apple */
    --text-description: #515154;    /* Color para descripciones */
    --success: #4CAF50;             /* Verde para stock */
    --warning: #FF9800;             /* Naranja para ofertas */
    --error: #E2001A;               /* Rojo igual que primario */
    --border: #D2D2D7;              /* Color de bordes suavizado */
    
    /* Gradientes y efectos estilo Apple */
    --gradient: linear-gradient(135deg, #E2001A 0%, #C40015 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 28px rgba(0,0,0,0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset mejorado estilo Apple */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--background);
    color: var(--text-dark);
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    text-rendering: optimizeLegibility;
}

/* Layout mejorado estilo Apple */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 22px;
}

/* Top Bar - Estilo Apple */
.top-bar {
    background-color: var(--secondary-color);
    color: rgba(255,255,255,0.8);
    padding: 0.6rem 0;
    font-size: 0.8rem;
    border-bottom: none;
    font-weight: 400;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.top-bar .left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.8rem;
}

.top-contact, .top-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.top-contact:hover, .top-phone:hover {
    color: var(--accent-color);
}

/* Header - Estilo Apple */
.header {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    height: 52px;
}

.header .container {
    display: flex;
    align-items: center;
    gap: 2rem;
    height: 100%;
}

.logo {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.logo:hover {
    transform: none;
    opacity: 0.8;
}

.search-bar {
    flex: 1;
    min-width: 200px;
    max-width: 400px;
    display: flex;
    background: rgba(0,0,0,0.04);
    border-radius: 8px;
    overflow: hidden;
}

.search-bar input {
    width: 100%;
    padding: 0.6rem 1rem;
    border: 1px solid transparent;
    background: transparent;
    font-size: 0.9rem;
    transition: var(--transition);
    font-family: inherit;
}

.search-bar input:focus {
    outline: none;
    background: rgba(255,255,255,0.9);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(226, 0, 26, 0.1);
}

.search-btn {
    background: transparent;
    color: var(--text-light);
    border: none;
    padding: 0 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
}

.search-btn:hover {
    background: transparent;
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    gap: 0.8rem;
}

.wishlist-btn, .cart-btn {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    padding: 0.4rem;
    opacity: 0.8;
}

.wishlist-btn:hover, .cart-btn:hover {
    opacity: 1;
    color: var(--primary-color);
}

#cart-count {
    position: absolute;
    top: -0.3rem;
    right: -0.3rem;
    background: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Navegación - Estilo Apple */
.main-nav {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 52px;
    z-index: 999;
    border-bottom: 1px solid var(--border);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
    display: none;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.9rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    transition: var(--transition);
    font-weight: 400;
    white-space: nowrap;
    font-size: 0.85rem;
    opacity: 0.8;
    text-transform: none;
    border-bottom: none;
}

.nav-links a:hover {
    color: var(--primary-color);
    background: transparent;
    opacity: 1;
}

.nav-links a.active {
    color: var(--primary-color);
    background: transparent;
    border-bottom: none;
    opacity: 1;
}

/* Banner promocional - Estilo Apple */
.promo-banner {
    background: var(--gradient);
    color: white;
    padding: 0.8rem 0;
    text-align: center;
    border-bottom: none;
    font-size: 0.9rem;
}

.promo-content {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.promo-tag {
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Contenedor del carrusel de publicidad */
.ad-carousel-container {
    padding: 2rem 0 0 0;
    background: transparent;
    width: 100%;
}

/* Carrusel - Altura reducida a la mitad */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1530px;
    height: 154px; /* Mitad de la altura original (308px / 2) */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: none;
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    width: 100%;
}

.carousel-item {
    min-width: 100%;
    flex-shrink: 0;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.carousel-dot.active {
    background: white;
    transform: scale(1.2);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 12px;
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 400;
    opacity: 0;
}

.carousel-container:hover .carousel-nav {
    opacity: 1;
}

.carousel-nav:hover {
    background: rgba(0,0,0,0.7);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* Controles de filtro */
.filter-container {
    padding: 1.5rem 0;
    background: #f9f9f9;
    border-bottom: 1px solid var(--border);
}

.filter-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-end;
}

.filter-controls label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.filter-controls select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: white;
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
}

.filter-controls select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(226, 0, 26, 0.1);
}

/* Sección de productos - Estilo Apple */
.products-section {
    padding: 2rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.stock-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--success);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.offer-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.08);
}

.product-info {
    padding: 0;
    margin-top: auto;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: -0.022em;
}

.product-info .description {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 32px;
    line-height: 1.4;
    font-weight: 400;
}

.price {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 1rem 0;
    letter-spacing: -0.022em;
}

.original-price {
    color: var(--text-light);
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.discount {
    background: var(--primary-color);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Controles de cantidad */
.quantity-controls {
    display: flex;
    align-items: center;
    margin: 1rem 0;
    gap: 0.6rem;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: white;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--text-dark);
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.quantity-input {
    width: 44px;
    height: 32px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-weight: 500;
    font-family: inherit;
}

.add-to-cart {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.9rem;
    border-radius: 8px;
    width: 100%;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    letter-spacing: 0;
    font-family: inherit;
}

.add-to-cart:hover {
    background: #C40015;
    transform: none;
    box-shadow: 0 4px 12px rgba(226, 0, 26, 0.3);
}

.out-of-stock {
    color: var(--error);
    font-weight: 600;
    text-align: center;
    padding: 0.9rem;
    background: rgba(226, 0, 26, 0.05);
    border-radius: 8px;
    font-size: 0.85rem;
    border: 1px solid var(--error);
    text-transform: none;
}

/* Sección de información - Estilo Apple */
.info-section {
    padding: 4rem 0;
    background-color: #F5F5F7;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.info-col {
    background: white;
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.info-col:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.info-col h2 {
    background: var(--gradient);
    color: white;
    padding: 1.5rem 2rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: -0.022em;
}

.info-content {
    padding: 2rem;
}

.info-content h3 {
    color: var(--text-dark);
    margin: 1.5rem 0 1rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0;
    font-weight: 600;
    border-bottom: none;
    letter-spacing: -0.022em;
}

.info-content h3:first-child {
    margin-top: 0;
}

.info-content p, .info-content ul, .info-content ol {
    margin-bottom: 1.2rem;
    line-height: 1.6;
    color: var(--text-light);
    font-size: 0.9rem;
}

.info-content ul, .info-content ol {
    padding-left: 1.5rem;
}

.info-content li {
    margin-bottom: 0.6rem;
}

.faq-item {
    margin-bottom: 1.5rem;
}

.faq-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    font-size: 1rem;
    font-weight: 600;
}

/* Footer - Estilo Apple */
.footer {
    background-color: #F5F5F7;
    color: var(--text-dark);
    padding: 3rem 0 0;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0;
    color: var(--text-dark);
    text-transform: none;
    font-weight: 600;
    letter-spacing: -0.022em;
}

.footer-col h4::after {
    display: none;
}

.footer-col p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    display: inline-block;
    font-weight: 400;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    transform: none;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--primary-color);
    color: white;
    transition: var(--transition);
    font-size: 1rem;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    background: transparent;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-light);
}

.payment-methods {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.payment-methods i {
    font-size: 1.3rem;
    color: var(--text-light);
    transition: var(--transition);
}

.payment-methods i:hover {
    color: var(--primary-color);
}

/* Modales - Estilo Apple */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 380px;
    height: 100%;
    background: white;
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
    padding: 1.8rem;
    overflow-y: auto;
    z-index: 1000;
    border-left: 1px solid var(--border);
}

.cart-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.8rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--border);
}

.cart-header h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: -0.022em;
}

.close-modal {
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
    color: var(--text-light);
    background: none;
    border: none;
    opacity: 0.8;
}

.close-modal:hover {
    color: var(--primary-color);
    transform: none;
    opacity: 1;
}

.cart-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border);
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.cart-item-content {
    flex: 1;
}

.cart-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
    font-weight: 600;
}

.cart-item p {
    color: var(--primary-color);
    font-weight: 600;
}

/* Controles de cantidad en el carrito */
.cart-quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.6rem;
}

.cart-quantity-btn {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: white;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.8rem;
    color: var(--text-dark);
}

.cart-quantity-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.cart-quantity-input {
    width: 38px;
    height: 26px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.8rem;
    font-family: inherit;
}

.remove-item {
    background: none;
    border: none;
    color: var(--error);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
    align-self: flex-start;
    opacity: 0.7;
}

.remove-item:hover {
    transform: none;
    opacity: 1;
}

.cart-footer {
    margin-top: 1.8rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.cart-total {
    font-size: 1.3rem;
    font-weight: 600;
    text-align: right;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.cart-total span {
    color: var(--primary-color);
}

.checkout-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#checkout-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
}

#checkout-button:hover {
    background: #C40015;
    transform: none;
    box-shadow: 0 4px 12px rgba(226, 0, 26, 0.3);
}

.checkout-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 2000;
}

.checkout-content {
    background: white;
    padding: 2.5rem;
    border-radius: 18px;
    width: 95%;
    max-width: 480px;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -48%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.checkout-content h3 {
    margin-bottom: 2rem;
    color: var(--text-dark);
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: -0.022em;
}

#checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(226, 0, 26, 0.1);
}

.close-checkout {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    background: none;
    border: none;
    padding: 0.5rem;
    opacity: 0.8;
}

.close-checkout:hover {
    color: var(--primary-color);
    transform: none;
    opacity: 1;
}

.checkout-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
    text-transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
}

.checkout-btn:hover {
    background: #C40015;
    transform: none;
    box-shadow: 0 4px 12px rgba(226, 0, 26, 0.3);
}

/* Notificaciones estilo Apple */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 3000;
    animation: slideIn 0.3s ease-out;
    max-width: 350px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary-color);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Estado cuando no hay productos */
.no-products {
    text-align: center;
    padding: 3rem;
    grid-column: 1 / -1;
}

.no-products i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.no-products h3 {
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

/* Animaciones mejoradas */
@keyframes productSlideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.product-card {
    animation: productSlideIn 0.4s ease-out forwards;
    opacity: 0;
}

/* Efecto de carga mejorado */
.skeleton {
    animation: skeleton-loading 1.5s infinite ease-in-out;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
}

@keyframes skeleton-loading {
    from {
        background-position: 200% 0;
    }
    to {
        background-position: -200% 0;
    }
}

/* Responsive mejorado para el carrusel */
@media (max-width: 1600px) {
    .carousel-container {
        max-width: 95%;
        height: 140px;
    }
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    
    .carousel-container {
        height: 125px;
    }
}

@media (max-width: 992px) {
    .header .container {
        gap: 1.5rem;
    }
    
    .search-bar {
        order: 1;
        width: 100%;
        max-width: 100%;
    }
    
    .carousel-container {
        height: 110px;
        max-width: 92%;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.5rem;
    }
    
    .carousel-container {
        height: 90px;
        max-width: 90%;
        border-radius: 8px;
    }
    
    .carousel-nav {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        padding: 10px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-controls {
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    .top-bar .left {
        justify-content: center;
        width: 100%;
    }
    
    .header-actions {
        margin-left: auto;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card img {
        height: 180px;
    }
    
    .carousel-container {
        height: 75px;
        max-width: 88%;
    }
    
    .carousel-dots {
        bottom: 10px;
    }
    
    .carousel-dot {
        width: 6px;
        height: 6px;
    }
    
    .carousel-nav {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
        padding: 8px;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .checkout-content {
        padding: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .payment-methods {
        justify-content: center;
    }
    
    .container {
        padding: 0 16px;
    }
}

@media (max-width: 400px) {
    .carousel-container {
        height: 60px;
        max-width: 85%;
    }
    
    .ad-carousel-container {
        padding: 1.5rem 0 0 0;
    }
    
    .carousel-nav {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
        padding: 8px;
    }
    
    .product-card {
        padding: 1.5rem;
    }
}

@media (max-width: 350px) {
    .carousel-container {
        height: 50px;
        max-width: 82%;
    }
}