:root {
  --accent: #034da2;
  --accent-soft: #034da2A8;
  --accent-dark: #023671;
  --accent-hover: color-mix(in srgb, #034da2 60%, #fff);
  --accent-2: #f04d24;
  --accent-2-dark: #d13c18;
  --accent-2-hover: color-mix(in srgb, #f04d24 60%, #fff);
  --text: #1F2937;
}
body { font-family: 'Inter', sans-serif; color: var(--text); }
.font-heading { font-family: 'Montserrat', sans-serif; }
.btn-primary,
.btn-outline,
.btn-orange,
.hero-btn,
.compare-dock__go {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px !important;
  font-weight: 500 !important;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  box-shadow: none;
  transition: background-color 0.2s, transform 0.2s;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: none;
}
.btn-orange {
  background: var(--accent-2);
  color: #fff;
  border: none;
  box-shadow: none;
  transition: background-color 0.2s, transform 0.2s;
}
.btn-orange:hover {
  background: var(--accent-2-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: none;
}
.btn-outline {
  border: 1px solid var(--accent-2);
  color: var(--accent-2);
  background: transparent;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s, transform 0.2s;
}
.btn-outline:hover {
  border-color: var(--accent-2);
  color: #fff;
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: none;
}
.tab-active { color: var(--accent); border-bottom: 2px solid var(--accent-2); }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 5.5rem; }
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.catalog-tabbar.fade-in { transform: none; }
#catalog .catalog-panel.hidden { display: none !important; }
.catalog-series[id] { scroll-margin-top: 11rem; }
#catalog .catalog-series + .catalog-series {
  border-top: 1px solid #E5E7EB;
  margin-top: 3rem;
  padding-top: 3rem;
}
.catalog-tabbar {
  position: sticky;
  top: 4.25rem;
  z-index: 30;
  background: #fff;
  padding-top: 0.25rem;
}
.series-photo {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
}
.series-photo-link {
  display: flex;
  align-self: start;
  width: 100%;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
  padding: 1.25rem 1.5rem;
  min-height: 280px;
  transition: border-color 0.25s ease;
}
.series-photo-link:hover { border-color: rgba(240, 77, 36, 0.55); }
.series-photo-img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  transition: transform 0.35s ease;
}
.series-photo-link:hover .series-photo-img { transform: scale(1.06); }
.series-photo-stack { display: flex; flex-direction: column; gap: 1rem; align-self: start; width: 100%; }
.series-photo-link--pair { flex-direction: column; min-height: 0; padding: 1rem 1.25rem 0.85rem; }
.series-photo-caption { margin-top: 0.65rem; font-size: 0.8125rem; font-weight: 600; color: #1F2937; }
@media (min-width: 768px) {
  .series-photo-link--pair { min-height: 0; }
  .series-photo-link--pair .series-photo-img { max-height: 280px; }
}
@media (min-width: 768px) {
  .series-photo-link { min-height: 420px; padding: 1.5rem 2rem; }
  .series-photo-img { max-height: 400px; }
}
.series-price .series-price-value,
.catalog-series li .series-price-value { color: var(--accent-2); }
.catalog-series li .series-price-value { font-size: 0.875rem; font-weight: 600; }
.catalog-series h3.border-l-4 { border-left-color: var(--accent-2); }
.model-link:hover { color: var(--accent-2); }
.hover\:text-accent:hover { color: var(--accent-2); }
.model-group { letter-spacing: 0.01em; }
.model-link { color: inherit; text-decoration: none; }
.hero-frame { position: relative; min-height: 460px; background: #06213f; }
.hero-bg { width: 100%; height: 78vh; min-height: 460px; max-height: 760px; object-fit: cover; object-position: center 40%; display: block; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4, 28, 58, 0.88) 0%, rgba(4, 28, 58, 0.55) 42%, rgba(4, 28, 58, 0.12) 100%);
}
.hero-content { position: absolute; inset: 0; display: flex; align-items: center; }
.hero-inner { max-width: 40rem; padding: 2rem 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.hero-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 1.25rem; border-radius: 0.5rem; text-decoration: none;
}
.hero-btn--primary { background: #fff; color: var(--accent); }
.hero-btn--primary:hover { background: #fff1ec; }
.hero-btn--secondary { background: transparent; color: #fff; border: 1px solid #fff; }
.hero-btn--secondary:hover { background: rgba(255,255,255,0.12); }
.benefit-icon, .step-icon {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(3, 77, 162, 0.14), rgba(240, 77, 36, 0.08));
  color: var(--accent);
}
.benefit-icon svg, .step-icon svg { width: 1.625rem; height: 1.625rem; }
.step-badge {
  position: absolute; top: -0.35rem; right: -0.35rem;
  width: 1.25rem; height: 1.25rem; border-radius: 9999px;
  background: var(--accent-2); color: #fff;
  font-family: Montserrat, sans-serif; font-weight: 700; font-size: 0.6875rem;
  display: flex; align-items: center; justify-content: center;
}
.faq-list { border: 1px solid #e5e7eb; border-radius: 1rem; overflow: hidden; background: #fff; }
.faq-item + .faq-item { border-top: 1px solid #e5e7eb; }
.faq-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.125rem 1.25rem; text-align: left; font-family: Montserrat, sans-serif;
  font-weight: 600; font-size: 1rem; color: #1F2937; background: #fff;
}
.faq-trigger:hover { background: #f9fafb; }
.faq-trigger[aria-expanded="true"] { color: var(--accent); }
.faq-icon { width: 1.25rem; height: 1.25rem; color: #9ca3af; transition: transform 0.25s; flex-shrink: 0; }
.faq-trigger[aria-expanded="true"] .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-panel { display: none; padding: 0 1.25rem 1.125rem; color: #4b5563; font-size: 0.9375rem; line-height: 1.65; }
.faq-item.is-open .faq-panel { display: block; }
.faq-panel h4 { font-family: Montserrat, sans-serif; font-weight: 600; color: #1F2937; margin: 1rem 0 0.25rem; }
.gallery-main {
  width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #fff;
  border: 1px solid #e5e7eb; border-radius: 1rem;
}
.product-gallery {
  position: relative; overflow: hidden; isolation: isolate;
  background: #fff; border: none; border-radius: 1rem;
  padding: 0 0 1rem;
}
.product-gallery__main {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 280px; padding: 0 2.75rem;
}
.product-gallery__zoom {
  border: none; background: transparent; padding: 0; margin: 0;
  cursor: zoom-in; display: flex; align-items: center; justify-content: center;
  max-width: 100%; position: relative; z-index: 1;
}
.product-gallery__zoom:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px;
}
.product-gallery__slide {
  max-height: 360px; width: 100%; object-fit: contain;
  border: none; box-shadow: none; background: transparent;
  pointer-events: none;
}
.product-gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 2.5rem; height: 2.5rem; border-radius: 50%; border: none;
  background: rgba(120, 120, 120, 0.45); color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 3;
  opacity: 1; pointer-events: auto;
  transition: background 0.2s;
}
.product-gallery__nav:hover { background: rgba(90, 90, 90, 0.65); }
.product-gallery__nav:focus-visible {
  opacity: 1; pointer-events: auto;
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.product-gallery__nav--prev { left: 0.25rem; }
.product-gallery__nav--next { right: 0.25rem; }
.product-gallery__nav svg { width: 1.125rem; height: 1.125rem; }
.product-gallery__thumbs {
  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center;
  padding: 0.75rem 0.5rem 0; margin-top: 0.25rem;
}
.product-gallery__thumb {
  width: 3.5rem; height: 3.5rem; padding: 0; border: 1px solid #e5e7eb;
  border-radius: 2px; background: #fff; cursor: pointer; overflow: hidden;
  transition: border-color 0.15s;
}
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-gallery__thumb.is-active { border: 2px solid var(--accent-2); }
.product-gallery__thumb:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.product-gallery__pswp-sources {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.pswp.pswp--product-gree { --pswp-bg: #ffffff; }
.pswp.pswp--product-gree .pswp__img {
  max-width: none;
  max-height: none;
  object-fit: contain;
}
.pswp.pswp--product-gree .pswp__counter { opacity: 0.7; font-size: 0.875rem; color: #1F2937; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr + tr td { border-top: 1px solid #f3f4f6; }
.spec-table td { padding: 0.7rem 0.25rem; vertical-align: top; font-size: 0.9375rem; }
.spec-table td:first-child { color: #6b7280; width: 55%; }
.spec-table td:last-child { font-weight: 600; color: #1F2937; }
.site-footer__cookie-link, .cookie-link {
  background: none; border: none; padding: 0; color: var(--accent); text-decoration: underline; cursor: pointer; font: inherit;
}
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: #fff; border-top: 1px solid #e5e7eb; box-shadow: 0 -8px 24px rgba(15,23,42,.06);
}
.cookie-banner__inner {
  max-width: 80rem; margin: 0 auto; padding: 1rem 1.25rem;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
}
.cookie-banner__text { font-size: 0.875rem; color: #4b5563; max-width: 52rem; }
.cookie-banner__actions { display: flex; gap: 0.5rem; }
.cookie-btn { font-family: Montserrat, sans-serif; font-size: 14px; font-weight: 500; border-radius: 0.5rem; padding: 0.55rem 1rem; cursor: pointer; }
.cookie-btn--primary { background: var(--accent); color: #fff; border: none; }
.cookie-btn--primary:hover { background: var(--accent-2); }
.cookie-btn--ghost { background: #fff; color: var(--accent); border: 1px solid var(--accent); }
.modal-backdrop { backdrop-filter: blur(4px); }
#mobile-menu { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
#mobile-menu.open { max-height: 360px; }
.floating-panel {
  position: fixed; right: 1rem; z-index: 55;
  bottom: max(1.25rem, calc(env(safe-area-inset-bottom, 0px) + 1rem));
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .floating-panel {
    right: 1.25rem;
    bottom: max(1.5rem, calc(env(safe-area-inset-bottom, 0px) + 1.25rem));
  }
}
.floating-contacts {
  display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end;
  gap: 0.5rem;
}
.float-menu {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 0.5rem;
  order: -1;
  opacity: 0; visibility: hidden;
  transform: translateY(0.5rem);
  transform-origin: bottom center;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.floating-contacts.is-open .float-menu {
  opacity: 1; visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.float-toggle,
.float-btn {
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; cursor: pointer;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
@keyframes float-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.18), 0 0 0 0 rgba(3, 77, 162, 0.5);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.22), 0 0 0 0.55rem rgba(3, 77, 162, 0);
  }
}
.float-toggle {
  position: relative;
  width: 2.75rem; height: 2.75rem;
  background: linear-gradient(135deg, #034da2 0%, #023671 100%);
  flex-shrink: 0;
  animation: float-pulse 2s ease-in-out infinite;
}
.floating-contacts.is-open .float-toggle {
  animation: none;
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22);
}
@media (prefers-reduced-motion: reduce) {
  .float-toggle,
  .scroll-top.is-visible { animation: none; }
}
.float-toggle:hover,
.float-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22);
}
.float-item {
  display: flex; flex-direction: row; align-items: center; justify-content: flex-end;
  gap: 0.5rem;
}
.float-label {
  opacity: 0; visibility: hidden;
  transform: translateX(0.35rem);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  padding: 0.4rem 0.85rem; border-radius: 9999px;
  font-size: 0.8125rem; font-weight: 600;
  font-family: Montserrat, sans-serif;
  color: #fff; white-space: nowrap; line-height: 1.2;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.18);
  pointer-events: none;
}
.float-item:hover .float-label,
.float-item:focus-within .float-label {
  opacity: 1; visibility: visible; transform: translateX(0);
}
.float-label--wa { background: #25d366; }
.float-label--tg { background: #229ed9; }
.float-label--viber { background: #9760EF; }
.float-label--phone { background: linear-gradient(135deg, #f04d24 0%, #d13c18 100%); }
.float-btn { width: 2.5rem; height: 2.5rem; flex-shrink: 0; }
.float-toggle svg,
.float-btn svg { width: 1.125rem; height: 1.125rem; fill: currentColor; }
.float-toggle__icon--close { display: none; }
.floating-contacts.is-open .float-toggle__icon--open { display: none; }
.floating-contacts.is-open .float-toggle__icon--close { display: block; }
.float-btn--wa { background: #25d366; }
.float-btn--tg { background: #229ed9; }
.float-btn__img--viber { width: 80%; height: 80%; object-fit: contain; display: block; }
.float-btn--viber {
  padding: 0; overflow: hidden;
  background: #9760EF;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.18);
}
.float-btn--phone { background: linear-gradient(135deg, #f04d24 0%, #d13c18 100%); }
.scroll-top {
  width: 2.5rem; height: 2.5rem;
  border: none; border-radius: 50%;
  background: #fff; color: #f04d24;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.14);
  opacity: 0; visibility: hidden;
  transform: translateY(0.25rem);
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.scroll-top.is-visible {
  opacity: 1; visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  animation: float-pulse 2s ease-in-out infinite;
}
.scroll-top svg { width: 1.5rem; height: 1.5rem; fill: currentColor; }
.scroll-top.is-visible:hover {
  animation: none;
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22);
}
@media (max-width: 767px) {
  .floating-panel {
    right: max(0.75rem, env(safe-area-inset-right, 0px));
    bottom: max(1rem, calc(env(safe-area-inset-bottom, 0px) + 0.75rem));
    gap: 1rem;
  }
  .float-toggle { width: 3rem; height: 3rem; }
  .float-btn { width: 2.875rem; height: 2.875rem; }
  .scroll-top { width: 2.875rem; height: 2.875rem; }
  .float-toggle svg, .float-btn svg { width: 1.25rem; height: 1.25rem; }
  .scroll-top svg { width: 1.375rem; height: 1.375rem; }
  .floating-contacts.is-open .float-toggle,
  .floating-contacts.is-open .float-btn:active,
  .scroll-top.is-visible:active { transform: scale(0.96); }
}
.header-logo { height: 24.5px; width: auto; }
.model-line { display: flex; align-items: center; gap: 0.75rem; }
.model-line__name { flex: 1; min-width: 0; }
.compare-check,
.compare-box {
  width: 22px; height: 22px; flex: 0 0 22px;
  border: 1px solid #c8c8c8; border-radius: 3px;
  background: #fff; position: relative; box-sizing: border-box;
}
.compare-check { padding: 0; cursor: pointer; }
.compare-check.is-on,
.btn-compare.is-on .compare-box { background: #ffd000; border-color: #e0b400; }
.compare-check.is-on::after,
.btn-compare.is-on .compare-box::after {
  content: "";
  position: absolute; left: 7px; top: 3px;
  width: 5px; height: 10px;
  border: solid #1a1a1a; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.product-series {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}
.product-head {
  display: flex; flex-wrap: wrap; align-items: flex-start;
  justify-content: space-between; gap: 0.75rem 1.25rem; margin-top: 0.35rem;
}
.product-model {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  color: #1F2937;
}
.btn-compare {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 0.35rem;
  background: none; border: none; padding: 0; cursor: pointer;
  color: #1f2937; font-family: Inter, sans-serif;
  font-size: 15px; font-weight: 500; line-height: 1.2;
}
.compare-dock[hidden], .compare-toast[hidden] { display: none !important; }
.compare-dock {
  position: fixed; z-index: 54;
  left: 1rem;
  bottom: max(1.25rem, calc(env(safe-area-inset-bottom, 0px) + 1rem));
  display: flex; align-items: center; gap: 0.5rem;
}
.compare-dock__go {
  display: inline-flex; align-items: center; justify-content: center;
  height: 2.75rem; padding: 0 1.5rem;
  background: var(--accent); color: #fff;
  text-decoration: none; white-space: nowrap;
  border: none; border-radius: 0.5rem;
  transition: background-color 0.2s, transform 0.2s;
}
.compare-dock__go:hover {
  background: var(--accent-hover); color: #fff;
  transform: translateY(-1px);
}
.compare-dock__clear {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border: none; cursor: pointer;
  background: #fff; color: #4b5563;
  border-radius: 0.5rem;
  box-shadow: 0 0 0 1px #e5e7eb;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
.compare-dock__clear:hover {
  background: #f3f4f6; color: var(--accent);
  transform: translateY(-1px);
}
.compare-dock__clear svg { width: 1.2rem; height: 1.2rem; fill: currentColor; }
.compare-toast {
  position: fixed; z-index: 56;
  left: 1rem; bottom: 5.25rem;
  background: #1f2937; color: #fff;
  padding: 0.6rem 0.9rem; border-radius: 0.5rem;
  font-size: 0.875rem; max-width: 18rem;
}
.compare-toolbar {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 0.75rem; margin-bottom: 1rem;
}
.compare-clear, .compare-col__remove {
  background: none; border: none; padding: 0; cursor: pointer;
  color: var(--accent); font-size: 0.875rem; font-weight: 600;
}
.compare-diff-toggle { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.875rem; color: #4b5563; }
.compare-scroll { overflow-x: auto; border: 1px solid #e5e7eb; border-radius: 0.75rem; }
.compare-table { border-collapse: collapse; width: 100%; }
.compare-table th, .compare-table td {
  border-bottom: 1px solid #e5e7eb;
  padding: 0.75rem 1rem; text-align: left; vertical-align: top;
  min-width: 11rem; font-size: 0.875rem; background: #fff;
}
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: none; }
.compare-table th:first-child {
  position: sticky; left: 0; z-index: 1;
  min-width: 10rem; max-width: 12rem;
  font-weight: 600; color: #6b7280; background: #f8fafc;
}
.compare-table .is-diff td, .compare-table .is-diff th { background: #fff6f4; }
.compare-col img { width: 140px; height: 110px; object-fit: contain; display: block; }
.compare-col__name { display: block; margin-top: 0.6rem; font-weight: 600; color: var(--text); }
.compare-col__name:hover { color: var(--accent); }
.compare-col__remove { display: inline-block; margin-top: 0.45rem; }
.compare-price td { color: var(--accent-2); font-family: Montserrat, sans-serif; font-weight: 700; font-size: 1rem; }
.compare-hint { margin-top: 0.75rem; font-size: 0.75rem; color: #9ca3af; }
.compare-empty { padding: 2rem 0; }
.compare-empty a { display: inline-flex; margin-top: 1rem; text-decoration: none; }
body.compare-diff-only .compare-row:not(.is-diff):not(.compare-keep) { display: none; }
@media (max-width: 1023px) {
  #calculator .split-calc-aside:not(:has(#split-calc-result:not(.hidden))) { display: none; }
}
