/* =========================================================
   777 SHOP — UNIFIED STYLES
   Generated: extracted+deduped from 5 page mockups
   ========================================================= */

/* =========================================================
   COMMON: header / footer / mobile-menu  (shared block #2)
   ========================================================= */

@font-face {
  font-family: 'Gotham Pro';
  src: url('../fonts/gothampro.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  src: url('../fonts/Raleway.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  src: url('../fonts/Raleway-v4020-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Raleway';
  src: url('../fonts/Raleway-v4020-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}

.auth-overlay.is-open {
  visibility: visible;
  pointer-events: auto;
}

.auth-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.25s;
}

.auth-overlay.is-open .auth-overlay__backdrop {
  opacity: 1;
}

.auth-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  background: var(--white);
  width: min(480px, calc(100% - 40px));
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 40px 32px;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}

.auth-overlay.is-open .auth-panel {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.auth-panel__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: var(--muted);
  line-height: 1;
  padding: 4px;
}

.auth-panel__title {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.auth-panel__subtitle {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.5;
}

.auth-step {
  display: none;
}

.auth-step.is-active {
  display: block;
}

.auth-field {
  margin-bottom: 16px;
}

.auth-label {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

.auth-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  font: inherit;
  font-size: 14px;
  outline: none;
  border-radius: 2px;
  transition: border-color var(--transition);
  background: var(--white);
}

.auth-input:focus {
  border-color: var(--purple);
}

.auth-input.is-error {
  border-color: #d32f2f;
}

.auth-error {
  font-size: 12px;
  color: #d32f2f;
  margin-top: 4px;
  display: none;
}

.auth-error.is-visible {
  display: block;
}

/* ===== БЫСТРЫЙ ЗАКАЗ — модалка (basket) ===== */
.quickorder-modal__note {
  font-size: 13px;
  color: var(--text);
  text-align: left;
}
.quickorder-modal__note--count {
  margin-top: 14px;
}
.quickorder-modal__note--warn {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.quickorder-modal__success {
  text-align: center;
  padding: 16px 0;
}
.quickorder-modal__success-icon {
  font-size: 40px;
  margin-bottom: 12px;
}
.quickorder-modal__success-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.quickorder-modal__success-text {
  font-size: 13px;
  color: var(--muted);
}
.quickorder-modal__success-btn {
  margin-top: 20px;
}

.auth-btn {
  width: 100%;
  padding: 15px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--text);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  margin-top: 8px;
}

.auth-btn:hover {
  background: var(--purple);
}

.auth-btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.auth-btn--outline:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: transparent;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  font-size: 13px;
}

.auth-link {
  background: transparent;
  border: none;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  color: var(--text);
  text-decoration: underline;
  padding: 0;
}

.auth-link:hover {
  color: var(--purple);
}

.auth-checkboxes {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
}

.auth-checkbox input {
  accent-color: var(--purple);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.auth-checkbox a {
  color: var(--purple);
}

.auth-password-wrap {
  position: relative;
}

.auth-password-wrap .auth-input {
  padding-right: 90px;
}

.auth-show-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--muted);
}

.auth-show-btn:hover {
  color: var(--purple);
}

.auth-divider {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 16px 0;
  position: relative;
}

.auth-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--border);
}

.auth-divider span {
  background: var(--white);
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.auth-select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  font: inherit;
  font-size: 14px;
  outline: none;
  background: var(--white);
  appearance: none;
  cursor: pointer;
  border-radius: 2px;
}

.auth-select-wrap {
  position: relative;
}

.auth-select-wrap::after {
  content: "▾";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--muted);
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-top: 4px;
}

.auth-success {
  text-align: center;
  padding: 20px 0;
}

.auth-success__icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.auth-success__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.auth-success__text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .auth-panel {
    padding: 32px 20px 24px;
  }
  .auth-panel__title {
    font-size: 18px;
  }
}

/* =========================================================
   SHARED: rules used on 2+ pages
   ========================================================= */

/* --- BASE --- */
:root {
      --bg: #f3f3f3;
      --white: #ffffff;
      --text: #1d1d1d;
      --muted: #6b6b6b;
      --border: #d8d8d8;
      --purple: #6b3f93;

      --container-xl: 1600px;
      --container-lg: 1240px;

      --transition: 0.25s ease;
    }
* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
body {
      font-family: "Raleway", sans-serif;
      font-variant-numeric: lining-nums;
      color: var(--text);
      background: #faf9f8;
      overflow-x: hidden;
    }
body.is-locked,
html:has(body.is-locked) {
      overflow: hidden;
    }

/* --- ELEMENTS --- */
img {
      width: 100%;
      display: block;
    }
a {
      text-decoration: none;
      color: inherit;
    }
button {
      border: none;
      background: transparent;
      cursor: pointer;
      font-family: inherit;
      padding: 0;
      color: inherit;
    }
ul {
      list-style: none;
    }

/* --- CLASSES --- */
.container {
      width: min(100% - 40px, var(--container-lg));
      margin-inline: auto;
    }
.container-wide {
      width: min(100% - 40px, var(--container-xl));
      margin-inline: auto;
    }
.icon {
      width: 26px;
      height: 26px;
      position: relative;
      flex-shrink: 0;
    }
.icon--circle {
      border: 1px solid var(--purple);
      border-radius: 50%;
    }
.icon--search {
      width: 27px;
      height: 27px;
    }
.icon--burger {
      width: 24px;
      height: 18px;
    }
.icon--burger span {
      position: absolute;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--purple);
    }
.icon--burger span:nth-child(1) {
      top: 0;
    }
.icon--burger span:nth-child(2) {
      top: 8px;
    }
.icon--burger span:nth-child(3) {
      bottom: 0;
    }
.icon--like {
      width: 32px;
      height: 26px;
    }
.icon--login {
      font-size: 18px;
    }
.icon--cart {
      width: 20px;
      height: 26px;
    }
.icon--location {
      width: 16px;
      height: 23px;
    }
.icon--planet {
      font-size: 26px;
    }
.icon--language_black {
      width: 20px;
      height: 20px;
    }
.icon--phone {
      font-size: 15px;
    }
.icon--MasterCard {
      width: 48px;
      height: 38px;
    }
.icon--VISA {
      width: 58px;
      height: 19px;
    }
.icon--MIR {
      width: 69px;
      height: 20px;
    }
.icon--Yandex {
      width: 76px;
      height: 26px;
    }
.icon--logo {
      width: 64px;
      height: 64px;
    }
.topbar {
      background: var(--white);
    }
.topbar__inner {
      min-height: 48px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      font-size: 12px;
    }
.topbar__item {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 400;
      color: #000;
      font-size: 13px;
    }
.topbar__phone-group {
      display: flex;
      gap: 25px;
    }
.topbar__groupe {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      font-size: 13px;
    }
.header {
      background: var(--white);
    }
.header__top {
      padding: 0 0 28px 0;
      position: relative;
    }
.logo {
      text-align: center;
    }
.logo__wrap {
      display: inline-flex;
      align-items: center;
      gap: 16px;
    }
.logo__circle {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      font-weight: 700;
      font-size: 22px;
    }
.logo__text {
      font-family: 'Gotham Pro', sans-serif;
      color: var(--purple);
      font-size: 30px;
      font-weight: 400;
      letter-spacing: 0.04em;
    }
.header__actions {
      position: absolute;
      top: 50%;
      right: 0;
      transform: translateY(-50%);
      display: flex;
      align-items: center;
      gap: 28px;
    }
.header__mobile {
      display: none;
    }
.nav {
      padding-bottom: 20px;
      position: relative;
    }
.nav__inner {
      position: relative;
    }
.nav__menu {
      display: flex;
      justify-content: center;
      gap: 36px;
      flex-wrap: wrap;
    }
.nav__item {
      position: static;
    }
.nav__link {
      font-size: 14px;
      font-weight: 600;
      transition: var(--transition);
      display: inline-block;
      padding-bottom: 4px;
      border-bottom: 2px solid transparent;
    }
.nav__link:hover,
    .nav__item.is-active>.nav__link {
      color: var(--text);
      border-bottom-color: var(--purple);
    }
.mega-menu {
      position: absolute;
      left: 0;
      right: 0;
      top: calc(100% + 20px);
      background: var(--white);
      border-top: 1px solid var(--border);
      box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.18);
      padding: 36px 40px 48px;
      z-index: 30;

      opacity: 0;
      visibility: hidden;
      transform: translateY(-8px);
      transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s 0.2s;
    }
.nav.is-open .mega-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s 0s;
    }
.mega-menu__panel {
      display: none;
    }
.mega-menu__panel.is-visible {
      display: block;
    }
.mega-menu__grid {
      display: grid;
      grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
      gap: 32px;
    }
.mega-menu__col-title {
      font-size: 13px;
      font-weight: 700;
      margin-bottom: 18px;
      color: var(--text);
    }
.mega-menu__list {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
.mega-menu__link {
      font-size: 13px;
      font-weight: 400;
      color: var(--text);
      transition: var(--transition);
    }
.mega-menu__link:hover {
      color: var(--purple);
    }
.mega-menu__link--brand-featured {
      color: var(--purple);
      font-weight: 500;
    }
.mega-menu__divider {
      height: 1px;
      background: var(--border);
      margin: 14px 0;
    }
.mega-menu__empty {
      padding: 24px 0;
      color: var(--muted);
      font-size: 13px;
    }
.m-menu {
      position: fixed;
      inset: 0;
      z-index: 100;
      visibility: hidden;
      pointer-events: none;
    }
.m-menu.is-open {
      visibility: visible;
      pointer-events: auto;
    }
.m-menu__backdrop {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.45);
      opacity: 0;
      transition: opacity 0.25s ease;
    }
.m-menu.is-open .m-menu__backdrop {
      opacity: 1;
    }
.m-menu__panel {
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      width: min(420px, 86%);
      background: var(--white);
      display: flex;
      flex-direction: column;
      transform: translateX(-100%);
      transition: transform 0.3s ease;
      overflow-x: hidden;
      overflow-y: auto;
    }
.m-menu__panel.is-sub-open {
      overflow-y: hidden;
    }
.m-menu.is-open .m-menu__panel {
      transform: translateX(0);
    }
.m-menu__close {
      position: fixed;
      top: 50%;
      left: calc(min(420px, 86%) + 20px);
      transform: translateY(-50%);
      width: 36px;
      height: 36px;
      color: #fff;
      font-size: 30px;
      line-height: 1;
      display: grid;
      place-items: center;
      z-index: 101;
      background: transparent;
      border: none;
      cursor: pointer;
    }
.m-menu__header {
      background: var(--purple);
      color: #fff;
      min-height: 72px;
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 12px 20px;
      font-size: 22px;
      font-weight: 500;
    }
.m-menu__user-ico {
      width: 28px;
      height: 28px;
      border: 2px solid #fff;
      border-radius: 50%;
      position: relative;
      flex-shrink: 0;
    }
.m-menu__user-ico::before {
      content: "";
      width: 10px;
      height: 10px;
      background: #fff;
      border-radius: 50%;
      position: absolute;
      top: 4px;
      left: 50%;
      transform: translateX(-50%);
    }
.m-menu__user-ico::after {
      content: "";
      width: 16px;
      height: 7px;
      background: #fff;
      border-radius: 9px 9px 0 0;
      position: absolute;
      bottom: 3px;
      left: 50%;
      transform: translateX(-50%);
    }
.m-menu__back {
      font-size: 24px;
      line-height: 1;
      background: transparent;
      color: #fff;
      cursor: pointer;
    }
.m-menu__cat-list {
      padding: 8px 0;
    }
.m-menu__cat {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 18px 20px;
      font-size: 17px;
      font-weight: 500;
      cursor: pointer;
      border: none;
      background: transparent;
      width: 100%;
      text-align: left;
    }
.m-menu__cat:hover {
      background: #f4eef9;
    }
.m-menu__cat .arrow {
      font-size: 18px;
      color: var(--text);
    }
.m-menu__footer {
      margin-top: auto;
      padding: 20px;
      border-top: 1px solid var(--border);
      display: flex;
      flex-direction: column;
      gap: 16px;
      font-size: 14px;
    }
.m-menu__footer-row {
      display: flex;
      align-items: center;
      gap: 12px;
    }
.m-menu__footer-row .arrow {
      margin-left: auto;
    }
.m-menu__footer-icon {
      width: 18px;
      height: 18px;
      flex: 0 0 18px;
      display: block;
    }
.m-menu__sub {
      position: absolute;
      inset: 0;
      background: var(--white);
      display: flex;
      flex-direction: column;
      transform: translateX(100%);
      transition: transform 0.3s ease;
      overflow-x: hidden;
      overflow-y: auto;
    }
.m-menu__sub-item, .m-menu__sub-title {
      word-wrap: break-word;
      overflow-wrap: break-word;
    }
.m-menu__sub.is-open {
      transform: translateX(0);
    }
.m-menu__sub-list {
      padding: 8px 0 32px;
    }
.m-menu__sub-item {
      display: block;
      padding: 14px 20px;
      font-size: 15px;
      color: var(--text);
    }
.m-menu__sub-item:hover {
      background: #f4eef9;
    }
.m-menu__sub-title {
      padding: 18px 20px 8px;
      font-size: 15px;
      font-weight: 700;
    }
.m-menu__sub-item--brand {
      color: var(--purple);
      font-weight: 500;
    }
.m-menu__sub-divider {
      height: 1px;
      background: var(--border);
      margin: 8px 20px;
    }
.search {
      position: relative;
    }
.nav__search {
      position: absolute;
      right: 0px;
      top: -4px;
      width: 200px;
    }
.search__field {
      position: relative;
      display: flex;
      align-items: center;
      gap: 10px;
      border-bottom: 1px solid var(--border);
      padding: 6px 0 6px 34px;
      background: transparent;
    }
.search__field::before {
      content: "";
      position: absolute;
      left: 0;
      top: 50%;
      width: 18px;
      height: 18px;
      background: url("../svg/Search.svg") no-repeat center/contain;
      transform: translateY(-50%);
    }
.search__field::after {
      display: none;
    }
.search__input {
      flex: 1;
      background: transparent;
      border: none;
      outline: none;
      font-family: inherit;
      font-size: 13px;
      color: var(--text);
    }
.search__input::placeholder {
      color: var(--muted);
    }
.search__clear {
      display: none;
    }
.search__dropdown {
      position: absolute;
      left: 0;
      right: 0;
      top: calc(100% + 6px);
      background: var(--white);
      box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.18);
      border: 1px solid var(--border);
      border-radius: 4px;
      padding: 8px 0;
      z-index: 40;
      display: none;
      max-height: min(70vh, 520px);
      overflow-y: auto;
    }
.search.is-open .search__dropdown {
      display: block;
    }
.search__group+.search__group {
      border-top: 1px solid var(--border);
      margin-top: 4px;
      padding-top: 4px;
    }
.search__row {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 10px 18px;
      font-size: 13px;
      color: var(--text);
      cursor: pointer;
      transition: background 0.15s ease;
    }
.search__row:hover {
      background: #f6f4f9;
    }
.search__row+.search__row {
      border-top: 1px solid var(--border);
    }
.search__group--query .search__row+.search__row {
      border-top: none;
    }
.search__suggest-ico {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
      position: relative;
    }
.search__suggest-ico::before {
      content: "";
      position: absolute;
      width: 12px;
      height: 12px;
      border: 1.5px solid var(--text);
      border-radius: 50%;
      top: 0;
      left: 0;
    }
.search__suggest-ico::after {
      content: "";
      position: absolute;
      width: 6px;
      height: 1.5px;
      background: var(--text);
      transform: rotate(45deg);
      right: 1px;
      bottom: 2px;
    }
.search__suggest-text mark {
      background: transparent;
      color: var(--purple);
      font-weight: 500;
    }
.search__product-img {
      width: 36px;
      height: 36px;
      flex-shrink: 0;
      border: 1px solid var(--border);
      border-radius: 2px;
      overflow: hidden;
      background: #fafafa;
    }
.search__product-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
.search__product-name {
      flex: 1;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
.search-overlay {
      position: fixed;
      inset: 0;
      z-index: 105;
      visibility: hidden;
      pointer-events: none;
    }
.search-overlay.is-open {
      visibility: visible;
      pointer-events: auto;
    }
.search-overlay__backdrop {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.35);
      opacity: 0;
      transition: opacity 0.25s ease;
    }
.search-overlay.is-open .search-overlay__backdrop {
      opacity: 1;
    }
.search-overlay__panel {
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      background: var(--white);
      transform: translateY(-100%);
      transition: transform 0.3s ease;
      max-height: 100%;
      display: flex;
      flex-direction: column;
    }
.search-overlay.is-open .search-overlay__panel {
      transform: translateY(0);
    }
.search-overlay__bar {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 18px 20px;
      border-bottom: 1px solid var(--border);
      position: relative;
    }
.search--overlay {
      flex: 1;
    }
.search-overlay__bar .search__field {
      flex: 1;
      border: none;
      padding: 4px 0 4px 32px;
    }
.search-overlay__bar .search__field::before {
      width: 18px;
      height: 18px;
      border-width: 2px;
    }
.search-overlay__bar .search__field::after {
      width: 9px;
      height: 2px;
      left: 14px;
    }
.search-overlay__bar .search__input {
      font-size: 17px;
    }
.search-overlay__close {
      background: transparent;
      border: none;
      cursor: pointer;
      font-size: 26px;
      line-height: 1;
      color: var(--text);
      padding: 4px;
    }
.search-overlay__results {
      background: var(--white);
      overflow-y: auto;
    }
.search-overlay__results .search__row {
      padding: 14px 20px;
      font-size: 15px;
    }
.search-overlay__results .search__product-img {
      width: 44px;
      height: 44px;
    }
.header__search-toggle {
      display: none;
    }
.cookie-banner {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      background: var(--white);
      box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
      z-index: 90;
      padding: 32px 20px;
      transform: translateY(100%);
      transition: transform 0.3s ease;
    }
.cookie-banner.is-visible {
      transform: translateY(0);
    }
.cookie-banner__inner {
      max-width: 957px;
      margin-inline: auto;
      display: flex;
      align-items: center;
      gap: 32px;
    }
.cookie-banner__text {
      flex: 1;
      font-size: 13px;
      line-height: 1.5;
      color: var(--text);
    }
.cookie-banner__btn {
      flex-shrink: 0;
      width: 129px;
      height: 31px;
      background: var(--purple);
      color: #fff;
      font-family: inherit;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      border: none;
      cursor: pointer;
      transition: var(--transition);
    }
.cookie-banner__btn:hover {
      background: #56307a;
    }
.lang-modal {
      position: fixed;
      inset: 0;
      z-index: 110;
      visibility: hidden;
      pointer-events: none;
    }
.lang-modal.is-open {
      visibility: visible;
      pointer-events: auto;
    }
.lang-modal__backdrop {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.35);
      opacity: 0;
      transition: opacity 0.25s ease;
    }
.lang-modal.is-open .lang-modal__backdrop {
      opacity: 1;
    }
.lang-modal__close-outside {
      display: none;
      position: absolute;
      color: #fff;
      font-size: 30px;
      line-height: 1;
      background: transparent;
      border: none;
      cursor: pointer;
      z-index: 2;
    }
.lang-modal__panel {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%) scale(0.96);
      width: min(560px, calc(100% - 80px));
      background: var(--white);
      border-radius: 8px;
      padding: 52px 32px 32px;
      opacity: 0;
      transition: opacity 0.2s ease, transform 0.2s ease;
    }
.lang-modal.is-open .lang-modal__panel {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }
.lang-modal__close-inside {
      position: absolute;
      top: 12px;
      left: 16px;
      background: transparent;
      border: none;
      font-size: 28px;
      line-height: 1;
      cursor: pointer;
      padding: 0;
      margin: 0;
      color: var(--text);
      z-index: 2;
    }
.lang-modal__mobile-header {
      display: none;
    }
.lang-modal__tabs {
      display: flex;
      gap: 28px;
      border-bottom: 1px solid var(--border);
      margin: 0 0 24px;
    }
.lang-modal__tab {
      background: transparent;
      border: none;
      font-family: inherit;
      font-size: 16px;
      font-weight: 500;
      color: var(--text);
      padding: 0 0 12px;
      cursor: pointer;
      position: relative;
    }
.lang-modal__tab.is-active {
      color: var(--purple);
      font-weight: 700;
    }
.lang-modal__tab.is-active::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -1px;
      height: 2px;
      background: var(--purple);
    }
.lang-modal__pane {
      display: none;
    }
.lang-modal__pane.is-active {
      display: block;
    }
.lang-modal__title {
      font-size: 24px;
      font-weight: 700;
      margin-bottom: 20px;
    }
.lang-modal__options {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
    }
.lang-option {
      background: #f1f1f1;
      border: 1px solid transparent;
      border-radius: 8px;
      padding: 14px 20px;
      font-family: inherit;
      text-align: left;
      cursor: pointer;
      transition: var(--transition);
      min-width: 130px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
.lang-option--lang {
      min-width: 130px;
      padding: 16px 24px;
    }
.lang-option:hover {
      border-color: var(--purple);
    }
.lang-option.is-selected {
      background: var(--purple);
      color: #fff;
    }
.lang-option__name {
      font-size: 14px;
      font-weight: 500;
    }
.lang-option__code {
      font-size: 13px;
      opacity: 0.7;
    }
.lang-option.is-selected .lang-option__code {
      opacity: 0.85;
    }
.promo {
      padding: 16px 0 32px;
    }
section.promo {
      background: #faf9f8;
    }
.promo__grid {
      display: grid;
      max-width: 900px;
      grid-template-columns: repeat(3, 1fr);
      gap: 40px;
      text-align: center;
      font-size: 13px;
      line-height: 1.4;
      margin: auto;
    }
.promo__info {
      max-width: 240px;
    }
.hero {
      margin-bottom: 33px;
    }
.hero__banner {
      position: relative;
      overflow: hidden;
      max-width: 957px;
      min-height: 568px;
      margin: auto;
    }
.hero__banner img {
      height: 100%;
      object-fit: cover;
    }
.hero__overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.12));
    }
.hero__content {
      position: absolute;
      left: 50%;
      bottom: 72px;
      transform: translateX(-50%);
      width: 100%;
      text-align: center;
      color: white;
      padding-inline: 20px;
    }
.hero__title {
      font-size: 34px;
      font-weight: 700;
      margin-bottom: 18px;
      line-height: 1.1;
    }
.hero__text {
      font-size: 16px;
      margin-bottom: 32px;
    }
.btn {
      width: 129px;
      height: 31px;
      background: white;
      color: black;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      transition: var(--transition);
    }
.btn:hover {
      background: var(--purple);
      color: white;
    }
.categories {
      margin-bottom: 72px;
    }
.section-title {
      text-align: center;
      font-size: 24px;
      font-weight: 700;
      margin-bottom: 44px;
    }
.categories__wrapper {
      display: grid;
      grid-template-columns: 40px 1fr 40px;
      align-items: center;
      gap: 24px;
      max-width: 957px;
      margin: auto;
    }
.categories__arrow {
      font-size: 34px;
      transition: var(--transition);
      background: transparent;
      border: none;
      cursor: pointer;
      transform: translateY(calc(-51px / 2));
    }
.categories__arrow:hover {
      color: var(--purple);
    }
.categories__arrow:disabled {
      opacity: 0.25;
      cursor: not-allowed;
    }
.categories__grid {
      overflow: hidden;
    }
.categories__track {
      display: flex;
      gap: 24px;
      transition: transform 0.4s ease;
      will-change: transform;
    }
.category {
      display: block;
      text-align: center;
      flex: 0 0 calc((100% - 5 * 24px) / 6);
      min-width: 0;
      color: inherit;
      text-decoration: none;
      cursor: pointer;
      transition: transform .2s ease;
    }
.category:hover {
      transform: translateY(-3px);
    }
.category:hover .category__title {
      color: var(--purple, #7a48d9);
    }
.category__image {
      aspect-ratio: 1;
      border-radius: 50%;
      overflow: hidden;
      background: white;
      margin-bottom: 16px;
    }
.category__image img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
    }
.category__title {
      font-size: 14px;
      font-weight: 700;
      margin-bottom: 4px;
    }
.category__subtitle {
      font-size: 12px;
      color: var(--muted);
    }
.slider-dots {
      display: none;
    }
.seo {
      margin-bottom: 120px;
    }
.seo__text {
      max-width: 957px;
      margin-inline: auto;
      text-align: center;
      line-height: 20px;
      font-size: 13px;
      margin: auto;
    }
.seo__btn {
      display: block;
      margin: 28px auto 0;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }
.footer {
      line-height: 25px;
      background: #e9e9e9;
      padding: 72px 0 48px;
    }
.footer__desktop {
      display: grid;
      grid-template-columns: repeat(4, 1fr) max-content;
      gap: 40px;
      margin-bottom: 80px;
    }
.footer__title {
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      margin-bottom: 17px;
    }
.footer__solo {
      margin: 0;
    }
.footer__column {
      display: flex;
      flex-direction: column;
      gap: 36px;
    }
.footer__links {
      display: grid;
    }
.footer__link {
      font-size: 12px;
      font-weight: 400;
      transition: var(--transition);
    }
.footer__contacts {
      font-weight: 600;
    }
.footer__link:hover {
      color: var(--purple);
    }
.footer__language {
      display: flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
    }
.footer__mobile {
      display: none;
    }
.footer__language-info {
      font-size: 13px;
      font-weight: 600;
      text-decoration: underline;
    }
.footer-accordion {
      border-bottom: 1px solid #9d9d9d;
    }
.footer-accordion__head {
      min-height: 68px;
      width: 100%;
      background: transparent;
      border: none;
      text-align: left;
      cursor: pointer;
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-family: inherit;
      font-weight: 700;
      font-size: 15px;
      color: var(--text);
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }
.footer-accordion__plus {
      font-size: 34px;
      font-weight: 300;
      line-height: 1;
      display: inline-block;
      transition: transform 0.25s ease;
    }
.footer-accordion.is-open .footer-accordion__plus {
      transform: rotate(45deg);
    }
.footer-accordion__body {
      display: none;
      padding: 0 0 24px;
    }
.footer-accordion.is-open .footer-accordion__body {
      display: block;
    }
.footer-accordion__body .footer__links {
      gap: 12px;
    }
.footer-accordion__body .footer__link {
      font-size: 14px;
    }
.footer__mobile-contacts {
      padding: 32px 0 12px;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
.footer__mobile-contacts .footer__title {
      margin-bottom: 4px;
    }
.footer__mobile-contacts a {
      font-size: 14px;
      font-weight: 600;
    }
.footer__mobile-contacts .footer__language {
      margin-top: 4px;
    }
.footer__bottom {
      text-align: center;
    }
.payments {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 37px;
      flex-wrap: wrap;
      margin-bottom: 32px;
      font-size: 36px;
      font-weight: 700;
    }
.socials {
      display: flex;
      justify-content: center;
      gap: 17px;
      margin-bottom: 24px;
    }
.social {
      width: 24px;
      height: 24px;
    }
.vertical-line {
      width: 1px;
      height: 24px;
    }
.footer__email {
      margin-bottom: 32px;
      font-size: 12px;
    }
.footer__line {
      width: 486px;
      max-width: 100%;
      height: 1px;
      background: #8c8c8c;
      margin: 0 auto 28px;
    }
.copyright {
      font-size: 13px;
      color: #444;
      line-height: 1.8;
    }
.catalog {
      padding: 20px 0 60px;
    }
.catalog__inner {
      width: min(100% - 40px, var(--container-lg));
      margin-inline: auto;
    }
.catalog__breadcrumbs {
      font-size: 13px;
      color: var(--text);
      margin-bottom: 18px;
      text-align: center;
    }
.catalog__breadcrumbs span {
      color: var(--muted);
    }
.catalog__breadcrumbs a + a::before,
    .catalog__breadcrumbs a + span::before {
      content: " / ";
      color: var(--text);
      margin: 0 2px;
    }
.catalog__breadcrumbs a {
      color: var(--text);
      transition: color var(--transition);
    }
.catalog__breadcrumbs a:hover {
      color: var(--purple);
    }
.catalog__title {
      font-size: 40px;
      font-weight: 700;
      text-align: center;
      margin-bottom: 30px;
      letter-spacing: 0.02em;
    }
#searchTitle {
      font-size: 20px;
      font-weight: 700;
      text-transform: uppercase;
    }
.catalog__layout {
      display: flex;
      gap: 30px;
      align-items: flex-start;
    }
.catalog__sidebar {
      flex: 0 0 190px;
      min-width: 0;
    }
.catalog__main {
      flex: 1;
      min-width: 0;
    }
.sidebar__group {
      margin-bottom: 18px;
    }
.sidebar__title {
      font-weight: 700;
      font-size: 13px;
      margin-bottom: 8px;
      color: var(--text);
    }
.sidebar__list {
      list-style: none;
      margin: 0;
      padding: 0;
    }
.sidebar__link {
      display: block;
      font-size: 13px;
      color: var(--text);
      padding: 3px 0;
      line-height: 1.4;
      transition: color var(--transition);
    }
.sidebar__link:hover {
      color: var(--purple);
    }
.sidebar__link--active {
      color: var(--purple);
    }
.sidebar__link--brand {
      color: var(--purple);
    }
.sidebar__divider {
      height: 1px;
      background: var(--border);
      margin: 14px 0;
      width: 80%;
    }
.catalog__toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 28px;
      flex-wrap: wrap;
      gap: 12px;
    }
.catalog__filter-btns {
      display: flex;
      gap: 28px;
      flex-wrap: wrap;
      align-items: center;
    }
.catalog__filter-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: none;
      border: none;
      font-family: inherit;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text);
      cursor: pointer;
      padding: 0;
      transition: var(--transition);
    }
.catalog__filter-btn:hover {
      color: var(--purple);
    }
.catalog__filter-btn .arrow {
      font-size: 9px;
      margin-left: 2px;
      display: inline-block;
      transition: transform var(--transition);
    }
.filter-dropdown {
      position: relative;
    }
.filter-dropdown.is-open > .catalog__filter-btn {
      color: var(--purple);
    }
.filter-dropdown.is-open > .catalog__filter-btn .arrow {
      transform: rotate(180deg);
    }
.filter-dropdown__panel {
      position: absolute;
      top: calc(100% + 14px);
      left: -18px;
      background: var(--white);
      border-radius: 8px;
      box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.18);
      padding: 10px 0;
      min-width: 260px;
      z-index: 30;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-6px);
      transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s 0.2s;
    }
.filter-dropdown.is-open .filter-dropdown__panel {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s 0s;
    }
.filter-option {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 11px 22px;
      cursor: pointer;
      font-size: 13px;
      color: var(--text);
      transition: background var(--transition);
      user-select: none;
    }
.filter-option:hover,
    .filter-option.is-selected {
      background: #f4eef9;
    }
.filter-option input {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }
.filter-option__radio {
      width: 18px;
      height: 18px;
      border: 1.5px solid var(--text);
      border-radius: 50%;
      position: relative;
      flex-shrink: 0;
    }
.filter-option.is-selected .filter-option__radio::after {
      content: '';
      position: absolute;
      inset: 3px;
      background: var(--text);
      border-radius: 50%;
    }
.catalog__filter-btn--all .filter-ico {
      display: inline-block;
      width: 14px;
      height: 12px;
      position: relative;
      margin-left: 4px;
    }
.catalog__filter-btn--all .filter-ico::before,
    .catalog__filter-btn--all .filter-ico::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      height: 1.5px;
      background: currentColor;
    }
.catalog__filter-btn--all .filter-ico::before {
      top: 2px;
    }
.catalog__filter-btn--all .filter-ico::after {
      bottom: 2px;
    }
.catalog__filter-btn--all .filter-ico span {
      position: absolute;
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: currentColor;
    }
.catalog__filter-btn--all .filter-ico span:nth-child(1) {
      top: 0;
      left: 8px;
    }
.catalog__filter-btn--all .filter-ico span:nth-child(2) {
      bottom: 0;
      left: 2px;
    }
.catalog__view-toggle {
      display: flex;
      align-items: baseline;
      gap: 16px;
    }
.catalog__count {
      font-size: 12px;
      color: var(--muted);
      white-space: nowrap;
    }
.catalog__view {
      display: flex;
      align-items: flex-end;
      gap: 12px;
    }
.catalog__view button {
      background: none;
      border: none;
      padding: 0;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: var(--transition);
    }
.catalog__view button:hover {
      opacity: 0.7;
    }
.catalog__view button img {
      display: block;
    }
.catalog__view-grid {
      display: grid;
      grid-template-columns: repeat(2, auto);
      gap: 3px;
    }
.catalog__grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 30px 24px;
    }
.product-card__image {
      position: relative;
      aspect-ratio: 3 / 4;
      background: #f6f6f6;
      overflow: hidden;
    }
.product-card__image > img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
.product-card__badge {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 1;
      width: 90px;
      height: 25px;
      padding: 0;
      border-radius: 0;
      font-size: 11px;
      font-weight: 400;
      line-height: 1;
      color: #000;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-align: center;
    }
.product-card__badge--new {
      background: #A6D682;
    }
.product-card__badge--sale {
      background: #93DDCE;
    }
.product-card__badge--out {
      background: #C4C4C4;
    }
.product-card__badge--online {
      background: #DD94CA;
    }
.product-card__like {
      position: absolute;
      bottom: 10px;
      right: 10px;
      z-index: 2;
      width: 30px;
      height: 30px;
      background: rgba(255, 255, 255, 0.85);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      border: none;
      padding: 0;
      transition: var(--transition);
    }
.product-card__like:hover {
      background: #fff;
    }
.product-card__like img {
      width: 16px;
      height: 14px;
    }
.product-card__body {
      padding: 12px 0 0;
      display: flex;
      flex-direction: column;
      flex: 1;
      position: relative;
      padding-right: 28px;
    }
.product-card__name {
      font-size: 13px;
      line-height: 1.35;
      color: var(--text);
      margin: 0 0 6px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
      min-height: 2.7em;
    }
.product-card__price {
      display: flex;
      align-items: baseline;
      gap: 8px;
      font-size: 14px;
      font-weight: 700;
      margin-bottom: 8px;
    }
.product-card__price--old {
      font-weight: 400;
      text-decoration: line-through;
      color: var(--muted);
      font-size: 13px;
    }
.product-card__colors {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      margin-bottom: 6px;
    }
.product-color {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      border: 1px solid rgba(0, 0, 0, 0.12);
    }
.product-card__cart {
      position: absolute;
      top: 14px;
      right: 0;
      width: 26px;
      height: 24px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: var(--transition);
    }
.product-card__cart img {
      width: 22px;
      height: 22px;
      display: block;
    }
.product-card__cart:hover {
      transform: translateY(-1px);
    }
.catalog__pagination {
      text-align: center;
      margin-top: 48px;
    }
.catalog__pagination p {
      font-size: 13px;
      color: var(--text);
      margin-bottom: 14px;
    }
.catalog__progress {
      width: 240px;
      height: 4px;
      background: var(--border);
      border-radius: 4px;
      margin: 0 auto 20px;
      overflow: hidden;
    }
.catalog__progress-bar {
      height: 100%;
      width: 6%;
      background: var(--purple);
      border-radius: 4px;
    }
.catalog__load-more {
      display: inline-block;
      background: #000;
      color: var(--white);
      border: none;
      padding: 12px 50px;
      font-family: inherit;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      cursor: pointer;
      transition: var(--transition);
    }
.catalog__load-more:hover {
      background: var(--purple);
    }
.buy-modal {
      position: fixed;
      inset: 0;
      z-index: 120;
      visibility: hidden;
      pointer-events: none;
    }
.buy-modal.is-open {
      visibility: visible;
      pointer-events: auto;
    }
.buy-modal__backdrop {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.45);
      opacity: 0;
      transition: opacity 0.25s;
    }
.buy-modal.is-open .buy-modal__backdrop {
      opacity: 1;
    }
.buy-modal__panel {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%) scale(0.96);
      opacity: 0;
      transition: opacity 0.2s, transform 0.2s;
      background: #fff;
      border-radius: 6px;
      max-width: 600px;
      width: calc(100% - 32px);
      overflow: hidden;
      padding: 32px;
    }
.buy-modal.is-open .buy-modal__panel {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }
.buy-modal__close {
      position: absolute;
      top: 16px;
      right: 16px;
      background: transparent;
      border: none;
      font-size: 24px;
      cursor: pointer;
      color: var(--text);
      padding: 4px;
      line-height: 1;
    }
.buy-modal__body {
      display: grid;
      grid-template-columns: 220px 1fr;
      gap: 28px;
    }
.buy-modal__media {
      position: relative;
      background: #f3f3f3;
      aspect-ratio: 1/1;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }
.buy-modal__photo {
      width: 100%;
      height: auto;
      object-fit: contain;
    }
.buy-modal__badge {
      position: absolute;
      top: 0;
      left: 0;
      background: #f7c7e6;
      color: #1d1d1d;
      font-size: 11px;
      padding: 4px 14px;
      font-weight: 600;
      letter-spacing: 0.5px;
      text-transform: lowercase;
    }
.buy-modal__badge::first-letter {
      text-transform: uppercase;
    }
.buy-modal__like {
      position: absolute;
      bottom: 10px;
      right: 10px;
      z-index: 2;
      width: 30px;
      height: 30px;
      background: rgba(255, 255, 255, 0.85);
      border-radius: 50%;
      border: none;
      cursor: pointer;
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: var(--transition);
    }
.buy-modal__like:hover {
      background: #fff;
    }
.buy-modal__like img {
      width: 16px;
      height: 14px;
    }
.buy-modal__info {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
.buy-modal__title {
      font-size: 18px;
      font-weight: 600;
      line-height: 1.3;
      margin: 0;
    }
.buy-modal__title h3 {
      margin: 0;
      font-size: inherit;
      font-weight: inherit;
    }
.buy-modal__prices {
      display: flex;
      gap: 10px;
      align-items: baseline;
    }
.buy-modal__price-old {
      text-decoration: line-through;
      color: var(--muted);
      font-size: 13px;
    }
.buy-modal__price {
      font-size: 16px;
      font-weight: 600;
      color: var(--text);
    }
.buy-modal__select {
      position: relative;
    }
.buy-modal__select-toggle {
      width: 100%;
      height: 42px;
      padding: 0 14px;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 4px;
      font: inherit;
      font-size: 14px;
      color: var(--text);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: border-color var(--transition);
    }
.buy-modal__select-toggle:hover {
      border-color: #1d1d1d;
    }
.buy-modal__select.is-invalid .buy-modal__select-toggle {
      border-color: #e02b2b;
      background: #fff5f5;
    }
.buy-modal__select-error {
      display: none;
      margin-top: 4px;
      color: #e02b2b;
      font-size: 11px;
      line-height: 1.3;
    }
.buy-modal__select.is-invalid .buy-modal__select-error {
      display: block;
    }
.buy-modal__select-toggle .arrow {
      width: 10px;
      height: 6px;
      transition: transform var(--transition);
      flex-shrink: 0;
      margin-left: 8px;
    }
.buy-modal__select.is-open .buy-modal__select-toggle .arrow {
      transform: rotate(180deg);
    }
.buy-modal__select-panel {
      position: absolute;
      top: calc(100% + 4px);
      left: 0;
      right: 0;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 4px;
      max-height: 220px;
      overflow-y: auto;
      z-index: 5;
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
      display: none;
    }
.buy-modal__select.is-open .buy-modal__select-panel {
      display: block;
    }
.buy-modal__select-option {
      padding: 10px 14px;
      font-size: 14px;
      cursor: pointer;
      transition: background var(--transition);
    }
.buy-modal__select-option:hover {
      background: #f3f3f3;
    }
.buy-modal__select-option.is-selected {
      background: #f3f3f3;
      font-weight: 600;
    }
.buy-modal__stores {
      margin-top: 4px;
    }
.buy-modal__stores-toggle {
      width: 100%;
      background: transparent;
      border: none;
      padding: 0;
      font: inherit;
      font-size: 13px;
      font-weight: 600;
      color: var(--text);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      line-height: 1.5;
    }
.buy-modal__stores-toggle .arrow {
      width: 10px;
      height: 6px;
      transition: transform var(--transition);
      flex-shrink: 0;
      margin-left: 8px;
    }
.buy-modal__stores.is-open .buy-modal__stores-toggle .arrow {
      transform: rotate(180deg);
    }
.buy-modal__stores-panel {
      display: none;
      padding-top: 10px;
      font-size: 12px;
      line-height: 1.5;
      color: var(--text);
    }
.buy-modal__stores.is-open .buy-modal__stores-panel {
      display: block;
    }
.buy-modal__store-row {
      margin-bottom: 6px;
    }
.buy-modal__store-row strong {
      font-weight: 600;
      margin-right: 4px;
    }
.buy-modal__buy {
      width: 100%;
      height: 48px;
      background: #1d1d1d;
      color: #fff;
      border: none;
      border-radius: 4px;
      font: inherit;
      font-size: 14px;
      font-weight: 600;
      text-transform: lowercase;
      letter-spacing: 0.5px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      transition: background var(--transition);
      margin-top: 6px;
    }
.buy-modal__buy:hover {
      background: #333;
    }
.buy-modal__buy img {
      width: 18px;
      height: 18px;
      filter: brightness(0) invert(1);
    }
.product-card {
      background: var(--white);
      position: relative;
      display: flex;
      flex-direction: column;
    }

/* --- MEDIA --- */
@media (max-width: 1439px) {
      .nav__search {
        display: none;
      }

      .header__search-toggle {
        display: inline-flex;
      }
    }
@media (max-width: 640px) {
      .cookie-banner {
        padding: 28px 20px 32px;
      }

      .cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        text-align: center;
      }

      .cookie-banner__btn {
        align-self: center;
      }
    }
@media (max-width: 640px) {
      .lang-modal__backdrop {
        background: rgba(0, 0, 0, 0.45);
      }

      .lang-modal__close-outside {
        display: grid;
        place-items: center;
        position: fixed;
        top: 50%;
        left: calc(min(420px, 86%) + 20px);
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        font-size: 30px;
        z-index: 111;
      }

      .lang-modal__panel {
        left: 0;
        top: 0;
        transform: translateX(-100%);
        width: min(420px, 86%);
        height: 100%;
        border-radius: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        transition: transform 0.3s ease, opacity 0s;
        opacity: 1;
      }

      .lang-modal.is-open .lang-modal__panel {
        transform: translateX(0);
      }

      .lang-modal__mobile-header {
        display: flex;
        align-items: center;
        background: var(--purple);
        color: #fff;
        min-height: 72px;
        padding: 12px 20px;
      }

      .lang-modal__back {
        background: transparent;
        border: none;
        color: #fff;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
      }

      .lang-modal__close-inside {
        display: none;
      }

      .lang-modal__body {
        padding: 24px 20px;
        overflow-y: auto;
        flex: 1;
      }

      .lang-modal__title {
        font-size: 24px;
        margin-bottom: 20px;
      }

      .lang-option {
        width: 100%;
        padding: 16px 18px;
      }
    }
@media (max-width: 1439px) {
      .topbar {
        display: none;
      }

      .header__desktop {
        display: none;
      }

      .header__mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 72px;
      }

      .header__mobile-left {
        display: flex;
        align-items: center;
        gap: 20px;
      }

      .header__mobile-logo {
        display: flex;
        align-items: center;
        gap: 12px;
      }

      .header__mobile-actions {
        display: flex;
        align-items: center;
        gap: 20px;
      }

      .header__mobile-logo .logo__circle {
        width: 38px;
        height: 38px;
        font-size: 16px;
      }

      .header__mobile-logo .icon--logo {
        width: 30px;
        height: 30px;
      }
    }
@media (max-width: 992px) {
      .header__mobile-actions {
        gap: 14px;
      }

      .header__mobile-actions .icon {
        width: 18px;
        height: 18px;
      }

      .header__mobile-actions .icon--search {
        width: 18px;
        height: 18px;
      }

      .promo__grid {
        gap: 20px;
        font-size: 12px;
      }

      .hero__banner {
        min-height: 520px;
      }

      .section-title {
        font-size: 32px;
      }

      .categories__grid {
        gap: 16px;
      }

      .footer__desktop {
        display: none;
      }

      .footer__mobile {
        display: block;
        margin-bottom: 48px;
      }
    }
@media (max-width: 640px) {

      .container,
      .container-wide {
        width: min(100% - 32px, 100%);
      }

      .promo {
        padding-top: 10px;
      }

      .promo__grid {
        grid-template-columns: 1fr;
        gap: 8px;
        font-size: 14px;
      }

      .promo__grid div:not(:first-child) {
        display: none;
      }

      .hero {
        margin-bottom: 40px;
      }

      .hero__banner {
        min-height: 430px;
      }

      .hero__content {
        bottom: 34px;
      }

      .hero__title {
        font-size: 24px;
        margin-bottom: 16px;
      }

      .hero__text {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 20px;
      }

      .btn {
        width: 160px;
        height: 48px;
      }

      .section-title {
        font-size: 24px;
        margin-bottom: 32px;
      }

      .categories__wrapper {
        display: block;
      }

      .categories__arrow {
        display: none;
      }

      .categories__grid {
        overflow: hidden;
      }

      .categories__track {
        gap: 12px;
      }

      .category {
        flex: 0 0 calc((100% - 3 * 12px) / 4);
        min-width: 0;
      }

      .slider-dots {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 24px;
      }

      .slider-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: 1px solid #666;
        background: transparent;
        padding: 0;
        cursor: pointer;
      }

      .slider-dot.is-active {
        background: var(--purple);
        border-color: var(--purple);
      }

      .seo {
        margin-bottom: 72px;
      }

      .seo__text {
        font-size: 13px;
        line-height: 1.8;
      }

      .payments {
        gap: 18px;
        font-size: 28px;
      }

      .socials {
        gap: 12px;
      }

      .footer {
        padding-top: 56px;
      }
    }
@media (max-width: 992px) {
      .catalog__sidebar {
        flex-basis: 170px;
      }

      .catalog__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px 20px;
      }

      .sidebar__list--long {
        display: none;
      }

      .sidebar__divider {
        display: none;
      }

      .catalog__title {
        font-size: 32px;
      }
    }
@media (max-width: 992px) {
      .buy-modal__panel {
        max-width: 520px;
      }
      .buy-modal__body {
        grid-template-columns: 200px 1fr;
        gap: 24px;
      }
    }
@media (max-width: 640px) {
      .buy-modal__panel {
        padding: 56px 16px 24px;
      }
      .buy-modal__body {
        grid-template-columns: 1fr;
        gap: 16px;
      }
      .buy-modal__media {
        max-width: 220px;
        margin: 0 auto;
        aspect-ratio: 1/1;
      }
      .buy-modal__title {
        font-size: 16px;
      }
    }
@media (max-width: 480px) {
      .buy-modal__panel {
        max-height: 90vh;
        overflow-y: auto;
      }
      .buy-modal__media {
        max-width: 200px;
      }
    }

/* =========================================================
   PAGE: catalogPage
   ========================================================= */
html {
      overflow-x: hidden;
    }
.product-card {
      background: var(--white);
      position: relative;
      display: flex;
      flex-direction: column;
      cursor: pointer;
    }
@media (max-width: 640px) {
      .catalog__inner {
        width: min(100% - 32px, 100%);
      }

      .catalog__sidebar {
        display: none;
      }

      .catalog__layout {
        flex-direction: column;
        gap: 18px;
      }

      .catalog__breadcrumbs {
        font-size: 11px;
        text-align: left;
      }

      .catalog__title {
        font-size: 24px;
        margin-bottom: 16px;
      }

      .catalog__toolbar {
        flex-direction: column;
        align-items: center;
        gap: 10px;
      }

      .catalog__filter-btns {
        justify-content: center;
        width: 100%;
        gap: 16px;
      }

      .catalog__filter-btns .catalog__filter-btn:not(.catalog__filter-btn--all) {
        display: none;
      }

      .catalog__filter-btn--all {
        position: relative;
        width: 100%;
        justify-content: center;
        font-size: 13px;
      }

      .catalog__filter-btn--all .filter-ico {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
      }

      .catalog__view-toggle {
        flex-direction: column;
        gap: 4px;
      }

      .catalog__view {
        display: none;
      }

      .catalog__grid {
        grid-template-columns: 1fr;
        gap: 24px;
      }

      .product-card__image {
        aspect-ratio: 1 / 1;
      }

      .product-card__name {
        font-size: 14px;
      }

      .catalog__progress {
        width: 100%;
        max-width: 280px;
      }

      .catalog__load-more {
        width: 100%;
      }
    }
.filter-modal {
      position: fixed;
      inset: 0;
      z-index: 130;
      visibility: hidden;
      pointer-events: none;
      overflow: hidden;
    }
.filter-modal.is-open {
      visibility: visible;
      pointer-events: auto;
    }
.filter-modal__backdrop {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.35);
      opacity: 0;
      transition: opacity 0.25s ease;
    }
.filter-modal.is-open .filter-modal__backdrop {
      opacity: 1;
    }
.filter-modal__panel {
      position: absolute;
      top: 0;
      right: 0;
      height: 100vh;
      width: 420px;
      max-width: 30vw;
      min-width: 380px;
      background: #fff;
      transform: translateX(100%);
      transition: transform 0.3s ease;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08);
    }
.filter-modal.is-open .filter-modal__panel {
      transform: translateX(0);
    }
.filter-modal__header {
      flex-shrink: 0;
      height: 70px;
      padding: 0 32px;
      background: var(--purple);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: relative;
    }
.filter-modal__back,
    .filter-modal__close {
      background: transparent;
      border: none;
      color: #fff;
      cursor: pointer;
      padding: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
    }
.filter-modal__back svg,
    .filter-modal__close svg {
      width: 22px;
      height: 22px;
      stroke: #fff;
      stroke-width: 2;
      fill: none;
    }
.filter-modal__back[hidden] {
      display: flex;
      visibility: hidden;
    }
.filter-modal__title {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      font-size: 16px;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
    }
.filter-modal__body {
      flex: 1;
      position: relative;
      overflow: hidden;
    }
.filter-modal__level {
      position: absolute;
      inset: 0;
      overflow-y: auto;
      background: #fff;
      display: none;
      transform: translateX(100%);
      transition: transform 0.3s ease;
    }
.filter-modal__level.is-active {
      display: block;
      transform: translateX(0);
    }
.filter-modal__item {
      width: 100%;
      height: 64px;
      padding: 0 32px;
      background: #fff;
      border: none;
      border-bottom: 1px solid var(--border);
      font: inherit;
      font-size: 14px;
      font-weight: 700;
      text-transform: uppercase;
      color: var(--text);
      letter-spacing: 1px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      transition: background var(--transition);
      text-align: left;
    }
.filter-modal__item:hover {
      background: #f7f7f7;
    }
.filter-modal__item--check {
      display: flex;
      align-items: center;
      gap: 14px;
      cursor: pointer;
    }
.filter-modal__item--check .filter-modal__item-label {
      flex-grow: 1;
      cursor: pointer;
      text-align: left;
    }
.filter-modal__checkbox-wrap {
      display: flex;
      align-items: center;
      flex-shrink: 0;
    }
.filter-modal__item-arrow {
      flex-shrink: 0;
      font-size: 18px;
      line-height: 1;
      color: var(--text);
      font-family: "Raleway", sans-serif;
    }
.visually-hidden {
      position: absolute;
      width: 1px;
      height: 1px;
      margin: -1px;
      padding: 0;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
      opacity: 0;
    }
.filter-modal__checkbox-box {
      width: 18px;
      height: 18px;
      border: 1.5px solid var(--text);
      border-radius: 2px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      position: relative;
    }
.filter-modal__check {
      width: 100%;
      padding: 0 32px;
      min-height: 64px;
      display: flex;
      align-items: center;
      gap: 14px;
      cursor: pointer;
      border-bottom: 1px solid var(--border);
      transition: background var(--transition);
      font-size: 14px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--text);
    }
.filter-modal__check:hover {
      background: #f7f7f7;
    }
.filter-modal__check input[type="checkbox"] {
      position: absolute;
      width: 1px;
      height: 1px;
      margin: -1px;
      padding: 0;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
      opacity: 0;
    }
.filter-modal__check input:checked + .filter-modal__checkbox-box::after {
      content: '';
      width: 4px;
      height: 8px;
      border-right: 2px solid var(--text);
      border-bottom: 2px solid var(--text);
      transform: rotate(45deg);
      position: absolute;
      top: 2px;
      left: 5px;
    }
.filter-modal__item--check .visually-hidden:checked + .filter-modal__checkbox-box::after {
      content: '';
      width: 4px;
      height: 8px;
      border-right: 2px solid var(--text);
      border-bottom: 2px solid var(--text);
      transform: rotate(45deg);
      position: absolute;
      top: 2px;
      left: 5px;
    }
@media (max-width: 992px) {
      .filter-modal__panel {
        width: 380px;
        min-width: 340px;
        max-width: 60vw;
      }
    }
@media (max-width: 640px) {
      .filter-modal__panel {
        width: 100%;
        max-width: 100%;
        min-width: 0;
      }
    
      .filter-modal__header {
        padding: 0 20px;
      }
    
      .filter-modal__item {
        padding: 0 20px;
      }
    
      .filter-modal__check {
        padding: 0 20px;
      }
    }

/* =========================================================
   PAGE: productCardPage
   ========================================================= */
@media (max-width: 640px) {
      .catalog__inner {
        width: min(100% - 32px, 100%);
      }

      .catalog__sidebar {
        display: none;
      }

      .catalog__layout {
        flex-direction: column;
        gap: 18px;
      }

      .catalog__breadcrumbs {
        font-size: 11px;
        text-align: left;
      }

      .catalog__title {
        font-size: 24px;
        margin-bottom: 16px;
      }

      .catalog__toolbar {
        flex-direction: column;
        align-items: center;
        gap: 10px;
      }

      .catalog__filter-btns {
        justify-content: center;
        width: 100%;
        gap: 16px;
      }

      .catalog__filter-btns .catalog__filter-btn:not(.catalog__filter-btn--all) {
        display: none;
      }

      .catalog__filter-btn--all {
        justify-content: center;
        font-size: 13px;
      }

      .catalog__view-toggle {
        flex-direction: column;
        gap: 4px;
      }

      .catalog__view {
        display: none;
      }

      .catalog__grid {
        grid-template-columns: 1fr;
        gap: 24px;
      }

      .product-card__image {
        aspect-ratio: 1 / 1;
      }

      .product-card__name {
        font-size: 14px;
      }

      .catalog__progress {
        width: 100%;
        max-width: 280px;
      }

      .catalog__load-more {
        width: 100%;
      }
    }
.pdp {
      padding: 20px 0 80px;
    }
.pdp__inner {
      width: min(100% - 40px, var(--container-lg));
      margin-inline: auto;
    }
.pdp__breadcrumbs {
      margin-bottom: 24px;
    }
.pdp__layout {
      display: grid;
      grid-template-columns: 1fr 340px;
      gap: 24px;
      align-items: start;
      margin-bottom: 50px;
    }
.pdp__main-col {
      display: flex;
      flex-direction: column;
      gap: 24px;
      min-width: 0;
    }
.pdp__top {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }
.pdp__photo {
      background: var(--bg);
      border-radius: 4px;
      aspect-ratio: 3 / 4;
      overflow: hidden;
      position: relative;
    }
.pdp__photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
.pdp__photo-badge {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 1;
      width: 90px;
      height: 25px;
      padding: 0;
      border-radius: 0;
      font-size: 11px;
      font-weight: 400;
      line-height: 1;
      color: #000;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      letter-spacing: 0.02em;
    }
.pdp__photo-badge--new    { background: #A6D682; }
.pdp__photo-badge--sale   { background: #93DDCE; }
.pdp__photo-badge--out    { background: #C4C4C4; }
.pdp__photo-badge--online { background: #DD94CA; }
.pdp__photo-like {
      display: none;
    }
.pdp__info {
      position: sticky;
      top: 20px;
      align-self: start;
      display: flex;
      flex-direction: column;
      gap: 18px;
    }
.pdp__title-row {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 14px;
    }
.pdp__title {
      font-size: 20px;
      font-weight: 600;
      line-height: 1.3;
      margin: 0;
    }
.pdp__like {
      background: none;
      border: none;
      cursor: pointer;
      padding: 0;
      width: 28px;
      height: 28px;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }
.pdp__like img {
      width: 22px;
      height: 22px;
      transition: transform var(--transition);
    }
.pdp__like:hover img {
      transform: scale(1.1);
    }
.pdp__like .pdp__like-on { display: none; }
.pdp__like.is-active .pdp__like-off { display: none; }
.pdp__like.is-active .pdp__like-on { display: block; }
.pdp__price-row {
      display: flex;
      align-items: baseline;
      gap: 12px;
    }
.pdp__price-old {
      color: var(--muted);
      text-decoration: line-through;
      font-size: 14px;
    }
.pdp__price-new {
      color: var(--purple);
      font-size: 20px;
      font-weight: 600;
    }
.pdp__section-label {
      font-size: 13px;
      color: var(--muted);
      margin-bottom: 8px;
    }
.pdp__colors {
      display: flex;
      gap: 10px;
    }
.pdp__color {
      width: 64px;
      height: 80px;
      background: var(--bg);
      border-radius: 3px;
      border: 1.5px solid transparent;
      overflow: hidden;
      cursor: pointer;
      padding: 0;
      transition: border-color var(--transition);
    }
.pdp__color img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
.pdp__color:hover,
    .pdp__color.is-active {
      border-color: var(--purple);
    }
.pdp__availability {
      position: relative;
      font-size: 13px;
    }
.pdp__availability-toggle {
      background: none;
      border: none;
      padding: 0;
      font-family: inherit;
      font-size: 13px;
      color: var(--text);
      text-decoration: underline;
      cursor: pointer;
    }
.pdp__availability-panel {
      margin-top: 8px;
      display: none;
      flex-direction: column;
      gap: 8px;
    }
.pdp__availability.is-open .pdp__availability-panel {
      display: flex;
    }
.pdp__availability-row {
      color: var(--text);
    }
.pdp__availability-row b {
      font-weight: 500;
    }
.pdp__availability-row span {
      color: var(--muted);
      margin-left: 6px;
    }
.pdp__size {
      position: relative;
    }
.pdp__size-toggle {
      width: 100%;
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 4px;
      padding: 14px 18px;
      font-size: 14px;
      color: var(--text);
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-family: inherit;
    }
.pdp__size-toggle .arrow {
      width: 10px;
      height: 6px;
      transition: transform var(--transition);
    }
.pdp__size.is-open .pdp__size-toggle .arrow {
      transform: rotate(180deg);
    }
.pdp__size-panel {
      position: absolute;
      top: calc(100% + 4px);
      left: 0;
      right: 0;
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 4px;
      box-shadow: 0 12px 24px -8px rgba(0,0,0,0.12);
      z-index: 20;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-6px);
      transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s 0.2s;
      max-height: 260px;
      overflow-y: auto;
    }
.pdp__size.is-open .pdp__size-panel {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s 0s;
    }
.pdp__size-option {
      padding: 11px 18px;
      font-size: 14px;
      cursor: pointer;
      transition: background var(--transition);
    }
.pdp__size-option:hover,
    .pdp__size-option.is-selected {
      background: #f4eef9;
    }
.pdp__buy {
      width: 100%;
      background: var(--text);
      color: var(--white);
      border: none;
      border-radius: 4px;
      padding: 16px;
      font-size: 14px;
      letter-spacing: 0.05em;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      font-family: inherit;
      transition: background var(--transition);
    }
.pdp__buy:hover {
      background: var(--purple);
    }
.pdp__buy img {
      width: 18px;
      height: 18px;
      filter: brightness(0) invert(1);
    }
.pdp__details-row {
      width: 100%;
    }
.pdp__media-stack {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
.pdp__media-stack__row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }
.pdp__media-stack__row--single {
      grid-template-columns: 1fr;
    }
.pdp__media-tile {
      background: var(--bg);
      border-radius: 4px;
      aspect-ratio: 1 / 1;
      overflow: hidden;
      position: relative;
      cursor: pointer;
    }
.pdp__media-tile--wide {
      aspect-ratio: 16 / 9;
    }
.pdp__media-tile img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
.pdp__play {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      pointer-events: none;
    }
.pdp__play::before {
      content: '';
      width: 44px;
      height: 44px;
      background: rgba(255, 255, 255, 0.85);
      border-radius: 50%;
    }
.pdp__play::after {
      content: '';
      position: absolute;
      width: 0;
      height: 0;
      border-left: 12px solid var(--purple);
      border-top: 8px solid transparent;
      border-bottom: 8px solid transparent;
      margin-left: 3px;
    }
.pdp__description {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
.pdp__description-text {
      font-size: 14px;
      line-height: 1.6;
      color: var(--text);
      margin: 0;
    }
.pdp__specs {
      display: flex;
      flex-direction: column;
      gap: 6px;
      font-size: 13px;
    }
.pdp__spec {
      display: flex;
      gap: 6px;
    }
.pdp__spec-label {
      color: var(--muted);
    }
.pdp__tabs {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 60px;
      padding: 24px 0;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      margin-bottom: 50px;
      flex-wrap: wrap;
    }
.pdp__tab {
      background: none;
      border: none;
      font-size: 13px;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--text);
      cursor: pointer;
      padding: 0;
      font-family: inherit;
      transition: color var(--transition);
    }
.pdp__tab:hover,
    .pdp__tab.is-active {
      color: var(--purple);
    }
.pdp__tab-stars {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      color: var(--text);
    }
.pdp__stars {
      letter-spacing: 2px;
      color: var(--text);
    }
.pdp__related {
      position: relative;
    }
.pdp__related-title {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 24px;
    }
.pdp__related-wrap {
      display: grid;
      grid-template-columns: 40px 1fr 40px;
      align-items: center;
      gap: 24px;
    }
.pdp__related-viewport {
      overflow: hidden;
    }
.pdp__related-track {
      display: flex;
      gap: 20px;
      transition: transform 0.4s ease;
      will-change: transform;
    }
.pdp__related-track > .product-card {
      flex: 0 0 calc((100% - 60px) / 4);
      min-width: 0;
    }
.pdp__related-arrow {
      font-size: 34px;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 0;
      color: var(--text);
      transition: var(--transition);
      font-family: inherit;
      line-height: 1;
      transform: translateY(calc(-78px / 2));
    }
.pdp__related-arrow:hover {
      color: var(--purple);
    }
.pdp__related-arrow:disabled {
      opacity: 0.25;
      cursor: not-allowed;
    }
.pdp__related-dots {
      display: none;
      justify-content: center;
      gap: 8px;
      margin-top: 18px;
    }
.pdp__related-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--border);
      cursor: pointer;
      border: none;
      padding: 0;
      transition: background var(--transition);
    }
.pdp__related-dot.is-active {
      background: var(--purple);
    }
.pdp__mobile-buy-row {
      display: none;
    }
@media (max-width: 992px) {
      .pdp__layout {
        grid-template-columns: 1fr;
        gap: 24px;
      }

      .pdp__info {
        position: static;
      }

      .pdp__related-track > .product-card {
        flex: 0 0 calc((100% - 40px) / 3);
      }

      .pdp__tabs {
        gap: 30px;
      }
    }
@media (max-width: 640px) {
      .pdp {
        padding: 14px 0 60px;
      }

      .pdp__breadcrumbs {
        margin-bottom: 14px;
      }

      .pdp__layout {
        gap: 16px;
        margin-bottom: 30px;
      }

      .pdp__main-col {
        gap: 18px;
      }

      .pdp__top {
        grid-template-columns: 1fr;
      }

      .pdp__photo--secondary {
        display: none;
      }

      .pdp__photo-like {
        display: flex;
        position: absolute;
        right: 14px;
        bottom: 14px;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: var(--white);
        border: none;
        align-items: center;
        justify-content: center;
        cursor: pointer;
      }

      .pdp__photo-like img {
        width: 22px;
        height: 18px;
        display: block;
      }

      .pdp__photo-like .pdp__like-on { display: none; }
      .pdp__photo-like.is-active .pdp__like-off { display: none; }
      .pdp__photo-like.is-active .pdp__like-on { display: block; }

      .pdp__info .pdp__title-row .pdp__like {
        display: none;
      }

      .pdp__info {
        gap: 12px;
        border-top: 1px solid var(--border);
        padding-top: 18px;
      }

      .pdp__title {
        font-size: 16px;
      }

      .pdp__mobile-buy-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
      }

      .pdp__mobile-buy-row .pdp__size-toggle,
      .pdp__mobile-buy-row .pdp__buy {
        padding: 14px;
      }

      /* На мобиле скрываем эти блоки внутри info — они представлены в mobile-buy-row или иначе */
      .pdp__info .pdp__availability {
        display: none;
      }
      .pdp__info > .pdp__size,
      .pdp__info > .pdp__buy {
        display: none;
      }

      .pdp__colors-block {
        text-align: center;
      }

      .pdp__colors {
        justify-content: center;
      }

      .pdp__related-title {
        font-size: 18px;
        text-align: center;
      }

      .pdp__related-track > .product-card {
        flex: 0 0 calc((100% - 20px) / 2);
      }

      .pdp__related-wrap {
        grid-template-columns: 1fr;
        gap: 0;
      }

      .pdp__related-arrow {
        display: none;
      }

      .pdp__related-dots {
        display: flex;
      }

      .pdp__tabs {
        gap: 18px;
        padding: 18px 0;
      }

      .pdp__tab {
        font-size: 12px;
      }

      .pdp__media-stack__row:not(.pdp__media-stack__row--single) {
        grid-template-columns: 1fr;
      }
    }

/* =========================================================
   PAGE: basketPage
   ========================================================= */
.basket {
  padding: 24px 0 80px;
}
.basket__breadcrumbs {
  font-size: 13px;
  color: var(--text);
  margin-bottom: 18px;
  text-align: center;
}
.basket__title {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 36px;
}
.basket__layout {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}
.basket__items {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
#cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.basket__sidebar {
  flex: 0 0 480px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cart-item {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.cart-item__main {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.cart-item__img {
  width: 132px;
  height: 145px;
  object-fit: cover;
  flex-shrink: 0;
}
.cart-item__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.cart-item__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cart-item__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.cart-item__price {
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
}
.cart-item__specs {
  display: flex;
  gap: 56px;
}
.cart-item__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.spec {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.2;
}
.spec__k {
  color: var(--muted);
  flex-shrink: 0;
  min-width: 58px;
}
.spec__v {
  color: var(--text);
}
.cart-item__actions {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-left: 154px; /* image (132) + main gap (22): align actions under body */
}
.cart-item__heart {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}
.cart-item__heart img {
  width: 20px;
  height: auto;
  display: block;
}
.cart-item__heart:hover {
  border-color: var(--purple);
}
.cart-item__heart.is-active {
  border-color: var(--purple);
  background: rgba(97, 50, 124, 0.06);
}
.cart-item__qty {
  position: relative;
}
.cart-qty {
  appearance: none;
  -webkit-appearance: none;
  height: 44px;
  min-width: 96px;
  padding: 0 38px 0 18px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23222' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
  outline: none;
}
.cart-qty:focus {
  border-color: var(--purple);
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
}
.qty__btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  border: none;
}
.qty__val {
  width: 78px;
  height: 42px;
  text-align: center;
  border: none;
  border-inline: 1px solid var(--border);
  font: inherit;
  font-size: 14px;
  background: transparent;
  outline: none;
}
.cart-item__delete {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  flex-shrink: 0;
  color: var(--text);
  padding: 0;
}
.cart-item__delete img,
.cart-item__delete span {
  width: 17px;
  height: 18px;
  display: block;
  object-fit: contain;
  font-size: 14px;
  line-height: 1;
}
.cart-item__delete:hover {
  border-color: var(--purple);
  color: var(--purple);
}
.cart-removed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 18px 22px;
  font-size: 14px;
  color: var(--text);
}
.cart-removed__label {
  font-size: 14px;
  color: var(--text);
}
.cart-removed__restore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  border: 1px solid var(--border);
  padding: 11px 28px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  text-transform: uppercase;
  color: var(--text);
  transition: var(--transition);
}
.cart-removed__restore svg {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}
.cart-removed__restore:hover {
  background: var(--text);
  color: #fff;
}
.cart-summary {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 32px 40px;
}
.cart-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 10px;
}
.cart-summary__row--discount {
  color: #d32f2f; /* red/negative tone */
}
.cart-summary__divider {
  height: 1px;
  background: var(--border);
  margin: 14px 0;
}
.cart-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  gap: 12px;
}
.cart-summary__total-label {
  flex: 0 1 auto;
  line-height: 1.25;
}
.cart-summary__total-value {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  line-height: 1.25;
}
.cart-checkout-btn {
  width: 100%;
  padding: 16px;
  background: var(--text);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  margin-bottom: 16px;
  transition: var(--transition);
}
.cart-checkout-btn:hover {
  background: var(--purple);
}
.cart-checkout-btn--disabled,
.cart-checkout-btn--disabled:hover {
  background: #d0d0d0;
  color: #777;
  cursor: not-allowed;
  pointer-events: none;
}
.cart-checkout-btn--purple {
  background: var(--purple);
}
.cart-checkout-btn--purple:hover {
  background: var(--text);
}
.cart-quick-order {
  display: block;
  text-align: center;
  font-size: 13px;
  margin: -4px 0 16px;
}
.cart-guest-overlay {
  margin-top: -8px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cart-guest-overlay[hidden] {
  display: none;
}
.cart-guest-overlay__text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.cart-guest-overlay .cart-checkout-btn {
  margin-bottom: 0;
}
.cart-clear-link {
  display: inline-block;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  margin-top: 16px;
  font-family: inherit;
}
.cart-clear-link:hover {
  color: var(--purple);
}
.cart-summary__info {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.cart-summary__info a,
.cart-summary__more {
  color: var(--text);
  text-decoration: underline;
  transition: color var(--transition);
}
.cart-summary__info a:hover,
.cart-summary__more:hover {
  color: var(--purple);
}
.promo {
  background: #fff;
  padding: 28px 32px;
}
.promo__label {
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 12px;
  color: var(--text);
}
.promo__field {
  display: flex;
  gap: 0;
}
.promo__input {
  flex: 1;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-right: none;
  font: inherit;
  font-size: 13px;
  outline: none;
  min-width: 0;
}
.promo__input:focus {
  border-color: var(--purple);
}
.promo__btn {
  padding: 13px 22px;
  background: var(--text);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}
.promo__btn:hover {
  background: var(--purple);
}
.promo__applied {
  display: none; /* hidden by default */
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: 1px solid var(--border);
  background: #f9f6fc;
  font-size: 13px;
  font-weight: 600;
}
.promo__applied-remove {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--muted);
}
.cart-empty {
  display: flex;
  gap: 24px;
  align-items: stretch;
  padding: 0;
  max-width: 880px;
  margin: 0 auto;
}
.cart-empty__main {
  flex: 1 1 0;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}
.cart-empty__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 10px;
}
.cart-empty__sub {
  font-size: 14px;
  color: var(--muted);
}
.cart-empty__side {
  flex: 1 1 0;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
}
.cart-empty__side .cart-checkout-btn {
  margin-bottom: 12px;
}
.cart-empty__info {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.cart-empty__more {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cart-empty__more:hover {
  color: var(--purple);
}
.checkout {
  padding: 24px 0 80px;
}
.checkout__head {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}
.checkout__head .basket__title {
  margin: 0;
}
.checkout__back {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--purple);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}
.checkout__back svg {
  width: 22px;
  height: 22px;
}
.checkout__back:hover {
  background: #4e2866;
}
.checkout__layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.checkout__form {
  flex: 1;
  min-width: 0;
}
.checkout__section {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  padding: 26px 30px;
  margin-bottom: 24px;
}
.checkout__section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.checkout__section--inline .checkout__section-head {
  margin-bottom: 0;
}
.checkout__section-title {
  font-size: 18px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
}
.checkout__section-title--muted {
  color: var(--muted);
}
.checkout__edit {
  flex-shrink: 0;
  background: transparent;
  border: none;
  font: inherit;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.checkout__edit:hover {
  color: var(--purple);
}
.checkout__edit-icon {
  width: 18px;
  height: 18px;
  display: none;
}
.checkout__section-body {
  background: #f8f8f8;
  padding: 20px;
  border: 1px solid var(--border);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.form-label {
  font-size: 12px;
  color: var(--muted);
}
.form-input {
  padding: 12px 14px;
  border: 1px solid var(--border);
  font: inherit;
  font-size: 14px;
  background: var(--white);
  outline: none;
  border-radius: 2px;
  width: 100%;
}
.form-input:focus {
  border-color: var(--purple);
}
.form-input--full {
  grid-column: 1 / -1;
}
.checkout__section-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  padding: 8px 0;
}
.checkout__confirmed {
  font-size: 15px;
  color: var(--text);
}
.co-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}
.co-text + .co-text {
  margin-top: 14px;
}
.co-name {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}
.co-address {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.co-radio {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border: 1px solid var(--text);
  border-radius: 50%;
  position: relative;
}
.co-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--text);
}
.co-address__body {
  flex: 1;
  min-width: 0;
}
.co-address__body .co-text + .co-text {
  margin-top: 0;
}
.co-text--gap {
  margin-top: 14px !important;
}
.co-subtitle {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.co-eta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  margin-top: 18px;
  line-height: 1.5;
}
.co-eta__label {
  font-weight: 700;
  color: var(--text);
}
.co-eta__date {
  color: var(--muted);
}
.co-comment:empty {
  display: none;
}
.checkout__editing {
  margin-top: 4px;
}
.checkout__editing .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 16px;
}
.checkout__editing .form-field--actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.checkout__editing .form-field--actions .cart-checkout-btn {
  width: auto;
  padding: 14px 36px;
  margin: 0;
}
.checkout__editing .form-input--full,
.checkout__editing textarea.form-input {
  grid-column: 1 / -1;
}
.checkout__cancel {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}
.checkout__cancel:hover {
  color: var(--purple);
}
@media (max-width: 640px) {
  .checkout__editing .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Checkout editing forms (co-edit) ===== */
.checkout__section[data-mode="editing"] .checkout__edit {
  display: none;
}
.co-edit__readonly {
  margin-bottom: 18px;
}
.co-edit__ro-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.co-edit__ro-input {
  border: none;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  padding: 0;
  width: 100%;
}
.co-edit__ro-input:focus {
  outline: none;
}
.co-edit__field {
  margin-bottom: 18px;
}
.co-edit__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.co-edit__req {
  color: #e23b3b;
  margin-left: 2px;
}
.co-edit__control {
  position: relative;
}
.co-edit__input {
  width: 100%;
  padding: 14px 40px 14px 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  outline: none;
}
.co-edit__input:focus {
  border-color: var(--purple);
}
.co-edit__check {
  display: none;
  position: absolute;
  right: 16px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
}
.co-edit__check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0;
  width: 6px;
  height: 11px;
  border: solid #3ea84f;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.co-edit__input:not(:placeholder-shown) ~ .co-edit__check {
  display: block;
}
.co-edit__textarea {
  width: 100%;
  min-height: 120px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  outline: none;
  resize: vertical;
}
.co-edit__textarea:focus {
  border-color: var(--purple);
}
.co-edit__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.co-edit__save {
  width: 100%;
  padding: 16px;
  background: #000;
  color: #fff;
  border: none;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}
.co-edit__save:hover {
  background: #222;
}
.co-edit__cancel {
  width: 100%;
  padding: 16px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}
.co-edit__cancel:hover {
  border-color: var(--purple);
  color: var(--purple);
}
/* Payment editing: single column, active radios */
.payment-list--edit {
  gap: 18px;
}
.payment-list--edit .payment-option {
  color: var(--text);
  cursor: pointer;
  font-size: 15px;
}
/* Address editing: multi-column rows, select, address book */
.co-edit__row {
  display: grid;
  gap: 16px;
}
.co-edit__row--2 {
  grid-template-columns: 1fr 1fr;
}
.co-edit__row--4 {
  grid-template-columns: repeat(4, 1fr);
}
.co-edit__input--bare {
  padding-right: 16px;
}
.co-edit__select {
  padding-right: 36px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23999999' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.co-addr-list {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.co-addr-list:empty {
  display: none;
}
.co-addr-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.co-addr-item__radio {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--purple);
  cursor: pointer;
}
.co-addr-item__body {
  flex: 1;
  min-width: 0;
}
.co-addr-item__line {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}
.co-addr-item__sub {
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.co-addr-item__edit {
  flex-shrink: 0;
  background: none;
  border: none;
  font: inherit;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.co-addr-item__edit:hover {
  color: var(--purple);
}
.co-addr-add {
  width: 100%;
  margin-top: 22px;
  padding: 16px;
  background: transparent;
  border: 1px solid var(--border);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}
.co-addr-add:hover {
  border-color: var(--purple);
  color: var(--purple);
}
@media (max-width: 640px) {
  .co-edit__row--2,
  .co-edit__row--4 {
    grid-template-columns: 1fr 1fr;
  }
}
.delivery-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.delivery-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  width: 117px;
  height: 53px;
  padding: 6px 10px;
  border: 1px solid var(--purple);
  border-radius: 4px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  color: var(--text);
  background: #fff;
  transition: var(--transition);
}
.delivery-tab:hover {
  border-color: var(--purple);
  color: var(--purple);
}
.delivery-tab.is-active {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}
.delivery-tab__icon {
  width: auto;
  height: 18px;
  flex-shrink: 0;
}
.delivery-tab__icon--white {
  display: none;
}
.delivery-tab.is-active .delivery-tab__icon {
  display: none;
}
.delivery-tab.is-active .delivery-tab__icon--white {
  display: inline-block;
}
.delivery-tabs--display {
  margin-bottom: 0;
}
.delivery-map {
  height: 300px;
  background: #e0e0e0;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}
.delivery-points {
  max-height: 200px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.delivery-point {
  display: flex;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 13px;
  line-height: 1.4;
}
.delivery-point:hover {
  border-color: var(--purple);
}
.delivery-point.is-selected {
  border-color: var(--purple);
  background: #f9f6fc;
}
.delivery-point__radio {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--purple);
}
.delivery-panel {
  margin-top: 4px;
}
.delivery-service {
  margin: -6px 0 18px;
  font-size: 13px;
  color: var(--text);
}
.delivery-service__name {
  color: var(--muted);
}
.delivery-service__link {
  display: block;
  margin-top: 6px;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.delivery-service__link:hover {
  color: var(--purple);
}
.delivery-search {
  position: relative;
  margin-bottom: 16px;
}
.delivery-search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  opacity: 0.5;
}
.delivery-search__input {
  width: 100%;
  padding: 14px 16px 14px 40px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  outline: none;
}
.delivery-search__input:focus {
  border-color: var(--purple);
}
.delivery-point__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.delivery-point__addr {
  font-weight: 700;
  color: var(--text);
}
.delivery-point__meta {
  color: var(--muted);
}
.payment-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.payment-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
}
.payment-option input[type="radio"] {
  accent-color: var(--purple);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.payment-list--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}
.payment-list--display .payment-option {
  color: var(--muted);
  cursor: default;
}
.payment-list--display .payment-option input[type="radio"] {
  accent-color: var(--muted);
}
/* Промокод в оформлении заказа: поле с крестиком + чёрная кнопка снизу */
#view-checkout .promo__field {
  position: relative;
  display: block;
}
#view-checkout .promo__input {
  width: 100%;
  border: 1px solid var(--border);
  padding-right: 40px;
}
#view-checkout .promo__clear {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 16px;
  line-height: 1;
  color: var(--text);
  cursor: pointer;
}
.promo__btn--block {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 14px;
}
.confirm {
  text-align: center;
  padding: 80px 20px;
}
.confirm__title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.confirm__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 420px;
  margin-inline: auto;
}
.confirm__text em {
  color: var(--text);
  font-style: normal;
  font-weight: 600;
}
.confirm__btn {
  display: inline-block;
  padding: 16px 48px;
  background: var(--text);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.confirm__btn:hover {
  background: var(--purple);
}
.recently {
  padding: 48px 0 60px;
}
.recently__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.recently__title {
  font-size: 22px;
  font-weight: 700;
}
.recently__wrapper {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 16px;
}
.recently__arrow {
  font-size: 34px;
  line-height: 1;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text);
  transition: var(--transition);
  transform: translateY(calc(-78px / 2));
}
.recently__arrow:hover {
  color: var(--purple);
}
.recently__arrow:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}
.recently__track-wrap {
  overflow: hidden;
}
.recently__track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
  will-change: transform;
}
.recently__dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.recently__dots .slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #666;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: var(--transition);
}
.recently__dots .slider-dot.is-active {
  background: var(--purple);
  border-color: var(--purple);
}
@media (max-width: 992px) {
  .basket__layout {
    gap: 20px;
  }

  .basket__sidebar {
    flex: 0 0 260px;
  }

  .cart-item__specs {
    gap: 28px;
  }
  .cart-item__specs .spec__v {
    white-space: nowrap;
  }

  .cart-empty {
    flex-direction: column;
  }

  .cart-empty__side {
    width: 100%;
    flex: none;
  }

  .cart-empty {
    max-width: 420px;
    gap: 20px;
  }

  .cart-empty__main {
    padding: 40px 24px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  /* Checkout (tablet & below): pencil icon instead of "Редактировать" text */
  .checkout__edit-text {
    display: none;
  }
  .checkout__edit-icon {
    display: inline-block;
  }
  .checkout__edit {
    text-decoration: none;
  }
}

@media (max-width: 768px) {
  .basket__layout {
    flex-direction: column;
  }

  .basket__sidebar {
    width: 100%;
    flex: none;
    order: -1;
  }

  /* Cart view (per macet): items first, then promo, then summary */
  #view-cart .basket__layout > .basket__sidebar {
    order: 0;
  }
  #view-cart .basket__sidebar .promo {
    order: -1;
  }

  /* Checkout view (per macet): form sections first, then summary, then promo */
  #view-checkout .basket__sidebar {
    order: 0;
  }
  .checkout__head {
    gap: 16px;
    margin-bottom: 24px;
  }
}
@media (max-width: 640px) {
  .basket__title {
    font-size: 24px;
  }

  .cart-item {
    padding: 16px;
    gap: 16px;
  }

  .cart-item__main {
    gap: 14px;
  }

  .cart-item__img {
    width: 96px;
    height: 108px;
  }

  .cart-item__specs {
    flex-direction: column;
    gap: 8px;
  }

  .cart-item__actions {
    padding-left: 0;
    gap: 12px;
  }

  .cart-item__heart,
  .cart-item__qty {
    flex: 1;
  }

  .cart-qty {
    width: 100%;
    min-width: 0;
  }

  .cart-removed {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    gap: 18px;
  }

  .cart-removed__restore {
    padding: 12px 28px;
  }

  .cart-summary,
  .promo {
    padding: 18px;
  }

  .delivery-tabs {
    flex-direction: column;
    align-items: center;
  }

  .confirm__title {
    font-size: 28px;
  }

  .recently__wrapper {
    display: block;
  }
}
.basket__breadcrumbs span { color: var(--muted); }
.basket__breadcrumbs a { color: var(--text); transition: color var(--transition); }
.basket__breadcrumbs a:hover { color: var(--purple); }
.basket__breadcrumbs a + a::before,
    .basket__breadcrumbs a + span::before { content: " / "; margin: 0 2px; }
.cart-login-btn {
      width: 100%; padding: 16px; background: var(--text); color: #fff;
      font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
      text-transform: uppercase; cursor: pointer; border: none;
      margin-bottom: 16px; transition: var(--transition);
    }
.cart-login-btn:hover { background: var(--purple); }
.recently .product-card { flex: 0 0 calc((100% - 72px) / 4); min-width: 0; }
@media (max-width: 992px) {
      .form-grid { grid-template-columns: 1fr; }
      .recently .product-card { flex: 0 0 calc((100% - 24px) / 2); }
    }
@media (max-width: 768px) {
      .basket__layout { flex-direction: column; }
      .basket__sidebar { width: 100%; flex: none; order: -1; }
      .checkout__layout { flex-direction: column; }
      #view-checkout .basket__sidebar { width: 100%; flex: none; }
    }
@media (max-width: 640px) {
      .basket__title { font-size: 24px; }
      .cart-item__img { width: 96px; height: 108px; }
      .delivery-tabs { flex-direction: column; }
      .confirm__title { font-size: 28px; }
      .recently .product-card { flex: 0 0 calc((100% - 12px) / 2); }
    }

/* =========================================================
   PAGE: contactsPage
   ========================================================= */
.contacts {
      padding: 24px 0 80px;
    }
.contacts__breadcrumbs {
      font-size: 13px;
      color: var(--text);
      margin-bottom: 18px;
      text-align: center;
    }
.contacts__breadcrumbs span {
      color: var(--muted);
    }
.contacts__breadcrumbs a + a::before,
    .contacts__breadcrumbs a + span::before {
      content: " / ";
      color: var(--text);
      margin: 0 2px;
    }
.contacts__breadcrumbs a {
      color: var(--text);
      transition: color var(--transition);
    }
.contacts__breadcrumbs a:hover {
      color: var(--purple);
    }
.contacts__title {
      text-align: center;
      font-size: 38px;
      font-weight: 500;
      letter-spacing: 1px;
      margin-bottom: 40px;
    }
.contacts__stores {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      margin-bottom: 60px;
    }
.store {
      display: flex;
      flex-direction: column;
    }
.store__header {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      background: transparent;
      border: none;
      padding: 0 0 24px 0;
      cursor: default;
      pointer-events: none;
    }
.store__name {
      color: var(--purple);
      font-size: 22px;
      font-weight: 600;
      text-align: left;
    }
.store__toggle {
      display: none;
      font-size: 20px;
      color: var(--purple);
      transition: transform var(--transition);
    }
.store__body {
      display: flex;
      flex-direction: column;
      gap: 18px;
    }
.store__row {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      font-size: 14px;
      line-height: 1.5;
      color: var(--text);
    }
.store__row-icon {
      width: 16px;
      height: 20px;
      flex-shrink: 0;
      margin-top: 2px;
    }
.store__row-title {
      font-weight: 700;
      margin-bottom: 4px;
    }
.store__row-text {
      color: var(--text);
    }
.store__row-muted {
      color: var(--muted);
    }
.store__map {
      width: 100%;
      height: 475px;
      background: #e7e7e7;
      overflow: hidden;
      border-radius: 2px;
      position: relative;
    }
.store__map img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
.store__how-title {
      font-size: 14px;
      font-weight: 700;
      margin-bottom: 10px;
    }
.store__how-text {
      font-size: 13px;
      line-height: 1.6;
      color: var(--text);
      margin-bottom: 14px;
    }
.store__thumbs {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 8px;
    }
.store__thumbs img {
      width: 100%;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      background: #d8d8d8;
      filter: grayscale(1);
    }
.contacts__office {
      margin-bottom: 60px;
    }
.contacts__office-title {
      color: var(--purple);
      font-size: 22px;
      font-weight: 600;
      margin-bottom: 24px;
    }
.office__rows {
      display: grid;
      grid-template-columns: 1fr;
      gap: 8px;
      font-size: 14px;
      line-height: 1.7;
      margin-bottom: 24px;
    }
.office__row {
      display: flex;
      gap: 6px;
    }
.office__row b {
      font-weight: 700;
    }
.office__socials {
      justify-content: flex-start;
      margin-bottom: 32px;
    }
.office__socials .social {
      width: 30px;
      height: 30px;
    }
.office__socials .vertical-line {
      height: 30px;
    }
.office__block {
      margin-bottom: 22px;
      font-size: 14px;
      line-height: 1.65;
      color: var(--text);
    }
.office__block h3 {
      font-size: 14px;
      font-weight: 700;
      margin-bottom: 6px;
    }
.contacts__office-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      align-items: start;
      margin-bottom: 60px;
    }
.contacts__office {
      margin-bottom: 0;
    }
.contacts__office-delivery {
      min-width: 0;
    }
.contacts__bottom {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      align-items: start;
    }
.contacts__delivery {
      min-width: 0;
      padding-top: 8px;
    }
.contacts__form-section {
      min-width: 0;
      margin-left: -32px;
      background: #f3f3f3;
      padding: 36px 32px;
      border-radius: 2px;
    }
.contacts__form-title {
      color: var(--purple);
      font-size: 22px;
      font-weight: 600;
      margin-bottom: 22px;
    }
.contacts__form {
      display: flex;
      flex-direction: column;
      gap: 16px;
      max-width: 720px;
    }
.contacts__form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
.contacts__form input,
    .contacts__form textarea {
      width: 100%;
      padding: 14px 16px;
      border: 1px solid var(--border);
      background: #fff;
      font: inherit;
      font-size: 14px;
      color: var(--text);
      outline: none;
      transition: border-color var(--transition);
      border-radius: 2px;
    }
.contacts__form input:focus,
    .contacts__form textarea:focus {
      border-color: var(--purple);
    }
.contacts__form textarea {
      min-height: 130px;
      resize: vertical;
      font-family: inherit;
    }
.contacts__captcha {
      width: 304px;
      max-width: 100%;
      height: 78px;
      border: 1px solid var(--border);
      background: #fff;
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 0 16px;
      font-size: 13px;
      color: var(--text);
    }
.contacts__captcha-box {
      width: 24px;
      height: 24px;
      border: 2px solid #c0c0c0;
      background: #fff;
      flex-shrink: 0;
    }
.contacts__captcha-label {
      flex-grow: 1;
    }
.contacts__captcha-logo {
      font-size: 10px;
      color: var(--muted);
      text-align: right;
      line-height: 1.2;
    }
.contacts__form-btn {
      width: 100%;
      padding: 16px;
      background: var(--text);
      color: #fff;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      cursor: pointer;
      transition: background var(--transition);
      border-radius: 0;
    }
.contacts__form-btn:hover {
      background: var(--purple);
    }
@media (max-width: 1199px) {
      .contacts > .container {
        width: min(100% - 40px, 600px);
      }

      .contacts__stores {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 48px;
      }

      .store {
        border-bottom: 1px solid var(--border);
      }

      .store:first-child {
        border-top: 1px solid var(--border);
      }

      .store__header {
        padding: 22px 0;
        cursor: pointer;
        pointer-events: auto;
      }

      .store__toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
      }

      .store.is-open .store__toggle {
        transform: rotate(90deg);
      }

      .store__body {
        display: none;
        padding-bottom: 28px;
      }

      .store.is-open .store__body {
        display: flex;
      }

      .store__map {
        height: 320px;
      }

      .contacts__office-layout {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 40px;
      }

      .contacts__office {
        width: 100%;
      }

      .contacts__office-delivery {
        width: 100%;
      }

      .contacts__bottom {
        grid-template-columns: 1fr;
        gap: 32px;
      }

      .contacts__form-section {
        width: 100%;
        margin-left: 0;
      }

      .contacts__delivery {
        width: 100%;
      }
    }
@media (max-width: 640px) {
      .contacts {
        padding: 16px 0 60px;
      }

      .contacts__breadcrumbs {
        display: none;
      }

      .contacts__title {
        font-size: 24px;
        letter-spacing: 2px;
        text-transform: uppercase;
        margin-bottom: 16px;
      }

      .store__name {
        font-size: 18px;
      }

      .store__map {
        height: 200px;
      }

      .contacts__office-title,
      .contacts__form-title {
        font-size: 18px;
      }

      .contacts__form-section {
        padding: 24px 20px;
      }

      .contacts__form-row {
        grid-template-columns: 1fr;
      }
    }
.contacts__delivery-title {
      font-size: 16px;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 20px;
      line-height: 1.4;
    }
.contacts__cities-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 4px 12px;
      font-size: 13px;
      line-height: 1.8;
    }

/* ===== FAVORITES PAGE ===== */
.favorites { background: var(--bg, #fff); }
.favorites__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 60px 80px;
}
.favorites__empty {
  text-align: center;
  padding: 60px 20px 80px;
  max-width: 560px;
  margin: 0 auto;
}
.favorites__empty-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 24px;
  line-height: 1.4;
}
.favorites__empty-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.75;
  margin-bottom: 40px;
}
.favorites__empty-btn {
  display: inline-block;
  background: #1c1c3c;
  color: #fff;
  padding: 15px 52px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity .2s;
}
.favorites__empty-btn:hover { opacity: .8; }

/* Сетка избранного: 4/3/2/1 колонок */
.fav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
@media (max-width: 1200px) { .fav-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .fav-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 480px)  { .fav-grid { grid-template-columns: 1fr; gap: 16px; } }

/* Карточка избранного */
.fav-card {
  background: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  font-size: 13px;
}
.fav-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.15;
  background: #f3f3f3;
  overflow: hidden;
}
.fav-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fav-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: var(--purple, #5d2e8c);
  color: #fff;
  border-radius: 3px;
  z-index: 2;
}
.fav-card__badge--sale { background: #e84a8c; }
.fav-card__remove {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s;
  z-index: 2;
}
.fav-card__remove:hover { background: #fff; }
.fav-card__remove svg, .fav-card__remove img { width: 14px; height: 16px; color: #555; opacity: .75; }
.fav-card__remove:hover img, .fav-card__remove:hover svg { opacity: 1; }
.fav-card__body {
  padding: 12px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fav-card__name {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--text, #1d1d1d);
  margin: 0;
  min-height: 36px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fav-card__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--text, #1d1d1d);
}
.fav-card__price-old {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
  margin-right: 6px;
  font-weight: 400;
}
.fav-card__color, .fav-card__avail {
  font-size: 12px;
  color: #666;
}
.fav-card__select {
  position: relative;
  margin-top: 4px;
}
.fav-card__select-toggle {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--border, #d8d8d8);
  font-size: 13px;
  color: var(--text, #1d1d1d);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color .15s;
}
.fav-card__select-toggle:hover { border-color: #1d1d1d; }
.fav-card__select-toggle .arrow {
  width: 10px;
  height: 6px;
  transition: transform .15s;
  flex-shrink: 0;
}
.fav-card__select.is-open .fav-card__select-toggle .arrow { transform: rotate(180deg); }
.fav-card__select-panel {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--border, #d8d8d8);
  max-height: 220px;
  overflow-y: auto;
  z-index: 10;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  display: none;
}
.fav-card__select.is-open .fav-card__select-panel { display: block; }
.fav-card__select-option {
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
}
.fav-card__select-option:hover { background: #f3f3f3; }
.fav-card__select-option.is-selected { background: #f3f3f3; font-weight: 600; }
.fav-card__add {
  margin-top: 8px;
  width: 100%;
  height: 40px;
  background: #000;
  color: #fff;
  border: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity .15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.fav-card__add:hover { opacity: .85; }
.fav-card__add.is-added { background: #4a8a4a; }
.fav-card__add-icon {
  width: 14px;
  height: 18px;
  pointer-events: none;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

/* Карточка-плейсхолдер «Вы удалили этот товар» */
.fav-card--removed {
  background: #fff;
}
.fav-card--removed .fav-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.fav-card--removed .fav-card__image img { display: none; }
.fav-card__removed-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #555;
  text-align: center;
  margin: 0;
  padding: 24px 16px;
  line-height: 1.5;
}
.fav-card__faded {
  opacity: .25;
  pointer-events: none;
  user-select: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fav-card__undo {
  margin-top: 8px;
  width: 100%;
  height: 40px;
  background: #000;
  color: #fff;
  border: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity .15s;
}
.fav-card__undo:hover { opacity: .85; }
.fav-card__undo svg { width: 14px; height: 14px; }

/* Пагинация */
.fav-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 8px 0 0;
}
.fav-pagination__count {
  font-size: 13px;
  color: #666;
  margin: 0;
}
.fav-pagination__progress {
  width: min(360px, 90%);
  height: 3px;
  background: #e6e6e6;
  border-radius: 2px;
  overflow: hidden;
}
.fav-pagination__progress-bar {
  height: 100%;
  background: var(--purple, #5d2e8c);
  transition: width .25s;
}
.fav-pagination__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 720px;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.fav-pagination__load-more {
  background: #000;
  border: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 12px 36px;
  cursor: pointer;
  transition: opacity .15s;
}
.fav-pagination__load-more:hover { opacity: .85; }
.fav-pagination__pages {
  display: flex;
  gap: 6px;
  align-items: center;
}
.fav-pagination__page {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  background: transparent;
  border: 0;
  font-size: 14px;
  color: var(--text, #1d1d1d);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color .15s;
}
.fav-pagination__page:hover { color: var(--purple, #5d2e8c); }
.fav-pagination__page.is-active {
  font-weight: 700;
  color: var(--purple, #5d2e8c);
  position: relative;
}
.fav-pagination__page.is-active::after {
  content: '';
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 4px;
  height: 1px;
  background: var(--purple, #5d2e8c);
}
.fav-pagination__dots {
  padding: 0 4px;
  color: #999;
}

@media (max-width: 992px) {
  .favorites__inner { padding: 24px 20px 48px; }
}
@media (max-width: 576px) {
  .favorites__inner { padding: 16px 12px 32px; }
  .favorites__empty { padding: 40px 12px 60px; }
  .favorites__empty-title { font-size: 15px; }
}

/* ===== SEARCH PAGE ===== */
.catalog__title--empty {
  text-align: center;
  font-size: 22px;
  letter-spacing: 0.06em;
  margin: 24px 0 32px;
}
.search-empty {
  padding: 0 0 80px;
  text-align: center;
}
.search-empty__text {
  margin: 0 auto 56px;
  max-width: 640px;
  font-size: 14px;
  line-height: 1.6;
  color: #1c1c3c;
}
.search-empty__text b { font-weight: 700; }
.search-empty__heading {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 24px;
  text-transform: uppercase;
}
.search-empty__subheading {
  font-size: 14px;
  font-weight: 700;
  margin: 48px 0 16px;
}
.search-carousel {
  position: relative;
  margin: 0 auto 24px;
  max-width: 1280px;
  padding: 0 60px;
}
.search-carousel__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  min-height: 280px;
}
.search-carousel__slide {
  display: block;
  background: #f4f4f7;
  border-radius: 4px;
  text-decoration: none;
  color: #1c1c3c;
  overflow: hidden;
}
.search-carousel__img {
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ededed;
}
.search-carousel__img img { width: 50%; height: 50%; opacity: .4; }
.search-carousel__name {
  font-size: 13px;
  margin: 12px 8px 4px;
  min-height: 36px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-carousel__price {
  font-size: 14px;
  font-weight: 600;
  margin: 0 8px 12px;
}
.search-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 34px;
  color: var(--text);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}
.search-carousel__arrow:hover {
  color: var(--purple);
}
.search-carousel__arrow--prev { left: 0; }
.search-carousel__arrow--next { right: 0; }
@media (min-width: 993px) {
  .search-carousel__arrow { transform: translateY(calc(-50% - 53px)); }
}
.search-carousel__dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}
.search-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4d4dc;
  cursor: pointer;
}
.search-carousel__dot.is-active { background: #1c1c3c; }
.search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}
.search-chips__item {
  display: inline-block;
  background: #eaeaea;
  color: #1c1c3c;
  font-size: 13px;
  text-decoration: none;
  padding: 9px 28px;
  min-width: 160px;
  text-align: center;
  border-radius: 2px;
  transition: background .15s;
}
.search-chips__item:hover { background: #d8d8d8; }
@media (max-width: 576px) {
  .search-chips { flex-direction: column; align-items: center; gap: 8px; }
  .search-chips__item { min-width: 200px; }
}

@media (max-width: 992px) {
  .search-carousel__track { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .catalog__title--empty { font-size: 18px; padding: 0 20px; }
  .search-carousel { padding: 0 30px; }
  .search-carousel__track { grid-template-columns: 1fr; min-height: 320px; }
  .search-carousel__slide:nth-child(n+2) { display: none; }
}

/* ===== ADDED-TO-CART POPUP ===== */
.ac-popup {
  position: fixed;
  inset: 0;
  z-index: 1050;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s;
}
.ac-popup.is-open { opacity: 1; pointer-events: auto; }
.ac-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .3);
}
.ac-popup__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 100vw;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .25s;
}
.ac-popup.is-open .ac-popup__panel { transform: translateX(0); }
.ac-popup__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px 20px;
  background: #ededed;
  border-bottom: 1px solid #e0e0e0;
}
.ac-popup__title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
}
.ac-popup__cart-link {
  font-size: 12px;
  color: #5d2e8c;
  text-decoration: underline;
}
.ac-popup__close {
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  color: #555;
}
.ac-popup__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px 20px;
  font-size: 13px;
  line-height: 1.5;
}
.ac-popup__product {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #efefef;
}
.ac-popup__img {
  width: 80px;
  height: 100px;
  flex-shrink: 0;
  background: #ededed;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ac-popup__img img { width: 50%; opacity: .4; }
.ac-popup__info { flex: 1; }
.ac-popup__name { font-size: 13px; font-weight: 600; margin-bottom: 6px; line-height: 1.3; }
.ac-popup__price-row { margin-bottom: 8px; }
.ac-popup__price-old { text-decoration: line-through; color: #aaa; font-size: 12px; margin-right: 6px; }
.ac-popup__price-new { font-weight: 700; }
.ac-popup__params { list-style: none; padding: 0; margin: 0; font-size: 12px; }
.ac-popup__params li { padding: 2px 0; }
.ac-popup__params b { font-weight: 600; min-width: 90px; display: inline-block; }
.ac-popup__section { padding: 12px 0; border-bottom: 1px solid #efefef; }
.ac-popup__section-title { font-weight: 600; margin-bottom: 8px; font-size: 12px; color: #1c1c3c; }
.ac-popup__colors { display: flex; gap: 8px; }
.ac-popup__color {
  width: 50px;
  height: 60px;
  border: 1px solid #ddd;
  padding: 0;
  cursor: pointer;
  background: #ededed;
}
.ac-popup__color.is-active { border-color: #1c1c3c; }
.ac-popup__color img { width: 100%; height: 100%; object-fit: contain; opacity: .5; }
.ac-popup__avail { margin: 4px 0; font-size: 12px; }
.ac-popup__avail b { font-weight: 600; }
.ac-popup__description { font-size: 12px; line-height: 1.55; margin: 14px 0 12px; }
.ac-popup__specs { list-style: none; padding: 0; margin: 0; font-size: 12px; }
.ac-popup__specs li { padding: 2px 0; }
.ac-popup__specs b { font-weight: 600; }
.ac-popup__actions {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.ac-popup__btn {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid #1c1c3c;
  cursor: pointer;
  letter-spacing: 0.04em;
}
.ac-popup__btn--ghost { background: #fff; color: #1c1c3c; }
.ac-popup__btn--dark { background: #1c1c3c; color: #fff; }

@media (max-width: 576px) {
  .ac-popup__panel { width: 100vw; }
}

/* ===== LIGHTBOX ===== */
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: #fff;
  display: none;
  flex-direction: column;
}
.lb-overlay.is-open { display: flex; }
.lb-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: transparent;
  border: none;
  font-size: 36px;
  cursor: pointer;
  z-index: 2;
  color: #1c1c3c;
  line-height: 1;
}
.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 56px;
  color: #1c1c3c;
  cursor: pointer;
  z-index: 2;
  width: 60px;
  height: 60px;
  line-height: 1;
}
.lb-arrow--prev { left: 16px; }
.lb-arrow--next { right: 16px; }
.lb-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 80px;
}
.lb-img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
  background: #ededed;
}
.lb-dots {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 0 0 32px;
}
.lb-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #c0c0c0;
  cursor: pointer;
}
.lb-dot.is-active { background: #1c1c3c; border-color: #1c1c3c; }

@media (max-width: 576px) {
  .lb-stage { padding: 20px 12px; }
  .lb-arrow { display: none; }
  .lb-close { top: 10px; right: 12px; }
}

/* ===== SHIPPING & PAYMENT DRAWER ===== */
.sp-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s;
}
.sp-drawer.is-open { opacity: 1; pointer-events: auto; }
.sp-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .3);
}
.sp-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 480px;
  max-width: 100vw;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .25s;
}
.sp-drawer.is-open .sp-drawer__panel { transform: translateX(0); }
.sp-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  background: #e9e0ef;
  flex-shrink: 0;
}
.sp-drawer__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sp-drawer__close {
  background: transparent;
  border: none;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}
.sp-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px 40px;
  font-size: 13px;
  line-height: 1.55;
  color: #1c1c3c;
}
.sp-options { list-style: none; padding: 0; margin: 0 0 24px; }
.sp-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #efefef;
}
.sp-option p { margin: 0; }
.sp-option__icon { font-size: 18px; line-height: 1.2; flex-shrink: 0; }
.sp-block { padding: 16px 0; }
.sp-block--accent p:first-child { font-weight: 600; margin: 0 0 8px; }
.sp-h3 {
  margin: 24px 0 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
}
.sp-h4 {
  margin: 16px 0 8px;
  font-size: 13px;
  font-weight: 700;
}
.sp-p { margin: 0 0 12px; }

@media (max-width: 576px) {
  .sp-drawer__panel { width: 100vw; }
  .sp-drawer__header { padding: 16px 16px; }
  .sp-drawer__body { padding: 16px; }
}

/* ===== REVIEWS DRAWER ===== */
.rv-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s;
}
.rv-drawer.is-open { opacity: 1; pointer-events: auto; }
.rv-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .3);
}
.rv-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 480px;
  max-width: 100vw;
  background: #e9e0ef;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .25s;
}
.rv-drawer.is-open .rv-drawer__panel { transform: translateX(0); }
.rv-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  flex-shrink: 0;
}
.rv-drawer__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.rv-drawer__close {
  background: transparent;
  border: none;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  color: #1c1c3c;
  padding: 0 4px;
}
.rv-drawer__view {
  flex: 1;
  overflow-y: auto;
  padding: 0 24px 24px;
  background: #fff;
}
.rv-drawer__cta {
  display: block;
  width: calc(100% - 48px);
  margin: 16px 24px 24px;
  padding: 14px;
  background: #1c1c3c;
  color: #fff;
  border: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  font-size: 13px;
}
.rv-drawer__cta.is-disabled,
.rv-drawer__cta:disabled {
  background: #aaa;
  cursor: not-allowed;
}
.rv-drawer__login-note {
  margin: 0 24px 16px;
  text-align: center;
  font-size: 12px;
  color: #777;
}
.rv-drawer__login-note a { color: #5d2e8c; text-decoration: underline; }

.rv-list { padding: 24px 0; }
.rv-list__empty {
  padding: 40px 24px;
  text-align: center;
  color: #888;
  font-size: 14px;
}
.rv-item { padding: 0 0 32px; }
.rv-item__stars { font-size: 16px; letter-spacing: 4px; color: #1c1c3c; margin-bottom: 12px; }
.rv-star { color: #d0d0d0; }
.rv-star.is-on { color: #1c1c3c; }
.rv-item__name { font-weight: 700; letter-spacing: .04em; margin-bottom: 8px; font-size: 13px; text-transform: uppercase; }
.rv-item__text { font-size: 13px; line-height: 1.5; margin: 0 0 10px; color: #1c1c3c; }
.rv-item__feedback { display: flex; gap: 18px; font-size: 13px; align-items: center; }
.rv-feedback { display: inline-flex; align-items: center; gap: 6px; }
.rv-feedback__icon { width: 14px; height: 14px; display: block; }
.rv-feedback__count { color: #1c1c3c; }
.rv-feedback--up .rv-feedback__count { color: #4EAA09; }
.rv-feedback--down .rv-feedback__count { color: #EF4823; }

.rv-form { padding: 16px 0; }
.rv-form__stars {
  display: flex;
  gap: 12px;
  margin: 8px 0 24px;
}
.rv-form__star {
  background: transparent;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #d0d0d0;
  padding: 0;
  line-height: 1;
}
.rv-form__star.is-on { color: #1c1c3c; }
.rv-form__textarea {
  width: 100%;
  min-height: 220px;
  resize: vertical;
  padding: 14px;
  font-size: 13px;
  border: 1px solid #d8d8d8;
  border-radius: 2px;
  font-family: inherit;
  outline: none;
}
.rv-form__textarea:focus { border-color: #5d2e8c; }
.rv-form__counter { text-align: right; font-size: 12px; color: #888; margin: 4px 0 16px; }
.rv-form__captcha { margin: 8px 0 16px; }
.rv-captcha {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  cursor: pointer;
  user-select: none;
}
.rv-captcha input { display: none; }
.rv-captcha__box {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2px solid #c0c0c0;
  border-radius: 2px;
  background: #fff;
  flex-shrink: 0;
  position: relative;
}
.rv-captcha input:checked + .rv-captcha__box::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4caf50;
  font-size: 18px;
  font-weight: bold;
}
.rv-captcha__label { font-size: 14px; flex: 1; }
.rv-captcha__brand {
  font-size: 10px;
  color: #888;
  text-align: right;
  line-height: 1.3;
}
.rv-captcha__brand small { font-size: 9px; }
.rv-form__error {
  background: #fde7ee;
  color: #c0395d;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.rv-form__submit {
  display: block;
  width: 100%;
  padding: 16px;
  background: #1c1c3c;
  color: #fff;
  border: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  font-size: 13px;
}

@media (max-width: 576px) {
  .rv-drawer__panel { width: 100vw; }
  .rv-drawer__header { padding: 16px 16px; }
  .rv-drawer__view { padding: 0 16px 16px; }
  .rv-drawer__cta { margin: 16px 16px 16px; width: calc(100% - 32px); }
}

/* ===== QUICK ORDER PAGE ===== */
.quick-order { padding: 0 0 60px; }
.quick-order__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 32px 40px;
}
@media (max-width: 992px) {
  .quick-order__inner { padding: 16px 24px 32px; }
}
@media (max-width: 576px) {
  .quick-order__inner { padding: 12px 16px 24px; }
}

/* Top filters row */
.qo-filters {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 16px 0 20px;
  border-bottom: 1px solid #e9e9ef;
  margin-bottom: 24px;
}
.qo-filters__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000;
  cursor: pointer;
}
.qo-filters__chip svg { color: #000; transition: transform 0.2s; }
.qo-filters__chip-icon { width: 14px; height: 12px; }
.filter-ico-img { width: 14px; height: 12px; margin-left: 4px; vertical-align: middle; }
.qo-filters__dropdown { position: relative; }
.qo-filters__dropdown.is-open .qo-filters__chip svg { transform: rotate(180deg); }
.qo-filters__dropdown .filter-dropdown__panel { left: 0; min-width: 200px; }
.qo-filters__check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000;
  cursor: pointer;
  user-select: none;
}
.qo-filters__check input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.qo-filters__check-box {
  width: 12px;
  height: 12px;
  border: 1px solid #000;
  background: #fff;
  position: relative;
  flex-shrink: 0;
}
.qo-filters__check input:checked + .qo-filters__check-box::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  right: 2px;
  bottom: 2px;
  background: #000;
}
.qo-filters__count {
  margin-left: auto;
  font-size: 13px;
  color: #777;
}
@media (max-width: 576px) {
  .qo-filters {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 0;
  }
  .qo-filters__chip { justify-content: center; }
  .qo-filters__check { justify-content: center; }
  .qo-filters__count { margin-left: 0; text-align: center; }
}

/* Search field */
.qo-search {
  display: flex;
  gap: 0;
  margin: 0 auto 24px;
  border: 1px solid #e6e6ee;
  border-radius: 2px;
  overflow: hidden;
  width: 100%;
  max-width: 788px;
}
.qo-search__field {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: #fff;
}
.qo-search__icon {
  color: #c5c5d3;
  margin-right: 12px;
  flex-shrink: 0;
}
.qo-search__input {
  flex: 1 1 auto;
  width: 100%;
  border: none;
  outline: none;
  height: 48px;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #000;
  background: transparent;
}
.qo-search__input::placeholder { color: #b8b8c4; letter-spacing: 0.06em; }
.qo-search__clear {
  background: none;
  border: none;
  font-size: 22px;
  color: #999;
  cursor: pointer;
  padding: 0 8px;
}
.qo-search__btn {
  flex: 0 0 274px;
  height: 48px;
  background: #000;
  color: #fff;
  border: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s;
}
.qo-search__btn:hover { opacity: 0.85; }
@media (max-width: 768px) {
  .qo-search__btn { flex: 0 0 140px; }
}
@media (max-width: 576px) {
  .qo-search { flex-direction: column; border: none; }
  .qo-search__field {
    border: 1px solid #e6e6ee;
    border-radius: 2px;
    margin-bottom: 12px;
  }
  .qo-search__btn {
    flex: 1 1 auto;
    height: 48px;
    border-radius: 2px;
  }
}

/* Product list */
.qo-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
}
.qo-card {
  display: grid;
  grid-template-columns: 100px 1fr 280px auto;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #000;
}
.qo-card:last-child { border-bottom: 1px solid #000; }

.qo-card__media {
  position: relative;
  width: 100px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.qo-card__media-img {
  width: 100%;
  height: 100px;
  background: #f8f8fc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.qo-card__media-img img { max-width: 80%; max-height: 80%; object-fit: contain; }
.qo-card__badge {
  display: block;
  width: 100%;
  height: 25px;
  line-height: 25px;
  padding: 0;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #000;
  text-align: center;
}
.qo-card__badge--sale { background: #93DDCE; }
.qo-card__badge--online { background: #DD94CA; }
.qo-card__badge--new { background: #A6D682; }
.qo-card__badge--out { background: #C4C4C4; }

.qo-card__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.qo-card__name {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #000;
  line-height: 1.4;
}
.qo-card__meta {
  font-size: 12px;
  color: #777;
}
.qo-card__price-row {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin-top: 4px;
}
.qo-card__old {
  font-size: 12px;
  color: #b8b8c4;
  text-decoration: line-through;
}
.qo-card__price {
  font-size: 14px;
  font-weight: 700;
  color: #000;
}
.qo-card__sizes {
  font-size: 12px;
  color: #777;
  margin-top: 4px;
}

.qo-card__controls {
  display: flex;
  gap: 12px;
  align-items: center;
}

.qo-select {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}
.qo-select__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 12px;
  background: #fff;
  border: 1px solid #d8d8e4;
  border-radius: 2px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  color: #000;
  cursor: pointer;
  transition: border-color 0.15s;
}
.qo-select__toggle svg { color: #000; }
.qo-select.is-open .qo-select__toggle { border-color: #000; }
.qo-select__panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 30;
  background: #fff;
  border: 1px solid #d8d8e4;
  max-height: 240px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.qo-select.is-open .qo-select__panel { display: block; }
.qo-select__option {
  padding: 10px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.1s;
}
.qo-select__option:hover { background: #f5f5f5; }
.qo-select__option.is-selected { background: #f0f0f0; color: #000; font-weight: 600; }

.qo-card__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.qo-card__like {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
}
.qo-card__like img { width: 22px; height: 22px; }
.qo-card__add {
  width: 127px;
  height: 44px;
  background: #000;
  color: #fff;
  border: none;
  padding: 0;
  font-family: inherit;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.qo-card__add:hover { opacity: 0.85; }
.qo-card__add.is-added { background: #4a8a4a; }

@media (max-width: 992px) {
  .qo-card {
    grid-template-columns: 100px 1fr 220px;
    grid-template-rows: auto auto;
    gap: 16px;
  }
  .qo-card__actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}
@media (max-width: 576px) {
  .qo-card {
    grid-template-columns: 90px 1fr;
    grid-template-rows: auto auto auto;
    gap: 12px;
    padding: 16px 0;
  }
  .qo-card__media { width: 90px; height: 100px; }
  .qo-card__controls {
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 8px;
  }
  .qo-card__actions {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
  }
  .qo-card__add { flex: 1 1 auto; padding: 14px 20px; }
}

/* Empty state */
.qo-empty {
  text-align: center;
  padding: 60px 20px;
}
.qo-empty__title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #000;
  margin: 0 0 12px;
}
.qo-empty__desc {
  font-size: 14px;
  color: #777;
  margin: 0 0 24px;
}
.qo-empty__btn {
  display: inline-block;
  padding: 14px 32px;
  background: #000;
  color: #fff;
  border: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Pagination variant: load-more first, pages second */
.qo-pagination .fav-pagination__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.qo-pagination .fav-pagination__load-more {
  width: 149px;
  height: 31px;
  background: #000;
  color: #fff;
  padding: 0;
  border: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s;
}
.qo-pagination .fav-pagination__load-more:hover { opacity: 0.85; }

/* ===== PERSONAL ACCOUNT PAGE ===== */
.account { padding: 0 0 60px; background: #fff; }
.account__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 32px 40px;
}
.account__layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  margin-top: 24px;
}

.account-sidebar { display: flex; flex-direction: column; gap: 24px; }
.account-sidebar__hello { padding: 0 4px; }
.account-sidebar__greeting {
  margin: 0 0 8px;
  font-size: 14px;
  color: #1c1c3c;
}
.account-sidebar__name {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: #61327c;
}
.account-sidebar__points {
  margin: 0;
  font-size: 14px;
  color: #1c1c3c;
}

.account-menu {
  display: flex;
  flex-direction: column;
}
.account-menu__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid #000;
  font-size: 13px;
  color: #1c1c3c;
  text-decoration: none;
  transition: color 0.15s;
}
.account-menu__item:hover { color: #7a48d9; }
.account-menu__arrow { font-size: 18px; color: #1c1c3c; line-height: 1; }
.account-menu__item--logout { color: #1c1c3c; }

/* Banners */
.account-banners__viewport {
  overflow: visible;
}
.account-banners__track {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.account-banners__dots { display: none; }

.account-banner {
  display: flex;
  flex-direction: column;
  width: 257px;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.account-banner__media {
  position: relative;
  width: 257px;
  height: 173px;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
}
.account-banner__media--text { color: #fff; }
.account-banner__hero {
  font-size: 56px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.account-banner__hero--md { font-size: 32px; letter-spacing: 0.04em; }
.account-banner__body { padding: 16px 16px 20px; text-align: center; }
.account-banner__title {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 400;
  color: #1c1c3c;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.account-banner__subtitle {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: #1c1c3c;
}
.account-banner__more {
  display: inline-block;
  font-size: 12px;
  color: #888;
  text-decoration: none;
}

@media (max-width: 992px) {
  .account__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .account-banners,
  .account-banners__viewport {
    min-width: 0;
  }
}
/* Tablet — carousel */
@media (min-width: 577px) and (max-width: 992px) {
  .account-banners__viewport { overflow: hidden; }
  .account-banners__track {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    transition: transform 0.4s ease;
    will-change: transform;
  }
  .account-banners__track > .account-banner {
    flex: 0 0 calc((100% - 2 * 16px) / 3);
    width: auto;
    min-width: 0;
  }
  .account-banners__track > .account-banner .account-banner__media {
    width: 100%;
    height: auto;
    aspect-ratio: 257 / 173;
  }
  .account-banners__dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
  }
  .account-banners__dots .slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #666;
    background: transparent;
    padding: 0;
    cursor: pointer;
  }
  .account-banners__dots .slider-dot.is-active {
    background: var(--purple, #7a48d9);
    border-color: var(--purple, #7a48d9);
  }
}
@media (max-width: 576px) {
  .account__inner { padding: 12px 16px 24px; }
  .account-banners__track { flex-direction: column; }
  .account-banners__track > .account-banner { width: 100%; }
  .account-banners__track > .account-banner .account-banner__media {
    width: 100%;
    height: auto;
    aspect-ratio: 257 / 173;
  }
}

/* ===== ORDERS & RETURNS PAGE ===== */
.orders-page { padding: 0 0 60px; background: #f4f4f6; }
.orders-page__inner {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 20px 40px;
}
.orders-page .catalog__breadcrumbs {
  justify-content: center;
  font-size: 13px;
  color: #1c1c3c;
}
.orders-page__head {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  margin: 16px 0 24px;
}
.orders-page__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 4px;
  background: #6e2e96;
  color: #fff;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  transition: background 0.15s;
}
.orders-page__back > span { display: inline-block; transform: translateY(-2px); }
.orders-page__back:hover { background: #5d2680; }
.orders-page__title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #1c1c3c;
  text-align: center;
}

.orders-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 32px;
}
.orders-tabs__tab {
  padding: 14px 8px;
  background: transparent;
  border: none;
  border-bottom: 2px solid #c5c5cf;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1c1c3c;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.orders-tabs__tab.is-active {
  color: #1c1c3c;
  border-bottom: 3px solid #6e2e96;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.orders-list__empty {
  text-align: center;
  color: #777;
  padding: 40px 20px;
  font-size: 14px;
}

.orders-card {
  display: grid;
  width: 680px;
  height: 137px;
  max-width: 100%;
  grid-template-columns: 170px 110px 1fr auto 24px;
  grid-template-rows: auto auto;
  grid-template-areas:
    "id     sum    .      status chev"
    "thumbs thumbs thumbs status chev";
  column-gap: 24px;
  row-gap: 14px;
  align-items: start;
  padding: 18px 22px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s;
  box-sizing: border-box;
}
.orders-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }

.orders-card__id { grid-area: id; }
.orders-card__sum { grid-area: sum; }
.orders-card__thumbs { grid-area: thumbs; }
.orders-card__status { grid-area: status; align-self: center; }
.orders-card__chevron { grid-area: chev; align-self: center; }

.orders-card__num {
  font-weight: 700;
  font-size: 14px;
  color: #6e2e96;
  white-space: nowrap;
}
.orders-card__date { font-size: 13px; color: #1c1c3c; margin-top: 6px; }
.orders-card__price { font-weight: 700; font-size: 14px; color: #1c1c3c; white-space: nowrap; }
.orders-card__count { font-size: 13px; color: #1c1c3c; margin-top: 6px; }

.orders-card__thumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  overflow: hidden;
}
.orders-card__thumb {
  width: 42px;
  height: 42px;
  background: #fff;
  border: 1px solid #d8d8de;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
}
.orders-card__thumb img { max-width: 80%; max-height: 80%; object-fit: contain; }

.orders-card__status {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 13px;
  color: #1c1c3c;
  line-height: 1.4;
  text-align: center;
}
.orders-card__status > span { display: block; }
.orders-card__chevron {
  font-size: 22px;
  color: #6e2e96;
  text-align: center;
  font-weight: 400;
}

@media (max-width: 992px) {
  .orders-page .catalog__breadcrumbs { display: none; }
}
@media (max-width: 576px) {
  .orders-page__inner { padding: 12px 16px 24px; }
  .orders-page__head {
    grid-template-columns: 48px 1fr 48px;
    margin: 8px 0 20px;
  }
  .orders-page__title { font-size: 22px; line-height: 1.15; }
  .orders-page__back { width: 40px; height: 40px; font-size: 24px; }
  .orders-tabs { margin-bottom: 24px; }

  .orders-card {
    width: 100%;
    height: auto;
    grid-template-columns: 1fr 24px;
    grid-template-rows: auto;
    grid-template-areas:
      "id      chev"
      "sum     ."
      "status  ."
      "thumbs  thumbs";
    row-gap: 12px;
    column-gap: 12px;
    padding: 20px 18px;
  }
  .orders-card__sum { grid-area: sum; }
  .orders-card__price { font-size: 16px; }
  .orders-card__count { margin-top: 4px; }
  .orders-card__status {
    align-self: start;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 4px;
    text-align: left;
  }
  .orders-card__thumbs { margin-top: 4px; }
  .orders-card__chevron { align-self: start; }
  .orders-card__num { font-size: 16px; }
  .orders-card__date { font-size: 14px; margin-top: 4px; }
}

/* ===== ORDER DETAIL PAGE ===== */
.order-detail { padding: 0 0 60px; background: #f4f4f6; }
.order-detail__inner {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 16px 20px 40px;
}
.od-card {
  background: #fff;
  border-radius: 4px;
  padding: 24px 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  margin-bottom: 24px;
}
.od-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 4px;
  margin-bottom: 18px;
}
.od-card__num { font-size: 16px; font-weight: 700; color: #1c1c3c; }
.od-card__date { font-size: 13px; color: #1c1c3c; margin-top: 4px; }
.od-card__total { text-align: right; }
.od-card__price { display: block; font-size: 16px; font-weight: 700; color: #1c1c3c; }
.od-card__count { display: block; font-size: 13px; color: #1c1c3c; margin-top: 4px; }

.od-info {
  padding: 4px 0 20px;
  border-bottom: 1px solid #e9e9ef;
}
.od-info__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  padding: 8px 0;
  gap: 24px;
  align-items: center;
}
.od-info__label { font-size: 13px; color: #777; }
.od-info__value { font-size: 13px; color: #1c1c3c; font-weight: 500; }
.od-info__track {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.od-info__pay {
  background: transparent;
  color: #1c1c3c;
  border: 1px solid #1c1c3c;
  padding: 10px 22px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.od-info__pay:hover { background: #1c1c3c; color: #fff; }

.od-timeline {
  list-style: none;
  padding: 20px 0;
  margin: 0;
  border-bottom: 1px solid #e9e9ef;
}
.od-timeline__item {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: #777;
  font-size: 13px;
}
.od-timeline__dot {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #c5c5cf;
  background: #c5c5cf;
  position: relative;
}
.od-timeline__dot::after {
  content: '';
  position: absolute;
  left: 5px; top: 2px;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.od-timeline__item.is-done .od-timeline__dot {
  background: #4ec78c;
  border-color: #4ec78c;
}
.od-timeline__item.is-done .od-timeline__text { color: #1c1c3c; font-weight: 500; }
.od-timeline__date { font-size: 12px; color: #999; }

.od-section__title {
  margin: 24px 0 16px;
  font-size: 15px;
  font-weight: 700;
  color: #1c1c3c;
}

.od-items { display: flex; flex-direction: column; gap: 16px; }
.od-item {
  display: grid;
  grid-template-columns: 96px 1fr 160px;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f5;
  align-items: start;
}
.od-item:last-child { border-bottom: none; }
.od-item__media {
  width: 96px;
  height: 106px;
  background: #fff;
  border: 1px solid #1c1c3c;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}
.od-item__media img { max-width: 80%; max-height: 80%; object-fit: contain; }
.od-item__name { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: #1c1c3c; }
.od-item__price { font-size: 13px; font-weight: 700; color: #1c1c3c; margin-bottom: 10px; }
.od-item__props {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.od-item__props > div { display: flex; gap: 6px; font-size: 12px; color: #777; }
.od-item__props dt { margin: 0; }
.od-item__props dd { margin: 0; color: #1c1c3c; }
.od-item__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.od-item__btn {
  background: #fff;
  color: #1c1c3c;
  border: 1px solid #d8d8de;
  padding: 11px 16px;
  font-family: inherit;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.od-item__btn:hover { background: #1c1c3c; color: #fff; border-color: #1c1c3c; }
.od-item__btn.is-added { background: #4ec78c; color: #fff; border-color: #4ec78c; }
.od-item__btn--ghost {
  background: #fff;
  color: #1c1c3c;
  border: 1px solid #d8d8de;
}
.od-item__btn--ghost:hover { background: #1c1c3c; color: #fff; border-color: #1c1c3c; }

.od-actions {
  display: flex;
  gap: 16px;
  margin: 0 0 24px;
  justify-content: center;
  flex-wrap: wrap;
  background: transparent;
}
.od-actions__btn {
  flex: 1 1 260px;
  max-width: 300px;
  background: #000;
  color: #fff;
  border: none;
  padding: 16px 24px;
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.2s;
}
.od-actions__btn:hover { background: #222; }
.od-actions__btn--ghost {
  background: #000;
  color: #fff;
  border: 1px solid #000;
}
.od-actions__btn--ghost:hover { background: #222; color: #fff; }

.od-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 22px 28px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  margin-bottom: 16px;
}
.od-summary__title { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: #1c1c3c; }
.od-summary__text { margin: 0; font-size: 13px; color: #1c1c3c; line-height: 1.6; }

.od-totals {
  padding: 18px 28px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.od-totals__row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
  color: #1c1c3c;
}
.od-totals__row--final {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid #e9e9ef;
  font-size: 15px;
  font-weight: 700;
  color: #1c1c3c;
}
.od-totals__free { color: #4ec78c; font-weight: 600; }

@media (max-width: 768px) {
  .od-card { padding: 20px 18px; }
  .od-info__row { grid-template-columns: 1fr; gap: 4px; }
  .od-item { grid-template-columns: 90px 1fr; }
  .od-item__actions { grid-column: 1 / -1; flex-direction: row; }
  .od-item__btn { flex: 1 1 0; padding: 12px 8px; }
  .od-summary { grid-template-columns: 1fr; padding: 20px 18px; }
  .od-totals { padding: 16px 18px; }
  .od-card__header { flex-direction: column; gap: 12px; align-items: flex-start; padding: 0; }
  .od-card__total { text-align: left; }
}
@media (max-width: 576px) {
  .order-detail__inner { padding: 12px 16px 24px; }
  .od-actions__btn { flex: 1 1 100%; max-width: 100%; }
}

/* ===== SETTINGS PAGE ===== */
.settings { padding: 0 0 60px; background: #f4f4f6; }
.settings__inner {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 16px 20px 40px;
}
.settings__lead {
  margin: 0 0 24px;
  font-size: 13px;
  color: #777;
  text-align: center;
}

.settings-section {
  background: #fff;
  border-radius: 4px;
  padding: 24px 28px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.settings-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.settings-section__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #1c1c3c;
}
.settings-section__edit {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 12px;
  color: #1c1c3c;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
}
.settings-section__edit:hover { color: #5e3a8a; }
.settings-section__edit-icon { display: none; width: 18px; height: 18px; }

.settings-field {
  padding: 8px 0;
}
.settings-field__label {
  font-size: 13px;
  font-weight: 600;
  color: #1c1c3c;
  margin-bottom: 4px;
}
.settings-field__value {
  font-size: 13px;
  color: #1c1c3c;
  line-height: 1.55;
}
.settings-field__value--muted { color: #b0b0b8; }

.settings-field--email .settings-field__email {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.settings-field__email-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.settings-field--email .settings-field__action { margin-left: 34px; }

.settings-field__action {
  display: inline-block;
  padding: 10px 18px;
  background: transparent;
  color: #1c1c3c;
  border: 1px solid #1c1c3c;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.settings-field__action:hover { background: #1c1c3c; color: #fff; }

.settings-sub {
  padding: 8px 0;
  font-size: 13px;
  color: #1c1c3c;
}

.settings-link {
  padding: 8px 0;
  font-size: 13px;
  color: #1c1c3c;
  cursor: pointer;
}
.settings-link:hover { color: #7a48d9; }

/* Forms */
.settings-form { display: flex; flex-direction: column; gap: 14px; }
.settings-form__field { display: flex; flex-direction: column; }
.settings-form__label {
  font-size: 13px;
  font-weight: 600;
  color: #1c1c3c;
  margin-bottom: 6px;
}
.settings-form__control {
  position: relative;
  display: block;
}
.settings-form__input {
  width: 100%;
  padding: 12px 36px 12px 14px;
  border: 1px solid #1c1c3c;
  border-radius: 0;
  font-family: inherit;
  font-size: 13px;
  color: #1c1c3c;
  background: #fff;
  outline: none;
  text-align: center;
  transition: border-color 0.15s;
  box-sizing: border-box;
}
textarea.settings-form__input {
  text-align: left;
  min-height: 90px;
  resize: vertical;
}
.settings-form__input:focus { border-color: #1c1c3c; }
.settings-form__input.is-error { border-color: #e84a8c; color: #e84a8c; }

select.settings-form__input {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #1c1c3c 50%), linear-gradient(135deg, #1c1c3c 50%, transparent 50%);
  background-position: calc(100% - 18px) center, calc(100% - 12px) center;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.settings-form__control--valid::after,
.settings-form__control--error::after {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  pointer-events: none;
  display: block;
}
.settings-form__control--valid::after {
  content: '';
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8.5l3 3 7-7' stroke='%234ec78c' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
}
.settings-form__control--error::after {
  content: '';
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 3l10 10M13 3L3 13' stroke='%23e84a8c' stroke-width='2' stroke-linecap='round'/></svg>") no-repeat center / contain;
}
.settings-form__control--select::after { right: 32px; }

.settings-form__error {
  display: none;
  margin-top: 6px;
  font-size: 12px;
  color: #e84a8c;
}
.settings-form__error.is-visible { display: block; }

.settings-form__row {
  display: grid;
  gap: 14px;
}
.settings-form__row--2 { grid-template-columns: 1fr 1fr; }
.settings-form__row--4 { grid-template-columns: repeat(4, 1fr); }

.settings-form__radio-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.settings-form__radio-title {
  font-size: 13px;
  color: #1c1c3c;
  margin-bottom: 4px;
}
.settings-form__radio {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #1c1c3c;
  padding: 4px 0;
  cursor: pointer;
}
.settings-form__radio input { position: absolute; opacity: 0; pointer-events: none; }
.settings-form__radio-box {
  display: inline-block;
  width: 18px; height: 18px;
  border: 1px solid #1c1c3c;
  background: #fff;
  flex: 0 0 18px;
  position: relative;
}
.settings-form__radio input:checked + .settings-form__radio-box {
  background: #1c1c3c;
}
.settings-form__radio input:checked + .settings-form__radio-box::after {
  content: '';
  position: absolute;
  left: 3px; top: 6px;
  width: 10px; height: 5px;
  border: solid #fff;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}

.settings-form__checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #1c1c3c;
  padding: 6px 0;
  cursor: pointer;
}
.settings-form__checkbox input { width: 16px; height: 16px; accent-color: #1c1c3c; }

.settings-form__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
.settings-form__submit {
  background: #000;
  color: #fff;
  border: none;
  padding: 16px 24px;
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.2s;
}
.settings-form__submit:hover { background: #222; }
.settings-form__cancel {
  background: transparent;
  color: #1c1c3c;
  border: 1px solid #d8d8e4;
  padding: 16px 24px;
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s;
}
.settings-form__cancel:hover { background: #f4f0fa; border-color: #1c1c3c; }

/* Saved address list (under address form, when editing) */
.settings-address-saved {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.settings-address-saved__item { display: flex; flex-direction: column; gap: 4px; }
.settings-address-saved__head {
  display: flex; justify-content: space-between; align-items: flex-start;
}
.settings-address-saved__label {
  font-size: 13px; font-weight: 600; color: #1c1c3c;
}
.settings-address-saved__edit {
  background: none; border: none; padding: 0;
  font-family: inherit; font-size: 12px;
  color: #1c1c3c; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.settings-address-saved__text {
  font-size: 13px; color: #1c1c3c; line-height: 1.55;
}
.settings-address-saved__add {
  margin-top: 8px;
  background: transparent; color: #1c1c3c;
  border: 1px solid #1c1c3c;
  padding: 14px 24px;
  font-family: inherit; font-weight: 600;
  font-size: 12px; letter-spacing: 0.06em;
  cursor: pointer; text-transform: uppercase;
  align-self: center; min-width: 240px;
  transition: background 0.2s, color 0.2s;
}
.settings-address-saved__add:hover { background: #1c1c3c; color: #fff; }

.settings-form__danger {
  background: transparent;
  color: #1c1c3c;
  border: 1px solid #1c1c3c;
  padding: 16px 24px;
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.settings-form__danger:hover { background: #1c1c3c; color: #fff; }

/* PHONE VERIFY MODAL */
.pv-modal {
  position: fixed; inset: 0; z-index: 1100;
  display: none; align-items: center; justify-content: center;
}
.pv-modal.is-open { display: flex; }
.pv-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.pv-modal__panel {
  position: relative;
  width: 100%; max-width: 560px;
  background: #fff;
  padding: 56px 56px 48px;
  box-sizing: border-box;
}
.pv-modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  background: none; border: none;
  font-size: 28px; line-height: 1;
  color: #1c1c3c; cursor: pointer;
  font-family: inherit;
}
.pv-modal__title {
  margin: 0 0 32px;
  font-size: 20px; font-weight: 700;
  color: #1c1c3c; text-align: center;
}
.pv-modal__field { margin-bottom: 16px; }
.pv-modal__label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px; color: #1c1c3c;
}
.pv-modal__input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #1c1c3c;
  background: #fff;
  font-family: inherit; font-size: 15px;
  color: #1c1c3c;
  outline: none;
  box-sizing: border-box;
}
.pv-modal__input.is-error { border-color: #e84a8c; color: #e84a8c; }
.pv-modal__error {
  display: none;
  margin-top: 6px;
  font-size: 12px; color: #e84a8c;
}
.pv-modal__error.is-visible { display: block; }
.pv-modal__submit {
  display: block; width: 100%;
  background: #000; color: #fff; border: none;
  padding: 16px 24px; margin-top: 4px;
  font-family: inherit; font-weight: 600;
  font-size: 14px; letter-spacing: 0.06em;
  text-transform: uppercase; cursor: pointer;
  transition: background 0.2s;
}
.pv-modal__submit:hover { background: #222; }
.pv-modal__link {
  display: block; width: 100%;
  margin-top: 16px;
  background: none; border: none; padding: 0;
  font-family: inherit; font-size: 13px;
  color: #1c1c3c; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
  text-align: center;
}
.pv-modal__link + .pv-modal__link { margin-top: 10px; }
.pv-modal__link--static {
  cursor: default;
  text-decoration: none;
}
.pv-modal__checkboxes {
  display: flex; flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.pv-modal__checkbox {
  display: flex; align-items: center;
  gap: 14px;
  font-size: 14px; color: #1c1c3c;
  cursor: pointer;
}
.pv-modal__checkbox input {
  width: 20px; height: 20px;
  accent-color: #1c1c3c;
  flex: 0 0 20px;
}
.pv-modal__checkbox a {
  color: #1c1c3c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 576px) {
  .pv-modal__panel { padding: 48px 24px 32px; max-width: calc(100% - 24px); }
  .pv-modal__title { font-size: 17px; margin-bottom: 24px; }
}

@media (max-width: 576px) {
  .settings__inner { padding: 12px 16px 24px; }
  .settings-section { padding: 20px 18px; }
  .settings-section__edit-text { display: none; }
  .settings-section__edit-icon { display: block; }
  .settings-section__edit { text-decoration: none; }
  .settings-field--email .settings-field__email { flex-direction: column; align-items: flex-start; gap: 10px; }
  .settings-field--email .settings-field__action { margin-left: 0; }
  .settings-field__action { padding: 12px 18px; }
  .settings-form__row--2, .settings-form__row--4 { grid-template-columns: 1fr 1fr; }
}

/* ===== Cart toast (added-to-cart compact popup) ===== */
.cart-toast {
  position: fixed;
  top: 0;
  right: 0;
  width: 340px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-top: none;
  border-right: none;
  border-radius: 0 0 0 6px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  padding: 14px 20px 18px;
  z-index: 10000;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
  font-family: inherit;
  color: #1a1a1a;
}
.cart-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cart-toast__cart-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 12px;
  color: #1a1a1a;
  text-decoration: none;
  margin-bottom: 10px;
  font-weight: 500;
}
.cart-toast__cart-link img {
  width: 16px;
  height: 16px;
  display: block;
}
.cart-toast__cart-link:hover { opacity: 0.75; }
.cart-toast__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.25;
}
.cart-toast__row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.cart-toast__img {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 4px;
  overflow: hidden;
  background: #f3f3f3;
}
.cart-toast__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cart-toast__info {
  flex: 1;
  min-width: 0;
}
.cart-toast__name {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 4px;
  word-wrap: break-word;
}
.cart-toast__price {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}
.cart-toast__params {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
  color: #333;
}
.cart-toast__params li { display: block; }
.cart-toast__params b {
  font-weight: 400;
  color: #555;
}

@media (max-width: 991px) {
  .cart-toast { width: 320px; padding: 12px 16px 16px; }
  .cart-toast__title { font-size: 14px; margin-bottom: 12px; }
}
@media (max-width: 575px) {
  .cart-toast {
    top: 64px;
    left: 12px;
    right: 12px;
    width: auto;
    padding: 14px 14px;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
  }
  .cart-toast__title { font-size: 14px; }
  .cart-toast__img { width: 56px; height: 56px; flex: 0 0 56px; }
}

/* ===== Оплата и доставка ===== */
.pay-page {
    padding: 24px 0 80px;
}

.pay-page__title{
    text-align: center;
    font-size: 38px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 40px;
}

.pay-page__sections {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pay-section {
    padding: 25px;
    background: #faf9f8;
}

.pay-section--accent {
    background: #f5f1f7;
}

.pay-section__title {
    margin: 0 0 24px;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--purple);
}

.pay-section__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pay-section__content > .pay-block + .pay-block {
    padding-top: 24px;
    border-top: 1px solid #ece8ef;
}

.pay-block__title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text);
}

.pay-section p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--text);
}

.pay-section p:last-child {
    margin-bottom: 0;
}

.pay-list {
    margin: 0;
    padding-left: 22px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--text);
}

.pay-list li {
    margin-bottom: 10px;
    padding-left: 4px;
}

.pay-list li:last-child {
    margin-bottom: 0;
}

.pay-section a {
    color: var(--purple);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pay-section b {
    font-weight: 600;
}

.pay-note {
    margin-top: 24px;
    padding: 18px 20px;
    background: #f4f4f6;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text);
}

.pay-methods {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    gap: clamp(6px, 2vw, 16px);
    margin: 20px 0 28px;
}

.pay-methods__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 96px;
    padding: clamp(4px, 1.5vw, 18px);
}

.pay-methods__item img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 72px;
    object-fit: contain;
}

@media (max-width: 640px) {
    .pay-page {
        padding-bottom: 48px;
    }

    .pay-page__title{
        font-size: 24px;
        letter-spacing: 2px;
        text-transform: uppercase;
        margin-bottom: 16px;
    }

    .pay-page__sections {
        gap: 16px;
    }

    .pay-section {
        padding: 22px 18px;
    }

    .pay-section__title {
        margin-bottom: 20px;
        font-size: 21px;
    }

    .pay-section__content > .pay-block + .pay-block {
        padding-top: 20px;
    }

    .pay-methods {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 6px;
        margin: 16px 0 24px;
    }

    .pay-methods__item {
        min-height: 48px;
        padding: 2px;
    }

    .pay-methods__item img {
        max-height: 36px;
    }

}
