:root {
  --ed-black: #000000;
  --ed-white: #ffffff;
  --ed-cream: #f7f4ef;
  --ed-bordo: #3d0020;
  --ed-muted: #6b6560;
  --ed-serif: "Playfair Display", Georgia, serif;
  --ed-sans: "Manrope", system-ui, sans-serif;
  --ed-container: min(1280px, calc(100% - 32px));
}

.shop-journal-home {
  background: var(--ed-cream);
  color: var(--ed-black);
  font-family: var(--ed-sans);
}
.shop-journal-home .site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: linear-gradient(180deg, rgba(247,244,239,.94) 0%, rgba(247,244,239,.82) 100%);
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: blur(18px);
}
.shop-journal-home .site-header-inner {
  height: auto;
  min-height: 74px;
  padding: 14px 18px;
  max-width: 1380px;
  margin: 0 auto;
}
.shop-journal-home .mobile-menu-toggle {
  display: none;
  border: 1px solid rgba(61,0,32,.12);
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  width: 46px;
  height: 46px;
  box-shadow: 0 10px 24px rgba(61,0,32,.08);
}
.shop-journal-main { padding: 0; max-width: none; }

.ed-header {
  width: 100%;
  padding: 12px 16px 12px 20px;
  border: 1px solid rgba(61,0,32,.10);
  border-radius: 28px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 18px 48px rgba(61,0,32,.07);
}
.ed-header-desktop {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}
.ed-header-mobile {
  display: none;
}
.ed-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  gap: 12px;
  min-width: 184px;
  padding: 8px 16px 8px 10px;
  border: 1px solid rgba(61,0,32,.08);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(244,239,232,.96) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
  text-decoration: none;
  color: var(--ed-black);
}
.ed-logo-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 1px 0 rgba(255,255,255,.75), 0 6px 18px rgba(61,0,32,.08);
}
.ed-logo-wordmark {
  display: block;
  font-family: var(--ed-serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .08em;
  color: #3d0020;
  white-space: nowrap;
}
.ed-logo-lockup {
  display: block;
  width: 158px;
  height: auto;
}
.ed-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-self: center;
  padding: 5px;
  border: 1px solid rgba(61,0,32,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.54);
}
.ed-nav-link {
  text-decoration: none;
  color: var(--ed-black);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.ed-nav-link:hover {
  background: rgba(61,0,32,.06);
  transform: translateY(-1px);
}
.ed-nav-link.active {
  background: var(--ed-white);
  box-shadow: 0 8px 18px rgba(61,0,32,.08);
}
.ed-nav-mobile-extra { display: none; }
.ed-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(61,0,32,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.58);
}
.ed-btn {
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(61,0,32,.12);
  border-radius: 999px;
  color: var(--ed-black);
  background: rgba(255,255,255,.86);
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.ed-btn:hover {
  background: var(--ed-black);
  color: var(--ed-white);
  border-color: var(--ed-black);
  transform: translateY(-1px);
}
.ed-tg-only {
  background: var(--ed-black);
  border-color: var(--ed-black);
  color: var(--ed-white);
}
.ed-tg-only:hover {
  background: #2d2d2d;
  border-color: #2d2d2d;
}
.ed-icon-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  text-decoration: none;
  border: 1px solid rgba(61,0,32,.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ed-black);
  background: rgba(255,255,255,.92);
  white-space: nowrap;
  position: relative;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.ed-icon-btn:hover {
  background: rgba(61,0,32,.06);
  border-color: rgba(61,0,32,.18);
  transform: translateY(-1px);
}
.ed-icon-btn__glyph {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.ed-icon-btn__glyph svg {
  width: 20px;
  height: 20px;
  display: block;
}
.ed-icon-btn__label {
  line-height: 1;
}
.ed-mobile-icon-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ed-black);
  text-decoration: none;
}
.ed-mobile-icon-btn svg {
  width: 22px;
  height: 22px;
  display: block;
}
.ed-mobile-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--ed-black);
}
.ed-mobile-logo-wordmark {
  font-family: var(--ed-sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ed-mobile-logo-lockup {
  display: block;
  width: 132px;
  height: auto;
}
.ed-cabinet-only { display: none; }
body.shop-journal-home.has-personal-access .ed-cabinet-only { display: inline-flex; }
body.shop-journal-home.has-personal-access .ed-tg-only,
body.shop-journal-home.has-personal-access .ed-auth-only { display: none !important; }

/* Hero */
.ed-hero {
  position: relative;
  min-height: clamp(520px, 92vh, 900px);
  background: #111;
}
.ed-hero-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: inherit;
}
.ed-hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 260px;
}
.ed-hero-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(.72);
  transform: scale(1.02);
  transition: transform 8s ease;
}
.ed-hero:hover .ed-hero-panel img { transform: scale(1.06); }
.ed-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 24px 24px clamp(64px, 8vh, 128px);
  color: var(--ed-white);
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}
.ed-hero-overlay > * { pointer-events: auto; }
.ed-hero-kicker {
  margin-bottom: 12px;
  font-family: var(--ed-serif);
  font-size: clamp(18px, 2.1vw, 24px);
  font-style: italic;
  letter-spacing: .03em;
  opacity: .95;
}
.ed-hero h1 {
  margin: 0;
  font-family: var(--ed-serif);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: .06em;
}
.ed-hero-logo {
  display: block;
  width: min(620px, 78vw);
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,.24));
}
.ed-hero-sub {
  margin: 14px 0 0;
  font-family: var(--ed-serif);
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 400;
  letter-spacing: .05em;
}
.ed-hero-desc {
  margin: 12px auto 0;
  max-width: 420px;
  font-size: 15px;
  line-height: 1.65;
  opacity: .9;
}
.ed-hero-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.ed-metric {
  border: 1px solid rgba(255,255,255,.35);
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ed-cta {
  display: inline-block;
  margin-top: 22px;
  padding: 14px 28px;
  border: 1px solid var(--ed-white);
  color: var(--ed-white);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: background .2s, color .2s;
}
.ed-cta:hover { background: var(--ed-white); color: var(--ed-black); }
.ed-hero-actions {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  width: min(420px, 100%);
  margin-top: 22px;
}
.ed-hero-actions .ed-cta {
  box-sizing: border-box;
  margin-top: 0;
  text-align: center;
  width: 100%;
}
.ed-cta--fill {
  background: var(--ed-white);
  color: var(--ed-black);
}
.ed-cta--fill:hover {
  background: transparent;
  color: var(--ed-white);
}

/* New arrivals */
.ed-new-in {
  background: #f7f4ef;
  color: var(--ed-black);
}
.ed-new-in-wrap {
  width: min(560px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(44px, 8vw, 76px) 0;
}
.ed-new-in-count {
  margin: 0 0 10px;
  color: rgba(0,0,0,.48);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ed-new-in-title {
  margin: 0;
  font-family: var(--ed-serif);
  font-size: clamp(42px, 8vw, 62px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: .96;
}
.ed-new-in-text {
  max-width: 520px;
  margin: 16px 0 28px;
  color: rgba(0,0,0,.7);
  font-family: var(--ed-serif);
  font-size: clamp(16px, 3.7vw, 20px);
  line-height: 1.35;
}
.ed-new-in-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.ed-new-in-rail::-webkit-scrollbar { display: none; }
.ed-new-in-card {
  color: var(--ed-black);
  flex: 0 0 min(31%, 168px);
  min-width: 112px;
  scroll-snap-align: start;
  text-align: center;
  text-decoration: none;
}
.ed-new-in-card img {
  aspect-ratio: .8;
  background: #eee8e0;
  display: block;
  object-fit: cover;
  width: 100%;
}
.ed-new-in-card span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  line-height: 1.2;
  padding-top: 10px;
  text-transform: uppercase;
}
.ed-new-in-progress {
  background: rgba(0,0,0,.16);
  height: 2px;
  margin: 34px auto 30px;
  overflow: hidden;
  width: 92px;
}
.ed-new-in-progress::before {
  background: var(--ed-black);
  content: "";
  display: block;
  height: 100%;
  width: 34%;
}
.ed-new-in-cta {
  background: var(--ed-black);
  color: var(--ed-white);
  display: block;
  padding: 16px 22px;
  text-align: center;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ed-new-in-cta:hover { background: #333; }

/* Quote and compact stats */
.ed-hero-quote {
  background: #f1ebe2;
  color: var(--ed-bordo);
  border-top: 1px solid rgba(61,0,32,.08);
  border-bottom: 1px solid rgba(61,0,32,.08);
}
.ed-hero-quote blockquote {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(26px, 4vw, 44px) 0;
  font-family: var(--ed-serif);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: .01em;
  text-align: center;
}
.shop-journal-home .ed-section--stats {
  padding: clamp(18px, 3vw, 30px) 0;
}
.shop-journal-home .ed-section--stats .ed-wrap {
  width: min(820px, calc(100% - 32px));
}
.shop-journal-home .ed-section--stats .ed-about-stats--hero {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 0;
}
.shop-journal-home .ed-section--stats .ed-about-stat {
  padding: 12px 14px;
  text-align: center;
}
.shop-journal-home .ed-section--stats .ed-about-stat strong {
  font-size: clamp(18px, 2vw, 24px);
}

/* Sections */
.ed-wrap {
  width: var(--ed-container);
  margin: 0 auto;
}
.ed-section {
  padding: clamp(36px, 6vw, 64px) 0;
}
.ed-section--flush {
  padding: 0;
}
.ed-section--flush .ed-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
}
.ed-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.ed-section-title {
  margin: 0;
  font-family: var(--ed-serif);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  color: var(--ed-bordo);
  letter-spacing: .04em;
}
.ed-section-link {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ed-muted);
  text-decoration: none;
}
.ed-section-link:hover { color: var(--ed-black); }

/* Product grid (карточки — в base_shop.html) */
.ed-products-scroll {
  display: none;
}
.ed-selected-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.feed-autoload,
.feed-end {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  color: var(--ed-muted);
  font-weight: 700;
}
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(61,0,32,.16);
  border-top-color: var(--ed-bordo);
  border-radius: 999px;
  animation: ed-spin 1s linear infinite;
}
@keyframes ed-spin { to { transform: rotate(360deg); } }

/* Compact editorial rails */
.ed-square-section {
  overflow: hidden;
}
.ed-square-section--tint {
  background: #efe8df;
}
.ed-square-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(180px, 20vw, 244px);
  gap: 14px;
  overflow-x: auto;
  padding: 0 2px 12px;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  touch-action: pan-x pinch-zoom;
  -webkit-overflow-scrolling: touch;
}
.ed-square-card {
  position: relative;
  min-width: 0;
  color: var(--ed-black);
  text-decoration: none;
  scroll-snap-align: start;
}
.ed-square-card-media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #ddd4ca;
}
.ed-square-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.ed-square-card:hover .ed-square-card-media img {
  transform: scale(1.035);
}
.ed-square-card-body {
  padding: 11px 2px 0;
}
.ed-square-card-title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}
.ed-square-card-description {
  margin: 5px 0 0;
  color: var(--ed-muted);
  font-size: 12px;
  line-height: 1.45;
}
.ed-square-card-price {
  margin: 7px 0 0;
  color: var(--ed-bordo);
  font-size: 13px;
  font-weight: 800;
}
.ed-square-card--category .ed-square-card-body {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 42px 14px 14px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.72));
}
.ed-square-card--category .ed-square-card-title {
  font-family: var(--ed-serif);
  font-size: clamp(21px, 2.2vw, 29px);
  font-weight: 500;
}
.ed-square-empty {
  margin: 0;
  color: var(--ed-muted);
  font-size: 14px;
}

/* Promotion */
.ed-promo {
  position: relative;
  min-height: clamp(360px, 58vw, 680px);
  overflow: hidden;
  background: #171513;
  color: #fff;
}
.ed-promo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ed-promo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.62));
}
.ed-promo-content {
  position: absolute;
  left: 50%;
  bottom: clamp(30px, 7vw, 72px);
  z-index: 1;
  width: min(720px, calc(100% - 40px));
  text-align: center;
  transform: translateX(-50%);
}
.ed-promo-title {
  margin: 0 0 22px;
  font-family: var(--ed-serif);
  font-size: clamp(44px, 8vw, 92px);
  font-weight: 400;
  line-height: .9;
}
.ed-promo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid rgba(255,255,255,.86);
  color: #fff;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-decoration: none;
  text-transform: uppercase;
}
.ed-subcat-tile { aspect-ratio: 3 / 4; }
.ed-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.ed-catalog-grid--rail {
  grid-auto-flow: column;
}
.ed-catalog-grid .ed-cat-tile-name {
  font-size: clamp(18px, 1.95vw, 34px);
  line-height: 1.1;
  max-width: 100%;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.ed-catalog-grid .ed-cat-tile--empty {
  padding: clamp(16px, 1.8vw, 24px);
}

/* Editorial banner */
.ed-editorial {
  position: relative;
  min-height: clamp(320px, 42vw, 520px);
  overflow: hidden;
  margin-top: 12px;
}
.ed-editorial img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: clamp(320px, 42vw, 520px);
  filter: brightness(.85) saturate(.9);
}
.ed-editorial-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.7) 100%);
}
.ed-editorial-content {
  position: absolute;
  right: clamp(20px, 5vw, 64px);
  bottom: clamp(24px, 5vw, 56px);
  max-width: 420px;
  color: #fff;
  z-index: 1;
}
.ed-editorial-content h2 {
  margin: 0 0 8px;
  font-family: var(--ed-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
}
.ed-editorial-content p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
  opacity: .92;
}

/* Journal feed (сохранённый функционал) */
.ed-journal {
  background: var(--ed-cream);
  padding: 32px 0 48px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.ed-journal-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.ed-date-strip {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
}
.ed-date-strip span { color: var(--ed-muted); font-weight: 400; }
.ed-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  overflow: auto;
  overscroll-behavior-x: contain;
  touch-action: pan-x pinch-zoom;
  padding-bottom: 4px;
}
.ed-filter-chip {
  text-decoration: none;
  border-radius: 100px;
  border: 1px solid rgba(0,0,0,.14);
  background: #fff;
  color: var(--ed-black);
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
}
.ed-filter-chip.active {
  background: var(--ed-black);
  color: #fff;
  border-color: var(--ed-black);
}
.ed-journal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
}
.ed-feed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.ed-feed-card {
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
}
.ed-feed-media {
  position: relative;
  aspect-ratio: 1;
  background: #ece7df;
  overflow: hidden;
}
.ed-feed-media img { width: 100%; height: 100%; object-fit: cover; }
.ed-feed-timer {
  position: absolute;
  right: 8px;
  top: 8px;
  background: var(--ed-bordo);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
}
.ed-feed-body { padding: 10px; }
.ed-feed-name { font-size: 13px; font-weight: 500; line-height: 1.3; }
.ed-feed-price { margin-top: 6px; font-size: 14px; font-weight: 700; }

.ed-sidebar { display: grid; gap: 12px; position: sticky; top: 76px; }
.ed-widget {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  padding: 14px;
}
.ed-widget h3 {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
}
.ed-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.ed-stat {
  border: 1px solid rgba(0,0,0,.08);
  padding: 8px;
}
.ed-stat strong { display: block; font-size: 18px; }
.ed-stat span { font-size: 11px; color: var(--ed-muted); }
.ed-brand-quick-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.ed-brand-quick-link {
  font-size: 11px;
  color: var(--ed-muted);
  text-decoration: none;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ed-brand-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.ed-brand-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(0,0,0,.1);
  background: #f8f4ed;
  padding: 7px 8px;
  font-size: 11px;
  line-height: 1.2;
}
.ed-brand-chip:hover { background: #fff; border-color: rgba(0,0,0,.22); }
.ed-brand-chip-count { color: var(--ed-muted); font-size: 10px; }
.ed-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-top: 8px;
}
.ed-cal-wd {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--ed-muted);
}
.ed-day {
  text-align: center;
  padding: 6px 0;
  font-size: 11px;
  background: #f3efe8;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
}
.ed-day.out { opacity: .35; pointer-events: none; }
.ed-day.has-items { background: #e8ddd2; font-weight: 700; }
.ed-day.hot { background: #dcc9b8; }
.ed-day.today { outline: 1px solid var(--ed-bordo); }
.ed-day.selected { box-shadow: inset 0 0 0 2px var(--ed-bordo); }
.ed-calendar-panel {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  padding: clamp(18px, 3vw, 24px);
}
.ed-calendar-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.ed-calendar-date {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
}
.ed-calendar-count {
  font-size: 13px;
  color: var(--ed-muted);
}
.ed-blog-feature {
  background: var(--ed-cream);
  padding: clamp(92px, 14vw, 132px) 0 clamp(54px, 8vw, 88px);
}
.ed-blog-feature-card {
  position: relative;
  width: min(680px, calc(100% - 40px));
  margin: 0 auto;
  overflow: visible;
  background: var(--ed-white);
  color: var(--ed-black);
}
.ed-blog-feature-media,
.ed-blog-feature-media img,
.ed-blog-feature-media video {
  width: 100%;
  height: 100%;
}
.ed-blog-feature-media img {
  object-fit: cover;
  filter: saturate(.92) contrast(1.02);
}
.ed-blog-feature-media {
  position: relative;
  aspect-ratio: .77;
  overflow: hidden;
}
.ed-blog-feature-media video { display: block; object-fit: cover; }
.ed-blog-feature-body {
  position: relative;
  display: grid;
  gap: 16px;
  padding: clamp(28px, 6vw, 46px) clamp(20px, 5vw, 42px) clamp(34px, 6vw, 50px);
}
.ed-blog-feature-title {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 0;
  width: 100%;
  margin: 0;
  color: var(--ed-black);
  font-family: var(--ed-serif);
  font-size: clamp(56px, 14vw, 112px);
  line-height: .93;
  font-weight: 600;
  letter-spacing: -.07em;
  text-align: center;
  transform: translate(-50%, -52%);
}
.ed-blog-feature-heading {
  margin: 0;
  font-family: var(--ed-serif);
  font-size: clamp(30px, 6vw, 48px);
  line-height: 1.06;
  font-weight: 500;
}
.ed-blog-feature-text {
  margin: 0;
  max-width: 42ch;
  color: rgba(0,0,0,.68);
  font-size: 15px;
  line-height: 1.55;
}
.ed-blog-feature-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--ed-black);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  border-bottom: 1px solid var(--ed-black);
  padding-bottom: 4px;
}

/* Seasonal brands */
.ed-season-brands {
  background: var(--ed-cream);
  padding: clamp(42px, 7vw, 76px) 0;
  display: grid;
  justify-items: center;
}
.ed-season-brands-wrap {
  width: min(680px, calc(100vw - 40px));
  margin: 0;
}
.ed-season-brands-title {
  margin: 0 0 26px;
  font-family: var(--ed-serif);
  font-size: clamp(32px, 6vw, 50px);
  font-weight: 500;
  line-height: 1.04;
}
.ed-season-brands-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.ed-season-brands-rail::-webkit-scrollbar { display: none; }
.ed-season-brand-card {
  color: var(--ed-black);
  flex: 0 0 min(31%, 200px);
  min-width: 140px;
  scroll-snap-align: start;
  text-align: center;
  text-decoration: none;
}
.ed-season-brand-card img {
  aspect-ratio: .73;
  background: #e8e1d8;
  display: block;
  object-fit: cover;
  width: 100%;
}
.ed-season-brand-card span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  padding-top: 12px;
  text-transform: uppercase;
}

/* SP CLUB сейчас */
.ed-sp-live {
  background: var(--ed-white);
  padding: clamp(54px, 9vw, 92px) 0;
  text-align: center;
}
.ed-sp-live-wrap {
  width: min(680px, calc(100% - 40px));
  margin: 0 auto;
}
.ed-sp-live-title {
  margin: 0;
  font-family: var(--ed-serif);
  font-size: clamp(38px, 7vw, 58px);
  font-weight: 500;
  line-height: 1;
}
.ed-sp-live-count {
  margin: 10px 0 20px;
  color: var(--ed-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ed-sp-live-intro {
  max-width: 36ch;
  margin: 0 auto 28px;
  font-family: var(--ed-serif);
  font-size: clamp(19px, 3vw, 24px);
  line-height: 1.2;
}
.ed-sp-live-rail {
  display: flex;
  gap: 10px;
  margin: 0 calc((min(680px, calc(100% - 40px)) - 100vw) / 2) 26px;
  padding: 0 max(20px, calc((100vw - min(680px, calc(100% - 40px))) / 2));
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  text-align: left;
  -webkit-overflow-scrolling: touch;
}
.ed-sp-live-rail::-webkit-scrollbar { display: none; }
.ed-sp-live-card {
  flex: 0 0 min(42vw, 210px);
  min-width: 150px;
  color: var(--ed-black);
  scroll-snap-align: start;
  text-decoration: none;
}
.ed-sp-live-card img {
  aspect-ratio: .74;
  display: block;
  width: 100%;
  background: #eee8e0;
  object-fit: cover;
}
.ed-sp-live-card-brand,
.ed-sp-live-card-price {
  display: block;
}
.ed-sp-live-card-brand {
  margin-top: 11px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.ed-sp-live-card-price {
  margin-top: 5px;
  color: var(--ed-muted);
  font-size: 12px;
}
.ed-sp-live-progress {
  width: 92px;
  height: 2px;
  margin: 0 auto 28px;
  background: #d9d5cf;
}
.ed-sp-live-progress::before {
  content: "";
  display: block;
  width: 42%;
  height: 100%;
  background: var(--ed-black);
}
.ed-sp-live-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(280px, 100%);
  padding: 16px 28px;
  background: var(--ed-black);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}
.ed-quote-panel {
  background: linear-gradient(180deg, #faf6f0 0%, #f5ede4 100%);
  border: 1px solid rgba(61,0,32,.10);
  padding: clamp(20px, 3vw, 28px);
}
.ed-quote-kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ed-muted);
}
.ed-quote-text {
  margin: 0;
  padding-left: 18px;
  border-left: 3px solid var(--ed-bordo);
  font-family: var(--ed-serif);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  color: var(--ed-bordo);
}
.ed-mix { display: grid; gap: 10px; margin-top: 12px; grid-column: 1 / -1; }
.ed-mix-card {
  padding: 14px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
}
.ed-mix-diary { border-left: 3px solid var(--ed-bordo); background: #faf6f0; }
.ed-mix-media { background: var(--ed-bordo); color: #fff; }
.ed-mix-media .tag { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }

.mobile-calendar-entry { display: none; }
.mobile-calendar-entry summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid rgba(0,0,0,.1);
  background: #fff;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
}
.mobile-calendar-entry summary::-webkit-details-marker { display: none; }
.mobile-calendar-fab {
  display: none;
  position: fixed;
  left: 12px;
  right: auto;
  bottom: 20px;
  z-index: 1190;
  align-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--ed-black);
  color: #fff;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
}

/* Footer — тёмный блок в partial ed_shop_footer.html */
.shop-journal-home .ed-site-footer {
  margin-top: 0;
}
.shop-journal-home .scroll-top-button {
  background: var(--ed-black);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}
@media (max-width: 900px) {
  .shop-journal-home .scroll-top-button {
    right: 12px;
    bottom: 20px;
    width: 46px;
    height: 46px;
    font-size: 20px;
    z-index: 1200;
  }
}

@media (max-width: 1024px) {
  .ed-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-selected-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-journal-grid { grid-template-columns: 1fr; }
  .ed-sidebar { position: static; }
}
@media (max-width: 900px) {
  .ed-header {
    display: block;
    padding: 10px 12px;
    border-radius: 20px;
    background: rgba(255,255,255,.88);
  }
  .ed-header-desktop { display: none; }
  .shop-journal-home .ed-header .ed-header-mobile {
    display: flex !important;
    align-items: center;
    justify-content: space-between !important;
    position: relative;
    width: 100%;
  }
  .shop-journal-home .ed-header .ed-mobile-logo {
    left: 50%;
    position: absolute !important;
    transform: translateX(-50%);
  }
  .shop-journal-home .ed-header .ed-mobile-actions {
    align-items: center;
    display: flex !important;
    gap: 14px;
    position: relative;
    z-index: 1;
  }
  .shop-journal-home .mobile-menu-toggle { display: inline-flex !important; }
  .shop-journal-home .site-header-inner {
    min-height: 58px;
    padding: 10px 12px;
  }
  .ed-blog-feature-card { min-height: 520px; }
  .ed-blog-feature-body { max-width: 100%; }
  .ed-blog-feature-title { font-size: clamp(32px, 12vw, 68px); }
  .ed-blog-feature-heading { font-size: clamp(24px, 7vw, 42px); }
  .ed-blog-feature-text { font-size: 14px; }
  .ed-nav {
    display: none;
  }
  .ed-nav-mobile-extra { display: none; }
  .mobile-menu-toggle {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    flex: 0 0 auto;
  }
  .mobile-menu-toggle svg {
    width: 22px;
    height: 22px;
  }
  .ed-hero { min-height: auto; }
  .ed-hero-panels { grid-template-columns: 1fr; min-height: 220px; }
  .ed-hero-panel:last-child { display: none; }
  .ed-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.75) 100%);
    padding: 32px 20px 40px;
  }
  .ed-products { display: none; }
  .ed-selected-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .ed-products-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    touch-action: pan-x pinch-zoom;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .ed-products-scroll .ed-card {
    flex: 0 0 45vw;
    scroll-snap-align: start;
  }
  .ed-calendar-meta {
    flex-direction: column;
    align-items: flex-start;
  }
  .ed-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ed-catalog-grid--rail {
    display: grid;
    grid-template-columns: none;
    grid-auto-columns: minmax(152px, 44vw);
    grid-auto-flow: column;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    touch-action: pan-x pinch-zoom;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .ed-catalog-grid--rail .ed-cat-tile {
    scroll-snap-align: start;
  }
  .ed-feed-grid { grid-template-columns: 1fr; }
  .mobile-calendar-entry { display: block; margin-bottom: 12px; }
  .mobile-calendar-fab { display: inline-flex; }
  .ed-sidebar .ed-widget--calendar-desktop { display: none; }
}
@media (max-width: 640px) {
  .ed-cat-grid { grid-template-columns: repeat(3, 42vw); }
  .shop-journal-home .ed-header .ed-mobile-actions { gap: 8px; }
  .ed-blog-feature {
    padding: 88px 0 54px;
  }
  .ed-blog-feature-body {
    gap: 12px;
    padding: 20px 18px 30px;
  }
  .ed-blog-feature-mark {
    padding: 6px 10px;
    letter-spacing: .16em;
  }
  .ed-blog-feature-link {
    font-size: 12px;
    letter-spacing: .06em;
  }
  .ed-sp-live-rail {
    margin-bottom: 22px;
  }
  .ed-mobile-logo-wordmark {
    font-size: 16px;
    letter-spacing: .2em;
  }
  .ed-mobile-logo-lockup { width: 108px; }
  .ed-square-rail {
    grid-auto-columns: minmax(150px, 43vw);
    gap: 11px;
  }
  .shop-journal-home .ed-section--stats .ed-about-stats--hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
body.tg-webapp.shop-journal-home .site-header-inner {
  min-height: 48px;
  padding: 6px 12px;
}
body.tg-webapp.shop-journal-home .ed-header {
  padding: 8px 10px;
}
body.tg-webapp.shop-journal-home .ed-header-mobile {
  gap: 8px;
}
body.tg-webapp.shop-journal-home .ed-mobile-logo-wordmark {
  font-size: 15px;
  letter-spacing: .18em;
}


@media (min-width: 1024px) {
  .ed-sp-live-rail {
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto 26px;
    padding: 0;
    justify-content: center;
    overflow-x: hidden;
  }
  .ed-sp-live-card {
    flex: 1 1 0;
    min-width: 0;
    max-width: 170px;
  }
}
