/*
Theme Name: NovinVision
Theme URI: https://www.novinvision.com
Author: نوین ویژن
Author URI: https://www.novinvision.com/
Version: 1.1.0
Description: خرسندیم که افتخار طراحی و برنامه نویسی وب سایت شما بر پایه وردپرس توسط نوین ویژن انجام شده است. از اعتماد شما سپاسگذاریم و امیدواریم در راه استفاده از این پروژه کسب و کار شما همیشه پر رونق و موفق باشد.
Text Domain: theme-slug
*/

body {
    position: relative;
}

.header-bar,
.header-bar .social-links a {
    color: #66a170;
    --bs-link-color: #66a170;
    --bs-link-color-rgb: rgb(102, 161, 112);
    --bs-link-hover-color-rgb: rgb(177, 239, 187);
}

.header-bar .social-links a {
    height: 35px;
    width: 35px;
    font-size: 1.3rem;
    border-radius: 50%;
    padding-top: 2px;
}

.header-bar .social-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.header-menu > li {
    display: inline-block;
}

.header-menu > li > a {
    display: block;
    padding: 5px 10px;
}

.header-secondary .header-secondary--category-bar {
    border: 5px solid var(--bs-light);
}

.header-secondary .header-secondary--btn {
    display: block;
    background-color: var(--bs-primary);
    border-radius: var(--bs-border-radius);
    font-size: 1.1rem;
    color: #ffffff;
    height: 100%;
}

.header-secondary .header-secondary--btn > div {
    height: 100%;
    width: 80px;
    transition: all ease 0.3s;
    position: relative;
}

.header-secondary .header-secondary--btn:hover > div {
    background-color: rgba(255, 255, 255, 0.1);
}

header .btn-wishlist .badge,
.header-secondary .header-secondary--btn > div .badge {
    position: absolute;
    top: 5px;
    left: 10px;
    border-radius: 50%;
    padding: 4px 0 0 0;
    height: 20px;
    width: 20px;
}

header .btn-wishlist{
    position: relative;
}

header .btn-wishlist .wishlist_products_counter_text{
    display: none !important;
}

header .btn-wishlist .badge{
    top: -5px;
    left: -5px;
}

.site-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-menu > li {
    display: inline-block;
    position: relative;
}

.site-menu > li > a {
    color: #333333;
    display: block;
    padding: 5px 10px;
}

.site-menu > li > a:hover {
    color: var(--bs-primary);
    --bs-link-color-rgb: var(--bs-primary-rgb);
    --bs-link-hover-color-rgb: var(--bs-primary-rgb);
}

.site-menu > li > .sub-menu {
    position: absolute;
    list-style: none;
    top: 100%;
    right: 0;
    z-index: 99999;
    background-color: var(--bs-body-bg);
    border-radius: var(--bs-border-radius);
    padding: 1rem;
    width: 250px;
    box-shadow: 5px 10px 15px rgba(0, 0, 0, 0.05);
    margin: 0;
}

.site-menu > li .sub-menu > li > a {
    color: var(--bs-body-color);
}

.site-menu > li .sub-menu > li > a:hover {
    color: var(--bs-primary);
}

.site-menu > li > .sub-menu > .menu-item-has-children > a {
    font-weight: 700;
    color: var(--bs-primary);
}

.header-secondary--category-bar .site-menu > li > a:before {
    font-family: "Font Awesome 6 Pro";
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    content: "\e411";
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}

footer .footer-line--shadow {
    position: relative;
}

footer .footer-line--shadow:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: -30px;
    width: 10px;
    border-radius: 0 2rem 2rem 0;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.05), transparent);
}

footer .custom-logo-link img {
    width: 140px;
}

.footer-go-to-top hr {
    border-color: #cccccc;
}

.footer-go-to-top .btn {
    border: 1px solid #eeeeee;
}


.footer-menu {
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.footer-menu li {
    width: 50%;
    flex: 0 0 auto;
}

@media (min-width: 768px) {
    .footer-menu li {
        width: 33.3333%;
    }
}

.footer-menu.footer-line-menu {
    align-content: center;
    justify-content: center;
    list-style: none;
}

.footer-menu.footer-line-menu li {
    width: auto;
    position: relative;
}

.footer-menu.footer-line-menu li a {
    display: block;
    padding: 5px 20px;
}

.footer-menu.footer-line-menu li:not(:last-child) a:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -3px;
    margin: auto;
    display: inline-block;
    vertical-align: middle;
    height: 6px;
    width: 6px;
    background-color: #cccccc;
    border-radius: 50%;
}

.footer-products .product-name {
    display: block;
    font-weight: 600;
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--bs-secondary-color);
}

.footer-products .product-name:hover {
    color: var(--bs-link-color);
}

.dropdown-user .dropdown-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(15px);
    z-index: -1;
    transition: opacity ease 0.3s, transform ease 0.3s;
}

.dropdown-user:hover .dropdown-menu {
    z-index: 1005;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-user .dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
}

.dropdown-user .dropdown-menu .dropdown-menu--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    border: 1px solid #eeeeee;
    margin-left: 10px;
}

.dropdown-user .dropdown-menu-user {
    width: 300px;
    left: 0;
    right: auto;
    --bs-dropdown-item-padding-y: .5rem;
    --bs-dropdown-item-padding-x: 1rem;
}


.rank-math-breadcrumb,
.woocommerce .woocommerce-breadcrumb{
    font-size: 90%;
    color: var(--bs-secondary-color);
}