/* =========================
   RESET / BASE
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #0f1115;
  color: #e6e6e6;
}

img {
  max-width: 100%;
  display: block;
}

/* =========================
   LAYOUT
========================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.site-nav a {
  font-size: 12px;
  padding: 4px 10px;
  background: #1e2530;
  border-radius: 4px;
  color: #9aa3b2;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.site-nav a:hover {
  background: #2b3345;
  color: #e6e6e6;
}

.site-header {
  border-bottom: 1px solid #1f232b;
  margin-bottom: 20px;
}

.site-title {
  margin: 0;
  font-size: 28px;
}

.site-subtitle {
  margin: 5px 0 0;
  color: #9aa3b2;
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid #1f232b;
  margin-top: 40px;
  padding: 20px 0;
  font-size: 13px;
  color: #888;
}

.site-footer p {
  margin: 4px 0;
}

.site-footer a {
  color: #7a8a9e;
  text-decoration: none;
}

.site-footer a:hover {
  color: #b0bece;
}

/* =========================
   SITE INTRO (SEO paragraph)
========================= */
.site-intro {
  margin-bottom: 16px;
  padding: 12px 16px;
  background: #151922;
  border-left: 3px solid #2b3345;
  border-radius: 4px;
}

.site-intro p {
  margin: 0;
  font-size: 13px;
  color: #9aa3b2;
  line-height: 1.6;
}

/* =========================
   FILTERS
========================= */
.filters {
  margin-bottom: 20px;
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

input,
select,
button {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #2a2f38;
  background: #151922;
  color: #e6e6e6;
}

input::placeholder {
  color: #777;
}

button {
  cursor: pointer;
  transition: 0.2s ease;
}

button:hover {
  background: #1f2633;
}

/* =========================
   SUMMARY
========================= */
.summary {
  margin-bottom: 20px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  background: #151922;
  padding: 10px;
  border-radius: 8px;
}

/* =========================
   GRID
========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

/* =========================
   TAGS
========================= */
.tag {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  background: #232938;
  border-radius: 4px;
  margin-right: 5px;
}

/* =========================
   DISTILLERY CARD
========================= */
.distillery-card {
  background: #151922;
  border: 1px solid #1f232b;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.distillery-card__image-wrap {
  height: 160px;
  background: #1c2130;
}

.distillery-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.distillery-card__body {
  padding: 12px;
}

.distillery-card__title {
  margin: 5px 0;
  font-size: 18px;
}

.distillery-card__address {
  font-size: 13px;
  color: #9aa3b2;
}

.distillery-card__flags {
  font-size: 12px;
  margin: 8px 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: #b5bdc9;
}

.distillery-card__notes {
  font-size: 13px;
  color: #cbd3df;
}

.distillery-card__actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
}

/* =========================
   BUTTONS
========================= */
.button {
  padding: 8px 10px;
  background: #2b3345;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}

.button:hover {
  background: #3a4560;
}

.button--secondary {
  background: #1f2633;
}

.button--secondary:hover {
  background: #2c3648;
}

.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* =========================
   ITINERARY
========================= */
.itinerary-card {
  background: #151922;
  border: 1px solid #1f232b;
  border-radius: 10px;
  padding: 12px;
}

.itinerary-card__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.itinerary-stop-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.itinerary-stop {
  padding: 6px 0;
  border-bottom: 1px solid #222836;
}

.itinerary-stop:last-child {
  border-bottom: none;
}

.itinerary-stop__row {
  display: flex;
  gap: 10px;
}

.itinerary-stop__order {
  font-weight: bold;
  width: 20px;
}

.itinerary-stop__meta {
  font-size: 12px;
  color: #9aa3b2;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.itinerary-stop__link {
  color: #e6e6e6;
  font-weight: 600;
  text-decoration: none;
}

.itinerary-stop__link:hover {
  color: #7eb8f7;
  text-decoration: underline;
}

.itinerary-stop__notes {
  margin: 5px 0 0;
  font-size: 12px;
  color: #9aa3b2;
  line-height: 1.5;
}

.itinerary-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.itinerary-hotel-cta {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #1f232b;
}

.itinerary-hotel-cta p {
  margin: 0 0 10px;
  font-size: 13px;
  color: #9aa3b2;
}

.itinerary-hotel-cta__btn {
  background: #1a3a5c;
  color: #7eb8f7;
  border: 1px solid #2a5080;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  display: inline-block;
  transition: background 0.2s, color 0.2s;
}

.itinerary-hotel-cta__btn:hover {
  background: #1e4a7a;
  color: #b8d8ff;
}

/* =========================
   STAY ZONES
========================= */
.stay-zone-card {
  background: #151922;
  border: 1px solid #1f232b;
  border-radius: 10px;
  padding: 12px;
}

.stay-zone-card__title {
  margin: 5px 0;
}

.stay-zone-card__description {
  font-size: 13px;
  color: #cbd3df;
}

.stay-zone-card__query {
  font-size: 12px;
  color: #9aa3b2;
}

/* =========================
   CLUSTERS
========================= */
.cluster-card {
  background: #151922;
  border: 1px solid #1f232b;
  border-radius: 10px;
  padding: 12px;
}

.cluster-card__title {
  margin: 5px 0;
}

.cluster-card__description {
  font-size: 13px;
  color: #cbd3df;
}

/* =========================
   PRACTICAL
========================= */
.practical-card {
  background: #151922;
  border: 1px solid #1f232b;
  border-radius: 10px;
  padding: 12px;
}

.practical-card__title {
  margin-bottom: 8px;
}

.practical-card__row {
  margin-bottom: 8px;
}

.practical-card__row p {
  margin: 2px 0 0;
  font-size: 13px;
  color: #cbd3df;
}

/* =========================
   EMPTY / ERROR
========================= */
.empty-state {
  padding: 20px;
  text-align: center;
  color: #888;
}

.error {
  color: #ff6b6b;
  margin-top: 20px;
}

/* =========================
   LOADING
========================= */
.is-loading {
  opacity: 0.7;
  pointer-events: none;
}
