/* ==========================================================================
   Periche Personal — design system
   پالت و ریتم بصری برگرفته از هویت برند پرسونال PL
   ========================================================================== */

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

:root {
  /* برند */
  --brand-900: #621027;
  --brand-700: #8d0e34;
  --brand-500: #b41442;
  --brand-050: #fce7ec;

  /* نوترال‌ها */
  --neutral-050: #faf8f5;
  --neutral-100: #f4f1ed;
  --neutral-150: #f1eeea;
  --neutral-200: #dedad5;
  --neutral-300: #c6c0ba;
  --neutral-500: #615b59;
  --neutral-700: #3a3335;
  --neutral-900: #221c1d;
  --white: #ffffff;

  --font-fa: 'Vazirmatn', Tahoma, 'Segoe UI', system-ui, sans-serif;
  --font-latin: 'Vazirmatn', Tahoma, 'Segoe UI', system-ui, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 0.32s;

  --shadow-sm: 0 1px 2px rgba(34, 28, 29, 0.05);
  --shadow-md: 0 10px 30px rgba(34, 28, 29, 0.08);
  --shadow-lg: 0 24px 60px rgba(34, 28, 29, 0.12);

  --header-h: 76px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--neutral-050);
  color: var(--neutral-900);
  font-family: var(--font-fa);
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--brand-700); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--brand-500); color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.ltr { direction: ltr; unicode-bidi: isolate; font-family: var(--font-latin); }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 900px; }
.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--alt { background: var(--white); }
.section--sand { background: var(--neutral-150); }
.section--wine { background: var(--brand-900); color: #fff; }

/* ---- Type scale ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-500);
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}
.section--wine .eyebrow { color: var(--brand-050); }
.h1 {
  font-size: clamp(38px, 5.6vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.h3 {
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.35;
}
.lead {
  font-size: clamp(15px, 1.4vw, 17.5px);
  line-height: 1.9;
  color: var(--neutral-500);
}
.section--wine .lead { color: rgba(255, 255, 255, 0.78); }
.muted { color: var(--neutral-500); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-5);
  margin-bottom: clamp(28px, 4vw, 48px);
  flex-wrap: wrap;
}
.section-head__text {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.section-head .h2 { margin-top: 2px; }

/* ---- Buttons ---- */
.btn {
  --btn-bg: var(--brand-500);
  --btn-fg: #fff;
  --btn-bd: var(--brand-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:hover { --btn-bg: var(--brand-900); --btn-bd: var(--brand-900); }
.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--neutral-900);
  --btn-bd: var(--neutral-300);
}
.btn--outline:hover {
  --btn-bg: var(--white);
  --btn-fg: var(--brand-700);
  --btn-bd: var(--brand-700);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--neutral-900);
  --btn-bd: transparent;
  padding-inline: 10px;
}
.btn--ghost:hover { --btn-bg: var(--neutral-150); --btn-fg: var(--brand-700); --btn-bd: transparent; }
.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--brand-900);
  --btn-bd: #fff;
}
.btn--light:hover { --btn-bg: var(--brand-050); --btn-fg: var(--brand-900); --btn-bd: var(--brand-050); }
.btn--wm { min-height: 44px; padding: 0 21px; font-size: 14px; }
.btn svg { width: 17px; height: 17px; flex: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--brand-700);
  transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
}
.link-arrow svg { width: 15px; height: 15px; }
.link-arrow:hover { gap: 13px; color: var(--brand-900); }
.section--wine .link-arrow { color: #fff; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--neutral-200); background: rgba(250, 248, 245, 0.98); }
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; }
.brand__logo { height: 30px; width: auto; }
.brand__name {
  font-family: var(--font-latin);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--brand-900);
  line-height: 1;
}
.brand__sub {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--neutral-500);
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 1px; margin-inline-start: var(--space-4); }
.nav__item { position: static; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 13px;
  font-size: 14px;
  font-weight: 500;
  color: var(--neutral-700);
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  inset-inline: 13px;
  bottom: 2px;
  height: 2px;
  background: var(--brand-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s var(--ease);
}
.nav__item:hover .nav__link,
.nav__link[aria-current='page'] { color: var(--brand-900); }
.nav__item:hover .nav__link::after,
.nav__link[aria-current='page']::after { transform: scaleX(1); }
.nav__link .chev { width: 11px; height: 11px; opacity: 0.55; transition: transform var(--dur) var(--ease); }
.nav__item:hover .nav__link .chev { transform: rotate(180deg); }

/* Mega menu */
.mega {
  position: absolute;
  top: calc(100% + 1px);
  inset-inline: 0;
  margin-inline: auto;
  max-width: var(--container);
  background: var(--neutral-050);
  border: 1px solid var(--neutral-200);
  border-top: 2px solid var(--brand-500);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-6) var(--gutter);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  z-index: 60;
}
.nav__item.has-mega:hover .mega,
.nav__item.has-mega:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.mega__grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: var(--space-6); }
.mega__col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-500);
  margin-bottom: var(--space-3);
}
.mega__list { display: flex; flex-direction: column; gap: 1px; }
.mega__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 9px;
  margin-inline: -9px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--neutral-700);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.mega__list a:hover { background: var(--white); color: var(--brand-700); }
.mega__highlight {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mega__highlight .kicker {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-500);
  letter-spacing: 0.1em;
}
.mega__highlight p { font-size: 13px; line-height: 1.75; color: var(--neutral-500); }
.mega__thumb { aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 6px; }
.mega__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mega__foot {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--neutral-200);
  display: flex;
  gap: var(--space-6);
  align-items: center;
  flex-wrap: wrap;
}
.mega__swatches { display: flex; gap: 4px; }
.swatch-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--neutral-050);
  box-shadow: 0 0 0 1px var(--neutral-200);
}

.header-actions { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.icon-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--neutral-700);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.icon-btn:hover { background: var(--neutral-150); color: var(--brand-700); }
.icon-btn svg { width: 20px; height: 20px; }
.burger { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; background: var(--neutral-050); overflow: hidden; }
.hero__inner {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  min-height: clamp(500px, 70vh, 700px);
  padding-block: clamp(32px, 5vw, 64px);
}
.hero__content { display: flex; flex-direction: column; gap: var(--space-4); max-width: 540px; }
.hero__title {
  font-size: clamp(40px, 5.6vw, 78px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin-block: 4px;
}
.hero__title .accent { color: var(--brand-500); display: block; font-weight: 400; }
.hero__meta { display: flex; gap: var(--space-5); flex-wrap: wrap; margin-top: var(--space-3); }
.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-inline-start: var(--space-4);
  border-inline-start: 2px solid var(--brand-500);
}
.hero__stat b { font-size: 21px; font-weight: 700; color: var(--brand-900); line-height: 1.2; }
.hero__stat span { font-size: 12px; color: var(--neutral-500); }
.hero__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-2); }
.hero__media {
  position: relative;
  align-self: stretch;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--neutral-150);
}
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute;
  inset-block-end: 18px;
  inset-inline-start: 18px;
  background: rgba(250, 248, 245, 0.96);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.hero__badge strong { font-size: 12.5px; color: var(--brand-900); }
.hero__badge span { font-size: 11.5px; color: var(--neutral-500); }

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust { border-block: 1px solid var(--neutral-200); background: var(--white); }
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  padding-block: var(--space-5);
}
.trust__item { display: flex; align-items: flex-start; gap: 11px; }
.trust__item svg { width: 24px; height: 24px; flex: none; color: var(--brand-500); margin-top: 2px; }
.trust__item b { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 1px; }
.trust__item span { font-size: 12px; color: var(--neutral-500); line-height: 1.6; }

/* ==========================================================================
   Group / category cards
   ========================================================================== */
.cat-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.4vw, 16px); }
.cat {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--neutral-150);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}
.cat--lg { grid-column: span 6; min-height: 380px; }
.cat--md { grid-column: span 3; }
.cat--sm { grid-column: span 4; min-height: 220px; }
.cat__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2; transition: transform 0.7s var(--ease);
}
.cat::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(34, 28, 29, 0.88) 0%, rgba(34, 28, 29, 0.42) 45%, rgba(34, 28, 29, 0) 78%);
}
.cat:hover .cat__img { transform: scale(1.04); }
.cat__body { padding: clamp(18px, 2.2vw, 28px); color: #fff; display: flex; flex-direction: column; gap: 6px; }
.cat__label {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.72);
}
.cat__title { font-size: clamp(18px, 1.9vw, 24px); font-weight: 700; }
.cat__desc { font-size: 13px; color: rgba(255, 255, 255, 0.82); line-height: 1.6; }
.cat__link { margin-top: 6px; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: #fff; }
.cat__link svg { width: 14px; height: 14px; transition: transform var(--dur) var(--ease); }
.cat:hover .cat__link svg { transform: translateX(-4px); }

/* ==========================================================================
   Product cards
   ========================================================================== */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.card:hover { border-color: var(--brand-500); }
.card__media { position: relative; aspect-ratio: 1 / 1; background: var(--neutral-050); overflow: hidden; }
.card__media img {
  width: 100%; height: 100%; object-fit: contain; padding: 9%;
  transition: transform 0.6s var(--ease);
}
.card:hover .card__media img { transform: scale(1.04); }
.card__tags { position: absolute; inset-block-start: 10px; inset-inline-start: 10px; display: flex; gap: 5px; flex-wrap: wrap; }
.tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px;
  border-radius: 3px; font-size: 10.5px; font-weight: 600; line-height: 1;
  background: var(--neutral-150); color: var(--neutral-700);
}
.tag--brand { background: var(--brand-500); color: #fff; }
.tag--dark { background: var(--neutral-900); color: #fff; }
.card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.card__cat { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: var(--brand-500); }
.card__title { font-size: 14.5px; font-weight: 600; line-height: 1.6; }
.card__meta {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: auto; padding-top: 10px;
}
.card__shade { font-size: 12px; color: var(--neutral-500); }
.card__shade .ltr { font-size: 12.5px; font-weight: 600; color: var(--neutral-900); }
.card__go {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--neutral-200);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brand-700);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.card:hover .card__go { background: var(--brand-500); border-color: var(--brand-500); color: #fff; }
.card__go svg { width: 14px; height: 14px; }

/* ==========================================================================
   Collections (editorial numbered rows)
   ========================================================================== */
.lines { display: flex; flex-direction: column; border-top: 1px solid var(--neutral-200); }
.line-row {
  display: grid;
  grid-template-columns: 68px 1.1fr 1fr 100px;
  align-items: center;
  gap: var(--space-5);
  padding: clamp(18px, 2.2vw, 26px) var(--space-4);
  border-bottom: 1px solid var(--neutral-200);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.line-row:hover {
  background: var(--white);
  border-color: var(--neutral-300);
  box-shadow: inset -3px 0 0 var(--brand-500);
}
.line-row__num { font-family: var(--font-latin); font-size: 12.5px; letter-spacing: 0.16em; color: var(--brand-500); }
.line-row__name {
  font-family: var(--font-latin);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--neutral-900);
}
.line-row__desc { font-size: 13.5px; color: var(--neutral-500); line-height: 1.7; }
.line-row__count { justify-self: end; text-align: right; font-size: 12px; color: var(--neutral-500); }
.line-row__count b {
  display: block; font-family: var(--font-latin); font-size: 22px;
  font-weight: 700; color: var(--brand-900); line-height: 1.2;
}

/* ==========================================================================
   Need chips / tiles
   ========================================================================== */
.needs { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; border-radius: var(--radius-sm);
  background: var(--white); border: 1px solid var(--neutral-200);
  font-size: 14px; font-weight: 500;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.chip:hover { background: var(--brand-500); border-color: var(--brand-500); color: #fff; }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-500); flex: none; }
.chip:hover .chip__dot { background: #fff; }

/* ==========================================================================
   Story split
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}
.split__media {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  min-height: 440px;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.split__media img:first-child { grid-row: span 2; }
.split__content { display: flex; flex-direction: column; gap: var(--space-4); }
.quote-block {
  margin: var(--space-2) 0;
  padding-inline-start: var(--space-5);
  border-inline-start: 3px solid var(--brand-500);
  font-size: clamp(18px, 1.9vw, 23px);
  font-weight: 600;
  line-height: 1.65;
  color: var(--brand-900);
}
.timeline { display: flex; flex-direction: column; margin-top: var(--space-2); }
.timeline__row { display: flex; gap: var(--space-5); padding-block: 12px; border-top: 1px solid var(--neutral-200); }
.timeline__year {
  font-family: var(--font-latin); font-size: 14px; font-weight: 700;
  color: var(--brand-500); min-width: 76px;
}
.timeline__text { font-size: 13.5px; color: var(--neutral-500); line-height: 1.7; }

/* ==========================================================================
   Color chart strip
   ========================================================================== */
.chart-block {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.chart-copy { display: flex; flex-direction: column; gap: var(--space-4); max-width: 420px; }
.swatch-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 7px; }
.swatch {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.swatch img { width: 100%; height: 100%; object-fit: cover; }
.swatch:hover { transform: scale(1.12); box-shadow: 0 6px 16px rgba(34, 28, 29, 0.22); z-index: 2; }

/* ==========================================================================
   Professional cards
   ========================================================================== */
.pro-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.8vw, 20px); }
.pro-card {
  display: flex; flex-direction: column; gap: var(--space-3);
  padding: clamp(22px, 2.6vw, 32px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.pro-card:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.4); }
.pro-card__num { font-family: var(--font-latin); font-size: 11.5px; letter-spacing: 0.16em; color: var(--brand-050); }
.pro-card__title { font-size: clamp(18px, 1.9vw, 22px); font-weight: 700; }
.pro-card__desc { font-size: 13.5px; color: rgba(255, 255, 255, 0.8); line-height: 1.8; flex: 1; }

/* ==========================================================================
   Articles
   ========================================================================== */
.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 26px); }
.art { display: flex; flex-direction: column; gap: 12px; }
.art__media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--neutral-150); }
.art__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.art:hover .art__media img { transform: scale(1.04); }
.art__meta { display: flex; gap: 9px; align-items: center; font-size: 11.5px; color: var(--neutral-500); }
.art__cat { color: var(--brand-500); font-weight: 600; }
.art__title { font-size: 16px; font-weight: 600; line-height: 1.6; }
.art:hover .art__title { color: var(--brand-700); }
.art__excerpt { font-size: 13px; color: var(--neutral-500); line-height: 1.7; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--neutral-150);
  border: 1px solid var(--neutral-200);
  padding: clamp(28px, 4.4vw, 56px);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: var(--space-5);
}
.cta-band__img {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 34%;
  object-fit: cover;
  opacity: 0.45;
  mask-image: linear-gradient(to right, #000, transparent);
  -webkit-mask-image: linear-gradient(to right, #000, transparent);
}
.cta-band__content { position: relative; display: flex; flex-direction: column; gap: 10px; }
.cta-band__actions { position: relative; display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--neutral-900);
  color: #fff;
  padding-top: clamp(48px, 6vw, 80px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(22px, 3.6vw, 44px);
  padding-bottom: var(--space-7);
}
.footer-brand { display: flex; flex-direction: column; gap: var(--space-3); max-width: 300px; }
.footer-brand .brand__logo { height: 34px; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__sub { color: rgba(255, 255, 255, 0.55); }
.footer-brand p { font-size: 12.5px; color: rgba(255, 255, 255, 0.65); line-height: 1.85; }
.socials { display: flex; gap: 7px; margin-top: 4px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.socials a:hover { background: var(--brand-500); border-color: var(--brand-500); color: #fff; }
.socials svg { width: 16px; height: 16px; }
.footer-col h3 {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.55);
  margin-bottom: var(--space-3);
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13px; color: rgba(255, 255, 255, 0.78); transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-block: var(--space-5);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4); flex-wrap: wrap;
  font-size: 11.5px; color: rgba(255, 255, 255, 0.55);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.55); }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   Drawer + search
   ========================================================================== */
.overlay {
  position: fixed; inset: 0; background: rgba(34, 28, 29, 0.55);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur);
  z-index: 200;
}
.overlay.is-active { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; inset-block: 0; inset-inline-end: 0;
  width: min(380px, 88vw);
  background: var(--neutral-050);
  z-index: 210;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  display: flex; flex-direction: column;
  overflow-y: auto; overscroll-behavior: contain;
}
[dir='rtl'] .drawer { transform: translateX(-100%); }
.drawer.is-open { transform: translateX(0); }
.drawer__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--neutral-200);
  position: sticky; top: 0; background: var(--neutral-050); z-index: 2;
}
.drawer__nav { padding: var(--space-3) var(--space-5); display: flex; flex-direction: column; }
.drawer__nav a {
  padding: 13px 0; font-size: 15px; font-weight: 500;
  border-bottom: 1px solid var(--neutral-200);
  display: flex; align-items: center; justify-content: space-between;
}
.drawer__nav a::after { content: '\2190'; color: var(--brand-500); font-size: 18px; }
.drawer__group-title {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brand-500);
  margin: var(--space-4) 0 var(--space-1);
}
.drawer__foot {
  margin-top: auto; padding: var(--space-5);
  border-top: 1px solid var(--neutral-200);
  display: flex; flex-direction: column; gap: 9px;
}

.search-panel {
  position: fixed; inset-block-start: 0; inset-inline: 0;
  background: var(--neutral-050); z-index: 220;
  transform: translateY(-100%); transition: transform 0.35s var(--ease);
  box-shadow: var(--shadow-lg);
  padding-block: var(--space-5) var(--space-6);
}
.search-panel.is-open { transform: translateY(0); }
.search-panel__row {
  display: flex; align-items: center; gap: var(--space-3);
  border-bottom: 1px solid var(--neutral-200); padding-bottom: var(--space-3);
}
.search-panel__row svg { width: 21px; height: 21px; color: var(--neutral-500); flex: none; }
.search-panel input { flex: 1; border: 0; background: transparent; font-size: 17px; padding: 6px 0; outline: none; }
.search-panel__hint { margin-top: var(--space-4); display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.search-panel__hint span { font-size: 12px; color: var(--neutral-500); }
.search-panel__hint a {
  font-size: 12px; padding: 5px 13px; border-radius: var(--radius-sm);
  background: var(--white); border: 1px solid var(--neutral-200);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.search-panel__hint a:hover { border-color: var(--brand-500); color: var(--brand-700); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero {
  background: var(--neutral-150);
  padding-block: clamp(32px, 5vw, 64px);
  border-bottom: 1px solid var(--neutral-200);
}
.breadcrumb {
  display: flex; gap: 7px; align-items: center; flex-wrap: wrap;
  font-size: 12px; color: var(--neutral-500); margin-bottom: var(--space-3);
}
.breadcrumb a:hover { color: var(--brand-700); }
.breadcrumb span.sep { opacity: 0.5; }
.page-hero__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-5); flex-wrap: wrap; }
.page-hero h1 {
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.page-hero p { max-width: 560px; color: var(--neutral-500); font-size: 14.5px; }

/* Filters */
.layout-side {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: clamp(20px, 3.4vw, 44px);
  align-items: start;
}
.filter-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: var(--space-4); }
.filter-bar select {
  min-height: 42px;
  padding: 0 36px 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--neutral-200);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23615B59' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat left 12px center;
  font-size: 13px;
  color: var(--neutral-700);
  cursor: pointer;
  appearance: none;
}
.filter-count { font-size: 12.5px; color: var(--neutral-500); margin-inline-start: auto; }
.facets {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  display: flex; flex-direction: column; gap: var(--space-5);
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius);
  padding: var(--space-5);
}
.facet-group__title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brand-500); margin-bottom: var(--space-2);
}
.facet-list { display: flex; flex-direction: column; gap: 1px; }
.facet-label {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 9px; margin-inline: -9px;
  border-radius: var(--radius-sm);
  font-size: 13.5px; cursor: pointer; user-select: none;
  transition: background var(--dur) var(--ease);
}
.facet-label:hover { background: var(--neutral-050); }
.facet-label input {
  appearance: none; width: 15px; height: 15px;
  border: 1.5px solid var(--neutral-300); border-radius: 3px;
  flex: none; position: relative; cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.facet-label input:checked { background: var(--brand-500); border-color: var(--brand-500); }
.facet-label input:checked::after {
  content: '';
  position: absolute; inset: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.facet-label .n { margin-inline-start: auto; font-size: 11px; color: var(--neutral-300); }
.products-main .prod-grid { grid-template-columns: repeat(3, 1fr); }
.empty-state {
  padding: var(--space-8) var(--space-5);
  text-align: center;
  border: 1px dashed var(--neutral-300);
  border-radius: var(--radius);
  color: var(--neutral-500);
}
