/* نمونه‌کارهای دلسارو — نمایش سمت سایت (بازسازی‌شده) */

.dls-pf { --pf-navy:#0d3b66; --pf-navy2:#1b3147; --pf-gold:#e63946; --pf-gold2:#f0767f; --pf-cream:#f7fafc; --pf-line:#dbe7f0; --pf-gray:#43536b; display:block; margin:0 auto; }
.dls-pf *, .dls-pf *::before, .dls-pf *::after { box-sizing:border-box; }

/* ---------- سربرگ ---------- */
.dls-pf-head { max-width:760px; margin:0 0 clamp(22px,3vw,36px); }
.dls-pf-eyebrow { display:inline-block; font-size:12.5px; font-weight:700; letter-spacing:.02em; color:#7a6410; background:rgba(230,57,70,.15); border-radius:99px; padding:4px 14px; margin-bottom:12px; }
.dls-pf-head h2 { margin:0 0 10px; font-size:clamp(24px,3.4vw,34px); font-weight:800; color:var(--pf-navy); line-height:1.4; }
.dls-pf-head p { margin:0; color:var(--pf-gray); font-size:15px; line-height:1.9; }

/* ---------- فیلترها ---------- */
.dls-pf-filters { display:flex; flex-wrap:wrap; gap:9px; margin:0 0 clamp(20px,2.6vw,30px); }
.dls-pf-filter { display:inline-flex; align-items:center; gap:6px; font-size:13.5px; font-weight:600; color:var(--pf-navy); background:#fff; border:1px solid var(--pf-line); border-radius:99px; padding:7px 16px; text-decoration:none; transition:border-color .15s, background .15s; }
.dls-pf-filter:hover { border-color:var(--pf-gold); }
.dls-pf-filter.is-active { background:var(--pf-navy); border-color:var(--pf-navy); color:#fff; }

/* ---------- شبکهٔ کارت‌ها ---------- */
.dls-pf-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(300px, 1fr)); gap:clamp(14px,2vw,22px); }
.dls-pf-card { background:#fff; border:1px solid var(--pf-line); border-radius:18px; overflow:hidden; display:flex; flex-direction:column; transition:box-shadow .2s, transform .2s, border-color .2s; }
.dls-pf-card:hover { box-shadow:0 10px 30px rgba(13,59,102,.1); transform:translateY(-3px); border-color:#d8d0bd; }

.dls-pf-slider { position:relative; aspect-ratio:4/3; background:var(--pf-cream); overflow:hidden; }
.dls-pf-slide { position:absolute; inset:0; width:100%; height:100%; border:none; padding:0; margin:0; cursor:zoom-in; background:none; opacity:0; transition:opacity .25s; }
.dls-pf-slide.is-cur { opacity:1; cursor:zoom-in; }
.dls-pf-slide img { width:100%; height:100%; object-fit:cover; display:block; }
.dls-pf-noimg { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.dls-pf-noimg svg { width:52px; height:52px; color:#c9c2b2; }

.dls-pf-arrow { position:absolute; top:50%; transform:translateY(-50%); z-index:3; width:36px; height:36px; border-radius:10px; border:none; cursor:pointer; background:rgba(13,59,102,.55); color:#fff; display:flex; align-items:center; justify-content:center; transition:background .15s; }
.dls-pf-arrow:hover { background:rgba(13,59,102,.85); }
.dls-pf-arrow svg { width:16px; height:16px; }
.dls-pf-prev { inset-inline-start:8px; }
.dls-pf-next { inset-inline-end:8px; }

.dls-pf-dots { position:absolute; bottom:9px; inset-inline-start:0; inset-inline-end:0; display:flex; justify-content:center; gap:6px; z-index:3; }
.dls-pf-dot { width:8px; height:8px; border-radius:99px; background:rgba(255,255,255,.55); cursor:pointer; border:none; padding:0; transition:width .2s, background .2s; }
.dls-pf-dot.is-cur { background:#fff; width:20px; }

.dls-pf-zoomhint { position:absolute; top:10px; inset-inline-end:10px; z-index:2; width:32px; height:32px; border-radius:9px; background:rgba(13,59,102,.5); color:#fff; display:flex; align-items:center; justify-content:center; pointer-events:none; }
.dls-pf-zoomhint svg { width:15px; height:15px; }

.dls-pf-info { padding:16px 18px 18px; display:flex; flex-direction:column; gap:9px; flex:1; }
.dls-pf-cat { align-self:flex-start; font-size:11.5px; font-weight:700; color:#7a6410; background:rgba(230,57,70,.15); border-radius:99px; padding:3px 11px; }
.dls-pf-name { margin:0; font-size:17px; font-weight:700; color:var(--pf-navy); line-height:1.6; }
.dls-pf-sum { margin:0; color:var(--pf-gray); font-size:13.5px; line-height:1.9; }
.dls-pf-metas { display:flex; flex-wrap:wrap; gap:6px; margin-top:2px; }
.dls-pf-meta { display:inline-flex; align-items:center; gap:6px; font-size:12px; color:var(--pf-gray); background:var(--pf-cream); border:1px solid var(--pf-line); border-radius:8px; padding:4px 10px; }
.dls-pf-meta b { color:var(--pf-navy); font-weight:700; }

.dls-pf-steps { background:var(--pf-cream); border:1px solid var(--pf-line); border-radius:12px; padding:10px 14px; }
.dls-pf-steps-t { display:block; font-size:12px; color:#7a6410; margin-bottom:6px; }
.dls-pf-steps ol { margin:0; padding-inline-start:18px; display:flex; flex-direction:column; gap:5px; }
.dls-pf-steps li { font-size:13px; color:var(--pf-gray); line-height:1.8; }

.dls-pf-more { border:none; border-top:1px dashed var(--pf-line); padding-top:4px; margin-top:auto; }
.dls-pf-more summary { cursor:pointer; font-size:13px; font-weight:700; color:#8a6d1a; padding:8px 0 2px; user-select:none; }
.dls-pf-more summary:hover { color:var(--pf-navy); }
.dls-pf-body { font-size:13.5px; color:var(--pf-gray); line-height:2; }
.dls-pf-body p { margin:0 0 8px; }
.dls-pf-link { align-self:flex-start; margin-top:4px; font-size:13px; font-weight:700; color:var(--pf-navy); text-decoration:none; border-bottom:2px solid var(--pf-gold); padding-bottom:2px; }
.dls-pf-link:hover { color:#8a6d1a; }

/* ---------- صفحه‌بندی ---------- */
.dls-pf-pages { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px; margin-top:clamp(26px,3vw,38px); }
.dls-pf-pg { min-width:40px; height:40px; display:inline-flex; align-items:center; justify-content:center; padding:0 12px; border-radius:11px; border:1px solid var(--pf-line); background:#fff; color:var(--pf-navy); font-size:14px; font-weight:600; text-decoration:none; transition:border-color .15s, background .15s; }
a.dls-pf-pg:hover { border-color:var(--pf-gold); }
.dls-pf-pg.is-cur { background:var(--pf-navy); border-color:var(--pf-navy); color:#fff; }
.dls-pf-pg.is-off { opacity:.4; pointer-events:none; }
.dls-pf-gap { color:var(--pf-gray); }

/* ---------- کادر دعوت ---------- */
.dls-pf-cta { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; margin-top:clamp(30px,4vw,48px); background:linear-gradient(135deg, var(--pf-navy) 0%, var(--pf-navy2) 60%, #23405c 100%); border-radius:20px; padding:clamp(22px,3vw,34px) clamp(22px,3.4vw,40px); color:#fff; }
.dls-pf-cta h2 { margin:0 0 8px; font-size:clamp(19px,2.6vw,25px); color:#fff; line-height:1.5; }
.dls-pf-cta p { margin:0; color:rgba(255,255,255,.72); font-size:14px; line-height:1.9; max-width:560px; }
.dls-pf-cta-btn { display:inline-flex; align-items:center; background:var(--pf-gold); color:#2c2303; font-size:15px; font-weight:800; border-radius:13px; padding:13px 28px; text-decoration:none; transition:background .15s, transform .15s; }
.dls-pf-cta-btn:hover { background:var(--pf-gold2); transform:translateY(-2px); }

/* ---------- حالت خالی ---------- */
.dls-pf-empty { background:#fff; border:1.5px dashed var(--pf-line); border-radius:18px; padding:clamp(34px,5vw,54px); text-align:center; color:var(--pf-gray); }
.dls-pf-empty svg { width:44px; height:44px; opacity:.35; margin-bottom:12px; }
.dls-pf-empty p { margin:0; line-height:2; }

/* ---------- لایت‌باکس ---------- */
.dls-pf-lightbox { position:fixed; inset:0; z-index:99999; background:rgba(10,16,26,.92); display:flex; flex-direction:column; animation:dlsPfIn .18s ease; }
@keyframes dlsPfIn { from { opacity:0; } to { opacity:1; } }
.dls-pf-lightbox-top { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 18px; color:#fff; }
.dls-pf-lightbox-title { font-size:15px; font-weight:700; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.dls-pf-lightbox-close { background:rgba(255,255,255,.12); border:none; color:#fff; width:40px; height:40px; border-radius:11px; cursor:pointer; display:flex; align-items:center; justify-content:center; flex:none; }
.dls-pf-lightbox-close:hover { background:rgba(255,255,255,.25); }
.dls-pf-lightbox-close svg { width:18px; height:18px; }
.dls-pf-lightbox-stage { flex:1; display:flex; align-items:center; justify-content:center; padding:0 60px 20px; min-height:0; }
.dls-pf-lightbox-stage img { max-width:100%; max-height:100%; border-radius:12px; object-fit:contain; box-shadow:0 10px 50px rgba(0,0,0,.5); }
.dls-pf-lightbox-nav { position:absolute; top:50%; transform:translateY(-50%); background:rgba(255,255,255,.12); border:none; color:#fff; width:46px; height:46px; border-radius:13px; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.dls-pf-lightbox-nav:hover { background:rgba(255,255,255,.28); }
.dls-pf-lightbox-nav svg { width:20px; height:20px; }
.dls-pf-lightbox-prev { inset-inline-start:14px; }
.dls-pf-lightbox-next { inset-inline-end:14px; }
.dls-pf-lightbox-count { position:absolute; bottom:16px; inset-inline-start:18px; color:rgba(255,255,255,.7); font-size:13px; }

@media (max-width:640px) {
	.dls-pf-lightbox-stage { padding:0 12px 20px; }
	.dls-pf-lightbox-nav { width:38px; height:38px; }
	.dls-pf-lightbox-prev { inset-inline-start:8px; }
	.dls-pf-lightbox-next { inset-inline-end:8px; }
}
