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

.shop_table tr :is(td, th):last-child,
.woocommerce-order-details__title,
.woocommerce-column__title,
.payment_methods,
.woocommerce-customer-details,
.product-image-summary .shop_attributes tr td:last-child,
.product-image-summary .wd-product-countdown,
.mfp-content .mc4wp-alert,
.woocommerce-cart .woocommerce-notices-wrapper [role="alert"],
.woocommerce-checkout .woocommerce [role="alert"],
:is(.woocommerce-form-coupon-toggle, .woocommerce-form-login-toggle) > .woocommerce-info,
.search-no-results.woocommerce .woocommerce-info,
.woocommerce-MyAccount-content .woocommerce-Message,
.woocommerce-billing-fields > h3,
.woocommerce-additional-fields > h3 {
    text-align: right;
}

.woocommerce-error li:last-child {
    color: red;
}

#customer_details {
    background-color: #fff;
    padding: 13px;
    border-radius: 5px;
}

p.form-row-wide {
    margin: 5px 0;
}

.text-left :is(.checkout_coupon, .login.hidden-form) {
    margin-left: auto;
    margin-right: 0;
}


/* =========================================================
   Product Labels / Stock
========================================================= */

.product-label {
    letter-spacing: 0;
}

.product-label.out-of-stock {
    background-color: #00bcd4;
    color: #fff;
}

.out-of-stock {
    padding: 5px 0 !important;
}

p.stock.wd-style-default.in-stock::before {
    margin-inline-start: 0;
    margin-inline-end: 5px;
    float: right;
}


/* =========================================================
   Product Titles / Lists
========================================================= */

.product_title,
.product_title.entry-title {
    font-size: 20px !important;
}

.owl-items-lg-4 .post-slide .post-title {
    font-size: 16px !important;
}

.descshort li,
.listproduct li {
    margin-top: 9px;
}

.listproduct li {
    list-style: square;
    margin-right: 20px;
}

.wd-more-desc .wd-more-desc-inner ul,
.mootanroslider .product-information ul {
    list-style: none;
}


/* =========================================================
   Price / Currency
========================================================= */

.wd-tools-text .woocommerce-Price-currencySymbol {
    float: left;
    padding-right: 6px;
}


/* =========================================================
   Mootanro Slider
========================================================= */

.mootanroslider .inner {
    background-color: #fff;
    border-radius: 12px;
    padding-top: 33px;
    padding-bottom: 12px;
}

.mootanroslider .inner:hover {
    box-shadow: 0 5px 7px rgb(0 0 0 / 46%);
    transition: box-shadow 0.5s ease;
}

.mootanroslider .labels-rectangular {
    top: 15px;
    right: auto;
    left: 8px;
}

.mootanroslider .product-rating-price {
    padding-top: 0;
    padding-bottom: 26px;
}

.mootanroslider .wd-entities-title {
    padding-top: 21px;
    padding-bottom: 23px;
}

.mootanroslider .product-information {
    background-color: #fff;
    padding: 0 10px 32px 30px;
    border-top: 1px solid #f3f3f3;
    border-radius: 0 0 12px 12px;
}

.mootanroslider .product-information ul li {
    float: left;
}

.mootanroslider .product-grid-item .hover-img img {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 30px;
}

.mootanroslider .wd-add-cart-btn.wd-style-icon > a::before {
    content: "\f123";
    font-family: woodmart-font;
}


/* =========================================================
   Digikala Style
========================================================= */

.digikala img {
    border-radius: 12px;
}

.digikala .wd-pos-r-t .woodmart-buttons {
    left: 22px;
    background: rgb(255 255 255 / 65%);
    box-shadow: 1px 1px 1px rgb(0 0 0 / 10%);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.digikala .wd-timer > span {
    font-size: 15px;
}

.digikala .wd-product-countdown,
.product-grid-item .wd-stock-progress-bar {
    margin-top: 10px;
    padding-top: 5px;
    border-top: 1px solid rgb(129 129 129 / 20%);
    display: flex;
    align-items: stretch;
    flex-direction: row;
    flex-wrap: nowrap;
}


/* =========================================================
   Timer / Countdown
========================================================= */

.wd-timer {
    direction: ltr;
}

.wd-timer > span {
    min-width: 1.7em !important;
    min-height: 1.7em !important;
    border-radius: 10px !important;
    box-shadow: 0 0 0 rgb(0 0 0 / 10%);
}

#timer-product .elementor-widget-container {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: space-between;
}

#timer-product .title.element-title {
    display: flex !important;
    margin-right: 0;
    margin-left: auto;
}


/* =========================================================
   Stock Progress Bar
========================================================= */

.wd-stock-progress-bar .progress-area,
.wd-stock-progress-bar .progress-bar {
    height: 4px;
}

.wd-stock-progress-bar .stock-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 5px;
    color: #777;
    font-size: 12px;
}


/* =========================================================
   Search / Dropdown
========================================================= */

.wd-dropdown-search-cat,
.whb-col-right .wd-search-dropdown {
    right: 0;
    left: auto;
}


/* =========================================================
   Breadcrumb / Single Product
========================================================= */

.single-breadcrumbs-wrapper :is(.woocommerce-breadcrumb, .yoast-breadcrumb) {
    background-color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 2px 4px 18px 0 rgb(209 208 208 / 50%);
}

.single-product-page .product-image-summary-wrap {
    background-color: #fff;
    padding: 18px;
    border-radius: 5px;
    box-shadow: 2px 4px 18px 0 rgb(187 178 178 / 50%);
}


/* =========================================================
   Sidebar / Widgets
========================================================= */

.woodmart-sidebar-content .widget,
.area-sidebar-shop .widget {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 1px 1px #e6e6e6;
    border-radius: 3px;
}

.woodmart-sidebar-content .widget-title,
.area-sidebar-shop .widget-title {
    background: rgb(125 125 125 / 15%);
    padding: 10px 20px;
    font-weight: 600;
}

.woodmart-pf-dropdown .swatches-normal.swatches-brands .filter-swatch > span,
.woodmart-woocommerce-layered-nav .swatches-normal.swatches-brands .filter-swatch > span {
    width: 25px;
    height: 25px;
    border-radius: 50%;
}


/* =========================================================
   Shop Loop / Product Grid
========================================================= */

.shop-loop-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    padding: 10px 10px 0;
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 0 0 1px 1px #e6e6e6;
}

.content-with-products .products-bordered-grid,
.products-bordered-grid.elements-grid:not(.elements-list) [class*="-grid-item"] {
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 0 0 1px 1px #e6e6e6;
}

.woodmart-active-filters {
    background-color: #fff;
    padding-right: 3px;
}

.filters-opened {
    background-color: #fff;
    padding: 20px;
    border-radius: 3px;
    box-shadow: 0 0 1px 1px #e6e6e6;
}


/* =========================================================
   Woodmart Components
========================================================= */

.woodmart-highlighted-products:not(.with-title) .owl-nav > div[class*="prev"] {
    right: 5px !important;
    width: 40px;
    height: 70px;
}

.wd-buttons[class*="wd-pos-r"] .wd-tooltip-label::before {
    border-right-color: transparent;
}

.categories-menu-dropdown .wd-nav > li > a {
    font-weight: 400;
}

.wd-quantity-overlap {
    --quantity-space: 0;
}

.wd-single-footer ~ .wd-page-nav {
    direction: ltr;
}

.wd-nav-wrapper.wd-nav-tabs-wrapper.text-center {
    border: 1px solid #e8e2e2;
    border-radius: 10px;
    padding: 8px;
}

.whb-header .whb-header-bottom .wd-header-cats {
    height: 100% !important;
}


/* =========================================================
   Elementor / Prefooter
========================================================= */

.prefooter .elementor-container {
    max-width: none !important;
}

.woocommerce-Reviews {
    display: flow-root !important;
}


/* =========================================================
   Blog
========================================================= */

.blog-design-list .wd-post-excerpt {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    max-height: 3em;
}

.wd-post .wd-post-title {
    font-size: 17px !important;
}

.wd-post-img {
    background-color: #fff;
    padding: 5px;
    border-radius: 10px;
}

.wd-post-thumb img {
    border-radius: 16px;
}

.blog-design-masonry.wd-add-shadow .wd-post-inner {
    border-radius: 16px;
}


/* =========================================================
   Responsive - Mobile
========================================================= */

@media screen and (max-width: 768px) {
    #shop-carousel .carousel-image {
        grid-row: 1 / 3;
        grid-column: 9 / 1;
    }

    #shop-carousel .carousel-title-container {
        grid-row: 3 / 4;
        grid-column: 1 / 10;
    }

    #shop-carousel .carousel-title-container * {
        font-size: 11px;
    }

    #shop-carousel .carousel-special-offer-badge {
        width: 70%;
        left: 10%;
        padding-top: 0;
    }

    h3.carousel-title {
        height: 40px;
    }

    .wd-timer span {
        font-size: 13px;
    }
}
