/*

Theme Name: Hello Elementor Child

Theme URI: https://github.com/elementor/hello-theme/

Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team

Author: Elementor Team

Author URI: https://elementor.com/

Template: hello-elementor

Version: 1.0.1

Text Domain: hello-elementor-child

License: GNU General Public License v3 or later.

License URI: https://www.gnu.org/licenses/gpl-3.0.html

*/





INPUT {
    font-family: IRANSansx !important;
}


.woocommerce-error, .woocommerce-info, .woocommerce-message {
    padding: 10px;
    margin: 0 0 20px;
    position: relative;
    background-color: #fff;
    color: #505763;
    border-top: 0;
    list-style: none outside;
    width: auto;
    word-wrap: break-word;
    border-radius: 7px;
    -webkit-box-shadow: 0 0 10px 0 rgb(0 0 0 / 10%);
    box-shadow: 0 0 10px 0 rgb(0 0 0 / 10%);
    line-height: 30px;
    font-family: IRANSansx;
       border-right: 4px solid #ff5722;
}

.woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before {
    position: inherit;
    top: auto;
    right: auto;
    margin-left: 5px;
    float: right;
    color : #ff5722;
}

.return-to-shop {
    text-align: center;

}
a.button.wc-backward:hover{
    background-color: #ff5722;
    color : #fff;
}


.discount-percentage {
    background-color: #fb3449;
    color: white;
    padding:5px 12px 2px 12px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 13px;
    display: inline-block; 
    margin-right: 10px;
}

.swal-title-custom {
 font-size : 20px;   
}

.woocommerce-thankyou-order-received {

   font-size : 18px;
   margin-top : 15px;
}
.woocommerce ul.order_details {
    
     font-size : 16px;
      margin-top : 20px;
     
}


/* استایل دسته بندی محصول */


.wc-cat-list {
    list-style: none;
    padding-bottom : 5px;
    padding-left : 20px;
}

html[lang="fa-IR"] .wc-cat-list ul {
    padding-right: 20px;
    padding-left: 0;
    text-align: right;
}


html[lang="en-US"] .wc-cat-list ul {
    padding-left: 20px;
    padding-right: 0;
    text-align: left;
}

.wc-cat-list ul {
    padding-right : 20px;
    
}

.wc-cat-list:hover {
    color : #fff;
}

.wc-cat-item {
    margin: 5px 0;
}

.wc-cat-toggle {
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right : 10px;
}

.wc-cat-toggle .icon,
.wc-cat-no-toggle .icon {
    width: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
    font-size: 14px;
    color : orange;
}


.wc-subcats {
    display: none;
    margin-left : 0;
    padding-left: 0;
}

.icon.empty {
    display: inline-block;
    width: 20px; /*  */
}


.wc-cat-item a,
.wc-cat-toggle,
.wc-cat-no-toggle {
    display: flex;
    align-items: center;
    padding: 4px 6px;
    border-radius: 10px;
    transition: background 0.2s, color 0.2s;
}

.wc-cat-item:hover > .wc-cat-toggle,
.wc-cat-item:hover > .wc-cat-no-toggle,
.wc-cat-item:hover > a {
    background: #fff;
    color: #000; /* برای خوانایی */
}

.wc-cat-item.active > .wc-cat-toggle,
.wc-cat-item.active > .wc-cat-no-toggle,
.wc-cat-item.active > a {
    font-weight: bold;
    color: #000;
}








