@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Literata:ital,opsz,wght@0,7..72,400..800;1,7..72,400..800&display=swap&subset=cyrillic");

:root {
  --site-header-offset: 0px;
  --red: #de0d1a;
  --red-dark: #aa0913;
  --blue: #163074;
  --blue-bright: #3155e7;
  --ink: #141521;
  --paper: #f7f6f2;
  --white: #fff;
  --mist: #edf6ff;
  --stone: #d6e5f2;
  --sage: #879a87;
  --line: rgba(20, 21, 33, 0.16);
  --muted: #676979;
  --blue-soft: #e8ebf4;
  --blue-soft-strong: #d8d5ce;
  --blue-ice: #f7f6f2;
  --serif: "Literata", 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 {
  min-width: 0;
  padding: 18px 46px 17px;
  background: var(--white);
}

.feed-navigation.is-stuck .feed-navigation__inner {
  padding-top: 9px;
  padding-bottom: 9px;
  background: transparent;
}

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

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

.feed-navigation__row--categories {
  min-width: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 2px 2px 5px;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.feed-navigation__row--tags {
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
  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: 36px;
  position: relative;
  gap: 6px;
  padding: 0 12px;
  border-color: color-mix(in srgb, var(--type-color) 18%, #d9e4ee);
  border-radius: var(--pill);
  color: color-mix(in srgb, var(--type-color) 55%, #5f6673);
  background: var(--type-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: none;
}

.nav-chip__type-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-chip--violet {
  --type-color: #3f7450;
  --type-soft: #eaf4ed;
}

.nav-chip--red {
  --type-color: #a65c64;
  --type-soft: #f8eeee;
}

.nav-chip--dark {
  --type-color: #3c668f;
  --type-soft: #e9f1f8;
}

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

.nav-chip--major.is-active {
  color: var(--type-color);
  border-color: color-mix(in srgb, var(--type-color) 28%, #dce6ef);
  background: var(--type-soft);
  box-shadow: 0 5px 14px color-mix(in srgb, var(--type-color) 10%, transparent);
}

.nav-chip--major:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
  box-shadow: none;
}

.nav-chip--category {
  min-height: 36px;
  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;
}

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

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

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

.tag-link {
  appearance: none;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(49, 95, 115, 0.16);
  border-radius: var(--pill);
  padding: 0 11px;
  color: #536675;
  background: #f7fafb;
  font-family: var(--sans);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.tag-link:hover,
.tag-link.is-active {
  color: #315f73;
  border-color: rgba(49, 95, 115, 0.32);
  background: #eaf2f4;
}

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

.nav-chip--store-toggle {
  flex: 0 0 auto;
  min-height: 36px;
  color: #315f73;
  border-color: rgba(49, 95, 115, 0.2);
  background: #f1f6f7;
  font-size: 13px;
  font-weight: 800;
}

.nav-chip--store-toggle svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  stroke-width: 2;
}

.nav-chip--store-toggle .nav-chip__chevron {
  width: 13px;
  height: 13px;
  margin-left: 1px;
  transition: transform 160ms ease;
}

.nav-chip--store-toggle[aria-expanded="true"] .nav-chip__chevron {
  transform: rotate(180deg);
}

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

.feed-toolbar {
  display: none;
  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__video-badge {
  position: absolute;
  z-index: 3;
  left: 10px;
  top: 40px;
  min-height: 23px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--pill);
  color: rgba(255, 255, 255, 0.92);
  background: rgba(20, 21, 33, 0.52);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 22px rgba(20, 21, 33, 0.12);
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.88;
  transition: opacity 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.post-card__video-badge::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid currentColor;
}

.post-card:hover .post-card__video-badge,
.post-card__media-link:focus-visible .post-card__video-badge {
  opacity: 1;
  background: rgba(20, 21, 33, 0.72);
  transform: translateY(-1px);
}

.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--message-cart {
  width: 34px;
  height: 34px;
  gap: 0;
  color: #163074;
  background: rgba(255, 255, 255, 0.72);
}

.post-card__media-action--message-cart svg:first-child {
  width: 15px;
  height: 15px;
  transform: translateX(3px);
}

.post-card__media-action--message-cart svg:last-child {
  width: 16px;
  height: 16px;
  transform: translateX(-4px) translateY(3px);
}

.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: -3px 0 14px;
  padding: 9px;
  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: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.store-contact__action {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border: 1px solid rgba(49, 95, 147, 0.16);
  border-radius: var(--pill);
  color: #315f93;
  background: rgba(255, 255, 255, 0.76);
  font-size: 9.5px;
  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: 100vw;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  align-self: stretch;
  justify-self: stretch;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(520px, 0.96fr) minmax(560px, 1.04fr);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--white);
  box-shadow: var(--shadow-heavy);
  opacity: 0;
  transform: translateY(16px);
  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-columns: minmax(72px, 96px) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(12px, 1.2vw, 18px);
  padding: clamp(18px, 2.3vw, 36px);
  background: linear-gradient(180deg, #f7fbff, #fff);
}

.detail-gallery {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  width: auto;
  height: min(calc(100svh - 56px), 900px);
  max-width: min(100%, 620px);
  aspect-ratio: 9 / 16;
  justify-self: center;
  align-self: center;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  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 {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-auto-rows: minmax(74px, 112px);
  grid-template-columns: 1fr;
  align-content: start;
  gap: 7px;
  min-height: 0;
  max-height: calc(100svh - 72px);
  align-self: center;
  overflow-y: auto;
  padding-right: 3px;
  scrollbar-width: thin;
}

.detail-thumbs__item {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  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(34px, 3.2vw, 58px) clamp(34px, 3.8vw, 70px) 50px;
  background: var(--white);
  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(42px, 4vw, 76px);
  font-weight: 400;
  line-height: 0.95;
}

.post-drawer__lead {
  margin: 18px 0 0;
  color: var(--muted);
  max-width: 780px;
  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);
}

.attachments-preview {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 252, 255, 0.92)),
    repeating-linear-gradient(90deg, rgba(28, 85, 146, 0.055) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(0deg, rgba(28, 85, 146, 0.04) 0 1px, transparent 1px 38px);
  box-shadow: 0 14px 34px rgba(20, 21, 33, 0.05);
}

.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;
}

.attachments-preview__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.attachment-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  min-height: 122px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 255, 0.98));
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.attachment-card:hover {
  transform: translateY(-1px);
  border-color: rgba(222, 13, 26, 0.34);
  box-shadow: var(--shadow);
}

.attachment-card__sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100px;
  padding: 9px;
  overflow: hidden;
  border: 1px solid rgba(28, 85, 146, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0) 0 78%, rgba(222, 13, 26, 0.08) 78%),
    linear-gradient(180deg, var(--white), rgba(250, 252, 255, 0.98));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.attachment-card__sheet::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-left: 1px solid rgba(28, 85, 146, 0.14);
  border-bottom: 1px solid rgba(28, 85, 146, 0.14);
  border-bottom-left-radius: 9px;
  background: linear-gradient(135deg, rgba(232, 241, 251, 0.8), var(--white));
}

.attachment-card__type {
  width: max-content;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: var(--pill);
  color: var(--white);
  background: var(--red);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.attachment-card__number {
  color: rgba(14, 32, 63, 0.86);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 0.9;
}

.attachment-card__lines {
  display: grid;
  gap: 4px;
}

.attachment-card__lines span {
  display: block;
  height: 2px;
  border-radius: var(--pill);
  background: rgba(28, 85, 146, 0.16);
}

.attachment-card__lines span:nth-child(2) {
  width: 72%;
}

.attachment-card__lines span:nth-child(3) {
  width: 84%;
}

.attachment-card__lines span:nth-child(4) {
  width: 52%;
}

.attachment-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding-right: 4px;
}

.attachment-card__eyebrow {
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.attachment-card strong {
  overflow: hidden;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.05;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.attachment-card small {
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.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: 820px;
  margin-top: 34px;
}

.detail-section {
  padding-top: 30px;
  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(30px, 2.3vw, 42px);
  font-weight: 400;
  line-height: 1;
}

.detail-section p {
  margin: 16px 0 0;
  color: color-mix(in srgb, var(--ink) 74%, var(--muted));
  font-size: 17px;
  font-weight: 500;
  line-height: 1.82;
}

.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: 100vw;
    height: 100vh;
    height: 100svh;
    margin: 0;
    grid-template-columns: minmax(390px, 0.92fr) minmax(430px, 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.is-stuck .feed-navigation__inner {
    padding-left: 16px;
    padding-right: 16px;
  }

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

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

  .feed-navigation__row--tags {
    flex-wrap: wrap;
    gap: 7px;
  }

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

  .nav-chip--category {
    min-height: 36px;
    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: 100vw;
    height: 100vh;
    height: 100svh;
    justify-self: center;
    margin: 0;
    border-radius: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    overflow-y: auto;
  }

  .post-drawer__media {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    padding: 14px;
  }

  .detail-gallery {
    grid-column: 1;
    grid-row: 1;
    width: min(100%, 420px);
    height: auto;
  }

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

  .detail-thumbs {
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-rows: auto;
    overflow-y: visible;
    padding-right: 0;
  }

  .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));
  }

  .attachments-preview__grid {
    grid-template-columns: 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;
  }
}
/* Editorial popup v2: rounded viewer, media rail, and readable content column. */
:root {
  --editorial-blue-ice: #f1f7fc;
  --editorial-blue-line: rgba(45, 95, 143, 0.18);
  --editorial-red-soft: #fff1f1;
  --editorial-shadow: 0 28px 90px rgba(20, 42, 67, 0.22);
}

.post-drawer {
  padding: 18px;
  background: rgba(20, 32, 49, 0.62);
}

.post-drawer__backdrop {
  background: transparent;
  backdrop-filter: blur(9px);
}

.post-drawer__panel {
  width: min(1500px, calc(100vw - 36px));
  height: min(940px, calc(100svh - 36px));
  align-self: center;
  justify-self: center;
  grid-template-columns: minmax(520px, 0.98fr) minmax(430px, 0.82fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--editorial-shadow);
  transform: translateY(22px) scale(0.985);
}

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

.overlay-close {
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-color: rgba(45, 95, 143, 0.18);
  color: #173450;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(20, 42, 67, 0.12);
  font-size: 24px;
  line-height: 40px;
}

.post-drawer__media {
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(145deg, #f8fbfe 0%, var(--editorial-blue-ice) 100%);
}

.detail-thumbs {
  grid-column: 1;
  gap: 10px;
  grid-auto-rows: minmax(74px, 96px);
  max-height: calc(100% - 10px);
  align-self: center;
  padding: 4px 2px 4px 0;
}

.detail-thumbs__item {
  border: 1px solid var(--editorial-blue-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 6px 16px rgba(38, 75, 110, 0.05);
  opacity: 0.62;
}

.detail-thumbs__item:hover,
.detail-thumbs__item.is-active {
  border: 2px solid var(--red);
  box-shadow: 0 8px 20px rgba(222, 13, 26, 0.16);
  opacity: 1;
  transform: translateX(2px);
}

.detail-thumbs__item img {
  object-fit: cover;
}

.detail-thumbs__item img.is-fallback,
.detail-gallery__image.is-fallback {
  background:
    linear-gradient(135deg, rgba(229, 239, 248, 0.9), rgba(255, 255, 255, 0.96)),
    repeating-linear-gradient(135deg, rgba(45, 95, 143, 0.08) 0 1px, transparent 1px 16px);
}

.detail-thumbs__label {
  left: 6px;
  right: 6px;
  bottom: 6px;
  min-height: 20px;
  color: #173450;
  background: rgba(255, 255, 255, 0.88);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.detail-gallery {
  grid-column: 2;
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: auto;
  border: 1px solid rgba(45, 95, 143, 0.16);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(38, 75, 110, 0.13);
}

.detail-gallery__image,
.detail-gallery__video {
  object-fit: contain;
  background: #fff;
}

.detail-gallery__video {
  background: #172433;
}

.detail-gallery__counter {
  left: 16px;
  bottom: 16px;
  color: #173450;
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(20, 42, 67, 0.12);
}

.detail-gallery__nav {
  width: 46px;
  height: 46px;
  border-color: rgba(45, 95, 143, 0.18);
  color: #173450;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 22px rgba(20, 42, 67, 0.14);
  font-size: 30px;
  line-height: 40px;
}

.detail-gallery__nav--prev { left: 16px; }
.detail-gallery__nav--next { right: 16px; }

.post-drawer__content {
  padding: 66px clamp(28px, 3.2vw, 58px) 50px;
  background: #fff;
  scrollbar-color: rgba(45, 95, 143, 0.3) transparent;
}

.post-drawer__kicker {
  width: max-content;
  margin-bottom: 16px;
  padding: 7px 12px;
  border: 1px solid rgba(222, 13, 26, 0.18);
  border-radius: var(--pill);
  color: var(--red);
  background: var(--editorial-red-soft);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.post-drawer h2 {
  max-width: 700px;
  font-size: clamp(38px, 4vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.post-drawer__lead {
  max-width: 700px;
  margin-top: 20px;
  color: #627184;
  font-size: 17px;
  line-height: 1.58;
}

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

.detail-store {
  min-height: 70px;
  padding: 13px 15px;
  border-color: var(--editorial-blue-line);
  border-radius: 20px;
  background: #f8fbfe;
}

.detail-store:hover {
  border-color: rgba(222, 13, 26, 0.3);
  background: #fff;
  box-shadow: 0 10px 22px rgba(38, 75, 110, 0.1);
}

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

.primary-action,
.secondary-action {
  min-height: 48px;
  border-radius: 18px;
}

.primary-action {
  min-width: 168px;
}

.secondary-action {
  border-color: var(--editorial-blue-line);
  color: #24527c;
  background: #f8fbfe;
}

.catalog-preview,
.attachments-preview {
  border-color: var(--editorial-blue-line);
  border-radius: 24px;
  background: #f8fbfe;
  box-shadow: none;
}

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

.detail-section {
  padding-top: 26px;
  border-color: var(--editorial-blue-line);
}

.detail-section h3 {
  font-size: clamp(28px, 2.2vw, 40px);
}

.detail-section p {
  margin-top: 14px;
  color: #536273;
  font-size: 16px;
  line-height: 1.78;
}

@media (max-width: 900px) {
  .post-drawer {
    padding: 8px;
  }

  .post-drawer__panel {
    width: calc(100vw - 16px);
    height: calc(100svh - 16px);
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, auto) minmax(0, 1fr);
    border-radius: 26px;
  }

  .post-drawer__media {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 54svh) auto;
    gap: 12px;
    padding: 14px;
  }

  .detail-gallery {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
  }

  .detail-thumbs {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    max-width: 100%;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 0 4px;
  }

  .detail-thumbs__item {
    flex: 0 0 64px;
    height: 84px;
  }

  .detail-thumbs__item:hover,
  .detail-thumbs__item.is-active {
    transform: translateY(-2px);
  }

  .post-drawer__content {
    padding: 28px 20px 34px;
  }

  .post-drawer h2 {
    font-size: clamp(34px, 8vw, 52px);
  }
}

@media (max-width: 560px) {
  .post-drawer__panel {
    border-radius: 22px;
  }

  .post-drawer__media {
    grid-template-rows: minmax(0, 48svh) auto;
  }

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

  .detail-gallery__nav {
    width: 40px;
    height: 40px;
    font-size: 26px;
  }
}
