/* Страница модели /model/… внутри шапки и подвала текущей темы; цвета и шрифт — от темы */
.mp {
  --accent: #9a6b22; --accent-ink: #fff; --ink-2: #5d574c; --rule: #e2d9c4; --card: #fffdf7; --r: 16px;
  --display: var(--tn-serif), Georgia, serif; --dw: 600; --dl: -.015em;
  width: min(1240px, 100% - 32px); margin: 0 auto; padding: 24px 0 88px; box-sizing: border-box; display: flex; flex-direction: column; gap: 56px
}
.mp-v4 { --accent: #e8590c; --ink-2: #5b6068; --rule: #dde1e6; --card: #fff; --r: 14px; --display: var(--t4-display), sans-serif; --dw: 500; --dl: -.02em }
.mp-v6 { --accent: #173a63; --ink-2: #5e6c7b; --rule: #dce2e7; --card: #fff; --r: 4px; --display: var(--t6-display), sans-serif; --dw: 300; --dl: -.04em }
.mp * { box-sizing: border-box }
.mp > section { margin: 0; padding: 0; background: none; min-height: 0 }
.mp h1, .mp h2 { font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dl); margin: 0 }
.mp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--ink-2) }
.mp-crumbs a { color: inherit; text-decoration: none }
.mp-crumbs a:hover { text-decoration: underline; text-underline-offset: 3px }
.mp-crumbs [aria-current] { color: inherit; opacity: .8 }

.mp-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start }
.mp-gallery { display: flex; flex-direction: column; gap: 10px; position: sticky; top: 96px }
.mp-photo { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--rule) }
.mp-photo img { width: 100%; height: 100%; object-fit: cover; display: block }
.mp-ph { width: 100%; height: 100%; background: linear-gradient(135deg, var(--rule), var(--card)) }
.mp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px }
.mp-thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--r) / 2); display: block }

.mp-info { display: flex; flex-direction: column; gap: 14px }
.mp-brand { margin: 0; font-size: 14px; color: var(--ink-2); letter-spacing: .04em }
.mp-info h1 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.02; text-wrap: balance }
.mp-type { margin: 0; font-size: 17px; color: var(--ink-2) }
.mp-price { margin: 6px 0 0; font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dl); font-size: clamp(32px, 3.2vw, 44px); line-height: 1 }
.mp-price small { font-size: .45em; color: var(--ink-2); letter-spacing: 0 }
.mp-days { margin: 0; font-size: 15px; color: var(--accent); font-weight: 600 }
.mp-tents { list-style: none; margin: 6px 0 0; padding: 0; border-top: 1px solid var(--rule) }
.mp-tents li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule) }
.mp-tents b { display: block; font-weight: 600 }
.mp-tents span { display: block; margin-top: 2px; font-size: 14px; color: var(--ink-2) }
.mp-tents em { font-style: normal; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums }
.mp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px }
.mp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border-radius: var(--r); border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 16px; text-decoration: none; flex: 1 1 240px }
.mp-btn:hover { filter: brightness(1.08) }
.mp-btn-line { background: transparent; color: inherit; border-color: var(--rule); flex: 0 1 auto }
.mp-btn-line:hover { border-color: currentColor; filter: none }

.mp > .mp-more { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding-top: 28px; border-top: 1px solid var(--rule) }
.mp-more h2 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 16px }
.mp-desc { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); max-width: 68ch }
.mp-desc p { margin: 0 0 1em }
.mp-specs dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0; font-size: 15px }
.mp-specs dt { color: var(--ink-2) }
.mp-specs dd { margin: 0; text-align: right; font-weight: 600 }

.mp > .mp-others { padding-top: 28px; border-top: 1px solid var(--rule) }
.mp-others h2 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 20px }
.mp-others ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px }
.mp-others li > a { display: flex; flex-direction: column; gap: 2px; color: inherit; text-decoration: none }
.mp-o-img { display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--rule); margin-bottom: 10px }
.mp-o-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease }
.mp-others li > a:hover img { transform: scale(1.04) }
.mp-others small { font-size: 12.5px; color: var(--ink-2) }
.mp-others b { font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dl); font-size: 20px; line-height: 1.15 }
.mp-others li span:last-child { font-size: 14px; color: var(--ink-2) }

@media (max-width: 900px) {
  .mp { gap: 40px }
  .mp-top, .mp > .mp-more { grid-template-columns: 1fr }
  .mp-gallery { position: static }
  .mp-others ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px }
}
@media (prefers-reduced-motion: reduce) { .mp-o-img img { transition: none } }
.mp-links { margin: 18px 0 0; font-size: 15px; line-height: 2; color: var(--ink-2) }
.mp-links a { color: inherit; text-decoration: underline; text-underline-offset: 3px }
.mp-o-img svg { width: 100%; height: 100%; display: block }
.mp-o-img:has(svg) { aspect-ratio: 16 / 10 }
