/* ==========================================================================
   United Nude — storefront design template
   Визуальный язык: минимализм Arimo, чёрно-белая палитра, широкий
   межбуквенный интервал в капсе, полноэкранные баннеры с «глоу»-текстом.
   Все числа ниже — замеры эталонного сайта на ширине 1440px.
   ========================================================================== */

/* -------------------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------------------- */
/* Shared storefront family: Cyrillic, Latin and ₽ use the same glyph set. */
@font-face {
  font-family: "UN Arimo";
  src: url("/assets/fonts/Arimo-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "UN Arimo";
  src: url("/assets/fonts/Arimo-Variable-Italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --c-announcement: #111;
  --c-announcement-text: #e8e8e1;
  --c-body: #fff;
  --c-text: #000;
  --c-text-soft: #111;
  --c-muted: #7c7c7c;
  --c-footer: #3d4246;
  --c-line: #ececec;
  --c-input-border: #808080;
  --c-dim: #f2f2f2;
  --c-btn: #111;
  --c-btn-text: #fff;
  --c-compare: #9b9b9b;
  --c-sale: var(--o-orange);
  --c-dot: #ff4f33;
  --c-stock-low: #f0b429;

  --font: "UN Arimo", Arial, Helvetica, sans-serif;
  --fs-base: 17px;
  --ls-base: -0.025em;
  --lh-base: 1.6;

  --page-max: 1500px;
  --page-pad: 17px;
  --gutter: 17px;
  --page-end: 56px; /* расстояние от последнего блока страницы до подвала */
  --page-top: 36px; /* расстояние от шапки до заголовка страницы */

  --shadow-menu: 0 10px 20px rgba(0, 0, 0, 0.09);
  --glow: 0 0 40px rgba(0, 0, 0, 0.125), 0 0 10px rgba(0, 0, 0, 0.19),
    0 0 10px rgba(0, 0, 0, 0.25), 0 0 40px rgba(0, 0, 0, 0.125);
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (min-width: 769px) {
  :root {
    --page-pad: 40px;
    --gutter: 22px;
    --page-end: 90px;
    --page-top: 40px;
  }
}

/* -------------------------------------------------------------------------
   2. Reset / base
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  font: 400 var(--fs-base) / var(--lh-base) var(--font);
  letter-spacing: var(--ls-base);
  color: var(--c-text);
  background: var(--c-body);
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.page-width {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.icon {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 4.2;
  stroke-linecap: square;
  stroke-linejoin: miter;
  flex: none;
}

.icon--wide {
  width: 14px;
  height: 8px;
  stroke-width: 2;
}

/* -------------------------------------------------------------------------
   3. Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  min-width: 90px;
  padding: 11px 20px;
  border: 1px solid transparent;
  background: var(--c-btn);
  color: var(--c-btn-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: 0.3em;
  text-align: center;
  text-transform: uppercase;
  vertical-align: middle;
  user-select: none;
  cursor: pointer;
}

.btn--full {
  width: 100%;
  padding: 13px 20px;
}

.btn--secondary {
  background: transparent;
  border-color: #000;
  color: #000;
  transition: border-color 0.3s;
}

.btn--secondary:hover {
  border-color: #000;
}

.btn--inverse {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  transition: background 0.25s, color 0.25s, text-shadow 0.25s;
}

.btn--inverse:hover {
  background: #fff;
  color: #000;
  text-shadow: none;
}

.btn--small {
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 400;
  border-color: transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
  .btn {
    padding: 9px 17px;
    font-size: 12px;
  }
  .btn--full {
    padding: 12px 17px;
  }
}

/* -------------------------------------------------------------------------
   4. Announcement bar + preheader
   ------------------------------------------------------------------------- */
.announcement-bar {
  background: var(--c-announcement);
  color: var(--c-announcement-text);
  text-align: center;
  padding: 10px 0;
}

.announcement-text,
.announcement-link {
  display: block;
  font-size: 10.84px;
  font-weight: 700;
  line-height: 17.34px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: inherit;
}

.preheader {
  border-bottom: 1px solid #f0f0f0;
}

.preheader__inner {
  display: flex;
  justify-content: space-between;
}

.preheader p {
  padding: 10px 0;
  color: var(--c-muted);
  font-size: 11px;
  line-height: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.preheader a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.preheader p:last-child {
  text-align: right;
}

@media (max-width: 1048px) {
  .preheader p:last-child {
    display: none;
  }
}

/* -------------------------------------------------------------------------
   5. Header + navigation
   ------------------------------------------------------------------------- */
.site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 70;
  transition: transform 0.35s var(--ease);
}

.site-header-wrap.is-hidden {
  transform: translateY(-110%);
}

.site-header {
  position: relative;
  background: var(--c-body);
  padding: 7px 0;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
}

@media (min-width: 769px) {
  .site-header {
    padding: 20px 0;
  }
}

.header-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-item--left {
  flex: 1 1 0;
  display: flex;
  align-items: center;
}

.header-item--icons {
  flex: 1 1 0;
  display: flex;
  justify-content: flex-end;
}

.header-item--logo {
  flex: 0 0 60px;
  text-align: center;
}

@media (min-width: 769px) {
  .header-item--logo {
    flex: 0 0 320px;
  }
}

.site-nav__link--icon {
  position: relative;
  display: flex;
  align-items: center;
  padding: 7.5px 12px;
  color: #111;
  line-height: 1;
}

.site-nav__icons {
  display: flex;
  margin-right: -12px;
}

.header-item--left .site-nav__link--icon {
  margin-left: -12px;
}

.cart-link__bubble {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-dot);
  display: none;
}

.cart-link__bubble.is-visible {
  display: block;
}

/* logo */
.site-header__logo {
  margin: 10px 0;
  line-height: 1;
}

.site-header__logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #000;
  height: 27px;
}

.logo-full {
  display: block;
  width: auto;
  height: 26px;
  max-width: 100%;
}

.logo-mark {
  display: none;
  width: auto;
  height: 28px;
}

.logo-mark--drawer {
  display: block;
  height: 26px;
}

@media (max-width: 768px) {
  .site-header__logo {
    margin: 4px 0;
  }
  .site-header__logo-link {
    height: auto;
  }
  .site-header__logo-link .logo-full {
    display: none;
  }
  .site-header__logo-link .logo-mark {
    display: block;
  }
}

/* main nav */
.site-navigation {
  display: flex;
  justify-content: center;
}

.site-nav__item {
  position: static;
}

.site-nav__item--rel {
  position: relative;
}

.site-nav__link {
  position: relative;
  display: block;
  padding: 7.5px 15px;
  font-size: 12px;
  line-height: 19.2px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
  white-space: nowrap;
}

@media (max-width: 1366px) {
  .site-nav__link {
    font-size: 10px;
  }
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 15px;
  border-bottom: 2px solid #111;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.1s ease-out;
}

.site-nav__item:hover > .site-nav__link::after,
.site-nav__item:focus-within > .site-nav__link::after,
.site-nav__link.is-current::after {
  transform: scaleX(1);
}

/* Dropdowns switch instantly; only the navigation underline animates. */
.site-nav__dropdown {
  position: absolute;
  left: 0;
  min-width: 100%;
  padding: 10px 0 5px;
  background: var(--c-body);
  box-shadow: var(--shadow-menu);
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  /* Close immediately so the previous panel cannot cover the next one. */
  transform: none;
  transition: none;
}

.site-nav__item:hover > .site-nav__dropdown,
.site-nav__item:focus-within > .site-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .site-nav__link::after {
    transition: none;
  }
}

.site-nav__dropdown-link {
  display: block;
  padding: 8px 15px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #000;
}

.site-nav__dropdown-link:hover {
  background: var(--c-dim);
}

.megamenu {
  right: 0;
  padding: 39px 0;
  box-shadow: var(--shadow-menu);
  line-height: 1.8;
}

.megamenu .page-width {
  padding: 0 var(--page-pad);
}

.megamenu__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: var(--gutter);
}

.megamenu__grid--center {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 40%;
  margin: 0 auto;
}

.megamenu__col-title {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 21.6px;
  padding: 4px 0;
  text-transform: uppercase;
}

.megamenu a {
  display: block;
  padding: 4px 0;
  font-size: 12px;
  line-height: 21.6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
}

.megamenu a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.megamenu__col + .megamenu__col .megamenu__col-title:first-child {
  margin-bottom: 0;
}

@media (max-width: 1253px) {
  .site-navigation,
  .header-item--left .site-nav--search {
    display: none;
  }
}

@media (min-width: 1254px) {
  .site-nav--burger,
  .site-nav--mobile-search {
    display: none;
  }
}

@media (max-width: 768px) {
  .small-hide {
    display: none;
  }
}

/* -------------------------------------------------------------------------
   6. Drawers (mobile nav / cart) + overlay + search
   ------------------------------------------------------------------------- */
.page-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
}

.page-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #111;
  transition: transform 0.45s var(--ease);
  visibility: hidden;
}

.drawer.is-open {
  visibility: visible;
}

.drawer--left {
  left: 0;
  width: 300px;
  transform: translateX(-100%);
}

.drawer--left.is-open {
  transform: none;
}

.drawer--right {
  right: 0;
  width: 510px;
  max-width: 100%;
  transform: translateX(100%);
}

.drawer--right.is-open {
  transform: none;
}

.drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  flex: none;
}

.drawer__title {
  font-size: 14px;
  letter-spacing: 0.3em;
}

.drawer__close {
  display: flex;
  padding: 6px;
  margin-right: -6px;
}

.drawer__scroll {
  flex: 1 1 auto;
  overflow-y: auto;
}

.mobile-nav__link {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: left;
}

.mobile-nav__link .icon {
  transition: transform 0.3s var(--ease);
}

.mobile-nav__link[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

.mobile-nav__sub {
  display: none;
  position: relative;
  padding: 0 0 8px;
}

.mobile-nav__sub.is-open {
  display: block;
}

.mobile-nav__sub a {
  display: block;
  padding: 8px 24px 8px 41px;
  font-size: 13px;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.mobile-nav__sub::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 10px;
  bottom: 18px;
  width: 1px;
  background: #000;
}

.mobile-nav__footer a {
  display: block;
  padding: 14px 24px;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* search bar */
.search-bar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 110;
  background: #fff;
  box-shadow: var(--shadow-menu);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.4s var(--ease), visibility 0s linear 0.4s;
}

.search-bar.is-open {
  transform: none;
  visibility: visible;
  transition-delay: 0s;
}

.search-bar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100px;
}

.search-bar__input {
  flex: 1;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 22px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.search-bar__input::placeholder {
  color: #aaa;
}

/* cart */
.cart-empty {
  padding: 40px 20px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 16px 20px;
  border-top: 1px solid var(--c-line);
}

.cart-item img {
  width: 90px;
  height: 90px;
  object-fit: cover;
}

.cart-item__title {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.4;
}

.cart-item__meta {
  margin-top: 4px;
  font-size: 12px;
  color: #555;
  letter-spacing: 0.05em;
}

.cart-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 14px;
}

.cart-item__remove {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.drawer__footer {
  flex: none;
  padding: 20px;
  border-top: 1px solid var(--c-line);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.cart-note {
  margin-bottom: 16px;
  font-size: 12px;
  color: #666;
}

/* -------------------------------------------------------------------------
   7. Sections: headers, promo grid, hero
   ------------------------------------------------------------------------- */
.section-header {
  margin: 0 0 50px;
  text-align: center;
}

.section-header__title {
  font-size: 32.3px;
  line-height: 1;
}

.section-header__link {
  margin-top: 15px;
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 30px;
  }
  .section-header__title {
    font-size: 26px;
  }
}

.flex-grid {
  position: relative;
  display: flex;
  flex-wrap: wrap;
}

.flex-grid__item {
  position: relative;
  flex: 0 0 100%;
  min-height: var(--h-sm, 480px);
}

@media (min-width: 769px) {
  .flex-grid__item {
    min-height: var(--h-md, 640px);
  }
  .flex-grid__item--50 { flex-basis: 50%; }
  .flex-grid__item--33 { flex-basis: 33.3333%; }
  .flex-grid__item--25 { flex-basis: 25%; }
}

@media (min-width: 1140px) {
  .flex-grid__item {
    min-height: var(--h-lg, 800px);
  }
}

@media (max-width: 768px) {
  .flex-grid__item--25 { flex-basis: 50%; }
}

.promo-grid__container {
  position: absolute;
  inset: 0;
  display: flex;
  color: #fff;
}

.vertical-top { align-items: flex-start; }
.vertical-center { align-items: center; }
.vertical-bottom { align-items: flex-end; }
.horizontal-left { justify-content: flex-start; }
.horizontal-center { justify-content: center; }
.horizontal-right { justify-content: flex-end; }

.promo-grid__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #8b939c;
}

.promo-grid__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-grid__slide-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.promo-grid__content {
  position: relative;
  z-index: 2;
  padding: 34px;
  pointer-events: none;
}

.promo-grid__content .btn {
  pointer-events: auto;
}

.promo-grid__text {
  font-size: 1.2em;
  line-height: 1.6;
  text-align: center;
  text-shadow: var(--glow);
}

.promo-grid__text h1,
.promo-grid__text h2,
.promo-grid__text h4,
.promo-grid__text h5 {
  text-shadow: var(--glow);
}

.promo-grid__text h4 {
  margin: 0 0 15px;
  font-size: 0.8em;
  letter-spacing: 0.3em;
  line-height: 1.35;
}

.promo-grid__text h1 {
  margin: 0 0 15px;
  font-size: 2.2em;
}

.promo-grid__text h5 {
  margin: 0 0 10px;
  font-size: 0.8em;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.promo-grid__text .btn {
  margin: 2px 10px 10px 0;
}

/* hero */
.promo-grid--hero .promo-grid__content {
  max-width: 569px;
  width: 100%;
}

.promo-grid--hero .promo-grid__text {
  font-size: 1.3em;
  margin: 110px 0 0 44px;
}

@media (max-width: 768px) {
  .promo-grid--hero .promo-grid__container {
    align-items: center;
  }
  .promo-grid--hero .promo-grid__content {
    max-width: none;
    padding: 30px 24px;
  }
  .promo-grid--hero .promo-grid__text {
    margin: 0;
    text-align: left;
    font-size: 1.05em;
  }
  .promo-grid--hero .promo-grid__text h1 {
    font-size: 2.1em;
  }
}

/* tiles (4 колонки с подписью по центру) */
.promo-grid--tiles .promo-grid__text {
  font-size: 1.2em;
  text-shadow: none;
}

.promo-grid--tiles h5 {
  margin: 0;
  font-size: 0.8em;
  letter-spacing: 0.05em;
  font-weight: 400;
  text-shadow: none;
}

.promo-grid--tiles .promo-grid__bg img {
  transition: transform 0.8s var(--ease);
}

.promo-grid--tiles .flex-grid__item:hover .promo-grid__bg img {
  transform: scale(1.03);
}

/* центральный оверлей «снаружи» (Edge-блок) */
.outside-text {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  pointer-events: none;
  padding: 20px;
}

.outside-text .promo-grid__text {
  font-size: 1em;
}

.outside-text .rte--em {
  margin-bottom: 12px;
  font-size: 0.8em;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.outside-text h1 {
  margin: 0 0 15px;
  font-size: 2.5em;
}

.outside-text h5 {
  margin: 0 0 14px;
  font-size: 0.8em;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.outside-text .btn {
  pointer-events: auto;
}

@media (max-width: 768px) {
  .outside-text {
    padding: 20px 16px;
  }
  .outside-text h1 {
    font-size: 1.9em;
  }
  .outside-text .promo-grid__text br {
    display: none;
  }
}

/* чёрный баннер с шапкой */
.black-banner {
  background: #000;
}

.black-banner__head {
  padding: 24px 20px 26px;
  text-align: center;
  color: var(--c-announcement-text);
}

.black-banner__head h2 {
  font-size: 32.3px;
  line-height: 1;
}

.black-banner__head h5 {
  margin-top: 5px;
  font-size: 13.6px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .black-banner__head h2 { font-size: 24px; }
  .black-banner__head h5 { font-size: 11px; }
}

/* void / intro баннер */
.intro-banner__text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 36px;
}

@media (max-width: 768px) {
  .intro-banner__text {
    flex-direction: column;
    gap: 14px;
  }
  .intro-banner__sign {
  display: block;
  width: 300px;
  max-width: 60vw;
  height: auto;
}
}

.intro-banner__sign {
  font-family: "Snell Roundhand", "Brush Script MT", cursive;
  font-size: 54px;
  line-height: 1;
  color: #ff5fb8;
  text-shadow: none;
  letter-spacing: 0;
}

.intro-banner h4 {
  margin: 0 0 15px;
  font-size: 0.75em;
}

/* -------------------------------------------------------------------------
   8. Product cards / rows
   ------------------------------------------------------------------------- */
.product-row {
  padding: 40px 0;
}

.product-row--tight {
  padding: 30px 0 40px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 30px;
}

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

/* ряды по 3 товара: карточки того же размера, что в рядах по 5 (≈335px), а не на треть экрана */
@media (min-width: 769px) {
  .product-grid--3 {
    max-width: 1056px;
    margin-left: auto;
    margin-right: auto;
  }
}

.grid-product {
  position: relative;
}

.grid-product__image-mask {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.image-wrap {
  position: relative;
  overflow: hidden;
  padding-bottom: 133.333%;
  border-radius: 16px;
  background: #f3f3f3;
}

.image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.image-wrap--tall {
  padding-bottom: 133.333%;
}

.grid-product__link {
  display: block;
}

.grid-product__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.grid-product__meta {
  padding: 12px 4px 4px;
  text-align: left;
}

.grid-product__eyebrow {
  font-size: 0.8em;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 4px;
}

.grid-product__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  word-break: break-word;
  hyphens: auto;
}

.grid-product__price {
  margin-top: 5px;
  font-size: 14.45px;
  line-height: 1.5;
  color: var(--c-text-soft);
}

.grid-product__price s,
.price-compare {
  margin-left: 4px;
  color: var(--c-compare);
  text-decoration: line-through;
  font-weight: 400;
}

.price-savings {
  margin-left: 6px;
  color: var(--c-sale);
  white-space: nowrap;
}

.grid-product__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 3px 8px;
  background: #fff;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@media (max-width: 1048px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .grid-overflow-wrapper {
    margin-right: calc(var(--page-pad) * -1);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .grid-overflow-wrapper::-webkit-scrollbar {
    display: none;
  }
  .grid-overflow-wrapper .product-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 46%;
    padding-right: var(--page-pad);
  }
  .grid-overflow-wrapper .grid-product {
    scroll-snap-align: start;
  }
  .grid-product__title {
    font-size: 12px;
    letter-spacing: 0.15em;
  }
  .grid-product__price {
    font-size: 12px;
  }
  .product-row {
    padding: 28px 0;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* -------------------------------------------------------------------------
   9. Stories + social feed
   ------------------------------------------------------------------------- */
.section--divider {
  border-top: 1px solid #f0f0f0;
  padding: 70px 0 20px;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--gutter);
}

.article-card__image {
  display: block;
  margin: 0 0 20px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.article-card:hover .article-card__image img {
  transform: scale(1.03);
}

.article-card__title {
  display: block;
  margin: 0 auto 30px;
  max-width: 256px;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .section--divider {
    padding: 44px 0 10px;
  }
  .story-grid {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .article-card__title {
    max-width: none;
  }
}

/* -------------------------------------------------------------------------
   10. Footer
   ------------------------------------------------------------------------- */
.site-footer {
  padding: 60px 0;
  border-top: 1px solid #f0f0f0;
  color: var(--c-text-soft);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.42fr;
  column-gap: var(--gutter);
}

.footer__small,
.footer__list a {
  font-size: 10px;
  font-weight: 400;
  line-height: 23px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-footer);
}

.footer__small a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__small--gap {
  margin-bottom: 20px;
}

.footer__logo {
  margin: 8px 0 15px;
}

.logo-full--footer {
  height: 22px;
}

.footer__title {
  margin: 12px 0 8px;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 0.1em;
  color: var(--c-footer);
}

.footer__list a:hover,
.footer__small a:hover {
  text-decoration: underline;
}

.footer__social {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin: 10px 0 60px;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #111;
}

.footer__social svg {
  width: 7px;
  height: 7px;
  fill: #fff;
  stroke: none;
}

.footer__newsletter {
  display: flex;
  align-items: center;
  border-bottom: 2px solid #000;
}

.footer__newsletter input {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer__newsletter input::placeholder {
  color: #333;
}

.footer__newsletter button {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer__newsletter.is-error {
  border-bottom-color: #c0392b;
}

.footer__news-msg {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.footer__news-msg[hidden] {
  display: none;
}

.footer__news-msg.is-error {
  color: #c0392b;
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
  }
  .footer__social {
    justify-content: flex-start;
    margin-bottom: 24px;
  }
}

@media (max-width: 560px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------------
   11. Collection (каталог)
   ------------------------------------------------------------------------- */
.page-content--top {
  padding: 75px 0 0;
}

.collection-intro {
  padding: 2em 0 0;
  text-align: center;
  font-size: 13.6px;
  letter-spacing: 0.1em;
}

.collection-layout {
  display: grid;
  grid-template-columns: 227px minmax(0, 1fr);
  column-gap: 32px;
  padding: 100px 0 var(--page-end);
}

.collection-sidebar__group {
  margin-bottom: 5px;
  border-bottom: 1px solid #f1f1f1;
}

.tag-list__header {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 15px 10px 15px 0;
  font-size: 13.6px;
  line-height: 1.6;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: left;
}

.tag-list__header .icon {
  transition: transform 0.3s var(--ease);
}

.tag-list__header[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

.collapsible-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease), opacity 0.3s var(--ease);
  opacity: 0;
}

.collapsible-content.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.collapsible-content__inner {
  overflow: hidden;
}

.tag {
  padding: 4px 0;
}

.tag__label {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-size: 17px;
  line-height: 1.4;
}

.tag__label input {
  position: absolute;
  opacity: 0;
}

.tag__box {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
  border: 1px solid #000;
}

.tag__label input:checked + .tag__box::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: #000;
}

.tag__label input:focus-visible + .tag__box {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.tag__sw {
  flex: none;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 50%;
  background: var(--sw);
}

.tag__sw[data-multi] {
  background: conic-gradient(#e0483c, #f3b53f, #5aa469, #3f7fd1, #8b57c4, #e0483c);
}

.collection-sidebar .tag__label:has(input:checked) .tag__sw {
  border-color: rgba(255, 255, 255, 0.55);
}

.collection-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 15px;
}

.collection-count {
  padding-top: 8px;
}

.select-wrap {
  position: relative;
  width: 242px;
}

.select-wrap select {
  width: 100%;
  height: 44px;
  padding: 8px 28px 8px 10px;
  border: 1px solid var(--c-input-border);
  border-radius: 0;
  background: #fff;
  font-size: 16px;
  letter-spacing: -0.025em;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.select-wrap .icon {
  position: absolute;
  right: 10px;
  top: 18px;
  pointer-events: none;
}

.collection-grid {
  row-gap: 30px;
}

.collection-more {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.filter-toggle {
  display: none;
}

.sidebar-close {
  display: none;
}

/* каталог: на десктопе — боковая колонка и селект; на планшете и телефоне — таблетки и нижние «шторки» */
.sheet__head,
.sheet__foot,
.pill,
.sheet--sort {
  display: none;
}

@media (max-width: 1048px) {
  .collection-layout {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 24px;
  }
  .collection-content {
    min-width: 0;
  }
  .select-wrap {
    display: none;
  }
  .collection-toolbar {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 6px;
  }
  .pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 22px;
    background: var(--o-soft);
    color: var(--o-text);
    font: inherit;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
  }
  .pill .icon {
    width: 18px;
    height: 18px;
    stroke-width: 5;
  }
  .pill--filter {
    flex: none;
  }
  .pill--sort {
    width: max-content;
    max-width: 100%;
    justify-self: end;
    justify-content: flex-end;
    text-align: right;
    min-width: 0;
  }
  .pill--sort .icon {
    flex: none;
  }
  .pill--sort span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .pill__n {
    display: inline-flex;
    min-width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #111;
    color: #fff;
    font-size: 11px;
    font-style: normal;
  }
  .collection-count {
    grid-column: 1 / -1;
    order: 5;
    flex: 0 0 100%;
    margin: 0;
    padding: 6px 4px 0;
    color: #8a8a8a;
    font-size: 13px;
    letter-spacing: 0;
  }
  /* шторки: фильтры и сортировка */
  .sheet {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    max-height: 92vh;
    border-radius: 18px 18px 0 0;
    background: #fff;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.18);
    transform: translateY(105%);
    visibility: hidden;
    transition: transform 0.4s var(--ease);
  }
  .sheet.is-open {
    transform: none;
    visibility: visible;
  }
  .collection-sidebar.sheet {
    height: 92vh;
  }
  .sheet--sort {
    display: flex;
    height: auto;
  }
  .sheet__head {
    position: relative;
    display: flex;
    flex: none;
    align-items: center;
    justify-content: space-between;
    padding: 22px 20px 12px;
  }
  .sheet__head::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 40px;
    height: 4px;
    margin-left: -20px;
    border-radius: 2px;
    background: #ddd;
  }
  .sheet__title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }
  .sheet__close {
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--o-soft);
    cursor: pointer;
  }
  .sheet__close .icon {
    width: 14px;
    height: 14px;
    stroke-width: 6;
  }
  .sheet__body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 0 20px 12px;
  }
  .sheet__foot {
    display: flex;
    flex: none;
    align-items: center;
    gap: 12px;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid #ececec;
    background: #fff;
  }
  .sheet__reset {
    padding: 12px 6px;
    border: 0;
    background: none;
    color: #111;
    font: inherit;
    font-size: 14px;
    letter-spacing: 0;
    text-decoration: underline;
    cursor: pointer;
  }
  .sheet__apply {
    flex: 1;
    height: 50px;
    padding: 0 16px;
    border-radius: 25px;
    letter-spacing: 0.06em;
  }
  .sheet__apply.is-disabled {
    background: #ececec;
    color: #a8a8a8;
    pointer-events: none;
  }
  .sort-opt {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 17px 0;
    border: 0;
    border-bottom: 1px solid #f0f0f0;
    background: none;
    font: inherit;
    font-size: 16px;
    letter-spacing: 0;
    text-align: left;
    cursor: pointer;
  }
  .sort-opt.is-active {
    font-weight: 700;
  }
  .sort-opt__mark {
    position: relative;
    width: 22px;
    height: 22px;
    border: 1.5px solid #c9c9c9;
    border-radius: 50%;
  }
  .sort-opt.is-active .sort-opt__mark {
    border-color: #111;
  }
  .sort-opt.is-active .sort-opt__mark::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: #111;
  }
  .sheet__body--list {
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
  }

  /* фильтры — «чипы» вместо чекбоксов */
  .collection-sidebar .collection-sidebar__group {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
  }
  .collection-sidebar .tag-list__header {
    padding: 16px 0;
    font-size: 14px;
    letter-spacing: 0.12em;
  }
  .collection-sidebar .collapsible-content__inner ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 2px 0 16px;
    list-style: none;
  }
  .collection-sidebar .tag {
    margin: 0;
    padding: 0;
  }
  .collection-sidebar .tag__label {
    position: relative;
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 0 16px;
    border-radius: 20px;
    background: var(--o-soft);
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
  }
  .collection-sidebar .tag__box {
    display: none;
  }
  .collection-sidebar .tag__label input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  .collection-sidebar .tag__label:has(input:checked) {
    background: #111;
    color: #fff;
  }
}

@media (max-width: 768px) {
  .page-content--top {
    padding-top: 36px;
  }
}

/* -------------------------------------------------------------------------
   12. Product page
   ------------------------------------------------------------------------- */
.product-section {
  padding: 55px 0 0;
}

@media (max-width: 768px) {
  .product-section {
    padding-top: 20px;
  }
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--gutter);
  align-items: start;
}

.product-layout > * {
  min-width: 0;
}

.product-single__sticky {
  position: sticky;
  top: 24px;
}

.product-gallery {
  display: flex;
  align-items: stretch;
  gap: 15px;
}

.product__thumbs {
  flex: 0 0 80px;
  max-width: 80px;
  position: relative;
  order: -1;
}

.product__thumbs-scroll {
  position: absolute;
  inset: 0 0 26px;
  overflow-y: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.product__thumbs-scroll::-webkit-scrollbar {
  display: none;
}

.product__thumb-item {
  margin-bottom: 15px;
  border: 2px solid transparent;
}

.product__thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  cursor: pointer;
}

.product__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product__thumb.is-active::before {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 2px #000;
  z-index: 1;
}

.product__thumb-arrow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 6px 0;
}

.product__thumb-arrow .icon {
  width: 12px;
  height: 7px;
}

.product__main-photos {
  flex: 1;
  min-width: 0;
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.product__main-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: fadeIn 0.4s var(--ease);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.product-single__meta {
  padding: 0 0 0 45px;
}

.product-single__title {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1;
}

.product-block--price {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.6;
}

.variant-wrapper {
  margin-bottom: 4px;
}

.variant__label {
  display: block;
  margin: 12px 0 10px;
  font-size: 13.6px;
  line-height: 1.6;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.variant__label em {
  font-style: normal;
  letter-spacing: 0.03em;
  text-transform: none;
}

.variant-input-wrap {
  position: relative;
}

.variant-input-wrap input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.variant__button-label {
  display: inline-block;
  margin: 0 4px 12px;
  padding: 7px 15px;
  font-size: 15px;
  line-height: 24px;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: box-shadow 0.2s;
}

.variant__button-label:first-of-type {
  margin-left: 0;
}

.variant-input-wrap input:checked + .variant__button-label {
  box-shadow: 0 0 0 2px #000;
}

.variant-input-wrap input:focus-visible + .variant__button-label {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.variant__button-label.disabled {
  opacity: 0.5;
}

.color-swatch {
  width: 48px;
  height: 64px;
  padding: 0;
  margin: 0 4px 12px 4px;
  position: relative;
  background-color: #f3f3f3;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 50%;
  box-shadow: 0 0 0 1px #e6e6e6;
  overflow: hidden;
  text-indent: -9999px;
}

.variant-input-wrap input:checked + .color-swatch {
  box-shadow: 0 0 0 2px #000;
}

.color-swatch--graphite { background-color: #4b4b4f; }
.color-swatch--bone { background-color: #ece7dd; }

.product-inventory {
  display: flex;
  align-items: center;
  margin: 8px 0 18px;
  font-size: 13.6px;
  letter-spacing: 0.03em;
}

.product-inventory i {
  width: 7px;
  height: 7px;
  margin: 0 12px 0 4px;
  border-radius: 50%;
  background: var(--c-stock-low);
}

.product-inventory.is-ok i {
  background: #3bb273;
}

.add-to-cart {
  min-height: 50px;
  margin-bottom: 10px;
}




.more-payment {
  display: block;
  width: 100%;
  margin: 14px 0;
  text-align: center;
  font-size: 13.6px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.wishlist-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px 5px;
  margin-bottom: 5px;
  border: 1px solid #111;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.wishlist-btn.is-active .icon path {
  fill: #000;
}

.wishlist-btn .icon {
  width: 17px;
  height: 17px;
}

.reward-line {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  font-size: 11.5px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.reward-line .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  stroke-width: 3.6;
}

.reward-line a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.product-description-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--gutter);
  max-width: 1082px;
  margin: 50px auto 0;
  padding: 20px;
}

.product-description-row h4 {
  margin: 20px 0;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.6;
}

.product-description-row p,
.product-description-row li {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.618;
  letter-spacing: 0.1em;
}

.product-description-row ul {
  list-style: disc;
  padding-left: 18px;
}

@media (min-width: 1000px) {
  .product-description-row p,
  .product-description-row li {
    max-width: 80%;
  }
}

.collapsibles {
  max-width: 1060px;
  margin: 30px auto 0;
}

.collapsible-trigger-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 15px;
  border-top: 1px solid #f1f1f1;
  font-size: 13.6px;
  line-height: 1.6;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.collapsible-trigger-btn .icon {
  position: absolute;
  right: 15px;
  top: 50%;
  margin-top: -4px;
  transition: transform 0.3s var(--ease);
}

.collapsible-trigger-btn[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

.collapsibles .collapsible-content__inner > div {
  padding: 4px 24px 22px;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.1em;
  text-align: center;
}

.collapsibles__last {
  border-bottom: 1px solid #f1f1f1;
}

.product-section__title {
  margin: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1;
}

.product-section__block {
  padding: 60px 0 0;
}

.recs {
  padding: 50px 0;
}

.recs .section-header {
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-single__sticky {
    position: static;
  }
  .product-gallery {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .product__main-photos {
    flex: none;
    width: 100%;
  }
  .product__thumbs {
    order: 1;
    flex-basis: auto;
    max-width: none;
  }
  .product__thumbs {
    position: static;
  }
  .product__thumbs-scroll {
    position: static;
    display: flex;
    gap: 8px;
    overflow-x: auto;
  }
  .product__thumb-item {
    flex: 0 0 64px;
    margin: 0;
  }
  .product__thumb-arrow {
    display: none;
  }
  .product-single__meta {
    padding: 28px 0 0;
  }
  .product-description-row {
    grid-template-columns: 1fr;
    padding: 0;
    margin-top: 30px;
  }
}

/* -------------------------------------------------------------------------
   13. Toast (после добавления в корзину)
   ------------------------------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 130;
  padding: 12px 20px;
  background: #111;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* =========================================================================
   Фото из фида: светло-серый фон #f3f3f3 приводим к белому
   ========================================================================= */
.product-photo {
  filter: brightness(1.05);
}

/* баннеры: картинка, видео и <picture> заполняют блок целиком */
.promo-grid__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.promo-grid__bg video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-grid--hero .promo-grid__bg img {
  object-position: 48.5536% 94.2755%;
}

@media (max-width: 768px) {
  .promo-grid--hero .promo-grid__bg img {
    object-position: 50% 40%;
  }
}

/* две портретные фотографии 2:3 (блок Empowered Play) */
.image-tile.image-tile {
  display: block;
  min-height: 0;
  flex-basis: 50%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}

.image-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-single__type {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.variant__dash {
  letter-spacing: 0.03em;
  text-transform: none;
}

/* панель «Определить размер» */
.drawer--size .drawer__header {
  padding: 40px 30px 28px;
}

.drawer--size .drawer__title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.drawer--size .drawer__close {
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  margin-right: 0;
  border-radius: 50%;
  background: #f6f6f6;
}

.size-panel {
  padding: 0 30px 40px;
  color: var(--o-text);
  letter-spacing: 0;
}

.size-panel__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  text-align: left;
}

.size-panel__table th {
  padding: 14px 12px;
  border-bottom: 1px solid #ececec;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
}

.size-panel__table td {
  width: 50%;
  padding: 10px 12px 9px;
}

.size-panel__table tbody tr:nth-child(even) td {
  background: #f6f6f6;
}

.size-panel__title {
  margin: 44px 0 14px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.size-panel p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.4;
}

.size-panel img {
  display: block;
  width: 100%;
  height: auto;
  margin: 18px 0 22px;
  background: #f6f6f6;
}

.cart-item img {
  object-fit: contain;
  background: #fff;
}

.price-now {
  white-space: nowrap;
}

.reward-line--link {
  margin-top: 8px;
  padding-left: 26px;
}

/* =========================================================================
   Оформление заказа, избранное, заказы, информационные страницы
   Раскладка и компоненты — по образцу ashrussia.ru; шрифты и цвета сайта сохранены
   ========================================================================= */
:root {
  --o-text: #1b1b1d;
  --o-field-line: #f0f0f0;
  --o-card: #f6f6f6;
  --o-green: #6cac8a;
  --o-error: #de4819;
}

.page-title {
  margin: 30px 0 40px;
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.info-page .page-title {
  margin-top: var(--page-top);
}

.page-title--left {
  margin: 0 0 14px;
  text-align: left;
  font-size: 34px;
}

.round-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-top: 26px;
  border-radius: 50%;
  background: #f1f1f1;
  color: var(--o-text);
}

.round-back .icon {
  width: 14px;
  height: 14px;
  stroke-width: 6;
}

.icon--inline {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: -2px;
  stroke-width: 5;
}

/* ---- поля с плавающей подписью ---- */
.field {
  position: relative;
  display: block;
  margin-bottom: 12px;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  height: 40px;
  padding: 10px 16px;
  border: 1px solid var(--o-field-line);
  border-radius: 4px;
  background: #fff;
  color: #000;
  font: inherit;
  font-size: 15px;
  line-height: 21px;
  letter-spacing: 0;
  outline: 0;
  appearance: none;
  transition: border-color 0.2s;
}

.field textarea {
  height: auto;
  min-height: 100px;
  padding-top: 14px;
  resize: vertical;
}

.field > span {
  position: absolute;
  left: 12px;
  top: 20px;
  padding: 0 4px;
  background: transparent;
  color: #a5a5a5;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: top 0.15s, font-size 0.15s, color 0.15s;
}

.field--area > span {
  top: 18px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--o-text);
}

.field input:focus + span,
.field input:not(:placeholder-shown) + span,
.field textarea:focus + span,
.field textarea:not(:placeholder-shown) + span {
  top: 0;
  background: #fff;
  color: #6b6b6b;
  font-size: 11px;
}

.field.is-error input,
.field.is-error select,
.field.is-error textarea {
  border-color: var(--o-error);
}

.field.is-error > span {
  top: 0;
  background: #fff;
  color: var(--o-error);
  font-size: 11px;
}

.field--select select {
  padding-right: 36px;
  cursor: pointer;
}

.field--select select.is-empty {
  color: #a5a5a5;
}

.field--select .icon {
  position: absolute;
  top: 16px;
  right: 14px;
  pointer-events: none;
}

.field--big input {
  height: 52px;
  border: 0;
  border-bottom: 2px solid #e2e2e2;
  border-radius: 0;
  padding: 14px 4px 6px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.field--big > span {
  left: 0;
  top: 26px;
  padding: 0;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: #c7c7c7;
}

.field--big input:focus + span,
.field--big input:not(:placeholder-shown) + span {
  top: 6px;
  background: transparent;
  font-size: 11px;
}

.field--big input:focus {
  border-bottom-color: var(--o-text);
}

.field-hint {
  margin: -6px 0 12px;
  color: #9b9b9b;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
}

.field-hint--error {
  margin-top: 4px;
  color: var(--o-error);
}

.field-col {
  min-width: 0;
}

.order-form__row {
  display: flex;
  gap: 12px;
}

.order-form__row > * {
  flex: 1 1 0;
  min-width: 0;
}

/* ---- оформление заказа ---- */
.checkout,
.account-page,
.info-page {
  padding-bottom: var(--page-end);
}

/* у последнего блока колонки нет собственного нижнего отступа: расстояние до подвала задаёт --page-end */
.info-content > :last-child,
.info-aside > :last-child {
  margin-bottom: 0;
}

/* избранное: под списком идёт блок рекомендаций — между ними обычный зазор */
.account-page:has(+ .recs-slider) {
  padding-bottom: 40px;
}

.checkout__layout {
  display: grid;
  grid-template-columns: minmax(0, 614px) 340px;
  gap: 48px;
  justify-content: center;
  align-items: start;
}

.checkout__lead {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.checkout__empty,
.checkout__done,
.orders-empty {
  max-width: 520px;
  margin: 40px auto 0;
  text-align: center;
}

.checkout__done p,
.orders-empty p {
  letter-spacing: 0;
}

.checkout__demo,
.orders-note {
  color: #9b9b9b;
  font-size: 12px;
}

.checkout__done-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.order-form__title {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.order-form__title:not(:first-child) {
  margin-top: 44px;
}

.order-form__subtitle {
  margin: 8px 0 12px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
}

.geo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: -4px 0 14px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--o-text);
  font-size: 13px;
  letter-spacing: 0;
  cursor: pointer;
}

.geo-link .icon {
  width: 12px;
  height: 12px;
  stroke-width: 5;
}

.order-form__group {
  margin-top: 12px;
}

.order-form__row--3 > * {
  flex: 1 1 0;
}

.order-form__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  align-items: center;
  margin: 4px 0 16px;
  font-size: 13px;
  letter-spacing: 0;
}

.check,
.switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.check input,
.switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check__box {
  width: 16px;
  height: 16px;
  border: 1px solid #cfcfcf;
  border-radius: 3px;
  background: #fff;
  position: relative;
}

.check input:checked + .check__box {
  background: var(--o-text);
  border-color: var(--o-text);
}

.check input:checked + .check__box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.switch__track {
  width: 34px;
  height: 20px;
  border-radius: 10px;
  background: #d6d6d6;
  position: relative;
  transition: background 0.2s;
}

.switch__track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}

.switch input:checked + .switch__track {
  background: var(--o-text);
}

.switch input:checked + .switch__track::after {
  transform: translateX(14px);
}

/* способы доставки */
.ship-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 12px;
}

.ship-card,
.pay-card {
  position: relative;
  display: block;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--o-card);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.ship-card {
  padding: 16px;
  color: #9a9a9a;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0;
}

.ship-card input,
.pay-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ship-card__radio,
.pay-card__radio {
  position: relative;
  display: block;
  flex: none;
  width: 14px;
  height: 14px;
  border: 1px solid #c4c4c4;
  border-radius: 50%;
  background: #fff;
}

.ship-card__radio {
  margin-bottom: 12px;
}

.ship-card.is-selected .ship-card__radio::after,
.pay-card input:checked + .pay-card__radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--o-text);
}

.ship-card.is-selected,
.pay-card:has(input:checked) {
  border-color: var(--o-text);
  background: #f1f1f1;
  color: var(--o-text);
}

.ship-card__title {
  display: block;
  margin-bottom: 6px;
  color: var(--o-text);
  font-size: 14px;
  font-weight: 700;
}

.ship-tag {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 8px;
  border-radius: 2px;
  background: var(--o-green);
  color: #fff;
  font-size: 13px;
  line-height: 16px;
  letter-spacing: 0;
}

/* способы оплаты */
.pay-list {
  display: grid;
  gap: 8px;
  margin-bottom: 26px;
}

.pay-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  font-size: 14px;
  letter-spacing: 0;
}

.pay-card__radio {
  margin-top: 3px;
}

.pay-card__name {
  display: block;
  color: var(--o-text);
}

.pay-card__note {
  display: none;
  margin-top: 8px;
  color: #6b6b6b;
  font-size: 13px;
}

.pay-card:has(input:checked) .pay-card__note {
  display: block;
}

.order-form__btn {
  display: block;
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 6px;
  background: var(--o-text);
  color: #fff;
  font: inherit;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.order-form__btn.is-disabled {
  background: #f1f1f1;
  color: #c3c3c3;
}

.order-form__legal {
  margin: 14px 0 0;
  color: #8a8a8a;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

.order-form__legal a {
  text-decoration: underline;
}

/* карточка «Ваш заказ» */
.order-card {
  position: sticky;
  top: 24px;
  padding: 24px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 0 1px #ececec, 0 8px 28px rgba(0, 0, 0, 0.05);
}

.order-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f0f0;
}

.order-card__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.order-card__edit {
  padding: 0;
  border: 0;
  background: none;
  color: var(--o-text);
  font-size: 11px;
  letter-spacing: 0;
  text-decoration: underline;
  cursor: pointer;
}

.order-card__items {
  display: grid;
  gap: 18px;
  padding: 18px 0;
}

.order-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
}

.order-item img {
  width: 80px;
  height: 107px;
  object-fit: cover;
  background: #f3f3f3;
}

.order-item__info {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0;
}

.order-item__name {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.order-item__price {
  margin-top: auto;
}

.order-codes {
  margin-top: 18px;
}

.code-field {
  position: relative;
  margin-top: 10px;
}

.code-field:first-child {
  margin-top: 0;
}

.code-field input {
  width: 100%;
  height: 52px;
  padding: 0 110px 0 16px;
  border: 1px dashed #c8c8d2;
  border-radius: 6px;
  background: #fff;
  color: var(--o-text);
  font: inherit;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: uppercase;
  outline: 0;
  transition: border-color 0.2s;
}

.code-field input::placeholder {
  color: #b6b4c1;
  text-transform: none;
}

.code-field input:focus {
  border-color: var(--o-text);
  border-style: solid;
}

.code-field.is-error input {
  border-color: #c0392b;
}

.code-field__btn {
  position: absolute;
  top: 0;
  right: 0;
  height: 52px;
  padding: 0 16px;
  border: 0;
  background: none;
  color: var(--o-text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
}

.code-field__btn[hidden],
.code-field__err[hidden],
.order-card__ship[hidden],
.total-pop[hidden] {
  display: none;
}

.code-field__err {
  margin: 6px 0 0;
  color: #c0392b;
  font-size: 12px;
  letter-spacing: 0;
}

.code-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.code-chips:empty {
  display: none;
}

.code-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 20px;
  background: #f4f4f4;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.code-chip button {
  padding: 0;
  border: 0;
  background: none;
  color: #6f6f6f;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.code-chip button:hover {
  color: var(--o-text);
}

.order-card__ship {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  color: #8a8a8a;
  font-size: 13px;
  letter-spacing: 0;
}

.order-card__ship span:last-child {
  color: var(--o-text);
}

.total-info {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--o-text);
  vertical-align: -2px;
  cursor: pointer;
}

.total-info .icon {
  width: 16px;
  height: 16px;
  stroke-width: 4;
}

.total-pop {
  position: absolute;
  right: 12px;
  bottom: calc(100% + 12px);
  left: 12px;
  z-index: 5;
  padding: 20px 22px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.16);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
}

.total-pop::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 74px;
  width: 16px;
  height: 16px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.05);
}

.total-pop__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0;
}

.total-pop__row span:first-child {
  color: #b6b4c1;
}

.total-pop__row .is-sale {
  color: var(--o-orange);
}

.total-pop__total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 14px;
}

.total-pop__label {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.total-pop__right {
  text-align: right;
}

.total-pop__price {
  font-size: 20px;
  font-weight: 700;
}

.total-pop__sub {
  color: #6f6f6f;
  font-size: 12px;
}

.order-card__total {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 18px -24px -24px;
  padding: 20px 24px 24px;
  border-top: 1px dashed #dedede;
}

.order-card__total::before,
.order-card__total::after {
  content: "";
  position: absolute;
  top: -9px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px #ececec;
  clip-path: inset(0 0 0 0);
}

.order-card__total::before {
  left: -9px;
}

.order-card__total::after {
  right: -9px;
}

.order-card__total-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.order-card__total-count {
  font-size: 11px;
  letter-spacing: 0;
}

.order-card__total-price {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0;
}

/* ---- избранное ---- */
.fav-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #000;
  cursor: pointer;
  transition: transform 0.15s;
}

.fav-btn:hover {
  transform: scale(1.08);
}

.fav-btn .icon {
  width: 16px;
  height: 16px;
  stroke-width: 5;
}

.fav-btn.is-active .icon path,
.wishlist-btn.is-active .icon path {
  fill: #000;
}

.fav-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  margin: 24px 0 40px;
  min-height: 320px;
}

.fav-art {
  flex: none;
  width: 260px;
  height: auto;
}

.fav-empty__text {
  max-width: 360px;
}

.fav-empty__text p {
  margin: 0 0 20px;
  letter-spacing: 0;
}

.account-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: -14px 0 32px;
}

.account-tabs a {
  padding: 8px 18px;
  border-radius: 20px;
  background: #f4f4f4;
  font-size: 13px;
  letter-spacing: 0;
}

.account-tabs a.is-active {
  background: var(--o-text);
  color: #fff;
}

.account-count {
  margin: 0 0 18px;
  color: #8a8a8a;
  font-size: 13px;
  letter-spacing: 0;
}

/* ---- заказы ---- */
.orders {
  max-width: 860px;
  margin: 0 auto;
}

.order-entry {
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid #ececec;
  border-radius: 6px;
}

.order-entry__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
}

.order-entry__id {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.order-entry__date {
  color: #8a8a8a;
  font-size: 13px;
  letter-spacing: 0;
}

.order-entry__status {
  padding: 4px 10px;
  border-radius: 2px;
  background: var(--o-green);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0;
}

.order-entry__status.is-cancelled {
  background: #b9b9b9;
}

.order-entry__items {
  display: grid;
  gap: 16px;
  margin: 18px 0;
}




.order-entry__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.order-entry__total {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.order-entry__actions {
  display: flex;
  gap: 10px;
}

.orders-note {
  margin-top: 28px;
  text-align: center;
}

/* ---- информационные страницы ---- */
.info-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 640px) 240px;
  gap: 40px;
  justify-content: center;
  align-items: start;
}

.info-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 14px;
  letter-spacing: 0;
}

.info-nav a:hover,
.info-nav a.is-active {
  background: #f4f4f4;
}

.info-nav a.is-active {
  font-weight: 700;
}

.info-content {
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0;
}

.info-content h2 {
  margin: 36px 0 14px;
  font-size: 22px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.info-content h2:first-child {
  margin-top: 0;
}

.info-content h3 {
  margin: 30px 0 12px;
  font-size: 17px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.info-content h3:first-child {
  margin-top: 0;
}

.info-content h4 {
  margin: 0 0 6px;
  font-size: 15px;
}

.info-content p {
  margin: 0 0 14px;
}

.info-content p,
.info-content li {
  text-wrap: pretty;
}

/* списки в тексте: с маркерами (общий сброс стилей их убирает) */
.info-content ul,
.info-content ol {
  margin: 0 0 18px;
  padding-left: 22px;
  list-style: disc outside;
}

.info-content ol {
  list-style: decimal outside;
}

.info-content li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.info-content li:last-child {
  margin-bottom: 0;
}

.info-content li::marker {
  color: #8a8a8a;
}

/* текст сразу после блока раскрывающихся пунктов не прилипает к последней линии */
.info-content .acc + p,
.info-content .acc + ul,
.info-content .acc + ol,
.info-content .acc + .info-note {
  margin-top: 24px;
}

.info-content .acc__body {
  padding-bottom: 16px;
}

.info-content .acc__body > :last-child {
  margin-bottom: 0;
}

.info-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.info-content a.btn,
.info-content a.contacts__btn {
  text-decoration: none;
}

.info-card {
  margin-bottom: 14px;
  padding: 20px;
  border-radius: 6px;
  background: var(--o-card);
}

.info-card h3,
.info-card h4 {
  margin: 0 0 8px;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-quote {
  margin: 0 0 24px;
  padding: 0 0 0 20px;
  border-left: 3px solid #000;
  font-size: 18px;
  line-height: 1.45;
}

.info-quote cite {
  display: block;
  margin-top: 8px;
  color: #8a8a8a;
  font-size: 13px;
  font-style: normal;
}

.info-note,
.info-source,
.info-hint {
  color: #8a8a8a;
  font-size: 13px;
}

.docs-list .acc {
  scroll-margin-top: 110px;
}

.docs-list .acc summary {
  padding: 22px 0;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-list .acc__body {
  padding: 0 0 28px;
}

.legal {
  font-size: 14px;
  line-height: 1.6;
}

.legal h4 {
  margin: 26px 0 10px;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}

.legal h4:first-child {
  margin-top: 0;
}

.legal table {
  width: 100%;
  margin: 0 0 18px;
  border-collapse: collapse;
}

.legal td {
  padding: 10px 12px;
  border: 1px solid #ececec;
  vertical-align: top;
}

.legal td:first-child {
  width: 32%;
  background: #f6f6f6;
}

.legal ul {
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .docs-list .acc summary {
    padding: 18px 0;
    font-size: 13px;
  }
  .legal td {
    padding: 8px;
  }
}

.info-aside {
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0;
}

.info-aside__title {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.info-aside p {
  margin: 0 0 16px;
}

.info-aside__link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.info-aside__link .icon {
  width: 14px;
  height: 14px;
  stroke-width: 5;
}

.info-aside__phone {
  display: block;
  font-weight: 700;
}

.info-aside__hours {
  margin: 2px 0 0;
  color: #8a8a8a;
}

/* доставка: город и условия */
.ship-city {
  margin-bottom: 28px;
}

.ship-city__input {
  display: block;
  width: 100%;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 1px solid var(--o-text);
  border-radius: 0;
  background: none;
  color: #000;
  font: inherit;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  outline: 0;
}

.ship-city__input::placeholder {
  color: #bcb8c4;
}

.ship-city__input:focus-visible {
  padding-bottom: 11px;
  border-bottom-width: 2px;
}

.ship-city__geo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
}

.ship-city__geo .icon {
  width: 16px;
  height: 16px;
  stroke-width: 4;
}

.delivery-result {
  display: grid;
  gap: 6px;
}

.delivery-result[hidden] {
  display: none;
}

.delivery-result__item {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  align-items: center;
  gap: 6px 12px;
  padding: 18px 16px;
  border-radius: 6px;
  background: #f6f6f6;
}

.delivery-result__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.delivery-result__name {
  margin-bottom: 2px;
  color: #b6b4c1;
  font-size: 12px;
  text-transform: uppercase;
}

.delivery-result__value {
  font-size: 15px;
  font-weight: 500;
}

.delivery-result__tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.delivery-result__tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
  padding: 16px;
  border-radius: 6px;
  background: #f6f6f6;
  font-size: 15px;
  font-weight: 500;
}

.delivery-result__tile svg {
  flex: none;
}

.delivery-result__note {
  margin-top: 10px;
  font-size: 15px;
}

.delivery-result__txt {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.4;
}

.ship-more {
  margin-top: 48px;
}

@media (max-width: 560px) {
  .ship-city__input {
    font-size: 21px;
  }
  .delivery-result__item {
    grid-template-columns: 1fr 1fr;
    padding: 16px 14px;
  }
  .delivery-result__title {
    grid-column: 1 / -1;
    font-size: 18px;
  }
  .delivery-result__tile {
    padding: 14px;
  }
}

.acc {
  border-top: 1px solid #ececec;
}

.acc:last-of-type {
  border-bottom: 1px solid #ececec;
}

.acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.acc summary::-webkit-details-marker {
  display: none;
}

.acc summary .icon {
  transition: transform 0.2s;
}

.acc[open] summary .icon {
  transform: rotate(180deg);
}

.acc__body {
  padding: 0 0 8px;
}

/* ---- адаптив ---- */
@media (max-width: 1180px) {
  .info-layout {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .info-aside {
    grid-column: 2;
  }
}

@media (max-width: 960px) {
  .checkout__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .order-card {
    position: static;
    order: -1;
  }
  .fav-empty {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  .fav-empty__text .page-title--left {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-title {
    margin: 20px 0 26px;
    font-size: 26px;
  }
  .round-back {
    margin-top: 16px;
  }
  .info-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .info-aside {
    grid-column: auto;
  }
  .info-nav ul {
    display: flex;
    gap: 8px;
    margin: 0 calc(var(--page-pad) * -1);
    padding: 0 var(--page-pad);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .info-nav li {
    flex: none;
  }
  .info-nav a {
    padding: 8px 14px;
    border-radius: 20px;
    background: #f4f4f4;
    white-space: nowrap;
  }
  .info-nav a.is-active {
    background: var(--o-text);
    color: #fff;
  }
  .ship-options {
    grid-template-columns: minmax(0, 1fr);
  }
  .order-form__row {
    flex-wrap: wrap;
  }
  .order-form__row--3 {
    flex-wrap: nowrap;
  }
  .order-form__row:not(.order-form__row--3) > * {
    flex: 1 1 100%;
  }
  .order-form__title:not(:first-child) {
    margin-top: 34px;
  }
  .fav-art {
    width: 190px;
  }
  .order-entry {
    padding: 16px;
  }
}

/* узкие экраны (320–400px): баннерные заголовки и панель сортировки не должны шире экрана */
@media (max-width: 400px) {
  .promo-grid__content {
    padding: 24px;
  }
  .promo-grid__text h1[style] {
    font-size: 1.7em !important;
    overflow-wrap: anywhere;
  }
  .collection-toolbar {
    flex-wrap: wrap;
    gap: 8px;
  }
  .select-wrap {
    width: 100%;
    max-width: 100%;
  }
}

/* =========================================================================
   Окно корзины, вход, личный кабинет, оплата, 404, наличие в магазинах
   Раскладка — по макету ck41693.tmweb.ru/ashpages (шрифты и цвета — сайта)
   ========================================================================= */
:root {
  --o-soft: #f5f5f8;
  --o-orange: #e06a2b;
}

/* ---- корзина ---- */
.drawer--cart {
  width: 490px;
}

.drawer--cart .drawer__header {
  padding: 22px 24px;
}

.drawer--cart .drawer__title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.cart-line {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 24px;
  border-top: 1px solid #f0f0f0;
}

.cart-line__img {
  display: block;
  background: #f3f3f3;
  aspect-ratio: 3 / 4;
}

.cart-line__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-line__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.cart-line__name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cart-line__type,
.cart-line__size {
  font-size: 13px;
  letter-spacing: 0;
  color: #444;
}

.fav-btn--line {
  position: static;
  flex: none;
  width: 28px;
  height: 28px;
  background: none;
}

.cart-line__bottom {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.cart-line__del {
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--o-soft);
  cursor: pointer;
}

.cart-line__del .icon {
  width: 15px;
  height: 15px;
  stroke-width: 5;
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px;
  border-radius: 20px;
  background: var(--o-soft);
  font-size: 13px;
  letter-spacing: 0;
}

.qty button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.qty button:disabled {
  opacity: 0.3;
  cursor: default;
}

.qty span {
  min-width: 18px;
  text-align: center;
}

.cart-line__price {
  margin-left: auto;
  text-align: right;
  font-size: 14px;
  letter-spacing: 0;
}

.cart-line__price s {
  display: block;
  color: #9b9b9b;
  font-size: 12px;
}

.cart-line__low {
  margin-top: 6px;
  color: var(--o-orange);
  font-size: 12px;
  letter-spacing: 0;
}

.cart-total {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 14px;
}

.cart-total__title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cart-total__count,
.cart-total__save {
  display: block;
  color: #8a8a8a;
  font-size: 11px;
  letter-spacing: 0;
}

.cart-total__right {
  text-align: right;
}

.cart-total__sum {
  display: block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}

/* ---- окно входа ---- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal.is-open {
  display: flex;
}

.modal__box {
  position: relative;
  width: 100%;
  max-width: 430px;
  max-height: 100%;
  overflow-y: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 0;
}

.modal__spacer {
  width: 34px;
}

.logo-mark--modal {
  display: block;
  height: 30px;
}

.modal__close {
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--o-soft);
  cursor: pointer;
}

.modal__close .icon {
  width: 14px;
  height: 14px;
  stroke-width: 6;
}

.modal__body {
  padding: 14px 36px 32px;
  text-align: center;
  letter-spacing: 0;
}

.modal__title {
  margin: 8px 0 10px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.modal__txt {
  margin: 0 0 22px;
  color: #555;
  font-size: 14px;
  line-height: 1.45;
}

.phone-field {
  position: relative;
  display: flex;
  align-items: center;
  height: 52px;
  margin-bottom: 14px;
  border: 1px solid var(--o-field-line);
  border-radius: 6px;
  background: #fff;
  text-align: left;
}

.phone-field:focus-within {
  border-color: var(--o-text);
}

.phone-field__country {
  position: relative;
  flex: none;
}

.phone-field__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 12px 0 16px;
  border: 0;
  border-right: 1px solid #ececec;
  background: none;
  font-size: 16px;
  cursor: pointer;
}

.phone-field__list {
  position: absolute;
  left: 0;
  top: 54px;
  z-index: 3;
  width: 220px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.phone-field__list button {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 10px;
  border: 0;
  border-radius: 4px;
  background: none;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.phone-field__list button:hover {
  background: var(--o-soft);
}

.phone-field input {
  flex: 1 1 auto;
  min-width: 0;
  height: 50px;
  padding: 0 16px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 16px;
  outline: 0;
}

.modal__btn {
  display: block;
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 6px;
  background: var(--o-text);
  color: #fff;
  font: inherit;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.modal__btn.is-disabled {
  background: #f1f1f1;
  color: #c3c3c3;
}

.modal__legal,
.modal__demo {
  margin: 18px 0 0;
  color: #8a8a8a;
  font-size: 11px;
  line-height: 1.5;
}

.modal__legal a {
  text-decoration: underline;
}

.code-inputs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.code-inputs input {
  width: 54px;
  height: 58px;
  border: 1px solid var(--o-field-line);
  border-radius: 6px;
  background: #fff;
  font: inherit;
  font-size: 24px;
  text-align: center;
  outline: 0;
}

.code-inputs input:focus {
  border-color: var(--o-text);
}

.modal__error {
  margin: 0 0 8px;
  color: var(--o-error);
  font-size: 13px;
}

.modal__timer {
  margin: 0 0 6px;
  color: #8a8a8a;
  font-size: 13px;
}

.modal__link {
  display: block;
  margin: 6px auto 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}

/* ---- личный кабинет ---- */
.account {
  padding-bottom: var(--page-end);
}

.account-gate {
  max-width: 560px;
  margin: 40px auto 0;
  text-align: center;
}

.account-gate .page-title {
  font-size: 30px;
}

.account-layout {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding-top: var(--page-top);
}

.account-user {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 0 22px;
  border-bottom: 1px solid #ececec;
}

.account-user__ava {
  display: flex;
  flex: none;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #000;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
}

.account-user__info {
  min-width: 0;
}

.account-user__name,
.account-user__mail {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-user__name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-user__mail {
  color: #979797;
  font-size: 13px;
  letter-spacing: 0;
}

.account-menu__group {
  display: grid;
  gap: 2px;
  padding: 18px 0 6px;
}

.account-menu__group:nth-child(2) {
  padding: 6px 0 22px;
}

.account-menu__group--exit {
  padding: 22px 0 0;
  border-top: 1px solid #ececec;
}

.account-menu__link {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--o-text);
  font: inherit;
  font-size: 16px;
  letter-spacing: 0;
  text-align: left;
  cursor: pointer;
}

.account-menu__group:nth-child(2) .account-menu__link {
  font-size: 15px;
}

.account-menu__link:hover {
  background: #fafafa;
}

.account-menu__link.is-active {
  font-weight: 700;
}

.account-menu__link .account-menu__icon {
  width: 24px;
  height: 24px;
  flex: none;
  stroke-width: 3;
}

.account-menu__text {
  min-width: 0;
}

.account-menu__count {
  display: inline-flex;
  min-width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  color: #6f6f6f;
  font-size: 14px;
}

.account-title {
  margin: 0 0 36px;
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.account-sub {
  margin: 30px 0 14px;
  font-size: 15px;
  letter-spacing: 0;
}

.account-note {
  color: #8a8a8a;
  font-size: 13px;
}

.account-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 8px auto 0;
}

.account-tile {
  display: flex;
  min-height: 156px;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 26px;
  border-radius: 6px;
  background: #fafafa;
  font-size: 17px;
  letter-spacing: 0;
  transition: background 0.2s;
}

.account-tile:hover {
  background: #f4f4f4;
}

.account-tile .account-tile__icon {
  width: 26px;
  height: 26px;
  stroke-width: 3;
}

.account-tile__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-tile__n {
  display: inline-flex;
  min-width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 15px;
  background: #fff;
  font-size: 14px;
}

.account-main > .account-sub,
.account-main > .account-note {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* заказы */
.account-list {
  border-top: 1px solid #ececec;
}

.acc-order {
  padding: 18px 0;
  border-bottom: 1px solid #ececec;
}

.acc-order__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: start;
  gap: 8px 40px;
}

.acc-order__title {
  font-size: 15px;
  letter-spacing: 0;
}

.acc-order__sub {
  color: #bebebe;
  font-size: 13px;
  letter-spacing: 0;
}

.acc-order__sum {
  color: #a0a0a0;
  font-size: 14px;
}

.acc-order__status {
  min-width: 130px;
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.acc-order__status.is-warn {
  color: var(--o-orange);
}

.acc-order__status.is-bad {
  color: #d23a2a;
}

.acc-order__status.is-ok {
  color: #3c8f64;
}

.acc-order__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.acc-order__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.acc-thumb {
  position: relative;
  width: 68px;
  height: 90px;
  background: #f3f3f3;
}

.acc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.acc-thumb__size {
  position: absolute;
  right: 4px;
  bottom: 4px;
  display: flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  font-size: 12px;
  letter-spacing: 0;
}

.acc-thumb__qty {
  position: absolute;
  left: 4px;
  top: 4px;
  font-size: 11px;
  letter-spacing: 0;
}

.circle-btn {
  display: flex;
  flex: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f4f4f4;
  color: var(--o-text);
  cursor: pointer;
  transition: background 0.2s;
}

.circle-btn:hover {
  background: #e9e9e9;
}

.circle-btn .icon {
  width: 18px;
  height: 18px;
  stroke-width: 4;
}



.order-entry__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px 24px;
  margin: 0;
}

.order-entry__meta dt {
  color: #8a8a8a;
  font-size: 11px;
}

.order-entry__meta dd {
  margin: 2px 0 0;
}

.order-entry__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.acc-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 10px 0 30px;
  text-align: center;
  letter-spacing: 0;
}

.acc-empty:last-child {
  padding-bottom: 0;
}

.acc-empty p {
  max-width: 360px;
  margin: 0;
}

.acc-art {
  width: 170px;
  height: auto;
}

.acc-empty--small {
  padding: 4px 0;
  align-items: flex-start;
  text-align: left;
}

/* подписки, настройки */
.sub-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
  font-size: 14px;
  letter-spacing: 0;
}

.switch--solo {
  gap: 0;
}

.sub-list {
  display: grid;
}

.sub-item {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid #ececec;
  font-size: 13px;
  letter-spacing: 0;
}

.sub-item__img {
  display: block;
  background: #f3f3f3;
  aspect-ratio: 3 / 4;
}

.sub-item__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sub-item__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.sub-item__name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sub-status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: right;
  text-transform: uppercase;
}

.sub-status.is-none {
  color: #9b9b9b;
}

.sub-status.is-low {
  color: var(--o-orange);
}

.sub-item__off {
  margin-top: 26px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
}

.settings {
  max-width: 620px;
  margin: 0 auto;
}

.gender {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.gender label {
  cursor: pointer;
}

.gender input {
  position: absolute;
  opacity: 0;
}

.gender span {
  display: flex;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--o-soft);
  font-size: 13px;
  letter-spacing: 0;
}

.gender input:checked + span {
  background: var(--o-text);
  color: #fff;
}

.field--half {
  max-width: calc(50% - 6px);
}

.order-form__btn--save {
  width: 200px;
  margin: 8px 0 0 auto;
}

.order-form__legal--right {
  text-align: right;
}

.product-grid--acc {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

/* ---- «Заказ оплачен» ---- */
.success__wrap {
  position: relative;
  max-width: 620px;
  margin: 24px auto 0;
  padding: 0 0 var(--page-end);
}

.success__close {
  position: absolute;
  top: 0;
  right: -56px;
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--o-soft);
}

.success__close .icon {
  width: 14px;
  height: 14px;
  stroke-width: 6;
}

.success__box {
  padding: 36px 24px 32px;
  border-radius: 6px;
  background: #f6f6f6;
  text-align: center;
  letter-spacing: 0;
}

.success__art {
  width: 260px;
  height: auto;
  margin: 0 auto;
}

.success__title {
  margin: 8px 0 10px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.success__no {
  margin: 0 0 6px;
}

.success__copy {
  padding: 0 4px;
  border: 0;
  background: none;
  vertical-align: middle;
  cursor: pointer;
}

.success__copy .icon {
  width: 13px;
  height: 13px;
  stroke-width: 5;
}

.success__box p {
  margin-bottom: 16px;
  font-size: 14px;
}

.success__info {
  margin-top: 14px;
  padding: 22px;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  font-size: 14px;
  letter-spacing: 0;
}

.success__info h2 {
  margin: 0 0 14px;
  font-size: 16px;
}

.success__info dl {
  margin: 0;
}

.success__info dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.success__info dt {
  color: #555;
}

.success__info dd {
  margin: 0;
  text-align: right;
}

.success__note {
  margin: 16px 0 6px;
  color: #8a8a8a;
  font-size: 12px;
  letter-spacing: 0;
}

.success__empty {
  max-width: 420px;
  margin: 60px auto var(--page-end);
  text-align: center;
}

/* ---- 404 ---- */
body.page-404 {
  background: #f3f3f3;
}

.nf {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 70px 16px var(--page-end);
  text-align: center;
  letter-spacing: 0;
}

.nf-art {
  width: min(560px, 100%);
  height: auto;
}

.nf__title {
  margin: 8px 0 14px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nf p {
  margin: 0 0 22px;
  font-size: 13px;
}

/* ---- «Вам может понравиться», бейдж скидки ---- */
.recs-slider {
  padding: 30px 0 var(--page-end);
}

.recs-slider__title {
  margin: 0 0 24px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.slider {
  display: flex;
  gap: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.slider::-webkit-scrollbar {
  display: none;
}

.slider .grid-product {
  flex: 0 0 calc((100% - 4 * var(--gutter)) / 5);
  scroll-snap-align: start;
}

.disc-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  color: var(--o-orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

/* ---- оформление: пункт выдачи, миниатюры, подписи ---- */
.ship-card__lbl {
  color: #9a9a9a;
}

.ship-tag {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 8px;
  border-radius: 2px;
  background: var(--o-green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0;
}

.ship-tag--plain {
  padding: 4px 0;
  background: none;
  color: var(--o-text);
}

.pickup-card {
  padding: 16px;
  border: 1px solid #ececec;
  border-radius: 6px;
  font-size: 13px;
  letter-spacing: 0;
}

.pickup-card__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.pickup-card__title {
  font-weight: 700;
}

.pickup-card__btn {
  align-self: flex-start;
  padding: 7px 14px;
  border: 1px solid var(--o-text);
  border-radius: 20px;
  background: #fff;
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;
}

.pickup-card__meta {
  margin-top: 12px;
  color: #555;
}

.order-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 18px 0;
}

.order-thumbs .acc-thumb {
  width: auto;
  height: auto;
  aspect-ratio: 3 / 4;
}

.order-card__total-right {
  text-align: right;
}

.order-card__total-save {
  color: #8a8a8a;
  font-size: 11px;
  letter-spacing: 0;
}

/* ---- наличие в магазинах ---- */
.avail-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 13px;
  letter-spacing: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.avail-link .icon {
  width: 15px;
  height: 15px;
  stroke-width: 5;
}

.avail {
  padding: 0 24px 30px;
  letter-spacing: 0;
}

.drawer--avail .drawer__title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.avail__city {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 16px;
  border-radius: 20px;
  background: var(--o-soft);
  font-size: 13px;
}

.avail__label {
  display: block;
  margin-bottom: 8px;
  color: #8a8a8a;
  font-size: 12px;
}

.size-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-chip {
  position: relative;
  cursor: pointer;
}

.size-chip input {
  position: absolute;
  opacity: 0;
}

.size-chip span,
.size-chip--btn {
  display: inline-flex;
  min-width: 44px;
  height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid #e2e2e2;
  border-radius: 18px;
  background: #fff;
  font: inherit;
  font-size: 13px;
}

.size-chip input:checked + span,
.size-chip--btn.is-on {
  border-color: var(--o-text);
  background: var(--o-text);
  color: #fff;
}

.size-chip--btn {
  cursor: pointer;
}

.size-chip--btn:disabled {
  cursor: default;
}

.avail__hint {
  margin: 14px 0;
  color: #8a8a8a;
  font-size: 12px;
  line-height: 1.5;
}

.store {
  padding: 16px 0;
  border-top: 1px solid #ececec;
  font-size: 13px;
  line-height: 1.5;
}

.store__name {
  font-weight: 700;
  text-transform: uppercase;
}

.store__meta {
  margin-bottom: 10px;
  color: #8a8a8a;
}

.avail__sub {
  margin-top: 20px;
  padding: 18px;
  border-radius: 6px;
  background: var(--o-soft);
  font-size: 13px;
}

.avail__sub h3 {
  margin: 0 0 6px;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.avail__sub p {
  margin: 0 0 12px;
}

/* ---- адаптив нового ---- */
@media (max-width: 1180px) {
  .success__close {
    right: 0;
    top: -44px;
  }
}

@media (max-width: 960px) {
  .account-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: calc(var(--page-top) - 14px);
  }
  .slider .grid-product {
    flex-basis: calc((100% - 2 * var(--gutter)) / 3);
  }
}

@media (max-width: 768px) {
  .drawer--cart,
  .drawer--avail,
  .drawer--size,
  .drawer--reserve,
  .drawer--feedback {
    width: 100%;
  }
  .drawer--size .drawer__header {
    padding: 24px 20px 20px;
  }
  .drawer--size .drawer__title {
    font-size: 21px;
  }
  .size-panel {
    padding: 0 20px 32px;
  }
  .account-title {
    font-size: 26px;
    margin-bottom: 24px;
  }
  .acc-order__top {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .acc-order__status {
    grid-column: 1 / -1;
    text-align: left;
  }
  .recs-slider__title {
    font-size: 22px;
  }
  .slider .grid-product {
    flex-basis: calc((100% - var(--gutter)) / 2);
  }
  .success__title {
    font-size: 22px;
  }
  .modal__body {
    padding: 14px 20px 26px;
  }
  .order-form__btn--save {
    width: 100%;
  }
  .field--half {
    max-width: none;
  }
}

/* ширина колонок кабинета (как в макете: основная колонка ~620px) */
.account-main > .sub-row,
.account-main > .sub-list,
.account-main > .account-list,
.account-main > .product-grid--acc,
.account-main > .settings,
.account-main > .acc-empty,
.account-main > .account-tiles,
.account-main > .loy-banner,
.account-main > .loy-progress {
  width: 100%;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.cart-note {
  margin: 12px 0 0;
}

/* ---- выбор пункта выдачи на карте Яндекс ---- */
.pickup-pick__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pickup-pick__btn .icon {
  width: 16px;
  height: 16px;
  stroke-width: 5;
}

.modal__box--pvz {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1140px;
  height: min(740px, calc(100vh - 32px));
  overflow: hidden;
}

.pvz__head {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid #ececec;
}

.pvz__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pvz__body {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: 380px minmax(0, 1fr);
  min-height: 0;
}

.pvz__side {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 16px 0 0;
  border-right: 1px solid #ececec;
}

.pvz__side .field,
.pvz__fit,
.pvz__count {
  margin-left: 16px;
  margin-right: 16px;
}

.pvz__fit {
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: 0;
}

.pvz__count {
  margin-bottom: 8px;
  color: #8a8a8a;
  font-size: 12px;
  letter-spacing: 0;
}

.pvz__list {
  flex: 1 1 auto;
  overflow-y: auto;
}

.pvz-item {
  position: relative;
  padding: 14px 124px 14px 16px;
  border-top: 1px solid #f0f0f0;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0;
  cursor: pointer;
}

.pvz-item:hover,
.pvz-item.is-active {
  background: #f7f7f9;
}

.pvz-item.is-selected {
  box-shadow: inset 3px 0 0 #000;
}

.pvz-item__addr {
  font-weight: 700;
}

.pvz-item__metro,
.pvz-item__meta {
  color: #666;
}

.pvz-item__btn {
  position: absolute;
  top: 12px;
  right: 16px;
  min-width: 0;
  padding: 8px 12px;
  letter-spacing: 0.1em;
}

.pvz__empty {
  padding: 20px 16px;
  color: #8a8a8a;
  font-size: 13px;
}

.pvz__map {
  position: relative;
  min-height: 280px;
  background: #eef0f2;
}

.pvz__nomap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 20px;
  color: #666;
  font-size: 14px;
  text-align: center;
}

.pvz-balloon {
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0;
}

.pvz-balloon__note {
  margin: 4px 0;
  color: #666;
}

@media (max-width: 768px) {
  .modal--pvz {
    padding: 0;
  }
  .modal__box--pvz {
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }
  .pvz__body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 38% 62%;
  }
  .pvz__map {
    order: -1;
    min-height: 0;
  }
  .pvz__side {
    border-right: 0;
    border-top: 1px solid #ececec;
  }
}

.account-main > .product-grid--acc {
  max-width: 740px;
}

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

/* значки способов оплаты */
.pay-card__logo {
  display: block;
  flex: none;
  width: auto;
  height: 24px;
  max-width: 90px;
  margin: 0 0 0 auto;
}

.pay-card__logo--sbp {
  height: 26px;
}

.pay-card__logo--card {
  height: 20px;
}

.pay-card__logo--sber,
.pay-card__logo--tpay {
  height: 30px;
}

.pay-card__logo--dolyami {
  height: 28px;
}

.pay-card__logo--split {
  height: 20px;
}

/* =========================================================================
   Карточка товара — три варианта оформления (переключатель A / B / C внизу страницы)
   A «Лента»: сетка фото + липкая панель · B «Слайдер»: большое фото и нижняя панель покупки
   C «Карточка»: вертикальные миниатюры и мягкая карточка с блоками
   ========================================================================= */
.pdp {
  padding-bottom: calc(var(--page-end) - 50px);
  letter-spacing: 0;
}

.pdp-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 16px 0 20px;
  color: #8a8a8a;
  font-size: 12px;
}

.pdp-crumbs a:hover {
  color: #000;
}

.pdp-crumbs > * + *::before {
  content: "/";
  margin-right: 8px;
  color: #c4c4c4;
}

/* ---- галерея (основа — телефон: слайдер со свайпом и точками) ---- */
.pdp-main {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f3f3f3;
  touch-action: pan-y;
}

.pdp-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.pdp-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 12px;
  background: #fff;
  color: var(--o-orange);
  font-size: 12px;
  font-weight: 700;
}

.pdp-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: -22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.pdp-arrow--prev {
  left: 14px;
}

.pdp-arrow--next {
  right: 14px;
}

.pdp-arrow .icon {
  width: 16px;
  height: 16px;
  stroke-width: 6;
}

.pdp-counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 12px;
}

.pdp-thumbs {
  display: none;
}

.pdp-thumb {
  padding: 0;
  border: 1px solid transparent;
  background: #f3f3f3;
  cursor: pointer;
}

.pdp-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.pdp-thumb.is-active {
  border-color: #111;
}

.pdp-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 4px;
}

.pdp-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cfcfcf;
  cursor: pointer;
}

.pdp-dot.is-active {
  background: #111;
}

/* ---- информационная колонка ---- */
.pdp__info {
  padding-top: 18px;
}

.pdp-eyebrow {
  margin: 0 0 8px;
  color: #8a8a8a;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pdp-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pdp-price {
  margin-top: 10px;
  font-size: 20px;
}

.pdp-block {
  margin-top: 26px;
}

.pdp-label {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pdp-label em::before {
  content: "—";
  margin-right: 10px;
  color: #bbb;
}

.pdp-label em {
  color: #555;
  font-style: normal;
  letter-spacing: 0;
  text-transform: none;
}

.pdp-linkbtn {
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0;
  text-decoration: underline;
  text-transform: none;
  cursor: pointer;
}

.pdp-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pdp .pdp-swatches .variant-input-wrap {
  margin: 0;
}

.pdp .color-swatch.variant__button-label {
  width: 56px;
  height: 74px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  background-color: #f3f3f3;
  background-blend-mode: multiply;
}

.pdp .variant-input-wrap input:checked + .color-swatch.variant__button-label {
  border-color: #111;
  box-shadow: 0 0 0 1px #111;
}

.pdp-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pdp .pdp-sizes .variant-input-wrap {
  margin: 0;
}

.pdp .pdp-sizes .variant__button-label {
  display: inline-flex;
  min-width: 52px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-size: 15px;
  letter-spacing: 0;
  cursor: pointer;
}

.pdp .pdp-sizes .variant-input-wrap input:checked + .variant__button-label {
  border-color: #111;
  background: #111;
  color: #fff;
}

.pdp .pdp-sizes .variant__button-label.disabled {
  border-style: dashed;
  background: #fafafa;
  color: #b3b3b3;
  text-decoration: line-through;
}

.pdp .product-inventory {
  margin-top: 14px;
}

.pdp-cta {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.pdp .pdp-cta .add-to-cart {
  flex: 1;
  height: 56px;
  margin: 0;
  padding: 0 18px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.18em;
}

.pdp .wishlist-btn {
  display: flex;
  flex: none;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 1px solid #111;
  background: #fff;
}

.pdp .wishlist-btn span {
  display: none;
}

.pdp .wishlist-btn .icon {
  width: 20px;
  height: 20px;
  stroke-width: 4.5;
}


.pdp-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin-top: 18px;
  font-size: 13px;
}

.pdp-links .avail-link {
  margin: 0;
}

.pdp-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pdp-delivery {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #ececec;
}

.pdp-delivery li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #ececec;
  font-size: 13px;
  line-height: 1.4;
}

.pdp-delivery li:last-child {
  border-bottom: 0;
}

.pdp-delivery .icon {
  width: 22px;
  height: 22px;
  stroke-width: 4;
}

.pdp-delivery b {
  display: block;
  font-weight: 700;
}

.pdp-delivery span {
  color: #666;
}

.pdp-delivery em {
  color: var(--o-text);
  font-size: 12px;
  font-style: normal;
}

.pdp-acc {
  margin-top: 0;
}

[data-pdp="c"] .pdp-acc {
  margin-top: 26px;
}

.pdp-acc .acc summary {
  padding: 18px 0;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pdp-acc .acc__body {
  padding-bottom: 14px;
  font-size: 14px;
  line-height: 1.6;
}

.pdp-acc .acc__body ul {
  margin: 0;
  padding-left: 18px;
}

.pdp-acc .acc__body p {
  margin: 0 0 10px;
}

.pdp-acc a {
  text-decoration: underline;
}

.pdp-help {
  margin: 18px 0 0;
  color: #666;
  font-size: 13px;
}

/* ---- нижняя панель покупки ---- */
.pdp-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(110%);
  transition: transform 0.3s var(--ease);
}

.pdp-bar.is-visible {
  transform: none;
}

.pdp-bar__name {
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.pdp-bar__price {
  font-size: 14px;
}

.pdp-bar__info {
  min-width: 0;
}

.pdp .pdp-bar__btn {
  flex: none;
  height: 46px;
  padding: 0 24px;
  border: 0;
  background: #111;
  color: #fff;
  letter-spacing: 0.14em;
}

.pdp-switch {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 85;
  display: none;
  align-items: center;
  gap: 4px;
  padding: 6px 8px 6px 12px;
  border-radius: 24px;
  background: #111;
  color: #fff;
  font-size: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.pdp-switch span {
  margin-right: 6px;
  opacity: 0.7;
}

.pdp-switch button {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.pdp-switch button.is-active {
  background: #fff;
  color: #111;
}

@media (max-width: 899px) {
  .pdp-bar {
    display: flex;
  }
  .pdp-switch {
    bottom: 76px;
  }
  .pdp__gallery {
    margin: 0 calc(var(--page-pad) * -1);
  }
  .pdp-crumbs {
    margin-bottom: 12px;
  }
  .page-product .site-footer {
    padding-bottom: 96px;
  }
}

/* ---- десктоп ---- */
@media (min-width: 900px) {
  .pdp.product-section {
    padding-top: 24px;
  }
  .pdp__layout {
    display: grid;
    align-items: start;
  }
  .pdp-dots {
    display: none;
  }
  .pdp-arrow {
    display: flex;
  }
  .pdp__info {
    padding-top: 0;
  }
  .pdp-title {
    font-size: 32px;
  }
}

/* A · «Лента»: все фото сеткой, справа липкая панель */
@media (min-width: 900px) {
  [data-pdp="a"] .pdp__layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
    gap: 64px;
  }
  [data-pdp="a"] .pdp__gallery {
    max-width: 880px;
  }
  [data-pdp="a"] .pdp-main {
    display: none;
  }
  [data-pdp="a"] .pdp-thumbs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  [data-pdp="a"] .pdp-thumb {
    aspect-ratio: 3 / 4;
    border: 0;
    cursor: zoom-in;
  }
  /* единственное фото модели: крупнее обычной плитки, но не больше размера исходника */
  [data-pdp="a"] .pdp-thumb:only-child {
    grid-column: 1 / -1;
    max-width: 640px;
  }
  [data-pdp="a"] .pdp__info {
    position: sticky;
    top: 20px;
  }
  [data-pdp="a"] .pdp .pdp-sizes .variant__button-label,
  [data-pdp="a"] .pdp .color-swatch.variant__button-label {
    border-radius: 0;
  }
  [data-pdp="a"] .pdp-bar {
    display: none;
  }
}

/* B · «Слайдер»: большое фото со стрелками, панель покупки при прокрутке */
@media (min-width: 900px) {
  [data-pdp="b"] .pdp__layout {
    grid-template-columns: minmax(0, 580px) minmax(0, 1fr);
    gap: 64px;
    max-width: 1180px;
    margin: 0 auto;
  }
  [data-pdp="b"] .pdp__gallery {
    position: sticky;
    top: 20px;
  }
  [data-pdp="b"] .pdp-main {
    max-height: calc(100vh - 150px);
    border-radius: 4px;
  }
  [data-pdp="b"] .pdp-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  [data-pdp="b"] .pdp-thumb {
    flex: none;
    width: 76px;
    aspect-ratio: 3 / 4;
    border-radius: 4px;
  }
  [data-pdp="b"] .pdp-cta .add-to-cart,
  [data-pdp="b"] .pdp-bar__btn {
    border-radius: 28px;
  }
  [data-pdp="b"] .pdp .wishlist-btn {
    border-radius: 50%;
  }
  [data-pdp="b"] .pdp-bar {
    display: flex;
    max-width: 1180px;
    margin: 0 auto;
    border-radius: 14px 14px 0 0;
  }
}

/* C · «Карточка»: вертикальные миниатюры слева, информация в мягкой карточке */
@media (min-width: 900px) {
  [data-pdp="c"] .pdp__layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 36px;
  }
  [data-pdp="c"] .pdp__gallery {
    position: sticky;
    top: 20px;
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    grid-template-areas: "thumbs main";
    gap: 14px;
    align-items: start;
  }
  [data-pdp="c"] .pdp-main {
    grid-area: main;
    max-height: calc(100vh - 150px);
    border-radius: 18px;
  }
  [data-pdp="c"] .pdp-thumbs {
    display: flex;
    grid-area: thumbs;
    flex-direction: column;
    gap: 8px;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    scrollbar-width: none;
  }
  [data-pdp="c"] .pdp-thumb {
    flex: none;
    aspect-ratio: 3 / 4;
    border-radius: 10px;
  }
  [data-pdp="c"] .pdp-card {
    padding: 32px;
    border-radius: 18px;
    background: #f5f5f8;
  }
  [data-pdp="c"] .pdp .pdp-sizes .variant__button-label,
  [data-pdp="c"] .pdp .color-swatch.variant__button-label {
    border-radius: 12px;
  }
  [data-pdp="c"] .pdp .color-swatch.variant__button-label {
    border-color: transparent;
    background-color: #fff;
  }
  [data-pdp="c"] .pdp-cta .add-to-cart,
  [data-pdp="c"] .pdp .wishlist-btn,

  [data-pdp="c"] .pdp-delivery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    border-top: 0;
  }
  [data-pdp="c"] .pdp-delivery li {
    border: 0;
    border-radius: 12px;
    background: #fff;
    padding: 14px;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start;
  }
  [data-pdp="c"] .pdp-delivery em {
    display: none;
  }
  [data-pdp="c"] .pdp-bar {
    display: none;
  }
}

/* на телефоне вариант C сохраняет мягкую карточку, A — квадратные кнопки, B — «таблетки» */
@media (max-width: 899px) {
  [data-pdp="c"] .pdp-card {
    margin: 0 -4px;
    padding: 22px 18px;
    border-radius: 18px;
    background: #f5f5f8;
  }
  [data-pdp="c"] .pdp-cta .add-to-cart,
  [data-pdp="c"] .pdp .wishlist-btn,
  [data-pdp="c"] .pdp .pdp-sizes .variant__button-label {
    border-radius: 12px;
  }
  [data-pdp="b"] .pdp-cta .add-to-cart,
  [data-pdp="b"] .pdp-bar__btn {
    border-radius: 28px;
  }
  [data-pdp="b"] .pdp .wishlist-btn {
    border-radius: 50%;
  }
  [data-pdp="a"] .pdp .pdp-sizes .variant__button-label,
  [data-pdp="a"] .pdp .color-swatch.variant__button-label {
    border-radius: 0;
  }
}

/* бейдж «Частями от …» и окно с пояснением */
.pdp-bnpl {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #d0d0d8;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 14px;
  letter-spacing: 0;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s;
}

.pdp-bnpl:hover {
  border-color: #111;
}

.pdp-bnpl b {
  font-weight: 400;
}

.pdp-bnpl__icons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pdp-bnpl__icons img {
  display: block;
  width: auto;
}

[data-pdp="a"] .pdp-bnpl {
  border-radius: 0;
}

[data-pdp="b"] .pdp-bnpl {
  border-radius: 26px;
  padding: 14px 22px;
}

[data-pdp="c"] .pdp-bnpl {
  border-color: transparent;
  border-radius: 12px;
}

.split-list {
  display: grid;
  gap: 10px;
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.split-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 10px;
  background: var(--o-soft);
  font-size: 13px;
  line-height: 1.45;
}

.split-list img {
  display: block;
  width: auto;
  max-width: 48px;
  margin: 0 auto;
}

.split-list b {
  display: block;
  font-size: 14px;
}

.split-list span {
  color: #555;
}

.modal__body .modal__btn {
  margin-top: 16px;
}

/* переключатель вариантов виден только при ?layout=… в адресе */
[data-pdp-dev] .pdp-switch {
  display: flex;
}

/* карусель «Вы смотрели» */
.viewed {
  padding-bottom: 50px;
}

.viewed__head {
  position: relative;
}

.viewed__nav {
  position: absolute;
  top: 50%;
  right: 0;
  display: flex;
  gap: 8px;
  transform: translateY(-50%);
}

.viewed__btn {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #dcdce2;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, opacity 0.2s;
}

.viewed__btn:hover:not(:disabled) {
  border-color: #111;
}

.viewed__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.viewed__btn .icon {
  width: 14px;
  height: 14px;
  stroke-width: 6;
}

.viewed .slider {
  margin-top: 8px;
}

@media (max-width: 768px) {
  .viewed__nav {
    display: none;
  }
  /* на телефоне блоки ближе друг к другу: рекомендации и просмотренные по 40px, остаток до --page-end */
  .pdp {
    padding-bottom: calc(var(--page-end) - 40px);
  }
  .recs {
    padding-bottom: 40px;
  }
  .viewed {
    padding-bottom: 40px;
  }
}

.cat-promo {
  display: none;
}

.collection-sidebar .collapsible-content__inner ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 2px 0 16px;
  list-style: none;
}

.collection-sidebar .tag {
  margin: 0;
  padding: 0;
}

.collection-sidebar .tag__label {
  position: relative;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 15px;
  border-radius: 19px;
  background: var(--o-soft);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  transition: background 0.2s;
}

.collection-sidebar .tag__label:hover {
  background: #ebebf1;
}

.collection-sidebar .tag__box {
  display: none;
}

.collection-sidebar .tag__label input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.collection-sidebar .tag__label:has(input:checked) {
  background: #111;
  color: #fff;
}

/* вторая фотография при наведении: первая гаснет, иначе при multiply фото накладываются друг на друга */
.image-wrap img {
  transition: opacity 0.35s;
}

.grid-product__alt {
  opacity: 0;
}

@media (hover: hover) {
  .grid-product:hover .grid-product__alt {
    opacity: 1;
  }
  .grid-product:hover .image-wrap:has(.grid-product__alt) img:not(.grid-product__alt) {
    opacity: 0;
  }
}

/* ---------- Плитки и баннер ---------- */
.page-catalog .cat-promo {
  position: relative;
  display: block;
  order: 15;
  grid-column: span 2;
  overflow: hidden;
  border-radius: 16px;
  color: #fff;
}

.page-catalog .cat-promo[hidden] {
  display: none;
}

.page-catalog .cat-promo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.page-catalog .cat-promo span {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.page-catalog .cat-promo em {
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.page-catalog .cat-promo b {
  font-size: 40px;
  line-height: 1;
  text-transform: uppercase;
}

.page-catalog .cat-promo u {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (min-width: 1049px) {
  .page-catalog .page-content--top {
    padding-top: 40px;
  }

  .page-catalog .section-header {
    margin-bottom: 0;
    text-align: center;
  }

  .page-catalog .section-header__title {
    font-size: 44px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .page-catalog .collection-layout {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px 0 var(--page-end);
  }

  .page-catalog .collection-toolbar {
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    margin-bottom: 14px;
  }

  .page-catalog .pill--filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 22px;
    background: var(--o-soft);
    color: var(--o-text);
    font: inherit;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
  }

  .page-catalog .pill--filter .icon {
    width: 18px;
    height: 18px;
    stroke-width: 5;
  }

  .page-catalog .pill__n {
    display: inline-flex;
    min-width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #111;
    color: #fff;
    font-size: 11px;
    font-style: normal;
  }

  .page-catalog .collection-count {
    margin-right: auto;
    padding-top: 0;
  }

  .page-catalog .select-wrap select {
    border-radius: 22px;
    border-color: #dedee4;
    padding-left: 18px;
  }

  .page-catalog .collection-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 32px;
  }

  /* фильтры — боковая шторка справа */
  .page-catalog .collection-sidebar.sheet {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 100;
    display: flex;
    flex-direction: column;
    width: 440px;
    max-height: none;
    height: 100%;
    background: #fff;
    box-shadow: -14px 0 44px rgba(0, 0, 0, 0.18);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.4s var(--ease);
  }

  .page-catalog .collection-sidebar.sheet.is-open {
    transform: none;
    visibility: visible;
  }

  .page-catalog .collection-sidebar .sheet__head {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 12px;
  }

  .page-catalog .collection-sidebar .sheet__title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  .page-catalog .collection-sidebar .sheet__close {
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--o-soft);
    cursor: pointer;
  }

  .page-catalog .collection-sidebar .sheet__close .icon {
    width: 14px;
    height: 14px;
    stroke-width: 6;
  }

  .page-catalog .collection-sidebar .sheet__body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 0 24px 12px;
  }

  .page-catalog .collection-sidebar .tag-list__header {
    padding: 18px 0;
    font-size: 14px;
    letter-spacing: 0.12em;
  }

  .page-catalog .collection-sidebar .sheet__foot {
    display: flex;
    flex: none;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    border-top: 1px solid #ececec;
  }

  .page-catalog .collection-sidebar .sheet__reset {
    padding: 12px 6px;
    border: 0;
    background: none;
    font: inherit;
    font-size: 14px;
    letter-spacing: 0;
    text-decoration: underline;
    cursor: pointer;
  }

  .page-catalog .collection-sidebar .sheet__apply {
    flex: 1;
    height: 50px;
    padding: 0 16px;
    border-radius: 25px;
    letter-spacing: 0.06em;
  }

  .page-catalog .collection-sidebar .sheet__apply.is-disabled {
    background: #ececec;
    color: #a8a8a8;
    pointer-events: none;
  }
}

@media (min-width: 1049px) {
  .page-catalog .page-content--top {
    padding-right: var(--page-pad);
    padding-left: var(--page-pad);
  }
}

/* ---- программа лояльности ---- */
.loy-banner {
  position: relative;
  display: grid;
  min-height: 222px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 16px 24px;
  padding: 28px 28px 26px;
  overflow: hidden;
  border-radius: 6px;
  background: #1b1b1d;
  color: #fff;
  letter-spacing: 0;
}

.loy-banner__mark {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 300px;
  max-width: none;
  height: auto;
  opacity: 0.09;
  filter: invert(1);
  pointer-events: none;
}

.loy-banner__txt {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.loy-banner__title {
  max-width: 320px;
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
}

.loy-banner__txt p {
  margin: 0;
  font-size: 15px;
}

.loy-banner__pct {
  position: relative;
  align-self: end;
  font-size: 108px;
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.03em;
}

.loy-progress {
  margin: 14px 0 22px;
  font-size: 14px;
  letter-spacing: 0;
}

.loy-progress__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
}

.loy-progress__bar {
  height: 4px;
  margin-top: 10px;
  background: #e6e6e6;
}

.loy-progress__bar i {
  display: block;
  height: 100%;
  background: var(--o-text);
  transition: width 0.4s;
}

/* кабинет без серых заливок: переключатели и миниатюры — на белом с тонкой рамкой */

.gender span {
  border: 1px solid #d6d6d6;
  background: #fff;
}

.gender input:checked + span {
  border-color: var(--o-text);
}

.acc-thumb,
.sub-item__img {
  border: 1px solid #ececec;
  background: #fff;
}

/* планшет и телефон: меню — прокручиваемая лента вкладок */
@media (max-width: 960px) {
  .account-user {
    padding-bottom: 12px;
    border-bottom: 0;
  }
  .account-menu {
    display: flex;
    gap: 0 22px;
    margin: 0 calc(var(--page-pad) * -1);
    padding: 0 var(--page-pad);
    overflow-x: auto;
    border-bottom: 1px solid #ececec;
    scrollbar-width: none;
  }
  .account-menu::-webkit-scrollbar {
    display: none;
  }
  .account-menu__group,
  .account-menu__group:nth-child(2),
  .account-menu__group--exit {
    display: contents;
  }
  .account-menu__link,
  .account-menu__group:nth-child(2) .account-menu__link {
    width: auto;
    flex: none;
    gap: 6px;
    margin-bottom: -1px;
    padding: 12px 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    font-size: 15px;
    white-space: nowrap;
  }
  .account-menu__link:hover {
    background: none;
  }
  .account-menu__link.is-active {
    border-bottom-color: var(--o-text);
  }
  .account-menu__link .account-menu__icon {
    display: none;
  }
  .account-menu__count {
    margin-left: 0;
    font-size: 12px;
    vertical-align: super;
  }
}

@media (max-width: 560px) {
  .loy-banner {
    min-height: 190px;
    padding: 22px 20px 20px;
  }
  .loy-banner__mark {
    width: 200px;
    top: 16px;
    right: 16px;
  }
  .loy-banner__title {
    font-size: 22px;
  }
  .loy-banner__pct {
    font-size: 76px;
  }
  .account-tile {
    min-height: 128px;
    padding: 18px 16px;
    font-size: 15px;
  }
}

/* ---- бронирование в магазине ---- */
.drawer--reserve .drawer__header {
  justify-content: flex-start;
  gap: 14px;
  padding: 32px 30px 18px;
}

.drawer--reserve .drawer__title {
  margin-right: auto;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.reserve__circle {
  display: flex;
  width: 34px;
  height: 34px;
  flex: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f6f6f6;
  cursor: pointer;
}

.reserve__circle[hidden] {
  display: none;
}

.reserve__circle .icon {
  width: 16px;
  height: 16px;
  stroke-width: 5;
}

.reserve {
  padding: 0 30px 40px;
  font-size: 15px;
  letter-spacing: 0;
}

.reserve__lead {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.4;
}

.reserve__info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
  padding: 16px 18px;
  border-radius: 6px;
  background: #fafafa;
  line-height: 1.4;
}

.reserve__info-icon {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 1px;
  stroke-width: 4;
}

.reserve-store__name {
  font-size: 20px;
  font-weight: 700;
}

.reserve-store__addr {
  margin-top: 12px;
  color: #6f6f6f;
  line-height: 1.4;
}

.reserve-store__line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: #6f6f6f;
}

.reserve-store__line .icon {
  width: 18px;
  height: 18px;
  flex: none;
  stroke-width: 4;
}

a.reserve-store__line span {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reserve__h {
  margin: 30px 0 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.reserve-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  border: 1px solid #ececec;
  border-radius: 8px;
}

.reserve-item__img {
  height: 128px;
  overflow: hidden;
  border-radius: 4px;
  background: #f3f3f3;
}

.reserve-item__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.reserve-item__name {
  text-transform: uppercase;
}

.reserve-item__meta {
  margin-top: 4px;
  color: #6f6f6f;
}

.reserve-item__price {
  margin-top: 10px;
  font-weight: 700;
}

.reserve .field {
  margin-bottom: 12px;
}

.reserve__btn {
  width: 100%;
  margin-top: 18px;
}

.reserve__legal {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

.reserve__legal a {
  text-decoration: underline;
}

.reserve__done {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding-top: 24px;
  text-align: center;
}

.reserve__done[hidden],
.reserve__form[hidden] {
  display: none;
}

.reserve__ok {
  width: 64px;
  height: 64px;
  stroke-width: 3;
}

.reserve__done-title {
  margin: 0;
  font-size: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.reserve__done p {
  margin: 0;
  line-height: 1.4;
}

.reserve__sum {
  width: 100%;
  margin: 12px 0 0;
  border-top: 1px solid #ececec;
  text-align: left;
}

.reserve__sum > div {
  padding: 12px 0;
  border-bottom: 1px solid #ececec;
}

.reserve__sum dt {
  color: #8a8a8a;
  font-size: 12px;
}

.reserve__sum dd {
  margin: 2px 0 0;
}

.reserve__sum dd span {
  color: #6f6f6f;
}

.reserve__demo {
  color: #8a8a8a;
  font-size: 12px;
}

@media (max-width: 768px) {
  .drawer--reserve .drawer__header {
    padding: 22px 20px 14px;
  }
  .drawer--reserve .drawer__title {
    font-size: 21px;
  }
  .reserve {
    padding: 0 20px 32px;
  }
}

/* ---- просмотр фото на весь экран (карточка товара) ---- */
.pdp-main img {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
  background: #f3f3f3; /* цвет фона самих фото, чтобы не было видно границ */
}

.lightbox.is-open {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
}

.lightbox__thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 0 18px 18px;
  overflow-y: auto;
  scrollbar-width: none;
}

.lightbox__thumbs::-webkit-scrollbar {
  display: none;
}

.lightbox__thumb {
  width: 100px;
  height: 124px;
  flex: none;
  padding: 0;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
}

.lightbox__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox__thumb.is-active {
  border-color: var(--o-text);
}

.lightbox__stage {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.lightbox.is-zoomed .lightbox__stage {
  cursor: zoom-out;
  touch-action: none;
}

.lightbox__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: var(--zx, 50%) var(--zy, 50%);
  transition: transform 0.25s var(--ease);
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox.is-zoomed .lightbox__img {
  transform: scale(2.4);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.lightbox__close {
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
}

.lightbox__close .icon,
.lightbox__nav .icon {
  width: 18px;
  height: 18px;
  stroke-width: 5;
}

.lightbox__nav,
.lightbox__count {
  display: none;
}

.lightbox__nav {
  top: 50%;
  width: 42px;
  height: 42px;
  margin-top: -21px;
}

.lightbox__nav--prev {
  left: 12px;
}

.lightbox__nav--next {
  right: 12px;
}

.lightbox__count {
  position: absolute;
  bottom: 18px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  font-size: 13px;
  letter-spacing: 0;
}

@media (max-width: 768px) {
  .lightbox.is-open {
    display: block;
  }
  .lightbox__thumbs {
    display: none;
  }
  .lightbox__stage {
    position: absolute;
    inset: 0;
  }
  .lightbox__nav {
    display: flex;
  }
  .lightbox__count {
    display: block;
  }
  .lightbox__close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
  }
}

/* ---- «образ» (mood-фото) в карточке товара: три варианта показа ----
   A — фото образа идут в общей галерее после фото товара
   B — отдельная лента фото под карточкой
   C — вкладки «Товар / Образ» над галереей */
[data-mood-dev] .mood-switch {
  display: flex;
}

.pdp-thumb--mood img,
.pdp-main img.is-mood {
  object-fit: cover;
  mix-blend-mode: normal;
}

.pdp-tabs,
.pdp-mood {
  display: none;
}

[data-mood="c"] .pdp-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.pdp-tabs button {
  height: 40px;
  padding: 0 20px;
  border: 1px solid #d6d6d6;
  border-radius: 20px;
  background: #fff;
  color: var(--o-text);
  font: inherit;
  font-size: 14px;
  letter-spacing: 0;
  cursor: pointer;
}

.pdp-tabs button.is-active {
  border-color: var(--o-text);
  background: var(--o-text);
  color: #fff;
}

[data-mood="b"] .pdp-mood {
  display: block;
  padding: 50px 0 0;
}

.pdp-mood .product-section__title {
  margin: 0 0 30px;
  text-align: center;
}

.pdp-mood__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gutter);
}

.pdp-mood__item {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #f3f3f3;
  overflow: hidden;
  cursor: zoom-in;
}

.pdp-mood__item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

@media (max-width: 899px) {
  [data-mood="c"] .pdp-tabs {
    padding: 0 var(--page-pad);
  }
}

@media (max-width: 768px) {
  .pdp-mood__row {
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    grid-template-columns: none;
    margin-right: calc(var(--page-pad) * -1);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .pdp-mood__row::-webkit-scrollbar {
    display: none;
  }
  .pdp-mood__item {
    scroll-snap-align: start;
  }
}

/* у модели одно фото: без стрелок, точек и счётчика */
.pdp__gallery.is-single .pdp-arrow,
.pdp__gallery.is-single .pdp-dots,
.pdp__gallery.is-single .pdp-counter {
  display: none;
}

/* ---- детализация заказа (account-order.html), по образцу ashrussia.ru ---- */
.account-main > .order-detail {
  max-width: 1000px;
  margin: 0 auto;
}

.order-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  grid-template-rows: auto auto auto auto 1fr;
  grid-template-areas:
    "head sum"
    "steps sum"
    "info sum"
    "lines sum"
    "actions sum";
  column-gap: 32px;
  align-items: start;
  letter-spacing: 0;
}

.order-detail__layout[hidden] {
  display: none;
}

.order-detail__head {
  position: relative;
  grid-area: head;
  padding: 0 46px;
  text-align: center;
}

.order-detail__back {
  position: absolute;
  top: 24px;
  left: 0;
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1f1f1;
  color: var(--o-text);
}

.order-detail__back .icon {
  width: 14px;
  height: 14px;
  stroke-width: 6;
}

.order-detail__num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: #a0a0a0;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.order-detail__num .icon {
  width: 14px;
  height: 14px;
  stroke-width: 4;
}

.order-detail__title {
  margin: 4px 0 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.order-steps {
  grid-area: steps;
  margin-top: 34px;
}

.order-steps__bars,
.order-steps__labels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
}

.order-steps__bars i {
  height: 4px;
  background: #e6e6e6;
}

.order-steps__bars i.is-done {
  background: var(--o-text);
}

.order-steps__bars i.is-cancel {
  background: var(--o-orange);
}

.order-steps__labels {
  margin-top: 8px;
  font-size: 15px;
}

.order-steps__labels span {
  color: #a0a0a0;
}

.order-steps__labels .is-now {
  color: var(--o-text);
}

.order-steps__labels .is-cancel {
  color: var(--o-orange);
}

.order-info {
  display: grid;
  grid-area: info;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 40px;
  margin-top: 28px;
  padding: 32px 36px;
  border-radius: 8px;
  background: #fafafa;
}

.order-info__cell {
  display: grid;
  align-content: start;
  gap: 12px;
}

.order-info__icon {
  width: 22px;
  height: 22px;
  stroke-width: 3;
}

.order-info__main {
  font-size: 18px;
  line-height: 1.4;
}

.order-info__sub {
  margin-top: -6px;
  color: #8a8a8a;
  font-size: 17px;
}

.order-lines {
  grid-area: lines;
  margin-top: 34px;
  border-top: 1px solid #ececec;
}

.order-line {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto auto 40px;
  align-items: start;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid #ececec;
}

.order-line__img {
  display: block;
  height: 146px;
  background: #f3f3f3;
}

.order-line__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.order-line__name {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.order-line__type,
.order-line__meta {
  margin-top: 6px;
  font-size: 16px;
}

.order-line__meta {
  color: #6f6f6f;
}

.order-line__qty,
.order-line__price {
  padding-top: 2px;
  font-size: 16px;
  white-space: nowrap;
}

.order-line__price {
  font-weight: 700;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:6px;
}
.order-line__old { color:var(--c-compare);font-weight:400; }
.order-price-discount { position:relative;display:inline-block;font-weight:400;line-height:1; }
.order-price-discount summary { display:flex;align-items:center;justify-content:center;width:32px;height:32px;cursor:pointer;list-style:none;background:transparent;color:var(--c-compare); }
.order-price-discount summary::-webkit-details-marker { display:none; }
.order-price-discount summary svg { width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6; }
.order-price-discount summary:focus-visible { outline:2px solid var(--c-text);outline-offset:2px;border-radius:50%; }
.order-discount-pop { position:fixed;z-index:100;width:440px;max-width:calc(100vw - 32px);padding:22px 24px;border-radius:16px;background:#fff;box-shadow:0 8px 30px rgba(0,0,0,.13);color:var(--c-text);font-size:16px;line-height:1.4;white-space:normal; }
.order-discount-pop::after { content:"";position:absolute;bottom:-10px;left:calc(var(--tip-x,50%) - 10px);width:20px;height:20px;background:#fff;transform:rotate(45deg); }
.order-discount-pop[data-placement="below"]::after { bottom:auto;top:-10px; }
.order-discount-pop dl { margin:0; }
.order-discount-pop__row { display:flex;align-items:baseline;justify-content:space-between;gap:20px; }
.order-discount-pop__row + .order-discount-pop__row { margin-top:12px; }
.order-discount-pop dt { color:#737373; }
.order-discount-pop dd { margin:0;font-weight:700;white-space:nowrap; }
@media(max-width:768px) {
 .order-line .order-line__body { grid-column:2 / -1;padding-right:44px; }
 .order-line .order-line__fav { justify-self:end; }
 .order-line__price { max-width:160px;white-space:normal; }
 .order-discount-pop { padding:18px 16px;font-size:14px; }
 .order-discount-pop__row { gap:12px; }
}

.order-line .order-line__fav {
  position: static;
  background: none;
  box-shadow: none;
}

.order-detail__actions {
  grid-area: actions;
  margin-top: 26px;
}

.order-sum {
  position: sticky;
  top: 20px;
  grid-area: sum;
  padding: 22px 26px;
  border: 1px dashed #cfcfcf;
  border-radius: 16px;
  font-size: 17px;
}

.order-sum__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
}

.order-sum__row span:first-child {
  color: #9a9a9a;
}

.order-sum__total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px dashed #cfcfcf;
}

.order-sum__label {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.order-sum__count {
  margin-top: 4px;
  color: #9a9a9a;
  font-size: 13px;
}

.order-sum__value {
  font-size: 22px;
  font-weight: 700;
  white-space: nowrap;
}

.order-missing {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 40px 0;
  text-align: center;
}

.order-missing[hidden] {
  display: none;
}

.acc-order__title {
  display: block;
}

a.acc-order__title:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .order-detail__layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas:
      "head"
      "steps"
      "sum"
      "info"
      "lines"
      "actions";
  }
  .order-sum {
    position: static;
    margin-top: 26px;
  }
}

@media (max-width: 768px) {
  .order-detail__head {
    padding: 0 40px;
  }
  .order-detail__back {
    top: 14px;
  }
  .order-detail__title {
    font-size: 26px;
  }
  .order-steps {
    margin-top: 24px;
  }
  .order-steps__labels {
    gap: 8px;
    font-size: 12px;
  }
  .order-steps__bars {
    gap: 8px;
  }
  .order-info {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    margin-top: 22px;
    padding: 24px 20px;
  }
  .order-info__main {
    font-size: 16px;
  }
  .order-line {
    grid-template-columns: 84px minmax(0, 1fr) auto;
    grid-template-areas:
      "img body fav"
      "img qty price";
    gap: 10px 14px;
  }
  .order-line__img {
    grid-area: img;
    height: 112px;
  }
  .order-line__body {
    grid-area: body;
  }
  .order-line .order-line__fav {
    grid-area: fav;
  }
  .order-line__qty {
    grid-area: qty;
    align-self: end;
  }
  .order-line__price {
    grid-area: price;
    align-self: end;
  }
}

/* главная заканчивается блоком «Новости»: до подвала — стандартное расстояние */
main > .section--divider:last-child {
  padding-bottom: var(--page-end);
}

/* кабинет по центру страницы, как на ASH: меню слева, а основная колонка выровнена по центру окна;
   детализация заказа шире колонки и остаётся в обычной раскладке */
@media (min-width: 1300px) {
  .account:not(:has(.order-detail)) .account-layout {
    grid-template-columns: minmax(286px, 1fr) minmax(0, 640px) minmax(286px, 1fr);
  }
  .account[data-account="fav"] .account-layout {
    grid-template-columns: minmax(286px, 1fr) minmax(0, 740px) minmax(286px, 1fr);
  }
  .account:not(:has(.order-detail)) .account-side {
    grid-column: 1;
    grid-row: 1;
    max-width: 286px;
  }
  .account:not(:has(.order-detail)) .account-main {
    grid-column: 2;
    grid-row: 1;
  }
}

/* промокод/сертификат и подсказка с детализацией в корзине-попапе */
.drawer__footer .order-codes {
  margin: 0 0 16px;
}

.drawer__footer .total-pop {
  right: 0;
  left: 0;
}

.drawer__footer .total-pop::after {
  left: 64px;
}

/* ---- способы оплаты: логотип слева от названия ---- */
.acc--ico summary {
  justify-content: flex-start;
  gap: 0;
  min-height: 72px;
  padding: 12px 0;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.acc--ico .acc__title {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 16px;
}

.acc__ico {
  flex: none;
  width: 50px;
  height: 28px;
  margin-right: 12px;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 768px) {
  .acc--ico summary {
    min-height: 60px;
  }
  .acc__ico {
    width: 44px;
    height: 26px;
    margin-right: 10px;
  }
}

/* ---- обратная связь: панель справа ---- */
.drawer--feedback .drawer__header {
  justify-content: flex-start;
  gap: 14px;
  padding: 32px 30px 18px;
}

.drawer--feedback .drawer__title {
  margin-right: auto;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.fb {
  padding: 0 30px 40px;
  font-size: 15px;
  letter-spacing: 0;
}

.fb__lead {
  margin: 8px 0 24px;
  font-size: 16px;
  line-height: 1.5;
}

.fb .field {
  margin-bottom: 12px;
}

.fb .field textarea {
  min-height: 130px;
}

.fb__files {
  margin-top: 24px;
}

.fb__pick {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 20px;
  border: 1px solid var(--o-text);
  border-radius: 6px;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.fb__pick:hover {
  background: var(--o-text);
  color: #fff;
}

.fb__pick:focus-within {
  outline: 2px solid var(--o-text);
  outline-offset: 2px;
}

.fb__pick input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.fb__hint {
  margin: 8px 0 0;
  color: #8a8a8a;
  font-size: 12px;
}

.fb__list {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.fb__list:empty {
  display: none;
}

.fb__file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 6px 6px 12px;
  border-radius: 6px;
  background: #f6f6f6;
  font-size: 13px;
}

.fb__file-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fb__file-del {
  display: flex;
  width: 24px;
  height: 24px;
  flex: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.fb__file-del:hover {
  background: #e9e9e9;
}

.fb__file-del .icon {
  width: 12px;
  height: 12px;
  stroke-width: 6;
}

.fb__error {
  margin: 8px 0 0;
  color: var(--o-error);
  font-size: 13px;
}

.fb__send {
  display: block;
  min-width: 150px;
  height: 50px;
  margin: 28px 0 0 auto;
  padding: 0 32px;
  border: 0;
  border-radius: 6px;
  background: var(--o-text);
  color: #fff;
  font: inherit;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.fb__legal {
  margin: 16px 0 0;
  color: #8a8a8a;
  font-size: 12px;
  line-height: 1.5;
}

.fb__legal a {
  text-decoration: underline;
}

.fb__done {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding-top: 24px;
  text-align: center;
}

.fb__done p {
  margin: 0;
  line-height: 1.4;
}

.fb__done .fb__send {
  width: 100%;
  margin-top: 18px;
}

.fb__ok {
  width: 64px;
  height: 64px;
  stroke-width: 3;
}

.fb__done-title {
  margin: 0;
  font-size: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.fb__demo {
  color: #8a8a8a;
  font-size: 12px;
}

.fb__error[hidden],
.fb__form[hidden],
.fb__done[hidden] {
  display: none;
}

@media (max-width: 768px) {
  .drawer--feedback .drawer__header {
    padding: 22px 20px 14px;
  }
  .drawer--feedback .drawer__title {
    font-size: 21px;
  }
  .fb {
    padding: 0 20px 32px;
  }
  .fb__send {
    width: 100%;
    margin-left: 0;
  }
}

/* ---- контакты (как на ashrussia.ru/contacts) ---- */
.contacts__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 40px;
}

.contacts__title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contacts__txt {
  margin: 0 0 20px;
  line-height: 1.5;
}

.contacts__mail {
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.contacts__shops {
  margin: 44px 0 44px;
}

.contacts__btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 46px;
  padding: 0 24px;
  border-radius: 23px;
  background: var(--o-text);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

.contacts__btn .icon {
  width: 16px;
  height: 16px;
  stroke-width: 5;
}

.contacts-acc .acc summary {
  min-height: 64px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.requisites {
  padding: 6px 0 12px;
}

.requisites p {
  margin: 0 0 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  .contacts__row {
    grid-template-columns: minmax(0, 1fr);
  }
  .contacts__shops {
    margin: 32px 0;
  }

  /* Consistent input text size without Safari's focus zoom. */
  .field :is(input, select, textarea),
  .footer__newsletter input {
    font-size: 16px;
  }
}

/* Account-order payment state follows the ASH account layout. */
.order-payment-notice { grid-area: notice; display:flex; gap:18px; padding:24px; margin:24px 0; background:#ffe8e0; border-radius:10px; font-size:18px; line-height:1.45; }
.order-payment-notice .icon { flex:none; width:24px; height:24px; margin-top:3px; }
.order-payment-notice p { margin:0; }
.order-payment { grid-area: payment; margin:28px 0; min-width:0; }
.order-payment__methods { padding:0; margin:0; border:0; min-width:0; }
.order-payment__methods legend { margin-bottom:20px; font-size:22px; font-weight:700; text-transform:uppercase; }
.order-payment .btn { width:100%; }
.order-payment .pay-card { cursor:pointer; }
.order-payment .pay-card input:focus-visible + .pay-card__radio { outline:2px solid #111; outline-offset:3px; }
.order-payment .pay-card__body { flex:1; }
.order-payment__feedback { min-height:1.5em; margin:12px 0 0; font-size:14px; }
.order-detail__layout { grid-template-areas:"head sum" "steps sum" "notice sum" "info sum" "lines sum" "payment sum" "actions sum"; grid-template-rows:none; }
@media(max-width:960px) { .order-detail__layout { grid-template-areas:"head" "steps" "notice" "sum" "info" "lines" "payment" "actions"; } }
@media(max-width:768px) { .order-payment-notice { padding:18px; gap:12px; font-size:15px; } .order-payment__methods legend { font-size:20px; } }

/* Catalogue controls share the same neutral surface. */
@media(min-width:769px) { .page-catalog .select-wrap select { background:var(--o-soft); border-color:var(--o-soft); } }
.page-catalog .collection-count { font-size:80%; }
@keyframes un-fav-added { 0%,100% { transform:scale(1); } 35% { transform:scale(1.3); } 65% { transform:scale(.9); } }
.fav-btn.is-fav-added .icon { animation:un-fav-added .45s ease-out; }
.fav-btn .un-fav-animation { position:absolute; inset:0; display:flex; pointer-events:none; }
.fav-btn.is-fav-animating.is-active > .icon { visibility:hidden; }
.fav-btn:not(.is-active) .un-fav-animation { visibility:hidden; }
@media(prefers-reduced-motion:reduce) { .fav-btn.is-fav-added .icon { animation:none; } }

/* Native customer avatar: same photo in settings and every account sidebar. */
.account-user__ava { overflow: hidden; }
.account-user__ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* The avatar itself opens the photo actions, including on touch devices. */
.account-user[data-avatar-controls] { position: relative; flex-wrap: wrap; }
.account-avatar { position: relative; flex: none; }
.account-avatar__toggle { position: relative; display: block; padding: 0; border: 0; border-radius: 6px; background: transparent; color: inherit; cursor: pointer; }
.account-avatar__toggle:focus-visible { outline: 2px solid #111; outline-offset: 5px; }
.account-avatar__camera { position: absolute; right: -8px; bottom: -8px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border: 1px solid #ddd; border-radius: 50%; background: #fff; color: #111; opacity: 0; transition: opacity 120ms ease-out; }
.account-avatar__camera svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.account-avatar__toggle:hover .account-avatar__camera,
.account-avatar__toggle:focus-visible .account-avatar__camera,
.account-avatar__toggle[aria-expanded="true"] .account-avatar__camera { opacity: 1; }
.account-avatar__menu { position: absolute; top: calc(100% + 16px); left: 0; z-index: 20; width: 260px; max-width: calc(100vw - 48px); padding: 12px; border: 1px solid #ddd; border-radius: 8px; background: #fff; box-shadow: 0 8px 28px #00000014; }
.account-avatar__menu button { display: block; width: 100%; padding: 12px; border: 0; background: transparent; color: #111; text-align: left; font: inherit; cursor: pointer; }
.account-avatar__menu button[hidden] { display: none; }
.account-avatar__menu button:hover, .account-avatar__menu button:focus-visible { background: #f4f4f4; }
.account-avatar__menu .account-avatar__delete { color: #ad2115; }
.account-avatar__hint { margin: 4px 12px 8px; font-size: 12px; line-height: 1.5; color: #777; }
.account-avatar__status { flex-basis: 100%; margin: 0; font-size: 13px; line-height: 1.5; }
.account-avatar__status:empty { display: none; }
.account-user[data-avatar-controls] button:disabled { opacity: .55; cursor: wait; }
@media (hover: none), (pointer: coarse) { .account-avatar__camera { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .account-avatar__camera { transition: none; } }

/* Product price and discount breakdown share the native order popover. */
.pdp-price { display:flex;align-items:center;flex-wrap:wrap;gap:8px; }
.pdp-price .order-price-discount { flex:0 0 auto; }
@media (pointer:coarse) { .pdp-price .order-price-discount summary { width:44px;height:44px; } }
