/* ═══════════════════════════════════════════════════════════
   CURVANA — صفحهٔ اصلی (front-page)
   مطابق موکاپ برند کِروانا. امضای بصری: «نخ طلایی».
   آرت‌دایرکشن برند ثابت است (کرم/بنفش) و مستقل از سه‌نما — تا در هر
   نما عیناً مثل موکاپ دیده شود. رنگ‌ها از توکن‌های --cv-* (تعریف‌شده در
   inc/curvana-brand.php) می‌آیند. enqueue شرطی روی is_front_page().
   RTL-first؛ ریسپانسیو/موبایل از موکاپ.
═══════════════════════════════════════════════════════════ */

.cvh-home{
	background:var(--cv-cream,#FBF6F1);
	color:var(--cv-ink,#2B1A2E);
	font-family:'Vazirmatn',Tahoma,sans-serif;
	line-height:1.85;
	overflow-x:clip;
}
.cvh-home :where(h1,h2,h3){color:var(--cv-plumdk,#3A1730);line-height:1.32;}
.cvh-container{max-width:1140px;margin:0 auto;padding:0 24px;}
.cvh-thread{display:inline-block;vertical-align:middle;}

/* ── دکمه‌ها ── */
.cvh-btn{display:inline-flex;align-items:center;gap:10px;font-family:'Vazirmatn',sans-serif;font-weight:700;
	font-size:15px;padding:14px 30px;border-radius:44px;border:0;cursor:pointer;text-decoration:none;
	transition:transform .25s var(--cv-ease),box-shadow .25s var(--cv-ease),background .25s,border-color .25s,color .25s;}
.cvh-btn svg{width:17px;height:17px;}
.cvh-btn--plum{background:var(--cv-plum,#6B2D5C);color:#fff;box-shadow:0 10px 26px rgba(107,45,92,.32);}
.cvh-btn--plum:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(107,45,92,.42);background:var(--cv-plumdk,#3A1730);}
.cvh-btn--gold{background:var(--cv-gold,#C9A24B);color:#fff;box-shadow:0 10px 26px rgba(201,162,75,.32);}
.cvh-btn--gold:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(201,162,75,.42);}
.cvh-btn--ghost{background:transparent;color:var(--cv-plumdk,#3A1730);border:1.5px solid #d9c4d2;}
.cvh-btn--ghost:hover{border-color:var(--cv-plum,#6B2D5C);color:var(--cv-plum,#6B2D5C);transform:translateY(-2px);}

/* ── اعلان بالای صفحه ── */
.cvh-announce{background:var(--cv-night,#241019);color:#e9d9e2;text-align:center;font-size:13px;
	padding:10px 16px;letter-spacing:.01em;}
.cvh-announce b{color:var(--cv-gold-soft,#E3CD9A);font-weight:700;}
.cvh-announce-sep{margin:0 10px;color:#6b5560;}

/* ── سرستون بخش‌ها ── */
.cvh-section{padding:64px 0;position:relative;}
.cvh-bg-cream{background:var(--cv-cream,#FBF6F1);}
.cvh-bg-mist{background:var(--cv-mist,#F3E9EF);}
.cvh-head{text-align:center;margin-bottom:40px;}
.cvh-head-eng{font-family:var(--cv-font-latin,'Vazirmatn');letter-spacing:.34em;font-size:11px;
	color:var(--cv-gold,#C9A24B);font-weight:600;display:block;margin-bottom:10px;text-transform:uppercase;}
.cvh-head-eng--rose{color:var(--cv-rose,#E7A6AE);}
.cvh-head-eng--gold{color:var(--cv-gold,#C9A24B);}
.cvh-head h2{font-size:clamp(24px,3.4vw,31px);font-weight:900;}
.cvh-head .cv-thread{margin:12px auto 0;display:block;}

/* ════════ HERO ════════ */
.cvh-hero{position:relative;overflow:hidden;background:var(--cv-cream,#FBF6F1);
	padding:72px 24px 84px;display:grid;grid-template-columns:1.08fr .92fr;gap:44px;align-items:center;
	max-width:1200px;margin:0 auto;min-height:520px;}
/* «نخ» پس‌زمینهٔ هیرو — فقط در نیمهٔ پایینی و کم‌رنگ تا شلوغ نشود */
.cvh-hero-ribbon{position:absolute;left:0;right:0;bottom:0;top:42%;width:100%;height:58%;
	pointer-events:none;opacity:.45;z-index:0;}
.cvh-hero-copy{position:relative;z-index:2;}
.cvh-eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:13px;color:var(--cv-plum,#6B2D5C);
	font-weight:600;background:var(--cv-mist,#F3E9EF);border:1px solid #e8d4e2;border-radius:30px;
	padding:7px 18px;margin-bottom:24px;}
.cvh-eyebrow i{width:7px;height:7px;border-radius:50%;background:var(--cv-gold,#C9A24B);}
.cvh-hero-title{font-size:clamp(36px,4.6vw,60px);font-weight:900;line-height:1.3;
	color:var(--cv-plumdk,#3A1730);margin:0 0 20px;}
.cvh-hl{position:relative;display:inline-block;color:var(--cv-plum,#6B2D5C);}
.cvh-hl svg{position:absolute;right:0;left:0;bottom:-8px;width:100%;height:16px;}
.cvh-hero-desc{font-size:16.5px;color:#6d5d68;max-width:420px;margin:0 0 32px;}
.cvh-hero-ctas{display:flex;align-items:center;gap:16px;flex-wrap:wrap;}
.cvh-proof{display:flex;align-items:center;gap:12px;margin-top:34px;font-size:13px;color:#7d6c78;}
.cvh-proof-faces{display:flex;}
.cvh-proof-faces i{width:32px;height:32px;border-radius:50%;border:2px solid var(--cv-cream,#FBF6F1);
	margin-inline-start:-9px;display:block;}
.cvh-proof b{color:var(--cv-plumdk,#3A1730);}

/* hero visual — پرتره دایره‌ای با «نخ طلایی» */
.cvh-hero-visual{position:relative;z-index:2;display:flex;justify-content:center;align-items:center;}
.cvh-orbit{width:min(380px,86%);aspect-ratio:1;border-radius:50%;position:relative;
	background:linear-gradient(165deg,#8C4178 0%,#3A1730 100%);box-shadow:0 36px 70px rgba(58,23,48,.32);}
.cvh-orbit-figure{position:absolute;inset:0;border-radius:50%;overflow:hidden;display:flex;align-items:flex-end;justify-content:center;}
.cvh-orbit-note{position:absolute;bottom:18px;right:0;left:0;text-align:center;font-size:11px;color:rgba(255,255,255,.6);}
/* مرکزچینِ قطعی نخ طلایی روی دایره (جلوگیری از انحراف به راست در RTL ناشی از over-constraint) */
.cvh-orbit-thread{position:absolute;inset:auto;top:50%;left:50%;transform:translate(-50%,-50%);width:126%;height:126%;pointer-events:none;opacity:.85;}
.cvh-orbit-chip{position:absolute;top:26px;right:-6px;background:var(--cv-gold,#C9A24B);color:#fff;border-radius:30px;
	padding:8px 18px;font-size:12.5px;font-weight:700;box-shadow:0 10px 24px rgba(201,162,75,.4);z-index:3;}
.cvh-orbit-tag{position:absolute;bottom:26px;left:-14px;background:#fff;border-radius:16px;padding:12px 18px;
	box-shadow:0 14px 34px rgba(58,23,48,.18);display:flex;align-items:center;gap:12px;z-index:3;}
.cvh-orbit-tag-ic{width:40px;height:40px;border-radius:12px;background:var(--cv-mist,#F3E9EF);
	display:flex;align-items:center;justify-content:center;}
.cvh-orbit-tag-ic svg{width:20px;height:20px;color:var(--cv-plum,#6B2D5C);}
.cvh-orbit-tag small{display:block;font-size:11px;color:#9b8a95;}
.cvh-orbit-tag b{font-size:13.5px;color:var(--cv-plumdk,#3A1730);}

/* ════════ MARQUEE ════════ */
.cvh-marquee{background:var(--cv-plumdk,#3A1730);color:var(--cv-rose-soft,#F2C8CE);overflow:hidden;
	padding:13px 0;white-space:nowrap;}
.cvh-marquee-track{display:inline-flex;align-items:center;animation:cvh-slide 26s linear infinite;
	font-size:14px;letter-spacing:.05em;}
.cvh-marquee-word{padding:0 4px;}
.cvh-marquee .cv-thread{margin:0 16px;}
@keyframes cvh-slide{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.cvh-marquee-track{animation:none;}}

/* ════════ CATEGORIES ════════ */
.cvh-cat-zone{position:relative;max-width:1060px;margin:0 auto;}
.cvh-cat-stitch{position:absolute;top:60px;right:0;left:0;width:100%;height:40px;pointer-events:none;}
.cvh-cats{display:grid;grid-template-columns:repeat(5,1fr);gap:20px;position:relative;z-index:2;}
.cvh-catcard{text-align:center;text-decoration:none;}
.cvh-catcard-ar{display:block;aspect-ratio:1;border-radius:50%;position:relative;overflow:hidden;width:82%;margin:0 auto;
	transition:transform .3s var(--cv-ease),box-shadow .3s;box-shadow:0 8px 22px rgba(58,23,48,.12);border:3px solid #fff;}
.cvh-catcard:hover .cvh-catcard-ar{transform:translateY(-7px);box-shadow:0 20px 40px rgba(58,23,48,.22);}
.cvh-catcard-ar img{width:100%;height:100%;object-fit:cover;display:block;}
.cvh-catcard-name{margin-top:14px;font-size:15px;font-weight:700;color:var(--cv-plumdk,#3A1730);}
.cvh-catcard small{font-size:12px;color:#9b8a95;}
.cvh-silh{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:center;}
.cvh-c1{background:linear-gradient(160deg,#8C4178,#3A1730);}
.cvh-c2{background:linear-gradient(160deg,#E7A6AE,#a85a73);}
.cvh-c3{background:linear-gradient(160deg,#C9A24B,#7a5a23);}
.cvh-c4{background:linear-gradient(160deg,#6B2D5C,#A85283);}
.cvh-c5{background:linear-gradient(160deg,#4a2440,#241019);}

/* ════════ PRODUCT ROWS (بازاستفاده از ksh-row + کارت .hkc) ════════ */
.cvh-products .ksh-row{position:relative;}
.ksh-row-track{display:flex;gap:22px;overflow-x:auto;scroll-behavior:smooth;
	padding:6px 2px 14px;scrollbar-width:none;}
.ksh-row-track::-webkit-scrollbar{display:none;}
.cvh-products .ksh-row-item{flex:0 0 clamp(210px,24%,256px);}
.ksh-row-nav{position:absolute;top:42%;z-index:5;width:42px;height:42px;border-radius:50%;border:0;cursor:pointer;
	background:#fff;color:var(--cv-plum,#6B2D5C);box-shadow:0 8px 22px rgba(58,23,48,.16);
	display:flex;align-items:center;justify-content:center;transition:transform .2s,background .2s,color .2s;}
.ksh-row-nav:hover{background:var(--cv-plum,#6B2D5C);color:#fff;transform:scale(1.06);}
.ksh-row-nav--prev{right:-10px;}
.ksh-row-nav--next{left:-10px;}
.cvh-more-wrap{text-align:center;margin-top:30px;}

/* پولیش کارت محصول در صفحهٔ اصلی (رنگ‌ها از --ks-* که به --cv-* نگاشت شده‌اند) */
.cvh-products .hkc{background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 7px 20px rgba(58,23,48,.08);
	transition:transform .3s var(--cv-ease),box-shadow .3s;}
.cvh-products .hkc:hover{transform:translateY(-7px);box-shadow:0 22px 44px rgba(58,23,48,.17);}

/* ════════ SIZE-GUIDE BAND ════════ */
.cvh-band{background:var(--cv-grad);color:#fff;padding:56px 24px;position:relative;overflow:hidden;}
.cvh-band-thread{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;}
.cvh-band-inner{max-width:1040px;margin:0 auto;display:grid;grid-template-columns:1.2fr .8fr;gap:30px;
	align-items:center;position:relative;z-index:2;}
.cvh-band h2{color:#fff;font-size:clamp(22px,3vw,28px);font-weight:900;margin-bottom:12px;}
.cvh-band p{color:#fceef3;font-size:15px;max-width:480px;margin:0;}
.cvh-meas{display:flex;gap:14px;flex-wrap:wrap;}
.cvh-m{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.25);border-radius:16px;
	padding:16px 20px;text-align:center;backdrop-filter:blur(3px);min-width:92px;}
.cvh-m b{display:block;font-family:var(--cv-font-latin,'Vazirmatn');font-size:19px;font-weight:600;}
.cvh-m small{font-size:12px;color:#f6dde7;}

/* ════════ VALUES ════════ */
.cvh-values-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;max-width:1020px;margin:0 auto;}
.cvh-val{background:#fff;border-radius:20px;padding:34px 26px;text-align:center;
	box-shadow:0 7px 20px rgba(58,23,48,.07);transition:transform .25s var(--cv-ease);}
.cvh-val:hover{transform:translateY(-4px);}
.cvh-val .cv-thread{margin:0 auto 16px;display:block;}
.cvh-val-ic{width:66px;height:66px;border-radius:50%;background:var(--cv-mist,#F3E9EF);margin:0 auto 18px;
	display:flex;align-items:center;justify-content:center;}
.cvh-val-ic svg{color:var(--cv-plum,#6B2D5C);}
.cvh-val h3{font-size:18px;font-weight:800;margin-bottom:9px;}
.cvh-val p{font-size:14px;color:#6f5f6a;margin:0;}

/* ════════ STORY ════════ */
.cvh-story{background:var(--cv-night,#241019);color:#fff;padding:84px 24px;text-align:center;position:relative;overflow:hidden;}
.cvh-story-thread{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:.6;}
.cvh-story-inner{position:relative;z-index:2;max-width:720px;margin:0 auto;}
.cvh-story h2{color:#fff;font-size:clamp(24px,3.6vw,40px);font-weight:900;line-height:1.55;margin:0 auto 22px;}
.cvh-story h2 em{font-style:normal;color:var(--cv-rose,#E7A6AE);}
.cvh-story p{max-width:560px;margin:0 auto 30px;color:#cbb3c2;font-size:15.5px;}
/* خط تأکیدیِ «زیبایی، اندازه نمی‌شناسد» بین متن و دکمه */
.cvh-story p.cvh-story-tagline{margin:0 auto 30px;color:var(--cv-rose,#E7A6AE);font-size:18px;font-weight:800;letter-spacing:.01em;}

/* ════════ NEWSLETTER ════════ */
.cvh-news{background:var(--cv-cream,#FBF6F1);padding:64px 24px;text-align:center;}
.cvh-news-inner{max-width:560px;}
.cvh-news h2{font-size:clamp(22px,3vw,27px);font-weight:900;margin-bottom:10px;}
.cvh-news p{color:#7d6c78;font-size:15px;margin-bottom:24px;}
.cvh-nl-form{display:flex;gap:8px;max-width:480px;margin:0 auto;background:#fff;border-radius:50px;padding:7px;
	box-shadow:0 12px 30px rgba(58,23,48,.12);border:1px solid #f0e2eb;position:relative;align-items:center;}
.cvh-nl-form input{flex:1 1 auto;min-width:0;height:48px;border:0;background:transparent;padding:0 20px;
	font-family:'Vazirmatn';font-size:14px;outline:none;color:var(--cv-ink,#2B1A2E);}
.cvh-nl-form .cvh-btn{flex:0 0 auto;height:48px;padding:0 28px;}
.cvh-nl-msg{position:absolute;left:0;right:0;top:calc(100% + 10px);margin:0;font-size:12.5px;text-align:center;color:var(--cv-plum,#6B2D5C);}

/* ════════ RESPONSIVE / MOBILE (مطابق موکاپ) ════════ */
@media (max-width:980px){
	.cvh-hero{grid-template-columns:1fr;padding:48px 22px 64px;text-align:center;}
	.cvh-hero-desc{margin-inline:auto;}
	.cvh-hero-ctas,.cvh-proof{justify-content:center;}
	.cvh-hero-visual{margin-top:18px;}
	.cvh-band-inner{grid-template-columns:1fr;text-align:center;}
	.cvh-meas{justify-content:center;}
	.cvh-cat-stitch{display:none;}
	.cvh-cats{grid-template-columns:repeat(3,1fr);gap:16px;}
	.cvh-values-grid{grid-template-columns:1fr;max-width:420px;}
}
@media (max-width:600px){
	.cvh-section{padding:48px 0;}
	.cvh-cats{grid-template-columns:repeat(2,1fr);}
	.cvh-hero-title{font-size:34px;}
	.cvh-hero-ctas .cvh-btn{flex:1 1 100%;justify-content:center;}
	.cvh-orbit-tag{left:0;}
	.cvh-orbit-chip{right:0;}
	.cvh-products .ksh-row-item{flex:0 0 64%;}
	.ksh-row-nav{display:none;}
	.cvh-nl-form{border-radius:40px;}
	.cvh-nl-form .cvh-btn{padding:0 18px;}
}


/* ============================================================
   CURVANA homepage product cards (.hkc) - full styling + equal
   height + 2-line clamped titles (shop-v2.css is not loaded here)
   ============================================================ */
.cvh-products .ksh-row-track{ align-items: stretch; }
.cvh-products .ksh-row-item{ display:flex; }
.cvh-products .hkc{
	display:flex; flex-direction:column; width:100%;
	background:#fff; border-radius:18px; overflow:hidden; position:relative;
	box-shadow:0 7px 20px rgba(58,23,48,.08);
	transition:transform .3s var(--cv-ease,ease), box-shadow .3s; cursor:pointer;
}
.cvh-products .hkc:hover{ transform:translateY(-7px); box-shadow:0 22px 44px rgba(58,23,48,.17); }
.cvh-products .hkc__media{ position:relative; aspect-ratio:3/3.6; overflow:hidden; background:var(--cv-mist,#F3E9EF); }
.cvh-products .hkc__media-link{ display:block; width:100%; height:100%; }
.cvh-products .hkc__img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .45s, opacity .35s; }
.cvh-products .hkc__img--hover{ opacity:0; }
.cvh-products .hkc:hover .hkc__img--hover{ opacity:1; }
.cvh-products .hkc:hover .hkc__img--primary{ transform:scale(1.05); }
.cvh-products .hkc__img-placeholder{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background:linear-gradient(160deg,#8C4178,#3A1730); }
.cvh-products .hkc__img-placeholder svg{ color:rgba(251,246,241,.45); }
.cvh-products .hkc__badges{ position:absolute; top:13px; right:13px; display:flex; flex-direction:column; gap:6px; z-index:2; }
.cvh-products .hkc__badge{ font-size:11px; font-weight:700; padding:5px 13px; border-radius:22px; background:#fff; color:var(--cv-plum,#6B2D5C); box-shadow:0 4px 12px rgba(58,23,48,.12); }
.cvh-products .hkc__badge--sale, .cvh-products .hkc__badge--off, .cvh-products .hkc__badge--festival{ background:var(--cv-gold,#C9A24B); color:#fff; }
.cvh-products .hkc__wishlist{ position:absolute; top:12px; left:12px; width:32px; height:32px; background:rgba(255,255,255,.92); border:0; border-radius:50%; display:flex; align-items:center; justify-content:center; z-index:2; cursor:pointer; color:var(--cv-plum,#6B2D5C); transition:transform .2s; }
.cvh-products .hkc__wishlist:hover{ transform:scale(1.12); }
.cvh-products .hkc__wishlist svg{ width:15px; height:15px; }
.cvh-products .hkc__quick-add{ position:absolute; left:12px; right:12px; bottom:12px; z-index:2; opacity:0; transform:translateY(10px); transition:all .3s; }
.cvh-products .hkc:hover .hkc__quick-add{ opacity:1; transform:translateY(0); }
.cvh-products .hkc__quick-add .button, .cvh-products .hkc__add-btn, .cvh-products .hkc__quick-add a{ display:block; width:100%; text-align:center; background:rgba(36,16,25,.85); color:#fff; border:0; border-radius:12px; padding:11px; font-family:'Vazirmatn',sans-serif; font-weight:700; font-size:13px; cursor:pointer; text-decoration:none; transition:background .2s; }
.cvh-products .hkc__quick-add .button:hover, .cvh-products .hkc__add-btn:hover{ background:var(--cv-plum,#6B2D5C); }
.cvh-products .hkc__body{ display:flex; flex-direction:column; flex:1 1 auto; padding:15px 17px 18px; }
.cvh-products .hkc__cat{ font-size:11.5px; color:#a08f9b; margin-bottom:4px; text-decoration:none; }
.cvh-products .hkc__title{ position:relative; font-size:15px; font-weight:700; color:var(--cv-ink,#2B1A2E); margin:0 0 9px; }
.cvh-products .hkc__title a{ color:inherit; text-decoration:none; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; line-height:1.35; min-height:2.7em; }
.cvh-products .hkc__rating{ display:flex; align-items:center; gap:5px; margin-bottom:8px; font-size:12px; color:var(--cv-gold,#C9A24B); }
.cvh-products .hkc__stars{ color:var(--cv-gold,#C9A24B); letter-spacing:1px; }
.cvh-products .hkc__rating-count{ color:#a08f9b; }
.cvh-products .hkc__swatches{ display:flex; flex-wrap:wrap; gap:6px; margin-bottom:10px; }
.cvh-products .hkc__swatch--color{ width:18px; height:18px; border-radius:50%; box-shadow:0 0 0 1px #e9dce5; }
.cvh-products .hkc__swatch--size{ font-family:'Vazirmatn'; font-size:10px; color:#8d7c88; border:1px solid #e9dce5; border-radius:6px; padding:1px 6px; }
.cvh-products .hkc__price-row{ margin-top:auto; display:flex; align-items:center; gap:9px; flex-wrap:wrap; }
.cvh-products .hkc__price{ color:var(--cv-plum,#6B2D5C); font-size:16px; font-weight:800; }
.cvh-products .hkc__price del, .cvh-products .hkc__price .woocommerce-Price-amount del{ color:#c4b6c0; font-size:12.5px; font-weight:400; }
.cvh-products .hkc__price ins{ text-decoration:none; }
.cvh-products .hkc__urgency{ font-size:11px; color:#a85a73; }
.cvh-products .hkc__urgency--out{ color:#9b8a95; }
/* golden-thread under title on hover */
.cvh-products .hkc__title::after{ content:""; position:absolute; right:0; bottom:-4px; width:0; height:8px; opacity:0; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 10'%3E%3Cpath d='M3 3 C18 11 28 11 34 5 C40 -1 50 1 57 7' fill='none' stroke='%23C9A24B' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right/contain; transition:width .35s, opacity .35s; }
.cvh-products .hkc:hover .hkc__title::after{ width:42px; opacity:1; }


/* ====== CURVANA homepage - mobile polish (match mockup) ====== */
@media (max-width:600px){
	.cvh-hero{ min-height:auto; gap:22px; padding:36px 18px 28px; }
	.cvh-orbit{ width:min(300px,78%); }
	.cvh-hero-title{ font-size:31px; }
	.cvh-section{ padding:40px 0; }
	/* categories as a horizontal scroll row (mockup feel) */
	.cvh-cats{ display:flex; gap:14px; overflow-x:auto; scrollbar-width:none; padding:2px 2px 8px; grid-template-columns:none; }
	.cvh-cats::-webkit-scrollbar{ display:none; }
	.cvh-catcard{ flex:0 0 30%; }
	.cvh-catcard-ar{ width:100%; }
	.cvh-head{ margin-bottom:26px; }
	.cvh-marquee{ padding:10px 0; }
}
