/*
Theme Name:     xoteas
Theme URI:      https://xoteas.com.au/
Description:    Child theme for Twenty Twenty-Five
Author:         Webstein
Template:       twentytwentyfive
Version:        1.0
*/

/* General styels */
html,
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    /*font-variation-settings: "wght" 400;*/
}

.no-u,
.no-u a {
    text-decoration: none !important
}

header.wp-block-template-part .wp-block-navigation>.wp-block-navigation-item {
    padding-top: 15px;
    padding-bottom: 15px;
}

header.wp-block-template-part .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
    border: 0;
    -webkit-box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.1);
    z-index: 100;
    min-width: 220px !important;
}

header.wp-block-template-part .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item {
    border-bottom: 1px solid #c4c4c4
}

/* WooCommerce */
.wc-block-product-template>li {
    display: flex;
    flex-direction: column;
}

.wp-block-woocommerce-product-button {
    margin-top: auto;
}

/* Fibosearch */
.dgwt-wcas-search-input {
    font-family: var(--wp--preset--font-family--dm-sans) !important;
    font-weight: 440 !important;
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
    border-width: 0 0 2px 0 !important;
    box-shadow: none !important;
    border-style: solid;
    border-radius: 0 !important;
    border-color: #8c815f !important;
    padding-left: 0 !important;
    padding-right: 20px !important;
    margin-left: 38px;
    max-width: calc(100% - 38px);
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input,
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input::placeholder {
    color: #8c815f !important;
    font-size: 12px;
    font-weight: 500;
}

html:not(.dgwt-wcas-overlay-mobile-on) .dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact.dgwt-wcas-search-focused .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
    border-color: #8c815f
}

.dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact .dgwt-wcas-sf-wrapp {
    padding: 0;
}

.dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
    top: 50%;
    left: 0 !important;
    transform: translateY(-50%);
}

.dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact .dgwt-wcas-sf-wrapp,
.dgwt-wcas-search-wrapp {
    max-width: clamp(160px, 5vw, 200px) !important;
    min-width: clamp(160px, 5vw, 200px) !important;
}

.dgwt-wcas-open-pirx body.dgwt-wcas-details-right .dgwt-wcas-suggestions-wrapp {
    width: 400px !important;
    border-radius: 5px 0 0 5px !important;
}

.dgwt-wcas-open-pirx .dgwt-wcas-details-outside .dgwt-wcas-details-wrapp,
.dgwt-wcas-open-pirx .dgwt-wcas-details-outside.dgwt-wcas-is-details .dgwt-wcas-suggestions-wrapp {
    box-shadow: 0 5px 10px rgba(0, 0, 0, .08);
    border: 1px solid #dedede;
}

.dgwt-wcas-open-pirx body.dgwt-wcas-details-right .dgwt-wcas-details-wrapp {
    border-left: 0 !important;
}

.dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact.dgwt-wcas-search-filled .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
    left: 0 !important;
    right: unset !important;
}

.dgwt-wcas-style-pirx.dgwt-wcas-has-submit .dgwt-wcas-search-submit svg path,
.dgwt-wcas-ico-magnifier-handler path {
    fill: #8c815f !important;
}

.dgwt-wcas-style-pirx .dgwt-wcas-preloader {
    right: 0 !important;
    margin-right: 0 !important;
}

.dgwt-wcas-om-bar .dgwt-wcas-search-wrapp-mobile {
    max-width: calc(100% - 38px) !important;
    margin-left: 0;
}

.dgwt-wcas-overlay-mobile .dgwt-wcas-search-form {
    width: calc(100% - 38px) !important;
}

.dgwt-wcas-overlay-mobile .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
    margin-left: 0;
    max-width: 100%;
    padding-right: 20px;
}

@media screen and (max-width:767px) {
    .dgwt-wcas-open-pirx .dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact .dgwt-wcas-sf-wrapp {
        min-width: 100% !important;
    }

    header.wp-block-template-part .dgwt-wcas-enable-mobile-form {
        max-width: 30px !important;
    }

    .dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact .dgwt-wcas-sf-wrapp,
    .dgwt-wcas-search-wrapp {
        max-width: 30px !important;
        min-width: 30px !important;
        width: 30px !important;
    }

    .dgwt-wcas-om-bar.js-dgwt-wcas-om-bar .dgwt-wcas-search-wrapp {
        max-width: calc(100% - 38px) !important;
        min-width: calc(100% - 38px) !important;
        width: calc(100% - 38px) !important;
    }
}
