/* ==========================================================================
   Escapism — фирменный слой поверх темы Stories (InSales v4)
   Цвета и шрифты — из гайдлайна и макетов дизайнера.
   ========================================================================== */


:root {
  --esc-cream: #FFF8F0;
  --esc-cream-2: #FFF7E4;
  --esc-brown: #382A20;
  --esc-brown-2: #44382F;
  --esc-olive: #2E4311;
  --esc-sky: #C3E4FF;
  --esc-line: rgba(56, 42, 32, .35);
  --esc-grey: #D9D9D9;
  --esc-font: "Basis Grotesque Pro", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --esc-serif: "Lora", Georgia, "Times New Roman", serif;
  --esc-gutter: clamp(16px, 8.6vw, 165px);
  --esc-maxw: 1590px;
}

/* ---------- Глобально: фон, шрифты, цвета системных виджетов ---------- */
html {
  --font-family: var(--esc-font) !important;
  --font-family-heading: var(--esc-serif) !important;
  --bg: var(--esc-cream) !important;
  --color-btn-bg: var(--esc-brown) !important;
  --color-text-dark: var(--esc-brown) !important;
  --controls-btn-border-radius: 0px !important;
  --controls-form-border-radius: 0px !important;
}
html, body.esc-body { background: var(--esc-cream); }
body.esc-body {
  color: var(--esc-brown);
  font-family: var(--esc-font);
  -webkit-font-smoothing: antialiased;
}
body.esc-body .heading,
body.esc-body h1, body.esc-body h2, body.esc-body h3 {
  font-family: var(--esc-serif);
  font-weight: 500;
  color: inherit;
}
body.esc-body .button:not(.button_size-s):not(.favorites_btn):not(.compare_btn),
body.esc-body button.button {
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.preloader { background: var(--esc-cream) !important; }

.esc-ico { width: 1em; height: 1em; display: inline-block; vertical-align: middle; fill: currentColor; }
.esc-logo { display: block; width: 100%; height: auto; color: inherit; }
[hidden] { display: none !important; }

/* ---------- Кнопки ---------- */
.esc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 56px; padding: 0 2.6em;
  background: var(--esc-brown); color: var(--esc-cream);
  border: 1px solid var(--esc-brown);
  font: 400 clamp(14px, 1vw, 18px)/1 var(--esc-font);
  text-transform: uppercase; letter-spacing: .02em; text-decoration: none;
  cursor: pointer; transition: background .2s, color .2s, opacity .2s;
}
.esc-btn:hover { background: #241a13; color: var(--esc-cream); }
.esc-btn[disabled] { opacity: .45; cursor: not-allowed; }
.esc-btn--light { background: var(--esc-cream); color: var(--esc-brown); border-color: var(--esc-brown); }
.esc-btn--light:hover { background: #fff; color: var(--esc-brown); }
.esc-btn--outline { background: transparent; color: var(--esc-brown); }
.esc-btn--outline:hover { background: var(--esc-brown); color: var(--esc-cream); }

/* ==========================================================================
   Шапка — «таблетка»
   ========================================================================== */
.esc-header { position: relative; z-index: 30; padding: clamp(12px, 2.5vw, 48px) var(--esc-gutter) 0; }
.esc-header--over { position: absolute; top: 0; left: 0; right: 0; }
.esc-header__pill {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  height: clamp(64px, 5.3vw, 102px);
  padding: 0 clamp(20px, 3vw, 58px);
  background: rgba(255, 248, 240, .97);
  border: 1px solid var(--esc-brown);
  border-radius: 999px;
  color: var(--esc-brown);
}
.esc-header--over .esc-header__pill { border-color: rgba(56, 42, 32, .6); }
.esc-header__burger { background: none; border: 0; padding: 6px 0; color: inherit; cursor: pointer; font-size: clamp(28px, 2.8vw, 54px); line-height: 0; }
.esc-header__burger .esc-ico { width: 1em; height: .6em; }
.esc-header__nav { display: flex; gap: clamp(20px, 3.3vw, 64px); font-size: clamp(14px, 1.4vw, 27px); text-transform: uppercase; }
.esc-header__nav--left { justify-content: center; padding-left: clamp(0px, 4vw, 90px); }
.esc-header__nav--right { justify-content: center; padding-right: clamp(0px, 4vw, 90px); }
.esc-header__nav a { color: inherit; text-decoration: none; padding-bottom: 3px; border-bottom: 1.5px solid transparent; transition: border-color .2s; white-space: nowrap; }
.esc-header__nav a:hover, .esc-header__nav a.is-active { border-bottom-color: currentColor; }
.esc-header__logo { display: block; color: inherit; }
.esc-header__logo-sign { display: block; width: clamp(56px, 4.3vw, 84px); }
.esc-header__logo-full { display: none; width: 84px; }
.esc-header__cart { position: relative; display: block; color: inherit; font-size: clamp(40px, 3vw, 58px); line-height: 0; text-decoration: none; }
.esc-header__cart .esc-ico { width: 1em; height: 1.04em; }
.esc-header__cart-count {
  position: absolute; top: -2px; right: -4px;
  min-width: 1.6em; height: 1.6em; padding: 0 .3em;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--esc-brown); color: var(--esc-cream);
  font: 500 clamp(11px, .75vw, 15px)/1 var(--esc-font);
}

/* ---------- Мобильное меню ---------- */
.esc-menu { position: fixed; inset: 0; z-index: 1000; }
.esc-menu__overlay { position: absolute; inset: 0; background: rgba(56, 42, 32, .35); }
.esc-menu__panel {
  position: absolute; top: 0; bottom: 0; left: 0;
  width: min(420px, 88vw); padding: 28px 32px 40px;
  background: var(--esc-cream); color: var(--esc-brown);
  overflow-y: auto; animation: esc-slide-in .25s ease-out;
}
@keyframes esc-slide-in { from { transform: translateX(-100%); } to { transform: none; } }
.esc-menu__close { position: absolute; top: 20px; right: 20px; background: none; border: 0; color: inherit; font-size: 24px; cursor: pointer; }
.esc-menu__logo { display: block; width: 110px; margin: 8px 0 32px; color: inherit; }
.esc-menu__links { display: flex; flex-direction: column; gap: 14px; }
.esc-menu__links a { color: inherit; text-decoration: none; font-size: 18px; text-transform: uppercase; }
.esc-menu__links a:hover { text-decoration: underline; }
.esc-menu__sep { height: 1px; background: var(--esc-line); margin: 8px 0; }
.esc-menu__social { display: flex; gap: 16px; margin-top: 32px; font-size: 34px; }
.esc-menu__social a { color: inherit; }
html.esc-menu-open, html.esc-menu-open body { overflow: hidden; }

/* ==========================================================================
   Главная — слайдер
   ========================================================================== */
.esc-hero { position: relative; height: 100svh; min-height: 560px; max-height: 1080px; overflow: hidden; background: #cfd3e0; }
.esc-hero__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.esc-hero__track::-webkit-scrollbar { display: none; }
.esc-hero__slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: start; overflow: hidden; }
.esc-hero__media, .esc-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.esc-hero__media img { object-fit: cover; }
.esc-hero__slide--1 .esc-hero__media img { object-position: 30% 40%; }
.esc-hero__slide--2 .esc-hero__media img { object-position: 60% 30%; }
.esc-hero__content { position: absolute; z-index: 2; }
.esc-hero__kicker { margin: 0 0 .5em; font-size: clamp(16px, 1.6vw, 30px); text-transform: uppercase; }
.esc-hero__title { margin: 0 0 .7em; font: 400 clamp(34px, 3.85vw, 74px)/1.08 var(--esc-serif); text-transform: uppercase; letter-spacing: .01em; }
.esc-hero__title b { font-weight: 700; }
.esc-hero__rule { display: none; }
.esc-hero__text { margin: 0; font-size: clamp(18px, 1.6vw, 30px); line-height: 1.3; }
.esc-hero__text--mobile { display: none; }
.esc-hero__slide--1 .esc-hero__content { left: 56.5%; top: 36%; right: 2vw; color: var(--esc-brown); }
.esc-hero__slide--1 .esc-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 45%, rgba(255, 248, 240, .35) 75%); }
.esc-hero__slide--2 .esc-hero__content { left: 8.3%; bottom: 16%; max-width: 44%; color: #fff; text-shadow: 0 1px 18px rgba(0, 0, 0, .25); }
.esc-hero__slide--2 .esc-hero__btn { display: none; }
.esc-hero__dots { position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; gap: 10px; }
.esc-hero__dots button { width: 34px; height: 3px; padding: 0; border: 0; background: rgba(255, 255, 255, .55); cursor: pointer; }
.esc-hero__dots button.is-active { background: #fff; }

/* ==========================================================================
   Карточка товара
   ========================================================================== */
.esc-product { padding: clamp(20px, 2.2vw, 44px) var(--esc-gutter) clamp(48px, 5vw, 100px); max-width: calc(var(--esc-maxw) + 2 * var(--esc-gutter)); margin: 0 auto; }
.esc-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font-size: 15px; color: rgba(56, 42, 32, .75); }
.esc-crumbs a { color: inherit; text-decoration: none; }
.esc-crumbs a:hover { text-decoration: underline; }
.esc-product__grid { display: grid; grid-template-columns: minmax(0, 8.1fr) minmax(320px, 4.4fr); gap: clamp(32px, 4.6vw, 90px); align-items: start; }
.esc-product__gallery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(90px, 19%); gap: clamp(16px, 1.9vw, 36px); align-items: start; }
.esc-product__main { position: relative; background: #efe6dc; }
.esc-product__slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 525 / 690; }
.esc-product__slides::-webkit-scrollbar { display: none; }
.esc-product__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.esc-product__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.esc-product__arrow { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 30px; padding: 12px; cursor: pointer; filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .35)); }
.esc-product__arrow .esc-ico { width: .55em; height: 1em; }
.esc-product__arrow--prev { left: 6px; }
.esc-product__arrow--prev .esc-ico { transform: scaleX(-1); }
.esc-product__arrow--next { right: 6px; }
.esc-product__thumbs { display: flex; flex-direction: column; gap: clamp(10px, 1.1vw, 20px); max-height: calc((100vw - 2 * var(--esc-gutter)) * .52); overflow-y: auto; scrollbar-width: thin; }
.esc-product__thumb { padding: 0; border: 1px solid transparent; background: #efe6dc; cursor: pointer; aspect-ratio: 161 / 196; opacity: .8; transition: opacity .2s, border-color .2s; flex: 0 0 auto; }
.esc-product__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.esc-product__thumb.is-active, .esc-product__thumb:hover { opacity: 1; border-color: var(--esc-brown); }

.esc-product__title { margin: 0; font: 400 clamp(44px, 4.1vw, 78px)/1 var(--esc-serif); text-transform: uppercase; letter-spacing: .01em; }
.esc-product__meta { margin: .6em 0 0; font-size: clamp(18px, 1.35vw, 26px); line-height: 1.3; }
.esc-product__meta span { display: block; }
.esc-product__meta small { font-size: .6em; text-transform: uppercase; letter-spacing: .03em; margin-left: .35em; }
.esc-product__meta .esc-meta-serif { font-family: var(--esc-serif); }
.esc-product__price { display: flex; gap: .6em; align-items: baseline; margin: .55em 0 0; padding-bottom: .7em; border-bottom: 1px solid var(--esc-line); font: 500 clamp(26px, 1.8vw, 34px)/1.2 var(--esc-serif); }
.esc-product__old-price { font-size: .7em; opacity: .55; }

.esc-product__options { display: flex; flex-wrap: wrap; gap: 20px clamp(28px, 3vw, 56px); margin-top: 26px; }
.esc-opt__label { display: block; margin-bottom: 12px; font: 400 clamp(20px, 1.35vw, 26px)/1 var(--esc-serif); text-transform: uppercase; }
.esc-opt__values { display: flex; flex-wrap: wrap; gap: 10px; }
.esc-opt__size {
  min-width: 48px; height: 48px; padding: 0 10px;
  border: 1px solid var(--esc-brown); background: transparent; color: var(--esc-brown);
  font: 400 20px/1 var(--esc-font); cursor: pointer; transition: background .15s, color .15s;
}
.esc-opt__size[aria-pressed="true"] { background: var(--esc-brown); color: var(--esc-cream); }
.esc-opt__size.is-unavailable { opacity: .35; text-decoration: line-through; }
.esc-opt__color { width: 44px; height: 44px; padding: 3px; border: 1px solid transparent; background: none; cursor: pointer; }
.esc-opt__color span { display: block; width: 100%; height: 100%; border: 1px solid rgba(56, 42, 32, .5); }
.esc-opt__color[aria-pressed="true"] { border-color: var(--esc-brown); }
.esc-opt__color.is-unavailable { opacity: .35; }
.esc-opt__current { margin-top: 8px; font-size: 14px; opacity: .8; }
.esc-opt--fallback select { min-height: 48px; padding: 0 12px; border: 1px solid var(--esc-brown); background: transparent; color: inherit; font: inherit; }

.esc-product__size-link { display: inline-flex; align-items: center; gap: 12px; margin: 18px 0 18px; padding: 0; background: none; border: 0; color: inherit; font: 400 16px/1 var(--esc-font); cursor: pointer; }
.esc-product__size-link .esc-ico { width: 40px; height: 12px; }
.esc-product__size-link:hover { text-decoration: underline; }
.esc-product__buy { display: flex; gap: 10px; }
.esc-product__add { flex: 1; min-height: clamp(56px, 3.6vw, 70px); max-width: 420px; }
.esc-product__fav { flex: 0 0 auto; width: clamp(56px, 3.6vw, 70px); height: clamp(56px, 3.6vw, 70px); border: 1px solid rgba(56, 42, 32, .4); background: var(--esc-grey); color: var(--esc-brown); font-size: 30px; cursor: pointer; transition: background .2s; }
.esc-product__fav:hover { background: #cfc9c3; }
.esc-product__fav.favorites-added { background: var(--esc-brown); color: var(--esc-cream); }
.esc-product__notice { min-height: 1.2em; margin: 10px 0 0; font-size: 14px; }
.esc-product__notice a { color: inherit; }

.esc-product__sections { margin-top: 26px; }
.esc-acc { border-bottom: 1px solid var(--esc-line); }
.esc-acc summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 0 10px; list-style: none; cursor: pointer; font: 400 clamp(20px, 1.35vw, 26px)/1.1 var(--esc-serif); text-transform: uppercase; }
.esc-acc summary::-webkit-details-marker { display: none; }
.esc-acc summary .esc-ico { font-size: 22px; transition: transform .2s; }
.esc-acc[open] summary .esc-ico { transform: rotate(45deg); }
.esc-acc__body { padding: 0 0 18px; font-size: 16px; line-height: 1.45; }
.esc-acc__body p { margin: 0 0 .6em; }
.esc-acc__body dl { margin: 0; }
.esc-acc__body dt { font-weight: 700; }
.esc-acc__body dd { margin: 0 0 .5em; }
.esc-care { display: flex; flex-wrap: wrap; gap: 22px; margin: 4px 0 12px; padding: 0; list-style: none; }
.esc-care li { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 110px; text-align: center; font-size: 12px; line-height: 1.2; }
.esc-care .esc-ico { width: 52px; height: 40px; }
.esc-care__text { font-size: 14px; opacity: .85; }

/* На компьютере разделы описания открыты, как в макете */
@media (min-width: 1024px) {
  .esc-product .esc-acc { border-bottom: 0; }
  .esc-product .esc-acc summary { pointer-events: none; padding: 16px 0 6px; }
  .esc-product .esc-acc summary .esc-ico { display: none; }
}

/* ---------- Модальное окно / таблица размеров ---------- */
.esc-modal { width: min(980px, 94vw); max-height: 90vh; overflow-y: auto; padding: 0; border: 0; background: var(--esc-cream); color: var(--esc-brown); }
.esc-modal::backdrop { background: rgba(56, 42, 32, .45); }
.esc-modal__box { position: relative; padding: clamp(24px, 3vw, 48px); }
.esc-modal__close { position: absolute; top: 14px; right: 14px; background: none; border: 0; color: inherit; font-size: 24px; cursor: pointer; }
.esc-h1 { margin: 0 0 .5em; font: 400 clamp(32px, 2.6vw, 50px)/1.1 var(--esc-serif); text-transform: uppercase; }
.esc-h2 { margin: 0 0 .8em; font: 400 clamp(26px, 2.2vw, 42px)/1.1 var(--esc-serif); text-transform: uppercase; }
.esc-sizes__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: clamp(28px, 3vw, 48px); }
.esc-sizes__table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: clamp(15px, 1.3vw, 24px); }
.esc-sizes__table th, .esc-sizes__table td { padding: .55em .8em; border: 1px solid var(--esc-brown); text-align: center; font-weight: 400; }
.esc-sizes__table th { font-size: .62em; text-transform: uppercase; letter-spacing: .02em; }
.esc-sizes__table td:first-child, .esc-sizes__table th:first-child { text-align: left; }
.esc-measure { padding: clamp(24px, 3vw, 52px) clamp(20px, 4vw, 120px); border: 1px solid var(--esc-brown); border-radius: clamp(24px, 3vw, 60px); }
.esc-measure__title { margin: 0 0 1em; font: 500 clamp(24px, 2vw, 40px)/1.1 var(--esc-serif); text-transform: uppercase; }
.esc-measure__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(24px, 4vw, 70px); margin: 0; padding: 0; list-style: none; counter-reset: esc-m; }
.esc-measure__list li { position: relative; padding-left: 64px; counter-increment: esc-m; }
.esc-measure__list li::before { content: counter(esc-m); position: absolute; left: 0; top: -6px; font: italic 300 48px/1 var(--esc-font); }
.esc-measure__list h4 { margin: 0 0 .25em; font: 500 clamp(20px, 1.5vw, 28px)/1.1 var(--esc-serif); text-transform: uppercase; }
.esc-measure__list p { margin: 0; font-size: 16px; line-height: 1.35; }

/* ==========================================================================
   Текстовые страницы: оплата/доставка, таблица размеров, прочие
   ========================================================================== */
.esc-page { max-width: 1100px; margin: 0 auto; padding: clamp(28px, 4vw, 72px) var(--esc-gutter) clamp(56px, 6vw, 110px); box-sizing: content-box; }
.esc-rte { font-size: 17px; line-height: 1.55; }
.esc-rte a { color: inherit; }
.esc-info__block { margin-bottom: clamp(48px, 5vw, 88px); font-size: 17px; line-height: 1.5; }
.esc-info__lead { max-width: 560px; margin: 0 0 1.4em; }
.esc-info__icons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 760px; margin: 0; padding: 0; list-style: none; }
.esc-info__icons li { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; font-size: 16px; line-height: 1.25; }
.esc-info__icons .esc-ico { width: 64px; height: 56px; color: #7a6d63; }
.esc-info__note { max-width: 680px; padding: 22px 28px; border: 1px solid var(--esc-line); font-size: 16px; }
.esc-info__block--intl { display: grid; grid-template-columns: 110px 1fr; gap: 24px; align-items: start; }
.esc-info__shield { width: 100px; height: 112px; color: #5b4c41; }
.esc-info__kicker { margin: -.4em 0 .8em; font-style: italic; text-transform: uppercase; }
.esc-info__contacts { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 26px; }
.esc-info__small { font-size: 15px; }
.esc-info em { font-style: italic; font-weight: 500; }

/* ==========================================================================
   Подвал
   ========================================================================== */
.esc-footer { position: relative; margin-top: 17px; background: var(--esc-brown-2); color: var(--esc-cream); }
.esc-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -17px; height: 1px; background: var(--esc-brown); }
.esc-footer__inner { max-width: calc(var(--esc-maxw) + 2 * var(--esc-gutter)); margin: 0 auto; padding: clamp(28px, 2.5vw, 48px) var(--esc-gutter) clamp(40px, 5vw, 90px); box-sizing: border-box; }
.esc-footer a { color: inherit; text-decoration: none; }
.esc-footer a:hover { text-decoration: underline; }
.esc-footer__top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; padding-bottom: clamp(24px, 2.4vw, 44px); border-bottom: 1px solid rgba(255, 248, 240, .3); }
.esc-footer__logo { width: clamp(90px, 5.6vw, 108px); padding-right: clamp(24px, 6vw, 120px); border-right: 1px solid rgba(255, 248, 240, .6); }
.esc-footer__nav { display: flex; justify-content: space-around; font-size: clamp(16px, 1.6vw, 30px); text-transform: uppercase; }
.esc-footer__nav a { white-space: nowrap; padding: 10px clamp(12px, 2vw, 64px); border-right: 1px solid rgba(255, 248, 240, .6); flex: 1; text-align: center; }
.esc-footer__nav a:last-child { border-right: 1px solid rgba(255, 248, 240, .6); }
.esc-footer__social { display: flex; gap: clamp(14px, 1.8vw, 34px); padding-left: clamp(20px, 4vw, 80px); font-size: clamp(34px, 2.6vw, 50px); }
.esc-footer__bottom { display: flex; justify-content: space-between; gap: 32px; padding-top: clamp(24px, 2.8vw, 54px); font-size: clamp(14px, 1.3vw, 25px); text-transform: uppercase; line-height: 1.6; }
.esc-footer__legal { padding-left: 1.2em; }
.esc-footer__seller { font-size: 1.15em; margin-bottom: .2em; }
.esc-footer__docs { display: flex; flex-direction: column; align-items: flex-start; gap: .25em; }

/* ==========================================================================
   Планшет и телефон
   ========================================================================== */
@media (max-width: 1100px) {
  .esc-header__nav { display: none; }
  .esc-header__pill { grid-template-columns: 1fr auto 1fr; }
  .esc-header__burger { justify-self: start; }
  .esc-header__cart { justify-self: end; }
  .esc-header__logo-sign { display: none; }
  .esc-header__logo-full { display: block; width: clamp(96px, 16vw, 130px); }
  .esc-product__grid { grid-template-columns: 1fr; }
  .esc-product__gallery { grid-template-columns: 1fr; }
  .esc-product__thumbs { flex-direction: row; max-height: none; overflow-x: auto; }
  .esc-product__thumb { flex: 0 0 calc((100% - 4 * 10px) / 5); }
  .esc-product__info { max-width: 640px; }
  .esc-footer__top { grid-template-columns: 1fr; gap: 24px; justify-items: start; }
  .esc-footer__logo { border-right: 0; padding-right: 0; }
  .esc-footer__nav { flex-direction: column; gap: 6px; justify-content: flex-start; }
  .esc-footer__nav a, .esc-footer__nav a:last-child { border: 0; padding: 4px 0; text-align: left; }
  .esc-footer__social { padding-left: 0; }
  .esc-footer__bottom { flex-direction: column; }
  .esc-footer__legal { padding-left: 0; }
}

@media (max-width: 767px) {
  :root { --esc-gutter: 18px; }
  .esc-header { padding: 12px 16px 0; }
  .esc-header__pill { height: 72px; padding: 0 22px; }
  .esc-header--page { padding: 10px 18px 0; }
  .esc-header--page .esc-header__pill { height: 76px; padding: 0 4px; border: 0; border-bottom: 1px solid var(--esc-brown); border-radius: 0; background: transparent; }
  .esc-header__burger { font-size: 32px; }
  .esc-header__cart { font-size: 40px; }
  .esc-header__logo-full { width: 72px; }
  .esc-header--page .esc-header__logo-full { width: 84px; }

  .esc-hero { height: calc(100svh - 0px); min-height: 620px; max-height: 900px; }
  .esc-hero__slide .esc-hero__content { left: auto; right: 18px; top: auto; bottom: 64px; max-width: 92%; text-align: right; color: #fff; text-shadow: 0 1px 14px rgba(0, 0, 0, .3); }
  .esc-hero__slide--1 .esc-hero__media::after { background: linear-gradient(180deg, transparent 35%, rgba(18, 38, 58, .45) 100%); }
  .esc-hero__slide--1 .esc-hero__media img { object-position: 25% 50%; }
  .esc-hero__slide--2 .esc-hero__media img { object-position: 50% 40%; }
  .esc-hero__kicker { font-size: 15px; }
  .esc-hero__title { font-size: clamp(26px, 8.2vw, 38px); margin-bottom: .5em; }
  .esc-hero__rule { display: block; width: 1px; height: 64px; margin: 0 0 16px auto; background: #fff; }
  .esc-hero__text { font-size: 15px; line-height: 1.35; }
  .esc-hero__text--mobile { display: block; margin-bottom: 22px; }
  .esc-hero__slide--2 .esc-hero__btn { display: inline-flex; }
  .esc-hero__slide--2 .esc-hero__text { margin-bottom: 22px; }
  .esc-hero__btn { background: var(--esc-cream); color: var(--esc-brown); border-color: var(--esc-brown); min-height: 50px; padding: 0 1.8em; text-shadow: none; }
  .esc-hero__dots { bottom: 22px; }

  .esc-product { padding-top: 12px; }
  .esc-crumbs { font-size: 14px; margin-bottom: 12px; }
  .esc-product__slides { aspect-ratio: 626 / 575; }
  .esc-product__title { font-size: 48px; margin-top: 4px; }
  .esc-product__meta { font-size: 22px; font-family: var(--esc-serif); }
  .esc-opt__label { font-size: 22px; }
  .esc-product__add { max-width: none; }
  .esc-product__sections { margin-top: 18px; }

  .esc-measure { border: 0; padding: 0; }
  .esc-measure__list { grid-template-columns: 1fr; }
  .esc-info__icons { gap: 12px; }
  .esc-info__icons li { font-size: 14px; }
  .esc-info__icons .esc-ico { width: 52px; height: 46px; }
  .esc-info__block--intl { grid-template-columns: 64px 1fr; gap: 14px; }
  .esc-info__shield { width: 64px; height: 72px; }
  .esc-footer__bottom { font-size: 14px; }
  .esc-h1 { font-size: clamp(26px, 7.4vw, 32px); overflow-wrap: anywhere; }
  .esc-info__block--intl .esc-h1 { font-size: clamp(22px, 6.4vw, 28px); }
}
html, body.esc-body { overflow-x: clip; }

/* Таблица размеров товара (картинка) */
.esc-size-chart { margin: 0 0 clamp(24px, 3vw, 44px); text-align: center; }
.esc-size-chart img { display: block; max-width: min(100%, 560px); height: auto; margin: 0 auto 12px; }

/* ==========================================================================
   Правки 02.10: каталог-сетка, светлые блоки, компактный подвал, меню, галерея
   ========================================================================== */

/* Системные блоки темы — на кремовый фон вместо зелёного */
.esc-body .layout[class*="widget-type_"] {
  --bg: var(--esc-cream) !important;
  --product-background: var(--esc-cream) !important;
  background-color: var(--esc-cream) !important;
  color: var(--esc-brown);
}
.esc-body .layout[class*="widget-type_"] .widget_heading { color: var(--esc-brown); }

/* Каталог и «Новая коллекция» */
.esc-catalog { max-width: calc(var(--esc-maxw) + 2 * var(--esc-gutter)); margin: 0 auto; padding: clamp(20px, 3vw, 56px) var(--esc-gutter) clamp(40px, 5vw, 90px); box-sizing: border-box; }
.esc-catalog--home { padding-top: clamp(36px, 5vw, 90px); }
.esc-catalog__title { text-align: center; margin-bottom: clamp(20px, 2.5vw, 44px); }
.esc-catalog__more { margin-top: clamp(28px, 3vw, 52px); text-align: center; }
.esc-catalog__empty { grid-column: 1 / -1; }
.esc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 52px) clamp(14px, 1.6vw, 28px); }
.esc-card { position: relative; display: flex; flex-direction: column; }
.esc-card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #efe6dc; }
.esc-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.esc-card__alt { opacity: 0; }
@media (hover: hover) { .esc-card:hover .esc-card__alt { opacity: 1; } }
.esc-card__fav { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(255, 248, 240, .9); color: var(--esc-brown); font-size: 19px; cursor: pointer; }
.esc-card__fav.favorites-added { background: var(--esc-brown); color: var(--esc-cream); }
.esc-card__body { padding-top: 12px; }
.esc-card__title { display: block; color: var(--esc-brown); text-decoration: none; font: 400 clamp(17px, 1.3vw, 24px)/1.15 var(--esc-serif); text-transform: uppercase; }
.esc-card__title:hover { text-decoration: underline; }
.esc-card__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.esc-card__price { font-size: clamp(15px, 1.05vw, 19px); }
.esc-card__bag { flex: 0 0 auto; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 0; background: var(--esc-brown); color: var(--esc-cream); font-size: 22px; cursor: pointer; transition: opacity .2s; }
.esc-card__bag.is-busy { opacity: .5; }
.esc-card__bag.is-added { background: var(--esc-olive); }
.esc-card__sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.esc-card__sizes button { min-width: 38px; height: 34px; padding: 0 8px; border: 1px solid var(--esc-brown); background: transparent; color: var(--esc-brown); font: 400 14px/1 var(--esc-font); cursor: pointer; }
.esc-card__sizes button:hover { background: var(--esc-brown); color: var(--esc-cream); }
.esc-card__sizes button[disabled] { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.esc-pager { display: flex; justify-content: center; gap: 24px; margin-top: 40px; }
.esc-pager a { color: inherit; }
@media (max-width: 900px) {
  .esc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .esc-card__fav { width: 32px; height: 32px; font-size: 17px; top: 8px; right: 8px; }
  .esc-card__bag { width: 36px; height: 36px; font-size: 20px; }
}

/* Главная, телефон: на втором слайде текст не повторяем */
@media (max-width: 767px) {
  .esc-hero__slide--2 .esc-hero__text { display: none; }
}

/* Карточка товара: фото целиком, без обрезки, вместе с миниатюрами в экран */
.esc-product__main { background: #F3EBE1; }
.esc-product__slides { aspect-ratio: 4 / 5; max-height: calc(100svh - 190px); }
.esc-product__slide img { object-fit: contain; }
.esc-product__thumbs { max-height: calc(100svh - 190px); }
@media (min-width: 1101px) {
  .esc-product__gallery { grid-template-columns: minmax(0, 1fr) minmax(80px, 15%); }
}
@media (max-width: 767px) {
  .esc-product__gallery { margin: 0 -18px; gap: 8px; }
  .esc-product__slides { aspect-ratio: 4 / 5; max-height: calc(100svh - 230px); }
  .esc-product__thumbs { padding: 0 18px; gap: 6px; }
  .esc-product__thumb { flex: 0 0 calc((100% - 4 * 6px) / 5.3); aspect-ratio: 4 / 5; }
  .esc-product__arrow { font-size: 26px; }
}

/* Мобильное меню: логотип сверху, крестик отдельно справа */
.esc-menu__panel { padding: 22px 28px 36px; }
.esc-menu__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.esc-menu__logo { width: 92px; margin: 0; }
.esc-menu__close { position: static; padding: 8px; margin: -4px -8px 0 0; font-size: 22px; }
.esc-menu__count:empty, .esc-menu__count.favorites-empty { display: none; }

/* Подвал: заметно ниже и компактнее */
.esc-footer { margin-top: 0; }
.esc-footer::before { display: none; }
.esc-footer__inner { padding: 22px var(--esc-gutter) 24px; }
.esc-footer__top { grid-template-columns: auto 1fr auto; gap: 24px; padding-bottom: 14px; }
.esc-footer__logo { width: 64px; padding-right: 24px; }
.esc-footer__nav { font-size: clamp(13px, .95vw, 17px); justify-content: center; gap: 0; }
.esc-footer__nav a { flex: 0 0 auto; padding: 4px clamp(14px, 2vw, 40px); }
.esc-footer__social { font-size: 28px; gap: 14px; padding-left: 0; }
.esc-footer__bottom { flex-direction: row; align-items: flex-start; padding-top: 12px; font-size: 12px; line-height: 1.5; }
.esc-footer__legal { padding-left: 0; display: flex; flex-wrap: wrap; gap: 0 18px; }
.esc-footer__seller { font-size: 1em; margin: 0; }
.esc-footer__docs { flex-direction: row; gap: 18px; }
@media (max-width: 1100px) {
  .esc-footer__inner { padding: 18px 18px 20px; }
  .esc-footer__top { grid-template-columns: auto 1fr; grid-template-areas: "logo social" "nav nav"; gap: 12px; justify-items: stretch; align-items: center; }
  .esc-footer__logo { grid-area: logo; width: 54px; padding: 0; border: 0; }
  .esc-footer__social { grid-area: social; justify-content: flex-end; font-size: 26px; }
  .esc-footer__nav { grid-area: nav; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 6px 18px; font-size: 13px; }
  .esc-footer__nav a, .esc-footer__nav a:last-child { padding: 0; border: 0; }
  .esc-footer__bottom { flex-direction: column; gap: 6px; font-size: 11px; }
  .esc-footer__legal { gap: 0 12px; }
  .esc-footer__docs { gap: 14px; flex-wrap: wrap; }
}
.esc-footer__nav a, .esc-footer__nav a:last-child { border: 0; }

/* ==== Правки 02.10 (2) ==== */
/* Логотип при наведении — фирменный зелёный, а не белый */
.esc-header__logo, .esc-menu__logo { transition: color .2s; }
.esc-header__logo:hover, .esc-header__logo:focus-visible, .esc-menu__logo:hover { color: var(--esc-olive) !important; }
.esc-footer__logo:hover { color: var(--esc-cream-2) !important; opacity: .8; }
.esc-footer a:hover { color: var(--esc-cream) !important; }

/* Блок покупки в карточке товара — компактнее */
@media (min-width: 1101px) {
  .esc-product__grid { grid-template-columns: minmax(0, 8.1fr) minmax(300px, 3.6fr); }
  .esc-product__info { max-width: 460px; }
}
.esc-product__title { font-size: clamp(34px, 2.8vw, 52px); }
.esc-product__meta { font-size: clamp(18px, 1.3vw, 23px); margin-top: .4em; }
.esc-product__price { font-size: clamp(22px, 1.5vw, 28px); margin-top: .4em; padding-bottom: .55em; }
.esc-product__options { margin-top: 18px; gap: 16px 32px; }
.esc-opt__label { font-size: clamp(16px, 1.05vw, 20px); margin-bottom: 8px; }
.esc-opt__size { min-width: 40px; height: 40px; font-size: 16px; }
.esc-opt__color { width: 38px; height: 38px; }
.esc-product__size-link { margin: 14px 0; font-size: 14px; }
.esc-product__add { min-height: 52px; max-width: 340px; font-size: 14px; }
.esc-product__fav { width: 52px; height: 52px; font-size: 24px; }
@media (max-width: 767px) {
  .esc-product__info { max-width: none; }
  .esc-product__title { font-size: 36px; }
  .esc-product__meta { font-size: 18px; }
  .esc-product__add { max-width: none; }
}

/* Подвал: меню слева, логотип по центру, соцсети справа */
.esc-footer__top { grid-template-columns: 1fr auto 1fr; grid-template-areas: none; align-items: center; }
.esc-footer__nav { justify-content: flex-start; }
.esc-footer__nav a:first-child { padding-left: 0; }
.esc-footer__logo { width: 64px; padding: 0; border: 0; justify-self: center; }
.esc-footer__social { justify-content: flex-end; }
@media (max-width: 1100px) {
  .esc-footer__top { grid-template-columns: 1fr; grid-template-areas: "logo" "nav" "social"; justify-items: center; gap: 12px; }
  .esc-footer__logo { grid-area: logo; width: 56px; }
  .esc-footer__nav { grid-area: nav; justify-content: center; }
  .esc-footer__social { grid-area: social; justify-content: center; }
  .esc-footer__bottom { align-items: center; text-align: center; }
  .esc-footer__legal, .esc-footer__docs { justify-content: center; }
}

/* «Новая коллекция»: максимум 4, по центру при любом количестве */
.esc-catalog--home .esc-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.esc-catalog--home .esc-card { flex: 0 0 calc((100% - 3 * clamp(14px, 1.6vw, 28px)) / 4); }
@media (max-width: 900px) {
  .esc-catalog--home .esc-card { flex-basis: calc((100% - 12px) / 2); }
}

/* Контакты */
.esc-contacts .esc-h2 { font-size: clamp(22px, 1.6vw, 30px); margin-bottom: .5em; }
.esc-contacts .esc-info__block { margin-bottom: clamp(28px, 3vw, 48px); }

/* Слайдер на телефоне: 1-й слайд — заголовок, 2-й — текст */
@media (max-width: 767px) {
  .esc-hero__slide--2 .esc-hero__text { display: block; }
  .esc-hero__slide--1 .esc-hero__rule { margin-bottom: 22px; }
}

/* ==== Карточка товара на компьютере: фото без полей, целиком в экране ==== */
@media (min-width: 1101px) {
  /* компактная шапка на внутренних страницах */
  .esc-header--page { padding-top: 14px; }
  .esc-header--page .esc-header__pill { height: 64px; }
  .esc-header--page .esc-header__logo-sign { width: 50px; }
  .esc-header--page .esc-header__nav { font-size: clamp(14px, 1.05vw, 19px); }
  .esc-header--page .esc-header__burger { font-size: 36px; }
  .esc-header--page .esc-header__cart { font-size: 40px; }
  .esc-product { padding-top: 12px; }
  .esc-product .esc-crumbs { margin-bottom: 12px; font-size: 14px; }

  /* высота фото = экран минус шапка; ширина — по пропорции 4:5, без пустых полос */
  .esc-product { --esc-photo-h: calc(100svh - 150px); }
  .esc-product__grid { grid-template-columns: auto minmax(320px, 520px); justify-content: center; gap: clamp(32px, 4vw, 80px); }
  .esc-product__gallery { display: flex; gap: 16px; align-items: flex-start; }
  .esc-product__main { flex: 0 0 auto; width: min(calc(var(--esc-photo-h) * .8), 48vw); background: none; }
  .esc-product__slides { aspect-ratio: 4 / 5; max-height: none; width: 100%; }
  .esc-product__slide img { object-fit: cover; }
  .esc-product__thumbs { flex: 0 0 auto; width: clamp(80px, 6.5vw, 120px); max-height: min(var(--esc-photo-h), 60vw); }
  .esc-product__thumb { width: 100%; aspect-ratio: 4 / 5; }
}

/* ==== Телефон: фото товара на всю ширину без полей ==== */
@media (max-width: 1100px) {
  .esc-product__main { width: 100%; background: none; }
  .esc-product__slides { aspect-ratio: 4 / 5; max-height: none; width: 100%; }
  .esc-product__slide img { object-fit: cover; }
}
.esc-product__arrow:focus { outline: none; }
.esc-product__arrow:focus-visible { outline: 1px solid #fff; }

/* ==== Слайдер: подложка под текст ==== */
.esc-hero__text {
  display: inline-block;
  padding: 14px 18px;
  background: rgba(40, 30, 22, .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  text-shadow: none;
}
.esc-hero__slide--2 .esc-hero__content { text-shadow: none; }
@media (max-width: 767px) {
  .esc-hero__text { padding: 12px 14px; font-size: 15px; }
  .esc-hero__slide--1 .esc-hero__kicker,
  .esc-hero__slide--1 .esc-hero__title { text-shadow: 0 1px 18px rgba(0, 0, 0, .45); }
}

/* Корзина в шапке при наведении — фирменный зелёный */
.esc-header__cart { transition: color .2s; }
.esc-header__cart:hover, .esc-header__cart:focus-visible { color: var(--esc-olive) !important; }
.esc-header__cart-count { transition: background .2s; }
.esc-header__cart:hover .esc-header__cart-count { background: var(--esc-olive); }

/* ==== Слайдер: без подложки; на телефоне вышка — заголовок, платье — текст ==== */
.esc-hero__text { display: block; padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.esc-hero__slide--2 .esc-hero__content { text-shadow: 0 1px 18px rgba(0, 0, 0, .35); }
@media (max-width: 767px) {
  .esc-hero__text { padding: 0; font-size: 15px; text-shadow: 0 1px 14px rgba(0, 0, 0, .55); }
  .esc-hero__slide--1 .esc-hero__media img { object-position: 50% 40%; }
  .esc-hero__slide--2 .esc-hero__media img { object-position: 30% 50%; }
  .esc-hero__slide--1 .esc-hero__media::after { background: linear-gradient(180deg, transparent 40%, rgba(20, 24, 40, .45) 100%); }
  .esc-hero__slide--2 .esc-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 30, 45, .5) 100%); }
}
@media (min-width: 768px) {
  .esc-hero__slide--2 .esc-hero__media img { object-position: 50% 40%; }
}

/* Название модели при наведении — зелёное */
.esc-card__title:hover, .esc-card__title:focus-visible { color: var(--esc-olive) !important; text-decoration: none; }
.esc-crumbs a:hover { color: var(--esc-olive) !important; }
