/* Scoped, compact catalog. The source contains every description for crawlers
   and no-JS readers; filters act on the full list without pagination. */
.tours-page [hidden]{display:none!important}
.tour-container{max-width:1140px;padding:20px 22px 32px;margin:auto}
.tour-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:26px;position:relative;isolation:isolate;min-height:158px;padding:24px;border-radius:14px;background:#f0f6f1;overflow:hidden}
.tour-intro::before{content:"";position:absolute;inset:0 auto 0 0;width:56%;background:linear-gradient(to right,rgba(240,246,241,.48),#f0f6f1),url('../images/ninh-binh.jpg') center 48%/cover no-repeat;z-index:-1}
.tour-intro .tour-help{background:rgba(255,255,255,.88)}
.tour-eyebrow{font-size:12px;color:var(--green-darker);font-weight:500;display:block;margin-bottom:8px}
.tour-intro h1{font-size:clamp(26px,3vw,36px);letter-spacing:-.6px;margin-bottom:8px}
.tour-intro p{font-size:16px;color:var(--ink-soft);margin:0}
.tour-help{flex-shrink:0;font-family:inherit}
.tour-workspace{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start}
.tours-page #tour-catalog{padding:0;min-width:0}
.tour-section-title{font-size:20px;font-weight:600;margin:0 0 16px}
.tour-filters{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tours-page label{display:flex;flex-direction:column;gap:5px;font-size:14px;font-weight:500;min-width:0}
.tours-page input,.tours-page select{width:100%;min-width:0;height:43px;border:1px solid var(--border);border-radius:8px;background:#fff;padding:8px 10px;font:inherit;font-size:14px;color:var(--ink)}
.tours-page :focus-visible{outline:3px solid #679c82;outline-offset:3px}
.tour-meta{font-size:12px;color:var(--ink-soft);margin:10px 0}
#tour-list{border-top:1px solid var(--border)}
/* Grid areas keep the title+peek stacked in one column and the select
   action pinned to the side, regardless of how much peek text there is. */
.tour-card{padding:15px 0;border-bottom:1px solid var(--border);display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"header select" "details details";column-gap:16px;row-gap:8px;align-items:start}
.tour-card>header{grid-area:header;min-width:0}
.tour-card h2{font-size:17px;font-weight:600;margin:0 0 4px;line-height:1.5}
.tour-en{font-size:13px;line-height:1.45;color:var(--ink-soft);margin:0;text-align:right;overflow-wrap:anywhere}
.tour-card>details{grid-area:details}
.tour-card summary{cursor:pointer;color:var(--green-darker);font-size:13px}
.tour-card details p{font-size:13px;margin:12px 0 0}
.tours-enhanced .tour-card details p{display:none}
/* "פירוט" reads as a clear secondary button sitting under the title,
   never beside/competing with the primary "בחירה" action. */
.tours-enhanced .tour-card summary{display:inline-flex;align-items:center;gap:5px;list-style:none;border:1px solid var(--border);background:#fff;padding:8px 14px;border-radius:var(--action-radius);min-height:40px;font-size:13.5px;font-weight:600;text-align:center}
.tours-enhanced .tour-card summary::before{content:"ℹ️";font-size:13px}
.tours-enhanced .tour-card summary::-webkit-details-marker{display:none}
.tour-card-actions{grid-area:select;display:flex;align-items:flex-start}
/* Keep the original details readable in older embedded browsers. */
.tours-enhanced .tour-card.has-inline-peek details[open] p{display:block}
.tour-select{background:var(--green-dark);color:#fff;border:1px solid transparent;font:inherit;font-weight:600;font-size:14px;padding:10px 14px;min-height:44px;border-radius:var(--action-radius);cursor:pointer;box-shadow:var(--shadow)}
.tour-select:hover{background:var(--green-darker)}
.tour-card.is-selected{background:var(--green-50);box-shadow:inset -3px 0 var(--green-dark);padding-right:10px}
.tour-card.is-selected .tour-select{background:var(--green-darker);color:white}
.tour-booking{padding:20px;background:white;border:1px solid var(--border);border-radius:12px;position:sticky;top:86px;max-height:calc(100dvh - 106px);overflow-y:auto}
.tour-selection{font-size:13px;padding:12px;background:var(--green-50);border-radius:8px;margin-bottom:16px;min-height:48px;color:var(--green-darker)}
#tour-booking-form{display:flex;flex-direction:column;gap:12px}
.tour-field-pair{display:grid;grid-template-columns:78px minmax(0,1fr);gap:10px}
.tours-page #tour-submit,.tours-page #tour-whatsapp-reopen{padding:13px 16px}
/* Ordering + weight communicate priority: WhatsApp send is the primary,
   full-size action; add-to-cart is a smaller, secondary action underneath
   for the multi-attraction flow. */
.tours-page .tour-add-cart-btn{padding:8px 14px;min-height:36px;font-size:12.5px}
.tour-cart-note{font-size:12.5px;background:var(--green-50);color:var(--green-darker);padding:8px 10px;border-radius:8px;margin:0}
.tour-cart-note:empty{display:none}
.tour-child-ages{display:flex;flex-wrap:wrap;gap:10px}
.tour-child-age-field{flex:1;min-width:90px;display:flex;flex-direction:column;gap:5px;font-size:14px;font-weight:500}
.tour-fine-print{font-size:12px;color:var(--ink-soft);line-height:1.65;margin:0}
.tour-fine-print a{text-decoration:underline}
#tour-booking-status{font-size:12px;margin:0;overflow-wrap:anywhere}
#tour-booking-status:empty{display:none}
.tour-end{display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--green-50);border-radius:10px;padding:18px 22px;margin-top:28px;font-size:14px}
.tour-end p{margin:3px 0 0;font-size:14px;color:var(--ink-soft)}
.tour-practical{font-size:12px;color:var(--ink-soft);margin-top:16px}
.tour-practical summary{cursor:pointer}
.tour-practical p{margin-top:12px;max-width:850px}
.tour-practical a{text-decoration:underline}
#tour-draft-banner{background:#fff5d6;padding:12px;border-radius:8px;font-size:13px}
#tour-peek{border:1px solid var(--border);border-radius:16px;padding:27px;width:min(580px,calc(100% - 28px));max-height:86dvh;overflow:auto;color:var(--ink);font-family:inherit;box-shadow:var(--shadow-lg);margin:auto}
#tour-peek::backdrop{background:rgba(17,35,25,.5);backdrop-filter:blur(3px)}
#tour-peek h2{font-size:21px;padding-left:25px;line-height:1.45;margin-bottom:7px}
.peek-close{position:absolute;left:12px;top:12px;border:0;border-radius:50%;height:34px;width:34px;cursor:pointer;background:var(--green-50);color:var(--ink);font-size:17px}
#peek-description{font-size:14px;margin:16px 0 12px}
#peek-included{font-size:12px;color:var(--ink-soft);background:var(--green-50);padding:10px;border-radius:8px}
#peek-gallery{margin:16px 0}
#peek-image{width:100%;height:260px;object-fit:cover;border-radius:10px;background:var(--green-50)}
#peek-caption{font-size:10px;color:var(--ink-soft);margin-top:7px;line-height:1.5}
#peek-caption a{text-decoration:underline}
.peek-controls{display:flex;gap:14px;align-items:center;justify-content:center;font-size:12px;margin-top:9px}
.peek-controls button{border:1px solid var(--border);border-radius:50%;height:34px;width:34px;background:white;cursor:pointer;font-size:17px}
.peek-controls button:disabled{opacity:.4;cursor:default}
.peek-actions{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:20px}
.peek-actions .btn{padding:12px 20px}
.tours-page #site-footer{margin-top:16px}
@media(max-width:760px){
 .tour-container{padding:16px 16px 28px}
 /* The two inline contact buttons remain; avoid covering list actions. */
 .tours-page #wa-fab{display:none}
 .tour-intro{display:block;margin-bottom:23px;padding:20px 16px}
 .tour-intro::before{width:100%;background-position:center}
 .tour-intro h1{font-size:27px}
 .tour-intro p{font-size:15px}
 .tour-intro .tour-help{margin-top:14px}
 .tour-workspace{grid-template-columns:1fr;gap:24px}
 .tour-section-title{font-size:19px;margin-bottom:14px}
 .tour-card{padding:13px 0;column-gap:10px}
 .tour-card h2{font-size:16px}
 .tour-en{font-size:12px}
 .tour-card summary,.tour-select{font-size:14px;min-width:70px}
 .tour-booking{position:static;padding:17px;scroll-margin-top:82px;max-height:none;overflow-y:visible}
 .tour-end{flex-direction:column;align-items:flex-start;padding:17px;gap:12px;margin-top:22px}
 .tour-end .tour-help{min-height:44px}
 .tours-page input,.tours-page select{font-size:16px}
 #tour-peek{padding:22px 17px;max-height:88dvh}
 #tour-peek h2{font-size:18px}
 #peek-image{height:205px}
 .tour-field-pair{grid-template-columns:90px minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){.tours-page{scroll-behavior:auto}.tours-page *{scroll-behavior:auto!important;transition:none!important}}
