/* RESET Y BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #1f2937;
    line-height: 1.5;
}

/* Scroll suave para navegación por anclaje */
html {
    scroll-behavior: smooth;
}

/* FRANJA SUPERIOR - efecto letrero con entrada/salida suave y texto centrado */
.top-bar {
    background-color: #111111;
    color: #facc15;
    padding: 0;
    overflow: hidden;
    font-weight: 550;
    font-size: 0.95rem;
    letter-spacing: 2px;
    position: relative;
    height: 42px;
    display: flex;
    align-items: center;
}

.marquee {
    position: relative;
    width: 100%;
    height: 100%;
}

.marquee span {
    position: absolute;
    width: 100%;
    left: 100%;
    animation: scrollSuave 22s linear infinite;
    text-align: center;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    top: 0;
    margin: 0;
    line-height: 1;
}

.marquee span:first-child {
    animation-delay: 0s;
}

.marquee span:last-child {
    animation-delay: 11s;
    color: black;
}

@keyframes scrollSuave {
    0% {
        left: 100%;
        opacity: 0;
    }
    8% {
        opacity: 1;
    }
    92% {
        opacity: 1;
    }
    100% {
        left: -100%;
        opacity: 0;
    }
}

/* HEADER */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-area {
    display: flex;
    align-items: center;
}

.site-logo {
    max-height: 70px;
    width: auto;
    object-fit: contain;
    border-radius: 12px;
}

.search-area {
    display: flex;
    flex: 1;
    max-width: 650px;
}

.search-area input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 40px 0 0 40px;
    font-size: 0.9rem;
    background-color: #ffffff;
    color: #1f2937;
    transition: all 0.2s;
}

.search-area input:focus {
    outline: none;
    border-color: #facc15;
}

.search-area input::placeholder {
    color: #9ca3af;
}

.search-area button {
    background: #111111;
    border: none;
    padding: 0 1.2rem;
    border-radius: 0 40px 40px 0;
    color: #facc15;
    cursor: pointer;
    transition: 0.2s;
}

.search-area button:hover {
    background: #facc15;
    color: #111111;
}

.header-actions {
    display: flex;
    gap: 1.2rem;
}

/* BARRA NAVEGACIÓN - negro (reemplazo del azul marino) */
.nav-bar {
    background: #111111;
    padding: 0 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    display: inline-block;
    padding: 1rem 0;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: 0.2s;
}

.nav-item > a:hover {
    color: #facc15;
}

/* MEGA DROPDOWN */
.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    width: 900px;
    box-shadow: 0 20px 35px -10px rgba(0,0,0,0.15);
    border-radius: 0 0 12px 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
    border-top: 3px solid #facc15;
}

.dropdown-trigger:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-container {
    display: flex;
    padding: 2rem;
    gap: 2rem;
}

.dropdown-col {
    flex: 1;
}

.dropdown-col h4 {
    color: #111111;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    border-left: 3px solid #facc15;
    padding-left: 0.5rem;
}

.dropdown-col ul {
    list-style: none;
}

.dropdown-col li a {
    text-decoration: none;
    color: #4b5563;
    font-size: 0.85rem;
    display: block;
    padding: 0.4rem 0;
    transition: 0.2s;
}

.dropdown-col li a:hover {
    color: #111111;
    padding-left: 5px;
    font-weight: 500;
}

.category-link:hover {
    color: #facc15 !important;
}

/* HERO - título en amarillo dorado, fondo blanco/claro */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #fef9e3 0%, #ffffff 100%);
    padding: 0rem 0rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: #facc15;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.hero-badge {
    background: #111111;
    color: #facc15;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
}

.btn-primary {
    background: #111111;
    color: #facc15;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    margin-top: 1.5rem;
    transition: 0.2s;
}

.btn-primary:hover {
    background: #facc15;
    color: #111111;
    transform: scale(1.02);
}

.hero-image img {
    max-width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 25px -12px rgba(0,0,0,0.2);
}

/* CATEGORÍAS DESTACADAS */
.quick-categories, .why-us, .contact-pre-footer {
    padding: 3rem 2rem;
}

.quick-categories {
    background-color: #ffffff;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 2rem;
}

.section-header h2 {
    color: #111111;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.section-header.center {
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
}

.link-all {
    color: #111111;
    text-decoration: none;
    font-weight: 600;
}

.link-all:hover {
    color: #facc15;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1.5rem;
}

.cat-card {
    background: #f8fafc;
    padding: 0rem 0rem;
    text-align: center;
    border-radius: 20px;
    transition: 0.2s;
    cursor: pointer;
    font-weight: 700;
    border: 1px solid #eef2ff;
    color: #1f2937;
    display: flex;
    flex-direction: column;
    align-items: center;
   
}

.cat-img {
    width: 210px;
    height: 210px;
    object-fit: contain;
    border-radius: 12px;
    display: block;
    padding: 0px;          /* Pequeño padding para separar del borde */
}
.cat-card-link {
    text-decoration: none;
    display: block;
}

.cat-card-link:hover .cat-card {
    transform: translateY(-6px);
    box-shadow: 0 12px 20px -12px rgba(0,0,0,0.15);
    border-color: #facc15;
    background: #ffffff;
}

.cat-card-link:hover .cat-card span {
    color: #facc15;
}

.cat-card span {
    font-size: 1.1rem;
}

.cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 20px -12px rgba(0,0,0,0.15);
    border-color: #facc15;
    background: #ffffff;
}

.cat-card:hover span {
    color: #facc15;
}

/* POR QUÉ ELEGIRNOS */
.why-us {
    background-color: #f9fafb;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid #eef2ff;
    transition: 0.2s;
}

.feature:hover {
    border-color: #facc15;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.feature i {
    font-size: 2.5rem;
    color: #111111;
    margin-bottom: 1rem;
}

.feature:hover i {
    color: #facc15;
}

.feature h3 {
    margin-bottom: 0.8rem;
    color: #111111;
}

.feature p {
    color: #4b5563;
}
/* CONTACTO PRE-FOOTER */
.contact-pre-footer {
    background: #111111;
    color: #e0e0e0;
    display: flex;
    flex-wrap: wrap;
    gap: 12rem;
    justify-content: space-between;
    align-items: flex-start;
    padding: 3rem 2rem;
}

.contact-left {
    flex: 1.7;
    min-width: 260px;
}

.contact-right {
    flex: 1;
    min-width: 220px;
}

.contact-img {
    flex: 0.7;
    min-width: 160px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 4rem;
}

.contact-left h3, .contact-right h3 {
    color: #facc15;
    margin-bottom: 1.2rem;
}

.logo-contact-area {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.contact-logo {
    max-height: 95px;
    width: auto;
    object-fit: contain;
}

.simple-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.simple-form input {
    padding: 0.8rem 1rem;
    border-radius: 40px;
    border: 1px solid #333333;
    background: #1a1a1a;
    color: #f0f0f0;
    font-size: 0.9rem;
}

.simple-form input::placeholder {
    color: #888888;
}

.simple-form button {
    background: #facc15;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 40px;
    font-weight: 700;
    color: #111111;
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.9rem;
}

.simple-form button:hover {
    background: #e5b800;
    transform: scale(1.01);
}

.contact-info-block p {
    margin: 0.7rem 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.0rem;
}

.contact-info-block a {
    color: #facc15;
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: #e0e0e0;
    background: #1a1a1a;
    padding: 0.6rem;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    border: 1px solid #333333;
    text-decoration: none;
}

.social-links a:hover {
    background: #facc15;
    color: #111111;
    transform: translateY(-3px);
}

.main-footer {
    background: #0a0a0a;
    color: #6b7280;
    text-align: center;
    padding: 1.2rem;
    font-size: 0.8rem;
    border-top: 1px solid #1f1f1f;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-pre-footer {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }
    .contact-left, .contact-right, .contact-img {
        width: 100%;
        flex: auto;
    }
    .contact-img {
        justify-content: center;
        padding-top: 0;
    }
    .logo-contact-area {
        justify-content: center;
    }
    .contact-info-block p {
        justify-content: flex-start;
    }
    .social-links {
        justify-content: flex-start;
    }
}
/* BOTÓN WHATSAPP FLOTANTE */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* AJUSTES RESPONSIVE */
@media (max-width: 900px) {
    .mega-dropdown {
        width: 100vw;
        left: -2rem;
    }
    .dropdown-container {
        flex-wrap: wrap;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .nav-menu {
        gap: 1rem;
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.7rem;
        bottom: 20px;
        right: 20px;
    }
}
/* CONTACTOS EN HEADER (junto al buscador) */
.header-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.contact-header-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #111111;
    font-weight: 500;
    font-size: 0.85rem;
    transition: 0.2s;
    padding: 8px 12px;
    border-radius: 40px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
}

.contact-header-link i {
    font-size: 1.1rem;
    color: #111111;
}

.contact-header-link:hover {
    background-color: #111111;
    border-color: #111111;
}

.contact-header-link:hover i,
.contact-header-link:hover span {
    color: #facc15;
}

/* Estilo para el botón de teléfono en PC (no clickeable) */
.contact-header-link[onclick="return false;"] {
    cursor: default;
    opacity: 1.0;
}

.contact-header-link[onclick="return false;"]:hover {
    background-color: #f8fafc;
    border-color: #e2e8f0;
}

.contact-header-link[onclick="return false;"]:hover i,
.contact-header-link[onclick="return false;"]:hover span {
    color: #111111;
}

@media (max-width: 768px) {
    .contact-header-link span {
        display: none;
    }
    .contact-header-link {
        padding: 8px 10px;
    }
}
/* ============================================
   NUEVAS SECCIONES PARA PÁGINAS DE CATEGORÍA/PRODUCTO
   ============================================ */

/* BREADCRUMB (migaja de pan) */
.breadcrumb {
    padding: 1rem 2rem;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.85rem;
}

.breadcrumb a {
    color: #111111;
    text-decoration: none;
    transition: 0.2s;
}

.breadcrumb a:hover {
    color: #facc15;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #9ca3af;
}

.breadcrumb .current {
    color: #facc15;
    font-weight: 600;
}

/* PÁGINA DE CATEGORÍA (Tapones, etc) */
.category-page {
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.category-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111111;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.5px;
    border-bottom: 3px solid #facc15;
    display: inline-block;
    width: auto;
    padding-bottom: 0.5rem;
}

.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.subcat-card {
    background: #f3f3f3;
    border: 1px solid #eef2ff;
    border-radius: 24px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: 0.3s;
    cursor: pointer;
}

.subcat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -12px rgba(0,0,0,0.1);
    border-color: #facc15;
}

.subcat-img-placeholder {
    width: 80px;
    height: 80px;
    background: #111111;
    color: #facc15;
    font-size: 2.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin: 0 auto 1.2rem;
}

.subcat-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #111111;
}

.subcat-card p {
    color: #6b7280;
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
}

.subcat-link {
    display: inline-block;
    color: #facc15;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.2s;
}

.subcat-link:hover {
    color: #111111;
    transform: translateX(5px);
}

/* PÁGINA DE PRODUCTOS (detalle de subcategoría) */
.product-page {
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.back-button {
    position: absolute;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    left: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #111111;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
    padding: 7px 14px;
    background: #f3f3f3;
    border-radius: 40px;
}

.back-button:hover {
    background: #111111;
    color: #facc15;
}

.product-title {
    font-size: 2rem;
    font-weight: 800;
    color: #111111;
    margin-bottom: 0.5rem;
}

.product-subtitle {
    color: #6b7280;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: #f3f3f3;
    border: 1px solid #eef2ff;
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: 0.2s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -8px rgba(0,0,0,0.1);
    border-color: #facc15;
}

.product-code {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 0.5rem;
}

.product-specs {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.product-consult {
    background: #25D366;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.product-consult:hover {
    background: #128C7E;
    transform: scale(1.02);
}

/* Responsive para nuevas secciones */
@media (max-width: 768px) {
    .category-title {
        font-size: 1.8rem;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .back-button {
        position: relative;
        margin-bottom: 1rem;
        display: inline-flex;
    }
    
    .product-header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}
/* ============================================
   ESTILOS PARA PÁGINA DE Tapones Sello V (SELLO V)
   ============================================ */

.product-page-v {
    padding: 2rem 2rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-header-v {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.product-title-v {
    font-size: 2rem;
    font-weight: 800;
    color: #111111;
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

.product-subtitle-v {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Imágenes superiores */
.product-images-v {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.product-img-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 1rem;
    border: 1px solid #eef2ff;
    transition: 0.2s;
}

.product-img-card:hover {
    border-color: #facc15;
    transform: translateY(-4px);
}

.product-detail-img {
    max-width: 280px;
    height: auto;
    border-radius: 12px;
    display: block;
}

.product-logo-img {
    max-width: 200px;
    height: auto;
    border-radius: 12px;
    display: block;
}




/* Tabla de productos */
.product-table-container {
    background: #f8fafc;
    border-radius: 24px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #eef2ff;
    text-align: center;
}

.table-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 1rem;
    display: inline-block;
    border-bottom: 2px solid #facc15;
    padding-bottom: 0.3rem;
}

.product-table-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    background: white;
    padding: 0.5rem;
}

/* Contenedor para las dos tablas una al lado de la otra */
.tablas-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    margin: 2rem auto;
    max-width: 900px;
}

.tablas-container .pasos-section {
    flex: 1;
    min-width: 250px;
    margin: 0;
}

/* Responsive: en móvil se apilan */
@media (max-width: 768px) {
    .tablas-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .tablas-container .pasos-section {
        width: 100%;
        max-width: 100%;
    }
}
/* Sección de códigos */
.codes-section {
    background: #ffffff;
    border-radius: 24px;
    padding: 1.5rem;
    border: 1px solid #eef2ff;
    text-align: center;
}

.codes-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 1rem;
}

.codes-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.code-chip {
    background: #111111;
    color: #facc15;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: 0.2s;
}

.code-chip:hover {
    background: #facc15;
    color: #111111;
    transform: scale(1.02);
}

/* Contenedor del texto de consulta - centrado y con espacio */
.consult-wrapper {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eef2ff;
}

.consult-text {
    color: #4b5563;
    font-size: 0.95rem;
}

.consult-link {
    color: #25D366;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.consult-link:hover {
    text-decoration: underline;
    color: #128C7E;
}
/* WhatsApp consult - centrado y separado */
.cr-whatsapp-consult {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eef2ff;
}

.cr-whatsapp-consult .consult-text {
    color: #4b5563;
    font-size: 0.9rem;
}

.cr-whatsapp-consult .consult-link {
    color: #25D366;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.cr-whatsapp-consult .consult-link:hover {
    color: #128C7E;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .product-page-v {
        padding: 1.5rem;
    }
    
    .product-title-v {
        font-size: 1.5rem;
    }
    
    .product-images-v {
        gap: 1rem;
    }
    
    .product-detail-img {
        max-width: 180px;
    }
    
    .product-logo-img {
        max-width: 130px;
    }
    
    .code-chip {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }
}
/* Estilos para la tabla con logo de fondo */
.product-table-container-v {
    background: #f8fafc;
    border-radius: 24px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #eef2ff;
    text-align: center;
}

.table-title-v {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 1rem;
    display: inline-block;
    border-bottom: 2px solid #facc15;
    padding-bottom: 0.3rem;
}

.table-wrapper-v {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 1rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-blend-mode: overlay;
}

.product-table-img-v {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.85);
    padding: 0.5rem;
}

/* Contenedor de la tabla O'Ring */
.table-wrapper-oring {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 1rem;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Imagen de la tabla centrada */
.product-table-img-oring {
    width: auto;
    max-width: 90%;
    height: auto;
    max-height: 300px;
    border-radius: 12px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.table-wrapper-conico {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 1rem;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Imagen de la tabla centrada */
.product-table-img-conico {
    width: auto;
    max-width: 80%;
    height: auto;
    max-height: 250px;
    border-radius: 12px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.tapon-img-conico {
    width: 80%;
    max-width: 80%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    border-radius: 16px;
    display: block;
}

.product-table-container-conico {
    background: #f8fafc;
    border-radius: 24px;
    padding: 1.0rem;
    border: 1px solid #eef2ff;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-footer-oring {
    text-align: center;
    margin-top: 1.6rem;
    margin-bottom: 1.9rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #eef2ff;
}

.brand-footer-v {
    text-align: center;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #eef2ff;
}

.brand-footer-img-v {
    max-height: 80px;
    width: auto;
    opacity: 1.0;
    margin-bottom: 0.5rem;
}


.brand-footer-text {
    font-size: 0.75rem;
    color: #6b7280;
    letter-spacing: 1px;
}
/* ============================================
   CONTENEDOR IMAGEN IZQUIERDA + TABLA DERECHA
   ============================================ */

.image-table-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: stretch;
    margin-bottom: 2rem;
}

.image-left {
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 24px;
    border: 1px solid #eef2ff;
    padding: 1rem;
}

.tapon-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    border-radius: 16px;
    display: block;
}

.table-right {
    flex: 3.0;
    min-width: 400px;
}

.product-table-container {
    background: #f8fafc;
    border-radius: 24px;
    padding: 1.5rem;
    border: 1px solid #eef2ff;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.table-title {
    font-size: 1.rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 0.75rem;
    display: inline-block;
    border-bottom: 2px solid #facc15;
    padding-bottom: 0.3rem;
}

.product-table-img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: contain;
}

/* Responsive: en móviles se apilan */
@media (max-width: 768px) {
    .image-table-container {
        flex-direction: column;
    }
    
    .image-left {
        min-width: auto;
    }
    
    .tapon-img {
        max-height: 200px;
    }
    
    .table-right {
        min-width: auto;
    }
}
/* ============================================
   ESTILOS PARA KITS
   ============================================ */

.kits-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0.5rem;
}

.kit-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #eef2ff;
    transition: 0.2s;
}

.kit-item:hover {
    border-color: #facc15;
    transform: translateX(4px);
}

.kit-code {
    font-size: 1.3rem;
    font-weight: 800;
    color: #111111;
    background: #f8fafc;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    letter-spacing: 0.5px;
}

.kit-desc {
    flex: 1;
    font-size: 0.9rem;
    color: #4b5563;
}

.kit-types {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.kit-type-group {
    background: #f8fafc;
    border-radius: 16px;
    padding: 1rem;
    min-width: 180px;
}

.kit-type-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #facc15;
    background: #111111;
    display: inline-block;
    padding: 0.2rem 1rem;
    border-radius: 40px;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .kit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .kit-types {
        flex-direction: column;
        align-items: center;
    }
    
    .kit-type-group {
        width: 100%;
    }
}
/* ============================================
   SECCIÓN CAJAS DE REPOSICIÓN (CR)
   ============================================ */

.cr-section {
    padding: 2rem 2rem;  /* Reducido de 3rem 2rem */
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid #eef2ff;
    border-bottom: 1px solid #eef2ff;
}

.cr-container {
    max-width: 1400px;
    margin: 0 auto;
}

.cr-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;  /* Agregado: espacio entre imagen y texto */
    margin-bottom: 2rem;  /* Reducido de 2.5rem a 2rem */
}

.cr-image {
    flex: 0.8;  /* Cambiado de 1 a 0.8 para que ocupe menos espacio */
    min-width: 250px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cr-box-img {
    width: 80%;  /* Cambiado de 50% a 80% para que se vea bien */
    max-width: 280px;  /* Tamaño máximo fijo */
    height: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 30px -15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    background: #ffffff;
    padding: 0.5rem;
    border: 1px solid #eef2ff;
}

.cr-box-img:hover {
    transform: scale(1.02);
}

.cr-badge-overlay {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #111111;
    color: #facc15;
    font-weight: 800;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: 2px solid #facc15;
}

.cr-info {
    flex: 1.2;  /* Un poco más de espacio para el texto */
    min-width: 280px;
    text-align: left;
}

.cr-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
}

.cr-highlight {
    color: #facc15;
    background: #111111;
    padding: 0.1rem 0.6rem;
    border-radius: 30px;
    font-size: 1.5rem;
    display: inline-block;
}

.cr-description {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cr-simbologia {
    background: #ffffff;
    border-radius: 20px;
    padding: 0.8rem 1rem;  /* Reducido de 1rem 1.2rem */
    border: 1px solid #eef2ff;
}

.cr-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    color: #111111;
    margin-bottom: 0.8rem;
}

.cr-symbols {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.cr-symbol {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 80px;
    background: #f8fafc;
    padding: 0.5rem 0.8rem;
    border-radius: 16px;
    transition: all 0.2s ease;
    border: #111111 solid 0.5px;
}

.cr-symbol:hover {
    background: #111111;
    transform: translateY(-3px);
}

.cr-symbol:hover .cr-symbol-code,
.cr-symbol:hover .cr-symbol-desc {
    color: #facc15;
}

.cr-symbol-code {
    font-weight: 900;
    font-size: 1rem;
    color: #111111;
    background: #eef2ff;
    padding: 0.2rem 0.6rem;
    border-radius: 30px;
    margin-bottom: 0.3rem;
}

.cr-symbol-desc {
    font-size: 0.7rem;
    color: #6b7280;
}

.cr-examples {
    text-align: center;
    margin-bottom: 2rem;  /* Reducido de 3rem a 2rem */
    padding: 0.8rem;  /* Reducido de 1rem */
    background: #f8fafc;
    border-radius: 30px;
}



.cr-examples-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #9ca3af;
    margin-bottom: 0.8rem;
}

.cr-examples-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.cr-example-chip {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #4b5563;
    font-family: monospace;
    transition: all 0.2s ease;
}

.cr-example-chip:hover {
    background: #111111;
    color: #facc15;
    border-color: #111111;
    transform: translateY(-2px);
}

.cr-options {
    text-align: center;
    margin-top: 0.5rem;  /* Nuevo: menos espacio arriba */
}

.cr-options-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #111111;
    margin-bottom: 1.5rem;
}

.cr-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.cr-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 1rem 1.5rem;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    background: #ffffff;
    border: 2px solid #eef2ff;
    position: relative;
    overflow: hidden;
}

.cr-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(250,204,21,0.15), transparent);
    transition: left 0.5s ease;
}

.cr-btn:hover::before {
    left: 100%;
}

.cr-btn-icon {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.cr-btn:hover .cr-btn-icon {
    transform: scale(1.1);
}

.cr-btn-text {
    font-size: 0.95rem;
    color: #111111;
}

.cr-btn-code {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 30px;
    color: #facc15;
    background: #111111;
}

.cr-btn-tb:hover {
    border-color: #facc15;
    transform: translateY(-4px);
    
}

.cr-btn-oring:hover {
    border-color: #007006;
    transform: translateY(-4px);
}    

.cr-btn-v:hover {
    border-color: #9e9d9b;
    transform: translateY(-4px);
   
}

.cr-btn-conico:hover {
    border-color: #181717;
    transform: translateY(-4px);
   
}

@media (max-width: 768px) {
    .cr-section {
        padding: 2rem 1rem;
    }
    
    .cr-main {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .cr-title {
        font-size: 1.5rem;
    }
    
    .cr-symbols {
        justify-content: center;
    }
    
    .cr-buttons-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cr-btn {
        padding: 0.8rem 1rem;
    }
    
    .cr-badge-overlay {
        top: -5px;
        right: -5px;
        font-size: 0.9rem;
        padding: 0.3rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .cr-example-chip {
        font-size: 0.7rem;
        padding: 0.2rem 0.8rem;
    }
    
    .cr-symbol {
        min-width: 70px;
    }
}




/* En móvil, mostrar solo un span en la franja superior */
@media (max-width: 768px) {
    .marquee span:last-child {
        display: none;
    }
}
/* ============================================
   CARRUSEL DE IMÁGENES (SLIDER) - VERSIÓN COMPLETA EN MÓVIL
   ============================================ */

.hero-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #111111;
}

.slider-container {
    position: relative;
    width: 100%;
    height: auto;
    min-height: auto;  /* Eliminamos altura fija */
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slider-slide {
    min-width: 100%;
    position: relative;
    flex-shrink: 0;
}

.slider-image {
    width: 100%;
    height: auto;  /* Altura automática según la imagen */
    display: block;
    object-fit: contain;  /* La imagen se ve COMPLETA, sin recortes */
    background: #111111;
}

/* Overlay (texto sobre la imagen) */
.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 10%;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    pointer-events: none; /* Para que no interfiera con clics en botones */
}

/* Botones de navegación - siempre visibles */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav:hover {
    background: #facc15;
    color: #111111;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Indicadores (dots) */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.dot.active {
    background: #facc15;
    width: 28px;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .slider-container {
        min-height: auto;
    }
    
    .slider-image {
        height: auto;
        width: 100%;
        object-fit: contain;  /* Si prefieres que cubra pero sin deformar */
        max-height: 250px;  /* Altura máxima en móvil */
    }
}



/* ============================================
   AUTOCOMPLETADO DEL BUSCADOR
   ============================================ */
.search-container {
    position: relative;
    flex: 1;
    max-width: 650px;
}

.suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 5px;
    display: none;
    
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid #f1f5f9;
    touch-action: manipulation; /* evita retrasos en el toque */
    cursor: pointer;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: #fef9e3;
}

.suggestion-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    background: #f8fafc;
    padding: 4px;
}

.suggestion-text {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1e293b;
}

.suggestion-category {
    font-size: 0.7rem;
    color: #facc15;
    background: #111;
    padding: 2px 8px;
    border-radius: 20px;
}

.no-results {
    padding: 16px;
    text-align: center;
    color: #6b7280;
    font-size: 0.85rem;
}
/* ============================================
   NUEVA SECCIÓN ¿POR QUÉ ELEGIRNOS? (Diseño original)
   ============================================ */

.features-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.feature-new {
    background: #ffffff;
    border-radius: 32px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eef2ff;
    position: relative;
    overflow: hidden;
}

.feature-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #111111, #facc15, #111111);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-new:hover::before {
    transform: scaleX(1);
}

.feature-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.15);
    border-color: #facc15;
}

.feature-new.highlight {
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
    border-color: #facc15;
}

.feature-new.highlight h3,
.feature-new.highlight p {
    color: #f0f0f0;
}

.feature-new.highlight .feature-icon-circle {
    background: #facc15;
    border-color: #ffffff;
}

.feature-new.highlight .feature-icon-circle i {
    color: #111111;
}

.feature-icon-wrapper {
    margin-bottom: 1.5rem;
}

.feature-icon-circle {
    width: 70px;
    height: 70px;
    background: #f8fafc;
    border: 2px solid #facc15;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.feature-new:hover .feature-icon-circle {
    background: #facc15;
    transform: scale(1.05);
}

.feature-new:hover .feature-icon-circle i {
    color: #111111;
}

.feature-icon-circle i {
    font-size: 1.8rem;
    color: #111111;
    transition: color 0.3s ease;
}

.feature-new h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.3px;
}

.feature-new p {
    color: #6b7280;
    line-height: 1.5;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.feature-badge {
    display: inline-block;
    background: #f8fafc;
    border: 1px solid #eef2ff;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #111111;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.feature-new:hover .feature-badge {
    background: #111111;
    color: #facc15;
    border-color: #111111;
}

.feature-new.highlight .feature-badge {
    background: #facc15;
    color: #111111;
    border-color: #facc15;
}

.simple-form input[type="tel"] {
    padding: 0.8rem 1rem;
    border-radius: 40px;
    border: 1px solid #333333;
    background: #1a1a1a;
    color: #f0f0f0;
    font-size: 0.9rem;
}

.simple-form input[type="tel"]::placeholder {
    color: #888888;
}

/* ============================================
   BANDA PUBLICITARIA (FULL WIDTH CON CARD)
   ============================================ */

.ad-banner {
    width: 100%;
    padding: 2rem 0;
    background: #ffffff;
}

.ad-container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 2rem;
}

.ad-card {
    background: #f8fafc;
    border-radius: 28px;
    border: 1px solid #eef2ff;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

.ad-card:hover {
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.ad-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background: #ffffff;
}
/* ============================================
   TABLA DE PASOS DE ROSCA
   ============================================ */

.pasos-section {
    max-width: 400px;
    margin: 2rem auto;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #eef2ff;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.pasos-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111111;
    text-align: center;
    padding: 0.8rem;
    margin: 0;
    background: #f8fafc;
    border-bottom: 2px solid #facc15;
    letter-spacing: 0.5px;
}

.pasos-table-wrapper {
    padding: 0.5rem;
}

.pasos-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.pasos-table th {
    background: #111111;
    color: #facc15;
    padding: 10px 8px;
    text-align: center;
    font-weight: 700;
    border: 1px solid #333;
}

.pasos-table td {
    padding: 8px;
    text-align: center;
    border: 1px solid #e5e7eb;
    color: #374151;
    font-weight: 500;
}

.pasos-table tr:nth-child(even) td {
    background: #f9fafb;
}

.pasos-table td:first-child {
    font-family: monospace;
    font-weight: 600;
}


/* ============================================
   MEJORAS PARA MÓVIL (RESPONSIVE)
   ============================================ */

/* Ajustes generales para móvil */
@media (max-width: 768px) {
    /* Header */
    .main-header {
        flex-direction: column;
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    .logo-area {
        justify-content: center;
    }
    
    .site-logo {
        max-height: 50px;
    }
    
    .search-container {
        width: 100%;
        max-width: 100%;
    }
    
    .search-area {
        width: 100%;
    }
    
    .header-actions {
        justify-content: center;
        width: 100%;
    }
    
    .contact-header-link span {
        display: inline-block;
        font-size: 0.7rem;
    }
    
    /* Navegación móvil - menú horizontal con scroll */
    .nav-bar {
        overflow-x: auto;
        white-space: nowrap;
        padding: 0 0.5rem;
    }
    
    .nav-menu {
        display: inline-flex;
        gap: 1rem;
        padding: 0.5rem 0;
    }
    
    .nav-item > a {
        font-size: 0.75rem;
        padding: 0.5rem 0;
    }
    
    /* Dropdown móvil - mejorado */
    .mega-dropdown {
        position: fixed;
        top: auto;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 70vh;
        overflow-y: auto;
        background: white;
        z-index: 1001;
        border-radius: 0 0 12px 12px;
    }
    
    .dropdown-container {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    
    .dropdown-col {
        width: 100%;
    }
    
    .dropdown-col h4 {
        font-size: 0.9rem;
    }
    
    .dropdown-col li a {
        font-size: 0.8rem;
        padding: 0.3rem 0;
    }
    
    /* Slider móvil */
    .hero-slider {
        min-height: 200px;
    }
    
    .slider-image {
        min-height: 200px;
        object-fit: cover;
    }
    
    .slider-nav {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .prev {
        left: 5px;
    }
    
    .next {
        right: 5px;
    }
    
    /* Categorías destacadas */
    .quick-categories {
        padding: 1.5rem 1rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .cat-card {
        padding: 0.8rem 0.3rem;
    }
    
    .cat-img {
        width: 50px;
        height: 50px;
    }
    
    .cat-card span {
        font-size: 0.7rem;
    }
    
    .section-header h2 {
        font-size: 1.3rem;
    }
    
    /* Por qué elegirnos - móvil */
    .why-us {
        padding: 1.5rem 1rem;
    }
    
    .features-grid-new {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-new {
        padding: 1rem;
    }
    
    .feature-icon-circle {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon-circle i {
        font-size: 1.3rem;
    }
    
    .feature-new h3 {
        font-size: 1rem;
    }
    
    .feature-new p {
        font-size: 0.8rem;
    }
    
    /* Banda publicitaria */
    .ad-banner {
        padding: 0.5rem;
    }
    
    /* Footer contacto */
    .contact-pre-footer {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .contact-left, .contact-right, .contact-img {
        width: 100%;
        text-align: center;
    }
    
    .contact-info-block p {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .simple-form input, 
    .simple-form button {
        width: 100%;
    }
    
    /* Breadcrumb */
    .breadcrumb {
        font-size: 0.7rem;
        padding: 0.5rem 1rem;
    }
    
    /* Títulos */
    .category-title, 
    .rubros-title,
    .infotecnica-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .main-header {
        overflow: visible;  /* ← crítico: evita que recorte el dropdown */
    }
    
    .search-container {
        overflow: visible;
        position: relative;
        z-index: 1002;  /* ← por encima del mega-dropdown fijo */
    }
    
    .suggestions-dropdown {
        z-index: 1003;
        position: absolute;
         display: none
    }
}

/* Móvil pequeño (menos de 480px) */
@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-slider {
        min-height: 150px;
    }
    
    .slider-image {
        min-height: 150px;
    }
    
    .contact-header-link {
        padding: 4px 8px;
    }
    
    .contact-header-link i {
        font-size: 0.9rem;
    }
    
    .contact-header-link span {
        font-size: 0.6rem;
    }
}

/* Ajuste para dropdown táctil - asegurar que los enlaces sean clickeables */
@media (max-width: 768px) {
    .mega-dropdown a,
    .mega-dropdown .category-link,
    .dropdown-col ul li a {
        display: block;
        padding: 0.5rem 0;
        font-size: 0.85rem;
        pointer-events: auto !important;
        cursor: pointer !important;
    }
    
    /* Asegurar que el dropdown se abra con un toque */
    .dropdown-trigger {
        cursor: pointer;
    }
    
    .dropdown-trigger > a {
        display: inline-block;
        padding: 0.6rem 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .pasos-section {
        max-width: 90%;
        margin: 1.5rem auto;
    }
    
    .pasos-table {
        font-size: 0.8rem;
    }
    
    .pasos-table th,
    .pasos-table td {
        padding: 6px;
    }
}

@media (max-width: 768px) {
    .suggestions-dropdown {
        max-height: 40vh;
        overflow-y: auto;
        position: fixed;          /* para que flote por encima del teclado */
        top: auto;
        bottom: auto;
        left: 1rem;
        right: 1rem;
        z-index: 9999; 
        display: none           /* más alto que todo */
    }
}

/* Responsive */
@media (max-width: 768px) {
    .ad-banner {
        padding: 1.5rem 0;
    }
    .ad-container {
        padding: 0 1rem;
    }
    .ad-card {
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .ad-banner {
        padding: 1rem 0;
    }
    .ad-card {
        border-radius: 16px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .features-grid-new {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-new {
        padding: 1.5rem;
    }
    
    .feature-icon-circle {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon-circle i {
        font-size: 1.5rem;
    }
    
    .feature-new h3 {
        font-size: 1.2rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .slider-container {
        min-height: 350px;
    }
    
    .slider-image {
        min-height: 350px;
        object-fit: cover;
    }
    
    .slider-overlay {
        padding: 0 5%;
        align-items: center;
        text-align: center;
        background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    }
    
    .slider-title {
        font-size: 1.5rem;
    }
    
    .slider-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .prev {
        left: 10px;
    }
    
    .next {
        right: 10px;
    }
    
    .slider-badge {
        font-size: 0.7rem;
    }
    
    .slider-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .slider-title {
        font-size: 1.2rem;
    }
    
    .slider-overlay {
        justify-content: flex-end;
        padding-bottom: 80px;
    }
}