﻿body {
    font-family: "Lato", sans-serif;
}


.bg-black {
    background: linear-gradient(to right, #000000, #562b01) !important;
}

.logoStyle{
    width: 110px!important;
}

.text-logo {
    color: #FF5E00!important;
   font-weight: 800;
   font-size: 20px!important;
}

.text-first{
    font-weight: 500!important;
    font-size: 15px!important;
}

/* Estilo para el contenedor de búsqueda - AHORA CLICKEABLE EN TODO */
.inputBox_container {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 25px;
    padding: 5px 15px;
    cursor: text; /* Cambia el cursor a texto */
    width: 100%;
    box-sizing: border-box;
}

.search_icon {
    margin-right: 10px;
    fill: #999;
    flex-shrink: 0; /* Evita que el icono se encoja */
}

.inputBox {
    border: none;
    outline: none;
    flex: 1; /* Ocupa todo el espacio disponible */
    padding: 8px 0;
    background: transparent;
    max-width: 100%!important; /* Asegura que ocupe todo el ancho */
    min-width: 0; /* Permite que se reduzca si es necesario */
}

/* Para móviles asegura que el input sea clickeable */
@media (max-width: 768px) {
    .inputBox_container {
        width: 100%;
    }

   
    .inputBox {
        width: 100%;
    }

    #navegacion{
        visibility: hidden!important;
    }
}



.info-promo {
    background-color: #FF5E00!important;
    text-align: center;
    font-weight: 600;
}

.carrito {
    text-decoration: none !important;
    color: #FF5E00!important;
}

.cart-total{
    color: white!important;
    font-weight: 500!important;
    font-size: 13px!important;
}

.enlace-decoration{
    text-decoration: none!important;
}

.imgCarousel{
    width: 150px!important;
}

.no-decoration{
    text-decoration: none!important;
}
.color-gray {
    color: #818286!important;
}

.card-style{
    width: 280px!important;
    border: none!important;
}

.cursor-pointer{
    cursor: pointer!important;
}


.font-13{
    font-size: 13px!important;
}

.no-wrap {
    white-space: nowrap;
}

.text-pieza {
    color: #FF5E00!important;
    font-weight: 600;
    font-size: .9rem;
}

.text-mayoreo {
    color: #058203 !important;
    font-weight: 600;
    background-color: #EAF3E6 !important;
    border-radius: .5rem;
    font-size: .9rem !important;
    padding: .2rem !important;

}

.degradado {
    background: linear-gradient(to right, #000000, transparent);
}

.w100{
    width: 100%!important;
}


/*Boton AddCart*/
/* From Uiverse.io by vinodjangid07 */
.CartBtn {
    width: 140px;
    height: 40px;
    border-radius: 12px;
    border: none;
    background-color: #ff5e00;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition-duration: .5s;
    overflow: hidden;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.103);
    position: relative;
}

.IconContainer {
    position: absolute;
    left: -50px;
    width: 30px;
    height: 30px;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
    transition-duration: .5s;
}

.icon {
    border-radius: 1px;
}

.text {
    height: 100%;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(17, 17, 17);
    z-index: 1;
    transition-duration: .5s;
    font-size: 1.04em;
    font-weight: 600;
}

.CartBtn:hover .IconContainer {
    transform: translateX(58px);
    border-radius: 40px;
    transition-duration: .5s;
}

.CartBtn:hover .text {
    transform: translate(10px,0px);
    transition-duration: .5s;
}

.CartBtn:active {
    transform: scale(0.95);
    transition-duration: .5s;
}

.container-price{
    margin: .5rem 0!important;
    padding: 0 .2rem!important;
    align-items: center!important;
}

.width-slider{
    width: 250px!important;
}

.discountvalue {
    width: 30%;
    background-color: #de1c24!important;
    color: white;
    font-weight: 500;
    border-radius: .3rem;
    text-align:center!important;
    margin: 0;
    font-size: 12px!important;
}

.divpromo{
    position: relative;
}

.bg-green {
    background-color: #9ce12d!important;
}

.text-promo{
    border-radius: .3rem!important;
    padding: .1rem 0!important;
}




/* From Uiverse.io by andrew-demchenk0 */
.buttonVaciar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 9px 12px;
    gap: 8px;
    height: 30px;
    width: 300px;
    border: none;
    background: #FF342B;
    border-radius: 20px;
    cursor: pointer;
}

.lable {
    line-height: 22px;
    font-size: 13px;
    color: #fff;
    font-family: sans-serif;
    letter-spacing: 1px;
}

.buttonVaciar:hover {
    background: #e52e26;
}

.w-300{
    width: 300px!important;
}

.border-none{
    border: none!important;
}

.text-cupon {
    background-color: #FF5E00!important;
    color: #000000;
    border-radius: .3rem!important;
    font-size: 12px!important;
    padding: 3px 5px!important;
    width: 95%!important;
}

.bg-yelllow {
    background: #fbca1f!important;
    font-family: inherit!important;
    padding: 0.3em 1.3em!important;
    font-weight: 700!important;
    font-size: 12px!important;
    border: 3px solid black!important;
    border-radius: 0.4em!important;
    box-shadow: 0.1em 0.1em!important;
    cursor: pointer!important;
}



.trash {
    all: unset !important;
    color: #FF342B!important;
    cursor: pointer!important;
    width: 200px!important;
    font-size: 13px!important;
    margin-top: 5px!important;
}

/* Estilos para el carrito de compras - Colores: #FF5E00 y #000000 */
.cart-container {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.cart-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.cart-header {
    text-align: center;
    border-bottom: 4px solid #FF5E00;
    background-color: white!important;
    border-radius: .5rem!important;
    padding: 1rem;
}

    .cart-header h2 {
        margin: 0;
        font-weight: 700;
        font-size: 2rem;
    }

        .cart-header h2 i {
            color: #FF5E00;
            margin-right: 10px;
        }

    .cart-header p {
        margin: 0.5rem 0 0;
        opacity: 0.9;
    }

        .cart-header p span {
            color: #FF5E00;
        }

/* Tabla de productos */
.cart-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px;
}

    .cart-table thead th {
        padding: 1rem;
        background: #f8f9fa;
        color: #000000;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
        border-bottom: 2px solid #FF5E00;
    }

    .cart-table tbody tr {
        background: white;
        transition: all 0.3s ease;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    }

        .cart-table tbody tr:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(255, 94, 0, 0.15);
        }

    .cart-table tbody td {
        padding: 1rem;
        vertical-align: middle;
        border-bottom: 1px solid #f0f0f0;
    }

/* Imagen del producto */
.product-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

    .product-image:hover {
        transform: scale(1.05);
        border-color: #FF5E00;
    }

/* Información del producto */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #000000;
    margin: 0;
}

.product-model {
    font-size: 0.85rem;
    color: #666666;
    margin: 0;
}

.promo-badge {
    background: linear-gradient(135deg, #FF5E00 0%, #cc4a00 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    display: inline-block;
    animation: pulse 2s infinite;
    font-weight: 600;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Precios */
.price-container {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.regular-price {
    color: #000000;
    font-weight: 700;
    margin: 0;
    font-size: 1rem;
}

.wholesale-price {
    color: #FF5E00;
    font-size: 0.85rem;
    margin: 0;
    font-weight: 600;
}

/* Control de cantidad */
.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    border-radius: 30px;
    padding: 0.25rem;
    width: fit-content;
    border: 1px solid #e0e0e0;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #000000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

    .quantity-btn:hover {
        background: #FF5E00;
        color: white;
        transform: scale(1.05);
    }

.quantity-input {
    width: 50px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 1rem;
    color: #000000;
}

/* Subtotal */
.subtotal-price {
    font-weight: 800;
    font-size: 1.1rem;
    color: #FF5E00;
    margin: 0;
}

/* Botón eliminar */
.delete-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

    .delete-btn:hover {
        color: #FF5E00;
        background: #fff5f0;
        transform: scale(1.1);
    }

/* Botón vaciar carrito */
.btn-vaciar {
    background: transparent;
    border: 2px solid #FF5E00;
    color: #FF5E00;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-vaciar:hover {
        background: #FF5E00;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(255, 94, 0, 0.3);
    }

/* Carrito vacío */
.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-cart-icon {
    font-size: 5rem;
    color: #FF5E00;
    margin-bottom: 1rem;
}

.empty-cart-title {
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 1rem;
    font-weight: 700;
}

.empty-cart-text {
    color: #666;
    margin-bottom: 2rem;
}

.btn-seguir-comprando {
    background: #000000;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 600;
}

    .btn-seguir-comprando:hover {
        background: #FF5E00;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(255, 94, 0, 0.4);
        color: white;
    }

/* Footer del carrito */
.cart-footer {
    background: #fafafa;
    padding: 1.5rem;
    border-top: 2px solid #FF5E00;
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.total-container {
    text-align: right;
}

.total-label {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    font-weight: 500;
}

.total-amount {
    font-size: 2rem;
    font-weight: 800;
    color: #FF5E00;
    margin: 0;
}

.btn-checkout {
    background: #FF5E00;
    color: white;
    border: none;
    padding: .2rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.3);
}

    .btn-checkout:hover {
        background: #cc4a00;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 94, 0, 0.4);
    }

/* Cupón de descuento */
.cupon-section {
    background: #31c380!important;
    padding: 1rem;
    border-radius: 12px;
    margin: 1rem;
    border: 1px solid #e0e0e0;
}

.cupon-input-group {
    display: flex;
    gap: 0.5rem;
}

.cupon-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-size: 0.9rem;
}

    .cupon-input:focus {
        outline: none;
        border-color: #FF5E00;
        box-shadow: 0 0 0 3px rgba(255, 94, 0, 0.1);
    }

.btn-aplicar-cupon {
    background: #000000;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-aplicar-cupon:hover {
        background: #FF5E00;
        transform: translateY(-1px);
    }

/* Notificaciones */
.cart-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    animation: slideInRight 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

    .cart-notification.success {
        background: #31C380;
        color: black;
        border-left: 4px solid #000000;
    }

    .cart-notification.error {
        background: #000000;
        color: white;
        border-left: 4px solid #ff4444;
    }

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Badge del carrito en el navbar */
.cart-badge {
    background: #FF5E00;
    color: white;
    border-radius: 50%;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    font-weight: bold;
    position: absolute;
    top: -8px;
    right: -8px;
}

/* Responsive */
@media (max-width: 768px) {
    .cart-table thead {
        display: none;
    }

    .cart-table tbody tr {
        display: block;
        margin-bottom: 1rem;
        border-radius: 12px;
    }

    .cart-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem;
    }

        .cart-table tbody td:before {
            content: attr(data-label);
            font-weight: 700;
            margin-right: 1rem;
            color: #000000;
        }

    .cart-summary {
        flex-direction: column;
        text-align: center;
    }

    .total-container {
        text-align: center;
    }

    .btn-checkout {
        width: 100%;
    }
}

.precioAntiguo{
    text-decoration: line-through!important;
    color: gray!important;
}


/* Estilos para el modal y notificaciones */
.cart-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    animation: slideIn 0.3s ease;
}

    .cart-notification.success {
        border-left: 4px solid #28a745;
        color: #155724;
    }

    .cart-notification.error {
        border-left: 4px solid #dc3545;
        color: #721c24;
    }

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.linkNav{
    cursor: pointer;
    text-decoration: none;
    color: white!important;
    padding: 0 .2rem!important;
    border-radius: .5rem;
}

    .linkNav:hover {
        color: #FF5E00 !important;
    }



/* ===== SLIDER MÁS VENDIDOS ===== */
.slidermv {
    padding: 0 45px;
    position: relative;
    overflow: hidden;
}

    /* El wrapper debe ser flex */
    .slidermv .swiper-wrapper {
        display: flex;
        align-items: stretch;
    }

    
    .slidermv .swiper-slide {
        width: calc(50% - 10px) !important; /* 2 slides por vista */
        flex-shrink: 0;
        height: auto;
        margin-right: 10px;
    }

    /* Botones de navegación */
    .slidermv .swiper-button-next-mv,
    .slidermv .swiper-button-prev-mv {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        cursor: pointer;
        /*background: rgba(255, 255, 255, 0.95);*/
        /*width: 40px;*/
        height: 44px;
        border-radius: 50%;
        display: flex !important;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 10px rgba(0,0,0,0.15);
        color: #333;
        font-size: 20px;
        font-weight: bold;
        transition: all 0.3s ease;
        color: #007AFF!important
        /*border: 1px solid #e0e0e0;*/
    }

    .slidermv .swiper-button-next-mv {
        right: 0;
    }

    .slidermv .swiper-button-prev-mv {
        left: 0;
    }

    .slidermv .swiper-button-next-mv::after {
        content: '›';
        font-size: 22px;
    }

    .slidermv .swiper-button-prev-mv::after {
        content: '‹';
        font-size: 22px;
    }

    .slidermv .swiper-button-next-mv:hover,
    .slidermv .swiper-button-prev-mv:hover {
        background: white;
        box-shadow: 0 4px 15px rgba(0,0,0,0.25);
        transform: translateY(-50%) scale(1.05);
    }

    /* Paginación */
    .slidermv .swiper-pagination-mv {
        position: relative;
        margin-top: 15px;
    }

        .slidermv .swiper-pagination-mv .swiper-pagination-bullet {
            background: #ccc;
            opacity: 1;
        }

        .slidermv .swiper-pagination-mv .swiper-pagination-bullet-active {
            background: #007bff;
        }

/* ===== RESPONSIVE ===== */
/* Móvil: 1 slide */
@media (max-width: 640px) {
    .slidermv {
        padding: 0 35px;
    }

        .slidermv .swiper-slide {
            width: calc(100% - 10px) !important; /* 1 slide */
        }

        .slidermv .swiper-button-next-mv,
        .slidermv .swiper-button-prev-mv {
            width: 32px;
            height: 32px;
            font-size: 16px;
        }

            .slidermv .swiper-button-next-mv::after,
            .slidermv .swiper-button-prev-mv::after {
                font-size: 18px;
            }
}

/* Tablet: 2 slides */
@media (min-width: 641px) and (max-width: 1023px) {
    .slidermv .swiper-slide {
        width: calc(50% - 10px) !important; /* 2 slides */
    }
}

/* Escritorio: 3 slides */
@media (min-width: 1024px) {
    .slidermv {
        padding: 0 50px;
    }

        .slidermv .swiper-slide {
            width: calc(20% - 10px) !important; /* 3 slides */
        }

        .slidermv .swiper-button-next-mv,
        .slidermv .swiper-button-prev-mv {
            width: 44px;
            height: 44px;
        }
}

/* Ocultar botones si solo hay 1 slide */
.slidermv .swiper-slide:only-child ~ .swiper-button-next-mv,
.slidermv .swiper-slide:only-child ~ .swiper-button-prev-mv {
    display: none !important;
}

.color-green {
    color: #2A8703!important;
}

/*DetalleProducto*/
.premium-product-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 20px;
    min-height: 80vh;
}

/* -------- BANNER DE PROMOCIÓN -------- */
.premium-promo {
    background: linear-gradient(135deg, #0027d0, #111113);
    color: white;
    padding: 14px 24px;
    border-radius: 12px;
    text-align: center;
    font-size: 1rem;
    margin-bottom: 30px;
    box-shadow: 0 4px 30px rgba(255, 107, 53, 0.25);
    font-weight: 500;
    letter-spacing: 0.3px;
}

    .premium-promo i {
        margin-right: 8px;
    }

    .premium-promo strong {
        font-weight: 700;
    }

/* -------- CONTENEDOR PRINCIPAL -------- */
.premium-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid #e9ecef;
}

/* -------- IMAGEN -------- */
.premium-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-frame {
    position: relative;
    width: 100%;
    background: #f8f9fa;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e9ecef;
    transition: all 0.4s ease;
    
}

    /*.image-frame:hover {
        border-color: #ff6b35;
        box-shadow: 0 8px 30px rgba(255, 107, 53, 0.12);
        transform: translateY(-2px);
    }*/

    .image-frame img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 8px;
        transition: transform 0.5s ease;
        text-align: center;
    }

    /*.image-frame:hover img {
        transform: scale(1.02);
    }*/

.image-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
}

.tag {
    background: #ff6b35;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* -------- CONTENIDO -------- */
.premium-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.category-tag {
    color: #ff6b35;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.premium-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.2;
}

/* -------- RATING -------- */
.premium-rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.star-group {
    color: #f5a623;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-count {
    color: #868e96;
    font-size: 0.9rem;
}

/* -------- META -------- */
.premium-meta {
    display: flex;
    gap: 20px;
    color: #868e96;
    font-size: 0.9rem;
}

    .premium-meta strong {
        color: #495057;
    }

/* -------- PRECIOS -------- */
.premium-pricing {
    display: flex;
    gap: 20px;
    background: #f8f9fa;
    padding: 20px 24px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.premium-price {
    display: flex;
    flex-direction: column;
    flex: 1;
}

    .premium-price .price-label {
        font-size: 0.75rem;
        text-transform: uppercase;
        color: #868e96;
        letter-spacing: 1px;
        font-weight: 600;
    }

    .premium-price .price-value {
        font-size: 1.3rem;
        font-weight: 700;
        color: #1a1a2e;
        margin-top: 2px;
    }

    .premium-price.wholesale .price-value {
        color: #ff6b35;
    }

    .premium-price.retail .price-value {
        color: #FF6B00;
    }

    .premium-price.finally .price-value {
        color: #1c42e8 !important;
    }



.price-badge {
    background: #ff6b35;
    color: white;
    padding: 2px 14px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 4px;
    display: inline-block;
    width: fit-content;
    letter-spacing: 0.3px;
}

.price-badge-off {
    background: #796f6b;
    color: white;
    padding: 2px 14px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 4px;
    display: inline-block;
    width: fit-content;
    letter-spacing: 0.3px;
}

/* -------- DIVISOR -------- */
.premium-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #dee2e6, transparent);
    margin: 5px 0;
}

/* -------- DESCRIPCIÓN -------- */
.premium-description p {
    color: #495057;
    line-height: 2;
    font-size: 0.95rem;
    margin: 0;
}

/* -------- ACCIONES -------- */
.premium-actions {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.premium-cart {
    flex: 1;
    padding: 16px 24px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.25);
}

    .premium-cart:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 30px rgba(255, 107, 53, 0.35);
    }

    .premium-cart:active {
        transform: translateY(0);
    }

    .premium-cart svg {
        fill: white;
        width: 20px;
        height: 20px;
    }

.premium-wishlist {
    width: 54px;
    height: 54px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    color: #868e96;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .premium-wishlist:hover {
        border-color: #ff6b35;
        color: #ff6b35;
        background: #fff5f0;
        transform: scale(1.05);
    }

/* -------- FEATURES -------- */
.premium-features {
    display: flex;
    gap: 25px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #868e96;
    font-size: 0.85rem;
    font-weight: 500;
}

    .feature i {
        color: #ff6b35;
        font-size: 1.1rem;
        width: 20px;
        text-align: center;
    }



/* ============================
   PREMIUM PRODUCT PAGE
   ============================ */
.premium-product-page {
    padding: 20px 0 40px;
    background: #fafafa;
}

.premium-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ---------- Galería ---------- */
.premium-image {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}

.thumb-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.imgRuta {
    width: 100%;
    max-width: 90px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color .2s, transform .2s, opacity .2s, box-shadow .2s;
    opacity: .7;
    outline: none;
}

    .imgRuta:hover,
    .imgRuta:focus-visible {
        opacity: 1;
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    }

    .imgRuta.active {
        border-color: #ff6b00;
        opacity: 1;
    }

.image-frame {
    position: relative;
    background: #f7f7f7;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

    .image-frame img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform .35s ease;
    }

    .image-frame:hover img {
        transform: scale(1.04);
    }

.image-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    pointer-events: none;
}

    .image-overlay .tag {
        background: #ff6b00;
        color: #fff;
        font-size: .75rem;
        font-weight: 600;
        padding: 4px 10px;
        border-radius: 999px;
        text-transform: uppercase;
        letter-spacing: .5px;
    }

/* ---------- Contenido ---------- */
.premium-content {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.premium-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    color: #1a1a1a;
}

.premium-rating .star-group i {
    color: #ffb400;
    font-size: .95rem;
}

.premium-meta {
    display: flex;
    gap: 18px;
    font-size: .9rem;
    color: #666;
}

.premium-promo {
    background: #fff4e5;
    color: #b34e00;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: .9rem;
    border-left: 4px solid #ff6b00;
}

/* ---------- Precios ---------- */


.premium-price {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #f7f7f7;
}

    .premium-price .price-label {
        font-size: .8rem;
        color: #888;
        text-transform: uppercase;
        letter-spacing: .5px;
        min-width: 70px;
    }

    .premium-price .price-value {
        font-size: 1.25rem;
        font-weight: 700;
        color: #1a1a1a;
    }

    .premium-price.wholesale {
        background: #e8f4ff;
    }

        .premium-price.wholesale .price-value {
            color: #2d8f5c;
        }

    .premium-price.finally {
        background: #fff0e6;
    }

        .premium-price.finally .price-value {
            color: #d94f00;
            font-size: 1.4rem;
        }

.price-badge {
    margin-left: auto;
    font-size: .75rem;
    background: #2d8f5c;
    color: #fff;
    padding: 3px 8px;
    border-radius: 999px;
}

.price-badge-off {
    margin-left: auto;
    font-size: .75rem;
    background: #d94f00;
    color: #fff;
    padding: 3px 8px;
    border-radius: 999px;
}

.no-wrap {
    white-space: nowrap;
}

.premium-divider {
    height: 1px;
    background: #eee;
    margin: 4px 0;
}

/* ---------- Acciones ---------- */
.premium-actions {
    display: flex;
    gap: 12px;
}

.premium-cart {
    flex: 1;
    background: #ff6b00;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background .2s, transform .15s;
}

    .premium-cart:hover {
        background: #e65f00;
        transform: translateY(-1px);
    }

    .premium-cart:active {
        transform: translateY(0);
    }

    .premium-cart svg {
        fill: currentColor;
    }

/* ---------- Features ---------- */
.premium-features {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

    .premium-features .feature {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: .85rem;
        color: #555;
    }

        .premium-features .feature i {
            color: #ff6b00;
        }


/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .premium-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .thumb-list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .imgRuta {
        max-width: 70px;
        flex: 0 0 auto;
    }

    .premium-title {
        font-size: 1.3rem;
    }
}

/* ============================
   MODAL CONFIRMAR PEDIDO
   ============================ */
#mdlWhatsApp .modal-dialog {
    max-width: 500px;
}

#mdlWhatsApp .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: modalPop 0.35s ease;
}

@keyframes modalPop {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Header con degradado naranja → negro */
#mdlWhatsApp .modal-header {
    background: linear-gradient(135deg, #FF5E00 0%, #000000 100%);
    color: #ffffff;
    border-bottom: none;
    padding: 1.25rem 1.5rem;
}

    #mdlWhatsApp .modal-header .modal-title {
        font-weight: 700;
        font-size: 1.15rem;
        letter-spacing: 0.3px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        /*#mdlWhatsApp .modal-header .modal-title::before {
            content: '\f232';*/ /* ícono whatsapp de FontAwesome */
            /*font-family: 'Font Awesome 6 Brands';
            font-size: 1.2rem;
        }*/

    /* Botón de cerrar (X) */
    #mdlWhatsApp .modal-header .btn-close {
        filter: invert(1) brightness(2);
        opacity: 0.9;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

        #mdlWhatsApp .modal-header .btn-close:hover {
            opacity: 1;
            transform: rotate(90deg);
        }

/* Cuerpo */
#mdlWhatsApp .modal-body {
    padding: 1.75rem 1.5rem;
    background: #ffffff;
}

    #mdlWhatsApp .modal-body .text-center small {
        color: #666;
        font-size: 0.9rem;
    }

/* Alerta del total (reemplaza el alert-info estándar) */
#mdlWhatsApp .alert-info {
    background: #fff5ef;
    border: 1px solid #ffe0cc;
    border-left: 4px solid #FF5E00;
    border-radius: 12px;
    color: #000000;
    font-size: 1rem;
    padding: 0.9rem 1rem;
    text-align: center;
}

    #mdlWhatsApp .alert-info strong {
        color: #FF5E00;
    }

#mdlWhatsApp #resumenTotal {
    font-weight: 800;
    font-size: 1.15rem;
    color: #FF5E00;
}

/* Labels */
#mdlWhatsApp .form-group label {
    font-weight: 600;
    color: #000000;
    font-size: 0.95rem;
}

/* Inputs */
#mdlWhatsApp .form-control {
    border-radius: 12px;
    border: 1.5px solid #e0e0e0;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    background: #fafafa;
}

    #mdlWhatsApp .form-control:focus {
        border-color: #FF5E00;
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(255, 94, 0, 0.12);
        outline: none;
    }

    #mdlWhatsApp .form-control::placeholder {
        color: #999;
        font-size: 0.9rem;
    }

/* Iconos dentro de los inputs (opcional si quieres envolverlos) */
#mdlWhatsApp .input-icon-wrap {
    position: relative;
}

    #mdlWhatsApp .input-icon-wrap i {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #FF5E00;
        font-size: 1rem;
    }

    #mdlWhatsApp .input-icon-wrap .form-control {
        padding-left: 40px;
    }

/* Footer */
#mdlWhatsApp .modal-footer {
    border-top: 1px solid #f0f0f0;
    padding: 1rem 1.5rem 1.25rem;
    background: #fafafa;
    gap: 10px;
}

    /* Botón Cancelar */
    #mdlWhatsApp .modal-footer .btn-secondary {
        background: #ffffff;
        color: #000000;
        border: 2px solid #e0e0e0;
        border-radius: 50px;
        padding: 0.6rem 1.5rem;
        font-weight: 600;
        font-size: 0.9rem;
        transition: all 0.25s ease;
    }

        #mdlWhatsApp .modal-footer .btn-secondary:hover {
            background: #f0f0f0;
            border-color: #cccccc;
            color: #000000;
            transform: translateY(-1px);
        }

    /* Botón Confirmar */
    #mdlWhatsApp .modal-footer .btn-success {
        background: linear-gradient(135deg, #FF5E00 0%, #cc4a00 100%);
        color: #ffffff;
        border: none;
        border-radius: 50px;
        padding: 0.6rem 1.75rem;
        font-weight: 700;
        font-size: 0.9rem;
        box-shadow: 0 4px 15px rgba(255, 94, 0, 0.35);
        transition: all 0.25s ease;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

        #mdlWhatsApp .modal-footer .btn-success:hover {
            background: linear-gradient(135deg, #cc4a00 0%, #a33b00 100%);
            box-shadow: 0 6px 20px rgba(255, 94, 0, 0.45);
            transform: translateY(-2px);
        }

        #mdlWhatsApp .modal-footer .btn-success:active {
            transform: translateY(0);
        }

        #mdlWhatsApp .modal-footer .btn-success::before {
            content: '\f00c'; /* ícono check de FontAwesome */
            font-family: 'Font Awesome 6 Free';
            font-weight: 900; /* solid */
        }

/* Responsive */
@media (max-width: 576px) {
    #mdlWhatsApp .modal-dialog {
        margin: 1rem;
    }

    #mdlWhatsApp .modal-body {
        padding: 1.25rem 1rem;
    }

    #mdlWhatsApp .modal-footer {
        flex-direction: column-reverse;
        padding: 1rem;
    }

        #mdlWhatsApp .modal-footer .btn-secondary,
        #mdlWhatsApp .modal-footer .btn-success {
            width: 100%;
            justify-content: center;
        }
}

/* ============================
   MENSAJE DE ERROR EN MODAL
   ============================ */
#mdlWhatsApp .messError {
    display: none; /* se muestra por JS cuando haga falta */
    background: #fff0f0;
    color: #d32f2f;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin: 0.5rem 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    animation: errorShake 0.4s ease;
}

    /* Ícono de advertencia antes del texto */
    #mdlWhatsApp .messError::before {
        content: '\f071'; /* triángulo de advertencia */
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        margin-right: 6px;
        color: #d32f2f;
    }

/* Animación de "sacudida" al aparecer */
@keyframes errorShake {
    0% {
        transform: translateX(0);
        opacity: 0;
    }

    25% {
        transform: translateX(-6px);
        opacity: 1;
    }

    50% {
        transform: translateX(6px);
    }

    75% {
        transform: translateX(-4px);
    }

    100% {
        transform: translateX(0);
    }
}

/* ============================
   MARQUEE INFO PROMO
   ============================ */
.info-promo {
    background-color: #FF5E00 !important;
    overflow: hidden;
    position: relative;
    padding: 6px 0;
    width: 100%;
    height: 32px; /* ajusta según tu tipografía */
}

    .info-promo .marquee-track {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        white-space: nowrap;
        animation: marqueeScroll 30s linear infinite;
        will-change: left;
    }

        .info-promo .marquee-track span {
            display: inline-block;
            padding-right: 80px;
            font-weight: 700;
            color: #fff;
            font-size: 0.95rem;
        }

    /* Pausa al pasar el mouse */
    .info-promo:hover .marquee-track {
        animation-play-state: paused;
    }

@keyframes marqueeScroll {
    0% {
        left: 100%;
    }

    100% {
        left: -100%;
    }
}

