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

/* -------------------- Single Product -------------------- */

.outofstock .add-to-call-btn,
.outofstock .product-labels,
.outofstock .single-product-items .wd-single-price,
.single-product-items .wd-nav-arrows,
.single-product-items del .woocommerce-Price-currencySymbol,
.wd-breadcrumbs .wd-last,
.wd-breadcrumbs .wd-delimiter:nth-last-child(2) {
    display: none !important;
}

.single-product-items .price {
    display: grid;
}

.single-product-items .woocommerce-Price-currencySymbol,
.single-product-items del .woocommerce-Price-amount,
.single-product-items del {
    font-size: 20px !important;
}

.single-product-items .in-stock,
.single-product-items .in-stock::before {
    color: #6aab29 !important;
}

.single-product-items .in-stock {
    padding: 20px;
    border-radius: 5px;
    background: #f5ffe4;
}

.single-product-items .out-of-stock {
    color: #F2454E !important;
    padding: 20px;
    border-radius: 5px;
    background: #fef5f7;
}

.outofstock .buttons-grid {
    grid-template-columns: 1fr;
}

#price-details-tooltip:before {
    content: "جزئیات قیمت طلا و جواهر";
    background: #f5f5f5;
    color: #333333;
    padding: 5px 10px;
    border-radius: 5px;
    position: absolute;
    top: -50px;
    right: -50%;
    visibility: hidden;
    text-align: center;
    width: max-content;
}

#price-details-tooltip:hover:before {
    display: block;
    visibility: visible;
}

.woocommerce-product-attributes-item__value {
    color: #767676 !important;
}

.single-product-items .shop_attributes tbody {
    margin-bottom: 0 !important;
}

.single-product-items .shop_attributes tr {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    border-bottom: 1px dashed #ECECEC;
    height: 40px;
}

.mnswmc-product-formula-variables .mnswmc-column:nth-child(odd) {
    text-align: right;
    height: 40px;
    border-bottom: 1px solid;
    align-content: center;
    border-bottom: 1px dashed #ECECEC;
    color: #333333;
    font-size: 14px;
    font-weight: 400;
}

.mnswmc-product-formula-variables .mnswmc-column:nth-child(even) {
    text-align: left;
    height: 40px;
    border-bottom: 1px solid;
    align-content: center;
    border-bottom: 1px dashed #ECECEC;
}

.mnswmc-product-formula-variables {
    grid-gap: 0 !important;
}

.single-product-items .elementor-button {
    min-height: 42px;
}

.buttons-grid {
    align-items: end !important;
}

.single_add_to_cart_button {
    border-radius: 5px;
    background: linear-gradient(45deg, #AA8944, #EFC382);
}

.single_add_to_cart_button:hover {
    background-color: #AA8944 !important;
}

.wd-wtl-form {
    margin-top: 0 !important;
}

#wd-wtl-user-subscribe-email {
    border-radius: 5px;
}

.wd-wtl-subscribe {
    border-radius: 5px !important;
    background: linear-gradient(45deg, #AA8944, #EFC382);
}

.popup-added_to_cart h3 {
    font-size: 16px !important;
}

.popup-added_to_cart .view-cart {
    background: linear-gradient(45deg, #AA8944, #EFC382);
}

.popup-added_to_cart .close-popup,
.popup-added_to_cart .view-cart {
    width: 40%;
    border-radius: 5px !important;
}

/* -------------------- Card / Checkout -------------------- */

.woocommerce-checkout .main-page-wrapper {
    background-color: white !important;
}

.checkout-inline-error-message,
.woocommerce-additional-fields h3 {
    display: none;
}

#place_order {
    background: linear-gradient(45deg, #AA8944, #EFC382);
    border-radius: 5px;
}

.form.woocommerce-checkout input {
    border-radius: 5px;
}

#order_comments {
    min-height: 100px;
    resize: none;
}

.single-product-items .wd-wishlist-btn,
.single-product-items .wd-sizeguide-btn {
    direction: ltr;
}

/* -------------------- Fonts -------------------- */

@font-face {
    font-family: YekanBakh-VF;
    font-style: normal;
    font-weight: 100 1000;
    src: url("../../fonts/EpicYekanBakhVF-VF.ttf") format("woff-variations"),
        url("../../fonts/EpicYekanBakhVF-VF.ttf") format("woff"),
        url("../../EpicYekanBakhVF-VF.ttf") format("woff2");
    font-display: fallback;
}

@font-face {
    font-family: Pinar-VF-FD;
    font-style: normal;
    font-weight: 100 1000;
    src: url("../../fonts/Pinar-VF-FD.woff2") format("woff2-variations"),
        url("../../fonts/Pinar-VF-FD.woff2") format("woff2");
    font-display: fallback;
}

@font-face {
    font-family: MarcellusSC;
    font-style: normal;
    src: url("../../fonts/MarcellusSC.woff") format("woff"),
        url("../../fonts/MarcellusSC.woff2") format("woff2");
    font-display: fallback;
}

@font-face {
    font-family: GreatVibes;
    font-style: normal;
    font-weight: 100 1000;
    src: url("../../fonts/GreatVibes.woff") format("woff-variations"),
        url("../../fonts/GreatVibes.woff") format("woff"),
        url("../../fonts/GreatVibes.woff2") format("woff2");
    font-display: fallback;
}

* :not(.fa, .fas, [class^=eicon], [class*=" eicon-"]) {
    font-family: YekanBakh-VF !important;
}

.pinar-font * :not(.fa, .fas, [class^=eicon], [class*=" eicon-"]) {
    font-family: Pinar-VF-FD !important;
    font-variation-settings: "DSTY" 2;
}

.en-font * :not(.fa, .fas, [class^=eicon], [class*=" eicon-"]) {
    font-family: MarcellusSC !important;
}

.viby-font * :not(.fa, .fas, [class^=eicon], [class*=" eicon-"]) {
    font-family: GreatVibes !important;
}

strong {
    font-weight: 700 !important;
}

.woocommerce-Price-amount,
.mnswmc-percentage-change,
.wd-tools-count,
.product-label {
    -webkit-font-feature-settings: "ss01";
    font-feature-settings: "ss01";
}

/* -------------------- General --------------------*/

html {
    scroll-behavior: smooth;
}

.main-page-wrapper .wd-content-layout {
    padding-right: 0;
    padding-left: 0;
}

.product-view-tiled .wd-carousel,
.wd-nested-carousel {
    padding-right: 15px !important;
    padding-left: 15px !important;
}

/*
.main-page-wrapper {
   min-height: 110vh !important;
}
*/
.w-fit-content {
    width: fit-content !important;
}

.be-angel-dark {
    filter: invert(0.8);
}

/*
.go-on-hover .elementor-button-text:hover::after {
    content: url(../../uploads/2024/12/arrow-dotted.svg);
    width: 24px;
    height: 24px;
    position: absolute;
    left: 10px;
}

.go-on-hover .elementor-button-text {
    display: flex;
    align-items: center;
}
*/
.faded-line span {
    height: 1px;
    background-image: linear-gradient(90deg, rgba(190, 190, 190, 0.1) 0%, rgb(190, 190, 190) 50%, rgba(190, 190, 190, 0.1) 100%);
    border-block-start: none !important;
    width: auto;
}

::-moz-selection {
    /* Code for Firefox */
    color: white;
    background: #911c4e;
}

::selection {
    color: #911c4e;
    background: white;
}

/* -------------------- Header --------------------*/

.whb-main-header {
    box-shadow: 0 3px 6px #33333310;
}

.whb-top-bar-inner {
    align-items: flex-end;
}

.whb-top-bar .whb-col-right,
.whb-top-bar .whb-col-left {
    padding-bottom: 16px;
}

.whb-sticky-row .container {
    max-width: 100%;
}

.whb-top-bar .container {
    max-width: 1600px;
}

.whb-sticky-row .whb-col-right,
.whb-sticky-row .whb-col-left,
.whb-sticky-row .whb-mobile-left,
.whb-sticky-row .whb-mobile-right {
    border-top: 1px solid #33333310;
}

/* -------------------- Header Elements --------------------*/

.header-call-btn {
    background: rgb(170, 137, 68);
    background: linear-gradient(90deg, rgba(170, 137, 68, 1) 0%, rgba(239, 195, 130, 1) 100%);
    font-size: 16px;
    letter-spacing: 1px;
    padding: 8px 16px 8px 16px;
}

#header-price {
    font-size: 14px;
    font-weight: 600;
}

@media (width >=767px) {
    .site-logo {
        padding-inline: 50px !important;
    }
}

.wd-logo img {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.wd-header-nav {
    padding-inline: 0px !important;
}

.wd-header-search-form {
    max-width: 205px;
    transition-duration: 0.3s;
}

.wd-header-search-form:focus-within {
    max-width: 350px;
    transition-duration: 0.3s;
}

.wd-header-search-form input[type='text'] {
    min-width: 0 !important;
    font-size: 12px;
}

.wd-tools-count {
    top: -3px !important;
    inset-inline-end: -5px !important;
    line-height: 14px !important;
}

.wd-sub-menu li>a {
    color: #333333;
}

.menu-item-has-children>a:after {
    color: #333333 !important;
}

.whb-col-right .wd-dropdown-menu.wd-design-default {
    right: 0;
    /*left: auto;*/
    /*margin-right: calc(var(--nav-gap, .001px) / 2* -1);*/
    /*margin-left: 0;*/
}

.wd-nav[class*="wd-style-"]>li:is(.current-menu-item, .wd-active, .active)>a {
    color: #333333;
}

/* -------------------- Footer --------------------*/

.e-n-menu-title.e-current a {
    color: white !important;
}

#footer-customers-menu .wd-sub-menu li>a {
    justify-content: end;
}

/* -------------------- Story --------------------*/

.web-stories-list__carousel {
    gap: 0 30px !important;
    padding-right: 15px;
    padding-left: 30px;
}

.web-stories-list__story-content-overlay {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.web-stories-list__story-poster a>img {
    border-color: #D2Ae6D !important;
}

.story-content-overlay__title {
    font-size: 12px !important;
    font-weight: 400 !important;
    line-clamp: 1;
    -webkit-line-clamp: 1 !important;
}

.web-stories-list__carousel::scroll-button(inline-start),
.web-stories-list__carousel::scroll-button(inline-end) {
    display: none !important;
}

#story-bar-shortcode::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    pointer-events: none;
    z-index: 10;
    left: -15px;
    background: linear-gradient(to right, #ffffff 30%, transparent);
}

.i-amphtml-fill-content {
    direction: ltr;
}

/* -------------------- Hero --------------------*/

#hero a:hover {
    color: #515151A6 !important;
}

#hero .swiper-slide-inner {
    padding-bottom: 100px;
}

#hero .elementor-ken-burns--active.elementor-ken-burns--in {
    transform-origin: left;
}

@media (width <=767px) {
    #hero-banner {
        width: calc(100% + 30px);
        margin-right: -15px;
    }
}

/*
@media (width <=1026px) {
    #hero .elementor-ken-burns--active.elementor-ken-burns--in {
        transform: scale(1.2);
    }
}*/

#hero .elementor-slide-button {
    padding: 0;
}

/* -------------------- Categories Carousel --------------------*/

#cats-caro::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    pointer-events: none;
    z-index: 100;
    left: -15px;
    background: linear-gradient(to right, #f4f4f4, transparent);
}

#cats-caro .category-image-wrapp {
    border-radius: 5px 5px 0 0;
}

#cats-caro img {
    height: 150px;
    object-fit: cover;
}

#cats-caro .hover-mask {
    padding: 15px 20px 15px 20px;
    text-align: right;
    background: white;
    border-radius: 0 0 5px 5px;
    display: flex;
    justify-content: space-between;
}

#cats-caro .hover-mask::after {
    content: url(../../uploads/2024/12/arrow-dotted.svg);
    width: 24px;
    height: 24px;
}

@media (width <=767px) {
    #cats-caro .hover-mask::after {
        display: none;
    }
}

/* -------------------- Product Card Customize --------------------*/

.product-view-tiled .product-wrapper {
    padding: 10px 10px 0 10px !important;
}

.product-view-tiled .product-element-top {
    border-radius: 5px !important;
}



.product-view-tiled .wd-add-btn {
    display: none;
}

.product-view-tiled .wd-style-icon {
    --wd-action-icon-size: 12px;
}

.product-view-tiled .wd-style-icon>a {
    width: 24px;
}

.product-view-tiled .wd-action-btn>a {
    height: 32px !important;
}



.product-view-tiled .product-element-bottom {
    padding-right: 6px !important;
    padding-left: 6px !important;
}

.product-view-tiled .wd-entities-title a {
    font-family: Pinar-VF-FD !important;
    font-size: 13px;
    min-height: 50px;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    white-space: pre-wrap;
}



.product-view-tiled .price {
    display: grid !important;
    align-items: center;
    grid-template-columns: 1fr auto;
    grid-column-gap: 5px;
}

.product-view-tiled del {
    grid-row: 1;
}

.product-view-tiled ins {
    grid-row: 2;
    grid-column: span 2;
}

.product-view-tiled del bdi {
    font-size: 12px !important;
    font-weight: 500 !important;
}

.product-view-tiled del .woocommerce-Price-currencySymbol {
    display: none;
}

.product-view-tiled .woocommerce-Price-currencySymbol {
    font-size: 12px;
    font-weight: 400;
}

.product-view-tiled .onsale {
    border-radius: 8px !important;
    font-weight: 400 !important;
    background-color: #911c4e !important;
    padding: 3px 6px !important;
    min-width: fit-content;
}

/* -------------------- Custom Next/Prev Icons --------------------*/

.npicons .wd-next .wd-arrow-inner:after {
    content: url(../../uploads/2025/02/icon_next_prev.svg) !important;
    width: 24px;
    height: 24px;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

.npicons .wd-prev .wd-arrow-inner:after {
    content: url(../../uploads/2025/02/icon_next_prev.svg) !important;
    width: 24px;
    height: 24px;

}

.npicons-dark .wd-next .wd-arrow-inner:after,
.npicons-dark .wd-prev .wd-arrow-inner:after {
    filter: invert(25%) sepia(20%) saturate(0%) hue-rotate(241deg) brightness(97%) contrast(100%);
}

.npicons .wd-disabled .wd-arrow-inner {
    opacity: 0.5;
}

@media (width <=767px) {
    .wd-pos-sep {
        display: none;

    }

    .wd-pos-together {
        position: relative !important;
        justify-content: end !important;
    }
}


/* -------------------- Products Tabs --------------------*/

.wd-nav-tabs-wrapper::-webkit-scrollbar {
    display: none;
}

.wd-nav-wrapper {
    padding-inline-start: 15px;
    padding-inline-end: 30px;
}

.tabs-name {
    padding-right: 15px;
}

.tabs-products .tabs-text {
    font-family: Pinar-VF-FD !important;
    color: #333333;
    font-size: 16px;
    font-weight: 800;
}

.tabs-products .tab-label {
    font-family: Pinar-VF-FD !important;
    font-size: 14px;
    font-weight: 600;
}

.tabs-products .tabs-name {
    border-bottom: none !important;
}

.tabs-products .wd-active .tab-label {
    color: white !important;
}

.tabs-products .products-tabs-title .wd-active a {
    background: #e0aa86;
    border-color: #e0aa86;
}

.tabs-products .tabs-name {
    margin-bottom: 0 !important;
    padding-block: 15px !important;
}

.tabs-products .tabs-navigation-wrapper {
    padding-block: 15px !important;
}

.tabs-products .products-tabs-title a {
    padding: 8px 16px 8px 16px !important;
    border: 1px solid #CCCCCC;
    border-radius: 5px;
    min-height: 0 !important;
}


@media (min-width: 1025px) {
    .tabs-products .wd-tabs-header {
        border-bottom: 1px solid;
        border-image: linear-gradient(90deg, rgba(204, 204, 204, 0) 1%, rgba(204, 204, 204, 1) 50%, rgba(204, 204, 204, 0) 99%) 1;
    }
}

@media (max-width: 1024px) {
    .tabs-products .wd-nav-tabs-wrapper {
        border-top: 1px solid;
        border-image: linear-gradient(90deg, rgba(204, 204, 204, 0) 1%, rgba(204, 204, 204, 1) 50%, rgba(204, 204, 204, 0) 99%) 1;
    }
}

/* -------------------- Windows Banner --------------------*/

.window-banner .banner-title {
    font-family: Pinar-VF-FD !important;
}

.window-banner .banner-inner p {
    font-family: MarcellusSC !important;
}

/* -------------------- Banners --------------------*/

.banner-image a {
    display: block !important;
}

/* -------------------- Blog --------------------*/

.grid-scroll .elementor-widget-container .elementor-grid {
    padding-right: 15px;
    padding-left: 15px;
}

@media (width <=1024px) {

    .grid-scroll .elementor-widget-container .elementor-grid {
        grid-auto-columns: calc((100%* 0.48));
        grid-auto-flow: column !important;
        grid-template-columns: none !important;
        overflow-x: auto;
    }
}

@media (width <=767px) {

    .grid-scroll .elementor-widget-container .elementor-grid {
        grid-auto-columns: calc((100%* 0.8));
    }
}

.post-title .elementor-heading-title {
    line-clamp: 2;
    -webkit-line-clamp: 2;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    white-space: pre-wrap;
}


.post-title .elementor-heading-title:hover {
    color: #d2ae6d !important;
}

/* -------------------- Trust Icons --------------------*/

@media (width <=767px) {
    .icons-scroll .e-con-inner {
        --g: 15px;
        grid-gap: var(--g);
        grid-auto-columns: calc((100% - var(--g))*0.4);
        /*0.4+0.4+0.2=1*/
        grid-auto-flow: column !important;
        grid-template-columns: none !important;
        overflow-x: auto;
        padding-right: 15px;
        padding-left: 15px;
    }

    .icons-scroll .e-con-inner::-webkit-scrollbar {
        display: none;
    }
}

/* -------------------- Single Product --------------------*/

.wd-reset-var {
    display: none !important;
}





.product-view-tiled .woocommerce-Price-amount bdi {
    font-size: 16px;
    font-weight: 700;
}