@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap&subset=cyrillic");

:root {
  --site-header-offset: 0px;
  --red: #c85a69;
  --red-dark: #a33f4d;
  --blue: #315f93;
  --blue-bright: #6aa8df;
  --ink: #141521;
  --paper: #f7f6f2;
  --white: #fff;
  --mist: #edf6ff;
  --stone: #d6e5f2;
  --sage: #879a87;
  --line: rgba(49, 95, 147, 0.2);
  --muted: #676979;
  --blue-soft: #dceeff;
  --blue-soft-strong: #b8d8f3;
  --blue-ice: #f4f9ff;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page: min(1360px, calc(100% - 48px));
  --radius: 24px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --pill: 999px;
  --shadow: 0 18px 46px rgba(20, 21, 33, 0.1);
  --shadow-heavy: 0 24px 70px rgba(20, 21, 33, 0.24);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  background: var(--white);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--white);
  font: 16px/1.5 var(--sans);
  letter-spacing: 0;
}

body.is-overlay-open {
  overflow: hidden;
}

button,
a,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.news-feed-block {
  min-height: 100vh;
  padding-bottom: 72px;
  background: var(--white);
}

.sticky-sentinel {
  height: 1px;
}

.feed-navigation {
  position: sticky;
  top: var(--site-header-offset);
  z-index: 20;
  border-bottom: 1px solid rgba(20, 21, 33, 0.12);
  background: color-mix(in srgb, var(--white) 94%, transparent);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.feed-navigation.is-stuck {
  border-color: rgba(22, 48, 116, 0.22);
  background: color-mix(in srgb, var(--white) 96%, transparent);
  box-shadow: 0 18px 42px rgba(20, 21, 33, 0.12);
}

.feed-navigation__inner,
.feed-area {
  width: min(100%, 1840px);
  margin: 0 auto;
}

.feed-navigation__inner {
  display: grid;
  padding: 18px 46px 17px;
  background:
    linear-gradient(90deg, rgba(106, 168, 223, 0.14) 1px, transparent 1px) 0 0 / 86px 86px,
    var(--white);
}

.feed-navigation.is-stuck .feed-navigation__inner {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 9px;
  padding-top: 9px;
  padding-bottom: 9px;
  background: transparent;
}

.feed-navigation__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.feed-navigation__row + .feed-navigation__row {
  margin-top: 10px;
}

.feed-navigation.is-stuck .feed-navigation__row + .feed-navigation__row {
  margin-top: 0;
}

.feed-navigation__compact {
  display: none;
  align-items: center;
  gap: 7px;
}

.feed-navigation.is-stuck .feed-navigation__compact {
  display: inline-flex;
}

.nav-compact-toggle {
  appearance: none;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(49, 95, 147, 0.24);
  border-radius: 50%;
  color: var(--blue);
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.96), transparent 34%),
    linear-gradient(145deg, #f8fcff, #dceeff);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 22px rgba(49, 95, 147, 0.12);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.nav-compact-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(49, 95, 147, 0.38);
  box-shadow: 0 14px 28px rgba(49, 95, 147, 0.16);
}

.nav-compact-toggle__chevron {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -2px);
  transition: transform 160ms ease;
}

.feed-navigation.show-extra .nav-compact-toggle__chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

.feed-navigation__row--types {
  gap: 7px;
}

.feed-navigation.is-stuck .feed-navigation__row--types {
  display: none;
}

.feed-navigation.is-stuck .feed-navigation__row--categories {
  min-width: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 2px 2px 3px;
  scrollbar-width: none;
}

.feed-navigation.is-stuck .feed-navigation__row--categories::-webkit-scrollbar {
  display: none;
}

.feed-navigation.is-stuck.show-extra .feed-navigation__row--categories {
  grid-column: 1 / -1;
  flex-wrap: wrap;
  overflow: visible;
  padding: 3px 0 0;
}

.feed-navigation__row--tags {
  gap: clamp(22px, 2.2vw, 34px);
  padding-top: 4px;
}

.feed-navigation.is-stuck .feed-navigation__row--tags {
  display: none;
}

.feed-navigation.is-stuck.show-extra .feed-navigation__row--tags {
  grid-column: 1 / -1;
  display: flex;
  padding: 10px 2px 2px;
  border-top: 1px solid rgba(20, 21, 33, 0.1);
}

.nav-chip {
  appearance: none;
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  color: var(--ink);
  background: var(--white);
  line-height: 1;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.nav-chip:focus-visible,
.nav-compact-toggle:focus-visible,
.tag-link:focus-visible,
.post-card__media-link:focus-visible,
.post-card__title a:focus-visible,
.post-card__store:focus-visible,
.catalog-card__media:focus-visible,
.catalog-card__title a:focus-visible,
.catalog-card__cta:focus-visible,
.primary-action:focus-visible,
.secondary-action:focus-visible,
.overlay-close:focus-visible,
.detail-gallery__nav:focus-visible,
.detail-thumbs__item:focus-visible,
.detail-store:focus-visible,
.order-form input:focus-visible,
.order-form select:focus-visible,
.order-form textarea:focus-visible {
  outline: 3px solid rgba(49, 85, 231, 0.22);
  outline-offset: 3px;
}

.nav-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(49, 95, 147, 0.36);
  box-shadow: var(--shadow);
}

.nav-chip--major {
  min-height: 30px;
  position: relative;
  gap: 7px;
  padding: 0 11px;
  border-color: color-mix(in srgb, var(--type-color) 18%, #d9e4ee);
  border-radius: 10px;
  color: color-mix(in srgb, var(--type-color) 55%, #5f6673);
  background: #f8fbfe;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  box-shadow: none;
}

.nav-chip--major::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: none;
  opacity: 0.42;
  transition: opacity 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.nav-chip--violet {
  --type-color: #4f9a68;
  --type-fill: #67b982;
  --type-fill-dark: #438a5b;
  --type-soft: #edf8f0;
}

.nav-chip--red {
  --type-color: #c85a69;
  --type-fill: #d86675;
  --type-fill-dark: #aa3f50;
  --type-soft: #fff0f2;
}

.nav-chip--dark {
  --type-color: #496f9d;
  --type-fill: #6e9bc9;
  --type-fill-dark: #315f93;
  --type-soft: #edf6ff;
}

.nav-chip--major:not(.is-active) {
  color: color-mix(in srgb, var(--type-color) 36%, #707787);
  border-color: color-mix(in srgb, var(--type-color) 17%, #dce6ef);
  background: #fbfdff;
  box-shadow: none;
}

.nav-chip--major:not(.is-active)::before {
  opacity: 0.22;
}

.nav-chip--major.is-active {
  color: var(--white);
  border-color: transparent;
  background: var(--type-fill-dark);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--type-fill-dark) 24%, transparent);
}

.nav-chip--major.is-active::before {
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
  opacity: 1;
}

.nav-chip--category {
  min-height: 38px;
  padding: 0 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.nav-chip--category.is-active {
  color: #204a77;
  border-color: var(--blue-soft-strong);
  background: var(--blue-soft);
  box-shadow: 0 10px 28px rgba(49, 95, 147, 0.12);
}

.nav-chip--category.is-active .nav-chip__count {
  color: #315f93;
  border-color: transparent;
  background: transparent;
}

.nav-chip__count {
  min-width: 0;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
}

.nav-chip--extra {
  display: inline-flex;
}

.nav-chip--more {
  display: none;
}

.nav-chip--more::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -2px);
  transition: transform 160ms ease;
}

.feed-navigation.show-extra .nav-chip--more::after {
  transform: rotate(225deg) translate(-1px, -1px);
}

.feed-navigation.is-stuck .nav-chip--more {
  display: inline-flex;
  border-color: rgba(49, 85, 231, 0.24);
  color: var(--blue);
  background: color-mix(in srgb, var(--blue-bright) 7%, var(--white));
}

.feed-navigation.is-stuck:not(.show-extra) .feed-navigation__row--categories .nav-chip--category:nth-of-type(n+7):not(.is-active):not(.nav-chip--more) {
  display: none;
}

.feed-navigation.is-stuck:not(.show-extra) .nav-chip--extra:not(.is-active) {
  display: none;
}

.feed-navigation.is-stuck .nav-chip {
  min-height: 36px;
  padding-inline: 13px;
}

.feed-navigation.is-stuck .nav-chip--major {
  min-height: 30px;
}

.feed-navigation.is-stuck .nav-chip__count {
  min-width: 25px;
  height: 22px;
  font-size: 12px;
}

.tag-link {
  appearance: none;
  border: 0;
  padding: 6px 0 7px;
  color: var(--ink);
  background: transparent;
  font-family: var(--serif);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-transform: none;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.tag-link:hover,
.tag-link.is-active {
  color: var(--blue);
  border-color: currentColor;
}

.tag-link:hover {
  transform: translateY(-1px);
}

.tag-link--compact-store {
  display: none;
}

.feed-navigation.is-stuck .tag-link--compact-store {
  display: none !important;
  align-self: center;
  justify-self: end;
  padding: 6px 0 7px;
  color: var(--ink);
  border-color: currentColor;
  white-space: nowrap;
}

.feed-navigation.is-stuck.show-extra .tag-link--compact-store {
  display: none;
}

.feed-area {
  padding: 28px 46px 0;
}

.feed-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 18px;
}

.feed-toolbar__count {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 6px;
  gap: clamp(14px, 1.2vw, 20px);
  align-items: start;
}

.post-card {
  grid-column: span 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease, background-color 190ms ease;
}

.post-card:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 21, 33, 0.32);
  box-shadow: var(--shadow);
}

.post-card.is-hidden {
  display: none;
}

.post-card__media-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.post-card__media {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--mist);
}

.post-card--short .post-card__media {
  aspect-ratio: 4 / 5;
}

.post-card__media::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: var(--radius-sm);
  opacity: 0;
  transition: opacity 190ms ease;
}

.post-card:hover .post-card__media::after {
  opacity: 1;
}

.post-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 620ms ease, filter 220ms ease;
}

.post-card--focus-top .post-card__image {
  object-position: center top;
}

.post-card:hover .post-card__image {
  transform: scale(1.02);
  filter: contrast(1.02) saturate(1.02);
}

.post-card__type {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 10px;
  min-height: 23px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 8px 0 6px;
  border: 1px solid color-mix(in srgb, var(--type-badge) 28%, rgba(255, 255, 255, 0.42));
  border-radius: var(--pill);
  color: var(--type-badge);
  background: color-mix(in srgb, var(--type-badge) 13%, rgba(255, 255, 255, 0.78));
  backdrop-filter: blur(12px);
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.92;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--type-badge) 11%, transparent);
  transition: opacity 160ms ease, transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.post-card__type svg {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.post-card__type--new {
  --type-badge: #438a5b;
}

.post-card__type--sale {
  --type-badge: #aa3f50;
}

.post-card__type--news {
  --type-badge: #315f93;
}

.post-card:hover .post-card__type,
.post-card__media-link:focus-visible .post-card__type {
  opacity: 1;
  color: var(--white);
  background: var(--type-badge);
  transform: translateY(-1px);
}

.post-card__date-badge {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--pill);
  color: rgba(20, 21, 33, 0.72);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.post-card__media-link:hover .post-card__date-badge,
.post-card__media-link:focus-visible .post-card__date-badge {
  opacity: 1;
  transform: translateY(0);
}

.post-card__media-actions {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 28px;
  display: flex;
  gap: 6px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.post-card:hover .post-card__media-actions,
.post-card__media-link:focus-visible .post-card__media-actions {
  opacity: 1;
  transform: translateY(0);
}

.post-card__media-action {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: rgba(20, 21, 33, 0.76);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 20px rgba(20, 21, 33, 0.1);
}

.post-card__media-action--cart {
  color: #315f93;
}

.post-card__media-action svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.post-card__frames {
  position: absolute;
  z-index: 3;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 5px;
}

.post-card__frame-dot {
  height: 3px;
  flex: 1;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.4);
}

.post-card__frame-dot.is-active {
  background: var(--white);
}

.post-card__body {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  padding: 17px 16px 18px;
}

.post-card__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}

.post-card__store {
  appearance: none;
  position: relative;
  max-width: 100%;
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  border: 1px solid rgba(49, 95, 147, 0.2);
  border-radius: var(--pill);
  color: #546278;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(237, 246, 255, 0.72));
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.post-card__store::after {
  content: "";
  position: absolute;
  top: -70%;
  bottom: -70%;
  left: -60%;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), transparent);
  opacity: 0;
  transform: rotate(18deg);
  pointer-events: none;
}

.post-card__store:hover {
  transform: translateY(-1px);
  color: var(--blue);
  border-color: rgba(49, 95, 147, 0.34);
  background: rgba(244, 249, 255, 0.98);
  box-shadow: 0 8px 18px rgba(49, 95, 147, 0.08);
}

.post-card__store.is-contact-active {
  color: var(--white);
  border-color: rgba(49, 95, 147, 0.5);
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.24), transparent 36%),
    linear-gradient(145deg, #6aa8df, #315f93);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 20px rgba(49, 95, 147, 0.16);
}

.post-card__store:hover::after {
  animation: store-glimmer 1180ms ease;
}

@keyframes store-glimmer {
  0% {
    left: -60%;
    opacity: 0;
  }

  28% {
    opacity: 0.6;
  }

  100% {
    left: 130%;
    opacity: 0;
  }
}

.store-contact {
  margin: -4px 0 13px;
  padding: 8px;
  border: 1px solid rgba(49, 95, 147, 0.16);
  border-radius: 17px;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.94), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(244, 249, 255, 0.84));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 30px rgba(49, 95, 147, 0.09);
  backdrop-filter: blur(16px);
}

.store-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.store-contact__action {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 1px solid rgba(49, 95, 147, 0.16);
  border-radius: var(--pill);
  color: #315f93;
  background: rgba(255, 255, 255, 0.76);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.store-contact__action:hover {
  transform: translateY(-1px);
  color: var(--white);
  border-color: rgba(49, 95, 147, 0.38);
  background: var(--blue);
}

.post-card__title {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(23px, 1.7vw, 31px);
  font-weight: 400;
  line-height: 0.98;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.post-card__title a {
  color: inherit;
  text-decoration: none;
}

.post-card__text {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.48;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.product-promo {
  border-color: rgba(49, 95, 147, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 255, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 12px 26px rgba(49, 95, 147, 0.08);
}

.product-promo:hover {
  border-color: rgba(49, 95, 147, 0.32);
  box-shadow: 0 20px 42px rgba(49, 95, 147, 0.14);
}

.catalog-card {
  overflow: hidden;
}

.catalog-card__media {
  display: block;
  padding: 12px 12px 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(106, 168, 223, 0.15), transparent 42%),
    linear-gradient(180deg, #f8fbff, #fff);
  color: inherit;
  text-decoration: none;
}

.catalog-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(49, 95, 147, 0.14);
  border-radius: 18px;
  background: var(--white);
  object-fit: cover;
  object-position: center;
  transition: transform 420ms ease;
}

.product-promo:hover .catalog-card__image {
  transform: scale(1.015);
}

.catalog-card__body {
  display: grid;
  gap: 10px;
  padding: 13px 14px 15px;
}

.catalog-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.catalog-card__eyebrow,
.catalog-card__sku {
  margin: 0;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.catalog-card__eyebrow {
  min-width: 0;
  color: var(--red-dark);
  letter-spacing: 0.11em;
}

.catalog-card__sku {
  flex: 0 0 auto;
  padding: 4px 6px;
  border: 1px solid rgba(49, 95, 147, 0.14);
  border-radius: var(--pill);
  color: var(--blue);
  background: var(--blue-ice);
  letter-spacing: 0.05em;
}

.catalog-card__title {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(22px, 1.42vw, 28px);
  font-weight: 400;
  line-height: 0.96;
}

.catalog-card__title a {
  color: inherit;
  text-decoration: none;
}

.catalog-card__text {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.42;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.catalog-card__meta {
  display: grid;
  gap: 4px;
  padding-top: 2px;
}

.catalog-card__meta strong,
.catalog-card__meta span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-card__meta strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.catalog-card__meta span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
}

.catalog-card__cta {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(49, 95, 147, 0.2);
  border-radius: var(--pill);
  color: var(--blue);
  background: var(--blue-ice);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.catalog-card__cta:hover {
  transform: translateY(-1px);
  color: var(--white);
  background: var(--blue);
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 280px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--white);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
}

.empty-state.is-visible {
  display: flex;
  grid-row: span 48;
}

.post-drawer,
.order-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  pointer-events: none;
}

.post-drawer__backdrop,
.order-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 21, 33, 0.58);
  opacity: 0;
  transition: opacity 180ms ease;
}

.post-drawer.is-open,
.order-modal.is-open {
  pointer-events: auto;
}

.post-drawer.is-open .post-drawer__backdrop,
.order-modal.is-open .order-modal__backdrop {
  opacity: 1;
}

.post-drawer__panel {
  position: relative;
  width: min(1380px, calc(100vw - 32px));
  height: calc(100vh - 32px);
  min-height: 0;
  align-self: center;
  justify-self: end;
  margin-right: 16px;
  display: grid;
  grid-template-columns: minmax(420px, 0.96fr) minmax(500px, 1.04fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(120deg, rgba(22, 48, 116, 0.06), transparent 38%),
    var(--paper);
  box-shadow: var(--shadow-heavy);
  opacity: 0;
  transform: translateX(34px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: auto;
}

.post-drawer.is-open .post-drawer__panel {
  opacity: 1;
  transform: translateX(0);
}

.overlay-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: color-mix(in srgb, var(--white) 92%, transparent);
  box-shadow: var(--shadow);
  font-size: 26px;
  line-height: 38px;
}

.post-drawer__media {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
  padding: clamp(18px, 2vw, 30px);
  background:
    radial-gradient(circle at 18% 12%, rgba(222, 13, 26, 0.08), transparent 28%),
    linear-gradient(90deg, rgba(22, 48, 116, 0.08) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--paper);
}

.detail-gallery {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 9 / 16;
  justify-self: center;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: var(--white);
  box-shadow: 0 20px 46px rgba(20, 21, 33, 0.12);
}

.detail-gallery__image,
.detail-gallery__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-gallery__video {
  background: var(--ink);
}

.detail-gallery__counter {
  position: absolute;
  left: 14px;
  bottom: 14px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--pill);
  color: var(--white);
  background: rgba(20, 21, 33, 0.74);
  backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.detail-gallery__nav {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: color-mix(in srgb, var(--white) 92%, transparent);
  box-shadow: var(--shadow);
  font-size: 34px;
  line-height: 36px;
  transform: translateY(-50%);
}

.detail-gallery__nav--prev {
  left: 14px;
}

.detail-gallery__nav--next {
  right: 14px;
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(62px, 1fr));
  gap: 8px;
}

.detail-thumbs__item {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  aspect-ratio: 9 / 16;
  opacity: 0.58;
  transition: opacity 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.detail-thumbs__item:hover,
.detail-thumbs__item.is-active {
  opacity: 1;
  border-color: var(--red);
}

.detail-thumbs__item:hover {
  transform: translateY(-1px);
}

.detail-thumbs__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-thumbs__label {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 7px;
  display: inline-flex;
  justify-content: center;
  min-height: 22px;
  align-items: center;
  border-radius: var(--pill);
  color: var(--white);
  background: rgba(20, 21, 33, 0.76);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-drawer__content {
  min-width: 0;
  overflow-y: auto;
  padding: clamp(38px, 3.4vw, 62px) clamp(30px, 3.2vw, 52px) 44px;
  background: color-mix(in srgb, var(--white) 68%, transparent);
  scrollbar-gutter: stable;
}

.post-drawer__kicker,
.order-modal__kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.post-drawer h2,
.order-modal h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(38px, 3.4vw, 64px);
  font-weight: 400;
  line-height: 0.95;
}

.post-drawer__lead {
  margin: 18px 0 0;
  color: var(--muted);
  max-width: 720px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.62;
}

.detail-stores {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
}

.detail-store {
  min-width: 0;
  min-height: 64px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--white);
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.detail-store:hover {
  transform: translateY(-1px);
  border-color: rgba(22, 48, 116, 0.34);
  background: var(--white);
  box-shadow: var(--shadow);
}

.detail-store span,
.detail-store small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-store span {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.detail-store small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.post-drawer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.primary-action,
.secondary-action {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--pill);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-action {
  min-width: 178px;
  border: 1px solid var(--red);
  color: var(--white);
  background: var(--red);
  box-shadow: 0 16px 36px rgba(222, 13, 26, 0.18);
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.primary-action:hover {
  transform: translateY(-1px);
  background: var(--red-dark);
  box-shadow: 0 20px 42px rgba(222, 13, 26, 0.24);
}

.secondary-action {
  min-width: 158px;
  padding: 0 18px;
  border: 1px solid var(--blue);
  color: var(--blue);
  background: var(--white);
}

.catalog-preview {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(20, 21, 33, 0.06);
}

.catalog-preview__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.catalog-preview__head p {
  margin: 0;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.catalog-action {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--blue);
  border-radius: var(--pill);
  color: var(--blue);
  background: color-mix(in srgb, var(--blue) 5%, var(--white));
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.catalog-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.product-preview-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--paper);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.product-preview-card:hover {
  transform: translateY(-1px);
  border-color: rgba(22, 48, 116, 0.34);
  box-shadow: var(--shadow);
}

.product-preview-card img {
  width: 64px;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-xs);
  object-fit: cover;
  background: var(--white);
}

.product-preview-card__body {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.product-preview-card strong,
.product-preview-card small {
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-preview-card strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
}

.product-preview-card small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.post-drawer__body {
  max-width: 760px;
  margin-top: 30px;
}

.detail-section {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.detail-section + .detail-section {
  margin-top: 28px;
}

.detail-section h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(26px, 2vw, 34px);
  font-weight: 400;
  line-height: 1;
}

.detail-section p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.74;
}

.detail-section video {
  display: block;
  width: min(100%, 360px);
  aspect-ratio: 9 / 16;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
  object-fit: cover;
}

.order-modal {
  place-items: center;
  z-index: 90;
}

.order-modal__dialog {
  position: relative;
  width: min(540px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-heavy);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: auto;
}

.order-modal.is-open .order-modal__dialog {
  opacity: 1;
  transform: translateY(0);
}

.order-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.order-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
}

.order-form input,
.order-form select {
  min-height: 50px;
  padding: 0 14px;
}

.order-form textarea {
  min-height: 118px;
  padding: 13px 14px;
  line-height: 1.45;
  resize: vertical;
}

.primary-action--wide {
  width: 100%;
  margin-top: 4px;
}

.order-form__success {
  margin: 0;
  padding: 13px 14px;
  border: 1px solid rgba(65, 98, 73, 0.2);
  border-radius: var(--radius-sm);
  color: #36543d;
  background: color-mix(in srgb, var(--sage) 18%, var(--white));
  font-size: 13px;
  font-weight: 800;
  line-height: 1.44;
}

@media (max-width: 1590px) {
  .posts-grid {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }
}

@media (max-width: 1220px) {
  .feed-navigation__inner,
  .feed-area {
    padding-left: 26px;
    padding-right: 26px;
  }

  .posts-grid {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }

  .post-drawer__panel {
    width: min(1060px, calc(100vw - 28px));
    height: calc(100vh - 28px);
    margin-right: 14px;
    grid-template-columns: minmax(360px, 0.92fr) minmax(360px, 1fr);
  }

  .post-drawer__content {
    padding: 46px 28px 30px;
  }

  .catalog-preview__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-preview-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .product-preview-card img {
    width: 58px;
  }
}

@media (max-width: 1040px) {
  .posts-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .feed-navigation__inner {
    padding: 14px 16px 12px;
  }

  .feed-navigation.is-stuck .feed-navigation__inner {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .feed-navigation__row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .feed-navigation:not(.is-stuck) .feed-navigation__row {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .feed-navigation.is-stuck .feed-navigation__inner {
    grid-template-columns: 1fr;
    row-gap: 7px;
  }

  .feed-navigation.is-stuck .feed-navigation__compact {
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .feed-navigation.is-stuck .tag-link--compact-store {
    display: none;
  }

  .feed-navigation.is-stuck .feed-navigation__compact::-webkit-scrollbar {
    display: none;
  }

  .feed-navigation.is-stuck.show-extra .feed-navigation__row--categories,
  .feed-navigation.is-stuck.show-extra .feed-navigation__row--tags {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .feed-navigation__row::-webkit-scrollbar {
    display: none;
  }

  .feed-navigation__row--tags {
    gap: 20px;
  }

  .nav-chip--major {
    min-height: 39px;
    padding: 0 14px;
    font-size: 12px;
  }

  .nav-chip--category {
    min-height: 38px;
    padding: 0 13px;
    font-size: 13px;
  }

  .nav-chip__count {
    min-width: 0;
    height: auto;
    font-size: 12px;
  }

  .tag-link {
    font-size: 12px;
  }

  .feed-area {
    padding: 26px 16px 0;
  }

  .posts-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .post-card {
    grid-column: span 2;
  }

  .post-card__title {
    font-size: 24px;
  }

  .post-drawer__panel {
    width: calc(100vw - 16px);
    height: calc(100vh - 16px);
    justify-self: center;
    margin: 8px;
    border-radius: var(--radius);
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    overflow-y: auto;
  }

  .post-drawer__media {
    min-height: auto;
    padding: 14px;
  }

  .detail-gallery {
    width: min(100%, 420px);
  }

  .detail-gallery__image,
  .detail-gallery__video {
    min-height: 0;
    aspect-ratio: 9 / 16;
  }

  .detail-thumbs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .post-drawer__content {
    overflow: visible;
    padding: 24px 18px 34px;
  }

  .post-drawer h2,
  .order-modal h2 {
    font-size: 38px;
  }

  .post-drawer__lead {
    font-size: 16px;
  }

  .detail-stores {
    grid-template-columns: 1fr;
  }

  .catalog-preview__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .overlay-close {
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 560px) {
  .posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-card {
    grid-column: span 2;
  }

  .post-card__title {
    font-size: 30px;
  }

  .post-drawer__actions {
    flex-direction: column;
  }

  .primary-action,
  .secondary-action,
  .catalog-action {
    width: 100%;
  }

  .catalog-preview {
    padding: 14px;
  }

  .catalog-preview__head {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-preview__grid {
    grid-template-columns: 1fr;
  }

  .product-preview-card {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .product-preview-card img {
    width: 70px;
  }

  .order-modal__dialog {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    min-height: calc(100vh - 16px);
    border-radius: var(--radius);
    padding: 30px 18px;
  }
}
