/* Тема Промысла: рыбалка, охота, отдых на природе. Подключается после styles.css и переопределяет его. */

:root {
  --bg: #fbf8f1;
  --surface: #f3ecdd;
  --line: #e4dac6;
  --line-strong: #cdbfa3;
  --text: #1d2a22;
  --muted: #5f6b60;
  --navy: #1f3d2b;          /* хвоя: заголовки, шапка */
  --accent: #e07a2e;        /* рассвет: кнопки */
  --accent-hover: #c4631c;
  --link: #1f6a6a;          /* озеро: ссылки */
  --forest: #1f3d2b;
  --forest-2: #2f5b40;
  --lake: #1e5a66;
  --sand: #f3ecdd;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(31, 61, 43, 0.06), 0 6px 18px rgba(31, 61, 43, 0.07);
  --display: "Oswald", "Arial Narrow", system-ui, sans-serif;
}

body {
  font-family: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
}

h1, h2, h3 { color: var(--forest); }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: 0.01em; }
h2 { font-size: 1.7rem; }

/* Шапка: тёмная хвоя */
.site-header {
  background: var(--forest);
  border-bottom: 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}
.brand-mark { width: 40px; height: 40px; color: #2f5b40; }
.brand-mark .accent { color: var(--accent); }
.brand-name {
  font-family: var(--display);
  color: #f3ead8;
  font-size: 22px;
  letter-spacing: 0.08em;
}
.brand-tagline { color: #b9c9b6; }
.site-nav a { color: #e9e2cf; border-radius: 999px; padding: 6px 12px; }
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.1); text-decoration: none; border-color: transparent; }
.site-nav { gap: 6px; align-items: center; }
.nav-cart { background: var(--accent); color: #fff !important; }
.nav-cart:hover { background: var(--accent-hover) !important; }

/* Кнопки и поля: скруглённые, тёплые */
.button { border-radius: 10px; }
.button-primary { box-shadow: 0 2px 0 var(--accent-hover); }
input, select, textarea { border-radius: 10px; }

/* Первый экран: пейзаж во всю ширину */
.hero.hero-outdoor {
  position: relative;
  overflow: hidden;
  margin: -28px calc(50% - 50vw) 0;
  padding: 0;
  border: 0;
  background: #f6d6a6;
  min-height: 560px;
}
.hero-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
/* Мягкая подложка под текстом, чтобы он читался поверх неба */
.hero-outdoor::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 243, 226, 0.75) 0%, rgba(251, 243, 226, 0.35) 45%, rgba(251, 243, 226, 0) 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 56px 16px 210px;
}
.hero-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest-2);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 5px 12px;
}
.hero-outdoor h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  text-transform: uppercase;
  margin: 14px 0 12px;
  max-width: 720px;
}
.hero-outdoor .subline { color: #34443a; max-width: 620px; font-size: 1.05rem; }
.hero-outdoor .search-form {
  display: flex;
  gap: 8px;
  background: #fff;
  padding: 6px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(31, 61, 43, 0.18);
  max-width: 640px;
}
.hero-outdoor .search-form input { border: 0; flex: 1; min-width: 0; height: 48px; }
.hero-outdoor .search-form .button { padding: 0 26px; height: 48px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; max-width: 640px; }
.hero-chips a {
  background: rgba(255, 255, 255, 0.7);
  color: var(--forest);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(4px);
}
.hero-chips a:hover { background: #fff; text-decoration: none; }

/* Три мира: рыбалка, охота, отдых */
.worlds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.world {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 22px 20px;
  border-radius: var(--radius);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}
.world:hover { transform: translateY(-2px); text-decoration: none; box-shadow: 0 10px 28px rgba(31, 61, 43, 0.22); }
.world-fish { background: linear-gradient(135deg, #1e5a66, #2f7f84); }
.world-hunt { background: linear-gradient(135deg, #2f4a2a, #5a6b34); }
.world-rest { background: linear-gradient(135deg, #8a4b22, #d0782f); }
.world h3 { color: #fff; font-family: var(--display); font-size: 1.6rem; font-weight: 600; text-transform: uppercase; margin: 6px 0 0; }
.world p { margin: 0; color: rgba(255, 255, 255, 0.88); font-size: 0.95rem; }
.world-go { margin-top: 8px; font-weight: 600; font-size: 0.92rem; }
.world-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, 0.16); display: flex; align-items: center; justify-content: center; }
.world-icon svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Карточки */
.card {
  border-radius: var(--radius);
  border-color: var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
a.card { transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
a.card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31, 61, 43, 0.12); }

/* Плитки направлений в тонах воды, льда, леса и стоянки */
.dir-art { border: 0; border-radius: 10px; padding: 8px; }
.tone-water .dir-art { background: #e2eef0; color: var(--lake); }
.tone-ice .dir-art { background: #e9f1f7; color: #36627f; }
.tone-forest .dir-art { background: #e5ecdc; color: #2f5233; }
.tone-camp .dir-art { background: #f6e8d3; color: #8a5a2b; }
a.card:hover .dir-art { color: var(--accent); }
.dir-grid .category-tile h3 { font-family: var(--display); font-weight: 500; font-size: 1.02rem; letter-spacing: 0.01em; }

/* Фото товаров в цвете: снасти выбирают по виду */
.offer-photo img, .cart-line img { filter: none !important; }
.badge { border-radius: 999px; }

/* Полоски-подсказки */
.chat-promo { border-radius: var(--radius); background: #eef3ea; border-color: #d4e0cc; margin-top: 28px; }
.wholesale-strip { border-radius: var(--radius); background: var(--sand); }
.wholesale-strip:hover { border-color: var(--forest-2); }
.notice { border-radius: 10px; }
.branch-list a { border-radius: 8px; }

/* Подвал: лес-силуэт и тёмная хвоя */
.site-footer {
  position: relative;
  background: var(--forest);
  color: #c9d3c3;
  border-top: 0;
  margin-top: 90px;
  padding: 28px 0 32px;
}
.site-footer a { color: #f3ead8; }
.footer-trees {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  width: 100%;
  height: 70px;
  fill: var(--forest);
  display: block;
}

@media (max-width: 900px) {
  .worlds { grid-template-columns: 1fr; }
  .hero.hero-outdoor { min-height: 520px; }
  .hero-content { padding: 36px 16px 190px; }
  .hero-outdoor::after { background: linear-gradient(180deg, rgba(251, 243, 226, 0.8) 0%, rgba(251, 243, 226, 0.4) 55%, rgba(251, 243, 226, 0) 75%); }
}

@media (max-width: 640px) {
  .brand-name { font-size: 19px; }
  .site-header { position: static; }
  .hero-outdoor .search-form .button { padding: 0 16px; }
  .hero-chips a { font-size: 13px; padding: 5px 11px; }
}

@media print {
  .site-header, .site-footer, .footer-trees, .hero-scene { background: none; box-shadow: none; }
  .footer-trees, .hero-scene { display: none; }
}

/* Телефон: «Мои заказы» первым пунктом, чтобы корзину было видно без прокрутки меню */
@media (max-width: 640px) {
  .site-nav .nav-cart { order: -1; }
}

/* ===== Яркость (владелец, 2026-10-19: «добавь немного яркости») ===== */
:root {
  --bg: #fffaf0;
  --accent: #f26a1b;
  --accent-hover: #d6540b;
  --link: #0f7f86;
  --green: #2e8b3e;
}

/* Пейзаж: сочнее рассвет, солнце и вода (цвета градиентов SVG переопределяются через CSS) */
.hero-scene #hs-sky stop:nth-child(1) { stop-color: #ffd89a; }
.hero-scene #hs-sky stop:nth-child(2),
.hero-scene #hs-sky stop:nth-child(3) { stop-color: #ffa85e; }
.hero-scene #hs-lake stop:nth-child(1) { stop-color: #8fdad9; }
.hero-scene #hs-lake stop:nth-child(2) { stop-color: #17838b; }
.hero-scene #hs-sunGlow stop:nth-child(1) { stop-color: #fff6cf; }
.hero.hero-outdoor { background: #ffc078; }
.hero-outdoor::after {
  background: linear-gradient(90deg, rgba(255, 246, 228, 0.72) 0%, rgba(255, 246, 228, 0.3) 45%, rgba(255, 246, 228, 0) 68%);
}
.hero-kicker { background: #fff; color: var(--accent); box-shadow: 0 2px 8px rgba(242, 106, 27, 0.18); }
.hero-chips a { background: rgba(255, 255, 255, 0.85); border: 1px solid rgba(255, 255, 255, 0.9); }
.hero-chips a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Кнопки: тёплый градиент */
.button-primary {
  background: linear-gradient(180deg, #ff8a3d 0%, #f26a1b 100%);
  border-color: #f26a1b;
  box-shadow: 0 2px 0 #c94f0a, 0 6px 14px rgba(242, 106, 27, 0.25);
}
.button-primary:hover { background: linear-gradient(180deg, #ff7a28 0%, #e05a0f 100%); border-color: #e05a0f; }

/* Шапка: лёгкий переход хвои и тонкая полоса рассвета снизу */
.site-header {
  background: linear-gradient(90deg, #1b3a28 0%, #24503a 60%, #1f4a4a 100%);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, #f26a1b, #ffb340, #2ab3b8) 1;
}

/* Три мира: насыщеннее */
.world-fish { background: linear-gradient(135deg, #0b6e7d 0%, #16a3ad 100%); }
.world-hunt { background: linear-gradient(135deg, #335f1c 0%, #6f9a26 100%); }
.world-rest { background: linear-gradient(135deg, #c8461a 0%, #ff9f2e 100%); }
.world-icon { background: rgba(255, 255, 255, 0.22); }

/* Плитки направлений: ярче фон и рисунок, цветная полоска сверху */
.tone-water .dir-art { background: linear-gradient(160deg, #d3f1f3, #b5e4e8); color: #0b6e7d; }
.tone-ice .dir-art { background: linear-gradient(160deg, #e3f0ff, #c7defa); color: #2c64a8; }
.tone-forest .dir-art { background: linear-gradient(160deg, #e2f2cf, #c6e3a8); color: #36701f; }
.tone-camp .dir-art { background: linear-gradient(160deg, #ffe9cc, #ffd29e); color: #c0501a; }
.category-tile { border-top: 3px solid transparent; }
.category-tile.tone-water { border-top-color: #16a3ad; }
.category-tile.tone-ice { border-top-color: #4a8fe0; }
.category-tile.tone-forest { border-top-color: #6f9a26; }
.category-tile.tone-camp { border-top-color: #ff9f2e; }

/* Заголовки разделов: цветная черта */
h2::before { width: 44px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, #f26a1b, #ffb340); }

/* Цены и метки */
.price { color: #d6540b; }
.badge { border-radius: 999px; }
.badge.new { color: #fff; background: #2e9b45; border-color: #2e9b45; }

/* Подсказка оператора: свежий бирюзовый */
.chat-promo { background: linear-gradient(90deg, #e2f6f4, #eef9e6); border-color: #bfe6df; }
.wholesale-strip { background: linear-gradient(90deg, #fff1dc, #ffe6c4); border-color: #ffd29e; }

/* Подвал: полоса рассвета над лесом */
.site-footer { background: #1b3a28; }
.footer-trees { fill: #1b3a28; }

/* ===== Живой пейзаж (владелец, 2026-10-19): птицы, лодка, вода, костёр ===== */
.hero-scene .hs-wing,
.hero-scene .hs-boat,
.hero-scene .hs-flame,
.hero-scene .hs-ripple,
.hero-scene .hs-glow,
.hero-scene .hs-smoke { transform-box: fill-box; transform-origin: center; }

/* Птицы: машут крыльями и медленно летят влево, у каждой свой темп */
.hero-scene .hs-wing { animation: hs-flap 0.9s ease-in-out infinite; }
.hero-scene .hs-bird + .hs-bird .hs-wing { animation-duration: 1.05s; animation-delay: -0.3s; }
.hero-scene .hs-bird + .hs-bird + .hs-bird .hs-wing { animation-duration: 0.8s; animation-delay: -0.6s; }
.hero-scene .hs-bird { animation: hs-fly 38s linear infinite; }
.hero-scene .hs-bird + .hs-bird { animation-duration: 44s; animation-delay: -12s; }
.hero-scene .hs-bird + .hs-bird + .hs-bird { animation-duration: 33s; animation-delay: -24s; }
@keyframes hs-flap { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(-0.45); } }
/* Летят только над правой половиной (над заголовком не мельтешат), на краях пути появляются и тают */
@keyframes hs-fly {
  0% { transform: translate(300px, 10px); opacity: 0; }
  12% { opacity: 1; }
  50% { transform: translate(40px, -16px); opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translate(-200px, 6px); opacity: 0; }
}

/* Лодка покачивается и чуть дрейфует */
.hero-scene .hs-boat { animation: hs-bob 5.5s ease-in-out infinite; }
@keyframes hs-bob {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(6px, -3px) rotate(-1.2deg); }
  50% { transform: translate(12px, 1px) rotate(0.6deg); }
  75% { transform: translate(6px, -2px) rotate(1deg); }
}

/* Круги от лески расходятся */
.hero-scene .hs-ripple { animation: hs-ripple 3.2s ease-out infinite; }
.hero-scene .hs-ripple-2 { animation-delay: -1.6s; }
@keyframes hs-ripple { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(1.8); opacity: 0; } }

/* Вода течёт: линии волн сдвигаются на один период (400) в разные стороны */
.hero-scene .hs-wave { animation: hs-flow 14s linear infinite; }
.hero-scene .hs-wave:nth-of-type(2n) { animation-duration: 19s; animation-direction: reverse; }
.hero-scene .hs-wave:nth-of-type(3n) { animation-duration: 24s; }
@keyframes hs-flow { from { transform: translateX(0); } to { transform: translateX(-400px); } }

/* Блики солнца мерцают на воде */
.hero-scene .hs-glint { animation: hs-glint 2.6s ease-in-out infinite; }
.hero-scene .hs-glint:nth-of-type(2n) { animation-delay: -1.3s; }
.hero-scene .hs-glint:nth-of-type(3n) { animation-delay: -0.7s; }
@keyframes hs-glint { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.8; } }

/* Солнце дышит */
.hero-scene .hs-glow { animation: hs-glow 7s ease-in-out infinite; }
@keyframes hs-glow { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.08); opacity: 1; } }

/* Костёр мерцает, дым поднимается и тает */
.hero-scene .hs-flame { transform-origin: center bottom; animation: hs-flicker 0.7s ease-in-out infinite alternate; }
.hero-scene .hs-flame-2 { animation-duration: 0.55s; animation-delay: -0.2s; }
@keyframes hs-flicker { from { transform: scale(1, 1); } to { transform: scale(0.85, 1.25); } }
.hero-scene .hs-smoke { animation: hs-smoke 4s ease-out infinite; }
@keyframes hs-smoke { 0% { transform: translateY(4px); opacity: 0; } 30% { opacity: 0.6; } 100% { transform: translateY(-16px); opacity: 0; } }

/* Кто выключил анимацию в системе — пейзаж стоит */
@media (prefers-reduced-motion: reduce) {
  .hero-scene * { animation: none !important; }
}

/* ===== Черты «из США» (владелец, 2026-10-19) ===== */
.us-flag { width: 19px; height: 10px; flex: none; border-radius: 1.5px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); vertical-align: -1px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; }
.offer-origin { display: flex; align-items: center; gap: 6px; }

/* Ретро-печать «Оригинал из США» на первом экране */
.usa-stamp {
  position: absolute;
  top: 34px;
  right: 24px;
  width: 132px;
  height: 132px;
  color: #b22234;
  opacity: 0.85;
  transform: rotate(-12deg);
  filter: drop-shadow(0 2px 6px rgba(178, 34, 52, 0.18));
}
.usa-stamp svg { width: 100%; height: 100%; display: block; }
.usa-stamp text { font-family: "Rubik", system-ui, sans-serif; }
@media (max-width: 1000px) { .usa-stamp { width: 96px; height: 96px; top: 18px; right: 12px; } }
@media (max-width: 640px) { .usa-stamp { width: 74px; height: 74px; top: 12px; right: 8px; opacity: 0.75; } }

/* Полоса преимуществ под пейзажем: тонкая лента в цветах флага сверху */
.usa-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: -34px 0 0;
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(31, 61, 43, 0.14);
  overflow: hidden;
}
.usa-strip::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, #3c3b6e 0 25%, #fff 25% 30%, #b22234 30% 40%, #fff 40% 45%, #b22234 45% 55%, #fff 55% 60%, #b22234 60% 70%, #fff 70% 75%, #b22234 75% 100%);
}
.usa-item { display: flex; align-items: center; gap: 12px; padding: 18px 18px 16px; border-left: 1px solid var(--line); }
.usa-item:first-child { border-left: 0; }
.usa-item strong { display: block; color: var(--forest); font-size: 0.98rem; }
.usa-item span:not(.usa-ico) { display: block; color: var(--muted); font-size: 0.85rem; }
.usa-item .us-flag { width: 34px; height: 18px; border-radius: 3px; }
.usa-ico {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  background: #3c3b6e;
}
.usa-item:nth-child(3) .usa-ico { background: #b22234; }
.usa-item:nth-child(4) .usa-ico { background: #2e9b45; }
@media (max-width: 900px) {
  .usa-strip { grid-template-columns: 1fr 1fr; margin-top: -24px; }
  .usa-item:nth-child(3) { border-left: 0; }
  .usa-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.usa-strip + .worlds { margin-top: 28px; }

/* Бренды */
.brands-strip { text-align: center; }
.brands-title { margin: 0 0 10px; color: var(--muted); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.brands-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; }
.brands-row span {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  color: #7d8a80;
  text-transform: uppercase;
  transition: color 0.15s;
}
.brands-row span:hover { color: var(--forest); }

/* Флаг на лодке развевается */
.hero-scene .hs-flag { transform-box: fill-box; transform-origin: left center; animation: hs-wave-flag 1.6s ease-in-out infinite; }
@keyframes hs-wave-flag { 0%, 100% { transform: skewY(0deg) scaleX(1); } 50% { transform: skewY(-6deg) scaleX(0.92); } }
@media (prefers-reduced-motion: reduce) { .hero-scene .hs-flag { animation: none !important; } }

/* Полоска флага над преимуществами: синий край и ровные красно-белые полосы */
.usa-strip::before {
  background:
    linear-gradient(90deg, #3c3b6e 0 18%, transparent 18%),
    repeating-linear-gradient(90deg, #b22234 0 18px, #ffffff 18px 30px);
  height: 5px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
/* Телефон: печать не налезает на бейдж, в преимуществах только заголовки */
@media (max-width: 640px) {
  .usa-stamp { display: none; }
  .usa-item { padding: 14px 12px; gap: 10px; }
  .usa-item span:not(.usa-ico) { display: none; }
  .usa-item strong { font-size: 0.9rem; }
  .usa-item .us-flag { width: 28px; height: 15px; }
  .usa-ico { width: 28px; height: 28px; font-size: 0.85rem; }
  .brands-row span { font-size: 1.05rem; }
}

/* ===== «Поделиться» и страница товара /item/<id> (2026-10-20) ===== */
.offer-link { color: inherit; text-decoration: none; }
.offer-link:hover { text-decoration: none; color: var(--link); }
.offer-actions, .item-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.offer-actions .button { flex: 1 1 auto; }
.share-wrap { position: relative; display: inline-flex; }
.share-btn {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  border: 1px solid var(--line-strong); background: #fff; color: var(--forest);
  border-radius: 10px; padding: 10px 14px; font: inherit; font-weight: 600;
}
.share-btn:hover { border-color: var(--forest-2); background: #f4f8f1; }
.share-btn.icon-only { padding: 9px 10px; }
.share-btn.icon-only span { display: none; }
.share-pop {
  position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 30;
  display: flex; flex-direction: column; gap: 6px; min-width: 190px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px;
  box-shadow: 0 10px 28px rgba(31, 61, 43, 0.18);
}
.share-ok { font-size: 13px; font-weight: 600; color: #2e9b45; }
.share-pop a { display: block; text-align: center; border-radius: 8px; padding: 8px 10px; font-weight: 600; color: #fff; text-decoration: none; }
.share-pop .share-tg { background: #229ed9; }
.share-pop .share-wa { background: #25d366; }
.item-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 12px; }
.item-photo { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; position: relative; display: flex; align-items: center; justify-content: center; min-height: 320px; }
.item-photo img { max-width: 100%; max-height: 480px; object-fit: contain; }
.item-photo figcaption { position: absolute; right: 10px; bottom: 8px; font-size: 11px; color: var(--muted); }
.item-main h1 { font-family: "Rubik", system-ui, sans-serif; text-transform: none; font-size: clamp(1.4rem, 3vw, 2rem); }
.item-main .note { color: var(--text); line-height: 1.55; }
.item-main .price { font-size: 2rem; }
@media (max-width: 800px) { .item-detail { grid-template-columns: 1fr; } .item-photo { min-height: 220px; } }

.share-url { width: 100%; font: inherit; font-size: 13px; padding: 6px 8px; border: 1px solid var(--line-strong); border-radius: 8px; }

/* Нижняя зубчатая полоса колышется, как море (владелец, 2026-10-22): два слоя качаются в разном ритме */
.footer-trees { left: -3%; right: auto; width: 106%; transform-origin: 50% 100%; animation: sea-sway 22s ease-in-out infinite; will-change: transform; }
.footer-trees.back { height: 82px; opacity: .45; animation: sea-sway-back 29s ease-in-out infinite; }
@keyframes sea-sway { 0%, 100% { transform: translateX(0) scaleY(1); } 50% { transform: translateX(-0.6%) scaleY(1.04); } }
@keyframes sea-sway-back { 0%, 100% { transform: translateX(-0.5%) scaleY(1.03); } 50% { transform: translateX(0.3%) scaleY(0.98); } }
@media (prefers-reduced-motion: reduce) { .footer-trees, .footer-trees.back { animation: none; } }

/* SEO-тексты: описание раздела, бренды, частые вопросы (lib/seo.js) */
.seo-prerender { max-width: 900px; }
.seo-text { margin: 36px 0 8px; padding: 22px 26px; background: #fffaf0; border: 1px solid rgba(31, 61, 43, .12); border-radius: 18px; color: #3d4a40; line-height: 1.6; }
.seo-text h2 { margin: 0 0 10px; font-size: 1.35rem; }
.seo-text p { margin: 0 0 10px; }
.seo-text a { color: var(--forest, #1f3d2b); text-decoration: underline; text-underline-offset: 2px; }
.seo-faq details { border-top: 1px solid rgba(31, 61, 43, .12); padding: 10px 0; }
.seo-faq details:first-of-type { border-top: 0; }
.seo-faq summary { cursor: pointer; font-weight: 600; color: #1f3d2b; }
.seo-faq details p { margin: 8px 0 2px; }
.brand-index { columns: 4 200px; list-style: none; padding: 0; margin: 20px 0; }
.brand-index li { padding: 4px 0; break-inside: avoid; }
.brand-index a { color: #1f3d2b; font-weight: 600; }

/* «.про» в логотипе Промысел.про: мельче и цветом зари */
.brand-tld { font-size: 0.62em; letter-spacing: 0.5px; color: #e07a2e; text-transform: none; margin-left: 1px; }
.invoice-logo-name { color: #1f3d2b; font-family: var(--display); }

/* Переключатель языка RU/EN в шапке */
.lang-switch { display: inline-flex; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; overflow: hidden; margin-left: 4px; }
.site-nav .lang-switch a { padding: 5px 10px; border-radius: 0; font-size: 13px; font-weight: 600; color: #b9c9b6; }
.site-nav .lang-switch a.active { background: #e07a2e; color: #fff; }
.site-nav .lang-switch a:hover { color: #fff; }
/* На телефоне меню прокручивается вбок — RU/EN ставим в угол шапки, рядом с логотипом */
@media (max-width: 640px) {
  .site-header .header-inner { position: relative; }
  .site-nav .lang-switch { position: absolute; top: 14px; right: 16px; margin: 0; background: rgba(0, 0, 0, 0.15); }
}
