/*
Theme Name: Veliq — فيليك
Theme URI: https://veliq.com
Author: Veliq Team
Author URI: https://veliq.com
Description: منصة اكتشاف الموضة الذكية — Fashion Discovery Platform. Editorial luxury theme with RTL Arabic support, Pinterest-style masonry layout, and AI-powered style discovery features.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: veliq
Tags: rtl-language, arabic, fashion, editorial, blog, magazine, minimal, luxury
*/

/* ═══════════════════════════════════════════════════
   VELIQ THEME — MASTER STYLESHEET
   Editorial Luxury + Fashion Discovery Platform
   Direction: RTL (Arabic)
═══════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─────────────────────────────── */
:root {
  --black:        #111111;
  --black-deep:   #0d0b09;
  --ivory:        #F7F3EE;
  --beige:        #C7A97B;
  --beige-dark:   #b0945f;
  --beige-light:  #e8dfd4;
  --violet:       #8B5CF6;
  --violet-dark:  #7c3aed;
  --white:        #ffffff;
  --gray:         #888888;
  --gray-light:   #cccccc;
  --gray-subtle:  rgba(17,17,17,.07);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-ar:      'Cairo', sans-serif;

  --ease:         cubic-bezier(.22,.61,.36,1);
  --ease-out:     cubic-bezier(0,0,.38,1);

  --nav-h:        72px;
  --max-w:        1400px;
  --content-w:    780px;
}

/* ─── RESET & BASE ───────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--ivory);
  color: var(--black);
  font-family: var(--font-ar);
  line-height: 1.7;
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }
figure { margin: 0; }

/* ─── TYPOGRAPHY ─────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-ar);
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
}

.display-font { font-family: var(--font-display); }

p { line-height: 1.85; }

/* ─── UTILITY ────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 5vw;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ─── SECTION COMMONS ────────────────────────────── */
section { padding: 7rem 8vw; }

.section-label {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--beige);
  margin-bottom: .8rem;
  font-weight: 600;
  display: block;
}

.section-title {
  font-family: var(--font-ar);
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
}
.section-title em { font-style: normal; color: var(--beige); }

.section-head { margin-bottom: 3.5rem; }

/* ─── SCROLL REVEAL ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── LOGO ───────────────────────────────────────── */
.veliq-logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
}
.veliq-logo__svg { width: 42px; height: 42px; flex-shrink: 0; }
.veliq-logo__wordmark {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--white);
  line-height: 1;
  transition: color .4s;
}
.veliq-logo__wordmark .ar-sub {
  font-family: var(--font-ar);
  font-size: 1rem;
  font-weight: 400;
  color: var(--beige);
  display: block;
  letter-spacing: .02em;
  line-height: 1.2;
}

/* ─── NAVIGATION ─────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 100;
  padding: 0 5vw;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .4s, backdrop-filter .4s;
}
.site-header.scrolled {
  background: rgba(247,243,238,.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(17,17,17,.07);
}
.site-header.scrolled .veliq-logo__wordmark { color: var(--black); }
.site-header.scrolled .nav-menu a { color: var(--black); opacity: .65; }
.site-header.scrolled .nav-cta { border-color: var(--black); color: var(--black); }
.site-header.scrolled .lang-toggle { color: var(--gray); }

.nav-menu {
  display: flex;
  gap: 1.8rem;
  flex-direction: row-reverse;
}
.nav-menu a {
  font-size: .88rem;
  color: rgba(247,243,238,.9);
  text-decoration: none;
  transition: color .2s;
  font-weight: 400;
}
.nav-menu a:hover { color: var(--beige) !important; opacity: 1 !important; }

.nav-right { display: flex; align-items: center; gap: 1.5rem; }

.nav-cta {
  font-size: .85rem;
  padding: .6rem 1.6rem;
  border: 1px solid rgba(247,243,238,.6);
  background: transparent;
  color: rgba(247,243,238,.9);
  font-family: var(--font-ar);
  font-weight: 500;
  transition: all .25s;
}
.nav-cta:hover {
  background: var(--beige);
  border-color: var(--beige);
  color: var(--white);
}
.site-header.scrolled .nav-cta:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--ivory);
}

.lang-toggle {
  font-size: .78rem;
  color: rgba(247,243,238,.5);
  border-bottom: 1px solid transparent;
  transition: all .2s;
  padding-bottom: 2px;
}
.lang-toggle:hover { color: var(--beige); border-color: var(--beige); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all .3s;
}
.site-header.scrolled .hamburger span { background: var(--black); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 0; right: -100%; left: auto;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: var(--black-deep);
  z-index: 200;
  padding: 5rem 2.5rem 3rem;
  transition: right .4s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.mobile-nav.open { right: 0; }
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s;
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: all; }
.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  color: rgba(247,243,238,.5);
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-nav ul a {
  font-size: 1.1rem;
  color: rgba(247,243,238,.8);
  font-weight: 500;
  transition: color .2s;
}
.mobile-nav ul a:hover { color: var(--beige); }

/* ─── AI BADGE ───────────────────────────────────── */
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(139,92,246,.1);
  border: 1px solid rgba(139,92,246,.25);
  padding: .35rem 1rem;
  font-size: .72rem;
  color: var(--violet);
  margin-bottom: 1.6rem;
}
.ai-dot {
  width: 6px; height: 6px;
  background: var(--violet);
  border-radius: 50%;
  animation: aiPulse 2s ease-in-out infinite;
}
@keyframes aiPulse {
  0%,100% { opacity:.3; transform:scale(.8); }
  50%      { opacity:1;  transform:scale(1.3); }
}

/* ─── HERO ───────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 660px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(160deg, #1e1813 0%, #14110e 50%, #0a0806 100%);
}
.hero__visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.hero__visual-inner {
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(199,169,123,.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(139,92,246,.05) 0%, transparent 45%),
    linear-gradient(160deg, #2d2318 0%, #1a1410 40%, #0e0b07 100%);
}
.hero__visual::before {
  content: '';
  position: absolute;
  right: 8%; top: 50%;
  transform: translateY(-50%);
  width: 38%; height: 88%;
  border-right: 1px solid rgba(199,169,123,.12);
  border-top: 1px solid rgba(199,169,123,.07);
}
.hero__visual::after {
  content: 'V';
  position: absolute;
  left: 5%; bottom: 8%;
  font-family: var(--font-display);
  font-size: 14vw;
  color: rgba(199,169,123,.04);
  line-height: 1;
  pointer-events: none;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(8,6,4,.65) 0%, rgba(8,6,4,.1) 100%);
  z-index: 2;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .55;
  filter: saturate(.75);
  z-index: 1;
  transition: transform .1s linear;
}
.hero__content {
  position: relative;
  z-index: 3;
  padding: 0 8vw;
  max-width: 820px;
}
.hero__eyebrow {
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--beige);
  margin-bottom: 1.2rem;
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  transition: all .8s .1s var(--ease);
}
.hero__h1 {
  font-family: var(--font-ar);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all .9s .2s var(--ease);
}
.hero__h1 em { font-style: normal; color: var(--beige); }
.hero__sub {
  font-size: .98rem;
  line-height: 2;
  color: rgba(247,243,238,.7);
  max-width: 500px;
  margin-bottom: 2.8rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all .8s .35s var(--ease);
  font-weight: 300;
}
.hero__btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: all .8s .5s var(--ease);
}
.hero.loaded .hero__eyebrow,
.hero.loaded .ai-badge,
.hero.loaded .hero__h1,
.hero.loaded .hero__sub,
.hero.loaded .hero__btns { opacity: 1; transform: translateY(0); }

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(247,243,238,.35);
  font-size: .68rem;
  letter-spacing: .15em;
}
.hero__scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(199,169,123,.5));
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity:.2; transform:scaleY(.5); }
  60%      { opacity:1;  transform:scaleY(1); }
}

/* ─── BUTTONS ────────────────────────────────────── */
.btn-primary {
  padding: .9rem 2.4rem;
  background: var(--beige);
  color: var(--white);
  border: none;
  font-family: var(--font-ar);
  font-size: .88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .25s;
  display: inline-block;
  text-align: center;
}
.btn-primary:hover { background: var(--beige-dark); transform: translateY(-2px); }

.btn-secondary {
  padding: .9rem 2.4rem;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.35);
  font-family: var(--font-ar);
  font-size: .88rem;
  font-weight: 400;
  cursor: pointer;
  transition: all .25s;
  display: inline-block;
  text-align: center;
}
.btn-secondary:hover { border-color: var(--beige); color: var(--beige); }

.btn-outline {
  display: inline-block;
  font-size: .82rem;
  letter-spacing: .06em;
  padding: .9rem 2.8rem;
  border: 1px solid var(--black);
  color: var(--black);
  font-family: var(--font-ar);
  transition: all .25s;
  font-weight: 500;
}
.btn-outline:hover { background: var(--black); color: var(--ivory); }

.btn-violet {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: 1rem 2.2rem;
  background: linear-gradient(135deg, var(--violet) 0%, var(--violet-dark) 100%);
  color: var(--white);
  border: none;
  font-family: var(--font-ar);
  font-size: .88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .25s;
}
.btn-violet:hover { background: linear-gradient(135deg, var(--violet-dark) 0%, #6d28d9 100%); transform: translateY(-2px); }

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: 1rem 2.2rem;
  background: var(--black);
  color: var(--ivory);
  border: none;
  font-family: var(--font-ar);
  font-size: .88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .25s;
}
.btn-dark:hover { background: var(--beige); }

/* ─── STYLE INTELLIGENCE ─────────────────────────── */
.intelligence-section { background: var(--white); padding: 6rem 8vw; }

.intel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.intel-card {
  position: relative;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(17,17,17,.07);
  cursor: pointer;
  transition: all .35s var(--ease);
  overflow: hidden;
}
.intel-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(199,169,123,.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .35s;
}
.intel-card:hover {
  border-color: rgba(199,169,123,.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(199,169,123,.1);
}
.intel-card:hover::before { opacity: 1; }
.intel-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(199,169,123,.15);
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: color .3s;
}
.intel-card:hover .intel-num { color: rgba(199,169,123,.35); }
.intel-title { font-size: 1.1rem; font-weight: 600; color: var(--black); margin-bottom: .7rem; }
.intel-desc { font-size: .88rem; color: var(--gray); line-height: 1.9; font-weight: 300; }
.intel-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: .75rem;
  color: var(--beige);
  opacity: 0;
  transform: translateX(8px);
  transition: all .3s;
}
.intel-card:hover .intel-link { opacity: 1; transform: translateX(0); }

/* ─── CATEGORY CARDS ─────────────────────────────── */
.categories-section { background: var(--ivory); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.cat-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
}
.cat-card__bg {
  position: absolute;
  inset: 0;
  transition: transform .7s var(--ease);
}
.cat-card:hover .cat-card__bg { transform: scale(1.06); }
.cat-card__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.85);
}
.cat-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,8,6,.78) 0%, rgba(10,8,6,.05) 55%, transparent 100%);
}
.cat-card__body {
  position: absolute;
  bottom: 0; right: 0; left: 0;
  padding: 1.8rem 1.5rem;
}
.cat-card__tag {
  font-size: .65rem;
  letter-spacing: .12em;
  color: var(--beige);
  display: block;
  margin-bottom: .4rem;
  font-weight: 500;
}
.cat-card__title {
  font-family: var(--font-ar);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
}
.cat-card__arrow {
  display: inline-block;
  margin-top: .8rem;
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.cat-card:hover .cat-card__arrow { color: var(--beige); }

/* ─── MASONRY FEED ───────────────────────────────── */
.masonry-section { background: var(--ivory); }
.masonry-grid { columns: 4; column-gap: 1.2rem; }
.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.2rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.masonry-item img {
  width: 100%; display: block;
  transition: transform .6s var(--ease);
}
.masonry-item:hover img { transform: scale(1.04); }
.masonry-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,0);
  transition: background .35s;
}
.masonry-item:hover .masonry-item__overlay { background: rgba(17,17,17,.28); }
.masonry-item__label {
  position: absolute;
  bottom: 0; right: 0; left: 0;
  padding: 1rem 1rem .8rem;
  transform: translateY(100%);
  transition: transform .4s var(--ease);
  background: linear-gradient(transparent, rgba(10,8,6,.72));
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--white);
}
.masonry-item:hover .masonry-item__label { transform: translateY(0); }

/* ─── COLORS SECTION ─────────────────────────────── */
.colors-section { background: var(--black); }
.colors-section .section-label { color: rgba(199,169,123,.6); }
.colors-section .section-title { color: var(--ivory); }

.color-grid { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; }
.color-chip {
  flex: 1; min-width: 100px;
  cursor: pointer;
  transition: transform .3s var(--ease);
}
.color-chip:hover { transform: translateY(-6px); }
.color-swatch {
  height: 180px;
  border-radius: 3px;
  transition: height .3s;
}
.color-chip:hover .color-swatch { height: 204px; }
.color-name {
  font-size: .82rem;
  margin-top: .8rem;
  color: rgba(247,243,238,.55);
  font-weight: 400;
  transition: color .3s;
}
.color-chip:hover .color-name { color: var(--beige); }
.color-count {
  font-size: .68rem;
  color: rgba(247,243,238,.25);
  margin-top: .25rem;
}

/* ─── VISUAL SEARCH ──────────────────────────────── */
.vsearch-section {
  background: var(--black);
  padding: 6rem 8vw;
  position: relative;
  overflow: hidden;
}
.vsearch-section::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(139,92,246,.07) 0%, transparent 70%);
  pointer-events: none;
}
.vsearch-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.vsearch-section .section-label { color: rgba(199,169,123,.6); }
.vsearch-section .section-title { color: var(--ivory); }
.vsearch-section .section-title em { color: var(--beige); }
.vsearch-desc {
  font-size: .92rem;
  color: rgba(247,243,238,.5);
  line-height: 2;
  margin: 1.5rem 0 2.5rem;
  font-weight: 300;
}
.vsearch-bar {
  display: flex;
  border: 1px solid rgba(199,169,123,.25);
  max-width: 480px;
  transition: border-color .3s;
}
.vsearch-bar:focus-within { border-color: rgba(199,169,123,.6); }
.vsearch-input {
  flex: 1;
  padding: 1rem 1.4rem;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: var(--font-ar);
  font-size: .9rem;
  outline: none;
  direction: rtl;
}
.vsearch-input::placeholder { color: rgba(247,243,238,.3); }
.vsearch-btn {
  padding: 1rem 1.6rem;
  background: var(--beige);
  border: none;
  color: var(--white);
  cursor: pointer;
  transition: background .25s;
  font-family: var(--font-ar);
  font-size: .85rem;
  font-weight: 500;
}
.vsearch-btn:hover { background: var(--beige-dark); }
.vsearch-chips { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.2rem; }
.vsearch-chip {
  padding: .38rem .95rem;
  border: 1px solid rgba(199,169,123,.2);
  font-size: .75rem;
  color: rgba(247,243,238,.45);
  cursor: pointer;
  transition: all .25s;
}
.vsearch-chip:hover { border-color: var(--beige); color: var(--beige); }

.vsearch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}
.vsearch-thumb {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.vsearch-thumb img,
.vsearch-thumb .thumb-bg {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.vsearch-thumb:hover img,
.vsearch-thumb:hover .thumb-bg { transform: scale(1.05); }
.vsearch-thumb__label {
  position: absolute;
  bottom: .7rem; right: .7rem;
  background: rgba(10,8,6,.7);
  padding: .3rem .7rem;
  font-size: .68rem;
  color: var(--ivory);
}
.vsearch-thumb__ai {
  position: absolute;
  top: .7rem; left: .7rem;
  background: rgba(139,92,246,.15);
  border: 1px solid rgba(139,92,246,.3);
  padding: .2rem .6rem;
  font-size: .62rem;
  color: var(--violet);
}

/* ─── STYLE QUIZ ─────────────────────────────────── */
.quiz-section {
  background: var(--ivory);
  padding: 7rem 8vw;
  position: relative;
  overflow: hidden;
}
.quiz-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.quiz-card-stack { position: relative; height: 380px; }
.quiz-card {
  position: absolute;
  border: 1px solid rgba(17,17,17,.08);
  background: var(--white);
  padding: 2rem;
  transition: all .4s var(--ease);
}
.quiz-card:nth-child(1) { top:0; right:0; width:85%; z-index:3; box-shadow:0 12px 40px rgba(17,17,17,.08); }
.quiz-card:nth-child(2) { top:20px; right:-16px; width:80%; z-index:2; opacity:.6; }
.quiz-card:nth-child(3) { top:38px; right:-30px; width:75%; z-index:1; opacity:.3; }
.quiz-label { font-size: .68rem; letter-spacing: .12em; color: var(--beige); margin-bottom: .8rem; font-weight: 500; }
.quiz-question { font-size: 1.02rem; font-weight: 600; color: var(--black); margin-bottom: 1.5rem; line-height: 1.55; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.quiz-opt {
  padding: .75rem 1rem;
  border: 1px solid rgba(17,17,17,.1);
  font-size: .82rem;
  color: var(--black);
  cursor: pointer;
  transition: all .25s;
  text-align: right;
  font-weight: 300;
}
.quiz-opt:hover,
.quiz-opt.selected { background: var(--black); color: var(--ivory); border-color: var(--black); }
.quiz-opt.active-answer { background: var(--beige); border-color: var(--beige); color: var(--white); }
.quiz-progress { margin-top: 1.5rem; display: flex; gap: .4rem; }
.quiz-dot { height: 3px; flex: 1; background: rgba(17,17,17,.1); transition: background .3s; }
.quiz-dot.on { background: var(--beige); }

.quiz-desc { font-size: .92rem; color: var(--gray); line-height: 2; margin-bottom: 2.2rem; font-weight: 300; }
.quiz-features { list-style: none; margin-bottom: 2.5rem; }
.quiz-features li {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .6rem 0;
  border-bottom: 1px solid rgba(17,17,17,.05);
  font-size: .88rem;
  color: var(--black);
}
.quiz-features li::before { content: '✦'; color: var(--beige); font-size: .6rem; flex-shrink: 0; }
.quiz-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ─── OCCASIONS ──────────────────────────────────── */
.occasions-section { background: var(--white); }
.occasion-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--gray-subtle);
}
.occasion-item {
  background: var(--white);
  padding: 2.5rem 2rem;
  cursor: pointer;
  transition: background .3s;
}
.occasion-item:hover { background: var(--ivory); }
.occasion-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(199,169,123,.2);
  line-height: 1;
  margin-bottom: .8rem;
  transition: color .3s;
}
.occasion-item:hover .occasion-num { color: rgba(199,169,123,.5); }
.occasion-name { font-size: 1.2rem; font-weight: 600; color: var(--black); margin-bottom: .5rem; }
.occasion-desc { font-size: .85rem; color: var(--gray); line-height: 1.85; font-weight: 300; }
.occasion-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: .75rem;
  color: var(--beige);
  opacity: 0;
  transform: translateX(8px);
  transition: all .3s;
}
.occasion-item:hover .occasion-link { opacity: 1; transform: translateX(0); }

/* ─── ARTICLES / BLOG ────────────────────────────── */
.articles-section { background: var(--ivory); }
.articles-featured {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.article-main {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  cursor: pointer;
}
.article-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.article-main:hover img { transform: scale(1.04); }
.article-main__body {
  position: absolute;
  bottom: 0; right: 0; left: 0;
  padding: 2.5rem 2rem;
  background: linear-gradient(transparent, rgba(10,8,6,.82));
}
.article-cat {
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--beige);
  display: block;
  margin-bottom: .6rem;
  font-weight: 500;
}
.article-title-lg {
  font-family: var(--font-ar);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.articles-side { display: flex; flex-direction: column; gap: 1.5rem; }
.article-sm {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  cursor: pointer;
  background: var(--white);
  padding: 1rem;
  transition: box-shadow .3s;
}
.article-sm:hover { box-shadow: 0 8px 24px rgba(17,17,17,.07); }
.article-sm__img {
  overflow: hidden;
  aspect-ratio: 1;
}
.article-sm__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.article-sm:hover .article-sm__img img { transform: scale(1.06); }
.article-sm__body { display: flex; flex-direction: column; justify-content: center; }
.article-sm__cat { font-size: .65rem; letter-spacing: .08em; color: var(--beige); margin-bottom: .4rem; font-weight: 500; }
.article-sm__title { font-size: 1rem; font-weight: 600; color: var(--black); line-height: 1.4; }

.articles-row {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
}
.article-card {
  cursor: pointer;
  background: var(--white);
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.article-card:hover {
  box-shadow: 0 12px 32px rgba(17,17,17,.09);
  transform: translateY(-3px);
}
.article-card__img {
  overflow: hidden;
  aspect-ratio: 4/5;
}
.article-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.article-card:hover .article-card__img img { transform: scale(1.05); }
.article-card__body { padding: 1.3rem 1.3rem 1.6rem; }
.article-card__cat { font-size: .65rem; letter-spacing: .08em; color: var(--beige); margin-bottom: .5rem; font-weight: 500; }
.article-card__title { font-size: 1.05rem; font-weight: 600; color: var(--black); line-height: 1.4; }
.article-card__excerpt { font-size: .82rem; color: var(--gray); margin-top: .5rem; line-height: 1.7; font-weight: 300; }
.article-card__meta { font-size: .7rem; color: rgba(17,17,17,.3); margin-top: .8rem; }

.view-all-wrap { text-align: center; margin-top: 3.5rem; }

/* ─── BLOG HUB ───────────────────────────────────── */
.blog-hub-section { background: var(--black); padding: 7rem 8vw; position: relative; overflow: hidden; }
.blog-hub-section .section-label { color: rgba(199,169,123,.6); }
.blog-hub-section .section-title { color: var(--ivory); }
.blog-hub-section .section-title em { color: var(--beige); }
.blog-hub-desc { font-size: .92rem; color: rgba(247,243,238,.45); line-height: 2; margin: 1rem 0 3rem; max-width: 580px; font-weight: 300; }

.blog-cat-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: rgba(247,243,238,.05);
}
.blog-cat-item {
  background: var(--black);
  padding: 2.2rem 1.8rem;
  cursor: pointer;
  transition: background .3s;
  border-bottom: 2px solid transparent;
}
.blog-cat-item:hover { background: rgba(247,243,238,.03); border-bottom-color: var(--beige); }
.blog-cat-icon { font-size: 1.5rem; margin-bottom: 1rem; color: var(--beige); opacity: .7; }
.blog-cat-name { font-size: .98rem; font-weight: 600; color: var(--ivory); margin-bottom: .5rem; }
.blog-cat-count { font-size: .72rem; color: rgba(247,243,238,.25); }

.blog-featured-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.blog-feat-main { position: relative; overflow: hidden; cursor: pointer; }
.blog-feat-main img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .7s var(--ease); }
.blog-feat-main:hover img { transform: scale(1.04); }
.blog-feat-main__body { position: absolute; bottom:0; right:0; left:0; padding: 2rem 1.8rem; background: linear-gradient(transparent, rgba(10,8,6,.88)); }
.blog-feat-sm { cursor: pointer; }
.blog-feat-sm__img { overflow: hidden; aspect-ratio: 16/9; margin-bottom: .8rem; }
.blog-feat-sm__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.blog-feat-sm:hover .blog-feat-sm__img img { transform: scale(1.05); }
.blog-feat-sm__cat { font-size: .65rem; letter-spacing: .08em; color: var(--beige); margin-bottom: .4rem; font-weight: 500; }
.blog-feat-sm__title { font-size: .98rem; font-weight: 600; color: var(--ivory); line-height: 1.4; }

/* ─── SINGLE POST ────────────────────────────────── */
.single-post { padding-top: var(--nav-h); }

.post-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
}
.post-hero img { width: 100%; height: 100%; object-fit: cover; }
.post-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,8,6,.85) 0%, rgba(10,8,6,.2) 55%, transparent 100%);
}
.post-hero__content {
  position: absolute;
  bottom: 0; right: 0; left: 0;
  padding: 4rem 8vw;
  max-width: var(--max-w);
  margin: 0 auto;
}
.post-cat-badge {
  display: inline-block;
  font-size: .68rem;
  letter-spacing: .18em;
  color: var(--beige);
  font-weight: 600;
  margin-bottom: 1rem;
}
.post-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  max-width: 900px;
  margin-bottom: 1.5rem;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: .8rem;
  color: rgba(247,243,238,.55);
  flex-wrap: wrap;
}
.post-meta__sep { opacity: .3; }

.post-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  padding: 5rem 8vw;
  max-width: var(--max-w);
  margin: 0 auto;
}

.post-content { max-width: 800px; }
.post-content p { font-size: 1.02rem; line-height: 1.9; color: #333; margin-bottom: 1.8rem; font-weight: 300; }
.post-content h2 { font-size: 1.6rem; margin: 3rem 0 1.2rem; }
.post-content h3 { font-size: 1.3rem; margin: 2.5rem 0 1rem; }
.post-content img { width: 100%; margin: 2.5rem 0; }
.post-content .look-block { margin: 3rem 0; }
.post-content .look-num { font-family: var(--font-display); font-size: 1.2rem; color: var(--beige); margin-bottom: .5rem; }
.post-content .look-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; }
.post-content .look-img { margin-bottom: 1.2rem; }
.post-content .look-desc { font-size: .92rem; color: var(--gray); line-height: 1.9; font-weight: 300; }

.post-sidebar { }
.post-sidebar__sticky { position: sticky; top: calc(var(--nav-h) + 2rem); display: flex; flex-direction: column; gap: 2rem; }
.sidebar-widget { border: 1px solid rgba(17,17,17,.07); padding: 1.5rem; }
.sidebar-widget__title { font-size: .75rem; letter-spacing: .15em; color: var(--beige); margin-bottom: 1.2rem; font-weight: 600; }
.sidebar-share { display: flex; gap: .6rem; flex-wrap: wrap; }
.sidebar-share a {
  padding: .5rem 1rem;
  border: 1px solid rgba(17,17,17,.1);
  font-size: .72rem;
  color: var(--black);
  transition: all .2s;
}
.sidebar-share a:hover { background: var(--black); color: var(--ivory); border-color: var(--black); }
.sidebar-related-item { display: flex; gap: .8rem; padding: .8rem 0; border-bottom: 1px solid rgba(17,17,17,.05); cursor: pointer; }
.sidebar-related-item:last-child { border-bottom: 0; }
.sidebar-related-item img { width: 60px; height: 60px; object-fit: cover; flex-shrink: 0; }
.sidebar-related-item__title { font-size: .82rem; font-weight: 500; color: var(--black); line-height: 1.35; transition: color .2s; }
.sidebar-related-item:hover .sidebar-related-item__title { color: var(--beige); }
.sidebar-related-item__cat { font-size: .65rem; color: var(--beige); margin-bottom: .3rem; }

.post-related { padding: 5rem 8vw; background: var(--ivory); }
.post-related .section-title { margin-bottom: 2.5rem; }

/* ─── BLOG ARCHIVE ───────────────────────────────── */
.blog-archive { padding: calc(var(--nav-h) + 4rem) 8vw 7rem; }
.archive-hero {
  background: var(--black);
  padding: 5rem 8vw;
  margin: 0 -8vw;
  margin-bottom: 5rem;
  position: relative;
  overflow: hidden;
}
.archive-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(199,169,123,.06) 0%, transparent 60%);
}
.archive-hero__label { font-size: .72rem; letter-spacing: .2em; color: var(--beige); margin-bottom: 1rem; font-weight: 500; }
.archive-hero__title { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 700; color: var(--ivory); margin-bottom: 1rem; line-height: 1.25; }
.archive-hero__desc { font-size: .95rem; color: rgba(247,243,238,.5); max-width: 550px; line-height: 1.9; font-weight: 300; }

.archive-filters { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 3rem; }
.archive-filter {
  padding: .5rem 1.2rem;
  border: 1px solid rgba(17,17,17,.12);
  font-size: .78rem;
  color: var(--black);
  cursor: pointer;
  transition: all .25s;
  font-weight: 400;
}
.archive-filter.active,
.archive-filter:hover { background: var(--black); color: var(--ivory); border-color: var(--black); }

.archive-featured { margin-bottom: 3rem; }
.archive-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }

.pagination {
  display: flex;
  justify-content: center;
  gap: .6rem;
  margin-top: 5rem;
  flex-wrap: wrap;
}
.page-num {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17,17,17,.1);
  font-size: .82rem;
  color: var(--black);
  cursor: pointer;
  transition: all .25s;
}
.page-num.current,
.page-num:hover { background: var(--black); color: var(--ivory); border-color: var(--black); }

/* ─── 404 PAGE ───────────────────────────────────── */
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 8vw;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.not-found::before {
  content: '404';
  position: absolute;
  font-family: var(--font-display);
  font-size: 40vw;
  font-weight: 300;
  color: rgba(199,169,123,.03);
  pointer-events: none;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  line-height: 1;
}
.not-found__content { text-align: center; position: relative; z-index: 1; }
.not-found__code { font-family: var(--font-display); font-size: 8rem; font-weight: 300; color: var(--beige); line-height: 1; margin-bottom: 1rem; }
.not-found__title { font-size: 1.8rem; color: var(--ivory); margin-bottom: 1rem; }
.not-found__desc { font-size: .95rem; color: rgba(247,243,238,.45); margin-bottom: 2.5rem; max-width: 440px; line-height: 1.9; font-weight: 300; }
.not-found__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── NEWSLETTER ─────────────────────────────────── */
.newsletter-section {
  background: linear-gradient(160deg, #1e1813 0%, #111 100%);
  text-align: center;
  padding: 8rem 5vw;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(199,169,123,.04) 0%, transparent 60%);
  pointer-events: none;
}
.newsletter__pre { font-size: .72rem; letter-spacing: .2em; color: var(--beige); margin-bottom: 1.2rem; font-weight: 500; }
.newsletter__title { font-size: clamp(2rem,4.5vw,3.5rem); font-weight: 700; color: var(--white); margin-bottom: .8rem; line-height: 1.3; }
.newsletter__title em { font-style: normal; color: var(--beige); }
.newsletter__sub { font-size: .92rem; color: rgba(247,243,238,.45); margin-bottom: 3rem; font-weight: 300; line-height: 1.9; }
.newsletter__form { display: flex; max-width: 500px; margin: 0 auto; border: 1px solid rgba(247,243,238,.15); transition: border-color .3s; }
.newsletter__form:focus-within { border-color: rgba(199,169,123,.4); }
.newsletter__form input { flex:1; padding: 1rem 1.5rem; background: transparent; border: none; color: var(--white); font-family: var(--font-ar); font-size: .9rem; outline: none; direction: rtl; }
.newsletter__form input::placeholder { color: rgba(247,243,238,.3); }
.newsletter__form button { padding: 1rem 2rem; background: var(--beige); border: none; color: var(--white); font-family: var(--font-ar); font-size: .82rem; font-weight: 500; cursor: pointer; transition: background .25s; white-space: nowrap; }
.newsletter__form button:hover { background: var(--beige-dark); }

/* ─── FOOTER ─────────────────────────────────────── */
.site-footer {
  background: var(--black-deep);
  border-top: 1px solid rgba(247,243,238,.07);
  padding: 4.5rem 8vw 2.5rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(247,243,238,.07);
}
.footer-brand { }
.footer-brand-desc {
  font-size: .92rem;
  color: rgba(247,243,238,.45);
  line-height: 1.95;
  margin-top: 1.2rem;
  font-weight: 300;
}
.footer-col-title {
  font-size: .88rem;
  letter-spacing: .06em;
  color: var(--beige);
  margin-bottom: 1.4rem;
  font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: .9rem; }
.footer-col ul a {
  font-size: .92rem;
  color: rgba(247,243,238,.48);
  text-decoration: none;
  transition: color .2s;
  font-weight: 300;
}
.footer-col ul a:hover { color: var(--beige); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.footer-copy { font-size: .85rem; color: rgba(247,243,238,.32); font-weight: 300; }
.footer-social { display: flex; gap: 1rem; }
.social-btn {
  width: 42px; height: 42px;
  border: 1px solid rgba(247,243,238,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(247,243,238,.48);
  text-decoration: none;
  font-size: .78rem;
  transition: all .25s;
}
.social-btn:hover { border-color: var(--beige); color: var(--beige); background: rgba(199,169,123,.06); }

/* ─── CURSOR ─────────────────────────────────────── */
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--beige);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform .12s, opacity .3s;
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid rgba(199,169,123,.4);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .35s var(--ease), height .35s var(--ease), border-color .3s;
}
body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring { width: 48px; height: 48px; border-color: rgba(199,169,123,.7); }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1100px) {
  .vsearch-inner   { grid-template-columns: 1fr; }
  .quiz-inner      { grid-template-columns: 1fr; }
  .blog-featured-row { grid-template-columns: 1fr 1fr; }
  .post-layout     { grid-template-columns: 1fr; }
  .footer-top      { grid-template-columns: 1fr 1fr; }
  .post-sidebar    { display: none; }
}
@media (max-width: 900px) {
  .cat-grid        { grid-template-columns: repeat(2,1fr); }
  .masonry-grid    { columns: 2; }
  .articles-featured { grid-template-columns: 1fr; }
  .articles-row    { grid-template-columns: repeat(2,1fr); }
  .occasion-grid   { grid-template-columns: repeat(2,1fr); }
  .intel-grid      { grid-template-columns: 1fr 1fr; }
  .blog-cat-grid   { grid-template-columns: repeat(2,1fr); }
  .blog-featured-row { grid-template-columns: 1fr; }
  .archive-grid    { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  section          { padding: 5rem 5vw; }
  .nav-menu        { display: none; }
  .hamburger       { display: flex; }
  .hero__h1        { font-size: clamp(2rem, 8vw, 3.2rem); }
  .post-title      { font-size: clamp(1.6rem,5vw,2.5rem); }
}
@media (max-width: 600px) {
  .cat-grid        { grid-template-columns: 1fr 1fr; }
  .masonry-grid    { columns: 2; }
  .occasion-grid   { grid-template-columns: 1fr; }
  .color-grid      { gap: .6rem; }
  .intel-grid      { grid-template-columns: 1fr; }
  .blog-cat-grid   { grid-template-columns: 1fr 1fr; }
  .footer-top      { grid-template-columns: 1fr; }
  .quiz-options    { grid-template-columns: 1fr; }
  .articles-row    { grid-template-columns: 1fr; }
  .archive-grid    { grid-template-columns: 1fr; }
  .quiz-card-stack { height: 420px; }
  .vsearch-grid    { grid-template-columns: 1fr 1fr; }
}

/* ─── WORDPRESS CORE COMPATIBILITY ───────────────── */
.wp-block-image { margin: 2.5rem 0; }
.wp-caption { margin: 2rem 0; }
.wp-caption-text { font-size: .8rem; color: var(--gray); text-align: center; margin-top: .5rem; }
.aligncenter { margin: 0 auto; display: block; }
.alignleft { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.alignright { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.wp-pagenavi { display: flex; gap: .6rem; justify-content: center; margin: 3rem 0; }
.wp-pagenavi a, .wp-pagenavi span { padding: .5rem 1rem; border: 1px solid rgba(17,17,17,.1); font-size: .82rem; transition: all .2s; }
.wp-pagenavi .current { background: var(--black); color: var(--ivory); border-color: var(--black); }
