/* Product-page layouts, adapted from the supplied tour templates.
   Global, header and footer styles remain in their separate CSS files. */
.product-page .tour-hero { max-width:1440px; margin:0 auto; padding:34px clamp(20px,5vw,72px) 32px; }
.tour-breadcrumb { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; font-size:13px; color:var(--muted); margin-bottom:30px; }
.tour-breadcrumb a { color:var(--red); font-weight:700; }
.tour-title { max-width:960px; margin-bottom:34px; }
.tour-title h1 { font-family:'Playfair Display',Georgia,serif; font-size:clamp(40px,5vw,70px); line-height:1.05; letter-spacing:-.035em; margin:0 0 18px; }
.tour-title > p { font-size:18px; color:var(--muted); max-width:800px; margin:0; }
.tour-tags { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.tour-tags span { border:1px solid #e4ddd3; border-radius:999px; padding:7px 12px; font-size:12px; font-weight:800; background:var(--cream); }
.tour-hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:18px 24px; margin-top:24px; }
.tour-text-link { color:var(--red); font-weight:800; text-decoration:underline; text-underline-offset:4px; }
.tour-photo-gallery { display:grid; grid-template-columns:minmax(0,2.2fr) minmax(0,1fr); gap:16px; }
.tour-main-photo-wrap { position:relative; height:510px; overflow:hidden; border-radius:22px; background:var(--cream); }
.tour-main-link { display:block; height:100%; }
.tour-main-link:focus-visible { outline-offset:-6px; }
.tour-main-photo { width:100%; height:100%; object-fit:cover; }
.tour-thumbs { height:510px; display:grid; grid-template-rows:repeat(3,minmax(0,1fr)); gap:12px; }
.tour-thumb { display:block; min-height:0; border:3px solid transparent; border-radius:17px; overflow:hidden; opacity:.8; background:#eee; }
.tour-thumb img { width:100%; height:100%; object-fit:cover; }
.tour-thumb:hover,.tour-thumb.active { opacity:1; }
.tour-thumb.active { border-color:var(--red); }
.gallery-arrow { position:absolute; top:50%; transform:translateY(-50%); z-index:2; width:48px; height:48px; border-radius:50%; border:0; background:#fff; color:#111; font-size:34px; line-height:1; box-shadow:0 2px 12px #0003; }
.gallery-arrow-left { left:18px; }
.gallery-arrow-right { right:18px; }
.gallery-count { position:absolute; right:18px; bottom:18px; background:rgba(0,0,0,.78); color:#fff; padding:7px 12px; border-radius:999px; font-weight:800; font-size:13px; pointer-events:none; }
.tour-photo-note { color:var(--muted); font-size:13px; margin:14px 0 0; }
.quick-icons { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); padding:18px max(20px,calc((100vw - 1296px)/2)); background:var(--cream); border-top:1px solid #ece5db; border-bottom:1px solid #ece5db; }
.quick-icons > div { text-align:center; padding:12px; border-right:1px solid #e7dfd3; }
.quick-icons > div:last-child { border-right:0; }
.quick-icons strong { display:block; font-size:15px; }
.quick-icons span { display:block; color:var(--muted); font-size:13px; margin-top:4px; }
.tour-layout { display:grid; grid-template-columns:minmax(0,1fr) 330px; grid-template-areas:'content booking'; gap:38px; align-items:start; max-width:1440px; margin:0 auto; padding:60px clamp(20px,5vw,72px); }
.tour-content { grid-area:content; min-width:0; }
.tour-content > section { margin-bottom:48px; }
.tour-content > section:last-child { margin-bottom:0; }
.tour-content h2 { font-family:'Playfair Display',Georgia,serif; font-size:clamp(30px,3vw,38px); line-height:1.12; letter-spacing:-.025em; margin:0 0 20px; }
.tour-content p { color:var(--muted); }
.tour-content p:last-child { margin-bottom:0; }
.highlight-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.highlight-grid > div { background:linear-gradient(180deg,var(--cream),#fff); border:1px solid #ece5db; border-radius:14px; padding:18px; font-weight:800; font-size:15px; }
.tour-content .check-list { list-style:none; padding:0; margin:0; display:grid; gap:12px; }
.tour-content .check-list li { padding-left:28px; position:relative; }
.tour-content .check-list li::before { content:'✓'; position:absolute; left:0; top:0; color:var(--red); font-weight:800; }
.tour-content .tour-small-note { font-size:14px; color:var(--muted); line-height:1.65; margin-top:18px; }
.expect-grid,.amenity-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.expect-grid > div,.amenity-grid > div { background:#fff; border:1px solid #eee; border-radius:16px; padding:22px; box-shadow:0 10px 28px rgba(0,0,0,.045); }
.expect-grid span { color:var(--red); font-weight:800; font-size:26px; }
.expect-grid h3,.amenity-grid h3 { margin:8px 0 12px; font-size:18px; line-height:1.3; }
.expect-grid p,.amenity-grid p { font-size:14px; line-height:1.75; margin:0; }
.tour-notice { background:var(--cream); border:1px solid #e9dfd0; border-radius:18px; padding:28px; }
.tour-details { margin:24px 0 0; }
.tour-details > div { display:grid; grid-template-columns:130px minmax(0,1fr); gap:14px; padding:16px 0; border-top:1px solid #e2d7c7; font-size:14px; }
.tour-details dt { font-weight:800; }
.tour-details dd { margin:0; color:#555; white-space:pre-line; }
.tour-faq details { border-bottom:1px solid #ddd; padding:18px 0; }
.tour-faq summary { cursor:pointer; font-weight:800; }
.tour-faq details[open] summary { color:var(--red); }
.tour-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.tour-gallery img { width:100%; height:160px; object-fit:cover; border-radius:12px; }
.booking-card { grid-area:booking; position:sticky; top:24px; background:#fff; border:1px solid #e7dfd3; border-top:5px solid var(--red); border-radius:20px; padding:26px; box-shadow:var(--shadow); }
.booking-eyebrow { display:block; color:var(--red); font-size:12px; font-weight:800; letter-spacing:.055em; text-transform:uppercase; margin-bottom:12px; }
.booking-card h2 { font-family:'Playfair Display',Georgia,serif; font-size:30px; line-height:1.14; letter-spacing:-.025em; margin:0 0 18px; }
.booking-card > p { color:var(--muted); font-size:15px; }
.booking-card .booking-price-prompt { color:var(--text); font-weight:800; font-size:16px; padding-top:18px; border-top:1px solid #ece5db; }
.booking-card .tour-price { color:var(--red); font-size:40px; line-height:1.1; font-weight:800; margin:20px 0 5px; }
.booking-card .price-note { margin:0 0 18px; font-size:13px; }
.reserve-btn { display:block; text-align:center; margin:24px 0 14px; background:var(--red); color:#fff; padding:14px 18px; border-radius:999px; font-size:15px; font-weight:800; line-height:1.4; }
.reserve-btn:hover { background:var(--red-dark); }
.booking-call { display:block; text-align:center; font-size:14px; font-weight:800; color:var(--red); }
.booking-checklist { display:grid; gap:12px; padding-top:22px; margin-top:22px; border-top:1px solid #ece5db; font-size:13px; color:var(--muted); }
.booking-checklist span { position:relative; padding-left:20px; }
.booking-checklist span::before { content:'✓'; position:absolute; left:0; color:var(--red); }
.booking-details-link { display:block; margin-top:22px; font-size:13px; font-weight:800; color:var(--red); text-decoration:underline; text-underline-offset:3px; }
.product-page .related-tours { background:var(--cream-2); padding:80px clamp(20px,5vw,72px); text-align:center; }
.product-page .related-tours h2,.product-final-cta h2 { font-family:'Playfair Display',Georgia,serif; font-size:clamp(34px,4vw,52px); line-height:1.08; letter-spacing:-.025em; margin:0 auto 28px; max-width:860px; }
.related-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; max-width:1200px; margin:0 auto; text-align:left; }
.related-grid article { display:flex; flex-direction:column; background:#fff; border-radius:18px; overflow:hidden; border:1px solid #eee; box-shadow:0 12px 34px rgba(0,0,0,.06); }
.related-grid img { width:100%; height:210px; object-fit:cover; }
.related-grid article > div { padding:24px; display:flex; flex-direction:column; flex:1; }
.related-grid h3 { font-family:'Playfair Display',Georgia,serif; font-size:25px; line-height:1.16; margin:0 0 14px; }
.related-grid p { color:var(--muted); font-size:15px; margin:0 0 20px; }
.related-grid a { display:inline-block; color:var(--red); font-weight:800; margin-top:auto; font-size:14px; }
.product-final-cta { text-align:center; padding:90px 20px; max-width:860px; margin:0 auto; }
.product-final-cta p { color:var(--muted); margin-bottom:26px; font-size:17px; }
.sunset-product .tour-tags span { background:#fff2df; border-color:#f1d9b8; }
.sunset-product .tour-notice { background:#fff6e8; }
.tour-lightbox { max-width:1200px; width:calc(100% - 32px); max-height:94vh; border:0; padding:68px 18px 22px; border-radius:16px; background:#111; color:#fff; overflow:auto; }
.tour-lightbox::backdrop { background:rgba(0,0,0,.88); }
.tour-lightbox-stage { display:grid; grid-template-columns:48px minmax(0,1fr) 48px; gap:14px; align-items:center; }
.tour-lightbox figure { margin:0; min-width:0; }
.tour-lightbox figure img { width:100%; max-height:72vh; object-fit:contain; }
.tour-lightbox figcaption { color:#ddd; margin-top:14px; font-size:14px; text-align:center; }
.tour-lightbox-close,.tour-lightbox-prev,.tour-lightbox-next { border:0; background:#fff; color:#111; border-radius:999px; min-width:44px; min-height:44px; font-weight:800; }
.tour-lightbox-close { position:absolute; top:16px; right:18px; padding:8px 18px; font-size:14px; }
.tour-lightbox-prev,.tour-lightbox-next { font-size:32px; line-height:1; }
body.tour-lightbox-open { overflow:hidden; }
@media(max-width:1180px) {
  .tour-layout { grid-template-columns:minmax(0,1fr) 310px; gap:26px; }
  .expect-grid,.amenity-grid { grid-template-columns:1fr; }
  .tour-main-photo-wrap { height:430px; }
  .tour-thumbs { height:430px; }
}
@media(max-width:980px) {
  .tour-layout { grid-template-columns:1fr; grid-template-areas:'booking' 'content'; gap:42px; }
  .booking-card { position:static; max-width:none; }
  .booking-checklist { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .booking-card .reserve-btn { max-width:420px; }
  .booking-card .booking-call { width:fit-content; }
  .quick-icons { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .quick-icons > div:nth-child(2) { border-right:0; }
  .expect-grid,.amenity-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .related-grid { grid-template-columns:1fr; max-width:700px; }
  .related-grid img { height:270px; }
}
@media(max-width:760px) {
  .tour-photo-gallery { grid-template-columns:1fr; gap:12px; }
  .tour-main-photo-wrap { height:350px; }
  .tour-thumbs { height:110px; grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:110px; gap:10px; }
  .tour-thumb { border-radius:12px; }
  .expect-grid,.amenity-grid { grid-template-columns:1fr; }
  .booking-checklist { grid-template-columns:1fr; }
}
@media(max-width:560px) {
  .product-page .tour-hero { padding:24px 20px 28px; }
  .tour-breadcrumb { font-size:12px; margin-bottom:26px; }
  .tour-title h1 { font-size:clamp(36px,10vw,48px); }
  .tour-title > p { font-size:16px; }
  .tour-hero-actions { align-items:flex-start; gap:18px; }
  .tour-hero-actions .primary-btn { width:100%; }
  .tour-main-photo-wrap { height:270px; border-radius:16px; }
  .tour-thumbs { height:86px; grid-template-rows:86px; gap:8px; }
  .gallery-arrow { width:42px; height:42px; }
  .gallery-arrow-left { left:12px; }
  .gallery-arrow-right { right:12px; }
  .gallery-count { right:12px; bottom:12px; font-size:12px; }
  .quick-icons { padding:14px 12px; }
  .quick-icons > div { padding:12px 8px; }
  .quick-icons strong { font-size:14px; }
  .quick-icons span { font-size:12px; }
  .tour-layout { padding:38px 20px 56px; }
  .booking-card { padding:24px; }
  .highlight-grid { grid-template-columns:1fr; }
  .tour-notice { padding:24px; }
  .tour-details > div { grid-template-columns:1fr; gap:6px; }
  .tour-gallery { grid-template-columns:1fr; }
  .tour-gallery img { height:220px; }
  .product-page .related-tours { padding:60px 20px; }
  .related-grid img { height:220px; }
  .product-final-cta { padding:66px 20px; }
  .tour-lightbox { padding:68px 12px 20px; }
  .tour-lightbox-stage { grid-template-columns:1fr 1fr; }
  .tour-lightbox figure { grid-column:1 / -1; grid-row:1; }
  .tour-lightbox-prev,.tour-lightbox-next { justify-self:center; width:54px; grid-row:2; }
}
@media(prefers-reduced-motion:reduce) { html:focus-within { scroll-behavior:auto; } }


/* A persistent booking action with room for the phone's home indicator. */
.product-page { padding-bottom:var(--booking-bar-height, 130px); }
.product-booking-bar { position:fixed; inset:auto 0 0; z-index:60; background:#fff; border-top:1px solid #e7dfd3; box-shadow:0 -6px 28px #00000014; padding:12px max(20px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); }
.booking-bar-inner { max-width:1296px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.booking-bar-summary { min-width:0; }
.booking-bar-title { display:block; font-weight:800; font-size:18px; line-height:1.35; }
.booking-bar-price { display:block; color:var(--red); font-size:15px; font-weight:800; margin-top:3px; }
.booking-bar-price > span { color:var(--muted); font-size:12px; font-weight:400; }
.booking-bar-actions { display:flex; align-items:center; gap:10px; flex-shrink:0; }
.booking-bar-actions a { min-height:48px; }
.booking-bar-cta { gap:14px; }
body.tour-lightbox-open .product-booking-bar { visibility:hidden; }
@media(max-width:600px) {
  .booking-bar-inner { display:block; }
  .booking-bar-summary { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:2px 12px; margin-bottom:9px; }
  .booking-bar-title { font-size:13px; }
  .booking-bar-price { font-size:13px; margin-top:0; }
  .booking-bar-actions { width:100%; }
  .booking-bar-call { padding-left:18px; padding-right:18px; }
  .booking-bar-cta { flex:1; padding-left:12px; padding-right:12px; }
}
@media print {
  .product-booking-bar { display:none; }
  .product-page { padding-bottom:0; }
}
