@font-face {
  font-family: Vazirmatn;
  src: url('../fonts/vazirmatn.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fffcf8;
  --surface: #ffffff;
  --cream: #f5efe7;
  --cream-2: #fbf6f1;
  --plum: #4a2435;
  --plum-dark: #341725;
  --rose: #ecdde2;
  --rose-soft: #f7eef1;
  --gold: #c9a45c;
  --ink: #191619;
  --muted: #655f63;
  --muted-2: #80777c;
  --line: #e6ddd5;
  --line-strong: #d7cbc1;
  --success: #25624a;
  --error: #a12638;
  --font: Vazirmatn, Tahoma, Arial, sans-serif;
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 8px 28px rgba(51, 28, 39, .06);
  --shadow: 0 18px 60px rgba(51, 28, 39, .09);
  --space: clamp(18px, 4vw, 64px);
  --section-space: clamp(56px, 7vw, 96px);
  --header-height: 88px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 22px); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.9;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.dialog-open { overflow: hidden; }

button, input, select, textarea { font: inherit; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
img { max-width: 100%; height: auto; vertical-align: middle; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--plum) 55%, transparent);
  outline-offset: 4px;
}
input, select, textarea {
  max-width: 100%;
  padding: 13px 14px;
  border: 1px solid #9b8f95;
  border-radius: var(--radius-xs);
  background: #fff;
  color: var(--ink);
}
textarea { min-height: 130px; resize: vertical; }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 {
  line-height: 1.55;
  letter-spacing: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(31px, 4vw, 58px); font-weight: 700; }
h2 { font-size: clamp(25px, 3vw, 40px); font-weight: 680; }
h3 { font-size: clamp(18px, 2vw, 22px); font-weight: 650; }
p { margin-bottom: 18px; }
:lang(en) { letter-spacing: normal; }
.eyebrow:lang(en), .brand-sub:lang(en) { letter-spacing: .16em; }

small, .small { font-size: 13px; }
.muted { color: var(--muted); }
.wrap { width: min(100%, 1440px); margin-inline: auto; padding-inline: var(--space); }
.narrow { max-width: 860px; margin-inline: auto; }
.section { padding-block: var(--section-space); }
.section-kicker, .product-kicker, .dialog-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--plum);
  font-size: 12px;
  font-weight: 700;
}
.section-kicker::before, .product-kicker::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.skip-link {
  position: fixed;
  top: -120px;
  right: 16px;
  z-index: 9999;
  padding: 12px 18px;
  background: #fff;
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-sm);
}
.skip-link:focus { top: 12px; }

.button, button.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  border: 1px solid var(--plum);
  background: var(--plum);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 650;
  line-height: 1.5;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover {
  background: var(--plum-dark);
  color: #fff;
  box-shadow: 0 10px 30px rgba(74, 36, 53, .16);
  transform: translateY(-1px);
}
.button.secondary {
  color: var(--plum);
  background: #fff;
  border-color: var(--line-strong);
}
.button.secondary:hover { background: var(--rose-soft); color: var(--plum); box-shadow: none; }
.button .icon, .text-link .icon, .guide-card strong .icon, .trust-links .icon, .article-card span .icon { width: 18px; height: 18px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--plum);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }
.strong-link { margin-top: 8px; }

.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.icon-button {
  position: relative;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  text-decoration: none;
  border-radius: 999px;
  transition: background .18s ease;
}
.icon-button:hover { background: var(--cream); }

.announcement {
  background: var(--plum);
  color: #fff9f6;
  text-align: center;
  padding: 7px 0;
  font-size: 12px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(230, 221, 213, .9);
  background: rgba(255, 252, 248, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}
.header-nav { min-width: 0; }
.header-nav .menu, .primary-nav-panel .menu {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.header-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #30262b;
  font-size: 14px;
  font-weight: 520;
  text-decoration: none;
  white-space: nowrap;
}
.header-nav a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 8px;
  width: 0;
  height: 1px;
  background: var(--plum);
  transition: width .18s ease;
}
.header-nav a:hover::after, .header-nav .current-menu-item > a::after { width: 100%; }

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  text-decoration: none;
  min-width: 0;
}
.brand img { width: 42px; height: 50px; object-fit: contain; }
.brand-name { font-size: 21px; line-height: 1.2; font-weight: 760; white-space: nowrap; }
.brand-sub { display: block; margin-top: 6px; color: var(--muted); font: 8px Arial, sans-serif; letter-spacing: .18em; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 5px; }
.cart-count {
  position: absolute;
  top: 2px;
  left: 1px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  padding-inline: 4px;
  border-radius: 999px;
  background: var(--plum);
  color: #fff;
  font-size: 10px;
  line-height: 1;
}
.mobile-toggle { display: none; }

.breadcrumbs-wrap { margin-bottom: 22px; }
.rank-math-breadcrumb, .woocommerce .woocommerce-breadcrumb {
  color: var(--muted);
  font-size: 12px;
}
.rank-math-breadcrumb p { margin: 0; }
.rank-math-breadcrumb a, .woocommerce .woocommerce-breadcrumb a { color: var(--muted); text-decoration: none; }
.rank-math-breadcrumb a:hover, .woocommerce .woocommerce-breadcrumb a:hover { color: var(--plum); }

/* Homepage */
.home-hero { padding: 30px 0 0; }
.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: stretch;
  gap: 0;
}
.home-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 6vw, 86px);
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background:
    radial-gradient(circle at 16% 10%, rgba(236, 221, 226, .7), transparent 34%),
    linear-gradient(145deg, #fff 0%, #fffaf6 100%);
}
.home-hero-copy h1 { margin-bottom: 14px; font-size: clamp(38px, 5.1vw, 72px); line-height: 1.35; }
.hero-lead { max-width: 580px; margin-bottom: 26px; color: #4f474b; font-size: clamp(16px, 1.5vw, 19px); line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points .icon { width: 17px; height: 17px; color: var(--plum); }
.home-hero-media {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  background: var(--cream);
}
.home-hero-media > img { width: 100%; height: 100%; min-height: 650px; object-fit: cover; }
.hero-placeholder { min-height: 650px; display: grid; place-content: center; justify-items: center; gap: 24px; padding: 40px; text-align: center; color: var(--muted); }
.hero-placeholder p { max-width: 360px; }
.hero-media-note {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 2px;
  max-width: calc(100% - 44px);
  padding: 11px 15px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 14px;
  background: rgba(255,252,248,.9);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(9px);
  font-size: 12px;
}
.hero-media-note strong { color: var(--plum); font-size: 13px; }

.home-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.home-trust article { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 23px 26px; border-left: 1px solid var(--line); }
.home-trust article:last-child { border-left: 0; }
.home-trust article > .icon { width: 25px; height: 25px; margin-top: 2px; color: var(--plum); }
.home-trust h2 { margin-bottom: 4px; font-size: 15px; }
.home-trust p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section-head > div { max-width: 760px; }
.section-head h2 { margin: 0 0 5px; }
.section-head p { margin: 0; color: var(--muted); font-size: 14px; }

.category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.category-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.category-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.category-media { aspect-ratio: 1 / 1.08; overflow: hidden; background: var(--cream); }
.category-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.category-card:hover .category-media img { transform: scale(1.025); }
.category-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--plum); }
.category-placeholder .icon { width: 34px; height: 34px; }
.category-copy { display: grid; gap: 2px; padding: 14px 15px 16px; }
.category-copy strong { font-size: 15px; }
.category-copy span { color: var(--muted); font-size: 11px; }

.home-products { background: linear-gradient(180deg, var(--cream-2), rgba(245, 239, 231, .7)); }

.decision-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: center;
}
.decision-copy p { max-width: 600px; color: var(--muted); }
.decision-steps { display: grid; gap: 12px; }
.decision-steps article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 17px;
  align-items: start;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.decision-steps article > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--plum);
  font-weight: 800;
}
.decision-steps h3 { margin-bottom: 2px; font-size: 16px; }
.decision-steps p { margin: 0; color: var(--muted); font-size: 13px; }

.guide-section { background: var(--cream); }
.guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.guide-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  min-height: 230px;
  padding: 21px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255,255,255,.85);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.guide-card > span { color: var(--gold); font-weight: 800; font-size: 13px; }
.guide-card h3 { margin-bottom: 8px; font-size: 17px; }
.guide-card p { color: var(--muted); font-size: 13px; line-height: 1.85; }
.guide-card strong { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--plum); font-size: 12px; }

.trust-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: clamp(30px, 7vw, 100px);
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 20%, rgba(201,164,92,.12), transparent 25%),
    linear-gradient(135deg, #fff 0%, #fff9f5 100%);
  box-shadow: var(--shadow-sm);
}
.trust-panel p { color: var(--muted); }
.trust-links { display: grid; align-content: start; border-top: 1px solid var(--line); }
.trust-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 2px; border-bottom: 1px solid var(--line); color: #2d2428; font-size: 13px; text-decoration: none; }
.trust-links a:hover { color: var(--plum); }

.home-editorial { border-top: 1px solid var(--line); }

/* Generic content */
.page-shell, .article-shell, .archive-page, .search-results-page { min-height: 55vh; }
.page-header, .archive-header, .article-header { margin-bottom: 34px; }
.page-header h1, .archive-header h1 { margin-bottom: 8px; }
.page-header p, .archive-description, .article-deck { color: var(--muted); font-size: 16px; }
.entry-content { overflow-wrap: break-word; word-break: normal; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin-top: 42px; margin-bottom: 14px; font-size: clamp(23px, 2.4vw, 32px); }
.entry-content h3 { margin-top: 30px; margin-bottom: 10px; }
.entry-content p, .entry-content li { color: #342d31; }
.entry-content a { color: var(--plum); }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content blockquote { margin: 28px 0; padding: 18px 22px; border-right: 3px solid var(--gold); border-radius: var(--radius-sm); background: var(--cream); }
.entry-content table { width: 100%; border-collapse: collapse; margin-block: 24px; }
.entry-content th, .entry-content td { padding: 12px; border: 1px solid var(--line); text-align: right; }

.article { max-width: 900px; margin-inline: auto; }
.article-header h1 { margin-bottom: 14px; }
.article-deck { max-width: 800px; font-size: clamp(16px, 1.7vw, 19px); line-height: 1.95; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 12px; }
.article-cover { margin: 0 0 36px; }
.article-cover img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--radius); }
.article-content { font-size: 17px; }
.article-trust { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 52px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream-2); }
.article-trust h2 { margin-bottom: 4px; font-size: 18px; }
.article-trust p { margin: 0; max-width: 650px; color: var(--muted); font-size: 13px; }
.related-articles { margin-top: 70px; }
.article-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.article-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.article-card > a { display: block; height: 100%; text-decoration: none; }
.article-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.article-card > a > div { padding: 18px; }
.article-card h2, .article-card h3 { margin-bottom: 8px; font-size: 17px; }
.article-card p { color: var(--muted); font-size: 13px; }
.article-card span { display: inline-flex; align-items: center; gap: 5px; color: var(--plum); font-size: 12px; font-weight: 650; }

.empty-state { max-width: 700px; margin-inline: auto; text-align: center; padding: 44px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.empty-state h1, .empty-state h2 { margin-bottom: 8px; }
.empty-state p { color: var(--muted); }
.error-code { display: block; margin-bottom: 6px; color: var(--rose); font-size: clamp(56px, 10vw, 120px); font-weight: 900; line-height: 1; }
.empty-state form { max-width: 520px; margin: 24px auto; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.comments { margin-top: 60px; padding-top: 36px; border-top: 1px solid var(--line); }
.comments > h2 { font-size: 24px; }
.comments ol { padding-right: 20px; }
.comment-body { margin-bottom: 18px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }

/* Dialogs */
.dialog {
  position: fixed;
  inset: 0;
  width: min(620px, calc(100% - 28px));
  max-width: none;
  max-height: calc(100svh - 28px);
  margin: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
  overflow: auto;
}
.dialog::backdrop { background: rgba(25, 22, 25, .52); backdrop-filter: blur(2px); }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.dialog-top h2 { margin: 0; font-size: 24px; }
.dialog-kicker { margin: 0 0 2px; color: var(--muted); font-size: 11px; }
.dialog .close { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 24px; line-height: 1; }
.primary-nav-panel .menu { display: grid; gap: 5px; }
.primary-nav-panel .menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; text-decoration: none; }
.search-dialog form { display: flex; gap: 8px; }
.search-dialog input[type='search'] { flex: 1; min-height: 52px; }
.search-dialog button, .search-dialog input[type='submit'] { min-height: 52px; }
.dialog-suggestions { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.dialog-suggestions > span { display: block; margin-bottom: 9px; color: var(--muted); font-size: 12px; }
.dialog-suggestions > div { display: flex; flex-wrap: wrap; gap: 8px; }
.dialog-suggestions a { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 12px; text-decoration: none; }

/* Footer */
.site-footer { margin-top: 40px; padding: 58px 0 22px; border-top: 1px solid var(--line); background: #f3ece5; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: clamp(28px, 5vw, 70px); }
.footer-brand p { max-width: 420px; margin-top: 18px; color: var(--muted); font-size: 13px; }
.footer-contact { display: inline-flex; align-items: center; gap: 8px; color: var(--plum); font-size: 12px; text-decoration: none; direction: ltr; }
.footer-contact .icon { width: 17px; height: 17px; }
.footer-title { margin-bottom: 14px; font-size: 14px; }
.footer-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer-list a { color: #51464b; font-size: 12px; text-decoration: none; }
.footer-list a:hover { color: var(--plum); text-decoration: underline; }
.copyright { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; padding-top: 18px; border-top: 1px solid #d6ccc3; color: var(--muted); font-size: 11px; }

.bottom-nav, .sticky-buy { display: none; }

/* Legacy/editable pattern support */
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 28px 0; border-block: 1px solid var(--line); text-align: center; }
.feature-row h3 { margin: 6px 0; font-size: 15px; }
.feature-row p { margin: 0; color: var(--muted); font-size: 12px; }
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 7vw, 110px); align-items: center; }
.editorial figure { margin: 0; }
.editorial img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.editorial-copy { max-width: 520px; }
.editorial-copy p { color: var(--muted); font-size: 15px; line-height: 2; }
.guide-box { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.accordions { margin-top: 22px; border-top: 1px solid var(--line); }
.accordions details { padding: 14px 0; border-bottom: 1px solid var(--line); }
.accordions summary { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; }
.accordions summary::-webkit-details-marker { display: none; }
.accordions summary::after { content: '+'; color: var(--plum); font-size: 20px; font-weight: 300; }
.accordions details[open] summary::after { content: '−'; }
.accordions details p, .accordions details dl { margin: 12px 0 4px; color: var(--muted); font-size: 13px; }

@media (max-width: 1180px) {
  .header-nav .menu { gap: 15px; }
  .header-nav a { font-size: 13px; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / -1; }
}

@media (max-width: 900px) {
  :root { --header-height: 74px; }
  body { padding-bottom: 74px; }
  .announcement { font-size: 11px; }
  .header-inner { min-height: var(--header-height); grid-template-columns: 44px 1fr 92px; gap: 8px; }
  .mobile-toggle { display: inline-flex; }
  .header-nav { display: none; }
  .header-inner > .brand { justify-self: center; }
  .brand img { width: 32px; height: 40px; }
  .brand-name { font-size: 17px; }
  .brand-sub { display: none; }
  .header-actions { gap: 0; }
  .account-link { display: none; }

  .home-hero { padding-top: 14px; }
  .home-hero-grid { grid-template-columns: 1fr; }
  .home-hero-media { order: 1; min-height: 460px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .home-hero-media > img { min-height: 460px; aspect-ratio: 4 / 4.5; }
  .hero-placeholder { min-height: 460px; }
  .home-hero-copy { order: 2; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius-lg) var(--radius-lg); padding: 30px 24px 34px; }
  .home-hero-copy h1 { font-size: clamp(34px, 8.5vw, 48px); }
  .hero-lead { font-size: 16px; }
  .hero-actions .button { flex: 1 1 180px; }
  .hero-points { gap: 8px 13px; font-size: 12px; }

  .home-trust { grid-template-columns: 1fr; }
  .home-trust article { border-left: 0; border-bottom: 1px solid var(--line); }
  .home-trust article:last-child { border-bottom: 0; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .decision-section, .trust-panel { grid-template-columns: 1fr; }
  .article-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-trust { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }

  .bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 70;
    min-height: 68px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 7px 10px calc(7px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 252, 248, .96);
    box-shadow: 0 -8px 30px rgba(51, 28, 39, .05);
    backdrop-filter: blur(10px);
  }
  .bottom-nav a { display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 48px; color: var(--muted); font-size: 10px; text-decoration: none; }
  .bottom-nav a:hover { color: var(--plum); }
  .bottom-nav .icon { width: 20px; height: 20px; }
}

@media (max-width: 640px) {
  :root { --space: 16px; --section-space: 52px; }
  body { font-size: 15px; line-height: 1.85; }
  h1 { font-size: 32px; }
  h2 { font-size: 25px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 22px; }
  .home-hero-media { min-height: 390px; }
  .home-hero-media > img, .hero-placeholder { min-height: 390px; }
  .hero-media-note { right: 13px; bottom: 13px; max-width: calc(100% - 26px); }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .hero-points { display: grid; grid-template-columns: 1fr; }
  .home-trust article { padding: 18px; }
  .category-grid { gap: 10px; }
  .category-copy { padding: 11px 12px 13px; }
  .category-copy strong { font-size: 13px; }
  .guide-grid, .article-card-grid, .footer-grid { grid-template-columns: 1fr; }
  .guide-card { min-height: 0; }
  .decision-steps article { grid-template-columns: 44px 1fr; padding: 15px; }
  .decision-steps article > span { width: 40px; height: 40px; }
  .trust-panel { padding: 24px 18px; }
  .article-content { font-size: 16px; }
  .copyright { flex-direction: column; gap: 5px; }
  .dialog { width: calc(100% - 18px); max-height: calc(100svh - 18px); padding: 20px; border-radius: 20px; }
  .search-dialog form { display: grid; grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; text-align: right; }
  .editorial { grid-template-columns: 1fr; }
}

@media (max-width: 350px) {
  .wrap { padding-inline: 13px; }
  .brand-name { font-size: 15px; }
  .header-inner { grid-template-columns: 40px 1fr 84px; }
  .icon-button { min-width: 40px; }
  .category-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media print {
  .announcement, .site-header, .bottom-nav, .sticky-buy, .site-footer, .hero-actions { display: none !important; }
  body { padding: 0; background: #fff; }
}
.simple-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.simple-breadcrumbs a { color: var(--muted); text-decoration: none; }
.simple-breadcrumbs a:hover { color: var(--plum); }

/* =========================================================
   v0.3.0 — Compact editorial commerce refresh
   ========================================================= */
:root {
  --paper: #fffdf9;
  --surface: #ffffff;
  --cream: #f7f1ea;
  --cream-2: #fbf7f2;
  --plum: #4a2435;
  --plum-dark: #321621;
  --plum-soft: #6b3a4e;
  --rose: #ead9df;
  --rose-soft: #f7eef1;
  --gold: #b9904f;
  --ink: #171417;
  --muted: #6d6569;
  --muted-2: #8a8085;
  --line: #e9e1da;
  --line-strong: #d9cdc4;
  --radius-xs: 8px;
  --radius-sm: 11px;
  --radius: 15px;
  --radius-lg: 22px;
  --shadow-sm: 0 10px 26px rgba(45, 25, 34, .055);
  --shadow: 0 20px 55px rgba(45, 25, 34, .075);
  --space: clamp(16px, 3.25vw, 44px);
  --section-space: clamp(44px, 5.6vw, 72px);
  --header-height: 64px;
}

html { scroll-padding-top: 22px; }
body { font-size: 15px; line-height: 1.85; overflow-x: clip; }
h1 { font-size: clamp(30px, 3.8vw, 49px); }
h2 { font-size: clamp(24px, 2.65vw, 34px); }
h3 { font-size: clamp(17px, 1.55vw, 20px); }
.wrap { width: min(100%, 1240px); }
.section-kicker, .product-kicker, .dialog-kicker { margin-bottom: 8px; font-size: 11px; }
.section-kicker::before, .product-kicker::before { width: 18px; background: var(--gold); }

/* Buttons: sharper, calmer, consistent across WooCommerce. */
.button, button.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 11px;
  border-color: var(--plum);
  background: linear-gradient(135deg, var(--plum) 0%, #5b2d42 100%);
  box-shadow: 0 6px 18px rgba(74, 36, 53, .10);
  font-size: 13px;
  font-weight: 690;
}
.button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover {
  background: var(--plum-dark);
  box-shadow: 0 9px 24px rgba(74, 36, 53, .14);
  transform: translateY(-1px);
}
.button.secondary {
  background: rgba(255,255,255,.82);
  color: var(--plum);
  border-color: var(--line-strong);
  box-shadow: none;
}
.button.secondary:hover { background: var(--cream); border-color: #cdbfb5; }

/* Header: deliberately NOT sticky. */
.announcement { display: none !important; }
.site-header {
  position: relative;
  top: auto;
  z-index: 30;
  min-height: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255,253,249,.98);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.header-inner {
  min-height: 64px;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
}
.header-nav .menu { gap: 18px; }
.header-nav a { min-height: 38px; font-size: 12px; font-weight: 570; }
.header-nav a::after { bottom: 5px; }
.brand { gap: 7px; }
.brand img { width: 29px; height: 34px; }
.brand-name { font-size: 16px; font-weight: 760; }
.brand-sub { display: none; }
.header-actions { gap: 0; }
.icon-button { min-width: 38px; min-height: 38px; }
.icon-button .icon { width: 19px; height: 19px; }
.cart-count { top: 0; left: -1px; min-width: 16px; height: 16px; font-size: 9px; }

/* Scroll reveal: subtle, cheap, and disabled for reduced motion. */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s cubic-bezier(.2,.65,.25,1), transform .55s cubic-bezier(.2,.65,.25,1);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal="media"] { transform: translateY(10px) scale(.992); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Homepage hero: compact, asymmetric, editorial. */
.home-hero { padding: 22px 0 8px; }
.home-hero-grid {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: center;
}
.home-hero-copy {
  border: 0;
  border-radius: 0;
  padding: clamp(24px, 4vw, 50px) clamp(4px, 2.5vw, 26px);
  background: transparent;
}
.home-hero-copy::before {
  content: '';
  display: block;
  width: 46px;
  height: 2px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.home-hero-copy h1 {
  max-width: 520px;
  margin-bottom: 10px;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.32;
}
.hero-lead {
  max-width: 520px;
  margin-bottom: 20px;
  color: #4e474b;
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 2;
}
.hero-actions { margin-bottom: 19px; gap: 8px; }
.hero-actions .button { min-width: 132px; }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--muted);
  font-size: 10px;
}
.hero-proof .icon { width: 14px; height: 14px; color: var(--plum); }
.home-hero-media {
  position: relative;
  min-height: 0;
  aspect-ratio: 1.06 / 1;
  border-radius: 22px 7px 22px 7px;
  background: linear-gradient(145deg, var(--cream), #fff);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-sm);
}
.home-hero-media::after {
  content: '';
  position: absolute;
  inset: 13px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 16px 5px 16px 5px;
}
.home-hero-media > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  transition: transform 1.1s cubic-bezier(.2,.65,.25,1);
}
.home-hero-media:hover > img { transform: scale(1.018); }
.hero-placeholder { min-height: 0; height: 100%; }
.hero-media-note {
  right: auto;
  left: 18px;
  bottom: 18px;
  z-index: 4;
  min-width: 130px;
  max-width: 180px;
  padding: 9px 11px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 10px;
  background: rgba(255,253,249,.88);
  box-shadow: 0 10px 30px rgba(36,20,28,.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-media-note span { display: block; color: var(--muted); font-size: 9px; }
.hero-media-note strong { display: block; margin-top: 1px; color: var(--plum); font-size: 11px; }
.hero-orbit {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  border: 1px solid rgba(185,144,79,.44);
  border-radius: 50%;
}
.hero-orbit-one { top: 10%; right: 6%; width: 56px; height: 56px; animation: il-orbit 7s ease-in-out infinite alternate; }
.hero-orbit-two { left: 8%; bottom: 12%; width: 20px; height: 20px; background: rgba(255,255,255,.38); animation: il-float 4.8s ease-in-out infinite; }
@keyframes il-orbit { to { transform: translate3d(-9px, 9px, 0) rotate(10deg); } }
@keyframes il-float { 50% { transform: translate3d(0,-8px,0); } }

/* Proof strip. */
.home-trust {
  margin-top: 18px;
  grid-template-columns: repeat(3,1fr);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}
.home-trust article { grid-template-columns: 30px 1fr; gap: 10px; padding: 14px 17px; }
.home-trust article > .icon { width: 19px; height: 19px; margin-top: 1px; }
.home-trust h2 { margin-bottom: 1px; font-size: 12px; }
.home-trust p { font-size: 10px; line-height: 1.7; }

.section-head { align-items: end; gap: 20px; margin-bottom: 22px; }
.section-head > div { max-width: 650px; }
.section-head h2 { margin-bottom: 4px; }
.section-head p { max-width: 620px; font-size: 12px; line-height: 1.85; }

/* Categories: smaller and more fashion/editorial. */
.category-grid { grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; }
.category-card {
  border: 0;
  border-radius: 13px;
  background: transparent;
  overflow: visible;
  box-shadow: none;
}
.category-card:hover { transform: translateY(-2px); border-color: transparent; box-shadow: none; }
.category-media {
  position: relative;
  aspect-ratio: 1 / 1.12;
  border-radius: 13px;
  overflow: hidden;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(74,36,53,.04);
}
.category-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(31,18,24,.15));
  pointer-events: none;
}
.category-media img { width:100%; height:100%; object-fit:cover; transition:transform .45s cubic-bezier(.2,.65,.25,1); }
.category-card:hover .category-media img { transform: scale(1.035); }
.category-index {
  position: absolute;
  right: 9px;
  top: 9px;
  z-index: 2;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.8);
  color: var(--plum);
  font-size: 9px;
  backdrop-filter: blur(6px);
}
.category-copy { padding: 9px 2px 0; }
.category-copy strong { font-size: 12px; }
.category-copy span { margin-top: 1px; font-size: 9px; color: var(--muted); }

/* Products section gets a subtle fashion-magazine stripe, not a large panel. */
.home-products {
  position: relative;
  background: transparent;
}
.home-products::before {
  content: '';
  position: absolute;
  right: 0;
  left: 0;
  top: 18%;
  bottom: 11%;
  z-index: -1;
  background: linear-gradient(90deg, rgba(247,241,234,.9), rgba(255,253,249,.25), rgba(247,241,234,.8));
}

/* Decision block: one composed panel, not oversized cards. */
.decision-section {
  grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr);
  gap: clamp(24px,5vw,66px);
  padding: clamp(26px,4vw,44px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 10%, rgba(234,217,223,.48), transparent 26%),
    #fff;
  box-shadow: none;
}
.decision-copy { align-self:center; }
.decision-copy p { max-width: 480px; color: var(--muted); font-size: 13px; }
.decision-steps { gap: 0; border-top: 1px solid var(--line); }
.decision-steps article {
  grid-template-columns: 38px 1fr;
  gap: 12px;
  padding: 14px 3px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.decision-steps article:last-child { border-bottom: 0; }
.decision-steps article > span {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  color: var(--gold);
  font-size: 10px;
}
.decision-steps h3 { margin-bottom: 2px; font-size: 13px; }
.decision-steps p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }

/* Guides: visual linework and lower visual weight. */
.guide-section {
  position: relative;
  background: #f7f1ea;
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.guide-section::after {
  content: '';
  position: absolute;
  left: -70px;
  top: 20px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(185,144,79,.16);
  border-radius: 50%;
}
.guide-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.guide-card {
  min-height: 180px;
  padding: 17px;
  border-radius: 13px;
  background: rgba(255,255,255,.74);
  box-shadow: none;
}
.guide-card:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(45,25,34,.055); }
.guide-card > span { font-size: 10px; }
.guide-card h3 { margin-bottom: 5px; font-size: 14px; }
.guide-card p { font-size: 11px; line-height: 1.75; }
.guide-card strong { margin-top: 5px; font-size: 10px; }

/* Trust links as a compact information panel. */
.trust-panel {
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  gap: 32px;
  padding: clamp(22px,4vw,38px);
  border-radius: 17px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: none;
}
.trust-panel p { max-width: 520px; font-size: 12px; }
.trust-links { gap: 7px; }
.trust-links a {
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream-2);
  font-size: 11px;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.trust-links a:hover { transform: translateX(-2px); border-color: var(--line-strong); background:#fff; }

/* Dialogs and footer made lighter and smaller. */
.dialog { width:min(540px,calc(100% - 24px)); padding:22px; border-radius:17px; }
.dialog-top h2 { font-size:20px; }
.site-footer { margin-top: 24px; padding: 40px 0 18px; background: #f5efe8; }
.footer-grid { grid-template-columns: 1.35fr repeat(3,1fr); gap: clamp(22px,4vw,50px); }
.footer-brand p { max-width: 360px; margin-top: 12px; font-size: 11px; }
.footer-title { margin-bottom: 10px; font-size: 12px; }
.footer-list { gap: 6px; }
.footer-list a { font-size: 10px; }
.copyright { margin-top: 26px; padding-top: 14px; font-size: 9px; }

@media (max-width: 1040px) {
  .header-nav .menu { gap: 11px; }
  .header-nav a { font-size: 11px; }
  .category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .guide-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 900px) {
  :root { --header-height: 58px; }
  body { padding-bottom: 62px; }
  .header-inner { min-height: 58px; grid-template-columns: 38px 1fr 82px; gap:6px; }
  .brand img { width: 25px; height:29px; }
  .brand-name { font-size:14px; }
  .home-hero { padding-top: 12px; }
  .home-hero-grid { grid-template-columns:1fr; gap:10px; }
  .home-hero-copy {
    order:2;
    padding: 20px 4px 10px;
    border:0;
  }
  .home-hero-copy::before { margin-bottom:13px; }
  .home-hero-copy h1 { font-size:clamp(31px,8vw,42px); }
  .hero-lead { font-size:14px; margin-bottom:16px; }
  .home-hero-media {
    order:1;
    aspect-ratio: 4 / 3.45;
    min-height: 0;
    border-radius:17px 6px 17px 6px;
  }
  .home-hero-media > img, .hero-placeholder { min-height:0; height:100%; }
  .hero-actions { display:flex; }
  .hero-actions .button { flex:0 1 auto; width:auto; }
  .home-trust { grid-template-columns:1fr 1fr 1fr; }
  .home-trust article { display:block; padding:12px; border-left:1px solid var(--line); border-bottom:0; }
  .home-trust article > .icon { margin-bottom:5px; }
  .home-trust p { display:none; }
  .decision-section, .trust-panel { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }

  .bottom-nav {
    min-height: 58px;
    padding: 5px 10px calc(5px + env(safe-area-inset-bottom));
    background: rgba(255,253,249,.96);
  }
  .bottom-nav a { min-height:42px; font-size:9px; }
  .bottom-nav .icon { width:18px; height:18px; }
}

@media (max-width: 640px) {
  :root { --space: 14px; --section-space: 42px; }
  body { font-size:14px; line-height:1.8; }
  h2 { font-size:24px; }
  .section-head { margin-bottom:18px; }
  .section-head p { font-size:11px; }
  .home-hero-media { aspect-ratio: 1 / .92; }
  .hero-media-note { left:11px; bottom:11px; }
  .hero-proof { gap:5px; }
  .hero-proof span { padding:5px 8px; font-size:9px; }
  .home-trust { margin-top:10px; }
  .home-trust h2 { font-size:10px; }
  .category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  .category-media { aspect-ratio:1/1.08; }
  .category-copy strong { font-size:11px; }
  .decision-section { padding:20px 16px; border-radius:14px; }
  .decision-copy p { font-size:11px; }
  .guide-grid { grid-template-columns:1fr 1fr; gap:8px; }
  .guide-card { min-height:155px; padding:14px; }
  .trust-panel { padding:20px 15px; }
  .trust-links { display:grid; grid-template-columns:1fr 1fr; }
  .trust-links a { min-height:40px; font-size:10px; }
  .footer-grid { grid-template-columns:1fr; }
}

@media (max-width: 380px) {
  .guide-grid { grid-template-columns:1fr; }
  .trust-links { grid-template-columns:1fr; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity:1 !important; transform:none !important; }
  .hero-orbit { animation:none !important; }
  .home-hero-media > img { transition:none !important; }
}
