/*
 Theme Name:   roca Child
 Description:  roca Child Theme
 Author:       ehsanmoloudi
 Author URI:   http://ehsanmoloudi.ir
 Template:     roca
 Version:      1.0.0
 Text Domain:  roca
*/


.searchform {
  display: flex;
  align-items: center;
  border-radius: 15px;
  padding: 0.4rem 1rem;
  background-color: #F3F3F3;
  flex: 1;
}
.mobile-nav .searchform{ 
	background-color: #ffffff !important;
	 border-radius: 0px !important;
}
.searchform input {
  border: none;
  background: transparent;
  flex: 1;
  outline: none;
  font-size: 0.9rem;
}
.searchform button {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #666;
}

.whb-column>.info-box-wrapper, .wd-header-text, .whb-column>.wd-button-wrapper, .whb-column>.wd-social-icons, .wd-header-html {
	
	border-radius: 15px !important;
    overflow: hidden;
    padding: 0px !important;
}

.menu-opener {
	border-radius: 15px !important;
	
}

.whb-flex-row{
	padding: 10px !important;
}

.whb-zdskmbdsd30jgdcgzcty{
    height: 100% !important;
} 
.whb-zdskmbdsd30jgdcgzcty a{
    height: 100% !important;
} 

.wd-slide-container {
    padding : 0% !important;
}
[class*="box-icon-with-"] .info-box-icon {
    border-radius: 15px !important;
    text-align: center;
}
.box-icon-with-bg .info-box-icon {
    padding: 15px !important;
    background-color: #F3F3F3;
}

.wd-info-box {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2) !important;
    border-radius: 15px;
    padding: 10px !important;
}

.wd-product.wd-hover-tiled .product-wrapper {
    box-shadow: 0 0 9px rgba(0, 0, 0, 0) !important;
}


/* منو موبایل*/

.mobile-nav {
	border-radius: 15px !important;
	margin: 20px 0 20px 20px !important;
}

/* حالت بسته */
.mobile-nav.wd-side-hidden.wd-left:not(.wd-opened) {
    transform: translate3d(calc(-100% - 20px), 0, 0);
}

/* حالت باز */
.mobile-nav.wd-side-hidden.wd-left.wd-opened {
    transform: translate3d(0, 0, 0);
}

/* فیلتر فروشگاه */
.elementor-element-635a254e {
	border-radius: 15px !important;
	
}

.elementor-element-635a254e.wd-side-hidden {
    transform: translateX(calc(100% + 20px)) !important; /* مقدار مارجین */
}

/* حالت باز (نمایش کامل) */
.elementor-element-635a254e.wd-opened {
    transform: translateX(0) !important;
    margin-left: 20px; /* همان مارجین دلخواه */
}


/* منو سبد خرید */



.cart-widget-side {
	border-radius: 15px !important;
	margin: 20px 20px 20px 0  !important;
}

.cart-widget-side.wd-side-hidden {
    transform: translateX(calc(100% + 20px)) !important; /* مقدار مارجین */
}

/* حالت باز (نمایش کامل) */
.cart-widget-side.wd-opened {
    transform: translateX(0) !important;
    margin-left: 20px; /* همان مارجین دلخواه */
}
/* منو کاربری */



.login-form-side {
	border-radius: 15px !important;
	margin: 20px 0 20px 20px  !important;
}

.login-form-side.wd-side-hidden {
    transform: translateX(calc(100% + 20px)) !important; /* مقدار مارجین */
}

/* حالت باز (نمایش کامل) */
.login-form-side.wd-opened {
    transform: translateX(0) !important;
    margin-left: 20px; /* همان مارجین دلخواه */
}

/* منو موبایل پایین صفحه*/
.wd-toolbar {
  position: fixed !important;
  bottom: 16px !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0 auto !important;
  max-width: 480px !important;
  width: calc(100% - 32px) !important;
  background: #fff !important;
  border-radius: 22px !important;
  padding: 18px 0 !important; /* ارتفاع بیشتر */
  box-shadow: 0 0px 20px rgba(0, 0, 0, .4) !important; /* سایه ملایم */
  z-index: 398 !important;
  display: flex !important;
  justify-content: space-around !important;
  box-sizing: border-box !important;
  direction: rtl !important;
  height: 70px !important;
}

/* آیتم‌ها */
.wd-toolbar .wd-tools-element {
  flex: 1 1 auto !important;
  text-align: center !important;
}

/* مخفی کردن در دسکتاپ */
@media (min-width: 768px) {
  .wd-toolbar {
    display: none !important;
  }
}


.out-of-stock img {
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.wd-product :where(.product-wrapper,.product-element-bottom) {
    gap: 0 !important;
}

.title-line-two .product-grid-item .wd-entities-title {
    min-height: 30px !important;
}

.elementor-widget:not(:last-child) {
    margin-block-end: 0 !important;
    margin-bottom: 0 !important;
}

h1.title {
    margin-bottom: 0 !important;
}

.woodmart-sidebar-content .widget-title {
    background: #F3F3F3 !important;
    padding: 15px 20px !important;
    border-radius: 15px !important;
    color: #000000 !important;
}
.wd-products.wd-stretch-cont-lg .product-wrapper {
	border: 1px solid #f5f6f9 !important;
}


.woodmart-sidebar-content .widget {
    border: 1px solid #f5f6f9 !important;
    border-radius: 15px !important;
    box-shadow: 0 0 0px 0px !important;
}
.summary .summary-inner{
	border: 1px solid #f5f6f9 !important;
	border-radius: 15px !important;
    box-shadow: 0 0 0px 0px !important;
}

/*کد استایل باکس قیمت صفحه محصول */

.cart {
  display: flex;
  align-items: center;
  gap: 10px; /* فاصله بین div و دکمه، قابل تنظیم */
}
.single_add_to_cart_button {
	  padding-right: 10px !important;
    padding-left: 10px !important;
	border-radius : 15px !important;
}
 :root {
    --wd-form-brd-radius: 15px !important;
	 }

#custom-dynamic-price{
	  text-align: center !important;
	font-size:18px !important;
	font-weight : 700 !important;
}

#custom-total-price {
		  text-align: center !important;

}

.custom-price-box{
			  text-align: center !important;

}
#etemadmahsool .elementor-icon-list-item {
	background-color: #FFCCCC;
    border-radius: 15px;
    padding: 12px 25px 12px 25px !important;
}

.product_meta {
	gap: 0 !important;
}

.product-image-link img {
    border-radius: 15px !important;
}
.product-grid-item .product-image-link {
	    padding: 0 0 25px 0 !important;
}

.widget {
    margin-bottom: 10px !important; 
}

.searchform input[type="text"] {
	padding : 0 0 0 25px !important;
}

.products-bordered-grid .wd-carousel-inner {
	border : 0px !important;
}

.products-bordered-grid .wd-carousel-item {
    border-inline-end: 0 !important;
}

#safhe-mahsool .elementor-widget-container .wd-carousel-inner div .wd-carousel-wrap  div .wd-product .product-wrapper .product-element-top {
	padding : 10px 10px 0 10px !important;
}
#safhe-mahsool .elementor-widget-container .wd-carousel-inner div .wd-carousel-wrap  div .wd-product .product-wrapper .product-element-bottom {
	padding : 10px 10px 10px 10px !important;
}
.wd-content-area>.single-breadcrumbs-wrapper {
    margin-bottom: 0px !important;
}

@media (min-width: 768px) {
  .container, .container-fluid {
    padding-inline: 0px !important;
  }
}


.single-breadcrumbs-wrapper div {
    margin-bottom: 20px !important;
    margin-top: -20px !important;
    background-color: #F5F6F9;
    padding: 10px !important;
    border-radius: 15px !important;
	padding-right: 15px !important;
}

.wd-swatches-product {
    --wd-swatch-size: 30px !important;
}

/* ====== Woodmart / WooCommerce — Attributes table (additional_information) ====== */
.single-product
.woocommerce-Tabs-panel--additional_information.wd-single-attrs.wd-layout-list.wd-style-default
.woocommerce-product-attributes.shop_attributes{
  width:100%;
  table-layout:fixed;
  border-collapse:separate !important;
  border-spacing:2px 25px !important; /* فاصله کمتر بین ستون‌ها */
  margin:0 !important;
  direction: rtl;
}

/* حذف حاشیه ردیف‌ها */
.single-product
.woocommerce-Tabs-panel--additional_information.wd-single-attrs.wd-layout-list.wd-style-default
.woocommerce-product-attributes.shop_attributes tr{
  background:transparent !important;
  border:0 !important;
}

/* سلول‌ها */
.single-product
.woocommerce-Tabs-panel--additional_information.wd-single-attrs.wd-layout-list.wd-style-default
.woocommerce-product-attributes.shop_attributes th,
.single-product
.woocommerce-Tabs-panel--additional_information.wd-single-attrs.wd-layout-list.wd-style-default
.woocommerce-product-attributes.shop_attributes td{
  padding:10px 12px !important;
  border:0 !important;
  border-radius:10px !important;
  vertical-align:middle !important;
  font-size:13px; /* فونت کوچک‌تر */
  line-height:1.5;
  box-shadow:none !important;
  text-align:right;
}

/* ستون عنوان (سمت راست) */
.single-product
.woocommerce-Tabs-panel--additional_information.wd-single-attrs.wd-layout-list.wd-style-default
.woocommerce-product-attributes.shop_attributes th{
  background: rgb(192,32,50) !important;
  color:#ffffff !important;
  font-weight:600;
  width:30%; /* کمی کمتر تا ستون مقدار عریض‌تر شود */
  white-space:nowrap;
}

/* ستون مقدار (سمت چپ) */
.single-product
.woocommerce-Tabs-panel--additional_information.wd-single-attrs.wd-layout-list.wd-style-default
.woocommerce-product-attributes.shop_attributes td{
  background:#F3F3F3 !important;
  color:#2d2d2d !important;
  width:100% !important; /* ستون مقدار تا انتهای صفحه ادامه پیدا کنه */
}

/* لینک‌ها */
.single-product
.woocommerce-Tabs-panel--additional_information.wd-single-attrs.wd-layout-list.wd-style-default
.woocommerce-product-attributes.shop_attributes td a{
  text-decoration:none !important;
  border-bottom:1px dashed rgba(0,0,0,.12);
}

/* فاصله آیتم‌های چندگانه */
.single-product
.woocommerce-Tabs-panel--additional_information.wd-single-attrs.wd-layout-list.wd-style-default
.woocommerce-product-attributes.shop_attributes td .wd-attr-term{
  display:inline-block;
  margin:1px 3px;
}
.single-product
.woocommerce-Tabs-panel--additional_information.wd-single-attrs.wd-layout-list.wd-style-default
.woocommerce-product-attributes.shop_attributes td .wd-attr-term p{
  display:inline;
  margin:0;
}
.woocommerce-product-attributes-item{
	--wd-attr-v-gap: 10px !important;
}

.gheimat1 {
    font-size: 25px;
    color: rgb(68,23,82);
    font-weight: bold
}

.wd-header-cats{
	margin-right: 0px !important;
}

.site-logo{
	padding-right: 0px !important;
}
.wd-entities-title {
	margin-bottom: 5px !important;
}

.home body {
  background: linear-gradient(180deg, #FFFFFF 0%, #BDD2E0 100%);
}

.elementor-744 .elementor-element.elementor-element-ec9fa5a {
    width: auto;
    max-width: auto;
    margin: 0px 0px 0px 0px  !important;
}

.elementor-745 .elementor-element.elementor-element-7506aef {
	width: auto;
    max-width: auto;
    margin: 0px 0px 0px 0px  !important;
}


/* === آیکون منو === */
.wd-header-mobile-nav .wd-tools-icon {
    background: url('https://ventotrading.co/wp-content/uploads/2025/09/bars-staggered.svg') no-repeat center center !important;
    background-size: 22px 22px !important;
    width: 28px !important;
    height: 28px !important;
}
.wd-header-mobile-nav .wd-tools-icon svg,
.wd-header-mobile-nav .wd-tools-icon:before {
    display: none !important;
}

/* === آیکون سبد خرید === */
.wd-header-cart .wd-tools-icon {
    background: url('https://ventotrading.co/wp-content/uploads/2025/09/shopping-cart.svg') no-repeat center center !important;
    background-size: 22px 22px !important;
    width: 28px !important;
    height: 28px !important;
}
.wd-header-cart .wd-tools-icon svg,
.wd-header-cart .wd-tools-icon:before {
    display: none !important;
}

/* === آیکون حساب کاربری === */
.wd-header-my-account .wd-tools-icon {
    background: url('https://ventotrading.co/wp-content/uploads/2025/09/user-vneck-hair.svg') no-repeat center center !important;
    background-size: 22px 22px !important;
    width: 28px !important;
    height: 28px !important;
}
.wd-header-my-account .wd-tools-icon svg,
.wd-header-my-account .wd-tools-icon:before {
    display: none !important;
}



 /* دکمه بستن بالا چپ */
        .custom-close-sidebar-btn {
            position: fixed;
            top: 20px;
            right: 20px;
            display: flex;
            flex-direction: column;
            z-index: 3000;
            opacity: 0;
            pointer-events: none;
            transition: all 0.3s ease;
			 width: 48px;
            height: 48px;
            background: #fff;
            border-radius: 15px;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: transform 0.2s ease, background 0.2s ease;
            border: none;
            cursor: pointer;
        }

        .custom-close-sidebar-btn img {
            width: 26px !important;
    height: 26px !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block !important;
        }

        /* فقط وقتی سایدبار باز است نمایش داده شود */
        .mobile-nav.wd-opened ~ .custom-close-sidebar-btn {
            opacity: 1;
            pointer-events: all;
        }

        /* آیکن‌های پایین چپ */
        .sidebar-social-icons {
            position: fixed;
            bottom: 20px;
            right: 20px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            z-index: 3000;
            opacity: 0;
            pointer-events: none;
            transition: all 0.3s ease;
        }

        .mobile-nav.wd-opened ~ .sidebar-social-icons {
            opacity: 1;
            pointer-events: all;
        }

        .sidebar-social-icons .social-icon-box {
            width: 48px;
            height: 48px;
            background: #fff;
            border-radius: 15px;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: transform 0.2s ease, background 0.2s ease;
            border: none;
            cursor: pointer;
        }

        .sidebar-social-icons .social-icon-box img {
            width: 26px;
            height: 26px;
            object-fit: contain;
        }

        .sidebar-social-icons .social-icon-box:hover {
            transform: scale(1.1);
            background: #f3f3f3;
        }


@media (max-width: 1024px) {
    .wd-side-hidden {
        --wd-side-hidden-w: min(250px, 80vw) !important;
    }
}
.wd-set-mb>* {
     margin-bottom: 0 !important; 
}

.elementor-13 .elementor-element.elementor-element-2169946 .wd-info-box .info-box-icon {
    background-color: #FBFDFF !important; 
}

.poshtibani .box-icon-with-bg .info-box-{
    padding: 10px !important;
    background-color: #F3F3F3;
}

#wd-widget-stock-status-2 {
	    padding: 10px !important;
} 
#woocommerce_product_categories-2 {
	    padding: 10px !important;
}

.product-element-bottom .price{
	margin-bottom: 5px !important;
}

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