@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;

}

@font-face {
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 900;
    font-display: swap !important;
    src: url('../webfonts/fa-solid-900.woff2') format('woff2');
}

body {

    font-family: 'iranyekan' !important;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    direction: rtl;
    text-align: right;
 background-color:#fff;
}
.ss02 {
    -moz-font-feature-settings: "ss02";
    -webkit-font-feature-settings: "ss02";
    font-feature-settings: "ss02";
}
.woocommerce,
.woocommerce * {
    font-family: 'iranyekan' !important;
}

/********************** اسلایدر ***************/

/* sliders */

.slider-container {
    position: relative;
    overflow: hidden;
}

.slides {
    display: flex;
    width: 200%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 50%;
    height: 100%;
    flex-shrink: 0;
    background: #000;
    position: relative;
}

.slide img {
    width: 100%;
    height: auto;
    object-fit: cover !important;
    object-position: center top;
    display: block;
}

/* متن و دکمه روی اسلاید */
.slide-content {
    position: absolute;
    top: 80%;
    left: 24%;
    transform: translateY(-50%);
    z-index: 5;
    text-align: right;
    max-width:550px;
    color: #ffffff;
}


.slide-btn {
    display: inline-block;
    padding: 15px 39px;
    border-radius: 23px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(17deg, #52311c, #b9a496, #32190a);
    box-shadow: 0 8px 25px rgba(255, 143, 199, 0.30);
    transition: all 0.3s ease;
}

.slide-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(169, 216, 255, 0.35);
}

/* فلش‌ها */
.nav-arrow {
    position: absolute;
    top: 50%;
    background: rgba(0,0,0,0.35);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 15px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
    transform: translateY(-50%);
}

.prev { left: 15px; }
.next { right: 15px; }

.nav-arrow:hover {
    background: rgba(0,0,0,0.9);
}

/* حفظ اسلایدر */
@media (max-width: 768px) {
    .slider,
    .slick-slider,
    .owl-carousel {
        overflow: visible !important;
    }

    .slick-track,
    .owl-stage {
        overflow: visible !important;
    }

    .slider-container {
        margin: 25px auto 15px;
    }

    .slide-content {
           position: absolute;
    top: 92%;
    left: 31.5%;
    }

   
    .slide-btn {
        padding: 10px 15px;
        font-size: 13px;
    }

    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/***************** دسته بندی ها**************** */
.nora-categories-wrapper{
    max-width:1500px;
    margin:30px auto;
}
.all-products-banner{
    position:relative;
    display:block;
    width:100%;
    height:140px;
max-width:1500px;
    border-radius:30px;
    overflow:hidden;

    margin-bottom:20px;

    text-decoration:none;
    margin: 30px auto 10px;
}

.all-products-banner img{
    width:100%;
    height:100%;
    object-fit:cover;

    transition:.4s;
}


.all-products-banner::before{
    content:'';
    position:absolute;
    inset:0;

    background:
    linear-gradient(
        90deg,
        rgba(255,105,180,.45),
        rgba(135,206,250,.45)
    );

    z-index:1;
}
.all-products-banner span{
    position:absolute;
    top:50%;
    left:50%;

    transform:translate(-50%,-50%);

    z-index:2;

    color:#fff;
    font-size:34px;
    font-weight:800;

    text-shadow:0 3px 15px rgba(0,0,0,.35);
}

.all-products-banner:hover img{
    transform:scale(1.05);
}
.nora-categories-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.cat-card{
    position:relative;
    width:100%;
    height:120px;
    border-radius:25px;
    overflow:hidden;
}

.cat-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s;
}

.cat-card::before{
    content:'';
    position:absolute;
    inset:0;
    background: linear-gradient(90deg, rgb(255 105 180 / 8%), rgb(135 206 250 / 26%));

    z-index:1;
}

.cat-card span{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    z-index:2;

    color:#fff;
    font-size:22px;
    font-weight:700;

    text-shadow:0 2px 10px rgba(0,0,0,.5);
}

.cat-card:hover img{
    transform:scale(1.08);
}

@media (max-width: 991px){

    .nora-categories-wrapper{
        padding:0 10px;
    }

    .all-products-banner{
        height:110px;
        border-radius:20px;
    }

    .all-products-banner span{
        font-size:18px;
    }

    .nora-categories-grid{
        grid-template-columns:repeat(3,1fr);
        gap:12px;
    }

    .cat-card{
        height:95px;
        border-radius:18px;
    }

    .cat-card span{
        font-size:16px;
    }

}


/************************** پیشنهاد ویژه **********************/
.amazing-offer-section{
display:flex;
align-items:center;
background:linear-gradient(90deg,#eee0cc,#d6b48b);
padding:35px;
border-radius:8px;
margin:70px auto;
max-width:1200px;
}

.offer-products{
width:80%;
}

.offer-side{
width:20%;
text-align:center;
color:#fff;
}

.offer-side h2{
font-size:50px;
line-height:1.2;
margin:0;
}

.offer-percent{
font-size:90px;
font-weight:bold;
}

.offer-side a{
color:#fff;
font-size:21px;
text-decoration:none;
}

.amazing-offer-section .prod-img-box img{
object-fit:cover;
}

.amazing-offer-section .row-carousel-track{
gap:12px;
}
.row-carousel-nav.offer{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:42px;
    height:42px;
    border:none;
border-radius:none;
    background:none;
    color:var(--primary);
    box-shadow:none;
}
.next-item.offer{
    left:-40px;
}
.old-price-offer{
    text-align:center;
    margin:8px 0 6px;
    color:#a5a5a5;
    font-size:17px;
    text-decoration:line-through;
}

.product-item-price{
    text-align:center;
    margin:8px 0 6px;
   
}
.offer-all-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#fff;
    font-size:21px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.offer-all-btn::after{
    content:"\203A";   /* ‹ */
    font-size:32px;
    line-height:1;
    transition:.3s;
}

.offer-all-btn:hover::before{
    transform:translateX(-6px);
}

.offer-all-btn:hover{
    opacity:.9;
}
/* ----------------------  ریسپانسیو موبایل  ---------------------- */

@media (max-width: 768px) {

  .backgroundoffer {
    padding: 30px 15px;
    border-radius: 30px;
  }

  .offer-home-product {
    grid-template-columns: 1fr; /* ستون‌ها زیر هم */
    text-align: center;
    gap: 30px;
  }

  p.title-offer {
    font-size: 1.8em;
    line-height: 1.3;
  }

  .button-offer-all {
    padding: 12px 25px;
    font-size: 14px;
  }

  /* محصولات */
  .product-offer ul.products {
    gap: 10px;
    padding-bottom: 10px;
  }

  .product-offer ul.products li.product {
    min-width: 200px;
    max-width: 220px;
    height: auto;
    padding: 10px;
  }


  .product-offer .woocommerce-loop-product__title {
    font-size: 13px;
    min-height: 30px;
    max-height: 30px;
  }

  .product-offer .price {
    font-size: 14px;
    min-height: 22px;
  }

  .product-offer .add_to_cart_button,
  .product-offer .button.product_type_simple,
  .product-offer .button.product_type_variable {
    height: 28px !important;
    font-size: 13px;
    width: 80%;
  }

  /* دکمه درصد تخفیف */
  .discount-badge {
    width: 40px;
    height: 40px;
    font-size: 11px;
  }

  /* دایره‌های اسلایدر */
  .offer-dots {
    margin-top: 10px;
    gap: 7px;
  }

  .offer-dots span {
    width: 8px;
    height: 8px;
  }

}

/*********************  تازه ترین محصولات *****************/

.custom-category-row-section {
    max-width: 1200px;
    margin: 40px auto 60px;
    padding: 0 15px;
    direction: rtl;
}

/*==========================
        Header
==========================*/

.category-row-header{
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    margin-bottom:35px;
    padding-bottom:20px;
    border-bottom:2px solid var(--border);
}

.header-title-box{
    text-align:center;
}

.row-section-subtitle{
    display:block;
    font-size:13px;
    font-weight:600;
    letter-spacing:4px;
    text-transform:uppercase;
    color:var(--text);   /* رنگ طلایی */
    margin-bottom:8px;
}

.row-section-title{
    margin:0;
    font-size:36px;
    font-weight:700;
    color:#1f2a44;
}

.row-section-desc{
    margin-top:10px;
    font-size:15px;
    color:#888;
    line-height:1.8;
}


/*==========================
      Carousel
==========================*/
.row-carousel-container{
    position:relative;
    overflow:visible;
}

.row-carousel-track{
    display:flex;
    gap:15px;
    overflow:hidden;
}

/*==========================
      Product Card
==========================*/
.custom-category-row-section .product-card-item,
.row-product-card-item{
    flex:0 0 calc((100% - 45px) / 4);
    max-width:calc((100% - 45px) / 4);
}
.custom-category-row-section .product-card-item:hover,
.row-product-card-item:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,.05);
}

/*==========================
      Product Image
==========================*/

.custom-category-row-section .prod-img-box,
.prod-img-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 300px;
    overflow: hidden;
}

.custom-category-row-section .prod-img-box img,
.prod-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/*==========================
     Hover Actions
==========================*/

.product-hover-actions {
    position: absolute;
    left: 50%;
    bottom: -60px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 6px 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,.1);
    white-space: nowrap;
    opacity: 0;
    z-index: 10;
    transition: bottom .3s cubic-bezier(.25,1,.5,1), opacity .3s;
}

.product-card-item:hover .product-hover-actions,
.row-product-card-item:hover .product-hover-actions {
    bottom: 15px;
    opacity: 1;
}

.hover-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border: none;
    background: none;
    cursor: pointer;
    text-decoration: none;
}

.hover-action-btn .action-icon {
    width: 20px;
    height: 20px;
    stroke: #555e6b;
    transition: .2s;
}

.hover-action-btn:hover .action-icon {
    stroke: #3f51b5;
    transform: scale(1.1);
}

.hover-action-btn.my-wishlist-btn.active .action-icon {
    stroke: #f35252;
    fill: #f35252;
}

.hover-action-btn.my-compare-btn.active .action-icon {
    stroke: #2ecc71;
}

/*==========================
      Product Details
==========================*/

.custom-category-row-section .prod-details-box,.amazing-offer-section .product-item-title {
    padding: 15px;
    text-align: center;
}

.custom-category-row-section .product-item-title,.amazing-offer-section .product-item-title {
    height: 35px;
    margin: 0 0 15px;
    overflow: hidden;
    font-size: 18px;
    line-height: 1.6;
    color:var(--title);
}

.new-price-val {
    font-size: 19px;
    font-weight: 700;
    color:var(--text);
}

.old-price-val {
    margin-left: 5px;
    font-size: 17px;
    color:var(--secondary);
    text-decoration: line-through;
}

.discount-badge-round {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 14px 10px;
    border-radius: 100px;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

/*==========================
     Carousel Buttons
==========================*/
.row-carousel-nav{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:42px;
    height:42px;
    border:none;
    border-radius:50%;
    background:#fff;
    color:var(--primary);
    box-shadow:0 4px 12px rgba(0,0,0,.12);
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:35px;
    z-index:20;
    transition:.25s;
}

.row-carousel-nav:hover{
    color:var(--title);
}

.prev-item{
    right:-50px;
}

.next-item{
    left:-50px;
}
 /************************************** مقاله ها *************/
.ns-home-blog{
    padding:100px 0;
    background:#fff;
}

.ns-blog-head{
    text-align:center;
    margin-bottom:37px;
}
.ns-blog-head span{
    display:block;
    color:#caa77d;
    font-size:20px;
    margin-bottom:8px;
}
.ns-blog-head h2{
    font-size:46px;
    color:#666;
    margin:0;
    font-weight:300;
    letter-spacing:2px;
}

.ns-blog-head p{
    margin-top:15px;
    color:#9a9a9a;
    font-size:18px;
}

.ns-blog-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}

.ns-blog-card{
    text-align:center;
}

.ns-blog-card .thumb{
 padding-bottom: 22px;
    position:relative;
    overflow:hidden;
}
.ns-blog-card img{
    width:100%;
    height:360px;
    object-fit:cover;
    transition:.6s;
    display:block;
}

.ns-blog-card:hover img{
    transform:scale(1.08);
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.35);
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    transition:.4s;
}
.ns-blog-card:hover .overlay{
    opacity:1;
}

.overlay svg{
    transform:scale(.6);
    transition:.4s;
}

.ns-blog-card:hover svg{
    transform:scale(1);
}

.date{
    position:absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    background:var(--accent);
    color:#fff;
    padding:12px 28px;
    font-size:15px;
    font-weight:600;
}

.ns-blog-card h3{
    margin-top:28px;
    font-size:21px;
    line-height:1.6;
}

.ns-blog-card h3 a{
    color:#555;
    text-decoration:none;
    transition:.3s;
}

.ns-blog-card h3 a:hover{
    color:#caa77d;
}

@media(max-width:991px){

.ns-blog-grid{

grid-template-columns:1fr;
}

.ns-blog-card img{

height:300px;
}

.ns-blog-head h2{

font-size:40px;
}

}
html,
body,
div,
span,
p,
a,
li,
ul,
ol,
h1,
h2,
h3,
h4,
h5,
h6,
input,
textarea,
button,
label {
    font-family: 'iranyekan' !important;
}

/* ============================= */
/* ======= MOBILE (768↓) ====== */
/* ============================= */

@media (max-width: 768px) {
.product-card img{
    height: 220px;
    width: 100% !important;
    object-fit: cover;

}
    /* فاصله کلی */
    .latest-products,
    .category-section {
        padding: 15px;
       
    }

    /* پیشنهاد ویژه */
    .offer-home-product {
        border-radius: 20px;
        padding: 30px 15px;
    }
 .offer-home-product {
        flex-direction: column;
        align-items: stretch;
    }
    .offer-button {
        flex: unset;
        width: 100%;
        margin-bottom: 20px;
    }

    .product-offer {
        width: 100%;
    }

    h6.title-offer {
        font-size: 20px;
    }

    a.button-offer-all {
        font-size: 14px;
        padding: 10px 20px;
    }

    .product-offer ul.products li.product {
        min-width: 220px;
        max-width: 220px;
    }

    /* اسلایدر جدیدترین */
    .product-card {
        min-width: 220px;
        max-width: 220px;
        padding: 15px;
    }

    .product-card h3 {
        font-size: 16px;
margin:0 auto;
    }

    .sale-price,
    .normal-price {
        font-size: 16px;
    }

    /* هایک ویژن */
    .products-grid {
        grid-template-columns: 1fr;
    }

    
    /* شرکت‌ها */
    .companies {
        gap: 15px;
    }

    .company-item {
        min-width: 120px;
    }

    .company-item img {
        max-height: 90px;
    }

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

    

}

@media (max-width: 480px) {

    .product-card {
        min-width: 200px;
        max-width: 200px;
    }

    .product-offer ul.products li.product {
        min-width: 200px;
        max-width: 200px;
    }

    h6.title-offer {
        font-size: 18px;
    }

    .bg-content h3 {
        font-size: 18px;
    }
.container {
    overflow-x: hidden;
}
}


















   
 

  






