/* ============================================================
   The Leisure Store — shared styles for interior pages
   (sub-hero, breadcrumb, tabbed product lines, simple bands)
   Builds on styles.css — same tokens & vocabulary.
   ============================================================ */

/* ---------- active nav link ---------- */
.nav a.active { color: var(--green); }
.nav a.active::after { width: 100%; }

/* ---------- compact sub-hero ---------- */
.subhero {
  position: relative;
  background: var(--green-deep);
  color: var(--cream);
  overflow: hidden;
}
.subhero-media {
  position: absolute;
  inset: 0;
  background-color: var(--green);
  background-image: repeating-linear-gradient(135deg, rgba(242,232,207,.07) 0 2px, transparent 2px 16px);
}
.subhero-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.subhero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(28,42,36,0.86) 0%, rgba(28,42,36,0.74) 50%, rgba(28,42,36,0.5) 82%, rgba(28,42,36,0.28) 100%);
}
.subhero .wrap {
  position: relative;
  z-index: 3;
  padding: 64px 0 70px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.subhero-inner { max-width: 680px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage-soft);
  margin-bottom: 22px;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 13px; height: 13px; opacity: .7; }
.breadcrumb span { color: color-mix(in srgb, var(--cream) 88%, transparent); }
.subhero h1 {
  color: var(--cream);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 500;
}
.subhero h1 em { font-style: italic; color: var(--sage-soft); }
.subhero .sub {
  font-size: clamp(17px, 2vw, 20px);
  color: color-mix(in srgb, var(--cream) 82%, transparent);
  margin-top: 20px;
  max-width: 540px;
  line-height: 1.6;
}
.subhero .subhero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- page intro strip ---------- */
.page-intro { padding: 74px 0 8px; text-align: center; }
.page-intro .eyebrow { margin-bottom: 20px; }
.page-intro h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  max-width: 16ch;
  margin-inline: auto;
}
.page-intro h2 em { font-style: italic; color: var(--accent-deep); }
.page-intro p {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 58ch;
  margin: 22px auto 0;
}

/* ============================================================
   TABBED PRODUCT LINES
   ============================================================ */
.lines { padding: 48px 0 30px; }
.lines-head { text-align: center; max-width: 640px; margin: 0 auto 14px; }
.lines-head .eyebrow { margin-bottom: 18px; justify-content: center; }
.lines-head h2 { font-size: clamp(28px, 3.4vw, 42px); }
.lines-head h2 em { font-style: italic; color: var(--accent-deep); }
.lines-head p { color: var(--ink-soft); margin-top: 16px; font-size: 17px; }

/* tab buttons */
.tab-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 40px auto 0;
  max-width: 880px;
}
.tab-btn {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  color: var(--green);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.tab-btn .tnum {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--accent-deep);
  transition: background .18s ease, color .18s ease;
}
.tab-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); border-color: var(--sage); }
.tab-btn.active {
  background: var(--green);
  color: var(--cream);
  border-color: var(--green);
  box-shadow: 0 12px 26px -16px rgba(38,58,48,.7);
}
.tab-btn.active .tnum { background: var(--accent); color: #fff; }

/* tab panels */
.tab-panels { margin-top: 48px; }
.tab-panel { display: none; }
.tab-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  animation: tabfade .35s ease both;
}
@media (prefers-reduced-motion: reduce) { .tab-panel.active { animation: none; } }
@keyframes tabfade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.tab-media {
  position: relative;
  aspect-ratio: 4 / 3.1;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.tab-media .ph { position: absolute; inset: 0; }
.tab-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ---------- slideshow gallery (inside tab-media) ---------- */
.gallery {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green);
}
.gtrack {
  display: flex;
  height: 100%;
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
@media (prefers-reduced-motion: reduce) { .gtrack { transition: none; } }
.gslide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
}
.gslide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.gslide .ph { position: absolute; inset: 0; border-radius: 0; }
/* nav arrows */
.gnav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: none;
  border-radius: 50%;
  background: color-mix(in srgb, var(--green-deep) 62%, transparent);
  color: var(--cream);
  cursor: pointer;
  backdrop-filter: blur(3px);
  transition: background .18s ease, transform .18s ease;
  z-index: 3;
}
.gnav:hover { background: var(--accent); transform: translateY(-50%) scale(1.06); }
.gnav svg { width: 20px; height: 20px; }
.gprev { left: 12px; }
.gnext { right: 12px; }
/* dots */
.gdots {
  position: absolute;
  left: 50%; bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 3;
  padding: 7px 11px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--green-deep) 50%, transparent);
  backdrop-filter: blur(3px);
}
.gdot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: color-mix(in srgb, var(--cream) 45%, transparent);
  cursor: pointer;
  transition: background .18s ease, width .18s ease;
}
.gdot.active { background: var(--accent); width: 20px; border-radius: 999px; }
/* counter chip */
.gcount {
  position: absolute;
  right: 12px; bottom: 14px;
  z-index: 3;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cream);
  background: color-mix(in srgb, var(--green-deep) 55%, transparent);
  border: 1px solid rgba(242,232,207,.3);
  padding: 5px 10px;
  border-radius: 7px;
  backdrop-filter: blur(3px);
}
@media (max-width: 600px) {
  .gnav { width: 36px; height: 36px; }
  .gnav svg { width: 17px; height: 17px; }
}
.tab-flag {
  position: absolute;
  top: -14px; left: -14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 15px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}
.tab-flag svg { width: 14px; height: 14px; }

.tab-body { max-width: 490px; }
.tab-body .kicker {
  font-size: 13px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--sage);
  display: block; margin-bottom: 12px;
}
.tab-body h3 { font-size: clamp(27px, 3.2vw, 38px); }
.tab-body > p {
  color: var(--ink-soft);
  margin-top: 16px;
  font-size: 17px;
}
.tab-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}
.tab-tags .ttag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--green);
  background: var(--cream);
  border-radius: 999px;
  padding: 7px 14px;
}
.tab-tags .ttag svg { width: 13px; height: 13px; color: var(--accent-deep); }
.tab-feats {
  list-style: none;
  padding: 0;
  margin: 24px 0 26px;
  display: grid;
  gap: 11px;
}
.tab-feats li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 15px; font-weight: 600; color: var(--ink);
}
.tab-feats li svg { width: 19px; height: 19px; color: var(--accent); flex: none; margin-top: 1px; }
.tab-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }

/* ============================================================
   SIMPLE HELPER BAND — three-season vs all-season
   ============================================================ */
.seasons { padding: 80px 0 30px; }
.seasons-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.seasons-head .eyebrow { margin-bottom: 18px; justify-content: center; }
.seasons-head h2 { font-size: clamp(28px, 3.4vw, 42px); }
.seasons-head h2 em { font-style: italic; color: var(--accent-deep); }
.seasons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.season-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 36px;
  box-shadow: var(--shadow-soft);
}
.season-card .ic {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  background: var(--cream);
  border-radius: 14px;
  color: var(--accent-deep);
  margin-bottom: 18px;
}
.season-card .ic svg { width: 25px; height: 25px; }
.season-card h4 { font-size: 23px; color: var(--green); }
.season-card .lead { color: var(--ink-soft); margin-top: 10px; font-size: 16px; }
.season-card ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 9px; }
.season-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.season-card li svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 2px; }

/* ============================================================
   DECKING FEATURE BAND (single image + body, image right)
   ============================================================ */
.deckfeat { padding: 54px 0 26px; }
.deckfeat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.deckfeat-grid .tab-media { order: 2; }
.deckfeat-grid .tab-body { max-width: 490px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .tab-panel.active { grid-template-columns: 1fr; gap: 30px; }
  .tab-body { max-width: none; }
  .seasons-grid { grid-template-columns: 1fr; }
  .tab-btns { gap: 8px; }
  .deckfeat-grid { grid-template-columns: 1fr; gap: 30px; }
  .deckfeat-grid .tab-media { order: 0; }
  .deckfeat-grid .tab-body { max-width: none; }
}
@media (max-width: 600px) {
  .subhero .wrap { padding: 48px 0 54px; min-height: 300px; }
  .tab-btn { font-size: 13px; padding: 10px 16px; }
  .season-card { padding: 30px 26px; }
}

/* ============================================================
   VIDEO SLIDE (YouTube facade inside gallery)
   ============================================================ */
.gslide.gvideo { background: #10140f; }
.gv-play {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  padding: 0; border: 0; cursor: pointer;
  background: #000; display: block;
}
.gv-play img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: .8;
  transition: opacity .25s ease;
}
.gv-play:hover img,
.gv-play:focus-visible img { opacity: .66; }
.gv-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 74px; height: 74px; border-radius: 999px;
  background: rgba(38, 58, 48, .82);
  border: 2px solid rgba(255, 255, 255, .88);
  display: grid; place-items: center;
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .65);
  transition: background .2s ease, transform .2s ease;
}
.gv-play:hover .gv-btn,
.gv-play:focus-visible .gv-btn {
  background: var(--accent);
  transform: translate(-50%, -50%) scale(1.07);
}
.gv-btn svg { width: 30px; height: 30px; color: #fff; margin-left: 4px; }
.gv-label {
  position: absolute; left: 50%; top: calc(50% + 52px);
  transform: translateX(-50%);
  font-family: var(--font-body); font-weight: 800;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .55);
}
.gslide.gvideo iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; z-index: 2;
}
