:root {
	--wd-text-font: "Khand Regular", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(60,60,60);
	--wd-text-font-size: 17px;
	--wd-title-font: "Khand Bold", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 700;
	--wd-title-color: #464646;
	--wd-entities-title-font: "Khand SemiBold", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: #464646;
	--wd-entities-title-color-hover: rgb(0, 0, 0);
	--wd-alternative-font: "Khand Light", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Khand Bold", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: rgb(70,70,70);
	--wd-widget-title-font-size: 20px;
	--wd-header-el-font: "Khand Regular", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: none;
	--wd-header-el-font-size: 18px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(255,131,0);
	--wd-alternative-color: rgb(29,29,27);
	--btn-default-font-family: "Khand Regular", Arial, Helvetica, sans-serif;
	--btn-default-font-weight: 400;
	--btn-default-transform: none;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-transform: none;
	--btn-accented-bgcolor: rgb(255,131,0);
	--btn-accented-bgcolor-hover: rgb(230,118,0);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: rgb(0,0,0);
	--wd-link-color-hover: rgb(255,131,0);
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgb(255,255,255);
	background-image: url();
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(255,255,255);
	background-image: none;
}
html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
	font-size: 16px;
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-color: rgb(0,0,0);
	--wd-form-placeholder-color: rgb(154,154,154);
	--wd-form-brd-color: rgb(217,217,217);
	--wd-form-brd-color-focus: rgb(255,131,0);
}
.wd .product-label.onsale {
	background-color: rgb(255,131,0);
}
.wd .product-label.new {
	background-color: rgb(255,131,0);
}
.wd .product-label.featured {
	background-color: rgb(255,131,0);
}
.wd .product-label.out-of-stock {
	background-color: rgb(255,131,0);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 768.98px) {
	.woocommerce-product-gallery {
		--wd-gallery-gap: 10px;
	}
	.woocommerce-product-gallery.thumbs-position-left {
		--wd-thumbs-width: 0px;
	}

}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 5px;
}

@media (min-width: 1222px) {
[data-vc-full-width]:not([data-vc-stretch-content]),
:is(.vc_section, .vc_row).wd-section-stretch {
padding-left: calc((100vw - 1222px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
padding-right: calc((100vw - 1222px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
}
}


.wd-page-title {
background-color: #0a0a0a;
}

@font-face {
	font-family: "Khand Regular";
	src: url("//fibrasopticasdemexico.com/wp-content/uploads/2023/05/Khand-Regular.woff2") format("woff2"), 
url("//fibrasopticasdemexico.com/wp-content/uploads/2023/05/Khand-Regular.woff") format("woff");
	font-weight: 400;
	font-display:swap;
	font-style: normal;
}

@font-face {
	font-family: "Khand Light";
	src: url("//fibrasopticasdemexico.com/wp-content/uploads/2023/05/Khand-Light.woff2") format("woff2"), 
url("//fibrasopticasdemexico.com/wp-content/uploads/2023/05/Khand-Light.woff") format("woff");
	font-weight: 300;
	font-display:swap;
	font-style: normal;
}

@font-face {
	font-family: "Khand Bold";
	src: url("//fibrasopticasdemexico.com/wp-content/uploads/2023/05/Khand-Bold.woff2") format("woff2"), 
url("//fibrasopticasdemexico.com/wp-content/uploads/2023/05/Khand-Bold.woff") format("woff");
	font-weight: 700;
	font-display:swap;
	font-style: normal;
}

@font-face {
	font-family: "Khand Medium";
	src: url("//fibrasopticasdemexico.com/wp-content/uploads/2023/05/Khand-Medium.woff2") format("woff2"), 
url("//fibrasopticasdemexico.com/wp-content/uploads/2023/05/Khand-Medium.woff") format("woff");
	font-weight: 500;
	font-display:swap;
	font-style: normal;
}

@font-face {
	font-family: "Khand SemiBold";
	src: url("//fibrasopticasdemexico.com/wp-content/uploads/2023/05/Khand-SemiBold.woff2") format("woff2"), 
url("//fibrasopticasdemexico.com/wp-content/uploads/2023/05/Khand-SemiBold.woff") format("woff");
	font-weight: 600;
	font-display:swap;
	font-style: normal;
}

/* ========================================================= */
/* GLOBAL CUSTOM CSS - OPTIMIZADO                            */
/* ========================================================= */

h1, h2, h3, h4, h5, h6 { 
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale; 
}

table.shop_table.order_details tfoot th, 
table.shop_table.order_details tfoot td {
    padding: 10px 15px !important;
}

.tipo-cambios { display:block; width:100%; color:#000; padding:3px 0; float:left; }

.thwcfe-btn-file-upload { background-color:#6f6e6e !important; color:#fff !important; cursor:pointer; }

.woocommerce-variation-price .price { font-size: 150% !important; }

.single_variation_wrap { color:red; }
.woocommerce-variation-description p { color:#464646; }

/* Plugin B2B Cotizaciones */
.woocommerce-MyAccount-navigation-link--request-quote, 
.request-quote-link { display:none; } 

.wd-add-btn.wd-add-btn-replace > a { display:none !important; }

.scrollToTop { bottom: 105px !important; right: 30px !important; }

.cbcurrencyconverter_list_wrapper ul li { display:inline !important; }
.cbcurrencyconverter_list_wrapper h3 { display:none; }
.cbcur_list_to_cur { width: auto !important; }
.cbcurrencyconverter_list_wrapper { width: auto !important; }

.wd-filter-lable.layer-term-lable { display:none; }

.bg-degradado-naranja { position:relative; }
.bg-degradado-naranja h3::before { 
    content:''; 
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(253,130,4,1) 50%); 
    position:absolute; top:-3px; right:-30px; width:100%; height:100%; z-index:-1; 
}

.wd-button-wrapper .btn { text-transform:none !important; }

.bg-degradado-naranja-block { position:relative; }
.bg-degradado-naranja-block .liner-continer::before { 
    content:''; 
    background: linear-gradient(270deg, rgba(0,0,0,0) 0%, rgba(253,130,4,1) 50%); 
    position:absolute; top:-3px; right:-30px; width:100%; height:100%; z-index:-1; 
}

.titulo-naranja h3 { position:relative; background:#F96831; padding: 7px 10px; min-width: 250px; }
.titulo-naranja h3::after { 
    content: ''; position: absolute; right: -46px; z-index: 1; width: 0; height: 0; 
    border-right: 23px solid transparent; border-top: 22px solid transparent; 
    border-left: 23px solid #F96831; border-bottom: 23px solid #F96831; top: 0px; 
}

.color-000, .color-000 li a { color:#000; }
.color-000:hover, .color-000 li a:hover { color:#F96831; }
.color-000 li a { font-size:17px; }

footer .wd-sub-menu li > a { padding-top: 4px; padding-bottom: 4px; }
footer .wd-sub-menu .sub-sub-menu li > a { border-bottom:2px solid #F96831; }
footer .color-000 .wd-sub-menu li:first-child a { border-bottom:0px; }
.indice-sup sup { font-size:10px; }

.banners-footer .banner-title { border-bottom:2px solid #F96831; display:inline-block !important; }
.page-id-9758 header, .page-id-9864 header { display:none; }

.cat-design-alt.categories-with-shadow .category-image-wrapp {
    box-shadow:none !important; padding: 10px 10px;
}

.wrapp-category .hover-mask .more-products a { display:none; }
.wrapp-category .hover-mask h3 { font-size:19px !important; text-transform:none; }

.linea-gris .liner-continer { position:relative; }
.linea-gris .liner-continer::before { 
    content:''; position:absolute; border-bottom:2px solid #9A9A9A; width:85%; height:100%; left:15%; 
}

/* Rutas relativas para que funcionen con o sin IP / SSL */
body.blog .page-title-default, 
body.single-post .page-title-default, 
body.category .page-title-default {
    background-image: url(/wp-content/uploads/2023/05/wrapper-blog-min.jpg);
}
body.woocommerce-shop .page-title-default {
    background-image: url(/wp-content/uploads/2023/05/wrapper-tienda-min.jpg);
}

#social-media-footer .icons-design-bordered.color-scheme-light .wd-social-icon, 
#social-media-footer .color-scheme-light .icons-design-bordered .wd-social-icon {
    border: 2px solid rgba(249,104,49,1) !important;
    color: #F96831 !important;
}
#social-media-footer .icons-design-bordered.color-scheme-light .wd-social-icon:hover, 
#social-media-footer .color-scheme-light .icons-design-bordered .wd-social-icon:hover {
    border: 2px solid rgba(255,255,255,1) !important;
    color: #fff !important;
}

#social-media-footer .icons-design-bordered.color-scheme-light .social-whatsapp {
    border: 2px solid rgba(27,215,65,1) !important; background-color:#1BD741;
    color: #fff !important;
}

#menu-item-9913 span.nav-link-text { width: 160px; }
.whb-color-dark .wd-header-divider::before, 
.wd-nav[class*="wd-style-"] > li:is(.wd-has-children, .menu-item-has-children) > a::after {
    border-color: #bababa !important;
}

.btn-size-large { min-width: 250px; }

.z-index-banner { z-index:2 !important; position:relative; }
.z-index-banner-02 { z-index:100 !important; position:relative; }
.z-index-banner-03 { z-index:1000 !important; position:relative; }

#formulario-contacto label { text-transform:uppercase; font-size:18px; }
#formulario-contacto input[type="submit"] { background-color:#F96831; color:#fff; min-width:200px; font-size:16px; }
#formulario-contacto input[type="submit"]:hover { background-color:#2b2b2b; }

#formulario-cursos label { text-transform:uppercase; font-size:18px; }
#formulario-cursos input[type="submit"] { background-color:#F96831; color:#fff; min-width:200px; font-size:16px; }
#formulario-cursos input[type="submit"]:hover { background-color:#2b2b2b; }

#formulario-newsletter input[type="email"] { border:2px solid #B4B4B4; }
#formulario-newsletter input[type="submit"] { background-color:#F96831; color:#fff; width:100%; }
#formulario-newsletter input[type="submit"]:hover { background-color:#2b2b2b; }

.price_slider_amount button[type="submit"] { background-color:#f7683b !important; color:#fff !important; }
.price_slider_amount button[type="submit"]:hover { background-color:#2b2b2b !important; }

.woocommerce-mini-cart__buttons .btn-cart { background-color:#464646 !important; color:#fff !important; }
.woocommerce-mini-cart__buttons .btn-cart:hover { background-color:#f7683b !important; color:#fff !important; }

.add_to_cart_button + .add_to_cart_button { display:none; }

.form-row.place-order { display:grid; }
.form-row.place-order #ywraq_checkout_quote_button { order:2; }
.form-row.place-order #place_order { order:1; }

.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received { display:none; }

@media(max-width: 967px){
    .titulo-barra-negra h2, .titulo-barra-negra-home h2 { 
        text-align:center !important; padding-left:10px; padding-right:10px; 
    }
}

@media(max-width: 480px){
    .tipo-de-cambio-mx { font-size:14px; }
    .cr-exchange-rates.shortcode-exchange-rates-badge .badge-leaders { font-size:15px; }
}

@media(min-width: 968px){
    .titulo-barra-negra h2 { padding-left:10%; }
    .titulo-barra-negra h2::before { 
        content: "";
        background-image: url(/wp-content/uploads/2023/08/bg-titulo-v2-min.png);
        background-position: right center; background-size: cover;
        height: calc(100% + 8vw); width: calc(600px + 27vw);
        position: absolute; left: 0vw; z-index: -1; top: -6vw; 
    }
    
    .titulo-barra-negra-home h2 { padding-left:10%; }
    .titulo-barra-negra-home h2::before { 
        content: "";
        background-image: url(/wp-content/uploads/2023/06/bg-titulo-min.svg);
        background-position: right center; background-size: cover;
        height: 100%; width: calc(400px + 30vw);
        position: absolute; left: 0vw; z-index: -1; top: -1%; 
    }
}

@media(min-width: 1025px){
    .titulo-barra-negra h2::before { top: -5.5vw; }   
}
@media(min-width: 1281px){
    .titulo-barra-negra h2::before { top: -5vw; }   
}

.display-none { display:none !important; }

/* Elimina el borde del contenedor de productos */
.vc_row.vc_row-has-fill, .wpb_column, .wpb_wrapper, .woodmart-products-element {
    border: none !important;
    outline: none !important;
}

/* ========================================================= */
/* FOM - ESTILOS FLOTANTES UNIFICADOS (WHATSAPP Y ZOHO)      */
/* (Controla la convivencia de ambos botones sin empalmes)   */
/* ========================================================= */

/* 1. WHATSAPP - ESTILOS GENERALES Y ESCRITORIO */
.whatsapp-flotante-izq {
    position: fixed;
    bottom: 90px; /* Lo bajamos a 20px en escritorio para que no quede flotando en la nada */
    left: 20px;
    z-index: 99995; /* Nivel Dios para que no lo tape nada */
}

.btn-wa {
    width: 55px;
    height: 55px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.btn-wa img { 
    width: 32px; 
    height: 32px; 
}

.btn-wa:hover { 
    transform: scale(1.1); 
}

/* 2. ZOHO - PROTECCIÓN GLOBAL DE PROFUNDIDAD */
#zsiq_float, 
#zsiq_maint,
.zsiq_floatmain,
.zsiq_custommain {
    z-index: 99995 !important; 
}

/* Zoho en ESCRITORIO (Lo acomodamos al lado de WhatsApp) */
@media (min-width: 769px) {
    #zsiq_float,
    .zsiq_floatmain {
        bottom: 20px !important;
        left: 20px !important; /* Lo recorremos a la derecha para que conviva con WA */
    }
}

/* 3. VERSIÓN MÓVIL (MÁXIMA PRIORIDAD PARA ESQUIVAR EL MENÚ) */
@media (max-width: 768px) {
    /* Zoho: Salta los 60px del menú móvil de WoodMart + respiro */
    #zsiq_float, 
    .zsiq_floatmain,
    .zsiq_custommain {
        bottom: 70px !important; 
        left: 20px !important; 
    }

    /* Ventana abierta de Zoho: Asegura que la plática no se hunda debajo del menú */
    #zsiq_maint {
        height: calc(100% - 95px) !important;
        bottom: 85px !important;
        z-index: 99996 !important;
    }

    /* WhatsApp: Apilado matemáticamente perfecto encima del avatar de Zoho */
    .whatsapp-flotante-izq {
        bottom: 130px !important; /* 85 (Zoho) + 60 (Avatar Zoho) + 20 (Espacio) */
        left: 20px !important;
    }
}@media (max-width: 576px) {
	/* ========================================================= */
/* MOBILE CUSTOM CSS - OPTIMIZADO                            */
/* ========================================================= */

@media(max-width: 768px) {
    /* Minimizar el Currency Switcher lateral en móviles */
    .woocs_auto_switcher {
        transform: translateX(-80%); /* Esconde el 80% del botón */
        transition: transform 0.3s ease-in-out;
        opacity: 0.7;
    }
    
    /* Expansión táctil más accesible */
    .woocs_auto_switcher:focus-within,
    .woocs_auto_switcher:active {
        transform: translateX(0);
        opacity: 1;
    }
    
    /* Forzar que la imagen principal abarque el 100% de la pantalla */
    .product-images .woocommerce-product-gallery {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }
}
}

