/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* ----------------------------- */

:root {
    --wd-form-brd-radius: 12px;
    --btn-default-brd-radius: 12px;
    --btn-accented-brd-radius: 12px;
}

body {
    font-family: 'iranyekan' !important;
    line-height: 1.8;
    direction: rtl;
    position: relative;
    overflow-x: hidden !important;
    line-height: 1.8;
}

h1,
h2,
h3,
h4,
h5,
h6,
input,
textarea,
body,
.nav li a {
    font-family: 'iranyekan' !important;
}

input[type=text],
input[type=email],
input[type=password],
input[type=search],
input[type=number],
input[type=url],
input[type=tel],
input[type=date],
select,
textarea,
.select2-selection {
    background-color: #FFF;
    border: 1px solid #98A4B0 !important;
    font-size: 14px;
    border-radius: 12px !important;
    box-shadow: unset;
}

textarea {
    border-radius: 10px;
}

.mb-0,
.mb-0 p {
    margin-bottom: 0;
}

.text-accent {
    color: var(--e-global-color-accent);
}

.text-secondary {
    color: var(--e-global-color-secondary);
}

.block {
    display: block !important;
}

.flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.fw-light {
    font-weight: 300;
}

.whb-header-bottom .wd-header-cats span.menu-opener {
    background-color: transparent;
    color: #1A1A1A;
    min-width: 190px;
    padding: 0 15px;
    height: 48px !important;
}

/* header  */
/* general-header */

.wd-header-text.reset-last-child.logo-txt{
    padding-right: 0px;
}

.site-logo{
    padding-left: 0px;
}
@media only screen and (max-width: 600px) {
.site-logo, .wd-header-html, .wd-header-nav, .wd-header-text, .wd-tools-element>a, .whb-column>.info-box-wrapper, .whb-column>.wd-button-wrapper, .whb-column>.wd-social-icons, [class*=wd-header-search-form]{
     padding-inline: 0px; 
}
}

.whb-sticked .whb-general-header {
    padding: 4px 0;
}

.whb-general-header form.searchform {
    width: 520px;
    margin-left: auto;
    margin-right: 20px;
}

.wd-search-form .searchform input.s {
    border-radius: 12px !important;
    background-color: #F7F7F7 !important;
    color: var(--e-global-color-primary);
    height: 50px;
    border: unset !important;
    font-size: 12px;
}

.wd-search-form .searchform input.s::placeholder {
    color: #808080;
}

.wd-search-form .woodmart-ajax-search .searchsubmit {
    color: #ffffff;
	border-radius: 12px 0px 0px 12px;
}

.searchform .searchsubmit {
  color:#ffffff;
  border-radius: 12px 0px 0px 12px;
} 

.widget-area {
  padding: 10px;
  position: sticky !important; // Newly Added CSS
  top: 0; // Newly added css
}

.elementor-kit-6 button,
.elementor-kit-6 input[type="button"],
.elementor-kit-6 input[type="submit"],
.elementor-kit-6 .elementor-button {
    /*background-color: #f7f7f7;
    border-radius: 12px 0px 0px 12px;*/
}

.whb-general-header .wd-header-my-account>a {
    border-radius: 5px;
    min-width: auto;
    height: 40px !important;
}

.whb-general-header .wd-header-my-account>a span.wd-tools-icon {
    background-color: var(--e-global-color-accent);
    color: #FFF;
    border-radius: 12px;
}

.whb-general-header .wd-header-wishlist>a,
.whb-general-header .wd-header-search>a,
.whb-general-header .wd-header-mobile-nav>a,
.whb-general-header .wd-header-cart>a {
    color: var(--e-global-color-primary);
    border-radius: 12px;
    height: 40px !important;
    width: 40px;
    border: 1px solid #EDEDED;
}

.whb-general-header .wd-tools-element .wd-tools-icon:before {
    font-size: 18px;
}

.whb-general-header .wd-tools-element:is(.wd-design-2, .wd-design-5) .wd-tools-count {
    top: -15px;
    left: auto;
    right: -15px;
}

.whb-general-header :is(.wd-header-search, .wd-header-mobile-nav, .wd-header-cart)>a:hover {
    border-color: var(--e-global-color-accent);
}

.whb-general-header .wd-header-cart {
    margin-left: 10px !important;
    margin-right: 8px;
}

/* header bottom  */
.whb-header-bottom {
    width: 1320px;
    background-color: #FAEAEE !important;
    align-items: center;
    margin: 0 auto;
    border-radius: 12px;
}

.whb-flex-row.whb-header-bottom-inner {
    align-items: center;
}

.wd-header-main-nav .wd-nav li>a {
    color: var(--e-global-color-primary);
    font-size: 13px;
    font-weight: 400;
}

.wd-nav>li:is(.wd-has-children, .menu-item-has-children)>a:after {
    margin-right: 8px;
}

.info-box-content {
    margin-left: 8px;
}




/* wd-header-cats */
.whb-header-bottom .wd-header-cats span.menu-opener {
    background-color: #CC2959;
    color: #1a1a1a;
    min-width: 190px;
    padding: 5px;
    height: 48px !important;
    border-radius: 15px;
}

.whb-header-bottom .wd-header-cats span.menu-opener-icon {
    background-color: #ffffff;
    height: 100%;
    padding: 12px;
    display: flex;
    align-items: center;
    border-radius: 12px;
}

.whb-header-bottom .wd-header-cats .menu-opener .menu-open-label {
    font-weight: 400;
    color: #ffffff;
}

.wd-header-cats.wd-style-1 .menu-opener:after {
    font-size: 11px;
    margin-inline-start: auto;
    content: "\f129";
    font-family: "woodmart-font";
    color: #ffffff;
}

.wd-nav-vertical.wd-design-default>li>a {
    font-size: 13px;
    font-weight: 400;
}

.wd-nav-vertical.wd-design-default>li:is(.wd-opened, :hover)>a {
    color: var(--e-global-color-accent) !important;
    background-color: #F5E8F2 !important;
}


.wd-header-cats .wd-nav-vertical.wd-design-default>li:not(:last-child) {
    border-color: #F7F7F7;
}

.wd-nav-vertical.wd-design-default>li:is(.wd-opened, :hover)>a {
    color: var(--e-global-color-accent) !important;
    background-color: #FFF5F5 !important;
}

.swiper-slide-inner img {
    border-radius: 24px;
}

/*slider-hero-section*/
.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
    position: absolute;
    top: 50px;
    right: 560px;
    --list-mb: 0;
    --li-mb: 0;
    --li-pl: 0;
    list-style: none;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    transition: all .25sease;
}

span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #fff;
    width: 24px;
    border-radius: 50px;
}

span.swiper-pagination-bullet {

    background-color: #ffffff93;
    width: 8px;
    height: 8px;
}


/*----------*/

/*products*/
.line-bottom-small::after {
    content: '';
    position: absolute;
    width: 48px;
    height: 4px;
    background: #CC2959;
    border-radius: 4px;
    bottom: -12px;
}

.line-bottom-small {
    display: flex;
    place-content: right;
    position: relative;
}

.product-grid-item .product-labels .product-label.onsale {
    background-color: #CC2959;
    padding: 5px;
    min-width: 45px;
    border-radius: 8px;
}


/*-------- */

/* .wd-products-tabs */

.product-wrapper .wd-entities-title:hover a{
   color: rgb(204,41,89);
}

.wd-products-tabs .products-tabs-title {
    background-color: #ffffff;
    padding: 16px;
    border-radius: 16px;
    gap: 10px;
}

.wd-products-tabs .wd-nav-wrapper li a.wd-nav-link {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #1A1A1A;
}

.wd-products-tabs .wd-nav-wrapper li.wd-active a.wd-nav-link {
    background-color: #CC2959;
    color: #FFF;
}

/*-------- */

:is(.wd-products, .wd-brands, .info-box-carousel-wrapper) .wd-nav-arrows .wd-arrow-inner {
    visibility: visible;
    background-color: #ffffff;
    color: #282828;
    border-radius: 8px;
    width: 40px;
    height: 56px;
}

.wd-nav-arrows .wd-arrow-inner:after {
    font-size: 18px;
}

:is(.wd-products, .wd-brands, .dev-vitamin-carousel) .wd-btn-arrow:not(.wd-disabled) .wd-arrow-inner:hover {
    border-color: var(--e-global-color-accent);
    background-color: var(--e-global-color-accent);
    color: #FFF;
}

/* blog  */

.elementor-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.elementor-pagination .page-numbers {
    background-color: #98A4B0;
    color: #F2F0FF;
    border-radius: 5px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px
}

.elementor-pagination .page-numbers.current,
.elementor-pagination .page-numbers:hover {
    background-color: var(--e-global-color-accent);
}

/*blog*/

/* wodmart blog  */

span.entry-title.title {
    display: none;
}

.blog-design-masonry .post-img-wrapp {
    border-radius: 16px !important;
}

.blog-design-masonry .entry-thumbnail img {
    height: 280px;
    object-fit: cover;
    object-position: center;
}

.wd-post .article-inner {
    border-radius: var(--wd-brd-radius);
    border: 1px solid #EDEDED;
    padding: 16px;
}

.wd-post .article-inner::before {
    content: "";
    position: relative;
    width: 50%;
    height: 8px;
    background: #FFB8C6;
    top: -16px;
    border-radius: 0 0px 10px 10px;
    display: block;
    margin: 0 auto;
}

.wd-post .article-inner:hover::before {
    content: "";
    position: relative;
    width: 50%;
    height: 8px;
    background: #CC2959;
    top: -16px;
    border-radius: 0 0px 10px 10px;
    display: block;
    margin: 0 auto;
}

.wd-post .article-inner::hover {
    border-radius: var(--wd-brd-radius);
    border: 1px solid #EDEDED;
    padding: 16px;
}

.wd-post .article-inner:hover {
    border-radius: var(--wd-brd-radius);
    border: 1px solid #CC2959;
    padding: 16px;
}

.wd-post .article-inner:hover .post-title {
    color: #CC2959;
}

.read-more-section a {
    color: #1A1A1A;

}

.wd-post .article-inner:hover a {
    color: #CC2959;
}

.wd-content-layout {
    padding-block: 0px;
}

.wd-page-title.page-title{
    padding: 30px;
}






/* -------------------------------------  */

/* .product-grid-item */

/* .product-grid-item .product-wrapper {
    border-radius: 12px !important;
    background-color: #FFF;
    box-shadow: 0 4px 20px rgba(179 179 179 / 15%) !important;
    transition: all ease .3s !important;
    border: solid 1px #ffffff;
}

.product-grid-item .product-wrapper .wd-swatches-product {

    display: none;
}

.product-grid-item .product-wrapper:hover {
    box-shadow: 0 4px 20px rgba(179 179 179 / 15%) !important;
    border: solid 1px #CC2959;
}

.product-grid-item.wd-hover-tiled .product-wrapper .wd-buttons {
    visibility: visible;
    opacity: 1;
    transform: translateX(0px) !important;
    flex-direction: row-reverse;
    top: auto;
    bottom: 12px;
    left: 16px;
    box-shadow: unset;
    gap: 4px;
}

.product-grid-item.wd-hover-tiled .wd-action-btn a {
    background-color: #F2F2F2;
    border-radius: 8px;
    width: 38px !important;
    height: 38px;
    transition: all ease .25s;
}

.product-grid-item.wd-hover-tiled .wd-action-btn a:hover {
    background-color: #CC2959;
    border-radius: 8px;
    width: 38px !important;
    height: 38px;
    transition: all ease .25s;
}

.wd-action-btn.wd-style-icon>a:before {
    font-size: 16px;
    color: #1A1A1A;
    transition: all ease .25s;

}

.wd-action-btn.wd-style-icon>a:hover {
    color: #ffffff;
}


.product-grid-item .wd-buttons .wd-wishlist-btn {
    display: none;
}

.product-grid-item .product-element-top {
    padding: 12px 12px 0;
}

.product-grid-item .product-image-link img {
    border-radius: 12px;
}

.product-grid-item .product-wrapper .wd-buttons {
    box-shadow: unset;
    top: calc(var(--wd-btn-inset) + 8px);
    inset-inline-end: calc(var(--wd-btn-inset) + 8px);
}

.product-grid-item .wd-action-btn a {
    border-radius: 4px;
    width: 40px !important;
    height: 40px;
}

.product-grid-item .wd-action-btn>a:before {
    font-size: 16px;
    transition: all ease .25s
}

.product-grid-item .wd-action-btn>a:hover:before {
    color: var(--e-global-color-accent) !important;
}

.product-grid-item .product-wrapper .product-element-bottom {
    padding: 10px 16px 16px !important;
}

.product-grid-item .product-wrapper .wd-entities-title {
    font-size: 14px;
    font-weight: 500;
    order: 1;
}

.product-grid-item .wd-product-sku {
    color: #808080 !important;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    border-bottom: 1px solid #E6E6E6;
    padding-bottom: 10px;
    order: 2;
}

.product-grid-item .wd-product-sku .wd-label {
    font-weight: 400 !important;
    color: #808080 !important;
}

.product-grid-item .star-rating {
    display: none;
}

.product-grid-item .wrap-price {
    order: 3;
}

.product-grid-item .wrap-price form.variations_form {
    width: auto;
}

.product-grid-item .product-wrapper .price {
    display: flex;
    flex-flow: wrap;
    gap: 5px;
}

.product-grid-item .price del,
.product-grid-item .price ins {
    width: 100%;
}

.product-grid-item .price .amount {
    font-size: 16px;
    color: var(--e-global-color-accent);
}

.product-grid-item .price ins .amount span,
.product-grid-item .price>.amount span {
    color: #999;
    font-size: 14px;
    font-weight: 400;
    margin-right: 4px;
}

.product-grid-item .price del,
.product-grid-item .price del .amount {
    font-size: 13px;
    color: #B3B3B3;
}


.product-grid-item.wd-hover-tiled .product-wrapper .wd-add-btn {
    visibility: visible;
    opacity: 1;
    transform: translateX(0px) !important;
    flex-direction: row-reverse;
    top: auto;
    bottom: 12px;
    left: 16px;
    box-shadow: unset;
    gap: 4px;
}

.product-grid-item .product-wrapper .wd-add-btn {}

.product-grid-item.wd-hover-tiled .wd-action-btn a {

    border-radius: 8px;
    width: 38px !important;
    height: 38px;
    transition: all ease .25s;
}

.wd-action-btn.wd-style-icon>a:before {
    font-size: 16px;
    transition: all ease .25s;
}

.product-grid-item .wd-action-btn a:hover {
    background-color: #ffffff;
}


.product-grid-item .product-wrapper .wd-swatch-divider {
    color: #808080;
    font-weight: 400;
    margin-right: 3px;
}

.product-grid-item .product-wrapper .wd-swatches-product {
    gap: 2px;
}

.product-grid-item [class*="wd-swatches"].wd-shape-rounded .wd-swatch {
    border-radius: 100px;
    border-color: #E6E6E6;
}

.product-grid-item .product-labels .product-label.onsale {
    background-color: var(--e-global-color-accent);
    padding: 6px;
    min-width: 24px;
    border-radius: 6px;
}

.wd-products .wd-nav-pagin-wrap[class*="wd-style-shape"] li.wd-active span {
    background-color: var(--e-global-color-accent);
    width: 24px;
    box-shadow: 0 4px 10px rgba(214, 92, 27, 0.5);
}

.wd-products .wd-nav-pagin-wrap[class*="wd-style-shape"] span {
    background-color: #E3DDDA;
    border: unset;
} */

/* ---------------  */

/* product tabs  */
.single-product .wd-tab-wrapper {
    padding-top: 20px;
}

.single-product-page .wd-nav-wrapper {
    border-bottom: 1px solid #E9E9E9;
}

.single-product-page .wd-single-tabs .wc-tabs-wrapper li a.wd-nav-link {
    color: #98A4B0;
    padding: 16px;
    font-size: 18px;
    font-weight: 400;
}

.single-product-page .wd-single-tabs .wc-tabs-wrapper li.active a.wd-nav-link {
    color: var(--e-global-color-accent);
    font-weight: 700;
}

.single-product-page .wd-single-tabs .wc-tabs-wrapper .wd-nav[class*="wd-style-underline"] .nav-link-text:after {
    top: auto;
    bottom: -18px;
}

/* -----  */

/*single products*/





/*end single products*/

/* product-grid-item */

.product-grid-item .product-wrapper {
    border-radius: 12px !important;
    background-color: #FFF;
    transition: all ease .3s !important;
    border: 1px solid #FFF;
    padding: 16px !important;
}

.product-grid-item .product-wrapper:hover {
    box-shadow: 0 4px 30px rgba(0 0 0 / 8%) !important;
    border-color: var(--e-global-color-accent);
}

.product-grid-item .product-image-link img {
    border-radius: 12px;
}

.product-grid-item .product-wrapper .wd-buttons {
    box-shadow: unset;
    top: calc(var(--wd-btn-inset) + 12px);
    inset-inline-end: calc(var(--wd-btn-inset) + 12px);
}

.product-grid-item .wd-action-btn a {
    border-radius: 4px;
    width: 40px !important;
    height: 40px;
}

.product-grid-item .wd-action-btn>a:before {
    font-size: 16px;
    transition: all ease .25s
}

.product-grid-item .wd-action-btn>a:hover:before {
    color: var(--e-global-color-accent) !important;
}

.product-grid-item .product-wrapper .wd-entities-title {
    font-size: 14px;
    font-weight: 500;
    text-align: right;
    width: 100%;
}

.product-grid-item .wd-product-sku {
    color: #808080 !important;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    border-bottom: 1px solid #E6E6E6;
    padding-bottom: 10px;
    width: 100%;
}

.product-grid-item .wd-product-sku .wd-label {
    font-weight: 400 !important;
    color: #808080 !important;
}

.product-grid-item .star-rating {
    display: none;
}

.product-grid-item .product-labels .product-label.onsale {
    background-color: #CC3931;
    padding: 5px;
    min-width: 45px;
    border-radius: 8px;
}

.wd-products .wd-nav-pagin-wrap[class*="wd-style-shape"] li.wd-active span {
    background-color: var(--e-global-color-accent);
    width: 24px;
}

.wd-products .wd-nav-pagin-wrap[class*="wd-style-shape"] span {
    background-color: #E1D5D9;
    border: unset;
    width: 8px;
    height: 8px;
}

.product-grid-item .price {
    display: flex !important;
    flex-direction: column;
    align-items: start;
    font-size: 16px;
    font-weight: 600;
    width: calc(100% - 55px);
    margin-top: 0 !important;
    ;
}

.product-grid-item .price .amount .woocommerce-Price-currencySymbol,
.product-grid-item .price del .amount {
    font-size: 12px;
    color: #737373 !important;
    font-weight: 400;
    margin-right: 4px;
}

.product-grid-item del .amount .woocommerce-Price-currencySymbol {
    display: none;
}

.product-grid-item .product-element-bottom {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.product-grid-item .wd-add-btn .add_to_cart_button span {
    font-size: 0 !important;
}

.product-grid-item .product-element-bottom .wd-add-btn .add_to_cart_button {
    width: 40px;
    height: 40px;
    background: #F2F2F2 !important;
    color: #161616 !important;
    border-radius: 8px;
}


.product-grid-item .wd-add-btn-replace .add-to-cart-loop:before {
    transform: translateY(0) translateZ(0);
    font-size: 18px !important;
}

.post-item--date .elementor-inline-items::before {
    background: #E6E6E6;
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
}

.post-item--date .elementor-inline-items {
    align-items: center;
}

.post-item--date li.elementor-icon-list-item {
    background: #FFF;
    padding: 0 4px;
}

@media (max-width:1024px) {
    .dev-scroll-posts .elementor-loop-container.elementor-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: scroll;
        margin: 0 -10px;
        padding: 0 10px 10px;
    }

    .dev-scroll-posts .elementor-loop-container .e-loop-item {
        min-width: 300px;
    }
}


.blog-cart::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 8px;
    background: #FFB8C6;
    right: auto;
    left: auto;
}

.blog-cart:hover::before {
    background: #CC2959;
}
.instagram-header-btn .info-box-content {
    display: none;
}