﻿body {
    font-family: "Lato", sans-serif;
}


.bg-black{
    background-color: #000000!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: 140px!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;
}

.text-mayoreo {
    color: #058203 !important;
    font-weight: 600;
    background-color: #EAF3E6 !important;
    border-radius: .5rem;
    font-size: 11px !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;
    }