/* صفحه‌ی اصلی — مینیمال، مدرن و با رنگ‌های زنده؛ همه‌ی تصویرها ابعاد ثابت دارند تا چیدمان نپرد. docs/HOME_PAGE.md */
.hp {
    --hp-ink: #142019;
    --hp-ink-2: #3c4b41;
    --hp-muted: #6b786f;
    --hp-green: #12965a;
    --hp-deep: #0b6b42;
    --hp-soft: #eaf7ef;
    --hp-cream: #fbf8f1;
    --hp-gold: #a87a22;
    --hp-gold-soft: #f6eedb;
    --hp-line: #e6ebe7;
    /* رنگ‌های زنده */
    --hp-sun: #ffd23f;
    --hp-coral: #ff6a3d;
    --hp-sky: #1a9be8;
    --hp-grape: #6a3de8;
    --hp-dk: #ed1944;  /* دیجی‌کالا */
    --hp-ss: #b400ae;  /* اسنپ‌شاپ */
    --hp-dp: #1f2ff0;  /* دیجی‌پی */
    --hp-radius: 20px;
    --hp-shadow: 0 18px 50px -24px rgba(23, 50, 32, .28);
    --hp-nav: 84px; /* نوار بالای سایت fixed-top است و جا نمی‌گیرد */
    color: var(--hp-ink);
    background: #fff;
    overflow-x: clip;
}
.hp a { text-decoration: none; }
.hp img { max-width: 100%; }
.hp .number { font-family: inherit; }

/* دکمه‌ها */
.hp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border: 1.5px solid transparent; border-radius: 14px; font-family: inherit; font-size: .95rem; font-weight: 800; line-height: 1; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.hp-btn.is-primary { background: var(--hp-green); color: #fff; box-shadow: 0 10px 24px -12px rgba(18, 150, 90, .7); }
.hp-btn.is-primary:hover { background: var(--hp-deep); color: #fff; transform: translateY(-1px); }
.hp-btn.is-ghost { background: #fff; color: var(--hp-ink); border-color: var(--hp-line); }
.hp-btn.is-ghost:hover { border-color: var(--hp-ink); color: var(--hp-ink); }
.hp-btn.is-sun { background: var(--hp-sun); color: var(--hp-ink); box-shadow: 0 12px 26px -14px rgba(255, 190, 0, .9); }
.hp-btn.is-sun:hover { background: #ffdc66; color: var(--hp-ink); transform: translateY(-1px); }
.hp-btn.is-light { background: #fff; color: var(--hp-accent, var(--hp-ink)); box-shadow: 0 12px 26px -16px rgba(0, 0, 0, .55); }
.hp-btn.is-light:hover { background: #fff; color: var(--hp-accent, var(--hp-ink)); transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .6); }
.hp-btn.is-outline-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .5); }
.hp-btn.is-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .14); }
.hp-btn.is-sm { min-height: 42px; padding: 0 16px; font-size: .85rem; border-radius: 12px; }
.hp-btn i { font-size: .9em; }

.hp-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; background: var(--hp-gold-soft); color: var(--hp-gold); font-size: .8rem; font-weight: 800; }
.hp-eyebrow.is-on-dark { background: rgba(255, 255, 255, .16); color: #fff; }
.hp-eyebrow.is-sun { background: var(--hp-sun); color: var(--hp-ink); }
.hp-kicker { display: inline-block; margin-bottom: 6px; padding: 3px 12px; border-radius: 99px; font-size: .76rem; font-weight: 800; line-height: 1.8; }
.hp-kicker.is-green { background: var(--hp-soft); color: var(--hp-green); }
.hp-kicker.is-sun { background: #fff4c7; color: #9a6b00; }
.hp-kicker.is-sky { background: #e3f3fd; color: #0f74b3; }
.hp-kicker.is-coral { background: #ffe9e1; color: #c2410c; }
.hp-h2 { margin: 0; font-size: 1.75rem; font-weight: 900; line-height: 1.5; color: var(--hp-ink); letter-spacing: -.3px; }
.hp-sub { margin: 6px 0 0; font-size: .95rem; line-height: 1.9; color: var(--hp-muted); }
.hp-sub a { color: var(--hp-green); font-weight: 700; }
.hp-section { padding: 72px 0 0; }
.hp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.hp-head.is-center { justify-content: center; text-align: center; }
.hp-head-tools { display: flex; align-items: center; gap: 16px; flex: none; }
.hp-more { display: inline-flex; align-items: center; gap: 8px; flex: none; color: var(--hp-green); font-size: .9rem; font-weight: 800; }
.hp-more:hover { color: var(--hp-deep); }
.hp-empty { padding: 24px; border-radius: var(--hp-radius); background: var(--hp-soft); text-align: center; }

/* ۱. بالای صفحه: اسلایدر رنگی. همه‌ی اسلایدها هم‌قد بلندترین‌اند (flex stretch)، پس بدون JS هم چیدمان نمی‌پرد. */
.hp-hero { padding: calc(var(--hp-nav) + 24px) 0 8px; }
.hp-slider { position: relative; }
.hp-slides { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 32px; box-shadow: 0 30px 60px -36px rgba(10, 40, 25, .55); outline: none; }
.hp-slides::-webkit-scrollbar { display: none; }
.hp-slides:focus-visible { box-shadow: 0 0 0 3px rgba(18, 150, 90, .35), 0 30px 60px -36px rgba(10, 40, 25, .55); }
.hp-slide { --hp-accent: var(--hp-green); position: relative; flex: 0 0 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 44px; align-items: center; min-height: 460px; padding: 44px 52px; overflow: hidden; isolation: isolate; scroll-snap-align: start; color: #fff; }
/* بافت نقطه‌ای + دایره‌ی نور پشت تصویر، روی همه‌ی اسلایدها */
.hp-slide::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .1) 1.2px, transparent 1.3px); background-size: 22px 22px; mask-image: linear-gradient(90deg, #000, transparent 65%); -webkit-mask-image: linear-gradient(90deg, #000, transparent 65%); }
.hp-slide::after { content: ''; position: absolute; z-index: -1; width: 560px; height: 560px; left: -120px; top: 50%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 68%); transform: translateY(-50%); }
.hp-slide-copy { position: relative; min-width: 0; }
.hp-slide-art { position: relative; min-width: 0; align-self: stretch; display: flex; align-items: center; justify-content: center; }
.hp-title { margin: 16px 0 0; font-size: 2.75rem; font-weight: 900; line-height: 1.35; color: #fff; letter-spacing: -.6px; }
.hp-title span { display: block; margin-top: 6px; font-size: .56em; font-weight: 800; color: var(--hp-sun); letter-spacing: 0; }
.hp-lead { max-width: 30em; margin: 16px 0 0; font-size: 1.04rem; line-height: 2; color: rgba(255, 255, 255, .9); }
.hp-slide-title { margin: 16px 0 0; font-size: 2.6rem; font-weight: 900; line-height: 1.35; letter-spacing: -.6px; color: #fff; }
.hp-slide-text { max-width: 28em; margin: 12px 0 0; font-size: 1.04rem; line-height: 2; color: rgba(255, 255, 255, .9); }
.hp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hp-slide-ticks { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 22px 0 0; padding: 0; list-style: none; }
.hp-slide-ticks li { display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 700; }
.hp-slide-ticks a { color: inherit; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .45); }
.hp-slide-logo { display: block; width: 190px; height: auto; }
/* برچسب برند (لوگو + نام) بالای عنوان اسلایدهای فروشگاه */
.hp-brand-tag { display: inline-flex; align-items: center; gap: 10px; padding: 5px 16px 5px 6px; border-radius: 99px; background: #fff; color: var(--hp-accent); font-size: .84rem; font-weight: 900; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .5); }
.hp-brand-tag img { width: 28px; height: 28px; border-radius: 9px; }

/* تصویر اسلاید: قاب گرد با نسبت ثابت؛ در موبایل همه‌ی ارتفاع آزاد را می‌گیرد */
.hp-art-photo { position: relative; display: block; width: 100%; aspect-ratio: 1500 / 1120; overflow: hidden; border-radius: 26px; background: rgba(255, 255, 255, .12); box-shadow: 0 30px 50px -28px rgba(0, 0, 0, .6); }
.hp-art-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hp-art-badge { position: absolute; bottom: 14px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 99px; background: rgba(255, 255, 255, .96); color: var(--hp-ink); font-size: .82rem; font-weight: 800; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .4); }
.hp-art-badge img { width: auto; height: 22px; border-radius: 6px; }
.hp-art-badge img[src$="digikala.svg"] { height: 14px; border-radius: 0; }
.hp-sticker { position: absolute; top: 16px; inset-inline-start: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 14px; background: var(--hp-sun); color: var(--hp-ink); font-size: .82rem; font-weight: 900; box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .55); transform: rotate(-4deg); }

/* اسلاید ۱: برند (سبز زنده + نور طلایی) */
.hp-slide.is-brand { background: radial-gradient(70% 90% at 100% 0%, rgba(255, 210, 63, .32), transparent 60%), linear-gradient(135deg, #10a35f 0%, #0b7d4c 55%, #075a39 100%); }
.hp-also { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .18); }
.hp-also > span { margin-inline-end: 4px; font-size: .8rem; font-weight: 700; color: rgba(255, 255, 255, .78); }
.hp-also-logo { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 12px; background: #fff; box-shadow: 0 10px 20px -14px rgba(0, 0, 0, .6); transition: transform .2s; }
.hp-also-logo:hover { transform: translateY(-2px); }
.hp-also-logo img { width: auto; height: 22px; border-radius: 6px; }
.hp-also-logo img[src$="digikala.svg"] { height: 15px; border-radius: 0; }
.hp-also-logo b { font-size: .84rem; font-weight: 900; }
.hp-also-logo b.is-snapp { color: var(--hp-ss); }
.hp-also-logo b.is-dp { color: var(--hp-dp); }
.hp-slide.is-brand .hp-slide-art { align-items: center; }

/* کارت شناور پرفروش‌ترین روی تصویر اسلاید اول */
.hp-spot.is-float { position: absolute; bottom: -6px; inset-inline-end: -14px; z-index: 2; width: min(330px, 80%); border: 0; box-shadow: 0 26px 50px -22px rgba(0, 0, 0, .55); animation: hp-float 6s ease-in-out infinite; }
@keyframes hp-float { 50% { transform: translateY(-6px); } }

/* اسلاید ۲: همه‌جا (بنفش) با کاشی لوگوی رسمی فروشگاه‌ها */
.hp-slide.is-stores { --hp-accent: var(--hp-grape); background: radial-gradient(80% 100% at 0% 100%, rgba(255, 106, 61, .35), transparent 60%), linear-gradient(135deg, #7446f0 0%, #5a2fd6 50%, #3d1aa8 100%); }
.hp-stores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; max-width: 500px; margin: 0; padding: 0; list-style: none; }
.hp-stores li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.hp-store { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 118px; padding: 20px; border-radius: 20px; background: #fff; color: var(--hp-ink); box-shadow: 0 18px 32px -20px rgba(0, 0, 0, .6); transition: transform .2s, box-shadow .2s; }
.hp-store:hover { color: var(--hp-ink); transform: translateY(-4px) rotate(-1deg); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .65); }
.hp-store b { font-size: 1.3rem; font-weight: 900; line-height: 1.4; }
.hp-store > span:not(.hp-store-brand) { font-size: .8rem; font-weight: 700; color: var(--hp-muted); }
.hp-store > i { position: absolute; top: 18px; inset-inline-end: 18px; font-size: .8rem; color: var(--hp-muted); }
.hp-store-logo { display: block; width: 140px; height: auto; margin-top: 6px; }
.hp-store-brand { display: inline-flex; align-items: center; gap: 10px; }
.hp-store-brand img { width: 34px; height: 34px; border-radius: 10px; }
.hp-store.is-snappshop .hp-store-brand b { color: var(--hp-ss); }
.hp-store.is-digipay .hp-store-brand b { color: var(--hp-dp); }
.hp-store.is-digikala { box-shadow: inset 0 -4px 0 var(--hp-dk), 0 18px 32px -20px rgba(0, 0, 0, .6); }
.hp-store.is-snappshop { box-shadow: inset 0 -4px 0 var(--hp-ss), 0 18px 32px -20px rgba(0, 0, 0, .6); }
.hp-store.is-digipay { box-shadow: inset 0 -4px 0 var(--hp-dp), 0 18px 32px -20px rgba(0, 0, 0, .6); }
.hp-store.is-home { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); }
.hp-store.is-home:hover { color: #fff; }
.hp-store.is-home b { direction: ltr; text-align: end; font-size: 1.15rem; }
.hp-store.is-home > span, .hp-store.is-home > i { color: rgba(255, 255, 255, .82); }

/* اسلاید ۳: دیجی‌پی (آبی برند دیجی‌پی) */
.hp-slide.is-digipay { --hp-accent: var(--hp-dp); background: radial-gradient(70% 90% at 0% 0%, rgba(26, 155, 232, .45), transparent 60%), linear-gradient(135deg, #3445ff 0%, #1f2ff0 45%, #121db0 100%); }
.hp-plan { width: 100%; max-width: 440px; padding: 22px; border-radius: 24px; background: #fff; color: var(--hp-ink); box-shadow: 0 30px 50px -28px rgba(0, 0, 20, .7); transform: rotate(-2deg); }
.hp-plan-head { display: flex; align-items: center; gap: 14px; }
.hp-plan-head img { width: 56px; height: 56px; object-fit: contain; padding: 4px; border-radius: 14px; box-shadow: inset 0 0 0 1px #eceefe; }
.hp-plan-head b { display: block; font-size: 1.05rem; font-weight: 900; }
.hp-plan-head span { font-size: .8rem; color: var(--hp-muted); }
.hp-plan-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.hp-plan-steps li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; color: var(--hp-muted); text-align: center; }
.hp-plan-steps span { display: flex; align-items: center; justify-content: center; width: 100%; height: 54px; border-radius: 14px; background: #eef0ff; color: var(--hp-dp); font-size: 1rem; font-weight: 900; }
.hp-plan-steps li.is-now { color: var(--hp-dp); }
.hp-plan-steps li.is-now span { background: var(--hp-dp); color: #fff; }
.hp-plan-note { display: flex; align-items: flex-start; gap: 8px; margin: 18px 0 0; padding-top: 14px; border-top: 1px dashed #dfe2f5; font-size: .8rem; line-height: 1.9; color: var(--hp-ink-2); }
.hp-plan-note i { margin-top: 5px; color: var(--hp-dp); }

/* اسلاید ۴ و ۵: اسنپ‌شاپ (سرخابی برند) و دیجی‌کالا (قرمز برند) */
.hp-slide.is-snapp { --hp-accent: var(--hp-ss); background: radial-gradient(70% 90% at 0% 100%, rgba(255, 106, 61, .4), transparent 60%), linear-gradient(135deg, #d01fcb 0%, #b400ae 45%, #7d0aa0 100%); }
.hp-slide.is-digikala { --hp-accent: var(--hp-dk); background: radial-gradient(70% 90% at 100% 0%, rgba(255, 210, 63, .3), transparent 60%), linear-gradient(135deg, #ff3b60 0%, #ed1944 45%, #b80d34 100%); }

/* اسلاید ۶: پرداخت درب منزل (نارنجی) */
.hp-slide.is-cod { --hp-accent: #e8590c; background: radial-gradient(70% 90% at 100% 100%, rgba(255, 210, 63, .45), transparent 60%), linear-gradient(135deg, #ff9a1f 0%, #ff6a3d 55%, #e4462a 100%); }
.hp-cod { display: flex; align-items: center; gap: 28px; width: 100%; max-width: 460px; }
.hp-cod-ico { display: flex; flex: none; align-items: center; justify-content: center; width: 132px; height: 132px; border-radius: 36px; background: #fff; color: #e8590c; font-size: 3.4rem; box-shadow: 0 24px 40px -22px rgba(120, 30, 0, .8); transform: rotate(-6deg); }
.hp-cod ol { display: flex; flex-direction: column; gap: 10px; flex: 1; margin: 0; padding: 0; list-style: none; }
.hp-cod li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: #fff; color: var(--hp-ink); font-size: .92rem; font-weight: 800; box-shadow: 0 12px 26px -20px rgba(80, 20, 0, .6); }
.hp-cod li i { color: #e8590c; width: 18px; text-align: center; }
.hp-cod li:last-child { background: var(--hp-ink); color: #fff; }
.hp-cod li:last-child i { color: var(--hp-sun); }

/* ناوبری اسلایدر: در دسکتاپ زبانه‌های نام‌دار با نوار پیشرفت، در موبایل نقطه؛ زیر قاب تا روی متن بنر نیاید */
.hp-slider-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; }
.hp-slider-arrow { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 42px; height: 42px; border: 1px solid var(--hp-line); border-radius: 50%; background: #fff; color: var(--hp-ink); font-size: .85rem; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.hp-slider-arrow:hover { border-color: var(--hp-ink); background: var(--hp-ink); color: #fff; }
.hp-dots { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 99px; background: #f2f4f2; }
.hp-dot { --dot: var(--hp-green); position: relative; display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border: 0; border-radius: 99px; background: transparent; color: var(--hp-muted); font-family: inherit; font-size: .82rem; font-weight: 800; white-space: nowrap; cursor: pointer; overflow: hidden; transition: background .25s, color .25s, box-shadow .25s; }
.hp-dot:hover { color: var(--hp-ink); }
.hp-dot.is-stores { --dot: var(--hp-grape); }
.hp-dot.is-digipay { --dot: var(--hp-dp); }
.hp-dot.is-snappshop { --dot: var(--hp-ss); }
.hp-dot.is-digikala { --dot: var(--hp-dk); }
.hp-dot.is-cod { --dot: var(--hp-coral); }
.hp-dot[aria-current="true"] { background: #fff; color: var(--dot); box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .4); }
.hp-dot::after { content: ''; position: absolute; inset-inline: 14px; bottom: 5px; height: 3px; border-radius: 3px; background: var(--dot); transform: scaleX(0); transform-origin: right; }
.hp-dot[aria-current="true"]::after { transform: scaleX(1); }
.hp-slider.is-playing .hp-dot[aria-current="true"]::after { animation: hp-dot-fill var(--hp-slide-ms, 6500ms) linear forwards; }
.hp-slider.is-paused .hp-dot[aria-current="true"]::after { animation-play-state: paused; }
@keyframes hp-dot-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* کارت پیشنهاد (روی اسلاید اول و دعوت پایانی) */
.hp-spot { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; background: #fff; border: 1px solid var(--hp-line); border-radius: 20px; box-shadow: var(--hp-shadow); color: var(--hp-ink); }
.hp-spot-media img { display: block; width: 96px; height: 96px; object-fit: cover; border-radius: 14px; background: var(--hp-cream); }
.hp-spot-body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.hp-spot-badge { padding: 2px 10px; border-radius: 99px; background: var(--hp-sun); color: var(--hp-ink); font-size: .72rem; font-weight: 900; line-height: 1.8; }
.hp-spot-title { display: block; max-width: 100%; color: var(--hp-ink); font-size: .95rem; font-weight: 800; line-height: 1.6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-spot-title:hover { color: var(--hp-green); }
.hp-spot-text { margin: 0; font-size: .8rem; line-height: 1.8; color: var(--hp-muted); }
.hp-spot-perks { display: flex; flex-wrap: wrap; gap: 2px 12px; margin: 0; padding: 0; list-style: none; font-size: .78rem; font-weight: 600; color: var(--hp-ink-2); }
.hp-spot-perks i { color: var(--hp-green); font-size: .7rem; }
.hp-spot-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; width: 100%; margin-top: 4px; }

.hp-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.hp-price b { font-size: 1.05rem; font-weight: 900; color: var(--hp-ink); }
.hp-price small { font-size: .74rem; color: var(--hp-muted); }
.hp-price del { font-size: .78rem; color: var(--hp-muted); }

/* ۲. نوار متحرک اعتماد (زرد). نسخه‌ی دوم فهرست حلقه را بی‌درز می‌کند؛ با reduced-motion ثابت و قابل اسکرول است. */
.hp-ticker { margin-top: 32px; padding: 14px 0; overflow: hidden; background: var(--hp-sun); box-shadow: 0 14px 30px -24px rgba(120, 90, 0, .8); }
.hp-ticker-track { display: flex; width: max-content; animation: hp-ticker 48s linear infinite; }
.hp-ticker:hover .hp-ticker-track { animation-play-state: paused; }
.hp-ticker-list { display: flex; flex: none; align-items: center; margin: 0; padding: 0; list-style: none; }
.hp-ticker-list li { display: inline-flex; align-items: center; gap: 8px; padding-inline: 22px; font-size: .9rem; font-weight: 800; color: var(--hp-ink); white-space: nowrap; }
.hp-ticker-list li::after { content: ''; width: 7px; height: 7px; margin-inline-start: 30px; border-radius: 50%; background: var(--hp-ink); opacity: .35; }
.hp-ticker-list li i { color: var(--hp-deep); }
.hp-ticker-list img { width: auto; height: 22px; border-radius: 6px; }
.hp-ticker-list img[src$="digikala.svg"] { height: 14px; border-radius: 0; }
/* RTL: محتوای بعدی سمت چپ است، پس نوار به راست حرکت می‌کند */
@keyframes hp-ticker { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* جایگاه‌های کمپین روی صفحه‌ی اصلی */
.hp-merch { padding-top: 56px; }
.hp-merch .rcm-feature, .hp-merch .rcm-row, .hp-merch .rcm-banner { margin: 0; }
.hp-merch .rcm-banner img { border-radius: var(--hp-radius); }
@media (min-width: 992px) {
    /* ردیف کمپین در عرض کامل: تیتر و مزیت‌ها کنار، کارت‌ها بزرگ‌تر؛ با دو محصول هم خالی به نظر نمی‌رسد */
    .hp-merch .rcm-row { display: grid; grid-template-columns: 260px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 10px 28px; align-items: start; padding: 24px; border-radius: var(--hp-radius); }
    .hp-merch .rcm-row-head { grid-column: 1; grid-row: 1; flex-direction: column-reverse; align-items: flex-start; gap: 10px; margin: 0; }
    .hp-merch .rcm-row-head .rcm-title { font-size: 1.25rem; line-height: 1.7; }
    .hp-merch .rcm-row > .rcm-perks { grid-column: 1; grid-row: 2; flex-direction: column; margin: 0; }
    .hp-merch .rcm-track { grid-column: 2; grid-row: 1 / 3; gap: 16px; padding-bottom: 4px; }
    .hp-merch .rcm-tile { flex: 0 0 200px; padding: 12px; }
    .hp-merch .rcm-tile img { height: 176px; }
}

/* اسلایدرهای افقی (برنج‌های منتخب، مقاله‌ها): اسکرول بومی با snap، کارت بعدی نیمه دیده می‌شود */
.hp-rail-track { --rail-gap: 20px; --rail-n: 4.3; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--rail-gap) * 3)) / var(--rail-n)); gap: var(--rail-gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 18px; margin: -6px -2px -18px; }
.hp-rail-track::-webkit-scrollbar { display: none; }
.hp-rail-track > * { scroll-snap-align: start; }
.hp-rail-nav { display: inline-flex; gap: 8px; }
.hp-rail-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--hp-line); border-radius: 50%; background: #fff; color: var(--hp-ink); font-size: .85rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s, opacity .2s; }
.hp-rail-btn:hover:not(:disabled) { background: var(--hp-ink); border-color: var(--hp-ink); color: #fff; }
.hp-rail-btn:disabled { opacity: .35; cursor: default; }
[data-hp-rail].is-static .hp-rail-nav { display: none; }

/* ۴. کارت محصول */
.hp-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--hp-line); border-radius: 22px; overflow: hidden; transition: box-shadow .25s, transform .25s, border-color .25s; }
.hp-card:hover { box-shadow: var(--hp-shadow); transform: translateY(-4px); border-color: transparent; }
.hp-card-media { position: relative; display: block; aspect-ratio: 1; background: var(--hp-cream); }
.hp-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* گوشه‌ی چپ: گوشه‌ی راست عکس‌های محصول برچسب‌های خودشان را دارند */
.hp-card-flags { position: absolute; top: 12px; inset-inline-end: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.hp-flag { padding: 3px 10px; border-radius: 99px; font-size: .72rem; font-weight: 900; line-height: 1.7; }
.hp-flag.is-best { background: var(--hp-sun); color: var(--hp-ink); }
.hp-flag.is-off { background: var(--hp-coral); color: #fff; }
.hp-card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; flex: 1; padding: 16px 16px 12px; }
.hp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hp-chip { padding: 2px 10px; border-radius: 8px; background: var(--hp-gold-soft); color: var(--hp-gold); font-size: .74rem; font-weight: 800; line-height: 1.8; }
.hp-chip.is-sizes { background: #e3f3fd; color: #0f74b3; }
.hp-card-title { color: var(--hp-ink); font-size: .95rem; font-weight: 800; line-height: 1.7; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 3.4em; }
.hp-card-title:hover { color: var(--hp-green); }
.hp-card .hp-price { margin-top: auto; }
.hp-per-kg { font-size: .74rem; color: var(--hp-muted); }
.hp-add { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; margin: 0 16px 16px; border: 0; border-radius: 14px; background: var(--hp-soft); color: var(--hp-deep); font-family: inherit; font-size: .86rem; font-weight: 800; cursor: pointer; transition: background .2s, color .2s; }
.hp-add:hover, .hp-card:hover .hp-add { background: var(--hp-green); color: #fff; }
.hp-add:disabled { opacity: .7; cursor: wait; }
/* کارت آخر اسلایدر: رفتن به فروشگاه */
.hp-card-all { justify-content: center; align-items: flex-start; gap: 10px; padding: 26px; border: 0; background: linear-gradient(150deg, #12965a 0%, #0b6b42 100%); color: #fff; }
.hp-card-all:hover { color: #fff; }
.hp-card-all-ico { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 18px; background: var(--hp-sun); color: var(--hp-ink); font-size: 1.2rem; transition: transform .25s; }
.hp-card-all:hover .hp-card-all-ico { transform: translateX(-6px); }
.hp-card-all b { font-size: 1.15rem; font-weight: 900; line-height: 1.6; }
.hp-card-all > span:last-child { font-size: .84rem; color: rgba(255, 255, 255, .82); }

/* ۴ب. انواع برنج: کاشی‌های رنگی */
.hp-kinds { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.hp-kind { --k-bg: var(--hp-green); --k-ink: #fff; position: relative; display: flex; align-items: center; min-height: 168px; padding: 24px; overflow: hidden; border-radius: 26px; background: var(--k-bg); color: var(--k-ink); transition: transform .25s, box-shadow .25s; isolation: isolate; }
.hp-kind::before { content: ''; position: absolute; z-index: -1; width: 220px; height: 220px; left: -50px; bottom: -80px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.hp-kind:hover { color: var(--k-ink); transform: translateY(-4px); box-shadow: 0 24px 40px -26px rgba(0, 0, 0, .55); }
.hp-kind.is-c0 { --k-bg: linear-gradient(135deg, #14a463, #0b6b42); }
.hp-kind.is-c1 { --k-bg: linear-gradient(135deg, #ffd23f, #ffb31f); --k-ink: var(--hp-ink); }
.hp-kind.is-c2 { --k-bg: linear-gradient(135deg, #ff8a5c, #f2542d); }
.hp-kind.is-c3 { --k-bg: linear-gradient(135deg, #36b3f5, #1477d1); }
.hp-kind.is-c4 { --k-bg: linear-gradient(135deg, #8a63f5, #5a2fd6); }
.hp-kind-copy { position: relative; display: flex; flex-direction: column; gap: 4px; max-width: 58%; }
.hp-kind-copy b { font-size: 1.2rem; font-weight: 900; line-height: 1.6; }
.hp-kind-copy small { font-size: .8rem; font-weight: 700; opacity: .85; }
.hp-kind-copy em { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-style: normal; font-size: .84rem; font-weight: 800; }
.hp-kind img { position: absolute; left: 16px; top: 50%; width: 128px; height: 128px; object-fit: cover; border-radius: 50%; border: 5px solid rgba(255, 255, 255, .85); box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .55); transform: translateY(-50%) rotate(-6deg); transition: transform .3s; }
.hp-kind:hover img { transform: translateY(-50%) rotate(0) scale(1.05); }

/* ۵. اثبات */
.hp-proof { margin-top: 72px; padding: 64px 0; background: var(--hp-cream); }
.hp-proof-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.hp-doc { position: relative; display: block; padding: 14px; background: #fff; border-radius: 22px; box-shadow: var(--hp-shadow); transform: rotate(-1.5deg); transition: transform .3s; }
.hp-doc:hover { transform: rotate(0); }
.hp-doc img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 12px; }
.hp-doc-zoom { position: absolute; bottom: 26px; inset-inline-end: 26px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; background: rgba(23, 35, 27, .85); color: #fff; font-size: .8rem; font-weight: 700; }
.hp-proof-copy .hp-h2 { margin-top: 14px; }
.hp-steps { margin: 24px 0 0; padding: 0; list-style: none; counter-reset: step; }
.hp-steps li { position: relative; padding: 0 58px 22px 0; counter-increment: step; }
.hp-steps li::before { content: counter(step); position: absolute; top: 0; right: 0; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; border: 1px solid var(--hp-line); color: var(--hp-green); font-weight: 900; }
.hp-steps li:not(:last-child)::after { content: ''; position: absolute; top: 46px; bottom: 6px; right: 19px; width: 2px; background: var(--hp-line); }
.hp-steps b { display: block; font-size: 1rem; font-weight: 800; line-height: 1.8; }
.hp-steps span { display: block; font-size: .9rem; line-height: 1.95; color: var(--hp-ink-2); }

/* ۷. روش‌های خرید: هر کارت رنگ خودش */
.hp-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.hp-service { --s: var(--hp-green); --s-soft: var(--hp-soft); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px; background: #fff; border: 1px solid var(--hp-line); border-radius: 22px; color: var(--hp-ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
.hp-service:hover { border-color: transparent; box-shadow: 0 22px 40px -26px var(--s); color: var(--hp-ink); transform: translateY(-3px); }
.hp-service.is-c1 { --s: var(--hp-green); --s-soft: var(--hp-soft); }
.hp-service.is-c2 { --s: var(--hp-coral); --s-soft: #fff0ea; }
.hp-service.is-c3 { --s: var(--hp-sky); --s-soft: #e3f3fd; }
.hp-service.is-c4 { --s: var(--hp-dp); --s-soft: #eceeff; }
.hp-service .hp-ico { margin-bottom: 6px; background: var(--s-soft); color: var(--s); }
.hp-service b { font-size: 1rem; font-weight: 900; }
.hp-service > span:not(.hp-ico) { flex: 1; font-size: .86rem; line-height: 1.9; color: var(--hp-muted); }
.hp-service em { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: .84rem; font-weight: 800; color: var(--s); }
.hp-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; border-radius: 15px; background: var(--hp-soft); color: var(--hp-green); font-size: 1.15rem; }

/* ۸. نظرها */
.hp-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hp-reviews.is-1 { grid-template-columns: minmax(0, 720px); justify-content: center; }
.hp-reviews.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hp-review { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 28px; background: var(--hp-cream); border-radius: var(--hp-radius); }
.hp-reviews.is-1 .hp-review { align-items: center; text-align: center; padding: 36px; }
.hp-stars { color: #f0a500; font-size: .9rem; letter-spacing: 2px; }
.hp-review blockquote { flex: 1; margin: 0; font-size: 1rem; line-height: 2.1; color: var(--hp-ink); }
.hp-reviews.is-1 .hp-review blockquote { font-size: 1.15rem; }
.hp-review figcaption { font-size: .82rem; color: var(--hp-muted); }
.hp-review figcaption b { color: var(--hp-ink); }
.hp-review figcaption a { color: var(--hp-green); }

/* ۹. سؤالات: کارت رنگی تماس (چسبان) کنار پرسش‌های کارتی */
.hp-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.hp-faq-card { position: sticky; top: 110px; overflow: hidden; padding: 34px 30px; border-radius: 28px; color: #fff; background: radial-gradient(circle at 15% 0%, rgba(255, 210, 63, .35), transparent 45%), linear-gradient(150deg, var(--hp-green), var(--hp-deep)); box-shadow: 0 30px 60px -36px rgba(11, 107, 66, .9); }
.hp-faq-card::after { content: '?'; position: absolute; left: -10px; bottom: -70px; font-size: 15rem; font-weight: 900; line-height: 1; color: rgba(255, 255, 255, .08); pointer-events: none; }
.hp-faq-badge { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 18px; background: var(--hp-sun); color: var(--hp-ink); font-size: 1.4rem; transform: rotate(-6deg); box-shadow: 0 14px 26px -14px rgba(0, 0, 0, .6); }
.hp-faq-card .hp-h2 { margin: 18px 0 10px; color: #fff; }
.hp-faq-card p { margin: 0; font-size: .95rem; line-height: 2; color: rgba(255, 255, 255, .88); }
.hp-faq-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hp-faq-actions .hp-btn.is-light { color: var(--hp-deep); }
.hp-faq-perks { position: relative; z-index: 1; display: grid; gap: 10px; margin: 26px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px dashed rgba(255, 255, 255, .3); }
.hp-faq-perks li { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 700; }
.hp-faq-perks i { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 10px; background: rgba(255, 255, 255, .14); color: var(--hp-sun); font-size: .8rem; }
.hp-faq { display: grid; gap: 12px; }
.hp-faq details { border: 1px solid transparent; border-radius: 20px; background: var(--hp-cream); transition: background .25s, border-color .25s, box-shadow .25s; }
.hp-faq details:hover { border-color: var(--hp-line); }
.hp-faq details[open] { background: #fff; border-color: rgba(18, 150, 90, .35); box-shadow: 0 22px 40px -30px rgba(11, 107, 66, .55); }
.hp-faq summary { display: flex; align-items: center; gap: 14px; padding: 18px 20px; font-size: 1rem; font-weight: 800; line-height: 1.8; cursor: pointer; list-style: none; }
.hp-faq summary::-webkit-details-marker { display: none; }
.hp-faq-n { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 12px; background: #fff; color: var(--hp-green); font-size: .85rem; font-weight: 900; transition: background .25s, color .25s; }
.hp-faq details[open] .hp-faq-n { background: var(--hp-sun); color: var(--hp-ink); }
.hp-faq-q { flex: 1; min-width: 0; }
.hp-faq summary i { flex: none; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--hp-green); font-size: .8rem; transition: transform .25s, background .25s, color .25s; }
.hp-faq details[open] summary i { transform: rotate(45deg); background: var(--hp-green); color: #fff; }
.hp-faq details p { margin: 0; padding: 0 68px 20px 20px; font-size: .92rem; line-height: 2.05; color: var(--hp-ink-2); }

/* ۱۰. مقاله‌ها (اسلایدر) */
.hp-posts { --rail-n: 3.25; }
.hp-post { display: flex; flex-direction: column; gap: 10px; min-width: 0; color: var(--hp-ink); }
.hp-post img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 18px; background: var(--hp-cream); transition: transform .3s; }
.hp-post:hover img { transform: scale(1.02); }
.hp-post b { font-size: .98rem; font-weight: 800; line-height: 1.8; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.hp-post:hover b { color: var(--hp-green); }
.hp-post span { font-size: .82rem; font-weight: 800; color: var(--hp-sky); }

/* ۱۱. دعوت پایانی */
.hp-end { padding: 72px 0 40px; }
.hp-end-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 40px; align-items: center; padding: 40px 48px; border-radius: 32px; background: radial-gradient(70% 120% at 100% 0%, rgba(255, 210, 63, .3), transparent 60%), linear-gradient(135deg, #10a35f 0%, #0b6b42 100%); color: #fff; }
.hp-end-band .hp-h2 { color: #fff; }
.hp-end-copy p { margin: 10px 0 0; font-size: 1rem; line-height: 2; color: rgba(255, 255, 255, .86); }
.hp-spot.is-end { box-shadow: none; border-color: transparent; }
.hp-end-banner img { display: block; width: 100%; height: auto; border-radius: 28px; }

/* برگه‌ی آزمایش */
.hp-lab { width: min(760px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 16px; border: 0; border-radius: 20px; background: #fff; }
.hp-lab::backdrop { background: rgba(10, 20, 14, .7); }
.hp-lab img { display: block; width: 100%; height: auto; border-radius: 10px; }
.hp-lab p { margin: 12px 4px 0; font-size: .82rem; line-height: 1.9; color: var(--hp-muted); }
.hp-lab-close { position: sticky; top: 0; float: left; z-index: 1; width: 40px; height: 40px; margin: -4px -4px 8px 0; border: 0; border-radius: 12px; background: var(--hp-soft); color: var(--hp-ink); font-size: 1rem; cursor: pointer; }

/* تبلت */
@media (max-width: 1199.98px) {
    .hp-title, .hp-slide-title { font-size: 2.2rem; }
    .hp-slide { gap: 30px; padding: 38px; }
    .hp-spot.is-float { inset-inline-end: -8px; }
    .hp-proof-grid { gap: 36px; }
    .hp-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hp-rail-track { --rail-n: 3.3; }
    .hp-posts { --rail-n: 2.4; }
}
@media (max-width: 991.98px) {
    .hp-hero { padding-top: calc(var(--hp-nav) + 14px); }
    /* تبلت و موبایل: تصویر بالا، متن پایین؛ تصویر فضای آزاد اسلاید را پر می‌کند تا اسلایدهای کوتاه‌تر خالی نمانند */
    .hp-slide { display: flex; flex-direction: column-reverse; justify-content: flex-end; align-items: stretch; gap: 22px; min-height: 0; padding: 18px 18px 28px; }
    .hp-slide::after { width: 420px; height: 420px; left: 50%; top: 0; transform: translate(-50%, -40%); }
    .hp-slide-copy { text-align: center; }
    .hp-slide-art { flex: 1 0 auto; min-height: 240px; }
    .hp-slide.is-stores, .hp-slide.is-digipay, .hp-slide.is-cod { justify-content: center; }
    .hp-slide.is-stores .hp-slide-art, .hp-slide.is-digipay .hp-slide-art, .hp-slide.is-cod .hp-slide-art { flex: 0 0 auto; min-height: 0; }
    .hp-art-photo { aspect-ratio: auto; height: 100%; min-height: 240px; position: absolute; inset: 0; }
    .hp-lead, .hp-slide-text { margin-inline: auto; }
    .hp-actions, .hp-slide-ticks, .hp-also { justify-content: center; }
    .hp-slide-logo { margin: 0 auto; }
    .hp-spot.is-float { bottom: 12px; inset-inline: 12px; width: auto; animation: none; }
    .hp-proof-grid { grid-template-columns: minmax(0, 1fr); }
    .hp-doc { max-width: 420px; margin: 0 auto; }
    .hp-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .hp-faq-card { position: relative; top: auto; padding: 26px 22px; }
    .hp-faq-perks { grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px 18px; }
    .hp-reviews, .hp-reviews.is-2 { grid-template-columns: minmax(0, 1fr); }
    .hp-end-band { grid-template-columns: minmax(0, 1fr); padding: 32px; }
}

/* موبایل */
@media (max-width: 767.98px) {
    .hp-section { padding-top: 52px; }
    .hp-h2 { font-size: 1.38rem; }
    .hp-sub { font-size: .88rem; }
    .hp-head { align-items: flex-end; gap: 12px; margin-bottom: 18px; }
    .hp-head.is-center { align-items: center; }
    .hp-head-tools .hp-more { display: none; }
    .hp-title, .hp-slide-title { font-size: 1.62rem; margin-top: 12px; }
    .hp-lead, .hp-slide-text { font-size: .92rem; line-height: 1.95; margin-top: 8px; }
    .hp-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
    .hp-actions:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
    .hp-actions .hp-btn { width: 100%; padding: 0 12px; font-size: .86rem; min-height: 48px; }
    .hp-slides { border-radius: 24px; margin-inline: -4px; }
    .hp-slide { padding: 12px 12px 22px; gap: 16px; }
    .hp-slide-copy { padding-inline: 6px; }
    .hp-slide-art { min-height: 250px; }
    .hp-art-photo { min-height: 250px; border-radius: 18px; }
    .hp-sticker { top: 10px; inset-inline-start: 10px; padding: 6px 10px; font-size: .74rem; }
    .hp-eyebrow { font-size: .74rem; padding: 5px 12px; }
    .hp-brand-tag { font-size: .76rem; }
    .hp-slide-logo { width: 150px; }
    .hp-also { margin-top: 16px; padding-top: 14px; gap: 6px; }
    .hp-also > span { flex-basis: 100%; margin: 0; }
    .hp-also-logo { height: 36px; padding: 0 10px; }
    .hp-slide-ticks { gap: 6px 14px; margin-top: 14px; justify-content: center; }
    .hp-slide-ticks li { font-size: .78rem; }
    .hp-spot.is-float { grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 10px; border-radius: 16px; }
    .hp-spot.is-float .hp-spot-media img { width: 64px; height: 64px; border-radius: 12px; }
    .hp-spot.is-float .hp-spot-title { font-size: .84rem; }
    /* موبایل: کارت شناور فشرده و بدون دکمه تا عکس دیده شود؛ نام و تصویرش لینک محصول‌اند */
    .hp-spot.is-float { inset-inline: auto 10px; bottom: 10px; width: min(250px, 72%); grid-template-columns: 52px minmax(0, 1fr); padding: 8px; }
    .hp-spot.is-float .hp-spot-media img { width: 52px; height: 52px; }
    .hp-spot.is-float .hp-spot-foot .hp-btn { display: none; }
    .hp-spot.is-float .hp-spot-badge { font-size: .66rem; padding: 0 8px; }
    .hp-spot.is-float .hp-price b { font-size: .86rem; }
    .hp-spot.is-float .hp-price del { display: none; }
    .hp-stores { gap: 8px; max-width: none; }
    .hp-store { min-height: 0; padding: 12px 14px; gap: 6px; border-radius: 16px; }
    .hp-store b { font-size: 1rem; }
    .hp-store-logo { width: 104px; }
    .hp-store-brand img { width: 26px; height: 26px; border-radius: 8px; }
    .hp-store > span:not(.hp-store-brand) { font-size: .72rem; }
    .hp-store > i { top: 12px; inset-inline-end: 12px; font-size: .7rem; }
    .hp-plan { padding: 14px; transform: none; border-radius: 18px; }
    .hp-plan-head img { width: 44px; height: 44px; border-radius: 12px; }
    .hp-plan-head b { font-size: .92rem; }
    .hp-plan-steps { margin-top: 12px; gap: 6px; }
    .hp-plan-steps span { height: 40px; font-size: .9rem; border-radius: 10px; }
    .hp-plan-steps li { font-size: .66rem; gap: 6px; }
    .hp-plan-note { margin-top: 12px; padding-top: 10px; font-size: .72rem; }
    .hp-cod { gap: 16px; max-width: 360px; }
    .hp-cod-ico { width: 84px; height: 84px; border-radius: 24px; font-size: 2.1rem; }
    .hp-cod li { padding: 10px 12px; font-size: .8rem; border-radius: 12px; }
    /* موبایل: نقطه به‌جای زبانه‌ی نام‌دار */
    .hp-slider-nav { margin-top: 12px; }
    .hp-slider-arrow { width: 36px; height: 36px; }
    .hp-dots { gap: 6px; padding: 0; background: none; }
    .hp-dot { width: 10px; height: 10px; padding: 0; background: #d5ddd7; transition: width .3s, background .3s; }
    .hp-dot::before { content: ''; position: absolute; inset: -12px -4px; }
    .hp-dot span { display: none; }
    .hp-dot[aria-current="true"] { width: 34px; background: #e3e8e4; box-shadow: none; }
    .hp-dot::after { inset: 0; height: auto; bottom: 0; border-radius: inherit; }
    .hp-ticker { margin-top: 24px; padding: 11px 0; }
    .hp-ticker-list li { font-size: .82rem; padding-inline: 16px; }
    .hp-ticker-list li::after { margin-inline-start: 22px; }
    .hp-merch { padding-top: 40px; }
    .hp-rail-track { --rail-gap: 12px; grid-auto-columns: 46%; }
    .hp-card { border-radius: 18px; }
    .hp-card-body { padding: 12px 12px 10px; gap: 4px; }
    .hp-card-title { font-size: .86rem; }
    .hp-card-flags { top: 8px; inset-inline-end: 8px; }
    .hp-card .hp-price del { flex-basis: 100%; }
    .hp-card-all { padding: 18px; }
    .hp-card-all b { font-size: 1rem; }
    .hp-flag { font-size: .66rem; padding: 2px 8px; }
    .hp-price b { font-size: .95rem; }
    .hp-add { min-height: 42px; margin: 0 10px 10px; font-size: .78rem; gap: 6px; }
    /* انواع برنج در موبایل: اسلایدر افقی */
    .hp-kinds { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
    .hp-kinds::-webkit-scrollbar { display: none; }
    .hp-kind { min-height: 140px; padding: 20px; scroll-snap-align: start; border-radius: 22px; }
    .hp-kind img { width: 104px; height: 104px; }
    .hp-proof { margin-top: 52px; padding: 48px 0; }
    .hp-steps li { padding-right: 52px; }
    .hp-services { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .hp-service { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; padding: 16px; }
    .hp-service .hp-ico { grid-row: 1 / 4; margin: 0; width: 44px; height: 44px; }
    .hp-review { padding: 22px; }
    .hp-reviews.is-1 .hp-review { padding: 26px 20px; }
    .hp-reviews.is-1 .hp-review blockquote { font-size: 1rem; }
    .hp-faq summary { font-size: .92rem; padding: 14px 14px; gap: 10px; }
    .hp-faq-n { width: 30px; height: 30px; }
    .hp-faq details p { padding: 0 14px 16px; }
    .hp-faq-perks { grid-template-columns: minmax(0, 1fr); }
    .hp-faq-actions .hp-btn { flex: 1 1 auto; }
    .hp-posts { grid-auto-columns: 80%; }
    .hp-end { padding: 52px 0 32px; }
    .hp-end-band { padding: 24px 18px; border-radius: 24px; gap: 20px; }
    .hp-merch .rcm-feature, .hp-merch .rcm-row { margin-inline: 0; }
}
@media (max-width: 399.98px) {
    .hp-title, .hp-slide-title { font-size: 1.45rem; }
    .hp-actions .hp-btn { font-size: .8rem; }
    .hp-spot { grid-template-columns: 72px minmax(0, 1fr); gap: 10px; padding: 12px; }
    .hp-spot-media img { width: 72px; height: 72px; }
    .hp-spot-foot .hp-btn { width: 100%; }
    .hp-rail-track { grid-auto-columns: 58%; }
    .hp-card-body { padding: 10px 10px 8px; }
    .hp-add { margin: 0 8px 8px; }
    .hp-per-kg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hp-card, .hp-btn, .hp-doc, .hp-store, .hp-dot, .hp-kind, .hp-kind img, .hp-post img { transition: none; }
    .hp-slides, .hp-rail-track { scroll-behavior: auto; }
    .hp-spot.is-float { animation: none; }
    /* نوار متحرک ثابت می‌شود و با کشیدن اسکرول می‌خورد */
    .hp-ticker { overflow-x: auto; scrollbar-width: none; }
    .hp-ticker-track { animation: none; }
    .hp-ticker-list[aria-hidden] { display: none; }
}
