/* JBA v16.13.0 - professional mobile footer, bold carousel titles, clean prices, first-slider mobile controls */

/* Carousel headings: use the existing locally hosted IranSans family with a strong, consistent weight. */
html body .jba-v1640-product-section .panel-title,
html body .slider .panel-heading .panel-title,
html body .slider .panel-heading h2,
html body .slider .panel-heading h3,
html body .slider .panel-heading h4,
html body [id^="jba-v1640-section-title-"]{
  font-family:'JBAIRANSans','JBAIRANSansMedium','IRANSans','IranSans',Tahoma,Arial,sans-serif!important;
  font-weight:900!important;
  letter-spacing:0!important;
}

/* Product cards: the number is the visual focus; legacy `قیمت:` labels are hidden as a cache-safe fallback. */
html body .item-slider li.price>div:not(.green-price1):not(.dell-price):not(.jba-contact-price),
html body .jba-v1670-product-meta li.price>div:not(.green-price1):not(.dell-price):not(.jba-contact-price){
  display:none!important;
}
html body .item-slider li.price,
html body .jba-v1670-product-meta li.price{
  justify-content:center!important;
  text-align:center!important;
  gap:5px!important;
}
html body .item-slider li.price .green-price1,
html body .jba-v1670-product-meta li.price .green-price1{
  margin-inline:auto!important;
  text-align:center!important;
}

@media(max-width:767px){
  /* First standard home carousel: retain navigation arrows, remove per-card CTA buttons. */
  html body.home #news .item-slider>ul>.add-basket,
  html body #news.jba-v1640-product-section .item-slider>ul>.add-basket{
    display:none!important;
  }
  html body #news .item-slider>ul{
    padding-bottom:7px!important;
  }

  /* Professional, compact mobile footer. */
  html body #footer.jba-v1613-footer{
    position:relative!important;
    width:auto!important;
    max-width:none!important;
    margin:22px 8px 108px!important;
    padding:0!important;
    border-radius:26px!important;
    overflow:visible!important;
    background:transparent!important;
  }
  html body #footer.jba-v1613-footer:before{
    content:"";
    position:absolute;
    top:-1px;
    right:28px;
    left:28px;
    height:3px;
    z-index:2;
    border-radius:0 0 999px 999px;
    background:linear-gradient(90deg,transparent,#f7c374 24%,#fff0bc 50%,#f7c374 76%,transparent);
  }
  html body #footer #content-footer,
  html body #footer #main-footer{
    width:100%!important;
    margin:0!important;
    border:1px solid rgba(247,195,116,.38)!important;
    background:
      radial-gradient(circle at 90% 0,rgba(247,195,116,.14),transparent 34%),
      linear-gradient(155deg,#061b4c 0%,#082d6d 58%,#03163f 100%)!important;
    box-shadow:0 18px 42px rgba(0,28,78,.2)!important;
  }
  html body #footer #content-footer{
    border-radius:26px 26px 0 0!important;
    overflow:hidden!important;
  }
  html body #footer #main-footer{
    display:grid!important;
    grid-template-columns:1fr!important;
    align-items:stretch!important;
    gap:12px!important;
    padding:15px 13px 13px!important;
    border:0!important;
    border-radius:26px 26px 0 0!important;
  }
  html body #footer #khabarname.jba-v1613-footer-about{
    width:100%!important;
    margin:0!important;
    padding:15px 14px 13px!important;
    border:1px solid rgba(247,195,116,.5)!important;
    border-radius:19px!important;
    background:linear-gradient(180deg,#fff 0%,#fbfcff 100%)!important;
    box-shadow:0 10px 24px rgba(0,14,45,.17)!important;
  }
  html body #footer #logo-footer{
    margin:0!important;
  }
  html body #footer #logo-footer img{
    width:auto!important;
    max-width:142px!important;
    max-height:54px!important;
    margin:0 auto 5px!important;
  }
  html body #footer .jba-v1613-footer-slogan{
    margin:2px 0 8px!important;
    color:#062c68!important;
    font-family:'JBAIRANSans','JBAIRANSansMedium','IRANSans',Tahoma,sans-serif!important;
    font-size:17px!important;
    font-weight:900!important;
    line-height:1.65!important;
  }
  html body #footer .jba-v1613-footer-about-text{
    margin:0!important;
    color:#4c5870!important;
    font-family:'JBAIRANSansMedium','JBAIRANSans','IRANSans',Tahoma,sans-serif!important;
    font-size:11px!important;
    font-weight:600!important;
    line-height:2!important;
    text-align:center!important;
  }

  html body #footer #news-footer{display:none!important;}
  html body #footer #services.jba-v1613-footer-services{
    width:100%!important;
    margin:0!important;
    padding:13px!important;
    border:1px solid rgba(255,255,255,.14)!important;
    border-radius:19px!important;
    background:rgba(255,255,255,.075)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important;
  }
  html body #footer #services ul{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    list-style:none!important;
  }
  html body #footer #services ul>li{
    display:block!important;
    width:auto!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    line-height:1.6!important;
  }
  html body #footer #services ul>li:first-child{
    grid-column:1/-1!important;
    margin:0 0 2px!important;
  }
  html body #footer #services h4{
    position:relative!important;
    margin:0!important;
    padding:0 0 11px!important;
    border:0!important;
    color:#ffd88c!important;
    font-family:'JBAIRANSans','IRANSans',Tahoma,sans-serif!important;
    font-size:15px!important;
    font-weight:900!important;
    text-align:center!important;
  }
  html body #footer #services h4:after{
    content:"";
    display:block;
    width:54px;
    height:2px;
    margin:8px auto 0;
    border-radius:999px;
    background:linear-gradient(90deg,transparent,#f7c374,transparent);
  }
  html body #footer #services li:not(:first-child) a{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    min-height:48px!important;
    height:100%!important;
    padding:8px 23px 8px 8px!important;
    border:1px solid rgba(255,255,255,.12)!important;
    border-radius:13px!important;
    background:rgba(255,255,255,.07)!important;
    color:#fff!important;
    font-size:10px!important;
    font-weight:750!important;
    line-height:1.8!important;
    text-align:right!important;
    text-decoration:none!important;
  }
  html body #footer #services li:not(:first-child) a:before{
    content:"";
    position:absolute;
    right:9px;
    top:50%;
    width:7px;
    height:7px;
    margin-top:-3.5px;
    border-radius:50%;
    background:#f7c374;
    box-shadow:0 0 0 4px rgba(247,195,116,.12);
  }
  html body #footer #services li:not(:first-child) a:active{
    transform:scale(.985);
  }

  html body #footer #copyright1.jba-v1613-footer-trust{
    width:100%!important;
    margin:0!important;
    padding:13px 10px!important;
    border:1px solid rgba(247,195,116,.34)!important;
    border-radius:19px!important;
    background:#fff!important;
    box-shadow:0 10px 24px rgba(0,14,45,.14)!important;
  }
  html body #footer #copyright1 h4{
    margin:0 0 10px!important;
    padding:0 0 9px!important;
    border:0!important;
    border-bottom:1px solid #e8edf6!important;
    color:#082d6d!important;
    font-family:'JBAIRANSans','IRANSans',Tahoma,sans-serif!important;
    font-size:14px!important;
    font-weight:900!important;
    text-align:center!important;
  }
  html body #footer #copyright1>div{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex-wrap:wrap!important;
    gap:8px!important;
    min-height:62px!important;
    margin:0!important;
  }
  html body #footer #copyright1 img{
    display:block!important;
    width:auto!important;
    max-width:92px!important;
    height:auto!important;
    max-height:58px!important;
    margin:0!important;
    padding:4px!important;
    border:1px solid #e4eaf3!important;
    border-radius:11px!important;
    background:#fff!important;
    object-fit:contain!important;
    box-shadow:0 4px 12px rgba(5,38,99,.08)!important;
  }
  html body #footer #bottom-footer{
    width:100%!important;
    min-height:50px!important;
    margin:0!important;
    padding:12px 12px!important;
    border:1px solid rgba(247,195,116,.35)!important;
    border-top:0!important;
    border-radius:0 0 22px 22px!important;
    background:#03143c!important;
    box-shadow:0 14px 30px rgba(0,20,60,.18)!important;
  }
  html body #footer #bottom-footer p{
    margin:0!important;
    color:#dce7fb!important;
    font-size:10px!important;
    font-weight:650!important;
    line-height:1.9!important;
    text-align:center!important;
  }
  html body #footer #bottom-footer a{
    color:#ffd88c!important;
    font-weight:900!important;
  }
}

@media(max-width:420px){
  html body #footer #services ul{grid-template-columns:1fr!important;}
  html body #footer #services ul>li:first-child{grid-column:auto!important;}
  html body #footer .jba-v1613-footer-about-text{font-size:10.5px!important;}
}
