/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.2
*/

.cat-description {
  font-weight: 100;
  font-size: 13px;
  line-height: 1;
}

.mfn-sidemenu-menu li > .outer-menu-sub {
  bottom: 0 !important;
  text-align: right;
  justify-content: end;
  width: 40px;
}


.hover-target {
  display: none; /* hidden by default */
  position: absolute; /* optional: position submenu */
  background: #fff;
  padding: 10px;
}

.hover-target ul li a {
  color: #333;
  font-weight: 400;
}

.hover-group {
  position: relative; /* for absolute positioning of submenu */
}

.hover-trigger:hover {
  cursor: pointer; /* indicates clickable */
}

.hover-trigger.active {
    content: " >"; /* adds a ">" after the text */
    font-weight: bold; /* optional: normal weight for the arrow */
}


/* Hide all filter options by default */
.mfn_attr_filters .mfn-vr-options li {
    display: none;
}

/* Show only colors that exist in current category */
.term-your-category .mfn_attr_filters .mfn-vr-options li[data-tooltip="Бела"],
.term-your-category .mfn_attr_filters .mfn-vr-options li[data-tooltip="Сива"],
.term-your-category .mfn_attr_filters .mfn-vr-options li[data-tooltip="Црна"],
.term-your-category .mfn_attr_filters .mfn-vr-options li[data-tooltip="Latte"] {
    display: list-item;
}

.glass-bg a{
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.glass-bg a:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.4);
}

.glass-bg a:active {
    transform: translateY(0);
    box-shadow: 0 4px 16px 0 rgba(31, 38, 135, 0.15),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
}



/* ---------- Wrapper for scroll & edge fade ---------- */
.obleka-cat-wrapper {
    position: relative;
}

/* ---------- Outer scroll container ---------- */
.obleka-cat-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* smooth mobile scroll */
    scrollbar-width: none; /* Firefox hide scrollbar */
    scroll-behavior: smooth; /* smooth scroll on desktop */
    padding-bottom: 8px;
	
	text-align: center;
}

/* Hide scrollbar for Chrome/Safari */
.obleka-cat-scroll::-webkit-scrollbar {
    display: none;
}

/* Optional: center the list if it's smaller than container */
.obleka-cat-list:only-child {
    justify-content: center;
}

/* ---------- Edge fade (fixed) ---------- */
.obleka-cat-wrapper::before,
.obleka-cat-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 32px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.obleka-cat-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #fff, rgba(255,255,255,0));
}

.obleka-cat-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #fff, rgba(255,255,255,0));
}

/* ---------- Button row ---------- */
.obleka-cat-list {
    display: inline-flex;          /* inline-flex so it can shrink to content */
    justify-content: center;       /* center when few buttons */
    gap: 12px;
    white-space: nowrap;
    padding: 4px 12px;
}

/* ---------- Category button ---------- */
.obleka-cat-btn {
    display: inline-block;
    padding: 4px 17px;
    font-size: 14px;
    font-weight: 100;
    border: 1px solid #d4d4d4;
    border-radius: 999px;
    background: transparent;
    color: #000;
    text-decoration: none;
    transition: all 0.25s ease;
}

/* Hover effect */
.obleka-cat-btn:hover {
     background-color: #7e5d3e;
    color: #fff;
    border-color: #7e5d3e;
    text-decoration: none;
}

/* Active button: solid black + white text + subtle shadow */
.obleka-cat-btn.active {
    background-color: #7e5d3e;
    color: #fff;
    border-color: #7e5d3e;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* Disabled / empty categories */
.obleka-cat-btn.disabled {
    opacity: 0.35;
    pointer-events: none;
}


.mfn-product-badges {
    display:none !important;
}

.woocommerce ul.products li.product .onsale {
    left: 10px;
    right: auto;
    top: 10px;
    margin: 0px;
    border-radius: 5px;
    padding: 0px 10px;
    font-size: 12px;
    font-weight: normal;
    min-height: 0px;
    line-height: inherit;
}
}