/* --- Tarjeta de producto --- */
.product-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.product-img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin: auto;
}

.product-brand {
    margin-top: 10px;
    color: #777;
    font-size: 14px;
}

.product-name {
    font-weight: bold;
    margin-top: 4px;
    font-size: 16px;
    min-height: 48px;
}

.product-discount {
    display: inline-block;
    margin-top: 5px;
    color: #e63946;
    font-weight: bold;
    font-size: 14px;
}

.product-price {
    margin-top: 10px;
}

.price-offer {
    font-size: 18px;
}

.price-old {
    margin-left: 10px;
    text-decoration: line-through;
    color: #aaa;
    font-size: 14px;
}

/* --- Botón añadir al carrito --- */
.btn-cart {
    margin-top: 15px;
    background: #FF6B00;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
    width: 100%;
}

.btn-cart:hover {
    background: #FF6B00;
}

/* --- Ajustes carrusel Swiper --- */
.swiper-button-next,
.swiper-button-prev {
    color: #333;
    opacity: 0.8;
    transition: opacity .3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 1;
}

.swiper-slide {
    display: flex;
    justify-content: center;
}
/* --- Color Text ---*/
.text-acdc{
    color : #FF6B00;
}
/* Hero css carrousel*/
/* Botón Hero */
.cta-btn {
    background: #FF6B00;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0,0,0,.2);
    transition: 0.3s;
    display: inline-block;
}

.cta-btn:hover {
    background: #FF5F1F;
}

/* Hero Carrusel */
.hero-img {
    width: 100%;
    height: 350px;
    object-fit: contain;
    border-radius: 15px;
    background: white;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
}

.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev {
    color: white;
}

.heroSwiper .swiper-pagination-bullet {
    background: #FF6B00;
}
header {
    width: 100%;
    display: flex;
    justify-content: center;
}
.nav-container {
    max-width: 1200px; /* O el tamaño que prefieras */
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#header {
    padding: 10px 0;
}

@media (max-width: 767px) {
    #header {
        padding: 15px 0; /* Más espacio en pantallas pequeñas */
    }
}
