
/* Amazing Slider 2.0.3 — high-fidelity Digikala desktop composition */
.amazing-slider-shell{
  width:100%;max-width:100%;box-sizing:border-box;
  min-height:320px;padding:18px 0;
  border-radius:16px;overflow:hidden;
  background:linear-gradient(90deg,#ef5561 0%,#d32c4e 100%);
}
.amazing-slider-track{
  display:flex;flex-direction:row;direction:rtl;align-items:stretch;
  gap:3px;overflow-x:auto;overflow-y:hidden;
  min-height:284px;padding:0;scrollbar-width:none;
  scroll-behavior:smooth;
}
.amazing-slider-track::-webkit-scrollbar{display:none}
.amazing-feature-slide{
  flex:0 0 165px;width:165px;min-width:165px;
  min-height:284px;background:transparent;color:#fff;
  display:flex;align-items:stretch;justify-content:center;
  padding:0 8px;box-sizing:border-box;
}
.amazing-feature-content{
  width:100%;height:100%;min-height:284px;
  display:flex;flex-direction:column;align-items:center;
  justify-content:space-between;text-align:center;gap:5px;
  padding:4px 0;box-sizing:border-box;
}
.amazing-brand-row{
  width:100%;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:0;
  min-height:0;flex:0 0 auto;
}
.amazing-brand-main{
  display:block;width:58px!important;height:58px!important;
  max-width:58px;object-fit:contain;flex:0 0 auto;
}
.amazing-brand-word{
  display:block;width:112px!important;height:74px!important;
  max-width:112px;object-fit:contain;flex:0 0 auto;
}
.amazing-feature-title{
  color:#fff;font-size:14px;line-height:1.5;font-weight:800;
  margin:0;padding:0;
}
.amazing-countdown{
  display:flex;direction:ltr;align-items:center;justify-content:center;
  gap:4px;width:100%;min-height:34px;
  font-variant-numeric:tabular-nums;
}
.amazing-time-box{
  display:inline-flex;align-items:center;justify-content:center;
  width:34px;min-width:34px;height:31px;box-sizing:border-box;
  padding:3px 4px;border-radius:4px;background:#fff;color:#292b35;
  font-family:Estedad,IRANYekanX,sans-serif;font-size:16px;
  font-weight:700;line-height:1;
}
.amazing-countdown b{color:#fff;font-size:17px;line-height:1}
.amazing-view-all{
  display:flex;align-items:center;justify-content:center;gap:7px;
  padding:7px 11px;border-radius:8px;background:#fff;color:#343640;
  text-decoration:none!important;font-size:12px;font-weight:700;
  line-height:1.4;white-space:nowrap;
}
.amazing-view-all img{width:16px;height:16px;object-fit:contain;filter:none}
.amazing-product-slide{
  flex:0 0 calc((100% - 165px - 21px)/7);
  width:calc((100% - 165px - 21px)/7);
  min-width:0;min-height:284px;display:flex;
  border-left:3px solid #ef4056;box-sizing:border-box;background:#fff;
}
.amazing-product-card{
  width:100%;height:284px;min-height:284px;box-sizing:border-box;
  display:flex;flex-direction:column;align-items:stretch;
  justify-content:flex-start;gap:0;padding:0 8px 8px;
  overflow:hidden;background:#fff;text-decoration:none!important;
  color:inherit!important;
}
.amazing-product-image-wrap{
  width:100%;height:132px;min-height:132px;flex:0 0 132px;
  display:flex;align-items:center;justify-content:center;
  margin:0 0 4px;overflow:hidden;position:relative;
}
.amazing-product-image{
  display:block!important;width:auto!important;height:auto!important;
  max-width:100%!important;max-height:120px!important;
  object-fit:contain!important;object-position:center center!important;
}
.amazing-product-title{
  height:64px;min-height:64px;max-height:64px;
  margin:0!important;padding:0!important;
  color:#62666d!important;font-family:IRANYekanX,sans-serif!important;
  font-size:14px!important;font-weight:500!important;
  line-height:32px!important;text-align:right;direction:rtl;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden;
}
.amazing-product-meta-row{
  width:100%;min-height:44px;margin-top:auto;
  display:flex;flex-direction:row;align-items:center;
  justify-content:space-between;gap:3px;box-sizing:border-box;
}
.amazing-discount{
  position:static;flex:0 0 auto;display:inline-flex;
  align-items:center;justify-content:center;
  padding:0 6px;height:19px;min-width:25px;
  border-radius:25px;background:#d32f2f;color:#fff;
  font-family:Estedad,IRANYekanX,sans-serif;font-size:11px;
  font-weight:700;line-height:19px;white-space:nowrap;
}
.amazing-product-price{
  flex:1 1 auto;width:auto;margin:0!important;padding:0 3px;
  color:#c0c2c5;font-family:IRANYekanX,sans-serif;
  font-size:13px;line-height:1.45;text-align:left;white-space:normal;
}
.amazing-product-price .price{
  width:100%;display:flex;flex-direction:column;
  align-items:flex-end;justify-content:center;gap:1px;
}
.amazing-product-price del{
  order:0;color:#c0c2c5;font-size:12px;font-weight:400;
  line-height:1.3;opacity:1;
}
.amazing-product-price ins{
  order:1;color:#3f4064;font-family:Estedad,sans-serif;
  font-size:15px;font-weight:700;line-height:1.45;
  text-decoration:none!important;
}
.amazing-product-price .woocommerce-Price-currencySymbol{display:none!important}
.amazing-product-price ins .woocommerce-Price-amount{
  display:inline-flex;align-items:center;white-space:nowrap;
}
.amazing-product-price ins .woocommerce-Price-amount:after{
  content:"";display:inline-block;width:20px;height:14px;
  margin-right:3px;background:url("../img/toman.svg") no-repeat center;
  background-size:contain;
}
.amazing-end-slide{display:none!important}
.amazing-arrow{
  position:absolute;top:50%;transform:translateY(-50%);z-index:8;
  width:40px;height:40px;border:1px solid #e5e5e5;border-radius:50%;
  background:#fff;color:#555;font-size:26px;line-height:1;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;box-shadow:0 1px 3px rgba(0,0,0,.08);
}
.amazing-arrow-prev{right:8px}.amazing-arrow-next{left:8px}
@media(max-width:1024px){
 .amazing-slider-shell{min-height:270px;padding:15px 0}
 .amazing-slider-track{min-height:240px}
 .amazing-feature-slide{flex-basis:145px;width:145px;min-width:145px;min-height:240px}
 .amazing-feature-content{min-height:240px}
 .amazing-brand-main{width:48px!important;height:48px!important}
 .amazing-brand-word{width:96px!important;height:64px!important}
 .amazing-feature-title{font-size:12px}
 .amazing-time-box{width:29px;min-width:29px;height:27px;font-size:13px}
 .amazing-product-slide{flex-basis:calc((100% - 145px - 12px)/4);width:calc((100% - 145px - 12px)/4);min-height:240px}
 .amazing-product-card{height:240px;min-height:240px;padding:0 6px 7px}
 .amazing-product-image-wrap{height:105px;min-height:105px;flex-basis:105px}
 .amazing-product-image{max-height:98px!important}
 .amazing-product-title{height:58px;min-height:58px;max-height:58px;font-size:12px!important;line-height:29px!important}
 .amazing-product-meta-row{min-height:40px}
 .amazing-product-price{font-size:11px}
 .amazing-product-price ins{font-size:13px}
 .amazing-product-price del{font-size:10px}
}
@media(max-width:767px){
 .amazing-slider-shell{min-height:225px;padding:10px 0;border-radius:12px}
 .amazing-slider-track{min-height:205px;gap:2px}
 .amazing-feature-slide{flex-basis:120px;width:120px;min-width:120px;min-height:205px;padding:0 5px}
 .amazing-feature-content{min-height:205px;padding:2px 0}
 .amazing-brand-main{width:39px!important;height:39px!important}
 .amazing-brand-word{width:82px!important;height:54px!important}
 .amazing-feature-title{font-size:11px}
 .amazing-countdown{gap:2px;min-height:27px}
 .amazing-time-box{width:23px;min-width:23px;height:23px;padding:2px;font-size:10px}
 .amazing-countdown b{font-size:12px}
 .amazing-view-all{padding:5px 7px;font-size:10px}
 .amazing-product-slide{flex-basis:calc((100% - 120px - 6px)/2);width:calc((100% - 120px - 6px)/2);min-height:205px;border-left-width:2px}
 .amazing-product-card{height:205px;min-height:205px;padding:0 5px 6px}
 .amazing-product-image-wrap{height:83px;min-height:83px;flex-basis:83px;margin-bottom:3px}
 .amazing-product-image{max-height:78px!important}
 .amazing-product-title{height:50px;min-height:50px;max-height:50px;font-size:11px!important;line-height:25px!important}
 .amazing-product-meta-row{min-height:38px;gap:2px}
 .amazing-discount{height:16px;min-width:20px;padding:0 4px;font-size:9px;line-height:16px}
 .amazing-product-price{font-size:10px;padding:0 2px}
 .amazing-product-price ins{font-size:11px}
 .amazing-product-price del{font-size:9px}
 .amazing-product-price ins .woocommerce-Price-amount:after{width:16px;height:11px}
 .amazing-arrow{width:30px;height:30px;font-size:20px}
}


/* v2.0.4 — fixed reference dimensions; only geometry and arrow behavior adjusted */
.amazing-slider-shell{
  position:relative!important;
  min-height:318px;
  overflow:hidden;
}
.amazing-slider-track{
  width:100%;
  min-width:0;
  min-height:282px;
  height:282px;
  gap:3px;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
}
.amazing-feature-slide{
  flex:0 0 166px!important;
  width:166px!important;
  min-width:166px!important;
  height:282px;
  min-height:282px;
  scroll-snap-align:start;
}
.amazing-feature-content{
  height:282px;
  min-height:282px;
}
.amazing-product-slide{
  flex:0 0 167px!important;
  width:167px!important;
  min-width:167px!important;
  height:282px;
  min-height:282px;
  scroll-snap-align:start;
}
.amazing-product-card{
  width:167px;
  height:282px!important;
  min-height:282px!important;
  max-height:282px;
}
.amazing-product-image-wrap{
  width:100%;
  height:132px!important;
  min-height:132px!important;
  flex:0 0 132px!important;
}
.amazing-product-image{
  width:auto!important;
  height:auto!important;
  max-width:145px!important;
  max-height:132px!important;
  object-fit:contain!important;
  object-position:center center!important;
}
.amazing-arrow{
  position:absolute!important;
  top:50%!important;
  z-index:30!important;
  pointer-events:auto!important;
  touch-action:manipulation;
}
.amazing-arrow-prev{
  right:166px!important;
  left:auto!important;
}
.amazing-arrow-next{
  left:8px!important;
  right:auto!important;
}
/* Keep the measured reference dimensions at all browser zoom/layout widths. */
@media(max-width:1024px){
  .amazing-slider-shell{min-height:318px;padding:18px 0}
  .amazing-slider-track{height:282px;min-height:282px;gap:3px}
  .amazing-feature-slide{flex-basis:166px!important;width:166px!important;min-width:166px!important;height:282px;min-height:282px}
  .amazing-feature-content{height:282px;min-height:282px}
  .amazing-product-slide{flex-basis:167px!important;width:167px!important;min-width:167px!important;height:282px;min-height:282px}
  .amazing-product-card{width:167px;height:282px!important;min-height:282px!important;max-height:282px}
  .amazing-product-image-wrap{height:132px!important;min-height:132px!important;flex-basis:132px!important}
  .amazing-product-image{max-width:145px!important;max-height:132px!important}
}
@media(max-width:767px){
  .amazing-slider-shell{min-height:318px;padding:18px 0;border-radius:12px}
  .amazing-slider-track{height:282px;min-height:282px;gap:3px}
  .amazing-feature-slide{flex-basis:166px!important;width:166px!important;min-width:166px!important;height:282px;min-height:282px;padding:0 8px}
  .amazing-feature-content{height:282px;min-height:282px;padding:4px 0}
  .amazing-product-slide{flex-basis:167px!important;width:167px!important;min-width:167px!important;height:282px;min-height:282px;border-left-width:3px}
  .amazing-product-card{width:167px;height:282px!important;min-height:282px!important;max-height:282px;padding:0 8px 8px}
  .amazing-product-image-wrap{height:132px!important;min-height:132px!important;flex-basis:132px!important}
  .amazing-product-image{max-width:145px!important;max-height:132px!important}
  .amazing-arrow{width:40px;height:40px;font-size:26px}
  .amazing-arrow-prev{right:166px!important}
  .amazing-arrow-next{left:8px!important}
}


/* v2.0.6 — ONLY product-card width corrected.
   At the supplied 100% site viewport, 148px yields approximately 6.5
   visible product cards beside the unchanged 166px feature panel.
   All other v2.0.4/v2.0.5 styles and functionality remain unchanged. */
.amazing-slider-track .amazing-product-slide{
  flex:0 0 148px!important;
  width:148px!important;
  min-width:148px!important;
}
.amazing-slider-track .amazing-product-card{
  width:148px!important;
  min-width:148px!important;
}


/* v2.0.7 — final view-all slide + Digikala mobile composition.
   Deliberately scoped to mobile layout and the final view-all slide. */
.amazing-slider-track .amazing-end-slide{
  display:flex!important;
  flex:0 0 167px!important;
  width:167px!important;
  min-width:167px!important;
  height:282px!important;
  min-height:282px!important;
  align-items:center;
  justify-content:center;
  background:#fff;
  box-sizing:border-box;
  scroll-snap-align:start;
}
.amazing-end-slide>a{
  width:100%;height:100%;
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  gap:22px;padding:18px 8px;box-sizing:border-box;
  color:#24242b!important;text-decoration:none!important;
  font-family:Estedad,IRANYekanX,sans-serif;
  font-size:16px;font-weight:700;
}
.amazing-end-slide>a img{
  display:block;width:76px;height:76px;
  object-fit:contain;
}

/* Digikala price hierarchy: crossed regular price and discount on first row,
   larger payable price directly below. */
.amazing-product-meta-row{position:relative;display:block!important;padding-top:2px}
.amazing-product-meta-row>.amazing-discount{
  position:absolute;top:2px;right:0;z-index:2;
}
.amazing-product-price{width:100%!important;padding:0 2px!important}
.amazing-product-price .price{
  display:flex!important;flex-direction:column!important;
  align-items:flex-end!important;justify-content:flex-end!important;
  gap:2px!important;
}
.amazing-product-price del{
  align-self:flex-start;
  margin-left:34px;
}
.amazing-product-price ins{
  display:block;align-self:flex-end;
  font-size:15px!important;font-weight:700!important;
}

/* Mobile: feature banner becomes a horizontal header, three product cards
   are visible together, followed by the dedicated view-all slide. */
@media(max-width:767px){
  .amazing-slider-shell{
    width:100%!important;min-height:0!important;height:auto!important;
    padding:0!important;overflow:hidden!important;border-radius:12px!important;
  }
  .amazing-slider-track{
    width:100%!important;height:auto!important;min-height:0!important;
    display:flex!important;flex-direction:row!important;align-items:stretch!important;
    gap:3px!important;padding:0!important;overflow-x:auto!important;
    overflow-y:hidden!important;scroll-snap-type:x mandatory!important;
  }
  .amazing-slider-track>.amazing-feature-slide{
    order:0;flex:0 0 100%!important;width:100%!important;min-width:100%!important;
    height:86px!important;min-height:86px!important;padding:7px 12px!important;
    scroll-snap-align:start;background:transparent!important;
  }
  .amazing-slider-track>.amazing-feature-slide .amazing-feature-content{
    width:100%!important;height:100%!important;min-height:0!important;
    padding:0!important;display:flex!important;flex-direction:row!important;
    align-items:center!important;justify-content:space-between!important;
    gap:7px!important;
  }
  .amazing-slider-track .amazing-brand-row{
    width:auto!important;min-height:0!important;flex:0 0 auto!important;
    display:flex!important;flex-direction:row!important;align-items:center!important;
  }
  .amazing-slider-track .amazing-brand-main{
    width:30px!important;height:30px!important;max-width:30px!important;
  }
  .amazing-slider-track .amazing-brand-word{
    width:77px!important;height:40px!important;max-width:77px!important;
  }
  .amazing-slider-track .amazing-feature-title{
    flex:0 1 auto!important;font-size:17px!important;line-height:1.35!important;
    white-space:normal!important;text-align:center!important;
  }
  .amazing-slider-track .amazing-countdown{
    width:auto!important;min-height:0!important;flex:0 0 auto!important;gap:3px!important;
  }
  .amazing-slider-track .amazing-time-box{
    width:36px!important;min-width:36px!important;height:38px!important;
    font-size:15px!important;border-radius:7px!important;
  }
  .amazing-slider-track .amazing-view-all{
    flex:0 0 auto!important;padding:4px 6px!important;
    font-size:11px!important;background:transparent!important;color:#fff!important;
  }
  .amazing-slider-track .amazing-view-all img{width:12px!important;height:12px!important;filter:brightness(0) invert(1)!important}
  .amazing-slider-track>.amazing-product-slide{
    flex:0 0 calc((100% - 6px)/3)!important;
    width:calc((100% - 6px)/3)!important;
    min-width:calc((100% - 6px)/3)!important;
    height:350px!important;min-height:350px!important;
    border-left:3px solid #ef4056!important;
    scroll-snap-align:start!important;
  }
  .amazing-slider-track>.amazing-product-slide .amazing-product-card{
    width:100%!important;height:350px!important;min-height:350px!important;
    max-height:350px!important;padding:0 7px 10px!important;
  }
  .amazing-slider-track .amazing-product-image-wrap{
    width:100%!important;height:175px!important;min-height:175px!important;
    flex:0 0 175px!important;margin:0 0 7px!important;
  }
  .amazing-slider-track .amazing-product-image{
    max-width:145px!important;max-height:150px!important;
    width:auto!important;height:auto!important;object-fit:contain!important;
  }
  .amazing-slider-track .amazing-product-title{
    height:58px!important;min-height:58px!important;max-height:58px!important;
    font-size:14px!important;line-height:27px!important;
    font-weight:600!important;text-align:right!important;
  }
  .amazing-slider-track .amazing-product-meta-row{
    min-height:75px!important;margin-top:auto!important;padding-top:4px!important;
  }
  .amazing-slider-track .amazing-product-meta-row>.amazing-discount{
    top:4px!important;right:0!important;height:23px!important;
    min-width:29px!important;padding:0 6px!important;
    font-size:12px!important;line-height:23px!important;border-radius:20px!important;
  }
  .amazing-slider-track .amazing-product-price .price{
    min-height:65px!important;justify-content:flex-end!important;gap:4px!important;
  }
  .amazing-slider-track .amazing-product-price del{
    font-size:12px!important;margin-left:38px!important;
  }
  .amazing-slider-track .amazing-product-price ins{font-size:17px!important}
  .amazing-slider-track>.amazing-end-slide{
    flex:0 0 100%!important;width:100%!important;min-width:100%!important;
    height:180px!important;min-height:180px!important;
    background:#fff!important;border-radius:10px!important;
    scroll-snap-align:start!important;
  }
  .amazing-slider-track>.amazing-end-slide>a{
    gap:12px!important;font-size:18px!important;
  }
  .amazing-slider-track>.amazing-end-slide>a img{
    width:76px!important;height:76px!important;
    filter:none!important;
  }
  .amazing-slider-shell>.amazing-arrow{width:36px!important;height:36px!important;top:calc(86px + 175px)!important}
  .amazing-slider-shell>.amazing-arrow-prev{right:8px!important;left:auto!important}
  .amazing-slider-shell>.amazing-arrow-next{left:8px!important;right:auto!important}
}


/* v2.0.8 — mobile layout rebuilt to match the supplied Digikala reference.
   The feature banner and product cards belong to ONE visible composition:
   banner on top, three cards directly beneath it. No swipe is needed to
   reveal the products. Desktop/tablet rules are intentionally untouched. */
@media(max-width:767px){
  .amazing-slider-shell{
    display:block!important;
    height:auto!important;
    min-height:0!important;
    padding:0!important;
    overflow:hidden!important;
    border-radius:12px!important;
    background:linear-gradient(110deg,#ef4056 0%,#d92d50 100%)!important;
  }
  .amazing-slider-shell>.amazing-slider-track{
    display:flex!important;
    flex-flow:row wrap!important;
    align-items:stretch!important;
    align-content:flex-start!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    padding:0!important;
    margin:0!important;
    gap:0!important;
    overflow:visible!important;
    scroll-snap-type:none!important;
    direction:rtl!important;
  }
  .amazing-slider-shell .amazing-slider-track>.amazing-feature-slide{
    order:0!important;
    flex:0 0 100%!important;
    width:100%!important;
    min-width:100%!important;
    height:88px!important;
    min-height:88px!important;
    max-height:88px!important;
    padding:5px 12px!important;
    margin:0!important;
    border:0!important;
    background:transparent!important;
    box-sizing:border-box!important;
  }
  .amazing-slider-shell .amazing-feature-content{
    display:flex!important;
    flex-direction:row!important;
    justify-content:space-between!important;
    align-items:center!important;
    width:100%!important;height:100%!important;min-height:0!important;
    padding:0!important;margin:0!important;gap:5px!important;
  }
  .amazing-slider-shell .amazing-brand-row{
    display:flex!important;flex:0 0 auto!important;
    align-items:center!important;justify-content:center!important;
    width:auto!important;min-height:0!important;margin:0!important;
  }
  .amazing-slider-shell .amazing-brand-main{
    display:block!important;width:29px!important;height:30px!important;
    max-width:29px!important;object-fit:contain!important;
  }
  .amazing-slider-shell .amazing-brand-word{
    display:block!important;width:75px!important;height:40px!important;
    max-width:75px!important;object-fit:contain!important;
  }
  .amazing-slider-shell .amazing-feature-title{
    display:block!important;flex:1 1 auto!important;
    min-width:0!important;margin:0!important;padding:0 3px!important;
    color:#fff!important;font-size:16px!important;font-weight:800!important;
    line-height:1.35!important;text-align:center!important;
  }
  .amazing-slider-shell .amazing-countdown{
    display:flex!important;flex:0 0 auto!important;
    width:auto!important;min-height:0!important;
    align-items:center!important;justify-content:center!important;gap:2px!important;
    margin:0!important;
  }
  .amazing-slider-shell .amazing-time-box{
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:34px!important;min-width:34px!important;height:38px!important;
    padding:2px!important;border-radius:7px!important;
    background:#fff!important;color:#24242b!important;
    font-size:15px!important;line-height:1!important;
  }
  .amazing-slider-shell .amazing-countdown b{color:#fff!important;font-size:14px!important}
  .amazing-slider-shell .amazing-feature-content>.amazing-view-all{
    display:none!important;
  }

  /* Three product cards share the row width exactly, without an inner
     horizontal carousel that separates products from the banner. */
  .amazing-slider-shell .amazing-slider-track>.amazing-product-slide{
    order:1!important;
    display:block!important;
    box-sizing:border-box!important;
    flex:0 0 33.333333%!important;
    width:33.333333%!important;
    min-width:33.333333%!important;
    max-width:33.333333%!important;
    height:350px!important;min-height:350px!important;max-height:350px!important;
    margin:0!important;padding:0!important;
    border-left:3px solid #ef4056!important;
    background:#fff!important;
    overflow:hidden!important;
  }
  .amazing-slider-shell .amazing-product-card{
    display:flex!important;flex-direction:column!important;
    box-sizing:border-box!important;width:100%!important;
    height:350px!important;min-height:350px!important;max-height:350px!important;
    padding:0 7px 10px!important;margin:0!important;
    background:#fff!important;
  }
  .amazing-slider-shell .amazing-product-image-wrap{
    display:flex!important;align-items:center!important;justify-content:center!important;
    flex:0 0 175px!important;width:100%!important;
    height:175px!important;min-height:175px!important;max-height:175px!important;
    margin:0 0 7px!important;padding:4px 0!important;overflow:hidden!important;
  }
  .amazing-slider-shell .amazing-product-image{
    display:block!important;width:auto!important;height:auto!important;
    max-width:100%!important;max-height:165px!important;
    object-fit:contain!important;object-position:center center!important;
  }
  .amazing-slider-shell .amazing-product-title{
    display:-webkit-box!important;-webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;overflow:hidden!important;
    box-sizing:border-box!important;width:100%!important;
    height:58px!important;min-height:58px!important;max-height:58px!important;
    margin:0!important;padding:0 2px!important;
    color:#424750!important;font-size:13px!important;font-weight:600!important;
    line-height:27px!important;text-align:right!important;
  }

  /* Price: regular price at the physical left edge, discount badge on its
     right, and the larger payable price on the line below. */
  .amazing-slider-shell .amazing-product-meta-row{
    position:relative!important;display:block!important;
    box-sizing:border-box!important;width:100%!important;
    min-height:76px!important;height:76px!important;
    margin-top:auto!important;padding:4px 0 0!important;
  }
  .amazing-slider-shell .amazing-product-meta-row>.amazing-discount{
    position:absolute!important;top:5px!important;right:0!important;left:auto!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    height:23px!important;min-width:28px!important;padding:0 5px!important;
    border-radius:20px!important;background:#d32f2f!important;color:#fff!important;
    font-size:11px!important;line-height:23px!important;
  }
  .amazing-slider-shell .amazing-product-price{
    display:block!important;box-sizing:border-box!important;
    width:100%!important;margin:0!important;padding:0!important;
    text-align:right!important;
  }
  .amazing-slider-shell .amazing-product-price .price{
    display:flex!important;flex-direction:column!important;
    align-items:stretch!important;justify-content:flex-start!important;
    width:100%!important;min-height:68px!important;gap:3px!important;
    direction:ltr!important;
  }
  .amazing-slider-shell .amazing-product-price del{
    display:block!important;align-self:flex-start!important;
    margin:0 36px 0 0!important;padding:0!important;
    color:#c0c2c5!important;font-size:11px!important;line-height:20px!important;
    text-align:left!important;direction:rtl!important;
  }
  .amazing-slider-shell .amazing-product-price ins{
    display:block!important;align-self:flex-end!important;
    margin:0!important;padding:0!important;
    color:#3f4064!important;font-size:17px!important;font-weight:700!important;
    line-height:25px!important;text-align:right!important;direction:rtl!important;
    text-decoration:none!important;
  }
  .amazing-slider-shell .amazing-product-price ins .woocommerce-Price-amount:after{
    width:17px!important;height:12px!important;margin-right:2px!important;
  }

  /* Keep the separate final "view all" slide available after the product row. */
  .amazing-slider-shell .amazing-slider-track>.amazing-end-slide{
    order:2!important;display:flex!important;
    flex:0 0 100%!important;width:100%!important;min-width:100%!important;
    max-width:100%!important;height:150px!important;min-height:150px!important;
    margin:0!important;border-radius:0 0 10px 10px!important;
    background:#fff!important;
  }
  .amazing-slider-shell .amazing-end-slide>a{
    display:flex!important;width:100%!important;height:100%!important;
    flex-direction:column!important;align-items:center!important;justify-content:center!important;
    gap:8px!important;color:#24242b!important;font-size:16px!important;
  }
  .amazing-slider-shell .amazing-end-slide>a img{
    display:block!important;width:66px!important;height:66px!important;
    object-fit:contain!important;
  }

  /* Arrows sit over the product row and remain tappable. */
  .amazing-slider-shell>.amazing-arrow{
    position:absolute!important;top:calc(88px + 175px)!important;
    z-index:50!important;width:36px!important;height:36px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    border-radius:50%!important;background:#fff!important;
    box-shadow:0 1px 5px rgba(0,0,0,.14)!important;
    pointer-events:auto!important;touch-action:manipulation!important;
  }
  .amazing-slider-shell>.amazing-arrow-prev{right:5px!important;left:auto!important}
  .amazing-slider-shell>.amazing-arrow-next{left:5px!important;right:auto!important}
}


/* v2.0.8 responsive structure: desktop retains the original track; mobile
   uses a dedicated horizontal product rail under the single banner. */
.amazing-slider-track>.amazing-products-track{display:contents}
@media(max-width:767px){
  .amazing-slider-shell>.amazing-slider-track{
    display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;
    align-items:stretch!important;gap:0!important;
    width:100%!important;height:auto!important;min-height:0!important;
    overflow:visible!important;scroll-snap-type:none!important;
  }
  .amazing-slider-shell .amazing-slider-track>.amazing-feature-slide{
    order:0!important;flex:0 0 88px!important;width:100%!important;
    min-width:100%!important;height:88px!important;min-height:88px!important;
  }
  .amazing-slider-shell .amazing-slider-track>.amazing-products-track{
    order:1!important;display:flex!important;flex-flow:row nowrap!important;
    align-items:stretch!important;gap:3px!important;
    box-sizing:border-box!important;width:100%!important;height:350px!important;
    min-height:350px!important;flex:0 0 350px!important;
    padding:0!important;margin:0!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    overscroll-behavior-x:contain!important;
    -webkit-overflow-scrolling:touch!important;
    scroll-snap-type:x mandatory!important;
    scrollbar-width:none!important;
  }
  .amazing-slider-shell .amazing-products-track::-webkit-scrollbar{display:none!important}
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide{
    flex:0 0 33.333333%!important;width:33.333333%!important;
    min-width:33.333333%!important;max-width:33.333333%!important;
    height:350px!important;min-height:350px!important;max-height:350px!important;
    scroll-snap-align:start!important;
  }
  .amazing-slider-shell .amazing-slider-track>.amazing-end-slide{
    order:2!important;flex:0 0 150px!important;width:100%!important;
    min-width:100%!important;height:150px!important;min-height:150px!important;
  }
  /* Left-align the struck-through original price; keep the payable price
     anchored to the lower right, as in the Digikala mobile cards. */
  .amazing-slider-shell .amazing-product-price .price{
    direction:ltr!important;align-items:stretch!important;
  }
  .amazing-slider-shell .amazing-product-price del{
    align-self:flex-start!important;text-align:left!important;
    margin:0!important;direction:rtl!important;
  }
  .amazing-slider-shell .amazing-product-price ins{
    align-self:flex-end!important;text-align:right!important;
    direction:rtl!important;
  }
}


/* v2.0.9 — targeted corrections from the latest mobile screenshots. */
.amazing-slider-track>.amazing-products-track{display:contents}
.amazing-slider-track .amazing-end-slide{
  display:flex!important;flex:0 0 166px!important;width:166px!important;
  min-width:166px!important;height:282px!important;min-height:282px!important;
  box-sizing:border-box!important;background:#fff!important;
  border-left:3px solid #ef4056!important;border-radius:0!important;
}
.amazing-slider-track .amazing-end-slide>a{
  display:flex!important;width:100%!important;height:100%!important;
  flex-direction:column!important;align-items:center!important;justify-content:center!important;
  gap:14px!important;color:#24242b!important;text-decoration:none!important;
  font-size:16px!important;font-weight:700!important;
}
.amazing-slider-track .amazing-end-slide>a img{
  display:block!important;width:66px!important;height:66px!important;
  object-fit:contain!important;filter:none!important;
}
.amazing-mobile-word{display:none!important}

@media(max-width:767px){
  .amazing-slider-shell>.amazing-slider-track{
    display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;
    align-items:stretch!important;gap:0!important;overflow:visible!important;
    width:100%!important;height:auto!important;min-height:0!important;
    padding:0!important;margin:0!important;
  }
  .amazing-slider-shell .amazing-slider-track>.amazing-feature-slide{
    order:0!important;display:block!important;flex:0 0 96px!important;
    width:100%!important;min-width:100%!important;max-width:100%!important;
    height:96px!important;min-height:96px!important;max-height:96px!important;
    padding:7px 10px!important;margin:0!important;border:0!important;
    box-sizing:border-box!important;background:transparent!important;
  }
  .amazing-slider-shell .amazing-feature-content{
    display:flex!important;flex-direction:row!important;align-items:center!important;
    justify-content:space-between!important;gap:7px!important;
    width:100%!important;height:100%!important;min-height:0!important;
    padding:0!important;margin:0!important;
  }
  .amazing-slider-shell .amazing-brand-row{
    display:flex!important;flex:0 0 25px!important;width:25px!important;
    min-height:0!important;align-items:center!important;justify-content:center!important;
    margin:0!important;padding:0!important;
  }
  .amazing-slider-shell .amazing-brand-main{
    display:block!important;width:25px!important;height:32px!important;
    max-width:25px!important;object-fit:contain!important;
  }
  .amazing-slider-shell .amazing-brand-word,
  .amazing-slider-shell .amazing-feature-title{display:none!important}
  .amazing-slider-shell .amazing-mobile-word{
    display:block!important;flex:0 1 108px!important;width:108px!important;
    max-width:108px!important;height:58px!important;object-fit:contain!important;
    margin:0!important;
  }
  .amazing-slider-shell .amazing-countdown{
    display:flex!important;flex:0 0 auto!important;width:auto!important;
    min-height:0!important;align-items:center!important;justify-content:center!important;
    gap:3px!important;margin:0!important;direction:ltr!important;
  }
  .amazing-slider-shell .amazing-time-box{
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:clamp(34px,10vw,54px)!important;min-width:clamp(34px,10vw,54px)!important;
    height:clamp(38px,10vw,54px)!important;padding:3px!important;
    border-radius:7px!important;background:#fff!important;color:#292b35!important;
    font-size:clamp(14px,3.5vw,19px)!important;line-height:1!important;
  }
  .amazing-slider-shell .amazing-countdown b{font-size:16px!important;color:#fff!important}
  .amazing-slider-shell .amazing-feature-content>.amazing-view-all{
    display:flex!important;flex:0 0 auto!important;align-items:center!important;
    justify-content:center!important;gap:5px!important;padding:4px 2px!important;
    margin:0!important;background:transparent!important;color:#fff!important;
    border:0!important;border-radius:0!important;font-size:12px!important;
    font-weight:700!important;white-space:nowrap!important;
  }
  .amazing-slider-shell .amazing-feature-content>.amazing-view-all img{
    display:block!important;width:12px!important;height:12px!important;
    filter:brightness(0) invert(1)!important;
  }
  /* Single horizontal product rail: 3 visible cards + final View All tile. */
  .amazing-slider-shell .amazing-slider-track>.amazing-products-track{
    order:1!important;display:flex!important;flex-flow:row nowrap!important;
    align-items:stretch!important;gap:0!important;
    width:100%!important;height:350px!important;min-height:350px!important;
    flex:0 0 350px!important;box-sizing:border-box!important;
    margin:0!important;padding:0!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch!important;overscroll-behavior-x:contain!important;
    scroll-snap-type:x mandatory!important;scrollbar-width:none!important;
  }
  .amazing-slider-shell .amazing-products-track::-webkit-scrollbar{display:none!important}
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide{
    display:flex!important;flex:0 0 33.333333%!important;
    width:33.333333%!important;min-width:33.333333%!important;
    max-width:33.333333%!important;height:350px!important;
    min-height:350px!important;max-height:350px!important;
    box-sizing:border-box!important;margin:0!important;padding:0!important;
    border:0!important;border-left:3px solid #ef4056!important;
    background:#fff!important;overflow:hidden!important;scroll-snap-align:start!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide:not(:last-child){
    border-left:3px solid #ef4056!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-end-slide{
    display:flex!important;flex:0 0 33.333333%!important;
    width:33.333333%!important;min-width:33.333333%!important;
    max-width:33.333333%!important;height:350px!important;
    min-height:350px!important;max-height:350px!important;
    box-sizing:border-box!important;margin:0!important;padding:0!important;
    border:0!important;border-left:3px solid #ef4056!important;
    background:#fff!important;scroll-snap-align:start!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-end-slide>a{
    display:flex!important;width:100%!important;height:100%!important;
    flex-direction:column!important;align-items:center!important;justify-content:center!important;
    gap:12px!important;color:#24242b!important;font-size:15px!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-end-slide>a img{
    width:62px!important;height:62px!important;filter:none!important;
  }
  .amazing-slider-shell>.amazing-arrow{top:calc(96px + 175px)!important;z-index:60!important}
  .amazing-slider-shell>.amazing-arrow-prev{right:5px!important;left:auto!important}
  .amazing-slider-shell>.amazing-arrow-next{left:5px!important;right:auto!important}
}

/* v2.0.10 — mobile-only card typography and price alignment.
   Keep the carousel, red dividers, end slide and desktop untouched. */
@media(max-width:767px){
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-card{
    width:100%!important;min-width:0!important;max-width:100%!important;
    flex:1 1 auto!important;overflow:hidden!important;
    padding:0 7px 10px!important;
  }
  .amazing-slider-shell .amazing-products-track .amazing-product-image-wrap{
    flex:0 0 165px!important;height:165px!important;
    min-height:165px!important;max-height:165px!important;
    margin-bottom:8px!important;
  }
  .amazing-slider-shell .amazing-products-track .amazing-product-image{
    max-height:155px!important;max-width:100%!important;
  }
  .amazing-slider-shell .amazing-products-track .amazing-product-title{
    display:-webkit-box!important;-webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;line-clamp:2!important;
    width:100%!important;min-width:0!important;max-width:100%!important;
    height:52px!important;min-height:52px!important;max-height:52px!important;
    padding:0!important;margin:0!important;overflow:hidden!important;
    white-space:normal!important;overflow-wrap:anywhere!important;
    word-break:normal!important;direction:rtl!important;text-align:right!important;
    font-size:12px!important;line-height:26px!important;font-weight:500!important;
  }
  .amazing-slider-shell .amazing-products-track .amazing-product-meta-row{
    display:block!important;position:relative!important;
    height:65px!important;min-height:65px!important;max-height:65px!important;
    width:100%!important;min-width:0!important;
    padding:0!important;margin-top:auto!important;
  }
  .amazing-slider-shell .amazing-products-track .amazing-product-meta-row>.amazing-discount{
    position:absolute!important;right:0!important;left:auto!important;top:3px!important;
    min-width:30px!important;height:22px!important;line-height:22px!important;
    padding:0 5px!important;font-size:11px!important;
  }
  .amazing-slider-shell .amazing-products-track .amazing-product-price{
    width:100%!important;min-width:0!important;padding:0!important;margin:0!important;
  }
  .amazing-slider-shell .amazing-products-track .amazing-product-price .price{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    gap:2px!important;direction:ltr!important;min-height:0!important;
  }
  .amazing-slider-shell .amazing-products-track .amazing-product-price del{
    order:0!important;display:block!important;align-self:flex-start!important;
    max-width:calc(100% - 36px)!important;white-space:nowrap!important;
    margin:0!important;padding:0!important;text-align:left!important;
    font-size:10px!important;line-height:23px!important;color:#b7b9bf!important;
  }
  .amazing-slider-shell .amazing-products-track .amazing-product-price ins{
    order:1!important;display:block!important;align-self:flex-end!important;
    max-width:100%!important;margin:0!important;padding:0!important;
    text-align:right!important;direction:rtl!important;
    font-size:15px!important;line-height:27px!important;font-weight:700!important;
  }
  .amazing-slider-shell .amazing-feature-content>.amazing-view-all{
    flex:0 1 65px!important;min-width:0!important;max-width:65px!important;
    white-space:normal!important;text-align:center!important;
    line-height:18px!important;overflow-wrap:normal!important;
  }
}

/* v2.0.10 — mobile card content only; preserve rail, dividers and end tile. */
@media(max-width:767px){
  /* Prevent the header link from extending past the left edge. */
  .amazing-slider-shell .amazing-feature-content>.amazing-view-all{
    flex:0 1 64px!important;min-width:0!important;max-width:64px!important;
    white-space:normal!important;text-align:center!important;
    overflow-wrap:normal!important;line-height:1.5!important;
    padding:2px 0!important;gap:2px!important;
  }
  .amazing-slider-shell .amazing-feature-content>.amazing-view-all img{
    flex:0 0 10px!important;width:10px!important;height:10px!important;
  }
  /* Digikala-like card proportions and two-line titles, constrained to the card. */
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-card{
    min-width:0!important;max-width:100%!important;overflow:hidden!important;
    padding:0 6px 9px!important;gap:0!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-image-wrap{
    flex:0 0 164px!important;height:164px!important;min-height:164px!important;
    max-height:164px!important;margin:0 0 5px!important;padding:4px 0!important;
    min-width:0!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-image{
    max-width:100%!important;max-height:154px!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-title{
    display:-webkit-box!important;-webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;line-clamp:2!important;
    width:100%!important;min-width:0!important;max-width:100%!important;
    height:54px!important;min-height:54px!important;max-height:54px!important;
    overflow:hidden!important;overflow-wrap:anywhere!important;word-break:normal!important;
    white-space:normal!important;text-overflow:ellipsis!important;
    box-sizing:border-box!important;margin:0!important;padding:0 1px!important;
    font-size:12px!important;font-weight:600!important;line-height:27px!important;
    text-align:right!important;direction:rtl!important;
  }
  /* First row: old price at left and badge at right. Second row: sale price at right. */
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-meta-row{
    position:relative!important;display:block!important;width:100%!important;
    min-width:0!important;height:65px!important;min-height:65px!important;
    margin-top:auto!important;padding:0!important;overflow:hidden!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-discount{
    position:absolute!important;top:2px!important;right:0!important;left:auto!important;
    height:22px!important;min-width:30px!important;padding:0 5px!important;
    font-size:11px!important;line-height:22px!important;z-index:1!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-price,
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-price .price{
    position:static!important;display:block!important;width:100%!important;
    min-width:0!important;height:100%!important;min-height:0!important;
    margin:0!important;padding:0!important;direction:rtl!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-price del{
    position:absolute!important;top:3px!important;left:0!important;right:auto!important;
    display:block!important;width:auto!important;max-width:calc(100% - 38px)!important;
    margin:0!important;padding:0!important;overflow:hidden!important;
    color:#c0c2c5!important;font-size:10px!important;line-height:21px!important;
    font-weight:400!important;text-align:left!important;white-space:nowrap!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-price ins{
    position:absolute!important;bottom:3px!important;right:0!important;left:auto!important;
    display:block!important;max-width:100%!important;margin:0!important;padding:0!important;
    color:#3f4064!important;font-size:16px!important;font-weight:700!important;
    line-height:27px!important;text-align:right!important;direction:rtl!important;
    white-space:nowrap!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-price ins .woocommerce-Price-amount:after{
    width:16px!important;height:12px!important;margin-right:2px!important;
  }
}


/* v2.0.11 — mobile product card proportions based on the supplied Digikala reference.
   Deliberately limited to product card geometry and regular-price position. */
@media(max-width:767px){
  .amazing-slider-shell .amazing-slider-track>.amazing-products-track{
    height:366px!important;min-height:366px!important;flex-basis:366px!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide,
  .amazing-slider-shell .amazing-products-track>.amazing-end-slide{
    height:366px!important;min-height:366px!important;max-height:366px!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-card{
    height:100%!important;min-height:0!important;max-height:100%!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-image-wrap{
    flex:0 0 200px!important;height:200px!important;min-height:200px!important;
    max-height:200px!important;margin-bottom:5px!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-image{
    max-height:190px!important;max-width:100%!important;
  }
  /* Regular price sits immediately to the left of the discount badge. */
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-price del{
    top:3px!important;right:43px!important;left:auto!important;
    max-width:calc(100% - 47px)!important;text-align:right!important;
    font-size:10px!important;line-height:22px!important;
  }
}


/* v2.0.12 — mobile card proportions and explicit toman label only. */
@media(max-width:767px){
  /* Shorter card body: keep the three-column mobile rail unchanged. */
  .amazing-slider-shell .amazing-slider-track>.amazing-products-track,
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide,
  .amazing-slider-shell .amazing-products-track>.amazing-end-slide{
    height:300px!important;min-height:300px!important;max-height:300px!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-card{
    height:100%!important;min-height:0!important;max-height:100%!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-image-wrap{
    flex:0 0 150px!important;height:150px!important;min-height:150px!important;
    max-height:150px!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-image{
    max-height:140px!important;
  }
  /* Show the currency label beside the final sale price, not as an icon. */
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-price ins .woocommerce-Price-amount:after{
    content:"تومان"!important;display:inline-block!important;
    width:auto!important;height:auto!important;margin-right:4px!important;
    background:none!important;font-family:inherit!important;
    font-size:10px!important;font-weight:500!important;line-height:1!important;
    vertical-align:baseline!important;
  }
}

/* v2.0.13 — mobile card aspect ratio and existing toman icon placement only. */
@media(max-width:767px){
  /* Keep the three-column rail, separators and final tile unchanged. */
  .amazing-slider-shell .amazing-slider-track>.amazing-products-track,
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide,
  .amazing-slider-shell .amazing-products-track>.amazing-end-slide{
    height:260px!important;min-height:260px!important;max-height:260px!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-card{
    height:100%!important;min-height:0!important;max-height:100%!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-image-wrap{
    flex:0 0 120px!important;height:120px!important;min-height:120px!important;
    max-height:120px!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-image{
    max-height:112px!important;
  }
  /* Use the plugin's original toman SVG after the payable price; do not add text. */
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-price ins .woocommerce-Price-amount:after{
    content:""!important;display:inline-block!important;
    width:16px!important;height:12px!important;margin-right:3px!important;
    background:url("../img/toman.svg") no-repeat center!important;
    background-size:contain!important;vertical-align:middle!important;
  }
}


/* v2.0.14 — dimensions measured from the supplied Digikala mobile screenshot.
   Reference crop: product card area approx. 428 x 790 px in a 1285 px viewport.
   At the plugin's 3-column mobile layout this scales to 33.333vw x 61.48vw.
   Only product-card geometry and the existing toman SVG asset are addressed. */
@media(max-width:767px){
  .amazing-slider-shell .amazing-slider-track>.amazing-products-track,
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide,
  .amazing-slider-shell .amazing-products-track>.amazing-end-slide{
    height:61.48vw!important;min-height:61.48vw!important;max-height:61.48vw!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-card{
    height:100%!important;min-height:0!important;max-height:100%!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-image-wrap{
    flex:0 0 35.8vw!important;height:35.8vw!important;min-height:35.8vw!important;
    max-height:35.8vw!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-image{
    max-height:32vw!important;max-width:100%!important;
  }
  /* Keep the original toman SVG beside the final payable amount only. */
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-price ins .woocommerce-Price-amount:after{
    content:""!important;display:inline-block!important;width:16px!important;height:12px!important;
    margin-right:3px!important;background:url("../img/toman.svg") no-repeat center!important;
    background-size:contain!important;vertical-align:middle!important;
  }
}


/* v2.0.15 — requested mobile-only corrections based on the latest screenshot.
   Preserve the existing banner artwork, carousel rail, red dividers and final tile. */
@media(max-width:767px){
  /* Compact the banner so the product card gains room from its upper edge. */
  .amazing-slider-shell .amazing-slider-track>.amazing-feature-slide{
    flex-basis:82px!important;height:82px!important;min-height:82px!important;max-height:82px!important;
  }
  .amazing-slider-shell .amazing-mobile-word{height:50px!important;max-height:50px!important}
  .amazing-slider-shell .amazing-time-box{
    width:clamp(32px,9vw,50px)!important;min-width:clamp(32px,9vw,50px)!important;
    height:clamp(34px,9vw,50px)!important;
  }
  /* Add the freed space to the top of the cards, not by compressing their footer. */
  .amazing-slider-shell .amazing-slider-track>.amazing-products-track{
    height:calc(61.48vw + 18px)!important;min-height:calc(61.48vw + 18px)!important;
    flex-basis:calc(61.48vw + 18px)!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide,
  .amazing-slider-shell .amazing-products-track>.amazing-end-slide{
    height:calc(61.48vw + 18px)!important;min-height:calc(61.48vw + 18px)!important;
    max-height:calc(61.48vw + 18px)!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-image-wrap{
    flex-basis:calc(35.8vw + 18px)!important;height:calc(35.8vw + 18px)!important;
    min-height:calc(35.8vw + 18px)!important;max-height:calc(35.8vw + 18px)!important;
  }
  /* The arrows are intentionally hidden on mobile; swipe remains available. */
  .amazing-slider-shell>.amazing-arrow{display:none!important}
  /* Use the bundled SVG as a real image after the final price. */
  .amazing-slider-shell .amazing-product-price ins .woocommerce-Price-amount:after{content:none!important;display:none!important}
  .amazing-slider-shell .amazing-product-price ins .amazing-toman-icon{
    display:inline-block!important;width:16px!important;height:12px!important;
    max-width:16px!important;margin-right:3px!important;object-fit:contain!important;
    vertical-align:middle!important;
  }
  /* Restore the payable price visibility and keep it inside the card footer. */
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-price ins{
    display:block!important;visibility:visible!important;opacity:1!important;
    position:absolute!important;bottom:3px!important;right:0!important;left:auto!important;
    z-index:2!important;white-space:nowrap!important;overflow:visible!important;
    color:#3f4064!important;font-size:16px!important;line-height:27px!important;
  }
}


/* v2.0.16 — ensure the payable amount remains visible on mobile. */
@media(max-width:767px){
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-meta-row{
    position:relative!important;display:block!important;min-height:76px!important;height:76px!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-price{
    display:block!important;position:absolute!important;right:0!important;left:0!important;
    bottom:0!important;width:100%!important;height:30px!important;min-height:30px!important;
    visibility:visible!important;opacity:1!important;overflow:visible!important;z-index:5!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-price-layout{
    display:flex!important;flex-direction:row!important;align-items:center!important;
    justify-content:flex-end!important;width:100%!important;height:30px!important;
    min-height:30px!important;gap:4px!important;visibility:visible!important;opacity:1!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-sale-price{
    display:inline-flex!important;position:static!important;align-items:center!important;
    justify-content:flex-end!important;visibility:visible!important;opacity:1!important;
    color:#3f4064!important;font-size:16px!important;font-weight:700!important;
    line-height:26px!important;text-decoration:none!important;white-space:nowrap!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-sale-price .woocommerce-Price-amount,
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-sale-price bdi{
    display:inline!important;visibility:visible!important;opacity:1!important;color:#3f4064!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-toman-icon{
    display:inline-block!important;position:static!important;width:16px!important;height:12px!important;
    min-width:16px!important;max-width:16px!important;object-fit:contain!important;
    visibility:visible!important;opacity:1!important;vertical-align:middle!important;
  }
}


/* v2.0.17 — repair mobile product pricing and widen only the product rail.
   The reference shows three cards spanning the full viewport width. */
@media(max-width:767px){
  /* Extend the product rail into the theme's 15px side gutters; keep the
     feature/banner header itself unchanged. */
  .amazing-slider-shell{overflow:visible!important}
  .amazing-slider-shell .amazing-slider-track>.amazing-products-track{
    width:calc(100% + 30px)!important;max-width:none!important;
    margin-left:-15px!important;margin-right:-15px!important;
    height:280px!important;min-height:280px!important;max-height:280px!important;
    flex:0 0 280px!important;
    padding:0!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide,
  .amazing-slider-shell .amazing-products-track>.amazing-end-slide{
    flex:0 0 33.333333%!important;width:33.333333%!important;
    min-width:33.333333%!important;max-width:33.333333%!important;
    height:280px!important;min-height:280px!important;max-height:280px!important;
    box-sizing:border-box!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-card{
    display:flex!important;flex-direction:column!important;
    width:100%!important;height:100%!important;min-height:0!important;
    max-height:100%!important;box-sizing:border-box!important;
    padding:0 7px 6px!important;overflow:hidden!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-image-wrap{
    flex:0 0 145px!important;height:145px!important;
    min-height:145px!important;max-height:145px!important;
    margin:0 0 4px!important;padding:3px 0!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-image{
    max-width:100%!important;max-height:138px!important;object-fit:contain!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-title{
    flex:0 0 52px!important;height:52px!important;min-height:52px!important;
    max-height:52px!important;width:100%!important;overflow:hidden!important;
    display:-webkit-box!important;-webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;line-clamp:2!important;
    white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;
    font-size:12px!important;line-height:26px!important;font-weight:600!important;
    text-align:right!important;direction:rtl!important;
  }
  /* Stable two-row price layout: old price beside discount, payable amount
     and the bundled toman SVG on the bottom row. */
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-meta-row{
    position:relative!important;display:block!important;flex:0 0 76px!important;
    width:100%!important;height:76px!important;min-height:76px!important;
    max-height:76px!important;margin-top:auto!important;padding:0!important;
    overflow:visible!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-discount{
    display:inline-flex!important;position:absolute!important;top:2px!important;
    right:0!important;left:auto!important;z-index:3!important;
    min-width:30px!important;height:22px!important;padding:0 5px!important;
    line-height:22px!important;font-size:11px!important;visibility:visible!important;
    opacity:1!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-product-price{
    position:static!important;display:block!important;width:100%!important;
    height:100%!important;min-height:0!important;margin:0!important;padding:0!important;
    visibility:visible!important;opacity:1!important;overflow:visible!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-price-layout{
    position:static!important;display:block!important;width:100%!important;
    height:100%!important;min-height:0!important;margin:0!important;padding:0!important;
    visibility:visible!important;opacity:1!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-regular-price{
    position:absolute!important;top:3px!important;left:39px!important;right:auto!important;
    display:block!important;max-width:calc(100% - 76px)!important;
    color:#b7b9bf!important;font-size:10px!important;line-height:22px!important;
    font-weight:400!important;white-space:nowrap!important;text-align:left!important;
    visibility:visible!important;opacity:1!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-sale-price{
    position:absolute!important;right:0!important;left:auto!important;bottom:1px!important;
    display:inline-flex!important;align-items:center!important;justify-content:flex-end!important;
    gap:3px!important;margin:0!important;padding:0!important;
    color:#3f4064!important;font-size:16px!important;font-weight:700!important;
    line-height:28px!important;text-decoration:none!important;white-space:nowrap!important;
    visibility:visible!important;opacity:1!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-sale-price .woocommerce-Price-amount,
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-sale-price bdi{
    display:inline!important;color:#3f4064!important;visibility:visible!important;opacity:1!important;
  }
  .amazing-slider-shell .amazing-products-track>.amazing-product-slide .amazing-toman-icon{
    display:inline-block!important;position:static!important;width:16px!important;
    min-width:16px!important;max-width:16px!important;height:12px!important;
    margin:0!important;object-fit:contain!important;vertical-align:middle!important;
    visibility:visible!important;opacity:1!important;
  }
  /* Hide only the mobile navigation arrows; touch swipe remains enabled. */
  .amazing-slider-shell>.amazing-arrow{display:none!important}
}


/* v2.0.22 — minimal mobile repair based on the stable 2.0.17 layout.
   Keep the existing header, product cards, card height, separators, swipe rail,
   and final View All slide. Align the outer frame and product rail together. */
@media (max-width: 767px) {
  /* Expand the whole red section into the theme's 15px mobile gutters.
     Do not independently translate or offset the product rail. */
  .amazing-slider-shell {
    width: calc(100% + 30px) !important;
    max-width: none !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .amazing-slider-shell > .amazing-slider-track {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .amazing-slider-shell .amazing-slider-track > .amazing-products-track {
    position: static !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* The PHP markup already contains exactly one bundled toman SVG image.
     Remove all legacy pseudo-element currency marks; keep that single image. */
  .amazing-slider-shell .amazing-product-price .woocommerce-Price-amount::before,
  .amazing-slider-shell .amazing-product-price .woocommerce-Price-amount::after,
  .amazing-slider-shell .amazing-product-price bdi::before,
  .amazing-slider-shell .amazing-product-price bdi::after,
  .amazing-slider-shell .amazing-product-price ins::before,
  .amazing-slider-shell .amazing-product-price ins::after,
  .amazing-slider-shell .amazing-product-price del::before,
  .amazing-slider-shell .amazing-product-price del::after {
    content: none !important;
    display: none !important;
    background: none !important;
    background-image: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .amazing-slider-shell .amazing-product-price .woocommerce-Price-currencySymbol {
    display: none !important;
    visibility: hidden !important;
  }
  .amazing-slider-shell .amazing-product-price img.amazing-toman-icon {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    height: 12px !important;
    object-fit: contain !important;
    margin: 0 !important;
    vertical-align: middle !important;
  }
}


/* v2.0.23 — three narrowly scoped mobile corrections requested:
   one bundled toman SVG, a complete red frame, and a tighter price-row gap. */
@media (max-width: 767px) {
  /* Full red perimeter around the complete Amazing section. */
  .amazing-slider-shell {
    border: 5px solid #d92c4e !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Keep the actual bundled SVG image; suppress the older CSS-generated
     duplicate icon using a selector stronger than the legacy v2.17 rule. */
  .amazing-slider-shell .amazing-products-track > .amazing-product-slide .amazing-product-price ins .woocommerce-Price-amount::after {
    content: none !important;
    display: none !important;
    background: none !important;
    background-image: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
  }
  .amazing-slider-shell .amazing-products-track > .amazing-product-slide .amazing-product-price img.amazing-toman-icon {
    display: inline-block !important;
    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    height: 12px !important;
    margin: 0 3px 0 0 !important;
    object-fit: contain !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Reduce only the vertical gap between the old-price/discount row and
     the final payable price; preserve the card's outer height. */
  .amazing-slider-shell .amazing-products-track > .amazing-product-slide .amazing-product-meta-row {
    flex-basis: 56px !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
  }
}


/* v2.0.24 — desktop-only Digikala price arrangement and supplied arrow icons.
   Mobile rules and layout are intentionally left untouched. */
@media (min-width: 768px) {
  /* The PHP markup includes one real toman SVG. Remove legacy pseudo icons
     that were adding a second copy beside the same payable amount. */
  .amazing-slider-shell .amazing-product-price .woocommerce-Price-amount::before,
  .amazing-slider-shell .amazing-product-price .woocommerce-Price-amount::after,
  .amazing-slider-shell .amazing-product-price bdi::before,
  .amazing-slider-shell .amazing-product-price bdi::after,
  .amazing-slider-shell .amazing-product-price ins::before,
  .amazing-slider-shell .amazing-product-price ins::after,
  .amazing-slider-shell .amazing-product-price del::before,
  .amazing-slider-shell .amazing-product-price del::after {
    content: none !important;
    display: none !important;
    background: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
  }
  .amazing-slider-shell .amazing-product-price .woocommerce-Price-currencySymbol {
    display: none !important;
  }
  .amazing-slider-shell .amazing-product-price img.amazing-toman-icon {
    display: inline-block !important;
    width: 19px !important;
    height: 14px !important;
    max-width: 19px !important;
    margin: 0 3px 0 0 !important;
    object-fit: contain !important;
    vertical-align: middle !important;
  }

  /* First row: regular price at the physical left, discount badge at right.
     Second row: larger payable price, aligned to the right. */
  .amazing-slider-shell .amazing-products-track > .amazing-product-slide .amazing-product-meta-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    justify-content: stretch !important;
    column-gap: 5px !important;
    row-gap: 1px !important;
    min-height: 54px !important;
    height: 54px !important;
    margin-top: auto !important;
    padding: 0 3px 2px !important;
    box-sizing: border-box !important;
  }
  .amazing-slider-shell .amazing-products-track > .amazing-product-slide .amazing-discount {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    align-self: center !important;
    position: static !important;
    z-index: 1 !important;
  }
  .amazing-slider-shell .amazing-products-track > .amazing-product-slide .amazing-product-price {
    display: contents !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .amazing-slider-shell .amazing-products-track > .amazing-product-slide .amazing-product-price .price {
    display: contents !important;
  }
  .amazing-slider-shell .amazing-products-track > .amazing-product-slide .amazing-product-price del {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    color: #b9bbc0 !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }
  .amazing-slider-shell .amazing-products-track > .amazing-product-slide .amazing-product-price ins {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    justify-self: end !important;
    align-self: center !important;
    color: #3f4064 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    text-align: right !important;
    white-space: nowrap !important;
    text-decoration: none !important;
  }
  .amazing-slider-shell .amazing-products-track > .amazing-product-slide .amazing-product-price ins .woocommerce-Price-amount {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 3px !important;
    white-space: nowrap !important;
  }

  /* Use the two SVG arrow assets supplied by the user. */
  .amazing-slider-shell > .amazing-arrow {
    font-size: 0 !important;
    color: transparent !important;
    background-color: #fff !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 18px 18px !important;
  }
  .amazing-slider-shell > .amazing-arrow-prev {
    background-image: url("img/arrow-left.svg") !important;
    visibility: hidden !important;
    opacity: 0 !important;
    transition: opacity .18s ease, visibility .18s ease !important;
  }
  .amazing-slider-shell > .amazing-arrow-next {
    background-image: url("img/arrow-right.svg") !important;
  }
  .amazing-slider-shell.amazing-arrows-unlocked > .amazing-arrow-prev {
    visibility: visible !important;
    opacity: 1 !important;
  }
}


/* v2.0.25 — desktop-only correction: mirror the supplied arrow artwork and
   move only the regular (struck-through) price beside the discount badge.
   The payable price keeps the original desktop typography and placement. */
@media (min-width: 768px) {
  .amazing-slider-shell > .amazing-arrow-prev {
    background-image: url("img/arrow-right.svg") !important;
  }
  .amazing-slider-shell > .amazing-arrow-next {
    background-image: url("img/arrow-left.svg") !important;
  }
  .amazing-slider-shell .amazing-products-track > .amazing-product-slide .amazing-product-price ins {
    color: #3f4064 !important;
    font-family: Estedad, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    text-align: right !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }
  .amazing-slider-shell .amazing-products-track > .amazing-product-slide .amazing-product-price ins .woocommerce-Price-amount {
    display: inline-flex !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 0 !important;
    white-space: nowrap !important;
  }
}

/* v2.0.26 — desktop only: place the old price and discount badge together
   at the physical left edge, directly above the payable price. */
@media (min-width: 768px) {
  .amazing-slider-shell .amazing-products-track > .amazing-product-slide .amazing-product-meta-row {
    display: grid !important;
    direction: ltr !important;
    grid-template-columns: auto auto 1fr !important;
    grid-template-rows: auto auto !important;
    justify-content: start !important;
    justify-items: start !important;
    align-items: center !important;
    column-gap: 5px !important;
    row-gap: 0 !important;
  }
  .amazing-slider-shell .amazing-products-track > .amazing-product-slide .amazing-product-price {
    display: contents !important;
  }
  .amazing-slider-shell .amazing-products-track > .amazing-product-slide .amazing-product-price .price {
    display: contents !important;
  }
  .amazing-slider-shell .amazing-products-track > .amazing-product-slide .amazing-product-price del {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    text-align: left !important;
    margin: 0 !important;
  }
  .amazing-slider-shell .amazing-products-track > .amazing-product-slide .amazing-discount {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    margin: 0 !important;
  }
  .amazing-slider-shell .amazing-products-track > .amazing-product-slide .amazing-product-price ins {
    grid-column: 1 / 3 !important;
    grid-row: 2 !important;
    justify-self: start !important;
    text-align: left !important;
    margin: 0 !important;
  }
}
