
    .cart-img {
        max-width: 80px; /* Tamaño máximo de la imagen */
        max-height: 80px; /* Mantener la proporción */
        object-fit: cover; /* Asegura que la imagen no se distorsione */
    }

    .cart-title {
        font-size: 1rem;
        font-weight: bold;
        color: #333;
        text-decoration: none; /* Eliminar subrayado */
        transition: color 0.3s;
    }

    .cart-title:hover {
        color: #007bff; /* Color cuando el enlace se pasa el ratón */
    }

    .btn-outline-secondary {
        color: #495057;
        border-color: #ced4da;
        transition: background-color 0.3s, color 0.3s;
    }

    .btn-outline-secondary:hover {
        background-color: #007bff;
        color: white;
    }

    .btn-outline-secondary:disabled {
        background-color: #f8f9fa;
        color: #6c757d;
    }

    .card-cart {
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .resumen-box {
        margin-top: 20px;
    }

    .resumen-box .d-flex {
        margin-bottom: 10px;
    }

    .resumen-box hr {
        margin-top: 15px;
    }

    .fw-bold {
        font-weight: bold;
    }

    .product-card {
        width: 100%;
        max-width: 250px;
        background-color: white;
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        transition: transform 0.3s;
    }

    .product-card:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }

    .product-card img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .btn-ver, .btn-add-cart {
        background-color: #007bff;
        color: white;
        border-radius: 8px;
        padding: 8px 15px;
        text-decoration: none;
        display: inline-block;
        margin-top: 10px;
        transition: background-color 0.3s;
    }

    .btn-ver:hover, .btn-add-cart:hover {
        background-color: #0056b3;
    }


    .mb-3 {
        margin-bottom: 1rem !important;
        margin-top: 50px;
    }

    .row-adjusted > * {

        margin-top: 30px; 
    
    }

    /* PRODUCTOS CSS */

    /* GENERAL */
body {
    background: #f7f8fa;
    font-family: 'Manrope', sans-serif;
}

/* SLIDER FULL WIDTH */
.slider {
    position:relative;
    width:100vw;
    margin-left:calc(-50vw + 50%);
    height:420px;
    overflow:hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}


.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}

.slide-content h1 {
    font-size: 36px;
    font-weight: 700;
    text-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* SLIDER BUTTONS */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.6);
    border: none;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
}

.slider-btn:hover {
    background: rgba(255,255,255,0.9);
}

.slider-btn.prev { left: 15px; }
.slider-btn.next { right: 15px; }

/* SLIDER DOTS */
.slider-dots {
    position: absolute;
    bottom: 15px;
    /* width: 100%; */
    text-align: center;
}

.slider-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 6px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.slider-dots span.active {
    background: white;
}

/* SEARCH BOX SLIDER */
.search-global {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    z-index: 10;
}

.search-box {
    display: flex;
    width: 100%;
    background: rgba(255,255,255,0.95);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.search-box input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 16px;
    outline: none;
    color: #2d354e;
}

.search-box input::placeholder {
    color: #888;
}

.search-box button {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.search-box button:hover {
    background: #2563eb;
}

/* PRODUCT BOX */
.product-box{
    display:flex;
    justify-content:center;
    margin-top:30px;
}

.product-container {
    position:relative;
    width:100%;
    /* max-width:1100px; */
    background:rgba(255,255,255,.75);
    backdrop-filter: blur(12px);
    border-radius:18px;
    padding:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    margin-bottom: 50px;
    backdrop-filter:none;
}

.product-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    /* scrollbar-width: none; */
    scroll-behavior: smooth;
    /* padding-bottom: 10px; */
}

.product-slider::-webkit-scrollbar {
    display: none;
}

/* PRODUCT CARDS*/
.product-card{
    min-width:240px;
    max-width:240px;
    /*height:340px; */ 
    flex-shrink:0;
    background:white;
    border-radius:14px;
    overflow:hidden;
    transition:.2s;
    margin-top: 20px;
    position:relative;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    pointer-events: auto;
    z-index: 1
} 

.product-card-link {
    display: block;
    text-decoration: none; /* Elimina el subrayado */
    color: inherit; /* Evita cambiar el color del texto */
    width: 100%;
}

.product-card::after{
    content:"♡";
    position:absolute;
    top:10px;
    right:10px;
    font-size:18px;
    opacity:0;
    transition:.3s;
    color:#555;
    pointer-events:none;
    display:none;
}


.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.img-wrap {
    height: 260px; 
    display: flex;
    align-items: center; 
    justify-content: center; 
    position: relative;
    /* background: #f5f5f5; */
}

.img-wrap img {
    max-height: 60%;
    max-width: 100%;
    object-fit: contain 
}

/* .product-card {
    position: relative;
    width: calc(20% - 16px); 
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    box-sizing: border-box;
} */

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}


/* AGREGAR AL CARRITO */
.product-card .btn-add-cart {
    position: absolute;
    bottom: 90px;
    left: 190px;
    padding: 6px 10px;
    border-radius: 6px;
    /* background: #c7f0ff; */
    color: #2d2d2d;;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    z-index: 2;

}

/* Efecto de hover solo para el ícono "+" */
.product-card .btn-add-cart:hover::before {
    background: #8fd6ff; /* Fondo azul al hacer hover */
    color: white; /* Cambiar el color del ícono al hacer hover */
}


.product-card .btn-add-cart::before {
    content: "+"; 
    font-weight: bold;
    position: absolute;
    bottom: 15px; 
    left: 15px; 
    color: #2d2d2d; 
    background: rgba(255, 255, 255, 0.7); 
    padding: 6px 10px; 
    border-radius: 6px; 
    z-index: 2;
    transition: 0.3s; 
}


/* BADGES PRODUCTOS */
.product-badge {
    position: absolute;
    top: 18px;
    left: 12px;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Colores pastel por tipo */
.nuevo { background: #ffe0ac; color: #5a3e00; }
.usado { background: #ffd6f0; color: #6a0555; }
.reacondicionado { background: #c7f0ff; color: #05455a; }

/* TIPOGRAFÍA Y SECCIÓN */
.section-title h2 {
    font-family: 'Manrope', sans-serif; 
    color: #2d2d2d; 
    /* font-weight: 700; */
    font-size: 24px;
    margin-bottom: 20px;
}

.section-title {
    grid-column: span 4;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

/* INFO PRODUCTO */
.info {
    padding: 12px 15px;
}

.info h4 {
    font-family: 'Manrope', sans-serif; 
    font-size: 18px;
    font-weight: normal; 
    color: #2d2d2d; 
    margin-bottom: 8px;
    transition: color 0.3s;
}

.info strong {
    font-size: 16px;
    font-weight: normal; 
    color: #333; 
    margin-bottom: 8px;
}

/* PRECIOS CON DESCUENTO */
.product-card .info .old-price {
    text-decoration: line-through;
    color: #ff3b3b; 
    font-size: 16px; 
}

/* PRECIO FINAL CON DESCUENTO */
.product-card .info .new-price {
    font-size: 18px;
    font-weight: normal; /* Sin negrita */
    color: #88d498; /* Verde pastel para el precio final */
    margin-top: 6px;
}

/* ESTILO PARA EL PRECIO REGULAR */
.product-card .info .regular-price {
    font-size: 18px;
    font-weight: normal;
    color: #333; /* Gris oscuro para los precios regulares */
    margin-bottom: 8px;
}

/* REMOVER EL BOTÓN DE VER PRODUCTO */
.info a.btn-ver {
    display: none; /* Eliminar este botón */
}

/* PRECIOS CON DESCUENTO */
.product-card .info strong[style*="line-through"] {
    text-decoration: line-through;
    color: #999; 
}

.product-card .info strong[style*="color:#e60023"] {
    color: #ff6b6b; 
}

.product-card .info span {
    color: #ff3b3b; 
    font-size: 18px;
    font-weight: normal; 
    margin-left: 8px;
    transition: color 0.3s;
}


/* BOTON VER PRODUCTO Y AGREGAR */
.btn-ver {
    display: inline-block;
    text-decoration: none;
    background: #ffd8d8; /* rosa pastel */
    color: #6a0555;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;
    margin-right: 6px;
}

.btn-ver:hover {
    background: #ffb3b3;
}

.btn-add-cart::before {
    content: "+";
    font-weight: bold;
}

/* BOTONES PRODUCTOS SLIDER */
.p-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    background: rgba(255,255,255,0.8);
    border: none;
    cursor: pointer;
    border-radius: 50%;
    padding: 6px 12px;
    transition: 0.3s;
    z-index: 5;
}

.p-btn:hover {
    background: rgba(255,255,255,1);
}

.p-btn.left { left: -10px; }
.p-btn.right { right: -10px; }

/* FAVORITOS SLIDER */
.fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    color: #888;
    cursor: pointer;
    transition: 0.2s;
}

.fav-number{
    position: absolute;  
    top: -7px;           
    right: -10px;         
    font-size: 10px;
    font-weight: 700;
    color: #fff;         
    background: #ff6b6b; 
    padding: 5px 8px;    
    border-radius: 50%;  
    text-align: center;  
    min-width: 20px;     
    height: 20px;        
    line-height: 20px;   
    display: flex;       
    justify-content: center;  
    align-items: center; 
}

.fav-btn.active {
    color: #ff6b6b;
}

.fav-btn:hover {
    transform: scale(1.3);
}

/* OFERTAS 
.ads-row {
    display: flex;
    gap: 20px;
    margin: 40px auto;
    max-width: 1200px;
    flex-wrap: wrap;
}*/

.ads-row {
    /* display: flex;*/
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 40px auto;
    /* max-width: 1200px; */
    flex-wrap: wrap;
    gap: 20px; 
}

.ad-card {
    flex: 1 1 48%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5; /* pastel muy claro */
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    height: 220px;
}

.ad-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* mantiene proporción */
}

.ad-text {
    position: absolute;
    bottom: 15px; /* bajamos el texto */
    left: 15px;
    color: #2d2d2d;
    background: rgba(255,255,255,0.7); /* pastel suave */
    padding: 6px 10px;
    border-radius: 6px;
}

.ad-text small {
    font-size: 12px;
    color: #555;
}

.ad-text h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 2px 0;
}

.ad-text a {
    display: inline-block;
    margin-top: 4px;
    padding: 4px 8px;
    background: #a5d8ff; /* azul pastel */
    color: #1c3d5a;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}
