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

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

/* General Body Styles */




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

/* sliders */

.slider-container {
    position: relative;
    margin: 25px ;
    overflow: hidden;
    border-radius: 40px;

}

.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: 86%;
    left: 11.5%;
    transform: translateY(-50%);
    z-index: 5;
    text-align: right;
    max-width:550px;
    color: #ffffff;
}


.slide-btn {
    display: inline-block;
    padding: 12px 34px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, #ff8fc7 0%, #a9d8ff 100%);
    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;
    }

}


/************************** پیشنهاد ویژه **********************/
.backgroundoffer {
  background: linear-gradient(358deg, #d80000 0%, #000000 150%);
  padding: 60px 20px;
    margin-top:30px;
}
.offer-home-product {
   max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 3fr;
  align-items: center;
}
p.title-offer {
    color: #fff;
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.button-offer-all {
  display: inline-block;
 background: linear-gradient(356deg, #ae0000, #231a1a);
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(255,107,53,0.4);
}
.button-offer-all:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255,107,53,0.6);
}
.product-offer ul.products {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    max-width: 100%;
    box-sizing: border-box;
}

.product-offer ul.products li.product {
  
    scroll-snap-align: start;
    background: #fff;
    border-radius: 14px;
    padding: 13px;
    min-width: 260px; 
    max-width: 270px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    margin: 0 6px!important;
    display: flex;
    flex-direction: column; 
    justify-content: space-between; 
    height: auto; 
}


.product-offer ul.products li.product img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover;
    margin: 0 auto 1em !important;
    flex-shrink: 0;
}

.product-offer .woocommerce-loop-product__title {
    font-size: 14px!important;
    line-height: 1.4;
    color: #111;
    margin: 0 0 8px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 32px;
    max-height: 32px;
    padding: 0 8px;
    overflow: hidden;
}

.product-offer .price {
    color: #ab0000 !important;
    font-weight: 600 !important;
    margin: 0 0 12px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 24px;
   text-align:center;

}

.product-offer .add_to_cart_button,
.product-offer .button.product_type_simple,
.product-offer .button.product_type_variable {
    display: flex !important;
    justify-content: center;
    align-items: center;
    height: 20px !important;
    width: 80%;
    background: linear-gradient(45deg, #ae0000, #ae0000)!important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px;
    font-weight: bold;
    font-size: 13px;
    padding: 0;
    margin: 0 auto !important;
    flex-shrink: 0;
}
.product-offer .woocommerce ul.products {
  display: flex !important; 
  list-style: none;
  padding: 0;
  margin: 0;
  width: fit-content; 
}

/***********  شگفت انگیز اسکرول ها ************/
.product-offer ul.products::-webkit-scrollbar {
    height: 6px;
}

.product-offer ul.products::-webkit-scrollbar-thumb {
    background: #aaa;
    border-radius: 10px;
}

.product-offer ul.products {
    scrollbar-width: none;
}

.product-offer ul.products::-webkit-scrollbar {
    display: none;
}

.product-offer ul.products {
    scroll-snap-type: x mandatory;
}

.product-offer ul.products li.product {
    scroll-snap-align: start;
}
.product-offer li.product {
    position: relative;
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ffcc00;
    color: #000;
    font-size: 13px;
    font-weight: bold;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.offer-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #666;
    opacity: 0.4;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block; /* مهم */
}

.offer-dots span.active {
    background: #fff;
    opacity: 1;
}

.product-offer {
    overflow-y: hidden;
}
.product-offer ul.products {
    -webkit-overflow-scrolling: touch;
}
/* ----------------------  ریسپانسیو موبایل  ---------------------- */

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

}

/********************* دسته بندی محصولات *****************/
.backgroundcate{
margin-top:30px;
}

.latest-products {
    max-width: 1500px;
    margin: 0 auto ;
    box-sizing: border-box;
}

.products-slider {
    max-width: 1200px;
    margin: 0 auto;
}

.latest-products {
    padding:35px 10px 35px 0;
    border-radius: 12px;
    position: relative;
   background: linear-gradient(180deg, #F9F9F9 50%, #6f6c6c 50%);
}

.latest-products p.title-cate {
    font-size: 1.5em;
    line-height: 1.5;
    color: #6c6868;
    margin: 10px 10px 20px 0;
    font-weight: bold;
    text-align: right;
    position: relative;
    padding-left: 200px; 
}

.latest-products p.title-cate::after {
    content: '';
    position: absolute;
    left: 155px;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 2px;
    background: #6f6c6c;
}

.view-all-btn {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: #000;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(11, 87, 208, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 1;
}

.view-all-btn:hover {
    background: #ab0000;
    transform: translateY(-50%) translateX(-2px);
    box-shadow: 0 6px 16px rgba(11, 87, 208, 0.4);
    color: white;
    text-decoration: none;
}

.

.latest-products p.title-cate::before:hover {
    background: #0a4ac4;
    transform: translateY(-50%) translateX(-2px);
    box-shadow: 0 6px 16px rgba(11, 87, 208, 0.4);
}
.latest-products p{
    font-size: 20px;
     line-height: 1.5;
    color:#6c6868;
    margin: 10px 10px 20px 0;
     font-weight: bold;
  text-align:right;
}


.latest-products h2 {
    text-align: right;

}

.products-slider {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
}

.products-slider::-webkit-scrollbar {
    display: none;
}
.product-card {
    min-width: 210px;
    max-width: 210px;
    scroll-snap-align: start;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    text-align: center;
    position: relative;
   min-height:360px!important;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.product-card img {
    max-width: 100%;
    max-height: 200px;
    height: auto;
    display: block;
    border-radius: 5px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px; /* فاصله کمتر */
    min-height: 44px;
    line-height: 1.2;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.price-wrapper {
    text-align: center;
}

.price-wrapper {
    font-size: 19px !important;
    font-weight: bold !important;
    margin-bottom: 20px !important;
}


.price-wrapper ins,
.price-wrapper .woocommerce-Price-amount {
    font-size: 19px !important;
    font-weight: bold !important;
}

.price-wrapper del {
    color: #999 !important;
    font-size: 16px !important;
}



.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.slider-dots .dot.active {
    background: #000;
}

@media (max-width: 768px) {

.latest-products p.title-cate {
    font-size: 17px;
    padding-left:0;
}
.latest-products p.title-cate::after {
    display:none;
}
.view-all-btn {
    left: 10px;
}

}

/* ****************بنر های وسط سایت **************/
.baner-box {
    max-width: 1450px;
    margin: 0 auto ;
    box-sizing: border-box;
}
.double-banner {
  display: flex;
  gap: 20px;
  width: 100%;
margin-top:30px;
}

.double-banner .banner-item {
  flex: 1;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.double-banner .banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.double-banner .banner-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .double-banner {
    flex-direction: column;
  }
.baner-box{
margin: 0 10px;
}
}

/* ************************************درباره ما */
.about-box {
    max-width: 1500px;
    margin: 0 auto ;
    box-sizing: border-box;
}
.curve-wrapper {
  position: relative;
  height: 100px;
background-color:#6f6c6c;

}

.curve-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.curve-icon {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 34px;
  color: white;
}


.amazing-box {
  position: relative;
  background: #fff;
  color: #000;
  overflow: hidden;
  margin: 0 ;
  width: 100%;
  text-align: center;
}


/* محتوا داخل باکس */
.box-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px;
}

.box-right, .box-left {
  width: 30%;
}
.box-right p {
text-align:justify;
}

.box-center {
  width: 30%;

}

.center-logo {
  width:100%;
  opacity: 0.9;
}
.about-content h2 {
    font-size: 30px;
    margin-bottom: 20px;
    background: linear-gradient(to left, #ff4f9a, #ff8cc8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    justify-content: center;

}

.stat h3 {
    font-size: 28px;
    margin: 0;
    color: #ff4f9a;
}

.stat span {
    font-size: 14px;
    color: #777;
}
blockquote {
    font-style: italic;
    margin: 25px 0;
    padding-right: 15px;
    border-right: 3px solid #ff8cc8;
    color: #666;
}
/* ---------------------- ریسپانسیو موبایل ---------------------- */
@media (max-width: 992px) {
    .about-stats {
        justify-content: center;
    }

    blockquote {
        text-align: center;
        border: none;
        padding: 0;
    }
}

@media (max-width: 768px) {

  /* منحنی بالای بخش */
  .curve-wrapper {
    height: 34px;
    
  }

  .curve-icon {
    top: -10px;
    font-size: 24px;
  }

  .curve-svg circle {
    r: 70;
  }

  /* باکس اصلی */
  .box-inner {
    flex-direction: column;      /* ستون‌های زیر هم */
    padding: 25px 20px;
    text-align: center;
   
  }

  .box-right,
  .box-center,
  .box-left {
    width: 100%;   
  }

  /* متن معرفی */
  .box-right h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .box-right p {
    font-size: 14px;
    line-height: 1.7;
    text-align: justify;
  }

  /* لوگو وسط */
  .center-logo {
    width: 60%;
    max-width: 220px;
    margin: 0 auto;
  }

 
.box-left {
  padding-right:15px;
  }
}

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












