:root {
  --void: #050505;
  --black: #080404;
  --coal: #100606;
  --panel: rgba(8, 4, 4, 0.72);
  --panel-solid: #120505;
  --red: #a81010;
  --red-hot: #ff2222;
  --red-dim: #3a0606;
  --rust: #691711;
  --bone: #f5eae0;
  --bone-dim: #ad9e8f;
  --steel: #7d8b8d;
  --line: rgba(245, 234, 224, 0.10);
  --line-red: rgba(255, 34, 34, 0.22);
  --line-red-glow: rgba(255, 34, 34, 0.45);
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.85);
  --radius: 4px;
  --rail: 118px;
  --font-bebas: 'Bebas Neue', system-ui, -apple-system, sans-serif;
  --font-creepster: 'Creepster', cursive, system-ui, -apple-system, sans-serif;
  --font-elite: 'Special Elite', monospace;
  --font-inter: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.clipboard-fallback {
  position: fixed;
  top: -999px;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--bone);
  background:
    radial-gradient(circle at 75% 10%, rgba(181, 20, 20, 0.18), transparent 34%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 58px 58px,
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px) 0 0 / 58px 58px,
    var(--void);
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.container {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 90;
  width: var(--rail);
  border-right: 1px solid var(--line-red);
  background:
    linear-gradient(rgba(255, 43, 43, 0.05) 1px, transparent 1px) 0 0 / 100% 38px,
    linear-gradient(180deg, #120404, #050505 64%);
  box-shadow: 12px 0 44px rgba(0, 0, 0, 0.52);
}

.header-inner {
  width: auto;
  height: 100%;
  margin: 0;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

.brand {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid var(--line-red);
  border-radius: var(--radius);
  background: #150505;
  color: var(--bone);
  font-weight: 900;
  box-shadow: inset 0 0 18px rgba(255, 43, 43, 0.15), 0 14px 28px rgba(0, 0, 0, 0.48);
}

.logo-mark {
  overflow: hidden;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  max-height: 230px;
  color: var(--bone);
  font-family: "Special Elite", "Inter", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.nav-links {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.nav-links a {
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 8px 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  color: var(--bone-dim);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: 
    border-color 300ms ease, 
    background 300ms ease, 
    color 300ms ease, 
    box-shadow 300ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  border-color: var(--red-hot);
  background: linear-gradient(180deg, rgba(255, 34, 34, 0.15), rgba(58, 6, 6, 0.45));
  color: var(--bone);
  box-shadow: 
    0 0 20px rgba(255, 34, 34, 0.15),
    inset 0 0 15px rgba(255, 34, 34, 0.1);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 60%;
  height: 2px;
  background: var(--red-hot);
  box-shadow: 0 0 8px var(--red-hot);
  transform: scaleX(0);
  transition: transform 300ms cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-links a.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.telegram-pill,
.builder-entry,
.icon-button,
.telegram-hero-link,
.telegram-menu-link,
.telegram-strip a,
.cart-telegram-link,
.ghost-btn,
.primary-btn,
.round-add,
.category-tab,
.favorite-filter,
.variant-btn {
  min-height: 44px;
  border-radius: var(--radius);
}

.telegram-pill {
  display: grid;
  place-items: center;
  border: 1px solid var(--line-red);
  background: var(--red-dim);
  color: var(--bone);
  box-shadow: inset 0 0 20px rgba(255, 43, 43, 0.16);
}

.builder-entry {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--bone-dim);
  font-family: var(--font-bebas);
  font-size: 15px;
  letter-spacing: 0.08em;
}

.builder-entry:hover {
  border-color: var(--red-hot);
  color: var(--bone);
  box-shadow: inset 0 0 16px rgba(255, 34, 34, 0.12);
}

.telegram-label {
  display: none;
}

.icon-button {
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--bone);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  padding: 0 6px;
  border: 2px solid var(--void);
  border-radius: 999px;
  background: var(--red-hot);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.view {
  display: none;
  opacity: 0;
  transform: translateY(12px);
}

.view.is-active {
  display: block;
  animation: viewSlideIn 650ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes viewSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main {
  margin-left: var(--rail);
}

.home-view {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.home-bg {
  position: fixed;
  inset: 0 0 0 var(--rail);
  z-index: -2;
  background: #050505;
}

.home-bg::before,
.home-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-bg::before {
  z-index: 1;
  background:
    radial-gradient(circle at 56% 46%, transparent 0 16%, rgba(0, 0, 0, 0.42) 42%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.40), rgba(0, 0, 0, 0.05) 56%, rgba(0, 0, 0, 0.70));
}

.home-bg::after {
  z-index: 2;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px),
    radial-gradient(circle at 20% 20%, rgba(255, 43, 43, 0.10), transparent 34%);
  mix-blend-mode: screen;
  opacity: 0.42;
}

.home-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.08);
}

.home-inner {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 405px);
  align-items: center;
  gap: 36px;
  padding: 48px 0;
}

.shop-window {
  position: relative;
  width: min(760px, 100%);
  padding: 30px 30px 28px;
  border: 1px solid var(--line-red);
  border-left: 8px solid var(--red);
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.88), rgba(5, 5, 5, 0.36));
  box-shadow: var(--shadow);
  transform: skewX(-4deg);
}

.shop-window > * {
  transform: skewX(4deg);
}

.shop-window::before {
  content: "ACCESSO DOPO MEZZANOTTE";
  position: absolute;
  right: 18px;
  top: -14px;
  padding: 4px 8px;
  border: 1px solid var(--line-red);
  background: #080303;
  color: var(--red-hot);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.shop-kicker,
.menu-kicker,
.catalog-header span {
  margin: 0;
  color: var(--red-hot);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-window h1 {
  margin: 10px 0 12px;
  color: var(--bone);
  font-family: "Creepster", "Bebas Neue", system-ui, sans-serif;
  font-size: clamp(72px, 10vw, 145px);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: 0.03em;
  text-shadow: 0 0 18px rgba(255, 43, 43, 0.25), 0 12px 48px rgba(0, 0, 0, 0.82);
}

.shop-line {
  width: min(560px, 100%);
  margin: 0 0 24px;
  color: rgba(241, 229, 212, 0.84);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
}

.telegram-hero-link,
.telegram-menu-link,
.telegram-strip a,
.cart-telegram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid var(--red-hot);
  background: linear-gradient(180deg, #cf1b1b, #5d0909);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 0 28px rgba(255, 43, 43, 0.20);
}

.menu-choice-grid {
  display: grid;
  gap: 18px;
  perspective: 1000px;
}

.menu-choice {
  position: relative;
  min-height: 188px;
  display: grid;
  align-content: end;
  padding: 22px 22px 22px 28px;
  overflow: hidden;
  border: 1px solid var(--line-red);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.45)),
    url("assets/horror-butcher-menu.jpg") center / cover;
  color: var(--bone);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75);
  transform: rotateY(-10deg);
  transform-style: preserve-3d;
  transition: 
    transform 600ms cubic-bezier(0.16, 1, 0.3, 1), 
    border-color 400ms ease, 
    box-shadow 400ms ease,
    filter 400ms ease;
}

.menu-choice:hover {
  border-color: var(--red-hot);
  filter: brightness(1.15);
  transform: rotateY(-2deg) translateZ(10px) translateX(-4px);
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 43, 43, 0.22);
}

.menu-choice::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 43, 43, 0.08) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(rgba(255, 43, 43, 0.06) 1px, transparent 1px) 0 0 / 42px 42px;
  opacity: 0.55;
  transition: opacity 400ms ease;
}

.menu-choice:hover::before {
  opacity: 0.85;
}

.menu-choice::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 18px;
  width: 58px;
  height: 58px;
  border: 8px solid rgba(255, 43, 43, 0.24);
  border-radius: 999px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.74);
  transition: border-color 400ms ease;
}

.menu-choice:hover::after {
  border-color: rgba(255, 43, 43, 0.55);
}

.choice-number {
  position: absolute;
  right: 25px;
  top: 32px;
  z-index: 1;
  color: rgba(241, 229, 212, 0.65);
  font-family: var(--font-elite);
  font-size: 16px;
  font-weight: 900;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-choice:hover .choice-number {
  transform: translateZ(30px);
  color: var(--red-hot);
}

.choice-kicker,
.choice-title,
.choice-detail,
.choice-action {
  position: relative;
  z-index: 1;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.choice-kicker {
  color: var(--red-hot);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.choice-title {
  font-family: var(--font-bebas);
  font-size: 70px;
  line-height: 0.86;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.9);
}

.menu-choice:hover .choice-title {
  transform: translateZ(40px);
  text-shadow: 0 0 20px rgba(255, 43, 43, 0.4);
}

.choice-detail {
  margin: 2px 0 12px;
  color: var(--bone-dim);
  font-weight: 900;
}

.menu-choice:hover .choice-detail {
  transform: translateZ(20px);
}

.choice-action {
  width: max-content;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(241, 229, 212, 0.25);
  border-radius: var(--radius);
  background: var(--bone);
  color: var(--void);
  font-weight: 900;
  text-transform: uppercase;
  transition: 
    transform 600ms cubic-bezier(0.16, 1, 0.3, 1),
    background 300ms ease,
    border-color 300ms ease,
    color 300ms ease,
    box-shadow 300ms ease;
}

.menu-choice:hover .choice-action {
  transform: translateZ(35px);
  background: var(--red-hot);
  border-color: var(--red-hot);
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 43, 43, 0.4);
}

.menu-view {
  min-height: 100vh;
  background:
    radial-gradient(circle at 70% 0%, rgba(181, 20, 20, 0.16), transparent 32%),
    repeating-linear-gradient(90deg, rgba(255, 43, 43, 0.045) 0 1px, transparent 1px 92px),
    var(--void);
}

.menu-hero {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.menu-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.90), rgba(5, 5, 5, 0.32) 56%, rgba(5, 5, 5, 0.86)),
    linear-gradient(180deg, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.90));
}

.chain-curtain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.chain-curtain::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 54px;
  height: 5px;
  background: linear-gradient(90deg, #202525, #bdc6c4, #202525);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.18);
}

.chain-curtain span {
  position: absolute;
  top: 58px;
  width: 10px;
  height: 118px;
  background: repeating-linear-gradient(180deg, transparent 0 8px, rgba(200, 212, 210, 0.70) 8px 15px, transparent 15px 24px);
}

.chain-curtain span::after {
  content: "";
  position: absolute;
  left: -11px;
  bottom: -32px;
  width: 32px;
  height: 42px;
  border: 4px solid rgba(220, 225, 220, 0.78);
  border-top: 0;
  border-left: 0;
  border-radius: 0 0 28px 0;
  transform: rotate(34deg);
}

.chain-curtain span:nth-child(1) {
  left: 31%;
}

.chain-curtain span:nth-child(2) {
  left: 58%;
}

.chain-curtain span:nth-child(3) {
  left: 84%;
}

.menu-hero-inner {
  position: relative;
  z-index: 2;
  padding: 74px 0 44px;
}

.back-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 5, 5, 0.62);
  color: var(--bone);
  font-weight: 900;
}

.menu-hero h1 {
  margin: 8px 0 0;
  color: var(--bone);
  font-family: "Creepster", "Bebas Neue", system-ui, sans-serif;
  font-size: clamp(76px, 9vw, 138px);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0.03em;
  text-shadow: 0 0 18px rgba(255, 43, 43, 0.24), 0 12px 48px rgba(0, 0, 0, 0.76);
}

.telegram-menu-link {
  margin-top: 22px;
}

.menu-layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-top: -44px;
  padding-bottom: 70px;
}

.control-rail {
  display: grid;
  grid-template-columns: 1.2fr minmax(260px, 0.7fr) 1fr;
  align-items: stretch;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line-red);
  background: linear-gradient(135deg, rgba(181, 20, 20, 0.20), rgba(5, 5, 5, 0.90));
  box-shadow: var(--shadow);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 8px;
}

.category-tab {
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--bone-dim);
  font-weight: 900;
  text-transform: uppercase;
}

.category-tab.active {
  border-color: var(--red-hot);
  background: var(--red-dim);
  color: var(--bone);
}

.telegram-strip {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px dashed var(--line-red);
  background: rgba(0, 0, 0, 0.38);
}

.telegram-strip > span {
  color: var(--red-hot);
  font-family: "Special Elite", monospace;
  font-weight: 900;
  text-transform: uppercase;
}

.telegram-strip a {
  width: 100%;
}

.toolbar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.search-box {
  position: relative;
}

.search-box svg {
  position: absolute;
  left: 13px;
  top: 50%;
  color: var(--red-hot);
  transform: translateY(-50%);
}

.search-box input,
.toolbar select,
.checkout-form input,
.checkout-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  background: #080808;
  color: var(--bone);
}

.search-box input,
.toolbar select,
.favorite-filter {
  padding: 0 13px;
  font-weight: 900;
}

.search-box input {
  padding-left: 42px;
}

.search-box input:focus,
.toolbar select:focus,
.favorite-filter:focus,
.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: var(--red-hot);
  box-shadow: 0 0 0 3px rgba(255, 43, 43, 0.20);
}

.favorite-filter {
  border: 1px solid var(--line-red);
  background: #210505;
  color: var(--bone);
  text-transform: uppercase;
}

.favorite-filter.active {
  background: var(--red);
}

.catalog-floor {
  min-height: 460px;
  padding: 20px;
  border: 1px solid var(--line-red);
  background:
    linear-gradient(90deg, rgba(255, 43, 43, 0.05) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(rgba(255, 43, 43, 0.04) 1px, transparent 1px) 0 0 / 44px 44px,
    rgba(5, 5, 5, 0.86);
  box-shadow: var(--shadow);
}

.catalog-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-red);
}

.catalog-header strong {
  color: var(--bone);
  font-family: "Special Elite", monospace;
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-red);
  border-radius: var(--radius);
  background: rgba(8, 4, 4, 0.74);
  backdrop-filter: blur(16px) saturate(120%);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.52);
  transition: 
    transform 400ms cubic-bezier(0.16, 1, 0.3, 1), 
    border-color 400ms ease, 
    box-shadow 400ms ease;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 34, 34, 0.45);
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.85), 
    0 0 30px rgba(255, 34, 34, 0.18);
}

.product-media {
  position: relative;
  width: 100%;
  height: 230px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #050505;
}

.product-media img,
.product-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.16);
  transition: transform 1200ms cubic-bezier(0.16, 1, 0.3, 1), filter 800ms ease;
}

.product-card:hover .product-media img,
.product-card:hover .product-media video {
  transform: scale(1.12);
  filter: saturate(1.08) contrast(1.22);
}

.product-media span,
.media-count {
  position: absolute;
  z-index: 1;
  border: 1px solid var(--line-red);
  border-radius: var(--radius);
  background: rgba(5, 5, 5, 0.88);
  color: var(--bone);
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.product-media span {
  left: 12px;
  top: 12px;
  padding: 6px 12px;
  font-family: var(--font-elite);
  color: var(--red-hot);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.media-count {
  right: 12px;
  bottom: 12px;
  min-width: 34px;
  height: 30px;
  display: grid;
  place-items: center;
  font-family: var(--font-elite);
}

.favorite-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 34, 34, 0.25);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.85);
  color: var(--bone);
  transition: 
    background 300ms ease, 
    border-color 300ms ease, 
    transform 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.favorite-btn:hover {
  transform: scale(1.15);
  border-color: var(--red-hot);
  background: #0f0303;
}

.favorite-btn.active,
.favorite-btn.active svg {
  color: var(--red-hot);
  fill: currentColor;
  filter: drop-shadow(0 0 6px rgba(255, 34, 34, 0.6));
}

.product-info {
  padding: 18px;
}

.product-info p,
.modal-info p {
  margin: 0 0 8px;
  color: var(--red-hot);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-info h2 {
  min-height: 58px;
  margin: 0;
  color: var(--bone);
  font-family: var(--font-elite);
  font-size: 21px;
  line-height: 1.24;
  transition: color 300ms ease;
}

.product-card:hover .product-info h2 {
  color: #fff;
}

.product-subtitle {
  min-height: 42px;
  display: block;
  margin-top: 8px;
  color: var(--bone-dim);
  font-size: 13px;
  line-height: 1.5;
}

.product-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.product-bottom > strong {
  min-width: 0;
  color: #fff;
  font-size: 19px;
  line-height: 1.18;
  font-family: var(--font-bebas);
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ghost-btn {
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0c0404;
  color: var(--bone);
  font-weight: 900;
  text-transform: uppercase;
  transition: 
    background 300ms ease, 
    border-color 300ms ease, 
    color 300ms ease,
    box-shadow 300ms ease;
}

.ghost-btn:hover,
.ghost-btn.active {
  border-color: var(--red-hot);
  color: #fff;
  background: #150303;
  box-shadow: 0 0 12px rgba(255, 34, 34, 0.25);
}

.ghost-btn:hover,
.ghost-btn.active {
  border-color: var(--red-hot);
  color: var(--red-hot);
}

.danger-btn {
  border-color: var(--line-red);
  color: #ff6b6b;
}

.round-add {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--red-hot);
  background: var(--red);
  color: #fff;
}

.empty-state,
.cart-empty {
  margin: 24px 0 0;
  padding: 42px 18px;
  border: 1px dashed var(--line-red);
  background: rgba(255, 43, 43, 0.035);
  color: var(--bone-dim);
  font-family: "Special Elite", monospace;
  font-weight: 900;
  text-align: center;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px) saturate(110%);
  transition: opacity 300ms ease, visibility 300ms ease;
}

.overlay.active {
  visibility: visible;
  opacity: 1;
}

.drawer {
  position: fixed;
  inset: auto var(--rail) 0 var(--rail);
  z-index: 120;
  max-height: min(760px, calc(100dvh - 24px));
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-red);
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  background:
    linear-gradient(90deg, rgba(255, 43, 43, 0.04) 1px, transparent 1px) 0 0 / 42px 42px,
    rgba(8, 4, 4, 0.86);
  backdrop-filter: blur(25px);
  box-shadow: 0 -25px 85px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 43, 43, 0.15);
  transform: translateY(110%);
  transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer.open {
  transform: translateY(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line-red);
  background: rgba(18, 4, 4, 0.45);
}

.drawer-header h2 {
  margin: 0;
  color: var(--bone);
  font-family: var(--font-creepster);
  font-size: 46px;
  font-weight: 400;
  line-height: 1;
  text-shadow: 0 0 12px rgba(255, 43, 43, 0.3);
}

.drawer-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 24px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 43, 43, 0.3) transparent;
}

.drawer-footer {
  flex-shrink: 0;
  padding: 24px;
  border-top: 1px solid var(--line-red);
  background: rgba(5, 2, 2, 0.96);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.cart-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 300ms ease, background 300ms ease;
}

.cart-item:hover {
  border-color: rgba(255, 43, 43, 0.3);
  background: rgba(255, 43, 43, 0.02);
}

.cart-item + .cart-item {
  margin-top: 12px;
}

.cart-item img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.cart-line {
  min-width: 0;
}

.cart-line strong {
  display: block;
  color: #fff;
  font-family: var(--font-inter);
  font-size: 16px;
}

.cart-line span {
  display: block;
  margin: 6px 0 10px;
  color: var(--bone-dim);
  font-size: 12px;
  font-weight: 800;
}

.qty-control {
  display: inline-grid;
  grid-template-columns: 32px 34px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.qty-control button {
  width: 32px;
  height: 32px;
  border: 0;
  background: #120404;
  color: var(--bone);
  font-weight: 900;
  transition: background 200ms ease, color 200ms ease;
}

.qty-control button:hover {
  background: var(--red-dim);
  color: var(--red-hot);
}

.qty-control span {
  display: grid;
  place-items: center;
  margin: 0;
  font-family: var(--font-elite);
  font-size: 14px;
  background: #070303;
}

.checkout-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkout-form label {
  display: grid;
  gap: 8px;
  color: var(--bone-dim);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-form label:last-child {
  grid-column: 1 / -1;
}

.checkout-form input,
.checkout-form textarea {
  padding: 12px 14px;
  resize: vertical;
  border-radius: var(--radius);
  transition: border-color 300ms ease, box-shadow 300ms ease;
}

.cart-totals {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
  padding: 14px 18px;
  border: 1px solid var(--line-red-glow);
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--red-dim), rgba(124, 32, 24, 0.2));
  box-shadow: inset 0 0 15px rgba(255, 43, 43, 0.1);
}

.cart-totals span {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cart-totals strong {
  color: #fff;
  font-size: 24px;
  font-family: var(--font-bebas);
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(255, 43, 43, 0.4);
}

.drawer-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-bottom: 12px;
}

.btn,
.primary-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--red-hot);
  border-radius: var(--radius);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: 
    background 300ms ease, 
    transform 300ms cubic-bezier(0.16, 1, 0.3, 1), 
    box-shadow 300ms ease, 
    border-color 300ms ease;
}

.btn:hover,
.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 43, 43, 0.25), 0 0 15px rgba(255, 43, 43, 0.15);
  border-color: #ff5555;
}

.btn:active,
.primary-btn:active {
  transform: translateY(0);
}

.primary-btn {
  background: linear-gradient(180deg, #e81d1d, #690505);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.checkout-btn {
  width: 100%;
}

.cart-telegram-link {
  width: 100%;
  margin-top: 12px;
}

.product-modal {
  position: fixed;
  inset: 50% auto auto 50%;
  z-index: 130;
  width: min(960px, calc(100% - 30px));
  max-height: min(780px, calc(100dvh - 42px));
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  border: 1px solid var(--line-red);
  border-radius: var(--radius);
  background: rgba(8, 4, 4, 0.90);
  backdrop-filter: blur(25px);
  box-shadow: 
    0 35px 95px rgba(0, 0, 0, 0.95), 
    0 0 50px rgba(255, 43, 43, 0.15),
    inset 0 1px 0 rgba(255, 43, 43, 0.1);
  transform: translate(-50%, -46%) scale(0.96);
  transition: 
    opacity 400ms cubic-bezier(0.16, 1, 0.3, 1), 
    visibility 400ms cubic-bezier(0.16, 1, 0.3, 1), 
    transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.product-modal.open {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  background: rgba(5, 5, 5, 0.85);
  border-radius: 999px;
  transition: transform 300ms ease, background 300ms ease;
}

.modal-close:hover {
  transform: rotate(90deg) scale(1.1);
  background: var(--red-dim);
  border-color: var(--red-hot);
}

#modal-content {
  max-height: min(780px, calc(100dvh - 42px));
  overflow-y: auto;
}

.modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
}

.modal-media,
.modal-media-item {
  min-height: 580px;
  background: #020202;
}

.modal-media img,
.modal-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 400ms ease;
}

.modal-info {
  padding: 42px;
  display: flex;
  flex-direction: column;
}

.modal-info h2 {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--font-elite);
  font-size: 34px;
  line-height: 1.12;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.modal-info > span {
  display: block;
  color: var(--bone-dim);
  font-weight: 800;
  line-height: 1.45;
  font-size: 15px;
}

.modal-price-label {
  display: block;
  margin: 18px 0;
  color: var(--red-hot);
  font-family: var(--font-bebas);
  font-size: 32px;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(255, 43, 43, 0.35);
}

.modal-universal-badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 6px 12px;
  border: 1px solid var(--line-red-glow);
  border-radius: var(--radius);
  background: rgba(255, 43, 43, 0.08);
  color: var(--red-hot);
  font-size: 11px;
  font-weight: 900;
  font-family: var(--font-elite);
  letter-spacing: 0.06em;
}

.modal-description {
  margin: 0 0 22px;
  color: var(--bone-dim);
  line-height: 1.6;
  font-size: 14.5px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.variant-list {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.variant-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  color: var(--bone);
  font-weight: 900;
  transition: 
    background 300ms ease, 
    border-color 300ms ease, 
    box-shadow 300ms ease,
    color 300ms ease;
}

.variant-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 43, 43, 0.25);
  color: #fff;
}

.variant-btn.active {
  border-color: var(--red-hot);
  background: var(--red-dim);
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 43, 43, 0.15);
}

.variant-btn strong {
  font-family: var(--font-bebas);
  font-size: 18px;
  letter-spacing: 0.05em;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  background: radial-gradient(circle at center, rgba(15, 6, 6, 0.95), rgba(0, 0, 0, 0.99));
  backdrop-filter: blur(20px);
  perspective: 1200px;
  transition: 
    opacity 800ms cubic-bezier(0.76, 0, 0.24, 1), 
    visibility 800ms cubic-bezier(0.76, 0, 0.24, 1);
}

.age-gate.closed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.age-card {
  width: min(440px, 100%);
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: 44px 34px;
  border: 2px solid rgba(255, 34, 34, 0.3);
  border-radius: var(--radius);
  background: 
    radial-gradient(circle at top left, rgba(255, 34, 34, 0.06), transparent 60%),
    linear-gradient(135deg, #100505 0%, #060202 100%);
  color: var(--bone);
  text-align: center;
  box-shadow: 
    0 35px 85px rgba(0, 0, 0, 0.96), 
    0 0 50px rgba(255, 34, 34, 0.20),
    inset 0 0 25px rgba(0, 0, 0, 0.95);
  transform: rotateX(0) rotateY(0) translateZ(0);
  transform-style: preserve-3d;
  transition: 
    transform 900ms cubic-bezier(0.76, 0, 0.24, 1), 
    opacity 700ms cubic-bezier(0.76, 0, 0.24, 1);
  position: relative;
}

.age-gate.closed .age-card {
  transform: rotateY(-90deg) translateZ(150px);
  opacity: 0;
}

.age-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(255, 34, 34, 0.20);
  border-radius: var(--radius);
  pointer-events: none;
}

.age-card .brand-mark {
  font-family: var(--font-elite);
  font-size: 20px;
  color: var(--red-hot);
  border-color: rgba(255, 43, 43, 0.4);
  box-shadow: 0 0 15px rgba(255, 43, 43, 0.2);
  margin-bottom: 8px;
}

.age-card h2 {
  margin: 0;
  font-family: var(--font-creepster);
  font-size: 52px;
  font-weight: 400;
  color: var(--red-hot);
  text-shadow: 0 0 15px rgba(255, 43, 43, 0.5);
  letter-spacing: 0.03em;
}

.age-card p {
  margin: 0;
  color: var(--bone-dim);
  line-height: 1.6;
  font-size: 15px;
}

.install-prompt {
  position: fixed;
  left: calc(var(--rail) + 18px);
  bottom: 18px;
  z-index: 88;
  width: min(520px, calc(100% - var(--rail) - 36px));
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line-red);
  background: rgba(5, 5, 5, 0.92);
  color: var(--bone);
  box-shadow: var(--shadow);
}

.install-prompt span {
  font-weight: 800;
}

.install-prompt button {
  min-height: 36px;
  border: 1px solid var(--line);
  background: #120404;
  color: var(--bone);
  font-weight: 900;
}

.toast {
  position: fixed;
  left: calc(50% + var(--rail) / 2);
  bottom: 28px;
  z-index: 210;
  max-width: min(480px, calc(100% - var(--rail) - 28px));
  padding: 12px 14px;
  border: 1px solid var(--line-red);
  background: #0b0404;
  color: var(--bone);
  font-weight: 900;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.error-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--void);
}

.error-page {
  width: min(720px, calc(100% - 32px));
}

.error-panel {
  margin-top: 28px;
  padding: 30px;
  border: 1px solid var(--line-red);
  background: var(--panel);
}

.error-panel p {
  margin: 0;
  color: var(--red-hot);
  font-weight: 900;
}

.error-panel h1 {
  margin: 8px 0 20px;
  font-family: "Creepster", "Bebas Neue", system-ui, sans-serif;
  font-size: 62px;
  font-weight: 400;
}

@media (max-width: 1080px) {
  :root {
    --rail: 0px;
  }

  main {
    margin-left: 0;
  }

  .site-header {
    position: sticky;
    inset: 0 0 auto;
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--line-red);
  }

  .header-inner {
    width: min(1220px, calc(100% - 24px));
    height: auto;
    margin: 0 auto;
    padding: 10px 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .brand {
    display: flex;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-text {
    writing-mode: initial;
    transform: none;
    font-size: 16px;
  }

  .nav-links {
    margin-top: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
  }

  .nav-links a {
    min-height: 44px;
    padding: 0 12px;
  }

  .header-actions {
    grid-template-columns: auto auto;
  }

  .home-bg {
    inset: 0;
  }

  .home-inner {
    min-height: calc(100vh - 70px);
    grid-template-columns: 1fr;
    align-items: end;
  }

  .shop-window {
    align-self: end;
  }

  .menu-choice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .menu-choice {
    min-height: 160px;
  }

  .choice-title {
    font-size: 54px;
  }

  .control-rail {
    grid-template-columns: 1fr;
  }

  .toolbar {
    grid-template-columns: 1fr 220px 130px;
  }

  .drawer {
    inset-inline: 0;
  }

  .install-prompt,
  .toast {
    left: 50%;
    width: min(520px, calc(100% - 28px));
    max-width: min(480px, calc(100% - 28px));
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, 1220px);
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .brand-text {
    max-width: 172px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-links a {
    min-width: 88px;
    flex: 0 0 auto;
  }

  .home-bg {
    position: absolute;
  }

  .home-bg img {
    object-position: 60% center;
  }

  .home-inner {
    min-height: calc(100vh - 118px);
    padding: 34px 0;
  }

  .shop-window {
    padding: 22px;
    transform: none;
  }

  .shop-window > * {
    transform: none;
  }

  .shop-window h1 {
    font-size: 66px;
  }

  .shop-line {
    font-size: 16px;
  }

  .telegram-hero-link {
    width: 100%;
  }

  .menu-choice-grid {
    grid-template-columns: 1fr;
  }

  .menu-choice {
    min-height: 146px;
    transform: none;
  }

  .menu-choice:hover {
    transform: translateX(0);
  }

  .choice-title {
    font-size: 50px;
  }

  .menu-hero {
    min-height: 350px;
  }

  .menu-hero-inner {
    padding: 52px 0 34px;
  }

  .menu-hero h1 {
    font-size: 70px;
  }

  .chain-curtain span:nth-child(1) {
    left: 24%;
  }

  .chain-curtain span:nth-child(2) {
    left: 58%;
  }

  .chain-curtain span:nth-child(3) {
    display: none;
  }

  .menu-layout {
    margin-top: -26px;
  }

  .toolbar {
    grid-template-columns: 1fr;
  }

  .catalog-header {
    grid-template-columns: 1fr;
  }

  .catalog-header strong {
    font-size: 24px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-info h2 {
    min-height: auto;
  }

  .drawer {
    max-height: calc(100dvh - 14px);
  }

  .checkout-form {
    grid-template-columns: 1fr;
  }

  .drawer-actions {
    grid-template-columns: 1fr;
  }

  .modal-grid {
    grid-template-columns: 1fr;
  }

  .modal-media,
  .modal-media-item {
    min-height: 310px;
  }

  .modal-info {
    padding: 24px;
  }
}

@media (max-width: 420px) {
  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-text {
    max-width: 134px;
  }

  .shop-window h1 {
    font-size: 56px;
  }

  .cart-item {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .cart-item > strong {
    grid-column: 2;
  }

  .cart-item img {
    width: 62px;
    height: 62px;
  }
}
