/*
  EIDOS’CHIC NAV GLASS V6 FIX

  Цель:
  - убрать рельефные двойные обводки у кнопок главного меню;
  - сделать кнопки более скруглёнными;
  - сделать фон почти прозрачным / бесцветным;
  - оставить читаемый текст;
  - НЕ трогать товарные кнопки .product-link.
*/

/* Главные кнопки на первом экране */
.hero .btn,
.hero a.btn,
main .hero .btn,
main .hero a.btn {
  min-height: 64px !important;
  padding: 18px 24px !important;
  border-radius: 999px !important;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.20) 0%,
      rgba(255,255,255,0.10) 48%,
      rgba(255,255,255,0.055) 100%
    ) !important;

  border: 1px solid rgba(255,255,255,0.38) !important;

  -webkit-backdrop-filter: blur(22px) saturate(125%) !important;
  backdrop-filter: blur(22px) saturate(125%) !important;

  box-shadow:
    0 10px 24px rgba(45,35,32,0.055),
    inset 0 1px 0 rgba(255,255,255,0.32) !important;

  color: rgba(35,31,31,0.92) !important;
  text-shadow: none !important;
}

/* Полностью убираем рельефные псевдо-рамки и внутренние бортики */
.hero .btn::before,
.hero .btn::after,
.hero a.btn::before,
.hero a.btn::after,
main .hero .btn::before,
main .hero .btn::after,
main .hero a.btn::before,
main .hero a.btn::after {
  content: none !important;
  display: none !important;
  opacity: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Текст и стрелка */
.hero .btn span,
.hero a.btn span,
main .hero .btn span,
main .hero a.btn span {
  color: inherit !important;
  position: relative !important;
  z-index: 2 !important;
}

.hero .btn span:last-child,
.hero a.btn span:last-child,
main .hero .btn span:last-child,
main .hero a.btn span:last-child {
  color: rgba(35,31,31,0.46) !important;
}

/* Кнопка “На главную” */
.back,
a.back {
  border-radius: 999px !important;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.18) 0%,
      rgba(255,255,255,0.08) 100%
    ) !important;

  border: 1px solid rgba(255,255,255,0.34) !important;

  -webkit-backdrop-filter: blur(20px) saturate(120%) !important;
  backdrop-filter: blur(20px) saturate(120%) !important;

  box-shadow:
    0 8px 20px rgba(45,35,32,0.05),
    inset 0 1px 0 rgba(255,255,255,0.30) !important;

  color: rgba(60,50,48,0.72) !important;
}

/* Убираем рельеф у кнопки назад */
.back::before,
.back::after,
a.back::before,
a.back::after {
  content: none !important;
  display: none !important;
  opacity: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Нажатие без затемнения */
.hero .btn:active,
.hero a.btn:active,
.back:active,
a.back:active {
  transform: scale(0.992) !important;
  filter: none !important;
}

/* Специально фиксируем: товарные CTA не трогаем */
.product-link,
a.product-link {
  background:
    linear-gradient(145deg, #342926 0%, #211a18 100%) !important;
  color: #fff !important;
}


/* === PRODUCT LINK RESTORE V7 START === */
/* Восстанавливаем товарные CTA-кнопки после nav-glass override.
   Главное меню не трогаем. */

.product-card .product-link,
.product-card a.product-link,
a.product-link {
  all: unset !important;
  box-sizing: border-box !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;

  margin-top: 0 !important;
  padding: 13px 14px !important;
  border-radius: 16px !important;

  background:
    linear-gradient(145deg, #342926 0%, #211a18 100%) !important;

  color: #ffffff !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  cursor: pointer !important;

  border: 1px solid rgba(255,255,255,.12) !important;

  box-shadow:
    0 14px 32px rgba(43,34,32,.22),
    inset 0 1px 0 rgba(255,255,255,.16) !important;

  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.product-card .product-link::before,
.product-card .product-link::after,
.product-card a.product-link::before,
.product-card a.product-link::after,
a.product-link::before,
a.product-link::after {
  content: none !important;
  display: none !important;
}

.product-card .product-link span,
.product-card a.product-link span,
a.product-link span {
  color: #ffffff !important;
  position: static !important;
}

.product-card .product-link span:last-child,
.product-card a.product-link span:last-child,
a.product-link span:last-child {
  margin-left: auto !important;
  opacity: .9 !important;
}
/* === PRODUCT LINK RESTORE V7 END === */


/* === FULL SITE CTA V8 START === */
/* Отдельная акцентная кнопка "Полный сайт" между меню и контактами */

.full-site-panel {
  width: 100% !important;
  margin: 22px 0 26px !important;
  padding: 0 2px !important;
}

.full-site-cta {
  box-sizing: border-box !important;
  position: relative !important;
  isolation: isolate !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;

  width: 100% !important;
  min-height: 96px !important;
  padding: 20px 62px 20px 22px !important;

  border-radius: 34px !important;
  text-decoration: none !important;
  color: #ffffff !important;

  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,.28), rgba(255,255,255,0) 42%),
    radial-gradient(circle at 92% 12%, rgba(170,235,235,.24), rgba(170,235,235,0) 46%),
    linear-gradient(135deg, rgba(49,39,37,.82) 0%, rgba(72,52,51,.70) 58%, rgba(82,55,66,.68) 100%) !important;

  border: 1px solid rgba(255,255,255,.52) !important;

  -webkit-backdrop-filter: blur(24px) saturate(145%) !important;
  backdrop-filter: blur(24px) saturate(145%) !important;

  box-shadow:
    0 24px 60px rgba(43,34,32,.24),
    0 8px 18px rgba(255,255,255,.16) inset,
    0 -14px 30px rgba(25,18,18,.18) inset,
    0 0 0 1px rgba(255,255,255,.22) inset !important;
}

.full-site-cta::before {
  content: "" !important;
  position: absolute !important;
  inset: 7px !important;
  border-radius: 28px !important;
  pointer-events: none !important;
  border: 1px solid rgba(255,255,255,.30) !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,0) 52%) !important;
  z-index: -1 !important;
}

.full-site-cta::after {
  content: "" !important;
  position: absolute !important;
  left: 22px !important;
  right: 72px !important;
  top: 12px !important;
  height: 1px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, rgba(255,255,255,.68), rgba(255,255,255,0)) !important;
  opacity: .8 !important;
  pointer-events: none !important;
}

.full-site-main {
  display: grid !important;
  gap: 7px !important;
  min-width: 0 !important;
}

.full-site-title {
  display: block !important;
  color: #ffffff !important;
  font-size: 24px !important;
  line-height: 1.08 !important;
  font-weight: 400 !important;
  letter-spacing: -.02em !important;
}

.full-site-subtitle {
  display: block !important;
  max-width: 280px !important;
  color: rgba(255,255,255,.76) !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
}

.full-site-arrow {
  position: absolute !important;
  right: 22px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;

  display: grid !important;
  place-items: center !important;

  width: 32px !important;
  height: 32px !important;
  border-radius: 999px !important;

  color: rgba(255,255,255,.92) !important;
  font-size: 22px !important;
  line-height: 1 !important;

  background: rgba(255,255,255,.12) !important;
  border: 1px solid rgba(255,255,255,.26) !important;
}

@media (max-width: 380px) {
  .full-site-title {
    font-size: 22px !important;
  }

  .full-site-subtitle {
    font-size: 12.5px !important;
  }

  .full-site-cta {
    padding-left: 18px !important;
    padding-right: 58px !important;
  }
}
/* === FULL SITE CTA V8 END === */

/* === PRODUCT ACTIONS V8 START === */

.product-actions {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  margin-top: 14px !important;
}

.product-card .product-actions .product-link {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-height: 50px !important;
  padding: 13px 17px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
  overflow: hidden !important;
  isolation: isolate !important;
  transform: translateZ(0) !important;
}

.product-card .product-actions .product-link::before {
  content: "" !important;
  position: absolute !important;
  inset: 1px !important;
  border-radius: inherit !important;
  pointer-events: none !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.42), rgba(255,255,255,.08)) !important;
  opacity: .9 !important;
  z-index: -1 !important;
}

.product-card .product-actions .product-site-link {
  color: #fff !important;
  background:
    linear-gradient(145deg, rgba(48,38,36,.94), rgba(30,24,23,.92)) !important;
  border: 1px solid rgba(255,255,255,.34) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.24),
    inset 0 -12px 24px rgba(0,0,0,.24),
    0 10px 24px rgba(48,35,32,.16) !important;
  backdrop-filter: blur(18px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(140%) !important;
}

.product-card .product-actions .product-wa-link {
  color: #251f1e !important;
  background:
    radial-gradient(circle at 85% 15%, rgba(146,236,232,.22), transparent 38%),
    radial-gradient(circle at 12% 88%, rgba(255,144,181,.16), transparent 40%),
    rgba(255,255,255,.22) !important;
  border: 1px solid rgba(255,255,255,.72) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.92),
    inset 0 -10px 22px rgba(88,62,62,.08),
    0 10px 24px rgba(78,50,48,.10) !important;
  backdrop-filter: blur(22px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(150%) !important;
}

.product-card .product-actions .product-link span:last-child {
  flex: 0 0 auto !important;
  opacity: .74 !important;
  margin-left: 12px !important;
}

/* === PRODUCT ACTIONS V8 END === */
