/*
Theme Name: LapaHub
Theme URI: https://lapahub.com
Author: LapaHub
Description: Bulgarian-language WooCommerce theme for dog & cat training books. Soft, warm visual language — muted rotating accents, blurred low-contrast shadows, hairline borders. Econt cash-on-delivery checkout only.
Version: 1.4.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: lapahub
*/

@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/Unbounded-700-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/Unbounded-700-normal-cyrillic.woff2') format('woff2');
  unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F, U+1C80-1C88;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('assets/fonts/Unbounded-900-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('assets/fonts/Unbounded-900-normal-cyrillic.woff2') format('woff2');
  unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F, U+1C80-1C88;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/GolosText-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/GolosText-400-normal-cyrillic.woff2') format('woff2');
  unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F, U+1C80-1C88;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/GolosText-600-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/GolosText-600-normal-cyrillic.woff2') format('woff2');
  unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F, U+1C80-1C88;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/GolosText-700-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/GolosText-700-normal-cyrillic.woff2') format('woff2');
  unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F, U+1C80-1C88;
}

:root {
  --color-bg: #FBF7F0;
  --color-surface: #FFFFFF;
  --color-surface-sunken: #F2ECE0;
  --color-ink: #2C2620;
  --color-muted: #85796A;
  --color-border: #E6DDCC;
  --color-primary: #C97A5A;
  --color-primary-dark: #B56646;
  --color-on-primary: #2C2620;
  --color-amber: #D9A94E;
  --color-green: #7C9E82;
  --color-blue: #8598B8;
  --color-violet: #A88FC7;
  --color-on-block: #2C2620;
  --color-footer-bg: #2C2620;
  --color-footer-fg: #F8F3E9;
  --shadow-hard: 0 18px 30px -14px rgba(44, 38, 32, 0.22);
  --shadow-hard-sm: 0 10px 18px -10px rgba(44, 38, 32, 0.18);
  --shadow-hard-lg: 0 26px 48px -18px rgba(44, 38, 32, 0.26);
  --radius-card: 20px;
  --radius-pill: 999px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.25rem;
  --space-5: 3.5rem;
  --space-6: 5.5rem;
  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Golos Text', 'Segoe UI', sans-serif;
}

/* Dark mode intentionally disabled — the site always uses the warm light
   palette above regardless of the visitor's OS/browser theme preference. */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

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

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

.wrap {
  max-width: 78rem;
  margin: 0 auto;
  padding-inline: var(--space-3);
}

/* ---------- top bar ---------- */
.topbar {
  background: var(--color-ink);
  color: var(--color-footer-fg);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding-block: 0.6rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
}
.topbar strong { color: var(--color-amber); font-weight: 800; }

/* ---------- header ---------- */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: 1.1rem;
}
.logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.55rem;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 0.1rem;
  text-decoration: none;
  color: var(--color-ink);
}
.logo .mark { color: var(--color-primary); }
nav.primary-nav ul {
  display: flex;
  gap: var(--space-3);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
nav.primary-nav a {
  text-decoration: none;
  padding-block: 0.25rem;
  border-bottom: 2.5px solid transparent;
  transition: border-color 150ms ease;
}
nav.primary-nav a:hover { border-color: var(--color-primary); }
nav.primary-nav a.is-current { border-color: var(--color-primary); color: var(--color-primary); }
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.icon-btn {
  background: transparent;
  border: 2px solid transparent;
  color: var(--color-ink);
  padding: 0.4rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  text-decoration: none;
}
.icon-btn:hover { border-color: var(--color-border); }
.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-primary);
  color: var(--color-on-primary);
  border: 1px solid var(--color-border);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.8125rem;
  box-shadow: var(--shadow-hard-sm);
  transition: transform 150ms ease, box-shadow 150ms ease;
  text-decoration: none;
}
.cart-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 26px -14px rgba(44, 38, 32, 0.32); }
.call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-surface);
  color: var(--color-ink);
  border: 1px solid var(--color-border);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.8125rem;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, color 150ms ease;
}
.call-btn:hover { background: var(--color-primary); color: var(--color-on-primary); border-color: var(--color-primary); transform: translateY(-2px); }
@media (max-width: 860px) {
  .call-btn-text { display: none; }
  .call-btn { padding: 0.55rem; }
}
.cart-btn:active { transform: translateY(0); box-shadow: 0 4px 8px -6px rgba(44, 38, 32, 0.25); }

.menu-toggle { display: none; background: none; border: 1px solid var(--color-border); border-radius: var(--radius-pill); padding: 0.5rem 0.6rem; }

@media (max-width: 860px) {
  nav.primary-nav { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ---------- buttons (shared) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-hard);
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
  background: none;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -14px rgba(44, 38, 32, 0.3); }
.btn:active { transform: translateY(0); box-shadow: 0 4px 10px -6px rgba(44, 38, 32, 0.22); }
.btn-primary { background: var(--color-primary); color: var(--color-on-primary); }
.btn-ghost { background: var(--color-surface); color: var(--color-ink); }
.btn-block { width: 100%; }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.8125rem; box-shadow: var(--shadow-hard-sm); }
.btn-sm:hover { box-shadow: 0 12px 20px -10px rgba(44, 38, 32, 0.28); }

/* ---------- hero ---------- */
.hero { padding-block: var(--space-5) var(--space-5); overflow: hidden; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: var(--space-5);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--color-amber);
  color: var(--color-on-block);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.3rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.1rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--color-ink);
}
.hero h1 em { font-style: normal; color: var(--color-primary); }
.hero p.lede {
  margin-top: 1.5rem;
  font-size: 1.1875rem;
  color: var(--color-muted);
  max-width: 32rem;
  font-weight: 500;
}
.hero .cta-row {
  display: flex;
  gap: 1rem;
  margin-top: var(--space-3);
  flex-wrap: wrap;
}
.hero .trust-row {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-ink);
  font-weight: 700;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.8rem 0.4rem 0.55rem;
}
.trust-item svg { color: var(--color-ink); flex-shrink: 0; }

.hero-art {
  position: relative;
  height: 23rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pet-photo-stack { position: relative; width: 100%; max-width: 20rem; height: 100%; }
.pet-photo {
  position: absolute;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-hard-lg);
  overflow: hidden;
  background: var(--color-surface);
}
.pet-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pet-photo-cat { width: 7.5rem; height: 9.5rem; left: 0; top: 8.7rem; --float-rot: -9deg; transform: rotate(var(--float-rot)); z-index: 1; }
.pet-photo-dog { width: 12.5rem; height: 17rem; left: 5.5rem; top: 0; --float-rot: 3deg; transform: rotate(var(--float-rot)); z-index: 2; }
.paw-sticker {
  position: absolute;
  top: -1.2rem;
  right: -0.6rem;
  width: 4.6rem;
  height: 4.6rem;
  background: var(--color-primary);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  transform: rotate(-10deg);
  box-shadow: var(--shadow-hard);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}
.paw-sticker svg { color: var(--color-on-block); }

/* ---------- section shell ---------- */
.section { padding-block: var(--space-5); }
.section-sunken { background: var(--color-surface-sunken); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 800; letter-spacing: -0.01em; }
.section-head .section-note { color: var(--color-muted); font-size: 0.9375rem; max-width: 28rem; font-weight: 500; }
.section-link {
  font-weight: 800;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--color-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  border-bottom: 2.5px solid var(--color-primary);
  padding-bottom: 0.1rem;
}

/* ---------- topic chip cloud ---------- */
.chip-cloud { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.chip {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  font-size: 0.9375rem;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  color: var(--color-on-block);
  box-shadow: var(--shadow-hard-sm);
  transition: transform 150ms ease;
  cursor: pointer;
  text-decoration: none;
}
.chip:hover { transform: translateY(-2px); }
.chip.c1 { background: var(--color-primary); }
.chip.c2 { background: var(--color-amber); }
.chip.c3 { background: var(--color-green); }
.chip.c4 { background: var(--color-blue); }
.chip.c5 { background: var(--color-violet); }
.chip.c6 { background: var(--color-surface); color: var(--color-ink); border-width: 1px; }
.chip.is-active { outline: 2.5px solid var(--color-ink); outline-offset: 2px; }

/* ---------- category tiles ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}
.category-tile {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-3);
  text-decoration: none;
  color: var(--color-on-block);
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  box-shadow: var(--shadow-hard);
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.category-tile:hover { transform: translateY(-4px); box-shadow: 0 22px 36px -16px rgba(44, 38, 32, 0.3); }
.category-tile.t1 { background: var(--color-amber); }
.category-tile.t2 { background: var(--color-blue); }
.category-tile.t3 { background: var(--color-green); }
.category-tile.t4 { background: var(--color-primary); }
.category-tile .icon-wrap { display: inline-flex; }
.category-tile h3 { font-size: 1.1rem; font-weight: 800; font-family: var(--font-display); }
.category-tile span.count { font-size: 0.8125rem; font-weight: 600; opacity: 0.85; }

/* ---------- book grid (WooCommerce product loop) ---------- */
.book-grid, ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin: 0 !important;
  padding: 0 !important;
}
.book-card, ul.products li.product {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: visible;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-hard);
  transition: box-shadow 180ms ease, transform 180ms ease;
  text-decoration: none;
  color: var(--color-ink);
  list-style: none;
  width: auto !important;
}
.book-card .add-btn {
  position: absolute;
  right: 1.1rem;
  bottom: 1.2rem;
  z-index: 2;
  border: none;
  appearance: none;
  padding: 0;
  font: inherit;
}
.book-card .add-btn.is-loading { opacity: 0.6; pointer-events: none; }
.book-card:hover, ul.products li.product:hover { transform: translateY(-4px); box-shadow: 0 22px 36px -16px rgba(44, 38, 32, 0.3); }
.book-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: flex-end;
  padding: 1.1rem;
  color: var(--color-on-block);
  border-radius: 11px 11px 0 0;
  border-bottom: 1px solid var(--color-border);
  overflow: visible;
}
.book-cover .sticker {
  position: absolute;
  top: -0.85rem;
  right: 0.7rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-8deg);
  box-shadow: var(--shadow-hard-sm);
}
.book-cover .sticker svg { color: var(--color-ink); }
.book-cover .cover-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 11px 11px 0 0;
  z-index: 0;
}
.book-cover .tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--color-surface);
  color: var(--color-ink);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.6rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
}
.book-cover h3 { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.1; font-weight: 800; }
.book-body { padding: 1.1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.book-body .author { color: var(--color-muted); font-size: 0.8125rem; font-weight: 700; }
.book-body .desc { font-size: 0.875rem; color: var(--color-muted); flex: 1; font-weight: 500; }
.book-body .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}
.price, .book-body .price, .price ins, ul.products li.product .price {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 1.1rem;
  font-family: var(--font-display);
  color: var(--color-ink);
  text-decoration: none;
}
.price del { color: var(--color-muted); font-size: 0.8em; font-weight: 600; opacity: 0.8; margin-right: 0.4em; }
.price ins { text-decoration: none; }
.add-btn, a.add_to_cart_button, a.ajax_add_to_cart {
  background: var(--color-ink);
  color: var(--color-bg);
  border: 1px solid var(--color-border);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease, transform 150ms ease;
  flex-shrink: 0;
  text-decoration: none;
  font-size: 0;
  position: relative;
}
.add-btn::after, a.add_to_cart_button::after, a.ajax_add_to_cart::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}
.add-btn:hover, a.add_to_cart_button:hover, a.ajax_add_to_cart:hover { background: var(--color-primary); color: var(--color-on-primary); transform: scale(1.08); }

.catalog-note {
  margin-top: var(--space-2);
  font-size: 0.8125rem;
  color: var(--color-muted);
  font-weight: 600;
}

/* ---------- delivery steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.step {
  position: relative;
  padding: var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-hard);
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.0625rem; font-weight: 800; font-family: var(--font-display); margin-bottom: 0.5rem; }
.step p { font-size: 0.875rem; color: var(--color-muted); font-weight: 500; }

/* ---------- blog teaser / grid ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.blog-card {
  text-decoration: none;
  color: var(--color-ink);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.blog-thumb {
  aspect-ratio: 16/10;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-hard);
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.blog-card:hover .blog-thumb { transform: translateY(-4px); box-shadow: 0 22px 36px -16px rgba(44, 38, 32, 0.3); }
.blog-thumb svg, .blog-thumb img { position: absolute; inset: 0; margin: auto; color: var(--color-on-block); opacity: 0.9; width: 100%; height: 100%; object-fit: cover; }
.blog-cat {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
}
.blog-card h3 { font-size: 1.1rem; font-weight: 800; font-family: var(--font-display); line-height: 1.25; letter-spacing: -0.005em; }

/* ---------- reviews ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.review-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-hard);
}
.review-card:nth-child(3n+1) { background: var(--color-amber); }
.review-card:nth-child(3n+2) { background: var(--color-blue); }
.review-card:nth-child(3n+3) { background: var(--color-green); }
.stars { display: flex; gap: 0.15rem; color: var(--color-ink); font-weight: 800; }
/* All three rotating accents are light/mid-tone in both themes, so a single
   dark ink text color reads on every one — no per-color text override
   needed (that per-color exception was the earlier source of the invisible
   blue-card text bug; the softer, lighter accent family removes it by
   construction instead of patching around it). */
.review-card p.quote { font-size: 0.9375rem; line-height: 1.55; font-weight: 600; color: var(--color-on-block); }
.review-card .who { font-size: 0.8125rem; color: var(--color-on-block); font-weight: 800; opacity: 0.75; }

/* ---------- page hero ---------- */
.page-hero {
  padding-block: var(--space-4) var(--space-4);
  border-bottom: 1px solid var(--color-border);
}
.page-hero h1 {
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.page-hero p { margin-top: 0.9rem; color: var(--color-muted); font-weight: 500; font-size: 1.0625rem; max-width: 36rem; }

/* ---------- breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-muted);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.breadcrumb a { text-decoration: none; color: var(--color-muted); }
.breadcrumb a:hover { color: var(--color-ink); }
.breadcrumb .current { color: var(--color-ink); }

/* ---------- filter bar (shop) ---------- */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.filter-chip {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.8125rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  color: var(--color-ink);
}
.filter-chip.is-active { background: var(--color-ink); color: var(--color-bg); }

/* ---------- product page ---------- */
.product-layout, div.product {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-5);
  align-items: start;
}
.product-cover-big {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-hard-lg);
  display: flex;
  align-items: flex-end;
  padding: var(--space-3);
  color: var(--color-on-block);
}
.product-cover-big h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 800; line-height: 1.05; }
.product-cover-big .tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: var(--color-surface);
  color: var(--color-ink);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
}
.product-cover-big .sticker {
  position: absolute;
  top: -1rem;
  right: 1.4rem;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-8deg);
  box-shadow: var(--shadow-hard);
}
.product-cover-big .cover-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-card);
  z-index: 0;
}

/* ---------- cover carousel (auto-advancing hero photo strip) ---------- */
.cover-carousel { overflow: hidden; }
.cover-carousel-track { position: absolute; inset: 0; }
.cover-carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: inherit;
  opacity: 0;
  cursor: zoom-in;
  transition: opacity 500ms ease;
}
.cover-carousel-slide.is-active { opacity: 1; }
.cover-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-ink);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-hard-sm);
  transition: transform 150ms ease, background 150ms ease, color 150ms ease;
}
.cover-carousel-arrow:hover {
  transform: translateY(-50%) scale(1.08);
  background: var(--color-primary);
  color: #fff;
}
.cover-carousel-arrow.prev { left: 0.75rem; }
.cover-carousel-arrow.next { right: 0.75rem; }
.cover-carousel-dots {
  position: absolute;
  bottom: 0.9rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.4rem;
}
.cover-carousel-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.15);
  transition: background 150ms ease, transform 150ms ease;
}
.cover-carousel-dot.is-active { background: #fff; transform: scale(1.3); }
@media (prefers-reduced-motion: reduce) {
  .cover-carousel-slide { transition: none; }
}

/* ---------- book preview gallery (look inside + lightbox) ---------- */
.book-preview-gallery { margin-top: var(--space-3); }
.book-preview-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
}
.book-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.book-preview-item {
  width: 100%;
  display: block;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-hard-sm);
  cursor: zoom-in;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.book-preview-item:hover, .book-preview-item:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px -14px rgba(44, 38, 32, 0.3);
  outline: none;
}
@media (max-width: 560px) {
  .book-preview-grid { grid-template-columns: repeat(2, 1fr); }
}

.lapahub-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  background: rgba(23, 20, 15, 0.85);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease;
}
.lapahub-lightbox.is-open { opacity: 1; visibility: visible; }
.lapahub-lightbox-stage {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lapahub-lightbox-stage img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  cursor: zoom-in;
  transition: transform 220ms ease;
  transform-origin: center;
}
.lapahub-lightbox-stage img.is-zoomed {
  max-width: none;
  max-height: none;
  width: auto;
  cursor: zoom-out;
  transform: scale(1.9);
}
.lapahub-lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(247, 243, 232, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-footer-fg);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lapahub-lightbox-close:hover { background: rgba(255, 255, 255, 0.2); }
.lapahub-lightbox-hint {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(247, 243, 232, 0.7);
  font-size: 0.8125rem;
  font-weight: 600;
}
@media (prefers-reduced-motion: reduce) {
  .lapahub-lightbox, .lapahub-lightbox-stage img { transition: none; }
}

.single_add_to_cart_button.is-loading { opacity: 0.6; pointer-events: none; }

/* ---------- quick checkout (page-poruchka.php) ---------- */
.order-layout {
  display: grid;
  grid-template-columns: 1fr 22rem;
  gap: var(--space-5);
  align-items: start;
  margin-top: var(--space-4);
}
.order-section {
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}
.order-section h2 { font-size: 1.15rem; font-weight: 800; margin-bottom: 1rem; }
.order-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.order-field-row[hidden], .order-field[hidden] { display: none; }
.order-field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.order-field label { font-size: 0.8125rem; font-weight: 700; color: var(--color-muted); }
.order-field input, .order-field textarea {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  background: var(--color-surface);
  color: var(--color-ink);
}
.order-field input:focus, .order-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(201, 122, 90, 0.15);
}
#lapahub-office-field { position: relative; }
.office-tools { display: flex; gap: 1rem; margin-bottom: 0.5rem; }
.office-tool-link {
  border: none;
  background: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
}
.office-tool-link:hover { text-decoration: underline; }
.office-tool-link:disabled { opacity: 0.5; cursor: default; text-decoration: none; }
.office-map-modal[hidden] { display: none; }
.office-map-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(23, 20, 15, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.office-map-modal-inner {
  position: relative;
  width: min(48rem, 100%);
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 1rem;
  box-shadow: var(--shadow-hard-lg);
}
.office-map { height: 26rem; border-radius: 12px; overflow: hidden; }
.office-map-hint {
  position: absolute;
  top: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-muted);
  box-shadow: var(--shadow-hard-sm);
}
.office-map-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 6;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: 1.2rem;
  cursor: pointer;
}
@media (max-width: 560px) {
  .office-map { height: 20rem; }
}
.office-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  margin-top: 0.3rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  max-height: 14rem;
  overflow-y: auto;
}
.office-result {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.65rem 1rem;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-ink);
  cursor: pointer;
}
.office-result:hover, .office-result:focus { background: var(--color-surface-sunken); }
.office-result + .office-result { border-top: 1px solid var(--color-border); }
.delivery-choice { display: flex; gap: 0.75rem; margin-bottom: 1.2rem; }
.delivery-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-card);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9375rem;
  transition: border-color 150ms ease, background 150ms ease;
}
.delivery-option input { accent-color: var(--color-primary); }
.delivery-option.is-active { border-color: var(--color-primary); background: var(--color-surface-sunken); }
.order-error {
  background: #FBEAEA;
  border: 1px solid #E8B4B4;
  color: #8B3A3A;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.order-submit-btn { margin-top: 0.5rem; }
.order-submit-btn.is-loading { opacity: 0.7; pointer-events: none; }
.order-cod-note { margin-top: 0.75rem; text-align: center; font-size: 0.8125rem; color: var(--color-muted); font-weight: 600; }
.order-summary-col { position: sticky; top: 6rem; }
.order-summary-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-3);
  background: var(--color-surface);
  box-shadow: var(--shadow-hard);
}
.order-summary-card h2 { font-size: 1.05rem; font-weight: 800; margin-bottom: 1rem; }
.order-summary-items { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.2rem; }
.order-summary-item { display: flex; gap: 0.6rem; align-items: center; }
.order-summary-thumb {
  width: 3.2rem;
  height: 4rem;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface-sunken);
}
.order-summary-thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-summary-info { flex: 1; min-width: 0; }
.order-summary-name { font-weight: 800; font-size: 0.875rem; margin-bottom: 0.4rem; }
.order-summary-price { font-weight: 800; font-family: var(--font-display); font-size: 0.9375rem; white-space: nowrap; }
.order-summary-remove {
  border: none;
  background: none;
  padding: 0.3rem;
  color: var(--color-muted);
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 6px;
  transition: color 150ms ease, background 150ms ease;
}
.order-summary-remove:hover { color: #B54A3A; background: var(--color-surface-sunken); }
.order-summary-remove:disabled { opacity: 0.4; cursor: default; }
.order-summary-totals { border-top: 1px solid var(--color-border); padding-top: 1rem; display: flex; flex-direction: column; gap: 0.6rem; }
.order-summary-row { display: flex; justify-content: space-between; font-size: 0.875rem; font-weight: 600; color: var(--color-muted); }
.order-summary-total {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-ink);
  font-family: var(--font-display);
  padding-top: 0.4rem;
  border-top: 1px dashed var(--color-border);
}
@media (max-width: 980px) {
  .order-layout { grid-template-columns: 1fr; }
  .order-summary-col { position: static; }
}
@media (max-width: 560px) {
  .order-field-row { grid-template-columns: 1fr; }
  .delivery-choice { flex-direction: column; }
}

.product-info .author { color: var(--color-muted); font-weight: 700; font-size: 0.9375rem; }
.product-info h1, .product_title { margin-top: 0.4rem; font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -0.01em; }
.product-info .price-row { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-3); }
.product-info .price-big, div.product p.price { font-family: var(--font-display); font-size: 2rem; font-weight: 800; }
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
/* The store adds one copy per click and goes straight to checkout — letting
   shoppers pick a quantity up front on the product page just invites
   accidental multi-buys, so the native WooCommerce stepper is hidden here.
   The input still submits its default value of 1. */
.product-info form.cart .quantity, div.product form.cart .quantity { display: none; }
.product-info .desc, div.product .woocommerce-product-details__short-description { margin-top: var(--space-3); color: var(--color-muted); font-size: 1rem; font-weight: 500; max-width: 34rem; line-height: 1.65; }
.product-info .actions, div.product form.cart { display: flex; gap: 1rem; margin-top: var(--space-3); flex-wrap: wrap; align-items: center; }
div.product button.single_add_to_cart_button {
  background: var(--color-primary);
  color: var(--color-on-primary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-weight: 800;
  padding: 0.9rem 1.7rem;
  box-shadow: var(--shadow-hard);
  transition: transform 150ms ease, box-shadow 150ms ease;
}
div.product button.single_add_to_cart_button:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -14px rgba(44, 38, 32, 0.3); }
.product-details {
  margin-top: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-3);
  background: var(--color-surface);
}
.product-details dl { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem 1.5rem; font-size: 0.9375rem; }
.product-details dt { color: var(--color-muted); font-weight: 700; }
.product-details dd { margin: 0; font-weight: 600; }

/* ---------- cart / checkout (WooCommerce) ---------- */
.woocommerce-cart table.cart, .woocommerce-checkout-review-order table {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  border-collapse: separate;
  overflow: hidden;
  background: var(--color-surface);
}
.woocommerce-cart table.cart th, .woocommerce-cart table.cart td { border-color: var(--color-border) !important; padding: 1rem !important; }
.cart-summary, .cart_totals, #order_review {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-3);
  background: var(--color-surface-sunken);
  box-shadow: var(--shadow-hard);
}
.cart_totals h2, #order_review_heading { font-size: 1.25rem; font-weight: 800; margin-bottom: var(--space-2); font-family: var(--font-display); }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, #place_order {
  background: var(--color-primary) !important;
  color: var(--color-on-primary) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 800 !important;
  padding: 0.9rem 1.7rem !important;
  box-shadow: var(--shadow-hard-sm);
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, #place_order:hover { transform: translateY(-3px); box-shadow: 0 16px 26px -14px rgba(44, 38, 32, 0.28); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce-checkout select {
  border: 1px solid var(--color-border) !important;
  border-radius: 10px !important;
  padding: 0.8rem 1rem !important;
  font-family: var(--font-body) !important;
  background: var(--color-surface) !important;
  color: var(--color-ink) !important;
}
.woocommerce-checkout #payment {
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-card) !important;
  background: var(--color-amber) !important;
  box-shadow: var(--shadow-hard-sm);
}
.woocommerce-checkout #payment div.payment_box { background: transparent !important; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom: none !important; padding: var(--space-2) !important; }

/* ---------- article page ---------- */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 42rem) 1fr;
  gap: var(--space-5);
  align-items: start;
}
.article-main { min-width: 0; }
.article-sidebar {
  position: sticky;
  top: 6rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-3);
  margin-top: var(--space-4);
  max-width: 20rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-hard);
}
.sidebar-heading { font-size: 1rem; font-weight: 800; font-family: var(--font-display); }
.sidebar-posts { display: flex; flex-direction: column; gap: 1rem; }
.sidebar-post-card { display: flex; gap: 0.75rem; align-items: center; text-decoration: none; color: var(--color-ink); }
.sidebar-post-thumb {
  width: 4.5rem;
  height: 4.5rem;
  flex: none;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  position: relative;
  background: var(--color-surface-sunken);
}
.sidebar-post-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sidebar-post-info { display: flex; flex-direction: column; gap: 0.2rem; }
.sidebar-post-info .blog-cat { font-size: 0.625rem; }
.sidebar-post-info .blog-cat.cat-cats { color: var(--color-green); }
.sidebar-post-info h4 { font-size: 0.875rem; font-weight: 800; font-family: var(--font-display); line-height: 1.3; }
.sidebar-post-card:hover .sidebar-post-info h4 { color: var(--color-primary); }
.article-header { max-width: 42rem; }
.article-category {
  display: inline-flex;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: #fff;
}
.article-category.cat-cats { background: var(--color-green); color: var(--color-on-block); }
.article-header h1 { margin-top: 0.75rem; font-size: clamp(2rem, 3.4vw, 2.8rem); }
.article-header .lede { margin-top: 0.75rem; font-size: 1.0625rem; color: var(--color-muted); font-weight: 500; line-height: 1.6; }
.article-meta { display: flex; gap: 0.9rem; align-items: center; font-size: 0.8125rem; font-weight: 700; color: var(--color-muted); margin-top: 0.9rem; }
.article-hero {
  aspect-ratio: 16/9;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-hard-lg);
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
  overflow: hidden;
  max-width: 52rem;
}
.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-body { max-width: 42rem; display: flex; flex-direction: column; gap: 1.2rem; font-size: 1.0625rem; line-height: 1.75; color: var(--color-ink); }
.article-body h2 { font-size: 1.4rem; margin-top: 0.5rem; }
.article-body ul { display: flex; flex-direction: column; gap: 0.6rem; padding-left: 1.3rem; list-style: disc; }
.pull-quote {
  border-left: 5px solid var(--color-primary);
  padding: 0.5rem 0 0.5rem 1.3rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.35;
}

/* ---------- about page ---------- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-2); }
.value-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-3);
  box-shadow: var(--shadow-hard);
}
.value-card:nth-child(4n+1) { background: var(--color-amber); }
.value-card:nth-child(4n+2) { background: var(--color-surface); }
.value-card:nth-child(4n+3) { background: var(--color-green); }
.value-card:nth-child(4n+4) { background: var(--color-blue); }
.value-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.875rem; font-weight: 600; }
.about-copy { max-width: 42rem; display: flex; flex-direction: column; gap: 1.1rem; font-size: 1.0625rem; line-height: 1.7; color: var(--color-muted); font-weight: 500; }

/* ---------- contact page ---------- */
.contact-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-4); align-items: start; }
.info-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-3);
  background: var(--color-surface-sunken);
  box-shadow: var(--shadow-hard);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.info-row { display: flex; gap: 0.8rem; align-items: flex-start; }
.info-row svg { color: var(--color-primary); flex-shrink: 0; margin-top: 0.15rem; }
.info-row strong { display: block; font-size: 0.9375rem; }
.info-row span { font-size: 0.875rem; color: var(--color-muted); font-weight: 500; }

/* ---------- FAQ page ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0.9rem; max-width: 46rem; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-hard-sm);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: var(--space-2) var(--space-3);
  font-weight: 800;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform 200ms ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 var(--space-3) var(--space-3); color: var(--color-muted); font-weight: 500; font-size: 0.9375rem; line-height: 1.6; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-fg);
  padding-block: var(--space-5) var(--space-3);
  border-top: 3px solid var(--color-amber);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(247,243,232,0.18);
}
.footer-grid .logo { color: var(--color-footer-fg); }
.footer-grid .logo .mark { color: var(--color-amber); }
.footer-grid p.blurb { color: rgba(247,243,232,0.65); font-size: 0.9375rem; margin-top: 0.9rem; max-width: 20rem; font-weight: 500; }
.footer-col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(247,243,232,0.5);
  margin-bottom: 1rem;
  font-weight: 800;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { text-decoration: none; color: rgba(247,243,232,0.85); font-size: 0.9375rem; font-weight: 600; }
.footer-col a:hover { color: var(--color-amber); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-2);
  font-size: 0.8125rem;
  color: rgba(247,243,232,0.5);
  flex-wrap: wrap;
  gap: 0.5rem;
  font-weight: 600;
}

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { height: 17rem; order: -1; }
  .pet-photo-cat { width: 5.8rem; height: 7.3rem; top: 7rem; }
  .pet-photo-dog { width: 9.5rem; height: 13rem; left: 4.2rem; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .book-grid, ul.products { grid-template-columns: repeat(2, 1fr) !important; }
  .steps { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-layout, div.product { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; max-width: none; margin-top: var(--space-4); }
}
@media (max-width: 560px) {
  .category-grid { grid-template-columns: 1fr; }
  .book-grid, ul.products { grid-template-columns: 1fr 1fr !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}
