:root{
  --dark:#0d1112;
  --dark2:#171c1d;
  --gold:#e3b34f;
  --gold2:#f4d27b;
  --white:#fff;
  --muted:#777;
  --green:#16a56d;
  --bg:#f7f7f5;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  direction:rtl;
  background:var(--bg);
  color:#202324;
  font-family:Tahoma,Arial,sans-serif;
}

button,input,textarea,select{font-family:inherit}

.topbar{
  background:var(--dark);
  color:#fff;
  position:sticky;
  top:0;
  z-index:1000;
  box-shadow:0 4px 20px #0005;
}

.header-inner{
  max-width:1250px;
  margin:auto;
  padding:16px 22px;
  display:flex;
  align-items:center;
  gap:25px;
}

.brand{
  color:#fff;
  text-decoration:none;
  display:flex;
  align-items:center;
  gap:10px;
  min-width:225px;
}

.brand-icon{
  color:var(--gold);
  font-size:42px;
}

.brand b{
  display:block;
  font-size:24px;
  font-weight:900;
}

.brand small{
  color:var(--gold);
  letter-spacing:2px;
  font-size:10px;
}

.search-box{
  height:50px;
  background:#fff;
  border-radius:15px;
  display:flex;
  align-items:center;
  flex:1;
  max-width:650px;
  overflow:hidden;
}

.search-box span{
  color:#555;
  font-size:30px;
  padding:0 14px;
}

.search-box input{
  border:0;
  outline:0;
  width:100%;
  font-size:15px;
  color:#222;
}

.header-actions{
  display:flex;
  gap:10px;
  align-items:center;
}

.account{
  color:#fff;
  text-decoration:none;
  font-size:13px;
  white-space:nowrap;
}

.cart-btn{
  border:0;
  background:var(--gold);
  color:#111;
  padding:12px 15px;
  border-radius:12px;
  font-weight:900;
  cursor:pointer;
  white-space:nowrap;
}

.cart-btn strong{
  background:#b42318;
  color:#fff;
  border-radius:50%;
  min-width:23px;
  display:inline-block;
  padding:3px;
}

.main-nav{
  border-top:1px solid #ffffff15;
  max-width:1250px;
  margin:auto;
  padding:10px 22px;
  display:flex;
  gap:30px;
}

.main-nav a{
  color:#eee;
  text-decoration:none;
  font-size:14px;
}

.hero{
  background:linear-gradient(90deg,#101415 0%,#15191a 50%,#222 100%);
  color:#fff;
}

.hero-content{
  max-width:1250px;
  min-height:410px;
  margin:auto;
  padding:35px 25px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
}

.hero-text{flex:1}

.eyebrow{
  color:var(--gold);
  font-weight:bold;
  font-size:16px;
}

.hero h1{
  font-size:clamp(38px,5vw,65px);
  line-height:1.25;
  margin:15px 0;
}

.hero h1 strong{color:var(--gold)}

.hero p{
  color:#ddd;
  font-size:17px;
  line-height:2;
  max-width:600px;
}

.hero-btn{
  display:inline-block;
  background:var(--gold);
  color:#111;
  padding:14px 28px;
  border-radius:12px;
  text-decoration:none;
  font-weight:900;
}

.hero-image{
  width:43%;
  max-width:520px;
}

.hero-image img{
    width:100%;
    height:170px;
    object-fit:cover;
    border-radius:20px;
    box-shadow:0 10px 25px #0008;
}

.section{
  max-width:1250px;
  margin:45px auto;
  padding:0 20px;
}

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  margin-bottom:22px;
}

.section-mini{
  color:#b08329;
  font-size:13px;
  font-weight:bold;
}

.section h2{
  margin:5px 0 0;
  font-size:28px;
}

.categories{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.categories button{
  background:#fff;
  border:1px solid #eee;
  border-radius:15px;
  padding:15px 25px;
  cursor:pointer;
  font-weight:bold;
  box-shadow:0 3px 12px #00000009;
  transition:.2s;
}

.categories button:hover{
  background:var(--dark);
  color:#fff;
  border-color:var(--dark);
}

.product-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.product-grid .card{
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 5px 20px #0000000d;
  border:1px solid #eee;
  padding-bottom:15px;
  transition:.2s;
}

.product-grid .card:hover{
  transform:translateY(-5px);
  box-shadow:0 12px 30px #0002;
}

.product-grid .pic{
  height:230px;
  background:#111;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:65px;
}

.product-grid .pic img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.product-grid h3{
  margin:14px 16px 5px;
  font-size:17px;
}

.product-grid small,
.product-info{
  color:#888;
  margin:0 16px;
  display:block;
  font-size:12px;
}

.price{
  color:#c51f1f;
  font-weight:900;
  margin:12px 16px;
  font-size:16px;
}

.product-grid .card>button{
  margin:0 16px;
  width:calc(100% - 32px);
  border:0;
  background:var(--green);
  color:#fff;
  padding:11px;
  border-radius:10px;
  font-weight:bold;
  cursor:pointer;
}

.trust{
  max-width:1200px;
  margin:55px auto;
  padding:25px;
  background:var(--dark);
  color:#fff;
  border-radius:22px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  text-align:center;
  gap:15px;
}

.trust div{
  padding:15px;
  border-left:1px solid #ffffff18;
}

.trust div:last-child{border:0}

.trust b{
  display:block;
  color:var(--gold);
  font-size:17px;
  margin-bottom:7px;
}

.trust span{
  color:#bbb;
  font-size:12px;
}

footer{
  background:#0b0d0e;
  color:#aaa;
  text-align:center;
  padding:45px 20px;
}

.footer-brand{
  color:var(--gold);
  font-size:27px;
  font-weight:900;
}

.modal{
  position:fixed;
  inset:0;
  background:#0009;
  z-index:5000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:15px;
}

.hidden{display:none!important}

.modal-box{
  background:#fff;
  width:100%;
  max-width:520px;
  max-height:90vh;
  overflow:auto;
  border-radius:22px;
  padding:25px;
  position:relative;
}

.close{
  position:absolute;
  left:15px;
  top:10px;
  border:0;
  background:#eee;
  width:35px;
  height:35px;
  border-radius:50%;
  font-size:25px;
  cursor:pointer;
}

.modal-box h2{
  margin-top:0;
}

.cartrow{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 0;
  border-bottom:1px solid #eee;
}

.qty{
  display:flex;
  gap:5px;
}

.qty button{
  width:32px;
  height:32px;
  border:0;
  background:#eee;
  border-radius:8px;
  cursor:pointer;
}

.cart-total,
.checkout-total{
  display:flex;
  justify-content:space-between;
  padding:15px 0;
  font-size:17px;
}

.primary-btn{
  width:100%;
  border:0;
  background:var(--dark);
  color:#fff;
  padding:14px;
  border-radius:12px;
  font-weight:bold;
  cursor:pointer;
}

.checkout-box label{
  display:block;
  margin:12px 0 5px;
  font-size:13px;
  font-weight:bold;
}

.checkout-box input,
.checkout-box textarea,
.checkout-box select{
  width:100%;
  padding:12px;
  border:1px solid #ddd;
  border-radius:10px;
  outline:0;
}

.checkout-box textarea{
  min-height:90px;
  resize:vertical;
}

.order-msg{
  margin-top:15px;
  text-align:center;
  font-weight:bold;
  color:var(--green);
}

@media(max-width:950px){
  .header-inner{
    flex-wrap:wrap;
  }

  .brand{min-width:auto}

  .search-box{
    order:3;
    max-width:none;
    flex-basis:100%;
  }

  .product-grid{
    grid-template-columns:repeat(3,1fr);
  }

  .hero-image{width:42%}
}

@media(max-width:650px){
  .header-inner{
    padding:12px;
    gap:12px;
  }

  .brand b{font-size:19px}
  .brand small{font-size:8px}

  .brand-icon{font-size:32px}

  .account{
    display:none;
  }

  .main-nav{
    overflow:auto;
    gap:22px;
    white-space:nowrap;
  }

  .hero-content{
    min-height:auto;
    padding:30px 18px;
    flex-direction:column-reverse;
    text-align:center;
  }

  .hero-image{
    width:100%;
  }

  .hero-image img{
    height:220px;
  }

  .hero h1{
    font-size:36px;
  }

  .hero p{
    font-size:14px;
  }

  .product-grid{
    grid-template-columns:repeat(2,1fr);
    gap:12px;
  }

  .product-grid .pic{
    height:155px;
  }

  .product-grid h3{
    font-size:14px;
    margin:10px;
  }

  .product-grid small,
  .product-info{
    margin:0 10px;
  }

  .price{
    margin:10px;
    font-size:13px;
  }

  .product-grid .card>button{
    margin:0 10px;
    width:calc(100% - 20px);
    font-size:12px;
  }

  .trust{
    grid-template-columns:1fr;
    margin:30px 15px;
  }

  .trust div{
    border-left:0;
    border-bottom:1px solid #ffffff18;
  }
}

/* کاهش ارتفاع هدر */
.header-inner{
  padding:9px 22px !important;
  min-height:64px !important;
  gap:18px !important;
}

.brand b{
  font-size:20px !important;
}

.brand-icon{
  font-size:30px !important;
}

.brand small{
  font-size:8px !important;
}

.search-box{
  height:42px !important;
}

.cart-btn{
  padding:9px 13px !important;
}

.main-nav{
  padding:7px 22px !important;
  height:38px !important;
  align-items:center !important;
}

.main-nav a{
  font-size:13px !important;
}

@media(max-width:650px){
  .header-inner{
    padding:8px 12px !important;
    min-height:55px !important;
  }

  .brand b{
    font-size:17px !important;
  }

  .brand-icon{
    font-size:25px !important;
  }

  .search-box{
    height:38px !important;
  }

  .main-nav{
    height:34px !important;
    padding:5px 12px !important;
  }
}


/* FINAL HEADER SIZE */
.topbar{
  height:auto !important;
}

.header-inner{
  padding:6px 18px !important;
  min-height:52px !important;
  gap:15px !important;
}

.brand{
  min-width:190px !important;
}

.brand-icon{
  font-size:26px !important;
}

.brand b{
  font-size:19px !important;
}

.brand small{
  font-size:7px !important;
}

.search-box{
  height:38px !important;
}

.cart-btn{
  padding:8px 12px !important;
  font-size:12px !important;
}

.main-nav{
  height:32px !important;
  padding:4px 18px !important;
}

.main-nav a{
  font-size:12px !important;
}

@media(max-width:650px){
  .header-inner{
    padding:6px 10px !important;
    min-height:48px !important;
  }

  .brand{
    min-width:auto !important;
  }

  .brand b{
    font-size:16px !important;
  }

  .brand-icon{
    font-size:23px !important;
  }

  .search-box{
    height:36px !important;
  }

  .main-nav{
    height:30px !important;
    padding:3px 10px !important;
  }
}

/* کوچک کردن بنر اصلی */
.jp-hero,
.hero-section,
.main-banner,
.banner{
  min-height:280px !important;
  height:280px !important;
  padding:40px 20px !important;
}

.jp-hero img,
.hero-section img,
.main-banner img{
  max-height:260px !important;
  object-fit:contain !important;
}

@media(max-width:650px){
 .jp-hero,
 .hero-section,
 .main-banner,
 .banner{
   min-height:220px !important;
   height:220px !important;
   padding:25px 10px !important;
 }
}


/* FINAL HERO FIX */
.jp-hero{
    min-height:260px !important;
    height:260px !important;
    padding:25px 50px !important;
}

.jp-hero img{
    width:420px !important;
    height:220px !important;
    object-fit:cover !important;
}

.jp-hero h1{
    font-size:48px !important;
    line-height:1.2 !important;
}

.jp-hero p{
    font-size:16px !important;
}

.jp-hero .btn,
.jp-hero button{
    padding:10px 25px !important;
}

@media(max-width:700px){
 .jp-hero{
    height:auto !important;
    min-height:220px !important;
    padding:20px !important;
 }
 .jp-hero h1{
    font-size:32px !important;
 }
}


/* HERO SIZE FINAL */
.hero{
    min-height:260px !important;
    height:260px !important;
    padding:20px 40px !important;
}

.hero-content{
    height:220px !important;
    align-items:center !important;
}

.hero-text h1{
    font-size:42px !important;
    margin:10px 0 !important;
}

.hero-text p{
    font-size:15px !important;
    margin:10px 0 !important;
}

.hero-image img{
    width:380px !important;
    height:210px !important;
    object-fit:cover !important;
}

@media(max-width:700px){
 .hero{
   height:auto !important;
 }
 .hero-text h1{
   font-size:30px !important;
 }
}


.hero-text h1{
 font-size:42px !important;
}

@media(max-width:700px){
 .hero{
   height:auto !important;
   min-height:220px !important;
 }
 .hero-text h1{
   font-size:30px !important;
 }
}


/* OVERRIDE HERO FORCE */
section.hero{
    height:180px !important;
    min-height:180px !important;
    padding:10px !important;
    overflow:hidden !important;
}

.hero .hero-content{
    height:160px !important;
    min-height:160px !important;
}

.hero .hero-image img{
    width:260px !important;
    height:150px !important;
}

.hero .hero-text h1{
    font-size:28px !important;
    margin:5px !important;
}

.hero .hero-text p{
    font-size:13px !important;
    margin:5px !important;
}

.hero .hero-btn{
    padding:7px 15px !important;
    font-size:12px !important;
}


/* HERO BLACK BANNER FINAL */
section.hero{
    min-height:170px !important;
    height:170px !important;
    margin:10px 0 !important;
    padding:15px 25px !important;
    overflow:hidden !important;
}

.hero-content{
    height:140px !important;
}

.hero-image img{
    max-height:140px !important;
    width:230px !important;
    object-fit:contain !important;
}

.hero-text h1{
    font-size:32px !important;
}

.hero-text p{
    font-size:13px !important;
}


/* FORCE HERO RESET */
section.hero{
    display:block !important;
    min-height:120px !important;
    height:120px !important;
    max-height:120px !important;
    padding:10px !important;
    margin:5px 0 !important;
}

section.hero .hero-content{
    display:flex !important;
    height:100px !important;
    max-height:100px !important;
}

section.hero .hero-image img{
    height:90px !important;
    width:160px !important;
}

section.hero h1{
    font-size:22px !important;
    margin:0 !important;
}

section.hero p{
    display:none !important;
}

/* HERO RED PREMIUM FINAL */

section.hero{
    background:linear-gradient(90deg,#090909 0%,#5b0000 55%,#9d0000 100%) !important;
    min-height:360px !important;
    height:360px !important;
    padding:30px 60px !important;
    border-radius:0 !important;
    overflow:hidden !important;
}

.hero-content{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    height:300px !important;
}

.hero-text{
    width:50% !important;
    text-align:right !important;
}

.hero-text h1{
    font-size:55px !important;
    color:#fff !important;
}

.hero-text h1 strong{
    color:#e3b34f !important;
}

.hero-text p{
    color:#fff !important;
}

.hero-image{
    width:45% !important;
}

.hero-image img{
    width:100% !important;
    height:300px !important;
    object-fit:cover !important;
    border-radius:0 120px 120px 0 !important;
    box-shadow:0 0 40px #000 !important;
}

.hero-btn{
    background:#e3b34f !important;
    color:#111 !important;
    padding:15px 35px !important;
}


@media(max-width:700px){
section.hero{
height:auto !important;
}
.hero-content{
display:block !important;
}
.hero-text,.hero-image{
width:100% !important;
}
}


/* HERO RED PREMIUM FINAL */
section.hero{
background:linear-gradient(90deg,#090909,#700000,#c00000)!important;
height:360px!important;
min-height:360px!important;
padding:30px 60px!important;
overflow:hidden!important;
}

.hero-content{
display:flex!important;
align-items:center!important;
justify-content:space-between!important;
height:300px!important;
}

.hero-text{
width:50%!important;
text-align:right!important;
}

.hero-text h1{
font-size:50px!important;
color:#fff!important;
}

.hero-text h1 strong{
color:#e3b34f!important;
}

.hero-text p{
color:#fff!important;
}

.hero-image{
width:45%!important;
}

.hero-image img{
width:100%!important;
height:280px!important;
object-fit:cover!important;
border-radius:0 120px 120px 0!important;
box-shadow:0 0 40px #000!important;
}


section.hero{
background:red!important;
height:200px!important;
min-height:200px!important;
}


/* HERO FINAL MOON STYLE */
section.hero{
background:linear-gradient(120deg,#120000,#9b0000,#d40000)!important;
height:260px!important;
min-height:260px!important;
padding:25px 50px!important;
overflow:hidden!important;
border-radius:0 0 180px 0!important;
}

.hero-content{
height:210px!important;
align-items:center!important;
}

.hero-image img{
height:200px!important;
width:300px!important;
object-fit:cover!important;
border-radius:50% 0 50% 50%!important;
}

.hero-text h1{
font-size:42px!important;
}

.hero-text p{
font-size:14px!important;
}


/* HERO FINAL MOON STYLE */
section.hero{
background:linear-gradient(120deg,#120000,#9b0000,#d40000)!important;
height:260px!important;
min-height:260px!important;
padding:25px 50px!important;
overflow:hidden!important;
border-radius:0 0 180px 0!important;
}

.hero-content{
height:210px!important;
align-items:center!important;
}

.hero-image img{
height:200px!important;
width:300px!important;
object-fit:cover!important;
border-radius:50% 0 50% 50%!important;
}

.hero-text h1{
font-size:42px!important;
}

.hero-text p{
font-size:14px!important;
}


/* HERO FINAL MOON STYLE */
section.hero{
background:linear-gradient(120deg,#120000,#9b0000,#d40000)!important;
height:260px!important;
min-height:260px!important;
padding:25px 50px!important;
overflow:hidden!important;
border-radius:0 0 180px 0!important;
}

.hero-content{
height:210px!important;
align-items:center!important;
}

.hero-image img{
height:200px!important;
width:300px!important;
object-fit:cover!important;
border-radius:50% 0 50% 50%!important;
}

.hero-text h1{
font-size:42px!important;
}

.hero-text p{
font-size:14px!important;
}


/* CLEAN HERO FINAL */
section.hero{
background:linear-gradient(120deg,#120000,#9b0000,#d40000)!important;
height:260px!important;
min-height:260px!important;
padding:25px 50px!important;
overflow:hidden!important;
border-radius:0 0 180px 0!important;
}

.hero-content{
height:210px!important;
display:flex!important;
align-items:center!important;
}

.hero-image img{
height:200px!important;
width:300px!important;
object-fit:cover!important;
border-radius:50% 0 50% 50%!important;
}

.hero-text h1{
font-size:42px!important;
}

.hero-text p{
font-size:14px!important;
}


/* HERO SMALL FINAL */
section.hero{
height:220px!important;
min-height:220px!important;
padding:20px 50px!important;
overflow:hidden!important;
border-radius:0 0 120px 0!important;
}

.hero-content{
height:180px!important;
}

.hero-image img{
height:170px!important;
width:260px!important;
object-fit:cover!important;
border-radius:50% 0 50% 50%!important;
}


/* HERO SIZE LAST OVERRIDE */
section.hero{
height:220px!important;
min-height:220px!important;
padding:20px 50px!important;
overflow:hidden!important;
border-radius:0 0 120px 0!important;
}

.hero-content{
height:180px!important;
}

.hero-image img{
height:170px!important;
width:260px!important;
object-fit:cover!important;
border-radius:50% 0 50% 50%!important;
}

