h1,h2,h3,h4,h5,h6{text-transform:none;}
.product-title{height:46px;}

.toplenta
{
	background-color:black;
}

.ui-autocomplete{height:350px !important;}

.hover-effect .first-image,
.hover-effect .second-image {
  position: absolute;
  
  transition: opacity 0.3s ease-in-out;
}

.hover-effect .first-image {
  opacity: 1; /* Visible initially */
}

.hover-effect .second-image {
  opacity: 0; /* Hidden initially */
}

.hover-effect:hover .first-image {
  opacity: 0; /* Fades out on hover */
}

.hover-effect:hover .second-image {
  opacity: 1; /* Fades in on hover */
}


.box-icon-creative h5 {
    font-size: 13px;
    line-height: 16px;
}
.cntp
{
	bottom:58px;
}
.rd-navbar--is-stuck .cntp
{
	bottom:33px;
}

.rd-navbar--is-stuck .righmarg.rd-navbar-submenu {
    background-position: right 42%;
}
.rd-navbar-modern.rd-navbar-static.rd-navbar--is-stuck .rd-nav-link{padding-top:10px;padding-bottom:10px;}
.rd-navbar-modern.rd-navbar-static.rd-navbar--is-stuck .logotop{top:6px !important;}


.list-marked > li
{
	height: 26px;
    overflow: hidden;
}
.list-marked
{
	height:76px;
	overflow:hidden;
}
.dostavka
{
	padding-left:90px;padding-right:90px;
}
.product-top-panel-select{width:200px;}
.product-top-panel-select .pad12{padding-top:12px;padding-bottom:12px;min-height:initial;height:49px;padding-left:10px;padding-right:10px;}
.detail_image{height:300px;border-radius:25px;}
@media (min-width: 768px) {
	
    article.product {
        /* height: 444px; */
        height: 661px;
    }
}
@media (max-width: 768px) {
	.ui-autocomplete{width:100% !important;left:0 !important;}
	.slick-product2 .pfg2{height:auto;}
	.slick-product2 .pfg2 img{position:initial}
	.slick-product2 .slick-product-figure.gal3big img{width:100%;}
	.gal2tumb img{height:auto !important;}
	.gal3tumb img{width:100% !important;}
	.detail_image{height:auto;max-width:100%;border-radius:25px;}
	.product-top-panel .product-top-panel-select{width:40%;margin-left:10px;}
	.box-icon-creative h5{display:inline-flex;}
	.box-icon-creative{max-width:150px;width:121px;}
	.box-icon-creative-decor{display:none;}
    .product {
        margin-bottom: 0px;
        padding: 0;
        border: 0;
        height: 440px;
    }
	.dostavka
	{
		padding-left:0px;padding-right:0px;
	}
	
	.rd-navbar-fixed .rd-navbar-submenu .rd-navbar-dropdown li li:hover, 
	.rd-navbar-fixed .rd-navbar-submenu .rd-navbar-megamenu ul li li:hover {
		background-color: black;
	}
	.subcatsel
	{
		background-color: black !important;
	}
	.subcatselx
	{
		background-color: #abd12d !important;
	}

}
.box-icon-creative-icon {
  position: relative;
  text-align: center;
  width: 64px;
  height: 64px;
  font-size: 36px;
  line-height: 64px;
  color: #aad02d;}
  
  .box-icon-creative-icon {
  text-align: center;
  font-size: 36px;
  line-height: 64px;
  color: #aad02d;}
  
  .box-icon-creative-icon::after {
  position: absolute;
  content: '';
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border: 2px solid #abd12d;
  transition: all .3s ease;
  border-radius: 12px;}
  
  box-icon-classic {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 30px 18px;
    padding-top: 30px;
    padding-bottom: 30px;
  min-height: 100%;
  background: #ffffff;
  transition: all .2s ease;
  z-index: 1;
  border-radius: 12px;
  }
  
  .box-icon-classic::before {
  position: absolute;
  content: '';
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border: 1px solid #e1e1e1;
  transition: all .2s ease;
  z-index: -1;
  border-radius: 12px;
  }
  .razni_kutiiki h5{text-transform: uppercase;font-size: 12px;
    line-height: 1.2;}



.liniamob{margin-top:5px !important;}
.color_circle
{
	position:relative;display:inline-block;margin-right:5px;cursor:pointer;border-radius: 9999px;border:1px solid gray;width:30px;height:30px;
}
  .color_circle::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
	text-shadow: 0px 0px 2px rgba(255,255,255,0.8);
    font-weight: bold;
    opacity: 0;
  }
  .color_circle.selected::after {
    opacity: 1;
  }
.rd-navbar-static .rd-navbar-dropdown li.focus > a, .rd-navbar-static .rd-navbar-dropdown li.opened > a, .rd-navbar-static .rd-navbar-dropdown li > a:hover, .rd-navbar-static .rd-megamenu-list li.focus > a, .rd-navbar-static .rd-megamenu-list li.opened > a, .rd-navbar-static .rd-megamenu-list li > a
{
		padding-left:14px;
		margin-bottom:10px;
}
.subcat
{
	padding-left:19px !important;
	margin-bottom:0px !important;
}
.rd-navbar-static .rd-navbar-dropdown li.focus > a, .rd-navbar-static .rd-navbar-dropdown li.opened > a, .rd-navbar-static .rd-navbar-dropdown li > a:hover, .rd-navbar-static .rd-megamenu-list li.focus > a, .rd-navbar-static .rd-megamenu-list li.opened > a, .rd-navbar-static .rd-megamenu-list li > a
{
	line-height:14px;
}
.rd-navbar-static .rd-navbar-dropdown li > a::before, .rd-navbar-static .rd-megamenu-list li > a::before
{
	
	height:12px;
}
.brand_logo
{
	border: 1px solid #e1e1e1;float:left;margin-right:6px;
}
#autocom{width:500px;}
.form-input
{
	border-radius:7px;
	max-width:100%;
	min-width:initial;
	
}
.button-wapasha:hover::before,.button-wapasha::before
{
	border-radius:7px;
}
.marginwithbuttons
{
	margin-right: 56px;
}
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px; 
  border: 1px solid #ddd;
  box-shadow: 0 0 10px rgba(0,0,0,0.2); 
  z-index:11111111111;
  display:none;
}

.close {
  position: absolute;
  right: 10px;
  top: 5px;
  font-size: 20px;
  cursor: pointer;
}
.righmarg
{
	margin-right:58px;
}
.rd-navbar-nav > .righmarg:last-of-type {
  margin-right: 0;
}
.logotop{top:31px !important;}


.rd-navbar-megamenu {
  max-height: 80vh; /* Adjust this value as needed */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS devices */
  padding-bottom:20px;
}

.rd-navbar-nav {
  max-height: 100vh;
  overflow-y: visible;
}

.righmarg.rd-navbar-submenu
{
	background:url(../images/down_arr.png);
	background-position:right 53%;
	background-repeat:no-repeat;
	 padding-right: 10px;
}
.minh100
{
	min-height:66px;
}
.discounted
{
	border-radius:60px;
	position:absolute;
	z-index:1;
	background-color:#ff596d
	;color:white;top:0px;left:0px;
	/*padding: 2px 13px ;*/
	padding: 10px 0px ;
	/*letter-spacing: .075em; */
	
	font-size:18px;
	font-weight:bold;
}
.superdeal
{
	border-radius:60px;
	position:absolute;
	z-index:1;
	background-color:#ff596d
	;color:white;top:60px;left:0px;
	/*padding: 2px 13px ;*/
	padding: 10px 5px ;
	letter-spacing: .075em; 
	line-height:14px;
	font-size:11px;
	font-weight:bold;
	text-align:center;
	
}
@media (max-width: 768px) {
    .pinner .superdeal
	{
		left:1px;
	}
	.pinner .discounted
	{
		left:1px;
	}
}
html .group-md .prod_price{display:block;margin-bottom:0px;}
.tabulacia
{
	margin-top:30px;
}
.rd-navbar-static .rd-megamenu-item > div
{
	max-width:initial;
}
.rd-navbar-static .rd-megamenu-list
{
	columns:4;
}
.select2-container-active
{
	border-radius: 7px 7px 0 0;
	
}


.page-link
{
	background-color:#f5f5f5;
	color:#979494;
	    font-size: 17px;
		border-radius:2px;
		border: 1px solid #f5f5f5;
		box-shadow:initial;
}
.page-item.active > .page-link, .page-item.active > .page-link:hover, .page-item.active > .page-link:focus, .page-item.active > .page-link:active
{
	color:#abd12d;
	background-color:white;
	border-radius:4px;
		border: 1px solid #979494;
		box-shadow:initial;
	
}
.page-link:hover, .page-link:focus, .page-link:active
{
	background-color:white;
	
}
.clients-modern
{
	border-radius:7px;
}
.owl-dot::before,.owl-dot::after
{
	border-radius:3px;
}
.card-body
{
	text-align:left;
}
.slick-product2 .slick-product-figure img{width:auto;}
.card-header {
    padding: 0;
    background-color: #f8f9fa;
  }
  .btn-link {
    color: #212529;
    text-decoration: none;
    width: 100%;
    text-align: left;
    padding: 15px;
    position: relative;
  }
  .btn-link:hover, .btn-link:focus {
    text-decoration: none;
    color: #212529;
  }
  .btn-link::after {
    content: '\25BC';
    color: #abd12d;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
  }
  .btn-link.collapsed::after {
    content: '\25B6';
  }
  .btn-link:not(.collapsed)::after {
    transform: translateY(-50%) rotate(180deg);
  }
  .favAdded{filter: invert(1);}
.product-figure img{width:initial;max-width:90%;height:auto;}
.rd-navbar-modern.rd-navbar-static .rd-nav-link{text-transform:uppercase;}
.catalogs img{border-radius:10px;}
.product_palitra{display:none;}

iframe
{
	border-radius:7px;
}
@media (min-width: 576px) {
    .page-item:first-child .page-link {
        padding: 10px 10px 6px 10px;
    }
}
@media (min-width: 576px) {
    .pagination {
         margin-bottom: 18px; 
         margin-left: 18px; 
    }
}
@media (min-width: 1200px) {
    .rd-navbar-modern.rd-navbar-static .rd-nav-link {
        padding: 38px 1px 33px;
    }
	.rd-nav-link img{margin-top:-18px;}
	
}
html .group-sm > *
	{
		margin-left:0;
	}
@media (max-width: 768px) {
	.mobiledown{margin-top: 62px;}
	.textpage{padding-top:70px;}
	.rd-navbar-fixed .rd-navbar-nav
	{
		margin:0;
	}
	.textpage img
	{
		max-width:100%;
	}
	.rd-navbar-megamenu {
		max-height: initial; 
	}
	.buy_button
	{
		padding: 5px 10px !important;
		font-size: 16px;
		min-width:initial;
		margin-left:0 !important;
	}
	.rd-navbar-fixed .rd-navbar-panel
	{
		height:86px;
	}
	.rd-navbar-fixed .rd-navbar-panel
	{
		flex-wrap:wrap;
	}
	html .product  .group-sm
	{
		margin-left:0;
	}
	
	#DropDownDiv{right: 0;}
	.mobilemarg20 
	{
		margin-top:20px;
	}
	.product .product-figure
	{
		height:170px;
		
	}
	.product .button-ujarak
	{
		display:none;
	}
	h5.product-title
	{
		font-size:11px;
		text-align:center;
	}
	.product-price
	{
		font-size:14px !important;
		font-weight:bold;
	}
	.list-marked > li
	{
		font-size:11px;
	}
	.brand_logo
	{
		margin-right:0px;
		float: right;
		width:100%;
	}
	#autocom{width:100%;}
	.mainelem1{display:none;}
	.mob100p{width:50%;display: inline-block;
        text-align: center;}
	.isotope{ margin-left:5px !important; margin-right:5px !important;}
	.bg-default{padding-top:0px;}
	.bigs img{height:auto;}
	.cat_banner{width:100%;}
	.smallmobfont{font-size:12px;}
	.section-sm.section-first{padding-top:0;}
	.swiper-slide img{width:100%;}
	.marginwithbuttons
	{
		margin-right: 0px;
	}
	.righmarg
	{
		margin-right:0;
	}
	.product
	{
		margin-bottom: 0px;
		padding:0;
		border:0;
		height:479px;
	}
	.product-title{height:46px;}
	.notav{height:20px;margin-bottom:3px !important;margin-left:0px !important;width:100%;}
	.righmarg.rd-navbar-submenu
	{
		background:none;
		 padding-right: 0;
	}
	.rd-navbar-fixed .rd-navbar-nav-wrap
	{
		width:100%;
	}
	.rownopadding [class*='col']
	{
		padding-left: 0;
		padding-right: 5px;
		margin-bottom:5px;
		
	}

	.liniamob{border-top:0 !important;text-align:center;margin-top:5px !important;margin-bottom:5px !important;}
	.product-price-wrap{text-align:center;}
	.tacenter{text-align:center;}
	.product_palitra{text-align:center;height:40px;overflow:hidden;display:none;}
	.list-marked{display:inline-block;}
	.box_color
	{
		display:inline-block;
		float:none;
	}
	
	.cat-text-container {
    position: relative;
  }
  
  .cat_text {
    height: 70px;
    overflow: hidden;
    transition: height 0.3s ease;
  }
  
  .cat_text.expanded {
    height: auto;
  }
  
  .toggle-arrow {
    display: block;
    text-align: center;
    cursor: pointer;
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, white);
    padding-top: 20px;
  }
  
  .toggle-arrow::before {
    content: '▼';
  }
  
  .expanded + .toggle-arrow::before {
    content: '▲';
  }
  .breadcrumbs-custom-path{display:none;}
  .max100 img{width:100%; border-radius:7px; margin-top:10px;}
  .nav-tabs .nav-item{width:100%}
}
@media (min-width: 992px) {
    .section-sm.section-first {
        padding-top: 30px;
		padding-bottom: 0px;
    }
}
.m1x2
{
	background:url(../images/newsletter2.jpg) no-repeat; max-width:1200px; min-height:560px; padding:120px 0 0 80px; border:1px solid #ccc; border-radius:16px;background-position:-73px;
}

@media (max-width: 768px) {
    .m1x2
	{
       padding:0;
	   min-height:initial;
	}
	.pad40{padding:40px;}
   
}
.mx1x1 .checkbox-custom-dummy
{
	    border: 1px solid #abd12d;
}
.fx11 .form-button .button
{
	    width: 76px;
}
.fx11 .form-button
{
	min-height:36px;
}
.fx11 .form-input
{
	min-height:36px;
	padding: 6px 22px;
/*	background-color:gray;*/
	margin-left:20px;
	border-radius:14px;
}
.fx11 .form-button .button
{
	display:block;
	margin-left: -29px;
    margin-top: 1px;
}
.fx11 .form-label
{
	padding-left: 34px;
	top:20px;
}
.h5mob
{
	text-align:left; font-weight:bold; font-size:24px; text-transform:none;
}
.newspct
{
	height:50px;
	overflow:hidden;
}
.newspc
{
	height:70px;
	overflow:hidden;
}
.w66
{
	width:66%;
}
@media (max-width: 768px) {
	.w66
{
	width:100%;
}
	.newspc
	{
		height:auto;
	}
	.newspct
	{
		height:auto;
	}
    .imgt1
	{
		max-width:100%;
		height:auto;
	}
	.mlh1
	{
		line-height: 1;
	}
	.h5mob
	{
		font-size:20px;
		padding-top:15px;
	}
	.rd-form-inline .form-wrap
	{
		width:inherit;
	}
	.fx11 .form-button .button {
  
		margin-left: -1px;
   
	}
	.fx11 .form-button
	{
		margin-top:0;
		
	}
	.fx11 .form-input
	{
		margin-left:10px;
		
	}
	
	
}
@media (min-width: 768px) {
    .mAm iframe {
        height: 689px !important;
        width: 388px;
    }
	.rd-navbar-modern.rd-navbar-static .rd-navbar-megamenu
	{
		padding:0;
	}
	.subcat{padding-left: 5px !important;}
	
	.rd-navbar-static .rd-megamenu-list li{margin-bottom:0;}
	.rd-navbar-static .rd-megamenu-list li > a {
		
		 margin-bottom: 5px;
	}
	.nopad{padding:0;}
	.pp10{margin-top:10px !important;}
	
	
}
@media (min-width: 576px) {
    .bordered {
     /* border:1px solid #9b9b9b; border-radius:20px;*/ padding:60px;
    }
}

@media (min-width: 576px) {
    .fx11 .form-wrap {
      
        min-width: 96px;
    }
}
@media (min-width: 576px) {
	.rownopadding > .col-md-4:nth-child(3n+1) {
		padding-left: 0;
	  }

	  /* Target the third (last in a full row) item in every conceptual row of 3 items */
	  .rownopadding > .col-md-4:nth-child(3n+3) {
		padding-right: 0;
	  }

	  /*
	   * Handle the very last item in the container correctly if the last row is incomplete.
	   * This ensures that if the list doesn't end on a perfect multiple of 3,
	   * the actual last item on the screen also gets its right padding removed.
	   */
	  .rownopadding > .col-md-4:last-child {
		padding-right: 0;
	  }
	
    .fx11 .form-button {
      
        margin-left: 0;
    }
}
@media (max-width: 768px) {
    .simcon .similar {
      
        height:auto !important;
    }
	.simcon .product .product-figure
	{
		height:270px;
	}
	.padmob5{padding-top:30px;}
}
.rd-navbar-modern.rd-navbar-static .rd-navbar-nav > .rd-nav-item.righmarg {
  margin-right: 0 !important; /* Override the margin from .righmarg and ensure it applies */
}
.rd-navbar-modern.rd-navbar-static .rd-navbar-main {
	width:100%;
}
.rd-navbar-modern.rd-navbar-static .mel22
{
	width:100%;
}
.rd-navbar-modern.rd-navbar-static .mainelem2
{
	padding:0;
}
.rd-navbar-modern.rd-navbar-static .rd-navbar-nav-wrap
{
	width:100%;
}
.rd-navbar-modern.rd-navbar-static .rd-navbar-nav-wrap
{
	margin:0;
}
.product-top-panel-select
{
	margin-left:0px !important;
}
.catalogs img
{
	max-width:100%;
}
@media (min-width: 1001px) {
	.container{padding-left:0 !important;padding-right:0 !important;}
	.row{margin-left:0 !important;margin-right:0 !important;}
	.tabs-horizontal.tabs-corporate .tab-content{padding:0;}
	.col-12{padding-left:0 !important;padding-right:0 !important;}
	.catalogs .container .row > .col-xl-6:first-child{padding-left:0 !important;}
	.catalogs .container .row > .col-xl-6:last-child{padding-right:0 !important;}
  /* Target the specific row that is visible on large screens */
  .container .d-none.d-lg-block .row.row-40.box-ordered {
    /* Ensure the row itself doesn't have horizontal padding from custom classes like .row-40 or .box-ordered */
    padding-left: 0;
    padding-right: 0;

    /* Use flexbox to control the alignment of child columns.
       Bootstrap's .row class is already display: flex.
       justify-content: space-between will push the first item to the start
       and the last item to the end. Given you have 6 col-lg-2 items,
       they will naturally fill the width of the row. */
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Standard for Bootstrap rows */
  }

  /* Remove the left padding (gutter) from the first column child in this row */
  .container .d-none.d-lg-block .row.row-40.box-ordered > .col-lg-2:first-child {
    padding-left: 0;
  }

  /* Remove the right padding (gutter) from the last column child in this row */
  .container .d-none.d-lg-block .row.row-40.box-ordered > .col-lg-2:last-child {
    padding-right: 0;
  }
}

.annotationLayer .linkAnnotation > a:hover, .annotationLayer .buttonWidgetAnnotation.pushButton > a:hover, .flipbook-page-item-link:hover 
{
	background:none !important;
}
.rd-navbar-modern.rd-navbar-static.rd-navbar--is-stuck .logotop{left:0;}
@media (min-width: 1300px) {
    .rd-navbar-modern.rd-navbar-static .rd-navbar-brand img {
        max-width: 42px;
        /* max-height: 60px; */
        position: absolute;
        top: -22px;
    }
}
	
@media (min-width: 768px) {
    .footer-variant-2-content {
        padding-top: 35px;
        padding-bottom: 27px;
    }
}

/* ==========================================================================
   Antigravity UI/UX & Responsive Enhancements (Points 1 - 13)
   ========================================================================== */

/* Point 1: Homepage Focus Products Slider */
.owl-focus-products .item-focus {
    width: 100%;
}
.owl-focus-products .product.white {
    height: 100%;
    margin-bottom: 0;
}
.owl-focus-products .owl-dots {
    margin-top: 15px;
    text-align: center;
}
.owl-focus-products .owl-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 4px;
    background: #ccc;
    border-radius: 50%;
}
.owl-focus-products .owl-dot.active {
    background: #abd12d;
}
@media (min-width: 768px) {
    .owl-focus-products .owl-dots {
        display: none !important;
    }
}

/* Point 2: Homepage Latest News on Mobile (show only first 2) */
@media (max-width: 767px) {
    .latest-news-row > .news-item-col:nth-child(n+3) {
        display: none !important;
    }
}

/* Point 3: Footer 3 images on mobile side-by-side */
@media (min-width: 768px) {
    .footer-logos-wrap .footer-logo-img {
        width: 70px;
        margin-bottom: 5px;
        display: block;
    }
    .footer-logos-wrap .logo-eu {
        position: relative;
        min-height: 100px;
        margin-top: 15px;
        overflow: visible;
    }
    .footer-logos-wrap .footer-logo-eu-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 270px;
        z-index: 1;
    }
}
@media (max-width: 767px) {
    .footer-logos-wrap {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        width: 100% !important;
        margin-bottom: 25px !important;
        overflow: visible !important;
    }
    .footer-logos-wrap .footer-logos-item {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .footer-logos-wrap .logo-brand .footer-logo-img {
        max-width: 60px !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
    }
    .footer-logos-wrap .logo-cert .footer-logo-img {
        max-width: 55px !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
    }
    .footer-logos-wrap .logo-eu {
        position: static !important;
        min-height: auto !important;
        flex: 1 1 auto;
        max-width: 170px !important;
    }
    .footer-logos-wrap .footer-logo-eu-img {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block;
    }
}

/* Mobile Footer: Consistent Centered Column with Left-Aligned Items (like "За клиенти") */
@media (max-width: 767px) {
    .footer-variant-2 h6 {
        text-align: center !important;
        width: 100% !important;
        margin-top: 25px !important;
        margin-bottom: 12px !important;
    }
    .footer-variant-2 .footer-contacts {
        display: block !important;
        width: 270px !important;
        max-width: 85% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: left !important;
        padding-left: 0 !important;
        box-sizing: border-box !important;
    }
    .footer-variant-2 .footer-contacts li {
        text-align: left !important;
        display: block !important;
        width: 100% !important;
    }
    .footer-variant-2 .footer-contacts a {
        text-align: left !important;
        display: inline-block !important;
    }
    .footer-variant-2 .footer-contacts .unit {
        justify-content: flex-start !important;
        text-align: left !important;
    }
    .footer-variant-2 .footer-contacts .unit-body {
        text-align: left !important;
    }
    .footer-variant-2 .col-sm-6 > p,
    .footer-variant-2 .oh-desktop > p,
    .footer-variant-2 .wow > p {
        max-width: 270px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: left !important;
    }
}

/* Point 4: Language Switcher Dropdown */
.rd-navbar-fixed .rd-navbar-panel .mob-lang-dropdown a,
.mob-lang-dropdown a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    padding: 8px 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.rd-navbar-fixed .rd-navbar-panel .mob-lang-dropdown a img,
.mob-lang-dropdown a img {
    width: 20px !important;
    height: 13px !important;
    object-fit: cover !important;
    margin-right: 10px !important;
    margin-left: 0 !important;
    flex-shrink: 0 !important;
}

/* Points 6 & 7: Filter Buttons & Dropdowns */
.product-top-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.product-top-panel .product-top-panel-select {
    position: relative !important;
    display: inline-block !important;
}
.product-top-panel .product-top-panel-select::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
    z-index: 5;
    transition: transform 0.2s ease;
}
.product-top-panel .product-top-panel-select:has(.filter-btn.open)::after {
    transform: translateY(-20%) rotate(-135deg);
}
.filter-btn, 
.product-top-panel .select-filter {
    height: 40px !important;
    line-height: 38px !important;
    padding: 0 26px 0 14px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    background-image: none !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #333 !important;
    text-align: center !important;
    text-align-last: center !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    box-sizing: border-box !important;
}
.filter-btn:hover,
.product-top-panel .select-filter:hover {
    border-color: #999 !important;
}
.filter-btn.open {
    border-color: #abd12d !important;
}

/* Mobile Filter Buttons: 1 or 2 rows */
@media (max-width: 767px) {
    .product-top-panel {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        justify-content: space-between !important;
        margin: 10px 0 !important;
    }
    .product-top-panel .product-top-panel-select {
        margin: 0 !important;
        flex: 1 1 calc(33.333% - 6px) !important;
        min-width: 0 !important;
        max-width: 50% !important;
    }
    .product-top-panel .product-top-panel-select::after {
        right: 8px;
        width: 5px;
        height: 5px;
        border-width: 1.5px;
    }
    .product-top-panel .select-filter,
    .filter-btn {
        height: 34px !important;
        line-height: 32px !important;
        padding: 0 18px 0 6px !important;
        font-size: 11px !important;
        width: 100% !important;
    }
}

/* Color & Brand Dropdown Panels */
.color-dropdown-panel,
#BrandDropDownDiv,
#CatDropDownDiv {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.color-filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    max-height: 260px;
    overflow-y: auto;
    padding: 10px;
}
.color-filter-item {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    cursor: pointer;
    font-size: 12px;
    color: #333;
    user-select: none;
}
.color_circle_sm {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #ccc;
    flex-shrink: 0;
}
.filter-dropdown-actions {
    padding: 10px;
    border-top: 1px solid #eee;
    background: #fff;
    flex: 0 0 auto;
}
.filter-dropdown-actions .btn {
    font-size: 12px !important;
    padding: 6px 14px !important;
    line-height: 1.4 !important;
}

/* Point 8: Category Listing Buy + Fav on Mobile 1 Row */
@media (max-width: 768px) {
    .rownopadding > [class*='col']:nth-child(odd) {
        padding-left: 15px !important;
    }
    .product .liniamob {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 6px !important;
        flex-wrap: nowrap !important;
        padding-top: 8px !important;
        padding-bottom: 2px !important;
        padding-left: 2px !important;
        padding-right: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .product .liniamob .buy_button {
        flex: 1 1 auto !important;
        padding: 7px 4px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        letter-spacing: -0.01em !important;
        white-space: nowrap !important;
        min-width: 0 !important;
        text-align: center !important;
        margin: 0 !important;
        line-height: normal !important;
        height: 34px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        text-overflow: clip !important;
        box-sizing: border-box !important;
    }
    .product .liniamob .favorities_in {
        flex: 0 0 26px !important;
        width: 26px !important;
        height: 34px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }
    .product .liniamob .favorities_in a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 0 !important;
		margin-right: 8px;
    }
    .product .liniamob .favorities_in a:empty {
        display: none !important;
    }
    .product .liniamob .favorities_in img {
        width: 22px !important;
        height: auto !important;
        max-width: none !important;
        display: block !important;
    }
    .product .liniamob .notav:empty,
    .product .liniamob span.notav:empty {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        flex: 0 0 0px !important;
    }
    .product .liniamob span.notav {
        display: block !important;
        width: 100% !important;
        font-size: 11px !important;
        color: #EE0000 !important;
        font-weight: bold !important;
        text-align: center !important;
        line-height: 1.3 !important;
    }
}
@media (max-width: 360px) {
    .product .liniamob .buy_button {
        font-size: 10px !important;
        padding: 6px 2px !important;
        letter-spacing: -0.03em !important;
    }
}


/* Points 9 & 10: Product Detail Page Header, Actions & USPs */
.product-brand-tag {
    text-align: left;
    margin-bottom: 4px;
    font-weight: bold;
    color: #231f20;
    font-size: 15px;
}
.product-rating-wrap {
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 10px;
}
.product-price-detail-wrap {
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.product-price-detail-wrap .product-old-price {
    text-decoration: line-through;
    font-size: 22px;
    font-weight: 700;
    color: #888;
}
.product-price-detail-wrap .product-new-price {
    font-size: 22px;
    font-weight: 700;
    color: #d9232d;
}

@media (max-width: 768px) {
    .product-actions-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        flex-wrap: nowrap !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 16px !important;
        box-sizing: border-box !important;
    }
    .product-actions-row .product-stepper {
        flex: 0 0 65px !important;
        width: 65px !important;
        margin: 0 !important;
    }
    .product-actions-row .product-stepper .form-input {
        width: 100% !important;
        text-align: center !important;
        padding: 0 !important;
        height: 44px !important;
    }
    .product-actions-row .button-pipaluk,
    .product-actions-row .button {
        flex: 1 1 auto !important;
        padding: 10px 10px !important;
        font-size: 13px !important;
        text-align: center !important;
        margin: 0 !important;
        white-space: nowrap !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        height: 44px !important;
        line-height: 22px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .product-actions-row .favorities_in,
    .product-actions-row .prod-fav-btn {
        flex: 0 0 44px !important;
        width: 44px !important;
        height: 44px !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
    .product-actions-row .favorities_in img {
        width: 28px !important;
        height: auto !important;
    }

    /* 3 USPs: 1 row each without wrapping */
    .product-usps-row {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .product-usps-row > [class*='col'] {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 6px !important;
    }
    .product-usps-row .card-corporate {
        border-radius: 4px !important;
        border: 1px solid #e5e5e5 !important;
        background: #fff !important;
    }
    .product-usps-row .card-corporate .card-body {
        padding: 8px 10px !important;
    }
    .product-usps-row .box-pricing-list {
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }
    .product-usps-row .box-pricing-list > li {
        font-size: 11.5px !important;
        text-indent: 0 !important;
        padding-left: 0 !important;
        margin: 0 !important;
        white-space: nowrap !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .product-usps-row .box-pricing-list > li::before {
        position: static !important;
        text-indent: 0 !important;
        width: auto !important;
        flex-shrink: 0 !important;
        font-size: 13px !important;
        line-height: 1 !important;
        color: #abd12d !important;
        margin-right: 6px !important;
    }
    .product-usps-row .box-pricing-list > li span {
        flex: 1 1 auto !important;
        text-indent: 0 !important;
        font-size: 11.5px !important;
        line-height: 1.3 !important;
        color: #333 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .product-usps-row .box-pricing-list > li img {
        max-height: 18px !important;
        width: auto !important;
        flex-shrink: 0 !important;
        margin-left: auto !important;
        padding-left: 4px !important;
    }
    .product-usps-row .box-pricing-badge {
        position: static !important;
        margin-left: auto !important;
        font-size: 10px !important;
        padding: 2px 6px !important;
        border-radius: 3px !important;
        background: #abd12d !important;
        color: #fff !important;
        text-transform: uppercase !important;
        flex-shrink: 0 !important;
    }
}

/* Point 12: Product Detail Similar & Visited Carousels */
.owl-similar-carousel .item-similar,
.owl-visited-carousel .item-similar {
    width: 100%;
}
.owl-similar-carousel .product.similar,
.owl-visited-carousel .product.similar {
    margin-bottom: 0;
}
.owl-similar-carousel .owl-dots,
.owl-visited-carousel .owl-dots {
    margin-top: 15px;
    text-align: center;
}
.owl-similar-carousel .owl-dot,
.owl-visited-carousel .owl-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin: 0 4px;
    background: #ccc;
    border-radius: 50%;
}
.owl-similar-carousel .owl-dot.active,
.owl-visited-carousel .owl-dot.active {
    background: #abd12d;
}

/* Point 13: Product Detail Description Read More */
.prod-desc-more-btn {
    display: none;
}
@media (max-width: 767px) {
	.footer-logos-item img{
		max-width:100%;
	}
    .prod-desc-wrapper {
        position: relative;
    }
    .prod-desc-content {
        max-height: 160px;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }
    .prod-desc-wrapper.expanded .prod-desc-content,
    .prod-desc-content.expanded {
        max-height: none !important;
    }
    .prod-desc-fade {
        position: absolute;
        bottom: 35px;
        left: 0;
        right: 0;
        height: 60px;
        background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
        pointer-events: none;
    }
    .prod-desc-wrapper.expanded .prod-desc-fade {
        display: none !important;
    }
    .prod-desc-more-btn {
        display: block;
        width: 100%;
        margin-top: 8px;
        padding: 8px 12px;
        background: #f8f9fa;
        border: 1px solid #e2e8f0;
        border-radius: 4px;
        color: #008faf;
        font-weight: 600;
        font-size: 13px;
        text-align: center;
        cursor: pointer;
    }
}

/* ==========================================================================
   Homepage Brands Slider ("Пазарувай по марки") - Mobile Only (< 768px)
   Desktop layout (>= 768px) remains completely untouched and original.
   ========================================================================== */
@media (max-width: 767px) {
    .brands-title {
        margin-bottom: 25px !important;
    }

    .owl-clients .clients-modern {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 84px !important;
        padding: 8px 12px !important;
        background: #ffffff !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 6px !important;
        box-sizing: border-box !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
        transition: all 0.25s ease !important;
        margin: 0 auto !important;
        overflow: hidden !important;
        width: 100% !important;
    }

    .owl-clients .clients-modern:hover {
        border-color: #96b332 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    }

    .owl-clients .clients-modern img {
        max-width: 100% !important;
        max-height: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
    }

    /* Brands Slider Dots - Mobile Clean Pill/Dots */
    .owl-clients .owl-dots {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 5px !important;
        margin-top: 16px !important;
        margin-bottom: 5px !important;
        text-align: center !important;
        position: static !important;
    }

    .owl-clients .owl-dot {
        display: inline-block !important;
        width: 8px !important;
        height: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #d1d5db !important;
        border: none !important;
        border-radius: 50% !important;
        cursor: pointer !important;
        transition: all 0.25s ease !important;
        outline: none !important;
        box-shadow: none !important;
        vertical-align: middle !important;
    }

    .owl-clients .owl-dot::before,
    .owl-clients .owl-dot::after {
        display: none !important;
    }

    .owl-clients .owl-dot.active {
        width: 20px !important;
        height: 8px !important;
        border-radius: 4px !important;
        background: #96b332 !important;
    }
}