:root {
  --bg-night: #061009;
  --bg-plum: #0f1f14;
  --gold-antique: #e6bc42;
  --gold-bright: #ffe675;
  --gold-border: rgba(230, 188, 66, 0.55);
  --cyan-bio: #00f5d4;
  --lime-acid: #39ff14;
  --text-ivory: #fcf6ea;
  --text-muted: #e3d6bc;

  /* Единая насыщенная палитра */
  --vine-stem: #2b5926;
  --vine-leaf: #56b340;
  --vine-leaf-light: #8effaa;
  --vine-glow: rgba(94, 232, 165, 0.48);
  --forest-mist-1: rgba(62, 168, 72, 0.28);
  --forest-mist-2: rgba(0, 245, 212, 0.2);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-night);
  color: var(--text-ivory);
  font-family: 'Cormorant Garamond', Georgia, serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body.layer1-locked {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
  touch-action: none;
}

/* ==========================================================================
   СЛОЙ 1: СТАТИЧНАЯ СТЕНА (2с) -> АВТОЗУМ И БЕЗЗВУЧНОЕ ВИДЕО
   ========================================================================== */
#layer-1 {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #140a20 0%, #050308 100%);
  z-index: 100;
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.75s;
}

#layer-1.hidden-portal {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.frame-16x9 {
  position: relative;
  width: 100vw;
  height: 56.25vw;
  max-height: 100vh;
  max-height: 100dvh;
  max-width: 177.78vh;
  max-width: 177.78dvh;
  background: #050308;
  box-shadow: 0 0 140px rgba(0, 0, 0, 0.98);
  overflow: hidden;
}

#source-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 2;
}

.wall-stage {
  position: absolute;
  inset: 0;
  z-index: 4;
  transform-origin: 50% 37.5%;
  transform: scale(1);
  opacity: 1;
  transition:
    transform 1.25s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.75s ease 0.45s;
  will-change: transform, opacity;
}

.wall-stage.no-transition {
  transition: none;
}

.wall-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.wall-stage.zooming {
  transform: scale(2.28);
  opacity: 0;
  pointer-events: none;
}

.veles-rune-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: #5effea;
  animation: runeNeonPulse 2.4s ease-in-out infinite;
}

.veles-rune-icon.veles-rune-sm {
  width: 24px;
  height: 24px;
}

.veles-rune-icon.veles-rune-md {
  width: 30px;
  height: 30px;
}

.veles-rune-icon.veles-rune-lg {
  width: 36px;
  height: 36px;
}

.veles-rune-icon svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter:
    drop-shadow(0 0 4px #00f5d4)
    drop-shadow(0 0 10px rgba(0, 245, 212, 0.9))
    drop-shadow(0 0 18px rgba(128, 237, 153, 0.65));
}

@keyframes runeNeonPulse {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.07);
    filter: brightness(1.22);
  }
}

.top-hud {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  right: max(20px, env(safe-area-inset-right));
  z-index: 120;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hud-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  background: rgba(11, 16, 12, 0.88);
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  color: var(--text-ivory);
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.75);
  transition: all 0.25s ease;
  text-decoration: none;
}

.hud-btn .is-hidden {
  display: none;
}

.hud-btn:hover {
  border-color: var(--vine-leaf-light);
  color: #fff;
  box-shadow: 0 0 16px var(--vine-glow);
}

.hud-btn.sound-toggle-btn {
  border-color: var(--gold-antique);
}

.hud-btn.sound-toggle-btn.sound-active {
  border-color: var(--cyan-bio);
  color: #fff;
  box-shadow: 0 0 18px rgba(0, 245, 212, 0.42);
}

.hud-btn.enter-shop-btn {
  background: linear-gradient(135deg, rgba(45, 90, 39, 0.55), rgba(0, 245, 212, 0.25));
  border-color: var(--vine-leaf-light);
}

.hud-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--gold-antique);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.hud-btn.sound-toggle-btn.sound-active svg {
  stroke: var(--cyan-bio);
}

.progress-rail {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 180px;
  background: rgba(212, 175, 55, 0.18);
  border-radius: 4px;
  z-index: 120;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.progress-rail.visible {
  opacity: 1;
}

.progress-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--gold-antique), var(--cyan-bio));
  box-shadow: 0 0 10px var(--cyan-bio);
}

/* ==========================================================================
   АТМОСФЕРНЫЙ МИР ЛАВКИ «ДАРЫ ВЕЛЕСА» (Яркий и контрастный без лишних растений)
   ========================================================================== */
#shop-world {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 15% 10%, var(--forest-mist-1) 0%, transparent 52%),
    radial-gradient(ellipse at 85% 28%, var(--forest-mist-2) 0%, transparent 52%),
    radial-gradient(ellipse at 50% 60%, var(--forest-mist-1) 0%, transparent 58%),
    radial-gradient(ellipse at 30% 90%, rgba(230, 188, 66, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, #07130a 0%, #0d2113 38%, #0e1422 72%, #060e08 100%);
  padding-bottom: 130px;
  overflow: hidden;
}

#shop-world::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 920px;
  background: url('../assets/images/backgrounds/hero-forest-arch.jpg?v=2') center top / cover no-repeat;
  pointer-events: none;
  z-index: 2;
}

.shop-side-vines {
  position: absolute;
  top: 760px;
  bottom: 0;
  width: clamp(72px, 7.4vw, 175px);
  background-image: url('../assets/images/backgrounds/side-vines-border.webp?v=1');
  background-position: left top;
  background-size: 100% auto;
  background-repeat: repeat-y;
  pointer-events: none;
  z-index: 6;
  opacity: 0.96;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 180px, #000 calc(100% - 220px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 180px, #000 calc(100% - 220px), transparent 100%);
  filter: drop-shadow(0 0 14px rgba(0, 0, 0, 0.92));
}

.shop-side-vines-left {
  left: 0;
}

.shop-side-vines-right {
  right: 0;
  transform: scaleX(-1);
}

#shop-world::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 920px;
  background:
    linear-gradient(180deg, rgba(6, 14, 8, 1) 0%, rgba(6, 14, 8, 0.65) 18%, rgba(6, 14, 8, 0) 38%),
    url('../assets/images/backgrounds/bg-bottom-sanctuary.jpg?v=1') center bottom / cover no-repeat;
  pointer-events: none;
  z-index: 1;
}

#ambient-spores-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 2;
  opacity: 0.65;
}

.torch-cursor-glow {
  position: fixed;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--vine-glow) 0%, rgba(212, 175, 55, 0.06) 45%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.shop-content-layer {
  position: relative;
  z-index: 8;
}

/* Верхняя шапка */
.shop-navbar {
  position: sticky;
  top: 0;
  z-index: 85;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 38px;
  background: linear-gradient(180deg, rgba(7, 14, 9, 0.96) 0%, rgba(12, 20, 14, 0.92) 100%);
  border-bottom: 2.5px solid var(--vine-leaf);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.9), 0 0 22px var(--vine-glow);
  backdrop-filter: blur(14px);
}

.brand-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(19px, 2.1vw, 27px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 28px;
  min-height: 58px;
  border-radius: 10px;
  background: url('../assets/images/interior/veles-plaque-frame.jpg') center / 100% 100% no-repeat;
  border: 1.5px solid rgba(212, 175, 55, 0.55);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.9), 0 0 18px rgba(180, 20, 45, 0.4);
}

/* 3D-типографика в стиле «GOLD» (тёмно-бирюзовая грань + тонкое чистое золото) */
.gold-3d-text {
  position: relative;
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.05;
  color: #c9971c;
  -webkit-text-stroke: 0.75px #eed06b;
  paint-order: stroke fill;
  text-shadow:
    1px 1px 0 #e6b83c,
    2px 2px 0 #9c6e0c,
    3px 4px 7px rgba(0, 0, 0, 0.9);
}

.gold-3d-text::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(2, 14, 20, 0.5) 0%, transparent 45%),
    radial-gradient(circle at 75% 65%, rgba(2, 14, 20, 0.55) 0%, transparent 48%),
    radial-gradient(circle at 48% 20%, rgba(42, 194, 224, 0.45) 0%, transparent 40%),
    linear-gradient(180deg, #1ea1bf 0%, #0b5d73 42%, #042c38 78%, #01131b 100%);
  background-size: 38px 26px, 44px 30px, 52px 34px, 100% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.75px #f2d572;
  paint-order: stroke fill;
  text-shadow: none;
}

.gold-3d-text.gold-3d-lg {
  -webkit-text-stroke: 0.95px #f0d16d;
  text-shadow:
    1px 1px 0 #ebc046,
    2px 2px 0 #ab7a0f,
    3px 3px 0 #6e4a04,
    4px 5px 10px rgba(0, 0, 0, 0.92);
}

.gold-3d-text.gold-3d-lg::after {
  -webkit-text-stroke: 0.95px #f5da7d;
}

/* Славянская переливающаяся янтарно-золотая типографика («АЗБУКА» + «GOLD») */
.golden-black-plate {
  display: inline-block;
  padding: 10px 22px 8px;
  border-radius: 10px;
  background: #030404;
  border: 2px solid rgba(245, 182, 34, 0.72);
  outline: 1px solid rgba(196, 130, 14, 0.45);
  outline-offset: -5px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.94),
    0 0 18px rgba(242, 152, 12, 0.24);
}

.roman-numeral {
  color: #00f5d4;
  font-size: 1.12em;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-shadow: 0 0 11px rgba(0, 245, 212, 0.8), 0 1px 2px #000;
  -webkit-text-stroke: 0.85px #00f5d4;
  paint-order: stroke fill;
}

.slavic-golden-text {
  display: inline-block;
  font-family: 'Monomakh', 'Ruslan Display', serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.24;
  background-image:
    linear-gradient(112deg, transparent 22%, rgba(255, 244, 170, 0.62) 38%, rgba(255, 255, 224, 0.78) 42%, transparent 56%),
    linear-gradient(180deg, rgba(255, 198, 36, 0.14) 0%, rgba(196, 98, 0, 0.34) 55%, rgba(235, 150, 8, 0.2) 100%),
    url('../assets/images/interior/gold-glitter.jpg');
  background-size: 240% 100%, 100% 100%, 96px 96px;
  background-position: 120% 0, 0 0, 0 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.45px #f5b622;
  paint-order: stroke fill;
  animation: amberGoldShimmer 5.5s ease-in-out infinite;
  filter:
    drop-shadow(0 2px 3px rgba(0, 0, 0, 0.98))
    drop-shadow(0 0 12px rgba(242, 152, 12, 0.62));
}

.slavic-golden-text.slavic-golden-sm {
  -webkit-text-stroke: 0.35px #f5b622;
  filter:
    drop-shadow(0 2px 3px rgba(0, 0, 0, 0.96))
    drop-shadow(0 0 9px rgba(242, 152, 12, 0.48));
}

@keyframes amberGoldShimmer {
  0%, 100% {
    background-position: 120% 0, 0 0, 0 0;
  }
  50% {
    background-position: -120% 0, 0 0, 0 0;
  }
}

.veles-inline-plaque {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(16px, 1.7vw, 22px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  min-height: 50px;
  border-radius: 10px;
  background: url('../assets/images/interior/veles-plaque-frame.jpg') center / 100% 100% no-repeat;
  border: 1.5px solid rgba(212, 175, 55, 0.6);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.9), 0 0 18px rgba(180, 20, 45, 0.42);
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  background: linear-gradient(135deg, rgba(16, 46, 36, 0.94), rgba(8, 28, 40, 0.94));
  border: 2px solid var(--gold-bright);
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0a4f61;
  -webkit-text-stroke: 1.05px #ffea78;
  paint-order: stroke fill;
  text-shadow: 1px 1px 0 #f5b618, 1.5px 1.5px 0 #ad6e04, 2px 3px 5px rgba(0, 0, 0, 0.95);
  cursor: pointer;
  box-shadow: 0 0 20px rgba(255, 223, 107, 0.4), 0 0 16px var(--vine-glow);
  transition: all 0.25s ease;
}

.cart-pill:hover {
  transform: translateY(-1px);
  border-color: #fff3a1;
  color: #0d6880;
  box-shadow: 0 0 28px rgba(255, 223, 107, 0.65), 0 0 24px var(--vine-glow);
}

.cart-count {
  background: linear-gradient(135deg, #ffe675, #f09e12);
  color: #051821;
  -webkit-text-stroke: 0;
  text-shadow: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  padding: 2px 9px;
  border-radius: 12px;
  font-size: 12.5px;
  box-shadow: 0 0 10px rgba(255, 223, 107, 0.6);
}

/* ПАРЯЩАЯ НАВИГАЦИЯ «РУННЫЙ КОМПАС» ВНИЗУ ЭКРАНА */
.floating-rune-dock {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: #0d0205;
  border: 3px solid #ff1a35;
  outline: 1.5px solid rgba(255, 42, 66, 0.48);
  outline-offset: -6px;
  border-radius: 42px;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.96), 0 0 28px rgba(255, 26, 53, 0.48);
  backdrop-filter: blur(14px);
  max-width: 97vw;
  overflow-x: auto;
  scrollbar-width: none;
}

.floating-rune-dock::-webkit-scrollbar {
  display: none;
}

.dock-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 26px;
  background: #0d0306;
  border: 2px solid #39ff14;
  color: #ee8aff;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  -webkit-text-stroke: 0.7px #1a0224;
  paint-order: stroke fill;
  text-shadow: 0 1px 1px #000, 0 0 3px rgba(217, 75, 255, 0.72);
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.36), inset 0 0 8px rgba(57, 255, 20, 0.14);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  animation: dockGreenBtnPulse 2.2s infinite ease-in-out;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.dock-sym {
  color: #39ff14;
  font-weight: 900;
  -webkit-text-stroke: 0.45px #39ff14;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.85), 0 1px 2px #000;
}

.dock-tg-mini-icon {
  width: 21px;
  height: 21px;
  border-radius: 5px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.dock-link .roman-numeral {
  color: #00f5d4;
  font-size: 1.12em;
  -webkit-text-stroke: 0.75px #00f5d4;
  text-shadow: 0 0 10px rgba(0, 245, 212, 0.85), 0 1px 2px #000;
}

.dock-link:hover,
.dock-link.active {
  background: #14220e;
  border-color: #7dff66;
  color: #f7c2ff;
  -webkit-text-stroke: 0.7px #240333;
  text-shadow: 0 1px 1px #000, 0 0 5px rgba(226, 97, 255, 0.9);
  box-shadow: 0 0 22px rgba(57, 255, 20, 0.82), inset 0 0 12px rgba(57, 255, 20, 0.26);
  transform: translateY(-1px);
}

@keyframes dockGreenBtnPulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.34), inset 0 0 6px rgba(57, 255, 20, 0.14);
    border-color: #39ff14;
  }
  50% {
    box-shadow: 0 0 19px rgba(57, 255, 20, 0.74), inset 0 0 11px rgba(57, 255, 20, 0.24);
    border-color: #7dff66;
  }
}

/* Интерьерная композиция */
.interior-hero {
  position: relative;
  max-width: 1200px;
  margin: 54px auto 44px;
  padding: 0 54px;
}

.interior-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  grid-template-rows: 235px 235px;
  gap: 16px;
  border-radius: 20px;
  padding: 18px;
  background: linear-gradient(160deg, rgba(14, 26, 16, 0.85), rgba(18, 8, 30, 0.88));
  border: 3px solid var(--vine-leaf);
  outline: 1.5px solid var(--gold-antique);
  outline-offset: -8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 34px var(--vine-glow);
}

.collage-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid rgba(128, 237, 153, 0.38);
  background: #0c0614;
}

.collage-item.main-door-view {
  grid-row: 1 / 3;
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(1.12) contrast(1.08) saturate(1.22);
  transition: transform 0.7s ease, filter 0.5s ease;
}

.collage-item.clean-watermark-crop img {
  object-position: center 15%;
  transform: scale(1.18);
}

.collage-item.clean-watermark-crop:hover img {
  transform: scale(1.22);
}

.collage-item.clean-watermark-crop::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 36%;
  background: linear-gradient(0deg, #0a0412 12%, transparent 100%);
  pointer-events: none;
}

.collage-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 36px 24px 20px;
  background: linear-gradient(0deg, rgba(6, 2, 12, 0.97) 0%, rgba(10, 4, 18, 0.78) 68%, transparent 100%);
  pointer-events: none;
  z-index: 3;
}

.veles-emblem-plaque {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  padding: 18px 42px;
  min-height: 82px;
  border-radius: 12px;
  background: url('../assets/images/interior/veles-plaque-frame.jpg') center / 100% 100% no-repeat;
  border: 1.5px solid rgba(212, 175, 55, 0.65);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.95),
    0 0 26px rgba(180, 20, 45, 0.45);
}

.veles-emblem-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(22px, 2.7vw, 35px);
  line-height: 1.05;
}

.collage-caption p {
  font-size: 16.5px;
  color: var(--text-ivory);
  line-height: 1.48;
  max-width: 660px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
}

.sub-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  height: 100%;
}

/* ==========================================================================
   УСТАВ ЛЕСНОГО СБОРА И ТЁМНОЙ ФЕРМЕНТАЦИИ
   ========================================================================== */
.craft-manifesto {
  max-width: 1360px;
  margin: 0 auto 46px;
  padding: 0 58px;
  scroll-margin-top: 85px;
}

.manifesto-card {
  position: relative;
  padding: 34px 32px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(62, 168, 72, 0.34) 0%, transparent 58%),
    linear-gradient(165deg, #16301b 0%, #101424 55%, #211808 100%);
  border: 3px solid var(--gold-bright);
  outline: 2px solid var(--vine-leaf-light);
  outline-offset: -10px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.9),
    0 0 40px var(--vine-glow),
    inset 0 0 42px rgba(255, 223, 107, 0.16);
}

#shop-world.bg-loaded .manifesto-card {
  background-color: #050706;
  background-image:
    linear-gradient(180deg, rgba(4, 7, 5, 0.32), rgba(4, 7, 5, 0.46)),
    url('../assets/images/backgrounds/bg-manifesto.jpg?v=2');
  background-position: 0 0, center top;
  background-size: 100% 100%, 560px auto;
  background-repeat: no-repeat, repeat;
}

.manifesto-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
  border-bottom: 2px solid rgba(255, 223, 107, 0.45);
  padding-bottom: 16px;
}

.manifesto-header h2.manifesto-title-flex {
  font-family: 'Monomakh', 'Ruslan Display', serif;
  font-size: clamp(23px, 2.5vw, 33px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.craft-seal {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 20px;
  border-radius: 9px;
  background: linear-gradient(135deg, #061b0c 0%, #0b2b14 100%);
  border: 2.5px solid #2ee568;
  color: var(--gold-bright);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px #000, 0 0 1px #000;
  box-shadow: 0 0 20px rgba(46, 229, 104, 0.48), 0 6px 18px rgba(0, 0, 0, 0.88);
}

.seal-glow-gem {
  color: #39ff7a;
  font-size: 17px;
  line-height: 1;
  text-shadow:
    0 0 8px #39ff7a,
    0 0 18px rgba(57, 255, 122, 0.92);
}

.manifesto-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.pillar-tree-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 16px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.95) 58%, rgba(0, 0, 0, 0.72) 82%, transparent 100%);
}

.pillar-tree-showcase img {
  display: block;
  width: 100%;
  max-width: 420px;
  max-height: 655px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(0, 0, 0, 0.95));
}

.pillar-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px 10px;
  border-radius: 14px;
  background-color: #070503;
  background-image:
    linear-gradient(180deg, rgba(6, 4, 2, 0.16), rgba(6, 4, 2, 0.24)),
    url('../assets/images/interior/pillar-waves-bg.jpg?v=1');
  background-position: 0 0, center top;
  background-size: 100% 100%, 380px auto;
  background-repeat: no-repeat, repeat;
  border: 2.5px solid var(--gold-bright);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.82),
    0 0 26px rgba(242, 165, 24, 0.34),
    inset 0 0 24px rgba(242, 165, 24, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pillar-box:hover {
  transform: translateY(-4px);
  border-color: #ffe680;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.9),
    0 0 34px rgba(255, 200, 56, 0.45);
}

.pillar-num-badge {
  display: inline-block;
  padding: 5px 16px;
  margin-bottom: 8px;
  border-radius: 7px;
  background: linear-gradient(135deg, #d11124 0%, #8e0815 100%);
  border: 2px solid #ff4757;
  color: #ffffff;
  font-family: 'Ruslan Display', serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  -webkit-text-stroke: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.88);
  box-shadow: 0 0 14px rgba(230, 24, 44, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.pillar-box h4 {
  width: 100%;
  min-height: 126px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Ruslan Display', serif;
  font-size: 16.5px;
  margin-bottom: 10px;
  padding: 48px 32px 22px;
  border: none;
  border-radius: 0;
  background: url('../assets/images/interior/gold-title-frame.png?v=1') center / 100% 100% no-repeat;
  box-shadow: none;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.92));
}

.pillar-charter-tablet {
  width: 100%;
  flex: 1;
  min-height: 468px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 104px 86px;
  border-radius: 10px;
  background: url('../assets/images/interior/charter-tablet.jpg?v=1') center / 100% 100% no-repeat;
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.65),
    inset 0 0 0 1px rgba(245, 198, 76, 0.32);
}

.pillar-charter-tablet p {
  font-family: 'Monomakh', 'Cormorant Garamond', serif;
  font-size: 12.2px;
  line-height: 1.36;
  color: #140b04;
  font-weight: 600;
  text-align: left;
  text-shadow: 0 1px 0 rgba(255, 238, 190, 0.35);
}

.pillar-charter-tablet p strong {
  color: #4a0d08;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(110, 22, 14, 0.38);
  text-underline-offset: 2px;
}

/* ==========================================================================
   ВИТРИНА ТОВАРОВ
   ========================================================================== */
.catalog-section {
  width: min(1296px, calc(100% - 116px));
  margin: 0 auto 75px;
  padding: 44px 32px;
  border-radius: 20px;
  border: 2.5px solid rgba(230, 188, 66, 0.65);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.92), 0 0 32px rgba(0, 245, 212, 0.14);
  scroll-margin-top: 85px;
  overflow: hidden;
}

#shop-world.bg-loaded #section-mushrooms {
  background-color: #040d07;
  background-image:
    linear-gradient(180deg, rgba(4, 12, 7, 0.30), rgba(4, 10, 7, 0.44)),
    url('../assets/images/backgrounds/bg-mushrooms.jpg?v=2');
  background-position: 0 0, center top;
  background-size: 100% 100%, 760px auto;
  background-repeat: no-repeat, repeat;
}

#shop-world.bg-loaded #section-herbs {
  background-color: #040c09;
  background-image:
    linear-gradient(180deg, rgba(4, 12, 9, 0.30), rgba(4, 10, 8, 0.44)),
    url('../assets/images/backgrounds/bg-herbs.jpg?v=2');
  background-position: 0 0, center top;
  background-size: 100% 100%, 540px auto;
  background-repeat: no-repeat, repeat;
}

.section-heading {
  text-align: center;
  margin-bottom: 34px;
}

.layer-tag {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 6px 18px;
  border-radius: 20px;
  background: rgba(6, 18, 10, 0.92);
  border: 1.5px solid var(--vine-leaf-light);
  color: var(--vine-leaf-light);
  font-size: 13.5px;
  font-weight: 900;
  letter-spacing: 0.09em;
  -webkit-text-stroke: 0.35px currentColor;
  text-transform: uppercase;
  margin: 0 auto 14px;
  box-shadow: 0 0 16px var(--vine-glow);
}

.section-heading h1 {
  display: block;
  width: fit-content;
  max-width: 100%;
  font-family: 'Ruslan Display', serif;
  font-size: clamp(28px, 3.4vw, 44px);
  margin: 0 auto 14px;
  padding: 12px 28px 10px;
  border-radius: 12px;
  background: #030404;
  border: 2px solid rgba(245, 182, 34, 0.72);
  outline: 1px solid rgba(196, 130, 14, 0.45);
  outline-offset: -5px;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.94),
    0 0 20px rgba(242, 152, 12, 0.24);
}

.section-heading p {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  -webkit-text-stroke: 0.25px #ffffff;
  letter-spacing: 0.015em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.98), 0 0 14px rgba(0, 0, 0, 0.95);
  max-width: 840px;
  margin: 0 auto 18px;
  padding: 10px 20px;
  border-radius: 10px;
  background: #040705;
  border: 1px solid rgba(255, 255, 255, 0.14);
  line-height: 1.5;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

#mushrooms-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

#mushrooms-grid .product-card {
  padding: 13px 13px 14px;
  border-radius: 16px;
}

#mushrooms-grid .ornament-corner {
  width: 48px;
  height: 48px;
}

#mushrooms-grid .variant-ribbon {
  margin-bottom: 8px;
  padding: 4px 10px;
  font-size: 11px;
}

#mushrooms-grid .product-cover-wrap {
  height: 168px;
  margin-bottom: 10px;
}

#mushrooms-grid .product-title {
  font-size: 17.5px;
  line-height: 1.16;
  margin-bottom: 7px;
  padding: 7px 10px 6px;
}

#mushrooms-grid .product-lore {
  font-size: 13.5px;
  line-height: 1.32;
  margin-bottom: 8px;
}

#mushrooms-grid .product-craft-specs {
  font-size: 12px;
  line-height: 1.32;
  padding: 7px 9px;
  margin-bottom: 10px;
}

#mushrooms-grid .options-block {
  gap: 6px;
  margin-bottom: 10px;
}

#mushrooms-grid .option-group-label {
  font-size: 11px;
  margin-bottom: 3px;
}

#mushrooms-grid .seg-btn {
  padding: 5px 7px;
  font-size: 13.5px;
}

#mushrooms-grid .card-footer-row {
  padding-top: 8px;
  gap: 8px;
}

#mushrooms-grid .price-label {
  font-size: 10.5px;
}

#mushrooms-grid .price-value {
  font-size: 20px;
}

#mushrooms-grid .buy-btn {
  padding: 8px 12px;
  font-size: 14px;
}

/* Единая жёлтая плашка вида гриба (чёрный жирный текст на ярком жёлтом фоне) */
.form-highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 7px;
  background: linear-gradient(135deg, #ffe23b 0%, #ffb800 100%);
  border: 2px solid #fff399;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.78), 0 0 14px rgba(255, 208, 0, 0.42);
}

.form-highlight-label {
  color: #1a0f00;
  font-weight: 800;
}

.form-highlight-badge strong {
  color: #000000;
  font-weight: 900;
  text-shadow: none;
}

/* Галерея перелистывания фото при наведении на карточку */
.cover-gallery-controls {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.product-card:hover .cover-gallery-controls,
.product-cover-wrap:hover .cover-gallery-controls {
  opacity: 1;
}

.cover-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 36px;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: rgba(5, 4, 10, 0.78);
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.85);
  transition: background 0.18s ease, transform 0.18s ease;
}

.cover-arrow.prev { left: 6px; }
.cover-arrow.next { right: 6px; }

.cover-arrow:hover {
  background: rgba(25, 16, 40, 0.95);
  transform: translateY(-50%) scale(1.06);
}

.cover-gallery-controls.single-only .cover-arrow {
  opacity: 0.48;
  cursor: default;
}

.cover-dots-bar {
  position: absolute;
  left: 10px;
  bottom: 8px;
  transform: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 12px;
  background: rgba(5, 4, 10, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.28);
  pointer-events: auto;
}

.cover-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}

.cover-dot.active {
  background: #ffd24d;
  transform: scale(1.22);
  box-shadow: 0 0 6px #ffd24d;
}

.cover-counter {
  font-size: 10.5px;
  font-weight: 800;
  color: #f6f2e8;
  margin-left: 2px;
}

.product-card {
  position: relative;
  border-radius: 18px;
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  overflow: hidden;
  isolation: isolate;
}

.product-card:hover {
  transform: translateY(-7px);
}

.ornament-corner {
  position: absolute;
  width: 64px;
  height: 64px;
  pointer-events: none;
  z-index: 4;
  opacity: 0.95;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.85));
}

.ornament-corner.tl { top: 4px; left: 4px; }
.ornament-corner.tr { top: 4px; right: 4px; transform: scaleX(-1); }
.ornament-corner.bl { bottom: 4px; left: 4px; transform: scaleY(-1); }
.ornament-corner.br { bottom: 4px; right: 4px; transform: scale(-1, -1); }

.variant-ribbon {
  position: relative;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-cover-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  margin-bottom: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  background: #090410;
}

.product-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(1.08) contrast(1.06) saturate(1.18);
  transition: transform 0.55s ease, filter 0.35s ease;
}

.product-card:hover .product-cover-img {
  transform: scale(1.07);
  filter: brightness(1.14) contrast(1.08) saturate(1.24);
}

.product-badge-species {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(7, 4, 12, 0.86);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
}

.product-title {
  display: block;
  font-family: 'Ruslan Display', serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  padding: 9px 14px 8px;
  border-radius: 10px;
  background: rgba(6, 4, 12, 0.68);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-left-width: 4px;
  backdrop-filter: blur(8px);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  line-height: 1.24;
  z-index: 3;
}

.product-lore {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.48;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  margin-bottom: 10px;
  z-index: 3;
}

.product-craft-specs {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.44;
  color: #f6f2e8;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.52);
  border-left: 3px solid var(--vine-leaf-light);
  margin-bottom: 14px;
  z-index: 3;
}

.options-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  z-index: 3;
}

.option-group-label {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #f4efe0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
  margin-bottom: 4px;
}

.segmented-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.segmented-row-1 {
  grid-template-columns: 1fr;
}

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

.stock-status-pill {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 6;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.88);
}

.stock-status-pill.is-out {
  background: rgba(132, 12, 24, 0.94);
  border: 1.5px solid #ff6b7a;
  color: #fff2f4;
}

.stock-status-pill.is-low {
  background: rgba(128, 72, 6, 0.94);
  border: 1.5px solid #ffd24d;
  color: #fff8d6;
}

.product-card.is-out-of-stock .product-cover-img {
  filter: grayscale(0.55) brightness(0.84) contrast(1.05);
}

.buy-btn.is-disabled {
  background: rgba(88, 82, 96, 0.45) !important;
  color: rgba(255, 255, 255, 0.72) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: none !important;
  cursor: not-allowed;
  transform: none !important;
}

/* Старинный свиток правил микродозинга сбоку в разделе «Грибы» */
.microdosing-scroll-slot {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
}

.microdosing-scroll-sheet {
  width: 100%;
  max-width: 560px;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 3px solid rgba(230, 188, 66, 0.85);
  background: url('../assets/images/interior/microdosing-scroll.jpg?v=1') center / 100% 100% no-repeat;
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.92),
    0 0 28px rgba(230, 188, 66, 0.28);
}

.microdosing-scroll-body {
  width: 100%;
  margin: 134px 106px 124px 104px;
  padding: 14px 16px;
  border-radius: 24px;
  background: radial-gradient(closest-side, rgba(236, 214, 168, 0.80) 58%, rgba(232, 206, 156, 0.42) 86%, rgba(232, 206, 156, 0) 100%);
  color: #0e0401;
  text-align: left;
}

.scroll-emblem-title {
  font-family: 'Ruslan Display', serif;
  font-size: 19px;
  line-height: 1.18;
  text-align: center;
  color: #ff1c1c;
  -webkit-text-stroke: 2.3px #000000;
  paint-order: stroke fill;
  text-shadow:
    0 2px 3px rgba(0, 0, 0, 0.42),
    0 0 8px rgba(255, 248, 228, 0.95);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.scroll-rule {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 13px;
  line-height: 1.32;
  font-weight: 700;
  color: #020100;
  -webkit-text-stroke: 0.45px #020100;
  paint-order: stroke fill;
  text-shadow: 0 0 7px rgba(248, 232, 198, 0.98), 0 1px 0 rgba(255, 250, 235, 0.95);
  margin-bottom: 7px;
}

.scroll-rule strong {
  color: #ff1414;
  font-weight: 700;
  -webkit-text-stroke: 0.95px #050200;
  paint-order: stroke fill;
  text-shadow: 0 0 6px rgba(255, 246, 224, 0.85);
}

.scroll-caution {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 11.4px;
  line-height: 1.3;
  font-weight: 700;
  font-style: normal;
  color: #020100;
  -webkit-text-stroke: 0.4px #020100;
  paint-order: stroke fill;
  text-shadow: 0 0 7px rgba(248, 232, 198, 0.98), 0 1px 0 rgba(255, 250, 235, 0.95);
  border-top: 2px dashed rgba(255, 20, 20, 0.85);
  padding-top: 7px;
  margin-top: 7px;
}

.scroll-caution strong {
  color: #ff1414;
  font-weight: 700;
  -webkit-text-stroke: 0.9px #050200;
  paint-order: stroke fill;
  text-shadow: 0 0 6px rgba(255, 246, 224, 0.85);
}

.seg-btn {
  padding: 8px 10px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 15.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: all 0.2s ease;
}

.seg-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.84);
}

.seg-btn.selected {
  color: #060309;
  font-weight: 800;
}

.card-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  z-index: 3;
}

.price-box {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 12px;
  font-weight: 800;
  color: #f4efe0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-value {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.buy-btn {
  flex: 1;
  padding: 11px 16px;
  border-radius: 8px;
  border: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.86);
  transition: all 0.25s ease;
}

.buy-btn:hover {
  transform: translateY(-2px);
}

/* 5 ФИРМЕННЫХ СТИЛЕЙ КАРТОЧЕК (яркое неоновое свечение + утолщённая рамка) */
.product-card.style-v1 {
  background: radial-gradient(circle at 50% 0%, #4d178a 0%, #20093d 58%, #10041f 100%);
  border: 4px solid #d99bff;
  box-shadow:
    0 0 22px rgba(199, 125, 255, 0.55),
    0 0 46px rgba(157, 78, 221, 0.32),
    inset 0 0 32px rgba(199, 125, 255, 0.34);
}
.product-card.style-v1:hover {
  border-color: #f0ccff;
  box-shadow:
    0 0 28px rgba(215, 155, 255, 0.75),
    0 0 58px rgba(157, 78, 221, 0.48),
    inset 0 0 38px rgba(199, 125, 255, 0.42);
}
.product-card.style-v1 .variant-ribbon {
  background: rgba(199, 125, 255, 0.28);
  border: 1.5px solid #e0aaff;
  color: #f3dbff;
  box-shadow: 0 0 14px rgba(199, 125, 255, 0.45);
}
.product-card.style-v1 .product-cover-wrap {
  border-radius: 110px 110px 14px 14px;
  border: 3px solid #ecc7ff;
  box-shadow: 0 0 28px rgba(199, 125, 255, 0.78), inset 0 0 22px rgba(199, 125, 255, 0.45);
}
.product-card.style-v1 .product-badge-species {
  left: 50%;
  transform: translateX(-50%);
  top: 14px;
  white-space: nowrap;
}
.product-card.style-v1 .product-title {
  border-color: rgba(217, 155, 255, 0.48);
  border-left-color: #ecc7ff;
  background: rgba(18, 5, 34, 0.72);
}
.product-card.style-v1 .product-title,
.product-card.style-v1 .price-value {
  color: #edd2ff;
  -webkit-text-stroke: 0.7px #1a042e;
  paint-order: stroke fill;
  text-shadow: 0 2px 0 #120220, 0 0 18px rgba(199, 125, 255, 0.85);
}
.product-card.style-v1 .seg-btn.selected {
  background: linear-gradient(135deg, #c77dff, #ecc7ff);
  border-color: #f4deff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.85), 0 0 18px rgba(199, 125, 255, 0.85);
}
.product-card.style-v1 .buy-btn {
  background: linear-gradient(135deg, #a955f7, #eabfff);
  color: #10031f;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.88), 0 0 26px rgba(199, 125, 255, 0.8);
}
.product-card.style-v1 .ornament-corner {
  stroke: #ecc7ff;
  filter: drop-shadow(0 0 6px rgba(199, 125, 255, 0.8));
}

.product-card.style-v2 {
  background: radial-gradient(circle at 50% 0%, #0f3a15 0%, #07190a 58%, #040a05 100%);
  border: 4px solid #4dff29;
  box-shadow:
    0 0 24px rgba(57, 255, 20, 0.55),
    0 0 46px rgba(57, 255, 20, 0.28),
    inset 0 0 30px rgba(57, 255, 20, 0.26);
}
.product-card.style-v2:hover {
  border-color: #9eff85;
  box-shadow:
    0 0 30px rgba(57, 255, 20, 0.75),
    0 0 58px rgba(57, 255, 20, 0.42),
    inset 0 0 36px rgba(57, 255, 20, 0.34);
}
.product-card.style-v2 .variant-ribbon {
  background: rgba(57, 255, 20, 0.22);
  border: 1.5px solid #5aff3b;
  color: #9cff88;
  box-shadow: 0 0 14px rgba(57, 255, 20, 0.45);
}
.product-card.style-v2 .product-cover-wrap {
  border-radius: 12px;
  border: 3px solid #5aff3b;
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.78), inset 0 0 18px rgba(57, 255, 20, 0.38);
  clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px), 0 16px);
}
.product-card.style-v2 .product-title {
  border-color: rgba(77, 255, 41, 0.48);
  border-left-color: #5eff3d;
  background: rgba(4, 18, 6, 0.72);
}
.product-card.style-v2 .product-title,
.product-card.style-v2 .price-value {
  color: #5eff3d;
  -webkit-text-stroke: 0.7px #031904;
  paint-order: stroke fill;
  text-shadow: 0 2px 0 #021003, 0 0 18px rgba(57, 255, 20, 0.85);
}
.product-card.style-v2 .seg-btn.selected {
  background: linear-gradient(135deg, #39ff14, #9eff78);
  border-color: #caffb3;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.85), 0 0 20px rgba(57, 255, 20, 0.88);
}
.product-card.style-v2 .buy-btn {
  background: linear-gradient(135deg, #2ee60d, #8cff66);
  color: #030804;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.88), 0 0 28px rgba(57, 255, 20, 0.85);
}
.product-card.style-v2 .ornament-corner {
  stroke: #5eff3d;
  filter: drop-shadow(0 0 6px rgba(57, 255, 20, 0.8));
}

.product-card.style-v3 {
  background: radial-gradient(circle at 50% 10%, #4d3308 0%, #241704 60%, #120b02 100%);
  border: 4px solid #ffe438;
  box-shadow:
    0 0 24px rgba(255, 221, 0, 0.52),
    0 0 46px rgba(255, 183, 3, 0.3),
    inset 0 0 32px rgba(255, 204, 0, 0.28);
}
.product-card.style-v3:hover {
  border-color: #fff080;
  box-shadow:
    0 0 30px rgba(255, 221, 0, 0.75),
    0 0 58px rgba(255, 183, 3, 0.45),
    inset 0 0 38px rgba(255, 204, 0, 0.36);
}
.product-card.style-v3 .variant-ribbon {
  background: rgba(255, 221, 0, 0.24);
  border: 1.5px solid #ffe438;
  color: #fff08a;
  text-shadow: 0 1px 2px #000;
  box-shadow: 0 0 14px rgba(255, 221, 0, 0.42);
}
.product-card.style-v3 .product-cover-wrap {
  border-radius: 16px;
  border: 3px double #ffe438;
  box-shadow: 0 0 28px rgba(255, 221, 0, 0.75);
}
.product-card.style-v3 .product-title {
  border-color: rgba(255, 228, 56, 0.5);
  border-left-color: #ffea47;
  background: rgba(24, 15, 2, 0.74);
}
.product-card.style-v3 .product-title,
.product-card.style-v3 .price-value {
  color: #ffea47;
  -webkit-text-stroke: 1.1px #241201;
  paint-order: stroke fill;
  text-shadow: 0 2px 0 #120900, 0 0 18px rgba(255, 215, 0, 0.75);
}
.product-card.style-v3 .seg-btn.selected {
  background: linear-gradient(135deg, #ffb703, #ffe94d);
  border-color: #fff394;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.85), 0 0 18px rgba(255, 221, 0, 0.85);
}
.product-card.style-v3 .buy-btn {
  background: linear-gradient(135deg, #ffaa00, #ffea59);
  color: #140c02;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.88), 0 0 26px rgba(255, 221, 0, 0.8);
}
.product-card.style-v3 .ornament-corner {
  stroke: #ffe438;
  filter: drop-shadow(0 0 6px rgba(255, 221, 0, 0.8));
}

.product-card.style-v4 {
  background: radial-gradient(circle at 50% 0%, #0b4a59 0%, #06212b 60%, #031014 100%);
  border: 4px solid #1fffe2;
  box-shadow:
    0 0 24px rgba(0, 245, 212, 0.55),
    0 0 46px rgba(0, 187, 249, 0.3),
    inset 0 0 32px rgba(0, 245, 212, 0.28);
}
.product-card.style-v4:hover {
  border-color: #85fff0;
  box-shadow:
    0 0 30px rgba(0, 245, 212, 0.78),
    0 0 58px rgba(0, 187, 249, 0.45),
    inset 0 0 38px rgba(0, 245, 212, 0.36);
}
.product-card.style-v4 .variant-ribbon {
  background: rgba(0, 245, 212, 0.24);
  border: 1.5px solid #1fffe2;
  color: #a3fff3;
  box-shadow: 0 0 14px rgba(0, 245, 212, 0.45);
}
.product-card.style-v4 .product-cover-wrap {
  border-radius: 24px 6px 24px 6px;
  border: 3px solid #2effe4;
  box-shadow: 0 0 28px rgba(0, 245, 212, 0.78);
}
.product-card.style-v4 .product-title {
  border-color: rgba(31, 255, 226, 0.48);
  border-left-color: #3dffe6;
  background: rgba(3, 22, 28, 0.72);
}
.product-card.style-v4 .product-title,
.product-card.style-v4 .price-value {
  color: #3dffe6;
  -webkit-text-stroke: 0.7px #021d24;
  paint-order: stroke fill;
  text-shadow: 0 2px 0 #011116, 0 0 18px rgba(0, 245, 212, 0.85);
}
.product-card.style-v4 .seg-btn.selected {
  background: linear-gradient(135deg, #00e5c7, #7affed);
  border-color: #b3fff5;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.85), 0 0 18px rgba(0, 245, 212, 0.85);
}
.product-card.style-v4 .buy-btn {
  background: linear-gradient(135deg, #00c4ff, #47ffe8);
  color: #021014;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.88), 0 0 26px rgba(0, 245, 212, 0.8);
}
.product-card.style-v4 .ornament-corner {
  stroke: #3dffe6;
  filter: drop-shadow(0 0 6px rgba(0, 245, 212, 0.8));
}

.product-card.style-v5 {
  background: radial-gradient(circle at 50% 0%, #680707 0%, #2b0303 60%, #140101 100%);
  border: 4px solid #ff2020;
  box-shadow:
    0 0 24px rgba(255, 24, 24, 0.56),
    0 0 46px rgba(220, 12, 12, 0.34),
    inset 0 0 32px rgba(255, 24, 24, 0.3);
}
.product-card.style-v5:hover {
  border-color: #ff5252;
  box-shadow:
    0 0 30px rgba(255, 24, 24, 0.8),
    0 0 58px rgba(220, 12, 12, 0.5),
    inset 0 0 38px rgba(255, 24, 24, 0.38);
}
.product-card.style-v5 .variant-ribbon {
  background: rgba(235, 22, 22, 0.28);
  border: 1.5px solid #ff3333;
  color: #ff9c9c;
  box-shadow: 0 0 14px rgba(255, 24, 24, 0.45);
}
.product-card.style-v5 .product-cover-wrap {
  border-radius: 14px;
  border: 3px solid #ff2e2e;
  box-shadow: 0 0 28px rgba(255, 24, 24, 0.78);
}
.product-card.style-v5 .product-title {
  border-color: rgba(255, 42, 42, 0.52);
  border-left-color: #ff3b3b;
  background: rgba(34, 3, 3, 0.78);
}
.product-card.style-v5 .product-title,
.product-card.style-v5 .price-value {
  color: #ff3b3b;
  -webkit-text-stroke: 0.75px #220101;
  paint-order: stroke fill;
  text-shadow: 0 2px 0 #140000, 0 0 18px rgba(255, 24, 24, 0.85);
}
.product-card.style-v5 .seg-btn.selected {
  background: linear-gradient(135deg, #d80e0e, #ff3d3d);
  border-color: #ff7a7a;
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.85), 0 0 18px rgba(255, 24, 24, 0.85);
}
.product-card.style-v5 .buy-btn {
  background: linear-gradient(135deg, #b80707, #ff2b2b);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.88), 0 0 26px rgba(255, 24, 24, 0.82);
}
.product-card.style-v5 .ornament-corner {
  stroke: #ff3b3b;
  filter: drop-shadow(0 0 6px rgba(255, 24, 24, 0.8));
}

/* РАЗДЕЛ «ТРАВЫ, РАСТЕНИЯ И ЗАПОВЕДНЫЕ СБОРЫ»: деликатная модернизация и плавная карусель */
.herbs-carousel-shell {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.herbs-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.herbs-carousel-hint {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e4f8d4;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(6, 18, 9, 0.86);
  border: 1px solid rgba(230, 188, 66, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.65);
}

.herbs-carousel-btns {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.herbs-nav-btn,
.herbs-side-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), filter 0.28s ease;
}

.herbs-arrow-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  filter:
    drop-shadow(0 0 12px rgba(29, 165, 232, 0.78))
    drop-shadow(0 8px 18px rgba(0, 0, 0, 0.88));
  transition: filter 0.28s ease;
}

.herbs-nav-btn.prev .herbs-arrow-img,
.herbs-side-arrow.prev .herbs-arrow-img {
  transform: scaleX(-1);
}

.herbs-nav-btn {
  width: 34px;
  height: 56px;
}

.herbs-nav-btn:hover {
  transform: scale(1.1);
}

.herbs-nav-btn:hover .herbs-arrow-img,
.herbs-side-arrow:hover .herbs-arrow-img {
  filter:
    drop-shadow(0 0 18px rgba(44, 182, 255, 0.96))
    drop-shadow(0 0 32px rgba(29, 165, 232, 0.72))
    drop-shadow(0 10px 22px rgba(0, 0, 0, 0.92));
}

.herbs-carousel-counter {
  min-width: 62px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  color: #5cd0ff;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(5, 16, 26, 0.88);
  border: 1.5px solid rgba(29, 165, 232, 0.68);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.65), 0 0 12px rgba(29, 165, 232, 0.28);
}

.herbs-carousel-stage {
  position: relative;
  padding: 0 42px;
}

.herbs-side-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 240px;
  z-index: 12;
}

.herbs-side-arrow.prev { left: -24px; }
.herbs-side-arrow.next { right: -24px; }
.herbs-side-arrow:hover {
  transform: translateY(-50%) scale(1.06);
}

.herbs-carousel-viewport {
  overflow: hidden;
  padding: 20px 10px 26px;
  margin: -20px -10px -26px;
}

#herbs-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  align-items: stretch;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  touch-action: pan-y;
}

#herbs-grid .product-card {
  flex: 0 0 calc((100% - 40px) / 3);
  box-sizing: border-box;
  padding: 18px 18px 20px;
  border-width: 2.5px;
  border-radius: 30px 10px 30px 10px;
  opacity: 0.35;
  transform: scale(0.94);
  transition:
    transform 0.72s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.65s ease,
    box-shadow 0.35s ease;
}

#herbs-grid .product-card.is-carousel-visible {
  opacity: 1;
  transform: scale(1);
}

#herbs-grid .product-card.is-carousel-visible:hover {
  transform: translateY(-7px) scale(1.01);
}

.herbs-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

.herbs-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 1.5px solid rgba(230, 188, 66, 0.65);
  background: rgba(14, 34, 18, 0.72);
  cursor: pointer;
  padding: 0;
  transition: width 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.herbs-dot.active {
  width: 30px;
  background: linear-gradient(90deg, #52ff38, #ffe45e);
  border-color: #fff6b8;
  box-shadow: 0 0 12px rgba(82, 255, 56, 0.65);
}

#herbs-grid .product-card::after {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 23px 7px 23px 7px;
  border: 1px solid rgba(230, 188, 66, 0.28);
  pointer-events: none;
  z-index: 2;
}

#herbs-grid .ornament-corner {
  width: 50px;
  height: 50px;
  opacity: 0.78;
}

#herbs-grid .variant-ribbon {
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.05em;
}

#herbs-grid .product-cover-wrap {
  height: 190px;
  margin-bottom: 12px;
  border-radius: 22px 8px 22px 8px;
  clip-path: none;
  border-width: 2px;
}

#herbs-grid .product-badge-species {
  left: 50%;
  transform: translateX(-50%);
  top: 10px;
  max-width: calc(100% - 24px);
  white-space: normal;
  text-align: center;
  line-height: 1.2;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
}

#herbs-grid .product-title {
  font-size: 16.5px;
  line-height: 1.22;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  padding: 8px 12px 7px;
  border-radius: 14px 6px 14px 6px;
}

#herbs-grid .form-highlight-badge {
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11.5px;
  margin-bottom: 8px;
}

#herbs-grid .product-lore {
  font-size: 14px;
  line-height: 1.38;
  margin-bottom: 9px;
}

#herbs-grid .product-craft-specs {
  font-size: 12.5px;
  line-height: 1.36;
  padding: 8px 11px;
  border-radius: 12px 6px 12px 6px;
  background: rgba(0, 0, 0, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 3px solid var(--vine-leaf-light);
  backdrop-filter: blur(4px);
  margin-bottom: 11px;
}

#herbs-grid .options-block {
  gap: 8px;
  margin-bottom: 12px;
}

#herbs-grid .option-group-label {
  font-size: 11px;
  margin-bottom: 3px;
}

#herbs-grid .seg-btn {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13.5px;
}

#herbs-grid .card-footer-row {
  padding-top: 10px;
  gap: 10px;
}

#herbs-grid .price-label {
  font-size: 10.5px;
}

#herbs-grid .price-value {
  font-size: 21px;
}

#herbs-grid .buy-btn {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14px;
}

/* РАЗДЕЛИТЕЛЬ МЕЖДУ СЛОЯМИ (Огненно-золотой разделитель на фоне заповедных растений) */
.rune-divider {
  width: min(1296px, calc(100% - 116px));
  margin: -24px auto 46px;
  padding: 76px 48px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(6, 15, 9, 0.92) 0%, rgba(6, 15, 9, 0.14) 36%, rgba(6, 15, 9, 0.14) 64%, rgba(6, 15, 9, 0.92) 100%),
    url('../assets/images/backgrounds/bg-divider-forest.jpg?v=1') center / cover no-repeat;
  box-shadow: inset 0 0 38px rgba(4, 10, 6, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.rune-divider-line {
  flex: 1;
  height: 5px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255, 110, 0, 0.12) 0%, #ff9900 20%, #fff4a3 50%, #ff9900 80%, rgba(255, 110, 0, 0.12) 100%);
  box-shadow:
    0 0 10px #ffd24d,
    0 0 22px #ff8c00,
    0 0 38px rgba(255, 72, 0, 0.85);
}

.rune-divider-gem {
  color: #fff6bd;
  font-size: 34px;
  line-height: 1;
  text-shadow:
    0 0 8px #ffe45e,
    0 0 18px #ff9100,
    0 0 36px rgba(255, 64, 0, 0.95);
  filter: drop-shadow(0 0 12px rgba(255, 140, 0, 0.9));
}

/* ==========================================================================
   РАЗДЕЛ «ХРАНИТЕЛИ МИРОВОГО ДРЕВА» (Полный пантеон 20 богов и духов)
   ========================================================================== */
.pantheon-section {
  width: min(1296px, calc(100% - 116px));
  margin: 0 auto 0;
  padding: 46px 32px;
  border-radius: 20px;
  border: 5px solid #e6bc42;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.92), 0 0 40px rgba(230, 188, 66, 0.34);
  scroll-margin-top: 85px;
  overflow: hidden;
  position: relative;
  z-index: 8;
}

.pantheon-hanging-canopy {
  width: min(1288px, calc(100% - 124px));
  height: 215px;
  margin: -14px auto -8px;
  position: relative;
  z-index: 5;
  pointer-events: none;
  background: url('../assets/images/interior/pantheon-hanging-leaves.webp?v=2') center top / 100% auto no-repeat;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.88));
}

#shop-world.bg-loaded #section-pantheon {
  background-color: #070504;
  background-image:
    linear-gradient(180deg, rgba(6, 5, 4, 0.26), rgba(6, 5, 4, 0.40)),
    url('../assets/images/backgrounds/bg-pantheon.jpg?v=2');
  background-position: 0 0, center top;
  background-size: 100% 100%, 560px auto;
  background-repeat: no-repeat, repeat;
}

.pantheon-crimson-tag {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 7px 20px;
  border-radius: 22px;
  background: #140206;
  border: 3px solid #ff1a35;
  color: #ff2640;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.09em;
  -webkit-text-stroke: 0.65px #ff2640;
  text-transform: uppercase;
  margin: 0 auto 14px;
  box-shadow: 0 0 22px rgba(255, 26, 53, 0.65), inset 0 0 10px rgba(255, 26, 53, 0.28);
}

.pantheon-crimson-heading {
  font-family: 'Ruslan Display', serif;
  font-size: clamp(30px, 3.8vw, 48px) !important;
  margin-bottom: 14px;
}

.pantheon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 22px;
}

.deity-frame {
  position: relative;
  background: linear-gradient(165deg, #241120 0%, #142419 60%, #0d0614 100%);
  border: 3px solid var(--gold-bright);
  outline: 1.5px solid var(--vine-leaf-light);
  outline-offset: -8px;
  border-radius: 16px;
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.9),
    0 0 26px var(--vine-glow),
    inset 0 0 28px rgba(255, 223, 107, 0.16);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.deity-frame:hover {
  transform: translateY(-7px);
  border-color: #fff3a8;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.95),
    0 0 36px rgba(255, 223, 107, 0.45),
    inset 0 0 30px rgba(255, 223, 107, 0.25);
}

.deity-portrait-wrap {
  position: relative;
  width: 100%;
  height: 292px;
  padding: 30px 33px;
  border-radius: 6px;
  overflow: hidden;
  border: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.85);
  margin-bottom: 14px;
  background: transparent;
}

.deity-portrait-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../assets/images/interior/deity-portrait-frame.webp?v=1') center / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 4;
}

.deity-portrait-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: brightness(1.12) contrast(1.08) saturate(1.22);
  transition: transform 0.55s ease, filter 0.35s ease;
  display: block;
}

.deity-frame:hover .deity-portrait-wrap img {
  transform: scale(1.05);
}

.deity-world-badge {
  position: absolute;
  top: 38px;
  left: 40px;
  z-index: 5;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(10, 18, 12, 0.90);
  border: 1px solid var(--vine-leaf-light);
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 2px #000, 0 0 1px #000;
  backdrop-filter: blur(4px);
}

.deity-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 21px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  color: #ff2929;
  -webkit-text-stroke: 1.15px #000000;
  paint-order: stroke fill;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin: 2px 0 6px;
  text-shadow: none;
}

.deity-role {
  font-size: 14px;
  color: var(--vine-leaf-light);
  font-weight: 700;
  margin-bottom: 8px;
}

.deity-desc {
  font-size: 14.5px;
  color: var(--text-ivory);
  line-height: 1.45;
}

/* ==========================================================================
   БЛОК «СВЯЗЬ С ХРАНИТЕЛЕМ ЛАВКИ» И КНОПКА TELEGRAM
   ========================================================================== */
.contacts-section {
  max-width: 1160px;
  margin: 0 auto 50px;
  padding: 0 58px;
  scroll-margin-top: 85px;
}

.guardian-altar-card {
  position: relative;
  padding: 48px 36px;
  text-align: center;
  background-color: #051208;
  background-image:
    linear-gradient(180deg, rgba(4, 14, 8, 0.28), rgba(4, 10, 6, 0.42)),
    url('../assets/images/backgrounds/bg-contacts-forest.jpg?v=1');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 3.5px solid var(--gold-bright);
  border-radius: 24px;
  box-shadow:
    0 25px 75px rgba(0, 0, 0, 0.95),
    0 0 48px var(--vine-glow),
    inset 0 0 54px rgba(128, 237, 153, 0.2);
  overflow: hidden;
}

.guardian-altar-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1.5px solid var(--vine-leaf-light);
  border-radius: 16px;
  pointer-events: none;
  opacity: 0.65;
}

.guardian-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 20px;
  border-radius: 30px;
  background: #06180a;
  border: 2.5px solid #63ff84;
  color: #8dff9f;
  font-size: 14px;
  font-weight: 900;
  -webkit-text-stroke: 0.4px #8dff9f;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 18px;
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.28);
}

.pulse-dot {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #39ff14;
  box-shadow: 0 0 10px #39ff14, 0 0 20px #8bff26;
  animation: pulseGlow 1.8s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

.guardian-title-row {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
  padding: 12px 28px 10px;
  border-radius: 14px;
  background: #030404;
  border: 2px solid rgba(245, 182, 34, 0.78);
  outline: 1px solid rgba(196, 130, 14, 0.48);
  outline-offset: -5px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.94),
    0 0 22px rgba(242, 152, 12, 0.28);
}

.guardian-main-title {
  font-family: 'Ruslan Display', serif;
  font-size: clamp(28px, 3.8vw, 48px);
  text-transform: uppercase;
  margin-bottom: 0;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  box-shadow: none;
}

.guardian-altar-text {
  font-size: 19px;
  line-height: 1.6;
  font-weight: 800;
  color: #ffffff;
  -webkit-text-stroke: 0.45px rgba(0, 0, 0, 0.92);
  paint-order: stroke fill;
  text-shadow:
    0 2px 4px #000000,
    0 0 12px rgba(0, 0, 0, 0.98),
    0 0 24px rgba(0, 0, 0, 0.94);
  max-width: 780px;
  margin: 0 auto 32px;
}

.guardian-altar-text strong {
  color: #2cb6ff;
  font-weight: 900;
  -webkit-text-stroke: 1.1px #02101a;
  paint-order: stroke fill;
  text-shadow: 0 2px 4px #000000, 0 0 10px rgba(29, 165, 232, 0.75);
}

.tg-talisman-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 14px 32px 14px 18px;
  background: linear-gradient(135deg, #0d1f12 0%, #09151e 50%, #1c0713 100%);
  border: 2.5px solid var(--gold-antique);
  border-radius: 16px;
  color: var(--text-ivory);
  text-decoration: none;
  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.95),
    0 0 28px var(--vine-glow),
    inset 0 0 22px rgba(0, 245, 212, 0.14);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
  z-index: 2;
}

.tg-talisman-btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 45%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 234, 138, 0.35), transparent);
  transform: rotate(25deg);
  transition: left 0.65s ease;
  pointer-events: none;
}

.tg-talisman-btn:hover::after {
  left: 125%;
}

.tg-talisman-btn:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--vine-leaf-light);
  box-shadow:
    0 16px 45px rgba(0, 0, 0, 0.95),
    0 0 38px var(--vine-glow),
    0 0 22px rgba(212, 175, 55, 0.45);
}

.tg-sigil-emblem {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.85));
}

.tg-3d-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.tg-btn-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.tg-btn-sub {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--vine-leaf-light);
  font-weight: 700;
  margin-bottom: 4px;
}

.tg-btn-action-row {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.tg-btn-main {
  display: inline-block;
  font-family: 'Ruslan Display', serif;
  font-size: clamp(18px, 2.1vw, 23px);
  padding: 6px 16px 4px;
  border-radius: 8px;
  background: #030404;
  border: 1.5px solid rgba(245, 182, 34, 0.52);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.88);
}

.tg-capsule-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 248px;
  height: 44px;
  padding: 0 22px 0 66px;
  background: url('../assets/images/interior/tg-pill-capsule.png?v=1') center / 100% 100% no-repeat;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.88));
}

.tg-capsule-handle {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #1da5e8;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}

.spb-footer-note {
  margin-top: 24px;
  font-size: 14.5px;
  font-weight: 700;
  color: #f4f1e6;
  text-shadow: 0 2px 4px #000000, 0 0 14px rgba(0, 0, 0, 0.98);
  letter-spacing: 0.03em;
}

.spb-footer-gem {
  color: #2cb6ff;
  font-weight: 900;
  -webkit-text-stroke: 0.75px #02101a;
  paint-order: stroke fill;
  text-shadow: 0 1px 3px #000000, 0 0 10px rgba(29, 165, 232, 0.85);
}

/* Модальное окно Корзины */
.cart-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 8, 6, 0.88);
  backdrop-filter: blur(10px);
}

.cart-modal.open {
  display: flex;
}

.cart-dialog {
  width: 100%;
  max-width: 540px;
  background: #0e1911;
  border: 2px solid var(--vine-leaf-light);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.95);
}

.cart-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(128, 237, 153, 0.25);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.cart-dialog-header h3 {
  font-family: 'Ruslan Display', serif;
  font-size: 24px;
  color: var(--gold-bright);
  letter-spacing: 0.05em;
  -webkit-text-stroke: 0.8px #180b02;
  paint-order: stroke fill;
  text-shadow: 0 2px 0 #090401;
}

.cart-items-list {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(128, 237, 153, 0.25);
  border-radius: 8px;
  font-size: 15px;
}

.cart-item-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.cart-remove-btn {
  background: none;
  border: none;
  color: #ff4d6d;
  cursor: pointer;
  font-size: 16px;
}

.cart-empty-note {
  color: var(--text-muted);
  text-align: center;
  padding: 16px;
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 21px;
  font-weight: 700;
  color: var(--gold-antique);
  margin-bottom: 18px;
}

.cart-checkout-btn {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 17px;
}

@media (max-width: 1024px) {
  .floating-rune-dock {
    padding: 8px 12px;
    gap: 5px;
  }
  .dock-link {
    padding: 6px 9px;
    font-size: 11px;
    letter-spacing: 0.03em;
    gap: 4px;
  }
}

@media (max-width: 900px) {
  .interior-collage {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .collage-item.main-door-view {
    height: 310px;
  }
  .sub-grid-2 {
    height: 180px;
  }
  .interior-hero,
  .craft-manifesto,
  .contacts-section {
    padding: 0 18px;
  }
  .catalog-section,
  .pantheon-section,
  .rune-divider,
  .pantheon-hanging-canopy {
    width: auto;
  }
  .catalog-section {
    margin: 0 18px 55px;
    padding: 28px 16px;
  }
  .pantheon-section {
    margin: 0 18px 0;
    padding: 28px 16px;
  }
  .shop-side-vines {
    width: 34px;
    opacity: 0.72;
  }
  .microdosing-scroll-slot {
    grid-column: 1 / -1;
  }
  #mushrooms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #herbs-grid {
    gap: 18px;
  }
  #herbs-grid .product-card {
    flex: 0 0 calc((100% - 18px) / 2);
  }
  .herbs-side-arrow.prev { left: -12px; }
  .herbs-side-arrow.next { right: -12px; }
}

@media (max-width: 768px) {
  #mushrooms-grid {
    grid-template-columns: 1fr;
  }
  #mushrooms-grid .variant-ribbon {
    font-size: 10px;
    gap: 6px;
    padding: 4px 8px;
  }
  #mushrooms-grid .ornament-corner {
    width: 36px;
    height: 36px;
    opacity: 0.72;
  }
  #mushrooms-grid .price-box {
    position: relative;
    z-index: 5;
    padding-left: 8px;
  }
  .product-title,
  .product-badge-species,
  #herbs-grid .product-craft-specs {
    backdrop-filter: none;
  }
  .herbs-carousel-controls {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
  }
  .herbs-carousel-btns {
    justify-content: center;
    gap: 14px;
  }
  .herbs-carousel-stage {
    padding: 0;
  }
  .herbs-nav-btn {
    width: 42px;
    height: 54px;
  }
  #herbs-grid {
    gap: 14px;
  }
  #herbs-grid .product-card {
    flex: 0 0 100%;
  }
  .herbs-side-arrow {
    display: none;
  }
  .microdosing-scroll-sheet {
    min-height: 540px;
  }
  .microdosing-scroll-body {
    margin: 24% 12% 22% 15%;
    padding: 12px 14px;
  }
  .shop-side-vines {
    display: none;
  }
  .shop-navbar {
    padding: 12px 14px;
  }
  .floating-rune-dock {
    padding: 7px 10px;
    gap: 5px;
    backdrop-filter: none;
    background: rgba(13, 2, 5, 0.96);
  }
  .dock-link {
    padding: 6px 8px;
    font-size: 10.5px;
    gap: 4px;
  }
  .top-hud {
    top: max(10px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    gap: 6px;
  }
  .hud-btn {
    font-size: 13px;
    padding: 7px 11px;
  }
  .guardian-altar-card {
    padding: 28px 14px;
  }
  .guardian-status-pill {
    padding: 6px 14px;
    font-size: 11px;
    letter-spacing: 0.05em;
    max-width: 100%;
  }
  .guardian-altar-text {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 24px;
  }
  .tg-talisman-btn {
    width: 100%;
    max-width: 100%;
    padding: 14px 12px;
    gap: 12px;
    box-sizing: border-box;
  }
  .tg-sigil-emblem {
    width: 48px;
    height: 48px;
  }
  .tg-btn-copy {
    min-width: 0;
    flex: 1;
  }
  .tg-btn-action-row {
    width: 100%;
    gap: 8px;
  }
  .tg-btn-main {
    font-size: 16px;
    padding: 6px 12px 4px;
    max-width: 100%;
  }
  .tg-capsule-badge {
    min-width: 0;
    width: 100%;
    max-width: 224px;
    height: 38px;
    padding: 0 12px 0 46px;
  }
  .tg-capsule-handle {
    font-size: 14px;
  }
  .pillar-charter-tablet {
    min-height: 410px;
    padding: 25% 27% 23%;
  }
  .pillar-charter-tablet p {
    font-size: 11.4px;
    line-height: 1.32;
  }
  .manifesto-pillars {
    grid-template-columns: 1fr;
  }
}
