@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:wght@300&display=swap");
@import url("https://fonts.googleapis.com/css?family=Caveat|Lato:400,700|Patua+One&display=swap");



body {
    margin: 0;
    padding: 0;
    font-family: poppins, "Helvetica Neue";
    background-color: #f6f2ed;
    box-sizing: border-box;
}

/************BLOQUEO COPIA TEXTO***************************/
.caracteristicas,
.description-text,
.product-care,
.product-important,
.productos-relacionados {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/************BLOQUEO COPIA IMÁGENES***************************/
.section-img img,
.miniaturas img {
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.row-productDetail {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    margin: 20px;
    box-sizing: border-box;
}

.section-img p {
 font-family: "Patua One", Georgia, "Times New Roman", Times, serif;
    font-size: 1.5rem;
    color: #23305b;
font-weight:bolder;
}
/*-------- ------------------CARRUSEL------------------------------------- */


.section-img {

    width: 40%;

    display: flex;

    flex-direction: column;

    align-items: center;

}

.container-carrusel-detail {

    position: relative;

    width: 100%;

    max-width: 500px;

    padding: 0 50px; /* espacio para las flechas */

    box-sizing: border-box;

}

.mySlidesDetail {

    display: none;

    width: 100%;

    text-align: center;

}

.mySlidesDetail img {

    width: 100%;

    height: 100%; /* todas del mismo alto */

    object-fit: contain; /* evita deformación */

    border-radius: 12px;

   /* background-color: #ffffff;*/

    box-shadow: 0 2px 10px rgba(0,0,0,0.08);

}

/* Flechas */

.prev,

.next {

    cursor: pointer;

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 30px;

    height: 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    background-color: rgba(255,255,255,0.95);

    color: #23305b;

    font-size: 24px;

    font-weight: bold;

    border-radius: 50%;

    box-shadow: 0 2px 8px rgba(0,0,0,0.15);

    user-select: none;

    z-index: 10;

}

/* Flecha izquierda por fuera */

.prev {

    left: 0;

}

/* Flecha derecha por fuera */

.next {

    right: 0;

}

.prev:hover,

.next:hover {

    background-color: #23305b;

    color: white;

}
 /*------------------------------------ Miniaturas--------------------------------------------- */

.miniaturas {

    display: flex;

    justify-content: center;

    gap: 12px;

    margin-top: 15px;

}

.miniatura {

    width: 80px;

    height: 80px;

    object-fit: cover;

    border-radius: 10px;

    cursor: pointer;

    border: 2px solid transparent;

    transition: all 0.3s ease;

    background-color: #fff;

}

.miniatura:hover {

    transform: scale(1.05);

    border-color: #c89b3c;

    box-shadow: 0 2px 8px rgba(0,0,0,0.15);

}

/* Miniatura activa */

.miniatura.activa {

    border-color: #23305B;

    box-shadow: 0 2px 8px rgba(35,48,91,0.25);

} 
  
  /*----------------------------------------------------*/

.caracteristicas {
    width: 40%;
    display: flex;
    flex-direction: column;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, .1);
    margin-top: 65px;
}

.row-caracteristicas {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    /*padding: 10px 0;*/
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.row-caracteristicas a button {
    background-color: #E1A5CA; 
    border: none;
    color: #61234A;
    padding: 15px ;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 8px; 
    box-shadow: 8px 5px 8px #61234A;
}

.row-caracteristicas a button:hover {
    background-color: #61234A;
    color: white
}

/* =========================================================
   DESCRIPCIÓN DEL PRODUCTO
========================================================= */

.row-description {

    width: 90%;
    max-width: 1250px;

    margin: 55px auto 45px;

    padding: 0 20px;

    box-sizing: border-box;

    text-align: left;
}


.row-description h2 {

    color: #000;
    
    font-family: "Patua One", Georgia, "Times New Roman", Times, serif;

    font-size: 1.7rem;

    font-weight: 500;

    margin: 0 0 5px;
}


.description-text {

    color: #444;

    font-size: 1.15rem;

    font-weight: 400;

    line-height: 1.5;

    text-align: left;

    white-space: pre-line;

    overflow-wrap: break-word;

    word-wrap: break-word;

}


.precio-agregarCarrito p{
    font-family: "Patua One", Georgia, "Times New Roman", Times, serif;
    font-size: 1.5rem;
    color: hsl(140, 59%, 30%);
font-weight:bolder;
}

.buttonCarrito button {
    width: 100%;
    border: none;
    background-color: #77AAB6;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-left: 10px;
    padding: 14px;
    cursor: pointer;
    border-radius: 12px;
    transition: transform 0.5s ease-in-out;
}

.buttonCarrito button:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 10px rgba(36, 34, 34, 0.162);
    background-color: #23305B;
    color: white;
}

.buttonCarrito i {
    margin-left: 5px;
}

.volver-product {
    padding: 10px;
    text-align: center;
    text-decoration: none;
}
.container-producto {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 20px;
    gap: 30px;
    box-sizing: border-box;
}



.row-producto {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}


.row-producto img{
    width: 80%;
    padding: 10px;
}

.botonDetail{
    width: 20%;
    border: none;
    color: white;
    padding: 8px;
    cursor: pointer;
    border-radius: 10px;
    margin-bottom: 10px;
}

.row-producto-List{ 
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}
.row-producto-List img{
    width: 40%;
    padding: 10px;
}

.boton button{
    margin-top: 10px;
    padding: 3px;
    border: none;
    background-color: #23305B;
    color: white ;
    border-radius: 8px;
    cursor: pointer;
}

/*------------------------------------productList---------------------------------*/
.container-productoList {
    display: flex;
    justify-content: space-between; /* o cualquier otra alineación horizontal */
    align-items: center; /* o cualquier otra alineación vertical */
    box-sizing: border-box;
}

.productoList {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
}

.productoList img{
    width: 20%; 
    height: auto; 
    object-fit: cover; 
}

.product-reference {
    margin-top: 25px;
    margin-right: 15px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    text-align: right;
    color: #777;
    font-size: 15px;
    letter-spacing: 0.5px;
    
}

/* ========================================================================
                                  MODAL PRODUCTO AGREGADO AL CARRITO
============================================================================= */

.cart-added-modal {

    border: none;

    padding: 0;

    background: transparent;

    width: min(92%, 450px);

}


.cart-added-modal::backdrop {

    background: rgba(40, 20, 35, 0.55);

    backdrop-filter: blur(4px);

}


.cart-added-content {

    position: relative;

    background: #fff;

    border-radius: 24px;

    padding: 32px 28px;

    text-align: center;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);

    animation:
        cartModalAppear 0.3s ease;

}


@keyframes cartModalAppear {

    from {

        opacity: 0;

        transform:
            translateY(20px)
            scale(0.96);

    }

    to {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);

    }

}


/* =========================================================
   CERRAR
========================================================= */

.cart-added-close {

    position: absolute;

    top: 12px;
    right: 16px;

    width: 34px;
    height: 34px;

    border: none;

    background: transparent;

    font-size: 28px;

    color: #7a5269;

    cursor: pointer;

}


.cart-added-close:hover {

    color: #61234a;

}


/* =========================================================
   ICONO
========================================================= */

.cart-added-icon {

    font-size: 48px;

    color: #8d4f73;

    margin-bottom: 8px;

}


.cart-added-content h2 {

    margin: 5px 0 8px;

    color: #61234a;

    font-family: "Poppins", sans-serif;

}


.cart-added-message {

    margin-bottom: 22px;

    color: #666;

}


/* =========================================================
   PRODUCTO
========================================================= */

.cart-added-product {

    display: flex;

    align-items: center;

    gap: 18px;

    text-align: left;

    background: #faf6f8;

    border-radius: 16px;

    padding: 14px;

    margin-bottom: 24px;

}


.cart-added-product img {

    width: 90px;

    height: 90px;

    object-fit: cover;

    border-radius: 12px;

}


.cart-added-product-info {

    flex: 1;

}


.cart-added-product-info h3 {

    margin: 0 0 8px;

    color: #61234a;

    font-size: 1rem;

}


.cart-added-product-info p {

    margin: 0;

    font-weight: 700;

    color: #8d4f73;

}


/* =========================================================
   BOTONES
========================================================= */

.cart-added-buttons {

    display: flex;

    flex-direction: column;

    gap: 10px;

}


.cart-btn-continue,
.cart-btn-view {

    width: 100%;

    min-height: 48px;

    border-radius: 12px;

    font-family: "Poppins", sans-serif;

    font-weight: 600;

    font-size: 0.95rem;

    cursor: pointer;

    text-decoration: none;

    display: flex;

    align-items: center;

    justify-content: center;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;

}


.cart-btn-continue {

    border: 2px solid #8d4f73;

    background: white;

    color: #8d4f73;

}


.cart-btn-view {

    border: 2px solid #8d4f73;

    background: #8d4f73;

    color: white;

}


.cart-btn-continue:hover,
.cart-btn-view:hover {

    transform: translateY(-2px);

    box-shadow:
        0 5px 14px rgba(
            97,
            35,
            74,
            0.18
        );

}

/* ========================================================================================
                                      PRODUCTOS RELACIONADOS
========================================================================================== */

.productos-relacionados {

    width: 100%;

    max-width: 1200px;

    margin: 55px auto 35px;

    padding: 0 25px;

    box-sizing: border-box;

}


/* ---------------------------------------------------------
   ENCABEZADO
--------------------------------------------------------- */

.productos-relacionados-header {

    text-align: center;

    margin-bottom: 30px;

}

.productos-relacionados-header h2 {

    margin: 0;

    font-family: "Patua One",
        Georgia,
        "Times New Roman",
        Times,
        serif;

    font-size: 1.8rem;

    color: #61234a;

}

.productos-relacionados-header p {

    margin: 8px 0 0;

    font-size: 0.95rem;

    color: #777;

}


/* ---------------------------------------------------------
   CARRUSEL
--------------------------------------------------------- */

.relacionados-carrusel {

    position: relative;

    display: flex;

    align-items: center;

    gap: 12px;

}


/* ---------------------------------------------------------
   CONTENEDOR DE TARJETAS
--------------------------------------------------------- */

.relacionados-track {

    display: flex;

    gap: 22px;

    width: 100%;

    overflow-x: auto;

    scroll-behavior: smooth;

    scrollbar-width: none;

    padding: 10px 5px 20px;

}

.relacionados-track::-webkit-scrollbar {

    display: none;

}


/* ---------------------------------------------------------
   TARJETA
--------------------------------------------------------- */

.producto-relacionado {

    flex: 0 0 220px;

    background: #fff;

    border-radius: 16px;

    padding: 12px;

    box-sizing: border-box;

    box-shadow:
        0 5px 18px rgba(97, 35, 74, 0.12);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

}

.producto-relacionado:hover {

    transform: translateY(-6px);

    box-shadow:
        0 10px 25px rgba(97, 35, 74, 0.20);

}


/* ---------------------------------------------------------
   IMAGEN
--------------------------------------------------------- */

.producto-relacionado-imagen {

    display: block;

    width: 100%;

    text-decoration: none;

}

.producto-relacionado-imagen img {

    display: block;

    width: 100%;

    aspect-ratio: 1 / 1;

    object-fit: cover;

    border-radius: 12px;

}


/* ---------------------------------------------------------
   INFORMACIÓN
--------------------------------------------------------- */

.producto-relacionado-info {

    text-align: center;

    padding: 10px 5px 5px;

}

.producto-relacionado-info h3 {

    margin: 5px 0 8px;

    color: #61234a;

    font-family: "Patua One",
        Georgia,
        "Times New Roman",
        Times,
        serif;

    font-size: 1rem;

    line-height: 1.3;

}


/* ---------------------------------------------------------
   PRECIO
--------------------------------------------------------- */

.producto-relacionado-precio {

    margin: 0 0 12px;

    color: #1f7a3d;

    font-size: 1rem;

    font-weight: 700;

}


/* ---------------------------------------------------------
   BOTÓN
--------------------------------------------------------- */

.producto-relacionado-btn {

    display: inline-block;

    padding: 8px 14px;

    border-radius: 8px;

    background: #77AAB6;

    color: white;

    text-decoration: none;

    font-size: 0.85rem;

    font-weight: 600;

    transition:
        background-color 0.3s ease,
        transform 0.2s ease;

}

.producto-relacionado-btn:hover {

    background: #23305B;

    transform: translateY(-2px);

}


/* ---------------------------------------------------------
   FLECHAS
--------------------------------------------------------- */

.relacionados-prev,
.relacionados-next {

    flex-shrink: 0;

    width: 38px;

    height: 38px;

    border: none;

    border-radius: 50%;

    background: white;

    color: #23305b;

    font-size: 18px;

    font-weight: bold;

    cursor: pointer;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.15);

    z-index: 2;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.2s ease;

}

.relacionados-prev:hover,
.relacionados-next:hover {

    background: #23305b;

    color: white;

    transform: scale(1.05);

}


/*----------------------------------Media Queries-----------------------------------*/


/* =========================================================
   RESPONSIVE
========================================================= */


@media (max-width: 480px){
    
    .caracteristicas {
        width: 90vw;
        padding: 10px;
        margin-top: 6px;
    }

    .buttonCarrito button {
        width: 100%;
    }

    .row-caracteristicas {
        font-size: 80%;
        gap: 10px;
    }

    .prev, .next {

    width: 36px;

    height: 36px;

    font-size: 20px;

}

.mySlidesDetail img {

    height: 320px;

}

.miniaturas {
   .miniaturas {
    gap: 5px;
  }

  .miniatura {
    width: 36px;
    height: 36px;
    border-radius: 5px;
  }

  }

   .row-description {

        margin: 25px auto;

        padding: 0 18px;

    }


    .description-text {

    font-size: 0.95rem;

    line-height: 1.75;

}

    .section-img p {
        text-align: center;
    }


    .cart-added-content {

        padding: 28px 20px;

    }


    .cart-added-product img {

        width: 75px;

        height: 75px;

    }


    .cart-added-content h2 {

        font-size: 1.25rem;

    }

}


  @media (max-width: 769px)  {  
 

.caracteristicas {
    width: 75vw;
    display: flex;
    flex-direction: column;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, .1);
    margin-top: 6px;
}

.section-img {
    width: 90vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.row-description {

        max-width: 100%;

        margin: 30px auto;

        padding: 0 25px;

    }

    .description-text {

    font-size: 0.98rem;

    line-height: 1.75;

}


}

/* =========================================================
   RESPONSIVE FINAL - DETALLE DE PRODUCTO
   ========================================================= */


/* ---------------------------------------------------------
TABLET / PANTALLAS INTERMEDIAS
481px - 900px
--------------------------------------------------------- */

@media (min-width: 481px) and (max-width: 900px) {

    .row-productDetail {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin: 15px;
        box-sizing: border-box;
    }

    .section-img {
        width: 90%;
        max-width: 650px;
    }

    .section-img p {
        font-size: 1.5rem;
        line-height: 1.3;
        text-align: center;
        margin: 10px 0 15px;
    }

    .container-carrusel-detail {
        width: 100%;
        max-width: 520px;
        padding: 0 45px;
        box-sizing: border-box;
    }

    .mySlidesDetail img {
        width: 100%;
        height: 360px;
        object-fit: contain;
        border-radius: 10px;
    }

    .prev,
    .next {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }

    .prev {
        left: 2px;
    }

    .next {
        right: 2px;
    }

    .miniaturas {
        gap: 8px;
        margin-top: 12px;
    }

    .miniatura {
        width: 60px;
        height: 60px;
    }

    .caracteristicas {
        width: 80%;
        margin-top: 5px;
        padding: 12px;
        box-sizing: border-box;
    }

    .row-description {
        margin: 25px auto;
        padding: 0 25px;
        box-sizing: border-box;
    }
}
/* ---------------------------------------------------------
   CELULAR
   --------------------------------------------------------- */

@media (max-width: 600px) {

    /* ---------- CONTENEDOR PRINCIPAL ---------- */

    .row-productDetail {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin: 10px;
    }


    /* ---------- IMAGEN Y TÍTULO ---------- */

    .section-img {
        width: 100%;
    }

    .section-img p {
        font-size: 1.25rem;
        line-height: 1.3;
        text-align: center;
        margin: 8px 15px 12px;
    }


    /* ---------- CARRUSEL ---------- */

    .container-carrusel-detail {
    width: 100%;
    max-width: 390px;
    padding: 0 38px;
    box-sizing: border-box;
}

    .mySlidesDetail img {
        width: 100%;
        height: 280px;
        object-fit: contain;
        border-radius: 10px;
    }


    /* ---------- FLECHAS ---------- */

    .prev,
    .next {
        width: 10px;
        height: 10px;
        font-size: 16px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    }

    .prev {
        left: 2px;
    }

    .next {
        right: 2px;
    }


    /* ---------- MINIATURAS ---------- */

    .miniaturas {
        display: flex;
        justify-content: center;
        gap: 6px;
        margin-top: 10px;
    }

    .miniatura {
        width: 48px;
        height: 48px;
        border-radius: 7px;
        border-width: 1px;
    }


    /* ---------- CARACTERÍSTICAS ---------- */

    .caracteristicas {
        width: 90%;
        padding: 10px;
        margin-top: 5px;
        box-sizing: border-box;
    }

    .row-caracteristicas {
        font-size: 0.85rem;
        gap: 8px;
        padding: 9px 0;
    }


    /* ---------- PRECIO ---------- */

    .precio-agregarCarrito p {
        font-size: 1.2rem;
        margin: 10px 0;
    }


    /* ---------- BOTÓN CARRITO ---------- */

    .buttonCarrito button {
        width: 100%;
        margin-left: 0;
        padding: 11px;
        font-size: 0.9rem;
    }


    /* ---------- DESCRIPCIÓN ---------- */

    .row-description {

    width: 100%;

    max-width: 100%;

    margin: 30px auto;

    padding: 0 18px;

    box-sizing: border-box;

}


.row-description h2 {

    font-size: 1.35rem;

    margin-bottom: 18px;

}


.description-text {

    font-size: 0.92rem;

    line-height: 1.75;

}

}


/* ---------------------------------------------------------
   CELULAR PEQUEÑO
   --------------------------------------------------------- */

@media (max-width: 380px) {

    .section-img p {
        font-size: 1.15rem;
        margin-left: 10px;
        margin-right: 10px;
    }

    .container-carrusel-detail {
        padding: 0 27px;
    }

    .mySlidesDetail img {
        height: 250px;
    }

    .prev,
    .next {
        width: 27px;
        height: 27px;
        font-size: 14px;
    }

    .miniatura {
        width: 42px;
        height: 42px;
    }

    .precio-agregarCarrito p {
        font-size: 1.35rem;
    }

    .row-caracteristicas {
        font-size: 0.8rem;
    }

}

/* =========================================================
   RESPONSIVE - PRODUCTOS RELACIONADOS
========================================================= */

@media (max-width: 768px) {

    .productos-relacionados {

        margin-top: 40px;

        padding: 0 15px;

    }


    .productos-relacionados-header h2 {

        font-size: 1.5rem;

    }


    .productos-relacionados-header p {

        font-size: 0.85rem;

    }


    .relacionados-track {

        gap: 15px;

    }


    .producto-relacionado {

        flex: 0 0 175px;

        padding: 9px;

    }


    .producto-relacionado-info h3 {

        font-size: 0.9rem;

    }


    .producto-relacionado-precio {

        font-size: 0.9rem;

    }


    .producto-relacionado-btn {

        font-size: 0.8rem;

        padding: 7px 11px;

    }


    .relacionados-prev,
    .relacionados-next {

        width: 32px;

        height: 32px;

        font-size: 15px;

    }

}


@media (max-width: 480px) {

    .productos-relacionados {

        padding: 0 10px;

        margin-top: 35px;

    }


    .productos-relacionados-header {

        margin-bottom: 20px;

    }


    .productos-relacionados-header h2 {

        font-size: 1.25rem;

    }


    .productos-relacionados-header p {

        font-size: 0.8rem;

    }


    .relacionados-track {

        gap: 12px;

        padding-left: 3px;

        padding-right: 3px;

    }


    .producto-relacionado {

        flex: 0 0 145px;

        padding: 8px;

        border-radius: 12px;

    }


    .producto-relacionado-info h3 {

        font-size: 0.82rem;

    }


    .producto-relacionado-precio {

        font-size: 0.82rem;

    }


    .producto-relacionado-btn {

        font-size: 0.75rem;

        padding: 6px 9px;

    }


    .relacionados-prev,
    .relacionados-next {

        width: 28px;

        height: 28px;

        font-size: 13px;

    }

}

/* =========================================================
   CUIDADOS DE LA ORGONITA
========================================================= */

.product-care {
   width: 90%;
    max-width: 1250px;

    margin: 55px auto 45px;

    padding: 0 20px;

    box-sizing: border-box;

    text-align: left;
}

.product-care h3 {
    margin: 0 0 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.product-care p {
    margin: 0 0 15px;
    line-height: 1.7;
}

.product-care ul {
    margin: 0 0 18px;
    padding-left: 22px;
}

.product-care li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.product-care strong {
    font-weight: 600;
}

/* =========================================================
   INFORMACIÓN IMPORTANTE
========================================================= */

.product-important {
    margin-top: 20px;
    margin-left: 4%;
    padding: 20px 25px;
    border-top: 1px solid #eee4f3;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.2;
}

.product-important h3 {
    margin: 0 0 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #555;
}

.product-important p {
    margin: 0 0 10px;
}

.product-important p:last-child {
    margin-bottom: 0;
}

.faceInst2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    padding-top: 10px;
}

.ffaceInst2 a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.faceInst2 i {
    font-size: 25px;
    color: #70224f;
    transition: transform 0.3s ease, color 0.3s ease;
}

.faceInst2 a:hover i {
    transform: scale(1.15);
    color: #b85d91;
}