/* Reset y Estilos Globales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 100px;
}

/* Header */
.fibershop-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.header-bottom {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0;
    padding: 0 20px;
    gap: 20px;
    margin-left: 120px;
}

.header-left {
    display: flex;
    align-items: center;
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.header-right {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-end;
}



.header-logo {
    position: relative;
}

.logo-desktop {
    height: 40px;
}

.logo-mobile {
    display: none;
    height: 30px;
}

/* Logo responsive */
@media (max-width: 768px) {
    .logo-desktop {
        display: none;
    }
    
    .logo-mobile {
        display: block;
    }
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.menu-toggle.active span {
    transition-delay: 0s;
}

/* Responsive Header */
@media (max-width: 900px) {
    .header-right {
        justify-content: flex-end;
    }
    
    .contact-info {
        order: 1;
    }
    
    .menu-toggle {
        order: 2;
    }
}

/* Estilos para el teléfono */
.contact-info .phone-link {
    display: none;
}

/* Para pantallas menores o iguales a 760px */
@media (max-width: 760px) {
    .contact-info .phone-link.desktop {
        display: none;
    }
    
    .contact-info .phone-link.tablet-1024 {
        display: none;
    }
    
    .contact-info .phone-link.mobile-760 {
        display: inline-block;
    }
    
    .contact-info .phone-link.mobile-760 span {
        display: none;
    }
    
    .contact-info .phone-link.desktop span {
        display: inline;
    }
}

/* Para pantallas entre 761px y 1024px */
@media (min-width: 761px) and (max-width: 1024px) {
    .contact-info .phone-link.desktop {
        display: none;
    }
    
    .contact-info .phone-link.mobile-760 {
        display: none;
    }
    
    .contact-info .phone-link.tablet-1024 {
        display: inline-block;
    }
    
    .contact-info .phone-link.tablet-1024 span {
        display: none;
    }
}

/* Para pantallas mayores a 1024px */
@media (min-width: 1025px) {
    .contact-info .phone-link.mobile-760 {
        display: none;
    }
    
    .contact-info .phone-link.tablet-1024 {
        display: none;
    }
    
    .contact-info .phone-link.desktop {
        display: inline-block;
        cursor: default;
        text-decoration: none;
        color: inherit;
    }
    
    .contact-info .phone-link.desktop:hover {
        text-decoration: none;
    }
    
    .contact-info .phone-link.desktop span {
        display: inline;
    }
}

/* Navigation */
.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-item a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 15px;
    transition: color 0.3s;
}

/* Cursor por defecto para los spans del menú principal */
.nav-item span {
    cursor: default !important;
    pointer-events: none; /* Evitar que el span sea interactivo */
}

.nav-item a.active,
.nav-item a:hover {
    color: #1E68CB;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-width: 200px;
    z-index: 1001;
}

.nav-item:hover .submenu {
    display: block;
}

.submenu a {
    display: block;
    padding: 2px 5px;
    color: #333;
}

.submenu a:hover {
    color: #1E68CB;
}

/* Navigation */
.nav-menu-desktop {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-menu-desktop .nav-item a {
    font-weight: bold;
    color: #333;
}

.nav-menu-desktop .nav-item a:hover {
    color: #1E68CB;
}

.nav-menu-desktop .nav-item span {
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.nav-menu-desktop .nav-item span:hover {
    color: #1E68CB;
}

.nav-menu-responsive {
    display: none;
}

/* Responsive Navigation */
@media (max-width: 900px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu-desktop {
        display: none;
    }
    
    .nav-menu-responsive {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        z-index: 1001;
    }
    
    .nav-menu-responsive.active {
        display: block;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        z-index: 1001;
        width: 100%;
        height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-menu-responsive {
        text-align: left;
    }
    
    .nav-menu-responsive .nav-item {
        margin: 15px 0;
        padding: 0;
    }
    
    .nav-menu-responsive .nav-item a {
        display: block;
        padding: 10px 0;
        text-decoration: none;
        color: #333;
        font-weight: bold;
    }
    
    .nav-menu-responsive .nav-item a.active {
        color: #1E68CB;
    }
    
    .nav-menu-responsive .nav-item a:hover {
        color: #1E68CB;
    }
    
    .nav-menu-responsive .nav-item span {
        display: block;
        padding: 10px 0;
        cursor: pointer;
        font-weight: bold;
        color: #333;
    }
    
    .nav-menu-responsive .nav-item span:hover {
        color: #1E68CB;
    }
    
    .nav-menu-responsive .nav-item.active span {
        color: #1E68CB;
    }
    
    .nav-menu-responsive .submenu {
        display: none;
        position: relative;
        background: white;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        padding: 10px;
    }
    
    .nav-menu-responsive .submenu a {
        padding: 8px 0;
        display: block;
    }
    
    /* Asegurando que los submenús estén ocultos por defecto */
    .nav-item .submenu {
        display: none;
    }
    
    .nav-item.active .submenu {
        display: block;
    }
    
    .nav-item {
        width: 100%;
        margin: 10px 0;
    }
    
    .nav-item a {
        width: 100%;
        text-align: left;
        padding: 12px 15px;
    }
    
    .nav-item.active .submenu {
        display: block;
    }
    
    .submenu a {
        padding: 8px 0;
        margin-left: 15px;
    }
}

/* Contact Info */
.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-link {
    color: #333;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s;
}

.social-link:hover {
    color: #1E68CB;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
}

.contact-info i {
    color: #1E68CB;
}

/* Responsive Contact Info */
@media (max-width: 768px) {
    .contact-info p span {
        display: none;
    }
    
    .contact-info p {
        gap: 0;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-bottom {
        padding: 10px 15px;
    }
    
    .header-logo img {
        height: 35px;
    }
    
    .nav-menu {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .submenu {
        position: static;
        display: none;
    }
    
    .nav-item.active .submenu {
        display: block;
    }
    
    .contact-info {
        gap: 15px;
    }
    
    .contact-info p {
        display: none;
    }
}

@media (max-width: 480px) {
    .header-logo img {
        height: 30px;
    }
    
    .contact-info {
        gap: 10px;
    }
}

/* Productos */
.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    padding: 40px 10px;
    margin-bottom: 0;
}

.product-card {
    background: white;
    border-radius: 8px;
    position: relative;
    overflow: visible;
    margin-bottom: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.best-sellers-section {
    padding: 0;
}

.load-more-container {
    margin: 0;
    
}

/* Añadiendo padding a la sección para dar más espacio */
.cables-section {
    padding: 80px 0;
}

/* Grilla de 4 columnas para páginas específicas */
.grid-4 .products-container {
    grid-template-columns: repeat(4, 1fr);
}

/* Carousel */
.slick-slider {
    width: 1200px !important;;
    height: 600px !important;
}

.slick-slide {
    width: 1200px !important;;
    height: 600px !important;
}

.slick-slide img {
    width: 1200px !important;
    height: 600px !important;
}

@media (min-width: 761px) and (max-width: 1024px){
    .slick-slider {
        width: 760px !important;
        height: 380px !important;
    }
    
    .slick-slide {
        width: 760px !important;
        height: 380px !important;
    }

    .slick-slide img {
        width: 760px !important;
        height: 380px !important;
    }
}

/* Responsive para pantallas pequeñas */
@media (max-width: 760px) {
    .slick-slider {
        width: 380px !important;
        height: 190px !important;
    }
    
    .slick-slide {
        width: 380px !important;
        height: 190px !important;
    }

    .slick-slide img {
        width: 380px !important;
        height: 190px !important;
    }
}

.manual-dots {
    text-align: center;
    padding: 20px 0;
    background-color: white;
   
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 8px;
    background: #666;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #1E68CB;
}

.products-container.hidden {
    display: none !important;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.products-container.hidden.visible {
    display: grid !important;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.product-card {
    background: white;
    border-radius: 8px;
    position: relative;
    overflow: visible;
    margin-bottom: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.product-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-view {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    padding: 8px 16px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 2;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: #1E68CB;
}

.quick-view-btn {
    background: none;
    border: none;
    color: inherit;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
}

.product-info {
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
    background: transparent;
}

/* Botón Cargar Más */
.load-more-container {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
}

.load-more-btn {
    background-color: #1E68CB;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.load-more-btn:hover {
    background-color: #3C8DCD;
}

/* Secciones */
.contact-section {
    padding: 40px 80px;
}

.contact-section h1 {
    color: #1E68CB;
    margin-bottom: 30px;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    background-color: #1E68CB;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-info h3 {
    color: #1E68CB;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    color: #333;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.about-section {
    padding: 40px 80px;
    background-color: white;
}

.about-section h1 {
    color: #1E68CB;
    text-align: center;
    margin-bottom: 30px;
}

.home-section {
    padding: 40px 80px;
}

.fibershop-header .newsletter button {
    background-color: #1E68CB;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 3px;
    cursor: pointer;
    width: 180px;
    transition: background-color 0.3s ease;
}

.fibershop-header .newsletter button:hover {
    background-color: #3C8DCD;
}

.fibershop-header .header-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
    background-color: white;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
}

.header-left .nav-menu {
    margin-left: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.fibershop-header .nav-menu {
    display: flex;
    gap: 25px;
    align-items: center;
    position: relative;
    z-index: 1;
    background-color: #fff;
}

.fibershop-header .nav-item {
    position: relative;
    padding-left: 15px;
}

.fibershop-header .nav-menu a,
.fibershop-header .nav-menu span {
    text-decoration: none;
    color: black;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    position: relative;
    z-index: 100;
    padding: 5px 0;
    cursor: pointer;
}

/* Solo las opciones que no se harán clic tendrán cursor default */
.fibershop-header .nav-menu span {
    cursor: default;
}

.fibershop-header .nav-menu a.active {
    color: #2E6ECC;
}

/* Estilos para submenús */
.fibershop-header .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: -10px;
    background-color: #fff;
    min-width: 330px;
    z-index: 1000;
    padding: 14px;
}

.fibershop-header .nav-item:hover .submenu {
    display: block;
}

.fibershop-header .nav-item:hover {
    position: relative;
}

.fibershop-header .submenu a {
    display: block;
    padding: 10px;
    color: black;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    border-radius: 4px;
}

.fibershop-header .submenu a:hover {
    color: #2E6ECC;
}

.fibershop-header .submenu .submenu-title {
    font-weight: 700;
    margin: 12px 0 8px;
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
}

.fibershop-header .contact-info {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 20px;
    font-family: 'Open Sans', sans-serif;
}

.contact-info a:hover {
    color: #1E68CB;
}



.fibershop-header .contact-info i {
    font-size: 30px;
    padding: 0 16px 0 0;
}

.fibershop-header .contact-info p {
    color: #2E6ECC;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.fibershop-header .contact-info p i.fas {
    font-size: 30px;
    padding: 0 2px 0 0;
}

.fibershop-header .contact-info p span {
    font-family: 'Open Sans', sans-serif;
}

.contact-info a {
    color: #2E6ECC;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fibershop-header .contact-info a {
    color: #2E6ECC;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.fibershop-header .contact-info a i.fab.fa-whatsapp {
    color: #25D366;
}

.fibershop-header .contact-info a i.fab.fa-facebook-square {
    color: #1877F2;
}

.fibershop-header .contact-info a i.fab {
    color: #0d47a1;
}

.contact-info .social-link {
    margin: 0;
    padding: 0 1px;
    font-size: 0.9em;
}

.contact-info .social-link i {
    margin: 0 1px;
    padding: 0;
}

.container {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'DIN Neuzeit Grotesk';
    src: url('./fonts/DINNeuzeitGrotesk-Regular.woff2') format('woff2'),
        url('./fonts/DINNeuzeitGrotesk-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'DIN Neuzeit Grotesk';
    src: url('./fonts/DINNeuzeitGrotesk-Bold.woff2') format('woff2'),
        url('./fonts/DINNeuzeitGrotesk-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

.grid-item {
    position: relative;
    border: none;
    box-shadow: none;
    overflow: hidden;
}

.brands-section {
    padding: 3rem 0 0;
    text-align: center;
    background-color: white;
    position: relative;
    z-index: 1;
}

.brands-section h2 {
    position: relative;
    display: block;
    color: grey;
    width: 90%;
    margin: 0 auto;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.brands-section h2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #F0F0F0;
    transform: translateY(-50%);
    z-index: -1;
}

.brands-section h2 span {
    position: relative;
    background: white;
    padding: 0 1rem;
    display: inline-block;
    z-index: 1;
}


.grid-bottom-container .grid-item.image-item .grid-text {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    background: transparent;
    padding: 0.5rem;
    margin: 0;
    font-size: 1.6rem;
    font-weight: bold;
    text-align: left;
    z-index: 1;
}
.grid-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.5rem;
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 1;
    margin: 0;
    text-align: center;
}

.brands-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 2rem 4rem; /* gap: vertical horizontal */
    flex-wrap: wrap;
    padding: 1rem 0;
}

/* Ajustes para pantallas pequeñas */
@media (min-width: 761px) and (max-width: 1024px){
    .brands-container {
        gap: 0 4rem; /* gap: vertical horizontal */
    }
}

/* Estilos para el grid de productos */
.cables-section {
    padding: 2rem 0;
}

.grid-4 {
    padding: 0 1rem;
}

.product-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    height: auto;
}

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 760px) {
    .brands-container {
        gap: 0 1rem; /* gap: vertical horizontal */
    }
}

.brands-container img {
    max-width: 150px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.brands-container img:hover {
    filter: grayscale(0);
}


/* Footer */

@media (min-width: 761px) and (max-width: 1020px){
    .footer-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
    }

    .footer-column:nth-child(1) {
        display: none;
    }

    .footer-column:nth-child(2) {
        display: none;
    }

    .footer-column:nth-child(3) {
        grid-column: 1;
    }

    .footer-column:nth-child(4) {
        grid-column: 2;
    }

    .footer-column:nth-child(5) {
        grid-column: 3;
    }
}

/* Separación en móvil */
@media (max-width: 760px) {
    .footer-column:nth-child(1) {
        margin-bottom: 3rem;
    }
    .footer-column:nth-child(3) {
        margin-bottom: 1rem;
    }
    .footer-column:nth-child(4) {
        margin-bottom: 1rem;
    }
}

/* Estilos para el modal de vista rápida */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    background-color: white;
    margin: 8% auto;
    padding: 30px;
    border-radius: 8px;
    width: 98%;
    max-width: 1000px;
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    border: 2px solid #1E68CB;
}

.close-modal {
    color: #666;
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 10;
}

.close-modal:hover {
    color: #000;
}

.quick-view-container {
    display: flex;
    gap: 40px;
    align-items: center;
    flex: 1;
    min-height: 400px;
}

.quick-view-image {
    flex: 1;
    max-width: 800px;
}

.quick-view-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.quick-view-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    justify-content: flex-start;
}

.quick-view-info h3 {
    font-size: 3rem;
    margin: 0 0 15px 0;
    color: #1E68CB;
    font-family: 'Roboto Condensed', sans-serif;
    font-style: italic;
    font-weight: 400;
    line-height: 1.1;
}

/* Reducción de fuente para móvil */
@media (max-width: 760px) {
    .modal-content {
        min-height: 300px; /* Reducir altura mínima */
        margin: 5% auto; /* Reducir el margen superior e inferior */
        padding: 15px; /* Reducir el padding */
    }
    
    .quick-view-container {
        gap: 10px; /* Reducir el espacio entre imagen e información */
        min-height: 250px; /* Reducir altura mínima del contenedor */
    }
    
    .quick-view-image {
        max-width: 100%; /* Hacer que la imagen ocupe menos espacio */
    }
    
    .quick-view-info {
        padding: 10px; /* Reducir el padding de la información */
    }
    
    .quick-view-info h3 {
        font-size: 1.5rem;
        margin: 0 0 10px 0; /* Reducir el margen del título */
    }
    
}

.cotizar-btn {
    background-color: #1E68CB;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
    margin-bottom: 0;
}

.cotizar-btn:hover {
    background-color: #3a70c8;
}

.ver-detalle-link {
    color: #4E504D;
    text-decoration: underline;
    font-size: 1rem;
    margin-top: 20px;
    display: block;
}

.ver-detalle-link:hover {
    color: #3a70c8;
    text-decoration: underline;
}
.fibershop-footer {
    background-color: #f2f2f2;
    padding: 60px 60px;
    font-family: 'Open Sans', sans-serif;
    margin-top: auto;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: auto;
}

.footer-column {
    flex: 1 1 180px;
    min-width: 160px;
    font-size: 14px;
}

.footer-logo {
    height: 110px;
}

.footer-title {
    color: #0d47a1;
    font-size: 16px;
    margin-bottom: 10px;
    color: #1E68CB;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #333;
    text-decoration: none;
}

.footer-column p {
    margin: 6px 0;
    color: #333;
}

.fixed-buttons-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    pointer-events: none;
}

.fixed-buttons-container button {
    pointer-events: auto;
}

/* Sección Testimonios */
.testimonials-section {
    padding: 1rem 0 5rem;
    text-align: center;
    background-color: #1E68CB;
}

.testimonials-spacer {
    height: 1rem;
}

.testimonials-section h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 46px;
    font-weight: bold;
    color: white !important;
}

.fibershop-testimonials {
    background-color: #1E68CB;
    padding: 1rem 0 5rem;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    position: relative;
    z-index: 1;
}

.testimonials-spacer {
    height: 1rem;
}

.fibershop-testimonials h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-style: italic;
    font-size: 50px;
    font-weight: 400;
    color: white;
    padding: 3rem 0 3rem;
    line-height: 1.2;
    text-align: center;
    position: relative;
    z-index: 2;
}

.testimonial-container {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 -0.5rem;
}

.testimonial-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-height: 300px;
    width: 100%;
    flex: 1;
    margin: 0 1rem;
    border: 1px solid rgba(30,104,203,0.2);
    transition: all 0.3s ease;
}

.testimonial-card .quote-icon {
    font-size: 2rem;
    color: #666;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 40px;
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    padding: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.testimonial-text {
    margin-top: 5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    max-width: 250px;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-size: 1.1rem;
    color: #666;
    font-weight: 600;
    border-top: 1px solid rgba(30,104,203,0.1);
    padding-top: 1rem;
    margin-top: auto;
}

.testimonial-card .quote-icon i {
    font-size: 2rem;
}

.testimonial-content {
    width: 100%;
    max-width: 250px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    padding: 2rem 0;
    margin: 2.5rem auto 0;
    position: relative;
    z-index: 1;
    padding: 0 1rem;
}

.testimonial-client {
    width: 100%;
    max-width: 250px;
    margin-top: auto;
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
    padding-top: 1rem;
    border-top: 1px solid rgba(30,104,203,0.1);
}

.testimonial-card p {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
    color: #333;
    font-style: italic;
}

.testimonial-card h4 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    color: #666;
    margin: 0;
}

@media (max-width: 768px) {
    .testimonial-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
        width: 100%;
        max-width: 80%;
        margin: 0 auto;
    }

    .testimonial-card {
        padding: 1.5rem;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .testimonial-card .quote-icon {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .testimonial-text {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 0.8rem;
    }

    .testimonial-author {
        font-size: 0.9rem;
        color: #666;
        margin-top: 0.5rem;
    }
}

/* Sección Productos Más Vendidos */
.best-sellers-section {
    padding: 4rem 0 1rem 0;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.best-sellers-section .title-container,
.new-products-section .title-container {
    margin: 0 auto;
    max-width: 1200px;
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

/* Sección Nuevos Productos */
.new-products-section {

    position: relative;
    overflow: hidden;
    z-index: 0;
}



.new-products-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-style: italic;
    font-size: 2.5rem;
    color: #1E68CB;
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.best-sellers-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-style: italic;
    font-size: 2.5rem;
    color: #1E68CB;
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 2rem 1rem;
    margin-bottom: 0;
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
}

/* Ajustes responsive para pantallas pequeñas */
@media (min-width: 761px) and (max-width: 1024px){
    .products-container {
        padding: 40px 10px;
        gap: 15px;
    }
    
    .product-card {
        min-height: 200px !important;
    }
    
    .product-card .product-image {
        height: 250px;
    }
}

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 480px) {
    .products-container {
        padding: 30px 10px;
        gap: 10px;
    }
    
    .product-card {
        min-height: 250px;
    }
    
    .product-card .product-image {
        height: 220px;
    }
}

.product-card {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    position: relative;
    background: transparent;
    box-sizing: border-box;
}

.product-card .product-image {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
}

.product-image .quick-view {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 50px;
    background-color: rgba(30, 104, 203, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-image:hover .quick-view {
    opacity: 1;
    bottom: 0;
}

.quick-view-btn {
    background: none;
    border: none;
    color: white;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0 1rem;
    letter-spacing: 1px;
}

.quick-view-btn:hover {
    color: #fff;
    text-decoration: underline;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-card .product-info {
    width: 100%;
    height: 100px;
  
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .product-info p {
    font-family: 'Roboto Condensed', sans-serif !important;
    font-size: 16px !important;
    font-style: italic !important;
    font-weight: 600 !important;
    color: #2B405C;
    text-align: center;
    line-height: 1.2;
}

.product-card h3 {
    color: #333;
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
    text-align: center;
}

/* Estilos para el carousel */
.carousel-section {
    position: relative;
    width: 70%;
    height: 500px;
    overflow: hidden;
    margin: 0 auto;
}

.carousel-container {
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute !important;
    bottom: 30px !important;
    left: 0 !important;
    padding-left: 30px !important;
    color: #1E68CB !important;
    text-align: left !important;
    font-family: 'Roboto Condensed', sans-serif !important;
    font-style: italic !important;
    z-index: 10 !important;
    width: auto !important;
    transform: none !important;
    margin: 0 !important;
}

.carousel-caption h3 {
    font-size: 2rem;
    margin-left: 15rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}
@media (min-width: 761px) and (max-width: 1024px){
    .carousel-caption {
        bottom: 10px !important;
        left: 0 !important;
        padding-left: 10px !important;
    }
    
    .carousel-caption h3 {
        font-size: 0.9rem !important;
        line-height: 1.2;
        margin-left: 9rem !important;
    }
}
@media (max-width: 760px) {
    .carousel-caption {
        bottom: 10px !important;
        left: 0 !important;
        padding-left: 10px !important;
    }
    
    .carousel-caption h3 {
        font-size: 0.6rem !important;
        line-height: 1.2;
        margin-left: 4rem !important;
    }
}

/* Estilos para los controles del carousel */
.slick-prev, .slick-next {
    z-index: 1001;
    color: white;
    font-size: 30px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slick-prev:hover, .slick-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slick-prev {
    left: 20px;
}

.slick-next {
    right: 20px;
}

.slick-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
    z-index: 1001;
}

.slick-dots li button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    opacity: 0.5;
}

.slick-dots li.slick-active button {
    opacity: 1;
}