:root {
    --c1: #29ABE0;
    --c2: #50535B;
    --c3: #B3D3DB;

}


h1 {
    font-size: 1.6rem;
}

h2 {
    font-size: 1.4rem;
}

h3 {
    font-size: 1.2rem;
}

h4 {
    font-size: 1rem;
}

h5 {
    font-size: 0.9rem;
}

h6 {
    font-size: 0.8rem;
}

.fs-8 {
    font-size: 0.5rem;
}

.fs-9 {
    font-size: 0.5625rem;
}

.fs-10 {
    font-size: 0.625rem;
}

.fs-11 {
    font-size: 0.6875rem;
}

.fs-12 {
    font-size: 0.75rem;
}

.fs-13 {
    font-size: 0.8125rem;
}

.fs-14 {
    font-size: 0.875rem;
}

.fs-15 {
    font-size: 0.9375rem;
}

.fs-16 {
    font-size: 1rem;
}

.fs-17 {
    font-size: 1.0625rem;
}

.fs-18 {
    font-size: 1.125rem;
}

.fs-19 {
    font-size: 1.1875rem;
}

.fs-20 {
    font-size: 1.25rem;
}

.fs-21 {
    font-size: 1.3125rem;
}

.fs-22 {
    font-size: 1.375rem;
}

.fs-23 {
    font-size: 1.4375rem;
}

.fs-24 {
    font-size: 1.5rem;
}

.fs-25 {
    font-size: 1.5625rem;
}

.fs-26 {
    font-size: 1.625rem;
}

.fs-27 {
    font-size: 1.6875rem;
}

.fs-28 {
    font-size: 1.75rem;
}

.fs-29 {
    font-size: 1.8125rem;
}

.fs-30 {
    font-size: 1.875rem;
}

.fs-31 {
    font-size: 1.9375rem;
}

.fs-32 {
    font-size: 2rem;
}

.box-product .my-star-rating {
    text-align: left;
}

/* ستاره‌های پر */
.my-star-rating .star {
    color: orange; /* رنگ ستاره‌های پر */
    font-size: 20px; /* اندازه فونت ستاره‌ها */
}

/* ستاره‌های خالی */
.my-star-rating .star.empty:before {
    content: '☆'; /* نماد ستاره‌های خالی */
}

/* ستاره‌های پر */
.my-star-rating .star.full:before {
    content: '★'; /* نماد ستاره‌های پر */
}

/* ستاره‌های نیمه پر (نیمه چپ پر) */
.my-star-rating .star.half:before {
    content: '★'; /* نماد ستاره‌های پر */
    display: inline-block;
    overflow: hidden;
    position: absolute;
    width: 0.4em; /* عرض نیمه پر شده (تنظیم به عنوان نیاز) */
    z-index: 1; /* اولویت نمایش بالا برای این قسمت */
}

/* ستاره‌های نیمه پر (نیمه راست خالی) */
.my-star-rating .star.half:after {
    content: '☆'; /* نماد ستاره‌های خالی */
    display: inline-block;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 0.5em; /* عرض نیمه پر نشده (تنظیم به عنوان نیاز) */
    z-index: -1; /* اولویت نمایش پایین برای این قسمت */
}


::selection {
    background-color: rgba(255, 137, 0, 0.5);
}

img {
    height: auto !important;
}

a {
    text-decoration: none !important;
    color: unset !important;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;

}

.position-center {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 999;
    transform: translate(-50%, -50%);
}

/**************************************************************************************************** Font & Icon */
@font-face {
    font-family: "dana";
    font-style: normal;
    font-display: swap;
    src: url("../fonts/dana-fanum-regular.woff2") format("woff2");
}

body {
    font-family: "dana" !important;
    font-size: 0.9rem !important;
    line-height: 1.8;
}


/*@font-face {*/
/*    font-family: "Kalame";*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*    src: url("../fonts/KalamehWebFaNum-Regular.woff2") format("woff2");*/
/*}*/

button,
h1,
h2,
h3,
h4,
h5,
h6,
strong,
a {
    font-family: "dana" !important;
    line-height: 1.8;
}

@font-face {
    font-display: block;
    font-family: "bootstrap-icons";
    src: url("../fonts/bootstrap-icons.woff2") format("woff2"),
    url("../fonts/bootstrap-icons.woff") format("woff");
}

.bi::before,
[class^="bi-"]::before,
[class*=" bi-"]::before {
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -0.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 1.15rem;
    margin: auto 0.5rem;
}

.bi-telephone::before {
    content: "\f5c1";
}


/*.bi-search::before {*/
/*    content: "\f52a";*/
/*}*/

/*.bi-basket2::before {*/
/*    content: "\f182";*/
/*}*/

/**************************************************************************************************** All */
.swiper-wrapper {
    /*transform: none !important;*/
}

.btn-1 {
    border: 1px solid var(--c1);
    padding: 0.45rem 1.1rem;
    border-radius: 0.5rem;
    color: var(--c1) !important;
    background: none;
    transition: 0.5s;
}

.btn-1:hover {
    color: white !important;
    background: var(--c1);
    transition: 0.5s;
}

.btn-2 {
    border: 1px solid var(--c1);
    padding: 0.2rem 3rem;
    border-radius: 0.5rem;
    color: white !important;
    background: var(--c1);
    transition: 0.5s;
    float: left;
}

.btn-2:hover {
    color: var(--c1) !important;
    background: none;
    transition: 0.5s;
}

.title {
    margin: 0;
    color: var(--c2);
    font-size: clamp(1rem, 2vw, 2rem);
    font-weight: bold;
}

.title-svg {
    width: 48px;
    margin-left: 0.25rem;
}

.description {
    text-align: justify;
}

.description ul {
    padding-right: 1rem;
}

/**************************************************************************************************** Header */
.menu-desk li {
    margin-left: 0.75rem;
}

.btn-search {
    border: 0;
    background: none;
}

.btn-cart {
    background: none;
    border: 0;
    padding: 0;
}

header .search .modal-body button {
    background: var(--c1);
    border: 1px solid var(--c1);
    border-radius: 0.5rem;
    width: 100%;
    color: white;
}


/**************************************************************************************************** Font & Icon */
.mt-sec {
    margin-top: -8.5rem;
    z-index: 9999;
    position: sticky;
}

.box-cat {
    text-align: center;
    background: white;
    box-shadow: 0px 2px 6px 2px #eee;
    border-radius: 0.5rem;
    padding: 1rem 1rem 0.5rem;
    transition: 0.5s;
    margin-bottom: 1.5rem;
}

.box-cat:hover {
    transition: 0.5s;
    transform: translateY(-0.75rem);
}

.box-cat h5 {
    font-size: clamp(0.7rem, 1vw, 1rem);
    font-weight: bold;
    margin-top: 1rem;
}

.box-off {
    color: #df1d17;
    font-weight: bold;
    background: #fce9eb;
    border-radius: 1rem;
    margin-top: 0.75rem;
    font-size: clamp(0.7rem, 1vw, 0.9rem);
}

.box-product {
    background: white;
    box-shadow: 0px 0px 5px 1px #eee;
    padding: 1rem;
    border-radius: 0.5rem;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.box-product img {
    border-radius: 0.5rem;
}

.box-product h5 {
    font-size: 0.9rem;
    color: var(--c2);
    margin-top: 0.75rem;
    font-weight: 700;
}

.box-product .off {
    position: absolute;
    background: #df1d17;
    color: white;
    top: 0;
    right: 0;
    border-radius: 1rem;
    font-size: 0.8rem;
    width: 36px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.box-product span.in-stock {
    border: 1px solid #DBDCDD;
    border-radius: 6px;
    padding: 1px 3px;
    height: 24px;
    /*width: 24px;*/
    display: inline-flex;
    justify-content: center;
}

.box-product .price .original {
    text-decoration-line: line-through;
    color: #7D808A;
    font-size: 0.75rem;
}

.box-product .price .offer {
    color: black;
    font-weight: bold;
    font-size: 1rem;
}

.icons {
    text-align: center;
    /*transition: 0.5s;*/
    /*padding: 2rem 1rem;*/
}

/*.icons:hover {*/
/*    box-shadow: 0px 29px 25px -17px #eee;*/
/*    transition: 0.5s;*/
/*    transform: translateY(-0.75rem);*/
/*    border-radius: 1rem;*/
/*}*/

.icons h4 {
    font-size: clamp(0.9rem, 1.25vw, 1.25rem);
    font-weight: bold;
    margin: 1rem 0 0;
}

.icons img {
    width: 4rem;
}

.box-row {
    background-color: #124A60;
    border-radius: 1rem;
    padding: 1rem;
}

.box-row h4 {
    font-size: clamp(0.9rem, 2.1vw, 2.1rem);
    font-weight: bold;
    color: white;
}

.box-row .btn-1 {
    border: 1px solid white;
    color: white !important;
    text-align: center;
}

.box-row .box-product {
    box-shadow: none;
}

.accordion-button::after {
    left: 1rem;
    position: absolute;
}

.accordion-button {
    color: #242a3c;
    background-color: white;
    box-shadow: 0px 4px 6px 2px #eee;
    border-radius: 1rem !important;
    font-weight: bold;
    text-align: right;
}

.accordion-item {
    margin-bottom: 1.5rem;
    border: 0 !important;
    box-shadow: 0px 4px 6px 2px #eee;
    border-radius: 1rem !important;
}

.accordion-button:not(.collapsed) {
    color: black;
    background-color: white;
    box-shadow: none !important;
}

.accordion-body {
    max-height: 10rem;
    overflow-y: auto;
    padding: 1rem !important;
    text-align: justify;
}

.accordion-flush .accordion-collapse {
    border-width: 0;
    padding: 0 0.75rem 1.5rem;
}

.accordion-button:focus {
    box-shadow: none !important;
}

.back-row {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 1.5rem;
    padding: 2.5rem 1rem;
}

.back-row ul {
    padding-right: 1.5rem;
}

.box-logo {
    box-shadow: 0px 2px 6px 2px #eee;
    border-radius: 0.75rem;
    padding: 0.5rem;
    transition: 0.5s;
}

.box-logo:hover {
    transition: 0.5s;
    transform: translateY(-0.75rem);
}


div#swiper-wrapper-95e282f7a8fd2e26 {
    transform: translate3d(0px, 0px, 0px) !important;
}

.box-comment {
    box-shadow: 0px 2px 6px 2px #eee;
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    text-align: justify;
}

.box-comment p {
    margin: 1rem 0 0;
    font-size: clamp(0.6rem, 0.9vw, 0.9rem);
}

.box-comment .name {
    padding-left: 0.5rem;
    border-left: 1px solid #eee;
    margin-left: 0.25rem;
    font-size: clamp(0.6rem, 0.9vw, 0.9rem);
}

.box-comment .date {
    font-size: clamp(0.6rem, 0.9vw, 0.9rem);
}

.box-comment img {
    width: clamp(4rem, 6vw, 7rem);
}

.box-blog {
    box-shadow: 0px 2px 6px 2px #eee;
    border-radius: 0.75rem;
    padding: 1rem 0.25rem;
    text-align: center;
}

.box-blog h6 {
    color: #21242B;
    font-size: clamp(0.9rem, 1vw, 1rem);
    margin-top: 1rem;
    font-weight: bold;
}

.box-blog span {
    color: var(--c1);
    font-weight: bold;
}

.box-blog img {
    border-radius: 0.5rem;
}

/**************************************************************************************************** Page */


.sub-header {
    background-color: var(--c1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.sub-header .background-overlay {
    background-color: var(--c1);
    opacity: 0.5;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
}

.box-contact {
    background: #F4F6F9;
    border-radius: 1rem;
    text-align: center;
    padding: 1rem;
    /*box-shadow: 0px 4px 6px 2px #eee;*/
    height: 15rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.box-contact svg {
    width: 60px;
    margin-bottom: 0.75rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0px 4px 6px 2px #eee;
}

.box-form {
    background: #F4F6F9;
    text-align: right;
    padding: 2rem 1rem;
    border-radius: 1rem;
}

.box-form input,
.box-form textarea {
    border: 1px solid white !important;
    border-radius: 0.5rem !important;
}

.box-form input:focus,
.box-form textarea:focus {
    box-shadow: none !important;
}

.gform-theme--foundation .gform_fields {
    row-gap: 1rem !important;
}

.gform-theme--foundation .gfield textarea.large {
    min-block-size: 10rem !important;
}

input#gform_submit_button_1 {
    background: var(--c1);
    padding: 0 5rem;
    font-weight: bold;
    transition: 0.5;
}

.box-attribute {
    padding: 2.75rem 1.75rem;
    transition: all 0.5s ease;
    overflow: hidden;
    position: relative;
    border-radius: 0.75rem;
    background: #F4F6F9;
    text-align: justify;
    margin-bottom: 1.5rem;
}

.box-attribute:hover {
    transition: all 0.5s ease;
    background: var(--c1);
    color: white;
}

.box-attribute:hover img {
    transition: all 0.5s ease;
    filter: brightness(2.5);
}

.sw-on-sale2 .swiper-slide,
.sw-on-sale .swiper-slide {
    height: auto !important;
}

/**************************************************************************************************** Single Product */
.options.per-row-10.grid {
    display: flex !important;
}

input#my-quantity {
    padding-right: 1rem;
    width: 3rem;
    height: auto;
    margin-left: 0.2rem;
    border-radius: 0.5rem;
    border: 1px solid;
}

.label-container-display {
    border: 0 !important;
}

.label-container-display .inside {
    margin-top: 0.5rem;
}

/*.options.per-row-2.grid {*/
/*    display: flex !important;*/
/*}*/
#yith-wapo-addon-15 .options.per-row-2.grid {
    grid-template-columns: repeat(2, minmax(0, 45%)) !important;
    justify-content: space-between !important;
}

/******************/

button.btn-size {
    border: 0;
    background: no-repeat;
    color: var(--c1);
    float: left;
}

div#yith-wapo-addon-20 p {
    background: #ecf4fb !important;
    padding: 8px !important;
    margin: 0 !important;
    border-radius: 8px;
    border: 1px solid var(--c1);
}

.options.default-closed {
    display: flex;
}

.per-row-10 .yith-wapo-option .selected {
    border: 1px solid var(--c1);
}

.per-row-10 .yith-wapo-option {
    display: inline-flex;
    width: 50% !important;
    background: #f8f8f6;
    align-items: center;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #DBDCDD;
}

.per-row-10 .yith-wapo-option span {
    margin-left: 8px;
}

.yith-wapo-option input {
    height: 48px;
    border-radius: 8px;
    border: 1px solid #DBDCDD;
}

.yith-wapo-option .yith-wapo-img-label {
    border: 1px solid #DBDCDD;
    width: 100%;
    border-radius: 8px;
    padding: 6px 6px 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#yith-wapo-addon-15 span.radiobutton {
    display: inline-block !important;
    float: unset !important;
    padding-top: 6px;
}

#yith-wapo-addon-15 .yith-wapo-option {
    text-align: center;
}

.yith_wccl_is_custom .select_box_image {
    display: flex;
}

.variations .select_option {
    border: 0px !important;
}

.variations .select_box_label span.yith_wccl_value {
    background: #F2F2F0 !important;
    border: 0px;
    border-radius: 8px;
    font-weight: bold;
    padding: 2px 8px 0;
}

.variations .select_box_label .selected span {
    background: #D7F0F9 !important;
    color: var(--c1) !important;
}

.variations .select_box .select_option.selected::after {
    content: none !important;
}

.select_box_image .selected img {
    border: 2px solid var(--c1);
}

.select_box_image img {
    border-radius: 8px;
    border: 2px solid #fff0;
}

button#my-add {
    background-color: var(--c1);
    color: white;
    border: 0;
    border-radius: 0.5rem;
    width: 100%;
    padding: 0.3rem;
}

/****** tab */

/*.single-product .woocommerce-Tabs-panel {*/
/*    display: block !important;*/
/*}*/

.woocommerce-page div.product .woocommerce-tabs ul.tabs::after,
.woocommerce div.product .woocommerce-tabs ul.tabs::before {
    content: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: 0px solid #cfc8d8;
    background-color: #ffffff !important;
    color: #93959D !important;
    display: inline-block;
    position: initial !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 1rem !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: #93959D !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #21242B !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    border-bottom: 1px solid var(--c1);
}

.woocommerce-Tabs-panel h2 {
    font-size: clamp(0.8rem, 1vw, 1.1rem) !important;
}

.woocommerce div.product .woocommerce-tabs .panel {
    margin: 0 0 2rem !important;
    padding: 0 0 2rem !important;
    border-bottom: 1px solid #E7E7E7;
}

.woocommerce table.shop_attributes th {
    border-bottom: 0px !important;
    background: none !important;
}

.woocommerce table.shop_attributes td {
    border-bottom: 1px solid #E7E7E7;
    background: none !important;
    font-style: normal !important;
}

.woocommerce table.shop_attributes {
    border-top: 0px !important;
}

.box-price {
    position: sticky;
    top: 2rem;
    border: 1px solid #E7E7E7;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0px 4px 4px 0px #f8f8f8;
}

.box-price h1 {
    font-size: clamp(0.8rem, 1vw, 1rem);
}

.box-price ul.list-addon {
    list-style: none;
    padding: 0;
}

.box-price ul.list-addon li {
    display: flex;
    justify-content: space-between;
    color: #50535b !important;
}

.box-price ul.list-addon li:last-child {
    font-weight: bold;
    color: black !important;
    margin-top: 1rem;
}

.box-price button.btn-cart {
    background: var(--c1);
    color: white;
    width: 100%;
    text-align: center;
    padding: 8px;
    border-radius: 8px;
}

.radio-button-container {
    display: flex;
}

span.onsale {
    display: none;
}

ol.flex-control-nav.flex-control-thumbs li {
    padding: 0.5rem 0.2rem;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    border-radius: 0.5rem;
}

/*************************************** comments **/
.comment-item {
    background: white;
    box-shadow: 0px 0px 5px 1px #eee;
    padding: 1rem;
    border-radius: 0.5rem;
    position: relative;
    margin: 0 !important;
    height: 15rem !important;
}

.replies-wrapper {
    border-top: 1px solid #7a767642;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    color: #7A7676;
}

.comment-rating {
    display: flex;
    flex-direction: row-reverse;
}

.comment-rating .empty {
    font-size: 1.5rem;
    color: #e0e0e0;
}

.comment-rating .full {
    color: #ffbb00;
    font-size: 1.5rem;
}

.comment-top {
    color: #50535B !important;
    font-size: 0.8rem;
}

.comment-respond textarea {
    resize: vertical;
    width: 100%;
    border: 1px solid #eee;
    border-radius: 1rem;
    padding: 1rem;
}

.comment-respond input:not(#wp-comment-cookies-consent) {
    border: 1px solid #eee;
    border-radius: 1.5rem;
    padding: 0.5rem 1rem;
    width: 100%;
    margin-bottom: 0.5rem;
}

.btn-comment {
    background: var(--c1);
    border: 0;
    color: white;
    width: 8rem;
    padding: 0.3rem;
    border-radius: 0.5rem;
}

.modal-header .btn-close {
    margin: 0 !important;
}

.form-submit input#submit {
    background: var(--c1) !important;
    color: white !important;
    border-radius: 0.5rem !important;
}

/**************************************************************************************************** Footer */
footer ul {
    list-style: none;
    padding: 0;
}

footer h4.title {
    color: var(--c1);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

footer ul.navbar-nav a.nav-link {
    font-size: 0.9rem;
}

/**************************************************************************************************** woocommerce-notices-wrapper */
.single-product .woocommerce-notices-wrapper {
    width: 68%;
    margin: auto;
    margin-top: 1rem;
}

.woocommerce-notices-wrapper .woocommerce-message {
    border-top-color: var(--c1);
    background-color: #d7f0f9;
    border-radius: 0.5rem;
}

.woocommerce-notices-wrapper .woocommerce-message a.button.wc-forward {
    background: white;
    padding: 0.7rem 1.8rem;
    border-radius: 0.5rem;
    transition: 0.5s;
}

.woocommerce-notices-wrapper .woocommerce-message a.button.wc-forward:hover {
    background: var(--c1);
    transition: 0.5s;
    color: white !important;
}

@media only screen and (max-width: 768px) {
    .single-product .woocommerce-notices-wrapper {
        width: 93%;
    }

    .single-product .woocommerce-notices-wrapper .woocommerce-message {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }
}

/**************************************************************************************************** Archie  */
.archive-pz ul.products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.woocommerce ul.products::before {
    content: none !important;
}

.woocommerce ul.products.columns-3 li.product, .woocommerce-page ul.products.columns-3 li.product {
    width: 100%;
    background: white;
    box-shadow: 0px 0px 5px 1px #eee;
    padding: 1rem;
    border-radius: 0.5rem;
    position: relative;
    height: 100%;
    margin: 0 !important;
}

.woocommerce ul.products li.product a img {
    border-radius: 6px;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) ul.products li.product .price {
    color: black;
    font-weight: bold;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}

.woocommerce-shop .site-main {
    background-color: #F6F6F8;
}

.archive-pz li.product h2.woocommerce-loop-product__title {
    font-size: 0.9rem;
    color: var(--c2);
    margin-top: 0.75rem;
    font-weight: 700;
}

.woocommerce nav.woocommerce-pagination ul {
    border: 0px !important;
}

.page-numbers a.prev.page-numbers,
.page-numbers a.next.page-numbers,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--c1);
    color: white !important;
    width: 2rem;
    height: 2rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.4rem;
}

.woocommerce nav.woocommerce-pagination ul li {
    border-left: 0px;
}

.woocommerce nav.woocommerce-pagination ul li a {
    background: #d7f0f9ab;
    width: 2rem;
    height: 2rem;
    border-radius: 4px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-left: 0.4rem;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
    transition: 0.5s;
    background: var(--c1);
    color: white !important;
}

/**************************************************************************************************** filter */
.widget-side {
    width: 100%;
    background: white;
    box-shadow: 0px 0px 5px 1px #eee;
    padding: 1rem;
    border-radius: 0.5rem;
    position: relative;
    margin-bottom: 1rem !important;
}

.widget-title h4 {
    font-size: clamp(0.8rem, 1.2vw, 1.2rem);
    font-weight: bold;
}

span.color-swatch {
    margin-left: 0.5rem;
    border-radius: 50%;
}

.widget-side li.woocommerce-widget-layered-nav-list__item.wc-layered-nav-term {
    position: relative;
    margin-bottom: 1rem;
}

.widget-side span.count {
    background: #f5f5f5;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
}

.widget-side ul.woocommerce-widget-layered-nav-list {
    max-height: 12rem;
    overflow-y: auto;
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
    background-color: var(--c1);
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
    background-color: var(--c1);
}

.woocommerce-product-search input#woocommerce-product-search-field-1,
.woocommerce-product-search input#woocommerce-product-search-field-0 {
    border: 1px solid #B1B2B7;
    color: #B1B2B7;
    border-radius: 0.5rem;
    height: 2.5rem;
    padding: 0 0.5rem;
    width: 100%;
    margin-bottom: 1rem;
}

.woocommerce-product-search button {
    background: var(--c1);
    color: white;
    height: 2rem;
    border: 0;
    width: 100%;
    border-radius: 0.5rem;
}

.woocommerce-ordering select.orderby {
    border: 1px solid #B1B2B7 !important;
    height: 2rem;
    border-radius: 0.5rem;
    padding-right: 1rem;
    color: #B1B2B7;
}

.woocommerce .widget_price_filter .price_slider_amount .button {
    font-size: 0.8rem;
    float: right;
    background: #d7f0f9ab;
}

input#woocommerce-product-search-field-0:focus-visible {
    border: 0;
}

.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
    background-color: #B1B2B7;
}

/**************************************************************************************************** Menu */
.header-menu {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 1.25rem;
}

ul.sub-menu li.menu-item-has-children:after {
    transform: rotate(90deg);
}

li.menu-item-has-children:after {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    margin-left: auto;
    content: "";
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    display: inline-block;
}

.header-menu li.menu-item-has-children .sub-menu {
    display: none;
    transition: 0.5s;
    list-style: none;
}

.header-menu li.menu-item-has-children:hover .sub-menu {
    display: block;
    position: absolute;
    text-align: right;
    padding: 0 !important;
    background: #d7f0f9;
    border: 0;
    padding: .5rem 1rem;
    transition: 0.5s;
    border-radius: 0.5rem;
    z-index: 999999;
}


.header-menu li.menu-item-has-children .sub-menu li:hover .sub-menu {
    display: block !important;
    position: absolute;
    text-align: right;
    padding: 0 !important;
    background: #d7f0f9;
    border: 0;
    padding: .5rem 1rem;
    transition: 0.5s;
    border-radius: 0.5rem;
    z-index: 9;
    top: 0;
    right: 100%;
    width: 13rem;
    color: black;
}

.header-menu li.menu-item-has-children .sub-menu .sub-menu {
    display: none !important;
}

.header-menu li.menu-item-has-children .sub-menu li {
    padding: 0.5rem 0.75rem;
    transition: 0.5s;
    margin: 0;
    position: relative;
}

.header-menu li.menu-item-has-children .sub-menu li:hover {
    background-color: var(--c1) !important;
    color: white !important;
    border-radius: 0.5rem;
    transition: 0.5s;
}

.header-menu li.dropdown .depth_0 li {
    margin-left: 0rem;
}

/**************************************************************************************************** Media */

@media only screen and (max-width: 768px) {

    li.menu-item-has-children:after {
        content: none;
    }

    header svg {
        max-width: 100%;
    }

    .archive-pz ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .modal-content {
        width: 90%;
        margin: auto;
    }

    .accordion-body {
        height: 20rem;
    }

    header img.custom-logo {
        width: 8rem;
    }

    .mt-sec {
        margin-top: -2.5rem;

    }

    .box-cat {
        display: flex;
        align-items: center;
        margin-bottom: 0.5rem;
    }

    .box-cat h5 {
        margin-top: 0rem;
    }

    .box-cat img.img-fluid {
        width: 2rem;
        margin-left: 0.25rem;
    }

    .title-svg {
        width: 24px;
        margin-left: 0.25rem;
    }

    .menu-fix {
        box-shadow: 0px -1px 3px #eee;
        padding: 0.75rem 0;
        position: fixed;
        bottom: 0;
        z-index: 9999;
        width: 100%;
        background: white;
    }

    .single-product .menu-fix {
        display: none !important;
    }

    /*.menu {*/
    /*    margin: 0;*/
    /*    display: flex;*/
    /*    font-size: 1.5em;*/
    /*    position: relative;*/
    /*    align-items: center;*/
    /*    justify-content: center;*/
    /*    padding: 0;*/
    /*}*/
    .menu__item {

        all: unset;
        flex-grow: 1;
        z-index: 100;
        display: flex;
        cursor: pointer;
        position: relative;
        border-radius: 50%;
        align-items: center;
        will-change: transform;
        justify-content: center;
        padding: 0.55em 0 0.85em;
        transition: transform var(--timeOut, var(--duration));

    }

    .box-comment {
        padding: 1rem 0.5rem;
    }

    .box-row {
        border-radius: 0rem;
        padding: 1rem 0 !important;
    }

    .btn-2 {
        width: 100% !important;
        text-align: center;
        min-width: 8rem;
        padding: 0.2rem 1rem;
    }

    .archive-pz li.product h2.woocommerce-loop-product__title {
        font-size: 0.7rem !important;
    }

    .woocommerce ul.products.columns-3 li.product, .woocommerce-page ul.products.columns-3 li.product {
        padding: 0.5rem !important;
    }

    .comment-rating .empty {
        font-size: 1rem;
    }

    .comment-rating .full {
        font-size: 1rem;
    }

}

a.custom-logo-link img {
    max-width: 100%;
}

span.strike-price {
    font-size: 0.6rem;
    color: gray;
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.woocommerce-variation-price {
    display: none;
}

button.single_add_to_cart_button.button.alt {
    display: none;
}

.single-product input.qty {
    display: none;
}

/**************/
.col2-set .col-2 {
    float: none !important;
    width: 100% !important;
    margin-bottom: 1.5rem;
}

#custom_checkout_field h2 {
    font-size: 1.2rem;
    font-weight: bold;
    background: #d7f0f9ab;
    padding: 0.75rem;
    text-align: center;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

/*#custom_checkout_field .woocommerce-input-wrapper {*/
/*    display: grid;*/
/*    grid-template-columns: repeat(3, minmax(0, 1fr));*/
/*    -moz-column-gap: 1.5rem;*/
/*    gap: 1.5rem;*/
/*    grid-template-rows: -webkit-min-content -webkit-min-content;*/
/*    grid-template-rows: min-content min-content;*/
/*    grid-auto-rows: -webkit-min-content;*/
/*    grid-auto-rows: min-content;*/
/*    grid-auto-flow: dense;*/
/*    align-items: end;*/
/*    justify-items: center;*/
/*}*/

#custom_checkout_field .woocommerce-input-wrapper ul.nav.nav-tabs {
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    height: 2.5rem;
}

.woocommerce-input-wrapper .nav-tabs li a {
    border: 0px !important;
    transition: 0.7s;
}

.woocommerce-input-wrapper .nav-tabs li a:hover {
    background: #e4f5fb;
    border: 0;
    transition: 0.7s;
}

#custom_checkout_field .woocommerce-input-wrapper .nav-tabs li.active a {
    cursor: default;
    transition: 0.7s;
    border: 0px !important;
    background: #e4f5fb;
    margin: 0;
}

.woocommerce-input-wrapper .tab-content {
    background: #e4f5fb;
    padding: 1rem;
}

.woocommerce-input-wrapper .tab-content .active {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    font-size: clamp(0.7rem, 1vw, 0.9rem);
}

.tab-content .date-item {
    text-align: center;
}

.tab-content .date-item input {
    margin-left: 0.5rem;
}

@media only screen and (max-width: 768px) {
    #custom_checkout_field .woocommerce-input-wrapper ul.nav.nav-tabs {
        overflow-x: scroll !important;
        flex-wrap: nowrap;
        flex-direction: row;
        width: auto;
        font-size: 0.7rem;
    }

    .woocommerce-input-wrapper .nav-tabs li {
        float: left;
        margin-bottom: -1px;
        min-width: 9rem;
    }
}

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

.custom-sorting-options {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px; /* فاصله بین دکمه‌ها را تنظیم کنید */
}

.custom-sorting-options label {
    display: flex;
    align-items: center;
    gap: 5px; /* فاصله بین دکمه و متن */
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.custom-sorting-options input[type="radio"] {
    display: none; /* مخفی کردن دایره ورودی */
}

.custom-sorting-options input[type="radio"]:checked + span {
    background-color: #007bff; /* پس‌زمینه آبی برای گزینه فعال */
    color: white; /* رنگ متن سفید برای گزینه فعال */
}

.custom-sorting-options span {
    padding: 5px 10px;
    border-radius: 5px;
}

.custom-sorting-options label:hover span {
    background-color: #f0f0f0; /* پس‌زمینه خاکستری برای هاور */
}

.custom-sorting-options {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px; /* فاصله بین دکمه‌ها را تنظیم کنید */
}

.custom-sorting-options label {
    display: flex;
    align-items: center;
    gap: 5px; /* فاصله بین دکمه و متن */
    padding: 5px 10px;
    border: unset !important;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    background-color: #f8f8f8; /* پس‌زمینه پیش‌فرض */
}

.custom-sorting-options input[type="radio"] {
    display: none; /* مخفی کردن دایره ورودی */
}

.custom-sorting-options input[type="radio"]:checked + label {
    background-color: #007bff; /* پس‌زمینه آبی برای گزینه فعال */
    color: white; /* رنگ متن سفید برای گزینه فعال */
}

.custom-sorting-options label:hover {
    background-color: #e0e0e0; /* پس‌زمینه خاکستری برای هاور */
}

.woocommerce .woocommerce-ordering, .woocommerce-page .woocommerce-ordering {
    float: unset;
}

.woocommerce .woocommerce-ordering, .woocommerce-page .woocommerce-ordering {
    float: unset;
    display: flex;
    align-items: center;
}

.widget.widget-side .widget-title h4:before {
    content: '';
    width: 20px;
    height: 20px;
    display: inline-block;
    background-position: center center;
    background-size: cover;
    margin-left: 0.5rem;
    background-image: url(/wp-content/uploads/2024/08/Group-1.png);

}

div#woocommerce_price_filter-6 .widget-title h4:before {

    background-image: url(/wp-content/uploads/2024/07/property-cost.svg);

}

#woocommerce_layered_nav-2 .widget-title h4:before {

    background-image: url(/wp-content/uploads/2024/07/Color-Palette.svg);

}

#woocommerce_layered_nav-4 .widget-title h4:before {

    background-image: url(/wp-content/uploads/2024/07/Group.svg);

}

#woocommerce_layered_nav-3 .widget-title h4:before {
    background-image: url(/wp-content/uploads/2024/08/Group.png);
}

.mini-carts dl.variation {
    display: none;
}

.btn-filter {
    background: white;
    border: 0;
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0px 0px 5px 1px #eee;
    margin-bottom: 1rem;
}

.custom-sorting-options input[type="radio"]:checked + label {
    background-color: var(--c1);
}

header span.cart-count {
    top: -10%;
    left: -60%;
    position: absolute;
    background: red;
    color: white;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5px;
    z-index: -1;
    font-size: 0.7rem;
}

@media only screen and (max-width: 768px) {
    header span.cart-count {
        top: -10%;
        left: -60%;
        position: absolute;
        background: red;
        color: white;
        width: 1rem;
        height: 1rem;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 5px;
        z-index: -1;
        font-size: 0.7rem;
    }

    .custom-sorting-options {
        flex-direction: column;
    }

    .custom-sorting-options label {
        justify-content: center;
    }
    input#coupon_code {
        background: var(--c3);
        width: 100% !important;
        text-align: right;
        padding: .5rem;
        margin-bottom: 1rem;
    }
    .coupon button {
        border: 1px solid var(--c1) !important;
    }
}

#woocommerce_layered_nav-4 ul.woocommerce-widget-layered-nav-list a:before {
    content: "" !important;
    width: 15px;
    height: 15px;
    display: inline-flex;
    background-image: url(wp-content/uploads/2024/07/rectangle_881.webp);
    background-repeat: no-repeat;
    background-size: contain;
    margin-left: 0.5rem !important;
}

#woocommerce_layered_nav-4 ul.woocommerce-widget-layered-nav-list .chosen a:before {
    background-image: url(/wp-content/uploads/2024/07/group_33066.webp);
}

#woocommerce_layered_nav-2 .chosen .color-swatch {
    border: 2px solid var(--c1);
}

#woocommerce_layered_nav-2 .chosen a:before {
    content: none !important;
}

.star svg {
    width: 14px !important;
}

.variations tbody tr {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.woocommerce div.product div.images img {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.menubottom span.cart-count {
    position: absolute;
    left: 0;
    background: red;
    color: white;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5px;
}

menu.menubottom {
    padding: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0;
}

menu.menubottom button,
menu.menubottom a {
    display: flex;
    align-items: center;
    flex-direction: column;
    font-size: 0.7rem;
    position: relative;
}

.price-mob {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 0;
    z-index: 9999;
    width: 100%;
    background: white;
    box-shadow: 0px -1px 3px #eee;
    padding: 0.75rem 0.5rem;
    right: 0;
}

.price-mob span#my-price {
    font-size: 0.7rem;
}

/* دکمه ثابت افزودن به سبد خرید */
.fixed-add-to-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    color: black;
    text-align: center;
    padding: 15px 1rem;
    font-size: 18px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fixed-add-to-cart a {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: var(--c1);
    color: white !important;
    border-radius: 0.5rem;
    text-decoration: none;
}

h2.woocommerce-loop-product__title {
    min-height: 4rem;
}

.board {
    margin-right: -50%;
    margin-left: -50%;
}

.board .swiper {
    width: 100%;
    height: 100%;
}

.board .swiper-slide {
    text-align: center;
    /* Center slide text vertically */
    display: flex;
    justify-content: center;
    align-items: center;
}

.board.swiper-wrapper {
    display: flex;
    align-items: flex-end;
}

.navi-wrapper .arrow {
    height: 2rem;
    border-radius: 50%;
    background: white;
    width: 2rem;

}

.navi-wrapper {
    width: 95%;
}

.my-swiper-pagination span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 2rem !important;
    border-radius: 8px !important;
    background: var(--c1) !important;
}

tr.wapo-total-order {
    display: none;
}

.offcanvas-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.offcanvas-body ul li a img {
    width: 3rem;
    border-radius: 0.25rem;
    margin-left: 0.5rem;
}

.offcanvas-body ul li a.remove.remove_from_cart_button {
    background: var(--c1);
    width: 1rem;
    height: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-radius: 50%;
    color: white !important;
    padding-top: 0.2rem;
    float: right;
    margin-left: 0.5rem;
}

.offcanvas-body p.woocommerce-mini-cart__total.total {
    background: var(--c1);
    color: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    text-align: center;
}

.offcanvas-body p.woocommerce-mini-cart__buttons.buttons {
    gap: 2rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.offcanvas-body a.button.wc-forward {
    background: var(--c1);
    color: white !important;
    min-width: 45%;
    padding: 0.2rem;
    border-radius: 0.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}


.offcanvas-body span.quantity {
    display: inline-block;
    padding-bottom: 2rem !important;
    text-align: left !important;
    width: 100%;
}

.offcanvas-body ul li a:nth-child(2) {
    display: inline-flex;
    flex-direction: row;
    width: 90% !important;
    align-items: center;
}

.offcanvas-body {
}

.offcanvas-body {
}

.single-product .label_price,
.single-product .select_option_image.select_option {
    position: relative;
}

.single-product .select_option_image.select_option:before {
    content: "";
    width: 1rem;
    height: 1rem;
    position: absolute;
    background: #fff0;
    left: 50%;
    top: calc(100% + 8px);
    transform: translateX(-50%);
    border-radius: 50%;
    border: 2px solid var(--c1);
}

.single-product .select_option_image.select_option.selected:before {
    content: "";
    background: var(--c1);
    content: "";
    width: 1rem;
    height: 1rem;
    position: absolute;
    left: 50%;
    top: calc(100% + 8px);
    transform: translateX(-50%);
    border-radius: 50%;
    border: 2px solid var(--c1);
}

.single-product .label_price:after {
    content: "";
    width: 1rem;
    height: 1rem;
    position: absolute;
    background: #fff0;
    left: calc(100% + 12px);
    top: 4px;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 2px solid var(--c1);
}

.single-product .selected .label_price:after {
    content: "";
    width: 1rem;
    height: 1rem;
    position: absolute;
    background: var(--c1);
    left: calc(100% + 12px);
    top: 4px;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 2px solid var(--c1);
}

.yith-wapo-container.yith-wapo-form-style-custom .yith-wapo-block .yith-wapo-addon.yith-wapo-addon-type-label .yith-wapo-option.selected div.label .label-container-display:after {
    content: none;
}

.woocommerce-product-gallery__wrapper img {
    border-radius: 1rem !important;
}

select#yith-wapo-18 {
    height: 36px;
    border-radius: 8px;
    border: 1px solid #DBDCDD;
    padding-right: 1rem;
}

.wapo-addon-title {
    font-size: 1.2rem;
}

p.coupon-holder {
    margin: 2rem 0;
    background: var(--c1) !important;
    padding: 1rem;
    color: white;
    font-weight: bold;
    border-radius: 0.5rem;
}


.lb-nav a.lb-prev,
.lb-nav a.lb-next {
    opacity: 1;
}

a.add-to-favorites.added svg path {
    fill: darkred;
}

.box-price #my-price ins {
    text-decoration: none;
    font-size: 16px;
}

.box-price #my-price del {
    color: #a9a4a4;
    font-size: 12px;
}


/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content-add {
    padding: 20px;
    max-height: 350px;
    max-width: 500px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    height: auto;
    transform: translate(-50%, -50%);
    display: flex;
    border-radius: 1rem;
    flex-direction: column;
}

.actions.boxs {
    display: flex;
    right: 12px;
    top: 12px;
    background: white;
    padding: 2px 5px 0;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}


.share .lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 8rem;
    justify-content: flex-start;
    cursor: pointer;
}

.lang-content {
    opacity: 0;
    position: absolute;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 2;
    text-align: center;
    right: 0;
    top: 102%;
    left: 0;
    right: 0;
    padding-top: 10px;
    transition: 0.3s;
    border-radius: 0 0 5px 5px;
}

.share .lang-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    right: 23%;
    left: auto;
    top: 0;
    width: 150%;
    padding: 8px 0;
}

.lang-button:hover .lang-content {
    opacity: 1;
    transition: 0.3s;
}

.share {
    position: relative;
}

.share .lang-content img {
    filter: invert(0.4);
    transition: 0.3s;
}

.share .lang-content img:hover {
    filter: invert(1);
    transition: 0.3s;
}

.modal-backdrop.show {
    display: none;
    opacity: 0 !important;
}

.faq-btn {
    display: flex;
    justify-content: center;
    margin: auto;
    max-width: 10rem;
}

.readMore {
    position: relative;
}

.content-readMore {
    overflow: hidden;
    max-height: 800px;
    transition: max-height 0.5s ease, padding 0.5s ease;
    position: relative;
}

.content-readMore:after {
    content: "";
    width: 100%;
    height: 12rem;
    position: absolute;
    bottom: 0;
    background: linear-gradient(0deg, white, transparent);
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.content-readMore.expanded:after {
    content: none;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.content-readMore.expanded {
    max-height: none;
    transition: max-height 0.5s ease, padding 0.5s ease;
}


/*****/

.side-section h2 {
    font-size: clamp(0.8rem, 1.2vw, 1.2rem);
    font-weight: bold;
}

.side-section button {
    display: inline !important;
    background: unset;
    border: unset !important;
    outline: unset !important;
}

.side-section input {
    display: inline !important;
    width: 80%;
    border: unset !important;
}

.side-section input:focus {
    border: unset !important;
    box-shadow: unset !important;
    outline: unset !important;
}

.side-section form {
    border: 1px solid #7C7C7C;
    padding: 0.25rem 0;
    border-radius: 0.5rem;
    display: flex;
}

.side-section img {
    border-radius: 0.5rem;
    max-width: 30%;
}

.single article .content h2, .single article .content h3, .single article .content h4, .single article .content h5, article .single article .content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
    color: var(--c1);
}

.side-section ul {
    padding: 0;
    list-style: none;
}

.side-section .items h3 {
    font-size: clamp(0.7rem, 1.2vw, 1.1rem);
}

.wrapper-img-slide {
    height: 80vh;
    background-position: center center;
    background-size: cover;
}


.main-single a {
    color: var(--c1) !important;
}

.term-description a {
    color: var(--c1) !important;
    text-decoration: none !important;
}


h3#ship-to-different-address {
    border-radius: .5rem;
    width: 100%;
    padding: 1rem;
    background: #d7f0f9ab;
    margin-top: 1rem;
    font-size: 1rem !important;
    line-height: 1;
}

p#buyer_sms_notify_field {
    border-radius: .5rem;
    width: 100%;
    padding: .5rem 1rem;
    background: #d7f0f9ab;
    margin-top: 1rem;
    font-size: 1rem !important;
    line-height: 1;
    background-color: var(--c1) !important;
    color: white;
}

.shipping_address .input-text {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #d9d9d9 !important;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb {
    font-size: .92em;
    color: #767676;
    padding: .5rem 1rem;
    background: #efefef;
}

ul#myTab-ct {
    margin: 0 !important;
    background: #F2F2F0;
    padding: .2rem .5rem;
    border-radius: 1rem;
}

#myTab-ct .nav-link {
    color: black;
    padding: .2rem .5rem !important;
    border-radius: .5rem;
}

ul#myTab-ct .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background: var(--c1) !important;
    color: white !important;
    border-radius: .5rem;

}

#myTabContent .tab-pane {
    padding: .5rem .75rem;
    border-left: 1px solid;
}

.tabs-wrapper {
    border: 1px solid #DBDCDD;
    border-radius: .75rem;
}


.my-accordion {
    background-color: #fff;
    overflow: hidden;
}

.my-accordion-header {
    padding: 1rem;
    font-size: 1rem;
    cursor: pointer;
}

.my-accordion-header span {
    color: #A59CB4;
}

/*.my-accordion-header:hover {*/
/*    background-color: #e0e0e0;*/
/*}*/

.my-accordion-content {
    display: none;
    padding: 1rem;
    font-size: 14px;
    color: #615770;
}

.my-accordion.open .my-accordion-content {
    display: block;
}


.my-accordion .icon-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.my-accordion .minus {
    display: none;
}

.my-accordion.open .minus {
    display: flex;
}

.my-accordion.open .plus {
    display: none;
}


.my-accordion-content p {
    border-left: 1px solid lightgray;
    padding-left: 0.75rem;
    position: relative;
}

.my-accordion-content p:after {
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    width: 2px;
    height: 4rem;
    background: gray;
    transform: translate(-50%, -50%);
    content: '';
}

#myTab-ct {
    display: flex;
    flex-wrap: nowrap; /* آیتم‌ها در یک خط بمونن */
    overflow-x: auto; /* اسکرول افقی */
    white-space: nowrap; /* جلوگیری از شکستن متن */
    padding-bottom: 10px; /* فاصله از پایین */
    -webkit-overflow-scrolling: touch; /* اسکرول روان در موبایل */
}

#myTab-ct .nav-item {
    flex: 0 0 auto; /* حفظ عرض آیتم‌ها */
}

#myTab-ct .nav-link {
    white-space: nowrap; /* جلوگیری از شکستن متن دکمه‌ها */
}

#myTabContent .tab-pane {
    padding: .5rem .75rem;
    border-left: 1px solid;
    overflow-y: auto;
    max-height: 300px;
}


.line-1,
.line-2,
.line-3,
.line-4 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

/* محدود به 1 خط */
.line-1 {
    -webkit-line-clamp: 1;
}

/* محدود به 2 خط */
.line-2 {
    -webkit-line-clamp: 2;
}

/* محدود به 3 خط */
.line-3 {
    -webkit-line-clamp: 3;
}

/* محدود به 4 خط */
.line-4 {
    -webkit-line-clamp: 4;
}

/* بخش محتوای مقاله */
.post-content, .entry-content {
    font-size: 1rem;
    line-height: 1.9;
    font-family: 'iranyekan', sans-serif;
}

/* پاراگراف‌ها */
.post-content p {
    margin-bottom: 1.5em;
    color: grey;
}

/* تیترها */
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    font-weight: bold;
    margin-top: 2em;
    margin-bottom: 1em;
    line-height: 1.5;
    text-decoration: underline;
    text-decoration-color: var(--c2);
    text-underline-offset: 0.75rem;
}

.post-content h1 {
    font-size: 1.2rem;
}

.post-content h2 {
    font-size: 1.1rem;
}

.post-content h3 {
    font-size: 1rem;
}

.post-content h4 {
    font-size: 0.9rem;
}

.post-content h5 {
    font-size: 0.8rem;
}

.post-content h6 {
    font-size: 0.7rem;
}

/* لینک‌ها */
.post-content a {
    color: var(--prime);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.post-content a:hover {
    color: #1a45b0;
}

/* لیست‌ها */
.post-content ul,
.post-content ol {
    margin: 1em 0 1em 2em;
    padding-right: 1.5em;
}

.post-content ul li {
    list-style-type: disc;
    margin-bottom: 0.5em;
}

.post-content ol li {
    list-style-type: decimal;
    margin-bottom: 0.5em;
}

/* نقل‌قول‌ها */
.post-content blockquote {
    border-right: 4px solid #ccc;
    padding: 1em;
    background-color: #f9f9f9;
    margin: 2em 0;
    font-style: italic;
    color: #555;
}

/* تصاویر */
.post-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5em auto;
    border-radius: 6px;
}

/* جدول‌ها */
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
}

.post-content table th,
.post-content table td {
    border: 1px solid #ddd;
    padding: 0.75em;
    text-align: center;
}

.post-content table th {
    background-color: #f0f0f0;
}

/* کد */
.post-content code {
    background-color: #f1f1f1;
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}

.post-content pre {
    background-color: #f8f8f8;
    padding: 1em;
    border-radius: 5px;
    overflow-x: auto;
    font-family: monospace;
    margin-bottom: 2em;
}

/* ویدیوها */
.post-content iframe,
.post-content video {
    max-width: 100%;
    height: auto;
    margin: 2em 0;
}

/* جداکننده وردپرس */
.post-content hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 2em 0;
}

/* لیست داخل blockquote */
.post-content blockquote ul,
.post-content blockquote ol {
    padding-left: 1.2em !important;
    margin-top: 1em !important;
    list-style: disc !important;
}


.my-accordion {
    background-color: #fff;
    border: #DADEEB 1px solid;
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.my-accordion-header {
    padding: 1rem;
    font-size: 1rem;
    cursor: pointer;
}

.my-accordion-header span {
    color: #A59CB4;
}

/*.my-accordion-header:hover {*/
/*    background-color: #e0e0e0;*/
/*}*/

.my-accordion-content {
    display: none;
    padding: 1rem;
    font-size: 14px;
    color: #615770;
}

.my-accordion.open .my-accordion-content {
    display: block;
}


.my-accordion .icon-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.my-accordion .minus {
    display: none;
}

.my-accordion.open .minus {
    display: flex;
}

.my-accordion.open .plus {
    display: none;
}

.my-accordion.open {
    background: #F4F5F9;
}

.my-accordion.open .my-accordion-header, .my-accordion.open .my-accordion-header span {
    color: var(--c1);
}

.single-blog h3#reply-title {
    color: var(--c2);
    font-weight: bold;
    margin-bottom: 1rem;
}

.single-blog form#commentform {
    width: 100%;
    margin: 0 auto;
    border: unset;
    padding: 0;
    border-radius: 0.5rem;
}

p.comment-form-comment label {
    display: block;
}

textarea#comment {
    width: 100%;
    border: 1px solid lightgray;
}

input#submit {
    background: var(--c1) !important;
    color: white !important;
    padding: 0.25rem 1rem;
    border-radius: 0.5rem;
    font-size: 14px;
    outline: none;
    border: none;
}

article.content.c-toc.my-4.post-content {
    background: #F9F7F3;
    padding: 1rem 2rem;
    border-radius: 1rem;
}


.side-section h4 {
    position: relative;
    border-bottom: 1px solid #7C7C7C;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    color: #505050;
}

.side-section input::placeholder {
    font-size: 12px;
}

.side-section h4:after {
    content: "";
    background: var(--c1);
    width: 25%;
    height: 4px;
    display: block;
    position: absolute;
    bottom: 0%;
    transform: translate(0, 50%);
}

.side-section button {
    display: inline !important;
    background: unset;
    border: unset !important;
    outline: unset !important;
}

.side-section input {
    display: inline !important;
    width: 80%;
    border: unset !important;
}

.side-section input:focus {
    border: unset !important;
    box-shadow: unset !important;
    outline: unset !important;
}

.side-section form {
    border: 1px solid #7C7C7C;
    padding: 0.25rem 0;
    border-radius: 0.5rem;
}

.side-section img {
    border-radius: 0.5rem;
    max-width: 30%;
}

.single article .content h2, .single article .content h3, .single article .content h4, .single article .content h5, article .single article .content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
    color: var(--c1);
}

span.post-time {
    position: absolute;
    top: .5rem;
    left: .4rem;
    display: block;
    background: var(--c1);
    color: white;
    padding: .25rem 1rem;
    border-radius: .75rem;
}



.pagination-wrapper .nav-links {
    display: flex;
    /* background: red; */
    width: 100%;
    justify-content: center;
    column-gap: 1rem;
    margin-top: 2rem;
    align-items: center;
}


.page-numbers {
    background: var(--c3);
    padding: .25rem .75rem;
    border-radius: 0.95rem;
}

span.page-numbers.current {
    background: white;
}

a.prev.page-numbers, a.next.page-numbers {
    background: var(--c1);
    height: 2.5rem;
    width: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}


.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {

    border: 1px solid lightgray;
    border-radius: 1rem;
}

.color-box span.color-label {
    width: .75rem;
    height: .75rem;
    border-radius: 50%;
    border: 1px solid grey;
}

.woocommerce ul.products li.product a.woocommerce-loop-product__link {
    position: relative;
}



article h1,
article h2,
article h3,
article h4,
article h5,
article h6 {
    font-weight: bold;
    color: var(--c2);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

article h1 {
    font-size: 1.5rem;
}

article h2 {
    font-size: 1.25rem;
}

article h3 {
    font-size: 1.15rem;
}

article h4 {
    font-size: 1.05rem;
}

article h5 {
    font-size: 1rem;
}

article h6 {
    font-size: .9rem;

}
article p img{
    margin-top: 1rem ;
    margin-bottom: 1rem;
}
article a{
    color: var(--c1)!important;
}
article a {
    text-decoration: underline !important;
    color: var(--c1) !important;
    text-underline-offset: .5rem;
}
article.content {
    line-height: 2.5;
}
/* ترازبندی تصاویر وردپرس */
.alignleft {
    float: left;
    margin-right: 1rem;
    margin-bottom: 1rem;
    display: inline;
}

.alignright {
    float: right;
    margin-left: 1rem;
    margin-bottom: 1rem;
    display: inline;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

/* نمایش کپشن تصاویر وردپرس */
.wp-caption {
    max-width: 100%;
    text-align: center;
    margin: 1rem auto;
    font-size: 0.9rem;
    color: #555;
}

.wp-caption img {
    margin-bottom: 0.5rem;
    max-width: 100%;
    height: auto;
}

.wp-caption-text {
    font-style: italic;
    color: #666;
}

div#tab-description a{
    color: var(--c1)!important;
    font-weight: bold;
}

.menu-none {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
