/* Магазин клуба (вкладка «Продукция» администратора) в стиле витрины v20:
   синяя сцена с пачкой без фона, латунь, крупные цифры, клубная цена. Только оформление. */

/* Сцена */
:root body .food-stage { position: relative; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; isolation: isolate;
  width: 100%; min-height: 300px; padding: 34px 20px 38px; border-radius: 0; color: #f5f4ee;
  background: radial-gradient(ellipse 60% 55% at 50% 28%, rgba(243, 239, 222, .16), transparent 70%), linear-gradient(180deg, #244832 0%, #13281b 62%, #0d1e14 100%); }
:root body .food-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, transparent, #83b14e 20%, #83b14e 80%, transparent); }
:root body .food-stage__floor { position: absolute; z-index: -1; bottom: 30px; left: 50%; width: 46%; height: 22px; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(closest-side, rgba(2, 12, 6, .7), transparent); }
:root body .food-stage__pack { position: relative; display: block; height: 240px; width: auto; max-width: 80%; object-fit: contain;
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .45)); transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
:root body .food-stage__photo { display: block; max-height: 240px; max-width: 86%; object-fit: contain; border-radius: 14px; background: #f0efe8; }
:root body .food-stage__empty { display: grid; justify-items: center; gap: 8px; align-self: center; color: #9bca65; font-size: 11px; letter-spacing: .3em; }
:root body .food-stage--large { min-height: 420px; border-radius: 24px; padding-bottom: 46px; }
:root body .food-stage--large .food-stage__pack { height: 340px; }
:root body .food-stage--large .food-stage__photo { max-height: 340px; }
:root body .food-stage--large .food-stage__floor { bottom: 38px; }

/* Карточка каталога */
:root body .food-product-card { overflow: hidden; padding: 0; border: 1px solid #e8e7de; border-radius: 26px; background: #fbfaf7;
  box-shadow: 0 18px 40px -26px rgba(12, 30, 19, .4); }
:root body .food-product-card .shop-product-photo { display: block; width: 100%; padding: 0; margin: 0; border: 0; border-radius: 0; background: none; cursor: pointer; }
:root body .food-product-card .shop-product-photo:hover .food-stage__pack { transform: translateY(-6px); }
:root body .food-product-card .food-favorite { z-index: 2; background: rgba(255, 255, 255, .12); color: #f5f4ee; border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
:root body .food-product-card .food-favorite[aria-pressed="true"] { color: #bae489; border-color: rgba(186, 228, 137, .6); }
:root body .food-product-card .shop-product-copy { padding: 22px 22px 22px; }
:root body .food-product-card .food-product-meta > span:first-child { color: #638b35; letter-spacing: .2em; font-size: 10px; }
:root body .food-product-card .shop-product-status { border-color: #e8e7de; color: #637c6c; font-size: 11px; }
:root body .food-product-card .food-product-title h2 { margin: 10px 0 8px; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 400;
  font-size: clamp(24px, 6.4vw, 30px); line-height: 1.12; color: #193423; }
:root body .food-product-card .shop-product-copy > p { color: #637c6c; font-size: 13px; }
:root body .food-product-card .shop-note { color: #637c6c; font-size: 12px; }
:root body .food-product-card .shop-product-bottom { align-items: flex-end; gap: 14px; padding-top: 18px; margin-top: 14px; border-top: 1px solid #e8e7de; }

/* Цифры с упаковки */
:root body .food-numbers { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 16px 0 6px; }
:root body .food-numbers > div { display: flex; flex-direction: column; }
:root body .food-numbers dt { font: 400 clamp(26px, 7vw, 34px)/1 "Cormorant Garamond", Georgia, serif; color: #264e35; letter-spacing: -.02em; }
:root body .food-numbers dd { margin: 5px 0 0; font-size: 12px; color: #637c6c; }

/* Цены: клубная — главная, с латунной плашкой; обычная — справочно */
:root body .shop-price-pair__club strong { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 400; color: #193423; letter-spacing: -.01em; }
:root body .shop-price-pair__club span { display: inline-block; margin-top: 6px; padding: 5px 10px; border-radius: 999px; background: #efe5d2; color: #405f1c;
  font-size: 11px; letter-spacing: .02em; white-space: nowrap; }
:root body .shop-price-pair__regular { color: #637c6c; }
:root body .shop-price-pair__regular strong { font-weight: 400; text-decoration: line-through; text-decoration-thickness: 1px; color: #637c6c; }
:root body .shop-price-pair__base strong { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 400; color: #193423; }

/* Кнопки — фирменный синий */
:root body .food-product-card .shop-primary, :root body .product-buy-panel__submit { border: 0; background: #264e35; color: #fff; box-shadow: none; }
:root body .food-product-card .shop-primary:hover, :root body .product-buy-panel__submit:hover { background: #1b3e28; }
:root body .food-product-card .shop-secondary { border-color: #dddecd; color: #264e35; background: #fff; }

/* Страница товара */
:root body .product-detail__gallery { position: relative; overflow: hidden; border-radius: 24px; }
:root body .product-detail__gallery .food-gallery { display: grid; gap: 12px; }
:root body .product-detail__gallery .food-gallery-thumbs { padding: 0 4px; }
:root body .product-detail__gallery .food-favorite { background: rgba(255, 255, 255, .12); color: #f5f4ee; border: 1px solid rgba(255, 255, 255, .22); }
:root body .product-detail__status { z-index: 2; background: rgba(19, 40, 27, .55); color: #bae489; border: 1px solid rgba(186, 228, 137, .45); }
:root body .product-detail__intro .eyebrow { color: #638b35; }
:root body .product-detail__intro h1 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 400; color: #193423; }
:root body .product-detail__tags span { background: #fff; border: 1px solid #e8e7de; color: #355341; }
:root body .product-buy-panel { border: 1px solid #e8e7de; border-radius: 24px; background: #fbfaf7; box-shadow: 0 18px 40px -28px rgba(12, 30, 19, .35); }
:root body .product-variants button[aria-pressed="true"] { background: #193423; border-color: #193423; color: #fff; }
:root body .product-buy-panel__saving { display: inline-block; margin-top: 10px; padding: 6px 12px; border-radius: 999px; color: #405f1c; background: #efe5d2; font-size: 12px; }
:root body .product-information h2 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 400; color: #193423; }

@media (prefers-reduced-motion: reduce) { :root body .food-stage__pack { transition: none; } }

/* v30 · Ozon Pay: ссылка на оплату в виде кнопки */
:root body a.ozon-pay-link { text-decoration: none; color: #fff; box-sizing: border-box; }
:root body .ozon-order .shop-section-head { margin: 4px 0 0; }

/* v31 · корзина: компактное фото позиции (сцена каталога тянулась на 300 px) */
:root body .shop-cart-line > .food-stage { min-height: 0; height: 92px; padding: 8px 4px 12px; border-radius: 14px; align-self: start; }
:root body .shop-cart-line > .food-stage .food-stage__pack { height: 70px; max-width: 100%; }
:root body .shop-cart-line > .food-stage .food-stage__photo { max-height: 70px; max-width: 100%; border-radius: 8px; }
:root body .shop-cart-line > .food-stage .food-stage__floor { bottom: 8px; height: 8px; width: 60%; }
:root body .shop-cart-line > .food-stage .food-stage__empty { font-size: 7px; letter-spacing: .2em; }
:root body .shop-cart-line > .food-stage::after { height: 2px; }
:root body .shop-cart-line > b { justify-self: end; font-size: 15px; }
:root body .shop-test-checkout { display: flex; justify-content: center; width: 100%; margin-top: 6px; color: #637c6c; }
/* Заказы с оплатой через Ozon */
:root body .ozon-orders { display: grid; gap: 12px; margin: 18px 0; }
:root body .ozon-orders__item { display: grid; gap: 6px; padding: 14px 0; border-top: 1px solid #e8e7de; }
:root body .ozon-orders__head { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
:root body .ozon-orders__head b { font-weight: 500; white-space: nowrap; }
:root body .ozon-orders__item small { color: #637c6c; font-size: 11px; overflow-wrap: anywhere; }
:root body .ozon-orders__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
:root body .ozon-orders__actions .shop-primary { min-height: 40px; padding: 8px 18px; }
:root body .ozon-orders__head .is-paid { color: #2e6551; }
:root body .ozon-orders__head .is-closed { color: #809483; font-weight: 400; }
:root body .shop-free-delivery { color: #2e6551; font-weight: 500; }

/* v33 · удобство */
/* Одинокая точка слева в шапке главной выглядела как соринка */
:root body .top-header__dot { display: none; }
/* Карточка корма: фото не занимает весь первый экран — цена и кнопка ближе */
@media (max-width: 520px) {
  :root body .food-stage--large { min-height: 300px; padding-bottom: 34px; }
  :root body .food-stage--large .food-stage__pack { height: 240px; }
  :root body .food-stage--large .food-stage__photo { max-height: 240px; }
}
/* Корзина без карты: выгода по карте заметно, но спокойно */
:root body .shop-card-nudge { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; margin: 18px 0 4px; padding: 14px 16px;
  border: 1px solid rgba(131, 177, 78, .45); border-radius: 16px; background: linear-gradient(135deg, #fbf7ef, #f3ead8); color: #193423; text-align: left; cursor: pointer; }
:root body .shop-card-nudge strong { display: block; font-size: 14px; font-weight: 500; }
:root body .shop-card-nudge small { display: block; margin-top: 3px; font-size: 12px; color: #556b3c; }
:root body .shop-card-nudge > span:last-child { font-size: 18px; color: #638b35; }
/* Профиль питомца: «Открыть» у PlatSer ID был почти не виден; значения в плитках по центру с иконкой */
:root body .id-strip__action { color: #406e52 !important; opacity: 1 !important; font-weight: 500; }
:root body .stats-grid .stat { display: grid; justify-items: center; align-content: center; text-align: center; gap: 4px; }
:root body .stats-grid .stat > svg { justify-self: center; margin: 0 0 4px; }
/* Кличка в шапке профиля не упирается в край экрана */
:root body .profile-hero__copy h1 { font-size: clamp(34px, 12.5vw, 56px); letter-spacing: .04em; overflow-wrap: anywhere; line-height: 1.02; }
