﻿:root {
    --rosa-claro: rgb(235, 199, 206);
    --rosa-medio: rgb(228, 137, 164);
    --rosa-fondo: rgb(249, 230, 225);
    --rosa-profundo: rgb(209, 167, 180);
    --rosa-suave: rgb(250, 236, 239);
    --beige: #f5f5dc;
    --moka: #b89b82;
    --rosa-claro-contenedor: #fef6f8;
    --flechas: rgb(209, 167, 180);
}



body {
    background-color: var(--rosa-suave);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #5a2a39;
}

h1, h2, h3, h4, h6 {
    color: var(--rosa-profundo);
}

h2 {
    font-family: 'Georgia', serif;
    letter-spacing: 1px;
}

h3 {
    font-family: 'Arial Black', sans-serif;
    color: rgba(0, 0, 0, 0.77);
}

label {
    color: var(--rosa-profundo);
}


hr {
    border-top: 3px solid #e0bfc7;
}

.detalle .envio i, .detalle .envio span {
    color: #0fb017;
    font-size: 1rem;
}

.detalle .border-dashed {
    border-style: dashed !important;
    border-color: var(--rosa-claro) !important;
    background: var(--rosa-suave);
}

.detalle-container {
    background-color: #fff;
    border: 1px solid #e0bfc7;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.swiper-button-next,
.swiper-button-prev {
    color: #a0435c !important;
}

.swiper-slide {
    cursor: pointer;
}

    .swiper-slide img {
        padding-top: 1rem;
        object-fit: contain;
        max-height: 100%;
    }

.gallery-thumbs-vertical {
    height: 300px;
}

.gallery-thumbs-horizontal {
    padding: 5px 0;
}

    .gallery-thumbs-horizontal .swiper-slide {
        width: auto !important;
        height: 150px;
        margin-bottom: 3rem;
    }

.swiper-zoom-container img {
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.swiper-pagination-bullet-active {
    background-color: #a0435c;
}

.carousel-inner img {
    height: 400px;
    object-fit: cover;
}

.card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

    .card:hover {
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
        transform: translateY(-6px);
    }

.card-title {
    font-size: 1.2rem;
    font-weight: bold;
}

.custom-img {
    height: 140px; /* Imagen más chica */
    width: auto; /* Mantiene proporción */
    display: block;
    margin: 0 auto; /* Centra horizontalmente */
    border-radius: 12px;
}

.card-body {
    background-color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center; /* <-- Esto centra el contenido de texto */
}

.btn-eterea {
    background-color: #d1a7b4;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

    .btn-eterea:hover {
        background-color: #a0435c;
    }

.promo-item i {
    color: #e44d5e;
    font-size: 1.2rem;
}

.promo-title {
    text-transform: uppercase;
}



.btn-dark.btn-sm {
    background-color: #a0435c;
    border: none;
}

    .btn-dark.btn-sm:hover {
        background-color: #5a2a39;
    }

.tablink {
    border-bottom: 3px solid transparent;
    transition: 0.3s;
}

.w3-border-pale-amber {
    border-color: #a0435c !important;
}

.w3-bottombar {
    border-bottom: 3px solid #a0435c !important;
}

.box {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e0bfc7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}


.card-box-info {
    border: 2px solid var(--rosa-claro);
    background-color: var(--rosa-claro);
}

.box-info {
    border-left-color: var(--rosa-medio) !important;
}

    .box-info p {
        font-size: 11px;
        font-weight: bold;
    }

.fs-6 {
    font-weight: bold;
    color: #5a2a39;
}

.box-perfume-volumen a {
    text-decoration: none;
    color: #a0435c;
    font-weight: bold;
    padding: .5rem;
    margin-right: 10px;
    border-radius: 10px;
    border: 2px solid #a0435c;
}

.box-perfume-volumen p {
    margin-right: 10px;
    font-weight: 500;
    color: var(--rosa-profundo);
}


.box-perfume-volumen .select {
    background-color: #a0435c;
    color: aliceblue;
}


button {
    background-color: #d1a7b4;
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-weight: bold;
    margin: 0 5px;
}

    button:hover {
        background-color: #a0435c;
    }

.badge.bg-dark {
    background-color: #a0435c !important;
}

#carrito-offcanvas {
    position: fixed;
    top: 20px;
    right: -350px;
    width: 300px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    padding: 20px;
    z-index: 2000;
    transition: right 0.5s ease-in-out;
}

    #carrito-offcanvas.show {
        right: 20px;
    }

.offcanvas-contenido img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}

.offcanvas-contenido p {
    margin: 0;
    font-size: 14px;
}

.cantidad-control {
    margin-bottom: 20px;
}

select {
    margin-top: 8px;
    padding: 5px;
    border-radius: 5px;
}

.breadcrumb-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.9rem;
    color: #444;
}

    .breadcrumb-nav li {
        display: flex;
        align-items: center;
        text-transform: uppercase;
    }

    .breadcrumb-nav a {
        text-decoration: none;
        color: #aaa;
    }

        .breadcrumb-nav a:hover {
            text-decoration: underline;
            color: #000;
        }

    .breadcrumb-nav span {
        margin: 0 0.25rem;
        color: #000;
    }

.box-tarjeta {
    width: 70%;
}


    .box-tarjeta p {
        font-size: 13px;
    }

.tarjeta {
    background-color: #fef6f8;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, 0.075);
}

.tarjeta-item {
    width: 100px
}

.img-mercadolibre {
    width: 512px;
}

/* ----- Precio con promoción ----- */
.precio-original {
    color: #888;
    text-decoration: line-through;
    margin-right: 8px;
    font-size: 0.95rem;
}

.precio-descuento {
    font-size: 1.1rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .detalle .btn-eterea {
        width: 100%;
    }

    .box-tarjeta {
        width: 100%;
    }
}

.selector-tamanios .btn-tamanio {
    padding: 6px 12px;
    font-size: 0.9rem;
    border-radius: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    min-width: 55px;
    text-align: center;
}

    .selector-tamanios .btn-tamanio.active,
    .selector-tamanios .btn-tamanio:hover {
        background-color: var(--rosa-profundo);
        color: white;
    }

/* ----- Leyenda de promoción ----- */
.leyenda-promocion {
    background-color: var(--rosa-medio);
    color: white;
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 12px;
    display: inline-block;
    margin-top: 6px;
}

.promo-placeholder {
    min-height: 1.2rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 600;
}


/* ✅ Carrusel de promociones full width */
#myCarousel {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
}

    /* ✅ Imagenes del carrusel: pantalla completa, más altura */
    #myCarousel .carousel-inner img {
        width: 100%;
        height: 450px; /* o el alto que prefieras */
        object-fit: cover;
        display: block;
    }

/* ✅ Flechas del carrusel más grandes y con sombra */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 100% 100%;
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
}

/* Estilo para las flechas con Font Awesome */
.flecha-carousel {
    font-size: 3rem;
    color: var(--flechas);
    border-radius: 50%;
    transition: transform 0.2s ease;
}

    .flecha-carousel:hover {
        transform: scale(1.1);
    }

/* Estilo para las flechas promos banner */
.flecha-carousel-banner {
    font-size: 3rem;
    color: white;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

    .flecha-carousel-banner:hover {
        transform: scale(1.1);
    }

/* ----- Cards generales ----- */
.card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

    .card:hover {
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
        transform: translateY(-6px);
    }

.card-title {
    font-size: 1.2rem;
    font-weight: bold;
}

.custom-img {
    height: 140px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.card-body {
    background-color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
}

/* ----- Botones personalizados ----- */
.btn-eterea {
    background-color: var(--rosa-profundo);
    color: white;
    width: 100%;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .btn-eterea:hover {
        background-color: rgb(189, 147, 160);
        transform: scale(1.02);
        color: white;
    }



/* ----- Offcanvas (carrito lateral) ----- */
#carrito-offcanvas {
    position: fixed;
    top: 20px;
    right: -350px;
    width: 350px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    padding: 20px;
    z-index: 2000;
    transition: right 0.5s ease-in-out;
}

    #carrito-offcanvas.show {
        right: 20px;
    }

.offcanvas-contenido {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

    .offcanvas-contenido img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .offcanvas-contenido p {
        margin: 0;
        font-size: 14px;
    }

h2 {
    color: var(--rosa-profundo); /* color igual al filtro */
    font-weight: bold;
}



/* ----- Carrusel y cards de perfumes más vendidos ----- */
#carouselMasVendidos {
    position: relative;
}

    #carouselMasVendidos .carousel-control-prev,
    #carouselMasVendidos .carousel-control-next {
        width: 3rem;
        height: 3rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 5;
    }

    #carouselMasVendidos .carousel-control-prev {
        left: -3rem; /* mueve hacia afuera */
    }

    #carouselMasVendidos .carousel-control-next {
        right: -3rem; /* mueve hacia afuera */
    }

    #carouselMasVendidos .carousel-inner .row {
        margin-left: 0;
        margin-right: 0;
        /* margen interno para que no pegue con las flechas */
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        z-index: 20; /* cards arriba de flechas */
    }


    #carouselMasVendidos .card {
        border: none;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
        cursor: pointer;
        min-height: 300px;
    }

        #carouselMasVendidos .card:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
        }

        #carouselMasVendidos .card img.custom-img {
            height: 140px;
            object-fit: cover;
            margin-top: 20px;
        }


.container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#myCarousel,
#carouselMarcas,
#carouselPerfumesEnPromo,
#carouselMasVendidos {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.container-fluid.p-0 {
    margin: 0;
    padding: 0;
}





.btn-tamanio {
    background-color: var(--rosa-suave2);
    border: 1px solid;
    border-radius: 20px;
    margin: 2px;
    padding: 4px 12px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-tamanio:hover {
        background-color: var(--rosa-medio);
        color: white;
    }

    .btn-tamanio.active {
        background-color: var(--rosa-profundo);
        color: white;
        font-weight: bold;
    }

.selector-tamanios .btn-tamanio {
    padding: 6px 12px;
    font-size: 0.9rem;
    border-radius: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    min-width: 55px;
    text-align: center;
}

    .selector-tamanios .btn-tamanio.active,
    .selector-tamanios .btn-tamanio:hover {
        background-color: var(--rosa-profundo);
        color: white;
    }

/* ----- Precio con promoción ----- */
.precio-original {
    color: #888;
    text-decoration: line-through;
    margin-right: 8px;
    font-size: 0.95rem;
}

.precio-descuento {
    font-size: 1.1rem;
    font-weight: bold;
}

/* ----- Leyenda de promoción ----- */
.leyenda-promocion {
    font-size: 1rem;
    background-color: var(--rosa-medio);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    min-width: 120px;
    text-align: center;
    display: inline-block;
}

.promo-placeholder {
    min-height: 1.2rem; /* ajusta este valor según el alto que necesites */
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 600;
}


.promo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.promo-content {
    flex: 1;
    text-align: center;
}

.promo-display .precio-original {
    color: #888;
    text-decoration: line-through;
    margin-right: 8px;
    font-size: 0.95rem;
}

.promo-display .precio-descuento {
    font-size: 1.1rem;
    font-weight: bold;
}

.btn-promo-prev,
.btn-promo-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 1rem;
    color: white;
    background-color: var(--rosa-profundo);
    border: none;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

    .btn-promo-prev:hover,
    .btn-promo-next:hover {
        transform: scale(1.1);
        background-color: var(--rosa-medio);
    }


    .btn-promo-prev:focus,
    .btn-promo-next:focus {
        outline: none !important;
        box-shadow: none !important;
    }

    .btn-promo-prev:active,
    .btn-promo-next:active {
        background-color: transparent !important;
        box-shadow: none !important;
    }

.promo-container.promo-sin-promocion {
    padding: 12px 16px;
    border-radius: 6px;
    text-align: center;
    font-style: italic;
    color: #555;
    padding-top: 25px;
    padding-bottom: 25px;
}


    .promo-container.promo-sin-promocion .leyenda-promocion {
        display: inline-block;
        font-size: 0.85rem;
        color: #666;
        background-color: #f5f5f5;
        padding: 4px 8px;
        border-radius: 4px;
        width: 100%;
        max-width: 160px;
        text-align: center;
        margin: 0 auto;
    }


.bg-marcas {
    background-color: var(--rosa-claro-contenedor);
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 3.5rem; /* más espacio para flechas */
    padding-right: 3.5rem;
    position: relative;
}

.perfume-detalle-contenedor {
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 768px) {
    .perfume-detalle-contenedor {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 992px) {
    .perfume-detalle-contenedor {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.perfume-detalle-fondo {
    background-color: var(--rosa-claro-contenedor); /* Rosa suave */
    border-radius: 1rem; /* Esquinas redondeadas */
    padding: 2rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); /* Sombra leve */
}

.detalle-con-fondo {
    background-color: var(--rosa-suave); /* o cualquier color personalizado */
    border-radius: 1rem;
    padding: 1.5rem;
    margin-left: 1rem;
}

.fondo-especificaciones {
    background-color: var(--rosa-suave); /* o el color que prefieras */
    border-radius: 1rem;
    padding: 1rem;
    margin-left: 0.2rem;
    margin-right: 0.2rem;
}

.linea-tamanios {
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* Por si hay muchos tamaños */
    gap: 0.5rem;
}

    .linea-tamanios p {
        margin: 0;
        font-weight: bold;
    }

    .linea-tamanios a {
        padding: 0.3rem 0.6rem;
        background-color: var(--rosa-suave);
        border-radius: 0.5rem;
        text-decoration: none;
        color: #333;
        transition: background-color 0.3s ease;
        font-size: 0.9rem;
    }

        .linea-tamanios a:hover {
            background-color: var(--rosa-profundo);
            color: white;
        }

        .linea-tamanios a.select {
            background-color: var(--rosa-profundo);
            color: white;
            font-weight: bold;
        }

/* Ajustar altura de la imagen principal */
.swiper.gallery-top {
    height: 400px; /* Ajustá según lo que necesites */
}

    .swiper.gallery-top .swiper-slide {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

        .swiper.gallery-top .swiper-slide img {
            max-height: 100%;
            width: auto;
            object-fit: contain;
        }

/* Contenedor con flex para alinear cantidad y mensaje */
.contenedor-stock-cantidad {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* Reutilizamos clases anteriores */
.stock-message {
    font-weight: bold;
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
}

    .stock-message.ultimo {
        color: #a94442;
        background-color: #f8d7da;
        border: 1px solid #f5c6cb;
    }

    .stock-message.sin-stock {
        margin-top: 1rem;
        color: #721c24;
        background-color: #f8d7da;
        border: 1px solid #f5c6cb;
    }

.selector-cantidad label {
    margin-right: 10px;
    font-weight: 500;
}

.selector-cantidad select {
    padding: 5px 10px;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    background-color: #fff;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s;
}

    .selector-cantidad select:focus {
        border-color: var(--rosa-medio);
        outline: none;
    }


/* datos abajo de las imagenes*/
/* Contenedor general con fondo y bordes redondeados */
.card-box-info {
    background-color: var(--rosa-suave); /* Fondo suave */
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Sombra sutil */
    padding: 4.5rem 0.5rem;
    margin: 1.5rem 0;
}

/* Espacio interno por caja */
.box-info {
    padding: 0 1rem;
}

    /* Íconos más estilizados */
    .box-info i {
        color: var(--rosa-profundo); /* O un color distintivo */
        margin-bottom: 0.5rem;
    }

    /* Títulos */
    .box-info p {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
        color: #333;
    }

    /* Enlaces */
    .box-info a {
        font-size: 0.85rem;
        color: var(--rosa-profundo);
    }

        .box-info a:hover {
            text-decoration: underline;
        }

.box-border-info {
    border-right: solid 1px #ccc
}


    @media (max-width: 600px) {
        .breadcrumb-nav {
        /*display: block;*/
        display:none;
    }

    .linea-tamanios{
        justify-content: center;
    }

    #detalle {
        height: 380px;
        overflow: scroll;
    }
        .box-border-info {
            border-right: none;
        }
        .swiper.gallery-top {
            height: 250px !important;
        }
        .contenedor-stock-cantidad{
            justify-content:center;
        }
}

/* Imagen del perfume en el popup "Se agregó a tu carrito" */
.popup-perfume-img {
    max-width: 120px; /* ancho máximo visible */
    max-height: 160px; /* alto máximo visible */
    width: auto;
    height: auto;
    object-fit: contain; /* respeta proporciones, sin recortar */
    display: block;
    margin: 0 auto 10px; /* centrado y espacio abajo */
}