.tlda-wrapper {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0 auto;
  padding: 12px;
  background: #fff;
  color: #222;
  max-width: 1200px;
}

.tlda-sticky {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

/* ===========================
   TAB NAVIGATION SECTION
   =========================== */
.tlda-nav {
  display: flex;
  gap: 14px; /* wider spacing between tabs */
  overflow-x: auto;
  white-space: nowrap;
  padding: 10px 16px;
  direction: ltr;
  -webkit-overflow-scrolling: touch;
  background: #fff; /* white bar behind tabs */
}

/* Clean, rounded, separate tabs */
.tlda-tab {
  flex: 0 0 auto;
  padding: 10px 24px;
  border-radius: 30px; /* full pill edges */
  background: #fff; /* inactive background slightly lighter than bar */
  color: #222;
  cursor: pointer;
  font-weight: 700;
  border: 2px solid #ddd; /* light gray outline */
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  margin-right: 6px; /* edge cut between tabs */
}

/* Active tab pops out */
.tlda-tab.active {
  background: #FFD700;
  color: #000;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
  border-color: #FFD700;
  transform: translateY(-2px);
}

/* Hover adds lift and color */
.tlda-tab:hover {
  background: #FFD700;
  color: #000;
  transform: translateY(-2px);
}

/* ===========================
   PANELS + CARDS
   =========================== */
.tlda-panel {
  display: none;
  padding: 16px 4px;
}

.tlda-panel.active {
  display: block;
}

.tlda-cards {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 12px;
  direction: ltr;
  -webkit-overflow-scrolling: touch;
}

.tlda-card {
  flex: 0 0 300px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 260px;
}

.tlda-card-link {
  color: inherit;
  text-decoration: none;
  display: block;
  height: 100%;
}

.tlda-thumb {
  position: relative;
  height: 170px;
  background: #eee;
  overflow: hidden;
}

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

.tlda-offer {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: #0b6b4b;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
}

.tlda-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tlda-price {
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 8px;
  color: #111;
}

.tlda-uni {
  color: #444;
  font-size: 14px;
  margin-bottom: 6px;
}

.tlda-location {
  color: #666;
  font-size: 13px;
  margin-bottom: 8px;
}

.tlda-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #111;
}

.tlda-empty {
  padding: 12px;
  color: #777;
}

.tlda-error {
  padding: 12px;
  color: #a00;
}

@media (max-width: 600px) {
  .tlda-card {
    flex: 0 0 82%;
    min-width: 82%;
  }
  .tlda-thumb {
    height: 200px;
  }
}  