/* ---------- BANNERS FULL WIDTH ---------- */
.carousel {
    margin: 0;
    padding: 0;
}

.carousel-inner {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

.carousel-item img.banner-img {
    width: 100vw;
    max-width: 100vw;
    height: auto;
    max-height: 780px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* ---------- PRODUCTOS DESTACADOS ---------- */
.productos-destacados img {
    width: 280px;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.productos-destacados img:hover {
    transform: scale(1.2);
}

.logo-flotante {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 20;
    width: 80px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo-flotante img {
    width: 100%;
    height: auto;
}

.logo-flotante:hover {
    opacity: 1;
    transform: scale(1.1);
}

.categorias img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ccc;
    padding: 0px;
    display: block;
    margin: auto;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.categorias a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.categorias img:hover {
    transform: scale(1.2);
}

.categorias h3, .productos-destacados h3, .ofertas h3 {
    font-family: 'Nerko One', cursive;
    font-size: 2rem;
    text-align: center;
}

.categorias p, .productos-destacados p, .ofertas p {
    font-family: 'Nerko One', cursive;
    font-size: 1.5rem;
    text-align: center;
}

.linea-promocion {
    width: 100%;
    overflow: hidden;
    background-color: #f7e6ff;
    padding: 10px 0;
    text-align: center;
}

.linea-promocion p {
    display: inline-block;
    white-space: nowrap;
    font-size: 1.2rem;
    color: #ff007f;
    animation: desplazamiento 15s linear infinite;
}

.icono-nueva-coleccion {
    width: 130px;
    margin-right: 10px;
    vertical-align: middle;
}

.icono-oferta-especial {
    width: 50px;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes desplazamiento {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.separador {
    display: inline-block;
    width: 100px;
}

.precio-original {
    color: #888;
    text-decoration: line-through;
    margin-left: 10px;
}

.sticker-oferta {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #28a745;
    color: #fff;
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 5px;
    font-weight: bold;
}

.ofertas h3 {
    font-family: 'Nerko One', cursive;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
}

.ofertas .row {
    justify-content: center;
}

.ofertas .col-md-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
}

.ofertas .card {
    width: 100%;
    max-width: 250px;
    border: none;
    margin-bottom: 10px;
}

.ofertas img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.ofertas img:hover {
    transform: scale(1.05);
}

.ofertas .btn {
    width: 100%;
    border-radius: 5px;
    margin-top: 10px;
}

.ofertas .card-text {
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.whatsapp-flotante {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    z-index: 1000;
}

.whatsapp-flotante img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.ofertas .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 250px;
    border: none;
    margin-bottom: 20px;
    height: 100%;
}

.ofertas .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    width: 100%;
}

.ofertas .btn {
    width: 100%;
    border-radius: 5px;
    margin-top: auto;
}

.ofertas .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}

@media (max-width: 768px) {
    .ofertas img {
        height: 220px;
    }

    .ofertas .card {
        max-width: 100%;
    }
}

.productos-destacados .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 250px;
    border: none;
    margin-bottom: 20px;
    height: 100%;
}

.productos-destacados img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.productos-destacados .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    width: 100%;
}

.productos-destacados .btn {
    width: 100%;
    border-radius: 5px;
    margin-top: auto;
}

.productos-destacados .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}

.descripcion-producto {
    height: 3.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    display: box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
}

@media (max-width: 768px) {
    .productos-destacados img {
        height: 220px;
    }

    .productos-destacados .card {
        max-width: 100%;
    }

    .text-truncate-line-2 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        height: 2.6em;
    }
}