/* arriba debajo de header */
.carrusel-hero{
    background-image: url('../img/tapo.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }

  .banner-oferta{
    background-image: url('../img/oferta.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }
  .vista-movil{
    display:none;
  }



/* prueba */
/* Section */
.section {
    margin-bottom: 24px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    margin-top: 24px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
}

.see-all {
    font-size: 14px;
    color: #004d99;
    text-decoration: none;
    font-weight: 500;
}

/* Categories */
.categories {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    justify-content: center;
}

.category-btn {
    min-width: 60px;
    height: 60px;
    border: 2px solid #e5e5e5;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s;
    color: #666666;
    font-size: 17px;
}

.category-btn.active {
    background: #004d99;
    border-color: #004d99;
    color: #ffffff;
}

.category-btn span {
    font-size: 11px;
    font-weight: 500;
}

/* Products Grid */
.products-grid {
    display: grid;
    /* grid-template-columns: repeat(2, 1fr); */
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.product-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 12px;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.favorite-btn, .remove-favorite-btn {
    position: absolute;
    top: 16px;
    /* right: 16px; */
    right: 5px;
    width: 32px;
    height: 32px;
    border: none;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
    transition: all 0.2s;
}

.favorite-btn:hover {
    transform: scale(1.1);
}

.favorite-btn.active {
    color: #ff3b30;
}
.cart-btn {
    position: absolute;
    top: 60px;
    right: 5px;
    width: 32px;
    height: 32px;
    border: none;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
    transition: all 0.2s;
}
.btnCarrito i{
    pointer-events: none;
  }
.agregar-favorito{
    pointer-events:none;
}

.cart-btn:hover {
    transform: scale(1.1);
    background: #007bff;
    color: white;
}

.product-image {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 12px;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.product-price {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
}

.product-rating {
    font-size: 12px;
    color: #666666;
}

.product-name {
    font-size: 14px;
    font-weight: 500;
    color: #666666;
}
@media (max-width: 480px) {
    .Escritorio{
        display: none!important;
    }
    .vista-movil{display:revert;}
    /* nuevos estilos */
  /* Promo Banner */

  .carousel-container {
    width: 100%;
    max-width: 500px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    touch-action: pan-y;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 220px;
}

.promo-banner {
    background: linear-gradient(135deg, #004d99 0%, #00c6ff 100%);
    border-radius: 20px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    min-height: 100%;
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 0 0 100%; /* Esto es importante */
    box-sizing: border-box;
}

/* Banner con imagen de fondo */
.promo-banner.with-bg {
    background: linear-gradient(rgba(0, 77, 153, 0.8), rgba(0, 198, 255, 0.8)), 
                url('../img/tapo.jpg');
    background-size: cover;
    background-position: center;
}

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

.promo-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.promo-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.promo-btn {
    background: #ffffff;
    color: #004d99;
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.promo-btn:hover {
    transform: scale(1.05);
}

.promo-image {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%) rotate(-15deg);
    width: 180px;
    height: auto;
    opacity: 0.9;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
}

.carousel-nav {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s;
    cursor: pointer;
}

.dot.active {
    width: 20px;
    border-radius: 3px;
    background: #ffffff;
}

.swipe-indicator {
    position: absolute;
    bottom: 10px;
    right: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.swipe-indicator svg {
    width: 16px;
    height: 16px;
}
.promo-title {
    font-size: 20px;
}

.promo-image {
    width: 140px;
}

.carousel-track {
    height: 200px;
}
/* productos */
.products-grid{
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
}