/* ===== RESET ===== */
.immg{
    width: 100%;
    height: 100%;
}
@font-face {
  font-family: vazir;
  src: url(Vazirmatn-Medium.ttf);
}
*{box-sizing:border-box;margin:0;padding:0}
body{
  font-family:vazir;
  background:#f4f5f2;
  color:#222;
}


.header{
  background-color: #8a8a8a;
  backdrop-filter: blur(10px);
  width: 100%;
  margin-bottom: 50px;
  border-radius: 1800px 1800px 90px 90px;
  display: flex;
  align-items: center;
}
.main-header{
  margin: 10px auto;
  width: 90%;
  
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.right-header{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.right-header div{
    width: 80px;
    height: 80px;
}.right-header h1{
    color: goldenrod;
    -webkit-text-stroke: 0.1px #fff;
    font-size: 25px;
}
.left-header{
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}
.left-header div:nth-child(1){
    width: 27px;
    height: 27px;
}
.left-header div:nth-child(2){
    font-size: 13px;
    font-weight: 500;
}

.glass-input{
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgb(225, 225, 225 , 0.9) ;
    border-radius: 14px;
    width: auto;
    padding: 6px 10px;
    height: 35px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 6px 20px rgba(2, 6, 23, 0.5);
    border: 1px solid transparent;
}
.glass-input input{
    appearance: none;
    border: 0;
    background: transparent;
    outline: none;
    color: rgba(120, 120, 120, 0.9);
}
.submit-search{
    width: 22px;
    height: 22px;
    background: transparent;
    border: none;
}

/* ===== COLORS ===== */
:root{
  --green:#1f7a3f;
  --gold:#d4af37;
  --light:#ffffff;
  --border:#e0e0e0;
}

/* ===== LAYOUT ===== */
.container{
  max-width:1200px;
  margin:auto;
  padding: 30px 20px;
}

/* ===== HEADER ===== */
header{
  background:linear-gradient(135deg,var(--green),var(--gold));
  color:#fff;
  padding:18px 20px;
  border-radius:14px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px;
}

.logo{
  width:50px;height:50px;
  background:#fff;
  color:var(--green);
  font-weight:900;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
}

nav a{
  color:#fff;
  text-decoration:none;
  margin-right:15px;
  font-weight:700;
}

/* ===== MAIN ===== */
.main{
  display:grid;
  grid-template-columns:260px 1fr;
  gap:20px;
}

/* ===== SIDEBAR ===== */
.sidebar{
  background:#fff;
  border-radius:12px;
  padding:16px;
  border:2px solid var(--gold);
}

.sidebar h3{
  margin-bottom:12px;
}

.sidebar button{
  width:100%;
  padding:10px;
  border:0;
  border-radius:10px;
  background:#c29f2d;
  color:#fff;
  font-weight:800;
  cursor:pointer;
}

/* ===== PRODUCTS ===== */
.products{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:20px;
}

.card{
  background: rgba(233,233,233,0.7);
  backdrop-filter: blur(12px);
  border-radius:16px;
  padding:16px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  box-shadow:
    0 10px 30px rgba(31, 122, 63, 0.25),
    0 6px 18px rgba(212, 175, 55, 0.25),
    0 20px 40px rgba(52, 152, 219, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.card:hover{
  transform: translateY(-6px);
  box-shadow:
    0 14px 40px rgba(31, 122, 63, 0.35),
    0 8px 25px rgba(212, 175, 55, 0.35),
    0 25px 50px rgba(52, 152, 219, 0.25);
}

.img{
  width:200px;
  height:180px;
  
  background: linear-gradient(135deg,#fff6da,#e7f3ea);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:36px;
  color:var(--gold);
  border-radius: 10px;
}
.img img{
  border-radius: 10px;
}

.title{
  font-weight:800;
  font-size:16px;
  text-align:center;
}

.meta{
  font-size:13px;
  color:#666;
}

.price{
  font-weight:900;
  color:var(--gold);
  font-size:18px;
}

.btn{
  background: goldenrod;
  color:#ffffff;
  font-size: 20px;
  border:0;
  padding: 10px 12px;
  border-radius:0px 12px 0px 12px;

  font-weight:700;
  cursor:pointer;
  position: absolute;
  left: 0;
  bottom: 0;
  transition: 0.3s;
}.btn:hover{
  padding: 12px 14px;
}

/* ===== FOOTER ===== */
footer{
  margin-top:30px;
  text-align:center;
  color:#666;
  font-size:14px;
}

.catgory-shop{
    width: 100%;
    
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 200px;
    background: linear-gradient(135deg,
    #1f7a3f,
    #3cb371

    );
    border-radius: 20px;
    margin-bottom: 100px;
    position: relative;
    box-shadow:
  0 10px 30px rgba(31, 122, 63, 0.25),
  0 6px 18px rgba(212, 175, 55, 0.25),
  0 20px 40px rgba(52, 152, 219, 0.18);
}
.catgory-shop h2{
  color: rgb(33 125 66);
  font-size: 29px;
  -webkit-text-stroke: 0.1px #fff;
}
.bottom-catgory-shop{
    position: absolute;
    top: 160px;
    width: 80%;
    display: flex;
    justify-content: center;
}
.item-shop{
    border: 1px solid rgb(225, 225, 225);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    transition: 0.4s;
    
}
@media (min-width: 769px) {

    .bottom-catgory-shop {
        width: 100%;
        display: flex !important;
        justify-content: center;
        gap: 20px;
    }

    .swiper-wrapper {
        display: flex !important;
        gap: 20px;
        transform: translate3d(0,0,0) !important; /* برای جلوگیری از اسلاید */
        justify-content: center;
    }

    .swiper-slide {
        width: auto !important; /* اندازه طبیعی */
    }
}

.item-shop:hover{
    transform: translateY(-3px);
}.item-shop:hover div{
    background: goldenrod;
    color: #ffffff;
}
.item-shop div{
    width: 90px;
    font-size: 14px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(96, 96, 96, 0.45),
        rgba(40, 40, 40, 0.30)
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);


    border: 1px solid rgba(255, 255, 255, 0.15);

    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
    cursor: pointer;
}
/* ===== RESPONSIVE ===== */
@media(max-width:900px){
  .main{grid-template-columns:1fr}
}




.filter-box {
    width: 90%;
    max-width: 450px;
    border: 2px solid goldenrod;
    background: #ffffff;
    padding: 25px;
    border-radius: 18px;
    margin: 20px auto;
    box-shadow: 0 10px 25px rgba(148, 153, 0, 0.744);
    direction: rtl;
    animation: fadeIn 0.5s ease;
}

.filter-box h3 {
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

.filter-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.filter-group label {
    margin-bottom: 8px;
    font-size: 15px;
    color: #555;
}

.filter-group select,
.filter-group input {
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 15px;
    transition: 0.3s;
    outline: none;
}

.filter-group select:focus,
.filter-group input:focus {
    border-color: #2a9d8f;
    box-shadow: 0 0 8px rgba(42,157,143,0.3);
}

.range-values {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    color: #777;
    font-size: 13px;
}

.filter-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #daa520, #ffc227);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(50,194,117,0.3);
}
.left-header-mob {
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}
.left-header-mob div:nth-child(1) {
    width: 27px;
    height: 27px;
}
.left-header-mob div:nth-child(2) {
    font-size: 13px;
    font-weight: 500;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.bottom-mobile{
    display: none;
}
    #mobilemenuhum{
      display: none;
    }
@media(max-width:680px){
    .mobile-mode{
        display: none !important;
    }
    .right-header{
        flex-direction: column;
    }
    .right-header h1{
        display: none;
    }

    .main-header{
        justify-content: space-around;
        flex-direction: column;
    }
    .bottom-mobile{
        display: flex;
        align-items: center;
        justify-content: space-around;

        width: 100%;
        height: 50px;
    }
}
@media(max-width:450px){
  .left-header{
    display: none;
  }
      #mobilemenuhum{
      display: block;
    }

}

#mobilemenuhum{
  width: 27px;
  height: 27px;
  
}
.left-header-mob{
  display: none;
}
.rm-mobile{
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  transition: 0.7s;
  backdrop-filter: blur(8px);
  border-radius: 100px 100px 10px 10px;
  height: 100%;
  background: rgba(114, 114, 172, 0.694) !important;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}









/* سبد خرید */


.main-sabad{
  width: 100%;
  height: 800px;
}
.top-sabad{
  width: 90%;
  
  border-bottom: 1px solid rgba(197, 197, 197, 0.735);
  margin: 1px auto;
  display: flex;
  align-items: flex-end;
  gap: 30px;
}
.top-sabad a{
  text-decoration: none;
  color: rgb(58, 58, 58);
  padding-bottom: 15px;
  
}
.bottom-sabad{
  width: 90%;
  
  margin: 1px auto;
  display: flex;
  gap: 10px;
}
.bottom-sabad > div:nth-child(1){
  
  width: 75%;
  height: 100%;
}
.bottom-sabad > div:nth-child(2){
  width: 25%;
  height: 100%;
}
.saaabbb{
  width: 100%;
  border-radius: 30px;
  margin-top: 20px;
  height: fit-content;
  padding: 26px 0;
  border: 1px solid rgba(153, 153, 153, 0.575);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.top-saaabbb{
  display: flex;
  width: 88%;
  justify-content: space-between;
  margin: 20px;
}
.bottom-saaabbb:hover{
    background-color: rgb(255, 130, 130);
  color: rgb(255, 0, 0);
}
.bottom-saaabbb{
  padding: 10px 20px;
  background-color: red;
  color: white;
  border-radius: 15px;
  transition: 0.3s;
  cursor: pointer;
  margin: 20px;
}
.right-bottom-sabad{
  display: flex;
}

.top-bottom-sabad{
  width: 90%;
  height: 60px;
  
  margin: 10px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.item-sabad-kharid{
  width: 100%;
  border-bottom: 1px solid rgba(196, 196, 196, 0.594);
  display: flex;
  margin-top: 30px;
}
.left-item-sabad-kharid{
  width: 209px;
  height: 200px;
  border-left: 1px solid rgba(218, 218, 218, 0.562);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 15px;
}
.right-item-sabad-kharid{
  width: 70%;
  height: 250px;
  
  position: relative;
}
.wwop{
  width: 130px;
  height: 130px;
}
.iiwu div:nth-child(1){
  color: red;
  font-weight: 700;
  font-size: 18px;

} 
.iiwu div:nth-child(3){
  color: red;
  font-weight: 700;
  font-size: 18px;

} 
.iiwu{
  border: 1px solid rgb(183, 183, 183);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  gap: 15px;
  padding: 7px 12px;
}
.right-item-sabad-kharid > div > div{
  font-size: 13px;
  color: #9b9b9b;
}
.right-item-sabad-kharid > div{
  margin: 10px 20px;
}
.right-item-sabad-kharid div:nth-child(3){
  margin: 40px 30px;
}
.buttun-enteghal{
  font-size: 13px;
  color: rgb(96, 96, 255);
  direction: ltr;

}
.red{
  color: red !important;
  border-bottom: 5px solid red;
  border-radius: 5px;
  padding-bottom: 10px !important;
}


@media(max-width:1000px){
  .bottom-sabad{
    flex-direction: column;
  }
  .right-bottom-sabad{
    width: 100% !important;
  }
  .left-bottom-sabad{
    width: 100% !important;
  }
}
@media(max-width:450px){
  .top-sabad a {
    width: 100%;
    text-align: center;
  }
}







/* جزییات سفارش */

.content-joziat{
    display: flex;
    width: 100%;
   
}

.right-josiat{
  width: 75%;

  display: flex;
}
.left-josiat{
  width: 25%;
  padding: 14px 28px;
  border: 1px solid rgba(164, 164, 164, 0.235);
  background-color: #eeeeee69;
  border-radius: 27px;
}
.main-jos{
  width: 100%;

}
.main-jos > div{
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(169, 169, 169, 0.306);
  padding-bottom: 10px;
}
.image-right-joziat{
  width: 240px;
  margin: 20px 30px;
}
.tozihat-right-joziat{
  width: 64%;
  padding: 10px;
  padding-right: 20px;
  border-right: 1px solid rgba(155, 155, 155, 0.333);
}
.tozihat-right-joziat > div{
  width: 100%;
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
}
.masir-mahsol{
  font-size: 0.8rem;
  color: rgb(56, 56, 255);
}
.name-mahsol{
  font-size: 18px;
  font-weight: 700;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(155, 155, 155, 0.333);
}
.detail-mahsol{
  display: flex;
  flex-direction: column;
}
.kjgk{
  display: flex;
  gap: 10px;
  margin-right: 10px;

}
.kjgk > div{
  background-color: #67d7ca95;
  width: 80px;
  padding: 10px 8px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  gap: 5px;
}
.kjgk > div > span:nth-child(1){
  color: #555;
  font-size: 12px;
}
.kjgk > div > span:nth-child(2){
  font-size: 15px;
  margin-right: 15px;
}

.input-josiat{
  width: 30px;
  height: 30px;
  text-align: center;
  color: red;
  border: 0;
}
.tedad-jos{
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 30px;
}
.form-tedad-jos{
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
  align-items: center;
}
.form-tedad-jos button{
  padding: 10px 50px;
  background-color: #ef4056;
  border: 1px solid #ef4056;
  color: white;
  font-size: 17px;
  border: 0;
  border-radius: 10px;
}
.top-form-tedad-jos{
  display: flex;
  gap: 20px;
  width: 100px;
  border: 1px solid rgba(180, 180, 180, 0.562);
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  padding: 5px 64px;
}
.price-josiat{
  display: flex;
  justify-content: space-between;
}
.price-josiat > div:nth-child(1){
  color: #525252a0;
}
.name-mahsol-insabad{
  display: flex;
  flex-direction: column;
  margin-right: 20px;
}
.name-mahsol-insabad span:nth-child(1){
  font-weight: 500;
  font-size: 17px;
}
.name-mahsol-insabad span:nth-child(2){
  color: #a1a1a17e;
  font-size: 15px;
  margin-right: 15px;
}
.seller{
  display: flex;
  justify-content: space-between;
}
.seller > div:nth-child(2){
  color: #19bfd3;
  font-size: 14px;
}
@media(max-width:1000px){
  .content-joziat{
    flex-direction: column;
    gap: 30px;
  }
  .content-joziat > div{
    width: 100%;
  }
}
@media(max-width:450px){

}