/*
Theme Name: Rehub Child
Theme URI: http://example.com/rehub-child
Description: Rehub Child Theme
Author: Your Name
Author URI: http://example.com
Template: rehub-theme
Version: 1.0.0
*/

.sbrand-box-container ul
{
    display: flex;
    flex-wrap: wrap;

}
.sbrand-box-container ul li{
	list-style: none !important;
	margin: 5px !important;
	
    /*margin: 0 0 5px 15px;*/
    width: 29%;
    overflow: hidden;
    padding: 0;
    height: 29px;
    background: #ddd;
    text-align: center;

}
.sbrand-box-container ul li a{
	
    background: #ddd;
    padding: 10px;
    font-size: .8rem;
	color: #000;

}
.sbrand-box-container ul li a:hover{
	
	
}
.sbrand-box-container {
    max-height: 300px; /* Set a maximum height for the container */
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden; /* Prevent horizontal scrolling if necessary */
}

/* Custom scrollbar styles for WebKit browsers (Chrome, Safari, etc.) */
.sbrand-box-container::-webkit-scrollbar {
    width: 8px; /* Width of the vertical scrollbar */
}

.sbrand-box-container::-webkit-scrollbar-thumb {
    background-color: #888; /* Color of the scrollbar thumb/handle */
    border-radius: 10px; /* Rounded corners for the scrollbar handle */
}

.sbrand-box-container::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* Background color of the scrollbar track */
}

/* Scrollbar styles for Firefox */
.sbrand-box-container {
    scrollbar-width: thin; /* Makes the scrollbar thinner */
    scrollbar-color: #888 #f1f1f1; /* Thumb color and track color */
}


.search-form .brand-select {
    width: 100%;
    padding: 10.5px 0 !important;
    margin-bottom: 10px;
    border-radius: 0 !important;
    border: 0px !important;
}

.brandname-search-title{

    font-style: italic !important;
    color: red  !important;

}

.queryname-search{

    font-style: italic !important;
    color: green !important;

}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.fs-0-8rem{
	font-size: 0.8rem;
}

.mt-5{
	margin-top: 5px;
}


.elementor-element-d2c5e16 .products{
	flex-direction: column !important;
	width: 285% !important;
}

.logo-section > .rh-flex-right-align { display: none !important; }
.logo-section {
    display: flex !important;
    justify-content: space-between;
    align-items: center !important;
    padding: 20px 0 !important;
}

/*Archieve page 's styles */

.woocommerce .products.grid_woo .product {
    height: auto !important;
}

.woocommerce .products .product figure img {
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}
.heartplus{
	display: none !important;
}

/*
*
* 	Product Archive page | product tags style rules
*/

.product_tags_filter {
    display: flex !important;
    flex-direction: column !important;
    gap: 0px !important;
    margin: 0px !important;
    padding: 0px !important;
    width: 90% !important; 
    overflow-y: hidden;
	scrollbar-width: thin;
    scrollbar-color: #6b0a9d #e6bce9;
}

.product_tag_container{
	
	display: flex !important;
	flex-direction: column !important;
}
.product_tags_filter ul {
	display: flex !important;
}
.product_tags_filter ul li{
	list-style: none !important;
}

.product_tags_filter ul li a {
    padding: 5px 15px;
    background: #ccc;
    border: 1px solid #ccc;
    font-size: .75rem;
    width: 120px;
    display: flex;
    justify-content: center;
    border-radius: 5px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product_tags_filter ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(45deg);
    transform-origin: 0 0;
    transition: transform 0.5s ease;
    z-index: 1;
}

.product_tags_filter ul li a:hover::before {
    transform: rotate(45deg) translate(-100%, -100%);
}

.product_tags_filter ul li a:hover {
    background: #ddd;
    border: 1px solid #000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


.hide{
	display: none !important;
}

/* Styling for the burger button */
.burger-button {
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Styling for each line of the burger button */
.line {
    width: 78%;
    height: 4px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Styling when the button is active (cross state) */
.burger-button.active .line:nth-child(1) {
    transform: rotate(45deg) translate(9px, 5px);
    background-color: #000;
}

.burger-button.active .line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.burger-button.active .line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -5px);
    background-color: #000;
}

/* Adding a subtle glow effect on active */
.burger-button.active {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Optional: Styling for hover state to make the button more interactive */
.burger-button:hover .line {
    background-color: #555;
}

.burger-button.active:hover .line {
    background-color: #000;
}

/* Styling for smooth toggle transition */
.burger-button,
.burger-button .line {
    transition: all 0.3s ease-in-out;
}



/* Hidden content styling */
#hidden-content {
    display: none !important;
    margin-top: 20px;
    padding: 20px; 
}

#hidden-content.active {
    display: block !important;
}


/* style rules for price table on product*/
.compare-stores-container{ margin: 3rem 0;}
.price-table-flex {
    display: flex !important;
    gap: 20px !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 60% !important;
}

.compare-stores{
	
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;

}

.store-container-two{
    display: flex !important;
    justify-content: space-evenly !important;
    gap: 20px !important;
}

.store-product-link a {
    background: var(--rehub-main-btn-bg) !important;
    padding: 10px 20px !important;
    color: #fff !important;
    border-radius: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 3px 5px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: background 0.3s ease-in-out;
}

.store-product-link a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
    opacity: 0.5;
    border-radius: 5px;
    transition: opacity 0.3s ease-in-out;
}

.store-product-link a:hover::before {
    opacity: 0.7;
}

.store-product-link a:hover {
    background: #0056b3 !important; /* Optional: Change the background color on hover */
}

/* Compare slide panel style rules */

#re-compare-bar-tabs .re-compare-wrap { padding: 1rem; }
#re-compare-bar-tabs{ display: flex; flex-direction: column; }

.store-product-price{
    font-size: 1.5rem !important;
    font-weight: bold !important;

}



.brand-grid-at-footer{
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.brands-grid-wrapper h3{
    
    color: #fff; font-size: 1rem;
}
.brands-grid-wrapper{
    padding: 30px;
    background-color: #2c3e50;
}
.brands-grid-wrapper .brand-item a{ color: #fff; font-size: 0.7rem;}

.offer_thumb{
	display: none;
}

.store_logo{
	padding: 10px;
}

/* On screens that are 600px or less
*/
@media screen and (max-width: 600px) {
  
	.search-form input.search-box{
		height: 38px !important;
		font-size: 1rem !important;
		color: #000 !important;

	}
.brand-grid-at-footer{
    grid-template-columns: repeat(1, 1fr);
    }
}