/* Bibio Flyout Menu Styles */
#bibio-flyout-trigger {
    position: relative; 
    top: 0;
    left: 2rem;
    z-index: 998;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
}

#bibio-flyout-trigger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #7769AE;
    border-radius: 3px;
    transition: 0.25s;
}

#bibio-flyout-trigger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

#bibio-flyout-trigger.active span:nth-child(2) {
    opacity: 0;
}

#bibio-flyout-trigger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

#bibio-flyout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
}
.bibio-flyout-content .wd-nav-img, .mega-menu-list img { 
    max-height: 19px;
}
#bibio-primary-menu li:not(.wd-opened) .wd-dropdown-menu { display: none; }
#bibio-primary-menu li.wd-opened .wd-dropdown-menu { display: block; }
#bibio-primary-menu .wd-dropdown {
      margin: 0 !important;
        padding: 0 0 0 29px !important;
        box-shadow:none !important;display: none;
}
#bibio-primary-menu .wd-sub-menu li > a { font-size:16px !important;color:#3A1B6E !important;padding-top:13px;padding-bottom:13px;}
.wd-opened .wd-dropdown {
  display: block; position:relative;
}

#bibio-flyout-overlay.active {
    opacity: 1;
    visibility: visible;
}

.bibio-flyout-content {
    position: absolute;
    left: 0;
    top: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    padding: 20px;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
      font-family: Manrope, sans-serif;
}

#bibio-flyout-overlay.active .bibio-flyout-content {
    transform: translateX(0);
}

.bibio-close {
position: absolute;
  top: 15px;
  right: 30px;
  font-size: 40px;
  cursor: pointer;
  color: #7769AE;
  z-index: 1001;
  line-height: 1;
  font-weight: 200;
}

.bibio-menu-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bibio-menu-section li {
    margin-bottom: 0px;
}
#bibio-primary-menu { padding-top:10px; width:100%; }
#bibio-primary-menu > .menu-item { padding:13px 5px; }
#bibio-primary-menu > .menu-item a:hover{ color:#3A1B6E; }

/* 1. Prepare the parent link for positioning the arrow */
#bibio-primary-menu .wd-event-click > a {
  position: relative;
  /* Add some padding on the right to make space for the arrow */
  padding-right: 30px !important;
}

#bibio-primary-menu .wd-event-click > a::after {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  position: absolute;
  right: 10px;
  top: 50%;

  /* This is the SVG icon for a chevron-down */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%233A1B6E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  
  /* Smooth animation for the flip */
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.3s ease;
}

/* 3. Flip the arrow when the menu is open */
#bibio-primary-menu .wd-event-click.wd-opened > a::after {
  transform: translateY(-50%) rotate(180deg);
}

.bibio-menu-section a {
    display: flex;
    align-items: center;
    color: #3A1B6E;
    text-decoration: none;
    font-size: 16px;
    font-weight:600;
}

/* Ensure Elementor icons are displayed correctly */
.bibio-menu-section a .elementor-icon {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}
/*
.bibio-products-section {
    margin: 20px 0;
    padding-top:20px;
}
*/

.bibio-products-section h3 {
    color: #3A1B6E;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  padding: 13px 5px 0px 5px;
}

.bibio-products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.bibio-product-item {
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}
.bibio-product-item>div.image-container { display:block; 
    border-radius: 7px;
    margin-bottom: 5px; padding:10px; }
.bibio-product-item>div>img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.bibio-product-item h4 {
    font-size: 12px;
    color: #3A1B6E;
    font-weight:700;
    margin: 5px 0;
}

.bibio-product-item p {
    font-weight: bold;
    color: #3A1B6E;
    margin: 5px 0;
}

.bibio-product-item .button {
    background: #3A1B6E;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
}

.bibio-menu-section li:nth-child(2) a {
  color: #25BCBD;
}

.bibio-logo-section img {  
    max-width: 100% !important;
    height: 4rem !important;
    width: auto;
}
/* Style for product rating */
.bibio-product-rating {
    margin: 5px 0;
    font-size: 14px;
    color: #3A1B6E;
}

.bibio-product-rating .star-rating {
    display: inline-block;
    margin-right: 5px;
}

.bibio-product-rating .star-rating span {
    color: #ffb900; /* Gold color for stars */
}

.bibio-product-item h4 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .bibio-flyout-content {
        width: 50%;
    }
}

.wd-hover-standard .add-to-cart-loop span { padding:0 !important; 
    font-size: 1rem !important; display: inline-block !important; }
.wd-add-btn-replace .add-to-cart-loop:hover span {
    transform: none !important;
}
.product-grid-item .wd-star-rating { display: none; }
.single_add_to_cart_button::before, .product_type_simple.add_to_cart_button.add-to-cart-loop::before {
            display: inline-block;
            position: relative !important;
            background-image: url(/wp-content/uploads/2023/09/cart.svg) !important;
            width: 1.1rem !important;
            height: 1.1rem !important;
            background-repeat: no-repeat;
            background-size: contain;
            margin-right: 10px;
            opacity: 1 !important;
            border-radius: 0 !important;
            background-color: transparent; 
            content: "";
            transform: none !important;
            top:2px;
        }
        .bb-swiper-container { margin-top: 30px; }
        .bb-swiper-container .swiper-wrapper { align-items: stretch; }
        .bb-swiper-container .swiper-slide { height: auto; }
        .bb-swiper-container .product-card { display: flex; flex-direction: column; text-align: center; width: 100%; height: 100%; }
        .bb-swiper-container .product-carousel-title, .wd-entities-title { flex-grow: 1 !important; margin: 10px 0 !important; color: #3A1B6E !important; font-size: 1rem !important; font-weight: 500 !important; }
        .bb-carousel-btn, .single_add_to_cart_button, .product_type_simple.add_to_cart_button.add-to-cart-loop { margin-top: auto; background: #3A1B6E; width: 100%; display: block; text-transform: none; font-size: 1rem; padding: 10px; }
        .product-image-wrapper { position: relative; padding-top:40px;overflow: hidden; }
        .badge-container {
            position: absolute;
            top: 5px;
            left: 5px;
            z-index: 10;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }
        .product-badge {
            position: relative;
            width: fit-content;
            background: #3A1B6E;
            color: #fff;
            padding: 3.5px 12px;
            font-size: 12px;
            border-radius: 20px;
        }
        .product-image-wrapper-white-bg {
            background-color: #ffffff;
            border-radius: 20px;
            padding-top:40px;
        }
        
        .bb-swiper-container .product-card img {
            position: relative;
            z-index: 2;
        }
        
        .bb-swiper-container .drops-badge { position: absolute; top: 5%; right: 0; background: #fff; padding: 5px 8px; font-size: 12px; border-radius: 30px; }
        .bb-swiper-container .product-card img { border-radius: 10px; object-fit: cover; }
        .bb-swiper-container .product-card .woocommerce-Price-amount, .product-grid-item .woocommerce-Price-amount { font-size: 1rem; font-weight: 700; color: #25BCBD; margin: 10px 0; }
        .bb-swiper-container .product-card del > .woocommerce-Price-amount, .product-grid-item del > .woocommerce-Price-amount { font-size: 12px; font-weight: 500; color: #3A1B6E; margin: 10px 0; }
        .bb-swiper-container .swiper-pagination { position: relative; margin-top: 1rem; }
        .product-wrapper .price del { color: #3A1B6E !important; display: block; }
        .bb-swiper-container .swiper-pagination-bullet { background: #3A1B6E; width: 10px; height: 10px; opacity: 1; }
        .bb-swiper-container .swiper-pagination-bullet-active { background: #25BCBD; }
        .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet { margin: 0 5px !important; }
        .product-badge.promo {background-color: #F4858E;}
        .product-badge.promo-perc {background-color: #25BCBD;}
        
        @media (max-width: 1857px) {
            .product-carousel-title { min-height: 3rem; }
        }
        
        .product-labels { display:none !important;}
        
        .products.align-items-start {
    align-items: stretch!important; padding:0 1rem;
}

.website-wrapper .wd-hover-tiled .product-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.website-wrapper .wd-hover-tiled .product-element-bottom {
		flex: 1 1 auto;
    display: flex;
    flex-wrap: wrap;
}

.website-wrapper .wd-hover-tiled .product-element-bottom > * {
	flex: 1 1 100%;
}

.website-wrapper .wd-hover-tiled .product-element-bottom .star-rating {
	flex: 0 0 auto;
	margin-right: 5px;
}

.website-wrapper .wd-hover-tiled .product-element-bottom .wrapper-reviews-number {
	flex: 0 0 auto;
}

.website-wrapper .wd-hover-tiled .price {
	margin-top: auto;
}
.products[class*="wd-stretch-cont"] .product-wrapper { display: flex; flex-direction: column; }
.wd-products-with-bg, .wd-products-with-bg .product-grid-item { margin-bottom:20px; }
.slider-type-product .owl-stage {
    display: flex;
    align-items: stretch;
}

.slider-type-product .owl-stage .owl-carousel-item,
.slider-type-product .wd-hover-tiled {
	height: 100%;
}
.wrapper-reviews-number {
	display: inline-block;
	margin-bottom: 5px;
	vertical-align: middle;
}


.product-image-link {border-radius: 20px;padding-top: 40px;}
.shop-featured-specials-section { margin-top:20px;background-color:#EAE3F7; padding:20px 0px; }
.product-wrapper { background:transparent !important; padding:0px !important; }
.shop-featured-specials-section .product-image-link { background: #fff; }
.shop-featured-specials-section .product-wrapper .product-label { display:none !important }
.shop-content-area { padding:0 !important }
.product-grid-item { padding-bottom: 30px; }
.shop-loop-head { padding:1rem }
.shop-featured-specials-section h2 { 
font-size: 2.125rem;
    font-family: "Manrope", Sans-serif;
    font-weight: 400;
    color: #3A1B6E;
    text-align: center;	
	padding:20px 0px;
}
body.term-promo-paketi { background-color:#EAE3F7;}
body.term-promo-paketi .product-image-link { background: #fff; }

.specials-hidden {
    display: none;
}

/* Optional: Add a loading state for the button */
.specials-load-more-btn.loading {
    opacity: 0.5;
    cursor: not-allowed;
}
