/*
Theme Name: Yani
Theme URI: https://yaniverse.ir
Description: قالب اختصاصی دنیای یانی، قالب فرزند Blocksy
Author: دنیای یانی
Template: blocksy
Version: 1.0.0
Text Domain: yani
*/

@font-face {
	font-family: "Vazirmatn";
	src: url("assets/fonts/Vazirmatn-wght.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root:root {
	--y-bg: #fff6f4;
	--y-surface: #ffffff;
	--y-ink: #4a2d2a;
	--y-ink-soft: #7a5c57;
	--y-line: #f0d9d4;
	--y-pink: #e45c7a;
	--y-pink-deep: #c2415e;
	--y-pink-t: #fde4e9;
	--y-butter: #f5c24c;
	--y-butter-t: #fdf1cf;
	--y-sky: #6fa9e0;
	--y-sky-t: #ddedfb;
	--y-mint: #6dbb9b;
	--y-mint-t: #dcf1e6;
	--y-lilac: #9a7fd4;
	--y-lilac-deep: #6f55ad;
	--y-lilac-t: #ede6fa;
	--y-stitch: rgba(74, 45, 42, 0.22);
	--y-radius-card: 28px;
	--y-radius-field: 14px;
	--y-shell: min(1180px, 100% - 40px);
	--y-font: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;

	/* Blocksy hooks */
	--theme-font-family: var(--y-font);
	--theme-palette-color-1: var(--y-pink);
	--theme-palette-color-2: var(--y-pink-deep);
	--theme-palette-color-3: var(--y-ink);
	--theme-palette-color-4: var(--y-ink);
	--theme-palette-color-5: var(--y-line);
	--theme-palette-color-6: #fbecea;
	--theme-palette-color-7: var(--y-bg);
	--theme-palette-color-8: #ffffff;
	--theme-text-color: var(--y-ink);
	--theme-link-initial-color: var(--y-pink-deep);
	--theme-link-hover-color: var(--y-ink);
	--theme-headings-color: var(--y-ink);
	--theme-button-background-initial-color: var(--y-pink);
	--theme-button-background-hover-color: var(--y-pink-deep);
	--theme-button-border-radius: 999px;
	--theme-form-field-border-radius: var(--y-radius-field);
	--theme-form-field-border-initial-color: var(--y-line);
	--theme-form-field-border-focus-color: var(--y-pink);
	--theme-form-field-height: 52px;
	--theme-content-spacing: 1.4em;
	--theme-line-height: 1.9;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	overflow-x: clip;
	font-family: var(--y-font);
	background: var(--y-bg);
	color: var(--y-ink);
	font-size: 16px;
	line-height: 1.9;
	-webkit-font-smoothing: antialiased;
}
body, button, input, select, textarea, .button, h1, h2, h3, h4, h5, h6 { font-family: var(--y-font); }
h1, h2, h3, h4 { line-height: 1.35; color: var(--y-ink); }
.yani-menu-open { overflow: hidden; }

:focus-visible { outline: 3px solid var(--y-lilac); outline-offset: 3px; border-radius: 6px; }

.yani-skip {
	position: absolute; inset-inline-start: 12px; top: -60px; z-index: 1000;
	background: var(--y-ink); color: #fff; padding: 8px 16px; border-radius: 999px;
}
.yani-skip:focus { top: 12px; color: #fff; }

.yani-h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); font-weight: 850; margin: 0 0 .6em; }

/* ---------- Buttons ---------- */
.yani-btn {
	--btn-bg: var(--y-pink); --btn-fg: #fff; --btn-shadow: var(--y-pink-deep);
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: .55em 1.5em;
	border: 0; border-radius: 999px;
	background: var(--btn-bg); color: var(--btn-fg);
	font-weight: 750; font-size: 1rem; line-height: 1.4; text-decoration: none;
	box-shadow: 0 4px 0 var(--btn-shadow);
	position: relative; cursor: pointer;
	transition: transform .12s ease, box-shadow .12s ease;
}
/* inner stitch, borrowed from the logo's sewn felt letters */
.yani-btn::after {
	content: ""; position: absolute; inset: 5px; border-radius: inherit;
	border: 1.5px dashed rgba(255, 255, 255, .55); pointer-events: none;
}
.yani-btn:hover { color: var(--btn-fg); transform: translateY(1px); box-shadow: 0 3px 0 var(--btn-shadow); }
.yani-btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--btn-shadow); }
.yani-btn--lg { min-height: 56px; font-size: 1.08rem; padding-inline: 1.9em; }
.yani-btn--block { width: 100%; }
.yani-btn--ink { --btn-bg: var(--y-ink); --btn-shadow: #2c1a18; }
.yani-btn--light { --btn-bg: #fff; --btn-fg: var(--y-lilac-deep); --btn-shadow: #cdbdf0; }
.yani-btn--light::after { border-color: rgba(111, 85, 173, .35); }
.yani-btn--ghost { --btn-bg: transparent; --btn-fg: var(--y-ink); --btn-shadow: transparent; box-shadow: inset 0 0 0 2px var(--y-ink); }
.yani-btn--ghost::after { display: none; }
.yani-btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--y-ink); background: #fff; }

/* ---------- Header ---------- */
.yani-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--y-bg) 88%, transparent);
	backdrop-filter: blur(10px);
	border-bottom: 1.5px dashed var(--y-stitch);
}
.admin-bar .yani-header { top: var(--admin-bar, 32px); }
.yani-header__inner {
	width: var(--y-shell); margin-inline: auto;
	display: flex; align-items: center; gap: 24px; min-height: 76px;
}
.yani-brand { display: flex; align-items: center; gap: 10px; color: var(--y-ink); text-decoration: none; flex-shrink: 0; }
.yani-brand img { width: 56px; height: 56px; border-radius: 50%; }
.yani-brand__text { display: flex; flex-direction: column; line-height: 1.35; }
.yani-brand__text strong { font-size: 1.12rem; font-weight: 850; }
.yani-brand__text small { font-size: .78rem; color: var(--y-ink-soft); }
.yani-brand:hover { color: var(--y-ink); }

.yani-nav { margin-inline-start: auto; }
.yani-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.yani-nav__list a {
	display: block; padding: 8px 14px; border-radius: 999px;
	color: var(--y-ink); font-weight: 600; text-decoration: none;
}
.yani-nav__list a:hover, .yani-nav__list .current-menu-item > a { background: #fff; color: var(--y-pink-deep); }

.yani-header__actions { display: flex; align-items: center; gap: 8px; }
.yani-cart {
	position: relative; display: grid; place-items: center;
	width: 46px; height: 46px; border-radius: 50%;
	background: #fff; color: var(--y-ink); box-shadow: 0 3px 0 var(--y-line);
}
.yani-cart:hover { color: var(--y-pink-deep); }
.yani-cart__count {
	position: absolute; top: -4px; inset-inline-end: -4px;
	min-width: 22px; height: 22px; padding-inline: 5px; border-radius: 999px;
	background: var(--y-pink); color: #fff; font-size: .75rem; font-weight: 800;
	display: grid; place-items: center; line-height: 1;
}
.yani-cart__count[data-count="0"] { display: none; }
.yani-burger { display: none; }

@media (max-width: 900px) {
	.yani-header__inner { min-height: 66px; gap: 12px; }
	.yani-brand img { width: 46px; height: 46px; }
	.yani-brand__text small { display: none; }
	.yani-burger {
		display: grid; gap: 5px; place-content: center;
		width: 46px; height: 46px; border-radius: 50%; border: 0; padding: 0;
		background: var(--y-ink); cursor: pointer;
	}
	.yani-burger > span:not(.screen-reader-text) { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s, opacity .2s; }
	.yani-header[data-open="true"] .yani-burger > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.yani-header[data-open="true"] .yani-burger > span:nth-child(2) { opacity: 0; }
	.yani-header[data-open="true"] .yani-burger > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.yani-header__actions { margin-inline-start: auto; }
	.yani-nav {
		position: fixed; inset: 66px 0 auto 0; margin: 0;
		background: var(--y-bg); border-bottom: 1.5px dashed var(--y-stitch);
		padding: 12px 20px 24px;
		visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity .18s, transform .18s, visibility .18s;
	}
	.admin-bar .yani-nav { top: calc(66px + 46px); }
	.yani-header[data-open="true"] .yani-nav { visibility: visible; opacity: 1; transform: none; }
	.yani-nav__list { flex-direction: column; }
	.yani-nav__list a { font-size: 1.1rem; padding: 12px 14px; }
}

/* ---------- Blocksy content area on landing templates ---------- */
.yani-landing #main { padding: 0; }

/* ---------- Hero ---------- */
.yani-hero {
	width: var(--y-shell); margin-inline: auto;
	display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px;
	padding-block: clamp(32px, 6vw, 88px) clamp(48px, 7vw, 100px);
}
.yani-puffy {
	margin: 0 0 .45em;
	font-size: clamp(2.6rem, 1.4rem + 5vw, 5rem);
	font-weight: 900; line-height: 1.22;
	color: var(--y-pink);
	text-shadow:
		3px 0 0 #fff, -3px 0 0 #fff, 0 3px 0 #fff, 0 -3px 0 #fff,
		2px 2px 0 #fff, -2px 2px 0 #fff, 2px -2px 0 #fff, -2px -2px 0 #fff,
		0 8px 0 #f2b6c3,
		0 14px 24px rgba(194, 65, 94, .22);
}
.yani-hero__lead { font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); color: var(--y-ink-soft); max-width: 34em; margin: 0 0 1.4em; }
.yani-hero__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 1.6em; font-size: 1.45rem; font-weight: 850; }
.yani-hero__price-label { font-size: .92rem; font-weight: 600; color: var(--y-ink-soft); }
.yani-hero__price del { color: var(--y-ink-soft); font-size: .72em; font-weight: 500; opacity: .75; }
.yani-hero__price ins { text-decoration: none; color: var(--y-pink-deep); }
.yani-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.yani-hero__stack { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; justify-self: center; }
.yani-hero__card {
	position: absolute; margin: 0; width: 66%;
	border-radius: 26px; overflow: hidden; background: #fff;
	box-shadow: 0 18px 40px rgba(74, 45, 42, .18);
	border: 8px solid #fff;
	animation: yani-fan .9s cubic-bezier(.2, .9, .25, 1.15) both;
}
.yani-hero__card img { display: block; width: 100%; height: auto; }
.yani-hero__card--1 { inset: 12% 17% auto auto; z-index: 3; --r: -3deg; --x: 0; }
.yani-hero__card--2 { inset: 2% auto auto 0; z-index: 2; --r: -11deg; --x: 30px; animation-delay: .08s; }
.yani-hero__card--3 { inset: auto 0 0 auto; z-index: 1; --r: 9deg; --x: -30px; animation-delay: .16s; }
.yani-hero__card { transform: rotate(var(--r)); }
.yani-hero__badge {
	position: absolute; z-index: 4; inset: auto auto 2% 4%;
	width: 30%; height: auto; border-radius: 50%;
	box-shadow: 0 10px 24px rgba(74, 45, 42, .2);
	animation: yani-pop .6s .45s cubic-bezier(.3, 1.6, .5, 1) both;
}
@keyframes yani-fan { from { transform: translateX(var(--x)) rotate(0deg) scale(.92); opacity: 0; } }
@keyframes yani-pop { from { transform: scale(.4) rotate(-20deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .yani-hero__card, .yani-hero__badge { animation: none; } }

@media (max-width: 900px) {
	.yani-hero { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
	.yani-hero__stack { max-width: 420px; }
	.yani-hero__cta .yani-btn { flex: 1 1 220px; }
}

/* ---------- What's in the box ---------- */
.yani-box { width: var(--y-shell); margin: 0 auto clamp(56px, 8vw, 110px); }
.yani-box__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1080px) { .yani-box__list { grid-template-columns: repeat(2, 1fr); } }
.yani-box__item {
	display: flex; flex-direction: column; gap: 4px;
	padding: 24px 24px 26px; background: #fff; border-radius: 22px;
	box-shadow: 0 4px 0 var(--y-line);
}
.yani-box__item strong { font-size: 1.15rem; font-weight: 800; }
.yani-box__item > span:last-child { color: var(--y-ink-soft); font-size: .95rem; }
.yani-box__art { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-bottom: 12px; }
.yani-box__art--tubes i { width: 16px; height: 56px; border-radius: 4px 4px 9px 9px; position: relative; }
.yani-box__art--tubes i::before { content: ""; position: absolute; inset: -6px 1px auto; height: 8px; border-radius: 3px; background: #e8e2dd; }
.yani-box__art--tubes i:nth-child(1) { background: #e0453f; }
.yani-box__art--tubes i:nth-child(2) { background: var(--y-butter); }
.yani-box__art--tubes i:nth-child(3) { background: #2f9a5e; }
.yani-box__art--tubes i:nth-child(4) { background: #3561c4; }
.yani-box__art--figures i { background: #f3efea; border: 2px solid #e6ded6; }
.yani-box__art--figures i:nth-child(1) { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 11px #f3efea, inset 0 0 0 13px #e6ded6; background: var(--y-bg); }
.yani-box__art--figures i:nth-child(2) { width: 36px; height: 58px; border-radius: 50% 50% 8px 8px; }
.yani-box__art--figures i:nth-child(3) { width: 40px; height: 40px; border-radius: 12px 50% 12px 50%; }
.yani-box__art--brush i { width: 96px; height: 10px; border-radius: 6px; background: linear-gradient(90deg, #3a2320 0 16%, #c8c3bd 16% 24%, var(--y-pink-deep) 24%); transform: rotate(-24deg); margin: 0 0 24px 8px; }
.yani-box__art--apron { align-items: flex-end; padding-inline-start: 18px; }
.yani-box__art--apron i { position: relative; width: 50px; height: 34px; border-radius: 4px 4px 16px 16px; background: linear-gradient(rgba(255,255,255,.45) 0 0) 50% 40% / 20px 10px no-repeat, var(--y-sky); }
.yani-box__art--apron i::before { content: ""; position: absolute; left: 12px; bottom: 100%; width: 26px; height: 16px; border-radius: 5px 5px 0 0; background: var(--y-sky); }
.yani-box__art--apron i::after { content: ""; position: absolute; left: 14px; bottom: calc(100% + 14px); width: 16px; height: 12px; border: 3px solid var(--y-sky); border-bottom: 0; border-radius: 12px 12px 0 0; }
@media (max-width: 760px) { .yani-box__list { grid-template-columns: 1fr; } .yani-box__item { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 16px; } .yani-box__art { margin: 0; width: 100px; justify-content: center; } .yani-box__item strong { flex: 1; } .yani-box__item > span:last-child { flex-basis: 100%; } }

/* ---------- Kits ---------- */
.yani-kits { width: var(--y-shell); margin: 0 auto clamp(64px, 9vw, 120px); scroll-margin-top: 90px; }
.yani-section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 32px; margin-bottom: 28px; }
.yani-section-head .yani-h2 { margin: 0; }
.yani-section-head p { margin: 0; color: var(--y-ink-soft); max-width: 36em; }
.yani-kits__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1080px) { .yani-kits__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .yani-kits__grid { grid-template-columns: 1fr; } }

.yani-tone--pink { --tone: var(--y-pink); --tone-t: var(--y-pink-t); }
.yani-tone--sky { --tone: var(--y-sky); --tone-t: var(--y-sky-t); }
.yani-tone--butter { --tone: #e2a82a; --tone-t: var(--y-butter-t); }
.yani-tone--mint { --tone: var(--y-mint); --tone-t: var(--y-mint-t); }
.yani-tone--lilac { --tone: var(--y-lilac); --tone-t: var(--y-lilac-t); }

.yani-kit {
	position: relative; display: flex; flex-direction: column;
	background: var(--tone-t); border-radius: var(--y-radius-card);
	padding: 12px; outline: 2px dashed color-mix(in srgb, var(--tone) 45%, transparent); outline-offset: -7px;
}
.yani-kit__media { position: relative; display: block; border-radius: 20px; overflow: hidden; }
.yani-kit__media img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform .35s ease; }
.yani-kit:hover .yani-kit__media img { transform: scale(1.03); }
.yani-kit__off {
	position: absolute; top: 12px; inset-inline-start: 12px;
	background: var(--y-ink); color: #fff; font-size: .8rem; font-weight: 800;
	padding: 3px 12px; border-radius: 999px;
}
.yani-kit__body { padding: 14px 8px 8px; display: flex; flex-direction: column; flex: 1; }
.yani-kit__name { font-size: 1.2rem; font-weight: 850; margin: 0; }
.yani-kit__name a { color: var(--y-ink); text-decoration: none; }
.yani-kit__meta { margin: 2px 0 14px; color: var(--y-ink-soft); font-size: .92rem; }
.yani-kit__buy { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.yani-kit__price { display: flex; flex-direction: column; line-height: 1.4; font-weight: 850; font-size: 1.05rem; }
.yani-kit__price del { font-size: .8rem; font-weight: 500; color: var(--y-ink-soft); }
.yani-kit__price ins { text-decoration: none; }
.yani-kit .yani-btn { min-height: 44px; padding-inline: 1.2em; font-size: .95rem; }

/* ---------- Steps ---------- */
.yani-steps { width: var(--y-shell); margin: 0 auto clamp(64px, 9vw, 120px); }
.yani-steps__list { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.yani-steps__list::before {
	content: ""; position: absolute; top: 30px; inset-inline: 12% 12%;
	border-top: 2.5px dashed var(--y-stitch);
}
.yani-steps__list li { counter-increment: step; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding-inline: 8px; }
.yani-steps__list li::before {
	content: counter(step, persian);
	display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 10px;
	border-radius: 50%; font-size: 1.6rem; font-weight: 900; color: #fff;
	background: var(--dot); box-shadow: 0 4px 0 color-mix(in srgb, var(--dot) 70%, #000), 0 0 0 6px var(--y-bg);
	position: relative;
}
.yani-steps__list li:nth-child(1) { --dot: var(--y-pink); }
.yani-steps__list li:nth-child(2) { --dot: #e2a82a; }
.yani-steps__list li:nth-child(3) { --dot: var(--y-sky); }
.yani-steps__list li:nth-child(4) { --dot: var(--y-mint); }
.yani-steps__list strong { font-size: 1.12rem; font-weight: 800; }
.yani-steps__list span { color: var(--y-ink-soft); font-size: .94rem; max-width: 18em; }
@media (max-width: 760px) {
	.yani-steps__list { grid-template-columns: 1fr; gap: 20px; }
	.yani-steps__list::before { top: 30px; bottom: 30px; inset-inline: 29px auto; border-top: 0; border-inline-start: 2.5px dashed var(--y-stitch); }
	.yani-steps__list li { display: grid; grid-template-columns: 60px 1fr; column-gap: 16px; text-align: start; align-items: center; }
	.yani-steps__list li::before { grid-row: span 2; margin: 0; }
}

/* ---------- Safety ---------- */
.yani-safe { width: var(--y-shell); margin: 0 auto clamp(40px, 6vw, 72px); }
.yani-safe__inner {
	background: #fff; border-radius: 36px; padding: clamp(28px, 5vw, 56px);
	display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px 48px; align-items: center;
	outline: 2px dashed var(--y-stitch); outline-offset: -12px;
}
.yani-safe__inner .yani-h2 { margin: 0; }
.yani-safe__inner p { margin: 0; color: var(--y-ink-soft); font-size: 1.05rem; }
@media (max-width: 760px) { .yani-safe__inner { grid-template-columns: 1fr; } }

/* ---------- Wholesale teaser ---------- */
.yani-ws-teaser { width: var(--y-shell); margin: 0 auto clamp(64px, 9vw, 120px); }
.yani-ws-teaser__inner {
	background: var(--y-lilac); color: #fff; border-radius: 36px;
	padding: clamp(28px, 5vw, 56px);
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px;
	background-image: radial-gradient(circle at 8% 120%, rgba(255,255,255,.18) 0 90px, transparent 91px), radial-gradient(circle at 96% -20%, rgba(255,255,255,.14) 0 120px, transparent 121px);
}
.yani-ws-teaser .yani-h2 { color: #fff; }
.yani-ws-teaser p { margin: 0; max-width: 38em; opacity: .92; }

/* ---------- FAQ ---------- */
.yani-faq { width: min(820px, 100% - 40px); margin: 0 auto clamp(64px, 9vw, 120px); }
.yani-faq__list { display: grid; gap: 12px; }
.yani-faq details, .entry-content details {
	background: #fff; border-radius: 18px; padding: 4px 22px; box-shadow: 0 3px 0 var(--y-line);
}
.yani-faq summary, .entry-content summary {
	cursor: pointer; list-style: none; font-weight: 750; font-size: 1.05rem;
	padding: 14px 0; display: flex; justify-content: space-between; gap: 16px;
}
.yani-faq summary::-webkit-details-marker, .entry-content summary::-webkit-details-marker { display: none; }
.yani-faq summary::after, .entry-content summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--y-pink); transition: transform .2s; }
.yani-faq details[open] summary::after, .entry-content details[open] summary::after { transform: rotate(45deg); }
.yani-faq details p, .entry-content details p { margin: 0 0 16px; color: var(--y-ink-soft); }
.yani-faq__more { text-align: center; margin-top: 20px; }
.yani-faq__more a { font-weight: 700; }

/* ---------- Footer ---------- */
.yani-footer { background: var(--y-ink); color: #f5e7e3; margin-top: 0; }
.yani-footer__inner {
	width: var(--y-shell); margin-inline: auto; padding-block: 56px 32px;
	display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr auto; gap: 36px;
}
.yani-footer__seal .yani-enamad { display: inline-block; background: #fff; border-radius: 16px; padding: 8px; line-height: 0; }
.yani-footer__seal img { width: 110px; height: auto; }
.yani-footer__brand img { width: 96px; height: 96px; border-radius: 50%; margin-bottom: 14px; }
.yani-footer__brand p { margin: 0; max-width: 26em; opacity: .85; }
.yani-footer h2 { color: #fff; font-size: 1.05rem; font-weight: 800; margin: 0 0 14px; }
.yani-footer a { color: #fff; }
.yani-footer a:hover { color: var(--y-butter); }
.yani-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.yani-footer__links a { text-decoration: none; opacity: .9; }
.yani-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.yani-contact li { display: grid; grid-template-columns: 84px 1fr; gap: 8px; }
.yani-contact span { opacity: .65; font-size: .9rem; }
.yani-footer__legal { width: var(--y-shell); margin: 0 auto; padding-block: 18px 28px; border-top: 1.5px dashed rgba(255, 255, 255, .18); font-size: .86rem; opacity: .7; }
@media (max-width: 1100px) { .yani-footer__inner { grid-template-columns: 1fr 1fr 1fr; } .yani-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 860px) { .yani-footer__inner { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Wholesale page ---------- */
.yani-ws-hero {
	position: relative; overflow: hidden;
	background: var(--y-lilac-deep); color: #fff;
	padding-block: clamp(48px, 8vw, 110px) clamp(110px, 12vw, 170px);
}
.yani-ws-hero__inner { position: relative; z-index: 2; width: var(--y-shell); margin-inline: auto; }
.yani-puffy--light {
	color: #fff; max-width: 12em;
	text-shadow: 0 6px 0 #4f3a86, 0 16px 30px rgba(0, 0, 0, .25);
}
.yani-ws-hero p { max-width: 36em; font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); opacity: .92; margin: 0 0 1.6em; }
.yani-ws-hero__who { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.yani-ws-hero__who li {
	padding: 6px 16px; border-radius: 999px; font-weight: 650; font-size: .95rem;
	background: rgba(255, 255, 255, .14); border: 1.5px dashed rgba(255, 255, 255, .45);
}
.yani-ws-hero__figures { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.yani-blob { position: absolute; border-radius: 50%; }
/* shapes live on the left half, away from the right-aligned copy */
.yani-blob--pink { width: clamp(160px, 22vw, 320px); aspect-ratio: 1; background: var(--y-pink); inset: -10% auto auto -3%; box-shadow: inset 0 0 0 clamp(40px, 5vw, 76px) #ef8aa0; }
.yani-blob--butter { width: clamp(90px, 11vw, 160px); aspect-ratio: 1; background: var(--y-butter); inset: 38% auto auto 22%; border-radius: 42% 58% 50% 50%; }
.yani-blob--sky { width: clamp(70px, 8vw, 120px); aspect-ratio: 1; background: var(--y-sky); inset: 18% auto auto 26%; border-radius: 30%; transform: rotate(18deg); }
.yani-blob--mint { width: clamp(120px, 15vw, 220px); aspect-ratio: 1; background: var(--y-mint); inset: auto auto -14% 4%; }
@media (max-width: 1100px) { .yani-blob--sky, .yani-blob--butter { display: none; } }
@media (max-width: 760px) { .yani-blob--pink { inset: -70px auto auto -70px; opacity: .5; } .yani-blob--mint { display: none; } }

.yani-ws {
	width: var(--y-shell); margin: clamp(-90px, -8vw, -60px) auto clamp(64px, 9vw, 120px);
	position: relative; z-index: 3;
	display: grid; grid-template-columns: 1fr 1.35fr; gap: 36px; align-items: start;
}
.yani-ws__why { padding-top: clamp(90px, 10vw, 130px); }
.yani-ws__facts { margin: 0; display: grid; gap: 18px; }
.yani-ws__facts div { padding-inline-start: 18px; border-inline-start: 3px solid var(--y-lilac); }
.yani-ws__facts div:nth-child(2) { border-color: var(--y-pink); }
.yani-ws__facts div:nth-child(3) { border-color: var(--y-butter); }
.yani-ws__facts div:nth-child(4) { border-color: var(--y-mint); }
.yani-ws__facts dt { font-weight: 800; font-size: 1.08rem; }
.yani-ws__facts dd { margin: 0; color: var(--y-ink-soft); }
.yani-ws__direct { margin-top: 28px; padding: 16px 20px; background: #fff; border-radius: 18px; }
.yani-ws__direct a { font-weight: 800; margin-inline-start: 6px; }

.yani-ws__form-wrap { scroll-margin-top: 90px; }
.yani-ws__form, .yani-ws__sent {
	background: #fff; border-radius: 34px; padding: clamp(24px, 4vw, 44px);
	box-shadow: 0 30px 60px rgba(74, 45, 42, .14), 0 6px 0 var(--y-line);
	outline: 2px dashed var(--y-stitch); outline-offset: -12px;
}
.yani-ws__form-title { font-size: 1.5rem; font-weight: 850; margin: 0 0 18px; }
.yani-ws__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.yani-ws__sent { text-align: center; }
.yani-ws__sent img { width: 110px; height: 110px; border-radius: 50%; margin-bottom: 12px; }
.yani-ws__sent h2 { font-size: 1.6rem; margin: 0 0 6px; }
.yani-ws__sent p { color: var(--y-ink-soft); max-width: 30em; margin: 0 auto 20px; }
@media (max-width: 900px) {
	.yani-ws { grid-template-columns: 1fr; margin-top: -80px; }
	.yani-ws__form-wrap { order: -1; }
	.yani-ws__why { padding-top: 12px; }
}
@media (max-width: 560px) { .yani-ws__row { grid-template-columns: 1fr; } }

/* ---------- Shared form bits ---------- */
.yani-field { margin: 0 0 16px; display: flex; flex-direction: column; gap: 6px; }
.yani-field label, .yani-choice legend { font-weight: 700; font-size: .95rem; }
.yani-field b, .yani-choice legend b { color: var(--y-pink-deep); }
.yani-field input, .yani-field textarea {
	width: 100%; min-height: 52px; padding: 10px 16px;
	border: 2px solid var(--y-line); border-radius: var(--y-radius-field);
	background: #fffdfc; color: var(--y-ink); font-size: 1rem;
}
.yani-field textarea { min-height: 96px; }
.yani-field input:focus, .yani-field textarea:focus { border-color: var(--y-pink); outline: none; box-shadow: 0 0 0 4px var(--y-pink-t); }
.yani-field input[dir="ltr"] { text-align: left; }
.yani-field input[dir="ltr"]::placeholder { text-align: right; }

.yani-choice { border: 0; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.yani-choice legend { margin-bottom: 8px; padding: 0; width: 100%; }
.yani-chip { position: relative; cursor: pointer; }
.yani-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.yani-chip span {
	display: inline-flex; align-items: center; min-height: 42px; padding: 6px 16px;
	border-radius: 999px; border: 2px solid var(--y-line); background: #fffdfc;
	font-size: .93rem; font-weight: 600; transition: background .15s, border-color .15s, color .15s;
}
.yani-chip:hover span { border-color: var(--y-ink-soft); }
.yani-chip input:checked + span { background: var(--y-ink); border-color: var(--y-ink); color: #fff; }
.yani-chip input:focus-visible + span { outline: 3px solid var(--y-lilac); outline-offset: 2px; }
.yani-chip--kit span { background: var(--tone-t); border-color: transparent; }
.yani-chip--kit span::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--tone); margin-inline-end: 8px; }
.yani-chip--kit input:checked + span { background: var(--tone-t); color: var(--y-ink); border-color: var(--y-ink); box-shadow: inset 0 0 0 1px var(--y-ink); }
.yani-chip--kit input:checked + span::before { content: "✓"; color: #fff; font-size: 9px; display: grid; place-items: center; font-weight: 900; }
.yani-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Receipt / card-to-card ---------- */
.yani-receipt { margin: 8px 0 32px; padding: clamp(20px, 4vw, 36px); background: #fff; border-radius: 28px; outline: 2px dashed var(--y-stitch); outline-offset: -10px; }
.yani-receipt__title { font-size: 1.35rem; font-weight: 850; margin: 0 0 16px; }
.yani-receipt__flash { padding: 12px 18px; border-radius: 14px; font-weight: 650; margin: 0 0 16px; }
.yani-receipt__flash--success { background: var(--y-mint-t); color: #20553f; }
.yani-receipt__flash--error { background: var(--y-pink-t); color: #8b2640; }
.yani-card {
	position: relative; overflow: hidden; color: #fff;
	background: linear-gradient(135deg, var(--y-pink) 0%, var(--y-lilac) 100%);
	border-radius: 22px; padding: 22px 24px; margin-bottom: 20px; max-width: 480px;
	box-shadow: 0 16px 30px rgba(154, 127, 212, .35);
}
.yani-card::after { content: ""; position: absolute; width: 180px; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .12); inset: -60px -50px auto auto; }
.yani-card__amount { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.yani-card__amount span { opacity: .85; font-size: .9rem; }
.yani-card__amount strong { font-size: 1.35rem; font-weight: 900; }
.yani-card__amount .woocommerce-Price-amount { color: #fff; }
.yani-card__number { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: clamp(1.25rem, 1rem + 1.4vw, 1.6rem); font-weight: 800; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.yani-copy { position: relative; z-index: 1; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .22); color: #fff; font-family: var(--y-font); font-size: .82rem; font-weight: 700; letter-spacing: 0; padding: 6px 14px; cursor: pointer; direction: rtl; }
.yani-copy:hover { background: rgba(255, 255, 255, .34); }
.yani-card__meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; opacity: .92; font-weight: 600; }
.yani-card__sheba { margin-top: 8px; font-size: .9rem; opacity: .85; letter-spacing: .03em; }
.yani-receipt__done h2 { font-size: 1.35rem; margin: 0 0 6px; }
.yani-receipt__done p { margin: 0 0 8px; }
.yani-receipt__hint, .yani-receipt__later { color: var(--y-ink-soft); font-size: .92rem; }
.yani-receipt__form { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; margin: 16px 0; }
.yani-drop {
	flex: 1 1 280px; position: relative; display: flex; flex-direction: column; justify-content: center;
	min-height: 84px; padding: 14px 20px; border-radius: 18px; cursor: pointer;
	border: 2.5px dashed var(--y-pink); background: var(--y-pink-t);
}
.yani-drop.is-picked { border-style: solid; border-color: var(--y-mint); background: var(--y-mint-t); }
.yani-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.yani-drop:focus-within { outline: 3px solid var(--y-lilac); outline-offset: 2px; }
.yani-drop__title { font-weight: 800; }
.yani-drop__hint { font-size: .88rem; color: var(--y-ink-soft); }
.yani-receipt__form .yani-btn { flex: 0 0 auto; align-self: center; }
.yani-lookup { max-width: 460px; }

/* ---------- Blog ---------- */
.yani-blog-intro { display: grid; gap: 10px; margin-bottom: 28px; }
.yani-blog-intro h1 { margin: 0; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); font-weight: 900; }
.yani-blog-intro p { margin: 0; color: var(--y-ink-soft); max-width: 60ch; }
.yani-blog-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.yani-blog-cats a {
	display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
	background: #fff; color: var(--y-ink); font-weight: 650; font-size: .92rem; text-decoration: none;
	box-shadow: 0 3px 0 var(--y-line);
}
.yani-blog-cats a:hover { color: var(--y-pink-deep); }
.yani-blog-cats span { font-size: .8rem; color: var(--y-ink-soft); }

.single-post .entry-content h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); font-weight: 850; margin-top: 1.8em; }
.single-post .entry-content h3 { font-size: 1.15rem; font-weight: 800; }
.single-post .entry-content table { border-collapse: collapse; width: 100%; background: #fff; border-radius: 14px; overflow: hidden; }
.single-post .entry-content th, .single-post .entry-content td { padding: 10px 14px; border-bottom: 1px solid var(--y-line); text-align: right; }

.yani-endbox { margin-top: 2.6em; border-radius: 28px; padding: clamp(20px, 4vw, 32px); display: grid; gap: 20px; align-items: center; }
.yani-endbox h2 { margin: 0 0 8px !important; font-size: 1.35rem !important; }
.yani-endbox p { margin: 0 0 10px; }
.yani-endbox--ws { background: var(--y-lilac-deep); color: #fff; grid-template-columns: minmax(0, 1fr) auto; }
.yani-endbox--ws h2, .yani-endbox--ws p { color: #fff; }
.yani-endbox__actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.yani-endbox__phone { color: #fff; font-weight: 800; text-decoration: none; }
.yani-endbox__phone:hover { color: var(--y-butter); }
.yani-endbox--kit { background: #fff; grid-template-columns: minmax(0, 1fr) minmax(220px, 280px); outline: 2px dashed var(--y-stitch); outline-offset: -10px; }
.yani-endbox--kit .yani-trust { margin-top: 6px; }
.yani-endbox .yani-kit__name { margin: 0 !important; font-size: 1.15rem !important; }
@media (max-width: 700px) {
	.yani-endbox--ws, .yani-endbox--kit { grid-template-columns: minmax(0, 1fr); }
	.yani-endbox__actions { align-items: stretch; }
}

/* Archive cards: show the whole 16:10 cover so the logo badge isn't cropped */
.entries .entry-card .ct-media-container { aspect-ratio: 16 / 10 !important; }
.entries .entry-card .ct-media-container img { aspect-ratio: 16 / 10 !important; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Post lists (internal links) ---------- */
.yani-postlist { margin-top: 2.6em; }
.yani-postlist__title { font-size: 1.3rem !important; font-weight: 850; margin: 0 0 16px !important; }
.yani-postlist__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.yani-postlist--ws .yani-postlist__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.yani-postcard { display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 0 var(--y-line); }
.yani-postcard__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--y-pink-t); }
.yani-postcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yani-postcard__body { padding: 12px 16px 16px; display: grid; gap: 4px; }
.yani-postcard__cat { font-size: .78rem; font-weight: 700; color: var(--y-pink-deep); }
.yani-postcard h3 { margin: 0 !important; font-size: 1rem !important; font-weight: 800; line-height: 1.6; }
.yani-postcard h3 a { color: var(--y-ink); text-decoration: none; }
.yani-postcard h3 a:hover { color: var(--y-pink-deep); }
.yani-home-blog { width: var(--y-shell); margin: 0 auto clamp(64px, 9vw, 120px); }
.yani-home-blog .yani-postlist { margin-top: 0; }
.yani-home-blog .yani-postlist__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.yani-home-blog .yani-blog-cats { margin-top: 20px; }
.yani-blog-cats a[aria-current="page"] { background: var(--y-ink); color: #fff; }
.yani-blog-cats a[aria-current="page"] span { color: #f5e7e3; }
.yani-ws-guides { width: var(--y-shell); margin: 0 auto clamp(64px, 9vw, 110px); }
.single-product .yani-postlist--product { clear: both; padding-top: 1em; }
@media (max-width: 960px) { .yani-postlist--ws .yani-postlist__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .yani-postlist__grid, .yani-postlist--ws .yani-postlist__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Single-post sidebar ---------- */
.ct-sidebar .yani-side { background: #fff; border-radius: 22px; padding: 18px 20px; box-shadow: 0 4px 0 var(--y-line); }
.ct-sidebar .yani-side__title { font-size: 1.02rem !important; font-weight: 850; margin: 0 0 10px !important; }
.ct-sidebar .yani-side--ws { background: var(--y-lilac-deep); color: #fff; box-shadow: none; }
.ct-sidebar .yani-side--ws .yani-side__title, .ct-sidebar .yani-side--ws p { color: #fff; }
.ct-sidebar .yani-side--ws p { font-size: .92rem; margin: 0 0 12px; }
.ct-sidebar .yani-side--ws .yani-btn { width: 100%; }
.yani-side__kits { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.yani-side__kits a { display: flex; align-items: center; gap: 10px; color: var(--y-ink); text-decoration: none; }
.yani-side__kits img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.yani-side__kits span { display: grid; line-height: 1.5; }
.yani-side__kits strong { font-weight: 800; font-size: .95rem; }
.yani-side__kits small { font-size: .8rem; color: var(--y-ink-soft); }
.yani-side__kits small ins { text-decoration: none; }
.ct-sidebar .wp-block-categories, .ct-sidebar .wp-block-latest-posts { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.ct-sidebar .wp-block-categories a, .ct-sidebar .wp-block-latest-posts a { color: var(--y-ink); text-decoration: none; font-weight: 600; font-size: .93rem; line-height: 1.6; }
.ct-sidebar .wp-block-categories a:hover, .ct-sidebar .wp-block-latest-posts a:hover { color: var(--y-pink-deep); }

/* ---------- Captcha ---------- */
.yani-captcha { margin: 0 0 18px; display: flex; flex-direction: column; gap: 6px; }
.yani-captcha label { font-weight: 700; font-size: .95rem; }
.yani-captcha label b { color: var(--y-pink-deep); }
.yani-captcha__row { display: flex; align-items: center; gap: 8px; }
.yani-captcha__img { width: 150px; height: auto; border-radius: var(--y-radius-field); border: 2px solid var(--y-line); background: var(--y-bg); flex-shrink: 0; }
.yani-captcha__refresh {
	display: grid; place-items: center; flex-shrink: 0;
	width: 46px; height: 46px; padding: 0; border-radius: 50%;
	border: 2px solid var(--y-line); background: #fff; color: var(--y-ink); cursor: pointer;
}
.yani-captcha__refresh:hover { border-color: var(--y-ink-soft); color: var(--y-pink-deep); }
.yani-captcha .yani-captcha__input {
	flex: 1; min-width: 0; max-width: 140px; min-height: 48px; padding: 8px 12px;
	border: 2px solid var(--y-line); border-radius: var(--y-radius-field); background: #fffdfc;
	font-size: 1.1rem; font-weight: 700; text-align: center; color: var(--y-ink);
}
.yani-captcha .yani-captcha__input:focus { border-color: var(--y-pink); outline: none; box-shadow: 0 0 0 4px var(--y-pink-t); }
.yani-captcha--inline { flex-basis: 100%; margin: 0; }
.yani-captcha--checkout { margin-top: 8px; }

/* ---------- Trust (eNamad) ---------- */
.yani-trust { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: .92rem; color: var(--y-ink-soft); }
.yani-trust svg { flex-shrink: 0; margin-top: 3px; color: #2f8f63; }
.yani-trust a { color: var(--y-ink); font-weight: 700; text-decoration-color: var(--y-line); text-underline-offset: 3px; }
.yani-trust--hero { margin-top: 22px; }
.yani-trust--compact { font-size: .85rem; }
.yani-checkout-trust { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1.5px dashed var(--y-stitch); }
.yani-checkout-trust .yani-enamad { flex-shrink: 0; line-height: 0; }
.yani-checkout-trust .yani-enamad img { width: 72px; height: auto; }
.single-product .yani-trust { margin-top: 14px; }

/* ---------- WooCommerce touches ---------- */
.yani-hidden-row { display: none !important; }
.yani-ltr input, .yani-ltr-input { direction: ltr; text-align: left; }
.woocommerce-checkout .woocommerce-billing-fields h3 { font-size: 1.3rem; }
.woocommerce form .form-row label { font-weight: 700; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .ct-woo-card-actions .button { font-family: var(--y-font); }
.woocommerce-order-received .woocommerce-order-overview { border-radius: 20px; }
#payment .payment_box { border-radius: 14px; }
.single-product .price ins, .ct-woo-card-price ins { text-decoration: none; }

/* ---------- Plain pages ---------- */
.entry-content > h2 { margin-top: 1.6em; }
.yani-page-lead { font-size: 1.15rem; color: var(--y-ink-soft); }
.entry-content .yani-contact { background: #fff; border-radius: 24px; padding: 24px 28px; box-shadow: 0 4px 0 var(--y-line); gap: 12px; }
.entry-content .yani-contact li { grid-template-columns: 110px 1fr; }
