/* ===== MAVUL — Каталог /catalog/ ===== */
.mv-cat-host {
  position: relative; width: 100vw;
  left: 50%; right: 50%;
  margin-left: -50vw; margin-right: -50vw;
  background: #F5F1EA; color: #1A1612; isolation: isolate;
}
.mv-cat { max-width: 1440px; margin: 0 auto; padding: clamp(64px, 10vh, 120px) clamp(24px, 5vw, 80px); }
.mv-cat *, .mv-popup-overlay * { box-sizing: border-box; }

.mv-cat__hero {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  margin: 0 0 clamp(40px, 5vh, 64px);
  padding-bottom: clamp(40px, 5vh, 64px);
  border-bottom: 0.5px solid rgba(26, 22, 18, 0.12);
  align-items: end;
}
.mv-cat__eyebrow {
  font-family: 'Inter', sans-serif; font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: #C8966B; font-weight: 500; margin: 0 0 20px;
  display: flex; align-items: center; gap: 14px;
}
.mv-cat__eyebrow::after {
  content: ''; flex: 0 0 60px; height: 0.5px;
  background: #C8966B; opacity: 0.5;
}
.mv-cat__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(56px, 10vw, 144px);
  font-weight: 500; line-height: 0.92;
  letter-spacing: -0.028em; color: #1A1612; margin: 0;
}
.mv-cat__title em { font-style: italic; font-weight: 400; color: #C8966B; }
.mv-cat__desc {
  font-family: 'Inter', sans-serif;
  font-size: clamp(15px, 1.1vw, 17px); line-height: 1.6;
  color: #1A1612; opacity: 0.78;
  margin: 0 0 24px; max-width: 420px;
}
.mv-cat__stats { display: flex; gap: clamp(20px, 3vw, 40px); flex-wrap: wrap; }
.mv-cat__stat { display: flex; flex-direction: column; gap: 4px; }
.mv-cat__stat-num {
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic;
  font-size: clamp(28px, 3vw, 40px); color: #C8966B; line-height: 1;
}
.mv-cat__stat-label {
  font-family: 'Inter', sans-serif; font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #5A3E2B; opacity: 0.75; font-weight: 500;
}

/* Фильтры */
.mv-cat__filters {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin: 0 0 clamp(40px, 5vh, 64px);
}
.mv-cat__filter {
  font-family: 'Inter', sans-serif; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  color: #FFFFFF; background: #C8966B;
  padding: 14px 26px; border: 0; border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(200, 150, 107, 0.18);
  transition: all 360ms cubic-bezier(0.22, 1, 0.36, 1);
  display: inline-flex; align-items: center; gap: 10px;
}
.mv-cat__filter:hover {
  transform: translateY(-3px); background: #1A1612;
  box-shadow: 0 8px 24px rgba(26, 22, 18, 0.25);
}
.mv-cat__filter.is-active {
  background: #1A1612;
  box-shadow: 0 4px 16px rgba(26, 22, 18, 0.25);
}
.mv-cat__filter-count {
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic;
  font-size: 15px; letter-spacing: 0; text-transform: none; opacity: 0.85;
}

/* Сетка карточек */
.mv-cat__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.5vw, 48px); }
.mv-cat__card {
  display: block; text-decoration: none; color: inherit;
  cursor: pointer;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}
.mv-cat__card.is-hidden { display: none; }
.mv-cat__card:hover { transform: translateY(-6px); }

.mv-cat__card-photo-wrap { position: relative; padding: 16px; margin: 0 0 24px; }
.mv-cat__card-photo-wrap::before,
.mv-cat__card-photo-wrap::after,
.mv-cat__card-photo::before,
.mv-cat__card-photo::after {
  content: ''; position: absolute;
  width: 22px; height: 22px;
  border: 1.2px solid #C8966B; opacity: 0.6;
  transition: all 500ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.mv-cat__card-photo-wrap::before { top: 0; left: 0; border-right: none; border-bottom: none; border-radius: 4px 0 0 0; }
.mv-cat__card-photo-wrap::after { top: 0; right: 0; border-left: none; border-bottom: none; border-radius: 0 4px 0 0; }
.mv-cat__card-photo::before { bottom: -16px; left: -16px; border-right: none; border-top: none; border-radius: 0 0 0 4px; }
.mv-cat__card-photo::after { bottom: -16px; right: -16px; border-left: none; border-top: none; border-radius: 0 0 4px 0; }
.mv-cat__card:hover .mv-cat__card-photo-wrap::before { top: -6px; left: -6px; width: 32px; height: 32px; opacity: 1; }
.mv-cat__card:hover .mv-cat__card-photo-wrap::after { top: -6px; right: -6px; width: 32px; height: 32px; opacity: 1; }
.mv-cat__card:hover .mv-cat__card-photo::before { bottom: -22px; left: -22px; width: 32px; height: 32px; opacity: 1; }
.mv-cat__card:hover .mv-cat__card-photo::after { bottom: -22px; right: -22px; width: 32px; height: 32px; opacity: 1; }

.mv-cat__card-photo {
  aspect-ratio: 1 / 1;
  background: #FFFFFF; border-radius: 8px;
  overflow: hidden; padding: clamp(16px, 2vw, 28px);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  border: 0.5px solid rgba(26, 22, 18, 0.06);
  transition: box-shadow 500ms;
}
.mv-cat__card:hover .mv-cat__card-photo { box-shadow: 0 16px 48px rgba(184, 138, 79, 0.16); }
.mv-cat__card-photo img {
  max-width: 100%; max-height: 100%;
  object-fit: contain; display: block;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
.mv-cat__card:hover .mv-cat__card-photo img { transform: scale(1.06); }

.mv-cat__card-info { padding: 0 4px; }
.mv-cat__card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(22px, 2vw, 28px); font-weight: 500;
  line-height: 1.1; letter-spacing: -0.01em;
  color: #1A1612; margin: 0 0 6px;
  transition: color 360ms;
}
.mv-cat__card:hover .mv-cat__card-title { color: #C8966B; }
.mv-cat__card-latin {
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic;
  font-size: 14px; color: #C8966B; margin: 0 0 10px; font-weight: 400;
}
.mv-cat__card-meta {
  font-family: 'Inter', sans-serif; font-size: 12px;
  line-height: 1.55; color: #5A3E2B; opacity: 0.78; margin: 0 0 14px;
}
.mv-cat__card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px;
  border-top: 0.5px solid rgba(26, 22, 18, 0.08);
}
.mv-cat__card-origin {
  font-family: 'Inter', sans-serif; font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #C8966B; font-weight: 500;
}
.mv-cat__card-dir {
  font-family: 'Inter', sans-serif; font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #5A3E2B; opacity: 0.55;
  padding: 4px 10px;
  border: 0.5px solid rgba(26, 22, 18, 0.12);
  border-radius: 4px;
}

/* ===== POPUP карточки товара ===== */
.mv-popup-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(26, 22, 18, 0.6);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity 300ms, visibility 300ms;
  display: flex; align-items: flex-start; justify-content: center;
  overflow-y: auto;
  padding: 40px 20px;
}
.mv-popup-overlay.is-open { opacity: 1; visibility: visible; }
.mv-popup {
  position: relative;
  background: #F5F1EA;
  max-width: 1200px; width: 100%;
  border-radius: 12px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
  transform: translateY(40px);
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}
.mv-popup-overlay.is-open .mv-popup { transform: translateY(0); }
.mv-popup__close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 0; cursor: pointer; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  transition: all 300ms;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.mv-popup__close:hover { background: #1A1612; transform: rotate(90deg); }
.mv-popup__close svg { width: 18px; height: 18px; transition: stroke 300ms; }
.mv-popup__close:hover svg path { stroke: #F5F1EA; }
.mv-popup__inner { padding: clamp(40px, 6vw, 72px); }
body.mv-popup-open { overflow: hidden; }

/* === Контент popup (карточка породы) === */
.mv-w__crumb {
  font-family: 'Inter', sans-serif; font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #C8966B; font-weight: 500; margin: 0 0 32px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.mv-w__crumb span { opacity: 0.5; }
.mv-w__hero {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  margin: 0 0 clamp(48px, 6vh, 80px);
  align-items: start;
}
.mv-w__photo-wrapper { position: relative; padding: 24px; }
.mv-w__photo {
  aspect-ratio: 1 / 1;
  background: #FFFFFF; border-radius: 12px;
  overflow: hidden;
  padding: clamp(24px, 3vw, 48px);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  border: 0.5px solid rgba(26, 22, 18, 0.06);
}
.mv-w__photo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.mv-w__photo::before,
.mv-w__photo::after,
.mv-w__photo-wrapper::before,
.mv-w__photo-wrapper::after {
  content: ''; position: absolute;
  width: 32px; height: 32px;
  border: 1.5px solid #C8966B; opacity: 0.85;
  pointer-events: none;
}
.mv-w__photo-wrapper::before { top: 0; left: 0; border-right: none; border-bottom: none; border-radius: 6px 0 0 0; }
.mv-w__photo-wrapper::after { top: 0; right: 0; border-left: none; border-bottom: none; border-radius: 0 6px 0 0; }
.mv-w__photo::before { bottom: -24px; left: -24px; border-right: none; border-top: none; border-radius: 0 0 0 6px; }
.mv-w__photo::after { bottom: -24px; right: -24px; border-left: none; border-top: none; border-radius: 0 0 6px 0; }
.mv-w__hero-info { padding-top: 16px; }
.mv-w__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.mv-w__tag {
  font-family: 'Inter', sans-serif; font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #C8966B; font-weight: 500;
  padding: 7px 16px;
  border: 0.5px solid rgba(200, 150, 107, 0.4);
  border-radius: 999px;
}
.mv-w__h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 500; line-height: 0.95;
  letter-spacing: -0.025em;
  color: #1A1612; margin: 24px 0 24px;
}
.mv-w__subtitle {
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic;
  font-size: clamp(16px, 1.6vw, 22px);
  color: #C8966B; margin: 0 0 32px; line-height: 1.4;
}
.mv-w__why {
  font-family: 'Inter', sans-serif;
  font-size: clamp(14px, 1.1vw, 16px); line-height: 1.65;
  color: #1A1612; opacity: 0.88;
  margin: 0 0 32px; padding: 20px 24px;
  background: rgba(200, 150, 107, 0.06);
  border-left: 2px solid #C8966B;
  border-radius: 0 8px 8px 0;
}
.mv-w__cta {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: 'Inter', sans-serif; font-size: 13px;
  letter-spacing: 0.06em; font-weight: 500;
  color: #FFFFFF; background: #C8966B;
  padding: 16px 28px;
  border-radius: 999px;
  text-decoration: none; border: 0; cursor: pointer;
  box-shadow: 0 4px 16px rgba(200, 150, 107, 0.25);
  transition: all 360ms;
}
.mv-w__cta:hover {
  transform: translateY(-3px);
  background: #1A1612;
  box-shadow: 0 8px 28px rgba(26, 22, 18, 0.25);
}
.mv-w__section {
  margin: 0 0 clamp(40px, 5vh, 64px);
  padding-top: clamp(32px, 4vh, 48px);
  border-top: 0.5px solid rgba(26, 22, 18, 0.12);
}
.mv-w__eyebrow {
  font-family: 'Inter', sans-serif; font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: #C8966B; font-weight: 500;
  margin: 0 0 16px;
  display: flex; align-items: center; gap: 14px;
}
.mv-w__eyebrow::after { content: ''; flex: 0 0 60px; height: 0.5px; background: #C8966B; opacity: 0.5; }
.mv-w__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500; line-height: 1.05;
  letter-spacing: -0.022em;
  color: #1A1612; margin: 0 0 28px;
}
.mv-w__title em { font-style: italic; color: #C8966B; font-weight: 400; }
.mv-w__origin-info { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin: 0 0 24px; }
.mv-w__origin-stat-label {
  font-family: 'Inter', sans-serif; font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #5A3E2B; opacity: 0.7; font-weight: 500;
  display: block; margin: 0 0 8px;
}
.mv-w__origin-stat-value {
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic;
  font-size: clamp(20px, 2vw, 26px); color: #1A1612; line-height: 1.3;
}
.mv-w__countries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mv-w__country {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px;
  background: #FFFFFF;
  border: 0.5px solid rgba(26, 22, 18, 0.08);
  border-radius: 8px;
}
.mv-w__country-marker { width: 24px; height: 24px; flex-shrink: 0; }
.mv-w__country-marker svg { width: 100%; height: 100%; display: block; }
.mv-w__country-name { font-family: 'Inter', sans-serif; font-size: 14px; color: #1A1612; font-weight: 500; }
.mv-w__bars { display: flex; flex-direction: column; gap: 24px; }
.mv-w__bar-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 0 0 10px;
}
.mv-w__bar-label {
  font-family: 'Inter', sans-serif; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #5A3E2B; font-weight: 500;
}
.mv-w__bar-value {
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic;
  font-size: 20px; color: #C8966B;
}
.mv-w__bar-track { height: 6px; background: rgba(26, 22, 18, 0.08); border-radius: 3px; overflow: hidden; }
.mv-w__bar-fill { height: 100%; background: linear-gradient(90deg, #C8966B, #A87650); border-radius: 3px; }
.mv-w__bar-scale {
  display: flex; justify-content: space-between;
  margin-top: 6px;
  font-family: 'Inter', sans-serif; font-size: 10px;
  letter-spacing: 0.1em; color: #5A3E2B; opacity: 0.55;
}
.mv-w__color { display: grid; grid-template-columns: 160px 1fr; gap: 32px; align-items: center; }
.mv-w__color-swatch {
  width: 160px; height: 160px; border-radius: 12px;
  border: 0.5px solid rgba(26, 22, 18, 0.1);
  box-shadow: 0 8px 32px rgba(26, 22, 18, 0.08);
}
.mv-w__color-table { display: flex; flex-direction: column; gap: 12px; }
.mv-w__color-row {
  display: grid; grid-template-columns: 160px 1fr; gap: 20px;
  padding: 10px 0;
  border-bottom: 0.5px solid rgba(26, 22, 18, 0.08);
}
.mv-w__color-key {
  font-family: 'Inter', sans-serif; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #5A3E2B; opacity: 0.7; font-weight: 500;
}
.mv-w__color-val { font-family: 'Inter', sans-serif; font-size: 14px; color: #1A1612; }
.mv-w__apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mv-w__app {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px;
  background: #FFFFFF;
  border: 0.5px solid rgba(26, 22, 18, 0.08);
  border-radius: 8px;
}
.mv-w__app-icon {
  font-size: 24px; color: #C8966B;
  font-family: 'Cormorant Garamond', serif;
  width: 32px; text-align: center;
}
.mv-w__app-text { font-family: 'Inter', sans-serif; font-size: 13px; color: #1A1612; font-weight: 500; }
.mv-w__tech { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mv-w__tech-card {
  padding: 24px 20px;
  background: #FFFFFF; border-radius: 8px;
  border: 0.5px solid rgba(26, 22, 18, 0.08);
}
.mv-w__tech-label {
  font-family: 'Inter', sans-serif; font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #5A3E2B; opacity: 0.7; font-weight: 500;
  display: block; margin: 0 0 10px;
}
.mv-w__tech-value {
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic;
  font-size: clamp(24px, 2.2vw, 30px);
  color: #1A1612; line-height: 1;
}
.mv-w__tech-unit {
  font-family: 'Inter', sans-serif; font-size: 11px;
  color: #5A3E2B; opacity: 0.65;
  font-style: normal; margin-left: 5px;
}
.mv-w__forwho { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mv-w__forwho-card {
  padding: 28px;
  background: rgba(200, 150, 107, 0.05);
  border-radius: 8px;
}
.mv-w__forwho-label {
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic;
  font-size: 22px; color: #C8966B; margin: 0 0 14px;
}
.mv-w__forwho-text {
  font-family: 'Inter', sans-serif; font-size: 13px;
  line-height: 1.6; color: #1A1612; opacity: 0.85; margin: 0;
}
.mv-w__docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mv-w__doc {
  padding: 24px 18px;
  background: #FFFFFF;
  border: 0.5px solid rgba(26, 22, 18, 0.08);
  border-radius: 8px;
  text-align: center;
}
.mv-w__doc-icon {
  font-size: 32px; color: #C8966B;
  margin: 0 0 12px;
  font-family: 'Cormorant Garamond', serif;
}
.mv-w__doc-label {
  font-family: 'Inter', sans-serif; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #1A1612; font-weight: 500;
  display: block; margin: 0 0 6px;
}
.mv-w__doc-value {
  font-family: 'Inter', sans-serif; font-size: 12px;
  color: #5A3E2B; opacity: 0.78; line-height: 1.4;
}
.mv-w__table {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 0.5px solid rgba(26, 22, 18, 0.1);
}
.mv-w__row { display: contents; }
.mv-w__row > div { padding: 16px 0; border-bottom: 0.5px solid rgba(26, 22, 18, 0.1); }
.mv-w__row-label {
  font-family: 'Inter', sans-serif; font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #5A3E2B; opacity: 0.78; font-weight: 500;
  padding-left: 8px !important;
}
.mv-w__row-value {
  font-family: 'Inter', sans-serif; font-size: 14px;
  color: #1A1612; line-height: 1.5;
}

/* Адаптив */
@media (max-width: 960px) {
  .mv-cat__hero { grid-template-columns: 1fr; }
  .mv-cat__grid { grid-template-columns: repeat(2, 1fr); }
  .mv-w__hero { grid-template-columns: 1fr; }
  .mv-w__tech { grid-template-columns: repeat(2, 1fr); }
  .mv-w__forwho { grid-template-columns: 1fr; }
  .mv-w__apps { grid-template-columns: repeat(2, 1fr); }
  .mv-w__docs { grid-template-columns: repeat(2, 1fr); }
  .mv-w__color { grid-template-columns: 1fr; }
  .mv-w__color-swatch { width: 100%; }
  .mv-w__origin-info { grid-template-columns: 1fr; gap: 24px; }
  .mv-w__countries { grid-template-columns: repeat(2, 1fr); }
  .mv-w__table { grid-template-columns: 1fr; }
  .mv-popup__inner { padding: 48px 24px; }
}
@media (max-width: 600px) {
  .mv-cat__grid { grid-template-columns: 1fr; }
  .mv-w__tech { grid-template-columns: 1fr; }
  .mv-w__docs { grid-template-columns: 1fr; }
  .mv-w__apps { grid-template-columns: 1fr; }
  .mv-w__countries { grid-template-columns: 1fr; }
}