/* ===== ПЕРЕМЕННЫЕ ===== */
:root {
  --bg: #0a0a0a;
  --surface: rgba(24, 24, 27, 0.7);
  --surface-hover: rgba(39, 39, 42, 0.85);
  --text: #f4f4f5;
  --text-muted: #71717a;
  --brand: #ea580c;
  --brand2: #f97316;
  --grad: linear-gradient(135deg, #ea580c, #c2410c);
  --grad-animated: linear-gradient(135deg, #ea580c, #f97316, #ea580c);
  --glow: 0 0 24px rgba(234,88,12,0.4);
  --glass-blur: blur(24px);
  --glass-border: rgba(255,255,255,0.07);
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 9999px;
  --success: #10b981;
  --danger: #ef4444;
  --font: "Inter", sans-serif;
  --scroll-p: 0%;
}

/* ===== UTILITIES (Tailwind-like) ===== */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.gap-6 { gap: 1.5rem; }
.gap-4 { gap: 1rem; }
.relative { position: relative; }
.z-10 { z-index: 10; }
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
}

/* Блокировка прокрутки фона */
body.scroll-locked {
  overflow: hidden !important;
}

/* ===== АНИМАЦИИ ===== */
@keyframes liquid { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
@keyframes tgrad  { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
@keyframes blob   { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(30px,-50px) scale(1.1)} 66%{transform:translate(-20px,20px) scale(0.9)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes slideIn{ from{opacity:0;transform:translateX(20px)} to{opacity:1;transform:translateX(0)} }
@keyframes shimmer{ from{background-position:200% 0} to{background-position:-200% 0} }
@keyframes pulse  { 0%,100%{transform:scale(1)} 50%{transform:scale(1.05)} }

/* ===== СБРОС ===== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; overflow-x:hidden; }
html.no-smooth { scroll-behavior:auto !important; }
body {
  font-family: var(--font);
  background: var(--bg);
  background-image:
    radial-gradient(at 20% 0%, rgba(234,88,12,.08) 0px, transparent 50%),
    radial-gradient(at 80% 100%, rgba(194,65,12,.06) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
ul { list-style:none; }
a  { text-decoration:none; color:inherit; }

/* ===== КОНТЕЙНЕР ===== */
.container { width:100%; max-width:1280px; margin:0 auto; padding:0 20px; }

/* ===== ТИПОГРАФИКА ===== */
h1,h2,h3,h4 { font-weight:800; line-height:1.2; }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 2rem;
  color: #fff;
  font-weight: 900;
  display: inline-block;
  position: relative;
}
.section-title::after {
  content:""; position:absolute; bottom:-10px; left:0;
  width:60px; height:4px;
  background: var(--brand); border-radius:var(--r-pill);
}
.animate-up { animation: fadeUp 0.7s ease forwards; }

/* ===== КНОПКИ ===== */
.btn {
  display: inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 0.75rem 1.8rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-pill);
  font-family: var(--font); font-weight:600; font-size:1rem;
  cursor:pointer; transition:all 0.4s cubic-bezier(0.19,1,0.22,1);
  position:relative; overflow:hidden;
}
.btn-primary {
  background: var(--brand);
  color:#fff; border-color:transparent;
  box-shadow: var(--glow);
}
.btn-primary:hover { transform:translateY(-3px) scale(1.04); background:#c2410c; box-shadow:0 10px 30px rgba(234,88,12,.5); }
.btn-outline {
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.2);
  color:#fff; backdrop-filter:blur(10px);
}
.btn-outline:hover { background:rgba(255,255,255,.1); transform:translateY(-2px); }
.btn-icon {
  width:42px; height:42px; border-radius:50%;
  background:rgba(255,255,255,.05);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  color:var(--text); display:flex; align-items:center; justify-content:center;
  border:1px solid var(--glass-border); cursor:pointer;
  transition:all 0.3s ease;
}
.btn-icon:hover { background:var(--brand); color:#fff; border-color:var(--brand); }
.btn-sm { padding:.5rem 1.2rem; font-size:.9rem; }
.btn-lg { padding:1rem 2.5rem; font-size:1.1rem; }

/* ===== БЛОБ-ФОНЫ ===== */
.glass-blob {
  position:fixed; border-radius:50%; filter:blur(80px);
  z-index:-1; opacity:.15; pointer-events:none;
  animation:blob 20s infinite ease-in-out;
}

/* ===== ХЕДЕР ===== */
.header {
  position:fixed; top:14px; left:50%; transform:translateX(-50%);
  width:calc(100% - 28px); max-width:1220px;
  z-index:500;
  background: rgba(15,23,42,.65);
  backdrop-filter:var(--glass-blur); -webkit-backdrop-filter:var(--glass-blur);
  border:1px solid var(--glass-border);
  border-radius:var(--r-pill);
  padding:.7rem 0;
  transition:background .3s ease, top .3s ease, width .3s ease;
}
.header::after {
  content:''; position:absolute; top:-2px; left:-2px; right:-2px; bottom:-2px;
  border-radius:inherit; padding:2px;
  background: conic-gradient(from 270deg, var(--brand) 0%, var(--brand2) var(--scroll-p), transparent var(--scroll-p));
  -webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
  pointer-events:none; z-index:-1; opacity:.8;
  filter:drop-shadow(0 0 6px var(--brand));
}
.header.scrolled { top:8px; background:rgba(5,7,10,.85); width:calc(100% - 18px); }
.header-container { display:flex; justify-content:space-between; align-items:center; }
.header-left { display:flex; align-items:center; gap:14px; }

/* Логотип */
.logo-text { font-size:1.8rem; font-weight:900; letter-spacing:-2px; text-transform:uppercase; font-style:italic; }
.logo-roni { color:var(--brand); }
.dot { color:var(--brand); }

/* Десктоп-навигация */
.desktop-nav { display:flex; gap:.4rem; align-items:center; }
.nav-page-link {
  font-size:.88rem; font-weight:500; color:var(--text-muted);
  padding:.45rem 1rem; border-radius:var(--r-pill);
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.07);
  transition:all .2s ease; white-space:nowrap; cursor:pointer;
}
.nav-page-link:hover { color:var(--text); background:rgba(255,255,255,.09); }
.nav-page-link.active {
  color:#fff; background:var(--brand); border-color:transparent;
  box-shadow:0 4px 12px rgba(234,88,12,.3); font-weight:600;
}

/* Правая часть хедера */
.header-right { display:flex; align-items:center; gap:12px; }
.cart-btn {
  position:relative; cursor:pointer; font-size:1.1rem;
  width:44px; height:44px; display:flex; align-items:center; justify-content:center;
  background:var(--surface); border-radius:50%;
  border:1px solid var(--glass-border);
  transition:all .3s ease;
}
.cart-btn:hover { background:var(--surface-hover); transform:scale(1.06); }
.cart-count {
  position:absolute; top:-5px; right:-5px;
  background:var(--brand); color:#fff;
  font-size:.72rem; font-weight:800;
  width:20px; height:20px; display:flex; align-items:center; justify-content:center;
  border-radius:50%; border:2px solid var(--bg);
}

/* Мобильная кнопка меню */
.mobile-menu-btn {
  background:none; border:none; color:var(--text);
  font-size:1.4rem; padding:.4rem; cursor:pointer; display:none;
}

/* ===== МОБИЛЬНЫЙ САЙДБАР ===== */
.mobile-sidebar {
  position:fixed; top:0; left:0; width:290px; height:100dvh;
  background:#0f172a; border-right:1px solid rgba(255,255,255,.08);
  z-index:9999; transform:translateX(-105%);
  transition:transform .4s cubic-bezier(.4,0,.2,1);
  display:flex; flex-direction:column;
  box-shadow:10px 0 40px rgba(0,0,0,.5);
}
.mobile-sidebar.open { transform:translateX(0); }
.sidebar-header {
  padding:1.5rem; display:flex; align-items:center; justify-content:space-between;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.close-sidebar {
  background:rgba(255,255,255,.06); border:none; color:#fff;
  width:36px; height:36px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; cursor:pointer;
}
.sidebar-content {
  padding:1.5rem;
  flex:1; overflow-y:auto;
  padding-bottom:calc(1.5rem + env(safe-area-inset-bottom));
}
.sidebar-nav-links { display:flex; flex-direction:column; gap:.4rem; margin-bottom:2rem; }
.sidebar-nav-link {
  font-size:1.1rem; font-weight:600; color:#fff;
  padding:.8rem 1rem; border-radius:var(--r-sm);
  display:flex; align-items:center; gap:12px;
  transition:background .2s;
}
.sidebar-nav-link i { width:20px; color:var(--brand); }
.sidebar-nav-link:hover { background:rgba(255,255,255,.06); }
.sidebar-nav-link.active { background:rgba(234,88,12,.12); color:var(--brand); }
.sidebar-divider { border:none; border-top:1px solid rgba(255,255,255,.08); margin:1rem 0; }
.sidebar-info { display:flex; flex-direction:column; gap:.8rem; }
.sidebar-info a, .sidebar-info p {
  color:var(--text-muted); font-size:.95rem;
  display:flex; align-items:center; gap:10px;
}
.sidebar-info i { color:var(--brand); width:16px; }
.sidebar-tg-btn {
  margin-top:1rem; background:var(--brand);
  color:#fff !important; padding:.7rem 1rem; border-radius:var(--r-sm);
  font-weight:700; justify-content:center;
}
.sidebar-install-btn {
  border:0; width:100%; cursor:pointer; font:inherit;
  display:flex; align-items:center; gap:10px;
}
.sidebar-overlay {
  position:fixed; inset:0; background:rgba(0,0,0,.75);
  backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px);
  z-index:9998; opacity:0; visibility:hidden; transition:all .3s ease;
}
.sidebar-overlay.active { opacity:1; visibility:visible; }

.install-modal {
  position:fixed; inset:0; z-index:10050;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
  display:flex; align-items:center; justify-content:center;
  padding:20px; opacity:0; visibility:hidden; transition:all .25s ease;
}
.install-modal.open { opacity:1; visibility:visible; }
.install-modal-card {
  width:min(100%, 390px); position:relative;
  background:#0f172a; color:#fff;
  border:1px solid rgba(255,255,255,.1);
  border-radius:8px; padding:28px 22px 24px;
  box-shadow:0 24px 80px rgba(0,0,0,.45);
}
.install-modal-close {
  position:absolute; top:12px; right:12px;
  width:36px; height:36px; border:0; border-radius:8px;
  background:rgba(255,255,255,.08); color:#fff; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.install-modal-icon {
  width:52px; height:52px; border-radius:8px;
  background:var(--brand); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:1.7rem; margin-bottom:18px;
}
.install-modal-card h3 {
  font-size:1.35rem; line-height:1.2; margin:0 44px 10px 0;
}
.install-modal-lead, .install-modal-note {
  color:var(--text-muted); line-height:1.5; margin:0 0 16px;
}
.install-modal-note { margin:16px 0 0; font-size:.94rem; }
.install-steps {
  margin:0; padding:0; list-style:none;
  display:flex; flex-direction:column; gap:10px;
}
.install-steps li {
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  border-radius:8px; padding:12px 12px 12px 42px;
  position:relative; color:#fff; line-height:1.4;
}
.install-steps li::before {
  content:counter(list-item);
  position:absolute; left:12px; top:12px;
  width:22px; height:22px; border-radius:50%;
  background:var(--brand); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:.8rem; font-weight:800;
}

/* ===== КОРЗИНА (сайдбар) ===== */
.cart-sidebar {
  position:fixed; top:14px; right:-110%; bottom:14px;
  width:min(calc(100% - 28px), 420px);
  background:rgba(15,23,42,.75);
  backdrop-filter:var(--glass-blur); -webkit-backdrop-filter:var(--glass-blur);
  z-index:1000; display:flex; flex-direction:column;
  transition:right .55s cubic-bezier(.19,1,.22,1);
  border:1px solid var(--glass-border); border-radius:var(--r-lg);
  box-shadow:-20px 0 50px rgba(0,0,0,.5); margin-right:14px;
}
.cart-sidebar.open { right:0; }
.cart-overlay {
  position:fixed; inset:0;
  background:rgba(0,0,0,.6); backdrop-filter:blur(4px);
  z-index:999; opacity:0; visibility:hidden; transition:all .4s ease;
}
.cart-overlay.open { opacity:1; visibility:visible; }
.cart-header {
  padding:1.3rem 1.5rem; border-bottom:1px solid var(--glass-border);
  display:flex; justify-content:space-between; align-items:center;
}
.cart-header h3 { font-size:1.2rem; }
.close-cart, .close-modal {
  background:none; border:none; color:var(--text-muted);
  font-size:1.4rem; cursor:pointer; transition:color .2s;
}
.close-cart:hover, .close-modal:hover { color:var(--danger); }
.cart-items {
  flex:1; overflow-y:auto; padding:1.2rem;
  display:flex; flex-direction:column; gap:.9rem;
}
.empty-cart-msg { text-align:center; color:var(--text-muted); margin-top:2rem; font-style:italic; }
.cart-item {
  display:flex; gap:.9rem;
  background:var(--bg); padding:.7rem; border-radius:var(--r-md);
  border:1px solid var(--glass-border);
  animation:slideIn .3s ease forwards;
}
.cart-item-img { width:68px; height:68px; border-radius:var(--r-sm); object-fit:cover; }
.cart-item-info { flex:1; display:flex; flex-direction:column; justify-content:space-between; }
.cart-item-title { font-size:.92rem; font-weight:600; }
.cart-item-price { color:var(--brand); font-weight:800; font-size:.95rem; }
.cart-item-actions { display:flex; align-items:center; gap:.7rem; margin-top:.3rem; }
.qty-btn {
  width:24px; height:24px; border-radius:4px;
  border:none; background:var(--surface-hover); color:#fff;
  cursor:pointer; font-size:.8rem; transition:background .2s;
}
.qty-btn:hover { background:var(--brand); }
.qty-display { font-size:.9rem; font-weight:600; width:20px; text-align:center; }
.cart-footer {
  padding:1.3rem; border-top:1px solid var(--glass-border);
  background:rgba(255,255,255,.02);
  display:flex; flex-direction:column; gap:.8rem;
}
.cart-row { display:flex; justify-content:space-between; align-items:center; }
.cart-row.muted { font-size:.9rem; color:var(--text-muted); }
.cart-row.total { font-size:1.2rem; font-weight:700; margin-bottom:.3rem; }
.cart-row .price-accent { color:var(--brand); }
.checkout-btn { width:100%; padding:1rem; font-size:1.05rem; }
.checkout-btn:disabled { background:var(--surface-hover); color:var(--text-muted); cursor:not-allowed; box-shadow:none; animation:none; }

/* ===== КНОПКА ОФОРМИТЬ ЗАКАЗ ===== */
.checkout-panel-btn {
  width: 100%;
  padding: 1.1rem 1.5rem;
  background: var(--brand);
  border: none;
  border-radius: 18px;
  color: #fff;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 950;
  text-transform: uppercase;
  font-style: italic;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all .3s ease;
  letter-spacing: .03em;
  box-shadow: 0 10px 25px rgba(234, 88, 12, 0.25);
}
.checkout-panel-btn:hover:not(:disabled) { background: #c2410c; }
.checkout-panel-btn:disabled { background: rgba(255,255,255,.08); color: var(--text-muted); cursor: not-allowed; }
.checkout-btn-price { font-weight: 900; font-size: 1.05rem; }

/* ===== ПАНЕЛЬ ОФОРМЛЕНИЯ ===== */
.checkout-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
}
.checkout-field-group {
  margin-bottom: 1.2rem;
}
.checkout-field-input {
  width: 100%;
  padding: 1.1rem 1.2rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font);
  font-size: .95rem;
  transition: border-color .2s, background .2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.checkout-field-input:focus {
  border-color: var(--brand);
  background: rgba(255,255,255,.05);
}
.checkout-field-input::placeholder { color: rgba(255,255,255,.3); }
.checkout-textarea { resize: none; min-height: 90px; }

/* Кастомный тумблер Заказать звонок */
.checkout-toggle-card {
  display: block;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  margin-bottom: 1.2rem;
  cursor: pointer;
  transition: all .2s;
}
.checkout-toggle-card:hover {
  background: rgba(255,255,255,.04);
}
.checkout-toggle-checkbox {
  display: none;
}
.checkout-toggle-content {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.checkout-toggle-icon {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
  flex-shrink: 0;
}
.checkout-toggle-checkbox:checked + .checkout-toggle-content .checkout-toggle-icon {
  background: var(--brand);
  border-color: var(--brand);
}
.checkout-toggle-checkbox:checked + .checkout-toggle-content .checkout-toggle-icon::after {
  content: '';
  display: block;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}
.checkout-toggle-title {
  font-weight: 800;
  font-style: italic;
  font-size: .95rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  color: #fff;
}
.checkout-toggle-subtitle {
  font-size: .75rem;
  color: var(--text-muted);
}

/* Кнопка Заказать */
.checkout-submit-btn {
  width: 100%;
  margin-top: 1.5rem;
  padding: 1.1rem 1.5rem;
  background: var(--brand);
  border: none;
  border-radius: 14px;
  color: #fff;
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: .02em;
  transition: background .2s ease, transform .1s ease, box-shadow .2s;
  box-shadow: 0 10px 30px rgba(234,88,12,.4);
}
.checkout-submit-btn:hover { background: #c2410c; transform: translateY(-1px); box-shadow: 0 12px 35px rgba(234,88,12,.5); }
.checkout-submit-btn:active { transform: translateY(0); box-shadow: 0 6px 20px rgba(234,88,12,.3); }
.checkout-submit-price { font-weight: 900; font-size: 1.1rem; }

/* ===== ЭКРАН УСПЕХА ЗАКАЗА ===== */
.checkout-success-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.success-anim-wrapper {
  margin-bottom: 2rem;
  animation: successBounceIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}
@keyframes successBounceIn {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.success-anim-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid var(--brand);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(234,88,12,.2), inset 0 0 15px rgba(234,88,12,.1);
}
.success-anim-circle::after {
  content: '';
  display: block;
  width: 16px;
  height: 26px;
  border: solid var(--brand);
  border-width: 0 4px 4px 0;
  transform: rotate(45deg);
  margin-top: -6px;
  animation: successCheck 0.4s ease-out 0.4s both;
}
@keyframes successCheck {
  0% { opacity: 0; transform: rotate(45deg) scale(0); }
  100% { opacity: 1; transform: rotate(45deg) scale(1); }
}
.success-anim-title {
  font-weight: 800;
  font-style: italic;
  font-size: 1.4rem;
  letter-spacing: .02em;
  margin-bottom: .6rem;
  color: #fff;
  opacity: 0;
  animation: fadeInT 0.5s ease 0.6s both;
}
.success-anim-subtitle {
  color: var(--text-muted);
  font-size: .95rem;
  opacity: 0;
  animation: fadeInT 0.5s ease 0.8s both;
}
@keyframes fadeInT {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Кнопка Назад */
.checkout-back-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s;
  flex-shrink: 0;
}
.checkout-back-btn:hover { background: rgba(255,255,255,.12); }


/* Upsell */
.upsell-section { padding:.9rem 1.2rem; border-top:1px solid var(--glass-border); }
.upsell-title {
  font-size:.88rem; font-weight:600; color:var(--text-muted);
  display:flex; align-items:center; justify-content:space-between;
  cursor:pointer; user-select:none; margin-bottom:.7rem;
}
.upsell-grid {
  display:flex; gap:.8rem; overflow-x:auto; padding-bottom:.4rem;
  scrollbar-width:none;
}
.upsell-grid::-webkit-scrollbar { display:none; }
.upsell-item {
  flex:0 0 120px; background:var(--surface); border:1px solid var(--glass-border);
  border-radius:var(--r-md); padding:.7rem; text-align:center; cursor:pointer;
  transition:all .3s ease;
}
.upsell-item:hover { border-color:var(--brand); background:var(--surface-hover); }
.upsell-item img { width:100%; height:65px; object-fit:contain; margin-bottom:.4rem; }
.upsell-item-name { font-size:.78rem; height:2rem; overflow:hidden; line-height:1.2; margin-bottom:.3rem; }
.upsell-item-price { font-size:.95rem; font-weight:800; margin-bottom:.5rem; }
.upsell-add-btn { width:100%; padding:.35rem; font-size:.75rem; }
.upsell-section.collapsed .upsell-grid { display:none; }

/* ===== МОДАЛКИ ===== */
.modal {
  position:fixed; inset:0;
  background:rgba(0,0,0,.75); backdrop-filter:blur(6px);
  z-index:2000; display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transition:all .4s ease;
  padding:16px;
}
.modal.open { opacity:1; visibility:visible; }
.modal-content {
  background:rgba(12,18,38,.7);
  backdrop-filter:blur(40px); -webkit-backdrop-filter:blur(40px);
  border-radius:36px; width:100%; max-width:900px;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 50px 100px rgba(0,0,0,.7);
  transform:translateY(24px) scale(.98);
  transition:all .4s cubic-bezier(.4,0,.2,1);
  overflow:hidden; display:flex; flex-direction:column;
}
.modal.open .modal-content { transform:translateY(0) scale(1); }
.close-modal {
  position:absolute; top:14px; right:14px; z-index:100;
  width:42px; height:42px;
  background:rgba(15,23,42,.85); backdrop-filter:blur(10px);
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  border:2px solid rgba(255,255,255,.3); color:#fff;
  box-shadow:0 4px 15px rgba(0,0,0,.6); cursor:pointer;
}

/* Product Modal */
.product-modal-content { max-width:800px; padding:0; }
.product-detail-grid { display:grid; grid-template-columns:1fr 1fr; }
.product-detail-img { width:100%; min-height:380px; background:#000; position:relative; }
.product-detail-img img { width:100%; height:100%; object-fit:cover; }
.product-detail-img::after {
  content:""; position:absolute; bottom:0; left:0; width:100%; height:80px;
  background:linear-gradient(to top, rgba(12,18,38,.9), transparent);
}
.product-detail-info {
  padding:2.5rem 2rem; display:flex; flex-direction:column;
  background:rgba(15,23,42,.25);
}
.modal-product-price { font-size:1.8rem; font-weight:800; color:var(--brand); margin:.8rem 0; }
.modal-product-desc { color:var(--text-muted); line-height:1.6; margin-bottom:1.5rem; font-size:.95rem; flex:1; }
.product-nuts-inline {
  display:flex; flex-wrap:wrap; gap:6px;
  background:rgba(255,255,255,.05); padding:8px 12px;
  border-radius:12px; border:1px solid rgba(255,255,255,.1);
  margin-bottom:1.2rem;
}
.nut-inline-item { font-size:.8rem; white-space:nowrap; }
.nut-inline-label { color:var(--brand2); font-weight:700; margin-right:3px; }
.nut-inline-item:not(:last-child)::after { content:"|"; margin-left:8px; color:rgba(255,255,255,.15); }
.product-actions-grid { display:grid; grid-template-columns:1fr 2fr; gap:10px; }

/* Checkout Modal */
#checkoutModal .modal-content {
  padding:2.5rem 2rem; max-height:95dvh; overflow-y:auto;
  background:rgba(12,18,38,.97);
}
#checkoutModal h2 { margin-bottom:1.5rem; }
.input-group { margin-bottom:1.3rem; }
.input-group label { display:block; margin-bottom:.4rem; font-weight:600; font-size:.9rem; color:var(--text-muted); }
.input-group input, .input-group textarea, .input-group select {
  width:100%; padding:.8rem 1rem;
  background:rgba(255,255,255,.04); border:1px solid var(--glass-border);
  border-radius:var(--r-sm); color:#fff;
  font-family:var(--font); font-size:1rem; transition:all .3s ease;
}
.input-group textarea { resize:vertical; min-height:80px; }
.input-group input:focus, .input-group textarea:focus {
  outline:none; border-color:var(--brand);
  background:rgba(255,255,255,.07); box-shadow:0 0 12px rgba(99,102,241,.2);
}

/* ===== ФУТЕР ===== */
.footer {
  background:var(--bg); padding:4rem 0 2rem;
  border-top:1px solid var(--glass-border);
}
.footer-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(200px, 1fr)); gap:3rem; margin-bottom:3rem; }
.footer-brand .logo-text { font-size:1.6rem; display:block; margin-bottom:.8rem; }
.footer-brand p { color:var(--text-muted); font-size:.9rem; max-width:240px; line-height:1.6; }
.footer-col h4 { margin-bottom:1.2rem; font-size:1rem; color:var(--text); }
.footer-col p, .footer-col a { color:var(--text-muted); font-size:.9rem; margin-bottom:.6rem; display:flex; align-items:center; gap:8px; transition:color .2s; }
.footer-col a:hover { color:var(--brand); }
.footer-col i { color:var(--brand); width:16px; }
.social-icons { display:flex; gap:.8rem; margin-top:.5rem; }
.social-icons a {
  width:40px; height:40px; border-radius:50%;
  background:var(--surface); display:flex; align-items:center; justify-content:center;
  border:1px solid var(--glass-border); font-size:1rem;
  transition:all .3s ease;
}
.social-icons a:hover { background:var(--brand); color:#fff; transform:translateY(-3px); }
.footer-bottom {
  text-align:center; color:var(--text-muted); font-size:.88rem;
  padding-top:2rem; border-top:1px solid var(--glass-border);
}
.footer-bottom a { color:var(--brand); }

/* ===== HERO (главная) ===== */
.hero {
  position:relative; padding:160px 0 100px;
  min-height:100svh; display:flex; align-items:center;
  background:url("https://images.unsplash.com/photo-1579871494447-9811cf80d66c?q=80&w=2070") center/cover no-repeat;
  overflow:hidden;
}
.hero-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to right, rgba(5,7,10,.96) 0%, rgba(5,7,10,.6) 60%, rgba(5,7,10,.3) 100%);
}
.hero-content { position:relative; z-index:10; max-width:640px; }
.hero-title {
  font-size:clamp(2.2rem, 6vw, 5rem); line-height:1.05; margin-bottom:1.5rem;
  background:linear-gradient(135deg, #fff, #94a3b8, var(--brand), #fff);
  background-size:300% auto;
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent;
  animation:tgrad 12s ease infinite;
}
.hero-badge {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(99,102,241,.15); border:1px solid rgba(99,102,241,.3);
  padding:.4rem 1rem; border-radius:var(--r-pill);
  font-size:.85rem; font-weight:600; color:var(--brand);
  margin-bottom:1.5rem;
}
.hero-subtitle { font-size:1.15rem; color:var(--text-muted); margin-bottom:2.5rem; max-width:480px; }
.hero-actions { display:flex; gap:1rem; flex-wrap:wrap; }
.hero-stats { display:flex; gap:2.5rem; margin-top:3rem; flex-wrap:wrap; }
.hero-stat-value { font-size:2rem; font-weight:800; color:var(--brand); display:block; }
.hero-stat-label { font-size:.85rem; color:var(--text-muted); }

/* ===== КАТЕГОРИИ (главная) ===== */
.categories-section { padding:6rem 0; background: radial-gradient(circle at 50% 0%, rgba(99,102,241,0.08) 0%, transparent 70%); }
.categories-grid {
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:2rem;
}
.category-card {
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content:""; position:absolute; inset:0; border-radius:inherit;
  background: var(--brand); opacity:0; transition:opacity .4s;
}
.category-card:hover::before { opacity:.06; }
.category-card:hover { 
  transform: translateY(-10px) scale(1.02); 
  border-color: rgba(234,88,12,0.3); 
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 20px rgba(234,88,12,0.1); 
}
.category-card-img-wrap {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));
}
.category-card:hover .category-card-img-wrap { transform: scale(1.1); }
.category-card-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.category-card-info { display: flex; flex-direction: column; gap: 0.3rem; }
.category-card-name { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.category-card-count { font-size: 0.85rem; color: var(--text-muted); opacity: 0.8; }


/* ===== ХИТЫ (главная) ===== */
.hits-section { padding:4rem 0 6rem; }
.hits-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(260px, 1fr));
  gap:1.8rem;
}

/* ===== КАРТОЧКА ТОВАРА ===== */
.product-card {
  background: rgba(24,24,27,0.4);
  border-radius: 20px; overflow:hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color .3s ease, box-shadow .3s ease;
  display:flex; flex-direction:column; position:relative; cursor:pointer;
}
.product-card:hover { box-shadow:0 20px 50px rgba(0,0,0,.6); border-color:rgba(234,88,12,.25); }
.product-card:hover .product-img { transform:scale(1.06); }
.product-img-wrap { position:relative; width:100%; padding-top:72%; overflow:hidden; background:#111; }
.product-img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .7s ease; }
.product-info { padding:1.1rem 1.2rem 1.2rem; display:flex; flex-direction:column; flex:1; }
.product-title { font-size:1.05rem; font-weight:700; margin-bottom:.35rem; transition:color .2s; }
.product-card:hover .product-title { color: var(--brand); }
.product-desc { font-size:.84rem; color:var(--text-muted); margin-bottom:1rem; flex:1; line-height:1.5; display:-webkit-box; -webkit-line-clamp:2; line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.product-footer { display:flex; justify-content:space-between; align-items:center; margin-top:auto; }
.product-price { font-size:1.3rem; font-weight:900; color:#fff; }

/* Кнопка добавления в корзину в карточке */
.add-to-cart-btn {
  background: var(--brand) !important;
  border-color: transparent !important;
  border-radius: 12px !important;
  color: #fff !important;
  width: 38px; height: 38px;
}
.add-to-cart-btn:hover { background: #c2410c !important; transform: scale(1.08); }

/* ===== ПРOMO-БАННЕР ===== */
.promo-banner {
  margin:0 auto 5rem; max-width:1240px; padding:0 20px;
}
.promo-card {
  background:linear-gradient(135deg, rgba(234,88,12,.15), rgba(194,65,12,.1));
  border:1px solid rgba(234,88,12,.25);
  border-radius:var(--r-lg); padding:3rem; display:flex;
  align-items:center; justify-content:space-between; gap:2rem;
  position:relative; overflow:hidden;
}
.promo-card::before {
  content:""; position:absolute; right:-60px; top:-60px;
  width:300px; height:300px; border-radius:50%;
  background:radial-gradient(circle, rgba(234,88,12,.15), transparent);
}
.promo-card h2 { font-size:clamp(1.5rem, 3vw, 2.2rem); margin-bottom:.8rem; }
.promo-card p { color:var(--text-muted); font-size:1rem; }

/* ===== ПОЧЕМУ РОНИ (главная) ===== */
.features-section { padding:5rem 0; }
.features-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:2rem; }
.feature-card {
  background:var(--surface); border:1px solid var(--glass-border);
  border-radius:var(--r-lg); padding:2rem; text-align:center;
  transition:all .3s ease;
}
.feature-card:hover { transform:translateY(-5px); border-color:rgba(234,88,12,.3); }
.feature-icon { font-size:2.2rem; color:var(--brand); margin-bottom:1rem; }
.feature-card h3 { margin-bottom:.6rem; }
.feature-card p { color:var(--text-muted); font-size:.9rem; }

/* ===== СТРАНИЦА МЕНЮ ===== */
.menu-page { padding-top:100px; }
.menu-page-header { padding:2rem 0 1rem; }
.menu-search-wrap { position:relative; max-width:500px; }
.menu-search-wrap i { position:absolute; left:16px; top:50%; transform:translateY(-50%); color:var(--text-muted); }
#menuSearch {
  width:100%; padding:.75rem 1rem .75rem 44px;
  background:var(--surface); border:1px solid var(--glass-border);
  border-radius:var(--r-pill); color:#fff;
  font-family:var(--font); font-size:1rem; transition:all .3s;
}
#menuSearch:focus { outline:none; border-color:var(--brand); box-shadow:0 0 12px rgba(99,102,241,.2); }
#menuSearch::placeholder { color:var(--text-muted); }

/* Sticky табы категорий на странице меню */
.menu-tabs-wrap {
  position:sticky; top:76px; z-index:200;
  background:rgba(5,7,10,.85); backdrop-filter:blur(20px);
  border-bottom:1px solid var(--glass-border);
  padding:.7rem 0;
}
.menu-tabs {
  display: flex; gap: .5rem; overflow-x: auto;
  padding: 0 20px 10px; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--brand) transparent;
}
.menu-tabs::-webkit-scrollbar { height: 4px; }
.menu-tabs::-webkit-scrollbar-track { background: transparent; }
.menu-tabs::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 10px; }

@media (hover: none) {
  .menu-tabs { scrollbar-width: none; padding-bottom: 0; }
  .menu-tabs::-webkit-scrollbar { display: none; }
}
.menu-tab { 
  display:inline-flex; align-items:center; gap:.5rem; 
  padding:.6rem 1.2rem; border-radius:99px; background:rgba(255,255,255,.05); border:1px solid var(--border); 
  color:var(--text); font:inherit; cursor:pointer; transition:.2s; white-space:nowrap; 
}
.menu-tab .category-icon {
  width: 28px; height: 24px;
  object-fit: contain;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.menu-tab:hover .category-icon {
  transform: scale(1.1);
}
.menu-tab:hover { color:var(--text); background:rgba(255,255,255,.09); }
.menu-tab.active { color:#fff; background:var(--brand); border-color:transparent; font-weight:600; }
.menu-content { padding:2rem 0 5rem; }
.menu-grid {
  display:grid; grid-template-columns:repeat(auto-fill, minmax(250px, 1fr));
  gap:1.8rem;
}
.menu-cat-title { font-size:1.6rem; margin:3rem 0 1.5rem; color:var(--text-muted); font-weight:600; }
.menu-cat-title span { color:var(--text); font-weight:800; }
.no-results { text-align:center; padding:5rem 0; color:var(--text-muted); }
.no-results i { font-size:3rem; margin-bottom:1rem; color:var(--brand); opacity:.4; }

/* ===== СТРАНИЦА ДОСТАВКИ ===== */
.page-hero {
  padding:140px 0 80px;
  background:linear-gradient(135deg, rgba(234,88,12,.08), transparent);
  border-bottom:1px solid var(--glass-border);
  position:relative; overflow:hidden;
}
.page-hero::before {
  content:""; position:absolute; right:-100px; top:-100px;
  width:500px; height:500px; border-radius:50%;
  background:radial-gradient(circle, rgba(234,88,12,.1), transparent);
  pointer-events:none;
}
.page-hero-content { position:relative; z-index:1; }
.page-hero-subtitle { color:var(--text-muted); font-size:1.1rem; margin-top:1rem; max-width:500px; }
.delivery-cards { padding:5rem 0; }
.delivery-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:2rem; }
.delivery-card {
  background:var(--surface); border:1px solid var(--glass-border);
  border-radius:var(--r-lg); padding:2.5rem; transition:all .3s;
}
.delivery-card:hover { transform:translateY(-5px); border-color:rgba(99,102,241,.3); }
.delivery-card-icon { font-size:2.5rem; margin-bottom:1.2rem; }
.delivery-card h3 { margin-bottom:.8rem; }
.delivery-card p { color:var(--text-muted); font-size:.95rem; line-height:1.7; }
.delivery-price-big { font-size:2rem; font-weight:800; color:var(--brand); margin:.5rem 0; }
.free-tag {
  display:inline-block; background:rgba(16,185,129,.15); color:var(--success);
  border:1px solid rgba(16,185,129,.3); padding:.2rem .8rem; border-radius:var(--r-pill);
  font-size:.82rem; font-weight:700; margin-left:.5rem;
}
.hours-grid { display:grid; grid-template-columns:1fr 1fr; gap:.5rem 2rem; margin-top:.8rem; }
.hours-row { display:flex; justify-content:space-between; padding:.5rem 0; border-bottom:1px solid rgba(255,255,255,.06); }
.hours-day { color:var(--text-muted); }
.hours-time { font-weight:700; color:var(--text); }
.zone-section { padding:0 0 5rem; }
.zone-card { background:var(--surface); border:1px solid var(--glass-border); border-radius:var(--r-lg); overflow:hidden; }
.zone-header { padding:2rem; border-bottom:1px solid var(--glass-border); }
.zone-map { height:350px; background:rgba(99,102,241,.06); display:flex; align-items:center; justify-content:center; }
.zone-map-placeholder { text-align:center; color:var(--text-muted); }
.zone-map-placeholder i { font-size:3rem; color:var(--brand); margin-bottom:1rem; }

/* ===== СТРАНИЦА О НАС ===== */
.about-intro { padding:5rem 0; }
.about-intro-grid { display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:center; }
.about-intro-img { border-radius:var(--r-lg); overflow:hidden; height:500px; }
.about-intro-img img { width:100%; height:100%; object-fit:cover; }
.about-intro-text { display:flex; flex-direction:column; gap:1.5rem; }
.about-intro-text p { color:var(--text-muted); font-size:1rem; line-height:1.8; }
.about-stats { display:grid; grid-template-columns:repeat(3, 1fr); gap:2rem; margin-top:2rem; }
.about-stat { text-align:center; }
.about-stat-value { font-size:2.5rem; font-weight:800; color:var(--brand); display:block; }
.about-stat-label { font-size:.88rem; color:var(--text-muted); }
.values-section { padding:4rem 0 6rem; background:var(--surface); border-top:1px solid var(--glass-border); border-bottom:1px solid var(--glass-border); }
.values-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:2rem; }
.value-card { background:rgba(255,255,255,.035); border:1px solid var(--glass-border); border-radius:var(--r-lg); padding:2rem; }
.value-card-icon { font-size:2rem; color:var(--brand); margin-bottom:1rem; }
.value-card h3 { margin-bottom:.6rem; }
.value-card p { color:var(--text-muted); font-size:.9rem; line-height:1.7; }
.gallery-section { padding:5rem 0; }
.gallery-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:1.2rem; }
.gallery-item { border-radius:var(--r-md); overflow:hidden; height:250px; cursor:pointer; }
.gallery-item img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.gallery-item:hover img { transform:scale(1.05); }
.gallery-item:first-child { grid-row:span 2; height:auto; }

/* ===== СТРАНИЦА КОНТАКТОВ ===== */
.contacts-page { padding:5rem 0; }
.contacts-grid { display:grid; grid-template-columns:1fr 1fr; gap:4rem; }
.contacts-info { display:flex; flex-direction:column; gap:2rem; }
.contact-block { background:var(--surface); border:1px solid var(--glass-border); border-radius:var(--r-lg); padding:2rem; }
.contact-block-icon { font-size:2rem; color:var(--brand); margin-bottom:1rem; }
.contact-block h3 { margin-bottom:.8rem; }
.contact-block a { color:var(--text-muted); display:flex; align-items:center; gap:8px; margin-bottom:.5rem; transition:color .2s; font-size:.95rem; }
.contact-block a:hover { color:var(--brand); }
.contact-block p { color:var(--text-muted); font-size:.95rem; }
.contact-map { border-radius:var(--r-lg); overflow:hidden; height:400px; border:1px solid var(--glass-border); background:rgba(99,102,241,.06); display:flex; align-items:center; justify-content:center; }
.contact-form-section { padding:0 0 5rem; }
.contact-form { background:var(--surface); border:1px solid var(--glass-border); border-radius:var(--r-lg); padding:3rem; max-width:700px; }
.contact-form h2 { margin-bottom:2rem; }

/* ===== СКЕЛЕТОН ===== */
.skeleton {
  background:linear-gradient(90deg, rgba(255,255,255,.04) 25%, rgba(255,255,255,.09) 50%, rgba(255,255,255,.04) 75%);
  background-size:200% 100%; animation:shimmer 1.5s infinite linear; border-radius:var(--r-md);
}

/* ===== FLYING ORB ===== */
.flying-orb {
  position:fixed; width:38px; height:38px; border-radius:50%;
  background:var(--grad); box-shadow:0 0 20px rgba(99,102,241,.8);
  z-index:99999; pointer-events:none;
  transition:all .6s cubic-bezier(.25,.1,.25,1);
}

/* ===== УВЕДОМЛЕНИЕ ===== */
.toast {
  position:fixed; bottom:calc(20px + env(safe-area-inset-bottom)); left:50%;
  transform:translateX(-50%) translateY(120px); z-index:99999;
  background:rgba(16,185,129,.9); backdrop-filter:blur(12px);
  color:#fff; border-radius:var(--r-pill); padding:.7rem 1.8rem;
  font-weight:600; font-size:.95rem; white-space:nowrap;
  transition:transform .4s cubic-bezier(.19,1,.22,1), opacity .3s;
  opacity:0;
}
.toast.show { transform:translateX(-50%) translateY(0); opacity:1; }

/* ===== ОБЩИЙ СПИННЕР ===== */
.page-loader { display:none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-intro-grid { grid-template-columns:1fr; }
  .about-intro-img { height:320px; }
  .contacts-grid { grid-template-columns:1fr; }
  .gallery-grid { grid-template-columns:repeat(2, 1fr); }
  .gallery-item:first-child { grid-row:auto; }
}

@media (max-width: 768px) {
  .desktop-nav { display:none !important; }
  .mobile-menu-btn { display:block; }
  .hero { padding:120px 0 60px; min-height:100svh; }
  .hero-title { font-size:clamp(2rem, 8vw, 3rem); }
  .hero-stats { gap:1.5rem; }
  .hero-stat-value { font-size:1.5rem; }
  .promo-card { flex-direction:column; text-align:center; padding:2rem; }
  .categories-grid { grid-template-columns:repeat(2, 1fr); gap:1rem; }
  .category-card { padding:1.5rem 1rem; }
  .hits-grid { grid-template-columns:repeat(2, 1fr); gap:.9rem; }
  .menu-grid { grid-template-columns:repeat(2, 1fr); gap:.8rem; }
  .product-info { padding:.9rem; }
  .product-desc { display:none; }
  .product-title { font-size:.92rem; }
  .product-price { font-size:1.05rem; }
  .btn-icon { width:34px; height:34px; }
  .product-detail-grid { display: flex; flex-direction: column; flex: 1; min-height: 0; }
  .product-detail-img { min-height:220px; flex-shrink: 0; }
  .product-detail-info { padding:1.5rem; flex: 1; display: flex; flex-direction: column; overflow: hidden; }
  .product-actions-grid { grid-template-columns:1fr; }
  .modal-product-actions {
    position:sticky; bottom:0;
    padding:10px 0 calc(10px + env(safe-area-inset-bottom));
    background:rgba(12,18,38,.96); backdrop-filter:blur(10px);
  }
  .modal-content { border-radius:24px; max-height:92dvh; overflow: hidden; display: flex; flex-direction: column; }
  .modal-product-scrollable { overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1; min-height: 0; }
  #checkoutModal .modal-content { padding:1.8rem 1.2rem; }
  .features-grid { grid-template-columns:1fr 1fr; }
  .about-stats { grid-template-columns:1fr 1fr; }
  .values-grid { grid-template-columns:1fr; }
  .delivery-grid { grid-template-columns:1fr; }
  .menu-tabs-wrap { top:70px; }
  .input-group input, .input-group textarea { font-size:16px; }
  .cart-sidebar { margin-right:0; top:0; bottom:0; right:-110%; border-radius:0; border:none; border-left:1px solid var(--glass-border); }
  .section-title { font-size:1.7rem; }
  .container { padding:0 15px; }
}

@media (max-width: 480px) {
  .logo-text { font-size:1.4rem; }
  .hero-actions { flex-direction:column; align-items:flex-start; }
  .hero-actions .btn { width:100%; justify-content:center; }
  .gallery-grid { grid-template-columns:1fr 1fr; }
  .footer-grid { grid-template-columns:1fr; gap:2rem; }
}

/* Safe area bottom */
@supports (padding: env(safe-area-inset-bottom)) {
  .footer { padding-bottom:calc(2rem + env(safe-area-inset-bottom)); }
  .cart-footer { padding-bottom:calc(1.3rem + env(safe-area-inset-bottom)); }
}

/* ===== НОВАЯ СТРАНИЦА ДОСТАВКИ (МОДЕРН) ===== */
.font-black { font-weight: 900 !important; }
.italic { font-style: italic !important; }
.uppercase { text-transform: uppercase !important; }
.tracking-tight { letter-spacing: -0.05em !important; }
.tracking-wide { letter-spacing: 0.1em !important; }
.text-brand { color: var(--brand) !important; }
.text-muted { color: var(--text-muted) !important; }

.delivery-modern-main {
  padding: 10rem 1.5rem 8rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}
.delivery-modern-header {
  max-width: 768px;
  margin-bottom: 5rem;
}
.delivery-modern-title {
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1;
  margin-bottom: 1.2rem;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.delivery-modern-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--text-muted);
  border-left: 4px solid var(--brand);
  padding-left: 1.5rem;
  font-weight: 500;
  line-height: 1.4;
}

.delivery-modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}
.delivery-modern-card {
  background: rgba(24, 24, 27, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: 2rem;
  padding: 2rem;
  transition: all 0.5s ease;
}
.delivery-modern-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.15);
}
.delivery-modern-card.accent {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: var(--glow);
}
.delivery-modern-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  display: block;
}
.accent .delivery-modern-icon { color: rgba(255,255,255,0.9); }
.delivery-modern-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}
.accent .delivery-modern-label { color: rgba(255,255,255,0.7); }
.delivery-modern-val {
  font-size: 2.2rem;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: -0.05em;
}
.delivery-modern-desc {
  font-size: 0.95rem;
  line-height: 1.6;
}
.accent .delivery-modern-desc { color: rgba(255,255,255,0.85); }

.delivery-modern-wait {
  background: rgba(24, 24, 27, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: 3rem;
  padding: 4rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  transition: all 0.7s ease;
}
.delivery-modern-wait:hover {
  border-color: rgba(234, 88, 12, 0.3);
}
.delivery-modern-wait-circle {
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  border: 4px solid rgba(234, 88, 12, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.7s ease;
}
.delivery-modern-wait:hover .delivery-modern-wait-circle {
  transform: scale(1.05);
}
.delivery-modern-wait-nums {
  display: block;
  font-size: 3.5rem;
  color: var(--brand);
  line-height: 1;
  letter-spacing: -0.05em;
}
.delivery-modern-wait-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.delivery-modern-wait-text {
  flex: 1;
}
.delivery-modern-wait-text h3 {
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: -0.05em;
}
.delivery-modern-wait-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
}
.btn-modern-action {
  background: #fff;
  color: #000;
  padding: 0.9rem 2.2rem;
  border-radius: 9999px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(255,255,255,0.1);
  text-decoration: none;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.btn-modern-action:hover {
  background: var(--brand);
  color: #fff;
  transform: scale(1.02);
}

@media (max-width: 900px) {
  .delivery-modern-wait {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 2rem;
  }
}

/* ===== МЕНЮ: МОДЕРН ОБНОВЛЕНИЕ ===== */
.menu-page-modern-header {
  margin-bottom: 4rem;
}
.menu-page-modern-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--brand);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.menu-page-modern-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.menu-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.view-toggle {
  display: flex;
  background: rgba(24, 24, 27, 0.6);
  padding: 4px;
  border-radius: 1rem;
  border: 1px solid var(--glass-border);
}
.view-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1.1rem;
}
.view-btn.active {
  background: var(--surface);
  color: var(--brand);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}

.ai-help-btn {
  background: rgba(234, 88, 12, 0.1);
  border: 1px solid rgba(234, 88, 12, 0.2);
  color: var(--brand2);
  padding: 10px 24px;
  border-radius: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
}
.ai-help-btn:hover {
  background: rgba(234, 88, 12, 0.2);
  transform: translateY(-2px);
}

/* Модерн Карточки */
.modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}
.list-mode .modern-grid {
  grid-template-columns: 1fr;
}

.modern-card {
  background: rgba(24, 24, 27, 0.3);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 2rem;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  display: flex;
  flex-direction: column;
}
.list-mode .modern-card {
  flex-direction: row;
  height: 250px;
}
.modern-card:hover {
  border-color: rgba(234, 88, 12, 0.4);
  transform: translateY(-5px);
}

.modern-card-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  flex-shrink: 0;
}
.list-mode .modern-card-img-wrap {
  width: 300px;
  height: 100%;
}
.modern-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.modern-card:hover .modern-card-img {
  transform: scale(1.1);
}

.modern-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.modern-card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.modern-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}
.modern-card-title {
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.1;
  transition: color 0.3s;
}
.modern-card:hover .modern-card-title {
  color: var(--brand2);
}
.modern-card-pieces {
  font-size: 0.65rem;
  font-weight: 900;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.1);
  text-transform: uppercase;
}
.modern-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.modern-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modern-card-price-wrap {
  display: flex;
  flex-direction: column;
}
.modern-card-weight {
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #444;
  letter-spacing: 0.1em;
}
.modern-card-price {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.modern-add-btn {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1.25rem;
  background: var(--brand);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.2);
}
.modern-add-btn:hover {
  background: var(--brand2);
  transform: rotate(90deg) scale(1.1);
}
.modern-add-btn:active {
  transform: scale(0.9);
}

@media (max-width: 600px) {
  .list-mode .modern-card {
    flex-direction: column;
    height: auto;
  }
  .list-mode .modern-card-img-wrap {
    width: 100%;
    height: 200px;
  }
}

/* ===== ХОЛСТ: ОБНОВЛЕНИЕ ГЛАВНОЙ (HERO) ===== */
.hero-v2 {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0;
}
.hero-v2-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(234, 88, 12, 0.15) 0%, transparent 70%);
  z-index: -1;
}
.hero-v2-title {
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin-bottom: 2rem;
}
.hero-v2-subtitle {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  color: var(--text-muted);
  max-width: 800px;
  line-height: 1.4;
  margin-bottom: 3rem;
  border-left: 6px solid var(--brand);
  padding-left: 2rem;
}
.hero-v2-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}
.hero-v2-stats {
  display: flex;
  gap: 4rem;
  border-top: 1px solid var(--glass-border);
  padding-top: 3rem;
  margin-top: 2rem;
}
.hero-v2-stat-item {
  display: flex;
  flex-direction: column;
}
.hero-v2-stat-val {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--brand);
  font-style: italic;
  margin-bottom: 0.5rem;
}
.hero-v2-stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 900;
  letter-spacing: 0.1em;
}

/* КАТЕГОРИИ (КАНВАС СТИЛЬ) */
.modern-cat-card {
  background: rgba(24, 24, 27, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  padding: 1.5rem;
  text-decoration: none;
  transition: all 0.5s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.modern-cat-card:hover {
  transform: translateY(-10px);
  border-color: rgba(234, 88, 12, 0.4);
  background: rgba(234, 88, 12, 0.05);
}
.modern-cat-icon {
  width: 5rem;
  height: 5rem;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}
.modern-cat-name {
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  color: #fff;
  letter-spacing: -0.02em;
}

/* AI CHAT UI (КАНВАС СТИЛЬ) */
.ai-chat-trigger {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 4.5rem;
  height: 4.5rem;
  background: var(--brand);
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.75rem;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 10px 40px rgba(234, 88, 12, 0.3);
  transition: all 0.3s;
}
.ai-chat-trigger:hover {
  transform: scale(1.1) rotate(10deg);
}

.ai-chat-window {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 400px;
  height: 600px;
  background: #0f1015;
  border: 1px solid var(--glass-border);
  border-radius: 2.5rem;
  z-index: 1001;
  display: none;
  flex-direction: column;
  box-shadow: 0 20px 80px rgba(0,0,0,0.8);
  overflow: hidden;
  animation: modalIn 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.ai-chat-window.active { display: flex; }

.ai-chat-header {
  padding: 1.5rem;
  background: #1a1b21;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ai-chat-header-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ai-chat-avatar {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--brand);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.ai-chat-status {
  font-size: 0.6rem;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: 0.1em;
}

.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ai-msg {
  max-width: 85%;
  padding: 1rem 1.25rem;
  border-radius: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
.ai-msg.bot {
  background: #1a1b21;
  color: #ddd;
  align-self: flex-start;
  border: 1px solid var(--glass-border);
}
.ai-msg.user {
  background: var(--brand);
  color: #fff;
  align-self: flex-end;
}

.ai-chat-input-area {
  padding: 1.5rem;
  border-top: 1px solid var(--glass-border);
  background: #0f1015;
}
.ai-chat-form {
  display: flex;
  gap: 0.75rem;
}
.ai-chat-input {
  flex: 1;
  background: #1a1b21;
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 0.75rem 1.25rem;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
}
.ai-chat-input:focus { border-color: var(--brand); }
.ai-chat-send {
  width: 3rem;
  height: 3rem;
  background: var(--brand);
  border: none;
  border-radius: 1rem;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
}
.ai-chat-send:hover { background: var(--brand2); }

@media (max-width: 500px) {
  .ai-chat-window {
    width: 100vw;
    height: 100vh;
    bottom: 0;
    right: 0;
    border-radius: 0;
  }
}

/* ===== КАНВАС: МОДЕРН МОДАЛКА (PREMIUM) ===== */
.product-modal-content {
  background: #0f1015;
  border: 1px solid var(--glass-border);
  border-radius: 2.5rem;
  padding: 0;
  overflow: hidden;
  max-width: 850px;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  min-height: 550px;
}
.product-detail-img {
  position: relative;
  height: 100%;
}
.product-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-detail-info {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  background: #0c0c0e;
  border-left: 1px solid rgba(255,255,255,0.05);
}
.modal-product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
#modalName {
  font-size: 2.2rem;
  font-weight: 950;
  text-transform: uppercase;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
}
.modal-product-weight {
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  white-space: nowrap;
  margin-left: 1rem;
}
.modal-product-desc {
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.modal-product-scrollable {
  flex: 1;
  overflow-y: auto;
  padding-right: 12px;
  margin-bottom: 1.5rem;
  /* Стилизация скроллбара */
}
.modal-product-scrollable::-webkit-scrollbar { width: 4px; }
.modal-product-scrollable::-webkit-scrollbar-track { background: rgba(255,255,255,0.02); }
.modal-product-scrollable::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }

.modal-ingredients-label {
  font-size: 0.65rem;
  font-weight: 950;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  display: block;
}
.modal-ingredients-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.modal-ingredient-tag {
  background: rgba(255,255,255,0.04);
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s;
}
.modal-ingredient-tag:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.ing-more-btn {
  background: rgba(234, 88, 12, 0.1);
  color: var(--brand);
  border: 1px solid rgba(234, 88, 12, 0.2);
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s;
}
.ing-more-btn:hover { background: var(--brand); color: #fff; }
.modal-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-product-price {
  font-size: 1.8rem;
  color: #fff;
  font-weight: 950;
  font-style: italic;
}
.modal-add-btn-large {
  background: var(--brand);
  color: #fff;
  padding: 1.2rem 2.2rem;
  border-radius: 1.5rem;
  font-weight: 950;
  text-transform: uppercase;
  font-style: italic;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(234,88,12,0.3);
  transition: all 0.4s cubic-bezier(0.2, 0, 0, 1);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.modal-add-btn-large:hover {
  background: #fff;
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(234,88,12,0.5);
}
.modal-badge-container {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.modal-badge {
  background: var(--brand);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 950;
  padding: 4px 12px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(234,88,12,0.4);
}
.modal-badge.new {
  background: #3b82f6;
  box-shadow: 0 4px 12px rgba(59,130,246,0.4);
}

@media (max-width: 800px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  .product-detail-img {
    height: 300px;
    min-height: 300px;
  }
  .product-detail-info {
    padding: 2rem;
  }
}

/* ===== КОНТАКТЫ: МОДЕРН ОБНОВЛЕНИЕ ===== */
.contacts-modern-main {
  padding: 10rem 1.5rem 8rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}
.contacts-modern-header {
  max-width: 768px;
  margin-bottom: 5rem;
}
.contacts-modern-title {
  font-size: clamp(2rem, 6vw, 3.2rem); /* Уменьшил с 2.2/7/4 */
  line-height: 1;
  margin-bottom: 1.2rem;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.contacts-modern-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-muted);
  border-left: 4px solid var(--brand);
  padding-left: 1.2rem;
  font-weight: 500;
  line-height: 1.5;
}

.contacts-modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.contacts-modern-card {
  background: rgba(24, 24, 27, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: 2.5rem;
  padding: 2.5rem;
  transition: all 0.5s ease;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.contacts-modern-card:hover {
  border-color: rgba(234, 88, 12, 0.3);
  transform: translateY(-8px);
}
.contacts-modern-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(234, 88, 12, 0.1);
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: all 0.3s;
}
.contacts-modern-card:hover .contacts-modern-card-icon {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--glow);
}
.contacts-modern-card-info {
  flex: 1;
}
.contacts-modern-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 900;
}
.contacts-modern-val {
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
  color: #fff;
  word-break: break-word;
}
.contacts-modern-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contacts-modern-map-wrap {
  position: relative;
  border-radius: 3rem;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  height: 100%;
  min-height: 400px;
  background: rgba(24, 24, 27, 0.4);
}
.contacts-modern-map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.4);
  pointer-events: none;
}
.contacts-modern-map-header {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
  padding: 1rem 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255,255,255,0.05);
  z-index: 2;
}
.contacts-modern-map-btn {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  white-space: nowrap;
}

.contacts-modern-flex-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: stretch;
}

.contacts-modern-form-wrap {
  background: rgba(24, 24, 27, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: 3rem;
  padding: 3rem;
}
.contacts-modern-form-title {
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 900;
  font-style: italic;
  margin-bottom: 2rem;
}

@media (max-width: 1024px) {
  .contacts-modern-flex-row {
    grid-template-columns: 1fr;
  }
}

/* ===== ABOUT MODERN (CANVAS STYLE) ===== */
.about-modern-main { padding: 10rem 1.5rem 6rem; }
.about-modern-header { margin-bottom: 4rem; max-width: 800px; }
.about-modern-title { font-size: clamp(2.5rem, 7vw, 4.5rem); line-height: 0.95; margin-bottom: 1.5rem; letter-spacing: -0.04em; font-weight: 950; font-style: italic; text-transform: uppercase; }
.about-modern-subtitle { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-muted); font-style: italic; border-left: 5px solid var(--brand); padding-left: 1.5rem; line-height: 1.5; font-weight: 500; }

.about-modern-section { margin-bottom: 7rem; }
.about-modern-section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 3rem; letter-spacing: -0.02em; font-weight: 900; font-style: italic; text-transform: uppercase; }

.about-history-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 5rem; align-items: start; }
.about-history-img-wrap { position: relative; border-radius: 4rem; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,0.6); }
.about-history-img-wrap img { width: 100%; height: auto; transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1); display: block; }
.about-history-img-wrap:hover img { transform: scale(1.04); }
.about-history-badge { position: absolute; bottom: 2rem; right: 2rem; background: var(--brand); padding: 1.8rem; border-radius: 2.5rem; box-shadow: 0 20px 45px rgba(234,88,12,0.4); color: #fff; z-index: 2; display: flex; align-items: center; justify-content: center; }

.about-history-text { display: flex; flex-direction: column; gap: 2rem; color: var(--text-muted); font-size: 1.2rem; line-height: 1.9; font-style: italic; }
.about-history-text p { margin: 0; }
.about-history-text b, .about-history-text strong { color: #fff; font-weight: 900; font-style: normal; }

.about-principles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.about-principle-card { background: rgba(24,24,27,0.4); border: 1px solid rgba(255,255,255,0.06); padding: 3rem; border-radius: 3rem; transition: all 0.5s ease; position: relative; overflow: hidden; }
.about-principle-card:hover { border-color: rgba(234,88,12,0.4); transform: translateY(-8px); background: rgba(24,24,27,0.6); }
.about-principle-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at top right, rgba(234,88,12,0.05), transparent 70%); opacity: 0; transition: opacity 0.5s; }
.about-principle-card:hover::before { opacity: 1; }

.about-principle-icon { font-size: 2.5rem; color: var(--brand); margin-bottom: 2rem; transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: inline-block; }
.about-principle-card:hover .about-principle-icon { transform: scale(1.2) rotate(5deg); }
.about-principle-title { font-size: 1.5rem; margin-bottom: 1.2rem; letter-spacing: -0.02em; font-weight: 900; font-style: italic; text-transform: uppercase; }
.about-principle-desc { font-size: 1rem; color: var(--text-muted); line-height: 1.7; font-style: italic; }

.about-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; grid-auto-rows: 400px; }
.about-gallery-item { border-radius: 2.5rem; overflow: hidden; background: rgba(255,255,255,0.03); position: relative; }
.about-gallery-item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: all 0.8s cubic-bezier(0.2, 0, 0.2, 1); opacity: 0.6; }
.about-gallery-item:hover img { filter: grayscale(0); transform: scale(1.08); opacity: 1; }

@media (max-width: 768px) {
  .about-gallery-item img { filter: grayscale(0) !important; opacity: 1 !important; }
}
.about-gallery-item.wide { grid-column: span 2; }
.about-gallery-item.tall { grid-row: span 2; height: auto; }

.about-cta-section { background: rgba(24,24,27,0.4); border: 1px solid rgba(255,255,255,0.08); border-radius: 4.5rem; padding: 6rem 4rem; text-align: center; position: relative; overflow: hidden; }
.about-cta-section::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(234,88,12,0.03), transparent 80%); }
.about-cta-title { font-size: clamp(2rem, 7vw, 3.5rem); margin-bottom: 1rem; letter-spacing: -0.03em; font-weight: 950; font-style: italic; text-transform: uppercase; position: relative; z-index: 1; line-height: 1; }
.about-cta-desc { color: var(--text-muted); font-size: 1.1rem; font-style: italic; margin-bottom: 2.5rem; position: relative; z-index: 1; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.5; }
.about-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.about-cta-btns .btn { min-width: 220px; justify-content: center; padding: 1.2rem 2rem; font-size: 0.9rem; }

@media (max-width: 1024px) {
  .about-history-grid { grid-template-columns: 1fr; gap: 4rem; }
  .about-gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 300px; }
  .about-gallery-item.wide { grid-column: span 2; }
  .about-gallery-item.tall { grid-row: span 1; height: 300px; }
}

@media (max-width: 768px) {
  .about-modern-title { font-size: 3.5rem; }
  .about-modern-section-title { font-size: 2.5rem; text-align: center; }
  .about-gallery-grid { grid-template-columns: 1fr; }
  .about-gallery-item.wide { grid-column: span 1; }
  .about-cta-section { padding: 4rem 2rem; }
}

/* ===== HOME MODERN (CANVAS STYLE) ===== */
.home-modern-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 12rem 0 8rem;
  overflow: hidden;
}
.home-modern-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.home-modern-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  transform: scale(1.1);
  filter: brightness(0.8);
}
.home-modern-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, #0a0a0a 90%), 
              linear-gradient(to right, #0a0a0a, transparent 40%, transparent 60%, #0a0a0a);
}

.home-modern-badge {
  background: rgba(234, 88, 12, 0.15);
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  border: 1px solid rgba(234, 88, 12, 0.3);
  margin-bottom: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  backdrop-filter: blur(8px);
}

.home-modern-title {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 950;
  text-transform: uppercase;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 2.5rem;
  max-width: 850px;
}

.home-modern-subtitle {
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  color: var(--text-muted);
  font-style: italic;
  max-width: 650px;
  border-left: 4px solid var(--brand);
  padding-left: 1.5rem;
  line-height: 1.6;
  margin-bottom: 6rem;
}

.home-modern-stats {
  display: flex;
  gap: 5rem;
  margin-top: 8rem;
}
.home-modern-stat-item {
  display: flex;
  flex-direction: column;
}
.home-modern-stat-val {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 950;
  font-style: italic;
  color: var(--brand);
  line-height: 1;
}
.home-modern-stat-label {
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #555;
  margin-top: 0.5rem;
}

.home-modern-hits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.home-hit-card {
  background: rgba(24, 24, 27, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 2.5rem;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.2, 0, 0.2, 1);
  cursor: pointer;
  position: relativ rgba(255, 255, 255, 0.06);
  border-radius: 2.5rem;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.2, 0, 0.2, 1);
  cursor: pointer;
  position: relativ rgba(227, 0.5);
}
.home-hit-img-wrap {
  height: 280px;
  overflow: hidden;
  position: relative;
}
.home-hit-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.2, 0, 0.2, 1);
}
.home-hit-card:hover img {
  transform: scale(1.1);
}
.home-hit-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--brand);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 950;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4);
}

.home-hit-info {
  padding: 2.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.home-hit-title {
  font-size: 1.4rem;
  font-weight: 950;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  transition: color 0.4s;
  line-height: 1.2;
}
.home-hit-card:hover .home-hit-title {
  color: var(--brand);
}
.home-hit-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-hit-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.home-hit-price {
  font-size: 1.8rem;
  font-weight: 950;
  font-style: italic;
}
.home-hit-action-btn, 
.modern-add-btn {
  width: 4rem; /* Немного увеличил физический размер для удобства */
  height: 4rem;
  background: linear-gradient(135deg, var(--brand), #fb923c); /* Градиент для глубины */
  color: #fff;
  border-radius: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.2, 0, 0.2, 1);
  box-shadow: 0 10px 35px rgba(234, 88, 12, 0.45);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  z-index: 10;
}

.home-hit-action-btn:hover,
.modern-add-btn:hover {
  transform: scale(1.18) rotate(5deg);
  box-shadow: 0 20px 50px rgba(234, 88, 12, 0.65);
  background: linear-gradient(135deg, #fb923c, var(--brand));
}

.home-hit-action-btn:active,
.modern-add-btn:active {
  transform: scale(0.92);
}

.home-hit-action-btn i,
.modern-add-btn i {
  font-size: 1.4rem;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
}

.home-modern-features {
  padding: 6rem 0;
  background: rgba(15, 15, 15, 0.4);
}
.home-features-header {
  text-align: center;
  margin-bottom: 7rem;
}
.home-features-title {
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  font-weight: 950;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 1;
}

.home-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4rem;
}
.home-feature-card {
  text-align: center;
  padding: 0 1rem;
}
.home-feature-icon-wrap {
  width: 6rem;
  height: 6rem;
  background: rgba(24, 24, 27, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--brand);
  margin: 0 auto 3rem;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.home-feature-card:hover .home-feature-icon-wrap {
  background: var(--brand);
  color: #fff;
  transform: scale(1.15) rotate(7deg);
  box-shadow: 0 20px 40px rgba(234, 88, 12, 0.3);
}
.home-feature-title {
  font-size: 1.6rem;
  font-weight: 950;
  text-transform: uppercase;
  font-style: italic;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}
.home-feature-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .home-modern-stats { gap: 2.5rem; }
  .home-modern-stat-val { font-size: 3.5rem; }
}
@media (max-width: 768px) {
  .home-modern-hero { padding: 10rem 0 6rem; min-height: auto; }
  .home-modern-title { font-size: 2.2rem; line-height: 1.1; margin-bottom: 2rem; letter-spacing: -0.03em; }
  .home-modern-subtitle { padding-left: 1rem; font-size: 1rem; margin-bottom: 4.5rem; }
  .home-modern-stats { justify-content: space-between; gap: 0.8rem; width: 100%; margin-top: 4.5rem; flex-wrap: wrap; }
  .menu-controls { display: none !important; }
  .modern-cat-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 1rem !important; }
  .modern-cat-card { padding: 1.2rem; border-radius: 1.2rem; }
  .modern-cat-icon { width: 4rem; height: 4rem; }
  .modern-cat-name { font-size: 0.75rem; }
  .home-modern-stat-val { font-size: 2.8rem; }
  .home-features-grid { gap: 4rem; }
  .home-features-title { font-size: 3rem; }
}

@keyframes bounceSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.animate-bounce-slow { animation: bounceSlow 3s infinite ease-in-out; }


/* ===== FOOTER MODERN PREMIUM (CANVAS) ===== */
.footer { background: #070708; padding: 10rem 0 5rem; border-top: 1px solid rgba(255,255,255,0.03); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 5rem; margin-bottom: 8rem; }
.footer-brand .logo-text { font-size: 4rem; font-weight: 950; text-transform: uppercase; font-style: italic; letter-spacing: -0.06em; margin-bottom: 2.5rem; display: block; color: #fff; }
.footer-brand p { color: var(--text-muted); font-style: italic; line-height: 1.8; max-width: 320px; font-size: 1.1rem; }
.footer-col h4 { font-size: 0.75rem; font-weight: 950; text-transform: uppercase; letter-spacing: 0.4em; color: #fff; margin-bottom: 4rem; opacity: 0.4; }
.footer-col a, .footer-col p { display: flex; align-items: center; gap: 1.2rem; color: var(--text-muted); text-decoration: none; margin-bottom: 1.8rem; font-size: 1.05rem; font-weight: 900; font-style: italic; transition: all 0.3s; text-transform: uppercase; letter-spacing: -0.02em; }
.footer-col a i { color: var(--brand); font-size: 1.1rem; width: 1.5rem; text-align: center; }
.footer-col a:hover { color: #fff; transform: translateX(8px); }
.footer-info-item { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.8rem; }
.footer-info-item i { color: var(--brand); font-size: 1.1rem; width: 1.5rem; text-align: center; }
.footer-info-text { font-size: 1.05rem; font-weight: 950; font-style: italic; text-transform: uppercase; color: var(--text-muted); }
.footer-info-accent { color: var(--success); font-weight: 950; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.03); padding-top: 4rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; }
.footer-bottom-links { display: flex; gap: 3.5rem; }
.footer-bottom-links a, .footer-bottom-copy { color: rgba(255,255,255,0.15); font-size: 0.7rem; font-weight: 950; text-transform: uppercase; letter-spacing: 0.2em; font-style: italic; text-decoration: none; transition: 0.3s; }
.footer-bottom-links a:hover { color: var(--brand); }
.social-btn:hover { background: var(--brand) !important; color: #fff !important; border-color: var(--brand) !important; transform: translateY(-3px); }

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}
@media (max-width: 650px) {
  .footer-grid { grid-template-columns: 1fr; gap: 4rem; }
  .footer { padding-top: 6rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { flex-direction: column; gap: 1.5rem; }
}
