/*
 * پوسته‌ی ویسا: جهت «بوتیک مد» (wl-fs) — عکس‌محور و لایه‌لایه با رنگ‌های پاستلی از پالت.
 * عکس‌ها طاقی و کج روی بلوک‌های رنگی می‌نشینند؛ متن کوتاه و ریز، دکمه‌ها کوچک.
 * فقط وقتی بارگذاری می‌شود که صفحه کلاس wl-fs دارد (inc/lib.php). حرکت با prefers-reduced-motion خاموش می‌شود.
 */

.wl-fs {
	--fs-r: var(--wp--custom--radius--lg, 22px);
	--fs-t1: color-mix(in srgb, var(--wl-accent) 13%, var(--wl-paper));
	--fs-t2: color-mix(in srgb, var(--wl-primary) 11%, var(--wl-paper));
	--fs-t3: var(--wp--preset--color--surface);
	--fs-t4: color-mix(in srgb, var(--wl-accent) 7%, color-mix(in srgb, var(--wl-primary) 9%, var(--wl-paper)));
	--fs-on: var(--wp--preset--color--on-primary);
	--fs-shadow: 0 28px 56px -30px color-mix(in srgb, var(--wl-ink) 45%, transparent);
	color: var(--wl-ink);
}
.wl-fs .weesa-eyebrow { color: var(--wl-accent); }

/* ---- سرِ بخش مشترک ---- */
.wl-fs-head { gap: 0.8rem 2rem; margin-bottom: clamp(1.2rem, 2.5vw, 2rem) !important; }
.wl-fs-head p, .wl-fs-head h2 { margin: 0 !important; }
.wl-sec .wl-fs-h2 { font-size: clamp(1.4rem, 2.3vw, 1.9rem) !important; line-height: 1.35 !important; margin: 0.25rem 0 0 !important; }
.wl-fs-more a { color: var(--wl-ink); font-size: 0.875rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.wl-fs-more a:hover { color: var(--wl-accent); }

/* ================= بخش اول: کلاژ ================= */
.wl-fs-hero { background: linear-gradient(180deg, var(--fs-t1) 0%, var(--wl-paper) 88%); overflow: hidden; padding-bottom: 0 !important; }
.wl-fs-hero__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.wl-fs-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; max-width: 31rem; }
.wl-fs-hero__copy > * { margin: 0 !important; }
.wl-fs-hero__eyebrow { padding: 0.35rem 0.9rem; border-radius: 999px; background: var(--wl-paper); border: 1px solid color-mix(in srgb, var(--wl-accent) 28%, transparent); color: var(--wl-accent); font-size: 0.8125rem; font-weight: 700; }
.wl-sec .wl-fs-hero__title { font-size: clamp(2rem, 4.1vw, 3.3rem) !important; line-height: 1.28 !important; font-weight: 800 !important; letter-spacing: 0; text-wrap: balance; }
.wl-fs-hero__title mark { background: linear-gradient(transparent 68%, color-mix(in srgb, var(--wl-accent) 24%, transparent) 68%); color: var(--wl-accent); padding: 0 0.08em; }
.wl-fs-hero__text { color: var(--wl-muted); font-size: 1rem; line-height: 1.9; max-width: 25rem; text-wrap: pretty; }
.wl-fs-hero__proof { color: var(--wl-muted); font-size: 0.8125rem; }
.wl-fs-hero__proof .weesa-stars { color: var(--wl-accent); letter-spacing: 1px; }

.wl-fs-hero__stage { position: relative; width: 100%; aspect-ratio: 1 / 0.95; max-height: 640px; }
.wl-fs-hero__stage > * { margin: 0 !important; }
.wl-fs-hero__stage::before { content: ""; position: absolute; inset: 7% 3% 5% 10%; border-radius: 46% 54% 42% 58% / 55% 45% 55% 45%; background: var(--fs-t2); }
.wl-fs-hero__main { position: absolute !important; left: 28%; top: 2%; width: 50%; z-index: 1; }
.wl-fs-hero__main img { border-radius: 999px 999px var(--fs-r) var(--fs-r) !important; box-shadow: var(--fs-shadow); }
.wl-fs-hero__second { position: absolute !important; left: 3%; bottom: 5%; width: 33%; z-index: 2; transform: rotate(-6deg); }
.wl-fs-hero__second img { border: 6px solid var(--wl-paper); border-radius: 16px !important; box-shadow: var(--fs-shadow); }
.wl-fs-hero__dot { position: absolute !important; right: 1%; top: 10%; width: 21%; z-index: 2; }
.wl-fs-hero__dot img { border-radius: 50% !important; border: 5px solid var(--wl-paper); box-shadow: var(--fs-shadow); }
.wl-fs-hero__tag { position: absolute; z-index: 3; left: 1%; top: 13%; padding: 0.55rem 0.95rem; border-radius: 14px; background: var(--wl-paper); box-shadow: var(--fs-shadow); }
.wl-fs-hero__tag p { margin: 0; line-height: 1.6; }
.wl-fs-hero__tag-n { font-size: 0.75rem; color: var(--wl-muted); }
.wl-fs-hero__tag-p a { font-size: 0.875rem; font-weight: 800; color: var(--wl-primary); text-decoration: none; }
.wl-fs-seal { position: absolute; z-index: 3; right: 9%; bottom: 7%; width: clamp(88px, 9vw, 124px); color: var(--wl-primary); }
.wl-fs-seal svg { display: block; width: 100%; height: auto; animation: wl-fs-spin 24s linear infinite; }
.wl-fs-seal__t { fill: var(--fs-on); font-weight: 700; font-family: inherit; }
.wl-fs-seal__star { fill: var(--fs-on); }
@keyframes wl-fs-spin { to { transform: rotate(-360deg); } }

/* روبان متحرک تمام‌عرض */
.wl-fs-hero > .wl-fs-rb, .wl-fs-rb { max-width: none !important; width: auto; margin: clamp(1.75rem, 4vw, 3.25rem) calc(-1 * var(--wp--style--root--padding-right, 1.5rem)) 0 calc(-1 * var(--wp--style--root--padding-left, 1.5rem)) !important; }
.wl-fs-rb { overflow: hidden; background: var(--wl-primary); color: var(--fs-on); padding-block: 0.7rem; }
.wl-fs-rb__track { display: flex; width: max-content; animation: wl-fs-marq 46s linear infinite; }
.wl-fs-rb__set { display: flex; align-items: center; gap: 1.5rem; padding-inline-end: 1.5rem; white-space: nowrap; font-size: 0.9375rem; font-weight: 600; }
.wl-fs-rb__dot { opacity: 0.55; font-size: 0.7rem; }
@keyframes wl-fs-marq { to { transform: translateX(50%); } }

/* ================= دسته‌ها ================= */
.wl-fs-cats__grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 1rem; }
.wl-fs-cat { position: relative; display: flex; flex-direction: column; gap: 0.7rem; margin: 0 !important; padding: 0.75rem; border-radius: var(--fs-r); transition: transform 0.45s var(--wl-ease), box-shadow 0.45s var(--wl-ease); }
.wl-fs-cat.is-tall { grid-row: span 2; }
.wl-fs-tint-1 { background: var(--fs-t1); }
.wl-fs-tint-2 { background: var(--fs-t2); }
.wl-fs-tint-3 { background: var(--fs-t3); }
.wl-fs-tint-4 { background: var(--fs-t4); }
.wl-fs-cat__img { margin: 0 !important; overflow: hidden; border-radius: calc(var(--fs-r) - 6px); }
.wl-fs-cat__img img { display: block; width: 100%; transition: transform 0.8s var(--wl-ease); }
.wl-fs-cat.is-tall .wl-fs-cat__img { position: relative; flex: 1; min-height: 0; border-radius: 999px 999px calc(var(--fs-r) - 6px) calc(var(--fs-r) - 6px); }
.wl-fs-cat.is-tall .wl-fs-cat__img img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto !important; object-fit: cover; }
.wl-fs-cat:hover { transform: translateY(-4px); box-shadow: var(--fs-shadow); }
.wl-fs-cat:hover .wl-fs-cat__img img { transform: scale(1.06); }
.wl-fs-cat__foot { align-items: center; gap: 0.6rem; padding-inline: 0.35rem; margin: 0 !important; }
.wl-fs-cat__txt > * { margin: 0 !important; }
.wl-sec .wl-fs-cat__t { font-size: 1.05rem !important; font-weight: 700 !important; line-height: 1.5 !important; }
.wl-fs-cat__t a { color: inherit; text-decoration: none; }
.wl-fs-cat__t a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.wl-fs-cat__c { color: var(--wl-muted); }
.wl-fs-cat__go { flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin: 0 !important; border-radius: 50%; background: var(--wl-paper); transition: background-color 0.3s, color 0.3s, transform 0.4s var(--wl-ease); }
.wl-fs-cat:hover .wl-fs-cat__go { background: var(--wl-primary); color: var(--fs-on); transform: rotate(45deg); }

/* ================= استایل هفته ================= */
.wl-fs-feat__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.wl-fs-feat__media { position: relative; justify-self: center; width: min(100%, 440px); margin: 0 !important; }
.wl-fs-feat__media::before { content: ""; position: absolute; inset: 0; transform: translate(-22px, 22px); border-radius: 999px 999px var(--fs-r) var(--fs-r); background: var(--fs-t1); }
.wl-fs-feat__img { position: relative; z-index: 1; margin: 0 !important; }
.wl-fs-feat__img img { border-radius: 999px 999px var(--fs-r) var(--fs-r) !important; }
.wl-fs-sticker { position: absolute; z-index: 2; top: 9%; right: -16px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 104px; height: 104px; margin: 0 !important; border-radius: 50%; background: var(--wl-accent); color: #fff; text-align: center; transform: rotate(10deg); box-shadow: var(--fs-shadow); }
.wl-fs-sticker p { margin: 0 !important; font-size: 0.72rem; line-height: 1.35; }
.wl-fs-sticker strong { font-size: 1.35rem; font-weight: 800; }
.wl-fs-feat__copy { display: flex; flex-direction: column; gap: 0.85rem; max-width: 30rem; }
.wl-fs-feat__copy > * { margin: 0 !important; }
.wl-fs-feat__text { color: var(--wl-muted); }
.wl-fs-feat__list { display: flex; flex-direction: column; gap: 0.6rem; margin-block: 0.3rem 0.5rem !important; }
.wl-fs-pick { position: relative; align-items: center; gap: 0.9rem; margin: 0 !important; padding: 0.5rem; padding-inline-end: 1rem; border-radius: 16px; background: var(--wl-paper); border: 1px solid color-mix(in srgb, var(--wl-ink) 9%, transparent); transition: transform 0.35s var(--wl-ease), border-color 0.35s, box-shadow 0.35s; }
.wl-fs-pick:hover { transform: translateX(-6px); border-color: color-mix(in srgb, var(--wl-accent) 55%, transparent); box-shadow: 0 14px 30px -22px color-mix(in srgb, var(--wl-ink) 40%, transparent); }
.wl-fs-pick__img { flex: none; width: 64px; margin: 0 !important; }
.wl-fs-pick__img img { border-radius: 12px !important; }
.wl-fs-pick__t { flex: 1; }
.wl-fs-pick__t > * { margin: 0 !important; }
.wl-fs-pick__n a { color: inherit; font-weight: 700; font-size: 0.95rem; text-decoration: none; }
.wl-fs-pick__n a::after { content: ""; position: absolute; inset: 0; }
.wl-fs-pick__p { color: var(--wl-accent); font-weight: 700; }
.wl-fs-pick__no { margin: 0 !important; font-size: 1.6rem; font-weight: 800; line-height: 1; color: color-mix(in srgb, var(--wl-ink) 14%, transparent); }

/* ================= دو بنر ================= */
.wl-fs-promos__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; padding-top: 2.75rem; }
.wl-fs-promo { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end; gap: 1rem; min-height: 250px; margin: 0 !important; padding: 1.5rem 1.6rem; border-radius: var(--fs-r); }
.wl-fs-promo.is-dark { background: var(--wl-primary); color: var(--fs-on); }
.wl-fs-promo.is-tint { background: var(--fs-t1); }
.wl-fs-promo__copy { display: flex; flex-direction: column; gap: 0.45rem; align-self: center; }
.wl-fs-promo__copy > * { margin: 0 !important; }
.wl-fs-promo__k { font-size: 0.75rem; font-weight: 700; opacity: 0.8; }
.wl-sec .wl-fs-promo__t { font-size: clamp(1.25rem, 2vw, 1.6rem) !important; line-height: 1.4 !important; color: inherit !important; }
.wl-fs-promo__d { opacity: 0.85; }
.wl-fs-promo__a a { color: inherit; font-size: 0.875rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.wl-fs-promo__a a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.wl-fs-promo__img { align-self: end; margin: -3.75rem 0 0 !important; }
.wl-fs-promo__img img { border-radius: 999px 999px 14px 14px !important; box-shadow: var(--fs-shadow); transition: transform 0.6s var(--wl-ease); }
.wl-fs-promo:hover .wl-fs-promo__img img { transform: translateY(-8px) rotate(-1.5deg); }
.wl-fs-promo__st { position: absolute; z-index: 2; top: -1.1rem; left: 40%; display: grid; place-items: center; width: 72px; height: 72px; margin: 0 !important; border-radius: 50%; background: var(--wl-accent); color: #fff; font-size: 0.95rem; font-weight: 800; transform: rotate(-12deg); box-shadow: var(--fs-shadow); }
.wl-fs-promo.is-tint .wl-fs-promo__st { background: var(--wl-ink); color: var(--wl-paper); }

/* ================= لوک‌بوک موجی ================= */
.wl-fs-lookbook { background: var(--fs-t3); }
.wl-fs-looks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; padding-bottom: 2.5rem; }
.wl-fs-look { position: relative; isolation: isolate; margin: 0 !important; overflow: hidden; border-radius: var(--fs-r); }
.wl-fs-look:nth-child(even) { transform: translateY(2.5rem); }
.wl-fs-look__img { margin: 0 !important; }
.wl-fs-look__img img { display: block; transition: transform 0.9s var(--wl-ease); }
.wl-fs-look:hover .wl-fs-look__img img { transform: scale(1.07); }
.wl-fs-look__cap { position: absolute; inset: auto 0 0; z-index: 1; margin: 0 !important; padding: 2.75rem 1rem 0.9rem; background: linear-gradient(transparent, color-mix(in srgb, var(--wl-ink) 72%, transparent)); color: #fff; }
.wl-fs-look__cap > * { margin: 0 !important; }
.wl-fs-look__no { font-size: 0.75rem; opacity: 0.8; }
.wl-sec .wl-fs-look__t { font-size: 1.05rem !important; line-height: 1.5 !important; color: #fff !important; }
.wl-fs-look__t a { color: inherit; text-decoration: none; }
.wl-fs-look__t a::after { content: ""; position: absolute; inset: 0; }
.wl-fs-look__m { opacity: 0.85; }

/* ================= موبایل ================= */
@media (max-width: 781px) {
	.wl-fs-hero__grid { grid-template-columns: 1fr; gap: 1.5rem; }
	.wl-fs-hero__stage { aspect-ratio: 1 / 1.02; }
	.wl-fs-hero__tag { top: 4%; }
	.wl-fs-cats__grid { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
	.wl-fs-cat { padding: 0.55rem; }
	.wl-fs-cat.is-tall { grid-column: span 2; grid-row: auto; }
	.wl-fs-cat.is-tall .wl-fs-cat__img { border-radius: calc(var(--fs-r) - 6px); }
	.wl-fs-cat.is-tall .wl-fs-cat__img { flex: none; aspect-ratio: 16 / 10; }
	.wl-fs-cat__go { width: 2rem; height: 2rem; }
	.wl-fs-feat__grid { grid-template-columns: 1fr; }
	.wl-fs-feat__media { width: min(86%, 380px); }
	.wl-fs-sticker { width: 86px; height: 86px; right: -8px; }
	.wl-fs-promos__grid { grid-template-columns: 1fr; gap: 3.25rem; }
	.wl-fs-looks { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.75rem; padding-bottom: 0.5rem; scrollbar-width: none; }
	.wl-fs-looks::-webkit-scrollbar { display: none; }
	.wl-fs-look { flex: 0 0 64%; scroll-snap-align: start; }
	.wl-fs-look:nth-child(even) { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.wl-fs-seal svg, .wl-fs-rb__track { animation: none; }
	.wl-fs-cat, .wl-fs-pick, .wl-fs-promo__img img, .wl-fs-look__img img, .wl-fs-cat__img img { transition: none; }
}
