/* -- Page Wrapper ---------------------------------------------- */
.tsr-wrapper {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1rem 5rem;
}

/* -- Short description text on card --------------- */
.tsr-card-excerpt {
  font-size: 12.5px;
  color: #6b7280;
  line-height: 1.5;
  margin: 4px 0 0;
}

/* -- Filter Bar ------------------------------------------------ */
.tsr-filters {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 2.25rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.tsr-filters-inner {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}
.tsr-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 170px;
}
.tsr-field label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.tsr-field select {
  height: 44px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 14px;
  color: #111827;
  background: #f9fafb;
  cursor: pointer;
  transition: border-color 0.18s;
  appearance: auto;
}
.tsr-field select:focus {
  outline: none;
  border-color: #e11d48;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(225,29,72,0.08);
}

/* -- Price Range ----------------------------------------------- */
.tsr-field--range { min-width: 200px; }
.tsr-range-track {
  position: relative;
  height: 6px;
  background: #e5e7eb;
  border-radius: 6px;
  margin: 8px 0 4px;
}
.tsr-range-fill {
  position: absolute;
  height: 100%;
  background: #e11d48;
  border-radius: 6px;
  pointer-events: none;
}
.tsr-range-track input[type="range"] {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  height: 6px;
  margin: 0;
}
.tsr-range-track input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e11d48;
  border: 2.5px solid #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,0.22);
  cursor: pointer;
  pointer-events: all;
}
.tsr-range-track input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e11d48;
  border: 2.5px solid #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,0.22);
  cursor: pointer;
  pointer-events: all;
}
.tsr-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
}

/* -- Search Button --------------------------------------------- */
.tsr-btn-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 28px;
  background: #e11d48;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s, transform 0.1s;
  align-self: flex-end;
}
.tsr-btn-search:hover { background: #be123c; }
.tsr-btn-search:active { transform: scale(0.97); }

/* -- Results Header -------------------------------------------- */
.tsr-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.tsr-count { font-size: 14px; color: #6b7280; margin: 0; }
.tsr-sort {
  height: 36px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 13px;
  color: #374151;
  background: #fff;
  cursor: pointer;
}

/* -- Tour Grid ------------------------------------------------- */
.tsr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}

/* -- Tour Card ------------------------------------------------- */
.tsr-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.tsr-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.tsr-card-img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  display: block;
}
.tsr-card-img-placeholder {
  width: 100%;
  height: 185px;
  background: #fff1f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #fda4af;
}
.tsr-card-body {
  padding: 1rem 1.2rem 0.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tsr-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 2px;
}
.tsr-tag {
  font-size: 10px;
  font-weight: 700;
  background: #fff1f2;
  color: #e11d48;
  border-radius: 4px;
  padding: 2px 7px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tsr-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  line-height: 1.4;
  margin: 0;
}
.tsr-card-meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: #6b7280;
  flex-wrap: wrap;
  margin-top: 2px;
}
.tsr-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.tsr-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.2rem;
  border-top: 1px solid #f3f4f6;
  margin-top: auto;
}
.tsr-price-box { display: flex; flex-direction: column; line-height: 1.2; }
.tsr-price-from { font-size: 10px; color: #9ca3af; font-weight: 500; }
.tsr-price-amount { font-size: 19px; font-weight: 800; color: #111827; }
.tsr-price-pp { font-size: 10px; color: #9ca3af; }
.tsr-card-btn {
  display: inline-block;
  padding: 8px 16px;
  background: #e11d48;
  color: #fff !important;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.18s;
}
.tsr-card-btn:hover { background: #be123c; }

/* -- Empty / Loading / Load More ------------------------------- */
.tsr-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1rem;
  color: #9ca3af;
}
.tsr-spinner {
  width: 38px; height: 38px;
  border: 3px solid #f3f4f6;
  border-top-color: #e11d48;
  border-radius: 50%;
  animation: tsrSpin 0.7s linear infinite;
  margin: 0 auto 1rem;
}
@keyframes tsrSpin { to { transform: rotate(360deg); } }
.tsr-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: #6b7280;
}
.tsr-empty svg { color: #d1d5db; display: block; margin: 0 auto 1rem; }
.tsr-empty h3 { font-size: 18px; color: #374151; margin: 0 0 0.4rem; }
.tsr-empty p { font-size: 14px; margin: 0; }
.tsr-link-btn {
  background: none; border: none; padding: 0;
  color: #e11d48; cursor: pointer; font-size: 14px; text-decoration: underline;
}
.tsr-load-more-wrap { text-align: center; margin-top: 2.5rem; }
.tsr-btn-more {
  padding: 11px 36px;
  border: 1.5px solid #e11d48;
  background: #fff;
  color: #e11d48;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
}
.tsr-btn-more:hover { background: #e11d48; color: #fff; }

/* -- Responsive ------------------------------------------------ */
@media (max-width: 768px) {
  .tsr-filters-inner { flex-direction: column; }
  .tsr-btn-search { width: 100%; justify-content: center; }
  .tsr-field, .tsr-field--range { min-width: 100%; }
  .tsr-grid { grid-template-columns: 1fr; }
}






/* -- Standalone Search Widget (embeddable) -------------------- */
.tsr-widget {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  max-width: 1180px;
  margin: 0 auto 2rem;
}
.tsr-widget-inner {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}
.tsr-widget .tsr-field {
  flex: 1;
  min-width: 170px;
}

@media (max-width: 768px) {
  .tsr-widget-inner { flex-direction: column; }
  .tsr-widget .tsr-btn-search { width: 100%; justify-content: center; }
}