/*
Theme Name: Ergofokus
Author: Martin Håkansson, Caroline Zetterling.
Author URI: https://inspot.se
Version: 0.2
Text Domain: inspot
*/

:root{
    /* --text-content-width: 640px; */
    --standard-border-radius: 1rem;

    --yith-wcan-anchors_style_text_active: #000;
    --yith-wcan-anchors_style_text_hover: #000;
    --yith-wcan-labels_style_background_hover: #000;
    --yith-wcan-filters_colors_accent: #000;

    --body-bg: #fff;
}

html, body{
    scroll-padding-top: 3rem;
    scroll-behavior: smooth;
}
body{
    /* overflow-x: hidden; */
    counter-reset: section;
    background-color: var(--body-bg);
    /* color: var(--primary); */
}


ul, ol{
    list-style: none;
}


[name="s"]:focus-visible{
    outline: none;
}
[name="s"]::placeholder{
    font-size: 0.875rem;
}
.collapse{
    visibility: visible;
}
.grecaptcha-badge {
    visibility: hidden;
}


/* -------------------------------------------------------------------------- */
/*                              Sidhuvud start                                */
/* -------------------------------------------------------------------------- */


@media (min-width: 1024px){
    .icon-area{
        width: 280px;
        justify-content: flex-end;
    }
}


.headersektion img {
	filter: invert(1);
}
.headersektion .justify-end img {
	filter: invert(0);
}

@media (max-width: 1300px) and (min-width: 1025px) {
    .headersektion .container.mx-auto.px-4 {
        width: 100%!important;
        max-width: 100%;
    }
}

@media (min-width: 1025px) {
    nav #menu-item-17325 {display: none!important;}
}

.header-language-dropdown {
    position: relative;
}
.header-language-dropdown .nav-dropdown {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 160px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 100;
    padding: 0.5em 0;
}
.header-language-dropdown:hover .nav-dropdown,
.header-language-dropdown:focus-within .nav-dropdown {
    display: block;
}
.header-language-dropdown .nav-dropdown li {
    list-style: none;
}
.header-language-dropdown .nav-dropdown a,
.header-language-dropdown .nav-dropdown .gtranslate_wrapper a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    text-decoration: none;
    color: #222;
    background: none;
    font-size: 16px;
    border: none;
    width: 100%;
}
.header-language-dropdown .nav-dropdown a:hover {
    background: #f5f5f5;
}


/* -------------------------------------------------------------------------- */
/*                               Sidhuvud end                                 */
/* -------------------------------------------------------------------------- */

.single-product #woo-main-cols .stock {
    display: none!important;
}


.filters-sidebar .filter-content .category-links li a {
    color: #111111;
    line-height: 2.2em;
}


.woocommerce div.product form.cart .button {
    vertical-align: middle;
    float: left;
    padding: 10px 20px;
    border-radius: 50px;
    margin-top: 10px;
    font-size: 16px !important;
}


body a:where(:not(.wp-element-button)) {
	color: #146066;
}

/* .single-product #woo-main-cols .wp-block-woocommerce-product-price {display: none;} */



/* ! TODO MOVE ME */

.icon-startpage{
    font-size: 1.5rem;
}

@media (max-width: 400px){
    .wp-block-button__link.has-transparent-background-color{
        padding-left: 0;
    }
}
.wp-block-buttons.is-layout-flex{
    gap: 1rem;
}


/* Buttons */


@media screen and (max-width: 450px){
    .center-text-mobile{
        text-align: center;
    }
}

.rotate-180{
    rotate: 180deg;
}

.sticky{
    position: sticky;
}

h2 > a {
    font-size: inherit;
}

.woocommerce span.onsale{
    background-color: black;
    line-height: 1.5;
    min-height: auto;
    min-width: auto;
    padding: 0.25rem 0.5rem;
    border-radius: 0;
}

.woocommerce-wishlist .variations{
    display: none;
}

.woocommerce-MyAccount-navigation ul{
    list-style: none!important;
    padding: 2rem;
    
}
.woocommerce-MyAccount-content{
    background-color: white;
    padding: 2rem;
    margin-top: 2rem;
}

@media (max-width: 782px){
    .woocommerce-MyAccount-navigation.woocommerce-MyAccount-navigation.woocommerce-MyAccount-navigation.woocommerce-MyAccount-navigation ul{
        padding: 0;
    }
    .woocommerce-MyAccount-content{
        padding: 0;
    }
}

.gap-2{
    gap: 2rem;
}
.gap-6{
    gap: 6rem;
}
.has-light-primary-color > .wp-block-acf-custom-ikon svg{
    fill: var(--light);
}
.gap-0{
    gap: 0;
}

.has-h-1-xl-font-size{
    hyphens: manual;
}

