/* GZ-TOURS-PAGE-01 · tours.php (light theme, cream).
 * Shared with the hotel page and NOT repeated here: tokens (--hotel-*), header, footer, skip link, the search bar
 * (.hotel-booking-panel.is-standalone, .input-box, destination menu, participants popover) and the chips
 * (.hotel-sort-chips) — all from modules/hotel-booking/assets/css/hotel-search.css, loaded first.
 * This file only holds what is new on the tours page: hero, VIP cards, concierge strip, empty state.
 * GZ-I18N-B: left / right are logical (inset-inline, margin-inline, text-align: start), so the page mirrors itself under dir="rtl" (Arabic). */

.tours-wrap { width: min(1320px, calc(100% - 32px)); margin: 0 auto; }
.tours-page .hotel-page-main { padding-bottom: 56px; }

/* Hero: title on the left, three promise cards on the right */
.tours-hero { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 36px; align-items: end; margin-top: 40px; margin-bottom: 26px; }
.tours-eyebrow { margin: 0 0 10px; color: var(--hotel-gold); font-size: 13px; font-weight: 700; }
.tours-hero h1 { margin: 0; color: var(--hotel-ink); font-family: var(--hotel-serif); font-size: clamp(30px, 4.6vw, 46px); font-weight: 600; line-height: 1.08; letter-spacing: 0; text-transform: none; text-align: start; }
.tours-lead { max-width: 560px; margin: 12px 0 0; color: var(--hotel-mute); font-size: 15px; line-height: 1.6; }
.tours-promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tours-promise > div { padding: 12px; border: 1px solid var(--hotel-line); border-radius: 14px; background: var(--hotel-card); color: var(--hotel-mute); font-size: 12px; line-height: 1.4; }
.tours-promise svg { display: block; width: 20px; height: 20px; margin-bottom: 6px; color: var(--hotel-gold); }
.tours-promise b { display: block; color: var(--hotel-ink); font-size: 13px; }

/* Search bar: the hotel bar has five cells, this one four (Nereye · Tarih · Katılımcı · Tur ara) */
.tours-page .hotel-page-search { margin: 0 auto 22px; }
.tours-page .hotel-booking-panel.is-standalone { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.1fr) auto; }
.tours-page .input-box.is-missing { box-shadow: inset 0 0 0 1px var(--hotel-no); }
.tours-page .input-box.is-missing > span:first-child { color: var(--hotel-no); }
.tours-page .is-standalone .hotel-booking-date .hotel-date-display { cursor: pointer; }

/* Category chips */
.tours-cats { margin: 0 0 34px; }
.tours-cats[hidden], .tours-cats button[hidden] { display: none !important; }

/* Section heads */
.tours-section[hidden], .tours-empty[hidden], .tours-partner[hidden] { display: none !important; }
.tours-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 0 18px; }
.tours-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--hotel-gold); font-size: 13px; font-weight: 700; }
.tours-kicker i { width: 26px; height: 1px; background: var(--hotel-gold2); }
.tours-section-head h2 { margin: 0; color: var(--hotel-ink); font-family: var(--hotel-serif); font-size: 30px; font-weight: 600; line-height: 1.15; letter-spacing: 0; text-transform: none; text-align: start; }
.tours-section-head p { margin: 6px 0 0; color: var(--hotel-mute); font-size: 14px; line-height: 1.5; }
.tours-seeall { display: inline-flex; align-items: center; gap: 4px; padding: 6px 0; border: 0; background: none; color: var(--hotel-ink); cursor: pointer; font: inherit; font-size: 13px; font-weight: 700; white-space: nowrap; }
.tours-seeall[hidden] { display: none !important; }
.tours-seeall:hover { color: var(--hotel-gold); }
.tours-seeall:focus-visible, .tours-btn:focus-visible { outline: 2px solid #C9A24A; outline-offset: 3px; }
.tours-seeall[aria-expanded="true"] svg { transform: rotate(90deg); }
[dir="rtl"] .tours-seeall svg { transform: scaleX(-1); }
[dir="rtl"] .tours-seeall[aria-expanded="true"] svg { transform: rotate(90deg); }

/* VIP cards: the first one is wide, at most three show until "Tüm VIP turlar" opens the rest */
.tours-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.tours-grid[data-count="1"] { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
.tours-grid[data-count="2"] { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.tours-vip { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--hotel-line); border-radius: 20px; background: var(--hotel-card); box-shadow: 0 14px 34px var(--hotel-shadow); }
.tours-vip[hidden] { display: none !important; }
.tours-vip::before { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: 20px; box-shadow: inset 0 0 0 1px rgba(217, 182, 94, .45); pointer-events: none; }
.tours-vip-photo { position: relative; height: 230px; flex: none; background: var(--hotel-goldbg); }
.tours-vip.is-wide .tours-vip-photo { height: 270px; }
.tours-vip-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tours-vip-tag { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--hotel-bar-bg); color: var(--hotel-bar-gold); font-size: 12px; font-weight: 700; }
.tours-vip-tag svg { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.tours-vip-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 18px 20px 20px; }
.tours-vip-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 0; color: var(--hotel-faint); font-size: 12px; }
.tours-vip-meta span { display: inline-flex; align-items: center; gap: 5px; }
.tours-vip-meta svg { width: 14px; height: 14px; }
.tours-vip h3 { margin: 0; color: var(--hotel-ink); font-family: var(--hotel-serif); font-size: 23px; font-weight: 600; line-height: 1.2; letter-spacing: 0; text-transform: none; text-align: start; }
.tours-vip-desc { margin: 0; color: var(--hotel-mute); font-size: 14px; line-height: 1.55; }
.tours-vip-inc { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 2px 0 0; padding: 0; list-style: none; }
.tours-vip-inc li { display: flex; align-items: center; gap: 6px; color: var(--hotel-soft); font-size: 13px; }
.tours-vip-inc svg { color: var(--hotel-gold); }
.tours-vip-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--hotel-line2); }
.tours-vip-foot small { display: block; color: var(--hotel-faint); font-size: 12px; }
.tours-vip-price { color: var(--hotel-ink); font-family: var(--hotel-serif); font-size: 26px; font-weight: 600; }
html[data-theme="dark"] .tours-vip-price { color: var(--hotel-bar-gold); }
.tours-vip-foot em { margin-inline-start: 4px; color: var(--hotel-faint); font-size: 12px; font-style: normal; }

/* Buttons */
.tours-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 96px; padding: 10px 18px; border: 0; border-radius: 12px; background: var(--hotel-btn-bg); color: var(--hotel-btn-fg); cursor: pointer; font: inherit; font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.tours-btn:hover { filter: brightness(1.15); }
.tours-btn.is-gold { background: #D9B65E; color: #16140F; padding: 13px 22px; font-size: 14px; }
.tours-btn.is-ghost { border: 1.5px solid var(--hotel-ink); background: var(--hotel-card); color: var(--hotel-ink); }

/* Concierge strip */
.tours-concierge { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 26px 0 46px; padding: 20px 24px; border-radius: 18px; background: var(--hotel-bar-bg); color: var(--hotel-bar-fg); }
.tours-concierge b { font-family: var(--hotel-serif); font-size: 20px; font-weight: 600; }
.tours-concierge p { margin: 4px 0 0; color: var(--hotel-bar-mute); font-size: 13px; line-height: 1.5; }

/* Honest empty state */
.tours-empty { max-width: 560px; margin: 8px 0 0; padding: 26px 28px; border: 1px solid var(--hotel-line); border-radius: 18px; background: var(--hotel-card); }
.tours-empty h2 { margin: 0 0 8px; color: var(--hotel-ink); font-family: var(--hotel-serif); font-size: 24px; font-weight: 600; line-height: 1.2; letter-spacing: 0; text-transform: none; text-align: start; }
.tours-empty p { margin: 0 0 18px; color: var(--hotel-mute); font-size: 14px; line-height: 1.55; }
.tours-empty .tours-btn[hidden] { display: none; }

/* GZ-TOURS-NUITEE-01 · partner activities (Nuitee Experiences): small cards, sort chips, honest states.
 * The waiting screen (.hotel-search-loader, .hotel-intro*) is the shared one from hotel-search.css. */
.tours-partner[hidden], .tours-ptools[hidden], .tours-agrid[hidden], .tours-pstate[hidden], .tours-section-head[hidden] { display: none !important; }
.tours-ptools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 16px; }
.tours-plang { margin: 6px 0 0; color: var(--hotel-faint); font-size: 12px; line-height: 1.5; text-align: start; }
.tours-plang[hidden] { display: none; }
.tours-agrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tours-act { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--hotel-line); border-radius: 16px; background: var(--hotel-card); }
.tours-act:focus-within { outline: 2px solid #C9A24A; outline-offset: 3px; }
.tours-act-photo { height: 150px; flex: none; background: var(--hotel-line2); }
.tours-act-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tours-act-body { display: flex; flex: 1; flex-direction: column; gap: 7px; padding: 14px 15px 16px; }
.tours-act-meta { display: flex; align-items: center; gap: 5px; min-height: 18px; margin: 0; color: var(--hotel-faint); font-size: 12px; }
.tours-act h4 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; min-height: 2.7em; margin: 0; overflow: hidden; color: var(--hotel-ink); font-size: 15px; font-weight: 700; line-height: 1.35; letter-spacing: 0; text-transform: none; text-align: start; }
.tours-act-link { color: inherit; text-decoration: none; }
.tours-act-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.tours-act-link:hover { color: var(--hotel-gold); }
.tours-act-rate { display: flex; align-items: center; gap: 4px; min-height: 18px; margin: 0; color: var(--hotel-mute); font-size: 12px; }
.tours-act-rate b { color: var(--hotel-ink); font-size: 13px; }
.tours-act-rate svg { fill: var(--hotel-gold2); stroke: none; }
.tours-act-rate span { margin-inline-start: 2px; }
.tours-act-badges { display: flex; flex-wrap: wrap; gap: 6px; min-height: 24px; }
.tours-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; background: var(--hotel-goldbg); color: var(--hotel-gold); font-size: 11px; font-weight: 700; }
.tours-badge.is-ok { background: var(--hotel-okbg); color: var(--hotel-ok); }
.tours-ic { display: inline-flex; flex: none; }
.tours-act-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; margin: auto 0 0; padding-top: 8px; }
.tours-act-price small { width: 100%; color: var(--hotel-faint); font-size: 11px; }
.tours-act-amount { color: var(--hotel-ink); font-family: var(--hotel-serif); font-size: 20px; font-weight: 600; }
html[data-theme="dark"] .tours-act-amount { color: var(--hotel-bar-gold); }
.tours-act-price s { color: var(--hotel-faint); font-size: 12px; }
.tours-pmore { display: flex; justify-content: center; margin-top: 22px; }
.tours-pmore .tours-btn[hidden] { display: none; }
.tours-pmore .tours-btn:disabled { cursor: progress; opacity: .6; }
.tours-act.is-skeleton { pointer-events: none; }
.tours-skeleton-photo { height: 150px; border-radius: 0; }
.tours-partner .hotel-loader-skeletons { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 0; }
.hotel-search-loader[data-route="none"] .hotel-loader-panel { grid-template-columns: minmax(0, 1fr); }
.tours-pstate { margin-top: 0; }

@media (max-width: 1100px) {
    .tours-hero { grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
    .tours-page .hotel-booking-panel.is-standalone { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; }
    .tours-page .is-standalone .hotel-booking-occupancy { grid-column: 1 / 3; grid-row: 2; border-top: 1px solid var(--hotel-line2); }
    .tours-page .is-standalone .hotel-booking-submit-wrap { grid-row: 1 / 3; grid-column: 3; }
    .tours-grid, .tours-grid[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tours-agrid, .tours-partner .hotel-loader-skeletons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tours-grid[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
}

/* 375 px: one column, no description, chips scroll sideways, search bar stacked (the bar itself comes from hotel-search.css) */
@media (max-width: 768px) {
    .tours-hero { margin-top: 24px; margin-bottom: 18px; }
    .tours-promise, .tours-lead { display: none; }
    .tours-page .is-standalone .hotel-booking-occupancy { border-top: 0; }
    .tours-cats { flex-wrap: nowrap; margin: 4px 0 22px; margin-inline-end: -16px; padding-inline-end: 16px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .tours-cats::-webkit-scrollbar { display: none; }
    .tours-cats button { flex: 0 0 auto; }
    .tours-section-head { align-items: flex-start; flex-direction: column; gap: 6px; }
    .tours-section-head h2 { font-size: 23px; }
    .tours-grid, .tours-grid[data-count="2"], .tours-grid[data-count="1"] { grid-template-columns: minmax(0, 1fr); max-width: none; }
    .tours-vip-photo, .tours-vip.is-wide .tours-vip-photo { height: 190px; }
    .tours-vip h3 { font-size: 20px; }
    .tours-vip-desc { display: none; }
    .tours-concierge { align-items: flex-start; flex-direction: column; margin: 22px 0 36px; }
    .tours-concierge .tours-btn { width: 100%; }
    .tours-empty { padding: 22px 20px; }
    /* Activities: a sideways strip of 220 px cards (the design's mobile row); "Daha fazla" adds cards at its end */
    .tours-agrid { display: grid; grid-auto-flow: column; grid-auto-columns: 220px; grid-template-columns: none; gap: 12px; margin-inline-end: -16px; padding: 0 0 6px; padding-inline-end: 16px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .tours-agrid::-webkit-scrollbar { display: none; }
    .tours-agrid > .tours-act { scroll-snap-align: start; }
    .tours-partner .hotel-loader-skeletons { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 220px; gap: 12px; overflow: hidden; }
    .tours-ptools { flex-direction: column; align-items: flex-start; }
    .tours-ptools .hotel-sort-chips { flex-wrap: nowrap; margin-inline-end: -16px; padding-inline-end: 16px; overflow-x: auto; scrollbar-width: none; max-width: calc(100% + 16px); }
    .tours-ptools .hotel-sort-chips::-webkit-scrollbar { display: none; }
    .tours-ptools .hotel-sort-chips button { flex: 0 0 auto; }
}
