/* Punta Cana Party Boat · tour.css (El Patrón Tour template)
   The product template (producto/index.html → woocommerce/single-product.php): photo hero with the
   data panel, content column, the booking board in a sticky column, gallery strip, the day as numbered
   rows, includes, reviews, questions, related tours. Transfers use the paper fleet hero (.t-hero.is-fleet). */

/* ---------- hero ---------- */
.t-hero{min-height:88svh}
.t-hero .ch-in{padding-bottom:40px}
.t-hero .ch-name{font-size:clamp(3.2rem,15vw,10rem)}
.t-hero .panel{margin-top:18px}
.t-hero .panel-act{border-radius:0}
.t-hero .ch-kick .cap{color:var(--paper);white-space:nowrap;flex:none}
.t-hero:not(.is-fleet) .ch-kick{text-shadow:0 1px 10px rgba(6,35,42,.75)}
.t-hero>.crumbs{position:absolute;z-index:2;color:var(--paper);text-shadow:0 1px 10px rgba(6,35,42,.7);top:calc(max(10px,env(safe-area-inset-top)) + 66px);left:var(--gutter);right:var(--gutter)}
.t-summary .lead-st{font-size:clamp(1.6rem,5.6vw,2.4rem);line-height:1.1;max-width:24ch;margin-bottom:22px}
.t-lists .t-list.wide{grid-column:1/-1}
/* low-resolution sources: framed on desktop rather than enlarged past ~1.3x */
@media (min-width:1024px){
  .t-hero.is-small .media{left:auto;width:min(64vw,calc(var(--src-w) * 1.3))}
  .t-hero.is-small .media::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--night) 0%,rgba(6,35,42,0) 34%)}
}

/* the fleet hero (transfers): paper, the vehicle on its own, capacity set huge */
.t-hero.is-fleet{position:relative;display:flex;flex-direction:column;background:var(--paper);color:var(--ink);min-height:auto}
.t-hero.is-fleet .shade{display:none}
.t-hero.is-fleet .media{position:relative;inset:auto;z-index:1;background:var(--paper);padding:118px var(--gutter) 0;display:flex;justify-content:center}
.t-hero.is-fleet .media picture,.t-hero.is-fleet .media img{position:relative;inset:auto;width:min(100%,560px);height:auto}
.t-hero.is-fleet .media img{mix-blend-mode:multiply;object-fit:contain;aspect-ratio:auto}
.t-hero.is-fleet .ch-in{padding-top:8px}
.t-hero.is-fleet .ch-kick .cap,.t-hero.is-fleet .crumbs{color:var(--muted);text-shadow:none}
.t-hero.is-fleet .panel{background:rgba(251,249,245,.86);border-color:var(--line)}
.t-hero.is-fleet .row{border-top-color:var(--line)}
.t-hero.is-fleet .row dt{color:var(--muted)}
.t-hero.is-fleet .row small{color:var(--ink)}
.t-hero.is-fleet .row .stars{color:var(--ink)}
.t-cap{display:block;font-size:clamp(5rem,30vw,16rem);line-height:.78;margin:0 0 6px;color:var(--ink)}
.t-cap small{display:block;font:400 clamp(.95rem,3.4vw,1.25rem)/1.2 var(--serif);font-style:italic;text-transform:none;letter-spacing:0;margin-top:10px;color:var(--muted)}

/* ---------- body: content + the booking column ---------- */
.t-body{position:relative;background:var(--paper);color:var(--ink);padding:8px var(--gutter) 64px}
.t-main{min-width:0}
.t-sec{padding:40px 0 8px;border-top:1px solid var(--line)}
.t-sec:first-child{border-top:0;padding-top:36px}
.t-sec>.sec-k{margin-bottom:16px}
.t-sec h2.t-h{margin:0 0 18px;font-size:clamp(2.4rem,9vw,4.4rem)}
.t-summary p{margin:0 0 1em;font-size:1.0625rem;line-height:1.6;max-width:62ch}

/* facts: the survey data panel on paper */
.t-facts{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--line)}
.t-facts div{display:grid;gap:4px;align-content:start;padding:14px 14px 14px 0;border-bottom:1px solid var(--line)}
.t-facts div:nth-child(even){padding-left:14px;border-left:1px solid var(--line)}
.t-facts dt{font-size:1rem;color:var(--muted)}
.t-facts dd{margin:0;font-size:clamp(1.35rem,5.4vw,1.75rem);line-height:1}

/* gallery: a snap strip with a counter */
.t-gal-w{position:relative}
.t-gal{display:grid;grid-auto-flow:column;grid-auto-columns:86%;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin:0 calc(var(--gutter) * -1);padding:0 var(--gutter);scroll-padding-inline:var(--gutter);list-style:none}
.t-gal::-webkit-scrollbar{display:none}
.t-gal li{scroll-snap-align:start;margin:0}
.t-gal figure{margin:0;aspect-ratio:3/2;overflow:hidden;background:var(--sand)}
.t-gal img{width:100%;height:100%;object-fit:cover}
.t-gal-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
.t-gal-c{font-size:1.25rem;font-variant-numeric:lining-nums}
.t-gal-nav{display:flex;gap:8px}
.t-gal-nav button{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:none;color:inherit;cursor:pointer}
.t-gal-nav button:disabled{opacity:.3;cursor:default}
.t-gal-nav svg{width:14px;height:14px;stroke:currentColor;stroke-width:1.6;fill:none}

/* the day, as numbered rows */
.t-steps{list-style:none;margin:0;padding:0;counter-reset:s}
.t-steps li{display:grid;grid-template-columns:3.2rem minmax(0,1fr);gap:2px 14px;padding:16px 0;border-top:1px solid var(--line)}
.t-steps li:last-child{border-bottom:1px solid var(--line)}
.t-steps .k{grid-row:1/3;font-size:2.6rem;line-height:.85}
.t-steps h3{margin:0;font:700 1.0625rem/1.3 var(--sans)}
.t-steps p{margin:2px 0 0;color:var(--muted);line-height:1.5}

/* included / not included / good to know */
.t-lists{display:grid;gap:28px}
.t-list h3{margin:0 0 8px;font:600 .75rem/1.2 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.t-list ul{list-style:none;margin:0;padding:0}
.t-list li{position:relative;padding:9px 0 9px 28px;border-top:1px solid var(--line);line-height:1.45}
.t-list li::before{content:"";position:absolute;left:2px;top:15px;width:12px;height:7px;border-left:2px solid var(--sea);border-bottom:2px solid var(--sea);transform:rotate(-45deg)}
.t-list.no li::before{top:19px;width:12px;height:0;border-left:0;border-bottom:2px solid var(--muted);transform:none}
.t-list.know li::before{top:18px;width:6px;height:6px;border:0;border-radius:50%;background:var(--ink);transform:none}

/* reviews: one number, then real quotes */
.t-rev{display:grid;gap:18px}
.t-rev-n{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap}
.t-rev-n .big{margin:0;font-size:clamp(5.5rem,24vw,9rem);line-height:.8}
.t-rev-n .big small{font-size:.32em}
.t-rev-n .meta{display:grid;gap:6px;padding-bottom:6px}
.t-rev-n .stars{font-size:1.2rem}
.t-quotes{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.t-quotes blockquote{margin:0;padding:16px 18px;background:rgba(228,217,198,.45)}
.t-quotes p{margin:0;font:400 1.25rem/1.35 var(--serif);font-style:italic}
.t-quotes footer{margin-top:8px;font:600 .75rem/1.2 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}

/* ---------- phones: the dock pill opens the booking sheet ---------- */
.t-dock{position:fixed;left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));z-index:40;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:8px;background:rgba(251,249,245,.94);-webkit-backdrop-filter:blur(14px) saturate(1.2);backdrop-filter:blur(14px) saturate(1.2);color:var(--ink);border-radius:999px;box-shadow:0 22px 50px -18px rgba(6,35,42,.7),0 0 0 1px rgba(11,42,48,.06);transition:transform var(--t-mid) var(--glide)}
.t-dock.away,body.menu-open .t-dock,body.bk-open .t-dock{transform:translateY(calc(100% + 40px))}
.t-dock .sum{cursor:default}
.t-dock .act{border-radius:999px;min-height:48px;padding:0 22px}
html:not(.js) .t-dock{display:none}

/* ---------- related tours ---------- */
.t-more .sec-h{font-size:clamp(2.6rem,10vw,5.2rem)}

@media (min-width:640px){
  .t-gal{grid-auto-columns:62%}
  .t-lists{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 36px}
  .t-lists .know{grid-column:1/-1}
  .t-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
  .t-facts div:nth-child(even){padding-left:0;border-left:0}
  .t-facts div:not(:nth-child(3n+1)){padding-left:14px;border-left:1px solid var(--line)}
}
@media (min-width:900px){
  .t-dock{display:none}
  .t-hero .panel-act{display:none}
  .t-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,420px);gap:0 56px;align-items:start;padding:0 var(--gutter) 96px}
  .t-book{position:sticky;top:96px;margin-top:-120px;z-index:5}
  .t-sec:first-child{padding-top:56px}
}
@media (min-width:1024px){
  .t-hero{min-height:100vh}
  .t-hero .ch-in{padding-bottom:150px;grid-template-columns:minmax(0,1fr) minmax(320px,420px)}
  .t-hero .ch-name{font-size:clamp(4.6rem,8.6vw,11rem)}
  .t-gal{grid-auto-columns:48%;margin:0;padding:0;scroll-padding-inline:0}
  .t-hero.is-fleet{min-height:100vh;justify-content:flex-end}
  .t-hero.is-fleet .media{position:absolute;z-index:1;top:112px;right:var(--gutter);left:auto;width:min(420px,32vw);padding:0}
  .t-hero.is-fleet .ch-in{position:relative;z-index:2;padding-bottom:150px}
  .t-rev{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:28px 40px}
}
@media (min-width:1280px){
  .t-body{grid-template-columns:minmax(0,1fr) 440px;gap:0 80px}
}
.is-transfer .top{background:rgba(6,35,42,.94)}
/* ---------- phones: "More tours" is a swipe rail (the next card peeks), not three full-height cards ---------- */
@media (max-width:639px){
  .t-more .cards{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:82%;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin:0 calc(var(--gutter) * -1);padding:0 var(--gutter) 6px;scroll-padding-inline:var(--gutter);overscroll-behavior-x:contain}
  .t-more .cards::-webkit-scrollbar{display:none}
  .t-more .cards li{scroll-snap-align:start}
  .t-more .card-t{font-size:1.75rem}
}
