/* ─── MA Tours – additions for Private/Group categories & tour detail page ─── */

/* 4-up tour type picker (Day / Multi-day / Private / Group) */
.mat-tour-picker {
  grid-template-columns: repeat(4, minmax(160px, 280px));
}
@media (max-width: 860px) {
  .mat-tour-picker { grid-template-columns: repeat(2, minmax(140px, 1fr)); }
}
@media (max-width: 540px) {
  .mat-tour-picker { grid-template-columns: 1fr; }
}

/* Tour card now links the whole media + title to the detail page */
.mat-tour-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.mat-tour-card-link:hover h3 { color: var(--mat-primary); }
.mat-tour-body h3 { transition: color .15s; }

/* Multiple category pills on a card */
.mat-pill-row {
  position: absolute;
  top: .9rem;
  left: .9rem;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  max-width: calc(100% - 5.5rem);
}
.mat-pill-row .mat-pill { position: static; }

/* ─── Tour detail page ──────────────────────────────────────────────────── */
.mat-tour-hero {
  position: relative;
  aspect-ratio: 16/7;
  border-radius: var(--mat-radius-lg);
  overflow: hidden;
  background: var(--mat-soft);
  margin-bottom: 1.75rem;
}
.mat-tour-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.mat-tour-hero .mat-pill {
  position: absolute;
  top: 1rem; left: 1rem;
}
@media (max-width: 700px) {
  .mat-tour-hero { aspect-ratio: 4/3; }
}

.mat-tour-detail-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}
.mat-tour-detail-head h1 {
  margin: 0 0 .5rem;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  letter-spacing: -.03em;
  line-height: 1.15;
}
.mat-tour-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  color: var(--mat-muted);
  font-size: .92rem;
  font-weight: 600;
}
.mat-tour-detail-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.mat-tour-detail-price {
  text-align: right;
  flex-shrink: 0;
}
.mat-tour-detail-price .mat-price {
  font-size: 1.6rem;
}

.mat-tour-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 320px;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .mat-tour-layout { grid-template-columns: 1fr; }
}

.mat-tour-main h2 {
  font-size: 1.4rem;
  letter-spacing: -.02em;
  margin: 2.25rem 0 1rem;
}
.mat-tour-main h2:first-child { margin-top: 0; }
.mat-tour-main p { color: var(--mat-muted); line-height: 1.7; }

.mat-highlight-list,
.mat-incl-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: .6rem;
}
.mat-highlight-list li,
.mat-incl-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  color: var(--mat-ink);
  font-size: .95rem;
  line-height: 1.5;
}
.mat-highlight-list li::before {
  content: "";
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: .1rem;
  border-radius: 50%;
  background: var(--mat-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}
.mat-incl-list.is-excludes li::before {
  content: "";
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: .1rem;
  border-radius: 50%;
  background: var(--mat-muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") center/12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") center/12px no-repeat;
}
.mat-incl-list.is-excludes li::before { background: #b9c3c0; }

.mat-incl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 640px) {
  .mat-incl-grid { grid-template-columns: 1fr; }
}

/* Itinerary timeline */
.mat-itinerary {
  list-style: none;
  margin: 0; padding: 0;
  position: relative;
}
.mat-itinerary li {
  position: relative;
  padding: 0 0 1.75rem 2.5rem;
  border-left: 2px solid var(--mat-line);
  margin-left: .6rem;
}
.mat-itinerary li:last-child { border-color: transparent; padding-bottom: 0; }
.mat-itinerary li::before {
  content: "";
  position: absolute;
  left: -.6rem; top: .15rem;
  width: 1.2rem; height: 1.2rem;
  border-radius: 50%;
  background: var(--mat-primary);
  border: 3px solid var(--mat-white);
  box-shadow: 0 0 0 2px var(--mat-line);
}
.mat-itinerary h3 {
  margin: 0 0 .4rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.mat-itinerary p {
  margin: 0;
  color: var(--mat-muted);
  font-size: .94rem;
  line-height: 1.65;
}

/* Schedule table (e.g. Shkoder day trip) */
.mat-schedule {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  font-size: .92rem;
}
.mat-schedule th, .mat-schedule td {
  text-align: left;
  padding: .55rem .75rem;
  border-bottom: 1px solid var(--mat-line);
}
.mat-schedule th {
  width: 140px;
  color: var(--mat-primary);
  font-weight: 700;
}
.mat-schedule td { color: var(--mat-muted); }

/* Sidebar booking card */
.mat-tour-sidebar {
  position: sticky;
  top: 130px;
}
.mat-booking-card {
  border: 1px solid var(--mat-line);
  border-radius: var(--mat-radius-lg);
  background: var(--mat-white);
  box-shadow: var(--mat-shadow-soft);
  padding: 1.5rem;
}
.mat-booking-card .mat-price {
  font-size: 1.9rem;
  margin-bottom: .25rem;
}
.mat-booking-card .mat-btn {
  width: 100%;
  justify-content: center;
  margin-top: 1rem;
}
.mat-booking-card-list {
  list-style: none;
  margin: 1.1rem 0 0; padding: 1.1rem 0 0;
  border-top: 1px solid var(--mat-line);
  display: grid;
  gap: .55rem;
  font-size: .88rem;
  color: var(--mat-muted);
}
.mat-booking-card-list strong { color: var(--mat-ink); }
.mat-tour-note {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  background: var(--mat-soft);
  border-radius: var(--mat-radius);
  font-size: .88rem;
  color: var(--mat-muted);
  line-height: 1.6;
}

/* Breadcrumb */
.mat-breadcrumb {
  display: flex;
  gap: .4rem;
  align-items: center;
  font-size: .85rem;
  color: var(--mat-muted);
  margin-bottom: 1.25rem;
}
.mat-breadcrumb a { color: var(--mat-primary); text-decoration: none; font-weight: 600; }
.mat-breadcrumb a:hover { text-decoration: underline; }

/* Related tours */
.mat-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}
@media (max-width: 860px) {
  .mat-related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .mat-related-grid { grid-template-columns: 1fr; }
}
