/* ============================= */
/* RESET GENERAL */
/* ============================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* COLORES PRINCIPALES DEL SITIO */
:root{
    --rojo:#e60000;
    --rojo-oscuro:#b80000;
    --negro:#111;
    --gris:#f5f7fa;
    --blanco:#ffffff;
}

body{
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background:var(--gris);
    color:#333;
    line-height:1.6;
    overflow-x:hidden;
}
/* ============================= */
/* HEADER PROFESIONAL */
/* ============================= */

header {
    background: #111; /* Negro elegante como el logo */
    color: #fff;
    padding: 0.9rem 0;
    box-shadow: 0 5px 18px rgba(0,0,0,0.35);
    border-bottom: 3px solid #e60000; /* Rojo principal */
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* ============================= */
/* CONTENEDOR */
/* ============================= */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}



/* ============================= */
/* HEADER CONTAINER */
/* ============================= */

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ============================= */
/* BOTÓN DASHBOARD */
/* ============================= */

.dashboard-btn {
    background: linear-gradient(135deg, #e10600, #b80000);
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: 30px;
    margin-left: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(225, 6, 0, 0.35);
}

/* Hover */
.dashboard-btn:hover {
    background: linear-gradient(135deg, #ff1a1a, #d40000);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(225, 6, 0, 0.45);
}

/* Click */
.dashboard-btn:active {
    transform: scale(0.96);
}

/* ============================= */
/* LOGO */
/* ============================= */

.logo-img {
    height: 65px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo span {
    color: #e10600;
}

/* ============================= */
/* MENÚ */
/* ============================= */

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 8px;
}

nav ul li {
    margin-left: 0.8rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
}

/* Hover del menú */
nav ul li a:hover {
    background-color: #e10600;
    color: white;
}

/* Iconos del menú */
nav ul li a i {
    margin-right: 6px;
}

/* Hover elegante */
nav ul li a:hover {
    background-color: rgba(225, 6, 0, 0.12); /* rojo suave en hover */
    color: #e10600;
}

/* Línea inferior moderna */
nav ul li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #e10600, #ff3c3c);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

nav ul li a:hover::after {
    width: 65%;
}

/* ============================= */
/* HOVER MENÚ */
/* ============================= */

nav ul li a:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #e10600, #ff3c3c); /* rojo más moderno */
    box-shadow: 0 6px 15px rgba(225, 6, 0, 0.35);
}

/* ============================= */
/* CARRITO */
/* ============================= */

.cart-icon-container {
    position: relative;
    margin-left: 15px;
}

.cart-icon {
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
}

.cart-icon:hover {
    transform: translateY(-2px) scale(1.05);
    background: linear-gradient(135deg, #e10600, #ff3c3c); /* rojo marca */
    box-shadow: 0 6px 18px rgba(225, 6, 0, 0.4);
}

/* ============================= */
/* CONTADOR DEL CARRITO */
/* ============================= */

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #e10600, #ff3c3c); /* rojo más moderno */
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    
    border: 2px solid #0d1b2a; /* combina con el header */
    
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}


/* ============================= */
/* SECCIÓN HERO */
/* ============================= */

.hero {
    background: linear-gradient(
        rgba(13, 27, 42, 0.9),   /* azul oscuro del header */
        rgba(225, 6, 0, 0.75)    /* rojo del logo */
    ), url('/assets/images/fondo.jpeg');

    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;

    padding: 120px 0; /* más espacio visual */
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;

    text-shadow: 3px 3px 10px rgba(0,0,0,0.6);
}

.hero p {
    font-size: 1.4rem;
    max-width: 750px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.hero .redsoc {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 18px;
}


/* ============================= */
/* SECCIÓN EMPRESAS / MARCAS */
/* ============================= */

.emp {
    background: #f8f9fb; /* gris muy claro elegante */
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 0;
}

.emp h1 {
    font-size: 2.6rem;
    font-weight: 800;
    color: #0d1b2a; /* azul corporativo */
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

/* Línea decorativa debajo del título */
.emp h1::after {
    content: "";
    width: 60px;
    height: 4px;
    background: #e10600; /* rojo marca */
    display: block;
    margin: 10px auto 0;
    border-radius: 5px;
}

/* ============================= */
/* BOTÓN PRINCIPAL */
/* ============================= */

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #e10600, #c10000); /* rojo degradado */
    color: #ffffff;
    padding: 14px 34px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(225, 6, 0, 0.35);
}

/* Hover elegante */
.btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 25px rgba(225, 6, 0, 0.45);
}

/* Efecto al hacer clic */
.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(225, 6, 0, 0.3);
}
/* ============================= */
/* SECCIÓN PRODUCTOS */
/* ============================= */

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #0d1b2a;
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 1rem;
}

/* Línea decorativa elegante */
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #e10600, #ff3b3b);
    border-radius: 10px;
}

/* ============================= */
/* CATEGORÍAS */
/* ============================= */

.categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

/* Botón categoría */
.category-btn {
    background: white;
    color: #0d1b2a;
    border: 2px solid #e10600;
    padding: 0.75rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.35s ease;
}

/* Hover */
.category-btn:hover {
    background: #e10600;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(225, 6, 0, 0.3);
}

/* Botón activo */
.category-btn.active {
    background: linear-gradient(135deg, #e10600, #c10000);
    color: white;
    border: none;
    box-shadow: 0 6px 20px rgba(225, 6, 0, 0.35);
}
.category-btn:hover,
.category-btn.active {
    background-color: #e10600;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(225, 6, 0, 0.3);
    transform: translateY(-3px);
}

/* ============================= */
/* GRID PRODUCTOS */
/* ============================= */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    min-height: 450px;
}

/* ============================= */
/* TARJETA PRODUCTO */
/* ============================= */

.product-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.07);
    transition: all 0.35s ease;
    border-top: 4px solid #e10600;
    position: relative;
}

/* Hover tipo tienda profesional */

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

/* Imagen del producto */

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    padding: 20px;
    background: #f8f9fb;
}

/* Información */

.product-info {
    padding: 18px;
    text-align: center;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0d1b2a;
    margin-bottom: 8px;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #e10600;
    margin-bottom: 15px;
}

/* Botón agregar */

.product-btn {
    background: #e10600;
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-btn:hover {
    background: #c10000;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(225,6,0,0.35);
}

/* Animación de entrada */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tarjeta producto */

.product-card {
    animation: fadeIn 0.6s ease forwards;
}

/* Hover tarjeta */

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.15);
}

/* Imagen producto */

.product-image {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background-color: #f3f3f3;
    padding: 15px;
    transition: transform 0.4s ease;
}

/* Zoom de imagen */

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-card h3 {
    color: #0d1b2a;
    padding: 1.4rem 1.4rem 0.6rem;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.product-category {
    padding: 0 1.4rem;
    font-size: 0.8rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.product-price {
    color: #e10600;
    font-size: 2rem;
    font-weight: 800;
    padding: 0 1.4rem;
    margin-bottom: 0.6rem;
    letter-spacing: -0.5px;
}

.product-stock {
    color: #15803d;
    font-weight: 600;
    padding: 0 1.4rem;
    margin-bottom: 1.4rem;
    font-size: 0.9rem;
}

/* BOTÓN AGREGAR AL CARRITO */

.product-card .btn {
    margin: 0 1.4rem 1.4rem;
    padding: 0.9rem 1.6rem;
    width: calc(100% - 2.8rem);
    text-align: center;
    background: linear-gradient(135deg, #e10600, #ff3b30);
    color: #ffffff;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

/* Hover botón */

.product-card .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(225, 6, 0, 0.4);
}

.product-card .btn:hover {
    background: linear-gradient(135deg, #e10600, #ff3c3c);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(225, 6, 0, 0.35);
}

.loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: #444;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.loading-spinner {
    border: 4px solid #f1f1f1;
    border-top: 4px solid #e10600;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1.2rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: #444;
    font-size: 1.1rem;
    font-weight: 500;
}

.no-products i {
    font-size: 3.5rem;
    color: #ddd;
    margin-bottom: 1.2rem;
    display: block;
}

.error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, #fff5f5, #ffecec);
    border-radius: 12px;
    color: #b00000;
    border-left: 5px solid #e10600;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(225, 6, 0, 0.08);
}


/* Sidebar Carrito */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -8px 0 35px rgba(0, 0, 0, 0.18);
    z-index: 1000;
    transition: right 0.45s cubic-bezier(0.77, 0, 0.175, 1);
    
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.6rem;
    background: linear-gradient(135deg, #111 0%, #e10600 100%);
    color: white;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.cart-header h3 {
    font-size: 1.4rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-cart:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.cart-items {
    flex: 1 !important;
    overflow-y: auto;
    padding: 1.8rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.2rem 0;
    border-bottom: 1px solid #f2f2f2;
    gap: 1rem;
}

.cart-item:last-child {
    border-bottom: none;
}

.item-info h4 {
    color: #0d1b2a;
    margin-bottom: 0.4rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.item-price {
    color: #e10600;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.3px;
}


.item-quantity {
    display: flex;
    align-items: center;
    margin-top: 0.6rem;
    gap: 0.5rem;
}

.quantity-btn {
    background-color: #f4f4f4;
    border: 1px solid #e5e5e5;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background-color: #e10600;
    border-color: #e10600;
    color: #ffffff;
    transform: scale(1.1);
}

.quantity-value {
    font-weight: 600;
    min-width: 28px;
    text-align: center;
    font-size: 0.95rem;
    color: #333;
}



.remove-item {
    background: none;
    border: none;
    color: #e10600;
    cursor: pointer;
    font-size: 1.1rem;
    margin-left: 0.6rem;
    padding: 0.4rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.remove-item:hover {
    background-color: rgba(225, 6, 0, 0.12);
    transform: scale(1.1);
}

.cart-footer {
    padding: 1.8rem;
    border-top: 1px solid #f0f0f0;
    background-color: #ffffff;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);

    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top:auto !important;
}


.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 800;
    color: #0d1b2a;
    letter-spacing: -0.5px;
}

#cartTotal {
    color: #e10600;
    font-weight: 900;
}

.btn-pay {
    width: 100%;
    padding: 1.1rem;
    font-size: 1.15rem;
    background: linear-gradient(135deg, #e10600, #ff3c3c);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(225, 6, 0, 0.3);
}

.btn-pay:hover {
    background: linear-gradient(135deg, #b80000, #e10600);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(225, 6, 0, 0.4);
}


.btn-contac {
    width: 100%;
    padding: 1.1rem;
    font-size: 1.15rem;
    background: linear-gradient(135deg, #111, #2a2a2a);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.btn-contac:hover {
    background: linear-gradient(135deg, #000, #1a1a1a);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}



.btn-pay:hover {
    background: linear-gradient(135deg, #b80000, #e10600);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(225, 6, 0, 0.4);
}

.empty-cart {
    text-align: center;
    padding: 3.5rem 1.5rem;
    color: #222;
    font-size: 1.05rem;
    font-weight: 500;
}

.empty-cart i {
    font-size: 3.2rem;
    color: #e10600;
    margin-bottom: 1.2rem;
    display: block;
    opacity: 0.9;
}



.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
    cursor: pointer;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

footer {
    background: linear-gradient(135deg, #000000 0%, #111 70%, #1a1a1a 100%);
    color: #ffffff;
    padding: 4rem 0 3rem;
    margin-top: 5rem;
    text-align: center;
    border-top: 3px solid #e10600;
}

/* Logo del footer (si usas imagen PNG) */
.footer-logo-img {
    width: 150px;
    height: auto;
    margin-bottom: 1.2rem;
    transition: all 0.35s ease;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.5));
}

.footer-logo-img:hover {
    transform: scale(1.08) rotate(-2deg);
}

/* Texto logo si es texto */
.footer-logo {
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
}

.footer-logo span {
    color: #e10600;
}

/* Texto descriptivo */
.footer-text {
    max-width: 650px;
    margin: 0 auto 2rem;
    color: #dddddd;
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 400;
}

/* Línea divisoria */
.footer-divider {
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, #e10600, #ff4d4d);
    margin: 2rem auto;
    border-radius: 3px;
}


.copyright {
    color: #aaaaaa;
    font-size: 0.9rem;
    margin-top: 1.5rem;
}


/* ============================= */
/*         RESPONSIVE           */
/* ============================= */

@media (max-width: 992px) {
    .cart-sidebar {
        width: 350px;
    }
}

@media (max-width: 768px) {

    /* Header */
    .header-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .logo-img {
        width: 130px; /* Ajuste logo en tablet */
        height: auto;
    }

    nav ul {
        margin-top: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    nav ul li {
        margin: 0.5rem;
    }

    /* Hero */
    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    /* Productos */
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    }

    /* Carrito */
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .cart-overlay.active {
        background-color: rgba(0, 0, 0, 0.75);
    }
}

@media (max-width: 480px) {

    .logo-img {
        width: 110px; /* Ajuste logo en móvil */
        height: auto;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 0.75rem 1.4rem;
        font-size: 0.95rem;
    }
}

/* ============================= */
/*    GALERÍA DE EMPRESAS       */
/* ============================= */

.emp {
    background: #f7f7f7;
    text-align: center;
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.emp h1 {
    color: #0d1b2a;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    position: relative;
}

.emp h1::after {
    content: "";
    width: 80px;
    height: 4px;
    background-color: #e10600; /* rojo corporativo */
    display: block;
    margin: 12px auto 0;
    border-radius: 2px;
}

.emp p {
    color: #444; /* gris profesional */
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}


/* Contenedor del carrusel */
.empresas-slider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #e10600;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(225,6,0,0.3);
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: #c10000;
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: -20px;
}

.slider-next {
    right: -20px;
}

@media (max-width: 992px) {
    .slider-slide {
        min-width: 33.33%;
    }
}

@media (max-width: 768px) {
    .slider-slide {
        min-width: 50%;
    }
}

@media (max-width: 480px) {
    .slider-slide {
        min-width: 100%;
    }
}

/* Caja de cada empresa */
.slider-slide img {
    width: 100%;
    height: 80px;
    object-fit: contain;
    background: #ffffff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.35s ease;
    filter: none;
    opacity: 1;
}

/* Hover elegante */
.slider-slide img:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}


.empresa-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.empresa-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.empresa-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.empresa-card:hover .empresa-img{
    transform: scale(1.05);
}

.empresa-info {
    padding: 20px;
    text-align: center;
}

.empresa-nombre {
    color: #111;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.empresa-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Controles del slider */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 35px;
    gap: 20px;
}

/* Botones de flecha */
.slider-btn {
    background: linear-gradient(135deg, #111, #2a2a2a);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    display:none !important;
}


/* Hover elegante */
.slider-btn:hover {
    background: linear-gradient(135deg, #e10600, #ff3c3c);
    transform: scale(1.15);
    box-shadow: 0 10px 25px rgba(225, 6, 0, 0.4);
}

/* Dots */
.slider-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
    display:none !important;
}

/* Dot normal */
.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.25);
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover */
.slider-dot:hover {
    background-color: rgba(225, 6, 0, 0.6);
    transform: scale(1.1);
}

/* Dot activo */
.slider-dot.active {
    background-color: #e10600;
    transform: scale(1.35);
    box-shadow: 0 4px 10px rgba(225, 6, 0, 0.4);
}

/* Imagen */
.slider .empresa-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}


/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 992px) {

    .slider-slide {
        min-width: 33.333%; /* 3 por vista */
    }

    .empresa-img {
        height: 170px; /* un poco más equilibrado */
    }

    .empresa-nombre {
        font-size: 1.2rem;
    }
}

/* Tablet */
@media (max-width: 768px) {

    .emp h1 {
        font-size: 2rem;
        text-align: center;
    }

    .emp p {
        font-size: 1rem;
        padding: 0 20px;
        text-align: center;
    }

    .slider-slide {
        min-width: 50%; /* 2 por vista */
    }

    .empresa-img {
        height: 160px;
    }

    .empresa-card {
        border-radius: 14px;
    }
}

/* Móvil pequeño */
@media (max-width: 480px) {

    .slider-slide {
        min-width: 100%; /* 1 por vista */
    }

    .empresa-img {
        height: 200px; /* más impacto visual */
    }

    .empresa-info {
        padding: 18px;
    }

    .empresa-nombre {
        font-size: 1.15rem;
    }

    .empresa-desc {
        font-size: 0.9rem;
    }
}



/* ============================= */
/* TÍTULO */
/* ============================= */

.reclamos-container h2 {
    font-size: 26px;
    font-weight: 700;
    color: #0d47a1; /* azul marca */
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================= */
/* TEXTO RUC */
/* ============================= */

.reclamos-container p {
    margin-top: 12px;
    font-size: 15px;
    color: #555; /* gris elegante */
}

/* ============================= */
/* FOOTER TARJETAS LIMPIAS */
/* ============================= */

.info-row {
    display: flex;
    gap: 25px;
    max-width: 1100px;
    margin: 50px auto 0;
    align-items: stretch;
}

.info-box {
    flex: 1;
    background: #ffffff;
    color: #0d47a1;
    padding: 25px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(13, 71, 161, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(13, 71, 161, 0.25);
}

/* ============================= */
/* TÍTULOS */
/* ============================= */

.info-box h3 {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #0d47a1; /* azul marca */
}

/* ============================= */
/* IMÁGENES CONTROLADAS */
/* ============================= */

.info-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background: #f8f9fc; /* fondo más limpio */
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    transition: transform 0.3s ease;
}

.info-box:hover .info-img {
    transform: scale(1.05);
}

/* ============================= */
/* TEXTO */
/* ============================= */

.info-text {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.info-box small {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: #888;
}

/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 768px) {
    .info-row {
        flex-direction: column;
        gap: 20px;
    }

    .info-box {
        padding: 22px;
    }
}

.product-card{
opacity:0;
transform:translateY(40px);
transition:all 0.6s ease;
}

.product-card.show{
opacity:1;
transform:translateY(0);
}

header{
transition:all 0.3s ease;
}

header.scrolled{
background:#111;
box-shadow:0 5px 20px rgba(0,0,0,0.2);
}