:root {
  --bg: #ffffff;
  --bg-soft: #fafaf9;
  --ink: #151515;
  --ink-soft: #6d6d6d;
  --ink-faint: #a3a3a3;
  --line: #ececec;
  --line-strong: #dcdcdc;
  --green: #2f9e5f;
  --amber: #cf9512;
  --danger: #b3403a;
  --radius: 3px;
  --max: 1400px;
  --font: 'Inter', 'Helvetica Neue', Helvetica, Arial, 'Noto Sans Armenian', 'Noto Sans', sans-serif;
  --header-h: 116px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* --------------------------------- header -------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.utility {
  background: linear-gradient(90deg, rgba(10, 10, 10, 0) 0%, #0a0a0a 7%, #0a0a0a 93%, rgba(10, 10, 10, 0) 100%);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 9px 20px;
}

.utility-group {
  display: flex;
  align-items: center;
  gap: 9px;
}

.switcher {
  display: flex;
  align-items: center;
  gap: 2px;
}

.utility-label {
  color: rgba(255, 255, 255, 0.72);
  margin-right: 0;
  letter-spacing: 0.14em;
}

.switcher button {
  background: none;
  border: 0;
  padding: 3px 5px;
  color: var(--ink-faint);
  font-size: 10px;
  letter-spacing: 0.14em;
  transition: color 0.15s;
}

.switcher button:hover { color: var(--ink); }
.switcher button.is-active { color: var(--ink); font-weight: 600; }

.switcher-card {
  background: #fff;
  border-radius: 7px;
  padding: 2px 7px;
}

.lang-flag {
  width: 18px;
  height: 18px;
  margin-left: 5px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
}

.lang-flag img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dreams-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid #fff;
  border-radius: 999px;
  padding: 4px 12px;
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: border-color 0.15s, color 0.15s;
}

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

.dreams-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
}

.brand {
  max-width: var(--max);
  margin: 0 auto;
  padding: 15px 20px 13.5px;
  text-align: center;
}

.brand-name {
  display: block;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(27.4px, 6.34vw, 38.9px);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-indent: 0.03em;
  text-transform: uppercase;
}

.brand-sub {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: clamp(9.6px, 2.28vw, 11.4px);
  font-weight: 300;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
}

/* ---------------------------------- tabs ---------------------------------- */

.tabs {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: 26px 0 0;
  border-bottom: 1px solid var(--line);
}

body.stock-open .tabs { border-bottom-color: transparent; }

.tab {
  margin-bottom: -1px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-bottom: 1px solid transparent;
  border-radius: 9px 9px 0 0;
  background: #ebebeb;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  text-transform: uppercase;
  transition: background 0.15s, color 0.15s, opacity 0.15s;
}

.tab-preorder.is-active {
  background: #fff;
  border-color: var(--line);
  border-bottom-color: #fff;
  color: var(--ink);
}

.tab-stock {
  background: #0a0a0a;
  border-color: #0a0a0a;
  border-bottom-color: #0a0a0a;
  color: #fff;
}

.tab-stock:not(.is-active) { opacity: 0.5; }
.tab-stock.is-active { opacity: 1; }

.tab-stock-word {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-style: italic;
  letter-spacing: 0.06em;
}

.stock-panel {
  margin: 0 calc(50% - 50vw);
  padding: 74px 20px 84px;
  background: #0a0a0a;
  color: #f4f4f4;
}

.stock-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dive-link {
  color: #fff;
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  font-size: clamp(30px, 7vw, 50px);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
  line-height: 1;
  transition: opacity 0.15s;
  animation: dive-in 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.dive-link:hover { opacity: 0.72; }

.dive-arrow {
  width: 18px;
  height: 12px;
  margin-top: 14px;
  color: rgba(244, 244, 244, 0.8);
  animation: dive-in-soft 0.7s 0.15s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.stock-question {
  margin: 16px 0 0;
  color: rgba(244, 244, 244, 0.72);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-align: center;
  animation: dive-in-soft 0.7s 0.3s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

@keyframes dive-in {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dive-in-soft {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 0.8; transform: translateY(0); }
}

/* --------------------------------- catalog -------------------------------- */

main { padding-bottom: 72px; }

.catalog-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}

.catalog-bar h1 {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.catalog-count {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

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

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

@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 22px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card { position: relative; display: flex; flex-direction: column; }

.card-cover {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.card:hover .card-cover img { transform: scale(1.035); }

.no-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--ink-faint);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.status-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9);
  cursor: help;
}

.status-dot.is-incoming { background: var(--amber); }

/* rare badge */
.card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  padding: 4px 9px;
  background: #d21f26;
  color: #fff;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s cubic-bezier(0.2, 0.6, 0.2, 1);
  pointer-events: none;
}
.card:hover .card-badge { transform: scale(1.12); }

/* when a rare badge occupies the top-right, move the status dot to the left */
.card-cover.has-badge .status-dot { right: auto; left: 10px; }
.card-cover.has-badge .status-dot::after { right: auto; left: -4px; }

.gallery-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
  padding: 5px 11px;
  background: #d21f26;
  color: #fff;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.gallery-main:hover .gallery-badge { transform: scale(1.12); }

.status-dot::after {
  content: attr(data-label);
  position: absolute;
  top: 15px;
  right: -4px;
  z-index: 5;
  padding: 5px 9px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: none;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-3px);
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s;
}

.status-dot:hover::after,
.status-dot:focus-visible::after { opacity: 1; transform: translateY(0); }

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 11px 2px 0;
}

.card-name {
  margin: 0;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 1.4;
}

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

.card-price {
  margin: 4px 0 12px;
  color: var(--ink-soft);
  font-size: 11.5px;
  letter-spacing: 0.03em;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

.thin-btn {
  flex: 1;
  background: none;
  border: 0;
  padding: 3px 0;
  color: var(--ink-faint);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  transition: color 0.15s;
}

.thin-btn:hover { color: var(--ink); }
.thin-btn.is-active { color: var(--ink); font-weight: 500; }
.thin-btn + .thin-btn { border-left: 1px solid var(--line); }

@media (hover: none) {
  .status-dot::after { display: none; }
}

/* --------------------------------- lot page -------------------------------- */

.lot-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 22px 0 18px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lot-back:hover { color: var(--ink); }

.lot {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  padding-bottom: 30px;
}

@media (min-width: 900px) {
  .lot { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 54px; align-items: start; }
  .lot-gallery { position: sticky; top: 140px; }
  .gallery-main { max-height: min(78vh, 760px); }
}

.gallery-main {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  touch-action: pan-y;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.2s, color 0.15s, border-color 0.15s;
}

.gallery-main:hover .gallery-arrow { opacity: 1; }
.gallery-arrow:hover { color: var(--ink); border-color: var(--ink); }
.gallery-arrow.prev { left: 12px; }
.gallery-arrow.next { right: 12px; }
.gallery-arrow[hidden] { display: none; }

.gallery-counter {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.gallery-thumbs::-webkit-scrollbar { display: none; }

.gallery-thumbs button {
  flex: 0 0 auto;
  width: 62px;
  height: 74px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  overflow: hidden;
  opacity: 0.55;
  transition: opacity 0.15s, border-color 0.15s;
}

.gallery-thumbs button.is-active { opacity: 1; border-color: var(--ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

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

.gallery-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line-strong);
  transition: background 0.15s, transform 0.15s;
}

.gallery-dots span.is-active { background: var(--ink); transform: scale(1.35); }

@media (min-width: 900px) { .gallery-dots { display: none; } }
@media (max-width: 899px) { .gallery-thumbs { display: none; } }

.lot-info { padding-top: 2px; }

.lot-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lot-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.lot-status.is-incoming i { background: var(--amber); }

.lot-title {
  margin: 0;
  font-size: clamp(21px, 4vw, 27px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.28;
}

.lot-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  margin-top: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lot-price {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.ask-now {
  background: none;
  border: 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
  transition: color 0.15s, text-decoration-color 0.15s;
}

.ask-now:hover { color: var(--ink); text-decoration-color: var(--ink); }

.lot-section { margin-top: 26px; }

.lot-section h2 {
  margin: 0 0 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.lot-description {
  margin: 0;
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.72;
  white-space: pre-line;
}

.lot-description + .lot-description { margin-top: 12px; }

.lot-desc-h {
  margin: 22px 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.lot-desc-li {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.72;
}

.lot-desc-li strong { font-weight: 600; }

.lot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: none;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.18s, color 0.18s, border-color 0.18s, opacity 0.18s;
}

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-ghost:hover { background: var(--bg-soft); }
.btn:disabled { opacity: 0.35; cursor: default; }
.btn.is-active { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }

.link-btn {
  background: none;
  border: 0;
  padding: 6px 0;
  color: var(--ink-faint);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-btn:hover { color: var(--danger); }

/* ------------------------------- dreams panel ------------------------------ */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  justify-content: flex-end;
  background: rgba(20, 20, 20, 0.28);
  opacity: 0;
  transition: opacity 0.24s;
}

.overlay.is-open { opacity: 1; }
.overlay[hidden] { display: none; }

.dreams-panel {
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  height: 100%;
  background: var(--bg);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 0.26s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.overlay.is-open .dreams-panel { transform: translateX(0); }

.dreams-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.dreams-head h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.icon-btn {
  background: none;
  border: 0;
  padding: 2px 6px;
  color: var(--ink-faint);
  font-size: 20px;
  line-height: 1;
}

.icon-btn:hover { color: var(--ink); }

.dreams-list {
  flex: 1;
  overflow-y: auto;
  padding: 6px 20px;
}

.dreams-empty {
  padding: 34px 0;
  color: var(--ink-faint);
  font-size: 12.5px;
  text-align: center;
}

.dreams-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.dreams-thumb {
  width: 52px;
  height: 62px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

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

.dreams-name {
  font-size: 12.5px;
  line-height: 1.45;
}

.dreams-name:hover { text-decoration: underline; text-underline-offset: 3px; }

.dreams-foot {
  padding: 18px 20px 24px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.hint {
  margin: 12px 0 0;
  color: var(--ink-faint);
  font-size: 11px;
  line-height: 1.5;
}

.hint.is-success { color: var(--green); }

#manualCopy { margin-top: 12px; }

#manualCopy textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 11.5px;
  line-height: 1.5;
  resize: vertical;
}

#manualCopy .btn { margin-top: 10px; width: 100%; }

.dreams-foot .link-btn { margin-top: 14px; }

/* ---------------------------------- toast --------------------------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 80;
  transform: translate(-50%, 12px);
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

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

/* ---------------------------------- misc ---------------------------------- */

.empty-state {
  padding: 70px 0;
  color: var(--ink-faint);
  font-size: 13px;
  text-align: center;
}

.skeleton {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(100deg, var(--bg-soft) 40%, #f2f2f1 50%, var(--bg-soft) 60%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer { to { background-position: -200% 0; } }

@media (max-width: 560px) {
  .utility-inner { padding: 8px 14px; }
  .utility-label { display: none; }
  .wrap { padding: 0 14px; }
  .brand { padding: 12px 14px 10.5px; }
  .grid { gap: 22px 12px; }
  .card-name { font-size: 12px; }
  .card-price { font-size: 11px; }
  .thin-btn { font-size: 8.6px; letter-spacing: 0.1em; }
  .lot-actions .btn { flex: 1 1 100%; }
  .toast { max-width: calc(100% - 28px); white-space: normal; text-align: center; }
}

/* ---------------------------------- footer -------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 30px 20px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}

.footer-social a:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.2);
  filter: brightness(1.07);
}

.footer-social a.soc-site { background: none; padding: 0; }
.footer-social a.soc-vk { background: none; padding: 0; }
.footer-social a.soc-tg { background: #2aabee; }
.footer-social a.soc-avito { background: #fff; }

.footer-social .soc-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.footer-social a.soc-avito .soc-img {
  width: 27px;
  height: 27px;
  border-radius: 6px;
  object-fit: contain;
}

.footer-social svg { width: 22px; height: 22px; }

.footer-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-note {
  margin: 0;
  color: var(--ink-faint);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  text-transform: uppercase;
}

/* ------------------------------ work footer ------------------------------- */

.work-footer {
  background: #0a0a0a;
  color: #fff;
  overflow: hidden;
}

.work-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.work-footer-title {
  margin: 0;
  font-size: clamp(18px, 3.6vw, 38px);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-transform: uppercase;
  text-align: center;
  opacity: 0.12;
  transform: translateY(26px);
  transition: opacity 0.25s linear, transform 0.25s linear;
  will-change: opacity, transform;
}

.work-footer-photo {
  width: min(420px, 82vw);
  opacity: 0;
  transform: translateY(72px);
  transition: opacity 0.3s linear, transform 0.3s linear;
  will-change: opacity, transform;
}

.work-footer-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.work-footer-line {
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 14px 20px 18px;
  text-align: center;
}

.work-footer-line p {
  margin: 0;
  color: #fff;
  font-size: clamp(6.5px, 1.05vw, 10px);
  line-height: 1.5;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work-footer-line a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 640px) {
  .work-footer-inner { padding: 44px 16px 0; gap: 22px; }
  .work-footer-line p { white-space: normal; font-size: 9px; }
}

/* ---------------------------------- pages --------------------------------- */

.page { padding-top: 8px; }

.page-title {
  margin: 26px 0 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.avito-card {
  display: block;
  max-width: 420px;
  margin: 0 auto 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  text-align: center;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.avito-card:hover { border-color: var(--line-strong); box-shadow: 0 8px 26px rgba(0, 0, 0, 0.05); }

.avito-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.avito-mark {
  padding: 4px 10px;
  border-radius: 6px;
  background: #97e04c;
  color: #123c00;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.avito-score {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
}

.burst {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 98px;
  height: 98px;
  max-width: none;
  z-index: -1;
  object-fit: contain;
  filter: saturate(0.75);
  pointer-events: none;
  animation: burst-in 0.65s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

@keyframes burst-in {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.5) rotate(-15deg); }
  to { opacity: 0.5; transform: translate(-50%, -50%) scale(1) rotate(10deg); }
}

.stars {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.star { position: relative; display: inline-block; width: 19px; height: 19px; }
.star svg { position: absolute; inset: 0; width: 19px; height: 19px; }
.star .base { color: #e6e6e6; fill: currentColor; }
.star .fill { position: absolute; inset: 0; overflow: hidden; }
.star .fill svg { position: static; color: #f6c700; fill: currentColor; }

.avito-reviews { margin: 10px 0 0; color: var(--ink-soft); font-size: 12.5px; }
.avito-cta {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
}

#managerLink { max-width: 420px; margin: 0 auto 30px; display: flex; }

.contact-links { max-width: 420px; margin: 0 auto; }

.contact-links h2 {
  margin: 0 0 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.contact-links ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }

.contact-links li { padding: 13px 2px; border-bottom: 1px solid var(--line); }

.contact-links a {
  font-size: 13px;
  font-weight: 500;
}

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

.contact-links small { display: block; margin-top: 3px; color: var(--ink-faint); font-size: 11.5px; }

/* --------------------------------- location -------------------------------- */

.metro-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 24px 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.metro-head { display: flex; align-items: center; gap: 13px; }

.metro-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #0078be;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

.metro-station { margin: 0; font-size: 14px; font-weight: 600; }
.metro-line { margin: 2px 0 0; color: #0078be; font-size: 11.5px; letter-spacing: 0.04em; }

.metro-scheme { width: 100%; margin: 18px 0 6px; }
.metro-scheme text { font-family: var(--font); font-size: 9px; fill: var(--ink-faint); }
.metro-scheme text.is-current { fill: var(--ink); font-weight: 600; font-size: 10px; }
.metro-scheme text.at-mark { fill: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; }

.address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 500;
}

.at-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 22px;
  padding: 0 5px;
  border-radius: 5px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.location-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* ------------------------------ color chooser ------------------------------ */

.lot-colors { margin: 16px 0 2px; }

.lot-colors-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-faint);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

.color-chip {
  padding: 6px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: none;
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.06em;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.color-chip:hover { border-color: var(--ink); color: var(--ink); }
.color-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.color-chip.has-img {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 14px 5px 6px;
}

.color-chip .color-chip-img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 0 0 1px var(--line-strong);
}

.color-chip.is-active .color-chip-img { box-shadow: 0 0 0 1px #fff; }

/* ------------------------------ lot options ------------------------------ */

.lot-options { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 2px; }

.opt-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.opt-chip:hover { border-color: var(--ink); }
.opt-chip.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

.opt-dot {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.opt-chip.is-on .opt-dot {
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: inset 0 0 0 2.5px #fff;
}

.opt-chip img {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--bg);
}

.opt-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.opt-label { font-size: 11.5px; color: var(--ink); letter-spacing: 0.04em; }
.opt-price { font-size: 10.5px; color: var(--ink-faint); }

/* --------------------------- lot colors / sizes --------------------------- */

.lot-extra { margin-top: 26px; }

.lot-extra > img:not(:first-child) { margin-top: 22px; }

.lot-extra img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  background: var(--bg);
}

.lot-extra-caption {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-align: center;
}

.lot-extra-line {
  margin: 18px 0 10px;
  color: var(--ink-soft);
  font-size: 12.5px;
  text-align: center;
}

.lot-size-line {
  margin: 14px 0 2px;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ------------------------------ lot strap -------------------------------- */

.lot-strap { margin: 16px 0 2px; }

.lot-strap-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-faint);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.strap-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }

.strap-chip {
  padding: 6px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: none;
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.06em;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.strap-chip:hover { border-color: var(--ink); color: var(--ink); }
.strap-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.strap-price { opacity: 0.75; }
.strap-note { margin: 0 0 4px; color: var(--ink-faint); font-size: 10.5px; letter-spacing: 0.04em; }

/* strap picker (round icons) */
.strap-picker { margin: 4px 0 12px; }
.strap-picker-title {
  margin: 0 0 10px;
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-size: 15px;
  color: #4a2f1b;
}
.strap-icons { display: flex; gap: 18px; flex-wrap: wrap; }
.strap-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}
.strap-icon-circle {
  display: block;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--line-strong);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.strap-icon-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.strap-icon:hover .strap-icon-circle { border-color: var(--ink); }
.strap-icon.is-active .strap-icon-circle { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.strap-icon-label { font-size: 11px; letter-spacing: 0.04em; color: var(--ink-soft); }
.strap-icon.is-active .strap-icon-label { color: var(--ink); }

.lot-video { margin-top: 26px; }

.lot-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}

.lot-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #000;
  display: block;
}

.video-facade .video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 0.25s, opacity 0.25s;
}

.video-facade:hover .video-bg { transform: scale(1.02); opacity: 1; }

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 46px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
  transition: transform 0.15s;
}

.video-play svg { width: 100%; height: 100%; display: block; }

.video-facade:hover .video-play { transform: translate(-50%, -50%) scale(1.08); }

/* ------------------------------- paypal btn ------------------------------ */

.btn-paypal {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #eaf3fd;
  border-color: #b9d6f2;
  color: #0070ba;
}

.btn-paypal:hover { background: #dcecfb; border-color: #0070ba; color: #003087; }

.btn-paypal svg { width: 15px; height: 15px; fill: currentColor; }

/* ------------------------------ payment page ----------------------------- */

.pay-card {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.pay-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.pay-icon { width: 22px; height: 22px; fill: #0070ba; flex: 0 0 auto; }
.pay-icon.crypto { fill: none; stroke: #26a17b; color: #26a17b; }

.pay-name { color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: 0.01em; }

.pay-soon {
  padding: 3px 9px;
  border-radius: 999px;
  background: #eaf3fd;
  color: #0070ba;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pay-text { margin: 12px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.pay-warn { color: var(--ink); }

.pay-addr {
  margin: 12px 0 0;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font-size: 12.5px;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  word-break: break-all;
}

.pay-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

.pay-badge {
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
}

.pay-badge.mir { background: #0f754a; }
.pay-badge.visa { background: #1a1f71; }
.pay-badge.mc { background: #1a1a1a; display: inline-flex; align-items: center; gap: 5px; }
.pay-badge.mc i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.pay-badge.mc i:first-child { background: #eb001b; }
.pay-badge.mc i:last-child { background: #f79e1b; margin-left: -6px; }
.pay-badge.usdt { background: #26a17b; }
.pay-badge.usdc { background: #2775ca; }

.pay-small { margin: 10px 0 0; color: var(--ink-faint); font-size: 11px; letter-spacing: 0.04em; }

.pay-cash { background: #fdf8f3; border-color: #e8d9c5; }

@media (max-width: 560px) {
  .footer-inner { padding: 24px 14px 30px; }
  .avito-card, .contact-links { max-width: 100%; }
  #managerLink { max-width: 100%; }
  .metro-card { padding: 18px 14px 20px; }
  .metro-scheme text { font-size: 8px; }
}

/* ------------------------------ size table (v g) ------------------------- */

.size-table {
  margin: 4px 0 8px;
  border-top: 1px solid var(--line);
}

.size-table-head,
.size-row {
  display: grid;
  grid-template-columns: 118px 138px minmax(0, 1fr) 156px;
  gap: 16px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.size-table-head {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.size-name { font-size: 13px; font-weight: 600; letter-spacing: 0.05em; }
.size-dims { font-size: 12.5px; color: var(--ink-soft); letter-spacing: 0.02em; }
.size-fit { font-size: 12.5px; color: var(--ink-soft); line-height: 1.55; }

.size-dev {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
}

.size-dev img {
  width: 76px;
  height: auto;
  background: transparent;
  border-radius: 0;
  opacity: 0.92;
}

.size-dev-note {
  font-size: 10px;
  line-height: 1.35;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}

.lot-block { margin-top: 24px; }
.lot-block img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  background: var(--bg);
}

.lot-sizes-pick { margin-top: 14px; }

@media (max-width: 720px) {
  .size-table-head { display: none; }
  .size-row { grid-template-columns: 1fr; gap: 7px; padding: 14px 2px 18px; }
  .size-dev { flex-direction: row; align-items: center; text-align: left; gap: 14px; }
  .size-dev img { width: 54px; flex: none; }
}

/* ---------------------- cover collage (diagonal split) ------------------- */

.cover-collage { position: absolute; inset: 0; z-index: 2; }
.cover-half { position: absolute; inset: 0; overflow: hidden; }
.cover-half img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-a { clip-path: polygon(0 0, 100% 0, 0 100%); }
.cover-b { clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.cover-half::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 0 rgba(74, 47, 27, 0);
  transition: box-shadow 0.28s ease;
}
.cover-a:hover::after,
.cover-b:hover::after { box-shadow: inset 0 0 40px 8px rgba(74, 47, 27, 0.55); }
.gallery-main .gallery-arrow,
.gallery-main .gallery-counter { z-index: 5; }

/* --------------------------- reviews carousel ---------------------------- */

.lot-reviews { margin-top: 32px; }

.reviews-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }

.reviews-initials,
.reviews-title {
  font-family: "Permanent Marker", "Caveat", "Segoe Script", cursive;
  color: #4a2f1b;
  line-height: 1.05;
  margin: 0;
}

.reviews-initials { font-size: 26px; letter-spacing: 0.02em; }
.reviews-title { font-size: 26px; letter-spacing: 0.01em; }

.reviews-carousel-wrap { position: relative; }

.reviews-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 2px 8px;
  scrollbar-width: none;
}

.reviews-carousel::-webkit-scrollbar { display: none; }

.review-card { flex: 0 0 80%; max-width: 430px; scroll-snap-align: start; }

.review-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}

.review-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.review-author {
  margin: 9px 0 0;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.review-caption { margin: 4px 0 0; font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }

.reviews-arrow {
  position: absolute;
  top: 36%;
  transform: translateY(-50%);
  z-index: 3;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1;
}

.reviews-arrow:hover { color: var(--ink); border-color: var(--ink); }
.reviews-arrow.prev { left: -8px; }
.reviews-arrow.next { right: -8px; }

.lot-bottom-reviews { display: none; }

@media (max-width: 720px) {
  .review-card { flex: 0 0 88%; }
  .reviews-arrow { display: none; }
}
