/* Гид по бренду перед каталогом (news/brands/detail.php, include/brand-guide/<код>.php). 15.11.2026 */
.BrandGuide { margin: 8px 0 40px; padding: 36px 40px 28px; background: #fff; border-radius: 28px; min-width: 0; max-width: 100%; box-sizing: border-box; overflow: hidden; contain: inline-size; }
.BrandGuide-top { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.BrandGuide-label { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: #f2f1ed; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #6b6b67; }
.BrandGuide-title { margin: 0 !important; font-size: 32px; line-height: 1.15; font-weight: 600; }
.BrandGuide-intro { max-width: 820px; font-size: 18px; line-height: 1.6; color: #212121; }
.BrandGuide-intro p { margin: 0; }
.BrandGuide-facts { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.BrandGuide-fact { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 18px; border-radius: 18px; background: #f7f6f3; }
.BrandGuide-fact strong { font-size: 22px; line-height: 1.1; font-weight: 600; color: #212121; }
.BrandGuide-fact span { font-size: 14px; line-height: 1.35; color: #6b6b67; }
.BrandGuide-models { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-top: 26px; }
.BrandGuide-model { display: flex; flex-direction: column; gap: 4px; color: #212121; text-decoration: none !important; }
.BrandGuide-modelImg { display: block; aspect-ratio: 1 / 1; margin-bottom: 8px; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid #ecebe7; }
.BrandGuide-modelImg img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a.BrandGuide-model:hover .BrandGuide-modelImg img { transform: scale(1.04); }
.BrandGuide-model strong { font-size: 16px; line-height: 1.3; font-weight: 600; }
.BrandGuide-model span:last-child { font-size: 14px; line-height: 1.35; color: #6b6b67; }
.BrandGuide-fig { margin: 1.2em 0 0; }
.BrandGuide-fig img { display: block; width: 100%; max-width: 620px; height: auto; border-radius: 20px; background: #fff; }
.BrandGuide-fig figcaption { margin-top: 8px; font-size: 14px; line-height: 1.4; color: #6b6b67; }
.BrandGuide-fig + p { margin-top: 1em !important; }
.BrandGuide-more { margin-top: 24px; }
.BrandGuide-btn { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 14px; padding: 14px 24px; border-radius: 999px; background: #212121; color: #fff; font-size: 16px; font-weight: 500; transition: background .2s ease; }
.BrandGuide-btn::-webkit-details-marker { display: none; }
.BrandGuide-btn:hover { background: #3a3a3a; }
.BrandGuide-btn:focus-visible { outline: 2px solid #212121; outline-offset: 3px; }
.BrandGuide-btn em { font-style: normal; font-size: 14px; color: #b9b9b4; }
.BrandGuide-btn::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; rotate: 45deg; translate: 0 -2px; transition: rotate .25s ease, translate .25s ease; }
.BrandGuide-more[open] > .BrandGuide-btn::after { rotate: 225deg; translate: 0 2px; }
.BrandGuide-close, .BrandGuide-more[open] .BrandGuide-open { display: none; }
.BrandGuide-more[open] .BrandGuide-close { display: inline; }
.BrandGuide-more > .Mag { margin-top: 36px; }
.BrandGuide .Mag .Mag-card { background: #f7f6f3; }
.BrandGuide .Mag .Mag-sec:first-child { border-top: 1px solid #dededa; padding-top: 36px; }
@media (max-width: 1100px) {
  .BrandGuide-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .BrandGuide { margin: 0 0 28px; padding: 24px 18px 20px; border-radius: 20px; }
  .BrandGuide-title { font-size: 26px; }
  .BrandGuide-intro { font-size: 16px; }
  .BrandGuide-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
  .BrandGuide-fact { padding: 14px; }
  .BrandGuide-fact strong { font-size: 19px; }
  .BrandGuide-models { display: flex; overflow-x: auto; gap: 10px; margin: 20px -18px 0; padding: 0 18px 4px; scroll-snap-type: x mandatory; }
  .BrandGuide-model { flex: 0 0 42%; scroll-snap-align: start; }
  .BrandGuide-btn { width: 100%; justify-content: center; box-sizing: border-box; padding: 14px 18px; white-space: nowrap; }
  .BrandGuide-btn em { display: none; }
  .BrandGuide .Mag .Mag-sec { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
}
