[hidden] {
  display: none !important;
}

.offer-hero {
  position: relative;
  display: flex;
  height: 400px;
  min-height: 400px;
  max-height: 400px;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(108deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.96) 45%, rgba(244, 249, 235, 0.95) 100%),
    repeating-linear-gradient(135deg, rgba(141, 207, 0, 0.07) 0 1px, transparent 1px 25px);
  border-bottom: 1px solid var(--line);
}

.offer-hero::before {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -68%;
  width: 68%;
  aspect-ratio: 1;
  border: 1px solid rgba(141, 207, 0, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(141, 207, 0, 0.025), 0 0 0 160px rgba(141, 207, 0, 0.018);
}

.offer-hero-code {
  position: absolute;
  top: 38px;
  left: 48%;
  color: rgba(141, 207, 0, 0.07);
  font-size: clamp(68px, 8vw, 130px);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1;
  white-space: nowrap;
  transform: translateX(-10%);
  pointer-events: none;
}

.offer-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1.28fr);
  align-items: center;
  gap: clamp(50px, 6vw, 90px);
  padding-block: 34px;
}

.offer-hero-copy {
  min-width: 0;
}

.offer-hero-copy .split-title {
  margin-bottom: 17px;
  padding-bottom: 10px;
  font-size: clamp(35px, 3.5vw, 52px);
}

.offer-hero-copy .section-lead {
  max-width: 510px;
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.62;
}

.offer-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.offer-hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  background: #fff;
  border: 1px solid rgba(141, 207, 0, 0.3);
  color: #677069;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-hero-meta b {
  margin-right: 5px;
  color: var(--ink);
  font-size: 13px;
}

.offer-hero-meta .is-sold {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.offer-hero-meta i {
  width: 7px;
  height: 7px;
  margin-right: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(141, 207, 0, 0.16);
}

.offer-hero-visual {
  position: relative;
  min-width: 0;
  height: 330px;
  margin: 0;
  padding: 14px;
  overflow: visible;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.offer-hero-visual::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 40px;
  left: -14px;
  width: 14px;
  height: 42%;
  background: var(--accent);
}

.offer-hero-visual::after {
  content: "";
  position: absolute;
  inset: 14px;
  background: linear-gradient(180deg, transparent 52%, rgba(8, 12, 7, 0.62));
  pointer-events: none;
}

.offer-hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-hero-visual figcaption {
  position: absolute;
  z-index: 2;
  top: 27px;
  right: 27px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.9);
  color: #343b35;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.offer-visual-nav {
  position: absolute;
  z-index: 3;
  right: 26px;
  bottom: 26px;
  left: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.offer-visual-nav button {
  min-height: 35px;
  padding: 0 11px;
  background: rgba(12, 16, 12, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.offer-visual-nav button:hover,
.offer-visual-nav button:focus-visible {
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-2px);
}

.offer-catalog {
  padding: 88px 0 105px;
  background:
    linear-gradient(rgba(141, 207, 0, 0.035) 1px, transparent 1px),
    #fff;
  background-size: 100% 160px;
}

.offer-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 30px;
}

.offer-section-head .split-title {
  margin-bottom: 0;
}

.offer-section-head > p {
  margin: 0 0 10px;
  padding-left: 22px;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.offer-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding: 14px 18px;
  background: #f7faF3;
  border: 1px solid rgba(141, 207, 0, 0.27);
  border-left: 4px solid var(--accent);
}

.offer-notice > span {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  background: var(--accent);
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
}

.offer-notice p {
  margin: 0;
  color: #5c665e;
  font-size: 13px;
}

.offer-notice a {
  color: var(--accent-dark);
  font-weight: 800;
}

.offer-browser {
  border: 1px solid rgba(141, 207, 0, 0.24);
  background: #fff;
  box-shadow: 0 26px 65px rgba(15, 24, 10, 0.1);
}

.offer-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid rgba(141, 207, 0, 0.2);
}

.offer-tab {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  gap: 4px;
  min-height: 88px;
  padding: 17px 16px;
  background: #fff;
  border: 0;
  border-right: 1px solid rgba(141, 207, 0, 0.17);
  color: #5d675f;
  cursor: pointer;
  text-align: left;
  transition: background-color 180ms ease, color 180ms ease;
}

.offer-tab:last-child {
  border-right: 0;
}

.offer-tab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.offer-tab:hover,
.offer-tab:focus-visible,
.offer-tab.is-active {
  background: #f5faeb;
  color: var(--ink);
}

.offer-tab.is-active::after {
  transform: scaleX(1);
}

.offer-tab strong {
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.offer-tab small {
  color: #8a938c;
  font-size: 11px;
}

.offer-toolbar {
  display: grid;
  grid-template-columns: minmax(210px, 1.45fr) repeat(3, minmax(140px, 0.8fr)) auto;
  gap: 13px;
  padding: 24px;
  background: #fbfcfa;
  border-bottom: 1px solid #eef1eb;
}

.offer-filter {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.offer-filter label {
  color: var(--accent-dark);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.offer-filter input,
.offer-filter select {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  background: #fff;
  border: 1px solid #dfe5db;
  border-radius: 0;
  color: #313832;
  font: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.offer-filter input:focus,
.offer-filter select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(141, 207, 0, 0.12);
}

.offer-reset {
  align-self: end;
  height: 46px;
  padding: 0 17px;
  background: var(--ink);
  border: 0;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease;
}

.offer-reset:hover,
.offer-reset:focus-visible {
  background: var(--accent);
  color: var(--ink);
}

.offer-summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 24px;
  background: #fff;
  border-bottom: 1px solid #eef1eb;
  color: #7a847c;
  font-size: 11px;
}

.offer-summary strong {
  margin-left: 5px;
  color: var(--ink);
  font-size: 12px;
}

.offer-table-wrap {
  overflow-x: auto;
}

.offer-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
}

.offer-table th {
  padding: 0;
  background: #f2f7e9;
  border-bottom: 2px solid rgba(141, 207, 0, 0.35);
  text-align: left;
}

.offer-table th button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 51px;
  padding: 0 13px;
  background: transparent;
  border: 0;
  color: #222822;
  cursor: pointer;
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.offer-table th:last-child {
  min-width: 96px;
  padding: 0 13px;
  color: #222822;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.offer-table th button:hover,
.offer-table th button:focus-visible,
.offer-table th[aria-sort="ascending"] button,
.offer-table th[aria-sort="descending"] button {
  color: var(--accent-dark);
}

.offer-table td {
  padding: 14px 13px;
  border-bottom: 1px solid #eef1eb;
  color: #58625a;
  font-size: 12px;
  vertical-align: middle;
}

.offer-table tbody tr {
  transition: background-color 160ms ease;
}

.offer-table tbody tr:hover {
  background: #f9fcf4;
}

.offer-table tbody tr:last-child td {
  border-bottom: 0;
}

.offer-table td strong {
  color: var(--ink);
  font-size: 13px;
}

.stage-badge,
.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 9px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.stage-badge {
  background: #f3f8e9;
  border: 1px solid rgba(141, 207, 0, 0.25);
  color: var(--accent-dark);
}

.status-badge {
  border-radius: 999px;
}

.status-sold {
  background: rgba(192, 54, 54, 0.08);
  border: 1px solid rgba(192, 54, 54, 0.16);
  color: #ad3434;
}

.status-free {
  background: rgba(141, 207, 0, 0.12);
  border: 1px solid rgba(141, 207, 0, 0.25);
  color: var(--accent-dark);
}

.status-reserved {
  background: rgba(225, 159, 0, 0.1);
  border: 1px solid rgba(225, 159, 0, 0.2);
  color: #9a7107;
}

.offer-detail {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 0 11px;
  background: var(--ink);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease;
}

.offer-detail:hover,
.offer-detail:focus-visible {
  background: var(--accent);
  color: var(--ink);
}

.empty-value {
  color: #a1a8a2;
}

.no-results td {
  padding: 34px 16px;
  color: #737d75;
  text-align: center;
}

@media (max-width: 1100px) {
  .offer-hero-grid {
    grid-template-columns: minmax(0, 0.75fr) minmax(460px, 1.25fr);
    gap: 40px;
  }

  .offer-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-reset {
    width: 100%;
  }
}

@media (max-width: 860px) {
  .offer-hero {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .offer-hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 60px 72px;
  }

  .offer-hero-copy {
    max-width: 680px;
  }

  .offer-hero-visual {
    height: auto;
  }

  .offer-hero-visual > img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .offer-section-head {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .offer-section-head > p {
    max-width: 620px;
  }

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

  .offer-tab:nth-child(3) {
    border-right: 0;
  }

  .offer-tab:nth-child(n + 4) {
    border-top: 1px solid rgba(141, 207, 0, 0.17);
  }
}

@media (max-width: 720px) {
  .offer-catalog {
    padding: 68px 0 80px;
  }

  .offer-visual-nav button {
    padding-inline: 9px;
  }

  .offer-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-tab:nth-child(2n) {
    border-right: 0;
  }

  .offer-tab:nth-child(3) {
    border-right: 1px solid rgba(141, 207, 0, 0.17);
  }

  .offer-tab:nth-child(n + 3) {
    border-top: 1px solid rgba(141, 207, 0, 0.17);
  }

  .offer-toolbar {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .offer-summary {
    padding-inline: 18px;
  }

  .offer-table-wrap {
    padding: 14px;
    overflow: visible;
    background: #f6f8f3;
  }

  .offer-table,
  .offer-table tbody,
  .offer-table tr,
  .offer-table td {
    display: block;
    width: 100%;
  }

  .offer-table {
    min-width: 0;
  }

  .offer-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .offer-table tbody {
    display: grid;
    gap: 12px;
  }

  .offer-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
    padding: 13px 15px;
    background: #fff;
    border: 1px solid rgba(141, 207, 0, 0.2);
    box-shadow: 0 10px 24px rgba(15, 24, 10, 0.06);
  }

  .offer-table td {
    display: grid;
    grid-template-columns: 95px minmax(0, 1fr);
    align-items: center;
    min-height: 42px;
    padding: 8px 0;
    border-bottom: 1px solid #eef1eb;
    text-align: right;
  }

  .offer-table td::before {
    content: attr(data-label);
    color: #8a938b;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: left;
    text-transform: uppercase;
  }

  .offer-table td:last-child,
  .offer-table td:nth-last-child(2) {
    border-bottom: 0;
  }

  .no-results {
    grid-column: 1 / -1;
  }

  .no-results td {
    display: block;
    text-align: center;
  }

  .no-results td::before {
    display: none;
  }
}

@media (max-width: 520px) {
  .offer-hero-copy .split-title {
    font-size: clamp(34px, 11vw, 48px);
  }

  .offer-hero-meta span {
    flex: 1 1 145px;
    justify-content: center;
  }

  .offer-hero-visual {
    height: auto;
  }

  .offer-hero-visual figcaption {
    display: none;
  }

  .offer-visual-nav {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .offer-visual-nav button {
    min-height: 31px;
    font-size: 8px;
  }

  .offer-section-head .split-title {
    font-size: clamp(33px, 10vw, 45px);
  }

  .offer-notice {
    align-items: flex-start;
  }

  .offer-tab {
    min-height: 79px;
    padding: 14px 11px;
  }

  .offer-tab > span {
    font-size: 22px;
  }

  .offer-table tbody tr {
    grid-template-columns: 1fr;
  }

  .offer-table td:nth-last-child(2) {
    border-bottom: 1px solid #eef1eb;
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer-visual-nav button,
  .offer-tab,
  .offer-tab::after,
  .offer-reset,
  .offer-detail,
  .offer-table tbody tr {
    transition: none;
  }
}
