
@layer pages {
  
  .tours-head { padding-block: 16px 12px; background: var(--bg); border-bottom: 0; }
  .tours-head .c-breadcrumb { display: none; }
  .tours-head h1 { max-width: none; font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; }
  .tours-head .page-head__lead { margin-top: 8px; font-size: 1rem; line-height: 1.5; max-width: 39.7em; } 
  .tours-head__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
  .tours-head .c-assure { max-width: 36rem; margin-top: 14px; }
  .tours-head .c-chip--paylater-solid { display: none; }
  .tours-head__chips .c-chip { min-height: 32px; padding-inline: 10px; gap: 6px; font-size: 0.8125rem; box-shadow: none; border: 1px solid var(--line-strong); }
  .tours-head__chips .c-chip--paylater-solid { border-color: var(--action-ink); }

  
  .tours-results { padding-block-start: 4px; }
  .tours-bar { gap: 0; padding-block: 0; background: transparent; border-bottom: 0; }
  .tours-bar .c-toolbar__row { position: static; margin-inline: 0; padding: 8px 0 4px; background: none; border-bottom: 0; }
  .tours-bar .c-search__input { height: 48px; }
  .tours-bar__strip { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 8px 10px; padding-block: 8px; background: var(--bg); }
  .tours-bar__strip .c-toolbar__filters { grid-row: 1 / span 2; }
  .tours-bar__strip .c-toolbar__filters .btn { min-height: 44px; height: 44px; padding-inline: 16px; gap: 8px; font-size: 0.9375rem; }
  .tours-bar__chips { display: grid; gap: 8px; min-width: 0; }
  .tours-bar__chips .c-chips { margin: 0 calc(var(--gutter) * -1) 0 0; padding: 2px var(--gutter) 2px 2px; }
  .tours-bar .c-toolbar__live { gap: 6px 12px; padding-block: 2px 8px; min-height: 44px; }
  
  .tours-bar .c-count, .tours-results .c-count { display: block; min-width: 0; height: auto; padding: 0; border-radius: 0; background: none; box-shadow: none; color: var(--text-muted); font: 500 0.9375rem/1.3 var(--font-text); font-variant-numeric: tabular-nums; }
  .tours-bar .c-toolbar__live .c-count { order: 0; flex: 1 1 7.5rem; min-width: 0; min-height: 1.3em; } 
  .tours-bar .c-toolbar__sort { order: 1; margin-inline-start: 0; }
  .tours-bar .c-toolbar__active { order: 2; flex: 0 1 auto; max-width: 100%; }
  .tours-bar .c-toolbar__live [data-filter-clear] { order: 3; }
  
  .tours-results .c-results__empty { margin-top: 8px; gap: 8px; padding: 16px 16px 14px; }
  .tours-results .c-results__empty > .icon { width: 48px; height: 48px; padding: 12px; border-radius: 16px; }
  .tours-sort__label { display: none; }
  .tours-bar .c-toolbar__sort .select { width: auto; }
  .tours-bar .c-toolbar__sort .select select { height: 44px; border-radius: var(--r-pill); padding-inline: 40px 36px; font-size: 1rem; background-color: var(--surface); } 
  .tours-sort__icon { position: absolute; z-index: 1; inset-inline-start: 14px; top: 50%; margin-top: -9px; width: 18px; height: 18px; color: var(--text-strong); pointer-events: none; }

  
  @media (max-width: 1279px) {
    .tours-bar { display: contents; }
    .tours-bar .c-toolbar__row { order: 0; }
    .tours-bar__strip { position: sticky; top: calc(var(--topbar-h) + var(--safe-t)); z-index: var(--z-subnav); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); box-shadow: 0 1px 0 var(--line); }
  }
  @media (min-width: 1024px) and (max-width: 1279px) { .tours-bar__strip { top: var(--header-h); } }
  
  @media (max-width: 1279px) and (max-height: 500px) { .tours-bar__strip { position: static; box-shadow: none; } }
  @media (max-width: 1279px) { .tours-bar__strip:has(.tours-bar__chips > :nth-child(2)) { position: static; box-shadow: none; } }

  
  #tour-grid .c-card[data-model="enquiry"] .c-card__facts > li:first-child { display: none; }

  @media (max-width: 639px) { #tour-grid > .c-card .c-card__title { font-size: 0.9375rem; -webkit-line-clamp: none; overflow-wrap: break-word; } } 
  .tours-head__more { display: none; }
  
  .tours-skip { display: none; }
  #tour-grid:focus { outline: none; }

  
  #sheet-filters .sheet__foot--filters { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  #sheet-filters .sheet__foot--filters .btn--primary { flex: 1 1 auto; max-width: 100%; }
  #sheet-filters .sheet__foot--filters [data-filter-clear] { flex: none; min-height: 52px; padding-inline: 12px; color: var(--action-ink); font-weight: 600; }
  #sheet-filters .sheet__foot--filters [data-filter-clear][hidden] { display: none; }
  #sheet-filters .c-facets__group:first-child legend { padding-block-start: 4px; }

  .tours-section-head { margin-bottom: 20px; }
  .tours-section-head .link-arrow { min-height: 44px; display: inline-flex; align-items: center; }
  .tours-model { display: grid; gap: 0 48px; border-top: 1px solid var(--line); }
  .tours-model__item { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; align-items: start; padding-block: 18px; border-bottom: 1px solid var(--line); }
  .tours-model__title { font: 600 1.0625rem/1.3 var(--font-display); color: var(--text-strong); }
  .tours-model__text { grid-column: 2; margin-top: 4px; font-size: 0.9375rem; line-height: 1.55; color: var(--text); max-width: 62ch; }
  .tours-model__item .c-icon-chip { grid-row: 1 / span 3; }
  .tours-model__go { grid-column: 2; justify-self: start; margin-top: 2px; font: 600 0.875rem/1.2 var(--font-text); color: var(--action-ink); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
  .tours-model__go .icon { width: 18px; height: 18px; }
  .tours-model__go:hover { text-decoration: underline; }

  .tours-faq { display: grid; gap: 32px; }
  .tours-how { display: grid; gap: 28px; }
  .tours-how__lead { max-width: 52ch; }
  .tours-help { display: grid; gap: 20px; }
}




@media (min-width: 640px) {
  @layer pages {
    #tour-grid { container: tgrid / inline-size; }
    #tour-grid.c-grid--rows { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    #tour-grid > .c-card:nth-child(n+13) { contain-intrinsic-size: auto 300px; }
  }
}
@container tgrid (min-width: 36rem) {
  @layer pages {
    #tour-grid > .c-card { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); padding: 6px; }
    #tour-grid > .c-card .c-card__media { aspect-ratio: auto; height: 100%; min-height: 220px; }
    #tour-grid > .c-card .c-card__media picture { position: absolute; inset: 0; }
    #tour-grid > .c-card .c-card__body { padding: 16px 18px 6px; gap: 6px; }
    #tour-grid > .c-card .c-card__title { font-size: 1.25rem; -webkit-line-clamp: 4; }
    #tour-grid > .c-card .c-card__text { -webkit-line-clamp: 3; }
    #tour-grid > .c-card .c-card__foot { align-items: flex-end; flex-wrap: wrap; min-height: 0; padding-block: 12px 8px; }
    #tour-grid > .c-card .c-card__cue { display: none; }
    #tour-grid > .c-card .c-card__flag { max-width: calc((100% - 12px) * 0.4 - 28px); }
    #tour-grid > .c-card .c-card__fav { inset-inline: auto; inset-inline-start: calc(6px + (100% - 12px) * 0.4 - 54px); top: 16px; bottom: auto; }
    #tour-grid > .c-card:has(.c-card__fav) .c-card__foot { padding-inline-end: 0; }
  }
}
@container tgrid (min-width: 52rem) {
  @layer pages {
    #tour-grid > .c-card { grid-template-columns: minmax(0, 36%) minmax(0, 1fr); }
    #tour-grid > .c-card { min-height: 264px; }
    #tour-grid > .c-card .c-card__media { min-height: 252px; }
    #tour-grid > .c-card .c-card__body { display: grid; grid-template-columns: minmax(0, 1fr) 196px; grid-template-rows: 1fr auto auto auto auto auto 1fr; grid-template-areas: ". price" "label price" "title price" "text price" "can price" "facts price" ". price"; column-gap: 20px; row-gap: 6px; align-content: stretch; padding: 18px 8px 14px 22px; }
    #tour-grid > .c-card .c-card__label { grid-area: label; }
    #tour-grid > .c-card .c-card__title { grid-area: title; font-size: 1.375rem; }
    #tour-grid > .c-card .c-card__text { grid-area: text; }
    #tour-grid > .c-card .c-card__facts { grid-area: facts; }
    #tour-grid > .c-card .c-card__can { grid-area: can; }
    #tour-grid > .c-card .c-card__foot { grid-area: price; flex-direction: column; align-items: flex-end; justify-content: center; gap: 12px; margin: 0; padding: 4px 8px 4px 20px; border-top: 0; border-inline-start: 1px solid var(--line); }
    #tour-grid > .c-card .c-card__foot .c-price--stacked { align-items: flex-end; text-align: end; }
    #tour-grid > .c-card .c-card__cue { display: flex; align-items: center; justify-content: flex-end; text-align: end; }
    #tour-grid > .c-card .c-card__go { width: 100%; align-self: stretch; display: inline-flex; align-items: center; justify-content: center; }
    #tour-grid > .c-card .c-card__flag { display: none; }
    #tour-grid > .c-card .c-card__fav { inset-inline-start: calc(6px + (100% - 12px) * 0.36 - 54px); }
  }
}


@media (max-width: 639px) {
  @layer pages {
    .tours-results .c-grid--rows .c-card:not(.c-card--feature):not(.c-card--cta) .c-price__tax { display: inline; flex-basis: 100%; }
  }
}

@media (max-width: 389px) {
  @layer pages { .tours-head__chips { gap: 6px; } .tours-head__chips .c-chip { padding-inline: 8px; } .tours-head__chips .c-chip .icon { display: none; } }
}

@media (min-width: 640px) {
  @layer pages {
    .tours-head__more { display: inline; }
  }
}

@media (min-width: 768px) {
  @layer pages {
    .tours-head { padding-block: 24px 16px; }
    .tours-head h1 { line-height: 1.06; }
    .tours-head .page-head__lead { font-size: var(--fs-lead); }
    .tours-head__chips .c-chip { min-height: 36px; padding-inline: 14px; font-size: 0.875rem; }
    .tours-sort__label { display: inline; }
  }
}

@media (min-width: 900px) {
  @layer pages { .tours-model { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
}

@media (min-width: 1024px) {
  @layer pages {
    .tours-head { padding-block: 28px 20px; min-height: 0; }
    .tours-head .c-breadcrumb { display: block; margin-bottom: 12px; }
    .tours-bar .c-search { max-width: 640px; }
    .tours-faq { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
    .tours-faq__qa { position: sticky; top: calc(var(--header-h) + 24px); }
    .tours-how { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
    .tours-help { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
  }
}

@media (min-width: 1280px) {
  @layer pages {
    
    .tours-bar__strip { display: none; }
    .tours-bar { display: grid; }
    .tours-skip { display: block; position: fixed; z-index: var(--z-skip); inset-inline-start: 8px; top: -80px; padding: 12px 16px; border-radius: var(--r-2); background: var(--navy); color: #fff; font-weight: 600; }
    .tours-skip:focus { top: calc(var(--header-h) + 8px); outline: 2px solid #fff; outline-offset: -4px; }
    
    .tours-bar .c-toolbar__live { padding-inline-start: 296px; padding-block: 4px 12px; }
    .tours-bar .c-toolbar__row { padding-block: 4px 8px; }
    .tours-results .c-sidebar::before { content: "Filters"; content: "Filters" / ""; display: block; padding-block: 4px 0; font: 800 1.25rem/1.2 var(--font-display); letter-spacing: -0.02em; color: var(--text-strong); }
    .tours-results .c-sidebar { padding-block-end: 24px; }
  }
}


@media (forced-colors: active) {
  @layer pages { .tours-bar .c-count, .tours-results .c-count { border: 0; } .tours-sort__icon { color: CanvasText; } }
}
