/* Layout "plus" options (template-sports-a, template-sports-b; README "Layouts"): promo banner, trust strip, type hero,
   gear grid (plain or mosaic), featured product with pack tiers, numbered promise trio and the pure-CSS marquee.
   Loaded after layout.css and before the brand's theme.css, only by layouts that use one of these options.
   Colors come from the brand theme variables (--accent, --accent-strong, --ink, --bg-alt ...); theme.css fine-tunes. */

/* promo banner + trust strip (under the top bar) */
.l-promo { background: var(--accent-strong); color: #fff; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.l-promo-msgs { margin: 0; padding: 10px 16px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 14px; }
.l-promo-sep { opacity: 0.7; }
.l-trust { background: var(--ink); color: #fff; font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.l-trust-list { list-style: none; margin: 0; padding: 8px 16px; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 0; }
.l-trust-list li + li::before { content: '/'; margin: 0 14px; opacity: 0.6; }
@media (max-width: 700px) {
  .l-promo { font-size: 11px; letter-spacing: 0.1em; }
  .l-promo-msg:not(.is-first), .l-promo-sep { display: none; }
  .l-trust { font-size: 10px; letter-spacing: 0.1em; }
  .l-trust-list li + li::before { margin: 0 8px; }
}

/* shared bits */
.l-kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent-strong); margin: 0 0 10px; }
.l-kicker::before { content: ''; width: 30px; height: 2px; background: currentColor; display: inline-block; }
.l-btn--solid { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 0.1em; padding: 16px 30px; }
.l-btn--ghost { background: transparent; border-color: currentColor; color: inherit; font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 0.1em; padding: 16px 30px; }
.l-head2 { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin: 0 0 28px; }
.l-head2 h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1; text-transform: uppercase; }
.l-head2 > p { margin: 0; max-width: 320px; font-size: 14px; }
@media (max-width: 700px) { .l-head2 { flex-direction: column; align-items: flex-start; gap: 12px; } }

/* type hero: big two-line headline, no picture */
.hero-type { position: relative; overflow: hidden; background: var(--hero-bg, var(--ink)); color: #fff; padding: clamp(72px, 12vh, 140px) 0 clamp(64px, 9vh, 110px); }
.hero-type-inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.hero-type h1 { margin: 0 0 28px; font-size: clamp(64px, 14vw, 200px); line-height: 0.86; text-transform: uppercase; color: #fff; overflow-wrap: anywhere; }
.hero-type h1 span { display: block; }
.hero-type-l2 { color: var(--hero-accent, var(--accent)); }
.hero-type p { max-width: 560px; margin: 0 0 32px; font-size: clamp(15px, 1.6vw, 19px); color: rgba(255,255,255,0.86); }
.hero-type-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-type-aside { max-width: 300px; margin: 0 0 8px; font-size: 14px; }
@media (max-width: 900px) { .hero-type-inner { flex-direction: column; align-items: flex-start; gap: 20px; } }

/* gear grid: dense hard-edged cards (plain) or an asymmetric collage (mosaic) */
.lg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--border); background: var(--border); }
.lg-card { position: relative; display: flex; flex-direction: column; background: #fff; color: var(--ink); text-decoration: none; outline-offset: -3px; box-shadow: 0 0 0 0.5px var(--border); }
.lg-tag { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 4px 8px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.lg-img { aspect-ratio: 1; overflow: hidden; background: var(--bg-alt); }
.lg-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.lg-card:hover .lg-img img { transform: scale(1.04); }
.lg-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.lg-kind { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-strong); }
.lg-name { margin: 0; font-size: 20px; line-height: 1.1; text-transform: uppercase; }
.lg-desc { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lg-price { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 15px; }
.l-gear .l-viewall { margin-top: 32px; }
@media (max-width: 1000px) { .lg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lg-grid { grid-template-columns: 1fr; } }

.l-gear--mosaic .lg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: 18px; border: 0; background: none; }
.l-gear--mosaic .lg-card { border-radius: 16px; overflow: hidden; box-shadow: 0 10px 28px rgba(22,38,58,0.10); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.l-gear--mosaic .lg-card:hover { transform: translateY(-4px) rotate(0deg); box-shadow: 0 16px 36px rgba(22,38,58,0.16); }
.l-gear--mosaic .lg-card:nth-of-type(1) { grid-column: span 2; grid-row: span 2; }
.l-gear--mosaic .lg-card:nth-of-type(3) { grid-row: span 2; transform: rotate(1.2deg); }
.l-gear--mosaic .lg-card:nth-of-type(5) { transform: rotate(-1.2deg); }
.l-gear--mosaic .lg-card:nth-of-type(7) { grid-column: span 2; }
.l-gear--mosaic .lg-card:nth-of-type(3) .lg-img { aspect-ratio: auto; flex: 1; }
.l-gear--mosaic .lg-tag { border-radius: 999px; }
.l-gear--mosaic .lg-body { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2px 12px; flex: none; }
.l-gear--mosaic .lg-kind { width: 100%; }
.l-gear--mosaic .lg-name { font-size: 16px; text-transform: none; flex: 1; }
.l-gear--mosaic .lg-price { margin: 0; padding: 0; }
.lg-word { display: flex; align-items: center; justify-content: center; min-height: 180px; border-radius: 16px; font-size: clamp(30px, 3.4vw, 48px); font-weight: 700; color: #fff; background: var(--accent-strong); }
.lg-word--1 { background: var(--ink); }
.lg-word--2 { background: var(--accent); color: var(--ink); }
@media (max-width: 1000px) { .l-gear--mosaic .lg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .l-gear--mosaic .lg-card:nth-of-type(7) { grid-column: auto; } }
@media (max-width: 560px) {
  .l-gear--mosaic .lg-grid { grid-template-columns: 1fr; }
  .l-gear--mosaic .lg-card:nth-of-type(1) { grid-column: auto; grid-row: auto; }
  .l-gear--mosaic .lg-card:nth-of-type(3) { grid-row: auto; }
  .l-gear--mosaic .lg-card:nth-of-type(3) .lg-img { aspect-ratio: 1; }
  .lg-word { min-height: 120px; }
}

/* featured product with 1/2/3-pack price tiers */
.l-fpack-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.l-fpack-img img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #fff; }
.l-fpack-info h2 { margin: 0 0 14px; font-size: clamp(36px, 5vw, 64px); line-height: 0.95; text-transform: uppercase; }
.l-fpack-info > p { margin: 0 0 18px; max-width: 520px; }
.l-fpack-price { font-size: 32px; font-weight: 700; margin: 0 0 14px; }
.l-fpack-price small { font-size: 14px; font-weight: 400; opacity: 0.8; }
.l-fpack-tiers { border: 0; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.l-fpack-tiers legend { padding: 0; margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.l-fpack-tier { position: relative; cursor: pointer; }
.l-fpack-tier input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.l-fpack-tier span { display: inline-block; padding: 10px 16px; border: 1px solid currentColor; font-size: 13px; font-weight: 700; }
.l-fpack-tier em { font-style: normal; font-weight: 400; }
.l-fpack-tier input:checked + span { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
.l-fpack-tier input:focus-visible + span { outline: 2px solid currentColor; outline-offset: 2px; }
.l-fpack-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 0 0 12px; }
.l-fpack-actions .l-more { display: inline; }
@media (max-width: 800px) { .l-fpack-grid { grid-template-columns: 1fr; } }

/* numbered promise trio (Why us) */
.l-promise-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.l-promise-num { display: block; font-size: 14px; font-weight: 700; letter-spacing: 0.1em; color: var(--accent-strong); margin: 0 0 10px; }
.l-promise-item h3 { margin: 0 0 10px; font-size: 22px; }
.l-promise-item p { margin: 0; font-size: 14px; line-height: 1.7; }
@media (max-width: 800px) { .l-promise-row { grid-template-columns: 1fr; gap: 28px; } }

/* pure-CSS scrolling marquee (layout.marquee: enabled + phrases). Two identical groups scroll by half the track width,
   hover pauses, prefers-reduced-motion stops it. */
.l-marquee { overflow: hidden; background: var(--accent-strong); color: #fff; padding: 14px 0; font-size: clamp(30px, 4vw, 56px); font-weight: 700; line-height: 1.1; white-space: nowrap; }
.l-marquee-track { display: flex; width: max-content; animation: l-marquee 38s linear infinite; }
.l-marquee:hover .l-marquee-track { animation-play-state: paused; }
.l-marquee--rev .l-marquee-track { animation-direction: reverse; }
.l-marquee-group { display: flex; flex: none; align-items: center; }
.l-marquee-item { padding: 0 0.5em; }
.l-marquee-sep { padding: 0 0.3em; opacity: 0.6; }
@keyframes l-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .l-marquee-track { animation: none; } }

/* footer blurb under the logo */
.sfoot-blurb { margin: 14px 0 0; max-width: 280px; font-size: 13px; line-height: 1.7; }
.l-gear .l-viewall .l-btn { text-decoration: none; }
/* product page quantity tiers ("Select Quantity") in the brand colors */
.bnd .bnd-tier:hover { border-color: var(--accent-strong); }
.bnd .bnd-tier.is-selected { border-color: var(--accent-strong); box-shadow: 0 0 0 3px rgba(0,0,0,0.06); background: #fff; }
.bnd .bnd-tier.is-selected .bnd-dot { border-color: var(--accent-strong); background: radial-gradient(circle, var(--accent-strong) 0 5px, #fff 6px); }
.bnd .bnd-ribbon { background: var(--accent-strong); }
.bnd .bnd-save { color: var(--accent-strong); }
