:root {
  /* Soft light theme (inspired by reference, not copied) */
  --bg: #f6f7fb;
  --bg-alt: #ffffff;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --border: #e6e9f1;
  --text: #0f172a;
  --text-muted: #5b667b;

  /* Pen Peptide accents: calm green + warm amber */
  --accent: #2fbf71;
  --accent-hover: #27a862;
  --accent-soft: rgba(47, 191, 113, 0.14);
  --accent-warm: #f2a23a;
  --accent-warm-soft: rgba(242, 162, 58, 0.16);
  --accent-ink: #1f6f56;
  --accent-cool: #3b82f6;
  --accent-cool-hover: #2563eb;
  --accent-cool-soft: rgba(59, 130, 246, 0.14);

  --success: #2fbf71;
  --success-bg: rgba(47, 191, 113, 0.14);
  --error: #f87171;
  --error-bg: rgba(248, 113, 113, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  /* Узкая колонка — удобная длина строки для текста; не «сакрально», а типографика. */
  --max-w: 680px;
  /* Витрина и сетки: шире 1120, чтобы на десктопе не казалось тесно. */
  --max-w-wide: 1320px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.hidden { display: none !important; }
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Skip link (keyboard users): visible only on focus */
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 100;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  transform: translateY(-180%);
  transition: transform 0.18s ease;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid var(--accent-soft);
  outline-offset: 2px;
}

.top-bar {
  display: none;
}
.top-bar .wrap {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.top-bar a {
  color: var(--accent-cool);
  text-decoration: none;
  font-weight: 500;
}
.top-bar a:hover { color: var(--accent-cool-hover); }

.section {
  padding: 3.5rem 1.5rem;
}
.section--alt { background: var(--bg-alt); }

/* Отдельный фон от section--alt: иначе два подряд «белых» блока сливаются визуально */
.trust-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section .wrap {
  max-width: var(--max-w-wide);
  margin: 0 auto;
}
.section .wrap--narrow { max-width: var(--max-w); }
.section-title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 2.5rem;
  max-width: 48ch;
}

.hero {
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
  background:
    radial-gradient(900px 280px at 50% 0%, rgba(47, 191, 113, 0.10), transparent 60%),
    radial-gradient(700px 240px at 85% 10%, rgba(242, 162, 58, 0.10), transparent 55%);
}
.hero .wrap {
  max-width: var(--max-w-wide);
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}
.hero .tagline {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
}
/* hero stats removed */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.pill {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.75rem auto 0;
}
.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.1s, background 0.2s, border-color 0.2s, color 0.2s;
  will-change: transform;
  user-select: none;
}
.btn-link:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 3px;
}
.btn-link:active { transform: scale(0.99); }
.btn-link--primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid transparent;
}
.btn-link--primary:hover { background: var(--accent-hover); }
.btn-link--ghost {
  background: transparent;
  color: var(--accent-ink);
  border: 1px solid var(--border);
}
.btn-link--ghost:hover {
  border-color: var(--accent-cool);
  color: var(--accent-cool-hover);
  background: var(--accent-cool-soft);
}

.ticker {
  margin-top: 2.25rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, var(--accent-soft), rgba(255, 255, 255, 0.75), var(--accent-warm-soft));
  overflow: hidden;
}
.ticker-track {
  display: flex;
  gap: 1.75rem;
  padding: 0.75rem 0;
  white-space: nowrap;
  animation: ticker 18s linear infinite;
}
.ticker-item {
  color: var(--accent-ink);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.service-card .icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  color: var(--accent);
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding-left: 3rem;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--text);
}
.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.advantage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: border-color 0.2s;
}
.advantage-card:hover { border-color: var(--border); }
.advantage-card .icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--accent);
}
.advantage-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--text);
}
.advantage-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.review-card__link {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.review-card__link:hover h3 {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.review-card__cta {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-cool);
  letter-spacing: -0.01em;
}
.review-card__link:hover .review-card__cta {
  color: var(--accent-cool-hover);
}
.review-card__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.review-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.review-card:focus-within {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.review-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
  line-height: 1.25;
  min-height: calc(1.05rem * 1.25 * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 120% at 15% 15%, rgba(47, 191, 113, 0.16), rgba(255,255,255,0) 55%),
    radial-gradient(120% 120% at 85% 20%, rgba(59, 130, 246, 0.14), rgba(255,255,255,0) 55%),
    radial-gradient(140% 140% at 60% 90%, rgba(242, 162, 58, 0.18), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #ffffff, #f6f7fb);
  margin: 0 0 0.85rem;
  position: relative;
}
.review-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 240ms ease, filter 240ms ease;
}
.review-card:hover .review-card__link .review-media img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.02);
}
.review-badge {
  position: absolute;
  left: 0.65rem;
  top: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--text);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.10);
  user-select: none;
  pointer-events: none;
}
.review-badge i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-cool));
  box-shadow: 0 0 0 2px rgba(255,255,255,0.6);
}
.review-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}
.review-card .tag {
  font-size: 0.7rem;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.review-card .card-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 800;
  /* Stronger contrast than --text-muted but still visually secondary */
  color: rgba(15, 23, 42, 0.72);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.1s;
}
.review-card .card-actions a:hover {
  color: var(--accent-cool-hover);
  background: var(--accent-cool-soft);
  border-color: rgba(59, 130, 246, 0.18);
}
.review-card .card-actions a:active { transform: scale(0.99); }
.review-card .card-actions a:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 2px;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: auto;
}
.mini-btn {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--accent-ink);
  border-radius: 999px;
  min-height: 44px;
  padding: 0.45rem 0.75rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.1s;
  font-size: 0.9rem;
  line-height: 1;
}
.mini-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.mini-btn:active { transform: scale(0.99); }
.mini-btn:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 2px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.category-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.1s;
  text-align: left;
  font-family: inherit;
  color: inherit;
}
.category-tile:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.category-tile:active { transform: scale(0.99); }
.category-tile strong { font-size: 0.95rem; }
.category-tile span { font-size: 0.8rem; color: var(--text-muted); }
.category-tile .arrow {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.uniqueness-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 1200px) {
  .uniqueness-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .uniqueness-grid { grid-template-columns: 1fr; }
}
.unique-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.12s;
}
.unique-item::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(120% 120% at 15% 15%, rgba(47, 191, 113, 0.14), rgba(255,255,255,0) 52%),
    radial-gradient(120% 120% at 85% 10%, rgba(59, 130, 246, 0.12), rgba(255,255,255,0) 55%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.unique-item:hover {
  border-color: rgba(47, 191, 113, 0.55);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.unique-item:hover::before { opacity: 1; }
.unique-item .check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--success);
  margin-top: 0.15rem;
  background: rgba(47, 191, 113, 0.14);
  border: 1px solid rgba(47, 191, 113, 0.35);
  border-radius: 10px;
  padding: 0.35rem;
  box-sizing: content-box;
}
.unique-item h3 {
  font-size: 1rem;
  margin: 0 0 0.25rem;
  font-weight: 700;
  color: var(--text);
}
.unique-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.disclaimer {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.95), rgba(246,247,251,0.75));
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  width: 100%;
  max-width: none;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}
.disclaimer::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(120% 120% at 15% 20%, rgba(47, 191, 113, 0.12), rgba(255,255,255,0) 55%),
    radial-gradient(120% 120% at 85% 25%, rgba(242, 162, 58, 0.12), rgba(255,255,255,0) 55%);
  pointer-events: none;
  opacity: 1;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
@media (max-width: 1100px) {
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .steps-grid { grid-template-columns: 1fr; }
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.1rem;
  position: relative;
  overflow: hidden;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(47, 191, 113, 0.18), rgba(59, 130, 246, 0.14));
  border: 1px solid rgba(47, 191, 113, 0.35);
  color: var(--accent-ink);
  font-weight: 900;
  margin-bottom: 0.6rem;
}
.step-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}
.step-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.quick-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.55rem;
}
.chip-btn {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.1s;
  font-size: 0.82rem;
  line-height: 1;
}
.chip-btn:hover {
  border-color: rgba(59, 130, 246, 0.55);
  background: var(--accent-cool-soft);
}
.chip-btn:active { transform: scale(0.99); }

details.optional-fields {
  margin-top: 0.75rem;
  border: 1px dashed rgba(15, 23, 42, 0.18);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  background: rgba(255,255,255,0.6);
}
details.optional-fields > summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--accent-ink);
  list-style: none;
  user-select: none;
}
details.optional-fields > summary::-webkit-details-marker { display: none; }
details.optional-fields > summary::after {
  content: " +";
  font-weight: 900;
  color: var(--accent);
}
details.optional-fields[open] > summary::after { content: " −"; }

/* Не задавать #section-contact .wrap { display: block } — на главной .wrap совпадает с
   .contact-teaser на одном элементе, и block перебивает display:flex контактного блока. */

/* Заявка: модальное окно (форма) + компактный блок внизу страницы */
.lead-dialog {
  padding: 0;
  border: none;
  margin: auto;
  max-width: min(calc(100vw - 1.5rem), 440px);
  width: 100%;
  background: transparent;
}
.lead-dialog::backdrop {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
}
.lead-dialog__panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
  max-height: min(90vh, 880px);
  display: flex;
  flex-direction: column;
}
.lead-dialog__close {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
.lead-dialog__close:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.lead-dialog__scroll {
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 1.65rem 1.25rem 1.35rem;
}
.lead-dialog__title {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 0.45rem;
  padding-right: 2.75rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.lead-dialog__eyebrow {
  margin: 0 0 0.4rem;
  color: var(--accent-ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lead-dialog__intro {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 1.15rem;
  line-height: 1.5;
}
.lead-dialog__intro a {
  font-weight: 600;
}
.lead-dialog__steps {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 1rem;
  flex-wrap: wrap;
}
.lead-dialog__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
}
.lead-dialog__step.is-active {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.contact-teaser {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.75rem;
}
.contact-teaser__text {
  flex: 1 1 16rem;
  min-width: 0;
}
.contact-teaser__subtitle {
  margin-bottom: 0 !important;
  max-width: 48ch;
}
.contact-teaser__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}
.section-contact-teaser {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
button.btn-link {
  font-family: inherit;
  cursor: pointer;
  appearance: none;
}

/* Плавающая заявка: всегда в углу экрана */
.floating-lead-btn {
  position: fixed;
  right: max(0.85rem, env(safe-area-inset-right, 0px));
  bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.8rem 1.15rem;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  cursor: pointer;
  box-shadow:
    0 4px 14px rgba(47, 191, 113, 0.45),
    0 12px 28px rgba(15, 23, 42, 0.18);
  transition: transform 0.12s ease, background 0.2s, box-shadow 0.2s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* WCAG 2.2 (2.4.11 Focus Not Obscured): оставляем место под фиксированную кнопку на узких экранах */
@media (max-width: 900px) {
  body {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }
}
.floating-lead-btn:hover {
  background: var(--accent-hover);
  box-shadow:
    0 6px 18px rgba(47, 191, 113, 0.5),
    0 14px 32px rgba(15, 23, 42, 0.2);
}
.floating-lead-btn:active {
  transform: scale(0.98);
}
.floating-lead-btn:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 3px;
}
.floating-lead-btn__short {
  display: none;
}
@media (max-width: 400px) {
  .floating-lead-btn__long {
    display: none;
  }
  .floating-lead-btn__short {
    display: inline;
  }
  .floating-lead-btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
}
@media print {
  .floating-lead-btn {
    display: none !important;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--text);
}
.contact-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}
.contact-info a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.contact-info a:hover { color: var(--accent-hover); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.form-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1.5rem;
  color: var(--text);
}
.field {
  margin-bottom: 1.25rem;
}
.field:last-of-type { margin-bottom: 1.5rem; }
.field-hint {
  margin: 0.45rem 0 0;
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}
label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}
select, input[type="text"], textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
select:focus, input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
textarea {
  min-height: 120px;
  resize: vertical;
}
.lead-form__meta {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
  text-align: center;
}
.lead-form__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.lead-form__actions .btn-link,
.lead-form__actions .btn {
  flex: 1 1 0;
}
.btn {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(0.99); }
.btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.message {
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
}
.message.success { background: var(--success-bg); color: var(--success); }
.message.error { background: var(--error-bg); color: var(--error); }
.message.hidden { display: none; }
.lead-form.hidden,
.lead-success.hidden {
  display: none;
}
.lead-success {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(47, 191, 113, 0.08), rgba(255, 255, 255, 0.98));
  padding: 1rem;
}
.lead-success__title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--text);
}
.lead-success__text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.lead-success__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}
.lead-success__actions .btn-link {
  flex: 1 1 12rem;
}

.faq-list {
  max-width: var(--max-w);
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-question:hover { color: var(--accent); }
.faq-question .faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.2s;
}
.faq-item.open .faq-question .faq-icon { transform: rotate(180deg); color: var(--accent); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
}
.faq-answer-inner {
  padding: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 3.5rem 1.5rem 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand strong {
  display: block;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.footer-brand p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 70ch;
}
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1.25rem;
  justify-items: start;
  align-content: start;
}
@media (max-width: 520px) {
  .footer-nav { grid-template-columns: 1fr; }
}
.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
}
.footer-nav a:hover { color: var(--accent-cool); }
.footer-disclaimer {
  margin-top: 1.75rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.95), rgba(246,247,251,0.75));
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  position: relative;
  overflow: hidden;
}
.footer-copy {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.85;
}

/* Site nav + shop */
.site-nav {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 1.5rem;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 120;
}
.site-nav .wrap {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}
.site-nav__brand {
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}
.site-nav__brand:hover { color: var(--accent-ink); }
.site-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  align-items: center;
}
.site-nav__links a {
  color: var(--accent-cool);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.site-nav__links a:hover { color: var(--accent-cool-hover); }

.site-search {
  position: relative;
}
.site-search--nav {
  flex: 0 0 auto;
  max-width: none;
  z-index: 140;
}
.site-search__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.site-search__field {
  position: relative;
}
.site-search__toggle {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent-cool);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.site-search__toggle:hover {
  color: var(--accent-cool-hover);
  border-color: rgba(59, 130, 246, 0.22);
  background: rgba(59, 130, 246, 0.08);
}
.site-search__toggle svg {
  width: 1.1rem;
  height: 1.1rem;
}
.site-search__shell {
  position: absolute;
  right: 0;
  top: calc(100% + 0.55rem);
  width: min(30rem, calc(100vw - 2rem));
  z-index: 160;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.site-search--nav.is-open .site-search__shell,
.site-search--nav:hover .site-search__shell,
.site-search--nav:focus-within .site-search__shell {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.site-search__input {
  width: 100%;
  min-height: 48px;
  border-radius: 18px;
  border: 1px solid rgba(59, 130, 246, 0.12);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(59, 130, 246, 0.08), rgba(255, 255, 255, 0) 48%),
    rgba(255, 255, 255, 0.96);
  padding: 0.85rem 2.9rem 0.85rem 1rem;
  font: inherit;
  color: var(--text);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}
.site-search__input::placeholder {
  color: #73809a;
}
.site-search__input:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12), 0 16px 34px rgba(15, 23, 42, 0.10);
}
.site-search__input::-webkit-search-decoration,
.site-search__input::-webkit-search-cancel-button,
.site-search__input::-webkit-search-results-button,
.site-search__input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.site-search__clear {
  position: absolute;
  right: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6b7280;
  font-size: 1.25rem;
  cursor: pointer;
}
.site-search__clear:hover {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-cool-hover);
}
.site-search__results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.55rem);
  z-index: 170;
  padding: 0.55rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.16);
}
.site-search__item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.7rem;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
}
.site-search__item:hover {
  background: rgba(59, 130, 246, 0.08);
}
.site-search__item.is-active {
  background: rgba(59, 130, 246, 0.12);
}
.site-search__thumb {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff, #f3f6fb);
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-search__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.site-search__thumb--placeholder {
  font-weight: 800;
  color: var(--accent-ink);
}
.site-search__item-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.site-search__item-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.site-search__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 0.72rem;
  font-weight: 800;
}
.site-search__item-title {
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}
.site-search__item-subtitle {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.35;
}
.site-search__item-title mark,
.site-search__item-subtitle mark,
.shop-search-result__title mark,
.shop-search-result__subtitle mark {
  background: rgba(242, 162, 58, 0.24);
  color: inherit;
  border-radius: 0.35rem;
  padding: 0 0.1rem;
}
.site-search__empty {
  padding: 0.95rem 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.site-search__all {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.4rem;
  padding: 0.85rem 1rem 0.65rem;
  border-top: 1px solid var(--border);
  color: var(--accent-cool);
  font-weight: 800;
  text-decoration: none;
}
.site-search__all:hover {
  color: var(--accent-cool-hover);
}

a.category-tile {
  text-decoration: none;
  color: inherit;
}

.breadcrumb {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  text-align: left;
}
.breadcrumb a {
  color: var(--accent-cool);
  text-decoration: none;
  font-weight: 600;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb__current {
  color: var(--text);
  font-weight: 600;
}

/* Каталог / категория: тот же визуальный язык, что и у главной hero */
.shop-hero {
  text-align: center;
}
.shop-hero .tagline {
  margin-left: auto;
  margin-right: auto;
}
.shop-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}
.shop-hero__crumb {
  text-align: center;
  margin-bottom: 1rem !important;
}
.shop-hero__cta {
  justify-content: center;
  margin-top: 1.5rem;
}
.shop-search-band {
  padding-top: 1.25rem;
}
.shop-search-band__card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(47, 191, 113, 0.10), rgba(255, 255, 255, 0) 40%),
    radial-gradient(120% 140% at 100% 0%, rgba(59, 130, 246, 0.12), rgba(255, 255, 255, 0) 45%),
    #fff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}
.shop-search-band__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--accent-cool);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.shop-search-band__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.35rem, 2.8vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.shop-search-band__lead {
  margin: 0;
  color: var(--text-muted);
}
.site-search--hero {
  max-width: none;
  width: 100%;
}
.site-search--hero .site-search__input {
  min-height: 56px;
  font-size: 1rem;
  padding-left: 1.1rem;
  border-radius: 18px;
}
.site-search--hero .site-search__results {
  position: absolute;
}
.shop-search-results-panel {
  padding-top: 1rem;
}
.shop-search-results-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.shop-search-result {
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  gap: 0.95rem;
  align-items: center;
  padding: 0.95rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}
.shop-search-result:hover {
  border-color: rgba(59, 130, 246, 0.22);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.10);
}
.shop-search-result__thumb {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff, #f3f6fb);
  display: flex;
  align-items: center;
  justify-content: center;
}
.shop-search-result__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shop-search-result__thumb--placeholder {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent-ink);
}
.shop-search-result__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.shop-search-result__top {
  display: flex;
  align-items: center;
}
.shop-search-result__title {
  font-weight: 800;
  line-height: 1.3;
}
.shop-search-result__subtitle {
  color: var(--text-muted);
  font-size: 0.92rem;
}
.shop-search-results-empty {
  padding: 1rem 1.1rem;
  border: 1px dashed var(--border);
  border-radius: 16px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.7);
}

.shop-section__head {
  margin-bottom: 1.75rem;
  max-width: 52ch;
}
.shop-section__title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 800;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.shop-section__lead {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.shop-intent-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.shop-intent-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 0.85rem;
  font-weight: 600;
}
a.shop-intent-pill--link {
  display: inline-flex;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  max-width: 100%;
  box-sizing: border-box;
  line-height: 1.35;
  hyphens: auto;
  overflow-wrap: anywhere;
}
a.shop-intent-pill--link:hover {
  background: var(--accent);
  color: #fff;
}

.shop-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.shop-cat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.12s;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}
.shop-cat-card:hover {
  border-color: rgba(47, 191, 113, 0.55);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.shop-cat-card__text { text-align: left; }
.shop-cat-card__meta {
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}
.shop-cat-card__arrow {
  flex-shrink: 0;
  color: var(--accent);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.35rem;
}
.shop-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}
.shop-card:hover {
  border-color: rgba(47, 191, 113, 0.45);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}
.shop-card__media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 15% 15%, rgba(47, 191, 113, 0.12), rgba(255,255,255,0) 55%),
    radial-gradient(120% 120% at 85% 20%, rgba(59, 130, 246, 0.1), rgba(255,255,255,0) 55%),
    linear-gradient(180deg, #f8fafc, #eef2f7);
  border-bottom: 1px solid var(--border);
}
.shop-card__badge {
  position: absolute;
  left: 0.65rem;
  top: 0.65rem;
  z-index: 1;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  pointer-events: none;
}
.shop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.shop-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-ink);
  font-size: 2rem;
  font-weight: 800;
}
.shop-card:hover .shop-card__media img {
  transform: scale(1.04);
  filter: saturate(1.05);
}
.shop-card__body {
  padding: 1.1rem 1.2rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.shop-card__body h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
}
.shop-card__body h3 a {
  color: var(--text);
  text-decoration: none;
}
.shop-card__body h3 a:hover { color: var(--accent-cool); }
.shop-card__meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.shop-card__meta a {
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 600;
}
.shop-card__meta a:hover { text-decoration: underline; }

/* Страница товара (PDP: галерея + сводка, как на витрине) */
.product-pdp {
  padding-top: 1.25rem;
  padding-bottom: 2rem;
}
.product-pdp__crumb {
  margin-bottom: 1.25rem;
  text-align: left;
}
/* Как на витринном PDP: слева липкая фотография, справа вся прокрутка (сводка + статья) */
.product-pdp__sticky-shell {
  display: grid;
  grid-template-columns: minmax(240px, 36%) minmax(0, 1fr);
  gap: 2rem 2.75rem;
  /* stretch: левая колонка по высоте = правая, иначе sticky у фото не срабатывает */
  align-items: stretch;
  min-height: 0;
}
.product-pdp__gallery-col {
  min-width: 0;
  min-height: 0;
}
.product-pdp__gallery-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 1rem;
  width: 100%;
}
.product-pdp__content-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.product-pdp__article-block {
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.product-article-wrap--pdp {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.product-pdp__gallery {
  min-width: 0;
  min-height: 0;
  padding: 0.4rem;
  border-radius: calc(var(--radius-lg) + 2px);
  background:
    radial-gradient(120% 120% at 12% 10%, rgba(47, 191, 113, 0.08), rgba(255,255,255,0) 56%),
    radial-gradient(120% 120% at 88% 16%, rgba(59, 130, 246, 0.08), rgba(255,255,255,0) 58%),
    linear-gradient(180deg, #f7f9fc, #eef2f7);
}
.product-pdp__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-alt);
  overflow: hidden;
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.08);
}
.product-pdp__media-btn,
a.product-pdp__media-fallback {
  display: block;
  width: 100%;
  flex: 1 1 auto;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  line-height: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  border-radius: inherit;
}
.product-pdp__media-btn:focus-visible,
a.product-pdp__media-fallback:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 2px;
}
.product-pdp__media-btn img,
a.product-pdp__media-fallback img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #fff;
  max-height: min(520px, 72vh);
  vertical-align: top;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.33, 1, 0.68, 1);
  will-change: transform;
}
.product-pdp__figure:hover,
.product-pdp__figure:focus-within {
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.16);
}
.product-pdp__media-btn:hover img,
.product-pdp__media-btn:focus-visible img,
a.product-pdp__media-fallback:hover img,
a.product-pdp__media-fallback:focus-visible img {
  transform: scale(1.14);
}
@media (prefers-reduced-motion: reduce) {
  .product-pdp__media-btn img,
  a.product-pdp__media-fallback img {
    transition: none;
    will-change: auto;
  }
  .product-pdp__media-btn:hover img,
  .product-pdp__media-btn:focus-visible img,
  a.product-pdp__media-fallback:hover img,
  a.product-pdp__media-fallback:focus-visible img {
    transform: none;
  }
  .product-pdp__figure:hover,
  .product-pdp__figure:focus-within {
    box-shadow: 0 10px 36px rgba(15, 23, 42, 0.08);
  }
}

/* Лайтбокс: увеличение + прокрутка внутри окна */
.product-pdp-lightbox {
  position: relative;
  margin: auto;
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  max-width: min(96vw, 1120px);
  width: min(96vw, 1120px);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.45);
}
.product-pdp-lightbox::backdrop {
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(3px);
}
.product-pdp-lightbox__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}
.product-pdp-lightbox__close:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.product-pdp-lightbox__scroll {
  max-height: min(82vh, 920px);
  overflow: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 2.75rem 1rem 1rem;
  text-align: center;
}
.product-pdp-lightbox__img {
  display: block;
  margin: 0 auto;
  width: auto;
  height: auto;
  max-width: none;
  vertical-align: top;
}
.product-pdp-lightbox__footer {
  padding: 0.65rem 1rem 0.85rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: var(--bg-alt);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.product-pdp-lightbox__tab {
  font-weight: 600;
  color: var(--accent-cool);
  text-decoration: none;
}
.product-pdp-lightbox__tab:hover {
  color: var(--accent-cool-hover);
  text-decoration: underline;
}
.product-pdp__zoom-hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0.65rem 1rem;
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

@media (min-width: 961px) {
  .product-pdp__gallery-sticky {
    max-height: calc(100svh - 2rem);
  }
  .product-pdp__gallery,
  .product-pdp__figure {
    height: 100%;
  }
  .product-pdp__media-btn,
  a.product-pdp__media-fallback {
    min-height: 0;
  }
  .product-pdp__media-btn img,
  a.product-pdp__media-fallback img {
    max-height: calc(100svh - 9.5rem);
  }
}
.product-pdp__placeholder {
  aspect-ratio: 1;
  min-height: 240px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border);
  background:
    linear-gradient(145deg, var(--bg-alt) 0%, #fff 100%);
}
.product-pdp__summary {
  position: static;
  min-width: 0;
  min-height: 0;
  padding: 0.2rem 0 0;
}
.product-pdp__summary > *:last-child {
  margin-bottom: 0;
}
.product-pdp__summary::after {
  content: "";
  display: block;
  clear: both;
}
.product-pdp__summary {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,247,251,0.92));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.45rem 1.55rem 1.2rem;
  box-shadow: 0 10px 34px rgba(15, 23, 42, 0.05);
}
.product-pdp__title {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin: 0 0 0.5rem;
  color: var(--text);
}
.product-pdp__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0 0 0.65rem;
  line-height: 1.45;
}
.product-pdp__eyebrow {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  line-height: 1.5;
}
.product-pdp__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.product-pdp__meta-row a {
  font-weight: 600;
}
.product-pdp__meta-label {
  font-weight: 700;
  color: var(--text);
}
.product-pdp__intents {
  min-width: 0;
  margin-bottom: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  opacity: 0.94;
}
.product-pdp__intents .shop-intent-list {
  min-width: 0;
}
.product-pdp__intents-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--text);
}
.product-pdp__intents-lead {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 0.65rem;
  line-height: 1.45;
}
.product-pdp__partner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
  margin-bottom: 1rem;
}
.product-pdp__partner-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.product-pdp__partner-text strong {
  font-size: 0.95rem;
  color: var(--text);
}
.product-pdp__partner-text span {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.product-pdp__partner-btn {
  align-self: flex-start;
}
.product-pdp__commercial {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
  margin-bottom: 1rem;
}
.product-pdp__price-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border: 1px solid rgba(47, 191, 113, 0.35);
}
.product-pdp__price-note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.product-pdp__skip {
  margin: 0 0 0.95rem;
  font-size: 0.9rem;
}
.product-pdp__skip a {
  font-weight: 600;
  color: var(--accent-cool);
  text-decoration: none;
}
.product-pdp__skip a:hover {
  color: var(--accent-cool-hover);
  text-decoration: underline;
}
.product-pdp__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.product-pdp__features {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.product-pdp__feature {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
}
.product-pdp__feature strong {
  display: block;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.product-pdp__feature span {
  display: block;
}
.product-pdp__feature-icon {
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
}
.product-pdp__feature-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}
.product-pdp__details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.product-pdp__details summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.85rem 1rem;
  list-style: none;
  user-select: none;
}
.product-pdp__details summary::-webkit-details-marker { display: none; }
.product-pdp__details summary::after {
  content: " ▼";
  font-size: 0.75em;
  color: var(--text-muted);
}
.product-pdp__details[open] summary::after { content: " ▲"; }
.product-pdp__details-body {
  padding: 0 1rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  border-top: 1px solid var(--border);
}
.product-pdp__details-body p { margin: 0 0 0.65rem; }
.product-pdp__details-body p:last-child { margin-bottom: 0; }

.product-content-section {
  padding-top: 0;
}

/* Длинная статья на PDP: как на витринных PDP — заметка, оглавление, типографика */
.product-article-section {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 38%);
}
.product-article-wrap {
  max-width: var(--max-w-wide);
  margin: 0 auto;
}
.product-article__notice {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  margin: 0 0 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(242, 162, 58, 0.45);
  background: linear-gradient(
    135deg,
    rgba(242, 162, 58, 0.14) 0%,
    rgba(255, 255, 255, 0.92) 55%
  );
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text);
}
.product-article__notice-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.85rem;
  background: var(--accent-warm-soft);
  color: #b45309;
  border: 1px solid rgba(242, 162, 58, 0.5);
}
.product-article__notice-text strong {
  display: inline;
  color: var(--text);
}
/* Оглавление статьи: компактный блок, по умолчанию свёрнут — не конкурирует с текстом */
.product-article__toc-details {
  margin: 0 0 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.product-article__toc-summary {
  cursor: pointer;
  list-style: none;
  user-select: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 0.65rem 0.9rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
}
.product-article__toc-summary::-webkit-details-marker {
  display: none;
}
.product-article__toc-summary::after {
  content: " ▼";
  font-size: 0.72em;
  font-weight: 700;
  color: var(--text-muted);
}
.product-article__toc-details[open] .product-article__toc-summary {
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.product-article__toc-details[open] .product-article__toc-summary::after {
  content: " ▲";
}
.product-article__toc-summary-hint {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}
.product-article__toc-body {
  padding: 0.65rem 0.9rem 0.85rem;
  max-height: min(42vh, 280px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.product-article__toc-body .article-toc {
  font-size: 0.86rem;
}
.article-toc {
  font-size: 0.88rem;
}
.article-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.article-toc__item {
  margin: 0 0 0.35rem;
}
.article-toc__item--h2 > .article-toc__link {
  font-weight: 700;
  color: var(--text);
}
.article-toc__sub {
  list-style: none;
  margin: 0.35rem 0 0.5rem 0.65rem;
  padding: 0 0 0 0.65rem;
  border-left: 2px solid var(--accent-soft);
}
.article-toc__item--h3 .article-toc__link {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.86rem;
}
.article-toc__link {
  display: block;
  text-decoration: none;
  line-height: 1.4;
  padding: 0.2rem 0;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.article-toc__link:hover {
  color: var(--accent-cool-hover);
  background: var(--accent-cool-soft);
}
.product-article__main {
  min-width: 0;
}

.product-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem 1.75rem;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.07);
}
.product-shell--article {
  padding: 2.15rem 2rem 2.35rem;
}
.product-shell__heading {
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  font-weight: 800;
  margin: 0 0 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text);
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}
.product-shell--article .prose {
  max-width: 52rem;
}
.product-links-section {
  padding-top: 0;
}

.product-shell__disclaimer {
  margin-top: 1.75rem !important;
  margin-bottom: 0 !important;
}

.prose {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
}
.prose--article {
  font-size: 1.0625rem;
  line-height: 1.72;
}
.prose--article > p:first-of-type {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--text-muted);
}
.prose p { margin: 0 0 1rem; }
.prose ul, .prose ol { margin: 0 0 1rem 1.1rem; padding: 0; }
.prose li { margin: 0.35rem 0; }
.prose strong { color: var(--text); }
.prose a { color: var(--accent-cool); }
.prose h1, .prose h2, .prose h3 { margin: 1.25rem 0 0.5rem; font-weight: 700; }
.prose h2 {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.prose h3 {
  font-size: 1.05rem;
}
.prose--article h2 {
  margin-top: 2rem;
  margin-bottom: 0.65rem;
  padding-bottom: 0.45rem;
  font-size: clamp(1.28rem, 2.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 5.5rem;
}
.prose--article h3 {
  margin-top: 1.35rem;
  margin-bottom: 0.45rem;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  padding-left: 0.65rem;
  border-left: 3px solid rgba(47, 191, 113, 0.55);
  scroll-margin-top: 5rem;
}
.prose--article ul,
.prose--article ol {
  margin-bottom: 1.15rem;
  padding-left: 1.25rem;
}
.prose--article li {
  margin: 0.45rem 0;
  padding-left: 0.15rem;
}
.prose--article li::marker {
  color: var(--accent);
}
.prose--article blockquote {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--accent-cool);
  background: var(--accent-cool-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* —— Адаптив (дополнительно к точечным @media выше) —— */
@media (max-width: 900px) {
  .top-bar {
    padding: 0.65rem 1.15rem;
  }
  .site-nav {
    padding: 0.55rem 1.15rem;
  }
  .section {
    padding: 2.75rem 1.15rem;
  }
  .hero {
    padding: 2.75rem 1.15rem 2.25rem;
  }
  .shop-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
    gap: 1.1rem;
  }
  .reviews-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  }
  .advantages-grid,
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 1.25rem;
  }
  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  }
  .product-pdp__sticky-shell {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .product-pdp__gallery-sticky {
    position: static;
  }
  .product-pdp__features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .top-bar .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .section {
    padding: 2.25rem 1rem;
  }
  .hero {
    padding: 2.25rem 1rem 1.75rem;
  }
  .hero .tagline {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
  }
  .section-subtitle {
    margin-bottom: 1.75rem;
    max-width: none;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta .btn-link {
    width: 100%;
    justify-content: center;
  }
  .site-nav .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .site-nav {
    padding: 0.8rem 1rem 0.75rem;
    background: rgba(255, 255, 255, 0.97);
  }
  .site-nav__brand {
    font-size: 1.35rem;
    font-weight: 900;
  }
  .site-nav__links {
    width: 100%;
    justify-content: space-between;
    position: relative;
    gap: 0.45rem;
    align-items: center;
    padding: 0.35rem 0 0;
    border-top: 1px solid rgba(230, 233, 241, 0.9);
  }
  .site-nav__links a {
    font-size: 0.95rem;
    font-weight: 700;
  }
  .site-search--nav {
    margin-left: auto;
    width: auto;
    z-index: 220;
  }
  .site-search--nav .site-search__toggle {
    width: 2.4rem;
    height: 2.4rem;
  }
  .site-search--nav .site-search__shell {
    position: fixed;
    left: 1rem;
    right: 1rem;
    top: 8.1rem;
    width: auto;
    z-index: 260;
    padding: 0.7rem;
    border: 1px solid rgba(230, 233, 241, 0.95);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  .site-search--nav .site-search__input {
    min-height: 52px;
    padding-left: 1rem;
    font-size: 0.98rem;
    box-shadow: none;
  }
  .site-search--nav .site-search__results {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    margin-top: 0.65rem;
    max-height: min(52vh, 24rem);
    overflow: auto;
    box-shadow: none;
  }
  .site-search--nav .site-search__item {
    grid-template-columns: 2.8rem 1fr;
    gap: 0.7rem;
    padding: 0.65rem;
  }
  .site-search--nav .site-search__thumb {
    width: 2.8rem;
    height: 2.8rem;
  }
  .shop-search-band__card {
    grid-template-columns: 1fr;
    padding: 1.1rem;
  }
  .shop-search-results-list {
    grid-template-columns: 1fr;
  }
  .shop-grid,
  .shop-cat-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .advantages-grid,
  .services-grid,
  .categories-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .card-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .card-actions a,
  .card-actions .mini-btn {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
  }
  .footer {
    padding: 2.5rem 1rem 2.25rem;
  }
  .form-card {
    padding: 1.35rem 1.1rem;
  }
  .product-shell {
    padding: 1.15rem 1rem 1.35rem;
  }
  .product-pdp__cta {
    flex-direction: column;
    align-items: stretch;
  }
  .product-pdp__cta .btn-link {
    width: 100%;
    justify-content: center;
  }
  .product-pdp__partner-btn {
    align-self: stretch;
    justify-content: center;
  }
  .breadcrumb {
    line-height: 1.45;
    word-break: break-word;
  }
  .shop-card__body {
    padding: 1rem 1rem 1.1rem;
  }
  .shop-cat-card {
    padding: 1rem 1rem;
  }
  .prose img {
    max-width: 100%;
    height: auto;
  }
  .prose pre {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .shop-card:hover,
  .shop-cat-card:hover {
    transform: none;
  }
  .shop-card:hover .shop-card__media img {
    transform: none;
    filter: none;
  }
}

@media (max-width: 400px) {
  .section-title {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
  }
  .shop-hero h1 {
    font-size: clamp(1.45rem, 6vw, 2rem);
  }
}
