@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Hubballi&family=Raleway:wght@400;500;600&display=swap');
@import url('buttons.css');
@import url('account.css');

* {
  box-sizing: border-box;
}

:root {
  --header-bar-height: 108px;
  --header-logo-size: 82px;
  --header-side-inset: clamp(16px, 3vw, 40px);
  --header-nav-gap: clamp(28px, 4vw, 52px);
}

body.product-page-body {
  margin: 0;
  padding-top: var(--header-bar-height);
  background: #f7f7f7;
  color: #000000;
  font-family: 'Raleway', sans-serif;
  overflow-x: hidden;
  line-height: 1.5;
}

.product-page-body a {
  color: inherit;
}

/* —— Unified editorial header —— */
.home-page {
  padding-top: var(--header-bar-height);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  width: 100%;
  height: var(--header-bar-height);
  margin: 0;
  padding: 0;
  background: #ffffff;
  border-bottom: none;
  box-shadow: none;
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 var(--header-side-inset);
}

.header-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4.5vw, 56px);
  transform: translateX(1%);
}

.header-logo {
  display: block;
  line-height: 0;
  flex-shrink: 0;
}

.logo {
  display: block;
  width: var(--header-logo-size);
  height: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--header-nav-gap);
}

.header-nav--left {
  justify-content: flex-end;
}

.header-nav--right {
  justify-content: flex-start;
}

.header-nav a {
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000000;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.header-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s ease;
}

.header-nav a:hover {
  opacity: 0.55;
}

.header-nav a:hover::after {
  transform: scaleX(1);
}

.header-nav a[aria-current='page'] {
  color: #4a4a4a;
}

.header-nav a[aria-current='page']::after {
  transform: scaleX(1);
  opacity: 0.45;
}

.header-actions {
  position: absolute;
  top: 50%;
  right: var(--header-side-inset);
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  position: absolute;
  left: var(--header-side-inset);
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin: 0;
  padding: 8px 0;
  border: none;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle-bars {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  width: 20px;
  flex-shrink: 0;
}

.menu-toggle-bar {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #000000;
  transition: transform 0.25s ease, opacity 0.2s ease, width 0.2s ease;
}

.menu-toggle-bar:nth-child(1) {
  width: 14px;
}

.menu-toggle-bar:nth-child(3) {
  width: 17px;
}

.header.is-menu-open .menu-toggle-bars {
  width: 22px;
  align-items: center;
}

.header.is-menu-open .menu-toggle-bar {
  width: 22px;
}

.header.is-menu-open .menu-toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.header.is-menu-open .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.header.is-menu-open .menu-toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.header .nav {
  position: fixed;
  left: 0;
  top: var(--header-bar-height);
  width: min(300px, 88vw);
  height: calc(100dvh - var(--header-bar-height));
  margin: 0;
  padding: 28px 32px 40px;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  background: #ffffff;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  transform: translateX(-100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.28s ease, visibility 0.28s;
  z-index: 1098;
}

.header .nav a {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: #000000;
  text-decoration: none;
  padding: 12px 0;
}

.header .nav a[aria-current='page'] {
  color: #4a4a4a;
}

.header.is-menu-open .nav {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.nav-overlay {
  display: block;
  position: fixed;
  inset: var(--header-bar-height) 0 0;
  z-index: 1097;
  background: rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s;
}

.header.is-menu-open .nav-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.is-menu-open {
  overflow: hidden;
}

.account-fab,
.nav [data-account-open] {
  display: none !important;
}

.account-fab,
.cart-fab {
  position: relative;
  top: auto;
  right: auto;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #1b1b1b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  z-index: auto;
}

.account-fab:hover,
.cart-fab:hover {
  color: #111111;
  opacity: 0.65;
  transform: none;
}

@media (max-width: 900px) {
  :root {
    --header-bar-height: 96px;
    --header-logo-size: 76px;
  }

  .header-nav--left,
  .header-nav--right {
    display: none;
  }

  .header-center {
    gap: 0;
    transform: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header .nav {
    display: flex;
  }
}

@media (max-width: 768px) {
  :root {
    --header-bar-height: 88px;
    --header-logo-size: 74px;
  }

  .account-fab,
  .cart-fab {
    width: 36px;
    height: 36px;
  }
}

.account-fab:focus-visible,
.cart-fab:focus-visible {
  outline: 1px solid rgba(17, 17, 17, 0.55);
  outline-offset: 3px;
}

.account-fab svg,
.cart-fab svg {
  display: block;
}

.cart-fab-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #000000;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
}

.cart-fab.is-pulse {
  animation: cart-pulse 0.35s ease-in-out 1;
}

@keyframes cart-pulse {
  0%, 100% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.12);
  }
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  z-index: 1180;
  backdrop-filter: blur(2px);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(440px, 100%);
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  z-index: 1190;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer-header {
  flex-shrink: 0;
  padding: 22px 24px 10px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.cart-drawer-title {
  margin: 0;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: clamp(32px, 8vw, 40px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #000000;
}

.cart-drawer-close {
  flex-shrink: 0;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: auto;
  padding: 0 0 4px;
  border: none;
  border-radius: 0;
  background: transparent;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #6a6a6a;
  text-transform: none;
}

.cart-drawer-close:hover {
  color: #000000;
  background: transparent;
  transform: none;
  box-shadow: none;
}

.cart-drawer-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 20px 24px 16px;
  display: flex;
  flex-direction: column;
}

.product-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 28px 24px 80px;
  background: #f7f7f7;
}

.product-main > .back-link,
.product-main > .product-layout,
.product-main > .add-section {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

body.product-page-body .checkout-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 28px 24px 80px;
  background: #ffffff;
}

body.product-page-body .checkout-page > h1,
body.product-page-body .checkout-page > .checkout-hero,
body.product-page-body .checkout-page > .checkout-layout {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.checkout-page--editorial > h1 {
  margin: 0 0 28px;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #000000;
}

.checkout-page--editorial .checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 32px 40px;
  align-items: start;
}

.checkout-page--editorial .checkout-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 22px 24px;
  background: #ffffff;
}

.checkout-page--editorial .checkout-card h2 {
  margin: 0 0 18px;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
  color: #000000;
}

.checkout-page--editorial .checkout-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px 16px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: #ffffff;
}

.checkout-page--editorial #checkoutItems {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-page--editorial .checkout-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.checkout-page--editorial .checkout-field.full {
  grid-column: 1 / -1;
}

.checkout-page--editorial .checkout-textarea {
  min-height: 88px;
  resize: vertical;
}

.checkout-page--editorial .checkout-consents {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.checkout-page--editorial .consent-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: #444;
}

.checkout-page--editorial .consent-row input {
  margin-top: 2px;
  flex-shrink: 0;
}

.checkout-page--editorial .consent-row a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkout-page--editorial .consent-row--optional {
  color: #6a6a6a;
}

.checkout-page--editorial .checkout-error {
  margin: 12px 0 0;
  padding: 10px 12px;
  font-size: 13px;
  display: none;
}

.checkout-page--editorial .checkout-error.show {
  display: block;
}

.checkout-page--editorial .checkout-img {
  width: 72px;
  height: 88px;
  object-fit: contain;
  object-position: center bottom;
}

.checkout-page--editorial .checkout-name {
  margin: 0;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.15;
}

.checkout-page--editorial .checkout-meta {
  margin: 6px 0 0;
  font-size: 13px;
  color: #6a6a6a;
}

.checkout-page--editorial .checkout-row-main {
  min-width: 0;
}

.checkout-page--editorial .checkout-price {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  align-self: start;
}

.checkout-page--editorial .checkout-empty {
  margin: 0;
  font-size: 14px;
  color: #6a6a6a;
}

.checkout-page--editorial .checkout-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.checkout-page--editorial .checkout-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #6a6a6a;
}

.checkout-page--editorial .checkout-input,
.checkout-page--editorial .checkout-select,
.checkout-page--editorial .checkout-textarea {
  min-height: 44px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 0;
  padding: 11px 12px;
  font-size: 14px;
  background: #ffffff;
  transition: border-color 180ms ease;
}

.checkout-page--editorial .checkout-input:focus,
.checkout-page--editorial .checkout-select:focus,
.checkout-page--editorial .checkout-textarea:focus {
  outline: none;
  border-color: #000000;
}

.checkout-page--editorial .checkout-help {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #6a6a6a;
}

.checkout-page--editorial .checkout-consent-warning {
  margin: 0 0 6px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  background: #fafafa;
  font-size: 12px;
  color: #555;
}

.checkout-page--editorial .checkout-total {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 600;
}

.checkout-page--editorial .checkout-note,
.checkout-page--editorial .payment-methods {
  font-size: 13px;
  line-height: 1.5;
  color: #6a6a6a;
}

.checkout-page--editorial .btn-place-order {
  min-height: 50px;
  padding: 14px 28px;
  border: none;
  border-radius: 0;
  background: #0a0a0a;
  color: #f7f7f7;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.02em;
  box-shadow: none;
}

.checkout-page--editorial .btn-place-order:hover:not(:disabled) {
  background: #1a1a1a;
  color: #ffffff;
  transform: none;
  box-shadow: none;
}

.checkout-page--editorial .checkout-error {
  border-radius: 0;
  border-color: rgba(180, 40, 40, 0.25);
  background: #fff8f8;
}

@media (max-width: 980px) {
  .checkout-page--editorial .checkout-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .checkout-page--editorial .checkout-form-grid {
    grid-template-columns: 1fr;
  }

  .cart-drawer {
    width: 100%;
  }

  .cart-item {
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  .cart-item-right {
    grid-column: 2 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 48px 64px;
  align-items: start;
}

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

.product-gallery img {
  display: block;
  width: 100%;
  max-width: 294px;
  height: auto;
  object-fit: contain;
}

.product-info h1 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

.product-price {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 600;
}

.product-buy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin: 0 0 26px;
}

.product-buy-row .btn-wishlist {
  align-self: center;
}

.btn-wishlist {
  flex: 0 0 auto;
}

.product-lead {
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 500;
}

.product-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #2d2c2c;
}

.product-desc p {
  margin: 0 0 1em;
}

.product-desc p:last-child {
  margin-bottom: 0;
}

.product-meta {
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid #e8e8e8;
  font-size: 14px;
  line-height: 1.6;
}

.product-meta p {
  margin: 0 0 0.75em;
}

.product-meta strong {
  font-weight: 600;
}

.accordion {
  margin-top: 32px;
  border-top: 1px solid #000000;
}

.accordion-item {
  border-bottom: 1px solid #000000;
}

.accordion-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 16px;
  user-select: none;
}

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

.accordion-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.accordion-item[open] summary::after {
  content: '−';
}

.accordion-body {
  padding: 0 0 20px;
  font-size: 14px;
  line-height: 1.65;
  color: #2d2c2c;
}

.accordion-body h4 {
  margin: 1.25em 0 0.5em;
  font-size: 14px;
  font-weight: 600;
}

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

.accordion-body p {
  margin: 0 0 0.75em;
}

.add-section {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid #e8e8e8;
}

.add-section h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.add-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.add-carousel-controls {
  display: inline-flex;
  gap: 8px;
}

.add-carousel {
  overflow: hidden;
}

.add-grid {
  display: flex;
  --add-gap: 28px;
  gap: var(--add-gap);
  transition: transform 0.45s ease;
  will-change: transform;
}

.add-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  flex: 0 0 calc((100% - 2 * var(--add-gap)) / 3);
  min-width: 220px;
}

.add-card-img {
  display: block;
  width: 70%;
  max-width: 132px;
  aspect-ratio: 188 / 230;
  object-fit: contain;
  margin: 0 0 12px;
}

.add-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.add-card-desc {
  margin: 0 0 14px;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 13.42px;
  line-height: 1.45;
  color: #2d2c2c;
  flex: 1;
}

.cart-empty {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #6a6a6a;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px 16px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: #ffffff;
}

.cart-item-img {
  width: 72px;
  height: 88px;
  object-fit: contain;
  object-position: center bottom;
}

.cart-item-main {
  min-width: 0;
}

.cart-item-name {
  margin: 0 0 10px;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #000000;
}

.cart-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-align: right;
}

.cart-item-price {
  display: block;
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #000000;
  white-space: nowrap;
}

.cart-footer {
  flex-shrink: 0;
  margin-top: 0;
  padding: 4px 24px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.cart-total {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #000000;
}

.cart-drawer .btn-checkout {
  min-height: 50px;
  padding: 14px 28px;
  border: none;
  border-radius: 0;
  background: #0a0a0a;
  color: #f7f7f7;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  box-shadow: none;
}

.cart-drawer .btn-checkout:hover {
  background: #1a1a1a;
  color: #ffffff;
  transform: none;
  box-shadow: none;
}

.cart-drawer .btn-checkout:active {
  background: #000000;
  transform: none;
}

.cart-drawer .btn-checkout:disabled {
  opacity: 0.35;
}

/* Узкие экраны: плотнее блок товара, текст ближе к «первому экрану» */
@media (max-width: 1100px) {
  body.product-page-body .product-main {
    padding-top: 32px;
    padding-bottom: 72px;
  }

  body.product-page-body .back-link {
    margin-bottom: 14px;
    font-size: 13px;
  }

  body.product-page-body .product-layout {
    gap: 28px 36px;
  }

  body.product-page-body .product-gallery {
    top: 12px;
  }

  body.product-page-body .product-gallery img {
    max-width: 265px;
  }

  body.product-page-body .product-info h1 {
    font-size: 26.6px;
    margin-bottom: 8px;
  }

  body.product-page-body .product-price {
    font-size: 20px;
    margin-bottom: 10px;
  }

  body.product-page-body .product-buy-row {
    margin-bottom: 14px;
    gap: 8px 10px;
  }

  body.product-page-body .product-lead {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.45;
  }
}

@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: relative;
    top: auto;
    max-width: 228px;
    margin: 0 auto;
  }

  .product-buy-row {
    justify-content: flex-start;
  }

  .add-grid {
    --add-gap: 14px;
  }

  .add-card {
    flex: 0 0 calc((100% - var(--add-gap)) / 2);
    min-width: 200px;
  }
}

@media (max-width: 600px) {
  .add-grid {
    --add-gap: 10px;
  }

  .add-card {
    flex: 0 0 calc((100% - var(--add-gap)) / 2);
    min-width: 0;
  }

  .add-section-head {
    margin-bottom: 16px;
  }
}

/* —— Static: посадочный блок в духе Byredo —— */
.product-page--editorial-landing .product-main--editorial-landing {
  background: #ffffff;
  padding-top: 16px;
  padding-bottom: 0;
}

.product-page--editorial-landing .product-main--editorial-landing > .back-link {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  margin-top: calc(var(--header-bar-height) * 0.4);
  padding: 0 32px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 400;
  color: #6a6a6a;
  text-decoration: none;
}

.product-page--editorial-landing .product-main--editorial-landing > .back-link:hover {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pdp-landing {
  --pdp-landing-vh: calc(100dvh - var(--header-bar-height) - 52px);
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0 24px;
}

.pdp-landing-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
}

.product-page--editorial-landing .pdp-landing .product-gallery {
  --pdp-gallery-offset: 5.25rem;
  position: relative;
  top: auto;
  align-self: start;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: auto;
  min-height: 0;
  max-height: var(--pdp-landing-vh);
  padding: var(--pdp-gallery-offset) 16px 12px;
  background: #ffffff;
}

.product-page--editorial-landing .pdp-landing .product-gallery img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 306px);
  max-height: calc((var(--pdp-landing-vh) - var(--pdp-gallery-offset) - 16px) * 0.9);
  object-fit: contain;
  object-position: center top;
  transform: translateY(-5%);
}

.pdp-landing-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  padding: 8px clamp(16px, 2.5vw, 32px) 12px 0;
  background: #ffffff;
}

.pdp-card {
  width: 100%;
  max-width: 100%;
  padding: 0;
  background: transparent;
  border: none;
  flex-shrink: 0;
}

.pdp-eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #8a8a8a;
}

.pdp-title {
  margin: 0;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #000000;
}

.pdp-subtitle {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: #6a6a6a;
}

.pdp-buy-row {
  margin: 50px 0 0;
}

.product-page--editorial-landing .pdp-btn-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 100%;
  min-height: 50px;
  padding: 14px 28px;
  border: none;
  border-radius: 0 !important;
  background: #0a0a0a;
  color: #f7f7f7;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: none;
  box-shadow: none;
  transform: none;
}

.product-page--editorial-landing .pdp-btn-cart:hover,
.product-page--editorial-landing .pdp-btn-cart:active,
.product-page--editorial-landing .pdp-btn-cart:focus-visible {
  border-radius: 0 !important;
}

.product-page--editorial-landing .pdp-btn-cart:hover {
  background: #1a1a1a;
  color: #ffffff;
  transform: none;
  box-shadow: none;
}

.product-page--editorial-landing .pdp-btn-cart:active {
  background: #000000;
  transform: none;
  box-shadow: none;
}

.product-page--editorial-landing .pdp-btn-cart-sep {
  opacity: 0.75;
  font-weight: 300;
  padding: 0 0.35em;
}

.pdp-editorial {
  margin: 20px 0 0;
  padding: 20px 0 0;
  width: 100%;
  max-width: 100%;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}

.pdp-aroma-head {
  margin: 0 0 12px;
  font-family: 'Raleway', sans-serif;
  font-size: 14.4px;
  font-weight: 500;
  line-height: 1.52;
  letter-spacing: 0.01em;
  color: #1a1a1a;
  max-width: 100%;
}

.product-page--editorial-landing .pdp-desc {
  font-size: 14.4px;
  font-weight: 400;
  line-height: 1.58;
  color: #5c5c5c;
  max-width: 100%;
}

.product-page--editorial-landing .pdp-desc p {
  margin: 0 0 0.75em;
}

.product-page--editorial-landing .pdp-desc p:last-child {
  margin-bottom: 0;
}

.product-page--editorial-landing .product-details {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 56px 0 0;
  background: #ffffff;
  border-top: none;
}

.product-page--editorial-landing .pdp-accordion-wrap {
  width: 50%;
  max-width: 640px;
  margin: 0 0 0 50%;
  padding: 0 clamp(16px, 2.5vw, 40px) 0 clamp(20px, 3vw, 48px);
  box-sizing: border-box;
}

.product-page--editorial-landing .pdp-accordion {
  margin: 0;
  border: none;
}

.product-page--editorial-landing .pdp-accordion .accordion-item {
  border: none;
}

.product-page--editorial-landing .pdp-accordion .accordion-item + .accordion-item {
  border-top: none;
}

.product-page--editorial-landing .pdp-accordion .accordion-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0;
  font-family: 'Raleway', sans-serif;
  font-size: 10.5px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #000000;
}

.product-page--editorial-landing .pdp-accordion .accordion-item summary::-webkit-details-marker {
  display: none;
}

.product-page--editorial-landing .pdp-accordion .accordion-item summary::after {
  display: none;
}

.product-page--editorial-landing .pdp-accordion-chevron {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: -1px;
  border-right: 1px solid #000000;
  border-bottom: 1px solid #000000;
  transform: rotate(-45deg);
  transition: transform 0.22s ease;
}

.product-page--editorial-landing .accordion-item[open] .pdp-accordion-chevron {
  transform: rotate(45deg);
}

.product-page--editorial-landing .pdp-accordion .accordion-body {
  padding: 0 0 8px;
  margin: -6px 0 20px;
  font-family: 'Raleway', sans-serif;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.72;
  color: #4a4a4a;
}

.product-page--editorial-landing .pdp-accordion .accordion-item:last-child .accordion-body {
  margin-bottom: 0;
}

.product-page--editorial-landing .pdp-accordion .accordion-body h4 {
  margin: 1.5em 0 0.4em;
  font-family: 'Raleway', sans-serif;
  font-size: inherit;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  color: #000000;
}

.product-page--editorial-landing .pdp-accordion .accordion-body h4:first-child {
  margin-top: 0;
}

.product-page--editorial-landing .pdp-accordion .accordion-body p {
  margin: 0 0 0.7em;
}

.product-page--editorial-landing .pdp-accordion .accordion-body p:last-child {
  margin-bottom: 0;
}

.product-page--editorial-landing .pdp-notes-stage {
  --notes-count: 4;
  --notes-step-vh: 52;
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  height: calc(var(--notes-count) * var(--notes-step-vh) * 1vh);
  background: #ffffff;
  border-top: none;
}

.product-page--editorial-landing .pdp-notes-stage-pin {
  position: sticky;
  top: var(--header-bar-height);
  height: calc(100dvh - var(--header-bar-height));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-page--editorial-landing .pdp-fullwidth-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-page--editorial-landing .pdp-fullwidth-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.7;
}

.product-page--editorial-landing .pdp-notes-stage-copy {
  position: relative;
  z-index: 1;
  width: min(520px, 92vw);
  max-width: min(520px, 92vw);
  margin: 0;
  padding: 0 24px;
  box-sizing: border-box;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.product-page--editorial-landing .pdp-notes-stage-eyebrow {
  margin: 0 0 14px;
  font-family: 'Raleway', sans-serif;
  font-size: 8.82px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #000000;
  text-align: center;
  width: 100%;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.9), 0 0 36px rgba(255, 255, 255, 0.65);
}

.product-page--editorial-landing .pdp-notes-stage-list {
  position: relative;
  min-height: 1.15em;
  width: 100%;
}

.product-page--editorial-landing .pdp-note {
  position: absolute;
  left: 50%;
  right: auto;
  top: 0;
  transform: translateX(-50%);
  margin: 0;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: clamp(20.28px, 2.808vw, 29.64px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #000000;
  opacity: 0;
  transition: opacity 0.28s ease;
  text-transform: lowercase;
  text-align: center;
  width: max-content;
  max-width: 100%;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.92), 0 0 40px rgba(255, 255, 255, 0.7);
}

.product-page--editorial-landing .pdp-note.is-active {
  opacity: 1;
}

@media (min-width: 901px) {
  .product-page--editorial-landing .pdp-notes-stage-copy {
    margin-top: clamp(8px, 1.5vh, 20px);
  }
}

@media (max-width: 900px) {
  .product-page--editorial-landing .product-main--editorial-landing > .pdp-notes-stage {
    width: 100vw;
    width: 100svw;
    max-width: 100svw;
    margin-left: calc(50% - 50vw);
    margin-left: calc(50% - 50svw);
    margin-right: calc(50% - 50vw);
    margin-right: calc(50% - 50svw);
    padding: 0 0 24px;
    box-sizing: border-box;
  }

  .product-page--editorial-landing .pdp-notes-stage {
    height: auto;
  }

  .product-page--editorial-landing .pdp-notes-stage-pin {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
  }

  .product-page--editorial-landing .pdp-fullwidth-banner {
    position: relative;
    display: block;
    inset: auto;
    z-index: 0;
    width: 100%;
    margin: 0;
    height: 0;
    padding-bottom: 40%;
    overflow: hidden;
    background: #f3f3f3;
    line-height: 0;
  }

  @supports (aspect-ratio: 5 / 2) {
    .product-page--editorial-landing .pdp-fullwidth-banner {
      height: auto;
      padding-bottom: 0;
      aspect-ratio: 5 / 2;
    }
  }

  .product-page--editorial-landing .pdp-fullwidth-banner img {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
    opacity: 1;
  }

  .product-page--editorial-landing .pdp-notes-stage-copy {
    position: relative;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 0 clamp(20px, 5vw, 24px);
    box-sizing: border-box;
    pointer-events: auto;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
  }

  .product-page--editorial-landing .pdp-notes-stage-eyebrow {
    margin: 0 0 10px;
    font-size: 10px;
    letter-spacing: 0.14em;
    color: #1a1a1a;
    text-align: left;
    width: auto;
    text-shadow: none;
  }

  .product-page--editorial-landing .pdp-notes-stage-list {
    position: static;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .product-page--editorial-landing .pdp-note {
    position: static;
    opacity: 1;
    margin: 0;
    font-size: clamp(21px, 5.6vw, 26px);
    line-height: 1.35;
    letter-spacing: 0.01em;
    color: #000000;
    transition: none;
    left: auto;
    transform: none;
    text-align: left;
    width: auto;
    max-width: none;
    text-shadow: none;
  }

  .product-page--editorial-landing .pdp-note.is-active {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-page--editorial-landing .pdp-notes-stage {
    height: auto;
  }

  .product-page--editorial-landing .pdp-notes-stage-pin {
    position: relative;
    top: auto;
    height: auto;
    min-height: 50vh;
    padding: 48px 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .product-page--editorial-landing .pdp-notes-stage-copy {
    align-items: center;
    text-align: center;
  }

  .product-page--editorial-landing .pdp-notes-stage-eyebrow {
    text-align: center;
  }

  .product-page--editorial-landing .pdp-note {
    position: static;
    opacity: 1;
    margin-bottom: 12px;
    transform: none;
    left: auto;
    text-align: center;
    width: auto;
  }

  .product-page--editorial-landing .pdp-notes-stage-list {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 900px) {
  .product-page--editorial-landing .pdp-notes-stage-pin {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 0;
    padding: 0;
  }

  .product-page--editorial-landing .pdp-notes-stage-copy {
    align-items: flex-start;
    text-align: left;
  }

  .product-page--editorial-landing .pdp-notes-stage-eyebrow,
  .product-page--editorial-landing .pdp-note {
    text-align: left;
  }
}

.product-page--editorial-landing .product-main--editorial-landing > .add-section--editorial {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 56px clamp(24px, 4vw, 48px) 72px;
  background: #ffffff;
  border-top: none;
}

.product-page--editorial-landing .add-section--editorial .add-section-head,
.product-page--editorial-landing .add-section--editorial .add-carousel {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.product-page--editorial-landing .add-section--editorial .add-section-head {
  margin-bottom: 36px;
  align-items: flex-end;
}

.product-page--editorial-landing .add-section--editorial h2 {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-size: 10.5px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #000000;
}

.product-page--editorial-landing .add-section--editorial .add-carousel-controls {
  gap: 6px;
}

.product-page--editorial-landing .add-section--editorial .add-arrow {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border: 1px solid rgba(17, 17, 17, 0.22);
  border-radius: 0;
  background: transparent;
  color: #000000;
  font-size: 16px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: none;
  transform: none;
}

.product-page--editorial-landing .add-section--editorial .add-arrow:hover {
  background: rgba(17, 17, 17, 0.04);
  border-color: rgba(17, 17, 17, 0.35);
  transform: none;
  box-shadow: none;
}

.product-page--editorial-landing .add-section--editorial .add-grid {
  --add-gap: clamp(20px, 3vw, 40px);
}

.product-page--editorial-landing .add-section--editorial .add-card {
  flex: 0 0 calc((100% - 2 * var(--add-gap)) / 3);
  min-width: 200px;
  align-items: flex-start;
  text-align: left;
}

.product-page--editorial-landing .add-section--editorial .add-card-img {
  display: block;
  width: 72%;
  max-width: 150px;
  margin: 0 0 18px;
  align-self: center;
}

.product-page--editorial-landing .add-section--editorial .add-card h3 {
  margin: 0 0 10px;
  width: 100%;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #000000;
}

.product-page--editorial-landing .add-section--editorial .add-card-desc {
  margin: 0 0 18px;
  font-family: 'Raleway', sans-serif;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.55;
  color: #5c5c5c;
}

.product-page--editorial-landing .add-section--editorial .btn-add--editorial {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: auto;
  max-width: 100%;
  min-height: 0;
  margin-top: auto;
  padding: 0;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #000000;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: none;
  box-shadow: none !important;
  transform: none;
  cursor: pointer;
}

.product-page--editorial-landing .add-section--editorial .btn-add-label,
.product-page--editorial-landing .add-section--editorial .btn-add-sep {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: bottom;
  transition: max-width 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.product-page--editorial-landing .add-section--editorial .btn-add-price {
  opacity: 0.55;
  transition: opacity 0.35s ease;
}

.product-page--editorial-landing .add-section--editorial .add-card:hover .btn-add-label,
.product-page--editorial-landing .add-section--editorial .add-card:hover .btn-add-sep,
.product-page--editorial-landing .add-section--editorial .btn-add--editorial:hover .btn-add-label,
.product-page--editorial-landing .add-section--editorial .btn-add--editorial:hover .btn-add-sep,
.product-page--editorial-landing .add-section--editorial .btn-add--editorial:focus-visible .btn-add-label,
.product-page--editorial-landing .add-section--editorial .btn-add--editorial:focus-visible .btn-add-sep {
  max-width: 5.5em;
  opacity: 1;
}

.product-page--editorial-landing .add-section--editorial .add-card:hover .btn-add-price,
.product-page--editorial-landing .add-section--editorial .btn-add--editorial:hover .btn-add-price,
.product-page--editorial-landing .add-section--editorial .btn-add--editorial:focus-visible .btn-add-price {
  opacity: 1;
}

.product-page--editorial-landing .add-section--editorial .btn-add--editorial:hover,
.product-page--editorial-landing .add-section--editorial .btn-add--editorial:active {
  background: transparent !important;
  border-color: transparent !important;
  color: #000000;
  transform: none;
  box-shadow: none !important;
}

.product-page--editorial-landing .add-section--editorial .btn-add-sep {
  opacity: 0;
  padding: 0;
}

.product-page--editorial-landing .add-section--editorial .add-card:hover .btn-add-sep,
.product-page--editorial-landing .add-section--editorial .btn-add--editorial:hover .btn-add-sep,
.product-page--editorial-landing .add-section--editorial .btn-add--editorial:focus-visible .btn-add-sep {
  opacity: 0.65;
  padding: 0 0.25em;
}

@media (max-width: 900px) {
  .product-page--editorial-landing .add-section--editorial .add-card {
    flex: 0 0 calc((100% - var(--add-gap)) / 2);
    min-width: 0;
  }
}

@media (max-width: 600px) {
  .product-page--editorial-landing .add-section--editorial {
    padding: 44px 20px 56px;
  }

  .product-page--editorial-landing .add-section--editorial .add-card {
    flex: 0 0 calc((100% - var(--add-gap)) / 2);
  }
}

/* Префутер и футер — как на главной, без сдвига от full-bleed блоков */
body.product-page-body .site-prefooter,
body.product-page-body .site-footer,
.product-page--editorial-landing .site-prefooter,
.product-page--editorial-landing .site-footer {
  position: relative;
  left: auto;
  right: auto;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

body.product-page-body .site-footer-inner,
body.product-page-body .site-footer-bar,
.product-page--editorial-landing .site-prefooter-inner,
.product-page--editorial-landing .site-footer-inner,
.product-page--editorial-landing .site-footer-bar {
  margin-left: auto;
  margin-right: auto;
}

.site-footer-col.site-footer-contact {
  display: none;
}

@media (max-width: 900px) {
  .product-page--editorial-landing .pdp-accordion-wrap {
    width: 100%;
    max-width: none;
    margin-left: 0;
    padding: 0 20px;
  }

  .product-page--editorial-landing .pdp-accordion .accordion-item summary {
    padding: 24px 0;
  }
}

@media (max-height: 880px) {
  .pdp-landing {
    --pdp-landing-vh: calc(100dvh - var(--header-bar-height) - 44px);
  }

  .product-page--editorial-landing .pdp-landing .product-gallery {
    --pdp-gallery-offset: 4.5rem;
  }

  .product-page--editorial-landing .pdp-desc,
  .pdp-aroma-head {
    font-size: 13.5px;
  }

  .pdp-title {
    font-size: clamp(26px, 3vw, 34px);
  }

  .product-page--editorial-landing .pdp-landing .product-gallery img {
    max-width: min(100%, 270px);
  }
}

@media (max-width: 960px) {
  .pdp-landing {
    --pdp-landing-vh: none;
  }

  .pdp-landing-grid {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .product-page--editorial-landing .pdp-landing .product-gallery {
    --pdp-gallery-offset: 0;
    height: auto;
    max-height: none;
    padding: 16px 20px 8px;
    align-items: center;
  }


  .product-page--editorial-landing .pdp-landing .product-gallery img {
    max-width: min(216px, 61.2vw);
    max-height: min(46.8vh, 378px);
    object-position: center center;
    transform: translateY(-5%);
  }

  .pdp-landing-panel {
    max-height: none;
    overflow: visible;
    padding: 16px 20px 32px;
    gap: 28px;
  }

  .pdp-card {
    max-width: none;
  }

  .pdp-editorial {
    overflow: visible;
  }
}

@media (max-width: 600px) {
  .product-page--editorial-landing .product-main--editorial-landing > .back-link {
    padding: 0 20px;
  }

  .pdp-landing-panel {
    padding-inline: 20px;
  }
}

/* —— Pre-footer («К вашим услугам») — editorial —— */
.site-prefooter {
  background: #ffffff;
  color: #000000;
  padding: clamp(56px, 8vw, 88px) clamp(24px, 4vw, 48px) clamp(48px, 7vw, 72px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-family: 'Raleway', sans-serif;
}

.site-prefooter-inner {
  max-width: 980px;
  margin: 0 auto;
}

.site-prefooter-title {
  margin: 0 0 clamp(40px, 6vw, 56px);
  text-align: center;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 300;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: #000000;
}

.site-prefooter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 40px);
}

.site-prefooter-item {
  margin: 0;
  padding: 0;
  text-align: center;
}

.site-prefooter-label {
  margin: 0 0 14px;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #000000;
}

.site-prefooter-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #4a4a4a;
}

.site-prefooter-icon-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 56px;
  margin: 0 auto 14px;
}

.site-prefooter-img {
  display: block;
  width: auto;
  max-width: 72px;
  max-height: 56px;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  opacity: 0.85;
  filter: grayscale(60%) saturate(140%);
}

.site-prefooter-subtitle {
  display: none;
}

@media (max-width: 900px) {
  .site-prefooter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(32px, 6vw, 48px) clamp(20px, 4vw, 32px);
  }

  .site-prefooter-label,
  .site-prefooter-text {
    max-width: 240px;
    margin-left: auto;
    margin-right: auto;
  }

  .site-prefooter-text {
    line-height: 1.72;
    text-wrap: balance;
  }
}

@media (max-width: 560px) {
  .site-prefooter {
    padding: 48px 24px 44px;
  }

  .site-prefooter-title {
    margin-bottom: 36px;
  }

  .site-prefooter-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    max-width: 300px;
    margin: 0 auto;
  }

  .site-prefooter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .site-prefooter-icon-wrap {
    margin-bottom: 18px;
    min-height: 56px;
  }

  .site-prefooter-label {
    margin: 0 auto 12px;
    max-width: 260px;
    line-height: 1.45;
    letter-spacing: 0.14em;
  }

  .site-prefooter-text {
    max-width: 272px;
    margin: 0 auto;
    line-height: 1.75;
    text-wrap: balance;
  }
}

/* —— Site footer — editorial —— */
.site-footer {
  background: #ffffff;
  color: #000000;
  padding: clamp(56px, 8vw, 80px) clamp(24px, 4vw, 48px) clamp(32px, 5vw, 48px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-family: 'Raleway', sans-serif;
}

.site-footer-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: clamp(40px, 6vw, 56px) clamp(32px, 5vw, 48px);
}

.site-footer-col h3 {
  margin: 0 0 20px;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.35;
  color: #000000;
}

.site-footer-col p {
  margin: 0 0 10px;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  line-height: 1.72;
  color: #4a4a4a;
}

.site-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer-links a {
  color: #4a4a4a;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.site-footer-links a:hover {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer-newsletter > p {
  margin-bottom: 20px;
}

.site-footer-newsletter form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}

.site-footer-newsletter input[type="email"] {
  flex: none;
  width: 100%;
  min-height: auto;
  padding: 8px 0;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
  border-radius: 0;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 400;
  background: transparent;
  color: #000000;
}

.site-footer-newsletter input[type="email"]::placeholder {
  color: #8a8a8a;
}

.site-footer-newsletter input[type="email"]:focus {
  outline: none;
  border-bottom-color: #000000;
}

.site-footer--editorial .site-footer-newsletter button[type="submit"],
.site-footer-newsletter button[type="submit"] {
  align-self: flex-start;
  min-height: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #000000;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  box-shadow: none;
  transform: none;
}

.site-footer--editorial .site-footer-newsletter button[type="submit"]:hover,
.site-footer-newsletter button[type="submit"]:hover {
  background: transparent;
  border-color: transparent;
  color: #4a4a4a;
  transform: none;
  box-shadow: none;
}

.site-footer--editorial .site-footer-newsletter button[type="submit"]:active,
.site-footer-newsletter button[type="submit"]:active {
  transform: none;
  box-shadow: none;
}

.site-footer-newsletter-legal {
  margin: 0;
  font-size: 10px;
  line-height: 1.45;
  color: #8a8a8a;
  max-width: 100%;
}

.site-footer-newsletter-legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer-newsletter-legal a:hover {
  color: #000000;
}

.site-footer-newsletter-message {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-footer-newsletter-message.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer-newsletter-message--error {
  color: #8b3a3a;
}

.site-footer-newsletter-message--success {
  color: #3a5a3a;
}

.site-footer-newsletter input[type="email"].is-invalid {
  border-bottom-color: #8b3a3a;
}

.site-footer-newsletter-form.is-loading button[type="submit"] {
  opacity: 0.55;
  pointer-events: none;
}

.site-footer-newsletter-form button[type="submit"]:disabled {
  opacity: 0.55;
  cursor: default;
}

.site-footer-bar {
  max-width: 980px;
  margin: clamp(40px, 6vw, 56px) auto 0;
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 32px;
}

.site-footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 36px;
  flex: 1 1 auto;
  min-width: 0;
}

.site-footer-social-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.site-footer-icon-link {
  color: #4a4a4a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-footer-icon-link:hover {
  color: #000000;
}

.site-footer-contact-text {
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: #4a4a4a;
  text-decoration: none;
}

.site-footer-contact-text:hover {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer-social svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke-width: 1.25;
}

.site-footer-copy {
  margin: 0 !important;
  margin-left: auto;
  font-family: 'Raleway', sans-serif;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em;
  color: #8a8a8a !important;
  flex-shrink: 0;
  text-align: right;
}

@media (max-width: 960px) {
  .site-footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer-inner .site-footer-newsletter {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .site-footer-inner {
    grid-template-columns: 1fr;
  }

  .site-footer-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer-copy {
    margin-left: 0 !important;
    text-align: left;
    align-self: flex-start;
  }
}

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

.home-page--editorial .product a.product-cart-link--editorial {
  min-height: 40px;
  min-width: 112px;
  padding: 0 18px;
  border: none;
  border-radius: 0;
  background: #0a0a0a;
  color: #f7f7f7;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  transform: none;
  box-shadow: none;
}

.home-page--editorial .product a.product-cart-link--editorial:hover,
.home-page--editorial .product a.product-cart-link--editorial:focus-visible {
  background: #1a1a1a;
  border-color: transparent;
  color: #ffffff;
  transform: none;
  box-shadow: none;
}

.home-page--editorial .product a.product-cart-link--editorial:active {
  background: #000000;
  transform: none;
  box-shadow: none;
}

.home-page--editorial .home-cart-sep {
  opacity: 0.75;
  font-weight: 300;
  padding: 0 0.35em;
}

/* —— Юридические страницы (оферта и др.) —— */
body.product-page-body:has(.legal-page) {
  background: #ffffff;
}

body.product-page-body .legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px clamp(20px, 4vw, 48px) 72px;
  background: #ffffff;
}

body.product-page-body .legal-page--wide {
  max-width: 820px;
}

body.product-page-body .legal-page > .back-link {
  display: inline-block;
  margin-bottom: 28px;
}

.legal-document__header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid #e8e8e8;
}

.legal-document h1 {
  margin: 0 0 12px;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 300;
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: #000000;
}

.legal-document__updated {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #666666;
}

.legal-document__notice {
  margin: 0;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #444444;
  background: #f9f9f9;
  border-left: 2px solid #d8d8d8;
}

.legal-document__lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: #333333;
}

.legal-subheading {
  margin: 18px 0 10px;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #111111;
}

.legal-subheading:first-of-type {
  margin-top: 0;
}

.legal-section ol.legal-steps {
  padding-left: 1.35em;
}

.legal-section ol.legal-steps li + li {
  margin-top: 10px;
}

.legal-callout {
  margin-top: 36px;
  padding: 16px 18px;
  background: #f9f9f9;
  border-left: 2px solid #d8d8d8;
}

.legal-callout p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #333333;
}

.legal-section {
  margin-bottom: 32px;
}

.legal-section h2 {
  margin: 0 0 14px;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111111;
}

.legal-section p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.72;
  color: #333333;
}

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

.legal-section ul {
  margin: 0 0 12px;
  padding-left: 1.25em;
  font-size: 14px;
  line-height: 1.72;
  color: #333333;
}

.legal-section li + li {
  margin-top: 8px;
}

.legal-section a {
  color: #111111;
  text-underline-offset: 3px;
}

.legal-section a:hover {
  color: #000000;
}

.legal-definitions {
  margin: 0;
}

.legal-definitions dt {
  margin: 14px 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: #111111;
}

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

.legal-definitions dd {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.72;
  color: #333333;
}

.legal-requisites {
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-requisites li {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.65;
  color: #333333;
}

.legal-requisites li:last-child {
  margin-bottom: 0;
}

.legal-requisites strong {
  font-weight: 600;
  color: #111111;
}

.site-footer-links a[data-footer-pending] {
  cursor: default;
}

.site-footer-links a[data-footer-pending]:hover {
  color: inherit;
  text-decoration: none;
}

/* —— Страница контактов —— */
body.product-page-body:has(.contacts-page) {
  background: #ffffff;
}

body.product-page-body .contacts-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px clamp(20px, 4vw, 48px) 80px;
  background: #ffffff;
}

body.product-page-body .contacts-page > .back-link {
  display: inline-block;
  margin-bottom: 28px;
}

.contacts-page__header {
  margin-bottom: 0;
  padding-bottom: 28px;
  border-bottom: 1px solid #e8e8e8;
}

.contacts-page__title {
  margin: 0;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: #000000;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 52px);
  padding-top: 36px;
}

.contacts-col h2 {
  margin: 0 0 18px;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.32;
  letter-spacing: 0.01em;
  color: #000000;
}

.contacts-col p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #111111;
}

.contacts-note {
  margin-bottom: 10px !important;
  color: #333333 !important;
  line-height: 1.6 !important;
}

.contacts-note a {
  color: #111111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contacts-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.contacts-links a {
  font-size: 15px;
  line-height: 1.5;
  color: #111111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contacts-links a:hover {
  color: #000000;
}

.contacts-phone {
  text-decoration: none !important;
  color: #111111 !important;
}

.contacts-phone:hover {
  text-decoration: underline !important;
}

@media (max-width: 1024px) {
  .contacts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 36px;
  }
}

@media (max-width: 600px) {
  body.product-page-body .contacts-page {
    padding-bottom: 56px;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 28px;
  }
}

@media (max-width: 600px) {
  body.product-page-body .legal-page {
    padding-bottom: 56px;
  }

  .legal-document__header {
    margin-bottom: 28px;
    padding-bottom: 22px;
  }

  .legal-section {
    margin-bottom: 26px;
  }
}

/* —— Главная, about, projects —— */
.home-page {
  margin: 0;
  background: #ffffff;
  color: #000000;
  font-family: 'Raleway', sans-serif;
  overflow-x: clip;
}

/* —— Страница «Для пространств и проектов» —— */
.projects-page {
  --projects-gap: clamp(88px, 11vw, 136px);
  --projects-gap-loose: clamp(104px, 14vw, 172px);
  --projects-heading-space: clamp(32px, 4vw, 44px);
  --projects-text-inset: 0px;
}

.projects-main {
  position: relative;
  width: 100%;
  background: #ffffff;
  overflow-x: clip;
}

.projects-stage {
  position: relative;
  width: 100%;
  overflow: visible;
}

.projects-section {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 48px);
  overflow: visible;
}

.projects-section--approach,
.projects-section--collab,
.projects-contact {
  isolation: isolate;
}

.projects-atmosphere {
  position: absolute;
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  mix-blend-mode: multiply;
  filter: blur(1px);
}

.projects-atmosphere--approach {
  left: calc(50% - 50vw);
  top: 42%;
  width: clamp(240px, 36vw, 460px);
  transform: translate(-42%, -50%);
  animation: projects-atmosphere-float 52s ease-in-out infinite alternate;
}

.projects-atmosphere--collab {
  right: calc(50% - 50vw);
  top: 18%;
  width: clamp(260px, 40vw, 500px);
  transform: translate(22%, 0);
  transform-origin: center center;
  animation: projects-atmosphere-expand 30s ease-in-out infinite alternate;
}

.projects-atmosphere--contact {
  left: 58%;
  top: 42%;
  width: clamp(220px, 34vw, 400px);
  transform: translate(-45%, -50%);
  animation: projects-atmosphere-breathe 24s ease-in-out infinite;
}

.projects-section--approach > :not(.projects-atmosphere),
.projects-section--collab > :not(.projects-atmosphere),
.projects-contact > :not(.projects-atmosphere) {
  position: relative;
  z-index: 1;
}

@keyframes projects-atmosphere-float {
  from {
    transform: translate(-42%, -50%) translateY(0);
  }

  to {
    transform: translate(-42%, -50%) translateY(-16px);
  }
}

@keyframes projects-atmosphere-expand {
  from {
    transform: translate(22%, 0) scale(1);
  }

  to {
    transform: translate(22%, 0) scale(1.08);
  }
}

@keyframes projects-atmosphere-breathe {
  0%,
  100% {
    transform: translate(-45%, -50%) scale(1);
  }

  50% {
    transform: translate(-45%, -50%) scale(1.025);
  }
}

@media (prefers-reduced-motion: reduce) {
  .projects-atmosphere--approach,
  .projects-atmosphere--collab,
  .projects-atmosphere--contact {
    animation: none;
  }
}

.projects-section + .projects-section {
  margin-top: var(--projects-gap);
}

.projects-page .projects-section--approach {
  padding-bottom: clamp(20px, 3.5vw, 44px);
}

.projects-page .projects-section--approach + .projects-section {
  margin-top: var(--projects-gap-loose);
}

.projects-page .projects-section--wide {
  max-width: 900px;
  padding-top: clamp(4px, 1vw, 12px);
  padding-bottom: clamp(28px, 4.5vw, 56px);
}

.projects-page .projects-section--wide + .projects-section {
  margin-top: var(--projects-gap-loose);
}

.projects-page .projects-section--collab {
  padding-top: clamp(20px, 3.5vw, 48px);
}

.projects-page .projects-section--collab + .projects-section {
  margin-top: var(--projects-gap-loose);
}

.projects-hero {
  padding-top: clamp(32px, 5vw, 56px);
  padding-bottom: clamp(48px, 7vw, 80px);
  text-align: center;
}

.projects-hero h1 {
  margin: 0 0 24px;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 300;
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: #000000;
}

.projects-lead {
  margin: 0 auto;
  max-width: 520px;
  font-size: 14px;
  line-height: 1.72;
  color: #4a4a4a;
}

.projects-lead p {
  margin: 0 0 14px;
}

.projects-lead p:last-child {
  margin-bottom: 0;
}

.projects-section h2 {
  margin: 0 0 28px;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #000000;
}

.projects-page .projects-section--approach h2,
.projects-page .projects-section--wide h2,
.projects-page .projects-section--collab h2,
.projects-page .projects-contact h2 {
  margin-bottom: var(--projects-heading-space);
}

.projects-page .projects-prose {
  line-height: 1.82;
}

.projects-page .projects-prose p {
  margin-bottom: clamp(14px, 2vw, 18px);
}

.projects-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.projects-list li {
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 14px;
  line-height: 1.55;
  color: #333333;
}

.projects-list li:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.projects-list li::before {
  content: '— ';
  color: #8a8a8a;
}

.projects-prose {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #4a4a4a;
}

.projects-prose p {
  margin: 0 0 14px;
}

.projects-prose p:last-child {
  margin-bottom: 0;
}

.projects-page .projects-prose p:last-child {
  margin-bottom: 0;
}

.projects-audience-intro {
  margin: 0 0 clamp(48px, 6.5vw, 72px);
  max-width: 580px;
  font-size: 14px;
  line-height: 1.82;
  color: #4a4a4a;
}

.projects-audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(40px, 6vw, 72px);
  row-gap: 0;
}

.projects-audience-item {
  margin: 0;
  padding: clamp(22px, 3.2vw, 30px) 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.projects-audience-item:last-child,
.projects-audience-item:nth-last-child(2):nth-child(odd) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.projects-audience-name {
  margin: 0 0 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: #1a1a1a;
}

.projects-audience-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.72;
  color: #6a6a6a;
}

.projects-contact {
  padding-top: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(96px, 14vw, 160px);
  text-align: center;
}

.projects-contact .projects-prose {
  max-width: 480px;
  margin: 0 auto clamp(22px, 3vw, 28px);
}

.projects-email {
  display: inline-block;
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.5;
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.projects-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 36px;
  border: none;
  background: #0a0a0a;
  color: #f7f7f7;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: lowercase;
  cursor: pointer;
  transition: background-color 180ms ease;
}

.projects-btn:hover {
  background: #1a1a1a;
  color: #ffffff;
}

.projects-btn:focus-visible {
  outline: 1px solid rgba(17, 17, 17, 0.55);
  outline-offset: 3px;
}

.projects-cta-wrap {
  margin: 32px 0 0;
}

.projects-contact .projects-cta-wrap {
  margin-top: 0;
}

/* Средние экраны: текст не заходит на левые/правые декоративные пятна */
@media (min-width: 701px) and (max-width: 1320px) {
  .projects-page {
    --projects-text-inset: clamp(56px, 14vw, 168px);
  }

  .projects-page .projects-section--approach,
  .projects-page .projects-section--wide {
    margin-left: var(--projects-text-inset);
    margin-right: clamp(20px, 4vw, 40px);
    max-width: min(720px, calc(100% - var(--projects-text-inset) - 24px));
  }

  .projects-page .projects-section--wide {
    max-width: min(900px, calc(100% - var(--projects-text-inset) - 24px));
  }

  .projects-atmosphere--approach {
    top: 22%;
    width: clamp(140px, 22vw, 260px);
    transform: translate(-62%, -50%);
    animation: none;
  }

  .projects-page .projects-section--collab {
    margin-left: clamp(20px, 4vw, 40px);
    margin-right: clamp(72px, 18vw, 200px);
    max-width: min(720px, calc(100% - clamp(72px, 18vw, 200px) - 24px));
  }

  .projects-atmosphere--collab {
    top: 0;
    width: clamp(480px, 72vw, 900px);
    transform: translate(38%, -22%);
    animation: none;
  }
}

@media (max-width: 700px) {
  .projects-page {
    --projects-gap: clamp(64px, 14vw, 88px);
    --projects-gap-loose: clamp(72px, 16vw, 104px);
    --projects-heading-space: clamp(24px, 5vw, 32px);
  }

  .projects-page .projects-section--approach {
    padding-left: clamp(36px, 11vw, 60px);
    padding-right: clamp(18px, 5vw, 28px);
    padding-bottom: clamp(12px, 3vw, 24px);
  }

  .projects-page .projects-section--wide {
    padding-left: clamp(32px, 10vw, 52px);
    padding-right: clamp(18px, 5vw, 28px);
    padding-bottom: clamp(16px, 4vw, 32px);
  }

  .projects-page .projects-section--wide + .projects-section--collab {
    margin-top: clamp(88px, 22vw, 128px);
  }

  .projects-page .projects-section--collab {
    padding-left: clamp(18px, 5vw, 28px);
    padding-right: clamp(18px, 5vw, 28px);
    padding-top: clamp(56px, 20vw, 96px);
  }

  .projects-page .projects-contact {
    padding-left: clamp(24px, 6vw, 36px);
    padding-right: clamp(24px, 6vw, 36px);
    padding-top: clamp(16px, 4vw, 32px);
    padding-bottom: clamp(72px, 16vw, 112px);
  }

  .projects-audience-intro {
    margin-bottom: clamp(36px, 8vw, 48px);
  }

  .projects-audience {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .projects-audience-item:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
  }

  .projects-audience-item:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .projects-audience-item {
    padding: clamp(18px, 4.5vw, 24px) 0;
  }

  .projects-atmosphere--approach {
    top: 6%;
    width: clamp(180px, 52vw, 280px);
    transform: translate(-52%, -28%);
    animation: none;
  }

  .projects-atmosphere--collab {
    top: -14%;
    width: clamp(600px, 165vw, 900px);
    transform: translate(46%, -21%);
    animation: none;
  }

  .projects-atmosphere--contact {
    top: 58%;
    left: auto;
    right: calc(50% - 50vw);
    width: clamp(160px, 48vw, 260px);
    transform: translate(22%, -42%);
    animation: none;
  }
}

/* —— Страница «О бренде» — editorial essay —— */
.about-main {
  position: relative;
  width: 100%;
  background: #ffffff;
  overflow-x: clip;
}

.about-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.about-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 48px);
  overflow: visible;
}

.about-section {
  position: relative;
  isolation: isolate;
}

.about-section--opening {
  padding-top: clamp(48px, 7vw, 80px);
  padding-bottom: clamp(120px, 18vw, 220px);
}

.about-section + .about-section {
  margin-bottom: clamp(100px, 14vw, 180px);
}

.about-title {
  margin: 0 0 clamp(36px, 6vw, 56px);
  max-width: 14em;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 300;
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: #000000;
}

.about-opening {
  margin: 0;
  max-width: 420px;
  font-size: 14px;
  line-height: 1.78;
  color: #4a4a4a;
}

.about-section--statement-pair {
  max-width: 640px;
}

.about-block {
  position: relative;
  z-index: 1;
}

.about-block--right {
  margin-left: auto;
  max-width: 440px;
  width: min(100%, 54%);
}

.about-block--left {
  max-width: 460px;
  width: min(100%, 52%);
}

.about-block--narrow {
  max-width: 420px;
  margin: 0 auto;
}

.about-fragments {
  font-size: 14px;
  line-height: 1.78;
  color: #4a4a4a;
}

.about-fragments p {
  margin: 0 0 8px;
}

.about-fragments p:last-child {
  margin-bottom: 0;
}

.about-fragments-gap {
  margin-top: 22px !important;
  margin-bottom: 8px !important;
}

.about-statement {
  margin: 0;
  max-width: 16em;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 300;
  font-size: clamp(32px, 4.8vw, 56px);
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: #000000;
}

.about-statement--secondary {
  max-width: 18em;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.about-follow {
  max-width: 360px;
  font-size: 14px;
  line-height: 1.78;
  color: #4a4a4a;
}

.about-follow p {
  margin: 0 0 8px;
}

.about-follow p:last-child {
  margin-bottom: 0;
}

.about-mark {
  position: absolute;
  display: block;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: multiply;
  filter: blur(1px);
  opacity: 0.2;
}

.about-mark--1 {
  left: calc(50% - 50vw);
  top: 18%;
  width: clamp(160px, 26vw, 340px);
  transform: translate(48%, 0);
}

.about-mark--2 {
  right: calc(50% - 50vw);
  top: 36%;
  width: clamp(170px, 28vw, 360px);
  transform: translate(-52%, 0);
}

.about-mark--3 {
  left: calc(50% - 50vw);
  top: 58%;
  width: clamp(150px, 24vw, 320px);
  transform: translate(-16%, 0);
}

.about-mark--4 {
  right: calc(50% - 50vw);
  bottom: 8%;
  width: clamp(140px, 22vw, 300px);
  transform: translate(20%, 0);
}

.about-section--finale {
  padding: clamp(48px, 8vw, 80px) 0 clamp(100px, 14vw, 160px);
  text-align: center;
}

.about-finale-logo {
  display: inline-block;
  line-height: 0;
  margin: 0 0 20px;
}

.about-finale-logo-img {
  display: block;
  width: clamp(152px, 16vw, 184px);
  height: auto;
}

.about-finale-lead,
.about-finale-en {
  transform: translateX(-2%);
}

.about-finale-lead {
  margin: 0 auto 10px;
  width: fit-content;
  max-width: 100%;
  font-size: 14px;
  line-height: 1.65;
  text-align: center;
  color: #4a4a4a;
}

.about-finale-en {
  margin: 0 auto clamp(36px, 5vw, 48px);
  width: fit-content;
  max-width: 100%;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;
  color: #8a8a8a;
}

.about-cta-wrap {
  margin: 0;
  transform: translateX(-0.5%);
}

.about-cta {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 5px;
  transition: opacity 0.2s ease;
}

.about-cta:hover {
  opacity: 0.55;
}

/* Десктоп и планшет: первый фрагмент, цитата и левое пятно — выше на 60% */
@media (min-width: 769px) {
  .about-page .about-section--opening {
    padding-bottom: clamp(48px, 7.2vw, 88px);
  }

  .about-page .about-section--opening + .about-section {
    margin-bottom: clamp(40px, 5.6vw, 72px);
  }

  .about-page .about-section--opening + .about-section + .about-section--statement {
    margin-bottom: clamp(100px, 14vw, 180px);
  }

  .about-page .about-mark--1 {
    top: 8.4%;
    transform: translate(38%, 0);
  }
}

@media (max-width: 768px) {
  .about-page .about-stage {
    padding-left: clamp(28px, 6vw, 40px);
    padding-right: clamp(28px, 6vw, 40px);
  }

  .about-page .about-section--opening {
    padding-bottom: clamp(88px, 20vw, 140px);
  }

  .about-page .about-section + .about-section {
    margin-bottom: clamp(80px, 18vw, 128px);
  }

  .about-page .about-block--right {
    width: auto;
    max-width: min(100%, 240px);
    margin-left: clamp(128px, 36vw, 164px);
    margin-right: 0;
    padding-left: clamp(8px, 2vw, 12px);
    padding-right: 0;
  }

  .about-page .about-block--right .about-fragments {
    line-height: 1.52;
  }

  .about-page .about-block--right .about-fragments p {
    margin-bottom: 4px;
  }

  .about-page .about-block--right .about-fragments-gap {
    margin-top: 12px !important;
    margin-bottom: 4px !important;
  }

  .about-page .about-block--left {
    width: 100%;
    max-width: min(100%, 300px);
    margin-left: 0;
    padding-right: clamp(24px, 12vw, 56px);
  }

  .about-page .about-block--narrow {
    width: 100%;
    max-width: min(100%, 300px);
    margin: 0 auto;
    padding: 0 clamp(8px, 3vw, 16px);
  }

  .about-page .about-section--statement-pair {
    max-width: none;
    padding-right: clamp(16px, 8vw, 40px);
  }

  .about-page .about-section--statement {
    padding-left: clamp(8px, 4vw, 20px);
    padding-right: clamp(20px, 10vw, 48px);
  }

  .about-page .about-statement {
    max-width: none;
    font-size: clamp(28px, 7.8vw, 40px);
    line-height: 1.14;
  }

  .about-page .about-fragments,
  .about-page .about-follow {
    line-height: 1.72;
  }

  .about-page .about-fragments p,
  .about-page .about-follow p {
    margin-bottom: 6px;
  }

  .about-page .about-fragments-gap {
    margin-top: 16px !important;
  }

  .about-page .about-mark--1 {
    top: 10%;
    width: clamp(130px, 38vw, 280px);
    opacity: 0.17;
    transform: translate(8%, 0);
  }

  .about-page .about-mark--2 {
    top: 30%;
    width: clamp(140px, 40vw, 300px);
    opacity: 0.17;
    transform: translate(-20%, 0);
  }

  .about-page .about-mark--3 {
    top: 52%;
    width: clamp(120px, 36vw, 260px);
    opacity: 0.17;
    transform: translate(-48%, 0);
  }

  .about-page .about-mark--4 {
    bottom: 3%;
    width: clamp(115px, 34vw, 240px);
    opacity: 0.17;
    transform: translate(32%, 0);
  }
}

/* —— Cookie-баннер —— */
.cookie-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1200;
  padding: clamp(16px, 3vw, 24px);
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.cookie-banner--hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 32px);
  max-width: 1080px;
  margin: 0 auto;
}

.cookie-banner__text {
  margin: 0;
  max-width: 720px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #4a4a4a;
}

.cookie-banner__text a {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(17, 17, 17, 0.2);
  border-radius: 0;
  background: transparent;
  color: #000000;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.cookie-banner__btn--accept {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #ffffff;
}

.cookie-banner__btn--accept:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
}

.cookie-banner__btn--reject:hover {
  background: rgba(17, 17, 17, 0.04);
  border-color: rgba(17, 17, 17, 0.35);
}

@media (max-width: 768px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__btn {
    flex: 1 1 auto;
    min-width: 0;
  }
}

/* Checkout v2 */
.checkout-page--v2 {
  --checkout-gap: 28px;
  --checkout-radius: 18px;
  --checkout-border: rgba(0, 0, 0, 0.07);
  --checkout-border-soft: rgba(0, 0, 0, 0.05);
  --checkout-muted: #737373;
  --checkout-focus: #0a0a0a;
  --checkout-error: #b42828;
  --checkout-success: #1f6b3a;
  --checkout-input-h: 52px;
  --checkout-surface: #fafafa;
}

body.product-page-body .checkout-page--v2 {
  padding: clamp(36px, 6vw, 64px) clamp(20px, 4vw, 48px) clamp(96px, 12vw, 140px);
}

body.product-page-body .checkout-page--v2 > .checkout-hero,
body.product-page-body .checkout-page--v2 > .checkout-layout--v2 {
  max-width: 1180px;
}

.checkout-page--v2 .checkout-hero {
  margin: 0 auto clamp(36px, 5vw, 52px);
}

.checkout-page--v2 .checkout-hero > h1 {
  margin: 0;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #000000;
}

.checkout-page--v2 .checkout-lead {
  margin: 14px 0 0;
  max-width: 38ch;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--checkout-muted);
}

.checkout-layout--v2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 40px 56px;
  align-items: start;
}

.checkout-page--v2 .checkout-form-col {
  display: flex;
  flex-direction: column;
  gap: var(--checkout-gap);
  min-width: 0;
}

.checkout-page--v2 .checkout-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.checkout-page--v2 .checkout-section-title {
  margin: 0 0 22px;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: clamp(24px, 2.8vw, 30px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.checkout-page--v2 .checkout-form .checkout-card {
  border: none;
  border-radius: 0;
  padding: 0 0 40px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--checkout-border-soft);
  background: transparent;
}

.checkout-page--v2 .checkout-form .checkout-card:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.checkout-page--v2 .checkout-summary.checkout-card {
  border: 1px solid var(--checkout-border);
  border-radius: var(--checkout-radius);
  padding: 32px 28px 36px;
  background: #fff;
}

.checkout-page--v2 .checkout-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.checkout-page--v2 .checkout-field {
  gap: 8px;
}

.checkout-page--v2 .checkout-form-grid {
  gap: 22px 20px;
}

.checkout-page--v2 .checkout-field--full { grid-column: 1 / -1; }

.checkout-page--v2 .checkout-input,
.checkout-page--v2 .checkout-textarea {
  min-height: var(--checkout-input-h);
  border: 1px solid rgba(0, 0, 0, 0.11);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.checkout-page--v2 .checkout-textarea {
  min-height: 108px;
  padding-top: 14px;
  line-height: 1.5;
}

.checkout-page--v2 .checkout-input::placeholder,
.checkout-page--v2 .checkout-textarea::placeholder {
  color: #b0b0b0;
}

.checkout-page--v2 .checkout-input:focus,
.checkout-page--v2 .checkout-textarea:focus {
  outline: none;
  border-color: #0a0a0a;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

.checkout-page--v2 .checkout-input:focus-visible,
.checkout-page--v2 .checkout-textarea:focus-visible,
.checkout-page--v2 .checkout-option-card:focus-within,
.checkout-page--v2 .checkout-summary-toggle:focus-visible,
.checkout-page--v2 .btn-place-order:focus-visible {
  outline: 2px solid var(--checkout-focus);
  outline-offset: 2px;
}

.checkout-page--v2 .checkout-field.is-invalid .checkout-input,
.checkout-page--v2 .checkout-field.is-invalid .checkout-textarea {
  border-color: var(--checkout-error);
}

.checkout-page--v2 .checkout-field-error {
  font-size: 12px;
  line-height: 1.4;
  color: var(--checkout-error);
}

.checkout-page--v2 .checkout-field-error--block {
  display: block;
  margin-top: 6px;
}

.checkout-page--v2 .checkout-help {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--checkout-border-soft);
  font-size: 13px;
  line-height: 1.65;
  color: var(--checkout-muted);
}

.checkout-page--v2 .checkout-section-title + .checkout-help {
  margin: -6px 0 22px;
  padding-top: 0;
  border-top: none;
}

.checkout-page--v2 .checkout-consent-warning {
  margin-bottom: 4px;
  padding: 14px 16px;
  border: 1px solid var(--checkout-border-soft);
  border-radius: 12px;
  background: var(--checkout-surface);
  font-size: 13px;
  line-height: 1.55;
  color: #555;
}

.checkout-page--v2 .checkout-consents {
  margin-top: 4px;
  gap: 14px;
}

.checkout-page--v2 .consent-row {
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.checkout-page--v2 .checkout-option-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 560px) {
  .checkout-page--v2 .checkout-option-grid:not(.checkout-option-grid--payment) {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 480px) {
  .checkout-page--v2 .checkout-option-grid--payment {
    grid-template-columns: 1fr 1fr;
  }
}

.checkout-page--v2 .checkout-option-card {
  display: block;
  position: relative;
  cursor: pointer;
  height: 100%;
}

.checkout-page--v2 .checkout-option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkout-page--v2 .checkout-option-body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  height: 100%;
  min-height: calc(var(--checkout-input-h) + 12px);
  padding: 18px 18px 18px 50px;
  border: 1px solid var(--checkout-border);
  border-radius: 14px;
  background: #fff;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.checkout-page--v2 .checkout-option-body::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: border-color 180ms ease;
}

.checkout-page--v2 .checkout-option-card input:checked + .checkout-option-body::after {
  content: '';
  position: absolute;
  left: 23px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0a0a0a;
  transform: translateY(-50%);
}

.checkout-page--v2 .checkout-option-card:hover .checkout-option-body {
  border-color: rgba(0, 0, 0, 0.16);
}

.checkout-page--v2 .checkout-option-card input:checked + .checkout-option-body {
  border-color: #0a0a0a;
  background: var(--checkout-surface);
  box-shadow: none;
}

.checkout-page--v2 .checkout-option-card input:checked + .checkout-option-body::before {
  border-color: #0a0a0a;
}

.checkout-page--v2 .checkout-option-name {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.checkout-page--v2 .checkout-option-meta {
  font-size: 12px;
  line-height: 1.45;
  color: var(--checkout-muted);
}

.checkout-page--v2 .checkout-suggest-wrap { position: relative; }

.checkout-page--v2 .checkout-suggest-list {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  border: 1px solid var(--checkout-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
  max-height: 280px;
  overflow: auto;
}

.checkout-page--v2 .checkout-suggest-item {
  padding: 12px 16px;
  cursor: pointer;
}

.checkout-page--v2 .checkout-suggest-item.is-active,
.checkout-page--v2 .checkout-suggest-item:hover {
  background: var(--checkout-surface);
}

.checkout-page--v2 .checkout-suggest-title {
  display: block;
  font-size: 14px;
  line-height: 1.35;
}

.checkout-page--v2 .checkout-suggest-subtitle {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--checkout-muted);
}

.checkout-page--v2 .checkout-suggest-status {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--checkout-muted);
}

.checkout-page--v2 .checkout-suggest-status[data-state='error'] {
  color: var(--checkout-error);
}

.checkout-page--v2 .checkout-map-wrap {
  margin-top: 20px;
}

.checkout-page--v2 .checkout-map {
  width: 100%;
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--checkout-border);
}

.checkout-page--v2 .checkout-map-hint {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--checkout-muted);
}

.checkout-page--v2 .checkout-address-details {
  margin-top: 22px;
}

.checkout-page--v2 .checkout-cdek-widget {
  width: 100%;
  min-height: 620px;
  height: 620px;
  border-radius: 14px;
  overflow: hidden;
}

.checkout-page--v2 .checkout-cdek-selected,
.checkout-page--v2 .checkout-city-selected {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--checkout-border);
  border-radius: 14px;
  background: var(--checkout-surface);
}

.checkout-page--v2 .checkout-cdek-selected {
  color: #111;
  font-size: 13px;
  line-height: 1.5;
}

.checkout-page--v2 .checkout-city-selected-title {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #111;
}

.checkout-page--v2 .checkout-city-selected-subtitle {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--checkout-muted);
}

.checkout-page--v2 .checkout-row {
  border: none;
  border-radius: 0;
  padding: 18px 0;
  background: transparent;
  border-bottom: 1px solid var(--checkout-border-soft);
}

.checkout-page--v2 #checkoutItems .checkout-row:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}

.checkout-page--v2 .checkout-name {
  font-size: 19px;
  font-weight: 400;
}

.checkout-page--v2 .checkout-price {
  font-size: 14px;
  font-weight: 500;
  color: #111;
}

.checkout-page--v2 .checkout-summary {
  position: sticky;
  top: 28px;
}

.checkout-page--v2 .checkout-summary-title-desktop {
  margin-bottom: 24px;
}

.checkout-page--v2 .checkout-summary-toggle {
  display: none;
  width: 100%;
  min-height: var(--checkout-input-h);
  padding: 16px 20px;
  border: 1px solid var(--checkout-border);
  border-radius: var(--checkout-radius);
  background: #fff;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.checkout-page--v2 .checkout-summary-toggle-total {
  font-weight: 500;
  white-space: nowrap;
}

.checkout-page--v2 .checkout-totals {
  margin: 20px 0 0;
  padding-top: 4px;
}

.checkout-page--v2 .checkout-totals-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.4;
  color: #444;
}

.checkout-page--v2 .checkout-totals-row dt,
.checkout-page--v2 .checkout-totals-row dd { margin: 0; }

.checkout-page--v2 .checkout-totals-row dd {
  color: #111;
}

.checkout-page--v2 .checkout-totals-row--discount dd { color: var(--checkout-success); }

.checkout-page--v2 .checkout-totals-row--total {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--checkout-border);
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 500;
  font-size: 22px;
  color: #000;
}

.checkout-page--v2 .checkout-totals-row--total dt,
.checkout-page--v2 .checkout-totals-row--total dd {
  color: #000;
}

.checkout-page--v2 .checkout-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.checkout-page--v2 .checkout-note {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--checkout-muted);
}

.checkout-page--v2 .btn-place-order {
  width: 100%;
  margin-top: 24px;
  min-height: 54px;
  border-radius: 0;
  cursor: pointer;
  letter-spacing: 0.04em;
}

.checkout-page--v2 .btn-place-order.is-loading {
  opacity: 0.72;
  cursor: wait;
}

.checkout-page--v2 .btn-place-order--mobile {
  display: none;
  margin-top: 28px;
}

.checkout-page--v2 .checkout-error {
  margin-top: 8px;
  border-radius: 12px;
}

.checkout-page--v2 .checkout-submit-status {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--checkout-muted);
}

.checkout-page--v2 .checkout-success {
  padding: 32px 28px;
  border: 1px solid rgba(31, 107, 58, 0.22);
  background: #f4faf6;
}

.checkout-page--v2 .checkout-success-title {
  margin: 0 0 12px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--checkout-success);
}

.checkout-page--v2 .checkout-success-lead,
.checkout-page--v2 .checkout-success-order,
.checkout-page--v2 .checkout-success-note {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--checkout-text);
}

.checkout-page--v2 .checkout-success-order strong {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.checkout-page--v2 .checkout-success-note {
  color: var(--checkout-muted);
  font-size: 14px;
}

.checkout-page--v2 .checkout-success-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 8px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--checkout-accent);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.checkout-page--v2 .checkout-success-btn:hover {
  background: #222;
}

.checkout-page--v2 .checkout-success-sidebar {
  margin: 0;
  padding: 16px 0 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--checkout-text);
}

.checkout-order-complete .checkout-summary-toggle {
  pointer-events: none;
}

@media (max-width: 900px) {
  .checkout-layout--v2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .checkout-page--v2 .checkout-hero {
    margin-bottom: 28px;
  }

  .checkout-page--v2 .checkout-summary.checkout-card {
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
  }

  .checkout-page--v2 .checkout-summary {
    order: -1;
    position: static;
  }

  .checkout-page--v2 .checkout-summary-toggle { display: flex; }

  .checkout-page--v2 .checkout-summary-title-desktop,
  .checkout-page--v2 .btn-place-order--desktop,
  .checkout-page--v2 .checkout-note--desktop { display: none; }

  .checkout-page--v2 .checkout-summary-panel {
    margin-top: 12px;
    padding: 20px 18px 24px;
    border: 1px solid var(--checkout-border);
    border-radius: var(--checkout-radius);
    background: #fff;
  }

  .checkout-page--v2 .btn-place-order--mobile {
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }

  .checkout-page--v2 .checkout-form .checkout-card {
    padding-bottom: 32px;
    margin-bottom: 4px;
  }
}

@media (max-width: 700px) {
  .checkout-page--v2 .checkout-form-grid { grid-template-columns: 1fr; }

  .checkout-page--v2 .checkout-option-grid:not(.checkout-option-grid--payment),
  .checkout-page--v2 .checkout-option-grid--payment {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .checkout-page--v2 .checkout-option-body,
  .checkout-page--v2 .checkout-input,
  .checkout-page--v2 .checkout-textarea,
  .checkout-page--v2 .btn-place-order { transition: none; }
}

/* —— 404 —— */
body.not-found-page {
  background: #faf8f3;
}

.not-found-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 180px);
  padding: 48px 24px 72px;
}

.not-found-inner {
  max-width: 520px;
  text-align: center;
}

.not-found-code {
  margin: 0 0 12px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(72px, 14vw, 120px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.08em;
  color: rgba(17, 17, 17, 0.12);
}

.not-found-title {
  margin: 0 0 16px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  color: #111111;
}

.not-found-lead {
  margin: 0 0 32px;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(17, 17, 17, 0.62);
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
}

.not-found-page .not-found-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  background: #141414;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease;
}

.not-found-page .not-found-btn:hover {
  background: #242424;
  color: #ffffff;
}

.not-found-link {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  color: rgba(17, 17, 17, 0.62);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.not-found-link:hover {
  color: #111111;
}

.site-footer--compact {
  margin-top: auto;
}

.site-footer-bar--solo {
  justify-content: center;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  padding-top: 20px;
}
