.megamenu-column > .menu-link > div
{
	min-width:250px;
}
#searchb2b-1 {
	margin-left:20px
}
#searchb2b-1 span {
	font-size:16px
}
#searchb2b-2 {
	margin-left:20px;
	color:#018cc6;
	font-size:22px
}
#top-search {
	z-index:11;
	
}
ul.ui-menu {
	list-style-type:none;
	margin:0;
	padding:0;
	z-index:1000;
	background-color:#fff;
	border:1px solid #ced4da;
border-radius:.25rem;
	-webkit-box-shadow:0 0 10px -3px rgba(0, 0, 0, .4);
	box-shadow:0 0 10px -3px rgba(0, 0, 0, .4);
	-webkit-appearance:none;
	-moz-appearance:none;
	appearance:none;
	padding:10px 0 10px 0;
	/*width:20rem!important;*/
	max-width:720px;
	max-height:354px;
	overflow-y:auto
}
ul.ui-menu li {
	border-bottom:1px solid #ced4da;
	background-color:transparent
}
ul.ui-menu li:hover {
	background-color:#ebebeb!important;
	font-weight:700
}
li.ui-menu-item {
	padding:4px
}
li.ui-menu-item img {
	border:1px solid #ced4da;
	margin-left:10px;
	margin-right:20px;
	padding:4px;
	width:60px!important
}
ul.ui-menu.customClasseTova {
	list-style-type:none;
	margin-top:0;
	z-index:1000;
	padding:10px 0 10px 0;
	max-height:250px;
	overflow-y:auto
}
ul.ui-menu.customClasseTova {
	display:block;
	width:700px!important;
	font-size:18px;
	font-weight:400;
	line-height:1.3;
	color:#444;
	background-color:#fff;
	border:1px solid #ced4da;
border-radius:.25rem;
	-webkit-box-shadow:0 0 10px -3px rgba(0, 0, 0, .4);
	box-shadow:0 0 10px -3px rgba(0, 0, 0, .4);
	-webkit-appearance:none;
	-moz-appearance:none;
	appearance:none
}
ul.ui-menu.customClasseTova li {
	border-bottom:1px solid #ced4da
}
ul.ui-menu.customClasseTova li:hover {
	background-color:#ebebeb!important;
	font-weight:700
}
ul.ui-menu.customClasseTova #searchb2b-1 {
	padding-top:20px
}
ul.ui-menu.customClasseTova #searchb2b-1 br {
	display:none
}
ul.ui-menu.customClasseTova #searchb2b-1 span {
	font-size:18px
}
.customClasseTova #searchb2b_sku img.item-img {
	border:1px solid #ced4da;
	width:70px!important
}
#gridCheck.form-check-input:checked {
	background-color:#00a1e4;
	box-shadow:none!important
}
label.btn-outline-secondary
{
	color:#323232;
	background-color:white;
	border:1px solid #d9d9d9
}
.btn-check:active+.btn-outline-secondary, .btn-check:checked+.btn-outline-secondary, .btn-outline-secondary.active, .btn-outline-secondary.dropdown-toggle.show, .btn-outline-secondary:active {
	    /*color: #323232;*/
    border-color: #CCCCCC;
    font-weight: 700!important;
	background-color:white;
}
.top-cart-number
{top:0}

.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;
}
.button-secondary.bgreen::before{background:#abd12d !important;}
.error-msg
{
	color:#DD0000;
}
.swiper-slide img{width:100%}
#product-details .product-title h2
{
	font-size:25px;
	border-bottom:1px solid #898989;
}
#product-details .product-title span
{
	font-size: 15px !important;
}
.btn-check+.btn-outline-secondary
{
	border-radius:8px;
}
.btn-check:checked+.btn-outline-secondary
{
	border:2px solid black;
}
#product-color-dots01 .square-dot
{
	border-radius:33px;
}
.quantity .qty
{
	border-top-left-radius:8px;
	border-bottom-left-radius:8px;
}
.quantity .plus
{
	border-top-right-radius:8px;
}
.quantity .minus
{
	border-bottom-right-radius:8px;
}
.quantity .qty-list{width:50px;}
button.add-to-cart-ic-txt
{
	border-radius:8px;
	padding-left:40px !important;
	padding-right:40px !important;
}
#product-details .definition
{
	color:black;
	font-weight:600;
}
.icc3 .ic-txt
{
	margin-left:10px;
}
label.btn-outline-secondary
{
	font-weight:500 !important;
	font-size:14px;
	margin-bottom:3px;
}
.btn-check:checked+.btn-outline-secondary
{
	color: #323232;
	font-weight:500 !important;
}
.button.btn-speed
{
    top: -5px;
    right: -5px;
    z-index: 100;
    width: 60px;
    height: 38px;
	border-radius:8px;
}
@media (max-width: 800px) {
	#slider{background:none !important;min-height:initial !important;}
}
 #compare-bar {
        position: fixed;
        bottom: -200px;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 9999;
        transition: bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 10px 0;
        border-top: 3px solid #ff6b6b;
        height: 90px;
    }
    
    #compare-bar.active {
        bottom: 0;
    }
    
    #compare-bar.active.minimized {
        bottom: -90px;
    }

    #compare-toggler {
        position: absolute;
        top: -30px;
        right: 20px;
        width: 40px;
        height: 30px;
        background: #ff6b6b;
        color: #fff;
        border-radius: 5px 5px 0 0;
        text-align: center;
        line-height: 30px;
        cursor: pointer;
        box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
        display: none;
    }
    #compare-bar.active #compare-toggler {
        display: block;
    }
    #compare-toggler i {
        transition: transform 0.3s;
        display: inline-block;
    }
    #compare-bar.minimized #compare-toggler i {
        transform: rotate(180deg);
    }

    .compare-items-wrapper {
        display: flex;
        align-items: center;
        /* justify-content: center;  <-- Removed to allow left align scroll */
        gap: 15px;
        height: 100%;
        overflow-x: auto; /* Enable horizontal scroll */
        white-space: nowrap;
        padding: 0 10px; /* Add padding for scroll space */
        -webkit-overflow-scrolling: touch; /* Smooth scroll on iOS */
    }
    
    /* Hide scrollbar for cleaner look but keep functionality */
    .compare-items-wrapper::-webkit-scrollbar {
        height: 6px;
    }
    .compare-items-wrapper::-webkit-scrollbar-thumb {
        background: #ddd;
        border-radius: 3px;
    }

    #compare-items-list {
        display: flex;
        gap: 10px;
        flex-shrink: 0; /* Prevent list from shrinking */
    }

    .compare-item {
        position: relative;
        width: 110px; 
        height: 70px;
        text-align: center;
        border: 1px solid #eee;
        padding: 5px;
        border-radius: 4px;
        background: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-shrink: 0; 
    }
    .compare-item.no-img {
        justify-content: center;
    }
    .compare-item img {
        width: 50px; /* Slightly larger images */
        height: 40px;
        object-fit: contain;
        margin-bottom: 2px;
    }
    .compare-item .remove-cmp {
        position: absolute;
        top: -1px;
        right: -2px;
        background: #333;
        color: #fff;
        border-radius: 50%;
        width: 18px;
        height: 18px;
        font-size: 10px;
        line-height: 18px;
        cursor: pointer;
        z-index: 2;
    }
    .compare-item .title {
        font-size: 10px;
        line-height: 1.2;
        max-height: 24px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        width: 100%;
        white-space: normal; /* Allow text wrap inside item */
    }
    
    .compare-actions {
        margin-left: auto; /* Push actions to the right */
        display: flex;
        flex-direction: column;
        gap: 5px;
        flex-shrink: 0;
        background: #fff; /* Ensure background covers scrolled items */
        padding-left: 10px;
        position: sticky;
        right: 0;
        box-shadow: -5px 0 10px -5px rgba(0,0,0,0.1); /* Shadow to indicate scroll */
    }
	
	
	
	.widget-filter-links li
	{
		font-size:16px;
	}
	.findmag
	{
		position:absolute;bottom:0;right:0;
	}

    /* Mobile specific adjustments */
	 @media (max-width: 991px) {
		.findmag
		{
			position:initial;
		}
	 }
    @media (max-width: 768px) {
	
        #compare-bar {
            height: 80px; /* Slightly smaller on mobile */
        }
        #compare-bar.active.minimized {
            bottom: -80px;
        }
        .compare-item {
            width: 70px; /* Smaller items on mobile */
            height: 60px;
        }
        .compare-item img {
            width: 35px;
            height: 30px;
        }
        .compare-actions {
            margin-left: 10px;
        }
        .compare-actions .button {
            padding: 2px 10px;
            font-size: 11px;
        }
    }

/* Top Cart Dropdown & Mobile Drawer */
.top-cart-title {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	padding: 10px 15px !important;
	border-bottom: 1px solid #eee !important;
}
.top-cart-title h4 {
	margin: 0 !important;
	font-size: 14px !important;
}
.top-cart-close-btn {
	background: transparent !important;
	border: none !important;
	font-size: 24px !important;
	line-height: 1 !important;
	color: #888 !important;
	cursor: pointer !important;
	padding: 0 4px !important;
}
.top-cart-close-btn:hover {
	color: #000 !important;
}

@media (min-width: 992px) {
	.top-cart-content {
		max-height: 85vh !important;
		display: flex !important;
		flex-direction: column !important;
		box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
		border-radius: 4px !important;
	}
	.top-cart-content .top-cart-items {
		max-height: 360px !important;
		overflow-y: auto !important;
		overflow-x: hidden !important;
		-webkit-overflow-scrolling: touch;
	}
}

@media (max-width: 991.98px) {
	.top-cart-content {
		position: fixed !important;
		top: 0 !important;
		right: -280px !important;
		width: 280px !important;
		height: 100vh !important;
		max-height: 100vh !important;
		z-index: 1000 !important;
		background: #fff !important;
		transition: right .3s ease !important;
		display: flex !important;
		flex-direction: column !important;
		box-shadow: -5px 0 25px rgba(0,0,0,0.2) !important;
	}
	.top-cart-open .top-cart-content {
		right: 0 !important;
	}
	.top-cart-content .top-cart-items {
		max-height: calc(100vh - 170px) !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch;
	}
}