@import url('/CSS/responsive.css');
@import url('/CSS/carouselYFooter.css');

/* ========================================
   MANIJAS CSS - THOWEL
   ======================================== */

   @font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

/* ========================================
   NAVBAR - NAVIGATION
   ======================================== */

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 5px 100px;
    border-radius: 50px;
    margin: 20px auto;
    width: fit-content;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.hidden {
    transform: translateX(-50%) translateY(-100px);
    opacity: 0;
}

.navbar ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 70px;
}

.navbar li {
    position: relative;
}

.navbar a {
    text-decoration: none;
    color: #1e3a8a;
    margin: 15px;
    text-align: center;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
    background: transparent;
    white-space: nowrap;
}

.navbar a:hover {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.navbar a:not(:hover) {
    background: transparent;
    color: #1e3a8a;
}

.navbar .logo {
    padding: 0; 
    margin: 0;
    background: none !important;
    border-radius: 0;
    display: flex;
    align-items: center;
}

.navbar .logo img {
    height: 60px;
    width: auto;
    display: block;
}

.navbar .logo:hover {
    background: none !important;
    color: inherit;
}

/* Dropdown Principal */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 280px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    text-align: left;
}

.navbar li.dropdown-open > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 12px 20px;
    color: #666;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 0;
    white-space: nowrap;
    margin: 0;
    position: relative;
}

.dropdown a:hover {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

/* Dropdown secundario */
.dropdown-item {
    position: relative;
}

.subdropdown {
    position: absolute;
    top: 0;
    left: 100%;
    background: white;
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 1002;
}

.dropdown-item.subdropdown-open > .subdropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.subdropdown a {
    display: block;
    padding: 10px 20px;
    color: #666;
    font-size: 13px;
    text-transform: uppercase;
    border-radius: 0;
    white-space: nowrap;
}

.subdropdown a:hover {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

/* ========================================
   SECCIONES DE PRODUCTO - DUAL CONTENT
   ======================================== */

.producto-section {
    width: 100%;
    min-height: auto;
    display: flex;
    align-items: stretch;
    margin: 0;
}

/* Ajuste para navegación con navbar fijo */
.producto-section[id] {
    scroll-margin-top: 120px;
}

.dual-content {
    display: flex;
    width: 100%;
    min-height: auto;
    margin: 0;
}

.left-content,
.right-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 50%;
    min-height: 500px;
}

.left-content {
    background: none !important;
}

.left-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.right-content {
    flex: 1;
    flex-direction: column;
    height: auto;
    justify-content: center;
    align-items: center;
    padding: 40px 50px;
    background: #fff;
    text-align: center;
}

/* Solo la primera sección necesita padding-top extra por el navbar */
#tirador-boton .right-content,
#rueda-nylon .right-content {
    padding-top: 120px;
    padding-bottom: 40px;
    justify-content: flex-start;
}

/* Sistemas de Apoyo - layout simple */
#rueda-nylon-simple .dual-content,
#pata-plastica-simple .dual-content {
    display: flex;
    align-items: stretch;
}

#rueda-nylon-simple .right-content {
    padding-top: 120px;
    padding-bottom: 60px;
    justify-content: flex-start;
    min-height: auto;
    height: auto;
}

#rueda-nylon-simple .left-content,
#pata-plastica-simple .left-content {
    min-height: auto;
    height: auto;
    flex: 1;
}

#rueda-nylon-simple .left-content img,
#pata-plastica-simple .left-content img {
    height: 100%;
    min-height: 100%;
    object-fit: cover;
}

#pata-plastica-simple .right-content {
    padding-top: 60px;
    padding-bottom: 60px;
    justify-content: flex-start;
    min-height: auto;
    height: auto;
}

/* Diagrama técnico responsive */
#rueda-nylon-simple .diagrama-tecnico,
#pata-plastica-simple .diagrama-tecnico {
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
}

#rueda-nylon-simple .diagrama-tecnico img,
#pata-plastica-simple .diagrama-tecnico img {
    width: 100%;
    height: auto;
}

/* Logos en fila para sistemas de apoyo */
#rueda-nylon-simple .specs-all-logos,
#pata-plastica-simple .specs-all-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 25px auto;
}

#rueda-nylon-simple .specs-all-logos img,
#pata-plastica-simple .specs-all-logos img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* Tabla de especificaciones */
#rueda-nylon-simple .specs-table-image,
#pata-plastica-simple .specs-table-image {
    width: 100%;
    max-width: 350px;
    margin: 20px auto;
}

#rueda-nylon-simple .specs-table-image img,
#pata-plastica-simple .specs-table-image img {
    width: 100%;
    height: auto;
}

/* Asegurar que las secciones siguientes también estén bien alineadas */
#manija-barral .right-content,
#manija-oval .right-content,
#pata-plastica .right-content,
#pata-plastica-simple .right-content {
    justify-content: flex-start;
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Subtítulo del producto */
.producto-subtitulo {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
}

/* Diagrama técnico centrado */
.diagrama-tecnico {
    width: 100%;
    max-width: 280px;
    margin: 15px auto;
    display: flex;
    justify-content: center;
}

.diagrama-tecnico img {
    width: 100%;
    height: auto;
}

/* Iconos en fila horizontal */
.specs-all-logos {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin: 20px auto;
    width: 100%;
    flex-wrap: wrap;
}

.specs-all-logos img {
    width: auto;
    max-width: 60px;
    height: 60px;
    object-fit: contain;
}

/* Título principal de sección */
.producto-titulo-principal {
    font-size: 28px;
    font-weight: 900;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.producto-descripcion {
    font-size: 14px;
    color: #1e3a8a;
    line-height: 1.6;
    margin-bottom: 60px;
    max-width: 450px;
}

/* ========================================
   SECCIÓN 1 - MANIJA
   ======================================== */

.section-1 .right-content {
    background: white;
    flex-direction: column;
    height: 100vh;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 120px 60px 20px;
    position: relative;
}

.section-1 .left-content img {
    object-position: center;
    width: 100vh;
    object-fit: cover;
}


/* ============================================
   PATA PLÁSTICA - Grid Layout
   ============================================ */
#pata-plastica {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

#pata-plastica .dual-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    width: 100%;
    min-height: auto;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

#pata-plastica .left-content {
    grid-column: 1;
    grid-row: 1 / 4;
    width: 100%;
    height: auto;
}

#pata-plastica .left-content {
    margin-bottom: -300px;
}

#pata-plastica .left-content img {
    width: 100%;
    height: 190vh;
    object-fit: cover;
    object-position: 45% center;
    margin-top: -500px;
}

#pata-plastica .right-content {
    grid-column: 2;
    width: 100%;
    height: auto;
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: white;
    position: relative;
}

#pata-plastica .right-content:nth-of-type(2) {
    grid-row: 1;
    padding-top: 120px;
    padding-bottom: 20px;
}

#pata-plastica .right-content:nth-of-type(3) {
    grid-row: 2;
    padding-top: 20px;
    padding-bottom: 0px;
}

#pata-plastica .right-content:nth-of-type(4) {
    grid-row: 3;
    padding-top: 0px;
    padding-bottom: 200px;
    margin-top: -20px;
    z-index: 10;
    position: relative;
}

#pata-plastica .specs-table-image {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

#pata-plastica .specs-table-image img {
    max-width: 200px;
    height: auto;
}

#pata-plastica .specs-table-image img[alt="Componentes Pata Plástica"] {
    max-width: 450px;
    width: 100%;
    margin-bottom: 10px;
}

#pata-plastica .right-content:nth-of-type(4) .specs-table-image {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#pata-plastica .right-content:nth-of-type(4) .specs-table-image {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

#pata-plastica .right-content:nth-of-type(4) .specs-table-image img:first-child {
    width: 100%;
    max-width: 450px;
    margin-bottom: 40px;
    margin-top: -120px;
}

#pata-plastica .right-content:nth-of-type(4) .specs-table-image img:nth-child(2),
#pata-plastica .right-content:nth-of-type(4) .specs-table-image img:nth-child(3),
#pata-plastica .right-content:nth-of-type(4) .specs-table-image img:nth-child(4) {
    display: inline-block;
    max-width: 120px;
    margin-right: 15px;
    margin-top: 30px;
}

/* ============================================
   RUEDA NYLON - Grid Layout
   ============================================ */
section#rueda-nylon.producto-section {
    margin-top: -900px !important;
    padding-top: 400px !important;
    position: relative;
    z-index: 20;
}

#rueda-nylon .dual-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    width: 100%;
    min-height: auto;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#rueda-nylon .left-content {
    grid-column: 1;
    grid-row: 1 / 4;
    width: 100%;
    height: auto;
}

#rueda-nylon .left-content img {
    width: 100%;
    height: 150vh;
    object-fit: cover;
    margin-top: -200px;
}

#rueda-nylon .right-content {
    grid-column: 2;
    width: 100%;
    height: auto;
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: white;
    position: relative;
}

#rueda-nylon .right-content:nth-of-type(2) {
    grid-row: 1;
    padding-top: 120px;
    padding-bottom: 20px;
}

#rueda-nylon .right-content:nth-of-type(3) {
    grid-row: 2;
    padding-top: 20px;
    padding-bottom: 20px;
}

#rueda-nylon .right-content:nth-of-type(4) {
    grid-row: 3;
    padding-top: 20px;
    padding-bottom: 40px;
}

#rueda-nylon .right-content:nth-of-type(3) {
    grid-row: 2;
    padding-top: 20px;
    padding-bottom: 0px;
}

#rueda-nylon .right-content:nth-of-type(4) {
    grid-row: 3;
    padding-top: 0px;
    padding-bottom: 20px;
    margin-top: -20px;
    margin-bottom: 0px;
    z-index: 10;
    position: relative;
}

#rueda-nylon .specs-table-image {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

#rueda-nylon .specs-table-image img {
    max-width: 200px;
    height: auto;
}

#rueda-nylon .right-content:nth-of-type(4) .specs-table-image {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    gap: 15px 20px;
    align-items: start;
}

#rueda-nylon .right-content:nth-of-type(4) .specs-table-image img:first-child {
    grid-column: 1;
    grid-row: 1 / 4;
    width: 100%;
    max-width: 450px;
    max-height: 400px;
    object-fit: cover;
    margin-top: 60px;
}

#rueda-nylon .right-content:nth-of-type(4) .specs-table-image img:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    display: block;
    max-width: 100px;
    margin-top: 60px;
}

#rueda-nylon .right-content:nth-of-type(4) .specs-table-image img:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    display: block;
    max-width: 100px;
}

#rueda-nylon .right-content:nth-of-type(4) .specs-table-image img:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
    display: block;
    max-width: 100px;
}

/* Contenedor título + badge en línea */
.titulo-con-badge {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: 30px;
}

.titulo-con-badge .producto-titulo {
    margin-bottom: 20px;
}

.titulo-con-badge .producto-titulo b {
    white-space: nowrap;
}

.titulo-con-badge .badge-thowel {
    position: relative;
    top: auto;
    right: auto;
    flex-shrink: 0;
    margin-top: 10px;
}

.badge-thowel {
    position: absolute;
    top: 130px;
    right: 100px;
}

.badge-thowel img {
    width: 100px;
    height: auto;
}

.producto-titulo {
    font-size: 24px;
    font-weight: 900;
    color: #1e3a8a;
    line-height: 1.1;
    margin-bottom: 15px;
}

.estandar {
    font-size: clamp(28px, 4vw, 60px);
    font-weight: 400;
    color: #e74c3c;
    margin-bottom: 20px;
}

.producto-descripcion {
    font-size: 18px;
    color: #1e3a8a;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 600px;
}

/* Contenedor para poner imágenes lado a lado */
.imagenes-lado-a-lado {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
    align-items: flex-start;
}

.diagrama-tecnico {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.diagrama-tecnico img {
    max-width: 1100px;
    width: 100%;
    height: auto;
}

.imagenes-lado-a-lado .specs-table-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.imagenes-lado-a-lado .specs-table-image img {
    max-width: 250px;
    width: 100%;
    height: auto;
}

/* ========================================
   SECCIÓN 2 - ESPECIFICACIONES
   ======================================== */

/* Compactar secciones */
.producto-section {
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-2 .left-content {
    background: white;
    padding: 0;
}

.section-2 .left-content img {
    object-position: center;
    width: 100vh;
    height: 50vh;
    object-fit: cover;
}

/* Imagen de ambiente de Manija Barral más alta */
.section-2 .left-content img[alt="Ambiente Manija Barral"] {
    height: 90vh;
    width: 100vh;
    object-fit: cover;
}

.section-2 .right-content {
    background: white;
    flex-direction: column;
    height: auto;
    align-items: flex-start;
    justify-content: flex-start;
}

.specs-intro {
    font-size: 18px;
    color: #1e3a8a;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 600px;
}

.specs-table-image {
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.specs-table-image img {
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
}

/* Logos pequeños (acero, peso, negro, plastico) */
.specs-table-image img[src*="acero"],
.specs-table-image img[src*="peso"],
.specs-table-image img[src*="negro"],
.specs-table-image img[src*="plastico"] {
    max-width: 60px;
}

/* Iconos de información (unidades, ciclos) */
.specs-table-image img[src*="unidades"],
.specs-table-image img[src*="ciclos"],
.specs-table-image img[src*="5o unidades"] {
    max-width: 60px;
}

/* Tablas técnicas grandes */
.specs-table-image img[src*="tabla"],
.specs-table-image img[src*="Tabla"],
.specs-table-image img[src*="especificaciones"] {
    max-width: 100%;
    width: 280px;
}

/* Dibujos técnicos y planos */
.specs-table-image img[src*="dibujo"],
.specs-table-image img[src*="plano"] {
    max-width: 100%;
    width: 250px;
}

/* Imagen de componentes más grande */
.specs-table-image img[src*="componentes"] {
    max-width: 100%;
    width: 320px;
}

/* ========================================
   SECCIÓN 3 - VARIANTES
   ======================================== */

.section-3 .left-content {
    background: #d4d4d4;
    padding: 0;
}

.section-3 .left-content img {
    object-position: center;
    width: 100vh;
}

.section-3 .right-content {
    background: white;
    flex-direction: column;
    height: auto;
    align-items: flex-start;
    justify-content: flex-start;
}

.variantes-imagenes {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px 40px;
    align-items: center;
}

.variantes-imagenes img {
    max-width: 120px;
    width: auto;
    height: auto;
    display: block;
}

/* Logos pequeños */
.variantes-imagenes img[src*="acero"],
.variantes-imagenes img[src*="peso"],
.variantes-imagenes img[src*="negro"],
.variantes-imagenes img[src*="plastico"] {
    max-width: 100px;
}

/* Imágenes medianas (unidades, ciclos) */
.variantes-imagenes img[src*="unidades"],
.variantes-imagenes img[src*="ciclos"] {
    max-width: 150px;
}

/* Imágenes de variantes grandes (fotos de producto, ambiente) */
.variantes-imagenes img[src*="DETALLE"],
.variantes-imagenes img[src*="detalle"],
.variantes-imagenes img[src*="ambiente"],
.variantes-imagenes img[src*="real"] {
    max-width: 400px;
    flex-basis: 100%;
}

/* ========================================
   SECCIÓN 4 - VIDEO ELABORADO
   ======================================== */

.section-4 .left-content {
    background: #e8e8e8;
    flex-direction: column;
    height: 100vh;
    align-items: flex-start;
}

.section-4 .right-content {
    background: #2c2c2c;
}

.video-elaborado-container {
    width: 100%;
}

.video-titulo {
    font-size: 36px;
    font-weight: 900;
    color: #1e3a8a;
    margin-bottom: 30px;
}

.video-placeholder img {
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* ========================================
   PRODUCTOS SIMILARES - Estilos específicos de esta página
   ======================================== */

.productos-similares {
    width: 100%;
    padding: 60px 0 0 0;
    margin: 0;
    background: white;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.similares-titulo {
    font-size: 36px;
    font-weight: 900;
    color: #1e3a8a;
    text-align: center;
    margin: 0 0 20px 0;
    padding: 0 60px;
    flex-shrink: 0;
}

.productos-similares .catalog-carousel {
    margin-top: 0;
    padding-top: 0;
    flex: 1;
    height: auto;
    min-height: auto;
    overflow: visible;
}

.productos-similares .catalog-track {
    height: 100%;
    min-height: 100%;
    width: auto;
}

.productos-similares .catalog-item {
    height: 100%;
    min-height: 100%;
    flex-shrink: 0;
}

/* Los estilos del carousel y footer se importan desde carouselYFooter.css */

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .dual-content {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }

    .left-content,
    .right-content {
        width: 100%;
        min-height: 50vh;
    }

    .left-content img {
        width: 100%;
        height: 50vh;
        object-fit: cover;
    }

    .right-content {
        padding: 50px;
        min-height: auto;
    }

    .navbar {
        padding: 5px 30px;
    }

    .navbar ul {
        gap: 30px;
    }

    .producto-titulo {
        font-size: 36px;
    }

    .catalog-slide {
        gap: 15px;
        padding: 15px;
    }

    .catalog-overlay-text {
        font-size: 12px;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 5px 20px;
    }

    .navbar ul {
        gap: 20px;
    }

    .navbar a {
        font-size: 12px;
        padding: 8px 15px;
        margin: 10px;
    }

    .left-content,
    .right-content {
        padding: 10px 15px !important;
        align-items: center !important;
        text-align: center !important;
    }

    .section-1 .left-content,
    .section-1 .right-content,
    .section-2 .left-content,
    .section-2 .right-content {
        padding: 10px 15px !important;
        align-items: center !important;
        text-align: center !important;
    }

    /* Título con badge en línea para mobile - igual que guías/correderas */
    .titulo-con-badge {
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        gap: 20px !important;
        width: 100% !important;
        position: relative !important;
    }

    .titulo-con-badge .producto-titulo {
        text-align: left !important;
        padding-right: 0 !important;
        margin-bottom: 15px !important;
    }

    .titulo-con-badge .badge-thowel {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        margin-top: 0 !important;
    }

    .titulo-con-badge .badge-thowel img {
        width: 60px !important;
        height: auto !important;
    }

    /* Centrar contenido de right-content pero mantener título alineado a izquierda */
    .right-content {
        align-items: flex-start !important;
    }

    .right-content .producto-descripcion,
    .right-content .diagrama-tecnico {
        text-align: center !important;
        width: 100% !important;
    }

    .right-content .diagrama-tecnico {
        display: flex !important;
        justify-content: center !important;
    }

    .right-content .diagrama-tecnico img {
        max-width: 320px !important;
    }

    /* Imágenes de manijas a ancho completo en móvil */
    .section-1 .left-content {
        width: 100vw !important;
        margin-left: -15px !important;
        margin-right: -15px !important;
        padding: 0 !important;
    }

    .section-1 .left-content img {
        width: 100vw !important;
        height: auto !important;
        min-height: 50vh !important;
        object-fit: cover !important;
    }

    .section-2 .left-content {
        width: 100vw !important;
        margin-left: -15px !important;
        margin-right: -15px !important;
        padding: 0 !important;
    }

    .section-2 .left-content img {
        width: 100vw !important;
        height: auto !important;
        min-height: 40vh !important;
        object-fit: cover !important;
    }

    /* Resetear grid de manija oval en móvil */
    #manija-oval .dual-content {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: unset !important;
        grid-template-rows: unset !important;
    }

    #manija-oval .left-content {
        grid-column: unset !important;
        grid-row: unset !important;
        height: auto !important;
    }

    #manija-oval .right-content:first-of-type,
    #manija-oval .right-content:last-of-type {
        grid-row: unset !important;
        padding-top: 20px !important;
    }

    /* Títulos en una sola línea en móvil */
    .producto-titulo b {
        display: inline !important;
        white-space: nowrap !important;
    }

    .producto-titulo b br {
        display: none !important;
    }

    /* Badge de acero posicionado correctamente en móvil - solo para badges NO dentro de titulo-con-badge */
    .section-1 .right-content,
    .section-2 .right-content {
        position: relative !important;
    }

    #manija-barral .right-content > .badge-thowel,
    #manija-boton .right-content > .badge-thowel,
    #manija-oval .right-content > .badge-thowel {
        position: absolute !important;
        top: 10px !important;
        right: 15px !important;
        width: 50px !important;
        z-index: 10 !important;
    }

    #manija-barral .right-content > .badge-thowel img,
    #manija-boton .right-content > .badge-thowel img,
    #manija-oval .right-content > .badge-thowel img {
        width: 50px !important;
        height: auto !important;
    }

    /* Ajustar padding del título para dar espacio al badge - solo si NO está en titulo-con-badge */
    .right-content > .producto-titulo {
        padding-right: 70px !important;
        position: relative !important;
    }

    .titulo-con-badge .producto-titulo {
        padding-right: 0 !important;
    }

    /* Resetear grid de pata plástica en móvil */
    #pata-plastica .dual-content {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: unset !important;
        grid-template-rows: unset !important;
    }

    #pata-plastica .left-content {
        grid-column: unset !important;
        grid-row: unset !important;
        height: auto !important;
    }

    #pata-plastica .right-content:nth-of-type(2),
    #pata-plastica .right-content:nth-of-type(3),
    #pata-plastica .right-content:nth-of-type(4) {
        grid-row: unset !important;
        padding-top: 20px !important;
    }

    #pata-plastica .specs-table-image img {
        max-width: 150px !important;
    }

    /* Resetear grid de pata plástica en móvil */
    #pata-plastica {
        margin-bottom: 0 !important;
    }

    #pata-plastica .dual-content {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: unset !important;
        grid-template-rows: unset !important;
    }

    #pata-plastica .left-content {
        grid-column: unset !important;
        grid-row: unset !important;
        height: auto !important;
        margin-bottom: 0 !important;
    }

    #pata-plastica .left-content img {
        height: auto !important;
        margin-top: 0 !important;
    }

    #pata-plastica .right-content:nth-of-type(2),
    #pata-plastica .right-content:nth-of-type(3),
    #pata-plastica .right-content:nth-of-type(4) {
        grid-row: unset !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    #pata-plastica .right-content:nth-of-type(4) .specs-table-image {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: unset !important;
    }

    #pata-plastica .right-content:nth-of-type(4) .specs-table-image img:first-child {
        max-width: 100% !important;
        margin-top: 0 !important;
        margin-bottom: 20px !important;
    }

    #pata-plastica .right-content:nth-of-type(4) .specs-table-image img:nth-child(2),
    #pata-plastica .right-content:nth-of-type(4) .specs-table-image img:nth-child(3),
    #pata-plastica .right-content:nth-of-type(4) .specs-table-image img:nth-child(4) {
        display: block !important;
        max-width: 120px !important;
        margin: 10px auto !important;
    }

    /* Resetear grid de rueda nylon en móvil */
    section#rueda-nylon.producto-section {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    #rueda-nylon .dual-content {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: unset !important;
        grid-template-rows: unset !important;
    }

    #rueda-nylon .left-content {
        grid-column: unset !important;
        grid-row: unset !important;
        height: auto !important;
    }

    #rueda-nylon .left-content img {
        height: auto !important;
        margin-top: 0 !important;
    }

    #rueda-nylon .right-content:nth-of-type(2),
    #rueda-nylon .right-content:nth-of-type(3),
    #rueda-nylon .right-content:nth-of-type(4) {
        grid-row: unset !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    #rueda-nylon .right-content:nth-of-type(4) .specs-table-image {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: unset !important;
    }

    #rueda-nylon .right-content:nth-of-type(4) .specs-table-image img:first-child {
        max-width: 100% !important;
        max-height: none !important;
        margin-top: 0 !important;
        margin-bottom: 20px !important;
    }

    #rueda-nylon .right-content:nth-of-type(4) .specs-table-image img:nth-child(2),
    #rueda-nylon .right-content:nth-of-type(4) .specs-table-image img:nth-child(3),
    #rueda-nylon .right-content:nth-of-type(4) .specs-table-image img:nth-child(4) {
        grid-column: unset !important;
        grid-row: unset !important;
        display: block !important;
        max-width: 120px !important;
        margin: 10px auto !important;
    }

    /* Eliminar espacios de títulos y descripciones */
    .producto-titulo {
        margin: 5px 0 !important;
        padding: 5px 15px !important;
    }

    .producto-titulo {
        font-size: 32px;
    }

    .similares-titulo {
        font-size: 28px;
    }

    .catalog-slide {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px;
    }

    .catalog-item {
        flex: 1 1 calc(50% - 10px);
        min-width: 150px;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

    .indicator {
        width: 30px;
        height: 30px;
    }

    /* Ajustes para imágenes pequeñas en móviles */
    .specs-table-image,
    .variantes-imagenes {
        gap: 5px !important;
        justify-content: center;
        margin: 0 !important;
        padding: 0 !important;
    }

    .specs-table-image img,
    .variantes-imagenes img {
        max-width: 80px;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Reducir espacio entre especificaciones y tablas */
    .specs-intro {
        margin: 0 !important;
        padding: 5px 15px !important;
    }

    .diagrama-tecnico {
        margin: 0 !important;
        padding: 0 !important;
    }

    .specs-table-image img[src*="tabla"],
    .specs-table-image img[src*="Tabla"] {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Eliminar espacios de los contenedores de producto */
    .producto-descripcion {
        margin: 0 !important;
        padding: 5px 15px !important;
    }

    /* Reducir espacios de secciones de producto */
    .producto-section {
        padding: 10px 0 !important;
    }

    .dual-content {
        gap: 5px !important;
        padding: 0 !important;
    }

    .specs-table-image img[src*="tabla"],
    .specs-table-image img[src*="dibujo"],
    .specs-table-image img[src*="plano"],
    .specs-table-image img[src*="componentes"] {
        max-width: 300px;
    }

    .variantes-imagenes img[src*="DETALLE"],
    .variantes-imagenes img[src*="ambiente"],
    .variantes-imagenes img[src*="real"] {
        max-width: 280px;
    }
}
/* ========================================
   SISTEMA DE TAMAÑOS ESTANDARIZADO - MANIJAS
   ======================================== */

/* Badges y logos de material (acero, plastico, etc.) */
.badge-thowel img {
    width: 100px;
    height: auto;
    object-fit: contain;
}

/* Iconos de información pequeños */
.specs-table-image img[src*="acero"],
.specs-table-image img[src*="peso"],
.specs-table-image img[src*="negro"],
.specs-table-image img[src*="plastico"] {
    max-width: 70px;
    width: 70px;
    height: 70px;
    object-fit: contain;
}

/* Iconos de información medianos (unidades) */
.specs-table-image img[src*="unidades"],
.specs-table-image img[src*="50 unidades"],
.specs-table-image img[src*="5o unidades"],
.specs-table-image img[src*="200 unidades"],
.specs-table-image img[src*="4 a 200"] {
    max-width: 70px;
    width: 70px;
    height: 70px;
    object-fit: contain;
}

/* Tablas técnicas */
.specs-table-image img[src*="tabla"],
.specs-table-image img[src*="Tabla"],
.diagrama-tecnico img {
    max-width: 100%;
    width: 350px;
    height: auto;
    object-fit: contain;
}

/* Imágenes de componentes y detalles */
.specs-table-image img[src*="componentes"],
.specs-table-image img[src*="image deco"],
.codazos-imagenes img,
.variantes-imagenes img {
    max-width: 250px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ========================================
   SECCIONES DE MANIJAS - LAYOUT SIMPLE
   ======================================== */


/* ========================================
   SISTEMAS DE APOYO - RESPONSIVE
   ======================================== */

/* Pantallas grandes (1400px+) */
@media (min-width: 1400px) {
    #rueda-nylon-simple .diagrama-tecnico,
    #pata-plastica-simple .diagrama-tecnico {
        max-width: 450px;
    }

    #rueda-nylon-simple .specs-table-image,
    #pata-plastica-simple .specs-table-image {
        max-width: 400px;
    }

    #rueda-nylon-simple .specs-all-logos img,
    #pata-plastica-simple .specs-all-logos img {
        width: 70px;
        height: 70px;
    }
}

/* Pantallas medianas-grandes (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    #rueda-nylon-simple .diagrama-tecnico,
    #pata-plastica-simple .diagrama-tecnico {
        max-width: 380px;
    }

    #rueda-nylon-simple .specs-table-image,
    #pata-plastica-simple .specs-table-image {
        max-width: 350px;
    }
}

/* Pantallas medianas (1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
    #rueda-nylon-simple .right-content,
    #pata-plastica-simple .right-content {
        padding: 100px 40px 50px;
    }

    #rueda-nylon-simple .diagrama-tecnico,
    #pata-plastica-simple .diagrama-tecnico {
        max-width: 320px;
    }

    #rueda-nylon-simple .specs-table-image,
    #pata-plastica-simple .specs-table-image {
        max-width: 300px;
    }

    #rueda-nylon-simple .specs-all-logos img,
    #pata-plastica-simple .specs-all-logos img {
        width: 50px;
        height: 50px;
    }

    #rueda-nylon-simple .specs-all-logos,
    #pata-plastica-simple .specs-all-logos {
        gap: 15px;
    }
}

/* Tablets (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    #rueda-nylon-simple .dual-content,
    #pata-plastica-simple .dual-content {
        flex-direction: column;
    }

    #rueda-nylon-simple .left-content,
    #pata-plastica-simple .left-content,
    #rueda-nylon-simple .right-content,
    #pata-plastica-simple .right-content {
        width: 100%;
    }

    #rueda-nylon-simple .left-content img,
    #pata-plastica-simple .left-content img {
        min-height: 400px;
        max-height: 500px;
    }

    #rueda-nylon-simple .right-content {
        padding: 40px 50px;
    }

    #pata-plastica-simple .right-content {
        padding: 40px 50px;
    }

    #rueda-nylon-simple .diagrama-tecnico,
    #pata-plastica-simple .diagrama-tecnico {
        max-width: 350px;
    }

    #rueda-nylon-simple .specs-table-image,
    #pata-plastica-simple .specs-table-image {
        max-width: 320px;
    }
}

/* Móviles (menos de 768px) */
@media (max-width: 767px) {
    #rueda-nylon-simple .dual-content,
    #pata-plastica-simple .dual-content {
        flex-direction: column;
    }

    #rueda-nylon-simple .left-content,
    #pata-plastica-simple .left-content,
    #rueda-nylon-simple .right-content,
    #pata-plastica-simple .right-content {
        width: 100%;
    }

    #rueda-nylon-simple .left-content img,
    #pata-plastica-simple .left-content img {
        min-height: 300px;
        max-height: 400px;
    }

    #rueda-nylon-simple .right-content {
        padding: 30px 20px;
    }

    #pata-plastica-simple .right-content {
        padding: 30px 20px;
    }

    #rueda-nylon-simple .producto-titulo-principal,
    #pata-plastica-simple .producto-titulo {
        font-size: 22px;
    }

    #rueda-nylon-simple .producto-descripcion {
        font-size: 14px;
    }

    #rueda-nylon-simple .diagrama-tecnico,
    #pata-plastica-simple .diagrama-tecnico {
        max-width: 280px;
    }

    #rueda-nylon-simple .specs-table-image,
    #pata-plastica-simple .specs-table-image {
        max-width: 280px;
    }

    #rueda-nylon-simple .specs-all-logos,
    #pata-plastica-simple .specs-all-logos {
        gap: 12px;
    }

    #rueda-nylon-simple .specs-all-logos img,
    #pata-plastica-simple .specs-all-logos img {
        width: 70px !important;
        height: 70px !important;
    }
}

