:root {
  --bg: #231812;
  --text: #f7efe4;
  --muted: #d8c4b0;
  --accent: #c46a3a;
  --line: rgba(196, 106, 58, 0.28);
  --font: "Segoe UI", Tahoma, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); }
a { color: var(--accent); text-decoration: none; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.wrap--wide { width: min(1400px, calc(100% - 48px)); }
.sky {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(35, 24, 18, 0.38) 0%, rgba(35, 24, 18, 0.58) 48%, rgba(35, 24, 18, 0.92) 100%),
    url("img/hero.png") center 32% / cover no-repeat;
}
.top { position: relative; border-bottom: 1px solid var(--line); background: rgba(20, 12, 8, 0.28); }
.top__row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.logo { color: #fff; font-size: 32px; font-weight: 700; letter-spacing: 0.03em; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 18px; }
.nav a { color: #fff; }
.hero { position: relative; padding: 72px 0 80px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; color: var(--accent); }
h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.08; font-weight: 700; margin: 8px 0 12px; max-width: 16ch; }
.lead { max-width: 640px; color: var(--muted); font-size: 18px; }
.panel, .widget {
  margin-top: 32px;
  background: #fff8f1;
  color: #2a1c14;
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}
.widget { min-height: 120px; overflow: auto; }
.widget--wl {
  position: relative;
  min-height: 148px;
  overflow: visible;
  padding: 16px 18px 14px;
}
.widget--wl:not(.is-ready) #partner-search { opacity: 0; }
.widget--wl.is-ready #partner-search { opacity: 1; transition: opacity 0.28s ease; }
.wl-skel {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  pointer-events: none;
}
.widget--wl.is-ready .wl-skel { opacity: 0; transition: opacity 0.28s ease; }
.wl-skel i {
  display: block;
  border-radius: 10px;
  background: linear-gradient(90deg, #eadfd3 0%, #f6eee6 42%, #eadfd3 100%);
  background-size: 220% 100%;
  animation: wl-pulse 1.8s ease-in-out infinite;
}
.wl-skel__row {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr 1fr;
  gap: 10px;
  width: 100%;
}
.wl-skel__city, .wl-skel__date { height: 44px; }
.wl-skel__btn {
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(90deg, #e8c2a8 0%, #f3d8c6 42%, #e8c2a8 100%);
  background-size: 220% 100%;
  animation: wl-pulse 1.8s ease-in-out infinite;
}
@keyframes wl-pulse {
  0% { background-position: 100% 0; opacity: 0.72; }
  50% { background-position: 0 0; opacity: 1; }
  100% { background-position: 100% 0; opacity: 0.72; }
}
#results { padding-top: 12px; }
.tickets-box {
  position: relative;
  background: #fff8f1;
  color: #2a1c14;
  border-radius: 18px;
  padding: 12px 14px 16px;
}
.tk-skel {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 4;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 20px 16px;
  border-radius: 18px;
  background: rgba(255, 248, 241, 0.94);
  pointer-events: none;
}
#results.is-wait .tickets-box { min-height: 220px; }
#results.is-wait .tk-skel { display: flex; }
.tk-skel i {
  display: block;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(90deg, #eadfd3 0%, #f6eee6 42%, #eadfd3 100%);
  background-size: 220% 100%;
  animation: wl-pulse 1.8s ease-in-out infinite;
}
.results-note { margin: 8px 4px 4px; color: #6a5346; font-size: 15px; }
#partner-search, #partner-results { width: 100%; }
.panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.7fr 1fr;
  gap: 10px;
  align-items: end;
}
.panel button[type="submit"] { min-height: 52px; }
.panel label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: #6a5346; }
.panel input, .panel select, .panel button, .cab input, .cab select, .cab textarea, .cab button[type="submit"] {
  height: 48px; border: 1px solid #e2d2c4; border-radius: 10px; font: inherit; padding: 0 12px; background: #fff;
}
.panel button[type="submit"], .cab button[type="submit"] {
  background: var(--accent); color: #fff8f1; border: 0; font-weight: 700; cursor: pointer; min-width: 150px;
}
.section { padding: 56px 0; }
.section--alt { background: #1b1410; }
h2 { font-size: 32px; margin: 0 0 22px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.home-extra {
  margin-top: 28px;
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.home-extra h2, .home-extra h3 { color: var(--text); margin: 0 0 12px; }
.board-sec {
  position: relative;
  z-index: 2;
  margin-top: -28px;
  padding: 36px 0 48px;
  background: #f6f4f1;
  color: #1b2430;
}
.board-head {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 14px;
}
.board-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.board-reset {
  border: 0;
  background: transparent;
  color: #c46a3a;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.board-reset:hover { text-decoration: underline; }
.pulse-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  color: #4b5563;
  font-size: 13px;
}
.pulse-row b { color: #111827; }
.board-sec h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #111827;
}
.board-sec .results-note { color: #6b7280; }
.board-tools {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}
.view-switch {
  display: flex;
  padding: 4px;
  border-radius: 12px;
  background: #ece7e1;
}
.view-btn, .view-map, .view-sort {
  height: 40px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
}
.view-btn {
  padding: 0 14px;
  border-radius: 10px;
}
.view-btn.is-on {
  background: #fff;
  color: #111827;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.08);
}
.view-sort, .view-map {
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  color: #374151;
}
.sk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.lot.sk {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #111827;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(28, 20, 16, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.lot.sk:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(28, 20, 16, 0.14);
}
.lot.is-off { display: none !important; }
.sk__photo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: #efe6dc;
  overflow: hidden;
}
.sk__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sk__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  background: #f6ebe3;
  color: #b08978;
}
.sk__empty i {
  width: 72px;
  height: 56px;
  background: #e2b09a;
  clip-path: polygon(50% 6%, 94% 42%, 78% 42%, 78% 92%, 22% 92%, 22% 42%, 6% 42%);
}
.sk__empty em {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
}
.sk__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sk__badge {
  background: rgba(17, 24, 39, 0.72);
  color: #fff;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
}
.sk__badge--prem {
  background: #ea580c;
}
.sk__badge--fresh {
  background: #16a34a;
  text-transform: none;
  letter-spacing: 0;
}
.fav {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='M12 20s-7-4.4-7-9.2A4.2 4.2 0 0 1 12 7.2 4.2 4.2 0 0 1 19 10.8C19 15.6 12 20 12 20z'/%3E%3C/svg%3E") center / 18px no-repeat;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}
.fav.is-on {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ef4444' stroke='%23ef4444' stroke-width='1.5'%3E%3Cpath d='M12 20s-7-4.4-7-9.2A4.2 4.2 0 0 1 12 7.2 4.2 4.2 0 0 1 19 10.8C19 15.6 12 20 12 20z'/%3E%3C/svg%3E");
}
.sk__body { padding: 14px 16px 16px; }
.sk__price { margin: 0 0 8px; }
.sk__price b {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
}
.sk__price em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  color: #9ca3af;
  font-size: 14px;
}
.sk__title {
  display: block;
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sk__meta, .sk__place, .sk__views, .sk__agency {
  margin: 0 0 6px;
  color: #6b7280;
  font-size: 13px;
}
.sk__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sk__rooms::before,
.sk__m2::before,
.sk__floor::before,
.sk__place::before,
.sk__views::before,
.sk__agency::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 5px;
  vertical-align: -1px;
  background: #9ca3af;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}
.sk__rooms::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M2 13V7l6-4 6 4v6H9V9H7v4z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M2 13V7l6-4 6 4v6H9V9H7v4z'/%3E%3C/svg%3E");
}
.sk__m2::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M2 3h12v2H2zm0 4h8v2H2zm0 4h12v2H2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M2 3h12v2H2zm0 4h8v2H2zm0 4h12v2H2z'/%3E%3C/svg%3E");
}
.sk__floor::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M3 14V2h2v12zm4-8h6v2H7zm0 4h6v2H7z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M3 14V2h2v12zm4-8h6v2H7zm0 4h6v2H7z'/%3E%3C/svg%3E");
}
.sk__place::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M8 1a5 5 0 0 0-5 5c0 3.5 5 9 5 9s5-5.5 5-9a5 5 0 0 0-5-5zm0 7a2 2 0 1 1 0-4 2 2 0 0 1 0 4z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M8 1a5 5 0 0 0-5 5c0 3.5 5 9 5 9s5-5.5 5-9a5 5 0 0 0-5-5zm0 7a2 2 0 1 1 0-4 2 2 0 0 1 0 4z'/%3E%3C/svg%3E");
}
.sk__views::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M8 3C3 3 1 8 1 8s2 5 7 5 7-5 7-5-2-5-7-5zm0 8a3 3 0 1 1 0-6 3 3 0 0 1 0 6z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M8 3C3 3 1 8 1 8s2 5 7 5 7-5 7-5-2-5-7-5zm0 8a3 3 0 1 1 0-6 3 3 0 0 1 0 6z'/%3E%3C/svg%3E");
}
.sk__agency {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #fff1f2;
  color: #be123c;
  font-weight: 600;
}
.sk__agency::before {
  background: #be123c;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M2 13V7l6-4 6 4v6H9V9H7v4z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M2 13V7l6-4 6 4v6H9V9H7v4z'/%3E%3C/svg%3E");
}
.lot-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 8px;
}
.sk__tel {
  color: #374151;
  font-size: 13px;
  font-weight: 600;
}
.sk__tel:hover { color: var(--accent); }
.wa {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  background: #dcfce7;
  color: #15803d;
  font-size: 12px;
  font-weight: 700;
}
.wa:hover { color: #166534; }
.cmp {
  margin-top: 10px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #374151;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.cmp.is-on {
  border-color: #c46a3a;
  background: #fff7ed;
  color: #9a3412;
}
.lot.is-fresh .sk__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid rgba(22, 163, 74, 0.9);
  pointer-events: none;
  animation: lot-pulse 1.6s ease-in-out infinite;
}
.lot.is-flash .sk__photo {
  outline: 3px solid #c46a3a;
  outline-offset: -2px;
}
@keyframes lot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
.seen {
  margin: 0 0 16px;
}
.seen__label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
}
.seen__row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}
.seen__item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 190px;
  max-width: 240px;
  padding: 6px;
  background: #fff;
  border: 1px solid #ece7e1;
  border-radius: 10px;
  color: #111827;
  font-size: 12px;
  font-weight: 600;
}
.seen__item img {
  width: 56px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
  flex: 0 0 auto;
}
.seen__item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lot-map {
  margin-top: 28px;
  padding: 18px 18px 12px;
  border-radius: 16px;
  background: #fff;
  color: #1b2430;
}
.lot-map h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.lot-map__hint {
  margin: 0 0 12px;
  color: #6b7280;
  font-size: 13px;
}
.lot-map__canvas,
.lot-map .leaflet-container {
  height: 440px;
  border-radius: 14px;
  overflow: hidden;
  background: #efe7de;
}
.lot-map .leaflet-div-icon {
  background: none;
  border: none;
}
.m-pin {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
}
.m-pin b {
  display: inline-block;
  transform: translate(-50%, -100%);
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid var(--accent);
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.18);
}
.m-pin.is-fresh b {
  border-color: #16a34a;
  color: #15803d;
  animation: pin-pulse 1.6s ease-in-out infinite;
}
.m-pin:hover b {
  transform: translate(-50%, calc(-100% - 2px));
}
@keyframes pin-pulse {
  0%, 100% { box-shadow: 0 6px 16px rgba(22, 163, 74, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.16); }
}
.m-pop {
  display: block;
  width: 220px;
  color: #111827;
  text-decoration: none;
  font-family: var(--font);
}
.m-pop img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}
.m-pop strong,
.m-pop span,
.m-pop em {
  display: block;
  padding: 0 4px;
}
.m-pop strong {
  margin-top: 8px;
  font-size: 15px;
}
.m-pop span {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.35;
}
.m-pop em {
  margin: 4px 0 6px;
  font-style: normal;
  color: #6b7280;
  font-size: 12px;
}
@media (max-width: 720px) {
  .lot-map__canvas,
  .lot-map .leaflet-container { height: 320px; }
}
.deal-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 0 0 28px;
}
.deal-stats article {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}
.deal-stats b {
  display: block;
  font-size: 28px;
  line-height: 1.1;
}
.deal-stats span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}
.deal-stats em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
}
.cmp-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #1b1410;
  color: #fff;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.22);
}
.cmp-bar[hidden],
.cmp-modal[hidden] { display: none !important; }
.cmp-bar p { margin: 0; font-weight: 700; white-space: nowrap; }
.cmp-slots {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.cmp-slot {
  width: 52px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #2a1c14;
}
.cmp-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cmp-bar button {
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
#cmp-go {
  background: #c46a3a;
  color: #fff8f1;
}
#cmp-go:disabled {
  opacity: 0.45;
  cursor: default;
}
#cmp-clear {
  background: transparent;
  color: #d8c4b0;
}
.cmp-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.45);
}
.cmp-modal__box {
  position: relative;
  width: min(960px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 20px 20px 12px;
  border-radius: 16px;
  background: #fff;
  color: #111827;
}
.cmp-modal__x {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #6b7280;
  cursor: pointer;
}
.cmp-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin-top: 18px;
}
.cmp-table th,
.cmp-table td {
  padding: 10px;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
  text-align: left;
}
.cmp-table th {
  width: 110px;
  color: #6b7280;
  font-weight: 600;
}
.cmp-table img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin-bottom: 8px;
}
body.has-cmp { padding-bottom: 72px; }
.sk-grid.is-list {
  grid-template-columns: 1fr;
}
.sk-grid.is-list .lot.sk {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: stretch;
}
.sk-grid.is-list .sk__photo { aspect-ratio: auto; min-height: 180px; }
.sk-grid.is-list .fav { right: auto; left: 234px; }
.board { margin: 16px 0 0; }
.board a { color: #fff; font-weight: 700; }
.card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  border-radius: 16px;
  min-height: 210px;
  color: #fff;
  border: 1px solid rgba(243, 230, 212, 0.16);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(35, 24, 18, 0.08) 20%, rgba(35, 24, 18, 0.78) 100%);
}
.card b, .card span, .card__tag { position: relative; }
.card b { display: block; font-size: 22px; margin: 6px 0; }
.card span { color: #efe3d6; }
.card__tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f3c19a;
}
.card.is-on { outline: 2px solid var(--accent); }
.card { transition: transform 0.18s ease; }
.card:hover { transform: translateY(-3px); }
.card--fru, .card--kol, .card--kar, .card--osh, .card--ala, .card--tas { background-color: #231812; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps article { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.foot { border-top: 1px solid var(--line); padding: 22px 0 36px; color: var(--muted); }
.foot__row { display: flex; justify-content: space-between; gap: 12px; }
.cab { min-height: 100vh; }
.cab-box { padding: 48px 0 80px; max-width: 820px; }
.cab .grid { display: grid; gap: 12px; }
.cab label { display: flex; flex-direction: column; gap: 6px; color: var(--muted); }
.cab textarea { height: auto; padding: 12px; }
.cab-field { display: flex; flex-direction: column; gap: 6px; color: var(--muted); }
.cab-field .hint { margin: 0; font-size: 13px; }
.cab textarea.cab-code { font-family: Consolas, "Courier New", monospace; font-size: 13px; min-height: 180px; }
.cab .tox-tinymce { border-radius: 10px; border: 1px solid var(--line); }
.ok { color: #8ee0a8; }
.err { color: #ff8d8d; }
.hint { color: var(--muted); }
@media (min-width: 1600px) {
  .wrap--wide { width: min(1520px, calc(100% - 64px)); }
}
@media (max-width: 1100px) {
  .sk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .panel, .cards, .steps { grid-template-columns: 1fr; }
  .deal-stats { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .sky { min-height: 0; }
  h1 { max-width: none; }
  .widget--wl { min-height: 280px; }
  .wl-skel__row { grid-template-columns: 1fr; }
  .board-sec { margin-top: 0; }
  .sk-grid.is-list .lot.sk { grid-template-columns: 1fr; }
  .sk-grid.is-list .fav { left: auto; right: 10px; }
}
@media (max-width: 640px) {
  .sk-grid { grid-template-columns: 1fr; }
  .sk__price b { font-size: 18px; }
  .deal-stats { grid-template-columns: 1fr; }
  .cmp-bar { flex-wrap: wrap; }
}
