.tncm-cabin-grid,
.tncm-cabin-details-list {
  --tncm-green: #086b1b;
  --tncm-green-dark: #075d17;
  --tncm-soft-green: #e8f9e9;
  --tncm-border: #dce4dc;
  --tncm-muted: #64706a;
  color: #111518;
}

.tncm-cabin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 0;
}

.tncm-cabin-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--tncm-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(18, 63, 28, 0.15);
}

.tncm-cabin-card h2,
.tncm-cabin-detail h2 {
  margin: 0;
  color: var(--tncm-green);
  font-family: Merriweather, Georgia, serif;
  font-size: 31px;
  line-height: 1.15;
}

.tncm-area {
  margin: 7px 0 13px;
  color: var(--tncm-green);
  font-family: Merriweather, Georgia, serif;
  font-size: 19px;
  font-weight: 700;
}

.tncm-media-tabs { width: 100%; }

.tncm-tab-panels {
  position: relative;
  width: 100%;
  height: 245px;
  overflow: hidden;
  background: #fff;
}

.tncm-tab-panel {
  width: 100%;
  height: 100%;
}

.tncm-tab-panel[hidden] { display: none; }

.tncm-tab-panel > img,
.tncm-gallery-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tncm-tab-list {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 0;
}

.tncm-tab-button {
  min-width: 78px;
  padding: 11px 14px;
  border: 0;
  border-radius: 10px;
  background: #eff1f0;
  color: #626a66;
  font: inherit;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}

.tncm-tab-button:hover,
.tncm-tab-button:focus-visible,
.tncm-tab-button.is-active {
  background: var(--tncm-green);
  color: #fff;
}

.tncm-description {
  margin: 18px 0 12px;
  color: var(--tncm-muted);
  font-size: 14px;
  line-height: 1.55;
}

.tncm-price {
  margin: 0 0 12px;
  color: var(--tncm-green);
  font-family: Merriweather, Georgia, serif;
  font-size: 23px;
  font-weight: 700;
}

.tncm-specs {
  margin: 0;
  font-size: 12px;
}

.tncm-specs > div {
  display: grid;
  grid-template-columns: minmax(90px, 0.85fr) minmax(0, 1.4fr);
  gap: 10px;
  align-items: center;
  min-height: 38px;
  padding: 6px 0;
  border-bottom: 1px solid #e6e9e7;
}

.tncm-specs dt { color: #7c8580; }

.tncm-specs dd {
  margin: 0;
  color: #47504b;
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

.tncm-learn-more {
  align-self: center;
  margin-top: auto;
  padding: 10px 21px;
  border-radius: 999px;
  background: var(--tncm-green);
  color: #fff;
  font-size: 13px;
  text-decoration: none;
}

.tncm-learn-more:hover,
.tncm-learn-more:focus-visible {
  background: var(--tncm-green-dark);
  color: #fff;
}

.tncm-cabin-details-list {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.tncm-cabin-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  padding: 46px 0;
  scroll-margin-top: 100px;
}

.tncm-cabin-detail + .tncm-cabin-detail {
  border-top: 1px solid #edf0ed;
}

.tncm-detail-media .tncm-tab-panels { height: 400px; }

.tncm-detail-content h2 {
  margin-bottom: 10px;
  font-size: 36px;
}

.tncm-area-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--tncm-green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.tncm-detail-content .tncm-description {
  margin-top: 4px;
  font-size: 15px;
}

.tncm-detail-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.tncm-detail-content .tncm-specs {
  padding: 12px 16px;
  background: var(--tncm-soft-green);
  font-size: 13px;
}

.tncm-detail-content .tncm-specs > div {
  display: block;
  min-height: 0;
  padding: 7px 0;
  border: 0;
}

.tncm-detail-content .tncm-specs dt {
  color: #57625c;
  font-weight: 700;
}

.tncm-detail-content .tncm-specs dd {
  margin-top: 2px;
  color: #27302b;
  text-align: left;
}

.tncm-features h3 {
  margin: 0 0 11px;
  font-family: Merriweather, Georgia, serif;
  font-size: 19px;
}

.tncm-features ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tncm-features li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 21px;
  color: #4e5852;
  font-size: 13px;
  line-height: 1.35;
}

.tncm-features li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--tncm-green);
  content: "●";
  font-size: 11px;
}

.tncm-gallery-slider,
.tncm-gallery-slides,
.tncm-gallery-slide {
  position: absolute;
  inset: 0;
}

.tncm-gallery-slider { overflow: hidden; }

.tncm-gallery-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.tncm-gallery-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.tncm-gallery-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 42px;
  height: 52px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.76);
  color: var(--tncm-green);
  font: 42px/1 Arial, sans-serif;
  transform: translateY(-50%);
  cursor: pointer;
}

.tncm-gallery-arrow.is-prev { left: 0; }
.tncm-gallery-arrow.is-next { right: 0; }

.tncm-gallery-count {
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 12px;
}

.tncm-lightbox {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(0, 0, 0, 0.9);
}

.tncm-lightbox.is-open { display: flex; }

.tncm-lightbox img {
  max-width: min(95vw, 1500px);
  max-height: 90vh;
  object-fit: contain;
}

.tncm-lightbox-close {
  position: absolute;
  top: 10px;
  right: 16px;
  padding: 4px 10px;
  border: 0;
  background: transparent;
  color: #fff;
  font: 42px/1 Arial, sans-serif;
  cursor: pointer;
}

.tncm-image-placeholder {
  width: 100%;
  height: 100%;
  background: #f1f3f1;
}

@media (max-width: 1024px) {
  .tncm-cabin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tncm-cabin-detail { gap: 28px; }
  .tncm-detail-columns { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .tncm-cabin-grid {
    grid-template-columns: 1fr;
    padding: 12px 0;
  }

  .tncm-cabin-card { padding: 17px; }
  .tncm-tab-panels { height: 230px; }

  .tncm-cabin-detail {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 34px 0;
  }

  .tncm-detail-media .tncm-tab-panels { height: 300px; }
  .tncm-detail-content h2 { font-size: 31px; }
  .tncm-lightbox { padding: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .tncm-gallery-slide { transition: none; }
}

