
/*
 Theme Name:     Omnicon
 Theme URI:      https://omnicon.be
 Description:    Omnicon Theme
 Author:         Omnicon
 Author URI:     https://omnicon.be
 Developer Email: fe@omnicon.be
 Template:       Divi
 Version:        1.0.0
 License:        GPL v2 or later
 License URI:    https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:    omnicon
*/
 

/* Prevent transient vertical scrollbar during product slide transition */
.hmw2-product-main.hmw2-main-transitioning {
    overflow-y: hidden;
}

/* Mobile menu: black background with white text */
.et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu,
.et_pb_menu_0_tb_header .et_mobile_menu ul {
    background-color: #000 !important;
}

.et_pb_menu_0_tb_header .et_mobile_menu li a {
    color: #fff !important;
}

.et_pb_menu_0_tb_header .et_mobile_menu li a:hover,
.et_pb_menu_0_tb_header .et_mobile_menu li a:focus,
.et_pb_menu_0_tb_header .et_mobile_menu li.current-menu-item > a {
    color: #fff !important;
    opacity: 1;
}

.et_pb_menu_0_tb_header .et_mobile_menu {
    border-top-color: #000 !important;
}

/* Mobile menu: black background and white text */
body .et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu,
body .et_pb_menu_0_tb_header .et_mobile_menu ul {
    background-color: #000 !important;
}

body .et_pb_menu_0_tb_header .et_mobile_menu li a {
    color: #fff !important;
}

body .et_pb_menu_0_tb_header .et_mobile_menu {
    border-top-color: #000 !important;
}

/* Mobile menu: white links */
body .et_pb_menu_0_tb_header .et_mobile_menu li a,
body .et_pb_menu_0_tb_header .et_mobile_menu li a:visited,
body .et_pb_menu_0_tb_header .et_mobile_menu li a:hover,
body .et_pb_menu_0_tb_header .et_mobile_menu li a:focus,
body .et_pb_menu_0_tb_header .et_mobile_menu li a:active {
    color: #fff !important;
    opacity: 1 !important;
}

/* Mobile menu: white text */
body .et_pb_menu_0_tb_header.et_pb_menu .nav li ul.sub-menu a,
body .et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu a {
    color: #fff !important;
}

/* Mobile menu: keep current page and ancestors white */
@media only screen and (max-width: 767px) {
    body .et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-item > a,
    body .et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-ancestor > a,
    body .et_pb_menu_0_tb_header.et_pb_menu ul:not(.sub-menu) > li.current-menu-ancestor > a {
        color: #fff !important;
    }
}

/* ==========================================================
   Custom overrides
   ========================================================== */

/* Navegación entre artículos */
.hmw2-nav-prev,
.hmw2-nav-next {
    padding: 0;
    margin: 0;
    background-color: transparent;
    font-weight: 300;
}

/* Fondo general */
body.custom-background {
    background-color: #918579;
}

/* Secciones Divi transparentes para mostrar el fondo general */
.et_pb_section {
    background-color: transparent;
}
/* Campo de cantidad */

.woocommerce .quantity input.qty {
    background-color: transparent;
    padding: 0.4em;
    font-size: large;
    color: #000;
}


/* Filtros de categorías en mobile */
.hmw2-mobile-category-filters {
    background-color: transparent;
}

/* Botón del carrito */
.woocommerce div.product form.cart .button {
    line-height: 2.1em !important;
}

/* ocultar footer fuera del home */
body:not(.home) .et_pb_row_1_tb_header {
    display: none !important;
}

.woocommerce-product-gallery__trigger {
    display: none !important;
}

.woocommerce-product-gallery__image img {
    cursor: zoom-in;
}

.hmw2-product-nav-arrows {
    width: 7em;
    display: -webkit-inline-box;
    float: left;
    padding: 1.4em max(1em, 1.5%) 1.4em 0;
    margin: 0;
}

.hmw2-product-thumbnails {
    display: inline-flex;
    width: 75%;
    margin-right: 0;
}


/* ==========================================================
   Custom Fonts — Canella Condensed
   ========================================================== */

/**
 * @license
 * MyFonts Webfont Build ID 3867246, 2020-12-16T11:57:38-0500
 *
 * Webfont: Canella Condensed by Nk Studio
 * URL: https://www.myfonts.com/collections/nk-studio-foundry
 *
 * The webfont is subject to the website owner's
 * End User License Agreement.
 * © 2026 MyFonts Inc.
 */

@font-face {
    font-family: "CanellaCondensed";
    src:
        url("assets/fonts/canella-condensed/font.woff2") format("woff2"),
        url("assets/fonts/canella-condensed/font.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Aplicación controlada en módulos Divi */
.font-canella,
.font-canella h1,
.font-canella h2,
.font-canella h3 {
    font-family: "CanellaCondensed", Georgia, serif;
}


/* ==========================================================
   TYPOGRAPHY TEST — Canella Condensed
   Temporary site-wide font override
   ========================================================== */

body,
body :is(
    h1, h2, h3, h4, h5, h6,
    p, a, li, blockquote,
    label, button, input, textarea, select,
    small, strong, em, figcaption
),
body span:not(.et-pb-icon):not(.dashicons)
         :not(.fa):not(.fas):not(.far):not(.fab)
         :not([class*="icon"]) {
    font-family: "CanellaCondensed", Georgia, serif !important;
}


/* ==========================================================
   Canella Condensed — Mobile typography adjustments
   ========================================================== */

@media only screen and (max-width: 980px) {

    /* Category filter buttons */
    .hmw2-mobile-category-filter-btn {
        font-size: 28px !important;
        line-height: 1.15em !important;
        font-weight: 400 !important;
    }

    /* Divi mobile navigation */
    body .et_pb_menu_0_tb_header.et_pb_menu
    .nav li ul.sub-menu a,
    body .et_pb_menu_0_tb_header.et_pb_menu
    .et_mobile_menu a {
        font-size: 26px !important;
        line-height: 1.2em !important;
        font-weight: 400 !important;
    }
}


/* ==========================================================
   Canella Condensed — Homepage mobile navigation
   ========================================================== */

@media only screen and (max-width: 980px) {

    body.home .et_pb_menu .et-menu-nav ul#menu-main > li > a,
    body.hmw2-is-homepage .et_pb_menu .et-menu-nav ul#menu-main > li > a {
        font-family: "CanellaCondensed", Georgia, serif !important;
        font-size: 24px !important;
        font-weight: 400 !important;
        line-height: 1.15em !important;
    }

}
