/*
Theme Name: Tosan Shop
Theme URI: https://shop.tosan.com/
Author: Mohsen Moridi
Author URI: https://mohsenmoridi.com/
Description: Custom WordPress theme for a private client. Not for public distribution.
Version: 1.0
Text Domain: tosan-shop
*/


:root {
    --swiper-theme-color: #000 !important;
}

a {
    color: var(--color-primary);
}

.container {
    width: 100%;
    max-width: 1432px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}


header#header {
    border-bottom: 1px solid #eee;
    direction: rtl;
    background: #fff;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}
.admin-bar header#header {
    top: 32px;
}

.header-row .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
}


.bottom-row {
    background: #fff;
    border-bottom: 1px solid #e1e9ef;
}

.logo img {
    height: 60px;
    max-width: 100%;
}

.header-search {
    flex: 1;
    max-width: 500px;
    margin: 0 1rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.main-category-menu {
    display: flex;
    gap: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.main-category-menu li {
    position: relative;
}

.main-category-menu ul {
    position: absolute;
    top: 100%;
    right: -7px;
    background: #fff;
    border: 1px solid #e1e9ef;
    min-width: 200px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    border-top: unset;
    border-radius: 0 0 8px 8px;
    padding: 0 6px 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.main-category-menu li:hover>ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(16px);
    transition-delay: 0s;
    z-index: 999;
}

.cart-icon {
    position: relative;
}

.cart-icon .count {
    position: absolute;
    top: 8px;
    left: 2px;
    color: #777E90;
    font-size: 11px;
    padding: 2px 0px;
    line-height: 14px;
    padding-top: 2px;
    box-sizing: border-box;
    height: 13px;
    width: 20px;
    font-weight: 800;
    font-family: VazirmatnFD, 'Vazirmatn';
    text-align: center;
}

.user-dropdown {
    position: relative;
}

.user-dropdown nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    min-width: 160px;
    z-index: 100;
}

.user-dropdown:hover nav {
    display: block;
}


.main-menu,
.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-dropdown ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
    border: 1px solid #ccc;
    min-width: 160px;
    z-index: 999;
}

.user-dropdown:hover ul {
    display: block;
}

.live-search-form {
    position: relative;
}

.live-search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.live-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    /* border: 1px solid #ddd; */
    max-height: 322px;
    overflow-y: auto;
    display: none;
    z-index: 9999;
    margin: 0;
    padding: 0;
    list-style: none;
}


.live-search-form input {
    width: 100%;
    background: #F4F5F6;
    padding: 8px 16px 7px 41px;
    border-radius: 8px;
}



.custom-section {
    margin: 80px 0;
}

.section-subtitle {
    text-align: center;
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 16px;
}

.section-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 40px;
}

.product-categories-swiper .swiper-slide a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 31px;
    color: #34456e;
}

.product-categories-swiper .swiper-slide img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.product-categories-swiper .swiper-slide h2 {
    font-size: 16px;
}




.custom-product-wrapper {
    list-style: none;
    border: 1px solid #eee;
    border-radius: 8px;
    direction: rtl;
    position: relative;
    text-align: center;
    display: flex;
    height: 100%;
    flex-direction: column;
    transition: 0.3s all ease-in-out;
}

.product-info .onsale {
    display: none;
}

.product-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    flex-direction: row-reverse;
    right: 16px;
    position: absolute;
    left: 16px;
}

.discount-badge {
    color: #D80027;
    background: #FFEBEB;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 3px 11px 0;
    border-radius: 30px;
    font-size: 12px;
}

.countdown-timer {
    /* color: #D80027; */
    /* font-size: 0.8rem; */
    /* margin-top: 4px; */
    font-family: VazirmatnFD, 'Vazirmatn';
}

.woocommerce ul.products li.product a img {
    margin: 0;
}

.product-subtitle {
    font-size: 0.85rem;
    color: #666;
    margin: 5px 0;
}

.product-title {
    font-size: 14px;
    font-weight: normal;
    color: #727273;
    /* margin-top: 16px; */
    display: flex;
    flex-direction: column;
    gap: 5px;
    /* align-items: flex-start; */
}

.product-price del {
    font-size: 0.9rem;
    text-decoration: unset;
    position: relative;
    opacity: 0.4;
    /* margin-left: 6px; */
}

.product-price strong {
    color: #e00;
    font-size: 1.1rem;
    display: block;
}


.crp-wrapper {
    direction: rtl;
    margin-top: 40px;
}

.crp-post-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 42px;
}


.crp-post-thumb img {
    width: 100%;
    border-radius: 8px 8px 0 0;
}

.crp-post-title {
    font-size: 16px;
    color: #222;
}

.crp-post-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.crp-post-category {
    font-size: 13px;
    color: #95A1BB;
    margin-top: auto;
}

.crp-view-all {
    text-align: center;
    /* margin-top: 40px; */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.center-slider .swiper-wrapper {
    display: flex;
    justify-content: center;
	gap:8px;
}

.center-slider .categories-next,
.center-slider .categories-next {
    display: none;
}



.banks-logos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    background: #F9F9F9;
    max-width: 970px;
    margin: auto;
    border-radius: 32px;
    padding: 16px;
}

.banks-logos img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-width: 100px;
    padding: 24px 32px;
    box-sizing: content-box;
}

.partners-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 42px;
}

.partners-list img {
    height: 143px;
    max-width: 200px;
    object-fit: contain;
    padding: 23px;
    border: 1px solid #ededed;
    border-radius: 8px;
}

.custom-footer {
    background-color: #155693;
    color: white;
}

.footer-contact {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.footer-socials a {
    margin-right: 10px;
    color: white;
    text-decoration: none;
    padding: 5px;
    transition: 0.3s background-color ease-in-out;
    border-radius: 6px;
}

.footer-socials a:hover {
    text-decoration: underline;
}

footer.custom-footer .container {
    padding: 40px 23px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

p.footer-title {
    color: #FCAE16;
    margin-bottom: 18px;
}

.footer-socials {
    display: flex;
    flex-direction: row-reverse;
}

.footer-left {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

nav.footer-menu ul {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-location {
    margin-bottom: 22px;
}

.footer_bottom {
    background: #004A8F;
    color: #95A1BB;
}

.footer_bottom p {
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    padding: 22px 0px;
    text-align: center;
}

.timer-container {
    display: flex;
    flex-direction: row-reverse;
    gap: 4px;
    padding: 0 0 9px;
    position: absolute;
    top: 16px;
    left: 12px;
    right: 12px;
    color: #D80027;
    font-size: 0.8rem;
    align-items: center;
    border-bottom: 1px solid #D80027;
}

.discount-badge span {
    font-size: 15px;
    position: relative;
    top: 1px;
    font-family: VazirmatnFD, 'Vazirmatn';
}

.product-title strong {
    color: #000;
    font-size: 18px;
    margin-top: 0px;
}

p.product-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: auto;
    line-height: 1.1;
}

.product-price del:after {
    content: '';
    display: block;
    right: 0;
    border-bottom: 1px solid #000000;
    transform: rotate(5deg);
    position: absolute;
    top: 46%;
    left: 0;
}

.product-price bdi {
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: VazirmatnFD, 'Vazirmatn';
}

.product-price del bdi {
    font-size: 15px;
}




span.woocommerce-Price-currencySymbol {
    font-size: 12px;
}

ins {
    text-decoration: unset;
}


.home-slider img {
    width: 100%;
    height: 426px;
    object-fit: cover
}

.swiper-slide {
    display: flex !important;
    height: auto !important;
}


.product-info {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.home-slider {
    max-width: 1920px;
}

.product-categories-swiper .swiper-slide {
    width: 140px;
    display: flex;
    flex-direction: column;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    display: none;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
    display: none;
}


.fd-numbers {
    font-family: 'VazirmatnFD', inherit;
}


img.mobile-img {
    display: none;
}

.banks-logos-mobile-div {
    display: none
}


.partner-item {
    width: auto !important;
}

.partner-item img {
    object-fit: contain;
}

.partners-list .swiper-wrapper {
    display: flex;
    justify-content: center;
}




.whyus-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(279px, 1fr));
    gap: 60px 10px;
    color: #304659;
    margin: 60px 0;
}

.whyus-item {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    gap: 14px;
}

.whyus-item img {
    height: 54px;
    margin-bottom: 10px;
    width: auto;
}



.footer-location p {
    display: flex;
    gap: 8px;
}

.footer-location p svg {
    stroke: #ffffff4a;
    width: 18px;
}

.footer-contact p a {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 10px;
}

.footer-contact p svg {
    stroke: #ffffff4a;
    width: 18px;
    margin-top: -7px;
}

.footer-socials a:hover {
    background: #004a8f;
}

.whyus-item p {
    font-size: 12px;
}

.footer-top {
    background: #F4FAFF;
    padding: 32px;
}

.footer-top .container {
    display: flex;
    justify-content: space-between;
}

.footer-ceritificate {
    display: flex;
    gap: 16px;
}

.footer-top .logo img {
    width: 115px;
    height: 71px;
}

.show_all_prd a,.crp-view-all a {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 12px;
    height: 100%;
    align-items: center;
    gap: 27px;
    justify-content: center;
    width: 100%;
    border-radius: 6px;
    font-size: 20px;
}

.show_all_prd a svg, .crp-view-all a svg {
    width: 46px;
}


.woocomerce-archvie.container {
    margin: 32px auto;
}



header.woocommerce-products-header {
    margin: 32px 0 32px;
    /* text-align: center; */
}


a.woof_radio_term_reset {
    display: none !important;
}

ins.iCheck-helper {
    display: none !important;
}

.iradio_square-blue {
    display: none;
}

ul.woof_list {
    display: flex;
    flex-wrap: wrap;
}



#woof_results_by_ajax ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1rem;
}

#woof_results_by_ajax ul.products li.product {
    width: 100%;
    margin: 0;
}

#woof_results_by_ajax ul.products::after,
#woof_results_by_ajax ul.products::before {
    display: none
}

.woof_shortcode_output {
    width: 100%;
}


.woof_checkbox_label_selected {
    font-weight: normal;
    background: #004a8e;
    color: #fff !important;
    border-color: #004a8e !important;
}

.irs--round .irs-from,
.irs--round .irs-to,
.irs--round .irs-single,
.irs--round .irs-bar,
.irs--round .irs-handle {
    background-color: #004a8e !important;
    border-color: #004a8e !important;
}

.irs--round .irs-from:before,
.irs--round .irs-to:before,
.irs--round .irs-single:before {
    border-top-color: #004a8e !important;
}


.product-info a {
    height: 100%;
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
}


.product-attributes {
    display: flex;
    justify-content: space-evenly;
    gap: 6px;
    margin-bottom: 14px;
}

span.attribute-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    color: #333;
    gap: 6px;
    direction: ltr;
}

span.attribute-item svg {
    stroke: #d7d7d7;
    width: 20px;
}


.shop-content-wrapper {
    display: flex;
    gap: 32px;
}

main#main {
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
    margin: 32px auto;
}

.custom-shop-header {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.custom-shop-header-in {
    width: 100%;
    background: #F4FAFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-radius: 8px;
    font-size: 12px;
}

p.woocommerce-result-count {
    margin: 0 !important;
    line-height: 1 !important;
    font-family: VazirmatnFD, 'Vazirmatn';
}

a.toggle-sidebar.btn.btn-outline {
    /* min-width: 300px; */
    border-radius: 8px;
    width: 109px;
    display: none;
}

aside#secondary {
    width: 370px;
}

.woof label {
    font-size: 12px;
    border: 1px solid #eee;
    padding: 3px 6px 1px;
    border-radius: 6px;
    margin: 0 0 8px 3px !important;
    font-family: VazirmatnFD, 'Vazirmatn';
    color: #888;
}

.icheckbox_square-blue {
    display: none;
}

.widget.WOOF_Widget {
    border: 1px solid #eee;
    padding: 26px;
}

.irs--round .irs-from,
.irs--round .irs-to,
.irs--round .irs-single {
    font-family: VazirmatnFD, 'Vazirmatn';
}

.irs--round .irs-grid-text {
    font-family: VazirmatnFD, 'Vazirmatn';
}

.shop-content-side {
    width: 300px;
    min-width: 300px;
    padding: 16px;
    border: 1px solid #eee;
    border-radius: 8px;
}

div#woof_results_by_ajax {
    width: 100%;
}


.switcher23-toggle>span {
    left: unset;
    right: 14px;
}

.switcher23-container .switcher23-title2 {
    margin-right: 41px;
    font-size: 14px;
}

.switcher23-toggle {
    border: unset !important;
    margin: 32px !important;
}

.woof_container {
    margin-bottom: 22px;
}

.woof_container_inner h4 {
    font-size: 14px;
}

.woof_fs_by_instock {
    margin-top: 29px;
}

.woof_products_top_panel {}

ul.woof_products_top_panel_ul {
    display: flex;
    font-size: 13px;
    align-items: center;
}

.woof_products_top_panel li {
    margin: 0 0 0 8px !important;
    float: unset;
    display: flex;
    align-items: center;
}

.woof_reset_button_2 {
    color: #ea191f;
    border: 1px solid #ea191f;
    border-radius: 4px;
    font-size: 12px;
    line-height: 2;
}

.woof_products_top_panel_ul a {
    border: 1px solid #eee;
    padding: 6px 8px 3px;
    border-radius: 4px;
    /* height: 24px; */
    line-height: 1.5;
    display: flex;
    align-items: center;
}

.woof_products_top_panel li span,
.woof_products_top_panel2 li span {
    background: unset;
    padding-right: 6px;
    font-family: VazirmatnFD, 'Vazirmatn';
    font-style: normal;
}

.woof_products_top_panel li a:before {
    content: '';
    width: 15px;
    height: 16px;
    display: block;
    background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLXgtaWNvbiBsdWNpZGUteCI+PHBhdGggZD0iTTE4IDYgNiAxOCIvPjxwYXRoIGQ9Im02IDYgMTIgMTIiLz48L3N2Zz4=");
    background-size: contain;
    margin-top: -1px;
}

.woof_products_top_panel ul {
    display: flex !important;
}


form.custom-ordering-radio {
    display: flex;
    gap: 10px;
    padding: 0 10px;
}

form.custom-ordering-radio label:has(input[type="radio"]:checked) {
    color: #004891;
    font-weight: bold;
}

form.custom-ordering-radio label {
    cursor: pointer;
}


.shop-content-wrapper.hide .shop-content-side {
    display: none;
}

.shop-content-wrapper.hide a.toggle-sidebar.btn.btn-outline {
    display: flex;
}

h3.filter-title {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 27px;
    padding-bottom: 10px;
    margin-right: -16px;
    margin-left: -16px;
    padding: 0 10px 10px;
    margin-top: -3px;
    gap: 8px;
    font-size: 14px;
    align-items: center;
}

a.hide-sidebar {
    margin-right: auto;
}

.shop-content-side>a.hide-sidebar {
    display: none;
}

.js-grid-text-1,
.js-grid-text-2,
.js-grid-text-3 {
    display: none;
}

.irs--round .irs-min,
.irs--round .irs-max {
    display: none;
}

.live-search-results li a {
    display: flex;
    align-items: center;
    background: #f9f9f9;
    padding: 4px;
    gap: 7px;
    margin: 5px;
    border-radius: 8px;
    transition: 0.3s ease-in-out background;
}

/* Search section titles */
.live-search-results .search-section-title {
    color: #004891 !important;
    font-weight: bold;
    font-size: 12px;
    padding: 4px 12px !important;
    margin: 8px 5px 0px 5px !important;
    border-radius: 6px;
}

.live-search-results .search-section-title a {
    background: none !important;
    color: white !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Search items */
.live-search-results .search-item a {
    background: #f9f9f9;
    padding: 8px;
    gap: 10px;
    margin: 3px 5px;
    border-radius: 8px;
    transition: 0.3s ease-in-out background;
    font-size: 13px;
}

.live-search-results .search-item a:hover {
    background: #e9ecef;
}

.live-search-results .search-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

/* More links */
.live-search-results .search-more-link {
    text-align: center;
    margin: 8px 5px 4px 5px;
}

.live-search-results .search-more-link a {
    background: #e3f2fd !important;
    color: #004891 !important;
    font-size: 11px;
    padding: 6px 12px !important;
    border-radius: 6px;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
}

.live-search-results .search-more-link a:hover {
    background: #bbdefb !important;
}

.live-search-results li a img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
    color: #155693;
}

.live-search-results li a:hover {
    background: #edf4f7;
}

div.woof_info_popup {
    z-index: 999999;
    background: #00498eb6;
    backdrop-filter: blur(6px);
    box-shadow: unset !important;
    font-family: 'Vazirmatn';
    font-size: 16px;
    width: 160px;
    
    left: calc(50% - 246px);
}



#woof_html_buffer:before,
form#live-search-form.loading:before {
    content: '';
    display: inline-block;
    width: 34px;
    height: 34px;
    background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWxvYWRlci1pY29uIGx1Y2lkZS1sb2FkZXIiPjxwYXRoIGQ9Ik0xMiAydjQiLz48cGF0aCBkPSJtMTYuMiA3LjggMi45LTIuOSIvPjxwYXRoIGQ9Ik0xOCAxMmg0Ii8+PHBhdGggZD0ibTE2LjIgMTYuMiAyLjkgMi45Ii8+PHBhdGggZD0iTTEyIDE4djQiLz48cGF0aCBkPSJtNC45IDE5LjEgMi45LTIuOSIvPjxwYXRoIGQ9Ik0yIDEyaDQiLz48cGF0aCBkPSJtNC45IDQuOSAyLjkgMi45Ii8+PC9zdmc+") no-repeat center/contain;
    animation: rotate 5s linear infinite;
    position: absolute;
    left: 4px;
    top: 3px;
    background-color: #f4f5f6;
    border-radius: 19px;
    z-index: 9;
    /* padding: 10px; */
    background-size: 22px;
}

#woof_html_buffer:before {
    position: unset;
    display: block;
    margin: auto;
    margin-bottom: 16px;
    background-color: unset;
    filter: invert(1);
    width: 32px;
    height: 32px;
    background-size: 32px;
}
@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

:root {
    --total-header-height: 149px;
}

body {
    padding-top: var(--total-header-height);
}

body>.ad-container.fixed, #header.fixed {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 9999;
}

.ad-container.fixed {
    top: var(--admin-bar-height);
}

#header.fixed {
    top: calc(var(--admin-bar-height) + var(--ad-height));
}

.bottom-row {
    transition: top 0.3s ease-out;
    height: 57px;
    position: absolute;
    top: 93px;
    width: 100%;
}

.bottom-row.fixed {
    /* height: 0; */
    overflow: hidden;
    border: unset;
    top: 7px;
}

@media (max-width: 1440px) {
    .ad-container.above_header img {
        height: 60px !important;
    }

    .ad-container.blog_top img {
        height: 60px !important;
    }
}

.ad-container.above_header img {
    object-fit: cover;
    object-position: center;
}

.ad-container.blog_top img {
    object-fit: cover;
    object-position: center;
}


.main-category-menu li ul a {
    display: block;
    padding: 7px 10px;
    transition: 0.3s ease-in-out all;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    color: #34456e;
}

.main-category-menu li ul a:hover {
    background: #F4FAFF;
    color: #004a8e;
    font-weight: bold;
}

.main-category-menu ul:not(:hover) {
    transition-delay: 0.3s;
}

.main-category-menu>li>a {
    background: #ffffff;
    padding: 7px 10px;
    transition: 0.3s ease-in-out all;
    border-radius: 8px;
    color: #000000;
}


.main-category-menu>li>a:hover {
    background: #F4FAFF;
    color: #004a8e;
    /* font-weight: bold; */
}

.woof_price_filter_txt {
    width: 100%;
    max-width: unset;
    padding-top: 6px !important;
    border-radius: 7px;
    font-family: VazirmatnFD, 'Vazirmatn';
}

label.woof_wcga_label_hide {}

.woof_price_filter_txt_slider {
    height: 140px;
}

.woof_price_filter_txt_slider label.woof_wcga_label_hide {
    display: block !important;
    border: unset;
    margin: 0 !important;
    outline: none !important;
}

span.irs-to {
    display: none;
}

span.irs-from {
    display: none;
}

.irs--round .irs-grid {
    /* border-top: 2px solid #eee; */
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}



span.irs-grid-text.js-grid-text-4 {
    margin-left: -24% !important;
}

.back-icon-mobile {
    display: none;
}


.sp-thumbnails-item {
    width: 50px;
}

.sp-thumbnails-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}






.sp-container {
    display: flex;
    gap: 32px;
    flex-direction: row-reverse;
}

.sp-right-top {
    display: flex;
    width: 100%;
    border: 1px solid #eee;
    padding: 24px;
    border-radius: 16px;
    /* background: #eeeeee2e; */
    gap: 32px;
}

.sp-left {
    width: 69%;
}

.sp-data {
    width: 100%;
    gap: 8px;
    display: flex;
    flex-direction: column;
}

.sp-images {
    width: 80%;
}

h1.sp-title {
    font-size: 20px;
}

.sp-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 13px;
    line-height: 2;
}


.sp-value-wrap {
    display: flex;
    justify-content: space-around;
    font-size: 11px;
    font-weight: normal;
    gap: 16px;    
    margin: 30px 0 40px;
}


.sp-value-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* width: 160px; */
    gap: 12px;
}

.sp-value-item img {
    width: 50px;
    aspect-ratio: 1;
    object-fit: contain;
}

span.irs-single {
    display: none;
}

#live-search-results li.message {
    padding: 15px 18px 7px;
    font-size: 14px;
}

.product-sections-nav {
    position: sticky;
    top: calc(var(--ad-height) + 93px);
    margin: 20px 0px 20px 0;
    z-index: 2;
    border-bottom: 2px solid #d9d9d9;
}

.cost-info {
    display: flex;
    gap: 14px;
    color: #222;
    align-items: flex-start;
    flex-direction: column;
    font-size: 13px;
    padding: 16px 16px;
    background: #f1f8ff;
    margin: 21px 0;
    border-radius: 8px;
}

.cost-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* font-weight: normal; */
    color: #004a8e;
}

.cost-item i[data-lucide="dollar-sign"] {
    stroke: #4caf50;
    width: 20px;
    height: 20px;
}

.cost-item i[data-lucide="truck"] {
    stroke: #2196f3;
    width: 20px;
    height: 20px;
}

span.progress-bar-fill {
    background: #5bcba2;
    display: block;
    height: 100%;
}

.rating-bars {
    display: flex;
    flex-direction: column-reverse;
    gap: 0px;
    color: #c1c1c1;
}

.rating-bar-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.progress-bar-bg {
    width: 100%;
    background: #eeeeee47;
    border-radius: 10px;
    overflow: hidden;
    height: 12px;
}

.review-overview {
    font-family: VazirmatnFD, 'Vazirmatn';
}

div#comments.product-section {
    display: flex;
}


.sp-left-in {
    position: sticky;
    top: 190px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 16px;
    background: #fff;
    z-index: 9;
}

p.attribute-item {
    display: flex;
    gap: 12px;
    border-bottom: 2px solid #fbfbfb;
    padding: 8px 13px;
}

p.attribute-item:last-child {
    border: unset;
}

.sp-attributes-list {
    padding: 6px 0px;
    background: #fff;
    border-radius: 8px;
    font-family: VazirmatnFD, 'Vazirmatn';
    font-size: 13px;
}

#user-reviews {
    display: flex;
    gap: 13px;
    align-items: stretch;
    font-size: 14px;
    font-family: VazirmatnFD, 'Vazirmatn';
    gap: 40px;
    margin: 72px 0 9px;
}

.sp-comments h3 {
    font-weight: bold;
    font-size: 14px;
}

.product-sections-nav ul {
    display: flex;
    background: #fff;
    gap: 5px;
    padding: 4px 15px;
    /* border-radius: 16px; */
}

.product-sections-nav ul a {
    padding: 8px 16px;
    display: block;
    border-radius: 16px;
    color: #000;
}

.product-sections-nav ul a:hover {
    background: #fff;
}

.sp-discount-badge {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    flex-direction: row-reverse;
    border-bottom: 2px solid #d80f40;
    padding-bottom: 19px;
}

.smithson-activation-fee-block {
    border-bottom: 1px dashed #cbcbcb61;
    padding-bottom: 16px;
    padding-top: 8px;
}

p.smithson-activation-fee-label {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 16px;
    align-items: flex-end;
}

p.smithson-activation-fee-label strong {
    width: 100%;
    font-size: 14px;
}

.cost-item svg {
    stroke: #1b8df5;
    width: 19px;
}


bdi {
    display: inline-flex;
    gap: 5px;
    align-items: center;
}

span.woocommerce-Price-currencySymbol {
}

span.discount-amount {
    color: #d80f40;
    /* color: #fff; */
    /* padding: 3px 5px 0px; */
    font-size: 22px;
    display: inline-block;
    border-radius: 4px;
    font-family: VazirmatnFD, 'Vazirmatn';
    /* margin-top: 6px; */
    font-weight: bold;
}

.sp-price {
    font-family: VazirmatnFD, 'Vazirmatn';
}

span.discount-amount span.woocommerce-Price-currencySymbol:before {
    filter: invert(1);
    width: 19px;
}

.discount-info {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
    line-height: 1;
    gap: 9px;
}

.discount-info .regular-price {
    color: #aaa;
    position: relative;
    bottom: 2px;
}

.discount-info .regular-price span.woocommerce-Price-currencySymbol {
    display: none;
}

.price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 13px;
    margin: 27px 0;
}

.discount-info .current-price {
    font-size: 24px;
    font-weight: 900;
}

.discount-info .regular-price :before {
    content: '';
    display: block;
    height: 1px;
    background: #a1a1a1;
    width: 100%;
    position: absolute;
    top: 44%;
    transform: rotate(3deg);
}

button.smithson-activation-fee-toggle{
    background: unset;
    border: 1px solid #69d1a8;
    margin-top: 8px;
    display: inline-block;
    padding: 8px 20px 8px;
    color: #36b180;
    font-size: 14px;
    font-weight: normal;
    border-radius: 4px;
    height: 40px;
    line-height: 1;
    transition: 0.3s all;
}

button.smithson-activation-fee-toggle[data-state="on"] {
    color: #d80f40;
    border-color: #ed9f9f;
}

button.smithson-activation-fee-toggle[data-state="on"]:hover {
    background: #ed9f9f2b;
}

button.smithson-activation-fee-toggle:hover {
    background: #6acfa714;
}

.smithson-after-add {
    display: flex;
    gap: 10px;
}

a.button.smithson-view-cart.full-width {
    width: 100%;
    text-align: center;
    background: #004a8e;
    color: #fff;
}

button.button.smithson-remove-from-cart {
    color: #d80f40;
    background: unset;
    border: 1px solid #ed9f9f;
    display: inline-block;
    padding: 8px 20px 6px;
    font-size: 14px;
    font-weight: normal;
}

h2.sp-section-title {
    display: flex;
    gap: 7px;
    align-items: center;
    font-size: 20px;
    /* font-weight: normal; */
    color: #004a8e;
    margin: 0px 0 40px;
}

ul#specs-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    direction: rtl;
    font-size: 15px;
}

ul#specs-list li {
    /* display: flex; */
    gap: 11px;
    background: #f9fcfe;
    padding: 11px 32px;
    border-radius: 12px;
    color: #052644;
}

ul#specs-list li span {
    float: right;
    margin-left: 9px;
    font-weight: bold;
}

button#toggle-specs {
    padding: 9px 20px 7px;
    border: 1px solid #eee;
    margin-top: 16px;
    border-radius: 8px;
    cursor: pointer;
}

button#toggle-review {
    padding: 9px 20px 7px;
    border: 1px solid #eee;
    margin-top: 16px;
    border-radius: 8px;
}


.score-stars {
    mask-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyLjI1IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLXN0YXItaWNvbiBsdWNpZGUtc3RhciI+PHBhdGggZD0iTTExLjUyNSAyLjI5NWEuNTMuNTMgMCAwIDEgLjk1IDBsMi4zMSA0LjY3OWEyLjEyMyAyLjEyMyAwIDAgMCAxLjU5NSAxLjE2bDUuMTY2Ljc1NmEuNTMuNTMgMCAwIDEgLjI5NC45MDRsLTMuNzM2IDMuNjM4YTIuMTIzIDIuMTIzIDAgMCAwLS42MTEgMS44NzhsLjg4MiA1LjE0YS41My41MyAwIDAgMS0uNzcxLjU2bC00LjYxOC0yLjQyOGEyLjEyMiAyLjEyMiAwIDAgMC0xLjk3MyAwTDYuMzk2IDIxLjAxYS41My41MyAwIDAgMS0uNzctLjU2bC44ODEtNS4xMzlhMi4xMjIgMi4xMjIgMCAwIDAtLjYxMS0xLjg3OUwyLjE2IDkuNzk1YS41My41MyAwIDAgMSAuMjk0LS45MDZsNS4xNjUtLjc1NWEyLjEyMiAyLjEyMiAwIDAgMCAxLjU5Ny0xLjE2eiIvPjwvc3ZnPg==');
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center;
    -webkit-mask-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyLjI1IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLXN0YXItaWNvbiBsdWNpZGUtc3RhciI+PHBhdGggZD0iTTExLjUyNSAyLjI5NWEuNTMuNTMgMCAwIDEgLjk1IDBsMi4zMSA0LjY3OWEyLjEyMyAyLjEyMyAwIDAgMCAxLjU5NSAxLjE2bDUuMTY2Ljc1NmEuNTMuNTMgMCAwIDEgLjI5NC45MDRsLTMuNzM2IDMuNjM4YTIuMTIzIDIuMTIzIDAgMCAwLS42MTEgMS44NzhsLjg4MiA1LjE0YS41My41MyAwIDAgMS0uNzcxLjU2bC00LjYxOC0yLjQyOGEyLjEyMiAyLjEyMiAwIDAgMC0xLjk3MyAwTDYuMzk2IDIxLjAxYS41My41MyAwIDAgMS0uNzctLjU2bC44ODEtNS4xMzlhMi4xMjIgMi4xMjIgMCAwIDAtLjYxMS0xLjg3OUwyLjE2IDkuNzk1YS41My41MyAwIDAgMSAuMjk0LS45MDZsNS4xNjUtLjc1NWEyLjEyMiAyLjEyMiAwIDAgMCAxLjU5Ny0xLjE2eiIvPjwvc3ZnPg==');
    -webkit-mask-repeat: repeat;
    -webkit-mask-size: contain;
    -webkit-mask-position: left;
    background: #e7e7e74f;
    aspect-ratio: 5;
    direction: ltr;
}

.score-stars-in {
    mask-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyLjI1IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLXN0YXItaWNvbiBsdWNpZGUtc3RhciI+PHBhdGggZD0iTTExLjUyNSAyLjI5NWEuNTMuNTMgMCAwIDEgLjk1IDBsMi4zMSA0LjY3OWEyLjEyMyAyLjEyMyAwIDAgMCAxLjU5NSAxLjE2bDUuMTY2Ljc1NmEuNTMuNTMgMCAwIDEgLjI5NC45MDRsLTMuNzM2IDMuNjM4YTIuMTIzIDIuMTIzIDAgMCAwLS42MTEgMS44NzhsLjg4MiA1LjE0YS41My41MyAwIDAgMS0uNzcxLjU2bC00LjYxOC0yLjQyOGEyLjEyMiAyLjEyMiAwIDAgMC0xLjk3MyAwTDYuMzk2IDIxLjAxYS41My41MyAwIDAgMS0uNzctLjU2bC44ODEtNS4xMzlhMi4xMjIgMi4xMjIgMCAwIDAtLjYxMS0xLjg3OUwyLjE2IDkuNzk1YS41My41MyAwIDAgMSAuMjk0LS45MDZsNS4xNjUtLjc1NWEyLjEyMiAyLjEyMiAwIDAgMCAxLjU5Ny0xLjE2eiIvPjwvc3ZnPg==);
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center;
    -webkit-mask-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyLjI1IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLXN0YXItaWNvbiBsdWNpZGUtc3RhciI+PHBhdGggZD0iTTExLjUyNSAyLjI5NWEuNTMuNTMgMCAwIDEgLjk1IDBsMi4zMSA0LjY3OWEyLjEyMyAyLjEyMyAwIDAgMCAxLjU5NSAxLjE2bDUuMTY2Ljc1NmEuNTMuNTMgMCAwIDEgLjI5NC45MDRsLTMuNzM2IDMuNjM4YTIuMTIzIDIuMTIzIDAgMCAwLS42MTEgMS44NzhsLjg4MiA1LjE0YS41My41MyAwIDAgMS0uNzcxLjU2bC00LjYxOC0yLjQyOGEyLjEyMiAyLjEyMiAwIDAgMC0xLjk3MyAwTDYuMzk2IDIxLjAxYS41My41MyAwIDAgMS0uNzctLjU2bC44ODEtNS4xMzlhMi4xMjIgMi4xMjIgMCAwIDAtLjYxMS0xLjg3OUwyLjE2IDkuNzk1YS41My41MyAwIDAgMSAuMjk0LS45MDZsNS4xNjUtLjc1NWEyLjEyMiAyLjEyMiAwIDAgMCAxLjU5Ny0xLjE2eiIvPjwvc3ZnPg==);
    -webkit-mask-repeat: repeat;
    -webkit-mask-size: contain;
    -webkit-mask-position: left;
    background: #fdbd28;
    height: 100%;
}

span.rating-star-label {
    width: 10px;
    text-align: center;
}

strong.average-rating {
    font-size: 42px;
    /* line-height: 1; */
}

svg.icon-message {
    display: none;
}

.product-review-summary-in {
    position: sticky;
    top: 234px;
    margin-top: 70px;
}

h2.woocommerce-Reviews-title {
    display: none;
}

.woocommerce #reviews #comments ol.commentlist li img.avatar {
    width: 60px;
    border-radius: 14px;
    border: unset !important;
    padding: 0;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text {
    margin-right: 79px;
    border-radius: 8px;
    padding: 24px;
}

time.woocommerce-review__published-date {
    color: #bbb;
}

.woocommerce .star-rating::before {
    color: #e7e7e7;
}

.woocommerce .star-rating span {
    color: #fdbd28;
}

.woocommerce .star-rating {}

.woocommerce #reviews #comments ol.commentlist li .comment-text p {
    margin-bottom: 22px;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text .description p:last-child {
    margin: 0;
}

div#review_form_wrapper {
    background: #fbfbfb;
    padding: 26px;
    border-radius: 10px;
}

.comment-form-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.woocommerce #review_form #respond textarea {
    background: #fff;
}

div#review {
    margin: 72px 0 9px;
}

div#specs {
    margin: 6px 0 20px;
}

.product-info .sp-discount-badge {
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
    padding: 10px;
    border: unset;
}

.sp-right {
    width: 200%;
}

button.single_add_to_cart_button.button.alt.smithson-add-to-cart {
    width: 100%;
    padding: 18px;
    background: #004a8e;
}

.sp-like {
    display: flex;
    justify-content: space-evenly;
    padding: 7px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-top: 32px;
}

.woocommerce-account-header {
    display: none;
}


.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0 0 0 / 82%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(3px);
}

.modal.hidden {
    display: none;
}

.modal-inner {
    background: #fff;
    padding: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
    border-radius: 8px;
}

.close-modal {
    position: absolute;
    top: 14px;
    left: 12px;
    cursor: pointer;
    font-size: 30px;
    width: 40px;
    height: 40px;
    line-height: 1;
}

.modal-header {
    display: flex;
    border-bottom: 1px solid #eee;
    margin: 0 -20px;
    padding: 0 21px 9px;
    margin-bottom: 14px;
}

h2#share-title {
    font-size: 16px;
}

input#share-url {
    display: none;
}

.hidden {
    display: none;
}

.modal-body {
    min-height: 100px;
}

.share-content {
    margin-top: 14px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.sp-comments-top {
    font-family: VazirmatnFD, 'Vazirmatn';
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 13px;
    display: flex;
    gap: 8px;
}

.sp-comments-top a {
    color: #004a8e;
}

.sp-attributes h3 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 13px;
}

p.attribute-item svg {
    color: #d3d3d3;
}

.sp-value-title span {
    font-weight: bold;
    font-size: 13px;
}

.sp-value-title p {
    color: #888;
}

.sp-comments {
    width: 100%;
}

div#review-content {
    color: #333;
    font-size: 0.9rem;
    line-height: 2;
}

div#review-content p {
    margin-bottom: 24px;
}

div#review-content h2,
div#review-content h3,
div#review-content h4 {
    margin-bottom: 8px;
}

.product-review-summary {
    width: 30%;
}

button#add_comment {
    width: 100%;
    margin-top: 26px;
}

span#reply-title {
    display: none;
}

p.woocommerce-noreviews {
    text-align: center;
    padding: 32px;
    margin-bottom: 40px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.sp-related-prd-row .section-title {
    text-align: right;
    font-size: 20px;
    color: #004a8e;
}

.sp-related-prd-row {
    margin: 60px 0;
}

form.cart.smithson-cart-form .quantity {
    display: none;
}

.custom-product-wrapper .star-rating {
    display: none;
}

.sp-thumbnails {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

span.review-count {
    background: #e5e5e5;
    padding: 0 9px;
    border-radius: 10px;
    position: relative;
    top: -6px;
}


.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb {
    font-size: 12px;    
}


.shop-content-main {
    width: 100%;
}

.product-image {
    /* margin: -16px -16px 0; */
    text-align: center;
}

.swiper .product {
    width: 100%;
}

.header-row.top-row {
    position: relative;
    z-index: 1;
    background: #fff;
    border-bottom: 1px solid #e1e9ef;
}



span.product-label {
    font-size: 16px;
    padding: 12px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}


.kj-star-rating svg {
    fill: #FCAE16;
    stroke: #FCAE16;
    width: 13px;
}

.kj-star-rating {
    display: inline-flex;
    font-family: 'VazirmatnFD';
    gap: 3px;
    flex-direction: row-reverse;
    margin: auto;
}


.woocommerce-MyAccount-navigation {
    padding: 1rem;
    border: 1px solid var(--gray-100);
    border-radius: 8px;
    width: 25% !important;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation li {
    margin-bottom: 0.5rem;
}

.woocommerce-MyAccount-navigation a {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.woocommerce-MyAccount-navigation .is-active a {
    background: #fdbd28;
    color: #000000;
}


.woocommerce-MyAccount-navigation a {
    position: relative;
    display: block;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.woocommerce-MyAccount-navigation a::before {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    width: 1rem;
    height: 1rem;
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateY(-50%);
}

.woocommerce-MyAccount-navigation-link--dashboard a::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-layout-dashboard-icon lucide-layout-dashboard"><rect width="7" height="9" x="3" y="3" rx="1"/><rect width="7" height="5" x="14" y="3" rx="1"/><rect width="7" height="9" x="14" y="12" rx="1"/><rect width="7" height="5" x="3" y="16" rx="1"/></svg>');
    /* replace with dashboard icon */
}

.woocommerce-MyAccount-navigation-link--orders a::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-scroll-text-icon lucide-scroll-text"><path d="M15 12h-5"/><path d="M15 8h-5"/><path d="M19 17V5a2 2 0 0 0-2-2H4"/><path d="M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3"/></svg>');
    /* orders icon */
}

.woocommerce-MyAccount-navigation-link--liked_posts a::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-file-heart-icon lucide-file-heart"><path d="M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v2"/><path d="M14 2v4a2 2 0 0 0 2 2h4"/><path d="M10.29 10.7a2.43 2.43 0 0 0-2.66-.52c-.29.12-.56.3-.78.53l-.35.34-.35-.34a2.43 2.43 0 0 0-2.65-.53c-.3.12-.56.3-.79.53-.95.94-1 2.53.2 3.74L6.5 18l3.6-3.55c1.2-1.21 1.14-2.8.19-3.74Z"/></svg>');
    /* liked posts icon */
}

.woocommerce-MyAccount-navigation-link--liked_products a::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-book-heart-icon lucide-book-heart"><path d="M16 8.2A2.22 2.22 0 0 0 13.8 6c-.8 0-1.4.3-1.8.9-.4-.6-1-.9-1.8-.9A2.22 2.22 0 0 0 8 8.2c0 .6.3 1.2.7 1.6A226.652 226.652 0 0 0 12 13a404 404 0 0 0 3.3-3.1 2.413 2.413 0 0 0 .7-1.7"/><path d="M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20"/></svg>');
    /* liked products icon */
}

.woocommerce-MyAccount-navigation-link--downloads a::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-folder-down-icon lucide-folder-down"><path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"/><path d="M12 10v6"/><path d="m15 13-3 3-3-3"/></svg>');
    /* downloads icon */
}

.woocommerce-MyAccount-navigation-link--edit-address a::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-map-pin-house-icon lucide-map-pin-house"><path d="M15 22a1 1 0 0 1-1-1v-4a1 1 0 0 1 .445-.832l3-2a1 1 0 0 1 1.11 0l3 2A1 1 0 0 1 22 17v4a1 1 0 0 1-1 1z"/><path d="M18 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 .601.2"/><path d="M18 22v-3"/><circle cx="10" cy="10" r="3"/></svg>');
    /* address icon */
}


.woocommerce-MyAccount-navigation-link--custom-profile a::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-user-pen-icon lucide-user-pen"><path d="M11.5 15H7a4 4 0 0 0-4 4v2"/><path d="M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z"/><circle cx="10" cy="7" r="4"/></svg>');
    /* account icon */
}

.woocommerce-MyAccount-navigation-link--cis a::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-handshake-icon lucide-handshake"><path d="m11 17 2 2a1 1 0 1 0 3-3"/><path d="m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4"/><path d="m21 3 1 11h-2"/><path d="M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3"/><path d="M3 4h8"/></svg>');
    /* account icon */
}

.woocommerce-MyAccount-navigation-link--customer-logout a::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-log-out-icon lucide-log-out"><path d="m16 17 5-5-5-5"/><path d="M21 12H9"/><path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"/></svg>');
    /* logout icon */
}

.woocommerce-MyAccount-navigation a:hover {
    background: #eee;
}

.woocommerce-account .woocommerce {
    max-width: 1390px;
    margin: 60px auto;
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: 72% !important;
}

.custom-product-wrapper:hover {
    box-shadow: 0 0 28px #0000000f;
}


.related-products,
.discounted-products,
.featured-products {
    padding: 20px 6px 0 !important;
}

.product-image {
    display: inline-block;
    margin-top: 52px;
    margin-bottom: 12px;
}


.seo-content-wrapper .seo-content-collapsed {
    position: relative;
    overflow: hidden;
    transition: max-height 0.5s ease;
    max-height: 196px;
    line-height: 2;
}

.seo-content-wrapper.expanded .seo-content-collapsed {
    max-height: 10000px;
}

.seo-toggle-btn {
    display: inline-block;
    margin-top: 1rem;
    background: none;
    border: none;
    color: #0073aa;
    cursor: pointer;
    font: inherit;
    padding: 0;
    border: 1px solid #d5d9db;
    padding: 10px 24px;
    border-radius: 8px;
}

.seo-content-collapsed:before {
    content: '';
    display: block;
    width: 100%;
    height: 100px;
    position: absolute;
    background: linear-gradient(0deg, #fff, transparent);
    bottom: 0;
}

.seo-content-wrapper.expanded .seo-content-collapsed:before {
    display: none;
}

seo-content-collapsed {
    position: relative;
}

.seo-content-wrapper {
    padding: 32px;
    border: 1px solid #eee;
    margin: 64px 0;
    border-radius: 8px;
}

.blog-top-row::after {
    content: '';
    display: table;
    clear: both;
}

.blog-slider {
    width: calc(70% - 16px);
    float: right;
    border-radius: 8px;
    overflow: hidden;
}

.recent-blog-posts {
    width: calc(30% - 16px);
    float: left;
    margin-right: 32px;
    height: 570px;
    display: flex;
    flex-direction: column;
}

.recent-blog-posts:last-child {
    margin-right: 0;
}

.top-post-card-link {
    display: block;
    width: 100%;
    position: relative;
    /* border-radius: 8px; */
    /* overflow: hidden; */
}

.top-post-content {
    position: absolute;
    bottom: 14px;
    right: 0;
    padding: 32px;
    z-index: 2;
    color: #fff;
    gap: 10px;
    display: flex;
    flex-direction: column;
}

.top-post-thumbnail:before {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    background: #1f2f3ebd;
    z-index: 2;
}


h3.top-post-title {
    color: #fdbd28;
    font-size: 28px;
}

img.no-thumbnail-image {
    width: 100%;
    max-width: unset;
    padding: 15%;
    filter: grayscale(1);
    opacity: 0.2;
}

.top-post-thumbnail {
    width: 100%;
}

.blog-slider img {
    aspect-ratio: 1.7;
}

.widget-box {
    border: 1px solid #eee;
    padding: 16px 8px 0;
    border-radius: 8px;
    position: relative;
}

h2.widget-title {
    border-bottom: 1px solid #eee;
    margin: 0 -8px 16px;
    padding: 0 16px 12px;
    font-size: 14px;
}


a.mini-post-card {
    display: flex;
    gap: 8px;
    flex-direction: row-reverse;
    border-bottom: 1px dashed #eee;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.mini-post-thumbnail {
    width: 22%;
    /* border-radius: 8px; */
    /* overflow: hidden; */
}

.mini-post-content {
    width: 100%;
}

.mini-post-meta>span {
    display: flex;
    gap: 5px;
    color: #9d9d9d;
}

.mini-post-meta>span svg {
    color: #9d9d9d6b;
    width: 16px;
}

.mini-post-meta {
    font-size: 12px;
    font-family: VazirmatnFD, 'Vazirmatn';
}

.mini-post-title {
    margin-bottom: 8px;
    font-size: 15px;
}

.mini-post-thumbnail {}

.wp-post-image {
    border-radius: 8px;
}

a.mini-post-card:last-child {
    margin: 0;
    padding: 0;
    border: unset;
}

.recent-posts-list {
    max-height: 100%;
    overflow: auto;
    padding: 0 8px 32px;
}

.recent-posts-list:after {
    content: '';
    display: block;
    width: 100%;
    position: absolute;
    bottom: 0px;
    background: linear-gradient(0deg, #fff, transparent);
    left: 0;
    height: 32px;
}

.blog-top-row {
    margin-bottom: 32px;
}

.cat-post-slider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

h2.cat-post-slider-title {
    font-size: 16px;
    color: #004a8e;
}

.cat-post-slider {
    margin: 60px 0;
}


.ad-container.blog_top {
    margin: 0;
    text-align: center;
}

.ad-container a {
    display: flex;
    width: 100%;
    justify-content: center;
}

.ad_section {
    display: flex;
	flex-direction: row-reverse;
    gap: 24px;
    justify-content: center;
    padding: 0;
}


.ad-container img {
    border-radius: 8px;
}

.above_header img,
.blog_top img {
    border-radius: 0;
}

.above_header,
.blog_top {
    background: #fff;
}

.onsale-products {
    border-radius: 16px;
    padding: 32px 0 4px;
    border: 2px solid #fbf2fd;
    background: linear-gradient(0deg, #a800df0d 0%, transparent 30%);
}

.onsale-products .custom-product-wrapper {
    border: unset;

}


section.page-cover {
    border-radius: 16px;
    margin: 24px 0;
    position: relative;
    background-size: cover;
    overflow: hidden;
    aspect-ratio: 4;
}

.cover-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    max-width: 50%;
    justify-content: center;
    padding: 60px;
    color: #fff;
    position: relative;
    gap: 8px;
}

.cover-description {
    color: #ffffffb5;
}


section.page-cover:before {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    background: linear-gradient(-90deg, #004a8e, transparent);
}

ul.wp-block-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 16px 0;
}

ul.wp-block-list li:before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #004a8e;
    border-radius: 2px;
    margin-left: 9px;
    transform: rotate(45deg);
}

:where(.wp-block-columns.is-layout-flex) {
    gap: 4em;
}

.entry-content p {
    /* margin-bottom: 2em; */
    /* padding: 24px; */
}


.wp-block-button__link {
    color: #004a8e;
    font-size: 1em;
    border-radius: 8px;
    transition: 0.3s ease-in-out background-color;
    padding: 12px 24px 8px;
    margin-top: 16px;
    background: #fff;
    border: 2px solid;
    font-weight: bold;
}

.wp-block-button__link:hover {
    background: #004a8e14;
}

main.page-main {
    margin-bottom: 80px;
}

.page-main .entry-content {
    line-height: 2em;
}

.narrow-page {
    max-width: 800px;
    margin: 32px auto 80px;
}


svg.lucide.lucide-map {}

.branch-list svg {
    display: inline-block;
    margin-left: 6px;
    vertical-align: middle;
}

.branch-list h2 {
    color: #fc9f67;
    margin-bottom: .5em;
}

.branch-list h3 {
    margin-bottom: .5em;
    color: #004a8e;
}

.branch-list h4 {
    margin-bottom: .5em;
    color: #5084b3;
}

.branch-list p {
    padding: 0 0 31px;
    border-bottom: 1px dashed #cfcfcf96;
    line-height: 2em;
    margin-top: 21px;
    font-family: VazirmatnFD, 'Vazirmatn';
}

.branch-list p svg {
    width: 18px;
    color: #999;
}


.branches-container {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    /* flex-direction: column; */
    max-width: 1070px;
    margin: 24px auto;
}

.branch-item {
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.branches-container {
    /* flex-direction: column; */
}




.branch-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.branch-info {
    padding: 16px;
    font-size: 15px;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.branch-address,
.branch-postal {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    /* margin-bottom: 12px; */
    color: #333;
}

.branch-address svg,
.branch-postal svg {
    flex-shrink: 0;
    color: #fcae17;
}

.contact-us-info {
    background: #004a8e;
    padding: 24px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.8;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    */ max-width: 1070px;
    margin: 24px auto;
    max-width: 1070px;
}

.contact-us-info p {
    margin: 0px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    /* font-weight: bold; */
    /* font-size: 19px; */
}

.contact-us-info a {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s color;
}

.contact-us-info a:hover {
    color: #fdbd28;
}


.contact-us-info p:first-child {
    direction: ltr;
}

.contact-us-info a svg {
    width: 18px;
    margin-top: -3px;
}



.branch-info {
    width: 100%;
    gap: 12px;
}

.page-main .wp-block-image {
    margin: 24px 0;
}

.page-main .wp-block-image img {
    border-radius: 8px;
}

.custom-faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-accordion {
    width: 100%;
    text-align: right;
    background: #eee;
    border: none;
    padding: 12px 16px;
    font-size: 16px;
    cursor: pointer;
    outline: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    user-select: none;
    border-radius: 8px;
    margin-top: 24px;
}

.faq-accordion .toggle-icon {
    display: inline-block;
    width: 20px;
    text-align: center;
    font-weight: bold;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-accordion.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    /* background: #fafafa; */
    padding: 0 16px;
    direction: rtl;
    font-size: 15px;
    line-height: 1.5;
}

.faq-panel.open {
    max-height: 1000px;
    /* large enough to fit content */
    margin-bottom: 0;
}

.faq-panel p {
    padding: 24px;
    line-height: 2;
}

button.faq-accordion.active {
    background: #004a8e;
    color: #fff;
}

h1.wp-block-heading {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 2rem 0 1rem 0;
    line-height: 1.2;
}

h2.wp-block-heading {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 1.8rem 0 1rem 0;
    line-height: 1.25;
}

h3.wp-block-heading {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 1.5rem 0 0.8rem 0;
    line-height: 1.3;
}

h4.wp-block-heading {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.2rem 0 0.7rem 0;
    line-height: 1.35;
}

h5.wp-block-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1rem 0 0.6rem 0;
    line-height: 1.4;
}

h6.wp-block-heading {
    font-size: 1rem;
    font-weight: 600;
    margin: 1rem 0 0.6rem 0;
    line-height: 1.4;
}

.custom-product-wrapper a {
    color: #000;
}

footer.custom-footer a {
    color: #ffffff;
}

footer.custom-footer a:hover {
    color: #ffe788;
}

.timer-container svg {
    width: 16px;
    margin-top: -3px;
}

span.timer-label {
    order: 1;
    margin-left: auto;
    font-size: 0.9em;
}

.onsale-products .custom-product-wrapper:hover {
    box-shadow: unset !important;
}

.onsale-products .custom-product-wrapper:before {
    content: '';
    display: block;
    width: 1px;
    background: #fbf2fd;
    position: absolute;
    left: -10px;
    top: 30px;
    bottom: 0;
}

.product-price {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    padding: 16px;
    min-height: 82px;
    border-top: 1px dashed #eee;
    align-items: flex-start;
}

p.product-price-in {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 5px;
}

del span.woocommerce-Price-currencySymbol:before {
    width: 14px;
    opacity: 0;
}

.product-image img {
    width: 100%;
    aspect-ratio: 1.5;
    object-fit: contain;
    margin-top: 39px;
}

.product-price.product-price-center {
    margin-bottom: -4px;
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    min-height: 95px;
}






span.onsale {
    display: none;
}



.quantity input.qty {
    text-align: center;
    width: 50px !important;
    border: none !important;
    outline: none;
    padding: 5px;
    font-family: VazirmatnFD, 'Vazirmatn';
    font-size: 21px;
    line-height: 1;
}

.qty-btn {
    background: #eee;
    border: none;
    padding: 6px 10px;
    cursor: pointer;
    user-select: none;
    aspect-ratio: 1;
    width: 43px;
    font-size: 23px;
    line-height: 1;
    transition: 0.3s background;
}

.qty-btn:hover {
    background: #b8b8b8;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt {
    background: #004a8e;
}

#add_payment_method .wc-proceed-to-checkout a.checkout-button, .woocommerce-cart .wc-proceed-to-checkout a.checkout-button, .woocommerce-checkout .wc-proceed-to-checkout a.checkout-button {
    font-size: 1em;
    padding: 1.4em 1.4em 1.2em;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:hover {
    background: #013c73;
}
h1.page-title {
    font-size: 1.54em;
    margin: 32px 0;
}

.crp-view-all a {
    border: 1px solid #eee;
}

.crp-post-item {
    border: 1px solid #eee;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-radius: 4px;
}

.crp-post-thumb {
    margin: -16px -16px 0;
}


body .swiper-button-next, body .swiper-button-prev {
    width: 32px;
    height: 32px;
    background: #ffffffb8;
    display: flex;
    padding-top: 2px;
    border-radius: 8px;
    color: #003366;
    backdrop-filter: blur(4px);
}

body .swiper-button-next svg, body .swiper-button-prev svg {
    width: 18px;
}

.product-info .kj-star-rating {
    background: #fcae161f;
    position: absolute;
    right: 16px;
    bottom: 16px;
    border-radius: 4px;
    padding: 3px 5px;
    font-size: 13px;
}


.sale .custom-product-wrapper {
    background: linear-gradient(0deg, #a800df0d, transparent, transparent);
}

.ad-container.below_top_product_right.fixed {
    background: #fff;
}

a.edit-ads-link {
    font-size: 10px;
    background: #000000;
    color: #fff;
    width: 70px;
    position: absolute;
    bottom: -30px;
    left: calc(50% - 35px);
    opacity: 0;
    padding: 5px;
}

.ad-container:hover a.edit-ads-link {
    bottom: 0;
    opacity: 1;
}

.ad-container {
    position: relative;
}

.onsale-products .sale .custom-product-wrapper {
    background: unset;
}

.onsale-products .swiper-slide.show_all_prd a {
    background: unset;
}

h1.wp-block-heading:first-child {
    margin-top: 0.5em;
}

.admin-bar .product-sections-nav {
    top: calc(var(--ad-height) + 32px + 93px);
}


/* Remove background for all WooCommerce notices */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  background: none !important;
  border: 1px solid currentColor;
  border-radius: 6px;
  padding: 16px;
  margin: 0 0px 16px;
  font-size: 14px;
  color: inherit;
  line-height: 1.5;
  position: relative;
}

/* Message types: custom colors */
.woocommerce-message {
  color: #02a966;          /* Success green */
  border-color: #34c38f70;
}

.woocommerce-error {
  color: #e30a0a;          /* Error red */
  border-color: #f46a6a61;
}

.woocommerce-info {
  color: #006fcf;          /* Info blue */
  border-color: #50a5f18a;
}

/* Hide WooCommerce default icons */
.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before {
  display: none !important;
}

/* Minimal button inside notices */
body .woocommerce-message .woocommerce-Button,
body .woocommerce-error .woocommerce-Button,
body .woocommerce-info .woocommerce-Button,
body .woocommerce-message .button,
body .woocommerce-error .button,
.woocommerce-info .button {
  background: none;
  color: inherit;
  font-size: 13px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  margin: -4px 12px -4px -4px;
}

/* Button hover effect */
body .woocommerce-message .woocommerce-Button:hover,
body .woocommerce-error .woocommerce-Button:hover,
body .woocommerce-info .woocommerce-Button:hover {
  background: #f2f9ff;
  color: currentColor;
}

.woocommerce-orders-table__row {
    font-family: 'VazirmatnFD' ,'Vazirmatn';
}

.woocommerce table.my_account_orders td, .woocommerce table.my_account_orders th {
    padding: 15px 16px 10px;
}

.woocommerce-orders-table__cell-order-actions a:not(:last-child) {
    margin-left: 8px !important;
}


.liked-posts a {
    display: flex;
    margin-bottom: 16px;
    align-items: center;
    border: 1px solid var(--gray-100);
    padding: 16px;
    border-radius: 8px;
}

.liked-posts img {
    height: 64px;
    object-fit: cover;
    border-radius: 4px;
}

.liked-posts a h2 {
    margin-right: 9px;
    font-size: 16px;
}

.liked-posts a:hover {
    background: #fafafa;
}

h2.liked-posts-title {
    font-size: 18px;
    margin-bottom: 16px;
}

.no-liked-posts {
    display: flex;
    gap: 8px;
    background: none !important;
    border: 1px solid #50a5f18a;
    border-radius: 6px;
    padding: 16px;
    margin: 0 0px 16px;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    color: #006fcf;
    align-items: center;
}

p.input-group {
    display: flex;
    flex-direction: column;
}

.all-field-form {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 16px; /* spacing between items */
}

div#ad-container-header {
    position: fixed;
    top: 0;
    z-index: 9999;
}


div#review-content {
    max-height: 200px;
    overflow: hidden;
    position: relative;
}

div#review-content.expanded {
    max-height: unset;
}

div#review-content:before {
    content: '';
    bottom: 0;
    height: 100px;
    background: linear-gradient(0deg, #ffffff, transparent);
    position: absolute;
    left: 0;
    width: 100%;
}
button {
    cursor: pointer;
}
div#review-content.expanded:before {
    display: none;
}

.archive-post-card a.crp-post-item {
    height: 100%;
}

.admin-bar div#ad-container-header {
    top: 32px;
}

.posts-list-archive {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}


.woof_products_top_panel_ul a i {
    font-style: normal;
    margin-right: 4px;
}

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
  }


  button.live-search-submit {
    position: absolute;
    left: 0;
    top: 1px;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}


button.live-search-submit:hover svg {
    color: var(--color-primary);
}

button.live-search-submit svg {
    color: var(--gray-500);
    transition: 0.3s color;
}


p#billing_country_field {
    display: none;
}

.rtl .woocommerce .col2-set .col-1, .rtl .woocommerce-page .col2-set .col-1 {
    float: unset;
    width: 100%;
}

.rtl .woocommerce .col2-set .col-2, .rtl .woocommerce-page .col2-set .col-2 {
    float: unset;
    width: 100%;
}


form#custom-referral-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    gap: 16px;
  }









  /* ساختار کلی کارت محصولات */
.custom-order-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .product-card {
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  }
  
  /* هر ردیف اطلاعات داخل کارت */
  .product-card .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #374151;
  }
  
  /* رنگ جدا برای قیمت‌ها */
  .product-card .price-line span:last-child {
    font-weight: bold;
  }
  
  /* رنگ‌بندی قیمت معمولی */
  .old-price span:last-child {
    color: #9ca3af;
    text-decoration: line-through;
  }
  
  /* رنگ‌بندی قیمت ویژه */
  .new-price span:last-child {
    color: #10b981;
  }
  
  /* مجموع نهایی محصول */
  .total-price span:last-child {
    color: #1f2937;
  }
  
  /* باکس خلاصه سفارش */
  .summary-box {
    border-top: 2px dashed #d1d5db;
    margin-top: 2rem;
    padding-top: 1rem;
  }
  
  .summary-box .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 1rem;
  }
  
  .summary-box .total span:last-child {
    font-weight: bold;
    color: #111827;
  }
  
  /* آدرس مشتری */
  .woocommerce-customer-details address {
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    background-color: #f9fafb;
    font-style: normal;
    margin-top: 1.5rem;
  }
  
  .woocommerce-customer-details p {
    margin: 0.3rem 0;
    color: #4b5563;
  }

  strong.product-quantity {
    font-family: 'VazirmatnFD' , 'Vazirmatn';
}

section.woocommerce-order-details {
    margin-top: 30px;
}

h2.woocommerce-order-details__title {
    margin-bottom: 25px;
}


.custom-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    position: absolute;
    bottom: 13px;
    z-index: 2;
    left: 50%;
    transform: translate(-50% , 0);
  }
  .custom-bullet {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: #ffffff;
    border: none;
    cursor: pointer;
      transition:0.3s width
  }
  .custom-bullet.active {
    background: #ffffff;
      width:20px
  }


span.discount-amount {
    display: none;
}

.sp-value-item svg {
    color: #1b8df5;
    width: 24px;
}

a.blog-details-img {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
}

.product-categories-swiper:not(.swiper-initialized) .swiper-wrapper {
    justify-content: center;
}

@media (min-width: 768px) {
	.featured-products:not(.swiper-initialized) .swiper-slide {
		width: 25%;
		min-width: 300px;
	}
}


.entry-content #login-modal {
    max-width: 400px;
    margin: 162px auto;
    border: 1px solid #e1e9ef;
    padding: 51px 28px;
    border-radius: 7px;
    width: 100%;
    /* min-height: 410px; */
    position: relative;
}

.entry-content #login-modal-div a.login-modal-logo {
    display: none;
}

h2.wp-block-heading.referral-heading {
    margin: 0;
}