/*
Theme Name: Riode Child
Theme URI: https://riode.org/
Author: D-THEMES
Author URI: https://riode.org/about-me/
Description: Riode Responsive WordPress + eCommerce Theme.
Version: 1.0
Template: riode
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/

@font-face {
    font-family: "Uni Sans Custom";
    src: url("fonts/uni-sans.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Oswald Custom";
    src: url("fonts/oswald.ttf?v=20260713") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "SF Pro Text Custom";
    src: url("fonts/sf-pro-text-regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "SF Pro Text Custom";
    src: url("fonts/sf-pro-text-regular-italic.ttf") format("truetype");
    font-style: italic;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "SF Pro Text Custom";
    src: url("fonts/sf-pro-text-medium.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "SF Pro Text Custom";
    src: url("fonts/sf-pro-text-semibold.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "SF Pro Text Custom";
    src: url("fonts/sf-pro-text-bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

body,
input,
textarea,
select,
button {
    font-family: "SF Pro Text Custom", sans-serif;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
.elementor-heading-title,
.entry-title,
.page-title,
.post-title,
.product_title,
.woocommerce-loop-product__title,
.woocommerce-tabs .tabs li a,
.sidebar .widget-title,
.comment-reply-title {
    font-family: "Oswald Custom", "Uni Sans Custom", "Montserrat", sans-serif;
    font-weight: 400;
}

:root {
    --zdb-brand-blue: #25c7ec;
    --zdb-brand-blue-deep: #1097bb;
    --zdb-brand-green: #81c471;
    --zdb-brand-green-deep: #5da25a;
    --zdb-brand-shadow: rgba(17, 78, 91, 0.24);
}

.elementor-button,
.elementor-button:visited {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.38) !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, var(--zdb-brand-blue) 0%, #42d5df 46%, var(--zdb-brand-green) 100%) !important;
    box-shadow: 0 0.95rem 1.8rem var(--zdb-brand-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
    color: #fff !important;
    text-shadow: none !important;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.elementor-button:hover,
.elementor-button:focus {
    background: linear-gradient(135deg, var(--zdb-brand-blue-deep) 0%, var(--zdb-brand-blue) 36%, var(--zdb-brand-green-deep) 100%) !important;
    box-shadow: 0 1.15rem 2rem rgba(13, 78, 96, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
    color: #fff !important;
    text-shadow: none !important;
    filter: saturate(1.04);
    transform: translateY(-1px);
}

.elementor-button:active {
    transform: translateY(1px);
    box-shadow: 0 0.55rem 1rem rgba(13, 78, 96, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.elementor-button::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.24), transparent 42%, transparent 60%, rgba(255, 255, 255, 0.18));
    opacity: 0.85;
    pointer-events: none;
}

.elementor-button .elementor-button-content-wrapper,
.elementor-button .elementor-button-text,
.elementor-button .elementor-button-icon {
    position: relative;
    z-index: 1;
}

#header .stickyheadersection {
    transition-property: background-color, box-shadow !important;
}

html.zdb-header-stabilizing #header .stickyheadersection,
html.zdb-header-stabilizing #header .stickyheadersection *,
html.zdb-header-stabilizing #header .stickyheadersection *::before,
html.zdb-header-stabilizing #header .stickyheadersection *::after {
    animation: none !important;
    transition: none !important;
}

@media (max-width: 991px) {
    .shop-sidebar .wc-block-product-filters__open-overlay,
    .shop-sidebar .wc-block-product-filters__overlay-header {
        display: none;
    }

    .shop-sidebar .wc-block-product-filters__overlay,
    .shop-sidebar .wc-block-product-filters__overlay-wrapper,
    .shop-sidebar .wc-block-product-filters__overlay-dialog {
        position: static;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: 100%;
        height: auto;
        max-height: none;
        transform: none !important;
        pointer-events: auto;
    }

    .shop-sidebar .wc-block-product-filters__overlay-content {
        display: block;
        height: auto;
        max-height: none;
        overflow: visible;
        padding: 0 0 1rem;
        pointer-events: auto;
    }

    .shop-sidebar .wc-block-product-filter-price-slider input[type="range"] {
        pointer-events: auto;
    }
}

.shop-sidebar .wc-block-product-filters .wp-block-woocommerce-product-filter-attribute > .wp-block-heading,
.shop-sidebar .wc-block-product-filters .wp-block-woocommerce-product-filter-taxonomy > .wp-block-heading,
.shop-sidebar .wc-block-product-filters .wp-block-woocommerce-product-filter-price > .wp-block-heading,
.shop-sidebar .wc-block-product-filters .wp-block-woocommerce-product-filter-rating > .wp-block-heading {
    font-size: 24px;
    line-height: 1.1;
    font-weight: 600;
}

@media (min-width: 992px) {
    .product-archive-layout .sticky-sidebar .wc-block-product-filters__overlay-content {
        max-height: var(--zdb-sticky-sidebar-max-height, calc(100vh - 160px));
        overflow-y: auto !important;
        overscroll-behavior: contain;
        scrollbar-gutter: stable both-edges;
        padding-right: 0.35rem;
    }
}

@media (max-width: 767px) {
    .shop-sidebar .wc-block-product-filters .wp-block-woocommerce-product-filter-attribute > .wp-block-heading,
    .shop-sidebar .wc-block-product-filters .wp-block-woocommerce-product-filter-taxonomy > .wp-block-heading,
    .shop-sidebar .wc-block-product-filters .wp-block-woocommerce-product-filter-price > .wp-block-heading,
    .shop-sidebar .wc-block-product-filters .wp-block-woocommerce-product-filter-rating > .wp-block-heading {
        font-size: 20px;
    }
}

body.woocommerce-checkout .woocommerce form.checkout #billing_last_name_field,
body.woocommerce-checkout .woocommerce form.checkout #billing_country_field,
body.woocommerce-checkout .woocommerce form.checkout #billing_address_2_field,
body.woocommerce-checkout .woocommerce form.checkout #billing_city_field,
body.woocommerce-checkout .woocommerce form.checkout #billing_state_field,
body.woocommerce-checkout .woocommerce form.checkout #billing_postcode_field,
body.woocommerce-checkout .woocommerce form.checkout #shipping_last_name_field,
body.woocommerce-checkout .woocommerce form.checkout #shipping_country_field,
body.woocommerce-checkout .woocommerce form.checkout #shipping_address_2_field,
body.woocommerce-checkout .woocommerce form.checkout #shipping_city_field,
body.woocommerce-checkout .woocommerce form.checkout #shipping_state_field,
body.woocommerce-checkout .woocommerce form.checkout #shipping_postcode_field,
body.woocommerce-checkout .woocommerce form.checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce form.checkout .woocommerce-additional-fields {
    display: none !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total th,
body.woocommerce-checkout .shop_table tfoot tr.order-total th {
    white-space: nowrap;
    min-width: 5.5rem;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total td,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total td *,
body.woocommerce-checkout .shop_table tfoot tr.order-total td,
body.woocommerce-checkout .shop_table tfoot tr.order-total td * {
    white-space: nowrap;
}

body.woocommerce-checkout #payment #place_order,
body.woocommerce-checkout .woocommerce #payment #place_order,
body.woocommerce-checkout .woocommerce-page #payment #place_order {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.38) !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, var(--zdb-brand-blue) 0%, #42d5df 46%, var(--zdb-brand-green) 100%) !important;
    box-shadow: 0 0.95rem 1.8rem var(--zdb-brand-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
    color: #fff !important;
    text-shadow: none !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    padding: 1rem 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

body.woocommerce-checkout #payment #place_order:hover,
body.woocommerce-checkout #payment #place_order:focus {
    background: linear-gradient(135deg, var(--zdb-brand-blue-deep) 0%, var(--zdb-brand-blue) 36%, var(--zdb-brand-green-deep) 100%) !important;
    box-shadow: 0 1.15rem 2rem rgba(13, 78, 96, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
    color: #fff !important;
    filter: saturate(1.04);
    transform: translateY(-1px);
}

body.woocommerce-checkout #payment #place_order:active {
    transform: translateY(1px);
    box-shadow: 0 0.55rem 1rem rgba(13, 78, 96, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}
