:root {
	--wd-text-font: iranyekan;
	--wd-text-font-weight: 500;
	--wd-text-color: rgb(99,99,99);
	--wd-text-font-size: 15px;
	--wd-title-font: iranyekan;
	--wd-title-font-weight: 500;
	--wd-title-color: rgb(211,0,0);
	--wd-entities-title-font: iranyekan;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: iranyekan;
	--wd-widget-title-font: iranyekan;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: iranyekan;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 14px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: #d60644;
	--wd-alternative-color: #fbbc34;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: #d60644;
	--btn-accented-bgcolor-hover: #c40545;
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: rgb(214,0,0);
	--wd-link-color-hover: rgb(221,153,51);
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(249,249,249);
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--wd-brd-radius: 0px;
}


rs-slides :is([data-type=text],[data-type=button]) {
font-family: iranyekan !important;
}
rs-slides :is(h1,h2,h3,h4,h5,h6)[data-type=text] {
font-family: iranyekan !important;
}

.wd-page-title {
background-color: #e8e8e8;
}

.woodmart-button-wrapper.inline-element {
    margin-bottom: 0px;
}
body.home .main-page-wrapper {
    background-color: #f6f6f6;
}
.promo-banner .promo-banner-image {
    border-radius: 15px;
}
.product-grid-item.woodmart-hover-tiled .hover-img img, .product-grid-item.woodmart-hover-tiled .product-image-link img {
    width: 100%;
    padding: 20px;
}
.woodmart-hover-tiled .product-wrapper {
    border-radius: 10px;
    overflow: hidden;
	background: #fff;
}
.labels-rectangular .product-label {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 15px;
    margin-right: 5px;
}
.fara{padding:13px!important;}


.wp-caption {
width:100%!important;
}

/* Baran Store: keep Toman left of the price with consistent spacing. */
body .woocommerce-Price-amount > bdi {
    display: inline-flex;
    flex-direction: row;
    direction: rtl;
    align-items: baseline;
    column-gap: 0.25em;
    white-space: nowrap;
}
body .woocommerce-Price-amount > bdi > .woocommerce-Price-currencySymbol {
    order: 1;
}

/* Baran Store: consistent purchase area, with or without stock or quantity. */
body.single-product .summary-inner:has(> .price) {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 10px;
    align-items: center;
}
body.single-product .summary-inner:has(> .price) > * {
    grid-column: 1 / -1;
}
body.single-product .summary-inner:has(> .price) > .price {
    order: 10;
    min-width: 0;
    margin: 0 0 14px;
}
body.single-product .summary-inner:has(> .price) > .stock {
    order: 5;
    margin: 0 0 14px;
}
body.single-product .summary-inner:has(> .price):has(> .stock.out-of-stock) > .price,
body.single-product .summary-inner:has(> .price):has(> form.cart > .quantity:not(.hidden) > input.qty:not([type="hidden"])) > .price {
    grid-column: 1 / span 3;
}
body.single-product .summary-inner:has(> .price) > .stock.out-of-stock {
    order: 11;
    grid-column: 4;
    justify-self: end;
}
body.single-product .summary-inner:has(> .price) > form.cart {
    order: 12;
}
body.single-product .summary-inner:has(> .price) > form.cart:not(.variations_form):not(.grouped_form) {
    display: contents;
}
body.single-product .summary-inner:has(> .price) > form.cart:not(.variations_form):not(.grouped_form) > .quantity {
    order: 11;
    grid-column: 4;
    justify-self: end;
    margin: 0 0 14px;
}
body.single-product .summary-inner:has(> .price) > form.cart:not(.variations_form):not(.grouped_form) > .wd-buy-now-btn {
    order: 20;
    grid-column: 1 / span 2;
}
body.single-product .summary-inner:has(> .price) > form.cart:not(.variations_form):not(.grouped_form) > .single_add_to_cart_button {
    order: 21;
    grid-column: 1 / -1;
}
body.single-product .summary-inner:has(> .price) > form.cart:has(> .wd-buy-now-btn):not(.variations_form):not(.grouped_form) > .single_add_to_cart_button {
    grid-column: 3 / span 2;
}
body.single-product .summary-inner:has(> .price) > form.cart:not(.variations_form):not(.grouped_form) > :is(.single_add_to_cart_button, .wd-buy-now-btn) {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 10px 8px;
    justify-content: center;
    white-space: normal;
}
body.single-product .summary-inner:has(> .price) > form.cart ~ :not(.stock) {
    order: 30;
}

/* Baran Store: mobile purchase strip above WoodMart bottom navigation. */
.baran-mobile-order,
.baran-mobile-order-spacer {
    display: none;
}
@media (max-width: 1024px) {
    body.single-product .baran-mobile-order:not([hidden]) {
        position: fixed;
        inset-inline: 0;
        bottom: var(--baran-order-bottom, 55px);
        z-index: 349;
        display: grid;
        grid-template-columns: minmax(110px, 42%) minmax(0, 1fr);
        align-items: center;
        gap: 12px;
        padding-block: 9px;
        padding-inline-start: max(14px, env(safe-area-inset-right));
        padding-inline-end: max(14px, env(safe-area-inset-left));
        border-top: 1px solid var(--brdcolor-gray-300, #e4e4e4);
        background: var(--bgcolor-white, #fff);
        box-shadow: 0 -3px 14px rgba(0, 0, 0, .07);
    }
    body.single-product .baran-mobile-order-spacer:not([hidden]) {
        display: block;
    }
    body.single-product:has(> .baran-mobile-order:not([hidden])) > .scrollToTop {
        bottom: calc(var(--baran-order-stack-height, 118px) + 12px);
    }
    .baran-mobile-order-price {
        min-width: 0;
        max-width: 100%;
        text-align: end;
        font-size: clamp(19px, 5.4vw, 24px);
        font-weight: 900;
        color: var(--wd-primary-color, #d60046);
        line-height: 1.45;
    }
    .baran-mobile-order-price .woocommerce-Price-currencySymbol {
        font-size: .84em;
        font-weight: 700;
    }
    .baran-mobile-order-price del {
        font-size: .76em;
        opacity: .74;
    }
    .baran-mobile-order-price ins {
        text-decoration: none;
    }
    .baran-mobile-order-button {
        width: 100%;
        min-height: 44px;
        padding: 8px 10px;
        border: 0;
        border-radius: 6px;
        background: var(--wd-primary-color, #d60046);
        color: #fff;
        font: inherit;
        font-size: 14px;
        font-weight: 700;
    }
    .baran-mobile-order-button:disabled {
        opacity: .55;
        cursor: default;
    }
    .baran-mobile-order-button:focus-visible {
        outline: 2px solid var(--wd-primary-color, #d60046);
        outline-offset: 2px;
    }
}
	

@media (max-width: 365px) {
    body.single-product .baran-mobile-order:not([hidden]) {
        grid-template-columns: minmax(0, 42%) minmax(min-content, 1fr);
        padding-inline-start: max(11px, env(safe-area-inset-right));
        padding-inline-end: max(11px, env(safe-area-inset-left));
    }
}

/* Baran Store: compact accessory lists on product pages. */
body.single-product .summary .woobt-wrap:has(.woobt-product-together) {
    container: baran-accessories / inline-size;
    padding: 8px 12px;
    margin-block: 8px 12px;
    border: 1px solid var(--brdcolor-gray-300, #e6dada);
    border-radius: 8px;
    background: #faf7f7;
}
body.single-product .summary .woobt-wrap:has(.woobt-product-together) > .woobt-before-text {
    margin: 0 0 3px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}
body.single-product .summary .woobt-wrap .woobt-summary :is(.woobt-additional, .woobt-total),
body.single-product .summary .woobt-wrap .woobt-summary:not(:has(.woobt-alert:not(:empty))) {
    display: none !important;
}
body.single-product .summary .woobt-wrap .woobt-products {
    margin: 0;
    border: 0;
}
body.single-product .summary .woobt-products-layout-default > .woobt-product-together {
    display: grid !important;
    grid-template-columns: 42px 38px minmax(0, 1fr) auto auto;
    grid-template-areas: "check image title quantity price";
    gap: 4px 8px;
    padding-block: 6px;
    align-items: center;
    border: 0;
}
body.single-product .summary .woobt-products-layout-default > .woobt-product-together ~ .woobt-product-together {
    border-top: 1px solid var(--brdcolor-gray-300, #e6dada);
}
body.single-product .summary .woobt-products-layout-default > .woobt-product-together > div {
    padding: 0;
    min-width: 0;
    width: auto !important;
    max-width: none;
    margin: 0 !important;
}
body.single-product .summary .woobt-product-together > .woobt-choose {
    grid-area: check;
    min-height: 42px;
    display: grid;
    place-items: center;
    position: relative;
}
body.single-product .summary .woobt-product-together > .woobt-choose label {
    inset: 0;
    width: auto;
    height: auto;
    font-size: 0;
    cursor: pointer;
    clip: auto;
}
body.single-product .summary .woobt-product-together > .woobt-choose input.woobt-checkbox {
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    position: relative;
    accent-color: var(--wd-primary-color, #d60046);
}
body.single-product .summary .woobt-product-together > .woobt-thumb {
    grid-area: image;
}
body.single-product .summary .woobt-product-together > .woobt-thumb img {
    width: 38px !important;
    height: 38px !important;
    object-fit: contain;
    border-radius: 4px;
}
body.single-product .summary .woobt-product-together > .woobt-title {
    grid-area: title;
    text-align: start;
    white-space: normal;
    overflow-wrap: anywhere;
}
body.single-product .summary .woobt-product-together > .woobt-title,
body.single-product .summary .woobt-product-together > .woobt-title a {
    font-size: 13px !important;
    font-weight: 600;
    line-height: 1.5;
}
body.single-product .summary .woobt-product-together > .woobt-quantity {
    grid-area: quantity;
    justify-self: start;
}
body.single-product .summary .woobt-product-together > .woobt-price {
    grid-area: price;
    text-align: end;
    justify-self: end;
    font-size: 13px;
    font-weight: 600;
}
@container baran-accessories (max-width: 440px) {
    body.single-product .summary .woobt-products-layout-default > .woobt-product-together {
        grid-template-columns: 42px 38px minmax(0, 1fr);
        grid-template-areas: "check image title" "quantity quantity price";
    }
    body.single-product .summary .woobt-products-layout-default > .woobt-product-together:not(:has(> .woobt-quantity)) {
        grid-template-areas: "check image title" "price price price";
    }
}
	

/* Align purchase actions when one label wraps, and fit accessory controls on narrow screens. */
body.single-product .summary-inner:has(.woobt-product-together) > form.cart > :is(.single_add_to_cart_button, .wd-buy-now-btn) {
    align-self: stretch;
}
body.single-product .summary .woobt-quantity-input > :is(.woobt-quantity-input-plus, .woobt-quantity-input-minus) {
    flex: 0 0 28px;
    width: 28px;
    height: 32px;
    line-height: 30px;
}
body.single-product .summary .woobt-quantity-input input.woobt-qty {
    width: 28px;
    min-width: 28px;
    height: 32px;
    padding-inline: 0;
    line-height: 30px;
}
body.single-product .summary .woobt-quantity-input input.woobt-qty:focus-visible {
    outline: 2px solid var(--wd-primary-color, #d60046);
    outline-offset: -2px;
}
@container baran-accessories (max-width: 235px) {
    body.single-product .summary .woobt-product-together > .woobt-price {
        font-size: 12px;
    }
}
	

/* Baran Store: minimalist product specifications. */
body.single-product #tab-additional_information table.woocommerce-product-attributes {
    --baran-spec-ink: #24212a;
    --baran-spec-label: var(--wd-text-color, #57515d);
    --baran-spec-line: var(--brdcolor-gray-300, #ece4e9);
    --baran-spec-stripe: #f8f5f7;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 4px;
    border: 1px solid var(--baran-spec-line);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    background: var(--bgcolor-white, #fff);
}
body.single-product #tab-additional_information table.woocommerce-product-attributes > tbody {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    margin: 0;
}
body.single-product #tab-additional_information table.woocommerce-product-attributes > tbody > tr {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 38px;
    margin: 0;
    padding: 7px 10px;
    border: 0;
    border-radius: 8px;
    line-height: 1.6;
}
body.single-product #tab-additional_information table.woocommerce-product-attributes > tbody > tr:nth-child(odd) {
    background: var(--baran-spec-stripe);
}
body.single-product #tab-additional_information table.woocommerce-product-attributes > tbody > tr > :is(th, td) {
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    white-space: normal;
    overflow-wrap: anywhere;
}
body.single-product #tab-additional_information table.woocommerce-product-attributes > tbody > tr > th {
    color: var(--baran-spec-label);
    font-size: 13px;
    font-weight: 500;
    text-align: start;
}
body.single-product #tab-additional_information table.woocommerce-product-attributes > tbody > tr > td {
    --wd-link-color: var(--baran-spec-ink);
    color: var(--baran-spec-ink);
    font-size: 13px;
    font-weight: 700;
    text-align: end;
}
body.single-product #tab-additional_information table.woocommerce-product-attributes td p {
    margin: 0;
}
body.single-product #tab-additional_information table.woocommerce-product-attributes .wd-term {
    white-space: normal;
}
@media (min-width: 1025px) {
    body.single-product #tab-additional_information table.woocommerce-product-attributes > tbody {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 8px;
    }
    body.single-product #tab-additional_information table.woocommerce-product-attributes > tbody > tr:nth-child(odd) {
        background: transparent;
    }
    body.single-product #tab-additional_information table.woocommerce-product-attributes > tbody > tr:nth-child(4n+1),
    body.single-product #tab-additional_information table.woocommerce-product-attributes > tbody > tr:nth-child(4n+2) {
        background: var(--baran-spec-stripe);
    }
    body.single-product #tab-additional_information table.woocommerce-product-attributes > tbody > tr:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

/* Baran Store checkout: presentation only. */
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay):has(form.checkout) {
    --baran-checkout-accent: #ce0645;
    --baran-checkout-ink: #25222a;
    --baran-checkout-muted: #615b65;
    --baran-checkout-line: #e6dfe6;
    --baran-checkout-tint: #fbecf2;
    --baran-checkout-surface: #faf8fa;
}
body.woocommerce-checkout:has(form.checkout) .wd-toolbar {
    display: none;
}
body.woocommerce-checkout.sticky-toolbar-on:has(form.checkout) {
    --wd-sticky-toolbar-h: 0px;
}
form.checkout.woocommerce-checkout {
    align-items: flex-start;
    gap: clamp(14px, 2vw, 28px);
    margin-block-start: 18px;
}
form.checkout.woocommerce-checkout #customer_details,
form.checkout.woocommerce-checkout .checkout-order-review {
    min-width: 0;
    max-width: 100%;
    padding: clamp(14px, 2.3vw, 26px);
    border: 1px solid var(--baran-checkout-line, #e6dfe6);
    border-radius: 14px;
    background: #fff;
    box-shadow: none;
}
form.checkout.woocommerce-checkout .checkout-order-review::before,
form.checkout.woocommerce-checkout .checkout-order-review::after {
    display: none;
}
form.checkout.woocommerce-checkout .checkout-order-review :is(.wd-table, .responsive-table, .woocommerce-checkout-review-order-table, #payment) {
    max-width: 100%;
    background: transparent;
}
form.checkout.woocommerce-checkout :is(.woocommerce-billing-fields > h3, #order_review_heading) {
    margin-block-end: 18px;
    color: var(--baran-checkout-ink);
    font-size: clamp(18px, 3vw, 22px);
    font-weight: 700;
    line-height: 1.55;
    text-align: start;
}
form.checkout.woocommerce-checkout :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper) {
    gap: 12px;
}
form.checkout.woocommerce-checkout .form-row label {
    color: var(--baran-checkout-ink);
    font-weight: 600;
    line-height: 1.6;
}
form.checkout.woocommerce-checkout .form-row .required {
    color: var(--baran-checkout-accent);
}
form.checkout.woocommerce-checkout .form-row input.input-text,
form.checkout.woocommerce-checkout .form-row .select2-selection {
    min-height: 44px;
    border-radius: 8px;
}
form.checkout.woocommerce-checkout .validate-required.woocommerce-invalid input,
form.checkout.woocommerce-checkout input[aria-invalid="true"] {
    border-color: var(--baran-checkout-accent);
}
form.checkout.woocommerce-checkout .baran-native-name[hidden],
form.checkout.woocommerce-checkout .baran-native-address[hidden]:not(.validate-required),
form.checkout.woocommerce-checkout .baran-name-error[hidden] {
    display: none !important;
}
form.checkout.woocommerce-checkout .baran-full-name {
    width: 100%;
    grid-column: 1 / -1;
}
form.checkout.woocommerce-checkout :is(.baran-name-hint, .baran-name-error) {
    display: block;
    margin-block-start: 5px;
    line-height: 1.65;
}
form.checkout.woocommerce-checkout .baran-name-hint {
    color: var(--baran-checkout-muted);
}
form.checkout.woocommerce-checkout .baran-name-error {
    color: var(--baran-checkout-accent);
}
form.checkout.woocommerce-checkout .baran-checkout-notes summary {
    cursor: pointer;
    margin-block: 12px;
    color: var(--baran-checkout-muted);
    font-weight: 600;
}
form.checkout.woocommerce-checkout #shipping_method li {
    display: flex;
    gap: 8px;
    align-items: center;
    min-height: 44px;
    padding: 8px 10px;
    margin-block: 4px;
    border: 1px solid var(--baran-checkout-line);
    border-radius: 8px;
    background: #fff;
    text-align: start;
}
form.checkout.woocommerce-checkout #shipping_method li:has(input:checked) {
    border-color: #e2a2b9;
    background: var(--baran-checkout-tint);
}
form.checkout.woocommerce-checkout #shipping_method li label {
    flex: 1;
    min-width: 0;
    margin: 0;
    color: var(--baran-checkout-ink);
    cursor: pointer;
}
form.checkout.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total > :is(th, td) {
    padding: 11px 8px;
    background: var(--baran-checkout-tint);
    color: var(--baran-checkout-ink);
}
form.checkout.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total .amount {
    color: var(--baran-checkout-accent);
    font-size: clamp(17px, 3.8vw, 22px);
    font-weight: 800;
}
form.checkout.woocommerce-checkout #payment #place_order {
    width: 100%;
    min-height: 46px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
}
body.woocommerce-checkout:has(form.checkout) :is(.woocommerce-form-coupon-toggle, .woocommerce-form-login-toggle, .woocommerce-notices-wrapper) :is(.woocommerce-info, .woocommerce-message) {
    padding-block: 10px;
    font-size: 13px;
    line-height: 1.7;
}
@media (min-width: 1025px) {
    form.checkout.woocommerce-checkout #customer_details {
        flex: 1 1 59%;
        width: auto;
    }
    form.checkout.woocommerce-checkout .checkout-order-review {
        flex: 1 1 41%;
        width: auto;
    }
}
@media (max-width: 767px) {
    form.checkout.woocommerce-checkout {
        flex-direction: column;
    }
    form.checkout.woocommerce-checkout #customer_details,
    form.checkout.woocommerce-checkout .checkout-order-review {
        width: 100%;
        padding: 14px;
    }
    form.checkout.woocommerce-checkout .form-row-first,
    form.checkout.woocommerce-checkout .form-row-last {
        width: 100%;
        float: none;
    }
    form.checkout.woocommerce-checkout #shipping_method {
        width: 100%;
        min-width: 0;
    }
}	