 /*
* Theme Name: Teema
* Author: Storybook OÜ
* Text Domain: storybook
* Version: 1.0.12
*/

@font-face {
    font-family: 'Material Symbols Rounded';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(./assets/fonts/material-symbols-rounded.woff2) format('woff2');
}

@font-face {
    font-family: 'Material Symbols Rounded Filled';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(./assets/fonts/material-symbols-rounded-filled.woff2) format('woff2');
}

section, footer {
    position: relative;
}

.page-container {
    container-type: inline-size;
    container-name: page-container;

    font-family: var(--global-font-family, 'Montserrat', sans-serif);

    &::before {
        content: '';
        position: fixed;
        width: 100%;
        height: 100%;
        background: var(--page-background, #FFFFFFFF);
        z-index: -1;
    }

    & :is(h1, h2, h3, h4, h5, h6) {
        font-family: var(--heading-font-family, --global-font-family, 'Montserrat', sans-serif);
    }

    & :is(img, svg) {
        width: 100%;
        height: 100%;
    }
}

.material-symbols-rounded {
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -moz-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
    -moz-osx-font-smoothing: grayscale;
    user-select: none;
}

.material-symbols-rounded.-filled {
    font-family: 'Material Symbols Rounded Filled';
}

.navbar-nav .nav-link i {
    margin-right: 5px;
    font-size: 1.2em;
}

.editor_button {
    transition: 0.3s all ease-in-out;
    background-color: var(--global-color-0);
    color: #fff;
    border: 2px solid var(--global-color-0);
    border-radius: 0.3rem;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 1.2rem;
    padding-left: 3rem;
    padding-right: 3rem;
    padding-bottom: 1px;
    text-decoration: none;
}

.nav-link {
    color: var(--global-color-0);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--global-color-1);
}

.related.products {
    border-top: 1px solid var(--bs-border-color);
    padding-top: 25px;
}

input#featuredProducts-limit.slider::before {
    position: relative;
}

.scrolltop-btn {
    font-family: 'Material Symbols Rounded';
    display: none;
    position: fixed;
    bottom: 5%;
    right: 5%;
    text-decoration: none;
    background-color: #cccccc77;
    border: 1px solid #0000009f;
    font-size: 1.25rem;
    color: #0000009f;
    padding: 0 .25rem;
    border-radius: 1rem;
    cursor: pointer;
    z-index: 5;

    &.show {
        display: flex;
    }
}

.swiper-pagination-bullet-active {
    background-color: var(--global-color-1) !important;
}
.swiper-pagination-bullet {
    background-color: var(--global-color-0) !important;
}

& :is(.swiper-button-next, .swiper-button-prev) {
    color: var(--global-color-1) !important;
}

.cookie-consent {
    --cookie-consent-color-background: var(--global-color-0);
    --cookie-consent-color-on-background: var(--global-color-2);
    --cookie-consent-color-button-accept-all: var(--global-color-3);
    --cookie-consent-color-on-button-accept-all: var(--global-color-0);
    --cookie-consent-font-weight-light: 400;
    --cookie-consent-font-weight-regular: 500;
    --cookie-consent-font-weight-semibold: 600;
    --cookie-consent-font-weight-bold: 700;
    --cookie-consent-font-size: 1rem;
}