/*
 Theme Name: fidarweb
 Theme URI: https://fidarweb.ir/
 Author: FIDARWEB
 Author URI: mailto:info@fidarweb.ir
 Description: Powered by FIDARWEB company
 Version: 1.0
 License: Free
 Text Domain: fidarweb
*/
@font-face {
	font-family: 'IRANYekanXFaNum';
	src: url('fonts/IRANYekanXFaNum-Bold.woff2') format('woff2'), url('fonts/IRANYekanXFaNum-Bold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
	font-stretch: normal;
	font-display: swap;
}
@font-face {
	font-family: 'IRANYekanXFaNum';
	src: url('fonts/IRANYekanXFaNum-Regular.woff2') format('woff2'), url('fonts/IRANYekanXFaNum-Regular.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-stretch: normal;
	font-display: swap;
}
@font-face {
	font-family: 'IRANYekanXFaNum';
	src: url('fonts/IRANYekanXFaNum-Light.woff2') format('woff2'), url('fonts/IRANYekanXFaNum-Light.woff') format('woff');
	font-weight: 300;
	font-style: normal;
	font-stretch: normal;
	font-display: swap;
}
:root {
	--bs-primary: #4169e1;
	--bs-primary-rgb: 65, 105, 225;
	--bs-secondary: #2f2f2f;
	--bs-secondary-rgb: 47, 47, 47;
	--bs-body-color: #131313;
	--bs-light: #f2f2f2;
	--bs-light-rgb: 242, 242, 242;
	--bs-dark: #222222;
	--bs-dark-rgb: 34, 34, 34;
	--bs-body-font-family: IRANYekanXFaNum, Arial, tahoma;
	--bs-box-shadow: 0 5px 5px rgba(0,0,0,0.1);
	--bs-border-radius: 10px;
	--bs-body-font-size: 14px;
	font-size: 14px;
}
body {
	line-height: 2;
}
img {
	max-width: 100%;
}
a {
	text-decoration: none;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	line-height: 2;
	font-weight: bold;
}
.h1, h1 {
	font-size: 18px;
}
.h2, h2, .h3, h3 {
	font-size: 16px;
}
input[type=text], input[type=tel], input[type=number], input[type=email], input[type=password], select, textarea {
	border-radius: 5px !important;
	border: 1px solid #D9D9D9 !important;
	background: #FFFFFF;
	padding: 0 10px !important;
	line-height: 50px !important;
	height: 50px !important;
	font-family: IRANYekanXFaNum !important;
}
textarea {
	display: block;
	height: auto !important;
	min-height: 150px !important;
	line-height: 2em !important;
}
iframe {
	display: block;
	max-width: 100%;
	width: 100%;
}
.text-justify {
	text-align: justify;
}
.btn-primary {
	--bs-btn-color: #fff;
	--bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: transparent;
    --bs-btn-hover-bg: var(--bs-secondary);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: transparent;
    --bs-btn-active-shadow: none;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #999;
    --bs-btn-disabled-border-color: #666;
	border-radius: var(--bs-border-radius);
	border-width: 0; 
	padding: 0 20px;
	height: 50px;
	line-height: 50px;
	transition: all .3s ease-in-out;
}
.btn-secondary {
	--bs-btn-color: #fff;
	--bs-btn-bg: var(--bs-secondary);
    --bs-btn-border-color: transparent;
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-active-bg: var(--bs-secondary);
    --bs-btn-active-border-color: transparent;
    --bs-btn-active-shadow: none;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #999;
    --bs-btn-disabled-border-color: #666;
	border-radius: 5px;
	border-width: 0; 
	padding: 0 10px;
	height: 50px;
	line-height: 50px;
	transition: all .3s ease-in-out;
}
.btn, button {
	padding: 0 2rem;
    height: 50px;
}

.main ::-webkit-scrollbar {
    width: 5px;
	height: 5px
}
.main ::-webkit-scrollbar-track {
    background: #D9D9D9;
	border-radius: 5px;
}
.main ::-webkit-scrollbar-thumb {
    background: var(--bs-primary);
	border-radius: 5px;
}

.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
	max-width: 1800px;
	padding-left: var(--bs-gutter-x);
    padding-right: var(--bs-gutter-x);
}

.icon-24 {
	width: 24px;
	height: 24px;
}
.icon-30 {
	width: 30px;
	height: 30px;
}
.icon-48 {
	width: 48px;
	height: 48px;
}

.cursor-pointer {
	cursor: pointer;
}

header {
	position: relative;
}

.main-menu ul {
	list-style: none;
}
.main-menu ul.menu-l1 > li {
	display: inline-block;
}
.main-menu ul.menu-l1 > li > a {
	padding: 1rem 0;
	transition: all .3s ease-in-out;
	position: relative;
	color: rgba(var(--bs-primary-rgb), 0.8);
	display: inline-block;
	font-weight: bold;
    font-size: 1.1rem;
}
.main-menu ul.menu-l1 > li > a:hover {
	color: var(--bs-primary)
}
.main-menu ul.menu-l1 > li:last-child > a {
	padding-left: 0;
}
.main-menu ul.menu-l1 > li > a.dropdown:after {
	content: url(images/icons/chevron-bottom.svg);
	margin-right: 5px;
}
.main-menu .menu-l2.dropdown-box {
	position: absolute;
	background: #f5f5f5;
	padding: 0;
	min-width: 160px;
	top: 100%;
	right: -999em;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
	border-radius: 0 0 var(--bs-border-radius) var(--bs-border-radius);
	overflow: hidden;
}
.main-menu .menu-l2.dropdown-box li {
	position: relative;
}
.main-menu .menu-l2.dropdown-box li:hover {
	background-color: rgba(var(--bs-primary-rgb), 0.2);
}
.main-menu .menu-l2.dropdown-box li:not(:last-child) {
	margin-bottom: 0;
}
.main-menu .menu-l2.dropdown-box li a {
	font-size: 1rem;
	padding: 7px 15px 7px;
	color: var(--bs-body-color);
	font-size: 0.8rem;
}
.main-menu li.dropdown:hover .dropdown-box {
	right: 0;
	opacity: 1;
}
.main-menu ul.menu-l3.dropdown-box {
	padding: 0;
	min-width: 160px;
	position: absolute;
	right: -999em !important;
	opacity: 0 !important;
	transition: opacity 0.3s ease-in-out;
	top: 0;
	background: #f5f5f5;
}
.main-menu .menu-l2 > li:hover ul.menu-l3.dropdown-box {
	right: calc(100%) !important;
	opacity: 1 !important;
}
.main-menu ul.menu-l2 > li > a {
	display: flex;
	justify-content: space-between;
}
.main-menu ul.menu-l2 > li > a.has-child:after {
	content: url(images/icons/chevron-bottom.svg);
	transform: rotate(90deg) !important;
	margin-right: 5px;
}
header #mobile-menu-toggler {
	width: 35px;
}
header #mobile-menu-toggler .toggler-bar {
	width: 100%;
	height: 2px;
	background: #fff;
	border-radius: 10px;
	display: block;
	margin-bottom: 8px;
}
header #mobile-menu-toggler .toggler-bar:nth-child(1) {
	width: 75%;
}
header #mobile-menu-toggler .toggler-bar:nth-child(3) {
	width: 50%;
}
header #mobile-menu-toggler .toggler-bar:last-child {
	margin: 0;
}
.search-form select {
	border-radius: 0 var(--bs-border-radius) var(--bs-border-radius) 0 !important;
}
.search-form input {
	border-radius: 0 !important;
}
.search-form button {
	border-radius: var(--bs-border-radius) 0 0 var(--bs-border-radius) !important;
}

.rank-math-breadcrumb p {
	margin: 0;
	color: #7a7a7a
}
.rank-math-breadcrumb p a {
	color: #7a7a7a;
}
.rank-math-breadcrumb p a:hover {
	color: var(--bs-primary)
}

.main-slideshow .owl-dots {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 100%;
	text-align: center;
}

.amazing-offer .bg-secondary {
	background-image: url(images/amazing-offer-bg.png) !important;
    background-repeat: no-repeat;
    background-position: right center;
	background-size: contain;
    background-blend-mode: multiply;
	position: relative;
}

.yellow-line {
	position: relative;
}
.yellow-line:before {
	content: '';
	width: 150px;
	height: 6px;
	border-radius: 10px;
	position: absolute;
	bottom: 0;
	right: 0;
	background: var(--bs-secondary);
}
.yellow-line.small:before {
	width: 60px;
	height: 4px;
}
.yellow-line.text-center:before {
	right: 50%;
	transform: translateX(50%)
}
.product-categories-carousel img {
	width: auto !important;
	margin: 0 auto
}

.section-title {
	display: flex;
	align-items: center;
}
.section-title {
	display: flex;
	align-items: center;
	column-gap: 1rem
}
.section-title:after {
	content: '';
	height: 2px;
	background: #e5e5e5;
	flex-grow: 1
}

.title-banner {
	height: 300px;
	background: url(images/titlebanner-bg.jpg) no-repeat center center var(--bs-primary);
	background-blend-mode: multiply;
	position: relative;
}
.title-banner:before {
	content: '';
	width: 100%;
	height: 100%;
	background: var(--bs-primary);
	position: absolute;
	top: 0;
	right: 0;
	opacity: 0.6;
}

.owl-stage {
	display: flex;
}
.product-slider .product.type-product {
	height: 100%;
}
.product-holder {
	overflow: hidden;
	background: #fff;
	height: 100%;
	display: flex;
	flex-direction: column;
}
.product-holder .woocommerce-LoopProduct-link {
	flex-grow: 1;
}
.product-slider .product-holder .add_to_cart_button {
	border-radius: 0;
	transform: translateY(0)
}
.product-holder .price {
	text-align: left;
	font-size: 1.1rem !important;
	color: var(--bs-primary)
}
.product-holder .pack-count {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.25rem 1.5rem;
    color: #000;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 40px;
    backdrop-filter: blur(10px);
}

.post-holder img {
	height: 300px;
	object-fit: cover;
}

.paginate a, .paginate span {
	width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--bs-border-radius);
    color: var(--text-body);
    transition: all 0.3s ease-in-out;
}
.paginate a.next:hover svg path, .paginate a.prev:hover svg path {
	fill: #fff;
}
.paginate a:hover, .paginate span {
	background: var(--bs-primary);
	color: #fff;
}

.newsletter-holder {
	background: url(images/bg-news.jpg) no-repeat right center;
}
.newsletter-holder .row {
	min-height: 500px;
}
.newsletter-holder .fluentform {
	position: relative;
}
.newsletter-holder .fluentform .ff_submit_btn_wrapper {
	position: absolute;
	right: 0;
	top: 0;
}

table {
	width: 100%;
	margin: 2rem 0;
}
table td, table th {
	border: 1px solid #ccc;
	padding: 0.5rem;
}
table th {
	background: #efefef;
}

.advanced-input-field {
	height: 50px;
}
.woocommerce div.product form.cart div.quantity {
	margin-left: 1rem !important
}
.woocommerce .quantity .qty {
	border: none !important;
	border-radius: 0 !important;
	height: 48px !important;
}

.widget-holder {
	border-radius: calc(var(--bs-border-radius) * 2) !important;
    overflow: hidden;
    background: var(--bs-light);
}
.shop-sidebar ul.product-categories {
	padding: 0 1rem;
	list-style: none;
	--bs-link-color: var(--bs-black);
	--bs-link-color-rgb: var(--bs-black-rgb);
	--bs-link-hover-color: var(--bs-primary);
	--bs-link-hover-color-rgb: var(--bs-primary-rgb);
}
.shop-sidebar ul.product-categories ul {
	list-style: none;
	padding-right: 1rem;
}
.shop-sidebar ul.product-categories li {
	position: relative;
}
.shop-sidebar ul.product-categories > li:not(:last-child), .shop-sidebar ul.product-categories .cat-parent .children > li:not(:last-child) {
	margin-bottom: 1rem;
}
.shop-sidebar ul.product-categories li.cat-parent > .toggle-category {
	position: absolute;
    top: 0;
    left: 0;
    height: 30px;
	cursor: pointer;
}
.shop-sidebar ul.product-categories li.cat-parent > .toggle-category:before {
	content: url(images/icons/chevron-left-black.svg);
    width: 20px;
    height: 20px;
    display: inline-block;
    top: 5px;
    position: relative;
	transition: transform .15s ease-in-out;
}
.shop-sidebar ul.product-categories .cat-parent .children {
    height: 0;
    visibility: hidden;
	max-height: calc(5rem + 150px);
	overflow-y: auto;
}
.shop-sidebar ul.product-categories .cat-parent.active > .children {
    height: auto;
	visibility: visible;
	padding-top: 1rem;
	padding-left: 0;
	direction: ltr;
}
.shop-sidebar ul.product-categories .cat-parent.active > .toggle-category:before {
    transform: rotate(-90deg)
}

.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
	width: 45%;
}
.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
	width: 50%;
}
.woocommerce div.product .product_title {
	font-size: 2rem;
}
.woocommerce-product-details__short-description {
	font-size: 1.2rem;
	margin: 2rem 0;
}
.woocommerce-product-gallery__wrapper {
	display: flex;
	flex-direction: row-reverse;
	gap: 1.5rem;
}
.woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image {
	width: 80%;
	border-radius: var(--bs-border-radius);
	overflow: hidden;
}
.woocommerce-product-gallery__wrapper > .thumbnails-col {
	width: 20%;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
.woocommerce-product-gallery__wrapper > .thumbnails-col > .woocommerce-product-gallery__image {
	width: 100% !important;
	border-radius: var(--bs-border-radius);
	overflow: hidden;
}
.woocommerce-product-gallery__wrapper > .thumbnails-col > .woocommerce-product-gallery__image img {
	aspect-ratio: 1;
    object-fit: cover;
}

.attachment-woocommerce_thumbnail {
	height: auto;
	border-radius: var(--bs-border-radius)
}
.woocommerce-loop-product__title {
	display: block;
}
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
	font-size: 2rem;
    color: var(--bs-primary);
    display: block;
    margin: 1.5rem 0;
    font-weight: 700;
}
.price del {
	margin-left: 1rem;
}
.price ins {
	text-decoration: none;
	font-weight: 300 !important;
}
.add_to_cart_button {
    width: 100%;
    height: 50px;
    padding: 0 10px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: var(--bs-border-radius);
    background: #000 !important;
    color: #fff !important;
    font-weight: normal !important;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease-in-out;
}
.add_to_cart_button:hover {
    background: var(--bs-primary) !important;
}

.single_add_to_cart_button {
	height: 50px;
    padding: 0 40px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: var(--bs-border-radius);
    background: #000 !important;
    color: #fff !important;
    font-weight: normal !important;
	transition: all 0.3s ease-in-out;
}
.single_add_to_cart_button:hover {
	background: var(--bs-primary) !important;
}

.product-holder:hover .add_to_cart_button {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
}

.product_meta a {
	color: rgba(0,0,0,0.5);
}
.product_meta a:hover {
	color: var(--bs-primary);
}

.plus, .minus {
	cursor: pointer;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	border: none;
	background: none !important;
	border-radius: 0;
	position: relative;
	font-size: 1.5rem;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	color: var(--bs-body-color) !important;
	opacity: 0.5;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	opacity: 1;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li:before, .woocommerce div.product .woocommerce-tabs ul.tabs li:after {
	display: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a:before {
	content: '';
	width: 100%;
	height: 3px;
	right: 0;
	bottom: -1px;
	position: absolute;
	background: #000;
}

.post-content figure {
	text-align: center;
}
.post-content figure img {
	border-radius: var(--bs-border-radius);
}

footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
footer ul li {
	margin-bottom: 0.5rem;
}
footer ul li a {
	color: var(--bs-body-color);
}
footer ul li a:hover {
	color: var(--bs-primary);
}

@media (max-width: 1399px) {
	.right-offset {
		padding-right: 0.75rem;
	}
}

@media (min-width: 1400px) {
	.right-offset {
		padding-right: calc(calc(100vw - 1440px) / 2);
	}
}

@media (max-width: 767px) {
	header .logo img {
		max-width: 65%;
	}
	body.mobile-menu-active {
		overflow-y: hidden;
	}
	#close-main-menu {
		transform: rotate(45deg);
	}
	header .main-menu .main-menu-holder {
		position: fixed;
		right: -100%;
		width: 70%;
		height: 100%;
		z-index: 10000000000;
		overflow-y: auto;
		transition: all .3s ease-in-out;
		background: var(--bs-dark);
		padding: 1rem 0;
		top: 0;
	}
	.main-menu ul {
		text-align: right;
	}
	header .main-menu .main-menu-holder.menu-active {
		right: 0;
	}
	.main-menu ul.menu-l1 {
		width: 100%;
	}
	.main-menu ul.menu-l1 > li {
		display: block;
	}
	.main-menu ul.menu-l1 > li > a {
		padding: 10px 15px !important;
		display: flex;
		color: #fff;
	}
	.main-menu ul.menu-l1 > li > a.dropdown:after, .main-menu ul.menu-l2 > li > a.has-child:after {
		display: none;
	}
	.main-menu .menu-l2.dropdown-box li a {
		color: #fff;
	}
	.main-menu .menu-l2 > li:hover ul.menu-l3.dropdown-box {
		right: 0 !important;
	}
	.main-menu ul.menu-l1 > li > .dropdown {
		display: flex;
		justify-content: space-between;
	}
	.main-menu .menu-l2.dropdown-box li:hover {
		background: rgba(var(--bs-primary-rgb),0.05);
	}
	header .main-menu .menu-l2.dropdown-box, header .main-menu .menu-l3.dropdown-box {
		position: relative;
		opacity: 1 !important;
		right: unset !important;
		top: unset;
		border-radius: 0;
		box-shadow: none;
		padding: 0;
		margin: 0;
		overflow: hidden;
		max-height: 0;
		transition: max-height 0.3s ease-in-out;
		background: rgba(var(--bs-primary-rgb),0.08);
	}
	header .main-menu .menu-l2.dropdown-box.open, header .main-menu .menu-l3.dropdown-box.open {
		max-height: 100rem;
	}
	.main-menu ul.menu-l1 > li > a:before {
		display: none;
	}
	span.toggle-menu-item:before {
		content: url(images/icons/chevron-left.svg);
		display: block;
		width: 18px;
		height: 18px;
		position: absolute;
		left: 15px;
		transition: all .3s ease-in-out;
		top: 10px;
		opacity: 0.7;
	}
	span.toggle-menu-item.open:before {
		transform: rotate(-90deg);
	}
	.amazing-offer .bg-secondary {
		background-size: cover;
	}
	.post-content figure img {
    	height: auto;
    }

	.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
		width: 100%;
	}
	.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
		width: 100%;
	}

	.woocommerce-product-gallery__wrapper {
		flex-direction: column;
	}
	.woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image {
		width: 100%;
	}
	.woocommerce-product-gallery__wrapper > .thumbnails-col {
		width: 100%;
	}
}
@media (max-width: 575px) {
	.newsletter-holder:before {
		content: '';
		width: 100%;
		height: 100%;
		position: absolute;
		left: 0;
		top: 0;
		background: rgba(255,255,255,0.7);
	}
}