/*!
Theme Name: Ohio-Child
Theme URI: http://ohio.colabr.io/
Author: Colabrio
Author URI: http://colabr.io/
Description: Ohio is a WordPress theme bundled with premium plugins to build a modern and functional website.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: ohio
Text Domain: ohio-child
Tags: ajax, customizer, ecommerce, portfolio, minimal, page builder, responsive, multipurpose, shop, store, woocommerce, wpml

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/
.badge.-primary, .badge.tag-sale, .tag.-primary, .tag.tag-sale {
  color: #161518!important;
  background: #F9FFA3!important;
  border-radius: 12px!important;
}
.subscribe-form input[type=email], .subscribe-form input[type=number], .subscribe-form input[type=password], .subscribe-form input[type=search], .subscribe-form input[type=tel], .subscribe-form input[type=text], .subscribe-form input[type=date], .subscribe-form input[type=url], .subscribe-form .button {
    border-radius: 22px!important;
}
.blog-item.card.-layout4 .image-holder {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

/* .blog-item.card.-layout4 .image-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */
 .badge, span.tag, a.tag, .tagcloud > a, .wp-block-tag-cloud > a, .testimonial-headline > b {
    border-radius: 12px!important;
 }
 .icon-button:hover, .icon-button.hamburger, .icon-button.cart {
    background-color: rgba(136, 136, 137, 0.08)!important;
 }
 .banner.-with-overlay:not(.team-member) .overlay-details, .banner.-image-only .overlay-details {
    background-color: rgba(136, 136, 137, 0.16)!important;
 }
 .slide-in .slide-in-overlay > .overlay,
 .is-mobile-menu .slide-in-overlay > .overlay {
    display: none!important;
 }
 .header.header-5:not(.-mobile) .menu > .nav-item::after {
    display: none!important;
 }
 .hamburger-nav .menu .mega-menu-item:hover > a span,
 .hamburger-nav .menu .mega-menu-item:hover > a::after {
    opacity: 1!important;
 }
 .header:not(.-mobile) .menu:hover .nav-item:not(:hover) {
    opacity: 1!important;
 }
 .ohio-widget-holder.-inline-flex {
    margin-block-start: 0!important;
 }
 .wpcf7-form-control {
    border-radius: 22px!important;
 }
 .links-underline .wc-block-cart__sidebar a:not(.button):not(.tag):not(.-undash):hover {
   color: #fff!important;
 }

.yith-wcwl-add-to-wishlist-button__label {
  display: none;
}

 /* WooCommerce Price Filter fix */
 .wc-block-product-filter-price-slider__content {
    overflow: hidden;
    padding: 0 10px;
    box-sizing: border-box;
 }
 .wc-block-product-filter-price-slider__content .wc-block-product-filter-price-slider__range {
    width: 100%;
    box-sizing: border-box;
 }
 .wc-block-product-filter-price-slider__left.text,
 .wc-block-product-filter-price-slider__right.text {
    max-width: 48%;
    overflow: hidden;
 }
 .wc-block-product-filter-price-slider__left.text input,
 .wc-block-product-filter-price-slider__right.text input {
    width: 100%;
    box-sizing: border-box;
 }

/* ===== Green Product Filter ===== */
.gf-filter {
    padding: 0;
}

/* Active filter chips */
.gf-filter__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0;
}
.gf-filter__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: transparent;
    border-radius: 20px;
    border: 1px solid #ccc;
    font-size: 13px;
    color: #333;
    white-space: nowrap;
}
.gf-filter__chip-remove {
    background: none;
    border: none;
    font-size: 16px;
    line-height: 1;
    color: #888;
    cursor: pointer;
    padding: 0;
    margin-left: 2px;
}
.gf-filter__chip-remove:hover {
    color: #000;
}
.gf-filter__reset {
    display: block;
    width: 100%;
    margin-top: 4px;
    font-weight: 500;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    cursor: pointer;
}
.gf-filter__reset:hover {
    color: #000;
}

/* Filter sections */
.gf-filter__section {
    border-bottom: 1px solid #e0e0e0;
    padding: 14px 0;
}
.gf-filter__section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}
.gf-filter__section-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.gf-filter__chevron {
    width: 14px;
    height: 8px;
    transition: transform 0.3s;
    color: #555;
    flex-shrink: 0;
    transform: rotate(180deg);
}
.gf-filter__section.is-collapsed .gf-filter__chevron {
    transform: rotate(0deg);
}
.gf-filter__section-body {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows 0.35s ease, opacity 0.35s ease, margin 0.3s ease;
    opacity: 1;
    margin-top: 12px;
}
.gf-filter__section-inner {
    overflow: hidden;
}
.gf-filter__section[data-section="price"] .gf-filter__section-inner {
    overflow: visible;
}
.gf-filter__section.is-collapsed .gf-filter__section-body {
    grid-template-rows: 0fr;
    opacity: 0;
    margin-top: 0;
}

/* Checkbox items */
.gf-filter__checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}
.gf-filter__checkbox--hidden {
    display: none;
}
.gf-filter__cb {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.gf-filter__checkmark {
    width: 16px;
    height: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    transition: background 0.2s, border-color 0.2s;
}
.gf-filter__cb:checked + .gf-filter__checkmark {
    border-color: #333;
}
.gf-filter__cb:checked + .gf-filter__checkmark::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 2px;
}
.gf-filter__cb-label {
    line-height: 1.3;
}

/* "+ Більше" button */
.gf-filter__more {
    display: inline-block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.gf-filter__more:hover {
    text-decoration: underline;
}

/* Submit button */
.gf-filter__submit {
    display: block;
    width: 100%;
    padding: 14px;
    margin-top: 20px;
    background: #333;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}
.gf-filter__submit:hover {
    background: #555;
}

/* ===== Price Filter ===== */
.gf-price-filter {
    padding: 0;
    overflow: visible;
}
.gf-price-filter__inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.gf-price-filter__input-wrap {
    flex: 1;
    position: relative;
}
.alert.-fixed.-success {
    background-color: #D9DED2;
    color: #161518!important;
}
.woocommerce .alert a {
    color: #161518!important;
}
.gf-price-filter__currency {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 400;
    color: #999;
    pointer-events: none;
}
.gf-price-filter__input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    outline: none;
    padding-right: 36px;
    -moz-appearance: textfield;
    appearance: textfield;
}
.gf-price-filter__input::-webkit-outer-spin-button,
.gf-price-filter__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.gf-price-filter__dash {
    font-size: 16px;
    color: #aaa;
    flex-shrink: 0;
}

/* Slider (noUiSlider) */
.gf-price-filter__slider {
    height: 1px;
    margin: 0 8px;
    overflow: visible;
}
.gf-price-filter__slider.noUi-target {
    background: #D4DAE0;
    border: none;
    box-shadow: none;
    border-radius: 2px;
    height: 1px;
}
.gf-price-filter__slider.noUi-target .noUi-connect {
    background: #333;
}
.gf-price-filter__slider.noUi-target .noUi-handle {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #333;
    border: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    top: -4.5px;
    right: -5px;
    cursor: grab;
}
.gf-price-filter__slider.noUi-target .noUi-handle:before,
.gf-price-filter__slider.noUi-target .noUi-handle:after {
    display: none;
}
.gf-price-filter__slider.noUi-target .noUi-handle:focus {
    outline: none;
}

/* Labels below slider */
.gf-price-filter__labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 12px;
    color: #989898;
}
