/**
 * Theme Name:     lits-tf
 * Author:         XTemos
 * Template:       woodmart
 * Text Domain:	   lits-tf
 * Description:    ThemeForest Premium Theme
 */
.whb-general-header{
	    background-image: linear-gradient(180deg, #006CAB 0%, #00ABEC 100%);
    background-color: #006CAB;
}
@media (max-width: 768px) {
	.wd-add-btn{
	background-color: #0066a5;
    padding: 8px 10px 5px 10px;
    border-radius: 8px;
	}
	.wd-add-btn>a span{
		text-transform: uppercase;
		color: #fff !important;
	}
}
.product-wrapper{
    padding: 0;
    padding-bottom: 20px !important;
    box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.25) !important;
	background-color: #FAFAFA !important;
    border-radius: 8px !important;
    
}
.product-element-top{
	border-radius: 8px 8px 0px 0px !important;
}
.wd-product-header{
	min-height: 40px !important;
    align-items: flex-start !important;
}
.wd-product.wd-hover-alt :is(.wd-product-header,.wrap-price) , .wd-product :is(.wd-product-cats,.wd-product-brands-links) {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.wd-sub-menu li>a{
	color: #000 !important;
}
/*reg-form*/
.form-title-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 25px 0 15px;
	color:#000;
	text-transform: uppercase !important; 
	font-size: 22px !important;
	font-weight: 600 !important;
}

.form-title-line span {
  font-size: 22px;
  font-weight: 600;
  white-space: nowrap;
	
}

.form-title-line::after {
  content: "";
  flex-grow: 1;
  height: 2px;
  background-color: #BBBBBB;
}

.um input[type=submit] , .um-button{
	background-color: var(--e-global-color-bcd32cd) !important;
    text-transform: uppercase !important;
	
    font-size: 100% !important;
    font: inherit !important;
}
/*reg-form*/
/* postcode + company registration in one row */
@media (min-width: 768px) {
    #um_field_30430_postcode,
#um_field_30430_company-registration-number {
    float: left;
    width: 50%;
    box-sizing: border-box;
}

#um_field_30430_postcode {
    padding-right: 10px;
}

#um_field_30430_company-registration-number {
    padding-left: 10px;
}
#um_field_30430_account-options{
    margin-top: 80px !important;
}
	.um-field-radio .um-field-area{
	display:flex !important;
}
	#um_field_30430_headed-paper{
		justify-items: left;
	}
}

.um-row._um_row_1 {
    position: relative;
}


.um-row._um_row_1 .um-col-121 {
    position: relative;
	padding-right:20px;
}


.um-row._um_row_1 .um-col-121::after {
    content: "";
    position: absolute;
    top: 53%;
    right: -15px; 
    transform: translateY(-50%);
    height: 90%; 
    width: 2px;
    background-color: #BBBBBB;
}
@media (max-width: 767px) {
    .um-row._um_row_1 .um-col-121::after {
        display: none;
    }
}
#um_field_30430_condition .um-field-checkbox{
	width:100%;
}

/* Custom CSS to hide the default greeting and intro text */
.woocommerce-MyAccount-content p:first-child,
.woocommerce-MyAccount-content>*:not(:last-child) {
    visibility: hidden; 
    height: 0;         
    margin: 0;         
    padding: 0;        
}


.wd-my-account-sidebar{
	padding-top: 20px !important;
    border-radius: 16px 16px 16px 16px !important;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5) !important;
	background-image: linear-gradient(to bottom, #00ABEC 0%, #006CAB 50%, #00ABEC 100%) !important;
	padding-inline-end: 0px !important;
}

.woocommerce-MyAccount-title{
	color:#fff !important;
}

.wd-builder-off .woocommerce-MyAccount-navigation ul>li>a{
	color:#fff !important;
}

.wd-builder-off .woocommerce-MyAccount-navigation ul>li.is-active>a{
	background-color:#fff !important;
	color:#0066A5 !important;
}



/* menu mobile */

@media (max-width: 768px) {
	.woocommerce-MyAccount-navigation{
		background-image: linear-gradient(to bottom, #00ABEC 0%, #006CAB 50%, #00ABEC 100%) !important;
    height: 80vh !important;
    border-radius: 8px !important;
		margin-top: -20px;
	}
    
    .wd-my-account-sidebar > .woocommerce-MyAccount-navigation:not(.wd-mobile-nav-content),
    .wd-my-account-sidebar > .woocommerce-MyAccount-title {
        display: none !important; 
    }
    .wd-my-account-sidebar {
        position: relative; 
    }

    
    /* 2. استایل کانتینر منوی کشویی (Sidebar Drawer) */
    #account-mobile-dropdown.woocommerce-MyAccount-dropdown {
		position: fixed;
    	top: 100px;
    	left: 10px;
        
        
      
        
        width: 250px; 
        height: 100%; 
        background-color: transparent !important;
        box-shadow: none !important;
        z-index: 100; 
        
        transform: translateX(-100%); 
        transition: transform 0.3s ease-out; 
        
        display: block !important; 
    }
    
    #account-mobile-dropdown.woocommerce-MyAccount-dropdown.is-open {
        transform: translateX(-20px); 
    }
    
}


@media (max-width: 768px) {
    
  
    .wd-my-account-sidebar > .woocommerce-MyAccount-navigation:not(.wd-mobile-nav-content),
    .wd-my-account-sidebar > .woocommerce-MyAccount-title {
        display: none !important; 
    }
    .wd-my-account-sidebar {
        position: relative; 
    }
	
	.wd-builder-off .woocommerce-MyAccount-navigation ul>li>a{
		padding-left:30px !important;
	}

    #account-mobile-dropdown.woocommerce-MyAccount-dropdown {
        position: fixed;
    	top: 100px;
    	left: 10px;
        width: 250px; 
        height: 100%; 
        background-color: #0084FF;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.4);
        z-index: 100; 
        
        transform: translateX(-100%); 
        transition: transform 0.3s ease-out; 
        
        display: block !important; 
    }
    
    #account-mobile-dropdown.woocommerce-MyAccount-dropdown.is-open {
        transform: translateX(-20px); 
    }
	.wd-my-account-sidebar{
		width:0 !important;
	}
	

    #account-mobile-dropdown #account-menu-toggle.wd-mobile-account-toggle {
		
		background-image: url(https://tf.persianfinedining.com/wp-content/uploads/2025/12/m1.png) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent !important;
    
        display: flex !important; 
        align-items: center;
        justify-content: center;
        
        position: absolute; 
        top: 20px;
        right: -39px;
        border-radius: 0px 8px 8px 0px;
        width: 40px; 
        height: 110px; 
        
        border: none;
        cursor: pointer;
        z-index: 102; 
        padding: 0;
        margin: 0;
        line-height: 1; 
    }
    

    #account-menu-toggle.wd-mobile-account-toggle::before {
        content: '☰'; 
        font-size: 24px;
        color: white;
        transition: content 0.3s;
    }
    

    #account-menu-toggle.wd-mobile-account-toggle.menu-open::before {
        content: '×'; 
   
		font-size: 50px;
            font-weight: 200;
            margin-top: -10px;
    }


    .wd-my-account-sidebar::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5); 
        z-index: 99; 
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-out, visibility 0.3s;
    }
    
 
    .wd-my-account-sidebar.overlay-active::before {
        opacity: 1;
        visibility: visible;
    }


    #account-mobile-dropdown ul {
        list-style: none;
        margin: 0;
        padding: 0;
        padding-top: 60px;
		padding-right:10px;
    }

}

@media (min-width: 769px) {
    #account-menu-toggle,
    #account-mobile-dropdown , .woocommerce-MyAccount-dropdown{
        display: none !important;
        visibility: hidden !important; /* یک لایه پنهان‌سازی اضافه */
        opacity: 0 !important;
    }
}


	
	
.wd-product:not(.wd-hover-small) :is(.product-image-link,.hover-img) :is(picture,img){
    height: 230px;
    object-fit: scale-down;
}
.product-element-top{
    background-color: #fff;
}
@media (max-width: 769px) {
	.wd-product:not(.wd-hover-small) :is(.product-image-link,.hover-img) :is(picture,img){
    height: 150px;
}
}
@media (min-width: 768px){
.woocommerce-product-gallery img{
		height: 400px !important;
    object-fit: scale-down;
}	
}

.elementor-30211 .elementor-element.elementor-element-3f2c22be{
	    align-self: stretch;
}

@media (max-width: 768px) {

  .pvt-table thead {
    display: none;
  }

  .pvt-table,
  .pvt-table tbody,
  .pvt-table tr,
  .pvt-table td {
    display: block;
    width: 100%;
  }

  .pvt-table tr {
    margin-bottom: 20px;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
  }

  .pvt-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    gap: 12px;
  }


  .pvt-table td::before {
    content: attr(data-label);
    font-size: 13px;
    font-weight: 600;
    color: #666;
    flex: 0 0 45%;
    text-align: left;
  }

  /* مقدار سمت راست */
  .pvt-table td > * {
    text-align: right;
    flex: 1;
  }

  .pvt-table td {
    text-align: right;
    padding: 10px;
    border: none;
  }

  .pvt-table td:last-child {
    border-bottom: none;
  }

  .pvt-qty-wrapper {
    justify-content: flex-end;
  }

  .pvt-add-to-cart-btn {
    width: 100%;
    margin-top: 8px;
  }
}
.elementor-widget-container:has(.pvt-table) {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pvt-table .pvt-btn {
	border-radius: 8px;
}
.thumbs-position-left .wd-gallery-thumb .wd-carousel-item img{
	object-fit: scale-down !important;
    height: 150px !important;
}
.elementor embed, .elementor iframe{
	    width: fit-content !important;
}
@media (min-width: 768px) {
	.pvt-table th:last-child,
.pvt-table td:last-child {
  min-width: 160px;
}
}
