/* Extracted from design-source/open-design-output/blog-article.html — DO NOT EDIT */


/* ═══════════════════════════════════════════════════════════════════
   TOKENS — VK-inspired Shoe Commerce (Blog article page)
   ═══════════════════════════════════════════════════════════════════ */
:root {
  --bg:      #f5f5f7;
  --surface: #ffffff;
  --fg:      #1a1a1d;
  --muted:   #6b6b6b;
  --border:  #e5e5e8;
  --accent:  #0077ff;

  --accent-soft:   color-mix(in oklab, var(--accent) 12%, transparent);
  --accent-hover:  color-mix(in oklab, var(--accent), black 10%);
  --accent-active: color-mix(in oklab, var(--accent), black 18%);
  --accent-on:     #ffffff;
  --fg-soft:       color-mix(in oklab, var(--fg) 6%, transparent);

  --success: #17a34a;
  --warn:    #eab308;
  --danger:  #dc2626;
  --star:    #f5a623;

  --image-bg: #ededef;

  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --font-mono:    ui-monospace, "JetBrains Mono", "SF Mono", Menlo, monospace;

  --fs-h1: 40px;
  --fs-h2: 30px;
  --fs-h3: 22px;
  --fs-lead: 16px;
  --fs-body: 17px;
  --fs-small: 14px;
  --fs-meta: 13px;
  --fs-micro: 12px;

  --gap-xs: 8px;
  --gap-sm: 12px;
  --gap-md: 16px;
  --gap-lg: 24px;
  --gap-xl: 24px;
  --gap-2xl: 48px;

  --container: 1320px;
  --gutter: 32px;
  --sidebar-width: 260px;

  --radius-sm: 6px;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --shadow-card-hover: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-dropdown: 0 8px 24px rgba(0,0,0,0.10);
  --shadow-menu: 0 12px 40px rgba(0,0,0,0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.5;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
p { text-wrap: pretty; margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; margin: 0; font-family: var(--font-display); }
ul, ol { margin: 0; padding: 0; list-style: none; }
input, select, textarea { font: inherit; color: inherit; }

.container {
  max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
}
.row { display: flex; align-items: center; gap: var(--gap-md); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-md); }
.stack { display: flex; flex-direction: column; gap: var(--gap-md); }

/* ═══════════════════════════════════════════════════════════════════
   SERVICE BAR (global — no active gender)
   ═══════════════════════════════════════════════════════════════════ */
.service-bar {
  background: var(--fg); color: var(--surface); font-size: var(--fs-meta);
}
.service-bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--gap-md); height: 38px;
}
.service-bar-segments { display: flex; align-items: center; gap: var(--gap-xs); }
.service-bar-segments a {
  color: rgba(255,255,255,0.65); padding: 4px 10px; border-radius: var(--radius-sm);
  transition: color .15s ease, background .15s ease; font-weight: 500;
}
.service-bar-segments a:hover { color: rgba(255,255,255,0.9); }
.service-bar-service {
  display: flex; align-items: center; gap: var(--gap-lg);
  color: rgba(255,255,255,0.55);
}
.service-bar-service a {
  color: rgba(255,255,255,0.55); transition: color .15s ease;
}
.service-bar-service a:hover { color: rgba(255,255,255,0.9); }

/* ═══════════════════════════════════════════════════════════════════
   HEADER & MEGAMENU (global variant)
   ═══════════════════════════════════════════════════════════════════ */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.topnav-inner {
  display: flex; align-items: center; gap: var(--gap-xl);
  padding-block: 14px;
}
.topnav .logo {
  font-family: var(--font-display); font-size: 28px; font-weight: 800;
  letter-spacing: -0.04em; color: var(--fg); flex-shrink: 0; line-height: 1;
}
.topnav .logo span { color: var(--accent); }

.topnav-nav { display: flex; align-items: center; gap: 6px; flex: 1; justify-content: center; }
.topnav-nav > a, .topnav-nav > .has-megamenu > a {
  font-size: var(--fs-small); font-weight: 500; color: var(--fg);
  padding: 6px 10px; border-radius: var(--radius-sm);
  transition: color .15s ease, background .15s ease;
  position: relative; display: inline-flex; align-items: center; gap: 4px;
}
.topnav-nav > a:hover, .topnav-nav > .has-megamenu > a:hover {
  color: var(--accent); background: var(--bg);
}
.topnav-nav > a.active { color: var(--accent); }
.topnav-nav > .has-megamenu > a svg {
  width: 12px; height: 12px; color: var(--muted);
  transition: transform .2s ease;
}
.topnav-nav > .has-megamenu.open > a svg { transform: rotate(180deg); }

.has-megamenu { position: relative; }
.megamenu {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%);
  width: 980px; max-width: calc(100vw - var(--gutter) * 2);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-menu);
  padding: var(--gap-xl); opacity: 0; visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  z-index: 60;
}
.has-megamenu.open .megamenu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.megamenu-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: var(--gap-xl);
}
.megamenu-cols {
  display: flex; flex-direction: column; gap: 6px;
}
.megamenu-cols a {
  font-size: var(--fs-small); color: var(--fg);
  padding: 6px 8px; margin: 0 -8px; line-height: 1.45;
  transition: color .15s ease, background .15s ease;
  white-space: nowrap; border-radius: var(--radius-sm);
}
.megamenu-cols a:hover { color: var(--accent); background: var(--bg); }
.megamenu-all {
  margin-top: 6px;
  font-size: var(--fs-small); font-weight: 600; color: var(--accent);
}
.megamenu-all:hover { text-decoration: underline; }
.megamenu-title {
  font-size: var(--fs-meta); font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: var(--gap-sm);
}
.megamenu-brands { display: flex; flex-direction: column; gap: 6px; }
.megamenu-brands a {
  font-size: var(--fs-small); color: var(--fg); padding: 3px 0;
  transition: color .15s ease;
}
.megamenu-brands a:hover { color: var(--accent); }
.megamenu-promo { display: flex; flex-direction: column; gap: var(--gap-sm); }
.megamenu-promo-card {
  border-radius: var(--radius-md); padding: var(--gap-lg);
  background: var(--bg); min-height: 140px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.megamenu-promo-card .label {
  font-size: var(--fs-micro); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--accent); margin-bottom: 4px;
}
.megamenu-promo-card .title {
  font-size: var(--fs-lead); font-weight: 700; line-height: 1.2;
}

.topnav-search { position: relative; width: 260px; flex-shrink: 0; }
.topnav-search input {
  width: 100%; padding: 10px 12px 10px 38px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg); font-size: var(--fs-small);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.topnav-search input:focus {
  outline: none; border-color: var(--accent); background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.topnav-search input::placeholder { color: var(--muted); }
.topnav-search svg {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--muted); pointer-events: none;
}
.topnav-actions {
  display: flex; align-items: center; gap: var(--gap-xs); flex-shrink: 0;
}
.topnav-actions .icon-btn {
  width: 40px; height: 40px; border-radius: var(--radius);
  display: grid; place-items: center; color: var(--fg);
  transition: background .15s ease; position: relative;
}
.topnav-actions .icon-btn:hover { background: var(--bg); }
.topnav-actions .icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: 2px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--accent); color: var(--accent-on);
  font-size: 10px; font-weight: 700; border-radius: var(--radius-pill);
  display: grid; place-items: center;
}

.mobile-menu-trigger {
  display: none; width: 40px; height: 40px;
  place-items: center; border-radius: var(--radius); color: var(--fg);
}
.mobile-menu-trigger:hover { background: var(--bg); }
.mobile-menu-trigger svg { width: 24px; height: 24px; }

/* ═══════════════════════════════════════════════════════════════════
   BREADCRUMBS
   ═══════════════════════════════════════════════════════════════════ */
.breadcrumbs {
  padding-block: 16px; font-size: var(--fs-small); color: var(--muted);
}
.breadcrumbs ol { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumbs li:not(:last-child)::after {
  content: '›'; margin-left: 8px; color: var(--border);
}
.breadcrumbs a:hover { color: var(--fg); text-decoration: underline; }
.breadcrumbs li:last-child { color: var(--fg); font-weight: 500; }

/* ═══════════════════════════════════════════════════════════════════
   ARTICLE LAYOUT
   ═══════════════════════════════════════════════════════════════════ */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 800px) var(--sidebar-width);
  gap: 48px;
  justify-content: start;
  align-items: start;
  padding-bottom: var(--gap-2xl);
}
.article-main { min-width: 0; }
.article-sidebar { position: sticky; top: 90px; }

/* ═══════════════════════════════════════════════════════════════════
   ARTICLE HERO
   ═══════════════════════════════════════════════════════════════════ */
.article-hero {
  padding-bottom: 0;
}
.article-badge {
  display: inline-block;
  padding: 4px 10px; border-radius: var(--radius-sm);
  background: var(--accent-soft); color: var(--accent);
  font-size: var(--fs-micro); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: var(--gap-md);
}
.article-h1 {
  font-size: clamp(28px, 3.2vw, var(--fs-h1));
  font-weight: 700; line-height: 1.15; letter-spacing: -0.02em;
  max-width: 780px; margin-bottom: var(--gap-md);
}
.article-lead {
  font-size: 20px; line-height: 1.55; color: var(--fg);
  max-width: 720px; margin-bottom: var(--gap-xl);
}
.article-meta {
  display: flex; align-items: center; gap: var(--gap-md); flex-wrap: wrap;
  margin-bottom: 0;
}
.article-meta-item {
  display: flex; align-items: center; gap: 6px;
  font-size: var(--fs-small); color: var(--muted);
}
.article-meta-item svg { width: 16px; height: 16px; color: var(--muted); }
.article-author {
  display: flex; align-items: center; gap: 8px;
}
.article-author-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-size: var(--fs-micro); font-weight: 700;
}
.article-author-name { font-weight: 600; color: var(--fg); }

.article-share {
  display: flex; gap: var(--gap-xs);
}
.article-share a {
  width: 36px; height: 36px; border-radius: var(--radius);
  border: 1px solid var(--border); display: grid; place-items: center;
  color: var(--muted); transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.article-share a:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.article-share svg { width: 18px; height: 18px; }

.article-hero-img {
  width: 100%; aspect-ratio: 16 / 9;
  background: var(--image-bg); border-radius: var(--radius-lg);
  overflow: hidden; margin-bottom: var(--gap-2xl);
}
.article-hero-img img {
  width: 100%; height: 100%; object-fit: cover;
}

/* ═══════════════════════════════════════════════════════════════════
   ARTICLE CONTENT
   ═══════════════════════════════════════════════════════════════════ */
.article-body {
  font-size: 17px; line-height: 1.7; color: var(--fg);
}
.article-body > * + * { margin-top: var(--gap-lg); }
.article-body h2 {
  font-size: var(--fs-h2); font-weight: 700; line-height: 1.2;
  margin-top: 48px; margin-bottom: var(--gap-md);
  scroll-margin-top: 100px;
}
.article-body h3 {
  font-size: var(--fs-h3); font-weight: 600; line-height: 1.3;
  margin-top: 32px; margin-bottom: var(--gap-sm);
  scroll-margin-top: 100px;
}
.article-body p { max-width: 720px; }
.article-body ul, .article-body ol {
  padding-left: 24px; display: flex; flex-direction: column; gap: 10px;
}
.article-body ul { list-style: disc; }
.article-body ul li::marker { color: var(--accent); }
.article-body ol { list-style: decimal; }
.article-body ol li::marker { color: var(--muted); font-weight: 600; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--accent-hover); }

/* Lead block inside article */
.lead-block {
  background: var(--accent-soft); border-radius: var(--radius-lg);
  padding: var(--gap-xl); font-size: 20px; line-height: 1.55;
  margin-top: 36px;
  color: var(--fg); border-left: 4px solid var(--accent);
}
.lead-block p { max-width: none; }

/* Inline images */
.article-figure { margin: var(--gap-xl) 0; }
.article-img {
  width: 100%; max-width: 100%; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--image-bg); display: block;
}
.article-img img { width: 100%; height: auto; display: block; }
.article-figure figcaption {
  font-size: var(--fs-small); color: var(--muted); margin-top: 10px;
}

/* ═══════════════════════════════════════════════════════════════════
   TABLE
   ═══════════════════════════════════════════════════════════════════ */
.table-wrap {
  overflow-x: auto; border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.article-table {
  width: 100%; border-collapse: collapse; min-width: 560px;
  font-size: var(--fs-small);
}
.article-table thead th {
  background: var(--bg); text-align: left; padding: 14px 16px;
  font-weight: 600; color: var(--fg); border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.article-table tbody td {
  padding: 14px 16px; border-bottom: 1px solid var(--border);
  color: var(--fg); vertical-align: top;
}
.article-table tbody tr:last-child td { border-bottom: none; }
.article-table tbody tr:nth-child(even) { background: rgba(0,0,0,0.015); }

/* ═══════════════════════════════════════════════════════════════════
   CALLOUT BLOCKS
   ═══════════════════════════════════════════════════════════════════ */
.callout {
  border-radius: var(--radius-md); padding: var(--gap-lg);
  display: flex; gap: var(--gap-md); align-items: flex-start;
}
.callout-icon {
  width: 28px; height: 28px; flex-shrink: 0; margin-top: 2px;
}
.callout-title {
  font-weight: 600; margin-bottom: 4px; font-size: var(--fs-small);
}
.callout-text { font-size: var(--fs-small); line-height: 1.55; color: var(--fg); }
.callout-text p { max-width: none; margin: 0; }

.callout-info { background: var(--accent-soft); }
.callout-info .callout-icon { color: var(--accent); }
.callout-info .callout-title { color: var(--accent); }

.callout-tip { background: var(--bg); border: 1px solid var(--border); }
.callout-tip .callout-icon { color: var(--muted); }
.callout-tip .callout-title { color: var(--fg); }

.callout-attention { background: rgba(234,179,8,0.08); border: 1px solid rgba(234,179,8,0.15); }
.callout-attention .callout-icon { color: var(--warn); }
.callout-attention .callout-title { color: var(--warn); }

.callout-error { background: var(--fg); color: #fff; }
.callout-error .callout-icon { color: var(--danger); }
.callout-error .callout-title { color: #fff; }
.callout-error .callout-text { color: rgba(255,255,255,0.8); }

/* ═══════════════════════════════════════════════════════════════════
   PRODUCT CARDS (compact for article)
   ═══════════════════════════════════════════════════════════════════ */
.product-grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-md);
}
.product-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
  display: flex; flex-direction: column; background: var(--surface);
}
.card-link-overlay { position: absolute; inset: 0; z-index: 1; }
@media (hover: hover) {
  .product-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
}
.card-image-wrap {
  position: relative; aspect-ratio: 1 / 1; background: #fff;
  overflow: hidden;
}
.card-image-wrap img {
  width: 100%; height: 100%; object-fit: contain; padding: 10%;
}
.wishlist-btn {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--fg);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.wishlist-btn:hover { border-color: var(--accent); color: var(--accent); }
.wishlist-btn.active { color: var(--danger); border-color: var(--danger); background: #fff; }
.wishlist-btn svg { width: 18px; height: 18px; }
.card-content {
  padding: 10px 2px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1;
}
.card-brand { font-size: var(--fs-micro); font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.04em; }
.card-name { font-size: var(--fs-small); font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-rating { display: flex; align-items: center; gap: 6px; }
.card-rating .stars { display: flex; gap: 1px; }
.card-rating .stars svg { width: 12px; height: 12px; }
.card-rating .rating-value { font-size: var(--fs-micro); font-weight: 600; color: var(--fg); }
.card-rating .rating-count { font-size: var(--fs-micro); color: var(--muted); }
.card-price { display: flex; align-items: baseline; gap: 6px; margin-top: auto; padding-top: 4px; }
.price-current { font-size: 15px; font-weight: 700; }
.price-old { font-size: 12px; color: var(--muted); text-decoration: line-through; }

/* ═══════════════════════════════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════════════════════════════ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: var(--gap-md); padding: 18px 0;
  font-size: var(--fs-small); font-weight: 500; color: var(--fg); text-align: left;
  transition: color .15s ease;
}
.faq-question:hover { color: var(--accent); }
.faq-question svg {
  width: 20px; height: 20px; color: var(--muted); flex-shrink: 0;
  transition: transform .2s ease;
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.open .faq-answer {
  max-height: 400px; padding-bottom: var(--gap-md);
}
.faq-answer-inner {
  font-size: var(--fs-small); line-height: 1.6; color: var(--fg);
  max-width: 720px;
}

/* ═══════════════════════════════════════════════════════════════════
   SUMMARY BLOCK
   ═══════════════════════════════════════════════════════════════════ */
.summary-block {
  background: var(--fg); color: #fff; border-radius: var(--radius-lg);
  padding: var(--gap-xl); margin-top: var(--gap-2xl);
}
.summary-block h2 {
  font-size: var(--fs-h2); font-weight: 700; margin-bottom: var(--gap-md);
  color: #fff;
}
.summary-block p {
  font-size: var(--fs-body); line-height: 1.65;
  color: rgba(255,255,255,0.85); max-width: 720px; margin-bottom: var(--gap-lg);
}
.summary-list {
  display: flex; flex-direction: column; gap: var(--gap-sm);
  margin-bottom: var(--gap-lg);
}
.summary-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: var(--fs-body); color: rgba(255,255,255,0.9);
}
.summary-list li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0;
}
.article-body .summary-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-on);
  font-size: var(--fs-small); font-weight: 600;
  text-decoration: none;
  transition: background .15s ease;
}
.article-body .summary-cta:hover { background: var(--accent-hover); color: var(--accent-on); }

/* ═══════════════════════════════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════════════════════════════ */
.sidebar-block {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: var(--gap-lg);
  margin-bottom: var(--gap-lg);
}
.sidebar-title {
  font-size: var(--fs-small); font-weight: 700; color: var(--fg);
  letter-spacing: -0.01em; margin-bottom: var(--gap-md);
}
.toc-list { display: flex; flex-direction: column; gap: 4px; }
.toc-list a {
  display: block; padding: 6px 8px; margin: 0 -8px;
  font-size: var(--fs-small); color: var(--fg); line-height: 1.4;
  border-radius: var(--radius-sm);
  transition: color .15s ease, background .15s ease;
}
.toc-list a:hover { color: var(--accent); background: var(--bg); }
.toc-list a.active { color: var(--accent); background: var(--accent-soft); font-weight: 500; }

.author-card { display: flex; gap: var(--gap-md); align-items: flex-start; }
.author-card-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: var(--fs-small); font-weight: 700;
  flex-shrink: 0;
}
.author-card-name { font-weight: 600; margin-bottom: 2px; }
.author-card-desc { font-size: var(--fs-small); color: var(--muted); line-height: 1.45; }
.author-card-link { font-size: var(--fs-small); color: var(--accent); margin-top: 6px; display: inline-block; }
.author-card-link:hover { text-decoration: underline; }

.sidebar-links { display: flex; flex-direction: column; gap: 8px; }
.sidebar-links a {
  font-size: var(--fs-small); color: var(--fg); padding: 4px 0;
  transition: color .15s ease;
}
.sidebar-links a:hover { color: var(--accent); }

/* ═══════════════════════════════════════════════════════════════════
   RELATED ARTICLES
   ═══════════════════════════════════════════════════════════════════ */
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-lg);
}
.related-card {
  display: flex; flex-direction: column; gap: var(--gap-sm);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.related-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.related-card-img {
  aspect-ratio: 16 / 10; background: var(--image-bg); overflow: hidden;
}
.related-card-img img { width: 100%; height: 100%; object-fit: cover; }
.related-card-body { padding: var(--gap-md); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.related-card-rubric {
  font-size: var(--fs-micro); font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.related-card-title { font-size: var(--fs-small); font-weight: 600; line-height: 1.35; }
.related-card-text { font-size: var(--fs-small); color: var(--muted); line-height: 1.45; }
.related-card-link { font-size: var(--fs-small); color: var(--accent); font-weight: 500; margin-top: auto; padding-top: 4px; }
.related-card-link:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════════ */
.section { padding-block: var(--gap-2xl); }
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--gap-md); margin-bottom: var(--gap-lg);
}
.section-title { font-size: var(--fs-h2); font-weight: 700; line-height: 1.2; }
.section-link {
  font-size: var(--fs-small); font-weight: 500; color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
}
.section-link:hover { text-decoration: underline; }
.section-link svg { width: 14px; height: 14px; }

/* ═══════════════════════════════════════════════════════════════════
   MOBILE TOC
   ═══════════════════════════════════════════════════════════════════ */
.mobile-toc { display: none; margin-bottom: var(--gap-xl); }
@media (max-width: 1023px) {
  .mobile-toc { display: block; }
}
.mobile-toc-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-radius: var(--radius-md);
  background: var(--surface); border: 1px solid var(--border);
  font-size: var(--fs-small); font-weight: 600; color: var(--fg);
  transition: background .15s ease;
}
.mobile-toc-toggle:hover { background: var(--bg); }
.mobile-toc-toggle svg { width: 18px; height: 18px; color: var(--muted); transition: transform .2s ease; }
.mobile-toc-toggle.open svg { transform: rotate(180deg); }
.mobile-toc-list {
  display: none; flex-direction: column; gap: 2px;
  padding: 8px 16px 16px; background: var(--surface);
  border: 1px solid var(--border); border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}
.mobile-toc-list.open { display: flex; }
.mobile-toc-list a {
  padding: 10px 0; font-size: var(--fs-small); color: var(--fg);
  border-bottom: 1px solid var(--border); line-height: 1.4;
}
.mobile-toc-list a:last-child { border-bottom: none; }

/* ═══════════════════════════════════════════════════════════════════
   FOOTER (same as homepage)
   ═══════════════════════════════════════════════════════════════════ */
.pagefoot {
  background: var(--fg); color: rgba(255,255,255,0.65);
  padding-block: var(--gap-2xl);
}
.foot-newsletter {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--gap-lg); flex-wrap: wrap;
  padding-bottom: var(--gap-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.foot-newsletter-text h3 {
  font-size: var(--fs-h3); font-weight: 700; color: #fff; margin-bottom: 4px;
}
.foot-newsletter-text p { font-size: var(--fs-small); color: rgba(255,255,255,0.55); }
.foot-newsletter-form { display: flex; gap: var(--gap-sm); }
.foot-newsletter-form input {
  width: 280px; padding: 10px 14px; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.06);
  color: #fff; font-size: var(--fs-small);
}
.foot-newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.foot-newsletter-form button {
  padding: 10px 20px; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-on);
  font-size: var(--fs-small); font-weight: 600;
  transition: background .15s ease;
}
.foot-newsletter-form button:hover { background: var(--accent-hover); }
.foot-newsletter-terms {
  font-size: var(--fs-micro); color: rgba(255,255,255,0.35);
  margin-top: 8px; width: 100%;
}
.foot-newsletter-terms a { color: rgba(255,255,255,0.5); text-decoration: underline; }

.foot-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap-lg);
  padding-block: var(--gap-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.foot-col-title {
  font-size: 15px; font-weight: 700; color: #fff;
  letter-spacing: -0.01em; margin-bottom: var(--gap-md);
}
.foot-col ul { display: flex; flex-direction: column; gap: 12px; }
.foot-col a {
  font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6;
  transition: color .15s ease;
}
.foot-col a:hover { color: #fff; }

.foot-bottom {
  padding-top: var(--gap-lg);
  display: flex; flex-direction: column; gap: var(--gap-md);
}
.foot-bottom-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--gap-md);
  font-size: var(--fs-small); color: rgba(255,255,255,0.5);
}
.foot-bottom-row p { max-width: 720px; line-height: 1.6; }
.foot-section-links {
  display: flex; flex-wrap: wrap; gap: 12px 20px;
}
.foot-section-links a {
  font-size: var(--fs-small); color: rgba(255,255,255,0.5);
}
.foot-section-links a:hover { color: #fff; }

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1199px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 240px; gap: 40px; }
  .product-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .megamenu { width: 720px; }
}
@media (max-width: 1023px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
  .product-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .megamenu { width: 720px; }
  .megamenu-grid { grid-template-columns: 1fr 1fr 1fr; }
  .megamenu-promo { display: none; }
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; }
  .topnav-search { display: none; }
  .mobile-menu-trigger { display: grid; }
  .topnav-nav { display: none; }
  .article-h1 { font-size: 26px; }
  .article-lead { font-size: 17px; }
  .article-body { font-size: 16px; }
  .article-body h2 { font-size: 24px; }
  .article-body h3 { font-size: 20px; }
  .product-grid-3 { grid-template-columns: repeat(2, 1fr); gap: var(--gap-sm); }
  .related-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-newsletter { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 479px) {
  .product-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


.mobile-menu.open{display:block !important;}