/* Sepahan v2.65 final user fixes */

/* Header cart: no hover color/background, no transient text layer */
html body header .sepahan-header-cart-hover,
html body header .sepahan-header-cart-hover:hover,
html body header .sepahan-header-cart-hover:focus,
html body header .sepahan-header-cart-hover:focus-visible,
html body header .sepahan-header-cart-hover:active,
html body .sepahan-desktop-menu .sepahan-header-cart-hover,
html body .sepahan-desktop-menu .sepahan-header-cart-hover:hover,
html body .sepahan-desktop-menu a[href*="cart"],
html body .sepahan-desktop-menu a[href*="cart"]:hover,
html body .sepahan-desktop-menu a[href*="cart"]:focus,
html body .sepahan-desktop-menu a.sepahan-no-cart-hover,
html body .sepahan-desktop-menu a.sepahan-no-cart-hover:hover,
html body .sepahan-desktop-menu a.sepahan-no-cart-hover:focus,
html.dark body .sepahan-desktop-menu a[href*="cart"]:hover,
body.dark .sepahan-desktop-menu a[href*="cart"]:hover,
html.dark body .sepahan-desktop-menu a.sepahan-no-cart-hover:hover,
body.dark .sepahan-desktop-menu a.sepahan-no-cart-hover:hover{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  border-color:transparent!important;
}
html body header .sepahan-header-cart-hover *,
html body header .sepahan-header-cart-hover:hover *,
html body header .sepahan-header-cart-hover:focus *{
  color:inherit!important;
  fill:currentColor!important;
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
}
html body header .sepahan-header-cart-hover::before,
html body header .sepahan-header-cart-hover::after,
html body header .sepahan-header-cart-hover *::before,
html body header .sepahan-header-cart-hover *::after{
  content:none!important;
  display:none!important;
  opacity:0!important;
  visibility:hidden!important;
}

/* Elementor product strip: stable mobile layout */
html body .sepahan-products-strip-scroll,
html body .sepahan-shop-brands-scroll,
html body .sepahan-image-cats-scroll{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior-x:contain!important;
  scrollbar-width:none!important;
  scroll-behavior:auto!important;
  touch-action:pan-y pan-x!important;
}
html body .sepahan-products-strip-scroll::-webkit-scrollbar,
html body .sepahan-shop-brands-scroll::-webkit-scrollbar,
html body .sepahan-image-cats-scroll::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
html body .sepahan-products-strip-list,
html body .sepahan-shop-brands-list,
html body .sepahan-image-cats-list{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:stretch!important;
  max-width:none!important;
  min-width:100%!important;
  will-change:scroll-position!important;
}
html body .sepahan-shop-brands-list,
html body .sepahan-image-cats-list{width:max-content!important}
html body .sepahan-products-strip-list{width:100%!important}
@media(max-width:767px){
  html body .sepahan-products-strip-wrap{padding:12px!important;border-radius:16px!important;overflow:hidden!important}
  html body .sepahan-products-strip-head{gap:10px!important;margin-bottom:10px!important;padding-bottom:10px!important;align-items:center!important}
  html body .sepahan-products-strip-title{font-size:14px!important;line-height:1.7!important}
  html body .sepahan-products-strip-button{min-height:28px!important;padding:0 10px!important;font-size:11px!important;border-radius:9px!important}
  html body .sepahan-products-strip-box{border-radius:14px!important;overflow:hidden!important}
  html body .sepahan-products-strip-list{gap:8px!important;padding:0!important;box-sizing:border-box!important;width:100%!important;min-width:100%!important}
  html body .sepahan-products-strip-card{
    flex:0 0 calc((100% - 8px) / 2)!important;
    min-width:calc((100% - 8px) / 2)!important;
    max-width:calc((100% - 8px) / 2)!important;
    padding:10px 8px 11px!important;
    border:1px solid rgba(226,232,240,.82)!important;
    border-radius:14px!important;
    box-shadow:none!important;
    transform:none!important;
    overflow:hidden!important;
  }
  html body .sepahan-products-strip-image{height:118px!important;margin:4px 0 8px!important;padding:0!important}
  html body .sepahan-products-strip-image img{width:100%!important;height:100%!important;max-height:118px!important;object-fit:contain!important}
  html body .sepahan-products-strip-name{font-size:12px!important;line-height:1.7!important;min-height:40px!important;max-height:40px!important;margin:0 0 7px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important}
  html body .sepahan-products-strip-bottom{min-height:36px!important;gap:6px!important;align-items:flex-end!important}
  html body .sepahan-products-strip-rating{font-size:11px!important}
  html body .sepahan-products-strip-rating svg{width:14px!important;height:14px!important}
  html body .sepahan-products-strip-price{font-size:12px!important;line-height:1.5!important;gap:0!important}
  html body .sepahan-products-strip-price del{font-size:10px!important}
  html body .sepahan-products-strip-discount{top:8px!important;left:8px!important;min-width:30px!important;height:22px!important;font-size:10px!important;padding:0 6px!important}
  html body .sepahan-products-strip-dots{top:8px!important;right:8px!important;gap:3px!important}
  html body .sepahan-products-strip-dots span{width:7px!important;height:7px!important}
}

/* Brand/image category scroll: mobile touch safe */
@media(max-width:767px){
  html body .sepahan-shop-brands-list{gap:12px!important;min-width:100%!important}
  html body .sepahan-shop-brand-item{flex:0 0 132px!important;min-width:132px!important;max-width:132px!important;touch-action:manipulation!important}
  html body .sepahan-image-cats-list{gap:12px!important;min-width:100%!important}
  html body .sepahan-image-cat-item{flex-shrink:0!important}
}

/* Layout builder row height controls: works even when Elementor CSS cache is stale */
.sepahan-layout-builder-section.sepahan-layout-row-control .sepahan-layout-builder-item{height:var(--sepahan-lb-item-height,auto);min-height:var(--sepahan-lb-item-height,190px)}
.sepahan-layout-builder-section.sepahan-layout-row-control .sepahan-layout-builder-item>img{height:100%!important;min-height:100%!important;object-fit:cover}
.sepahan-layout-builder-section.sepahan-layout-row-control .sepahan-layout-grid_2>.sepahan-layout-builder-item:nth-child(-n+2){height:var(--sepahan-lb-row1-height,var(--sepahan-lb-item-height,190px))!important;min-height:var(--sepahan-lb-row1-height,var(--sepahan-lb-item-height,190px))!important}
.sepahan-layout-builder-section.sepahan-layout-row-control .sepahan-layout-grid_2>.sepahan-layout-builder-item:nth-child(n+3){height:var(--sepahan-lb-row2-height,var(--sepahan-lb-item-height,190px))!important;min-height:var(--sepahan-lb-row2-height,var(--sepahan-lb-item-height,190px))!important}
.sepahan-layout-builder-section.sepahan-layout-row-control .sepahan-layout-grid_3>.sepahan-layout-builder-item:nth-child(-n+3){height:var(--sepahan-lb-row1-height,var(--sepahan-lb-item-height,190px))!important;min-height:var(--sepahan-lb-row1-height,var(--sepahan-lb-item-height,190px))!important}
.sepahan-layout-builder-section.sepahan-layout-row-control .sepahan-layout-grid_3>.sepahan-layout-builder-item:nth-child(n+4){height:var(--sepahan-lb-row2-height,var(--sepahan-lb-item-height,190px))!important;min-height:var(--sepahan-lb-row2-height,var(--sepahan-lb-item-height,190px))!important}
.sepahan-layout-builder-section.sepahan-layout-row-control .sepahan-layout-grid_4>.sepahan-layout-builder-item:nth-child(-n+4){height:var(--sepahan-lb-row1-height,var(--sepahan-lb-item-height,190px))!important;min-height:var(--sepahan-lb-row1-height,var(--sepahan-lb-item-height,190px))!important}
.sepahan-layout-builder-section.sepahan-layout-row-control .sepahan-layout-grid_4>.sepahan-layout-builder-item:nth-child(n+5){height:var(--sepahan-lb-row2-height,var(--sepahan-lb-item-height,190px))!important;min-height:var(--sepahan-lb-row2-height,var(--sepahan-lb-item-height,190px))!important}
.sepahan-layout-builder-section.sepahan-layout-row-control .sepahan-layout-grid_5>.sepahan-layout-builder-item:nth-child(-n+5){height:var(--sepahan-lb-row1-height,var(--sepahan-lb-item-height,190px))!important;min-height:var(--sepahan-lb-row1-height,var(--sepahan-lb-item-height,190px))!important}
.sepahan-layout-builder-section.sepahan-layout-row-control .sepahan-layout-grid_5>.sepahan-layout-builder-item:nth-child(n+6){height:var(--sepahan-lb-row2-height,var(--sepahan-lb-item-height,190px))!important;min-height:var(--sepahan-lb-row2-height,var(--sepahan-lb-item-height,190px))!important}
.sepahan-layout-builder-section.sepahan-layout-row-control .sepahan-layout-grid_6>.sepahan-layout-builder-item:nth-child(-n+6){height:var(--sepahan-lb-row1-height,var(--sepahan-lb-item-height,190px))!important;min-height:var(--sepahan-lb-row1-height,var(--sepahan-lb-item-height,190px))!important}
.sepahan-layout-builder-section.sepahan-layout-row-control .sepahan-layout-grid_6>.sepahan-layout-builder-item:nth-child(n+7){height:var(--sepahan-lb-row2-height,var(--sepahan-lb-item-height,190px))!important;min-height:var(--sepahan-lb-row2-height,var(--sepahan-lb-item-height,190px))!important}
@media(max-width:767px){
  .sepahan-layout-builder-section.sepahan-layout-row-control .sepahan-layout-builder-item{height:var(--sepahan-lb-item-height,auto);min-height:var(--sepahan-lb-item-height,160px)}
}
