/* ==========================================================
   نقش‌دست — صفحه‌ی اصلی: دخترونه، گوگولی، سبک و مرتب
   فقط CSS؛ بدون کتابخانه و بدون انیمیشن سنگین
   ========================================================== */
:root{--lilac:#efe4ff;--peach:#ffe6d5;--mint:#dcf6ea;--sky:#dff0ff;--lemon:#fff3c9;--pink:#ffd9e6}

/* ---------- اسلایدر ---------- */
.hero{gap:18px}
.slider{border-radius:34px;min-height:400px;box-shadow:0 22px 50px -26px rgba(214,90,133,.55),0 0 0 6px #fff}
.slide{padding:44px clamp(26px,5vw,64px)}
.slide h1{font-weight:800;letter-spacing:-.2px}
.slide-tag{background:#fff;color:var(--accent-d);padding:4px 16px;box-shadow:0 4px 12px -4px rgba(214,90,133,.4)}
.slide-tag::before{content:"♡ ";color:var(--accent)}
.slide .btn{border-radius:999px;padding-inline:26px;box-shadow:0 12px 22px -10px rgba(214,90,133,.7)}
.slide-art{position:relative}
.slide-art::before{content:"";position:absolute;inset:6% 4% 2%;border-radius:50% 50% 46% 54%/56% 48% 52% 44%;background:rgba(255,255,255,.65);z-index:-1}
.slide-art img{transform:rotate(-3deg);filter:drop-shadow(0 18px 22px rgba(120,50,80,.22))}
.deco{position:absolute;pointer-events:none;color:#fff;font-style:normal;text-shadow:0 2px 10px rgba(214,90,133,.45);z-index:0}
.deco.d1{top:12%;inset-inline-end:44%;font-size:26px}
.deco.d2{bottom:14%;inset-inline-start:7%;font-size:34px;color:var(--accent);opacity:.35}
.deco.d3{top:16%;inset-inline-start:8%;font-size:22px;opacity:.9}
.slide-txt,.slide-art{position:relative;z-index:1}
.sl-dots button{width:9px;height:9px;border-radius:50%;transition:width .25s,background .25s}
.sl-dots button.on{width:26px;border-radius:99px}

/* ---------- کارت‌های کنار اسلایدر ---------- */
.hero-side{gap:18px}
.side-card{border-radius:28px;background:#fff;box-shadow:0 14px 30px -20px rgba(214,90,133,.6),0 0 0 4px var(--blush);transition:transform .25s}
.side-card:hover{transform:translateY(-4px) rotate(-.6deg)}
.side-card.alt{background:linear-gradient(135deg,var(--lilac),var(--pink))}
.side-card small{color:var(--accent-d);font-weight:700}
.side-ico{font-size:34px}

/* ---------- دسته‌ها: حباب‌های پاستلی ---------- */
.home-cats{padding-top:26px;gap:14px}
.home-cats .cat-chip{animation:none;transform-origin:center;border-radius:30px;padding:18px 10px 16px;box-shadow:0 12px 24px -18px rgba(214,90,133,.6);transition:transform .25s,box-shadow .25s;background:var(--c1,#fff)}
.home-cats .cat-chip::before,.home-cats .cat-chip::after{display:none}
.home-cats .cat-chip:nth-child(5n+1){--c1:var(--pink)}
.home-cats .cat-chip:nth-child(5n+2){--c1:var(--lilac)}
.home-cats .cat-chip:nth-child(5n+3){--c1:var(--peach)}
.home-cats .cat-chip:nth-child(5n+4){--c1:var(--mint)}
.home-cats .cat-chip:nth-child(5n+5){--c1:var(--sky)}
.home-cats .cat-chip:hover{animation:none;transform:translateY(-6px) scale(1.03);box-shadow:0 20px 30px -16px rgba(214,90,133,.65)}
.home-cats .cat-ico{display:grid;place-items:center;width:58px;height:58px;margin-bottom:4px;border-radius:50%;background:#fff;font-size:28px;box-shadow:0 6px 14px -8px rgba(120,50,80,.4)}
.home-cats .cat-chip b{font-weight:800}

/* ---------- نوار مزیت‌ها ---------- */
.home-perks{list-style:none;margin:22px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.home-perks li{display:flex;align-items:center;gap:8px;padding:8px 18px 8px 14px;border-radius:999px;background:#fff;box-shadow:0 8px 18px -14px rgba(214,90,133,.7),0 0 0 1px var(--line);font-size:13.5px}
.home-perks li span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--accent-l);font-size:16px}
.home-perks li:nth-child(2) span{background:var(--lilac)}.home-perks li:nth-child(3) span{background:var(--peach)}.home-perks li:nth-child(4) span{background:var(--mint)}

/* ---------- سرتیتر بخش‌ها ---------- */
.home-sec .sec-head{margin-bottom:18px}
.home-sec .sec-head h2{font-size:clamp(20px,2.4vw,26px);padding-right:0;display:flex;align-items:center;gap:10px}
.home-sec .sec-head h2::before{display:none}
.sh-ico{display:grid;place-items:center;width:40px;height:40px;border-radius:14px;background:var(--accent-l);font-size:20px;transform:rotate(-6deg)}
.home-sec .sec-head a{padding:6px 16px;border-radius:999px;background:#fff;box-shadow:0 0 0 1px var(--line);transition:.2s}
.home-sec .sec-head a:hover{background:var(--accent);color:#fff}

/* ---------- کارت محصول: گرد و نرم ---------- */
.pcard{border-radius:26px;box-shadow:0 14px 28px -22px rgba(214,90,133,.7),0 0 0 1px #fbe6ed}
.pcard-img{margin:8px 8px 0;border-radius:20px;background:linear-gradient(160deg,#fff,var(--blush-2))!important}
.pcard-title{font-weight:800}
.price{font-weight:800;color:var(--accent-d)}
.btn-quick{border-radius:50%;box-shadow:0 8px 16px -8px rgba(214,90,133,.8);transition:transform .2s}
.btn-quick:hover{transform:rotate(90deg) scale(1.08)}
.badge-off{border-radius:999px}

/* ---------- «چرا تابلوی دست‌ساز» ---------- */
.cute-story{border-radius:34px;background:linear-gradient(135deg,#fff,var(--blush) 60%,var(--lilac));box-shadow:0 22px 44px -30px rgba(214,90,133,.6),0 0 0 6px #fff}
.cute-story h2{font-weight:800}
.cute-story .ticks li::marker{color:var(--accent)}
.cute-story .story-imgs img{border-radius:0}

/* ---------- سرعت: بخش‌های پایین فقط هنگام رسیدن رندر می‌شوند ---------- */
.home-sec,.gallery-sec,.offers,.match{content-visibility:auto;contain-intrinsic-size:auto 560px}
@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* ---------- موبایل ---------- */
@media (max-width:860px){
  .slider{border-radius:26px;min-height:340px;box-shadow:0 14px 30px -20px rgba(214,90,133,.55),0 0 0 4px #fff}
  .home-cats{grid-template-columns:repeat(3,1fr);gap:10px}
  .home-cats .cat-ico{width:48px;height:48px;font-size:23px}
  .home-perks{gap:8px}.home-perks li{font-size:12.5px;padding:6px 12px 6px 10px}
  .pcard{border-radius:22px}
}
