@font-face {
    font-family: 'iranyekan';
    src: url('../fonts/iranyekanr.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-feature-settings: "ss02";
    font-display: swap;
}

@font-face {
    font-family: 'iranyekan';
    src: url('../fonts/iranyekanb.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-feature-settings: "ss02";
    font-display: swap;

}



body {

    font-family: 'iranyekan' !important;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    direction: rtl;
}

/********************************** banner ****************************************/
.page-banner {
       background-image: url(https://www.armandidehpardaz.com/wp-content/uploads/2023/11/page-title-1.png);
    background-size: cover;          
    background-position: center;     
    background-repeat: no-repeat;    
    color: #fff;
    padding: 50px 0;
    text-align: right;
}

.page-banner h1 {
    margin: 0 30px 0 20px;
    font-size: 26px;
}


.banner-categories {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;   /* اگر زیاد بودن برن خط بعد */
     margin: 10px 30px 0 10px;
}

.banner-categories a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    font-weight: 500;
}

.banner-categories a:hover {
    color: #ff9900;
}


.cat-item {
    display: flex;
    flex-direction: column;
}

.cat-item a {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    margin-bottom: 5px;
}

.cat-count {
    font-size: 13px;
    color: #bbb;
}
/* main */
.shop-wrapper {
    display: flex;
    flex-direction: row-reverse;
    gap: 30px;
    padding: 40px;
    background: #ffffff;
    direction: rtl;
} 


/***************************** سایدبار ********************************/


 .shop-sidebar {
    width: 25%;
}

.sidebar-box {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.sidebar-box h3 {
    font-size: 16px;
    margin-bottom: 15px;
} 
.woocommerce-product-search {
    position: relative;
}

.woocommerce-product-search input[type="search"] {
    width: 100%;
    padding: 10px 10px 10px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: 0.2s;
}

.woocommerce-product-search input[type="search"]:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13,110,253,0.08);
}

.woocommerce-product-search button {
    position: absolute;
    left: 5px;
    top: 5px;
    bottom: 5px;
    border: none;
    background: #0d6efd;
    color: #fff;
    padding: 0 14px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
}

.woocommerce-product-search button:hover {
    background: #0b5ed7;
}

.widget_price_filter .price_slider_wrapper {
    margin-top: 10px;
}

.widget_price_filter .ui-slider {
    height: 4px;
    background: #e5e5e5;
    border-radius: 4px;
}

.widget_price_filter .ui-slider-range {
    background: #0d6efd;
}

.widget_price_filter .ui-slider-handle {
    width: 16px;
    height: 16px;
    top: -6px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #0d6efd;
    cursor: pointer;
}

.widget_price_filter .price_slider_amount {
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
}

.widget_price_filter .button {
    background: #0d6efd;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
}

.widget_price_filter .button:hover {
    background: #0b5ed7;
}



/* پیشنهاد ما */
.woocommerce ul.product_list_widget li {
    display: blcok;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce ul.product_list_widget li:last-child {
    border-bottom: none;
}

/* تصویر کوچک */
.woocommerce ul.product_list_widget img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 8px;
    
    padding: 2px;
    flex-shrink: 0;
}

/* لینک عنوان */
.woocommerce ul.product_list_widget a {
    font-size: 13px;
    color: #000;
    text-decoration: none;
    line-height: 1.7;
    display: block;
}

.woocommerce ul.product_list_widget a:hover {
    color: #0d6efd;
}

/* قیمت */
.woocommerce ul.product_list_widget .amount {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: bold;
    color: #0d6efd;
}

.woocommerce ul.product_list_widget del {
    font-size: 12px;
    color: #999;
    margin-left: 5px;
}

/* --------------------------------------- */
.woocommerce-Price-amount.amount {
  font-size: 20px;
}

.price {
  color: #b80303 !important;
}

ins {
  text-decoration: none !important;
}



/* محتوای اصلی */ 
.shop-main {
    width: 75%;
}

/* گرید محصولات */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap:30;
}

/* کارت محصول */ .product-card {
    background: #fff;
    padding: 10px;
    
    position: relative;
    transition: 0.3s;
}
.product-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.product-image img {
    width: 100% ;
    height: auto;
}

.product-title {
 font-size:14px;
    margin: 15px 0;
    line-height: 1.5;
    text-align: center;
}
.product-title a {
    color: #000;
    text-decoration: none;
    font-weight: bold;

}
.product-title a:hover {
    color:rgb(0, 68, 176);
}
.product-price {
    color: rgb(0, 68, 176);
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.product-price del {
    color: #999;
    margin-right: 5px;
}
.product-card {
    position: relative;
}
/* ایکونهای های علاقه مندیو مقایسه در هاور محصول تکی */
.product-hover-buttons {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
   opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

.product-card:hover .product-hover-buttons {
    opacity: 1;
}

/* استایل دکمه‌ها */
.product-hover-buttons button {
    background: white;
    border: 1px solid  #D7D7D7;
    padding: 7px;
    cursor: pointer;
    font-size: 16px;
     font-size: 20px; /* 👈 قلب بزرگتر */
      color: #333 !important;


}
/* *********************************************** */

.hover-add-to-cart .button {
    border-radius: 5px;
    padding: 5px 10px;
}
/* دکمه افزودن */
.add-to-cart {
    text-align: center;
    margin-top: 15px;
    min-height: 36px;
    
}

.add-to-cart a {
    display: inline-block;
    background:rgb(0, 68, 176) !important;
    color: #fff !important;
    padding: 7px 18px !important;
    border-radius: 8px;
    font-size: 12px !important;
    text-decoration: none;
    transition: 0.25s;
}

.add-to-cart a:hover {
    background: rgb(33, 93, 191);;
}

/*badge تخفیف */
 .discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgb(0, 68, 176);;
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
} 

/* pagination */
 .pagination {
    margin-top: 40px;
    text-align: center;
} 


 .shop-sidebar{
    width: 280px;
    flex-shrink: 0;
} 



.wc-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #666;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
  margin-bottom: 20px;
}

@media (max-width: 600px) { 
.wc-topbar {
	display:block;
}}

@media (max-width: 600px) {  
 .wc-topbar-right {
  margin-bottom: 20px;
}}

.wc-topbar-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.wc-view-icons {
  display: flex;
  gap: 6px;
}

.wc-view-icons a {
  width: 14px;
  height: 14px;
  border: 1px solid #bbb;
  display: inline-block;
}

/* آیکن‌ها شبیه نمونه */
.view-4 {
  background: repeating-linear-gradient(
    90deg,#555 0 2px,transparent 2px 4px
  );
}

.view-3 {
  background: repeating-linear-gradient(
    90deg,#555 0 3px,transparent 3px 6px
  );
}

.view-2 {
  background: repeating-linear-gradient(
    90deg,#555 0 5px,transparent 5px 10px
  );
}

.wc-per-page a {
  text-decoration: none;
  color: #333;
  margin: 0 2px;
}

.wc-per-page a:hover {
  color: #0073aa;
}


/********************************** صفحات مقاله ****************************************************/


.entry-title , .entry-meta {
    color: #000 !important;
}
/* ====== Comments Box ====== */

/* ===== Comment Form Style ===== */

#commentform {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-top: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* فیلدها */
#commentform input,
#commentform textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    transition: 0.3s;
    font-family: inherit;
}

#commentform input:focus,
#commentform textarea:focus {
    border-color: #0d6efd;
    outline: none;
    box-shadow: 0 0 0 3px rgba(13,110,253,0.15);
}

/* دکمه ارسال */
#commentform input[type="submit"] {
    background: #0d6efd;
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

#commentform input[type="submit"]:hover {
    background: #0b5ed7;
}



/* ریسپانسیو */
 @media(max-width: 992px) {
    .shop-wrapper {
        flex-direction: column;
    }

    .shop-sidebar,
    .shop-main {
        width: 100%;
    }

    .products-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
} 


