/* Правки 2026-09-27: заголовок шрифтом логотипа, статичная полоса условий,
   фильм о ферме, «В корзину» в карточках каталога, спокойная загрузка гравюры. */

/* Гравюра грузится — не показываем подпись-заглушку, фон тот же коричневый */
.hero__media img { color: transparent; background: var(--brown-d); }

/* «Сыр начинается в Деревягино» — с засечками, как надпись на логотипе */
.h-logo { font-family: "Oranienbaum", "Times New Roman", serif !important; font-weight: 400 !important; letter-spacing: .02em !important; }
.hero .h-display.h-logo { font-size: 116px; line-height: .98; }
@media (max-width: 1199px) { .hero .h-display.h-logo { font-size: 92px; } }
@media (max-width: 767px) { .hero .h-display.h-logo { font-size: 58px; } }

/* Статичная полоса условий заказа вместо бегущей строки */
.ticker--static { height: auto; min-height: 42px; }
.ticker--static .ticker__track { width: 100%; flex-wrap: wrap; justify-content: center; row-gap: 4px; padding: 11px var(--gutter); }
.ticker--static span:last-child::after { display: none; }
.ticker--static a { color: inherit; text-decoration: none; }
.ticker--static a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
  .ticker--static .ticker__track { justify-content: flex-start; padding: 10px var(--gutter); }
  .ticker--static span { font-size: 11px; white-space: normal; }
  .ticker--static span::after { margin: 0 12px; }
}

/* Фильм о ферме на месте широкого фото */
.film { position: relative; width: 100%; height: 100%; background: #1d140e; }
.film__poster { width: 100%; height: 100%; object-fit: cover; filter: sepia(.25) brightness(.78); }
.film__play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; border: 0; background: transparent; color: var(--cream); cursor: pointer; }
.film__icon { position: relative; width: 96px; height: 96px; border-radius: 6px; background: var(--cream); transition: transform .3s cubic-bezier(.22, 1, .36, 1), background-color .2s ease; }
.film__icon::after { content: ""; position: absolute; left: 39px; top: 30px; border-style: solid; border-width: 18px 0 18px 28px; border-color: transparent transparent transparent var(--brown); }
.film__label { font: 800 14px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; text-shadow: 0 2px 16px rgba(0, 0, 0, .5); }
.film__play:hover .film__icon { transform: scale(1.06); background: var(--beige); }
.film__play:focus-visible .film__icon { box-shadow: 0 0 0 4px var(--brass); }
.film iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film.is-playing .film__play, .film.is-playing .film__poster { display: none; }
.wide-photo .film + .wave, .wide-photo .wave { pointer-events: none; }
@media (max-width: 767px) { .film__icon { width: 72px; height: 72px; } .film__icon::after { left: 29px; top: 22px; border-width: 14px 0 14px 21px; } }

/* Карточка каталога: ссылка + кнопка «В корзину» */
.card__link { display: grid; justify-items: center; gap: 8px; width: 100%; color: inherit; text-decoration: none; }
.card:hover .card__cat, .card:hover .card__name, .card:hover .card__price { opacity: 1; }
.card__link:hover .card__cat, .card__link:hover .card__name, .card__link:hover .card__price { opacity: .5; }
.card__add { width: min(100%, 240px); min-width: 0; height: 48px; margin-top: 14px; padding: 0 18px; font-size: 12px; }
.card__add:disabled { background: transparent; border-color: rgba(74, 50, 35, .3); color: rgba(74, 50, 35, .55); opacity: 1; }
.card__add.is-done { background: var(--brass); border-color: var(--brass); }
@media (max-width: 767px) { .card__add { height: 42px; margin-top: 10px; padding: 0 10px; font-size: 10px; } }

.footer__corp, .footer__note { max-width: 420px; font-size: 14px; opacity: .85; }
.footer__note { margin-top: 6px !important; opacity: .65; }
@media (min-width: 768px) { .ticker--static span::after { margin: 0 22px; } }
.wide-photo.is-playing .wave { display: none; }

/* Карточки «Что есть в лавке» ведут в категорию магазина */
a.person { color: inherit; text-decoration: none; }
.person__more { display: inline-block; margin-top: 16px; padding-bottom: 2px; border-bottom: 1px solid var(--brass); color: var(--brown); font: 700 13px/1.2 var(--display); letter-spacing: .04em; text-transform: uppercase; transition: color .3s cubic-bezier(.22, 1, .36, 1), border-color .3s cubic-bezier(.22, 1, .36, 1); }
a.person:hover .person__more, a.person:focus-visible .person__more { color: var(--rust); border-color: var(--rust); }
a.person img { transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
a.person:hover img { transform: scale(1.02); }
a.person:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; border-radius: 6px; }

/* Карточки доставки: длинное «Новопеределкино» не раздвигает колонку и не вылезает за подложку */
.delivery__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr); }
.info-blob { padding: 56px 10%; }
.info-blob > * { max-width: 100%; }
.info-blob h3 { font-size: clamp(20px, 1.9vw, 30px); overflow-wrap: anywhere; }
@media (max-width: 900px) { .delivery__row { grid-template-columns: minmax(0, 1fr); } .info-blob h3 { font-size: clamp(20px, 6vw, 28px); } }

/* Плитки товаров на главной: фото целиком внутри бежевой подложки */
.product__blob { inset: 0 3% auto; height: auto; aspect-ratio: .88; }
.product img { margin-top: 9%; }
.product:hover img { transform: scale(1.015) rotate(-.6deg); }

/* Подвал: ссылки на документы */
.footer__docs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; font: 500 12px/1.5 Rubik, sans-serif; text-transform: none; }
.footer__docs a { opacity: .6; color: inherit; transition: opacity .25s cubic-bezier(.22, 1, .36, 1); }
.footer__docs a:hover { opacity: 1; }

/* Страница «Спасибо» */
.shop-head--doc { padding-bottom: 10px; }
.thanks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(32px, 6vw, 110px); align-items: center; max-width: 1240px; margin: 0 auto; padding: 30px var(--gutter) 150px; }
.thanks__mark { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 6px; background: var(--brown); }
.thanks__mark svg { width: 34px; height: 34px; fill: none; stroke: var(--cream); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.thanks__eyebrow { margin: 26px 0 10px; color: var(--brass); font: 800 13px/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.thanks__title { margin: 0; font-size: clamp(52px, 6.4vw, 96px); line-height: 1; text-transform: none; }
.thanks__num { margin: 18px 0 0; font: 500 20px/1.2 Rubik, sans-serif; color: var(--brown); opacity: .75; letter-spacing: .02em; }
.thanks__status { display: flex; align-items: center; gap: 10px; margin: 26px 0 0; font: 800 15px/1.2 var(--display); text-transform: uppercase; }
.thanks__status span { width: 10px; height: 10px; border-radius: 2px; background: var(--brass); box-shadow: 0 0 0 5px rgba(168, 131, 79, .18); }
.thanks__lead { max-width: 30em; margin: 16px 0 0; font-size: 17px; line-height: 1.5; }
.thanks__where { max-width: 32em; margin: 18px 0 0; font-size: 14px; line-height: 1.55; opacity: .8; }
.thanks__card { padding: clamp(26px, 3.4vw, 48px); border-radius: 6px; background: var(--beige); }
.thanks__card-title { margin: 0 0 22px; padding-bottom: 20px; border-bottom: 1px solid rgba(74, 50, 35, .18); font: 400 clamp(34px, 3.4vw, 46px)/1 "Oranienbaum", Georgia, serif; }
.thanks__line { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; }
.thanks__line strong { display: block; font-size: 16px; }
.thanks__line span { display: block; margin-top: 4px; font-size: 14px; opacity: .7; }
.thanks__line b { white-space: nowrap; font-size: 16px; }
.thanks__empty { margin: 0; font-size: 15px; opacity: .75; }
.thanks__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 22px; border-top: 2px solid var(--brown); }
.thanks__total span { font-size: 22px; }
.thanks__total strong { font: 800 clamp(34px, 3.6vw, 48px)/1 var(--display); }
.thanks__pay { margin: 10px 0 0; font-size: 14px; opacity: .75; }
.thanks__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 30px; }
.thanks__home { padding-bottom: 3px; border-bottom: 1px solid var(--brown); color: var(--brown); font: 800 13px/1.2 var(--display); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; transition: color .25s cubic-bezier(.22, 1, .36, 1), border-color .25s cubic-bezier(.22, 1, .36, 1); }
.thanks__home:hover { color: var(--rust); border-color: var(--rust); }
@media (max-width: 900px) { .thanks { grid-template-columns: minmax(0, 1fr); padding-bottom: 100px; } }

/* Документы */
.legal { max-width: 820px; margin: 0 auto; padding: 10px var(--gutter) 150px; }
.legal__text { font-size: 16px; line-height: 1.65; }
.legal__text h2 { margin: 38px 0 10px; font: 800 22px/1.2 var(--display); text-transform: uppercase; }
.legal__text p, .legal__text li { margin: 0 0 12px; }
.legal__text a { color: var(--rust); }
.legal__more { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(74, 50, 35, .18); font-size: 14px; }
.legal__more a { color: var(--brown); }
