/*
Theme Name: Долина Невидаль
Theme URI: https://github.com/ilkatkov/katkov_rf
Author: КАТКОВЪ.РФ
Description: Магазин фигурок «Долина Невидаль». Полка, жители, FAQ, WooCommerce (каталог / товар / корзина / оформление).
Version: 1.0.1
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
Text Domain: nevidal
*/

/* =========================================================
   Долина Невидаль — лендинг магазина фигурок
   Палитра: трава, небо, мох, дерево, крем, клюв Уруру
   ========================================================= */

:root {
  --grass: #6bb84a;
  --grass-deep: #3d6b2e;
  --moss: #4a7c3f;
  --moss-light: #8bc34a;
  --sky: #7ec8e8;
  --sky-soft: #c9e8f6;
  --cream: #fbf6e8;
  --cream-dark: #f0e6cc;
  --sand: #e8d9b5;
  --wood: #8b5e3c;
  --wood-dark: #5c3a22;
  --wood-light: #c4a484;
  --bark: #6b4423;
  --orange: #e8873a;
  --orange-deep: #c66a22;
  --ink: #2a3224;
  --ink-soft: #4a5540;
  --mist: #f5faf2;
  --pink: #f8bbd0;
  --lavender: #d1c4e9;
  --card: #fffdf7;
  --shadow: 0 12px 32px rgba(60, 80, 40, 0.18);
  --radius: 22px;
  --radius-sm: 14px;
  --font-display: "Comfortaa", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(126, 200, 232, 0.35), transparent 50%),
    radial-gradient(ellipse at 90% 10%, rgba(107, 184, 74, 0.2), transparent 45%),
    linear-gradient(180deg, var(--sky-soft) 0%, var(--mist) 280px, var(--cream) 100%);
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--grass-deep); }
a:hover { color: var(--orange-deep); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moss);
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  margin: 0 0 0.75rem;
  color: var(--grass-deep);
  line-height: 1.25;
}
.section-lead {
  margin: 0;
  color: var(--ink-soft);
}

.placeholder-banner {
  display: inline-block;
  margin-top: 0.75rem !important;
  padding: 0.45rem 0.9rem;
  background: #fff3cd;
  border: 1px dashed #c9a227;
  border-radius: 999px;
  font-size: 0.92rem;
  color: #6b5300;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(251, 246, 232, 0.86);
  border-bottom: 1px solid rgba(139, 94, 60, 0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--grass-deep);
  font-family: var(--font-display);
  font-weight: 700;
}
.logo-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--moss-light), var(--grass-deep));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.15);
}
.logo-text { font-size: 1.05rem; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.35rem 0.2rem;
}
.site-nav a:hover,
.site-nav a:focus-visible { color: var(--grass-deep); }
.nav-cta {
  background: var(--orange);
  color: #fff !important;
  padding: 0.45rem 0.95rem !important;
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--orange-deep);
}
.nav-cta:hover { filter: brightness(1.05); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0.4rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 3px;
  margin: 5px 0;
  background: var(--grass-deep);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(2px); }
.btn-primary {
  background: linear-gradient(180deg, #f0a15a, var(--orange));
  color: #fff;
  box-shadow: 0 5px 0 var(--orange-deep), 0 10px 20px rgba(200, 100, 30, 0.25);
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost {
  background: rgba(255,255,255,0.75);
  color: var(--grass-deep);
  border: 2px solid rgba(61, 107, 46, 0.25);
}
.btn-ghost:hover { background: #fff; }
.btn-block { width: 100%; }
.btn-order {
  width: 100%;
  background: var(--grass);
  color: #fff;
  box-shadow: 0 4px 0 var(--grass-deep);
  padding: 0.7rem 1rem;
}
.btn-order:hover { filter: brightness(1.05); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 3.5rem 0 5.5rem;
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(1.05) brightness(0.92);
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(30, 55, 25, 0.78) 0%, rgba(30, 55, 25, 0.55) 45%, rgba(40, 80, 60, 0.25) 100%),
    linear-gradient(180deg, transparent 60%, rgba(61, 107, 46, 0.55) 100%);
}
.hero-content { max-width: 38rem; }
.hero .eyebrow { color: #d7f0b8; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  font-weight: 700;
  text-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.hero h1 em {
  font-style: normal;
  color: #ffe29a;
}
.hero-lead {
  margin: 0 0 1.5rem;
  font-size: 1.12rem;
  color: rgba(255,255,255,.92);
  max-width: 34rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.hero-note {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,.78);
  max-width: 32rem;
}
.hero-note a { color: #ffe29a; }
.hero-grass {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 56px;
  background:
    radial-gradient(ellipse 18px 28px at 8% 100%, var(--grass) 50%, transparent 52%),
    radial-gradient(ellipse 22px 34px at 18% 100%, var(--moss) 50%, transparent 52%),
    radial-gradient(ellipse 16px 26px at 28% 100%, var(--moss-light) 50%, transparent 52%),
    radial-gradient(ellipse 24px 36px at 40% 100%, var(--grass) 50%, transparent 52%),
    radial-gradient(ellipse 18px 30px at 52% 100%, var(--moss) 50%, transparent 52%),
    radial-gradient(ellipse 22px 34px at 64% 100%, var(--grass-deep) 50%, transparent 52%),
    radial-gradient(ellipse 16px 28px at 76% 100%, var(--moss-light) 50%, transparent 52%),
    radial-gradient(ellipse 24px 36px at 88% 100%, var(--grass) 50%, transparent 52%),
    radial-gradient(ellipse 20px 32px at 98% 100%, var(--moss) 50%, transparent 52%),
    linear-gradient(180deg, transparent 40%, var(--cream) 40%);
  z-index: 1;
}

/* ---------- Shelf ---------- */
.shelf-section {
  padding: 1rem 0 4.5rem;
  background:
    linear-gradient(180deg, var(--cream), #efe4c4 40%, #e5d4a8 100%);
  position: relative;
}
.shelf-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 80px;
  background: linear-gradient(180deg, rgba(251,246,232,0.9), transparent);
  pointer-events: none;
}

.shelf {
  position: relative;
  padding: 1.25rem 1rem 2.5rem;
  border-radius: 28px;
  background:
    repeating-linear-gradient(
      90deg,
      #a87448 0 14px,
      #9a683c 14px 18px,
      #b48352 18px 32px
    );
  box-shadow:
    inset 0 0 0 3px rgba(92, 58, 34, 0.35),
    inset 0 20px 40px rgba(255, 220, 160, 0.12),
    0 18px 40px rgba(70, 40, 15, 0.28);
  overflow: hidden;
}
.shelf-board {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.shelf-moss {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 42px;
  background:
    radial-gradient(ellipse 30px 22px at 5% 70%, #6bb84a 40%, transparent 42%),
    radial-gradient(ellipse 40px 26px at 15% 80%, #4a7c3f 42%, transparent 44%),
    radial-gradient(ellipse 28px 20px at 28% 65%, #8bc34a 40%, transparent 42%),
    radial-gradient(ellipse 36px 24px at 42% 85%, #558b2f 42%, transparent 44%),
    radial-gradient(ellipse 32px 22px at 58% 70%, #6bb84a 40%, transparent 42%),
    radial-gradient(ellipse 40px 26px at 72% 80%, #4a7c3f 42%, transparent 44%),
    radial-gradient(ellipse 28px 20px at 88% 65%, #8bc34a 40%, transparent 42%),
    linear-gradient(180deg, transparent, rgba(61, 107, 46, 0.55));
  opacity: 0.95;
}
.shelf-flowers {
  position: absolute;
  inset: auto 0 8px 0;
  height: 18px;
  background-image:
    radial-gradient(circle at 12% 50%, #f8bbd0 0 3px, transparent 4px),
    radial-gradient(circle at 22% 40%, #fff59d 0 2.5px, transparent 3.5px),
    radial-gradient(circle at 48% 60%, #e1bee7 0 3px, transparent 4px),
    radial-gradient(circle at 67% 45%, #b3e5fc 0 2.5px, transparent 3.5px),
    radial-gradient(circle at 81% 55%, #f8bbd0 0 3px, transparent 4px),
    radial-gradient(circle at 93% 40%, #fff59d 0 2.5px, transparent 3.5px);
}

.shelf-items {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem 1rem;
  padding-bottom: 1.5rem;
}
@media (min-width: 900px) {
  .shelf-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 980px;
    margin-inline: auto;
  }
  .shelf-items .product-card {
    flex: 1 1 280px;
    max-width: 300px;
  }
}

.shelf-edge {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 10px;
  height: 14px;
  border-radius: 8px;
  background: linear-gradient(180deg, #c99a68, #7a4e2c);
  box-shadow: 0 6px 0 #4a2e16, 0 10px 18px rgba(0,0,0,.25);
}

/* Product card */
.product-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 0.85rem 0.85rem 1rem;
  box-shadow: var(--shadow);
  border: 2px solid rgba(139, 94, 60, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
}
.product-card:hover,
.product-card:focus-within {
  transform: translateY(-8px) rotate(-0.4deg);
  box-shadow: 0 18px 36px rgba(60, 80, 40, 0.22);
}
.product-card.is-clicker:hover .product-media::after {
  animation: clickPop .55s ease;
}
@keyframes clickPop {
  0% { opacity: 0; transform: translate(-50%, -40%) scale(.6); }
  30% { opacity: 1; transform: translate(-50%, -70%) scale(1.1); }
  100% { opacity: 0; transform: translate(-50%, -110%) scale(.9); }
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 80%, rgba(107,184,74,.25), transparent 55%),
    linear-gradient(180deg, #eef6e8, #f7f1df);
  display: grid;
  place-items: center;
}
.product-media img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  transition: transform .25s ease;
}
.product-card:hover .product-media img { transform: scale(1.04); }
.product-media::after {
  content: "клик!";
  position: absolute;
  left: 50%;
  top: 28%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--orange-deep);
  background: #fff8e7;
  border: 2px solid var(--orange);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 4px 10px rgba(0,0,0,.12);
}
.product-media.is-placeholder {
  border: 2px dashed #c9a227;
}
.placeholder-tag {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: #fff3cd;
  color: #6b5300;
  border: 1px dashed #c9a227;
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
}

.product-type {
  align-self: start;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--moss);
  background: rgba(107, 184, 74, 0.15);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.product-card h3 {
  font-family: var(--font-display);
  margin: 0;
  font-size: 1.15rem;
  color: var(--ink);
}
.product-desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  flex: 1;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.product-size { color: var(--ink-soft); }
.product-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--orange-deep);
}

/* ---------- Characters ---------- */
.characters {
  padding: 4.5rem 0;
  background:
    linear-gradient(180deg, #e8f5e0, var(--mist) 30%, #e3f2fd 100%);
}
.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.char-card {
  background: rgba(255,255,255,0.78);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(61, 107, 46, 0.12);
  box-shadow: 0 8px 24px rgba(60, 90, 50, 0.1);
  display: flex;
  flex-direction: column;
}
.char-card picture,
.char-card img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  width: 100%;
  background:
    radial-gradient(circle at 50% 80%, rgba(107,184,74,.22), transparent 55%),
    linear-gradient(180deg, #eef6e8, #f7f1df);
}
.char-body { padding: 1rem 1.1rem 1.25rem; }
.char-body h3 {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
  color: var(--grass-deep);
}
.char-body p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ---------- Craft ---------- */
.craft {
  padding: 4.5rem 0;
  background: var(--cream);
}
.craft-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: start;
}
.craft h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--grass-deep);
  margin: 0 0 1.25rem;
  line-height: 1.25;
}
.craft-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.craft-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.85rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border-radius: var(--radius-sm);
  border-left: 5px solid var(--moss-light);
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
}
.craft-steps strong {
  grid-column: 1 / -1;
  font-family: var(--font-display);
  color: var(--grass-deep);
}
.craft-steps span { color: var(--ink-soft); font-size: 0.95rem; }
.craft-card {
  background: linear-gradient(160deg, #fff, #f3f9ec);
  border-radius: var(--radius);
  padding: 1.4rem;
  border: 2px solid rgba(107, 184, 74, 0.25);
  box-shadow: var(--shadow);
}
.craft-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: var(--grass);
  color: #fff;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin: 0.5rem 0 0.35rem;
}
.craft-card p { margin: 0 0 0.75rem; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Steps ---------- */
.steps {
  padding: 4rem 0;
  background: linear-gradient(180deg, #e3f2fd, var(--sky-soft));
}
.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.steps-list li {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(50, 90, 120, 0.1);
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--sky);
  
  color: #0d47a1;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.steps-list strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
  color: var(--grass-deep);
}
.steps-list p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Reviews ---------- */
.reviews {
  padding: 4.5rem 0;
  background: var(--cream);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid rgba(61, 107, 46, 0.12);
  position: relative;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}
.review-card p {
  margin: 0 0 0.85rem;
  font-style: italic;
  color: var(--ink-soft);
}
.review-card cite {
  font-style: normal;
  font-weight: 700;
  color: var(--grass-deep);
  font-family: var(--font-display);
  font-size: 0.95rem;
}

/* ---------- FAQ ---------- */
.faq {
  padding: 4rem 0;
  background: linear-gradient(180deg, #eef7e6, #f7fbf3);
}
.faq-list { max-width: 720px; margin: 0 auto; display: grid; gap: 0.65rem; }
.faq-item {
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(61,107,46,.15);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.15rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--grass-deep);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--orange);
  line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  color: var(--ink-soft);
}

/* ---------- Order form ---------- */
.order {
  padding: 4.5rem 0 5rem;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(232, 135, 58, 0.15), transparent 50%),
    linear-gradient(180deg, #fff8e7, var(--cream));
}
.order-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
}
.order h2 {
  font-family: var(--font-display);
  color: var(--grass-deep);
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}
.order-intro p { color: var(--ink-soft); }
.order-bullets {
  margin: 1rem 0 0;
  padding: 0 0 0 1.1rem;
  color: var(--ink-soft);
}
.order-bullets li { margin-bottom: 0.35rem; }

.order-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 2px solid rgba(232, 135, 58, 0.2);
  display: grid;
  gap: 0.9rem;
}
.field { display: grid; gap: 0.35rem; }
.field label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 2px solid rgba(61, 107, 46, 0.2);
  background: var(--mist);
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--grass);
  box-shadow: 0 0 0 3px rgba(107, 184, 74, 0.25);
  background: #fff;
}
.form-hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.form-status {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: #e8f5e9;
  color: var(--grass-deep);
  font-weight: 700;
}
.form-status.is-error {
  background: #fce4ec;
  color: #880e4f;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--grass-deep);
  color: #e8f5e0;
  padding: 2.5rem 0 2rem;
}
.footer-inner {
  display: grid;
  gap: 1.25rem;
}
.site-footer .logo-text { color: #fff; font-family: var(--font-display); }
.site-footer p { margin: 0.35rem 0 0; color: rgba(232, 245, 224, 0.8); font-size: 0.92rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.footer-links a {
  color: #ffe29a;
  font-weight: 700;
  text-decoration: none;
}
.footer-links a:hover { text-decoration: underline; }
.footer-copy { font-size: 0.85rem !important; opacity: 0.75; }

/* Click toast */
.click-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(20px);
  background: #fff8e7;
  color: var(--orange-deep);
  border: 2px solid var(--orange);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  z-index: 80;
  transition: opacity .2s ease, transform .2s ease;
}
.click-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .craft-grid,
  .order-grid { grid-template-columns: 1fr; }
  .steps-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(251, 246, 232, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(139, 94, 60, 0.12);
    gap: 0.25rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.7rem 0.4rem; }
  .nav-cta { text-align: center; }
  .hero { padding-top: 2.5rem; }
  .steps-list { grid-template-columns: 1fr; }
  .shelf { padding-inline: 0.65rem; }
  .shelf-items { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product-card,
  .btn,
  .product-media img { transition: none; }
  .product-card.is-clicker:hover .product-media::after { animation: none; }
}

/* ---------- Theme extras (WordPress / Woo) ---------- */
.nav-cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.25rem;
  height: 1.25rem;
  margin-left: 0.3rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}
.product-card h3 a,
.nv-article a {
  color: inherit;
  text-decoration: none;
}
.product-card h3 a:hover { color: var(--orange-deep); }
.cod-note {
  margin: 0 0 1rem;
  padding: 0.55rem 0.85rem;
  background: rgba(107, 184, 74, 0.12);
  border: 1px dashed var(--moss);
  border-radius: 12px;
  color: var(--grass-deep);
  font-weight: 700;
  font-size: 0.95rem;
}
.order-cta-card .btn-ghost { margin-top: 0.35rem; }
.nv-page,
.nv-store.wrap {
  padding: 2rem 0 4rem;
}
.nv-article h1,
.nv-page h1 {
  font-family: var(--font-display);
  color: var(--grass-deep);
}
.nv-empty {
  text-align: center;
  color: var(--ink-soft);
}

/* /shop/: те же маленькие карточки, что на главной, не дефолтные блоки Woo */
body.nv-theme .shelf-items.products,
body.nv-theme ul.products,
body.nv-theme .wc-block-grid__products,
body.nv-theme .wc-block-product-template,
body.nv-theme .wp-block-woocommerce-product-template {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 1rem;
  max-width: 980px;
  margin-inline: auto;
  padding: 0 0 1.5rem;
  list-style: none;
  float: none;
}

body.nv-theme .shelf-items .product-card,
body.nv-theme .shelf-items .nv-shelf-card,
body.nv-theme ul.products li.product,
body.nv-theme ul.products .product-card,
body.nv-theme .wc-block-grid__product,
body.nv-theme .wc-block-product,
body.nv-theme .wp-block-woocommerce-product {
  flex: 1 1 260px !important;
  max-width: 300px !important;
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}

body.nv-theme .shelf-items .product-media img,
body.nv-theme ul.products li.product img,
body.nv-theme .wc-block-grid__product img,
body.nv-theme .wc-block-product img {
  width: 92% !important;
  max-height: 220px;
  height: auto !important;
  object-fit: contain;
  margin: 0 auto;
}
