:root {
  --bg: #eef3f1;
  --bg-deep: #dce6e2;
  --surface: #f7faf8;
  --ink: #14241f;
  --ink-soft: #3d534b;
  --muted: #6a7f76;
  --line: rgba(20, 36, 31, 0.12);
  --pine: #1f4a3c;
  --pine-deep: #14352b;
  --moss: #3d7a62;
  --accent: #c9782a;
  --accent-soft: #f3e2cf;
  --danger: #a63d3d;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(20, 36, 31, 0.08);
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Onest", system-ui, sans-serif;
  --max: 1120px;
  --nav-h: 56px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(61, 122, 98, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(201, 120, 42, 0.12), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #e6eeea 40%, var(--bg-deep) 100%);
  min-height: 100vh;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  overflow: visible;
  backdrop-filter: blur(14px);
  background: rgba(238, 243, 241, 0.82);
  border-bottom: 1px solid var(--line);
}

.reorder-pick-banner {
  position: sticky;
  top: var(--nav-h);
  z-index: 35;
  background: #1f4a3c;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.reorder-pick-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.65rem 0;
}

.reorder-pick-banner__text {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
}

.reorder-pick-banner__cancel {
  margin: 0;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-size: 0.86rem;
  cursor: pointer;
}

.reorder-pick-banner__cancel:hover {
  background: rgba(255, 255, 255, 0.18);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  overflow: visible;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  flex-shrink: 0;
}

.logo-text {
  display: none;
}

.logo-name {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.2rem;
  padding-left: 1.85rem;
}

/* Наклейка «Моя» следом лапы: декоративная, слово в логотипе не меняем */
.logo-name::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2.35rem;
  height: 2.55rem;
  margin-top: -1.45rem;
  background: url("/assets/logo-sticker-moya.svg") no-repeat center / contain;
  transform: rotate(-16deg);
  filter: drop-shadow(0 1px 1px rgba(20, 36, 31, 0.22));
  pointer-events: none;
}

.logo-tagline {
  display: none;
}

.logo-icon {
  display: block;
  height: 42px;
  width: auto;
  background: none;
  box-shadow: none;
  padding: 0;
}

.header-search {
  flex: 1 1 10rem;
  min-width: 8rem;
  max-width: 22rem;
  position: relative;
  margin: 0;
}

.header-search__form {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  height: 36px;
  padding: 0 0.3rem 0 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search__form:focus-within {
  border-color: rgba(31, 74, 60, 0.4);
  box-shadow: 0 0 0 3px rgba(61, 122, 98, 0.12);
}

.header-search__icon {
  flex-shrink: 0;
  color: var(--muted);
}

.header-search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  padding: 0.2rem 0;
}

.header-search__input::placeholder {
  color: var(--muted);
}

.header-search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.header-search__submit {
  flex-shrink: 0;
  height: 28px;
  padding: 0 0.7rem;
  border: 0;
  border-radius: 999px;
  background: var(--pine);
  color: #fff;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.header-search__submit:hover {
  background: var(--pine-deep);
}

.header-search__panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  z-index: 50;
  min-width: 280px;
  max-height: min(70vh, 420px);
  overflow: auto;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(20, 40, 32, 0.14);
}

.header-search__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-search__item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.45rem 0.5rem;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
}

.header-search__item:hover {
  background: var(--surface);
}

.header-search__thumb {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--surface);
}

.header-search__thumb--empty {
  display: block;
  background: linear-gradient(135deg, #d7e8df, #9fbfb0);
}

.header-search__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.header-search__name {
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-search__sub {
  font-size: 0.72rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-search__price {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--pine-deep);
  white-space: nowrap;
}

.header-search__all {
  display: block;
  margin-top: 0.25rem;
  padding: 0.55rem 0.65rem;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--pine);
  text-align: center;
}

.header-search__all:hover {
  color: var(--pine-deep);
}

.header-search__empty {
  margin: 0;
  padding: 0.75rem 0.65rem;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

.header-support {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  position: relative;
}

.header-help {
  position: relative;
}

.header-help__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.header-help__btn:hover,
.header-help.is-open .header-help__btn {
  border-color: rgba(31, 74, 60, 0.35);
  background: var(--surface);
  color: var(--pine-deep);
}

.header-help__chevron {
  flex-shrink: 0;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.header-help.is-open .header-help__chevron {
  transform: rotate(180deg);
}

.header-help__panel {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  z-index: 40;
  min-width: 280px;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(20, 40, 32, 0.12);
}

.header-help__caption {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.header-help__phone {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pine-deep);
  white-space: nowrap;
}

.header-help__phone:hover {
  color: var(--pine);
}

.header-help__hint {
  margin: 0.35rem 0 0.85rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.header-help__messengers {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.header-support__tg {
  flex-shrink: 0;
}

.support-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--pine);
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.support-icon:hover {
  transform: translateY(-1px);
  background: #fff;
  border-color: rgba(31, 74, 60, 0.35);
  color: var(--pine-deep);
}

.support-icon img {
  width: 20px;
  height: 20px;
  display: block;
}

/* Официальные цветные знаки Telegram / Max — без монохромной перекраски */
.support-icon--brand {
  background: #fff;
}

.support-icon--brand img {
  width: 22px;
  height: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 500;
  flex-shrink: 0;
  margin-left: 0.1rem;
}

.nav-links a:hover {
  color: var(--pine);
}

.nav-links .nav-icon {
  display: none;
}

.nav-link,
.nav > .cart-btn,
.nav-links .cart-btn,
.nav > .auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-icon {
  display: inline-flex;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: currentColor;
}

.nav-icon svg {
  width: 15px;
  height: 15px;
  display: block;
}

.cart-btn,
.auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.cart-btn:hover,
.auth-btn:hover {
  transform: translateY(-1px);
  background: #fff;
  border-color: rgba(31, 74, 60, 0.35);
  color: var(--pine-deep);
}

.auth-btn__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b7e4c7;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.auth-btn.is-in {
  background: var(--pine);
  border-color: var(--pine);
  color: #fff;
}

.auth-btn.is-in:hover {
  background: var(--pine-deep);
  border-color: var(--pine-deep);
  color: #fff;
}

.auth-btn.is-here {
  background: var(--pine-deep);
  border-color: var(--pine-deep);
  color: #fff;
}

.cart-count {
  min-width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: var(--pine);
  color: #fff;
  font-size: 0.68rem;
  display: grid;
  place-items: center;
  font-weight: 600;
}

.cart-btn.is-bump {
  animation: cart-btn-bump 0.45s ease;
}

.cart-count.is-bump {
  animation: cart-count-bump 0.45s ease;
  background: #2f8f62;
}

@keyframes cart-btn-bump {
  0%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-4px);
  }
}

@keyframes cart-count-bump {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.35);
    background: #3d9a6a;
  }
  100% {
    transform: scale(1);
  }
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 9px;
  width: 36px;
  height: 36px;
  cursor: pointer;
}

/* Hero */
.promo {
  padding: 1.75rem 0 0.5rem;
}

.promo-banner {
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  background: #1a4a3c;
}

.promo-banner__img {
  width: 100%;
  height: auto;
  display: block;
}

/* Home */
.home-page {
  padding-bottom: 2rem;
}

.home-hero {
  padding: 1.5rem 0 0.25rem;
}

.home-hero__plane {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  aspect-ratio: 16 / 7;
  min-height: 280px;
  max-height: 520px;
  background: #1a4a3c;
  animation: rise 0.7s ease both;
}

.home-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

.home-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  height: 100%;
  max-height: 34%;
  margin-left: 0;
  margin-right: auto;
  width: min(100%, 36rem);
  padding: clamp(1rem, 2.5vw, 1.6rem) clamp(1.2rem, 3.5vw, 2.25rem) 0.35rem;
  color: #f4f8f6;
  background: none;
  pointer-events: none;
}

.home-hero__content > * {
  pointer-events: auto;
}

.home-hero__brand {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.8vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-shadow: 0 1px 12px rgba(20, 53, 43, 0.35);
}

.home-hero h1 {
  margin: 0 0 0.4rem;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-shadow: 0 1px 10px rgba(20, 53, 43, 0.3);
}

.home-hero__lead {
  margin: 0 0 0.95rem;
  max-width: 40ch;
  color: rgba(244, 248, 246, 0.9);
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  line-height: 1.45;
  text-shadow: 0 1px 8px rgba(20, 53, 43, 0.28);
}

.home-hero .cta-row {
  justify-content: flex-start;
}

.home-categories {
  padding-top: 1.35rem;
  padding-bottom: 0.15rem;
}

.home-categories .section-head,
.home-benefits .section-head,
.section--hits .section-head,
.home-articles .section-head {
  animation: rise 0.65s ease 0.08s both;
}

.home-categories .section-head,
.home-benefits .section-head {
  margin-bottom: 0.85rem;
}

.home-categories .section-head h2,
.home-benefits .section-head h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  margin-bottom: 0.2rem;
}

.home-categories .section-head p,
.home-benefits .section-head p {
  font-size: 0.92rem;
}

.home-categories .category-grid {
  animation: rise 0.7s ease 0.12s both;
  gap: 0.7rem;
}

.home-categories .category-card {
  min-height: 88px;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
}

.home-categories .category-label {
  font-size: 1.2rem;
}

.home-categories .category-more {
  font-size: 0.82rem;
}

.home-benefits .info-steps__grid {
  gap: 0.75rem;
}

.home-benefits .info-step {
  padding: 0;
}

.home-benefits .info-step__num {
  width: 1.55rem;
  height: 1.55rem;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
}

.home-benefits .info-step h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.home-benefits .info-step p {
  font-size: 0.88rem;
  line-height: 1.4;
  max-width: 26ch;
}

.section--hits {
  padding-top: 2rem;
}

.section--hits .section-head {
  margin-bottom: 1.15rem;
}

.home-articles {
  padding-top: 2rem;
  padding-bottom: 0.5rem;
}

.home-articles .article-grid {
  padding-bottom: 0;
  animation: rise 0.7s ease 0.15s both;
}

.home-cta {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.benefits {
  padding: 1.5rem 0 0.5rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.benefit {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1rem 1.15rem;
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pine);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.benefit h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 140px;
  text-align: center;
  padding: 1.25rem 1.35rem;
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(140deg, rgba(31, 74, 60, 0.92), rgba(61, 122, 98, 0.75)),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.18), transparent 45%);
  color: #f4f8f6;
  transition: transform 0.2s ease;
}

.category-card--cat {
  background:
    linear-gradient(140deg, rgba(20, 53, 43, 0.94), rgba(201, 120, 42, 0.55)),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.16), transparent 45%);
}

.category-card--vet {
  background:
    linear-gradient(140deg, rgba(28, 58, 90, 0.94), rgba(61, 122, 98, 0.65)),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.14), transparent 45%);
}

.category-card:hover {
  transform: translateY(-2px);
}

.category-label {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.category-more {
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0.9;
}

/* Pet category pages (Petshop-like tiles, no left list) */
.pet-catalog {
  padding-bottom: 4rem;
}

.pet-catalog__hero {
  padding-top: 0.5rem;
  padding-bottom: 0.75rem;
}

.pet-catalog__hero h1 {
  margin-bottom: 0;
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: flex-end;
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  background: color-mix(in srgb, var(--sand, #f3efe6) 80%, white);
  border-radius: 14px;
}

.catalog-toolbar__field {
  display: grid;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.catalog-brands {
  position: relative;
  min-width: 10rem;
}

.catalog-brands__btn {
  width: 100%;
  text-align: left;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(31, 74, 60, 0.18);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  color: var(--ink, #1f2937);
  cursor: pointer;
}

.catalog-brands__menu {
  position: absolute;
  z-index: 6;
  left: 0;
  top: calc(100% + 0.25rem);
  min-width: 100%;
  max-height: 240px;
  overflow: auto;
  padding: 0.35rem;
  background: #fff;
  border: 1px solid rgba(31, 74, 60, 0.18);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.catalog-brands__menu[hidden] {
  display: none;
}

.catalog-brands__menu label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.4rem;
  color: var(--ink, #1f2937);
  white-space: nowrap;
}

.catalog-brands__menu input {
  width: 1rem;
  height: 1rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  flex: 0 0 1rem;
}

.catalog-toolbar__field select,
.catalog-toolbar__field input {
  min-width: 7.5rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(31, 74, 60, 0.18);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  color: var(--ink, #1f2937);
}

.catalog-brands__menu input {
  width: 1rem;
  min-width: 1rem;
  height: 1rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 3px;
  flex: 0 0 1rem;
}

.cart-cross-sell__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 1.25rem 0 0.65rem;
}

.cart-cross-sell__head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.cart-cross-sell__nav {
  display: flex;
  gap: 0.35rem;
}

.cart-cross-sell__nav button {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--pine);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.cart-cross-sell__track {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  justify-content: center;
  justify-content: safe center;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
}

.cart-cross-sell__track .product-card {
  flex: 0 0 168px;
  width: 168px;
  max-width: 168px;
  scroll-snap-align: start;
}

.cart-cross-sell .product-visual {
  aspect-ratio: 1;
  padding: 0.35rem;
}

.cart-cross-sell .product-body {
  padding: 0.45rem 0.5rem 0.55rem;
  gap: 0.15rem;
}

.cart-cross-sell .product-brand,
.cart-cross-sell .product-meta {
  font-size: 0.68rem;
  line-height: 1.25;
}

.cart-cross-sell .product-body h3 {
  font-size: 0.78rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-cross-sell .product-footer {
  padding-top: 0.35rem;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
}

.cart-cross-sell .price {
  font-size: 0.92rem;
}

.cart-cross-sell .add-btn {
  width: 100%;
  min-height: 2rem;
  padding: 0.3rem 0.45rem;
  font-size: 0.75rem;
}

.catalog-picks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  margin: 0.35rem 0 0.85rem;
}

.catalog-picks__title {
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--pine);
}

.catalog-picks__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.catalog-pick {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.catalog-pick.is-on {
  background: var(--pine);
  border-color: var(--pine);
  color: #fff;
}

.variant-rows {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.variant-row__label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--pine);
}

.variant-row__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.variant-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  background: #fff;
  color: var(--ink);
  font-size: 0.8rem;
  text-decoration: none;
}

.loyalty-guide {
  display: grid;
  gap: 0.8rem;
  max-width: 42rem;
  line-height: 1.55;
}

.loyalty-guide p {
  margin: 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  padding: 1.25rem 0 0.25rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--pine);
}

.pet-hub {
  margin-bottom: 2.5rem;
}

.pet-hub__title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  margin: 0.75rem 0 1.15rem;
}

.pet-hub .pet-section {
  margin-bottom: 1.5rem;
}

.pet-section {
  margin-bottom: 2rem;
}

.pet-section__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.9rem;
}

.pet-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.pet-cat-grid--vet {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 720px;
}

.pet-cat-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--tone, #efe8dc) 55%, var(--line));
  border-top: 4px solid var(--tone, #efe8dc);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pet-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.pet-cat-card__media {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  overflow: hidden;
  background: var(--tone, #efe8dc);
  flex-shrink: 0;
}

.pet-cat-card__wash {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32%;
  background: linear-gradient(to top, var(--tone, #efe8dc), transparent);
  pointer-events: none;
}

.pet-cat-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pet-cat-card__media--contain {
  background: #f2efea;
}

.pet-cat-card__img--contain {
  object-fit: contain;
  object-position: center;
  padding: 4%;
  box-sizing: border-box;
}

.pet-cat-card__name {
  padding: 0.55rem 0.85rem 0.15rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.3;
  position: relative;
  z-index: 1;
  background: #fff;
}

.pet-cat-card__count {
  display: block;
  padding: 0 0.85rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  z-index: 1;
  background: #fff;
}

.pet-cat-card__count--empty {
  color: #a3b5ad;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #f4f8f6;
  color: var(--pine-deep);
}

.btn-primary:hover {
  background: #fff;
}

.btn-ghost {
  background: transparent;
  color: #f4f8f6;
  border-color: rgba(244, 248, 246, 0.35);
}

.btn-ghost:hover {
  background: rgba(244, 248, 246, 0.1);
}

.btn-solid {
  background: var(--pine);
  color: #fff;
}

.btn-solid:hover {
  background: var(--pine-deep);
}

.btn-line {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section.home-categories {
  padding: 1.35rem 0 0.15rem;
}

.section.home-benefits {
  padding: 1.25rem 0 0.15rem;
}

.for-whom {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.section--hits {
  padding-top: 1.25rem;
  padding-bottom: 0.5rem;
  overflow: hidden;
}

.hits-marquee {
  overflow: hidden;
  width: 100%;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.hits-marquee.is-dragging {
  cursor: grabbing;
}

.hits-marquee.is-static {
  overflow-x: auto;
  cursor: auto;
  -webkit-overflow-scrolling: touch;
}

.hits-marquee__track {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  width: max-content;
  padding: 0.35rem 0 1rem;
  animation: hits-marquee-scroll 110s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.hits-marquee__card {
  cursor: pointer;
}

.hits-marquee:hover .hits-marquee__track,
.hits-marquee.is-dragging .hits-marquee__track,
.hits-marquee.is-static .hits-marquee__track {
  animation-play-state: paused;
}

.hits-marquee .product-card {
  flex: 0 0 240px;
  width: 240px;
  margin: 0;
  animation: none;
}

.hits-marquee .product-visual {
  aspect-ratio: 1;
  min-height: 0;
}

.hits-marquee .product-body h3 {
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@keyframes hits-marquee-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 720px) {
  .hits-marquee__track {
    animation-duration: 110s;
    gap: 0.75rem;
  }

  .hits-marquee .product-card {
    flex: 0 0 200px;
    width: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hits-marquee {
    overflow-x: auto;
    cursor: auto;
    -webkit-overflow-scrolling: touch;
  }

  .hits-marquee__track {
    animation: none;
  }
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.35rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 38ch;
}

.pill-link {
  color: var(--pine);
  font-weight: 600;
  white-space: nowrap;
}

/* Product grid */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.chip {
  border: 1px solid var(--line);
  background: rgba(247, 250, 248, 0.8);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  transition: 0.2s ease;
}

.chip:hover,
.chip.active {
  background: var(--pine);
  border-color: var(--pine);
  color: #fff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.product-card {
  background: rgba(247, 250, 248, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: rise 0.6s ease both;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card.is-open {
  transform: none;
  box-shadow: none;
}

.product-card.is-favorite {
  border-color: #1f7a4d;
  background: #f3fbf6;
  box-shadow: inset 0 0 0 2px rgba(31, 122, 77, 0.6);
}

.pet-like {
  margin: 0 0 0.55rem;
  padding: 0.45rem 0.55rem;
  border-radius: 12px;
  background: #ffe4c4;
  color: #9a4a12;
  font-size: 0.78rem;
  font-weight: 700;
}

.pet-like--brand {
  background: #d9ecff;
  color: #1d4f9c;
}

.product-card.is-allergy {
  position: relative;
  border-color: #b42318;
  background: #fff5f4;
  box-shadow: inset 0 0 0 2px rgba(180, 35, 24, 0.65);
}

.product-card.is-allergy::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(180, 35, 24, 0.22);
  pointer-events: none;
  z-index: 1;
}

.product-card.is-allergy .product-visual,
.product-card.is-allergy .product-visual__img,
.product-card.is-allergy .product-brand,
.product-card.is-allergy .product-body h3,
.product-card.is-allergy .product-title-btn,
.product-card.is-allergy .product-meta,
.product-card.is-allergy .product-footer {
  filter: blur(8px) !important;
}

.product-card.is-allergy [data-card-allergy] {
  position: relative;
  z-index: 2;
}

.pet-alert--card {
  margin: 0 0 0.55rem;
  padding: 0.45rem 0.55rem;
  font-size: 0.78rem;
  background: #fff;
}

.product-visual {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.55), transparent 40%),
    linear-gradient(160deg, var(--c1, #d7e8df), var(--c2, #b7cfc4));
  display: grid;
  place-items: center;
  padding: 1rem;
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: inherit;
}

.product-title-btn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}

.product-title-btn:hover {
  color: var(--pine-deep);
}

.product-peek {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(247, 250, 248, 0.96);
  box-shadow: var(--shadow);
  animation: rise 0.35s ease both;
}

.product-peek .product-card {
  animation: none;
}

.product-peek__panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-height: min(70vh, 720px);
  overflow: auto;
  padding-right: 0.25rem;
}

.product-peek__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-peek__title {
  margin: 0.25rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--pine-deep);
}

.product-peek__close {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.product-peek__close:hover {
  background: var(--pine);
  border-color: var(--pine);
  color: #fff;
}

.product-peek__price {
  font-size: 1.25rem;
  margin: 0;
}

.product-peek__cta {
  margin: 0;
}

.product-peek__chars {
  margin: 0;
}

.product-peek__chars .detail-section__title {
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
}

.product-peek__desc-btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}

@media (max-width: 800px) {
  .product-peek {
    grid-template-columns: 1fr;
  }

  .product-peek__panel {
    max-height: none;
  }
}

.product-visual .pack {
  width: min(70%, 180px);
  aspect-ratio: 3 / 4;
  border-radius: 14px 14px 18px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 16px 30px rgba(20, 36, 31, 0.12);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: -0.02em;
  color: var(--pine-deep);
}

.product-visual--photo {
  padding: 0;
  background: #f7f5ef;
}

.product-visual__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.product-body {
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.product-brand-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.45rem;
}

.product-brand {
  color: var(--muted);
  font-size: 0.8rem;
  min-width: 0;
}

.card-reviews {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #1d4f9c;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.card-reviews:hover {
  color: #163e7a;
}

.reviews-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.reviews-modal[hidden] {
  display: none;
}

.reviews-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 36, 31, 0.45);
}

.reviews-modal__panel {
  position: relative;
  width: min(100%, 520px);
  max-height: min(86vh, 760px);
  overflow: auto;
  padding: 1.1rem 1.1rem 1.25rem;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.reviews-modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.reviews-modal__panel h2 {
  margin: 0 1.8rem 0.25rem 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.reviews-modal__product {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.reviews-empty {
  margin: 0;
  color: var(--muted);
}

.reviews-item {
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.reviews-item__head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}

.reviews-item__head span {
  color: #c9782a;
  letter-spacing: 0.04em;
}

.reviews-item p {
  margin: 0;
}

.reviews-item time {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.reviews-form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
}

.reviews-form__title {
  margin: 0.4rem 0 0;
  font-weight: 700;
}

.reviews-form__stars {
  display: flex;
  gap: 0.2rem;
}

.reviews-form__stars button {
  border: 0;
  background: none;
  color: #c9782a;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.reviews-form label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
}

.reviews-form input,
.reviews-form textarea {
  width: 100%;
  font: inherit;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.reviews-form__error {
  margin: 0;
  color: #b42318;
  font-size: 0.85rem;
}

.product-body h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.product-meta {
  color: var(--muted);
  font-size: 0.85rem;
}

.product-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.5rem;
  flex-wrap: wrap;
}

.price {
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
  flex: 0 0 auto;
}

.price s {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.85rem;
  margin-left: 0.35rem;
}

.add-btn {
  border: none;
  background: var(--pine);
  color: #fff;
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  flex: 0 0 auto;
}

.add-btn:hover {
  background: var(--pine-deep);
}

.add-btn.is-in-cart,
.btn.is-in-cart {
  background: #16352b;
}

/* Why / Delivery */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
}

.panel {
  background: rgba(247, 250, 248, 0.9);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
}

.panel h3 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.feature-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.7rem;
  align-items: start;
}

.dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pine);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.feature-list strong {
  display: block;
  margin-bottom: 0.1rem;
}

.feature-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

.delivery-note {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(31, 74, 60, 0.08);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.zone-options {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1rem;
}

.zone-options--checkout {
  margin: 0 0 0.85rem;
}

.zone-option {
  display: block;
  cursor: pointer;
}

.zone-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.zone-option__card {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.zone-option__card strong {
  font-size: 0.92rem;
}

.zone-option__card span {
  font-size: 0.82rem;
  color: var(--muted);
}

.zone-option input:checked + .zone-option__card {
  border-color: var(--pine);
  background: rgba(31, 74, 60, 0.06);
}

.delivery-offers {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 0.9rem;
}

.delivery-offers[hidden] {
  display: none;
}

.delivery-offers__status {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.delivery-offers__status--error {
  color: #9a3b2f;
}

.delivery-offer {
  display: block;
  cursor: pointer;
}

.delivery-offer input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.delivery-offer__card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem 0.8rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.delivery-offer__card strong {
  font-size: 0.92rem;
}

.delivery-offer__card span {
  font-size: 0.82rem;
  color: var(--muted);
}

.delivery-offer__card em {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.delivery-offer input:checked + .delivery-offer__card {
  border-color: var(--pine);
  background: rgba(31, 74, 60, 0.06);
}

/* Page hero (inner) */
.page-hero {
  padding: 2.5rem 0 1rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 48ch;
}

/* Cart / Checkout */
.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.25rem;
  padding-bottom: 4rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.cart-open {
  display: block;
  color: inherit;
  text-decoration: none;
}

.cart-open--name {
  font-weight: 700;
}

.cart-open--name:hover {
  text-decoration: underline;
}

.cart-reorder {
  margin-top: 1rem;
}

[data-cart-summary] .cart-reorder .btn {
  display: flex;
  justify-content: center;
  width: 100%;
}

[data-cart-summary] .cart-reorder__items,
[data-cart-summary] .cart-reorder__meta,
[data-cart-summary] .cart-reorder__id {
  overflow-wrap: anywhere;
}

.cart-reorder__title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.cart-reorder__pick {
  margin: 0.7rem 0 0.35rem;
}

.cart-reorder__label {
  display: block;
  margin-bottom: 0.35rem;
  color: #16352b;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.cart-reorder__pick select {
  width: 100%;
}

.cart-reorder__meta,
.cart-reorder__id,
.cart-reorder__more {
  margin: 0.2rem 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.cart-reorder__items {
  margin: 0.7rem 0;
  padding-left: 1.1rem;
}

.cart-reorder__items li + li {
  margin-top: 0.25rem;
}

.cart-reorder .btn {
  margin-top: 0.35rem;
}

.reorder-missing {
  margin-bottom: 1rem;
  border: 1px solid #e7c27a;
  background: #fff8e8;
}

.reorder-missing ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}

.order-status-list {
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

.order-status-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.order-status-list time {
  color: var(--ink-soft);
  white-space: nowrap;
}

.cart-thumb {
  width: 88px;
  height: 88px;
  max-width: 100%;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--c1, #d7e8df), var(--c2, #b7cfc4));
}

/* у товара есть фото — показываем его, градиент остаётся подложкой */
.cart-thumb--photo {
  object-fit: contain;
  object-position: center;
  background: #f7f5ef;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.45rem;
}

.qty button {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.qty span {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 600;
}

.remove-link {
  border: none;
  background: none;
  color: var(--danger);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0;
}

.summary {
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
  height: fit-content;
}

[data-cart-summary] {
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
  align-self: start;
  max-height: calc(100dvh - var(--nav-h) - 2rem);
  overflow: auto;
}

.cart-layout .summary {
  position: static;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin: 0.45rem 0;
  color: var(--ink-soft);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 1.15rem;
  font-weight: 700;
}

.form {
  display: grid;
  gap: 0.85rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.form input,
.form select,
.form textarea {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  color: var(--ink);
}

.form textarea {
  min-height: 110px;
  resize: vertical;
}

/* Checkout — Petshop-like flow */
.checkout-page {
  padding-bottom: 4rem;
}

.checkout-hero {
  padding-bottom: 0.5rem;
}

.checkout-steps {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  padding: 0;
}

.checkout-step {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: none;
  background: transparent;
  color: var(--muted);
  padding: 0;
  cursor: default;
  font: inherit;
}

.checkout-step.is-active,
.checkout-step.is-done {
  color: var(--ink);
}

.checkout-step__num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(20, 36, 31, 0.08);
  color: var(--muted);
}

.checkout-step.is-active .checkout-step__num {
  background: var(--pine);
  color: #fff;
}

.checkout-step.is-done .checkout-step__num {
  background: var(--moss);
  color: #fff;
}

.checkout-step__label {
  font-size: 0.92rem;
  font-weight: 600;
}

.checkout-steps__line {
  flex: 1;
  max-width: 4rem;
  height: 1px;
  background: var(--line);
}

.checkout-form {
  display: grid;
  gap: 1rem;
}

.checkout-block {
  background: rgba(247, 250, 248, 0.95);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.25rem;
}

.order-paid-banner {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #16352b;
}

.order-paid-banner[hidden] {
  display: none;
}

.checkout-block__title {
  margin: 0 0 0.95rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.checkout-fields {
  display: grid;
  gap: 0.85rem;
}

.checkout-fields[hidden] {
  display: none;
}

.checkout-fields--2 {
  grid-template-columns: 1fr 1fr;
}

.field {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.password-field {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.password-field input {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}

.password-field__toggle {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--pine);
  border-radius: 999px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.password-field__toggle:hover {
  border-color: rgba(31, 74, 60, 0.35);
  background: rgba(31, 74, 60, 0.06);
}

.field input,
.field select,
.field textarea {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  color: var(--ink);
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(31, 74, 60, 0.25);
  border-color: rgba(31, 74, 60, 0.4);
}

.field .password-field input {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
}

.field textarea {
  min-height: 100px;
  resize: vertical;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: var(--danger);
}

/* ——— Поле телефона с выбором страны ——— */

.phone-input {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
}

.phone-input__country {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex: 0 0 auto;
  padding: 0.75rem 0.6rem;
  border: 1px solid var(--line);
  border-right: none;
  border-radius: 12px 0 0 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  line-height: 1;
  cursor: pointer;
  min-height: 44px;
}

.phone-input__country:hover {
  background: rgba(31, 74, 60, 0.05);
}

.phone-input__country:focus-visible {
  outline: 2px solid rgba(31, 74, 60, 0.35);
  outline-offset: -2px;
  z-index: 1;
}

.phone-input__flag {
  font-size: 1.15rem;
  line-height: 1;
}

.phone-input__dial {
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}

.phone-input__caret {
  font-size: 0.7rem;
  color: var(--muted);
}

.field .phone-input__field {
  border-radius: 0 12px 12px 0;
  flex: 1 1 auto;
  min-width: 0;
  font-variant-numeric: tabular-nums;
}

.phone-input.is-invalid .phone-input__country,
.phone-input.is-invalid .phone-input__field {
  border-color: var(--danger);
}

.phone-input__list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 40;
  width: min(20rem, calc(100vw - 3rem));
  max-height: 17rem;
  overflow-y: auto;
  padding: 0.3rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 42, 33, 0.16);
}

.phone-input__option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.55rem 0.6rem;
  border: none;
  border-radius: 8px;
  background: none;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.phone-input__option:hover,
.phone-input__option:focus-visible {
  background: rgba(31, 74, 60, 0.08);
  outline: none;
}

.phone-input__country-name {
  flex: 1 1 auto;
}

.address-field__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
}

.address-geo-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--pine);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.address-geo-btn:hover:not(:disabled) {
  border-color: rgba(31, 74, 60, 0.35);
  background: rgba(31, 74, 60, 0.06);
}

.address-geo-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.address-suggest {
  position: relative;
}

.address-field__hint {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.address-field__hint.is-ok {
  color: var(--moss);
}

.address-field__hint.is-error {
  color: var(--danger);
}

.method-tabs,
.payment-list,
.pickup-list {
  display: grid;
  gap: 0.65rem;
}

.method-tabs {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1rem;
}

.method-tabs--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .method-tabs--3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.pvz-map {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 0.85rem;
}

.pvz-map__toolbar {
  display: grid;
  gap: 0.65rem;
  align-items: end;
  /* подсказка должна лежать над картой, у которой свой z-index */
  position: relative;
  z-index: 2;
}

.pvz-map__search {
  position: relative;
}

.pvz-map__suggest {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0.25rem;
  display: grid;
  gap: 0.1rem;
  padding: 0.25rem;
  max-height: 264px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 14px 30px rgba(31, 74, 60, 0.16);
  z-index: 20;
}

.pvz-map__suggest[hidden] {
  display: none;
}

.pvz-map__suggest-item {
  display: grid;
  gap: 0.1rem;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.6rem;
  border: 0;
  border-radius: calc(var(--radius-sm) - 2px);
  background: transparent;
  cursor: pointer;
}

.pvz-map__suggest-item:hover,
.pvz-map__suggest-item.is-active {
  background: rgba(31, 74, 60, 0.08);
}

.pvz-map__suggest-item strong {
  font-size: 0.9rem;
}

.pvz-map__suggest-item span {
  font-size: 0.8rem;
  color: var(--muted);
}

.pvz-map__suggest-item mark {
  padding: 0 1px;
  border-radius: 2px;
  background: rgba(201, 133, 42, 0.3);
  color: inherit;
}

@media (min-width: 720px) {
  .pvz-map__toolbar {
    grid-template-columns: 1fr auto;
  }
}

.pvz-map__status {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.pvz-map__status.is-error {
  color: #9a3b2f;
}

.pvz-map__canvas {
  height: 320px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #d5e0da;
  z-index: 1;
}

.pvz-map__canvas .leaflet-container {
  width: 100%;
  height: 100%;
  background: #d5e0da;
  font: inherit;
  border-radius: inherit;
}

.leaflet-container img,
.leaflet-pane img,
.leaflet-tile,
.leaflet-marker-icon {
  max-width: none !important;
  max-height: none !important;
}

.leaflet-attribution-flag,
.leaflet-control-attribution a[href*="leafletjs"] {
  display: none !important;
}

.pvz-map__selected {
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem 0.85rem;
  border: 2px solid var(--pine);
  border-radius: var(--radius-sm);
  background: rgba(31, 74, 60, 0.08);
}

.pvz-map__selected[hidden] {
  display: none;
}

.pvz-map__selected-label,
.pvz-map__picked {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #16352b;
}

.pvz-map__selected strong,
.pvz-map__item strong {
  font-size: 0.92rem;
}

.pvz-map__selected span,
.pvz-map__item span,
.pvz-map__selected em,
.pvz-map__item em {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: normal;
}

.pvz-map__selected > span {
  color: #16352b;
  font-size: 0.9rem;
}

.pvz-map__item .pvz-map__picked {
  color: #16352b;
}

.pvz-map__list {
  display: grid;
  gap: 0.4rem;
  max-height: 240px;
  overflow: auto;
}

.pvz-map__item {
  display: grid;
  gap: 0.1rem;
  width: 100%;
  text-align: left;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
}

.pvz-map__item.is-active {
  border-color: var(--pine);
  background: rgba(31, 74, 60, 0.06);
}

.pvz-map__empty {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.method-tab,
.payment-option,
.pickup-option {
  cursor: pointer;
}

.method-tab input,
.payment-option input,
.pickup-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.method-tab__card,
.payment-option__card,
.pickup-option__card {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.method-tab__card strong,
.payment-option__card strong,
.pickup-option__card strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.method-tab__card span,
.payment-option__card span,
.pickup-option__card span {
  color: var(--muted);
  font-size: 0.85rem;
}

.method-tab input:checked + .method-tab__card,
.payment-option input:checked + .payment-option__card,
.pickup-option input:checked + .pickup-option__card {
  border-color: var(--pine);
  background: rgba(31, 74, 60, 0.06);
  box-shadow: inset 0 0 0 1px rgba(31, 74, 60, 0.25);
}

.checkout-method-pane {
  animation: checkoutFade 0.25s ease;
}

.checkout-hint {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.25rem;
}

.checkout-actions .btn-solid {
  margin-left: auto;
}

.confirm-list {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.confirm-list > div {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.confirm-list > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.confirm-list dt {
  font-size: 0.82rem;
  color: var(--muted);
}

.confirm-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.checkout-legal {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}

.checkout-consents {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 0.25rem;
}

.consent-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink);
  cursor: pointer;
}

.consent-check input {
  margin-top: 0.2rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--accent, #1f4a3c);
}

.consent-check a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-check.is-invalid {
  outline: 2px solid #c2410c;
  outline-offset: 4px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 10000;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  background: #14352b;
  color: #f4f8f6;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
  outline: 2px solid #c9782a;
  outline-offset: 2px;
}

.legal-page .legal-doc {
  max-width: 46rem;
}

.legal-doc h2 {
  margin: 1.75rem 0 0.65rem;
  font-family: Unbounded, Onest, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
}

.legal-doc p,
.legal-doc li {
  color: var(--ink);
  line-height: 1.6;
}

.legal-doc ul {
  margin: 0.4rem 0 0.8rem;
  padding-left: 1.2rem;
}

.legal-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  font-size: 0.92rem;
}

.checkout-summary-items {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.checkout-summary-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 0.65rem;
  align-items: center;
}

.checkout-summary-thumb {
  width: 52px;
  height: 52px;
  max-width: 100%;
  border-radius: 10px;
  background: linear-gradient(160deg, var(--c1, #d7e8df), var(--c2, #b7cfc4));
}

.checkout-summary-thumb--photo {
  object-fit: contain;
  object-position: center;
  background: #f7f5ef;
}

.checkout-summary-item strong {
  font-size: 0.88rem;
  display: block;
  line-height: 1.3;
}

.checkout-summary-item .product-meta {
  font-size: 0.78rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[data-checkout-error],
[data-checkout-error-confirm] {
  background: rgba(166, 61, 61, 0.1);
  color: var(--danger);
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
}

@keyframes checkoutFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--muted);
}

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding-bottom: 4rem;
}

/* ——— Наклейка «Оригинал» ——— */

.original-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 2;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: #d92d20;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(217, 45, 32, 0.35);
  pointer-events: none;
}

.original-badge--lg {
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
}

.original-note {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.original-note a {
  color: #b42318;
}

/* в тексте наклейка стоит в строке, а не поверх картинки */
.original-badge--inline {
  position: static;
  display: inline-block;
  vertical-align: middle;
  box-shadow: none;
}

/* ——— Страница сертификатов ——— */

.cert-group {
  margin-bottom: 1rem;
}

.cert-group__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.cert-group__head h2 {
  margin: 0;
  font-size: 1.1rem;
}

.cert-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.cert-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

.cert-item:first-child {
  border-top: 0;
}

.cert-item__body {
  flex: 1 1 16rem;
  min-width: 0;
}

.cert-item__links {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.cert-item--expired {
  opacity: 0.6;
}

.cert-flag {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(180, 35, 24, 0.12);
  color: #b42318;
  font-size: 0.72rem;
  font-weight: 600;
}

.detail-visual {
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  min-height: 420px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.55), transparent 40%),
    linear-gradient(160deg, var(--c1, #d7e8df), var(--c2, #b7cfc4));
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  overflow: hidden;
}

.detail-visual--photo {
  background: #f7f5ef;
  padding: 0.75rem;
}

.detail-visual__img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 560px;
  object-fit: contain;
  object-position: center;
  display: block;
}

.detail-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
  margin: 0.35rem 0 0.75rem;
}

.detail-weight {
  margin: 0;
  color: var(--muted, #5c6b63);
  font-size: 0.98rem;
}

.pet-alert {
  margin: 0.75rem 0 0;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: #fff4e8;
  color: #8a3d12;
  font-size: 0.92rem;
  line-height: 1.4;
}

.pet-feed p {
  margin: 0.35rem 0;
}

.stock-note {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  white-space: nowrap;
}

.product-footer .stock-note {
  flex: 1 0 100%;
  margin: 0;
  text-align: right;
  font-size: 0.82rem;
  line-height: 1.2;
}

.stock-note--out {
  color: #9a3412;
  font-weight: 600;
}

.cart-item--oos {
  opacity: 0.85;
}

.detail-below {
  display: grid;
  gap: 1.75rem;
  margin-top: 2rem;
  padding-bottom: 3rem;
  max-width: 920px;
}

.detail-section__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  color: var(--pine-deep, #1f3d32);
}

.detail-desc {
  display: grid;
  gap: 0.75rem;
  color: var(--ink, #24302b);
  line-height: 1.55;
  font-size: 0.98rem;
}

.detail-desc p {
  margin: 0;
}

.detail-desc__full {
  display: none;
}

.detail-desc.is-open .detail-desc__short {
  display: none;
}

.detail-desc.is-open .detail-desc__full {
  display: grid;
  gap: 0.75rem;
}

.detail-desc__toggle {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--pine, #1f4a3c);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.detail-desc__full .detail-desc__toggle {
  justify-self: start;
  margin-top: 0.25rem;
}

.feed-table-wrap {
  overflow-x: auto;
}

.feed-table {
  width: 100%;
  max-width: 36rem;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.feed-table th,
.feed-table td {
  padding: 0.45rem 0.65rem;
  text-align: left;
  border-bottom: 1px solid var(--line, #d7ddd8);
  white-space: nowrap;
}

.feed-table th {
  color: var(--muted, #5c6b63);
  font-weight: 600;
}

.feed-table td:first-child,
.feed-table th:first-child {
  padding-left: 0;
}

.detail-chars {
  display: grid;
  gap: 1.25rem;
}

.chars-group__title {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--pine-deep, #1f3d32);
}

.chars-table {
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line, #d7ddd8);
}

.chars-row {
  display: grid;
  grid-template-columns: minmax(140px, 38%) 1fr;
  gap: 0.75rem 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line, #d7ddd8);
  font-size: 0.94rem;
  line-height: 1.45;
}

.chars-row dt {
  margin: 0;
  color: var(--muted, #5c6b63);
  font-weight: 400;
}

.chars-row dd {
  margin: 0;
  color: var(--ink, #24302b);
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 640px) {
  .chars-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(120%);
  background: var(--pine-deep);
  color: #fff;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  z-index: 50;
  transition: transform 0.3s ease;
  box-shadow: var(--shadow);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.footer-legal {
  flex: 1 1 100%;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  line-height: 1.45;
}

.footer-legal__link {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer-legal__link:hover {
  color: var(--accent, var(--ink));
}

.requisites-page .section {
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.requisites-content {
  display: grid;
  gap: 1.75rem;
  max-width: 44rem;
}

.requisites-block h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

.requisites-list {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.requisites-list__row {
  display: grid;
  grid-template-columns: minmax(9rem, 11.5rem) 1fr;
  gap: 0.35rem 1rem;
  align-items: baseline;
}

.requisites-list__row dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.requisites-list__row dd {
  margin: 0;
  color: var(--ink);
  word-break: break-word;
}

@media (max-width: 640px) {
  .requisites-list__row {
    grid-template-columns: 1fr;
  }
}

/* Blog / SEO articles */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-bottom: 4rem;
}

.article-card {
  background: rgba(247, 250, 248, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.article-card-link {
  display: block;
  padding: 1.25rem;
  height: 100%;
}

.article-card h2 {
  margin: 0.5rem 0;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.article-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--moss);
  background: rgba(61, 122, 98, 0.12);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.article-ad-label,
.article-ad-banner {
  display: block;
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted);
}

.article-ad-banner {
  padding: 0.55rem 0.75rem;
  border-left: 3px solid color-mix(in srgb, var(--ink) 35%, transparent);
  background: color-mix(in srgb, var(--ink) 4%, transparent);
}

.article-meta {
  display: flex;
  gap: 1rem;
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.article-wrap {
  padding: 1.5rem 0 4rem;
  max-width: 760px;
}

.breadcrumbs {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.breadcrumbs a:hover {
  color: var(--pine);
}

.article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
  margin: 0.6rem 0 0.75rem;
  line-height: 1.15;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin: 1.75rem 0 0.65rem;
}

.prose p {
  color: var(--ink-soft);
  margin: 0 0 1rem;
}

.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--ink-soft);
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose code {
  background: rgba(31, 74, 60, 0.08);
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  font-size: 0.88em;
}

.wholesale-form-section {
  max-width: 720px;
}

.wholesale-form-section__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
}

.wholesale-form-section__lead {
  color: var(--ink-soft);
  margin: 0 0 1.35rem;
}

.wholesale-form {
  display: grid;
  gap: 1rem;
}

.field-optional {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85em;
}

.wholesale-request-type {
  margin: 0;
  padding: 0;
  border: none;
}

.wholesale-request-type legend {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
  padding: 0;
}

.wholesale-request-type__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

.wholesale-check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
}

.wholesale-check input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--pine);
}

.wholesale-form__error {
  margin: 0;
  color: var(--danger);
  font-size: 0.92rem;
}

.wholesale-form__ok {
  margin: 0;
  color: var(--pine);
  font-size: 0.95rem;
}

/* Shared info pages (delivery / wholesale) */
.info-page,
.wholesale-page {
  padding-bottom: 2rem;
}

.info-hero,
.wholesale-hero {
  padding: 1.5rem 0 0.25rem;
}

.info-hero__plane,
.wholesale-hero__plane {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.35rem, 4vw, 2.75rem);
  color: #f4f8f6;
  background:
    radial-gradient(ellipse 70% 80% at 90% 10%, rgba(201, 120, 42, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(255, 255, 255, 0.1), transparent 50%),
    linear-gradient(140deg, #14352b 0%, #1f4a3c 45%, #3d7a62 100%);
  animation: rise 0.7s ease both;
}

.info-hero__plane--photo,
.wholesale-hero__plane--photo {
  padding: 0;
  aspect-ratio: 16 / 7;
  min-height: 280px;
  max-height: 480px;
  background: #1a4a3c;
}

.info-hero__plane--photo::after,
.wholesale-hero__plane--photo::after {
  display: none;
}

.info-hero__img,
.wholesale-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
  display: block;
}

.info-hero__content,
.wholesale-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  width: min(100%, 34rem);
  max-width: 48%;
  padding: clamp(1.25rem, 3.5vw, 2.25rem) clamp(1.2rem, 3.5vw, 2.35rem);
  color: #f4f8f6;
  background: none;
  pointer-events: none;
}

.info-hero__content > *,
.wholesale-hero__content > * {
  pointer-events: auto;
}

.info-hero__plane--delivery {
  background:
    radial-gradient(ellipse 65% 70% at 100% 0%, rgba(61, 122, 98, 0.45), transparent 50%),
    radial-gradient(ellipse 45% 55% at 0% 100%, rgba(243, 226, 207, 0.16), transparent 48%),
    linear-gradient(145deg, #14352b 0%, #1f4a3c 50%, #2a5f4c 100%);
}

.info-hero__plane::after,
.wholesale-hero__plane::after {
  content: "";
  position: absolute;
  inset: auto -8% -40% 45%;
  height: 120%;
  background:
    radial-gradient(circle at 30% 40%, rgba(243, 226, 207, 0.14), transparent 42%),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.08), transparent 38%);
  pointer-events: none;
}

.info-hero__brand,
.wholesale-hero__brand {
  position: relative;
  z-index: 1;
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #f4f8f6;
  text-shadow: 0 1px 12px rgba(20, 53, 43, 0.35);
}

.info-hero h1,
.wholesale-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 0.65rem;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4.2vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-shadow: 0 1px 10px rgba(20, 53, 43, 0.3);
}

.info-hero__lead,
.wholesale-hero__lead {
  position: relative;
  z-index: 1;
  margin: 0 0 1.5rem;
  max-width: 42ch;
  color: rgba(244, 248, 246, 0.9);
  font-size: 1.05rem;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(20, 53, 43, 0.28);
}

.info-hero .cta-row,
.wholesale-hero .cta-row {
  position: relative;
  z-index: 1;
}

.info-hero .btn-ghost:hover,
.wholesale-hero .btn-ghost:hover {
  background: rgba(244, 248, 246, 0.1);
}

.info-steps,
.wholesale-steps {
  padding-top: 2.25rem;
  padding-bottom: 0.5rem;
}

.info-steps .section-head,
.info-chips-section .section-head,
.wholesale-steps .section-head,
.wholesale-audience .section-head {
  animation: rise 0.65s ease 0.08s both;
}

.info-steps__grid,
.wholesale-steps__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.info-step,
.wholesale-step {
  padding: 0.15rem 0.1rem 0.35rem;
  animation: rise 0.7s ease both;
}

.info-step:nth-child(1),
.wholesale-step:nth-child(1) { animation-delay: 0.12s; }
.info-step:nth-child(2),
.wholesale-step:nth-child(2) { animation-delay: 0.2s; }
.info-step:nth-child(3),
.wholesale-step:nth-child(3) { animation-delay: 0.28s; }

.info-step__num,
.wholesale-step__num {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: var(--pine);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.info-step h3,
.wholesale-step h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.info-step__price {
  margin: 0 0 0.45rem;
  color: var(--pine);
  font-weight: 600;
  font-size: 0.95rem;
}

.info-step p,
.wholesale-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 28ch;
}

.info-step__price + p {
  max-width: 30ch;
}

.info-chips-section,
.wholesale-audience {
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
}

.info-chips,
.wholesale-audience__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  animation: rise 0.7s ease 0.15s both;
}

.info-chips li,
.wholesale-audience__list li {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(247, 250, 248, 0.75);
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
}

.info-detail {
  padding-top: 1.75rem;
  padding-bottom: 3rem;
}

.info-detail__layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem 2rem;
  align-items: start;
  margin-bottom: 2rem;
  animation: rise 0.75s ease 0.18s both;
}

.info-detail__aside h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  letter-spacing: -0.03em;
}

.info-detail__aside > p {
  margin: 0;
  color: var(--muted);
  max-width: 36ch;
}

.info-detail__list {
  gap: 1rem;
}

.info-inline-link {
  color: var(--pine);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.info-inline-link:hover {
  color: var(--pine-deep);
}

.info-cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(31, 74, 60, 0.08), rgba(201, 120, 42, 0.08));
  animation: rise 0.75s ease 0.22s both;
}

.info-cta-band h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.info-cta-band p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.wholesale-form-wrap {
  padding-top: 1.75rem;
  padding-bottom: 3rem;
}

.wholesale-form-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem 2rem;
  align-items: start;
  animation: rise 0.75s ease 0.18s both;
}

.wholesale-form-aside h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  letter-spacing: -0.03em;
}

.wholesale-form-aside > p {
  margin: 0 0 1.35rem;
  color: var(--muted);
  max-width: 36ch;
}

.wholesale-form-aside .feature-list {
  gap: 1rem;
}

.wholesale-legal {
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.wholesale-legal h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.wholesale-legal__note {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  max-width: 36ch;
  line-height: 1.45;
}

.wholesale-legal__list {
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.wholesale-legal__row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.25rem 0.75rem;
  font-size: 0.88rem;
}

.wholesale-legal__row dt {
  margin: 0;
  color: var(--muted);
}

.wholesale-legal__row dd {
  margin: 0;
  color: var(--ink);
  word-break: break-word;
}

.wholesale-legal__more {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
}

.wholesale-legal__more a {
  color: var(--pine);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.wholesale-legal__more a:hover {
  color: var(--accent);
}

.wholesale-form.panel {
  display: grid;
  gap: 1rem;
  padding: 1.5rem 1.4rem 1.6rem;
}

.wholesale-request-type__tabs {
  margin-top: 0.15rem;
  margin-bottom: 0;
}

.wholesale-request-type__tabs .method-tab input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 980px) {
  .info-steps__grid,
  .wholesale-steps__grid,
  .info-detail__layout,
  .wholesale-form-layout {
    grid-template-columns: 1fr;
  }

  .info-step p,
  .wholesale-step p {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .info-hero__plane:not(.info-hero__plane--photo),
  .wholesale-hero__plane:not(.wholesale-hero__plane--photo) {
    padding: 1.75rem 1.2rem 1.85rem;
  }

  .info-hero__plane--photo,
  .wholesale-hero__plane--photo {
    aspect-ratio: 4 / 5;
    max-height: 560px;
    min-height: 380px;
  }

  .info-hero__content,
  .wholesale-hero__content {
    max-width: 100%;
    width: 100%;
    justify-content: flex-start;
    padding: 1.1rem 1.1rem 0.5rem;
  }

  .info-hero__img,
  .wholesale-hero__img {
    object-position: 70% bottom;
  }

  .info-hero h1,
  .wholesale-hero h1 {
    max-width: none;
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }

  .info-hero__lead,
  .wholesale-hero__lead {
    font-size: 0.92rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .info-hero .btn,
  .wholesale-hero .btn {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }

  .info-cta-band {
    padding: 1.2rem 1.15rem;
  }

  .home-hero__plane {
    aspect-ratio: 4 / 5;
    max-height: 560px;
    min-height: 360px;
  }

  .home-hero__content {
    max-height: 32%;
    width: 100%;
    margin-left: 0;
    padding: 0.9rem 1.05rem 0.25rem;
  }

  .home-hero__brand {
    font-size: 1.55rem;
    margin-bottom: 0.3rem;
  }

  .home-hero h1 {
    font-size: 1.05rem;
    max-width: 18ch;
  }

  .home-hero__lead {
    font-size: 0.88rem;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .home-hero .btn {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .info-hero__plane,
  .wholesale-hero__plane,
  .home-hero__plane,
  .info-steps .section-head,
  .info-chips-section .section-head,
  .wholesale-steps .section-head,
  .wholesale-audience .section-head,
  .home-categories .section-head,
  .home-benefits .section-head,
  .section--hits .section-head,
  .home-articles .section-head,
  .info-step,
  .wholesale-step,
  .info-chips,
  .wholesale-audience__list,
  .info-detail__layout,
  .info-cta-band,
  .wholesale-form-layout,
  .home-categories .category-grid,
  .home-articles .article-grid {
    animation: none;
  }
}

.article-cta {
  margin: 2rem 0;
}

.article-cta h3 {
  margin-top: 0;
  font-family: var(--font-display);
}

.article-related {
  margin-top: 2.5rem;
}

.article-related h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}

.article-related-grid {
  display: grid;
  gap: 0.65rem;
}

.article-related-card {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(247, 250, 248, 0.9);
}

.article-related-card span {
  color: var(--muted);
  white-space: nowrap;
  font-size: 0.85rem;
}

.blog-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0 0 4rem;
  flex-wrap: wrap;
}

.pager-btn {
  border: 1px solid var(--line);
  background: rgba(247, 250, 248, 0.9);
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  padding: 0.55rem 1rem;
  text-decoration: none;
}

.pager-btn:hover {
  border-color: var(--pine);
  color: var(--pine);
}

.pager-btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.pager-info {
  color: var(--muted);
  font-size: 0.92rem;
}

.muted {
  color: var(--muted);
}

@media (max-width: 720px) {
  .article-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .pet-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .cart-layout,
  .checkout-layout,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .checkout-fields--2,
  .method-tabs {
    grid-template-columns: 1fr;
  }

  .checkout-steps__line {
    max-width: 1.5rem;
  }
}

@media (max-width: 1100px) {
  .header-help__btn span {
    display: none;
  }

  .header-help__btn {
    padding: 0.35rem 0.5rem;
    min-width: 36px;
    justify-content: center;
  }

  .header-help__chevron {
    display: none;
  }

  .header-help__btn::before {
    content: "24/7";
    font-size: 0.72rem;
    font-weight: 700;
  }

  .nav-links {
    gap: 0.5rem;
    font-size: 0.8rem;
  }

  .header-search {
    min-width: 7rem;
    max-width: 14rem;
  }

  .header-search__submit {
    padding: 0 0.55rem;
    font-size: 0.72rem;
  }

  .nav > .auth-btn,
  .nav > .cart-btn {
    padding: 0.3rem 0.5rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 720px) {
  .logo {
    flex: 0 0 auto;
    min-width: max-content;
    overflow: visible;
    align-self: center;
  }

  .logo-icon {
    height: 36px;
  }

  .pet-cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .pet-cat-card__name {
    font-size: 0.86rem;
    padding: 0.45rem 0.65rem 0.1rem;
  }

  .pet-cat-card__count {
    padding: 0 0.65rem 0.65rem;
    font-size: 0.72rem;
  }

  .product-body {
    position: relative;
    z-index: 1;
    background: rgba(247, 250, 248, 0.98);
  }

  .nav {
    flex-wrap: wrap;
    height: auto;
    min-height: 0;
    padding: 0.35rem 0;
    row-gap: 0.35rem;
    column-gap: 0.3rem;
    position: relative;
  }

  .logo {
    order: 1;
  }

  .nav > .auth-btn {
    order: 2;
    margin-left: auto;
    padding: 0.3rem;
    min-width: 36px;
    justify-content: center;
  }

  .nav > .auth-btn [data-auth-label] {
    display: none;
  }

  .nav > .auth-btn.is-in {
    padding: 0.3rem 0.55rem;
    max-width: 7.6rem;
  }

  .nav > .auth-btn.is-in [data-auth-label] {
    display: inline;
    max-width: 4.4rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav > .cart-btn {
    order: 4;
    padding: 0.3rem 0.45rem;
    font-size: 0.78rem;
  }

  .nav > .cart-btn .nav-icon {
    display: inline-flex;
  }

  .header-support {
    order: 3;
    margin-left: 0;
  }

  .header-support__tg {
    display: none;
  }

  .header-help__btn {
    padding: 0.3rem 0.45rem;
    min-width: 36px;
    justify-content: center;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    order: 5;
    width: 36px;
    height: 36px;
  }

  .header-search {
    order: 6;
    flex: 1 1 100%;
    max-width: none;
    min-width: 0;
  }

  .header-search__form {
    height: 36px;
  }

  .header-search__submit {
    padding: 0 0.65rem;
    font-size: 0.72rem;
  }

  .header-search__panel {
    left: 0;
    right: 0;
    min-width: 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 45;
    background: rgba(247, 250, 248, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    gap: 0.35rem;
    margin-left: 0;
    order: 7;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .nav-icon {
    display: inline-flex;
  }

  .nav-links a {
    padding: 0.55rem 0.35rem;
    font-size: 0.92rem;
  }

  .header-help__panel {
    right: 0;
    left: auto;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 72px 1fr;
  }

  .cart-item .item-price {
    grid-column: 2;
  }

  .home-categories .category-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .promo {
    padding-top: 1rem;
  }
}

.add-btn:disabled,
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.nav-toggle,
.header-help__btn,
.qty button {
  min-width: 44px;
  min-height: 44px;
}

.stock-unknown-banner {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  color: var(--pine-deep);
  font-size: 0.92rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
}

.cookie-banner__text {
  margin: 0;
  flex: 1 1 240px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.checkout-sticky {
  position: sticky;
  bottom: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  box-shadow: var(--shadow);
}

.checkout-sticky[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .checkout-sticky:not([hidden]) {
    display: flex;
  }
}

/* Телефоны и узкие окна: iOS, Android и десктопный браузер */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.site-header {
  position: sticky;
  top: 0;
  padding-top: env(safe-area-inset-top);
}

img,
video,
svg,
canvas {
  max-width: 100%;
}

table,
pre {
  max-width: 100%;
}

.feed-table,
.chars-table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 720px) {
  .container {
    width: min(var(--max), calc(100% - 1.25rem));
  }

  input,
  select,
  textarea,
  .header-search__input,
  .form input,
  .form select,
  .form textarea {
    font-size: 16px;
  }

  .logo {
    flex: 0 0 auto;
    min-width: max-content;
    overflow: visible;
  }

  .logo-name {
    overflow: visible;
    max-width: none;
  }

  .nav-links a,
  .chip,
  .add-btn,
  .btn,
  .qty button {
    min-height: 44px;
  }

  .add-btn,
  .btn {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }

  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: -0.15rem;
    padding-inline: 0.15rem 0.4rem;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex: 0 0 auto;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .pill-link {
    white-space: normal;
  }

  .cta-row,
  .home-hero .cta-row,
  .info-hero .cta-row,
  .wholesale-hero .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-row .btn,
  .home-hero .cta-row .btn,
  .info-hero .cta-row .btn,
  .wholesale-hero .cta-row .btn {
    width: 100%;
  }

  .summary,
  [data-cart-summary] {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .header-help__panel,
  .header-search__panel {
    min-width: 0;
    max-width: calc(100vw - 1.5rem - env(safe-area-inset-left) - env(safe-area-inset-right));
  }

  .nav-links {
    max-height: min(70dvh, 28rem);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .checkout-sticky {
    padding-bottom: calc(0.85rem + env(safe-area-inset-bottom));
  }

  .cookie-banner {
    left: max(0.75rem, env(safe-area-inset-left));
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
  }

  .toast {
    left: max(0.75rem, env(safe-area-inset-left));
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: calc(1rem + env(safe-area-inset-bottom));
    width: auto;
    max-width: none;
    transform: translateY(120%);
    text-align: center;
  }

  .toast.show {
    transform: translateY(0);
  }

  .site-footer {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 900px) and (max-height: 500px) {
  .home-hero__plane,
  .info-hero__plane--photo,
  .wholesale-hero__plane--photo {
    min-height: 220px;
    max-height: 300px;
    aspect-ratio: 16 / 8;
  }
}
