/*
Theme Name: ANR Cluj
Theme URI: https://cluj.anr.ro
Author: ANR Cluj
Author URI: https://cluj.anr.ro
Description: Temă WordPress + WooCommerce pentru Asociația Nevăzătorilor din România, Filiala Județeană Cluj. Accesibilitate WCAG 2.1 AA, paletiă Prune + Violet, suport complet WooCommerce.
Version: 1.1.0
Requires at least: 6.2
Tested up to: 6.5
Requires PHP: 7.0
License: Proprietar
Text Domain: anr-cluj
Tags: accessibility-ready, custom-colors, custom-menu, custom-logo, e-commerce, right-sidebar, sticky-post, threaded-comments, translation-ready
*/

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES — :root
   ========================================================================== */

:root {
  /* ── Shared tokens (palette-independent) ── */
  --text:       oklch(0.22 0.04 45);   /* #382C1E */
  --text-md:    oklch(0.42 0.05 50);   /* #6B5A4A */
  --text-muted: oklch(0.55 0.05 52);   /* #7A6558 */
  --text-inv:   oklch(0.96 0.010 78);  /* #F5EFE4 */
  --text-inv-m: oklch(0.72 0.05 72);   /* #B8A88C */
  --border:     oklch(0.87 0.030 76);  /* #DDD0C0 */
  --border-lt:  oklch(0.92 0.018 78);  /* #EDE5D8 */
  --success:    oklch(0.52 0.14 145);  /* #2E7D50 */
  --error:      oklch(0.50 0.18 25);   /* #B83020 */

  /* ── Prune palette (active) ── */
  --primary:    oklch(0.38 0.16 0);    /* ~#6B2030 */
  --primary-dk: oklch(0.32 0.16 358);  /* ~#581826 */
  --primary-lt: oklch(0.93 0.05 10);   /* ~#F5E6E8 */
  --primary-xl: oklch(0.97 0.024 15);  /* ~#FBF3F4 */

  /* ── Violet accent (active) ── */
  --accent:     oklch(0.66 0.14 305);  /* #8040C0 */
  --accent-dk:  oklch(0.56 0.14 303);  /* #6830A8 */

  /* ── Backgrounds ── */
  --bg:         oklch(0.97 0.008 20);  /* ~#FAF4F1 */
  --bg-alt:     oklch(0.93 0.015 15);  /* ~#EEE4E6 */
  --bg-warm:    oklch(0.90 0.022 12);  /* ~#E5D8D8 */
  --bg-dark:    oklch(0.20 0.06 0);    /* ~#3A1820 */
  --bg-darker:  oklch(0.15 0.05 0);    /* ~#2C1018 */

  /* ── Typography ── */
  --ff-head: 'Lora', Georgia, 'Times New Roman', serif;
  --ff-body: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --fs-xs:   11px;
  --fs-sm:   13px;
  --fs-base: 16px;
  --fs-md:   18px;
  --fs-lg:   22px;
  --fs-xl:   28px;
  --fs-2xl:  36px;
  --fs-3xl:  46px;
  --fs-hero: 58px;

  /* ── Layout ── */
  --w:          1200px;
  --pad-x:      28px;
  --pad-x-mob:  16px;
  --sec-py:     84px;
  --sec-py-mob: 52px;

  /* ── Border radii ── */
  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   14px;
  --r-pill: 100px;

  /* ── Shadows ── */
  --sh-sm: 0 1px 4px  oklch(0.22 0.04 45 / 0.08);
  --sh-md: 0 4px 16px oklch(0.22 0.04 45 / 0.11);
  --sh-lg: 0 10px 32px oklch(0.22 0.04 45 / 0.15);
  --sh-xl: 0 20px 48px oklch(0.22 0.04 45 / 0.18);
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); }
a:hover { color: var(--primary-dk); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }
table { border-collapse: collapse; }

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-head);
  font-weight: 700;
  line-height: 1.22;
  color: var(--text);
}
h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-base); font-weight: 600; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* Prose content (single post body) */
.prose { font-size: var(--fs-md); line-height: 1.80; color: var(--text); }
.prose h2 { font-size: var(--fs-xl); margin: 2em 0 0.6em; }
.prose h3 { font-size: var(--fs-lg); margin: 1.6em 0 0.5em; }
.prose p  { margin-bottom: 1.4em; }
.prose ul, .prose ol { margin: 0 0 1.4em 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.4em; }
.prose a  { text-decoration: underline; }
.prose blockquote {
  border-left: 4px solid var(--primary);
  padding: 12px 20px;
  margin: 1.6em 0;
  background: var(--primary-xl);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic;
  color: var(--text-md);
}
.prose img { border-radius: var(--r-lg); margin: 1.6em 0; }
.prose table { width: 100%; margin-bottom: 1.4em; font-size: var(--fs-sm); }
.prose th, .prose td { padding: 10px 14px; border: 1px solid var(--border); text-align: left; }
.prose th { background: var(--bg-alt); font-weight: 600; }
.prose mark { background: oklch(0.66 0.14 305 / 0.18); color: var(--text); border-radius: 2px; padding: 0 2px; }

/* ==========================================================================
   4. LAYOUT UTILITIES
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.sec {
  padding-top: var(--sec-py);
  padding-bottom: var(--sec-py);
}

.sec-alt {
  padding-top: var(--sec-py);
  padding-bottom: var(--sec-py);
  background: var(--bg-alt);
}

.sec-ttl {
  font-family: var(--ff-head);
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 8px;
}

.sec-sub {
  font-size: var(--fs-md);
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 44px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ==========================================================================
   5. FOCUS RING — WCAG 2.1 AA
   ========================================================================== */

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ==========================================================================
   6. SKIP LINK
   ========================================================================== */

.skip {
  position: absolute;
  top: -48px;
  left: 16px;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: 700;
  font-size: var(--fs-sm);
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s;
}
.skip:focus { top: 0; }

/* ==========================================================================
   7. ACCESSIBILITY BAR
   ========================================================================== */

.a11y {
  background: var(--bg-dark);
  color: var(--text-inv-m);
  font-size: var(--fs-xs);
  padding: 6px 0;
}

.a11y-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.a11y-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.a11y-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.a11y a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-inv-m);
  text-decoration: none;
  transition: color 0.2s;
}
.a11y a:hover { color: var(--accent); }

.a11y-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.a11y-sep {
  color: oklch(0.32 0.04 44);
  user-select: none;
}

.fs-btns {
  display: flex;
  align-items: center;
  gap: 4px;
}

.fs-btn {
  background: transparent;
  border: 1px solid oklch(0.38 0.04 46);
  border-radius: var(--r-sm);
  color: var(--text-inv);
  cursor: pointer;
  padding: 2px 7px;
  font-size: var(--fs-xs);
  line-height: 1.6;
  font-family: var(--ff-body);
  transition: all 0.2s;
}
.fs-btn:hover,
.fs-btn[aria-pressed="true"] {
  background: oklch(0.28 0.05 45);
  border-color: var(--accent);
  color: var(--accent);
}

/* ==========================================================================
   8. HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border-lt);
  box-shadow: var(--sh-sm);
}

.hdr-in {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 68px;
  padding: 0 var(--pad-x);
  max-width: var(--w);
  margin: 0 auto;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: auto;
}

.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.logo-mark img { width: 100%; height: 100%; object-fit: cover; }

.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text strong {
  font-family: var(--ff-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.logo-text span {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* Primary navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav a {
  display: block;
  padding: 8px 14px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--r-md);
  transition: all 0.2s;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-nav li.current-menu-item > a,
.site-nav li.current-menu-ancestor > a {
  color: var(--primary);
  background: var(--primary-lt);
}

/* Dropdown */
.site-nav .has-drop,
.site-nav li.menu-item-has-children {
  position: relative;
}

/* Link părinte cu săgeată integrată */
.site-nav .has-drop > a,
.site-nav li.menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-right: 10px;
  border-radius: var(--r-md);
}

.site-nav .has-drop > a .chev,
.site-nav li.menu-item-has-children > a .chev {
  transition: transform 0.2s;
  flex-shrink: 0;
}

.site-nav .has-drop > a[aria-expanded="true"] .chev,
.site-nav li.menu-item-has-children > a[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}

/* Hover unificat: evidențiază link-ul părinte */
.site-nav .has-drop:hover > a,
.site-nav li.menu-item-has-children:hover > a,
.site-nav li.nav-open > a {
  background: var(--primary-lt);
  color: var(--primary);
}

/* Când e deschis: evidențiază linkul părinte (clasa nav-open setată de JS) */
.site-nav li.nav-open > a {
  background: var(--primary-lt);
  color: var(--primary);
}

.site-nav .drop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #fff;
  border: 1px solid var(--border-lt);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  min-width: 230px;
  padding: 8px;
  opacity: 0;
  /* visibility: hidden scoate link-urile din tab order cât e închis */
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  /* la ascundere: visibility devine hidden după ce opacity finisează (0.08+0.2=0.28s) */
  transition: opacity 0.2s 0.08s, transform 0.2s 0.08s, visibility 0s 0.28s;
  z-index: 200;
}

/* Pod transparent care acoperă gap-ul de 6px (hover mouse) */
.site-nav .drop::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 12px;
}

/* Vizibil: hover mouse SAU aria-expanded (tastatură) SAU clasa nav-open (JS fallback) */
.site-nav .has-drop:hover > .drop,
.site-nav .has-drop > a[aria-expanded="true"] + .drop,
.site-nav li.nav-open > .drop {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateY(0);
  transition-delay: 0s;
}

.site-nav .drop a {
  padding: 8px 12px;
  font-size: var(--fs-sm);
  font-weight: 500;
  border-radius: var(--r-md);
  display: block;
  width: 100%;
}

/* Header right (search + cart) */
.hdr-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.search-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--border-lt);
  border-radius: var(--r-pill);
  height: 36px;
  padding: 0 4px 0 12px;
  gap: 4px;
}

.search-wrap input {
  background: transparent;
  border: none;
  outline: none;
  font-size: var(--fs-sm);
  color: var(--text);
  width: 150px;
}

.search-wrap input::placeholder { color: var(--text-muted); }

.search-wrap button {
  width: 28px;
  height: 28px;
  background: var(--primary);
  border: none;
  border-radius: var(--r-pill);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.search-wrap button:hover { background: var(--primary-dk); }

.cart-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: all 0.2s;
}
.cart-btn:hover { border-color: var(--primary); color: var(--primary); }

.cart-n {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 18px;
  height: 18px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ==========================================================================
   9. MOBILE HAMBURGER
   ========================================================================== */

.ham-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
}

.ham-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transform-origin: center;
  transition: all 0.28s ease;
}

.ham-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ham-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.ham-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   10. MOBILE NAV DRAWER
   ========================================================================== */

#mob-nav {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
}

#mob-nav.open { pointer-events: all; }

.mob-overlay {
  position: absolute;
  inset: 0;
  background: oklch(0.10 0.03 45 / 0.55);
  opacity: 0;
  backdrop-filter: blur(2px);
  transition: opacity 0.3s;
}

#mob-nav.open .mob-overlay { opacity: 1; }

.mob-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#mob-nav.open .mob-panel { transform: translateX(0); }

.mob-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-lt);
  flex-shrink: 0;
}

.mob-head strong {
  font-family: var(--ff-head);
  font-size: var(--fs-md);
  color: var(--text);
}

.mob-close {
  width: 36px;
  height: 36px;
  background: var(--bg-alt);
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: background 0.2s;
}
.mob-close:hover { background: var(--primary-lt); color: var(--primary); }

.mob-links {
  padding: 12px 8px;
  flex: 1;
  overflow-y: auto;
}

.mob-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--r-md);
  transition: all 0.2s;
}

.mob-links a:hover,
.mob-links a[aria-current="page"] {
  background: var(--primary-lt);
  color: var(--primary);
}

.mob-links hr {
  border: none;
  border-top: 1px solid var(--border-lt);
  margin: 8px 0;
}

.mob-links .mob-sub { padding: 6px 14px 6px 36px; }
.mob-links .mob-sub a { font-size: var(--fs-sm); font-weight: 500; padding: 8px 10px; }

/* Iteme cu submeniu în mobile drawer — ierarhie mereu expandată (tree-view) */
.mob-links .has-drop > a .chev,
.mob-links li.menu-item-has-children > a .chev {
  display: none; /* ascundem săgeata — nu mai e nevoie de toggle */
}

/* Submeniu mobil — mereu vizibil (ierarhie expandată) */
.mob-links .drop {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: static;
  width: 100%;
  opacity: 1;
  transform: none;
  box-shadow: none;
  border: none;
  border-left: 3px solid var(--primary-lt);
  border-radius: 0;
  background: transparent;
  padding: 4px 0 4px 12px;
  min-width: 0;
  pointer-events: all;
  transition: none;
  margin: 0;
}
.mob-links .drop a {
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: 8px 10px;
}

.mob-foot {
  padding: 20px;
  border-top: 1px solid var(--border-lt);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.mob-foot a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.mob-foot a:hover { color: var(--primary); }

/* ==========================================================================
   11. BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: var(--r-pill);
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dk); border-color: var(--primary-dk); color: #fff; }

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--primary);
}
.btn-ghost:hover { background: var(--primary-lt); }

.btn-white {
  background: #fff;
  border-color: #fff;
  color: var(--primary);
}
.btn-white:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.btn-sm { padding: 8px 18px; font-size: var(--fs-sm); }
.btn-lg { padding: 15px 34px; font-size: var(--fs-md); }
.btn-xl { padding: 18px 42px; font-size: var(--fs-lg); }

/* ==========================================================================
   12. EYEBROW LABELS
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  flex-shrink: 0;
}

/* ==========================================================================
   13. CATEGORY PILLS
   ========================================================================== */

.cat-pill {
  display: inline-block;
  background: var(--primary-lt);
  color: var(--primary);
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 2px 9px;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: background 0.2s;
}
.cat-pill:hover { background: var(--primary-xl); color: var(--primary); }

/* ==========================================================================
   14. HERO SECTION
   ========================================================================== */

.hero {
  background: var(--bg-dark);
  color: var(--text-inv);
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 40%,
    oklch(0.38 0.16 0 / 0.14) 100%
  );
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, oklch(0.66 0.14 305 / 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eye {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-eye::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.hero h1 {
  font-family: var(--ff-head);
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1.07;
  color: #fff;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-desc {
  font-size: var(--fs-md);
  color: var(--text-inv-m);
  max-width: 480px;
  line-height: 1.74;
  margin-bottom: 36px;
}

.hero-acts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-img-wrap {
  position: relative;
}

.hero-img-ph {
  aspect-ratio: 4 / 3;
  background: var(--bg-darker);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* Fotografie hero (strat deasupra wave-ului) */
.hero-img-ph .hero-photo {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-lg);
}

/* Braille wave — grafic hero de bază */
.braille-wave-wrap {
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.braille-canvas {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-badge {
  position: absolute;
  bottom: -24px;
  left: 24px;
  z-index: 3;
  background: var(--primary);
  border: 3px solid var(--bg-darker);
  border-radius: var(--r-lg);
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  box-shadow: var(--sh-lg);
}

.hero-badge strong {
  font-family: var(--ff-head);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.hero-badge span {
  font-size: var(--fs-xs);
  color: var(--text-inv-m);
  text-align: center;
  line-height: 1.4;
}

/* ==========================================================================
   15. STATS BAR
   ========================================================================== */

.stats-bar {
  background: var(--primary);
  padding: 36px 0;
}

.stats-in {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 20px;
  border-right: 1px solid oklch(1 0 0 / 0.18);
}

.stat:last-child { border-right: none; }

.stat-n {
  font-family: var(--ff-head);
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-l {
  font-size: var(--fs-sm);
  color: oklch(0.88 0.05 72);
  font-weight: 500;
  line-height: 1.4;
}

/* ==========================================================================
   16. ABOUT SECTION
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-ph {
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(
    45deg,
    var(--bg-alt) 0px, var(--bg-alt) 2px,
    var(--bg-warm) 2px, var(--bg-warm) 14px
  );
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-ph img { width: 100%; height: 100%; object-fit: cover; }

.about-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0 32px;
}

.about-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--fs-base);
  line-height: 1.65;
}

.about-item::before {
  content: '✓';
  width: 22px;
  height: 22px;
  background: var(--primary-lt);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   17. NEWS / BLOG CARDS
   ========================================================================== */

.card {
  background: #fff;
  border: 1px solid var(--border-lt);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-sm);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
  text-decoration: none;
}
.card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }

.news-img {
  height: 188px;
  background: repeating-linear-gradient(
    45deg,
    var(--bg-alt) 0px, var(--bg-alt) 2px,
    var(--bg-warm) 2px, var(--bg-warm) 14px
  );
  overflow: hidden;
  flex-shrink: 0;
}

.news-img img { width: 100%; height: 100%; object-fit: cover; }

.news-img-placeholder { display: block; width: 100%; height: 100%; }
.news-img-placeholder svg { width: 100%; height: 100%; display: block; }

.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.card-date {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.card-ttl {
  font-family: var(--ff-head);
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.42;
  color: var(--text);
  text-decoration: none;
}

.card-txt {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  flex: 1;
  line-height: 1.65;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: gap 0.2s;
  margin-top: auto;
}
.read-more:hover { gap: 8px; color: var(--primary-dk); }

/* Blog horizontal card */
.blog-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  background: #fff;
  border: 1px solid var(--border-lt);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: box-shadow 0.22s, transform 0.22s;
  text-decoration: none;
}
.blog-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }

.blog-card-img {
  background: repeating-linear-gradient(
    45deg,
    var(--bg-alt) 0px, var(--bg-alt) 2px,
    var(--bg-warm) 2px, var(--bg-warm) 14px
  );
  overflow: hidden;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }

.blog-card-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-featured {
  grid-template-columns: 1fr;
}

.blog-featured .blog-card-img {
  height: 280px;
}

/* ==========================================================================
   18. DONATION BANNER
   ========================================================================== */

.don-ban {
  background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
  padding: var(--sec-py) 0;
  position: relative;
  overflow: hidden;
}

.don-ban::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, oklch(0.38 0.16 0 / 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.don-in {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.don-ttl {
  font-family: var(--ff-head);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: #fff;
  line-height: 1.22;
  margin-bottom: 16px;
}

.don-desc {
  font-size: var(--fs-md);
  color: var(--text-inv-m);
  max-width: 520px;
  line-height: 1.74;
}

.don-acts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.don-card {
  background: oklch(0.38 0.16 0 / 0.22);
  border: 1px solid oklch(1 0 0 / 0.12);
  border-radius: var(--r-lg);
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
}

.don-pct {
  font-family: var(--ff-head);
  font-size: 56px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.don-card p {
  font-size: var(--fs-sm);
  color: var(--text-inv-m);
  line-height: 1.55;
  max-width: 160px;
  margin: 0;
}

/* ==========================================================================
   19. PARTNERS
   ========================================================================== */

.partners-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 44px;
}
.partners-row {
  display: grid;
  grid-template-columns: repeat(var(--row-cols, 4), 1fr);
  gap: 14px;
}

.partner {
  background: #fff;
  border: 1px solid var(--border-lt);
  border-radius: var(--r-lg);
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 20px;
  box-shadow: var(--sh-sm);
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.2s;
  overflow: hidden;
}
.partner:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
  border-color: var(--primary);
}

.partner a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.partner a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: var(--r-lg);
}
.partner img { max-height: 52px; width: auto; object-fit: contain; }
.partner .partner-name { font-size: var(--fs-base); font-weight: 700; color: var(--primary); }

/* ==========================================================================
   20. PAGINATION
   ========================================================================== */

.pagi {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.pgbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.pgbtn:hover,
.pgbtn.on,
.pgbtn[aria-current="page"] {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* WordPress paginate_links classes */
.page-numbers { @extend .pgbtn; }
.page-numbers.current { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ==========================================================================
   21. BREADCRUMB
   ========================================================================== */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--primary); }

.breadcrumb-sep {
  color: var(--border);
  user-select: none;
}

/* ==========================================================================
   22. PAGE HEADER
   ========================================================================== */

.page-hdr {
  padding: 44px 0 36px;
  border-bottom: 1px solid var(--border-lt);
  background: var(--bg);
}

.page-hdr h1 {
  font-family: var(--ff-head);
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.22;
  margin-bottom: 8px;
}

.page-hdr-desc {
  font-size: var(--fs-base);
  color: var(--text-muted);
  max-width: 600px;
}

/* ==========================================================================
   23. BLOG SIDEBAR
   ========================================================================== */

.widget {
  background: #fff;
  border: 1px solid var(--border-lt);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-bottom: 20px;
}

.widget-ttl {
  font-family: var(--ff-head);
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--text);
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--primary-lt);
}

/* Recent posts widget */
.recent-posts { display: flex; flex-direction: column; gap: 14px; }

.recent-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
}

.recent-thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--bg-alt);
  overflow: hidden;
  flex-shrink: 0;
}
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; }

.recent-ttl {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 4px;
  transition: color 0.2s;
}
.recent-item:hover .recent-ttl { color: var(--primary); }

.recent-date { font-size: var(--fs-xs); color: var(--text-muted); }

/* Widget tag cloud */
.widget-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.widget-tag {
  background: var(--bg-alt);
  border: 1px solid var(--border-lt);
  border-radius: var(--r-pill);
  padding: 4px 10px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
}
.widget-tag:hover { background: var(--primary-lt); border-color: var(--primary); color: var(--primary); }

/* Widget categories */
.widget-cats { display: flex; flex-direction: column; gap: 4px; }

.widget-cats li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 10px;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s;
}

.widget-cats li a:hover,
.widget-cats li.current-cat a {
  background: var(--primary-lt);
  color: var(--primary);
  font-weight: 600;
}

.widget-cats .count {
  background: var(--bg-alt);
  border-radius: var(--r-pill);
  padding: 1px 8px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* ==========================================================================
   24. SEARCH PAGE
   ========================================================================== */

.srch-hero {
  background: var(--bg-dark);
  padding: 56px 0;
  text-align: center;
}

.srch-hero h1 {
  font-family: var(--ff-head);
  font-size: var(--fs-2xl);
  color: #fff;
  margin-bottom: 8px;
}

.srch-hero p { color: var(--text-inv-m); margin-bottom: 28px; }

.srch-form {
  display: flex;
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--r-pill);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}

.srch-form input {
  flex: 1;
  padding: 16px 24px;
  border: none;
  outline: none;
  font-size: var(--fs-base);
  color: var(--text);
}

.srch-form button {
  padding: 14px 28px;
  background: var(--primary);
  border: none;
  color: #fff;
  font-size: var(--fs-base);
  font-weight: 700;
  font-family: var(--ff-body);
  cursor: pointer;
  transition: background 0.2s;
}
.srch-form button:hover { background: var(--primary-dk); }

.srch-lay {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 44px;
  padding: var(--sec-py) 0;
}

.srch-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.ftab {
  padding: 7px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.ftab:hover,
.ftab.on {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.results-list { display: flex; flex-direction: column; gap: 14px; }

.result-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border-lt);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  text-decoration: none;
  transition: all 0.2s;
}
.result-item:hover { border-color: var(--primary); box-shadow: var(--sh-sm); }

.result-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--r-md);
  background: var(--bg-alt);
  overflow: hidden;
  flex-shrink: 0;
}
.result-thumb img { width: 100%; height: 100%; object-fit: cover; }

.result-body { flex: 1; }

.result-type {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.result-ttl {
  font-family: var(--ff-head);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.4;
}

.result-exc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.65;
}

.result-exc mark {
  background: oklch(0.66 0.14 305 / 0.15);
  color: var(--text);
  border-radius: 2px;
  padding: 0 2px;
}

/* ==========================================================================
   25. 404 PAGE
   ========================================================================== */

.err-wrap {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sec-py) var(--pad-x);
  position: relative;
  overflow: hidden;
}

.err-num {
  position: absolute;
  font-family: var(--ff-head);
  font-size: clamp(120px, 25vw, 280px);
  font-weight: 700;
  color: var(--text);
  opacity: 0.05;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.err-icon {
  width: 88px;
  height: 88px;
  background: var(--primary-lt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 12px oklch(0.93 0.05 10 / 0.5),
              0 0 0 24px oklch(0.93 0.05 10 / 0.25);
}

.err-wrap h1 {
  font-family: var(--ff-head);
  font-size: var(--fs-xl);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.err-wrap p {
  font-size: var(--fs-base);
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.err-search {
  display: flex;
  max-width: 420px;
  width: 100%;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.err-search input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--r-pill) 0 0 var(--r-pill);
  font-size: var(--fs-base);
  color: var(--text);
  background: #fff;
  outline: none;
}
.err-search input:focus { border-color: var(--primary); }

.err-search button {
  padding: 12px 22px;
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 0 var(--r-pill) var(--r-pill) 0;
  color: #fff;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: background 0.2s;
}
.err-search button:hover { background: var(--primary-dk); }

.err-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   26. CONTACT PAGE
   ========================================================================== */

/* ── Contact hero strip ── */

.contact-hero {
  background: var(--bg-dark);
  padding: 48px 0 44px;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, oklch(0.38 0.16 0 / 0.10));
  pointer-events: none;
}

.contact-hero .breadcrumb {
  position: relative;
  z-index: 1;
}

.contact-hero .breadcrumb a {
  color: var(--text-inv-m);
}

.contact-hero .breadcrumb a:hover {
  color: var(--accent);
}

.contact-hero .breadcrumb-sep {
  color: var(--text-inv-m);
}

.contact-hero .breadcrumb [aria-current="page"] {
  color: var(--accent);
}

.contact-hero-ttl {
  font-family: var(--ff-head);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.contact-hero-desc {
  font-size: var(--fs-md);
  color: var(--text-inv-m);
  max-width: 520px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* ── Contact layout (form + sidebar) ── */

.contact-lay {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}

.contact-form-col {
  min-width: 0;
}

.contact-form-col .eyebrow {
  margin-bottom: 10px;
}

.contact-form-ttl {
  font-family: var(--ff-head);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
  line-height: 1.25;
}

/* ── Contact sidebar card ── */

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 88px;
}

.cinfo-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}

.cinfo-card-hdr {
  background: var(--primary);
  padding: 18px 22px;
}

.cinfo-card-hdr h3 {
  font-family: var(--ff-head);
  font-size: var(--fs-md);
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.cinfo-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cinfo-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.cinfo-icon {
  width: 38px;
  height: 38px;
  background: var(--primary-lt);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.cinfo-lbl {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.cinfo-val {
  font-style: normal;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

.cinfo-link {
  font-size: var(--fs-sm);
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.cinfo-link:hover {
  color: var(--primary-dk);
  text-decoration: underline;
}

.cinfo-link-lg {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  font-family: var(--ff-head);
}

.cinfo-link-lg:hover {
  color: var(--primary-dk);
  text-decoration: underline;
}

.cinfo-schedule {
  font-size: var(--fs-sm);
  border-collapse: collapse;
  width: 100%;
  margin-top: 2px;
}

.cinfo-schedule td {
  padding: 2px 0;
}

.cinfo-schedule td:first-child {
  color: var(--text-muted);
}

.cinfo-schedule td:last-child {
  font-weight: 600;
  color: var(--text);
  padding-left: 12px;
}

.cinfo-social {
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.cinfo-social-lbl {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* ── Quick links card ── */

.cinfo-quick {
  background: var(--primary-xl);
  border: 1px solid oklch(0.38 0.16 0 / 0.18);
  border-radius: var(--r-lg);
  padding: 22px;
}

.cinfo-quick h3 {
  font-family: var(--ff-head);
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.cinfo-quick ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cinfo-quick a {
  font-size: var(--fs-sm);
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.cinfo-quick a:hover {
  color: var(--primary-dk);
  text-decoration: underline;
}

/* ── Map section ── */

.contact-map {
  width: 100%;
  height: 380px;
  position: relative;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.contact-map iframe {
  display: block;
  width: calc(100% - 56px);
  height: 100%;
  border: 0;
  margin: 0 auto;
  max-width: var(--w);
}

/* ==========================================================================
   27. SHOP LAYOUT
   ========================================================================== */

.shop-hdr {
  padding: 28px 0;
  border-bottom: 1px solid var(--border-lt);
  background: var(--bg);
}

.shop-lay {
  display: grid;
  grid-template-columns: 256px 1fr;
  gap: 44px;
  padding: 36px 0 var(--sec-py);
}

.shop-sidebar {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 108px);
  overflow-y: auto;
}

/* Category list filter */
.cat-list { display: flex; flex-direction: column; gap: 4px; }

.cat-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s;
}

.cat-list li a:hover,
.cat-list li.current-cat a,
.cat-list .cur {
  background: var(--primary-lt);
  color: var(--primary);
  font-weight: 600;
}

.cat-n {
  background: var(--bg-alt);
  border-radius: var(--r-pill);
  padding: 1px 8px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* Price range */
.price-rng { display: flex; flex-direction: column; gap: 12px; }

.rng-track {
  height: 4px;
  background: var(--border-lt);
  border-radius: 2px;
  position: relative;
}

.rng-fill {
  position: absolute;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  left: 20%;
  right: 15%;
}

.rng-ins {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rng-in {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 7px 10px;
  background: var(--bg);
  font-size: var(--fs-sm);
  color: var(--text);
}
.rng-in:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px oklch(0.38 0.16 0 / 0.12); }

.rng-sep { font-size: var(--fs-sm); color: var(--text-muted); }

/* Tag filter */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

.tag {
  background: var(--bg-alt);
  border: 1px solid var(--border-lt);
  border-radius: var(--r-pill);
  padding: 4px 12px;
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.tag:hover,
.tag.on {
  background: var(--primary-lt);
  border-color: var(--primary);
  color: var(--primary);
}

/* Shop toolbar */
.shop-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.shop-ct {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.shop-bar-r {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sort-sel {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 8px 12px;
  font-size: var(--fs-sm);
  font-family: var(--ff-body);
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

.view-tog { display: flex; gap: 4px; }

.vbtn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.vbtn.on, .vbtn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.shop-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Mobile filter button */
.mob-filter-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  margin-bottom: 16px;
  transition: all 0.2s;
}
.mob-filter-btn:hover { border-color: var(--primary); color: var(--primary); }

/* Mobile filter drawer */
#mob-filter {
  position: fixed;
  inset: 0;
  z-index: 8000;
  pointer-events: none;
}
#mob-filter.open { pointer-events: all; }
#mob-filter.open .mob-overlay { opacity: 1; }

#mob-filter .mob-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  max-height: 80vh;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  transform: translateY(100%);
  overflow-y: auto;
  padding: 24px 20px 32px;
}
#mob-filter.open .mob-panel { transform: translateY(0); }

/* ==========================================================================
   28. PRODUCT CARD
   ========================================================================== */

.prod-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-lt);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-sm);
  transition: box-shadow 0.22s, transform 0.22s;
}
.prod-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }

.prod-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  z-index: 2;
  line-height: 1.4;
}
.prod-badge.new  { background: var(--accent-dk); }
.prod-badge.sale { background: var(--error); }

.prod-img {
  height: 200px;
  background: repeating-linear-gradient(
    45deg,
    var(--bg-alt) 0px, var(--bg-alt) 2px,
    var(--bg-warm) 2px, var(--bg-warm) 14px
  );
  overflow: hidden;
  flex-shrink: 0;
}
.prod-img img { width: 100%; height: 100%; object-fit: cover; }

.prod-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}

.prod-cat {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
}

.prod-ttl {
  font-family: var(--ff-head);
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.38;
  color: var(--text);
  text-decoration: none;
}

.prod-ttl a { color: inherit; text-decoration: none; }
.prod-ttl a:hover { color: var(--primary); }

.rat {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.stars { color: var(--accent); font-size: 13px; line-height: 1; }
.rat-count { font-size: var(--fs-xs); color: var(--text-muted); }

.price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
  flex-wrap: wrap;
}

.price {
  font-family: var(--ff-head);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--primary);
}

.price-old {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  text-decoration: line-through;
}

.atc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 9px 16px;
  background: var(--primary);
  border: none;
  border-radius: var(--r-pill);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
  font-family: var(--ff-body);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  margin-top: 8px;
}
.atc:hover { background: var(--primary-dk); color: #fff; }
.atc.added { background: var(--success); }

/* ==========================================================================
   29. SINGLE PRODUCT PAGE
   ========================================================================== */

.prod-lay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px;
  padding: 52px 0;
}

/* Gallery */
.gal { display: flex; flex-direction: column; gap: 12px; }

.gal-main {
  aspect-ratio: 1 / 1;
  background: repeating-linear-gradient(
    45deg,
    var(--bg-alt) 0px, var(--bg-alt) 2px,
    var(--bg-warm) 2px, var(--bg-warm) 14px
  );
  border-radius: var(--r-lg);
  border: 1px solid var(--border-lt);
  overflow: hidden;
  cursor: zoom-in;
}

.gal-main img { width: 100%; height: 100%; object-fit: cover; }

.thumbs { display: flex; gap: 10px; flex-wrap: wrap; }

.thumb {
  width: 76px;
  height: 76px;
  background: var(--bg-alt);
  border: 2px solid var(--border-lt);
  border-radius: var(--r-md);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s;
}
.thumb:first-child,
.thumb.active { border-color: var(--primary); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Product detail panel */
.prod-det h1 {
  font-family: var(--ff-head);
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: 1.22;
  margin-bottom: 12px;
}

.big-price {
  display: block;
  font-family: var(--ff-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 22px;
}

.prod-exc {
  font-size: var(--fs-base);
  color: var(--text-muted);
  line-height: 1.75;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-lt);
  margin-bottom: 24px;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.qty-ctrl {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  overflow: hidden;
}

.qty-b {
  width: 38px;
  height: 44px;
  background: var(--bg-alt);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: var(--text);
  transition: background 0.2s;
}
.qty-b:hover { background: var(--primary-lt); color: var(--primary); }

.qty-i {
  width: 46px;
  text-align: center;
  font-size: var(--fs-base);
  font-weight: 700;
  border: none;
  outline: none;
  color: var(--text);
  background: transparent;
  -moz-appearance: textfield;
}
.qty-i::-webkit-inner-spin-button,
.qty-i::-webkit-outer-spin-button { -webkit-appearance: none; }

.wish {
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  color: var(--text-muted);
  transition: all 0.2s;
  flex-shrink: 0;
}
.wish:hover,
.wish[aria-pressed="true"] { border-color: var(--primary); color: var(--primary); }

.trust-bar {
  padding: 14px 16px;
  background: var(--primary-lt);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-md);
  margin-top: 16px;
}

.prod-tags-row {
  margin-top: 20px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

/* Product tabs */
.tabs {
  margin-top: 52px;
  border-top: 2px solid var(--border-lt);
}

.tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--border-lt);
}

.tabbtn {
  padding: 14px 24px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.tabbtn:hover,
.tabbtn.on,
.tabbtn[aria-selected="true"] {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tabp { display: none; padding: 34px 0; }
.tabp.on { display: block; }

.tabp p {
  font-size: var(--fs-base);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.tabp table { width: 100%; font-size: var(--fs-sm); }
.tabp th, .tabp td { padding: 10px 14px; border: 1px solid var(--border-lt); text-align: left; }
.tabp th { background: var(--bg-alt); font-weight: 600; color: var(--text); }

/* ==========================================================================
   30. CART PAGE
   ========================================================================== */

.cart-lay {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 44px;
  padding: 28px 0 var(--sec-py);
}

.cart-tbl {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border-lt);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--sh-sm);
}

.cart-tbl caption {
  text-align: left;
  font-family: var(--ff-head);
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 16px;
}

.cart-tbl thead tr {
  background: var(--bg-alt);
}

.cart-tbl th {
  padding: 14px 20px;
  text-align: left;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-lt);
}

.cart-tbl th:first-child { width: 44px; padding-left: 16px; padding-right: 8px; }
.cart-tbl th:nth-child(3),
.cart-tbl th:nth-child(5) { text-align: right; white-space: nowrap; }

.cart-tbl td {
  padding: 24px 20px;
  border-bottom: 1px solid var(--border-lt);
  vertical-align: middle;
}

.cart-tbl tbody tr:last-child td { border-bottom: none; }
.cart-tbl tbody tr:hover { background: var(--primary-xl); }

.cart-tbl td:first-child { padding-left: 16px; padding-right: 8px; }
.cart-tbl td:nth-child(3),
.cart-tbl td:nth-child(5) {
  text-align: right;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: var(--fs-base);
  color: var(--primary);
  white-space: nowrap;
}

.cart-prod { display: flex; align-items: center; gap: 16px; }

.cart-img {
  width: 84px;
  height: 84px;
  border-radius: var(--r-md);
  background: var(--bg-alt);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border-lt);
}
.cart-img img { display: block; width: 100%; height: 100%; object-fit: cover; }

.cart-nm {
  font-family: var(--ff-head);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
  line-height: 1.35;
}
.cart-nm:hover { color: var(--primary); }

.cart-var { font-size: var(--fs-xs); color: var(--text-muted); }

.rm-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-md);
  transition: all 0.2s;
}
.rm-btn:hover { color: var(--error); background: oklch(0.50 0.18 25 / 0.08); }

.cart-acts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 12px;
  flex-wrap: wrap;
}

.coupon-f { display: flex; gap: 8px; }

.coupon-i {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 14px;
  font-size: var(--fs-sm);
  background: #fff;
  color: var(--text);
  width: 200px;
}
.coupon-i:focus { outline: none; border-color: var(--primary); }

.totals-box {
  background: #fff;
  border: 1px solid var(--border-lt);
  border-radius: var(--r-lg);
  padding: 28px;
  position: sticky;
  top: 88px;
}

.totals-box h2 {
  font-family: var(--ff-head);
  font-size: var(--fs-lg);
  font-weight: 700;
  padding-bottom: 16px;
  margin-bottom: 22px;
  border-bottom: 2px solid var(--primary-lt);
}

.tot-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-lt);
  font-size: var(--fs-sm);
}
.tot-row:last-of-type { border-bottom: none; }
.tot-row .lbl { color: var(--text-muted); }
.tot-row .val { font-weight: 600; color: var(--text); }

.tot-row.gnd {
  border-top: 2px solid var(--border);
  margin-top: 10px;
  padding-top: 16px;
  font-size: var(--fs-md);
  font-weight: 700;
}
.tot-row.gnd .val { color: var(--primary); font-family: var(--ff-head); }

.sec-pay {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-lt);
  font-size: 12px;
  text-align: center;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   31. CHECKOUT PAGE
   ========================================================================== */

.steps-bar {
  background: #fff;
  border-bottom: 1px solid var(--border-lt);
  padding: 16px 0;
}

.steps {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  justify-content: center;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-weight: 500;
}
.step-item.active { color: var(--primary); font-weight: 700; }
.step-item.done { color: var(--success); }

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--border-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  flex-shrink: 0;
}
.step-item.active .step-num { background: var(--primary); color: #fff; }
.step-item.done .step-num { background: var(--success); color: #fff; }

.step-arrow { color: var(--border); user-select: none; }

.co-lay {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 52px;
  padding: 36px 0 var(--sec-py);
}

.co-sec { margin-bottom: 36px; }

.co-sec h2 {
  font-family: var(--ff-head);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text);
  padding-bottom: 13px;
  margin-bottom: 22px;
  border-bottom: 2px solid var(--primary-lt);
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Payment methods */
.pay-meths { display: flex; flex-direction: column; gap: 10px; }

.pay-meth {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border: 2px solid var(--border-lt);
  border-radius: var(--r-md);
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
}
.pay-meth:hover,
.pay-meth.sel {
  border-color: var(--primary);
  background: var(--primary-xl);
}

.pay-meth input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.pay-meth-ico {
  font-size: 22px;
  flex-shrink: 0;
}

.pay-meth-info { flex: 1; }
.pay-meth-lbl { font-size: var(--fs-sm); font-weight: 600; color: var(--text); display: block; }
.pay-meth-desc { font-size: var(--fs-xs); color: var(--text-muted); }

.tos-note {
  margin-top: 24px;
  padding: 18px;
  background: var(--bg-alt);
  border-radius: var(--r-md);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}
.tos-note a { color: var(--primary); }

/* Order summary sidebar */
.ord-sum {
  background: #fff;
  border: 1px solid var(--border-lt);
  border-radius: var(--r-lg);
  position: sticky;
  top: 88px;
  overflow: hidden;
}

.ord-hdr {
  background: var(--bg-dark);
  padding: 20px 24px;
  color: #fff;
}
.ord-hdr h2 { font-family: var(--ff-head); font-size: var(--fs-lg); font-weight: 700; color: #fff; }

.ord-items {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-lt);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ord-item { display: flex; align-items: center; gap: 12px; }

.ord-img {
  width: 54px;
  height: 54px;
  border-radius: var(--r-sm);
  background: var(--bg-alt);
  border: 1px solid var(--border-lt);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.ord-img img { width: 100%; height: 100%; object-fit: cover; }

.ord-qbadge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ord-nm { font-size: var(--fs-sm); font-weight: 600; color: var(--text); flex: 1; }
.ord-pr { font-size: var(--fs-sm); font-weight: 700; color: var(--primary); white-space: nowrap; }

.ord-tots { padding: 20px 24px; }

.ord-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 7px 0;
  font-size: var(--fs-sm);
}
.ord-row .lbl { color: var(--text-muted); }
.ord-row .val { font-weight: 600; color: var(--text); }
.ord-row.gnd {
  border-top: 2px solid var(--border);
  margin-top: 10px;
  padding-top: 14px;
  font-size: var(--fs-md);
  font-weight: 700;
}
.ord-row.gnd .val { color: var(--primary); font-family: var(--ff-head); }

.ssl-badge {
  margin: 0 24px 20px;
  padding: 14px;
  background: var(--primary-lt);
  border-radius: var(--r-md);
  font-size: 12px;
  color: var(--text);
  text-align: center;
  line-height: 1.7;
}

/* ==========================================================================
   32. ORDER CONFIRMATION
   ========================================================================== */

.conf-banner {
  background: linear-gradient(135deg, oklch(0.28 0.10 148) 0%, oklch(0.22 0.08 148) 100%);
  padding: 52px 0;
  text-align: center;
  color: #fff;
}

.conf-icon {
  width: 72px;
  height: 72px;
  background: oklch(0.52 0.14 145 / 0.3);
  border: 2px solid oklch(0.52 0.14 145);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
}

.conf-banner h1 {
  font-family: var(--ff-head);
  font-size: var(--fs-xl);
  color: #fff;
  margin-bottom: 12px;
}

.conf-order-n {
  display: inline-block;
  background: oklch(1 0 0 / 0.15);
  padding: 4px 16px;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-top: 8px;
}

.conf-lay {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 44px;
  padding: var(--sec-py) 0;
}

.conf-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 32px 0;
  position: relative;
  padding-left: 48px;
}

.conf-step {
  position: relative;
  padding-bottom: 28px;
}
.conf-step:last-child { padding-bottom: 0; }

.conf-step::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 24px;
  bottom: 0;
  width: 2px;
  background: var(--border-lt);
}
.conf-step:last-child::before { display: none; }

.conf-step-num {
  position: absolute;
  left: -48px;
  top: 0;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: 700;
}

.conf-step h3 { font-size: var(--fs-base); font-weight: 700; margin-bottom: 4px; }
.conf-step p  { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.55; margin: 0; }

/* ==========================================================================
   33. MY ACCOUNT PAGE
   ========================================================================== */

.acc-lay {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 44px;
  padding: var(--sec-py) 0;
}

.acc-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 88px;
}

.acc-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: transparent;
  border: none;
  border-radius: var(--r-md);
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  text-align: left;
  transition: all 0.2s;
}
.acc-nav-btn:hover,
.acc-nav-btn.on,
.acc-nav-btn[aria-current="page"] {
  background: var(--primary-lt);
  color: var(--primary);
}
.acc-nav-btn.logout { color: var(--error); margin-top: 8px; }
.acc-nav-btn.logout:hover { background: oklch(0.50 0.18 25 / 0.08); color: var(--error); }

.acc-tab { display: none; }
.acc-tab.on,
.acc-tab.active { display: block; }

/* Orders table */
.orders-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.orders-tbl caption {
  text-align: left;
  font-family: var(--ff-head);
  font-size: var(--fs-lg);
  font-weight: 700;
  padding-bottom: 16px;
  margin-bottom: 8px;
}
.orders-tbl th {
  padding: 10px 14px;
  text-align: left;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border-lt);
}
.orders-tbl td { padding: 14px 14px; border-bottom: 1px solid var(--border-lt); }

.status-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 700;
}
.status-pill.completed   { background: oklch(0.52 0.14 145 / 0.15); color: var(--success); }
.status-pill.processing  { background: oklch(0.66 0.14 305 / 0.12); color: var(--accent-dk); }
.status-pill.pending     { background: oklch(0.68 0.14 72 / 0.15); color: oklch(0.46 0.14 72); }
.status-pill.cancelled   { background: oklch(0.50 0.18 25 / 0.10); color: var(--error); }
.status-pill.on-hold     { background: var(--bg-alt); color: var(--text-muted); }

/* Membership card */
.membership-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 100%);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 32px;
  margin-bottom: 24px;
}
.membership-card h2 { color: #fff; font-family: var(--ff-head); margin-bottom: 20px; }
.membership-info { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.membership-info dt { font-size: var(--fs-xs); text-transform: uppercase; color: oklch(0.88 0.05 10); margin-bottom: 4px; letter-spacing: 0.08em; }
.membership-info dd { font-size: var(--fs-base); font-weight: 700; }
.membership-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; background: oklch(0.52 0.14 145); border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 700; }

/* ==========================================================================
   34. FOOTER
   ========================================================================== */

.site-foot {
  background: var(--bg-darker);
  color: var(--text-inv-m);
  padding: 68px 0 0;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid oklch(0.26 0.04 44);
}

.foot-brand strong {
  display: block;
  font-family: var(--ff-head);
  font-size: var(--fs-lg);
  color: #fff;
  margin-bottom: 8px;
}

.foot-brand p {
  font-size: var(--fs-sm);
  line-height: 1.74;
  margin-bottom: 22px;
  color: var(--text-inv-m);
}

.socials { display: flex; gap: 8px; flex-wrap: wrap; }

.soc {
  width: 38px;
  height: 38px;
  background: oklch(0.24 0.04 44);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inv-m);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
}
.soc:hover { background: var(--primary); color: #fff; }

.foot-col h4 {
  font-family: var(--ff-head);
  font-size: var(--fs-base);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.foot-col ul { display: flex; flex-direction: column; gap: 9px; }

.foot-col a {
  font-size: var(--fs-sm);
  color: var(--text-inv-m);
  text-decoration: none;
  transition: color 0.2s;
}
.foot-col a:hover { color: var(--accent); }

.foot-col address {
  font-style: normal;
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--text-inv-m);
}
.foot-col address strong { display: block; color: #fff; margin-bottom: 4px; }

.foot-btm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0 28px;
}

.foot-btm p { font-size: var(--fs-xs); color: var(--text-inv-m); }

.foot-legal { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.foot-legal a {
  font-size: var(--fs-xs);
  color: var(--text-inv-m);
  text-decoration: none;
  transition: color 0.2s;
}
.foot-legal a:hover { color: var(--accent); }

.pay-logos { display: flex; align-items: center; gap: 6px; }

.pay-lg {
  background: oklch(0.28 0.04 44);
  border-radius: 3px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.cl-visa {
  background: #1a1f71;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}

.cl-mc {
  background: #eb001b;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 3px;
}

/* ==========================================================================
   35. WOOCOMMERCE NOTICES
   ========================================================================== */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  margin-bottom: 24px;
  list-style: none;
}

.woocommerce-message { background: oklch(0.52 0.14 145 / 0.10); border-left: 4px solid var(--success); color: var(--text); }
.woocommerce-info    { background: oklch(0.66 0.14 305 / 0.10); border-left: 4px solid var(--accent); color: var(--text); }
.woocommerce-error   { background: oklch(0.50 0.18 25 / 0.10); border-left: 4px solid var(--error); color: var(--text); }

.woocommerce-error li { list-style: none; }

.woocommerce-form-login-toggle,
.woocommerce-form-coupon-toggle { margin-bottom: 16px; }

/* WooCommerce form fields override */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 14px;
  font-size: var(--fs-base);
  font-family: var(--ff-body);
  color: var(--text);
  background: #fff;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px oklch(0.38 0.16 0 / 0.12);
}

.woocommerce form .form-row label { font-size: var(--fs-sm); font-weight: 600; color: var(--text); }
.woocommerce form .form-row abbr.required { color: var(--primary); text-decoration: none; }

/* WC star rating */
.woocommerce .star-rating { color: var(--accent); }
.woocommerce .star-rating span::before { color: var(--accent); }

/* ==========================================================================
   36. BLOG ARCHIVE LAYOUT
   ========================================================================== */

.blog-lay {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 44px;
  padding: 36px 0 var(--sec-py);
}

.blog-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.blog-main .blog-featured {
  grid-column: 1 / -1;
}

.blog-main .blog-card:not(.blog-featured) {
  grid-template-columns: 1fr;
  align-content: start;
}

.blog-main .blog-card:not(.blog-featured) .blog-card-img {
  height: 180px;
}

.blog-main .pagi {
  grid-column: 1 / -1;
}

.blog-sidebar {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 108px);
  overflow-y: auto;
}

/* ==========================================================================
   37. SINGLE POST
   ========================================================================== */

.post-lay {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 44px;
  padding: var(--sec-py) 0;
}

.post-featured-img {
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 36px;
  aspect-ratio: 16 / 7;
}
.post-featured-img img { width: 100%; height: 100%; object-fit: cover; }

.author-bio {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-alt);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-top: 48px;
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-lt);
  overflow: hidden;
  flex-shrink: 0;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }

.author-bio h3 { font-size: var(--fs-base); margin-bottom: 4px; }
.author-bio p  { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }

.related-posts { margin-top: 52px; }
.related-posts h2 { font-family: var(--ff-head); font-size: var(--fs-xl); margin-bottom: 28px; }

/* ==========================================================================
   37.1 TESTIMONIAL SECTION
   ========================================================================== */

.testi-sec {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  padding: 56px 0;
}

.testi-sec::before {
  content: '';
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, oklch(1 0 0 / 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.testi-sec::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, oklch(1 0 0 / 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.testi-wrap {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.testi-sec .eyebrow { color: oklch(1 0 0 / 0.7); }
.testi-sec .eyebrow::before { background: oklch(1 0 0 / 0.5); }

.testi-icon {
  color: oklch(1 0 0 / 0.25);
  margin-bottom: 20px;
  line-height: 1;
}

.testi-icon svg {
  width: 52px;
  height: 38px;
}

.testi-text {
  font-family: var(--ff-head);
  font-size: var(--fs-xl);
  line-height: 1.68;
  color: #fff;
  font-style: italic;
  margin: 20px 0 0;
  quotes: none;
}

.testi-text::after {
  content: '';
  display: block;
  width: 52px;
  height: 3px;
  background: oklch(1 0 0 / 0.35);
  border-radius: 2px;
  margin: 36px auto 0;
}

/* ==========================================================================
   38. RESPONSIVE — TABLET (max-width: 1024px)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero h1 { font-size: var(--fs-3xl); }
  .hero-in { gap: 44px; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }

  .about-grid { grid-template-columns: 1fr; }
  .about-ph   { aspect-ratio: 16 / 7; }

  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }

  .shop-lay { grid-template-columns: 220px 1fr; gap: 28px; }
  .shop-products-grid { grid-template-columns: repeat(2, 1fr); }

  .prod-lay { gap: 36px; }

  .co-lay   { grid-template-columns: 1fr 340px; gap: 28px; }
  .cart-lay { grid-template-columns: 1fr 300px; gap: 28px; }

  .don-in   { gap: 28px; }
  .don-card { padding: 22px 28px; }
  .don-pct  { font-size: 44px; }

  .partners-row { grid-template-columns: repeat(3, 1fr); }

  .contact-lay { grid-template-columns: 1fr 320px; gap: 36px; }
  .contact-hero-ttl { font-size: var(--fs-xl); }

  .srch-lay { grid-template-columns: 1fr 240px; gap: 28px; }

  .blog-lay  { grid-template-columns: 1fr 260px; gap: 28px; }
  .post-lay  { grid-template-columns: 1fr 260px; gap: 28px; }

  .conf-lay  { grid-template-columns: 1fr 320px; gap: 32px; }
  .acc-lay   { grid-template-columns: 200px 1fr; gap: 28px; }
}

/* ==========================================================================
   39. RESPONSIVE — MOBILE (max-width: 768px)
   ========================================================================== */

@media (max-width: 768px) {
  :root {
    --pad-x:    var(--pad-x-mob);
    --sec-py:   var(--sec-py-mob);
    --fs-hero:  var(--fs-2xl);
    --fs-3xl:   var(--fs-2xl);
  }

  /* Header */
  .site-nav   { display: none; }
  .search-wrap { display: none; }
  .ham-btn    { display: flex; }
  .logo-text span { display: none; }
  .hdr-in     { padding: 0 16px; gap: 12px; }

  /* Hero */
  .hero { padding: 52px 0 44px; }
  .hero-in { grid-template-columns: 1fr; gap: 32px; }
  .hero-desc { font-size: var(--fs-base); max-width: 100%; }
  .hero-acts { flex-direction: column; }
  .hero-acts .btn { width: 100%; }
  .hero-img-wrap { display: none; }

  /* Stats */
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: none; }
  .stat { padding: 12px 8px; }
  .stat-n { font-size: 28px; }
  .stat-l { font-size: var(--fs-xs); }

  /* Cards & Grids */
  .grid-3         { grid-template-columns: 1fr !important; }
  .news-img       { height: 150px; }
  .blog-card      { grid-template-columns: 1fr; }
  .blog-card-img  { height: 160px; }

  /* Testimonial */
  .testi-text { font-size: var(--fs-md); }

  /* Donation */
  .don-in  { grid-template-columns: 1fr; }
  .don-card { flex-direction: row; align-items: center; padding: 20px; text-align: left; gap: 16px; }
  .don-pct { margin-bottom: 0; }

  /* Partners */
  .partners-row { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-btm  { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Shop */
  .shop-lay   { grid-template-columns: 1fr; }
  .shop-sidebar { display: none; }
  .mob-filter-btn { display: flex; }
  .shop-products-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Single product */
  .prod-lay { grid-template-columns: 1fr; gap: 28px; }
  .gal-main { aspect-ratio: 4 / 3; }
  .thumbs   { display: none; }

  /* Cart */
  .cart-lay { grid-template-columns: 1fr; }
  .cart-tbl { border-radius: var(--r-md); }
  .cart-tbl thead { display: none; }
  .cart-tbl tr { display: block; border: 1px solid var(--border-lt); border-radius: var(--r-md); margin-bottom: 12px; padding: 16px; position: relative; }
  .cart-tbl tr:last-child { border-bottom: 1px solid var(--border-lt); }
  .cart-tbl td { display: block; border: none; padding: 4px 0; text-align: left !important; }
  .cart-tbl td:nth-child(3),
  .cart-tbl td:nth-child(5) { text-align: left !important; }
  .totals-box { position: static; }
  .coupon-i   { width: 160px; }

  /* Checkout */
  .co-lay   { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .ord-sum  { position: static; }

  /* Search */
  .srch-lay { grid-template-columns: 1fr; }

  /* Blog */
  .blog-lay { grid-template-columns: 1fr; }
  .blog-sidebar { display: none; }

  /* Single post */
  .post-lay { grid-template-columns: 1fr; }
  .post-sidebar { display: none; }

  /* Contact */
  .contact-lay { grid-template-columns: 1fr; }
  .contact-sidebar { position: static; }
  .contact-hero { padding: 36px 0 32px; }
  .contact-hero-ttl { font-size: var(--fs-xl); }
  .contact-map { height: 260px; }

  /* Order confirm */
  .conf-lay { grid-template-columns: 1fr; }

  /* My Account */
  .acc-lay { grid-template-columns: 1fr; }
  .acc-nav { position: static; flex-direction: row; flex-wrap: wrap; margin-bottom: 24px; }
  .acc-nav-btn { flex: 1; min-width: 120px; text-align: center; justify-content: center; }

  /* Steps bar */
  .steps { font-size: 12px; gap: 4px; }
  .step-label { display: none; }
  .step-item.active .step-label { display: inline; }
}

/* ==========================================================================
    40. CONTACT FORM 7 — Theme Styling
    ========================================================================== */

.wpcf7 {
  margin-top: 24px;
}

.wpcf7 label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
}

.wpcf7 label br {
  display: none;
}

.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  margin-top: 6px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 .wpcf7-select,
.wpcf7 textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 14px;
  font-size: var(--fs-base);
  font-family: var(--ff-body);
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.wpcf7 textarea {
  resize: vertical;
  min-height: 120px;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 .wpcf7-select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px oklch(0.38 0.16 0 / 0.12);
}

.wpcf7 input[type="text"]::placeholder,
.wpcf7 input[type="email"]::placeholder,
.wpcf7 input[type="tel"]::placeholder,
.wpcf7 textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.wpcf7 .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 32px;
  border-radius: var(--r-pill);
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: all 0.22s ease;
  background: var(--primary);
  color: #fff;
}

.wpcf7 .wpcf7-submit:hover {
  background: var(--primary-dk);
  border-color: var(--primary-dk);
  color: #fff;
}

.wpcf7 .wpcf7-submit:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.wpcf7 .wpcf7-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Response messages */
.wpcf7 .wpcf7-response-output {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  margin: 24px 0 0;
  border: none;
  border-left: 4px solid;
}

.wpcf7 form.sent .wpcf7-response-output {
  background: oklch(0.52 0.14 145 / 0.10);
  border-left-color: var(--success);
  color: var(--text);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  background: oklch(0.50 0.18 25 / 0.10);
  border-left-color: var(--error);
  color: var(--text);
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  background: oklch(0.50 0.18 25 / 0.10);
  border-left-color: var(--error);
  color: var(--text);
}

.wpcf7 form.spam .wpcf7-response-output {
  background: oklch(0.68 0.14 72 / 0.12);
  border-left-color: oklch(0.68 0.14 72);
  color: var(--text);
}

/* Validation errors */
.wpcf7 .wpcf7-not-valid-tip {
  color: var(--error);
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-top: 4px;
  display: block;
}

.wpcf7 .wpcf7-not-valid {
  border-color: var(--error) !important;
  box-shadow: 0 0 0 3px oklch(0.50 0.18 25 / 0.10) !important;
}

/* Spinner */
.wpcf7 .wpcf7-spinner {
  background-color: var(--primary);
  opacity: 0.6;
}

/* CF7 inside contact template */
.template-contact-php .wpcf7 {
  margin-top: 0;
}

.template-contact-php .wpcf7 p {
  margin-bottom: 0;
}

.template-contact-php .wpcf7 label {
  margin-bottom: 16px;
}

.template-contact-php .wpcf7 input[type="submit"] {
  margin-top: 8px;
  padding: 14px 36px;
  font-size: var(--fs-md);
}

/* ==========================================================================
    41. PRINT STYLES
    ========================================================================== */
    
@media print {
  .a11y,
  .site-header,
  .hero-acts,
  .site-foot,
  .ham-btn,
  #mob-nav,
  .pagi,
  .cart-acts,
  .atc,
  .btn { display: none !important; }

  body { font-size: 12pt; color: #000; }
  a    { color: #000; text-decoration: underline; }
  h1, h2, h3 { page-break-after: avoid; }
  img  { max-width: 100% !important; }
}
