/* Masya i Mosya — layout */

:root {
  --layout-max: 1280px;
  /* --layout-gutter: 32px; */
  --news-thumb-ratio: 313 / 219;
  --mobile-gutter: 20px;
  --header-height: 114px;
  --header-bg: rgba(25, 44, 68, 1);
  --btn-radius: 999px;
  --btn-border: 1px solid #fff;
  --btn-color: #fff;
  --btn-bg-solid: #fff;
  --btn-color-solid: #041626;
  --bp-nav-compact-max: 1279px;
  --bp-desktop-min: 1024px;
  --bp-mobile-max: 1023px;
  --bp-sm-max: 599px;
  --bp-xs-max: 480px;
  --mobile-screen-min: 320px;
  --color-page: #041626;
  --shadow-sm: 0 4px 4px rgba(0, 0, 0, 0.25);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.18);
  --shadow-card-hover: 0 8px 28px rgba(0, 0, 0, 0.22);
  --border-card: 1px solid rgba(130, 175, 205, 0.38);
  --border-card-hover: 1px solid rgba(130, 175, 205, 0.62);
  --bg-card: #16263d;
  --bg-full-ver2: url("../images/background-full-ver2.webp");
  --color-cat: #2991a6;
  --color-dog: #4069a7;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  min-height: 100%;
  background-color: var(--color-page);
}

body {
  margin: 0;
  width: 100%;
  background-color: var(--color-page);
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

body:has(.page--home),
body.page--home,
body:has(.page--about),
body:has(.page--catalog),
body:has(.page--buy),
body:has(.page--privacy),
body:has(.page--404),
body.page--about,
body.page--catalog,
body.page--buy,
body.page--privacy,
body.page--404 {
  background-color: var(--color-page);
  background-image: var(--bg-full-ver2);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

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

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

.reg-sign {
  font-size: 0.62em;
  line-height: 0;
  vertical-align: super;
}

/* ─── Buttons (outline / solid pills per design) ─── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-radius: var(--btn-radius);
  border: var(--btn-border);
  font-family: inherit;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  color: var(--btn-color);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

button.btn {
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}

.btn--outline {
  background: transparent;
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn--solid {
  background: var(--btn-bg-solid);
  border-color: var(--btn-bg-solid);
  color: var(--btn-color-solid);
}

.btn--solid:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.92);
}

.btn--show-more {
  min-width: 200px;
  height: 48px;
  padding: 0 40px;
  border-radius: 999px;
  border: 1px solid rgba(150, 190, 220, 0.35);
  background: rgba(41, 145, 166, 0.2);
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn--show-more:hover {
  background: rgba(41, 145, 166, 0.32);
  border-color: rgba(170, 205, 230, 0.45);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.28);
}

.btn--md {
  height: 40px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 700;
}

.btn--lg {
  height: 48px;
  padding: 0 36px;
  font-size: 16px;
}

.btn--icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
}

.page {
  width: 100%;
  margin: 0;
  position: relative;
  background: var(--color-page);
}

.hero,
.news__slider {
  overflow: hidden;
}

.page--home {
  background: transparent;
}

.container {
  width: min(100%, var(--layout-max));
  max-width: var(--layout-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--layout-gutter, 0);
  padding-right: var(--layout-gutter, 0);
  box-sizing: border-box;
}

/* ─── Header (desktop mockup) ─── */

.header {
  position: relative;
  z-index: 110;
  width: 100%;
  box-sizing: border-box;
  background: none;
  background-color: transparent;
}

/* Прозрачная шапка в потоке документа (главная, 404) */
.page--home > .header,
.page--404 > .header {
  position: relative;
  z-index: 20;
}

.page--home > .hero {
  margin-top: calc(-1 * var(--header-height));
}

.page--home > .header .header__logo img {
  filter: none;
}

.header__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 0 12px;
  column-gap: 32px;
}

.header__nav--desktop {
  display: contents;
}

.header__nav-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: max-content;
}

.header__nav-group--left {
  grid-column: 1;
  justify-self: start;
}

.header__nav-group--right {
  grid-column: 3;
  justify-self: end;
}

.header__burger {
  display: none;
}

.header__divider {
  display: none;
}

.mobile-menu {
  display: none;
}

.header__links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__nav-group--left .header__links {
  gap: 36px;
}

.header__nav-group--right .header__links {
  gap: 28px;
}

@media (max-width: 1279px) {
  .header__nav-group--left .header__links {
    gap: 60px;
  }

  .header__nav-group--right .header__links {
    gap: 60px;
  }
}

.header__links a {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0;
  color: #fff;
  white-space: nowrap;
  transition: color 0.2s;
}

.header__link-text {
  display: inline-grid;
  font-family: "Manrope", "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
}

.header__link-text::before {
  content: attr(data-text);
  font-weight: 700;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  user-select: none;
}

.header__links a:hover {
  color: #57B9A2;
}

.header__links a:hover .header__link-text {
  font-weight: 400;
}

.header__links a[aria-current="page"] .header__link-text {
  font-weight: 700;
}

.header__links a[aria-current="page"]:hover .header__link-text {
  font-weight: 700;
}

.mobile-menu__nav a[aria-current="page"] {
  font-weight: 700;
}

.header__line {
  position: relative;
  display: block;
  width: 100%;
  height: 1px;
  background: #fff;
  flex-shrink: 0;
}

.header__line::before,
.header__line::after,
.header__divider::before,
.header__divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
}

.header__line::before,
.header__divider::before {
  left: 0;
  transform: translate(-50%, -50%);
}

.header__line::after,
.header__divider::after {
  right: 0;
  transform: translate(50%, -50%);
}

.header__logo {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  align-self: center;
  flex-shrink: 0;
  width: 159px;
  height: 86px;
  line-height: 0;
}

.header__logo img {
  display: block;
  width: 159px;
  height: 86px;
  max-width: none;
}

/* ─── Hero ─── */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
}

.hero__media,
.product-showcase__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4, 22, 38, 0.72) 0%,
    rgba(4, 22, 38, 0.2) 42%,
    transparent 68%
  );
  pointer-events: none;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.hero__bg.is-active {
  opacity: 1;
  visibility: visible;
}

.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding-top: 200px;
  padding-bottom: 0;
}

.hero__title,
.hero__features {
  transition: opacity 0.35s ease;
}

.hero__content.is-changing .hero__title,
.hero__content.is-changing .hero__features {
  opacity: 0;
}

.hero__title {
  margin: 0;
  max-width: 63%;
  font-family: "Manrope", "Montserrat", sans-serif;
  font-size: 48px;
  font-weight: 800;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
}

.hero__features {
  display: flex;
  gap: 24px;
  margin-top: 48px;
}

.hero__feature {
  width: 25%;
  padding: 20px 22px 22px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 12px;
  background: rgba(64, 105, 167, 0.2);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hero__features:has(.hero__feature:only-child) .hero__feature {
  width: 50%;
  max-width: 420px;
}

.hero__feature-title {
  margin: 0 0 10px;
  font-family: "Manrope", "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
}

.hero__feature-text {
  margin: 0;
  font-family: "Manrope", "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.92);
}

.slider-dot {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 4px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.slider-dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 44px;
  transform: translate(-50%, -50%);
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-sm);
}

.slider-dot.is-active {
  background: #fff;
  border-color: #fff;
  box-shadow: var(--shadow-sm);
}

.hero__edge {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--color-page);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.hero.is-hover-left .hero__edge--prev,
.hero.is-hover-right .hero__edge--next,
.hero__edge:focus-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero__edge--prev {
  left: 32px;
}

.hero__edge--next {
  right: 32px;
}

.hero__edge:hover {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.hero__edge-icon {
  display: block;
  flex-shrink: 0;
}

.hero__slider {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 42px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: max-content;
  max-width: calc(100% - 32px);
  z-index: 5;
}

#about,
#news,
#faq,
#contacts,
#buy {
  scroll-margin-top: 32px;
}

/* ─── UI (общие блоки: заголовки, крошки, карточки) ─── */

.block-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.block-heading--grow {
  flex: 1;
  min-width: 0;
}

.block-heading--center {
  justify-content: center;
  gap: 24px;
  width: 100%;
}

.block-heading--center .block-title {
  white-space: normal;
  text-align: center;
  font-family: "Manrope", "Montserrat", sans-serif;
  font-size: 36px;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
}

.block-heading--center .block-line {
  flex: 1;
  max-width: none;
}

.block-heading--stacked {
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #fff;
}

.block-heading--stacked .block-title {
  white-space: normal;
}

.block-heading--faq {
  display: block;
  width: 100%;
}

.block-title--faq {
  white-space: normal;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.block-title__lead {
  display: block;
}

.block-title__tail {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 77%;
}

.block-title__tail .block-line {
  flex: 1;
  max-width: none;
  margin-top: 0;
}

.block-title {
  margin: 0;
  font-family: "Manrope", "Montserrat", sans-serif;
  font-size: 48px;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  /* white-space: nowrap; */
  flex-shrink: 0;
  color: #fff;
}

.block-line {
  display: block;
  flex: 1;
  min-width: 60px;
  height: 1px;
  background: #fff;
  position: relative;
  max-width: 15%;
}

.block-line::before,
.block-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
}

.block-line::before {
  left: 0;
}

.block-line::after {
  right: 0;
}

.text-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 25px;
  align-items: start;
}

.text-cols p {
  margin: 0;
  font-family: "Manrope", "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: 0;
  color: #fff;
}

.section-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.section-toolbar__aside {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.btn-glass {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: linear-gradient(
    145deg,
    rgba(24, 56, 78, 0.72) 0%,
    rgba(10, 30, 46, 0.88) 100%
  );
  color: #fff;
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.2),
    inset -1px -2px 0 rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.btn-glass:hover {
  background: linear-gradient(
    145deg,
    rgba(32, 68, 92, 0.82) 0%,
    rgba(14, 38, 56, 0.92) 100%
  );
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-glass--pill {
  display: none;
  height: 40px;
  padding: 0 32px;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 400;
  white-space: nowrap;
}

.btn-glass--square {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  padding: 0;
  border-radius: 20px;
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(
    145deg,
    rgba(24, 56, 78, 0.75) 0%,
    rgba(10, 30, 46, 0.88) 100%
  );
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.22),
    inset -1px -2px 0 rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
}

.btn-glass--square:hover:not(:disabled) {
  background: linear-gradient(
    145deg,
    rgba(32, 68, 92, 0.85) 0%,
    rgba(14, 38, 56, 0.92) 100%
  );
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.28),
    inset -1px -2px 0 rgba(0, 0, 0, 0.3);
}

.btn-glass--square:disabled {
  cursor: not-allowed;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.slider-controls__count {
  font-size: 18px;
  font-weight: 400;
  min-width: 52px;
  text-align: center;
  color: #fff;
  line-height: 1;
}

.slider-controls__count:empty,
.slider-controls__count[hidden] {
  display: none;
}

.slider-controls--disabled {
  display: none;
}

.faq-q {
  display: block;
  margin: 0 0 14px;
  font: inherit;
}

.faq-a {
  margin: 0;
  font-family: "Manrope", "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: 0;
  color: #fff;
}

.faq-a a,
.footer__email,
.link-underline {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.65);
}

.breadcrumbs--offset-top {
  padding: 36px 0 0;
}

.breadcrumbs--below-header {
  padding-top: calc(var(--header-height, 114px) + 36px);
}

.breadcrumbs a {
  color: inherit;
  font-family: "Manrope", "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: #fff;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

.breadcrumbs__sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.45);
}

.breadcrumbs__current {
  color: rgba(255, 255, 255, 0.85);
}

.block-heading--section {
  margin: 32px 0 40px;
  gap: 28px;
}

.block-line--wide {
  max-width: 15%;
}

.block-title--page {
  white-space: normal;
  font-family: "Manrope", "Montserrat", sans-serif;
  font-size: 48px;
  font-weight: 700;
  font-style: normal;
  line-height: 58px;
  letter-spacing: 0;
}

.block-title--hero {
  margin: 0 0 24px;
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: none;
  white-space: normal;
}

.text-lead {
  margin: 14px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

.text-body {
  margin: 0 0 36px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
}

.text-body ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
}

.text-body li {
  margin-bottom: 8px;
}

.text-body li:last-child {
  margin-bottom: 0;
}

.text-body strong {
  font-weight: 700;
}

.text-body--legal {
  max-width: 920px;
}

.text-body--legal a {
  text-decoration: underline;
}

.section-more.is-hidden {
  display: none;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

a.card {
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

a.card:hover,
.card:hover {
  border-color: rgba(130, 175, 205, 0.62);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.card {
  display: flex;
  flex-direction: column;
  padding: 0 0 28px;
  border-radius: 14px;
  border: 1px solid rgba(130, 175, 205, 0.38);
  background: linear-gradient(
    180deg,
    rgba(14, 48, 68, 0.82) 0%,
    rgba(9, 36, 54, 0.7) 55%,
    rgba(7, 30, 46, 0.62) 100%
  );
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.card__visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  /* height: 390px; */
  /* padding: 12px 0 0; */
  flex-shrink: 0;
}

a.card__visual {
  text-decoration: none;
  transition: opacity 0.2s;
}

a.card__visual:hover {
  opacity: 0.92;
}

a.card__visual:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: -2px;
}

.card__visual img {
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  border: 0;
  border-radius: 20px;
}

.card__title {
  display: block;
  margin: 20px 22px 10px;
  padding: 0;
  font-family: "Manrope", "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 700;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: 0;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}

a.card__title:hover {
  opacity: 0.88;
  text-decoration: underline;
}

.card__desc {
  margin: 0 22px;
  font-family: "Manrope", "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.9);
}

.page-intro {
  margin-top: 28px;
}

/* ─── Внутренние страницы (общая оболочка) ─── */

.page:not(.page--home) {
  width: 100%;
  background: transparent;
  display: grid;
  grid-template-columns: 1fr min(var(--layout-max), 100%) 1fr;
}

.page:not(.page--home) > .header,
.page:not(.page--home) > .footer,
.page:not(.page--home) > .mobile-menu,
.page:not(.page--home) > .page-404__hero {
  grid-column: 1 / -1;
  width: 100%;
}

.page:not(.page--home) > .page-main,
.page:not(.page--home) > .footer__pets-wrap {
  grid-column: 2;
  width: 100%;
  min-width: 0;
}

body:has(.page--news),
body.page--news {
  background-color: #08131f;
  background-image: var(--bg-full-ver2);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

body:has(.page--product),
body.page--product {
  background-color: #05111d;
  background-image: url("../images/background-product.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

body:has(.page--contacts),
body.page--contacts {
  background-color: #05111d;
  background-image: url("../images/background-contacts.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.page-main {
  position: relative;
  z-index: 5;
  width: min(100%, var(--layout-max));
  max-width: var(--layout-max);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--layout-gutter, 0) 80px;
  box-sizing: border-box;
}

.page:not(.page--home) > .page-main {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
}

.page--catalog .page-main {
  /* margin-bottom: 100px; */
}

.page--contacts .page-main {
  padding-bottom: 24px;
}

.page--contacts .map-embed {
  margin-bottom: 0;
}

.page--contacts .footer__pets-wrap {
  margin-top: 12px;
}

.page--article .page-main {
  padding-bottom: 64px;
}

.page--article .breadcrumbs--offset-top {
  margin-bottom: 32px;
}

.page:not(.page--home) .footer__pets-wrap {
  margin-top: 24px;
}

.page--about .footer__pets-wrap {
  margin-top: 48px;
}

/* Сетка плиток (где купить) */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tile-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 200px;
  padding: 40px 32px;
  border-radius: 15px;
  border: 1px solid rgba(130, 175, 205, 0.38);
  background: rgba(64, 105, 167, 0.2);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.tile-card:hover {
  background: rgba(64, 105, 167, 0.5);
  border-color: rgba(130, 175, 205, 0.62);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.28);
}

.tile-card--cat {
  background: rgba(41, 145, 166, 0.2);
  border-color: rgba(41, 145, 166, 0.35);
}

.tile-card--cat:hover {
  background: rgba(41, 145, 166, 0.34);
  border-color: rgba(41, 145, 166, 0.52);
}

.tile-card--dog {
  background: rgba(64, 105, 167, 0.2);
  border-color: rgba(64, 105, 167, 0.35);
}

.tile-card--dog:hover {
  background: rgba(64, 105, 167, 0.34);
  border-color: rgba(64, 105, 167, 0.52);
}

.tile-card__img {
  grid-area: 1 / 1;
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  transition: opacity 0.25s ease;
}

.tile-card__cta {
  grid-area: 1 / 1;
  align-self: end;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 40px;
  margin-bottom: -15px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.tile-card:hover .tile-card__cta {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.tile-card__img--personal {
  width: 255px;
}

.tile-card__img--wb {
  width: 292px;
  max-width: 85%;
}

.page--buy .tile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.page--buy .tile-card__img,
.page--buy .tile-card__cta {
  grid-area: unset;
}

.page--buy .tile-card__img {
  mix-blend-mode: lighten;
}

.page--buy .tile-card__cta {
  display: none;
}

@media (min-width: 1024px) {
  .page--buy .section-more--buy {
    display: none;
  }

  .page--buy .tile-card--hidden {
    display: flex;
  }

  .page--buy .tile-card {
    position: relative;
    gap: 0;
    min-height: 200px;
    padding: 40px 32px;
  }

  .page--buy .tile-card__cta {
    display: inline-flex;
    position: absolute;
    bottom: 28px;
    left: 50%;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 6px);
  }

  .page--buy .tile-card:hover .tile-card__cta {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }
}

/* Контакты */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 48px;
  margin-bottom: 40px;
}

.info-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.info-label {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.info-value {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
}

.info-value a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

.info-value a:hover {
  opacity: 0.85;
  text-decoration: underline;
}

.map-embed {
  width: 100%;
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(130, 175, 205, 0.28);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Новости (список) */
.page--article .article-showcase__box {
  position: relative;
  min-height: 478px;
  margin-top: 0;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(130, 175, 205, 0.2);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.page--article .article-showcase__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page--article .article-showcase__box .product-showcase__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.page--article .article-showcase__box .product-showcase__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page--article .article-showcase__box .product-showcase__slide.is-active {
  opacity: 1;
}

.page--article .article-showcase__box .product-showcase__dots {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: max-content;
  max-width: calc(100% - 40px);
  transform: translateX(-50%);
}

.page--article .article-showcase__box .product-showcase__dots .slider-dot {
  width: 40px;
}

.page--article .article-showcase__box .product-showcase__dots:has(.slider-dot:only-child) {
  display: none;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 21px;
}

.news-card {
  min-height: 0;
  border-radius: 20px;
  border: var(--border-card);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.news-card:has(.news-card__link:hover) {
  border-color: rgba(130, 175, 205, 0.62);
  box-shadow: var(--shadow-card-hover);
}

.news-card--hidden,
.tile-card--hidden {
  display: none;
}

.news-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.news-card__link:hover {
  opacity: 0.95;
}

.news-card__link:hover .news-card__text {
  text-decoration: underline;
}

.news-card__link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: -2px;
}

.news-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: var(--news-thumb-ratio);
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 20px;
  background-color: #0d2234;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.news-thumb img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-thumb--cat {
  background-image: image-set(
    url("../images/news-cat.webp") type("image/webp"),
    url("../images/news-cat.png") type("image/png")
  );
}

.news-thumb--vet {
  background-image: image-set(
    url("../images/news-vet.webp") type("image/webp"),
    url("../images/news-vet.png") type("image/png")
  );
}

.news-thumb--husky {
  background-image: image-set(
    url("../images/news-husky.webp") type("image/webp"),
    url("../images/news-husky.png") type("image/png")
  );
}

.news-thumb--trophy {
  background-image: image-set(
    url("../images/news-trophy.webp") type("image/webp"),
    url("../images/news-trophy.png") type("image/png")
  );
}

.news-thumb--dog {
  background-image: image-set(
    url("../images/news-thumb-dog.webp") type("image/webp"),
    url("../images/news-thumb-dog.png") type("image/png")
  );
}

.news-thumb--pets {
  background-image: image-set(
    url("../images/news-thumb-pets.webp") type("image/webp"),
    url("../images/news-thumb-pets.png") type("image/png")
  );
}

.news-thumb--expo {
  background-image: image-set(
    url("../images/news-thumb-expo.webp") type("image/webp"),
    url("../images/news-thumb-expo.png") type("image/png")
  );
}

.news-thumb--award {
  background-image: image-set(
    url("../images/news-thumb-award.webp") type("image/webp"),
    url("../images/news-thumb-award.png") type("image/png")
  );
}

.news-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 18px 20px;
  background: rgba(64, 105, 167, 0.2);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.news-card__date {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.news-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Статья */
.article__cover {
  margin: 0 0 32px;
}

.article__cover .article-showcase__box {
  border-radius: 20px;
}

.article__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 28px;
}

.article__head-title {
  flex: 1;
  min-width: 0;
}

.article__head-title .article__title {
  flex-shrink: 1;
}

.article__head-title .block-line--wide {
  flex: 1;
  max-width: none;
}

.article__title {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
}

.article__date {
  flex-shrink: 0;
  order: -1;
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

.article__list {
  margin: 0;
  padding: 0 0 0 1.35em;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
}

.article__list li {
  margin-bottom: 16px;
}

.article__list li:last-child {
  margin-bottom: 0;
}

.section-more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.section-more .btn {
  min-width: 200px;
  height: 48px;
  padding: 0 40px;
  font-size: 16px;
}

.page--news .section-more {
  display: flex;
  justify-content: start;
  margin-top: 20px;
}

.page--news .section-more .btn {
  min-width: 200px;
  height: 48px;
  padding: 0;
  font-size: 14px;
  background: rgba(27, 59, 86, 0.2);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

@media (max-width: 1279px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .page--news .section-more {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    justify-content: stretch;
  }

  .page--news .section-more .btn {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
}

.tabs--with-hero .tabs__figure {
  display: none;
  margin: 0 0 32px;
}

.tabs--with-hero.is-hero-visible .tabs__figure {
  display: block;
}

.about-tabs__figure {
  display: block;
  margin: 0 0 32px;
}

.page--about .about-showcase__box {
  position: relative;
  min-height: 478px;
  margin-top: 0;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(130, 175, 205, 0.2);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.page--about .about-showcase__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page--about .about-showcase__box .product-showcase__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.page--about .about-showcase__box .product-showcase__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page--about .about-showcase__box .product-showcase__slide.is-active {
  opacity: 1;
}

.page--about .about-showcase__box .product-showcase__dots {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: max-content;
  max-width: calc(100% - 40px);
  transform: translateX(-50%);
}

.page--about .about-showcase__box .product-showcase__dots .slider-dot {
  width: 40px;
}

.page--about .about-showcase__box .product-showcase__dots:has(.slider-dot:only-child) {
  display: none;
}

.about-tabs .tabs__panels {
  padding-top: 0;
}

.about-tabs__desktop {
  display: block;
}

.about-tabs__mobile {
  display: none;
}

.tabs__figure img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

@media (max-width: 1023px) {
  .tabs-bar {
    flex-wrap: nowrap;
  }

  .tabs-bar .tabs__tab {
    padding: 14px 16px;
    font-size: 16px;
  }

  .tabs-bar--product .tabs__tab {
    padding: 12px 14px;
    font-size: 15px;
  }
}

@media (max-width: 599px) {
  .section-more .btn {
    width: 100%;
    max-width: 160px;
    margin: 0;
    padding: 0;
    background: rgba(27, 59, 86, 0.2);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    font-family: "Manrope", "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 500;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0;
  }

  .page--news .section-more .btn {
    max-width: none;
    min-width: 0;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .info-col:last-child {
    grid-column: auto;
  }

  .map-embed {
    height: 280px;
    border-radius: 14px;
  }

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

.tabs__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  list-style: none;
}

.tabs__tab {
  margin: 0;
  padding: 0 24px 12px;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-family: inherit;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.tabs__tab:first-child {
  padding-left: 0;
}

.tabs__tab + .tabs__tab {
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.tabs__tab:hover {
  color: rgba(255, 255, 255, 0.85);
}

.tabs__tab.is-active {
  color: #fff;
  border-bottom-color: #fff;
}

/* Вкладки в «пилюле» (о компании, карточка товара) */
.tabs-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  margin: 0 0 32px;
  padding: 0;
  border: 1px solid rgba(130, 175, 205, 0.38);
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(14, 48, 68, 0.82) 0%,
    rgba(9, 36, 54, 0.7) 55%,
    rgba(7, 30, 46, 0.62) 100%
  );
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  list-style: none;
}

.tabs-bar .tabs__tab {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 18px 24px;
  border: none;
  border-bottom: none;
  border-radius: 0;
  background: transparent;
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.tabs-bar .tabs__tab:hover {
  color: rgba(255, 255, 255, 0.85);
}

.tabs-bar .tabs__tab + .tabs__tab {
  border-left: 1px solid rgba(130, 175, 205, 0.28);
}

.tabs-bar .tabs__tab.is-active {
  color: #fff;
  /* background: rgba(255, 255, 255, 0.1); */
  font-weight: 700;
}

.tabs-bar .tabs__tab:first-child.is-active {
  border-radius: 13px 0 0 13px;
}

.tabs-bar .tabs__tab:last-child.is-active {
  border-radius: 0 13px 13px 0;
}

.tabs-bar--product {
  gap: 4px;
  margin-bottom: 28px;
  padding: 6px;
  border-radius: 15px;
  border: 1px solid rgba(130, 175, 205, 0.2);
  background: rgba(27, 59, 86, 0.2);
  box-shadow: none;
  overflow: visible;
}

.tabs-bar--product .tabs__tab {
  border-radius: 15px;
  color: #fff;
}

.tabs-bar--product .tabs__tab:not(.is-active) {
  opacity: 0.8;
  font-weight: 400;
}

.tabs-bar--product .tabs__tab + .tabs__tab {
  border-left: none;
}

.tabs-bar--product .tabs__tab:hover {
  opacity: 1;
  color: #fff;
}

.tabs-bar--product .tabs__tab.is-active {
  background: rgba(255, 255, 255, 0.1);
}

.product-tabs .tabs-bar--product .tabs__tab {
  padding: 12px 14px;
}

.tabs-bar--product .tabs__tab:first-child.is-active,
.tabs-bar--product .tabs__tab:last-child.is-active {
  border-radius: 15px;
}

@media (min-width: 1024px) {
  .about-tabs .tabs-bar .tabs__tab,
  .product-tabs .tabs__tab {
    font-family: "Manrope", "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0;
  }

  .about-tabs .tabs-bar .tabs__tab.is-active,
  .product-tabs .tabs__tab.is-active {
    font-weight: 400;
  }
}

@media (max-width: 1023px) {
  .page--about .about-showcase__box {
    min-height: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .page--about .about-showcase__media {
    position: relative;
    inset: auto;
    min-height: 220px;
    aspect-ratio: 16 / 10;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(130, 175, 205, 0.2);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    touch-action: pan-y pinch-zoom;
  }

  .page--about .about-showcase__box .product-showcase__slide {
    border-radius: inherit;
  }

  .page--about .about-showcase__box .product-showcase__dots {
    left: 50%;
    right: auto;
    bottom: 16px;
    transform: translateX(-50%);
    justify-content: center;
    align-items: center;
    width: max-content;
    max-width: calc(100% - 32px);
  }

  .page--article .article-showcase__box {
    min-height: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .page--article .article-showcase__media {
    position: relative;
    inset: auto;
    min-height: 220px;
    aspect-ratio: 16 / 10;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(130, 175, 205, 0.2);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    touch-action: pan-y pinch-zoom;
  }

  .page--article .article-showcase__box .product-showcase__slide {
    border-radius: inherit;
  }

  .page--article .article-showcase__box .product-showcase__dots {
    left: 50%;
    right: auto;
    bottom: 16px;
    transform: translateX(-50%);
    justify-content: center;
    align-items: center;
    width: max-content;
    max-width: calc(100% - 32px);
  }

  .about-tabs__desktop {
    display: none;
  }

  .about-tabs__mobile {
    display: flex;
    flex-direction: column;
  }

  .about-tabs__group {
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  }

  .about-tabs__group:last-child {
    border-bottom: 0;
  }

  .about-tabs__tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 18px 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #fff;
    text-align: left;
    cursor: pointer;
  }

  .about-tabs__label {
    flex: 1;
    min-width: 0;
    font-family: "Manrope", "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-align: left;
  }

  .about-tabs__panel {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    padding-bottom: 0;
    transition: grid-template-rows 0.35s ease, padding 0.35s ease;
  }

  .about-tabs__panel.is-open {
    grid-template-rows: 1fr;
    padding-bottom: 18px;
  }

  .about-tabs__panel > .text-body {
    min-height: 0;
    overflow: hidden;
    font-family: "Manrope", "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.3;
    letter-spacing: 0;
  }

  .about-tabs__panel[hidden] {
    display: none;
  }
}

@media (max-width: 1023px) {
  .about-tabs .tabs-bar .tabs__tab,
  .product-tabs .tabs__tab {
    font-family: "Manrope", "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: 0;
  }

  .tabs__panel p,
  .page--article .article__body p,
  .page--article .page-main > p {
    margin: 0 0 16px;
    font-family: "Manrope", "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.3;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.92);
  }

  .tabs__panel p:last-child,
  .page--article .article__body p:last-child,
  .page--article .page-main > p:last-of-type {
    margin-bottom: 0;
  }
}

.tabs .tabs__panels {
  padding-top: 0;
}

.tabs__panels {
  padding-top: 28px;
}

.tabs__panel {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

@media (min-width: 1024px) {
  .tabs__panel p,
  .page--article .article__body p,
  .page--article .page-main > p {
    margin: 0 0 16px;
    font-family: "Manrope", "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.3;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.92);
  }

  .tabs__panel p:last-child,
  .page--article .article__body p:last-child,
  .page--article .page-main > p:last-of-type {
    margin-bottom: 0;
  }

  .text-body li {
    margin: 0 0 16px;
    font-family: "Manrope", "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.3;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.92);
  }

  .text-body li:last-child {
    margin-bottom: 0;
  }
}

.tabs__panel[hidden] {
  display: none;
}

/* ─── About ─── */

.about {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0;
  /* background: #041626; */
  overflow: visible;
}

.about__stage {
  position: relative;
  overflow: visible;
  padding-bottom: 64px;
  padding-left: 72px;
  padding-right: 56px;
  margin-left: -72px;
  margin-right: -56px;
}

.about__stage picture {
  display: contents;
}

.about__card {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 0;
  border-radius: 20px;
  border: 1px solid rgba(173, 210, 220, 0.28);
  background:
    radial-gradient(ellipse 75% 95% at 50% 100%, rgba(88, 168, 176, 0.45) 0%, transparent 58%),
    linear-gradient(90deg, #0f3345 0%, #256268 48%, #2d6a6f 100%);
  overflow: hidden;
  pointer-events: none;
}

.about__cat,
.about__dog {
  position: absolute;
  pointer-events: none;
  z-index: 11;
  height: auto;
}

/* Кот: слева, лапа на нижней границе карточки */
.about__cat {
  left: -50px;
  bottom: 0;
  width: min(36%, 340px);
  max-width: 360px;
  transform: none;
  object-fit: contain;
  object-position: left bottom;
}

/* Собака: справа, уши выше карточки, лапа ниже нижнего края */
.about__dog {
  right: -68px;
  bottom: -45px;
  width: min(44%, 420px);
  max-width: 520px;
  transform: none;
  object-fit: contain;
  object-position: right bottom;
}

.about__content {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  padding: 56px clamp(200px, 22vw, 260px) 52px;
  text-align: left;
}

.about__content > .block-heading {
  margin-bottom: 28px;
}

.about__text--mobile {
  display: none;
}

@media (min-width: 1024px) {
  .about__content > .block-heading {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }

  .about__content .block-title {
    white-space: nowrap;
    font-size: 48px;
  }

  .about__content .block-line {
    flex: 1;
    min-width: 60px;
    max-width: 15%;
    width: auto;
  }

  .page--home .about__stage {
    margin-left: auto;
    margin-right: auto;
    padding-left: 72px;
    padding-right: 72px;
  }

  .page--home .about__content {
    text-align: center;
    padding-left: clamp(140px, 20vw, 240px);
    padding-right: clamp(140px, 20vw, 240px);
  }

  .page--home .about__content > .block-heading {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .page--home .about__content .block-title {
    white-space: normal;
    text-align: center;
    width: 100%;
  }

  .page--home .about__content .block-line {
    flex: none;
    width: 25%;
    min-width: 88px;
    max-width: none;
    margin: 0 auto;
  }

  .page--home .about .text-cols p {
    text-align: left;
  }

  .news .block-heading--grow {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .news .block-title {
    white-space: nowrap;
  }

  .news .block-line {
    flex: 1;
    min-width: 60px;
    max-width: 15%;
  }
}

.card-grid--novelties {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ─── Novelties (home) ─── */

.novelties {
  width: 100%;
  padding: 56px 0 64px;
}

/* ─── News ─── */

.news {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 56px 0 64px;
  /* background: radial-gradient(ellipse 120% 80% at 15% 10%, #0f3d52 0%, #0a3045 40%, #082a3f 65%, #05161e 100%); */
}

.news__slider {
  overflow: hidden;
  width: 100%;
}

.news__track {
  display: flex;
  gap: 21px;
  transition: transform 0.45s ease;
}

.news__track.is-sliding {
  will-change: transform;
}

.news__card {
  display: flex;
  flex-direction: column;
  flex: 0 0 var(--news-slide-width, calc((100% - 63px) / 4));
  min-width: 0;
  border-radius: 20px;
  /* border: var(--border-card); */
  /* background: var(--bg-card); */
  /* box-shadow: var(--shadow-card); */
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.news__card:hover {
  opacity: 0.95;
  border-color: rgba(130, 175, 205, 0.62);
  box-shadow: var(--shadow-card-hover);
}

.news__card:hover .news__card-text {
  text-decoration: underline;
}

@media (min-width: 1024px) {
  .news__track {
    width: 100%;
  }
}

.news__card-date {
  margin: 0;
  padding: 16px 0 8px;
  font-family: "Manrope", "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
}

.news__card-text {
  margin: 0;
  padding: 0 0 20px;
  font-family: "Manrope", "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: 0;
  max-width: none;
}

.news__pager {
  display: none;
}

.news__detail {
  display: none;
}

/* ─── FAQ ─── */

.faq {
  --faq-cat-max-height: min(420px, calc(100svh - 280px));
  width: 100%;
  padding: 64px 0 72px;
  background: #3f69a8;
  color: #fff;
}

.faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 45%) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.faq__aside {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.faq__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  /* width: 100%; */
  margin-top: 32px;
}

.faq__questions {
  display: block;
  height: auto;
  pointer-events: none;
}

.faq__scene {
  position: relative;
  width: 100%;
}

.faq__visual picture {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100%;
  max-height: var(--faq-cat-max-height);
}

.faq__cat {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: var(--faq-cat-max-height);
  margin: 8px 0 0;
  object-fit: contain;
  object-position: left bottom;
  pointer-events: none;
}

.faq__list {
  padding-top: 4px;
}

@media (min-width: 1024px) {
  .faq {
    overflow: visible;
  }

  .faq__inner {
    align-items: start;
    overflow: visible;
  }

  .faq__aside {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    align-self: start;
    max-height: 100svh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: visible;
    z-index: 1;
  }

  .faq__aside > .block-heading--faq {
    flex-shrink: 0;
  }

  .faq__visual {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    overflow: visible;
    width: 100%;
  }

  .faq__scene {
    width: min(100%, 420px);
    padding-top: clamp(96px, 14vw, 132px);
    box-sizing: border-box;
  }

  .faq__questions {
    position: absolute;
    top: 5%;
    left: 35%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 225px;
    margin: 0;
    z-index: 2;
    mix-blend-mode: screen;
  }

  .faq__visual picture {
    flex: 1 1 auto;
    min-height: 0;
    max-height: calc(100svh - 260px);
    justify-content: center;
  }

  .faq__cat {
    max-height: 100%;
    margin: 8px auto 0;
    object-position: center bottom;
  }
}

.faq__item {
  border-top: 1px solid #fff;
  padding-top: 28px;
}

.faq__item:first-child {
  border-top: none;
  padding: 0;
}

.faq__item:last-child {
  /* border-bottom: 1px solid #fff; */
}

.faq__trigger {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  font-family: "Manrope", "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  text-align: left;
  cursor: default;
  pointer-events: none;
}

.accordion-arrow,
.faq__arrow,
.product-tabs__arrow,
.about-tabs__arrow {
  flex-shrink: 0;
  width: 12px;
  height: 8px;
  background: url("../images/icon-chevron-down.svg") center / contain no-repeat;
  transition: transform 0.25s ease;
}

.accordion-arrow.is-open,
[aria-expanded="true"] > .accordion-arrow,
.is-open > .accordion-arrow,
.faq__trigger[aria-expanded="true"] .faq__arrow,
.product-tabs__group.is-open .product-tabs__arrow,
.about-tabs__group.is-open .about-tabs__arrow {
  transform: rotate(180deg);
}

.faq__arrow {
  display: none;
}

.faq__panel {
  display: block;
  padding: 0 0 28px;
}

.faq__panel[hidden] {
  display: block;
}

/* ─── Footer (единый блок для всех страниц) ─── */

.footer {
  position: relative;
  width: 100%;
  background: #192C44;
  color: #fff;
  font-size: 16px;
}

.footer__pets-wrap {
  position: relative;
  z-index: 2;
  margin-top: 20px;
  margin-bottom: -1px;
}

.footer__pets {
  display: block;
  width: 100%;
  max-width: var(--layout-max);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: center bottom;
}

.footer__main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) minmax(160px, 0.75fr) minmax(280px, 1fr);
  gap: 0 48px;
  align-items: stretch;
  padding-top: 52px;
  padding-bottom: 56px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
}

.footer__logo-link {
  display: inline-block;
  line-height: 0;
  margin: 0 0 20px;
}

.footer__logo {
  display: block;
  width: 159px;
  height: 86px;
  max-width: none;
}

.footer__copyright {
  margin: 0;
  font-family: "Manrope", "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.92);
}

.footer__socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.footer__social {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  line-height: 0;
  transition: opacity 0.2s, transform 0.2s;
}

.footer__social img {
  display: block;
  width: 40px;
  height: 40px;
}

.footer__social:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.footer__social:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
}

.footer__policy {
  margin-top: auto;
  padding-top: 28px;
  font-family: "Manrope", "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: 0;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.92);
}

.footer__policy:hover {
  text-decoration: underline;
}

.footer__copyright--mobile,
.footer__policy--mobile {
  display: none;
}

.footer__menu-col,
.footer__contacts-col {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-left: 48px;
}

.footer__menu-col::before,
.footer__contacts-col::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 9px;
  height: min(244px, 85%);
  background: url("../images/footer-divider.png") center top / 9px 100% no-repeat;
  transform: translateY(-50%);
  pointer-events: none;
}

.footer__col-title {
  margin: 0 0 24px;
  font-family: "Manrope", "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  color: #fff;
}

.footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__menu li {
  margin-bottom: 14px;
}

.footer__menu li:last-child {
  margin-bottom: 0;
}

.footer__menu a {
  font-family: "Manrope", "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.92);
}

.footer__menu a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer__contacts {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.footer__contacts p {
  margin: 0 0 12px;
}

.footer__contacts p:last-child {
  margin-bottom: 0;
}

.footer__contacts a {
  color: #fff;
}

.footer__contacts a:not(.footer__email):hover {
  text-decoration: underline;
}

.footer__email:hover {
  opacity: 0.85;
}

.footer__address {
  margin: 0;
}

/* ─── Mobile (≤1023px) ─── */

@media (max-width: 1023px) {
  body.menu-open {
    overflow: hidden;
  }

  .container {
    padding-left: var(--mobile-gutter);
    padding-right: var(--mobile-gutter);
  }

  .page {
    background: transparent;
  }

  .page:not(.page--home) > .page-main {
    padding-top: var(--header-height);
    padding-left: var(--mobile-gutter);
    padding-right: var(--mobile-gutter);
  }

  .page-main .container {
    padding-left: 0;
    padding-right: 0;
  }

  .page:not(.page--home) > .header {
    grid-column: 1 / -1;
    width: 100%;
  }

  .page:not(.page--home) > .footer {
    grid-column: 1 / -1;
    width: 100%;
    background: #192C44;
  }

  /* Header */
  .header__bar {
    height: auto;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 16px;
    padding-top: 18px;
    padding-bottom: 0;
  }

  .header__logo {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    width: auto;
    max-width: calc(100% - var(--mobile-gutter) * 2 - 48px);
    height: auto;
  }

  .header__logo img {
    content: url("../images/logo_mobile.svg");
    width: auto;
    height: 40px;
    max-width: 100%;
    filter: none;
  }

  .header__nav--desktop {
    display: none;
  }

  .header__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px 0;
    /* grid-column: 2; */
    grid-row: 1;
    width: 44px;
    height: 44px;
    /* padding: 10px; */
    border: none;
    background: transparent;
    cursor: pointer;
    margin: 0;
    padding: 0;
    max-width: 20px;
  }

  .header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: transform 0.2s, opacity 0.2s;
  }

  .header__burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .header__burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .header__burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header__divider {
    display: block;
    position: relative;
    width: auto;
    height: 0;
    margin: 0 var(--mobile-gutter) 0;
    background: none;
    border-bottom: 1px solid #fff;
  }

  :root {
    --header-height: 70px;
  }

  .header,
  .page--home > .header,
  .page--404 > .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-height: var(--header-height);
    z-index: 110;
    background: none;
    background-color: transparent;
    isolation: isolate;
  }

  .header__bar {
    background: none;
    background-color: transparent;
  }

  .header.header--scrolled {
    background: rgba(25, 44, 68, 1);
    background-color: rgba(25, 44, 68, 1);
  }

  .menu-open .header {
    background: rgba(25, 44, 68, 1);
    background-color: rgba(25, 44, 68, 1);
  }

  .page--home > .header .header__logo img {
    filter: none;
  }

  .mobile-menu {
    display: block;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    z-index: 105;
    /* padding: 0 var(--mobile-gutter) 28px; */
    background: none;
    box-shadow: none;
    overflow-y: auto;
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu__nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    padding: 20px var(--mobile-gutter) 28px;
    background: rgba(64, 105, 167, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0 0 20px 20px;
    box-shadow:
      inset 1px 1px 0 rgba(255, 255, 255, 0.16),
      0 8px 24px rgba(0, 0, 0, 0.28);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }

  .mobile-menu__nav a {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    text-align: right;
  }

  /* Home */
  .page--home > .hero {
    margin-top: 0;
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100dvh - var(--header-height));
    padding-top: var(--header-height);
    box-sizing: border-box;
  }

  .page--home > .hero .hero__media {
    top: 0;
    height: 100%;
  }

  .page--home > .hero .hero__media::after {
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(4, 22, 38, 0.08) 42%,
      transparent 72%
    );
  }

  .page--home > .hero .hero__bg {
    top: 0;
    height: 100%;
    object-position: 88% bottom;
  }

  /* Hero */
  .hero {
    position: relative;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
  }

  .hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
  }

  .hero__media picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  .hero__media::after {
    background: linear-gradient(
      180deg,
      rgba(4, 22, 38, 0.45) 0%,
      rgba(4, 22, 38, 0.08) 38%,
      transparent 72%
    );
  }

  .hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: right bottom;
  }

  .hero__content {
    position: relative;
    z-index: 2;
    height: auto;
    padding-top: 42px;
    padding-bottom: 16px;
    text-align: left;
  }

  .hero__title {
    max-width: none;
    margin: 0;
  }

  .hero__features {
    display: none;
  }

  .hero__slider {
    position: absolute;
    left: 50%;
    right: auto;
    bottom: max(24px, env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: max-content;
    max-width: calc(100% - 32px);
    padding: 0;
    margin-top: 0;
  }

  .hero__edge {
    display: none;
  }

  [data-hero-slider],
  [data-news-slider] {
    touch-action: pan-y pinch-zoom;
  }

  /* About */
  .about {
    width: 100%;
    padding: 24px var(--mobile-gutter) 48px;
    margin: 0 auto;
    overflow: visible;
  }

  .page--home .about {
    display: flex;
    justify-content: center;
  }

  .page--home .about__stage {
    width: 100%;
    max-width: 100%;
  }

  .about__stage {
    padding-bottom: 104px;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    overflow: visible;
  }

  .about__stage.container {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .about__card {
    inset: 0;
    border-radius: 20px;
    overflow: visible;
    background:
      radial-gradient(ellipse 85% 70% at 50% 100%, rgba(88, 168, 176, 0.4) 0%, transparent 58%),
      linear-gradient(180deg, #2d6a6f 0%, #1a4a55 42%, #0f3345 72%, #041626 100%);
  }

  .about__cat,
  .about__dog {
    z-index: 11;
  }

  .about__cat {
    display: block;
    left: -26px;
    bottom: 0;
    width: min(52%, 184px);
    max-width: 184px;
    transform: none;
  }

  .about__dog {
    right: -32px;
    bottom: -21px;
    width: min(64%, 204px);
    max-width: 204px;
    transform: none;
  }

  .about__content {
    position: relative;
    z-index: 5;
    padding: 20px 20px 148px;
    max-width: none;
    text-align: left;
  }

  .about__content .text-cols {
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .about__content .text-cols p {
    position: relative;
    z-index: 1;
  }

  .text-cols {
    grid-template-columns: 1fr;
    gap: 16px 0;
  }

  .about .text-cols p {
    font-family: "Manrope", "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.3;
    letter-spacing: 0;
  }

  .about__text--desktop {
    display: none;
  }

  .about__text--mobile {
    display: block;
  }

  /* FAQ */
  .faq {
    --faq-cat-max-height: min(320px, calc(100svh - 360px));
    padding: 36px var(--mobile-gutter) 32px;
    overflow: visible;
  }

  #faq .container {
    padding-left: 0;
    padding-right: 0;
  }

  .faq__inner {
    display: grid;
    grid-template-areas:
      "title"
      "list"
      "visual";
    grid-template-columns: 1fr;
    gap: 0;
  }

  .faq__aside {
    display: contents;
    text-align: center;
  }

  .faq__aside > .block-heading--faq {
    grid-area: title;
    font-size: 22px;
    text-align: center;
    width: 100%;
    margin-bottom: 24px;
  }

  .faq__aside .block-title--faq {
    font-size: inherit;
    align-items: center;
    text-align: center;
  }

  .faq__aside .block-title__tail {
    width: min(100%, 320px);
  }

  .faq__list {
    grid-area: list;
    padding-top: 0;
  }

  .faq__visual {
    grid-area: visual;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    margin-top: 28px;
    pointer-events: none;
  }

  .faq__scene {
    width: min(100%, 280px);
  }

  .faq__questions {
    display: block;
    width: min(100%, 220px);
    max-width: none;
    height: auto;
    margin: 0 auto 8px;
    mix-blend-mode: normal;
    opacity: 0.95;
  }

  .faq__visual picture {
    width: min(100%, 280px);
    margin: 0 auto;
    max-height: var(--faq-cat-max-height);
  }

  .faq__cat {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
    object-position: center bottom;
  }

  .faq__item {
    border-top: 1px solid rgba(255, 255, 255, 0.55);
    padding-top: 0;
  }

  .faq__item:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .faq__item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  }

  .faq__trigger {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    pointer-events: auto;
    cursor: pointer;
  }

  .faq__trigger .faq-q {
    flex: 1;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
  }

  .faq__arrow {
    display: block;
    margin-top: 6px;
    border: none;
    transform: none;
  }

  .faq__trigger[aria-expanded="true"] .faq__arrow {
    margin-top: 6px;
    transform: rotate(180deg);
  }

  .faq__panel {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    padding: 0;
    transition: grid-template-rows 0.35s ease, padding 0.35s ease;
  }

  .faq__panel.is-open {
    grid-template-rows: 1fr;
    padding: 0 0 18px;
  }

  .faq__panel > .faq-a {
    min-height: 0;
    overflow: hidden;
    font-family: "Manrope", "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.3;
    letter-spacing: 0;
  }

  .faq__panel[hidden] {
    display: none;
  }

  .faq-a {
    margin: 0;
    padding-right: 24px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.95);
  }

  .breadcrumbs--below-header {
    padding-top: calc(var(--header-height, 90px) + 20px);
    font-size: 12px;
  }

  h1,
  h1.block-title,
  h1.hero__title,
  h1.article__title {
    font-family: "Manrope", "Montserrat", sans-serif;
    font-size: 24px;
    font-weight: 700;
    font-style: normal;
    line-height: 1.15;
    letter-spacing: 0;
  }

  .page--product .block-title--page {
    line-height: 1.15;
  }

  .page:not(.page--home) .breadcrumbs--offset-top {
    margin-bottom: 20px;
    font-size: 12px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.65);
  }

  .page:not(.page--home) .breadcrumbs--offset-top a {
    font-size: inherit;
    line-height: inherit;
  }

  .page:not(.page--home) .breadcrumbs__current {
    color: rgba(255, 255, 255, 0.85);
  }

  .page:not(.page--home):not(.page--product) .block-heading--section {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 0 0 24px;
  }

  .page:not(.page--home):not(.page--product) .block-heading--section .block-title {
    width: 100%;
    flex-shrink: 0;
    white-space: normal;
    text-align: center;
  }

  .page:not(.page--home):not(.page--product) .block-heading--section .block-line--wide {
    flex: none;
    width: 25%;
    min-width: 60px;
    max-width: none;
    margin: 0 auto;
    align-self: center;
  }

  .text-lead {
    font-size: 20px;
  }

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

  /* Catalog */
  .page--catalog .card-grid,
  .page--buy .tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .page--catalog .card,
  .page--home .novelties .card {
    min-width: 0;
    padding-bottom: 14px;
    border-radius: 12px;
  }

  .page--catalog .card__visual,
  .page--home .novelties .card__visual {
    border-radius: 10px;
    background: rgba(64, 105, 167, 0.22);
  }

  .page--catalog .card:has(a[href*="product-cat"]) .card__visual,
  .page--home .novelties .card:has(a[href*="product-cat"]) .card__visual {
    background: rgba(41, 145, 166, 0.22);
  }

  .page--catalog .card__visual img,
  .page--home .novelties .card__visual img {
    border-radius: 8px;
  }

  .page--catalog .card__title,
  .page--home .novelties .card__title {
    margin: 10px 10px 4px;
    font-size: 13px;
    line-height: 1.3;
  }

  .page--catalog .card__desc,
  .page--home .novelties .card__desc {
    margin: 0 10px;
    font-size: 13px;
    line-height: 1.35;
  }

  .page--catalog .page-main {
    margin-bottom: 48px;
    padding-bottom: 32px;
  }

  /* Buy */
  .page--buy .block-heading--section {
    gap: 12px;
  }

  .page--buy .tile-card {
    gap: 0;
    min-height: 70px;
    max-height: 70px;
    height: 70px;
    padding: 0;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }

  .page--buy .tile-card--cat {
    background: rgba(41, 145, 166, 0.2);
    border-color: rgba(41, 145, 166, 0.35);
  }

  .page--buy .tile-card--dog {
    background: rgba(64, 105, 167, 0.2);
    border-color: rgba(64, 105, 167, 0.35);
  }

  .page--buy .tile-card:hover,
  .page--buy .tile-card:focus-visible {
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }

  .page--buy .tile-card--cat:hover,
  .page--buy .tile-card--cat:focus-visible {
    background: rgba(41, 145, 166, 0.2);
    border-color: rgba(41, 145, 166, 0.35);
  }

  .page--buy .tile-card--dog:hover,
  .page--buy .tile-card--dog:focus-visible {
    background: rgba(64, 105, 167, 0.2);
    border-color: rgba(64, 105, 167, 0.35);
  }

  .page--buy .tile-card__img {
    max-height: 44px;
  }

  .page--buy .tile-card__img--personal {
    width: min(100%, 120px);
  }

  .page--buy .tile-card__img--wb {
    width: min(100%, 108px);
    max-width: 100%;
  }

  .section-more {
    display: flex;
    justify-content: flex-start;
    margin-top: 40px;
  }

  .page--buy .section-more--buy {
    justify-content: flex-start;
    margin-top: 20px;
  }

  .page--buy .section-more--buy .btn {
    min-width: 0;
    max-width: 160px;
    height: 44px;
    padding: 0;
    font-size: 14px;
  }

  .page--buy .page-main {
    margin-bottom: 48px;
    padding-bottom: 40px;
  }

  /* Contacts */
  .page--contacts .block-heading--section {
    margin-bottom: 28px;
    gap: 12px;
  }

  .page--contacts .info-grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 28px;
  }

  .page--contacts .info-col {
    display: contents;
  }

  .page--contacts .info-item--distributor {
    order: 1;
  }

  .page--contacts .info-item--phone {
    order: 2;
  }

  .page--contacts .info-item--email {
    order: 3;
  }

  .page--contacts .info-item--address {
    order: 4;
  }

  .page--contacts .info-item--requisites {
    order: 5;
  }

  .page--contacts .info-label {
    margin-bottom: 6px;
    font-family: "Manrope", "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 500;
    font-style: normal;
    /* line-height: 56px; */
    letter-spacing: 0;
  }

  .page--contacts .info-value {
    font-family: "Manrope", "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    line-height: 27px;
    letter-spacing: 0;
  }

  .page--contacts .info-value a {
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .page--contacts .map-embed {
    height: 280px;
    border-radius: 15px;
    margin-bottom: 0;
  }

  .page--contacts .page-main {
    margin-bottom: 24px;
    padding-bottom: 16px;
  }

  .page--contacts .footer__pets-wrap {
    margin-top: 8px;
  }

  /* Footer */
  .footer__main {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 40px var(--mobile-gutter) 36px;
    text-align: center;
  }

  .footer__brand {
    align-items: center;
    width: 100%;
  }

  .footer__logo-link {
    margin: 0 auto 28px;
  }

  .footer__logo {
    content: url("../images/logo_mobile.svg");
    width: auto;
    height: 36px;
    max-width: min(100%, 280px);
  }

  .footer__socials {
    justify-content: center;
    gap: 16px;
    margin-top: 0;
    margin-bottom: 32px;
  }

  .footer__social,
  .footer__social img {
    width: 40px;
    height: 40px;
  }

  .footer__copyright--desktop,
  .footer__policy--desktop {
    display: none;
  }

  .footer__copyright--mobile,
  .footer__policy--mobile {
    display: block;
  }

  .footer__menu-col {
    padding-left: 0;
    padding-top: 0;
    margin-top: 0;
    border-top: none;
    align-items: center;
  }

  .footer__menu-col::before {
    display: none;
  }

  .footer__col-title {
    display: none;
  }

  .footer__menu li {
    margin-bottom: 12px;
  }

  .footer__menu a {
    font-size: 16px;
    line-height: 1;
    text-align: center;
  }

  .footer__contacts-col {
    width: 100%;
    padding-left: 0;
    padding-top: 0;
    margin-top: 28px;
    border-top: none;
    align-items: flex-start;
    text-align: left;
  }

  .footer__contacts-col::before {
    content: "";
    display: block;
    position: static;
    width: 100%;
    height: 9px;
    margin: 0 0 28px;
    transform: none;
    left: auto;
    top: auto;
    pointer-events: none;
    background: image-set(
      url("../images/footer-divider-mobile.webp") type("image/webp"),
      url("../images/footer-divider-mobile.png") type("image/png")
    ) center top / auto 9px no-repeat;
    background-repeat: no-repeat;
    background-position: left;
  }

  .footer__contacts,
  .footer__copyright--mobile {
    width: 100%;
    text-align: left;
  }

  .footer__contacts p {
    margin: 0 0 8px;
    font-family: "Manrope", "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.3;
    letter-spacing: 0;
  }

  .footer__contacts p:last-of-type {
    margin-bottom: 0;
  }

  .footer__copyright--mobile {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.92);
  }

  .footer__policy--mobile {
    display: block;
    margin-top: 16px;
    padding-top: 0;
    max-width: none;
    font-size: 14px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.92);
    text-align: left;
  }

  .footer__email {
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .tile-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .page--buy .tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page:not(.page--buy) .tile-card {
    min-height: 160px;
    padding: 32px 24px;
  }

  .page:not(.page--contacts) .info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 32px;
  }

  .page:not(.page--contacts) .info-col:last-child {
    grid-column: 1 / -1;
  }

  .page:not(.page--contacts) .map-embed {
    height: 320px;
  }

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

  .page--news .section-more {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    justify-content: stretch;
  }

  .page--news .section-more .btn {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .news-card__date {
    margin: 0 0 8px;
    font-family: "Manrope", "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0;
  }

  .news-card__text {
    margin: 0;
    font-family: "Manrope", "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 500;
    font-style: normal;
    line-height: 1.3;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.95);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .article__head-title {
    width: 100%;
  }

  .article__head {
    flex-direction: column;
    gap: 12px;
  }

  .article__date {
    margin-top: 0;
  }
}

@media (max-width: 599px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .page--news .section-more {
    grid-template-columns: 1fr;
  }

  .page--news .section-more .btn {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .news-card__body {
    padding: 16px 18px 20px;
  }

  .news-card__date {
    font-size: 16px;
    line-height: 1.3;
  }

  .news-card__text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
}

@media (max-width: 1023px) {
  .novelties {
    padding: 32px 0 20px;
  }

  .novelties__inner.container {
    padding-left: 0;
    padding-right: 0;
  }

  .novelties .section-toolbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    padding-left: var(--mobile-gutter);
    padding-right: var(--mobile-gutter);
  }

  .novelties .section-toolbar__aside {
    display: none;
  }

  .page--home .novelties .section-toolbar .block-heading,
  .page--home .news .block-heading--grow,
  .page--home .about__content > .block-heading {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .page--home .about__content > .block-heading {
    margin-bottom: 16px;
  }

  .page--home .about__content .text-cols {
    padding: 0 2px;
  }

  .page--home .about__content {
    text-align: center;
  }

  .page--home .about .text-cols p {
    text-align: center;
  }

  .page--home .novelties .section-toolbar .block-title,
  .page--home .news .block-heading--grow .block-title,
  .page--home .about__content .block-title {
    width: 100%;
    text-align: center;
    white-space: normal;
  }

  .page--home .novelties .section-toolbar .block-line,
  .page--home .news .block-heading--grow .block-line,
  .page--home .about__content .block-line {
    flex: none;
    width: 25%;
    min-width: 88px;
    max-width: none;
    margin: 0 auto;
  }

  .page--home .card-grid--novelties {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding-left: var(--mobile-gutter);
    padding-right: var(--mobile-gutter);
  }

  .news {
    padding: 32px 0 20px;
  }

  .news__inner.container {
    padding-left: 0;
    padding-right: 0;
  }

  .news .block-heading--grow {
    order: 1;
    width: 100%;
    margin-bottom: 20px;
    padding-left: var(--mobile-gutter);
    padding-right: var(--mobile-gutter);
  }

  .news__detail,
  .news .section-toolbar__aside {
    padding-left: calc((100% - var(--news-slide-width, 76%)) / 2);
    padding-right: var(--mobile-gutter);
  }

  .news__inner {
    display: flex;
    flex-direction: column;
  }

  .news .section-toolbar {
    display: contents;
  }

  .news .block-title {
    white-space: normal;
  }

  .news .block-line {
    flex: 1;
    min-width: 40px;
    /* max-width: none; */
  }

  .news__slider {
    order: 2;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
  }

  .news__track {
    gap: 12px;
  }

  .news__card {
    flex: 0 0 var(--news-slide-width, 76%);
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .news__card:hover {
    opacity: 1;
    box-shadow: none;
  }

  .news__card .news-thumb {
    aspect-ratio: 313 / 219;
    border-radius: 20px;
    border: none;
    box-shadow: none;
  }

  .news__card.is-active .news-thumb {
    border: none;
    box-shadow: none;
  }

  .news__card-date,
  .news__card-text {
    display: none;
  }

  .news__card[data-news-clone] {
    pointer-events: none;
  }

  .news__pager {
    display: flex;
    order: 3;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    padding: 14px var(--mobile-gutter) 0;
    box-sizing: border-box;
  }

  .news__pager:empty {
    display: none;
  }

  .news__detail {
    display: block;
    order: 4;
    margin-top: 10px;
    text-decoration: none;
    color: inherit;
  }

  .news__detail-date {
    margin: 0 0 8px;
    font-family: "Manrope", "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
  }

  .news__detail-text {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.95);
  }

  .news .section-toolbar__aside {
    order: 5;
    align-items: flex-start;
    margin-top: 24px;
    gap: 0;
  }

  .news .slider-controls {
    display: none;
  }

  .news .btn-glass--pill {
    width: auto;
    min-width: 196px;
    max-width: none;
    height: 48px;
    padding: 0 32px;
    font-size: 16px;
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(6, 32, 48, 0.72);
  }

  .page--home .hero__title,
  .page--home .block-title {
    font-family: "Manrope", "Montserrat", sans-serif;
    font-size: 24px;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0;
  }
}

@media (max-width: 480px) {
  .page:not(.page--home) .hero__title {
    font-size: 22px;
  }
}

/* ─── Performance ─── */

.page--home .novelties,
.page--home .faq,
.page--home .footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}

.page--home .news {
  /* content-visibility: auto; */
  contain-intrinsic-size: auto 520px;
}

.page--home .about {
  /* content-visibility: auto; */
  contain-intrinsic-size: auto 520px;
  contain: none;
  overflow: visible;
  margin-left: auto;
  margin-right: auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
