@font-face {
    font-family: myFont;
    src: url(../font/vazir-font-v16.1.0/Vazir.woff) format('woff');
}

@font-face {
    font-family: FontName;
    src: url('../font/yekan-font/Yekan.eot');
    src: url('../font/yekan-font/yekan-regular.eot') format('eot'),
         url('../font/yekan-font/Yekan.woff') format('woff'),
         url('../font/yekan-font/Yekan.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
  }

  @font-face {
    font-family: FontName2;
    src: url('../font/shabnam-font-v2.4.0/Shabnam-Bold.eot') format('eot'),
         url('../font/shabnam-font-v2.4.0/Shabnam-Bold.woff') format('woff'),
         url('../font/shabnam-font-v2.4.0/Shabnam-Bold.ttf') format('truetype');
    font-weight: 1000;
    font-style: inherit;
  }


*{
    font-family: 'myFont',Arial, Helvetica, sans-serif;
}

:root{
    --accent:#0b5b4a;
    --accent-2:#1ab0d8;
    --muted:#9aa5a0;
    --card-bg:#fffaf6;
    --yellow:#f6c94b;
    --shadow:0 8px 20px rgba(0,0,0,0.06);
    font-family:"Vazirmatn",sans-serif;
  }




  .nav-res{
    display: none;
  }

nav{
    display: flex;
    width: 100%;
    background: #fff;
    justify-content: space-between;
    align-items: center;
}
nav .nav1{
    display: flex;
    align-items: center;
    width: 70%;
    margin-right: 3%;
}
nav .nav1 .logo{
    width: 10%;
    
}

nav .nav1 .logo img{
    width: 90%;
    justify-self: center;
    border-radius: 5rem;
}

.nav1 .nav-a {
    margin-right: 3%;
}
.nav1 .nav-a a{
    text-decoration: none;
    margin-right: 25px;
    color: #000;
    font-weight: 700;
}

.btns-nav{
    width: 13%;
    display: flex;
    margin-left: 2%;
}
.btns-nav button{
    width: 30%;
    background: none;
    border: none;
    margin: 10px;
}
.btns-nav button img{
    width: 100%;
}

.header-res{
    display: none;
}
header{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 70vh;
    justify-content: space-between;
}
header .img-head{
    width: 45%;
}
/* .img-head img{
    width: 100%;
    margin-top: -10%;
} */

.img-head .flash{
    width: 15%;
    left: 45%;
    position: absolute;
}

.img-head video{
    width: 90%;
    border-radius: 3rem 0rem 3rem 0rem;
}
header .content-head{
    width: 45%;
    text-align: right;
    justify-content: center;
    align-items: center;
    justify-self: center;
    margin-top: 3%;
    margin-right: 5%;
}
header .content-head h1{
    font-size: 3rem;
}
header .content-head h1 strong{
    color: darkslateblue;
}
header .content-head h2{
    font-size: 2rem;
    color: rgb(51, 51, 51);
    text-align: left;
    font-weight: 900;
}
header .content-head p{
    font-weight: 900;
    margin-top: 5%;
    font-family: 'FontName';
}

.content-head .btns-head{
    display: flex;
    width: 100%;
    justify-content: center;
}
.content-head .btns-head button{
    width: 30%;
    align-items: center;
    padding: 9px;
    border: none;
    background: darkgreen;
    justify-content: center;
    color: #fff;
    text-align: center;
    border-radius: 2rem 5px 5px 2rem ;
    margin: 10px;
}
.content-head .btns-head button img{
    width: 10%;
    justify-self: center;
    align-items: center;
}


.title1{
    text-align: center;
    width: 100%;
}
.title1 p{
    font-size: 1.2em;
    color: orange;
    font-weight: 800;
}
.title1 h1{
    color: darkgreen;
    font-size: 2.6em;
    font-weight: 900;
    font-family: 'FontName2';
}


.category{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: 100%;
    justify-content: center;
    align-items: center;
}
.cat{
    width: 90%;
    border-radius: 12rem 12rem 15px 15px;
    background: #eee;
    justify-self: center;
    margin-top: 5%;
    justify-content: center;
    text-align: center;
    align-items: center;
}
.cat img{
    justify-self: center;
    width: 80%;
    height: 55%;
    margin-top: 20px;
}
.cat p{
    font-weight: 700;
    justify-self: center;
    align-items: center;
}

.category-item{
  text-decoration: none;
  color: #4c4c4c;
}


.slider-wrap{max-width:1700px;position:relative;padding: 10px; }

.controls{display:flex;margin-bottom:12px}
.controls button{width:40px;height:40px;border:0;border-radius:10px;background:#fff;box-shadow:0 6px 20px rgba(0,0,0,.06);cursor:pointer;font-size:18px;margin:10px}

/* بخش قابل اسکرول */
.viewport{
  overflow-x:auto;
  overflow-y:hidden;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  padding-bottom:6px;
}

/* مخفی کردن اسکرول‌بار در اکثر مرورگرها */
.viewport::-webkit-scrollbar{display:none}
.viewport{scrollbar-width:none}

.track{
  display:flex;
  gap:16px;
  padding-bottom:4px;
}

.slide{
  min-width:200px;
  background:#eee;
  border-radius:12px;
  box-shadow:0 6px 20px rgba(0,0,0,.06);
  padding:12px;
  display:flex;
  flex-direction:column;
}

.media{height:290px;border-radius:10px;overflow:hidden;margin-bottom:10px;background:#000;display:flex;align-items:center;justify-content:center;}
.media img{width:100%;height:100%;object-fit:cover;background: black;}
.title{font-size:15px;line-height:1.1;height:56px;}
.price-row{width: 100%;text-align: right;justify-content: right;}
.price-row h3{font-weight:700;margin-top:4px; color: green;text-align: right;display: flex;align-items: center;}
.price-row h3 p{
  margin-right: 10px;
}


.old-price{font-size:12px;text-decoration:line-through;color:#777; text-align: right}
.box-btns{display: flex;justify-content: space-between;align-items: center;}
.box-btns button{
    width: 30%;
    background: darkgreen;
    color: #fff;
    border: none;
    border-radius: 25px 25px 5px 5px;
    padding: 10px;
}
@media(max-width:768px){ .slide{min-width:260px} .media{height:220px} }

.amazing-products {
    text-align: center;
    padding: 40px 0;
}


/* کل بخش */
.slider-wrapper {
    width: 90%;
    height: 40vh;
    margin: 0 auto;
    background: #006B63;
    padding: 40px;
    border-radius: 25px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

/* اسلایدر سمت راست */
.slider-section {
    width: 80%;
}

/* دکمه‌ها */
.btn {
    position: absolute;
    top: -40px;
    background: transparent;
    border: none;
    width: 5%;
    margin: 10px;
    border-radius: 10px;
    background: #fff;
    font-size: 25px;
    color: gray;
    cursor: pointer;
}

.prev {
    right: 90px;
}

.next {
    right: 20px;
}

/* اسکرول */
.slider {
    margin-top: 40px;
    display: flex;
    width: 90%;
    overflow-x: scroll;
    scroll-behavior: smooth;
    gap: 20px;
    padding-bottom: 10px;
}
.slider::-webkit-scrollbar { display: none; }

/* کارت محصول */
.card {
    min-width: 200px;
    background: #ffffff;
    border-radius: 20px;
    padding: 10px;

}

.card img {
    width: 100%;
    height: 250px;
    border-radius: 15px;
    
}

.badge {
    background: #F9C44F;
    padding: 6px 15px;
    border-radius: 0px 15px 0px 10px;
    font-weight: bold;
}

.old-price {
    text-decoration: line-through;
    color: gray;
    font-size: 14px;
}

.new-price {
    color: #eebb00;
    font-weight: bold;
}

.new-price{font-weight:700;margin-top:4px; color: orange;text-align: right;display: flex;align-items: center;}
.new-price p{
  margin-right: 10px;
}
.buy {
    background: #006B63;
    color: white;
    padding: 6px 25px;
    border-radius: 20px 20px 5px 5px;
    border: none;
    cursor: pointer;
}
.cards-boxs{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}
/* باکس تخفیفات ویژه */
.discount-box {
    width: 30%;
    background: #006B63;
    color: white;
    padding: 20px 10px;
    border-radius: 20px;
    text-align: center;
}

.discount-box h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.discount-box .txt {
    font-size: 15px;
    margin-bottom: 25px;
}

/* تایمر */
.timer {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.time-circle {
    width: 80px;
    height: 80px;
    padding: 5px;
    border: 2px solid white;
    border-radius: 50px 50px 10px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}
.time-circle p{
    margin-top: 0;
}











.container{
    
    width: 80%;
justify-self: center;
margin-top: 10%;
    padding:0 15px;
  }


  .tabs{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
    margin-bottom:25px;
  }

  .tab{
    padding:10px 18px;
    border-radius:30px;
    background:#f5f5f5;
    cursor:pointer;
    color:var(--muted);
    font-weight:600;
    transition:0.2s;
  }

  .tab.active{
    background:rgba(26,176,216,0.18);
    color:var(--accent);
  }

  /* GRID */
  .grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    width: 100%;
  }

  @media(max-width:1000px){
    .grid{grid-template-columns:repeat(2,1fr);}
  }

  @media(max-width:500px){
    .grid{grid-template-columns:1fr;}
  }

  .card1{
    background:#dcdcdc;
    padding:25px;
    border-radius:14px;
    box-shadow:var(--shadow);
    position:relative;
    transition:0.2s;
  }
  .card1 a{
    text-decoration: none;
    color: #4c4c4c;
  }


  .image-wrap{
    border-radius:12px;
    text-align:center;
    margin-bottom:12px;
  }

  .image-wrap img{
    max-height:200px;
    width: 90%;
    border-radius: 12px;
  }

  h3{
    font-size:16px;
    text-align:center;
    margin:10px 0;
  }

  .price-row{
    text-align:center;
    margin-bottom:10px;
  }

  .price-old{
    text-decoration:line-through;
    color:var(--muted);
    font-size:13px;
  }

  .price-new{
    color:var(--yellow);
    font-size:17px;
    font-weight:bold;
  }

  .btn-buy{
    margin:0 auto;
    display:block;
    padding:10px 20px;
    background:var(--accent);
    color:#fff;
    border:none;
    border-radius:20px 20px 5px 5px;
    cursor:pointer;
    font-weight:bold;
  }

  .hide{display:none;}


  .slider-wrap2{
    width: 85%;
    min-width: none;
    justify-self: center;
  }
  .viewport1{
    overflow-x:auto;
    overflow-y:hidden;
    scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;
    padding-bottom:6px;
  }

  /* مخفی کردن اسکرول‌بار در اکثر مرورگرها */
.viewport1::-webkit-scrollbar{display:none}
.viewport1{scrollbar-width:none}

  .slide{
    min-width: 300px;
  }
  .slide a{
    color: #4c4c4c;
    text-decoration: none;
  }
  .box-btns{
    width: 100%;
  }
  .box-btns a{
    justify-content: left;
    justify-self: left;
    text-decoration: none;
    color: #0b5b4a;
    text-align: left;
  }


  footer{
    display: grid;
    width: 85%;
    justify-self: center;
    align-items: center;
    margin-top: 4%;
}
  .head-line{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    justify-self: center;
    background: #0b5b4a;
    border-radius: 2rem;
  }

  .line1{
    width: 70%;
    display: flex;
    align-items: center;
  }
  .line1 img{
    width: 12%;
  }
  .line1 p{
    color: #fff;
    margin-right: 3%;
  }
  .line2{
    width: 30%;
    display: flex;
    align-items: center;
    text-align: left;
    justify-content: left;
  }
  .line2 img{
    width: 10%;
    margin-left: 3%;
  }
  .line2 p{
    color: #fff;
    font-weight: 700;
  }


  .foots{
    display: flex;
    width: 100%;
    margin-top: 4%;
    justify-content: space-between;
  }
  .foot1{
    width: 28%;
    text-align: center;
  }
  .foot1 .logo {
    width: 100%;
  }
  .foot1 .logo img{
    width: 20%;
    border-radius: 10rem;
    justify-self: center;
  }
  .foot1 p{
    font-family: 'FontName';
    color: gray;
  }


  .foot2{
    display: grid;
    text-align: right;
    width: 15%;
    margin-right: 3%;
    text-decoration: none;
  }

  .foot2 h4{
    color: #0b5b4a;
    font-size: 1.2em;
  }
  .foot2 a{
    text-decoration: none;
    color: gray;
  }


  .foot3{
    display: grid;
    text-align: right;
    width: 15%;
    margin-right: 2%;
    text-decoration: none;
  }

  .foot3 h4{
    color: #0b5b4a;
    font-size: 1.2em;
  }
  .foot3 a{
    text-decoration: none;
    color: gray;
  }



  .foot4{
    display: grid;
    text-align: right;
    width: 15%;
    margin-right: 2%;
    text-decoration: none;
  }

  .foot4 h4{
    color: #0b5b4a;
    font-size: 1.2em;
  }
  .foot4 a{
    text-decoration: none;
    color: gray;
  }





  .foot5{
    display: grid;
    text-align: right;
    width: 18%;
    margin-right: 2%;
    text-decoration: none;
  }

  .foot5 h4{
    color: #0b5b4a;
    font-size: 1.2em;
  }
  .foot5 p{
    text-decoration: none;
    color: gray;
  }

  .foot5 .img-mojavez{
    display: flex;
    justify-content: space-between;
    
  }
  .img-mojavez .moz{
    padding: 18px;
    border-radius: 12px;
    border: 2px dashed gray;
    width: 30%;
    text-align: center;
  }




  .end{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-top: 4%;
  }
  .end .text-end p{
    color: gray;
  }
  .end .text-end a{
    color: #0b5b4a;
    text-decoration: none;
  }

  .end .icons{
    display: flex;
  }
  .icons i{
    padding: 13px;
    background: #0b5b4a;
    margin: 10px;
    color: #fff;
    border-radius: 15px 15px 0px 0px;
  }



  @media(max-width:768px){ 
      
      
    nav{
        display: none;
    }
    .nav-res{
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .logo1{
        width: 20%;
        margin-left: 25%;
        justify-content: right;
    }
    .logo1 img{
        width: 100%;
        justify-content: right;
        border-radius: 50rem;
    }
    .btns-nav2{
        display: flex;
        width: 30%;
        justify-content: space-between;
    }
    .btns-nav2 button{
        width: 40%;
        
        background: none;
        border: none;
    }
    .btns-nav2 button img{
        width: 100%;
    }
    header{
        display: none;
    }
    .header-res{
        display: grid;
        margin-top: 6%;
        width: 100%;
        height: 100vh;
    }
    header .img-head{
        display: grid;
        width: 100%;
    }
    
.img-head .flash{
    width: 15%;
    position:relative;
}
    .img-head video{
        width: 100%;
    }

    .header-res .content-head p{
        margin-top: 0px;
    }
    header .content-head{
        margin-top: 0%;
    }
    .header-res .content-head{
        margin: 0%;width: 100%;
        display: grid;
        margin-top: 0;
        justify-content: center;
        text-align: center;
    }
    .header-res .content-head h1{
        margin-top: 0;
    }
    .header-res .content-head h2{
        text-align: center;
        margin-top: 0;
        justify-content: center;
    }
    .content-head .btns-head button{
        width: 50%;
    }

    .category{
        grid-template-columns: repeat(2, 1fr);
    }
    .cat{
        margin-top: 10%;
    }
    .viewport1{
        overflow-x:auto;
        overflow-y:hidden;
        scroll-behavior:smooth;
        -webkit-overflow-scrolling:touch;
        padding-bottom:6px;
    }

    .slider-wrap2 .slide{min-width:260px} 
    .slider-wrap2 .media{height:220px} 
    .slider-wrap2 .viewport1 .track .slide{
        min-width: 310px;
    }
    .slider-wrapper{
        display: grid;
        margin: 0;
        padding: 0;
        width: 100%;
        height: 70vh;
    }
    .discount-box{
        width: 100%;
        padding: 0;
    }
    .slider-section{
        margin-top: 20px;
        z-index: 1002;
        position: absolute;
        margin-top: 70%;
        width: 99%;
        overflow-y: hidden;
    }
    .card{
        z-index: 1002;
        border: 1px solid #eee;
    }
    .slider{
        margin-top: 0;
    }
    .btn{
        margin-top: -2%;
        margin-bottom: 2%;
        width: 20%;
        height: 20%;
        top: -100px;
        display: none;
        margin: 20px;
    }
    .timer{
        width: 100%;
    }

    .container{
        margin-top: 70%;
    }
    .title1{
        margin-top: 30%;
    }


    .amazing-products {
        padding: 0px;
    }
    .head-line{
        display: grid;
        text-align: center;
        justify-content: center;
        align-items: center;
    }
    .line1{
        display: grid;
        text-align: center;
        justify-content: center;
    }
    .line1 img{
        width: 30%;
        justify-self: center;
    }
    .line1, .line2{
        width: 100%;
    }
    .line2{
        text-align: center;
        justify-content: center;
    }

    .foots{
        display: grid;
    }
    .foot1{
        width: 100%;
    }
    .foot2, .foot3, .foot4, .foot5{
        width: 100%;
        text-align: center;
    }

    .end{
        display: grid;
        text-align: center;
    }
    .end .icons{
        justify-self: center;
    }

  }
