.efs-wrap{font-family:inherit;margin:25px auto;max-width:1400px}.efs-hero{display:grid;grid-template-columns:1.05fr 3.8fr 1.15fr;gap:0;overflow:hidden;border-radius:28px;background:linear-gradient(120deg,#111b2a,#182638 55%,#f0443e);box-shadow:0 14px 35px #17203320}.efs-brand{padding:22px 20px;color:#fff;background:linear-gradient(145deg,#101a28,#243447);position:relative}.efs-brand h2{font-size:27px;margin:12px 0 6px;color:#fff}.efs-brand p{color:#d9e1eb}.efs-bolt{font-size:52px;color:#ff9f1c;line-height:1}.efs-benefits{display:grid;gap:9px;margin-top:22px;font-size:14px}.efs-products{background:#f7f9fc;padding:18px 10px}.efs-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.efs-card{background:#fff;border:1px solid #e8edf4;border-radius:14px;padding:14px;position:relative;min-width:0;box-shadow:0 5px 15px #12213b08}.efs-discount{position:absolute;top:8px;right:8px;background:#f0443e;color:#fff;border-radius:10px;padding:5px 7px;font-weight:800;z-index:1}.efs-discount small{display:block;font-size:10px;font-weight:500}.efs-image{height:145px;display:flex;align-items:center;justify-content:center}.efs-image img{max-height:140px;max-width:100%;object-fit:contain}.efs-card h3{font-size:13px;line-height:1.65;margin:7px 0;min-height:43px}.efs-card h3 a{color:#202b3b;text-decoration:none}.efs-old{text-decoration:line-through;color:#9aa4b2;font-size:12px}.efs-price{color:#ed3540;font-size:16px;font-weight:900;margin:5px 0}.efs-price small{font-size:11px}.efs-buy{display:block;text-align:center;background:#ed3540;color:#fff!important;border-radius:10px;padding:8px;text-decoration:none;font-size:13px}.efs-count{padding:28px 18px;color:#fff;background:linear-gradient(160deg,#ff5a45,#c91642);display:flex;flex-direction:column;justify-content:center}.efs-clock{font-size:48px;color:#ffd166}.efs-count h3{font-size:22px;color:#fff}.efs-timer{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.efs-timer b{background:#a91135aa;border-radius:10px;padding:9px 2px;text-align:center;font-size:18px}.efs-count>a{margin-top:16px;border:1px solid #fff;border-radius:12px;padding:12px;text-align:center;color:#fff;text-decoration:none}.efs-wrap a:focus{outline:3px solid #ffb703;outline-offset:3px}@media(max-width:1000px){.efs-hero{grid-template-columns:1fr}.efs-brand{padding:20px}.efs-benefits{display:flex;flex-wrap:wrap}.efs-count{padding:20px}.efs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.efs-grid{grid-template-columns:1fr}.efs-card{display:grid;grid-template-columns:110px 1fr;gap:8px}.efs-image{grid-row:1/5;height:112px}.efs-discount{right:auto;left:8px;font-size:12px}.efs-card h3{min-height:0}.efs-buy{grid-column:1/-1}.efs-brand h2{font-size:27px}}

.efs-timer b{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.efs-timer small{display:block;font-size:11px;font-weight:700;color:#fff}.efs-page{max-width:1280px;margin:32px auto;padding:0 14px}.efs-page h1{font-size:30px;font-weight:900;text-align:right;margin:0 0 26px;color:#182638;border-right:5px solid #ed3540;padding-right:14px}.efs-page-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.efs-page-card{background:#fff;border:1px solid #e7ebf1;border-radius:20px;padding:16px;position:relative;box-shadow:0 8px 24px #12213b12;transition:transform .2s ease,box-shadow .2s ease;overflow:hidden}.efs-page-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px #12213b1c}.efs-page-card h2{font-size:15px;font-weight:800;line-height:1.9;min-height:58px;margin:8px 0 12px}.efs-page-card h2 a{color:#202b3b;text-decoration:none}.efs-page-card .efs-image{height:190px;background:linear-gradient(180deg,#fbfcfe,#fff);border-radius:14px;margin-bottom:12px}.efs-page-card .efs-image img{max-height:180px;max-width:94%}@media(max-width:900px){.efs-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.efs-page-grid{grid-template-columns:1fr}.efs-page h1{font-size:24px;text-align:center;border-right:0;padding-right:0}}

.efs-page{max-width:1320px;margin:28px auto;padding:0 16px;font-family:inherit}.efs-page-hero{display:grid;grid-template-columns:1.15fr 1.65fr 1.2fr;overflow:hidden;border-radius:26px;background:#f7f9fc;border:1px solid #e6ebf2;box-shadow:0 12px 30px rgba(20,35,55,.08);margin-bottom:28px}.efs-page-hero-brand{padding:30px;background:linear-gradient(145deg,#ff3e48,#c91442);color:#fff;position:relative}.efs-page-hero-brand h1{margin:12px 0 8px;color:#fff;font-size:30px;font-weight:900}.efs-page-hero-brand p{margin:0;color:#fff;font-size:15px}.efs-page-bolt{font-size:55px;color:#ffd43b;line-height:1}.efs-page-hero-info{padding:30px 24px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;background:#fff}.efs-page-hero-info strong{font-size:22px;color:#202b3b;line-height:1.8}.efs-page-benefits{display:flex;flex-wrap:wrap;justify-content:center;gap:18px;margin-top:22px;color:#6d7785;font-size:14px}.efs-page-count{padding:26px 20px;background:linear-gradient(160deg,#ff5a45,#c91642);color:#fff;display:flex;flex-direction:column;justify-content:center;gap:14px}.efs-page-count>b{font-size:20px;color:#fff;text-align:center}.efs-page .efs-timer{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.efs-page .efs-timer b{background:rgba(112,0,35,.28);border-radius:11px;padding:10px 3px;text-align:center;color:#fff;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:19px}.efs-page .efs-timer small{font-size:11px;color:#fff}.efs-page-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 18px;padding:0 4px}.efs-page-heading h2{font-size:23px;margin:0;color:#182638;font-weight:900}.efs-page-heading span{background:#ed3540;color:#fff;border-radius:999px;padding:7px 13px;font-size:13px;font-weight:800}.efs-page-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.efs-page-card{background:#fff;border:1px solid #e7ebf1;border-radius:20px;padding:15px;position:relative;box-shadow:0 8px 24px rgba(18,33,59,.08);transition:transform .2s ease,box-shadow .2s ease;overflow:hidden;min-width:0}.efs-page-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(18,33,59,.13)}.efs-page-card .efs-discount{position:absolute;top:12px;right:12px;background:#f0443e;color:#fff;border-radius:11px;padding:7px 9px;font-weight:900;z-index:2}.efs-page-card .efs-discount small{display:block;font-size:10px;font-weight:600}.efs-page-card .efs-image{height:205px;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#fbfcfe,#fff);border-radius:14px;margin-bottom:12px}.efs-page-card .efs-image img{max-width:94%;max-height:190px;object-fit:contain}.efs-page-card h2{font-size:15px;line-height:1.9;min-height:58px;margin:7px 0 12px;font-weight:800}.efs-page-card h2 a{color:#202b3b;text-decoration:none}.efs-page-card .efs-old{text-decoration:line-through;color:#a0a8b4;font-size:12px}.efs-page-card .efs-price{color:#ed3540;font-size:18px;font-weight:900;margin:6px 0 13px}.efs-page-card .efs-price small{font-size:11px}.efs-page-card .efs-buy{display:block;text-align:center;background:linear-gradient(90deg,#ff2736,#e9163d);color:#fff!important;border-radius:11px;padding:11px;text-decoration:none;font-size:14px;font-weight:800}.efs-page .efs-empty{grid-column:1/-1;text-align:center;padding:50px;background:#fff;border:1px dashed #d8dee8;border-radius:18px}@media(max-width:1000px){.efs-page-hero{grid-template-columns:1fr}.efs-page-hero-brand,.efs-page-hero-info,.efs-page-count{padding:24px}.efs-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.efs-page{padding:0 10px}.efs-page-heading{align-items:flex-start;flex-direction:column}.efs-page-heading h2{font-size:20px}.efs-page-grid{grid-template-columns:1fr}.efs-page-card .efs-image{height:220px}.efs-page-hero-brand h1{font-size:26px}.efs-page-benefits{gap:10px;font-size:12px}}

/* نوار افقی محصولات با کارت‌های هم‌اندازه */
.efs-products{overflow:hidden;min-width:0}
.efs-grid{display:flex;flex-wrap:nowrap;gap:12px;overflow-x:auto;overflow-y:hidden;padding:2px 2px 12px;scroll-snap-type:x proximity;scrollbar-width:thin}
.efs-card{flex:0 0 calc((100% - 48px)/5);width:calc((100% - 48px)/5);min-width:220px;height:100%;min-height:365px;display:flex;flex-direction:column;scroll-snap-align:start}
.efs-card .efs-image{flex:0 0 145px}
.efs-card h3{flex:1}
.efs-card .efs-buy{margin-top:auto}
@media(max-width:1200px){.efs-card{flex-basis:260px;width:260px}}
@media(max-width:700px){.efs-grid{gap:10px}.efs-card{flex-basis:235px;width:235px;min-width:235px}}


/* کنترل نوار محصولات و انیمیشن کارت‌ها */
.efs-products,.efs-page-products{position:relative;min-width:0;display:flex;align-items:center;gap:8px}
.efs-products .efs-grid,.efs-page-products .efs-page-grid{flex:1;min-width:0}
.efs-nav{flex:0 0 36px;width:36px;height:36px;border:1px solid #e5eaf1;border-radius:50%;background:#fff;color:#1b2a3d;box-shadow:0 5px 14px rgba(20,35,55,.12);font-size:28px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .2s ease,background .2s ease,color .2s ease;z-index:3}
.efs-nav:hover{background:#ed3540;color:#fff;transform:scale(1.08)}
.efs-nav:disabled{opacity:.35;cursor:default;transform:none}
.efs-card,.efs-page-card{transition:transform .22s ease,box-shadow .22s ease}
.efs-card:hover,.efs-page-card:hover{transform:translateY(-7px) scale(1.015);box-shadow:0 16px 32px rgba(18,33,59,.16)}
.efs-card:hover .efs-image img,.efs-page-card:hover .efs-image img{transform:scale(1.045)}
.efs-image img{transition:transform .22s ease}
.efs-page-products{overflow:hidden}
.efs-page-products .efs-page-grid{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;gap:20px;padding:4px 2px 14px;scroll-snap-type:x proximity;scrollbar-width:thin}
.efs-page-products .efs-page-card{flex:0 0 280px;width:280px;min-width:280px;display:flex;flex-direction:column;min-height:520px}
.efs-page-products .efs-page-card .efs-image{flex:0 0 205px}
.efs-page-products .efs-page-card h2{flex:1}
.efs-page-products .efs-page-card .efs-buy{margin-top:auto}
@media(max-width:700px){.efs-nav{flex-basis:30px;width:30px;height:30px;font-size:23px}.efs-page-products .efs-page-card{flex-basis:245px;width:245px;min-width:245px}}

/* Direction fix: navigation buttons and horizontal track */
.efs-products,.efs-page-products{direction:ltr;}
.efs-products .efs-grid,.efs-page-products .efs-page-grid{direction:ltr;}
.efs-card,.efs-page-card{direction:rtl;}

/* فقط کوتاه کردن ارتفاع کادر و پایین آوردن عنوان؛ فونت‌ها بدون تغییر */
.efs-card{
  height:320px !important;
  min-height:320px !important;
  padding:8px !important;
}
.efs-card .efs-image{
  flex:0 0 92px !important;
  height:92px !important;
  margin-bottom:0 !important;
}
.efs-card h3{
  margin-top:14px !important;
  margin-bottom:5px !important;
}

/* فقط اصلاح جای محتوا داخل کارت؛ فونت‌ها و اندازه‌ها بدون تغییر */
.efs-card{
  justify-content:space-between !important;
}
.efs-card .efs-image{
  margin-top:18px !important;
}
.efs-card h3{
  margin-top:14px !important;
}
.efs-card .efs-buy{
  margin-bottom:6px !important;
}

/* فقط پایین‌تر بردن توضیح کالا؛ فونت، عکس، قیمت، دکمه و سایر بخش‌ها بدون تغییر */
.efs-card h3{
  position:relative !important;
  top:24px !important;
}

/* صفحه کالاهای شگفت‌انگیز: ۶ محصول در هر سطر و ادامه در سطرهای بعد */
.efs-page-products .efs-page-grid{
  display:grid !important;
  grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  gap:16px !important;
  overflow:visible !important;
  padding:0 !important;
}
.efs-page-products .efs-page-card{
  width:auto !important;
  min-width:0 !important;
  flex:none !important;
  min-height:0 !important;
}
@media(max-width:1200px){
  .efs-page-products .efs-page-grid{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }
}
@media(max-width:900px){
  .efs-page-products .efs-page-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}
@media(max-width:600px){
  .efs-page-products .efs-page-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

/* فقط نصف کردن ارتفاع کارت‌های صفحه کالاهای شگفت‌انگیز */
.efs-page-products .efs-page-card{
  height:260px !important;
  min-height:260px !important;
  max-height:260px !important;
}

/* صفحه کالاهای شگفت‌انگیز: پنج کارت بزرگ‌تر با نمایش کامل اطلاعات */
.efs-page-products .efs-page-grid{
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  gap:20px !important;
}
.efs-page-products .efs-page-card{
  height:auto !important;
  min-height:430px !important;
  max-height:none !important;
  padding:14px !important;
  overflow:visible !important;
}
.efs-page-products .efs-page-card .efs-image{
  height:150px !important;
  flex:0 0 150px !important;
  margin-bottom:10px !important;
}
.efs-page-products .efs-page-card .efs-image img{
  max-height:145px !important;
}
.efs-page-products .efs-page-card h2{
  font-size:15px !important;
  line-height:1.9 !important;
  min-height:58px !important;
  max-height:none !important;
  overflow:visible !important;
  margin:8px 0 12px !important;
}
.efs-page-products .efs-page-card .efs-price{
  font-size:17px !important;
}
.efs-page-products .efs-page-card .efs-buy{
  padding:9px !important;
  font-size:13px !important;
}
@media(max-width:1200px){
  .efs-page-products .efs-page-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;}
}
@media(max-width:900px){
  .efs-page-products .efs-page-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
}
@media(max-width:600px){
  .efs-page-products .efs-page-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}

/* فقط حذف دکمه‌های چپ و راست در صفحه کالاهای شگفت‌انگیز */
.efs-page-products > .efs-nav,
.efs-page-products .efs-nav{
  display:none !important;
}
