.productbundles-module-container{
    padding-bottom: 50px;
    margin-bottom: 50px;
}

#successBusket.cart-productbundles .modal-dialog {
    max-width: 800px;
}

.successBusket-productbundles img{
	max-width: 100%;
}

.successBusket-productbundles .box-products{
	flex-wrap: nowrap;
}

.owl-cart-gallery.owl-theme .owl-controls .owl-buttons div span {
	background-color: rgba(0, 0, 0, 0.5);
}

.owl-cart-gallery.owl-theme .owl-controls .owl-buttons div span {
    color: #939393;
    background: #ececec;
    border-radius: 0;
}

.successBusket-productbundles{
	padding-left: 15px;
	padding-right: 15px;
}

.successBusket-productbundles .bundle-title{
    font-weight: bold;
    font-size: 22px;
    color: #2d2d2d;
    margin-top: 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #eceff4;
    height: 40px;
    margin-right: -15px;
    margin-left: -15px;
    padding-left: 15px;
}

.successBusket-productbundles .pbListing-box .box-content {
    border: none;
    border-radius: 0;
    background-color: transparent!important;
}

.successBusket-productbundles .btn-primary {
    padding: 10px 10px;
    font-size: 16px;
}

.successBusket-productbundles .PB_product{
	margin-right: 5px;
}

.successBusket-productbundles .PB_plusbutton{
	margin-right: 5px;
}

.successBusket-productbundles .pbListing-box .box-content .box-products .PB_bundle_info{
	margin-left: 5px;
}

.successBusket-productbundles .PB_bundle_total_price {
    font-size: 14px;
    white-space: nowrap;
}

.successBusket-productbundles .owl-theme .owl-controls .owl-buttons .owl-next {
    right: -10px;
}

.successBusket-productbundles .owl-theme .owl-controls .owl-buttons .owl-prev {
    left: -10px;
}

#button-cart{
	cursor: pointer;
}


.productbundles-module-container .bundle-title{
    color: black;
    font-weight: 400;
    position: relative;
    font-size: 18px;
    padding: 10px 0 10px 10px;
    background: #f5f5f5;
}

.owl-productbundles-module-gallery.owl-theme .owl-controls .owl-buttons div span {
	background-color: rgba(0, 0, 0, 0.5);
}

.owl-productbundles-module-gallery.owl-theme .owl-controls .owl-buttons div span {
    color: #939393;
    background: #ececec;
    border-radius: 50%;
}

.owl-productbundles-module-gallery.owl-theme .owl-controls .owl-pagination {
    bottom: -25px;
}

#login_view{
	display: none;
}

ul.dropdown-address {
    width: 100%;
}

.link_wishlist {
/*    background: #333;*/
    width: 100%;
    position: relative;
	cursor: pointer;
}

.link_wishlist span {
    display: block;
    text-align: center;
    padding-top: 5px;
}

.link_wishlist:hover {
    background-color: #f46f1624;
    padding: 0 5px;
}

.link_wishlist i {
    font-size: 30px;
    color: #f46f16;
    transition: .3s all ease;
}

/*
.link_wishlist:hover i {
    font-size: 30px;
    color: #fff;
}
*/

/*.link_wishlist span:before {
    content: "";
    background: url(img/cell.png) no-repeat center center;
    width: 100%;
    height: 100%;
    position: absolute;
    color: #24daa0;
}*/

.option-not-available{
	opacity: 0.4;
	pointer-events: none;
}

.tooltip-block{
	padding-left: 5px;
}

ul.owl-product-gallery{
	list-style: none;
}

.regulator-product {
    max-width: 100px!important;
    left: 30px;
    bottom: 50px;
}

ul.owl-product-gallery .owl-wrapper .regulator-product{
	display: none!important;
}

ul.owl-product-gallery .owl-wrapper .owl-item:first-child .regulator-product{
	display: block!important;
}

.radio-wrap label .img span{
	position: absolute;
    color: #f00;
    font-weight: bold;
    right: 0;
    top: -15px;
}

.radio-wrap .price > span{
	display: block;
}

.radio-wrap .price > span .old-option-price{
    text-decoration: line-through;
}

.radio-wrap .price > span .special-option-price{
    color: #f00;
    font-weight: bold;
}

.product .price.not-special small {
    font-size: 35px;
    color: #f46f16;
    text-decoration: none;
}

@media (max-width: 479px){
    .product .price.not-special small{
        font-size: 28px;
    }
}

.product .price.not-special .autocalc-product-special{
	display: none;
}

.blog.blog-category .joint-index-category article .entry-block{
	min-height: 257px;
}

.blog.blog-category .joint-index-category article + article{
	margin-top: -30px;
}

.blog.blog-category .joint-index-category article .title {
	transform: rotate(-90deg) translate(-28%, -180%);
	width: 260px;
}

.blog.blog-category .joint-index-category article .title h2 {
    font-size: 26px;
}

.blog.blog-category .joint-index-category article .title span {
    top: -10px;
	font-size: 17px;
    display: inline-block;
}

.top-slider-wrap .js-slider-index{
	height: 462px!important;
	overflow: hidden;
}

.top-slider-wrap .js-slider-index.slick-initialized{
	height: auto!important;
}



@media screen and (max-width:767px){
	.successBusket-productbundles .bundle-title{font-size: 20px;}
	.successBusket-productbundles img {max-height: 150px; width: auto!important;}
	.successBusket-productbundles .PB_product{margin-right: 0px;}
	.successBusket-productbundles .PB_plusbutton{margin-right: 0px; margin-top: -10px; margin-bottom: -10px;}
	.successBusket-productbundles .pbListing-box .box-content .box-products .PB_bundle_info{margin-left: 0px;}
	
	.successBusket-productbundles .owl-cart-gallery{margin-bottom: 30px;}

	.blog.blog-category .joint-index-category article + article{margin-top: 0px;}
	/*
	.blog.blog-category .joint-index-category article .entry-block{min-height: 530px}
	.blog.blog-category .joint-index-category article .title {transform: rotate(-90deg) translate(-57%, -65%); width: auto;}
	.blog.blog-category .joint-index-category article .title h2 {font-size: 60px;}
	.blog.blog-category .joint-index-category article .title span {top: -35px;
	font-size: 30px;}
	*/
	
	.top-slider-wrap .js-slider-index{height: 303px!important;}

}

/* ===== ДЕСКТОП: бургер-кнопка + меню-полотно ===== */
@media (min-width: 1025px) {

  .sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,1px,1px);
    border: 0;
  }

  /* КНОПКА (3 смужки + "ікс") */
  .burger-toggle {
    position: relative;
    width: 40px; height: 40px;
    display: inline-block;
    cursor: pointer;
    background: transparent; border: 0; padding: 0;
    color: #000 !important;
  }
  /* лінії "ікса" (видимі коли відкрито) */
  .burger-toggle::before,
  .burger-toggle::after {
    content: '';
    position: absolute; top: 50%; left: 0;
    width: 40px; height: 4px; margin-top: -2px;
    border-radius: 2px; background: #000 !important;
    transform: rotate(0deg); opacity: 0;
    transition: transform .35s ease, opacity .35s ease;
  }
  /* ТРИ смужки бургеру (коли закрито) */
  .burger-toggle .burger,
  .burger-toggle .burger::before,
  .burger-toggle .burger::after {
    position: absolute; left: 0;
    width: 40px; height: 4px; border-radius: 2px;
    background: #000 !important; content: '';
    transition: transform .35s ease, opacity .35s ease;
  }
  .burger-toggle .burger { top: 50%; margin-top: -2px; }
  .burger-toggle .burger::before { top: -12px; }
  .burger-toggle .burger::after  { top: 12px; }

  /* стан: відкрито — показуємо "ікс", ховаємо 3 смужки */
  #desktop-burger-toggle:checked + label.burger-toggle::before { opacity: 1; transform: rotate(45deg); }
  #desktop-burger-toggle:checked + label.burger-toggle::after  { opacity: 1; transform: rotate(-45deg); }
  #desktop-burger-toggle:checked + label.burger-toggle .burger,
  #desktop-burger-toggle:checked + label.burger-toggle .burger::before,
  #desktop-burger-toggle:checked + label.burger-toggle .burger::after { opacity: 0; }

  /* Підпис "Меню" праворуч (опційно) */
  .burger-toggle .menu {
    display: inline-block; margin-left: 52px;
    line-height: 40px; font-size: 16px; font-weight: 600;
    color: #2d2d2d !important; letter-spacing: .3px; user-select: none;
  }

  /* ШАРИ: хедер вище, полотно нижче, оверлей ще нижче */
  .cd-auto-hide-header, .fixed-top-menu, .navigation-top, .logo-area { z-index: 10002; }
  .fix-desktop-menu { z-index: 10001; }
  .burger-overlay { z-index: 10000; }

  /* ПОЛОТНО МЕНЮ (виїжджає з-під хедера, займає до 50vh) */
  #desktop-burger-menu.fix-desktop-menu {
    position: fixed; left: 0; right: 0;
    top: 0; /* JS поставить точну висоту хедера+банера */
    background: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    transform: translateY(-12px);
    opacity: 0; pointer-events: none; visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility 0s linear .25s;
    overflow: hidden; /* без внутрішнього скролу */
    will-change: transform, opacity;
    max-height: 50vh; /* фіксуємо верхню межу висоти */
  }
  #desktop-burger-menu.fix-desktop-menu.open {
    transform: translateY(0);
    opacity: 1; pointer-events: auto; visibility: visible;
    transition: transform .25s ease, opacity .25s ease;
  }

  /* Внутрішня частина — без вертикального скролу, усе влазить */
  #desktop-burger-menu .drawer-inner {
    max-width: 1320px; margin: 0 auto;
    padding: 20px 24px;
    height: 100%;
    overflow: hidden; /* <— вимкнули внутрішній скрол */
  }

  /* СІТКА ПЛИТОК */
  .drawer-grid {
    list-style: none; margin: 0; padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr)); /* 3 у ряд */
    gap: 24px;
  }

  .drawer-link {
    display: block; text-decoration: none;
    color: inherit;
  }

  .drawer-card {
    background: #fff;
    border: 1px solid #eee; border-radius: 10px;
    padding: 20px;
    transition: border-color .2s ease, box-shadow .2s ease;
    height: clamp(180px, 26vh, 260px); /* адаптивна висота під панель */
    display: flex; align-items: center; justify-content: center;
  }
  .drawer-card:hover {
    border-color: #ff6a00; /* акцент */
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
  }

  .drawer-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
  }

  .drawer-title {
    display: block;
    text-align: center;
    margin-top: 14px;
    font-size: 18px;
    font-weight: 700;
    color: #111;
  }

  /* СКЛЯНИЙ ОВЕРЛЕЙ на «другій половині» екрана */
  .burger-overlay {
    position: fixed;
    left: 0; right: 0; bottom: 0; top: 0; /* top JS виставляє по низ панелі */
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s ease, visibility 0s linear .25s;
  }
  .burger-overlay.open {
    opacity: 1; visibility: visible; pointer-events: auto;
    transition: opacity .25s ease;
  }
  .burger-overlay::before {
    content: "";
    position: absolute;
    top: 2.5rem; left: 2.5rem; right: 2.5rem; bottom: 2.5rem;
    border-top: 2px solid rgba(225,225,225, 0.20);
    border-left: 1px solid rgba(225,225,225, 0.10);
    border-right: 1px solid rgba(225,225,225, 0.30);
    border-bottom: 1px solid rgba(225,225,225, 0.10);
    pointer-events: none;
  }

  /* прибрати стару десктопну кнопку, якщо ще десь лишилась */
  .header-burger-desk { display: none !important; }
}

@media (min-width: 1025px) {
  /* коли меню відкрите — блокуємо прокрутку сторінки (без "стрибань") */
  html.menu-open,
  body.menu-open { overflow: hidden; }

  /* компенсація ширини скролбару для fixed-хедерів, щоб не з’їжджали */
  .menu-open .fixed-top-menu,
  .menu-open .cd-auto-hide-header,
  .menu-open .navigation-top { padding-right: var(--sbw, 0px); }

  /* запасний варіант позиції полотна до ініціалізації JS */
  #desktop-burger-menu.fix-desktop-menu { top: 160px; }
}

