* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Barra superior */
.top-bar {
    background: linear-gradient(90deg, #00b4d8 0%, #0096c7 100%);
    color: white;
    overflow: hidden;
    padding: 8px 0;
    position: relative;
    width: 100%;
}

.marquee {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    width: max-content;
    animation: marquee 35s linear infinite;
    will-change: transform;
}

.marquee span {
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    padding-right: 50px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Header */
.header {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-icon-container {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(233, 30, 99, 0.3);
}

.logo-img {
    border-radius: 50%;
    object-fit: cover;
    display: block;
    width: 65px;
    height: 65px;
}

.logo-text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

.logo-text .almacenes {
    font-size: 16px;
    font-weight: 600;
    color: #666;
    letter-spacing: 1px;
}

.logo-text .mas-ofertas {
    font-size: 26px;
    font-weight: 800;
    color: #e91e63;
    letter-spacing: -0.5px;
}

/* Responsive logo text */
@media (max-width: 768px) {
    .logo-text .almacenes {
        font-size: 12px;
    }

    .logo-text .mas-ofertas {
        font-size: 19px;
    }

    .logo-icon-container {
        width: 62px;
        height: 62px;
    }

    .logo-img {
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: flex;
        /* Mostramos el texto como en desktop */
    }

    .logo-text .almacenes {
        font-size: 9px;
    }

    .logo-text .mas-ofertas {
        font-size: 14px;
    }

    .logo-icon-container {
        width: 45px;
        height: 45px;
    }

    .logo-img {
        width: 38px;
        height: 38px;
    }

    .search-bar {
        order: 3;
        width: 100%;
        max-width: none;
        margin-top: 10px;
    }
}

.search-bar {
    flex: 1;
    display: flex;
    max-width: 500px;
}

.search-bar input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px 0 0 25px;
    font-size: 14px;
    outline: none;
}

.search-bar input:focus {
    border-color: #00b4d8;
}

.search-btn {
    background: #00b4d8;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #0096c7;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone {
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart {
    position: relative;
    color: #333;
    font-size: 24px;
    text-decoration: none;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e91e63;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Navegación */
.main-nav {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

.nav-menu a {
    color: #666;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #00b4d8;
}

/* Menú hamburguesa - Solo móvil */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    position: relative;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Banner promocional */
.promo-banner {
    background: linear-gradient(135deg, #e91e63, #f06292);
    color: white;
    padding: 15px 0;
    position: relative;
}

/* Banner de promociones estilo AliExpress - Marquesina infinita */
.promo-banner-marquee {
    background: linear-gradient(135deg, #e91e63, #f06292);
    color: white;
    padding: 12px 0;
    position: relative;
    overflow: hidden;
    white-space: normal;
}

.promo-marquee-container {
    display: flex;
    animation: none;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 56px 0 12px;
}

.promo-item {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    min-width: max-content;
}

.promo-icon {
    font-size: 18px;
    color: #ffeb3b;
}

.promo-badge {
    background: rgba(255, 255, 255, 0.25);
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 12px;
    margin-left: 10px;
}

/* Animación de scroll infinito */
@keyframes scrollPromos {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Pausa la animación al hacer hover */
.promo-banner-marquee:hover .promo-marquee-container {
    animation-play-state: paused;
}

/* Botón de cerrar marquesina */
.close-promo-marquee {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 10;
}

.close-promo-marquee:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Efecto de gradiente en los bordes para suavizar */
.promo-banner-marquee::before,
.promo-banner-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.promo-banner-marquee::before {
    left: 0;
    background: linear-gradient(to right,
            rgba(233, 30, 99, 1) 0%,
            rgba(233, 30, 99, 0) 100%);
}

.promo-banner-marquee::after {
    right: 0;
    background: linear-gradient(to left,
            rgba(240, 98, 146, 1) 0%,
            rgba(240, 98, 146, 0) 100%);
}

.promo-carousel {
    position: relative;
    overflow: hidden;
}

.promo-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.promo-slide.active {
    display: block;
    opacity: 1;
}

.promo-content {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
}

.promo-text {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.promo-title {
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.promo-separator {
    opacity: 0.8;
    margin: 0 8px;
    font-weight: bold;
}

.promo-content i {
    font-size: 24px;
}

.promo-description {
    font-size: 13px;
    opacity: 0.95;
    color: #fff;
    font-weight: 400;
}

.discount-badge {
    background: rgba(255, 255, 255, 0.3);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    margin-left: auto;
}

.promo-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
    z-index: 2;
}

.promo-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.promo-prev {
    left: 20px;
}

.promo-next {
    right: 60px;
}

/* Indicadores del carrusel */
.promo-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.promo-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.promo-indicator.active {
    background: white;
}

.promo-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.close-promo {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Hero Section */
.hero {
    padding: 40px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.hero-main {
    background: linear-gradient(135deg, #00b4d8, #0096c7);
    border-radius: 20px;
    padding: 60px;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-main::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Oscurecimiento para que texto sea legible */
.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 0;
    pointer-events: none;
}

/* Indicadores de carrusel hero */
.hero-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.hero-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.hero-indicator.active {
    background: white;
}

/* Botones Navegación Carrusel Hero */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 2;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 0.4);
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-primary {
    background: white;
    color: #00b4d8;
    border: none;
    padding: 15px 35px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.hero-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
    /* Aumentado para bajar el segundo cuadro */
    height: 100%;
}

.hero-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hero-card:hover {
    transform: translateY(-5px);
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex: 1;
}

.hero-card h3 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Overlay para mejorar legibilidad del texto sobre imagen */
.hero-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    pointer-events: none;
}

/* Categorías */
.categories {
    padding: 60px 0;
    background: #f8f9fa;
}

.categories h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.category-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.category-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 16px;
    color: #333;
}

/* Productos */
.products {
    padding: 60px 0;
}

.products h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.section-banner {
    background: linear-gradient(135deg, #00b4d8, #0096c7);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.section-banner h2 {
    font-size: 36px;
    margin-bottom: 5px;
}

.section-banner p {
    opacity: 0.9;
    font-size: 15px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
}

.badge-featured {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e91e63;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.brand {
    color: #999;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info h3 {
    font-size: 16px;
    margin: 10px 0;
    color: #333;
}

.price {
    margin: 15px 0;
}

.current-price {
    color: #00b4d8;
    font-size: 24px;
    font-weight: bold;
    display: block;
}

.old-price {
    color: #999;
    font-size: 12px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn-view,
.btn-add {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-view {
    background: #f0f0f0;
    color: #333;
}

.btn-view:hover {
    background: #e0e0e0;
}

.btn-add {
    background: #00b4d8;
    color: white;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.page-btn,
.page-number {
    background: white;
    border: 1px solid #e0e0e0;
    color: #333;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
}

.page-number.active {
    background: #00b4d8;
    color: white;
    border-color: #00b4d8;
}

.page-btn:hover,
.page-number:hover {
    border-color: #00b4d8;
    color: #00b4d8;
}

.btn-add:hover {
    background: #0096c7;
}

/* Financiamiento */
.financing {
    background: linear-gradient(135deg, #00b4d8, #0096c7);
    color: white;
    padding: 60px 0;
}

.financing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.financing-item h2 {
    font-size: 48px;
    margin-bottom: 10px;
}

.financing-item p {
    font-size: 18px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #1a2332;
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.footer-col p {
    color: #b0b0b0;
    margin-bottom: 20px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #00b4d8;
}

.footer-col h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    color: #b0b0b0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col ul li i {
    color: #00b4d8;
}

.note {
    color: #00b4d8;
    font-style: italic;
    margin-top: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #b0b0b0;
    font-size: 14px;
}

.footer-bottom a {
    color: #00b4d8;
    text-decoration: none;
}

/* Botón flotante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float.disabled {
    opacity: 0.5;
    pointer-events: none;
    box-shadow: none;
    transform: none;
}

/* Carrito de compras */
.cart-section {
    padding: 60px 0;
    min-height: 60vh;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.cart-header h1 {
    font-size: 32px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-empty-cart {
    background: #f44336;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}

.btn-empty-cart:hover {
    background: #d32f2f;
}

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 20px;
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 20px;
    align-items: center;
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-item-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.cart-item-info .brand {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
}

.cart-item-info .item-price {
    color: #00b4d8;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.cart-item-quantity .qty-btn {
    background: #f0f0f0;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 16px;
}

.cart-item-quantity input {
    border: none;
    width: 50px;
    text-align: center;
    font-size: 14px;
}

.cart-item-total {
    min-width: 100px;
    text-align: right;
}

.item-total {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.btn-remove-item {
    background: #f44336;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-remove-item:hover {
    background: #d32f2f;
}

.cart-summary {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.cart-summary h2 {
    font-size: 24px;
    margin-bottom: 25px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 16px;
}

.summary-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 20px 0;
}

.summary-total {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.summary-total span:last-child {
    color: #00b4d8;
}

.financing-info {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin: 15px 0 25px;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-continue,
.btn-checkout {
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-continue {
    background: white;
    border: 2px solid #00b4d8;
    color: #00b4d8;
}

.btn-continue:hover {
    background: #00b4d8;
    color: white;
}

.btn-checkout {
    background: #25d366;
    color: white;
    border: none;
}

.btn-checkout:hover {
    background: #1fb855;
}

.btn-checkout.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Carrito vacio */
.empty-cart-message {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-cart-message i {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
    color: #e0e0e0;
}

.empty-cart-message h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.empty-cart-message p {
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .cart-content {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cart-item img {
        margin: 0 auto;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .search-bar {
        max-width: 100%;
    }

    .nav-menu {
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-main {
        padding: 40px 30px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .financing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Breadcrumb */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
    font-size: 14px;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #00b4d8;
}

.breadcrumb i {
    margin: 0 10px;
    font-size: 10px;
    color: #999;
}

.breadcrumb span {
    color: #333;
}

/* Banner de categoría */
.category-banner {
    background: linear-gradient(135deg, #00b4d8, #0096c7);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.category-banner h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.category-banner p {
    font-size: 18px;
    opacity: 0.9;
}

/* Contenido de categoría */
.category-content {
    padding: 60px 0;
}

.filters {
    margin-bottom: 40px;
}

.filters h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: #00b4d8;
    color: #00b4d8;
}

.filter-btn.active {
    background: #00b4d8;
    color: white;
    border-color: #00b4d8;
}

.badge-stock {
    position: absolute;
    top: 50px;
    left: 15px;
    background: #ff9800;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.nav-menu a.active {
    color: #00b4d8;
    font-weight: 600;
}

/* Detalle del producto */
.product-detail {
    padding: 60px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.product-image-section {
    position: relative;
}

.product-image-section img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-info-section h1 {
    font-size: 32px;
    color: #333;
    margin-top: 10px;
}

.product-price {
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.price-main {
    display: block;
    font-size: 36px;
    color: #00b4d8;
    font-weight: bold;
    margin-bottom: 5px;
}

.price-installment {
    color: #999;
    font-size: 14px;
}

.stock-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4caf50;
    font-size: 14px;
}

.product-description h3,
.product-specs h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.product-description p {
    color: #666;
    line-height: 1.8;
}

.product-specs table {
    width: 100%;
    border-collapse: collapse;
}

.product-specs table tr {
    border-bottom: 1px solid #e0e0e0;
}

.product-specs table td {
    padding: 12px 0;
}

.product-specs table td:first-child {
    color: #999;
    width: 40%;
}

.product-specs table td:last-child {
    font-weight: 500;
    text-align: right;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-selector label {
    font-weight: 500;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    background: #f0f0f0;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
}

.qty-btn:hover {
    background: #e0e0e0;
}

.quantity-controls input {
    border: none;
    width: 60px;
    text-align: center;
    font-size: 16px;
    padding: 10px;
}

.product-actions-detail {
    display: flex;
    gap: 15px;
}

.btn-add-cart,
.btn-whatsapp {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-add-cart {
    background: #00b4d8;
    color: white;
}

.btn-add-cart:hover {
    background: #0096c7;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background: #1fb855;
}

.btn-estimate {
    width: 100%;
    padding: 12px;
    background: white;
    border: 2px solid #00b4d8;
    color: #00b4d8;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-estimate:hover {
    background: #00b4d8;
    color: white;
}

.product-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.feature-item i {
    color: #00b4d8;
    font-size: 24px;
}

.feature-item span {
    font-size: 12px;
    color: #666;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    width: 90%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f0f0f0;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
}

.modal-close:hover {
    background: #e0e0e0;
}

.modal-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.calculator-product {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.calc-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.calculator-product h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.calc-price {
    font-size: 28px;
    color: #00b4d8;
    font-weight: bold;
}

.calc-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

.installment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.installment-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s;
    cursor: pointer;
}

.installment-card:hover {
    border-color: #00b4d8;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.2);
}

.installment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.installment-months {
    font-size: 16px;
    font-weight: 600;
}

.installment-amount {
    font-size: 24px;
    color: #00b4d8;
    font-weight: bold;
}

.installment-total {
    font-size: 12px;
    color: #999;
}

.installment-note {
    font-size: 12px;
    color: #999;
    text-align: right;
}

.calc-disclaimer {
    font-size: 11px;
    color: #999;
    text-align: center;
    margin-top: 20px;
    font-style: italic;
}

/* Notificación de carrito */
.cart-notification {
    position: fixed;
    top: 100px;
    right: 30px;
    background: #4caf50;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    display: none;
    align-items: center;
    gap: 10px;
    z-index: 1500;
    animation: slideIn 0.3s ease;
}

.cart-notification.show {
    display: flex;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive adicional */
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .installment-options {
        grid-template-columns: 1fr;
    }

    .product-features {
        grid-template-columns: 1fr;
    }

    .product-actions-detail {
        flex-direction: column;
    }

    .category-banner h1 {
        font-size: 32px;
    }
}

/* Estilos adicionales para enlaces */
.logo a {
    color: white;
    text-decoration: none;
}

.product-info h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.product-info h3 a:hover {
    color: #00b4d8;
}

.btn-view {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mejoras visuales */
.product-card {
    cursor: pointer;
}

.product-card img {
    transition: transform 0.3s;
}

.product-card:hover img {
    transform: scale(1.05);
}

/* Placeholder para imágenes */
.img-placeholder {
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 48px;
}

/* ========================================
   RESPONSIVE - MENÚ HAMBURGUESA Y CARRUSEL
   ======================================== */

/* Estilos para móvil - Menú hamburguesa */
@media (max-width: 768px) {

    /* Mostrar hamburguesa en móvil */
    .hamburger {
        display: flex !important;
    }

    /* Posición especial de la X cuando el menú está activo */
    .hamburger.active {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1002;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        padding: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .hamburger.active span {
        background: #333;
    }

    /* Ocultar menú normal en móvil */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 30px 30px;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .nav-menu a {
        font-size: 16px;
        font-weight: 500;
        display: block;
        padding: 10px 0;
    }

    /* Overlay para cerrar menú */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Ajustes del header en móvil */
    .header-content {
        gap: 15px;
    }

    .search-bar {
        order: 3;
        width: 100%;
        max-width: none;
        margin-top: 15px;
    }

    /* Carrusel de promociones - Responsive */
    .promo-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 0 50px;
    }

    .promo-text {
        flex-direction: column;
        gap: 5px;
    }

    .promo-title {
        font-size: 14px;
    }

    .promo-description {
        font-size: 11px;
    }

    .discount-badge {
        margin: 10px auto 0;
        font-size: 12px;
        padding: 4px 12px;
    }

    .promo-nav {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .promo-prev {
        left: 10px;
    }

    .promo-next {
        right: 50px;
    }

    .close-promo {
        right: 10px;
        font-size: 20px;
    }

    /* Indicadores en móvil */
    .promo-indicators {
        bottom: 10px;
        gap: 6px;
    }

    .promo-indicator {
        width: 6px;
        height: 6px;
    }

    /* Marquesina en móvil */
    .promo-banner-marquee {
        padding: 10px 0;
    }

    .promo-item {
        font-size: 12px;
        gap: 10px;
    }

    .promo-icon {
        font-size: 16px;
    }

    .promo-badge {
        font-size: 10px;
        padding: 3px 8px;
    }

    .promo-marquee-container {
        animation-duration: 25s;
        gap: 30px;
    }

    .close-promo-marquee {
        width: 25px;
        height: 25px;
        font-size: 16px;
        right: 10px;
    }
}

/* Tablet - Ajustes intermedios */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-menu {
        gap: 20px;
    }

    .nav-menu a {
        font-size: 13px;
    }

    /* Carrusel promociones en tablet */
    .promo-content {
        padding: 0 60px;
    }

    .promo-nav {
        width: 38px;
        height: 38px;
    }
}

/* Botón Ver Promociones */
.ver-promociones-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 10px;
    white-space: nowrap;
}

.ver-promociones-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.ver-promociones-btn i {
    font-size: 11px;
}

/* Modal de Promociones */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: linear-gradient(135deg, #e91e63, #f06292);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}

.loading-spinner i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

/* Promociones en el modal */
.promotion-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    background: #fff;
    transition: all 0.3s ease;
}

.promotion-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #00b4d8;
}

.promotion-card.active {
    border-color: #00b4d8;
    background: #f0f9ff;
}

.promotion-card.inactive {
    opacity: 0.6;
    background: #f8f9fa;
}

.promotion-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.promotion-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.promotion-status {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.promotion-status.activa {
    background: #d4edda;
    color: #155724;
}

.promotion-status.inactiva {
    background: #f8d7da;
    color: #721c24;
}

.promotion-status.proximamente {
    background: #fff3cd;
    color: #856404;
}

.promotion-status.expirada {
    background: #e2e3e5;
    color: #6c757d;
}

.promotion-description {
    color: #666;
    margin: 10px 0;
    line-height: 1.5;
}

.promotion-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.promotion-discount {
    background: linear-gradient(135deg, #e91e63, #f06292);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
}

.promotion-dates {
    font-size: 12px;
    color: #888;
}

.no-promotions {
    text-align: center;
    padding: 40px;
    color: #666;
}

.no-promotions i {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
    color: #ddd;
}

/* Responsive para modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 10px;
        max-height: 90vh;
    }

    .modal-header {
        padding: 15px;
    }

    .modal-header h2 {
        font-size: 20px;
    }

    .modal-body {
        padding: 15px;
        max-height: 70vh;
    }

    .promotion-card {
        padding: 15px;
    }

    .promotion-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .promotion-details {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .ver-promociones-btn {
        font-size: 10px;
        padding: 6px 12px;
        margin: 0 5px;
    }
}

/* Ajustes para el botón en la marquesina */
.promo-item .ver-promociones-btn {
    margin: 0 15px 0 10px;
}

/* Ajustes para el botón en banner único */
.promo-content .ver-promociones-btn {
    margin: 0 15px;
}

/* Productos: 2 por fila en móvil */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .product-card img {
        height: 170px;
    }

    .product-info {
        padding: 14px;
    }

    .product-actions {
        gap: 8px;
    }

    .btn-view,
    .btn-add {
        padding: 8px;
        font-size: 12px;
    }
}