/* Shared cards across discovery, home, favorites and related tours. */
.tour-card.tour-card--refined[data-tour-slug] {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  padding: 0;
  border: 1px solid #e7e9ee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 3px 16px #24304406;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.tour-card.tour-card--refined:hover {
  border-color: #e8acbd;
  box-shadow: 0 10px 28px #24304412;
  transform: translateY(-3px);
}
.tour-card--refined .tour-card-media { position: relative; min-width: 0; align-self: start; width: 100%; }
.tour-card--refined .tour-card-media > :is(.badge, .seats) { pointer-events: none; }
.tour-card--refined .tour-card-media .tour-photo { background-color: #f1f2f5; }
.tour-card--refined .tour-card-media .tour-photo-link { display: block; width: 100%; height: auto; min-height: 0; aspect-ratio: 1; }
.tour-card--refined .tour-card-media .tour-photo { width: 100%; height: auto; min-height: 0; aspect-ratio: 1; border-radius: 0; }
.tour-card--refined .tour-card-media .tour-cover-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.tour-card--refined .tour-card-media .heart { top: 12px; right: 12px; left: auto; width: 44px; height: 44px; min-width: 44px; min-height: 44px; font-size: 28px; color: #b82047; background: #fff; box-shadow: 0 3px 12px #18203020; }
.tour-card--refined .tour-card-media .heart.saved { color: #fff; background: #c42146; }
.tour-card--refined .tour-card-media .badge { left: 12px; top: 12px; max-width: calc(100% - 80px); padding: 7px 11px; font-size: 12px; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
.tour-card--refined .tour-card-media .seats { left: 12px; right: auto; bottom: 12px; max-width: calc(100% - 24px); padding: 5px 10px; border-radius: 7px; background: #17202dde; font-size: 12px; line-height: 1.5; }
.tour-card--refined .tour-card-media .sold-out-panel { position: absolute; inset: 0; align-content: center; }
.tour-card--refined .tour-card-media .sold-out-panel strong { font-size: clamp(24px, 3vw, 38px); }
.tour-card--refined .tour-card-media .sold-out-panel span { font-size: 13px; }
.tour-card.tour-card--refined .tour-body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 18px; container-type: inline-size; container-name: tour-card-body; }
.tour-card.tour-card--refined .tour-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; font-size: 12px; line-height: 1.6; }
.tour-card.tour-card--refined .tour-meta > span { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.tour-card.tour-card--refined .tour-meta > span:first-child { color: #a51e42; background: #fff0f4; padding: 4px 9px; border-radius: 6px; font-weight: 700; }
.tour-card.tour-card--refined .tour-meta > span:last-child { display: inline-flex; align-items: center; gap: 5px; color: #616777; }
.tour-card--refined .tour-meta .material-icons { font-size: 16px; }
.tour-card--refined .tour-card-code { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; margin-top: 8px; color: #616777; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.tour-card--refined .tour-card-review strong { color: #825b15; }
.tour-card.tour-card--refined .tour-body h3 { margin: 12px 0 7px; min-height: 0; font-size: 17px; line-height: 1.65; font-weight: 700; letter-spacing: 0; -webkit-line-clamp: 3; overflow-wrap: anywhere; }
.tour-card--refined h3 a:hover { color: #b82047; }
.tour-card.tour-card--refined .route { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; overflow: hidden; margin: 0; font-size: 12px; line-height: 1.75; color: #616777; overflow-wrap: anywhere; }
.tour-card.tour-card--refined .feature-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 6px; margin: 14px 0 16px; padding: 6px; border: 1px solid #eceef2; border-radius: 12px; background: #f7f8fa; }
.tour-card.tour-card--refined .feature-row > span { display: flex; flex: 1 1 100px; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; max-width: 100%; gap: 4px; padding: 7px 9px; border: 0; border-radius: 8px; background: transparent; color: #303747; font-size: 12px; line-height: 1.5; white-space: normal; }
.tour-card.tour-card--refined .feature-row .tour-feature-label { padding: 0; background: transparent; color: inherit; font: inherit; font-weight: 600; overflow-wrap: anywhere; }
.tour-card.tour-card--refined .feature-row .tour-feature-caption { display: flex; align-items: center; gap: 4px; padding: 0; background: transparent; color: #737986; font-size: 10px; font-weight: 400; }
.tour-card.tour-card--refined .feature-row .material-icons { flex: none; padding: 0; border: 0; background: transparent; color: #878b97; font-size: 14px; }
.tour-card.tour-card--refined .feature-row .airline-feature { flex: 0 1 80px; align-items: center; min-height: 58px; gap: 0; background: #fff; border: 1px solid #e9ebf0; text-align: center; }
.tour-card.tour-card--refined .feature-row .airline-feature img { width: 60px; height: 40px; object-fit: contain; flex: none; }
.tour-card.tour-card--refined .feature-row .tour-hotel-stars { padding: 0; background: transparent; color: #b87909; font-size: 14px; }
.tour-card.tour-card--refined .feature-row .tour-hotel-star-range { padding: 0 3px; background: transparent; color: #616777; }
/* Column cards keep a stable two-column layout, with hotel details below. */
:not(.is-row) > .tour-card.tour-card--refined .feature-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 10px; background: #fafbfc; }
:not(.is-row) > .tour-card.tour-card--refined .feature-row > span { max-width: none; padding: 0; }
:not(.is-row) > .tour-card.tour-card--refined .feature-row .airline-feature { min-height: 48px; padding: 4px 6px; border: 0; border-radius: 7px; }
:not(.is-row) > .tour-card.tour-card--refined .feature-row .tour-origin-feature { align-items: center; margin-left: 10px; padding-left: 10px; border-left: 1px solid #e5e8ee; border-radius: 0; text-align: center; }
:not(.is-row) > .tour-card.tour-card--refined .feature-row .tour-hotel-feature { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; margin-top: 9px; padding-top: 8px; border-top: 1px solid #e9ebf0; border-radius: 0; }
:not(.is-row) > .tour-card.tour-card--refined .feature-row .tour-hotel-stars { font-size: 13px; }
.tour-card--refined .tour-period-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; font-size: 12px; font-weight: 700; }
.tour-card--refined .tour-period-heading small { color: #616777; font-size: 11px; font-weight: 400; }
.tour-card.tour-card--refined .tour-period-list { --tour-period-columns: 1; display: grid; grid-template-columns: repeat(var(--tour-period-columns), minmax(0, 1fr)); align-items: stretch; gap: 7px; margin: 0 0 16px; }
.tour-card.tour-card--refined .tour-period-row { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; justify-items: center; min-width: 0; gap: 4px; padding: 5px; border: 1px solid #e9ebf0; border-radius: 9px; background: #f8f9fb; color: #414756; font-size: 12px; line-height: 1.5; text-align: center; }
.tour-card.tour-card--refined .tour-period-date { grid-column: auto; justify-content: center; gap: 0; width: 100%; }
.tour-card.tour-card--refined .tour-period-date strong { white-space: normal; overflow-wrap: anywhere; font-weight: 600; }
.tour-card.tour-card--refined .tour-period-date .material-icons { display: none; }
.tour-card.tour-card--refined .tour-period-price { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-height: 32px; gap: 0; min-width: 0; }
.tour-card.tour-card--refined .tour-period-price strong { font-size: 13px; color: #a51e42; }
.tour-card.tour-card--refined .tour-period-price del { font-size: 11px; font-weight: 400; }
.tour-card.tour-card--refined .tour-period-seat { justify-self: center; min-width: 0; max-width: 100%; padding: 2px 5px; font-size: 11px; font-weight: 600; white-space: normal; text-align: center; }
.tour-card.tour-card--refined .tour-period-seat.is-open { background: #e6f4ec; color: #17633f; }
.tour-card.tour-card--refined .tour-period-seat.is-closed { background: #ebeef2; color: #616777; }
.tour-card.tour-card--refined .tour-period-more { grid-column: 1 / -1; min-width: 0; }
.tour-card.tour-card--refined .tour-period-more[open] { grid-column: 1 / -1; }
.tour-card.tour-card--refined .tour-period-more summary { display: flex; flex-direction: row; height: auto; min-height: 44px; gap: 4px; padding: 5px; border: 1px dashed #e4b8c6; border-radius: 9px; background: #fffafb; color: #a51e42; font-size: 12px; font-weight: 600; text-align: center; }
.tour-card.tour-card--refined .tour-period-more[open] summary { flex-direction: row; height: auto; }
.tour-card.tour-card--refined .tour-period-more-list { grid-template-columns: repeat(var(--tour-period-columns), minmax(0, 1fr)); align-items: stretch; max-height: 320px; overflow-y: auto; overscroll-behavior: contain; padding: 2px; }
/* Use the available card content width, including home and favorite cards. */
@container tour-card-body (min-width: 176px) {
  .tour-card.tour-card--refined .tour-period-list { --tour-period-columns: 2; }
}
@container tour-card-body (min-width: 248px) {
  .tour-card.tour-card--refined .tour-period-list { --tour-period-columns: 3; }
}
.tour-card.tour-card--refined .tour-bottom { display: flex; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid #e9ebf0; }
.tour-card.tour-card--refined .tour-price-stack { min-width: 0; gap: 2px; }
.tour-card.tour-card--refined .tour-price-stack small { display: block; font-size: 11px; line-height: 1.5; color: #616777; }
.tour-card.tour-card--refined .tour-price-stack del { font-size: 12px; font-weight: 400; color: #737986; }
.tour-card.tour-card--refined .tour-price-stack strong { font-size: 27px; line-height: 1.25; color: #b82047; letter-spacing: -.6px; overflow-wrap: anywhere; }
.tour-card.tour-card--refined .detail-button { display: inline-flex; align-items: center; justify-content: center; flex: 1 0 auto; width: auto; min-height: 46px; gap: 7px; padding: 10px 14px; border: 1px solid #b82047; border-radius: 10px; background: #b82047; color: #fff; font-size: 12px; font-weight: 700; line-height: 1.5; white-space: normal; text-align: center; }
.tour-card.tour-card--refined .detail-button:hover { background: #971638; border-color: #971638; }
.tour-card--refined .detail-button .material-icons { font-size: 17px; }
.tour-card.tour-card--refined :is(a, button, summary):focus-visible { outline: 3px solid #a51e42; outline-offset: -3px; }
.tour-card.tour-card--refined .heart:focus-visible { outline-offset: 3px; }
.tour-grid:has(> .tour-card--refined) { align-items: stretch; }

.tour-card--refined .tour-card-content { display: contents; }
.tour-card--refined .tour-card-summary { display: contents; }
.tour-card--refined .tour-period-overview { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; }
.tour-card--refined .tour-period-caption { display: inline-flex; align-items: center; gap: 5px; color: #616777; font-weight: 500; }
.tour-card--refined .tour-period-caption .material-icons { font-size: 17px; }
.tour-card--refined .tour-program-range { color: #303747; font-size: 12px; overflow-wrap: anywhere; }
.tour-card--refined .tour-period-heading > small { flex-shrink: 0; padding: 3px 7px; border-radius: 6px; background: #f1f2f6; }

/* Keep imagery, departure comparison and the booking action close together. */
.listing-grid.is-row .tour-card.tour-card--refined { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; }
.listing-grid.is-row .tour-card--refined .tour-body { padding: 20px; }
.listing-grid.is-row .tour-card--refined .tour-body h3 { font-size: 19px; }
.listing-grid.is-row .tour-card--refined .tour-bottom { margin-top: auto; }
.listing-grid.is-row .tour-card--refined .detail-button { flex: none; }
.listing-grid.is-row .tour-card--refined .feature-row :is(.tour-feature-label, .material-icons) { display: inline-block; }
.tour-card--refined .tour-period-table-head { display: none; }
.listing-grid.is-row .tour-card--refined .tour-period-list { --tour-period-columns: 1; grid-template-columns: minmax(0, 1fr); gap: 0; border: 1px solid #e9ebf0; border-radius: 10px; overflow: hidden; }
.listing-grid.is-row .tour-card--refined .tour-period-list:has(.tour-period-more[open]) { max-height: 240px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.listing-grid.is-row .tour-card--refined :is(.tour-period-row, .tour-period-table-head) { display: grid; grid-template-columns: minmax(0, 1fr) 82px 78px; align-items: center; gap: 8px; padding: 7px 10px; text-align: left; }
.listing-grid.is-row .tour-card--refined .tour-period-table-head { position: sticky; top: 0; z-index: 1; background: #f3f5f8; color: #616777; font-size: 10px; }
.listing-grid.is-row .tour-card--refined .tour-period-table-head > :nth-child(2) { text-align: right; }
.listing-grid.is-row .tour-card--refined .tour-period-table-head > :last-child { text-align: center; }
.listing-grid.is-row .tour-card--refined .tour-period-row { min-height: 40px; border: 0; border-bottom: 1px solid #edf0f4; border-radius: 0; background: #fff; }
.listing-grid.is-row .tour-card--refined .tour-period-row:hover { background: #fff8fa; }
.listing-grid.is-row .tour-card--refined .tour-period-date { justify-content: flex-start; }
.listing-grid.is-row .tour-card--refined .tour-period-price { min-height: 0; align-items: flex-end; justify-self: end; }
.listing-grid.is-row .tour-card--refined .tour-period-seat { padding: 2px 6px; }
.listing-grid.is-row .tour-card--refined .tour-period-more summary { border: 0; border-radius: 0; min-height: 44px; }
.listing-grid.is-row .tour-card--refined .tour-period-more-list { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; margin: 0; max-height: none; overflow: visible; }
.listing-grid.is-row .tour-card--refined .tour-period-list:focus-visible { outline: 2px solid #a51e42; outline-offset: 2px; }
@media (max-width: 380px) {
  .listing-grid.is-row .tour-card--refined :is(.tour-period-row, .tour-period-table-head) { grid-template-columns: minmax(0, 1fr) 66px 62px; gap: 5px; padding-inline: 7px; }
  .listing-grid.is-row .tour-card--refined .tour-period-date { font-size: 11px; }
}

@media (min-width: 1200px) {
  .listing-grid.is-row .tour-card.tour-card--refined { grid-template-columns: 230px minmax(0, 1fr); border-radius: 16px; }
  .listing-grid.is-row .tour-card--refined .tour-card-media { padding: 12px 0 12px 12px; }
  .listing-grid.is-row .tour-card--refined .tour-card-media .tour-photo { border-radius: 10px; overflow: hidden; }
  .listing-grid.is-row .tour-card--refined .tour-card-media .badge { top: 22px; left: 22px; }
  .listing-grid.is-row .tour-card--refined .tour-card-media .heart { top: 22px; right: 10px; }
  .listing-grid.is-row .tour-card--refined .tour-card-media .seats { left: 22px; bottom: 22px; }
  .listing-grid.is-row .tour-card--refined .tour-body { display: grid; grid-template-columns: minmax(0, 1fr) 165px; gap: 18px; padding: 16px 18px; }
  .listing-grid.is-row .tour-card--refined .tour-card-content { display: block; min-width: 0; container: tour-card-body / inline-size; }
  .listing-grid.is-row .tour-card--refined .tour-meta { justify-content: flex-start; gap: 12px; }
  .listing-grid.is-row .tour-card--refined .tour-body h3 { font-size: 18px; line-height: 1.55; margin: 9px 0 6px; }
  .listing-grid.is-row .tour-card--refined .feature-row { margin: 10px 0 12px; gap: 6px; }
  .listing-grid.is-row .tour-card--refined .tour-period-heading { padding-top: 10px; border-top: 1px solid #edf0f4; }
  .listing-grid.is-row .tour-card--refined .tour-period-list { margin-bottom: 0; }
  .listing-grid.is-row .tour-card--refined .tour-bottom { flex-direction: column; justify-content: flex-start; align-items: stretch; flex-wrap: nowrap; gap: 16px; margin: 0; padding: 18px 0 18px 18px; border-top: 0; border-left: 1px solid #edf0f4; text-align: right; }
  .listing-grid.is-row .tour-card--refined .tour-price-stack { align-items: flex-end; }
  .listing-grid.is-row .tour-card--refined .tour-price-stack strong { font-size: 29px; }
  .listing-grid.is-row .tour-card--refined .detail-button { flex: 0 0 auto; width: 100%; height: 46px; padding: 10px; }
}

@media (max-width: 1100px) {
  .listing-grid.is-row .tour-card.tour-card--refined { grid-template-columns: 200px minmax(0, 1fr); }
}
@media (max-width: 600px) {
  /* Replace the narrow home masonry cards with readable, complete cards. */
  :is(#featured-tours, #best-sellers) .home-tour-grid { display: grid; grid-template-columns: 1fr; columns: auto; gap: 18px; margin: 0; padding: 0; }
  :is(#featured-tours, #best-sellers) .home-tour-grid > .tour-card--refined { display: flex; margin: 0; border-radius: 18px; }
  :is(#featured-tours, #best-sellers) .tour-card--refined .tour-photo { aspect-ratio: 1; border-radius: 0; }
  :is(#featured-tours, #best-sellers) .tour-card--refined .badge { left: 12px; top: 12px; max-width: calc(100% - 80px); padding: 7px 11px; font-size: 12px; white-space: normal; }
  :is(#featured-tours, #best-sellers) .tour-card--refined .seats { left: 12px; right: auto; bottom: 12px; font-size: 12px; line-height: 1.5; }
  :is(#featured-tours, #best-sellers) .tour-card--refined .tour-body { padding: 16px; }
  :is(#featured-tours, #best-sellers) .tour-card--refined .tour-meta { display: flex; gap: 6px 10px; font-size: 12px; line-height: 1.6; }
  :is(#featured-tours, #best-sellers) .tour-card--refined .tour-meta span { white-space: normal; }
  :is(#featured-tours, #best-sellers) .tour-card--refined .tour-body h3 { margin: 12px 0 7px; font-size: 17px; line-height: 1.65; -webkit-line-clamp: 3; }
  :is(#featured-tours, #best-sellers) .tour-card--refined .route { display: -webkit-box; }
  :is(#featured-tours, #best-sellers) .tour-card--refined .feature-row { display: grid; }
  :is(#featured-tours, #best-sellers) .tour-card--refined .tour-period-list { display: grid; }
  :is(#featured-tours, #best-sellers) .tour-card--refined .tour-bottom { display: flex; gap: 12px; margin-top: auto; padding-top: 16px; }
  :is(#featured-tours, #best-sellers) .tour-card--refined .tour-bottom small { font-size: 11px; }
  :is(#featured-tours, #best-sellers) .tour-card--refined .tour-bottom strong { font-size: 27px; }
  :is(#featured-tours, #best-sellers) .tour-card--refined .detail-button { min-height: 46px; border-radius: 10px; padding: 10px 14px; font-size: 12px; }
  .tour-card.tour-card--refined .tour-body { padding: 16px; }
  /* A thumbnail and summary share the first row; comparison and price use the full width. */
  .listing-grid.is-row .tour-card.tour-card--refined { grid-template-columns: 112px minmax(0, 1fr); align-content: start; gap: 12px; height: auto; padding: 12px; border-radius: 16px; }
  .listing-grid.is-row .tour-card--refined .tour-card-media { display: flex; flex-direction: column; gap: 6px; align-self: start; background: transparent; }
  .listing-grid.is-row .tour-card--refined .tour-card-media .tour-photo { border-radius: 10px; overflow: hidden; }
  .listing-grid.is-row .tour-card--refined .tour-card-media .heart { top: 4px; right: 4px; font-size: 25px; box-shadow: 0 2px 8px #18203018; }
  .listing-grid.is-row .tour-card--refined .tour-card-media :is(.badge, .seats) { position: static; max-width: 100%; width: fit-content; margin: 0; padding: 3px 7px; border-radius: 6px; font-size: 10px; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
  .listing-grid.is-row .tour-card--refined .tour-card-media .badge { color: #a51e42; background: #fff0f4; box-shadow: none; }
  .listing-grid.is-row .tour-card--refined .tour-card-media .seats { color: #414756; background: #f1f3f6; }
  .listing-grid.is-row .tour-card--refined .tour-card-media .sold-out-panel strong { font-size: 20px; }
  .listing-grid.is-row .tour-card--refined .tour-card-media .sold-out-panel span { font-size: 10px; }
  .listing-grid.is-row .tour-card--refined :is(.tour-body, .tour-card-content) { display: contents; }
  .listing-grid.is-row .tour-card--refined .tour-card-summary { display: flex; flex-direction: column; min-width: 0; align-self: start; }
  .listing-grid.is-row .tour-card--refined .tour-meta { justify-content: flex-start; gap: 4px 8px; font-size: 11px; }
  .listing-grid.is-row .tour-card--refined .tour-meta > span:first-child { padding: 2px 6px; }
  .listing-grid.is-row .tour-card--refined .tour-meta .material-icons { font-size: 14px; }
  .listing-grid.is-row .tour-card--refined .tour-body h3 { order: 1; margin: 7px 0 5px; font-size: 16px; line-height: 1.55; -webkit-line-clamp: 3; }
  .listing-grid.is-row .tour-card--refined .tour-card-code { order: 2; gap: 3px 6px; margin-top: 0; font-size: 10px; }
  .listing-grid.is-row .tour-card--refined .staff-card-meta { order: 3; }
  .listing-grid.is-row .tour-card--refined .route { display: none; }
  .listing-grid.is-row .tour-card--refined :is(.feature-row, .tour-period-heading, .tour-period-list, .tour-bottom) { grid-column: 1 / -1; min-width: 0; }
  .listing-grid.is-row .tour-card--refined .feature-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; margin: 0; padding: 8px 10px; border-radius: 9px; background: #f8f9fb; }
  .listing-grid.is-row .tour-card--refined .feature-row > span { display: flex; padding: 0; font-size: 11px; }
  .listing-grid.is-row .tour-card--refined .feature-row .airline-feature { min-height: 34px; padding-right: 10px; border: 0; border-radius: 0; background: transparent; }
  .listing-grid.is-row .tour-card--refined .feature-row .airline-feature img { width: 64px; height: 32px; }
  .listing-grid.is-row .tour-card--refined .feature-row .tour-origin-feature { gap: 2px; padding-left: 12px; border-left: 1px solid #e5e8ee; border-radius: 0; }
  .listing-grid.is-row .tour-card--refined .feature-row .tour-feature-caption { display: flex; }
  .listing-grid.is-row .tour-card--refined .feature-row .tour-hotel-feature { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; margin-top: 7px; padding-top: 7px; border-top: 1px solid #e5e8ee; border-left: 0; border-radius: 0; }
  .listing-grid.is-row .tour-card--refined .feature-row :is(.tour-hotel-stars, .tour-hotel-star-range) { display: inline; }
  .listing-grid.is-row .tour-card--refined .tour-period-heading { align-items: flex-start; gap: 6px; margin: 0; font-size: 11px; }
  .listing-grid.is-row .tour-card--refined .tour-period-overview { gap: 2px 6px; }
  .listing-grid.is-row .tour-card--refined .tour-program-range { font-size: 11px; }
  .listing-grid.is-row .tour-card--refined .tour-period-heading > small { font-size: 10px; }
  .listing-grid.is-row .tour-card--refined .tour-period-list { display: grid; margin: -4px 0 0; border-radius: 9px; }
  .listing-grid.is-row .tour-card--refined :is(.tour-period-row, .tour-period-table-head) { grid-template-columns: minmax(0, 1fr) 72px 64px; gap: 6px; padding: 6px 8px; }
  .listing-grid.is-row .tour-card--refined .tour-period-row { min-height: 38px; font-size: 11px; }
  .listing-grid.is-row .tour-card--refined .tour-period-price strong { font-size: 12px; }
  .listing-grid.is-row .tour-card--refined .tour-period-price del { font-size: 10px; }
  .listing-grid.is-row .tour-card--refined .tour-period-seat { padding: 2px 4px; font-size: 10px; }
  .listing-grid.is-row .tour-card--refined .tour-period-more summary { font-size: 11px; }
  .listing-grid.is-row .tour-card--refined .tour-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; padding-top: 12px; }
  .listing-grid.is-row .tour-card--refined .tour-price-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
  .listing-grid.is-row .tour-card--refined .tour-price-stack small { font-size: 10px; }
  .listing-grid.is-row .tour-card--refined .tour-price-stack strong { font-size: 25px; letter-spacing: -.4px; }
  .listing-grid.is-row .tour-card--refined .tour-price-stack del { font-size: 10px; }
  .listing-grid.is-row .tour-card--refined .detail-button { min-height: 46px; padding: 10px 12px; font-size: 12px; }
}
@media (max-width: 380px) {
  .listing-grid.is-row .tour-card.tour-card--refined { grid-template-columns: 96px minmax(0, 1fr); gap: 10px; padding: 10px; }
  .listing-grid.is-row .tour-card--refined .tour-meta { gap: 3px 5px; font-size: 10px; }
  .listing-grid.is-row .tour-card--refined :is(.tour-period-row, .tour-period-table-head) { grid-template-columns: minmax(0, 1fr) 64px 60px; gap: 4px; padding-inline: 6px; }
  .listing-grid.is-row .tour-card--refined .tour-price-stack strong { font-size: 23px; }
  .listing-grid.is-row .tour-card--refined .detail-button { gap: 4px; padding-inline: 10px; font-size: 11px; }
}
@media (hover: none), (prefers-reduced-motion: reduce) {
  .tour-card.tour-card--refined:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tour-card.tour-card--refined, .tour-card--refined .heart, .tour-card--refined .detail-button { transition: none; }
}
