/*
*
* @name Site24 Essentials Main Styles
* @author  Site24
* @version 1.0.0
*/

/*----------------------------
- CSS Map

1. General Settings
2. Brands
3. Searchbar
4. Social Share
5. Swatches
6. Quantity
7. Alerts
8. Whatsapp
9. Cats
10. Filter Search
11. Quick Buy

----------------------------*/

/*- 1. General Settings -*/
:root{
	--essentials-color-1:#212121;
	--essentials-color-2:var(--primary);
	--essentials-transition:all .3s linear;
}
.woocommerce-notices-wrapper,
.woocommerce-NoticeGroup.woocommerce-NoticeGroup-checkout{
	display:none;
}
/*- 2. Brands -*/
.s24-brand-badge {
	background: #fff;
	border: 1px solid rgba(0,0,0,0.1);
	padding: 5px 10px;
	border-radius: 5px;
	color: var(--dark);
	font-size: var(--font-md);
	transition: var(--transition);
	margin-bottom:5px;
	display:inline-block;
}

.s24-brand-badge img{
	object-fit:contain;
}

.s24-brand-badge:hover {
	border-color: var(--primary);
}
/*- 3. Searchbar -*/
#s24-search{
	position:relative;
}
#s24-ajax-search-results {
    position: absolute;
    width: calc(100% - 25px);
    background: #fafafa;
    z-index: 99;
    top: calc(100% + 5px);
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 3px 5px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
}
#s24-ajax-search-results .search-item {
	display: flex;
	align-items: center;
	column-gap: 10px;
	color: var(--dark);
    font-size: var(--font-lg);
}

#s24-ajax-search-results .search-item img {
	max-width: 50px;
	border-radius: 5px;
	background: #fff;
	border: 1px solid var(--primary);
    padding: 3px;
}
.widget_product_search {
	position: relative;
}
/*- </3. Searchbar -*/

/*- 4. Social Share -*/
.s24-social-share {
	display: flex !important;
	flex-direction: row;
}

.s24-social-share ul {
	display: flex;
	flex-direction: row;
	column-gap: 10px;
	list-style: none;
	margin: 0 0 0 5px;
	padding: 0;
}
.s24-social-share ul li {
	font-size: 20px;
	line-height: 20px;
	color:var(--essentials-color-1);
}
/*- </4. Social Share -*/

/*- 5. Swatches-*/
.s24-swatch .s24-swatch-item {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	column-gap: 20px;
	margin-bottom:20px;
	align-items: center;
}
.s24-swatch .s24-swatch-item:last-child{
	margin-bottom:0;
}
.s24-swatch .s24-swatch-item .swatch-attribute {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	flex-wrap: wrap;
	column-gap: 15px;
	row-gap: 15px;
}

.s24-swatch .s24-swatch-title {
	font-weight: 700;
	text-transform:capitalize;
}

.s24-swatch {
	padding: 20px 0;
}

.s24-swatch .s24-swatch-item .swatch {
	background: #fff;
	color: #212121;
	text-align: center;
	padding: 5px;
	font-size: 13px;
	border-radius: 5px;
	min-width: 15%;
	border: 2px solid rgba(0,0,0,0.1);
	cursor: pointer;
	transition: all .3s linear;
	font-weight: 500;
	text-transform: capitalize;
}

.s24-swatch .s24-swatch-item .swatch:hover,
.s24-swatch .s24-swatch-item .swatch.active{
	background: var(--essentials-color-2);
	color: #fff;
	padding: 5px 20px;
}
.single-product div.product table.variations{
	display:none !important;
}
/*- </5. Swatches-*/
/*- 6. Quantity -*/
.quantity {
	display: flex;
	align-items: center;
}
.quantity input {
	order: 2;
	background: #fff !important;
	box-shadow: none !important;
	text-align: center !important;
	-webkit-appearance: none !important;
}
.quantity .quantity-minus {
	order: 1;
}  
.quantity .quantity-plus {
	order: 3;
}
.quantity .quantity-minus,
.quantity .quantity-plus{
	border-radius: 25px;
	font-size: 26px;
	min-width: 28px;
	height: 28px;
	color: #212121;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor:pointer;
	transition:var(--essentials-transition);
}
.quantity .quantity-minus{
	align-items:center;
}
.quantity .quantity-minus:hover,
.quantity .quantity-plus:hover{
	background:var(--essentials-color-2) !important;
	color:#fff !important;
}
.quantity input::-webkit-outer-spin-button,
.quantity input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin:0
} 
/*- </6. Quantity -*/
/*- 7. Alerts -*/

#swal2-title br {
	display: none;
}

#swal2-title {
	font-size: 20px;
}

.swal2-icon {
	margin-top: 20px;
}
div:where(.swal2-container) div:where(.swal2-popup){
	width:30em;
}
/*- 8. Whatsapp -*/
#essentials-chatbox {
	position: fixed;
	width: 55px;
	height: 55px;
	bottom: 20px;
	right: 20px;
	z-index: 9999;
}
#essentials-chatbox a{
	height: inherit;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #25D366;
	font-size: 25px;
	box-shadow: 0 0px 10px #25D366;
	border-radius: 50px;
}
#essentials-chatbox svg {
	fill: #fff;
}
.s24-whatsapp-order-button {
	color: #24d366;
	fill: #24d366;
	font-size: 16px;
	display: flex;
	align-items: center;
	flex-direction: row;
	column-gap: 5px;
	margin-bottom: 20px;
}

.s24-whatsapp-order-button svg {
	font-size: 25px;
}

.s24-whatsapp-order-button:hover {
	color: #212121;
	fill: #212121;
}

/*- 9. Cats -*/

.s24-cats .cat-item {
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	height: 125px;
	border-radius: 15px;
	border:1px solid var(--gray);
	transition: all .3s linear
}

.s24-cats {
	margin: 25px 0
}

.s24-cats .cat-item span {
	width:100%;
	color: #212121;
	padding: 5px 10px;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	display: block;
	text-align:center;
}

.s24-cats .cat-item:hover,.s24-cats .swiper-slide-active .cat-item {
	border-color:var(--primary);
}
/*- 9. Filter Search -*/
#filter-searchbar {
	border-radius: 5px;
	font-size: var(--font-lg);
	background: var(--gray);
	border: none;
}
#filter-searchbar {
	margin: 5px 0 10px;
}
/*- 11. Quick Buy -*/
.cart .quick-buy {
	background: #FF8C39 !important;
	box-shadow: 0 5px 10px #FF8C39 !important;
}
/*- 12. Mega Menu -*/
#s24-navbar > ul>li:hover>.sub-menu{
	display:flex;
}
#s24-navbar > ul>li>.sub-menu {
	width: 100%;
	box-shadow: 0 10px 10px rgba(0,0,0,0.05);
	padding: 30px;
	left:0;
	justify-content: space-between;
	border-radius: 10px;
	border: 1px solid var(--primary);
}

#s24-navbar > ul>li>.sub-menu>li>a {
	color: var(--black);
	font-weight: 500;
	font-size: var(--font-lg);
	border-bottom: 1px solid var(--gray);
	padding-bottom: 5px;
	margin-bottom: 5px;
	display: block;
}

#s24-navbar > ul>li>.sub-menu>li>.sub-menu {
	list-style: none;
	padding: 0;
}

#s24-navbar > ul>li>.sub-menu>li>.sub-menu>li>a {
	color: var(--black);
	font-weight: 300;
	font-size: var(--font-lg);
}
#s24-navbar > ul>li>.sub-menu>li>.sub-menu>li.megamenu-all a{
	font-size: var(--font-md);
	color: var(--primary);
	font-weight: 400;
	letter-spacing: .5px;
	transition:var(--essentials-transition)
}
#s24-navbar > ul>li>.sub-menu>li>.sub-menu>li.megamenu-all a:hover{
	color:var(--secondary);
}