/* PlatSer Club v34 · «лес» — шрифты и палитра основного сайта platser-group.ru.
   Цвета всех слоёв перекрашены скриптом tools/forest/recolor.py; здесь — шрифты и точная подгонка. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/cormorant-garamond-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400 500; font-display: swap; src: url("/assets/fonts/cormorant-garamond-italic-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400 500; font-display: swap; src: url("/assets/fonts/cormorant-garamond-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 300 600; font-display: swap; src: url("/assets/fonts/onest-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 300 600; font-display: swap; src: url("/assets/fonts/onest-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-interface: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --forest: #0B1A12; --forest-2: #153020; --forest-ink: #17281D; --forest-soft: #46554A;
  --cream: #F3F0E3; --cream-2: #EEEADC; --lime: #B9DC7E; --leaf: #457A2A;
}
:root body { font-family: var(--font-interface); }

/* Cormorant тоньше и мельче на глаз, чем прежние засечки: заголовкам — плотность */
:root body :is(h1, h2, h3) { font-weight: 500; }

/* Иллюстрация «питомец без фото» была в синем свечении — переводим в лесную гамму */
:root body img[src*="pet-photo-placeholder"] { filter: hue-rotate(-78deg) saturate(.72) brightness(1.02); }

/* Цифры — ровные по высоте (как на основном сайте): цены, проценты, PlatSer ID */
/* !important: правила со свойством font: сбрасывают выравнивание цифр */
:root body, :root body * { font-variant-numeric: lining-nums !important; }
:root body :is(.shop-price, .stat, .nutrition-card__result, .shop-totals, .pcc, .lounge-tile) * { font-variant-numeric: lining-nums tabular-nums !important; }

/* Порода в карточке питомца — курсив Cormorant, как подзаголовки сайта */
:root body .pet-card__copy p { font-family: var(--font-display); font-style: italic; font-size: 18px; line-height: 1.2; }

/* «Немного природы»: шалфейно-кремовый фон вместо белого, мягкий свет сквозь листву сверху.
   Карточки — чуть светлее фона, чтобы «плавали»; тёмные лесные блоки остаются акцентом. */
html, body, #root { background: #ECEFE3; }
:root body .club-app {
  background:
    radial-gradient(120% 55% at 88% -12%, rgba(185, 220, 126, .26), transparent 62%),
    radial-gradient(90% 45% at -10% 0%, rgba(69, 122, 42, .09), transparent 58%),
    linear-gradient(180deg, #E8EDDE 0%, #EDF0E4 38%, #F1F2E9 100%) !important;
}
:root body :is(.lounge-tile:not(.lounge-tile--gift), .lounge-concierge, .stat, .pet-care-grid button, .pet-care-report-button,
  .vet-shortcut, .member-panel, .achievement, .shop-product-card, .product-buy-panel, .pet-about-empty, .id-strip, .nutrition-card,
  .shop-card-nudge ~ .shop-totals, .ozon-orders) { background-color: #F8F7F0; }

/* Приветствие на главной: веточка в углу и силуэт гор у нижнего края — как на основном сайте */
:root body .lounge-hero {
  background:
    url("/assets/forest-v34/sprig.svg") right -34px bottom -46px / 170px auto no-repeat,
    url("/assets/forest-v34/ridges.svg") left bottom / 100% 46% no-repeat,
    radial-gradient(120% 90% at 100% 0%, rgba(185, 220, 126, .16), transparent 55%),
    linear-gradient(150deg, #1c3826 0%, #12291b 52%, #0b1a12 100%);
}
:root body .lounge-hero__top img { position: relative; z-index: 1; }

/* Логотип всегда белый: на светлом фоне — на небольшом лесном круге */
:root body .lounge-signature__mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(150deg, #1c3826, #0b1a12); box-shadow: 0 8px 22px -12px rgba(11, 26, 18, .7), inset 0 0 0 1px rgba(185, 220, 126, .35); }
:root body .lounge-signature .lounge-signature__mark img { width: 26px; height: auto; opacity: 1; }

/* Непрочитанный диалог — свежий шалфей с салатовым краем, а не хаки */
:root body .direct-conversation.is-unread { background: linear-gradient(145deg, #FAFAF2, #E4EDD5); border-color: rgba(69, 122, 42, .38); }

/* «О проекте»: фирменная лапа была затемнена фильтром — делаем её белой на лесном круге */
:root body :is(.about-project__brand img, .about-project__origin > img, .about-project__footer img) {
  filter: none; opacity: 1; box-sizing: content-box; object-fit: contain; border-radius: 50%;
  background: linear-gradient(150deg, #1c3826, #0b1a12); box-shadow: inset 0 0 0 1px rgba(185, 220, 126, .35), 0 8px 20px -12px rgba(11, 26, 18, .6);
}
:root body .about-project__brand img { width: 20px; height: 20px; padding: 7px; }
:root body .about-project__origin > img { width: 28px; height: 28px; padding: 10px; }
:root body .about-project__footer img { width: 24px; height: 24px; padding: 10px; }

/* v35 · Шаг «Оформление» перед переходом в Ozon */
:root body .pay-step { display: grid; gap: 0; }
:root body .pay-step > .shop-text-button { justify-self: start; margin-bottom: 6px; }
:root body .pay-step h1 { margin: 8px 0 18px; }
:root body .pay-step__items { padding: 6px 18px; border-radius: 18px; background: #F8F7F0; box-shadow: inset 0 0 0 1px rgba(23, 40, 29, .08); }
:root body .pay-step__items .shop-order-item:last-child { border-bottom: 0; }
:root body .pay-step__list { list-style: none; margin: 8px 0 6px; padding: 0; display: grid; gap: 10px; }
:root body .pay-step__info { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; padding: 14px 16px;
  border-radius: 18px; background: #F8F7F0; box-shadow: inset 0 0 0 1px rgba(23, 40, 29, .08); }
:root body .pay-step__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #B9DC7E;
  background: linear-gradient(150deg, #1c3826, #0b1a12); }
:root body .pay-step__info strong { display: block; font-size: 14px; font-weight: 500; color: #17281D; }
:root body .pay-step__info small { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.55; color: #46554A; }
:root body .pay-step__go { margin-top: 18px; min-height: 54px; font-size: 15px !important; }
:root body .pay-step .shop-secondary { margin-top: 10px; }
:root body .pay-step__legal { text-align: center; }
:root body .pay-step__legal a { color: #457A2A; text-decoration: underline; text-underline-offset: 2px; }
:root body .ozon-orders__cancel { color: #8b3a3a; }

/* v35 · Привилегии: сначала то, что даёт карта */
:root body .brand-perks { display: grid; gap: 10px; margin: 6px 0 26px; }
:root body .brand-perk { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 16px; border-radius: 20px;
  background: linear-gradient(150deg, #1c3826, #0b1a12); color: #F3F0E3; box-shadow: 0 16px 34px -24px rgba(11, 26, 18, .8); }
:root body .brand-perk__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #B9DC7E;
  background: rgba(185, 220, 126, .12); box-shadow: inset 0 0 0 1px rgba(185, 220, 126, .35); }
:root body .brand-perk strong { display: block; font: 500 22px/1.15 var(--font-display); color: #fff; }
:root body .brand-perk p { margin: 5px 0 0; font-size: 13px; line-height: 1.55; color: #C3C8B3; }
:root body .brand-tier-eyebrow { display: block; margin: 0 0 10px; }

/* v35 · Продукция для участников: где купить уже сейчас */
:root body .shop-coming__where { display: grid; gap: 10px; width: 100%; max-width: 340px; margin: 6px auto 0; }
:root body .shop-coming__where .shop-primary, :root body .shop-coming__where .shop-secondary { width: 100%; min-height: 50px; text-decoration: none; }
:root body .shop-coming__where .shop-secondary { color: #17281D; background: #F8F7F0; border-color: rgba(23, 40, 29, .16); }
:root body .shop-coming__soon { max-width: 300px; margin: 18px auto 0; font-size: 12px; color: #6E796B; line-height: 1.6; }

/* v35 · На компьютере: по сторонам от колонки клуба — тонкие ветки, как на основном сайте */
@media (min-width: 900px) {
  :root body .club-app {
    background:
      url("/assets/forest-v34/sprig-side-left.svg") left max(2vw, calc(50% - 640px)) bottom -40px / 360px auto no-repeat fixed,
      url("/assets/forest-v34/sprig-side.svg") right max(2vw, calc(50% - 640px)) top 60px / 300px auto no-repeat fixed,
      radial-gradient(120% 55% at 88% -12%, rgba(185, 220, 126, .26), transparent 62%),
      radial-gradient(90% 45% at -10% 0%, rgba(69, 122, 42, .09), transparent 58%),
      linear-gradient(180deg, #E8EDDE 0%, #EDF0E4 38%, #F1F2E9 100%) !important;
  }
}

/* Уровень Gold остаётся золотым (перекраска сделала его салатовым) */
:root body .brand-tier--gold { background: radial-gradient(ellipse at 100% 0, rgba(201, 164, 102, .22), transparent 70%), linear-gradient(135deg, #FBF6E8, #EBDDB4); color: #4A3B1C; border-color: rgba(176, 138, 79, .35); }
:root body .brand-tier--gold h2, :root body .brand-tier--gold .brand-tier__top { color: #8A6A2E; }

/* v36 · «Добавить на экран Домой»: окно задумано тёмным — делаем его тёмным лесом и с читаемыми подписями */
:root body .bottom-sheet.install-app-sheet {
  color: #F3F0E3; border-color: rgba(185, 220, 126, .22);
  background: radial-gradient(120% 60% at 50% -10%, rgba(185, 220, 126, .16), transparent 60%), linear-gradient(165deg, #1c3826, #0b1a12 72%);
  box-shadow: 0 -28px 80px rgba(11, 26, 18, .45);
}
:root body .install-app-sheet .sheet-handle { background: rgba(243, 240, 227, .28); }
:root body .install-app-sheet > header { padding-top: 8px; }
:root body .install-app-sheet > header small { color: #B9DC7E; font-size: 10px; letter-spacing: .2em; }
:root body .install-app-sheet > header h2 { color: #fff; font-size: 34px; }
:root body .install-app-sheet > header button { color: #F3F0E3; background: rgba(243, 240, 227, .08); border-color: rgba(243, 240, 227, .18); }
:root body .install-app-visual > i { background: linear-gradient(150deg, rgba(185, 220, 126, .22), rgba(11, 26, 18, .9)); border-color: rgba(185, 220, 126, .3); }
:root body .install-app-visual > span { background: #0b1a12; border-color: rgba(185, 220, 126, .3); }
:root body .install-app-visual > strong { color: #F3F0E3; font-size: 11px; }
:root body .install-app-lead { color: #C3C8B3; font-size: 13.5px; line-height: 1.6; }
:root body .install-app-benefits > span { color: #F3F0E3; background: rgba(243, 240, 227, .06); border-color: rgba(185, 220, 126, .18); }
:root body .install-app-benefits > span svg { color: #B9DC7E; }
:root body .install-app-benefits small { color: #DCE3CF; font-size: 11px; }
:root body .install-app-steps > div { background: rgba(243, 240, 227, .06); border-color: rgba(185, 220, 126, .18); }
:root body .install-app-steps b { color: #B9DC7E; border-color: rgba(185, 220, 126, .3); }
:root body .install-app-steps strong { color: #fff; font-size: 13.5px; font-weight: 500; }
:root body .install-app-steps small { color: #A9B59E; font-size: 11.5px; }
:root body .install-app-steps em { color: #B9DC7E; }
:root body .install-app-primary { color: #10240F; background: linear-gradient(115deg, #F4F9E2 0%, #CDE79E 40%, #A8D27A 100%); font-size: 14px; }
:root body .install-app-secondary { color: #10240F; background: linear-gradient(115deg, #F4F9E2 0%, #CDE79E 40%, #A8D27A 100%); border: 0; font-size: 14px; font-weight: 500; min-height: 52px; }
:root body .install-app-footnote { color: #8B957F; font-size: 11px; }

/* v36 · Разделы каталога: Собаки · мелкие / средние и крупные, Кошки */
:root body .food-sizes { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 2px; }
:root body .food-sizes button { min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(23, 40, 29, .16);
  background: #F8F7F0; color: #46554A; font-size: 12.5px; cursor: pointer; }
:root body .food-sizes button[aria-pressed="true"] { background: #17281D; border-color: #17281D; color: #F3F0E3; }
:root body .food-groups { display: grid; gap: 30px; }
:root body .food-group__title { display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; font: 500 26px/1.15 var(--font-display); color: #17281D; }
:root body .food-group__title span { font: 500 12px/1 var(--font-interface); color: #6E796B; letter-spacing: .08em; }

/* Переключатель «Мальчик / Девочка»: невыбранный — светлый, а не тёмный */
:root body .auth-gender button:not(.is-active) { background: #F8F7F0; color: #17281D; border: 1px solid rgba(23, 40, 29, .16); box-shadow: none; }

/* v36: форма питомца прокручивается внутри листа — поля у правого края не режутся рамкой и полосой прокрутки */
:root body .pet-edit-sheet > form { margin-inline: -10px; padding-inline: 10px; scrollbar-width: thin; scrollbar-color: rgba(23, 40, 29, .22) transparent; }

/* v37: удаление карточки продукции (только администратор) — без красного (просьба владельца), отдельно от сохранения */
:root body .shop-danger-zone { margin-top: 22px; padding: 16px 18px; border-radius: 18px; border: 1px dashed rgba(23, 40, 29, .22); background: rgba(255, 255, 255, .45); display: grid; gap: 10px; }
:root body .shop-danger-zone strong { font: 600 22px/1.15 "Cormorant Garamond", Georgia, serif; color: #17281D; }
:root body .shop-danger-zone p { margin: 0; font-size: 13.5px; line-height: 1.5; color: #46554A; }
:root body .shop-danger-zone__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
:root body .shop-danger-zone__actions button { min-height: 46px; padding: 0 14px; border-radius: 999px; font: 600 14px/1.2 "Onest", system-ui, sans-serif; }
:root body .shop-danger { background: #153020; color: #F3F0E3; border: 0; cursor: pointer; }
:root body .shop-danger:disabled { opacity: .6; }
:root body .shop-danger-link { justify-self: center; color: #46554A !important; text-decoration: underline; text-underline-offset: 3px; }
