/* ===== Trail Pony storefront + product pages (Alpine Granite Edition - No Tan) ===== */
.trust-strip { background: #e2e8f0; border-bottom: 1px solid var(--border-subtle); }
.trust-inner { max-width: 1320px; margin: 0 auto; padding: 18px 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust-inner div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; }
.trust-inner strong { color: var(--text-main); font-size: 14px; font-weight: 800; }
.trust-inner span { color: var(--text-muted); font-size: 13px; }

.shop-section { padding: 64px 24px 50px; background: var(--bg-dark); }
.shop-head { text-align: center; margin-bottom: 32px; }
.shop-head h2 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin: 10px 0 16px; color: var(--text-main); }
.shop-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.shop-jump a { padding: 8px 16px; border: 1.5px solid var(--border-subtle); border-radius: var(--radius-full); color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 14px; background: #ffffff; transition: all var(--transition-fast); }
.shop-jump a:hover { border-color: var(--accent-amber); color: var(--accent-amber); background: #f8fafc; }

.shop-cat { padding-top: 36px; scroll-margin-top: 90px; }
.shop-cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--border-subtle); padding-bottom: 10px; margin-bottom: 22px; }
.shop-cat-head h2 { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--text-main); }
.shop-cat-head p { color: var(--text-muted); font-size: 14px; }

.pc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.pc { display: flex; flex-direction: column; background: #ffffff; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06); transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast); }
.pc:hover { transform: translateY(-4px); border-color: var(--accent-amber); box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12); }
.pc-img { position: relative; aspect-ratio: 1 / 1; background: #f1f5f9; border-bottom: 1px solid var(--border-subtle); display: flex; align-items: center; justify-content: center; }
.pc-img img { width: 86%; height: 86%; object-fit: contain; transition: transform .35s ease; }
.pc:hover .pc-img img { transform: scale(1.04); }
.pc-badge { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--accent-amber); color: #ffffff; font-size: 11px; font-weight: 800; letter-spacing: .4px; padding: 4px 9px; border-radius: var(--radius-full); text-transform: uppercase; box-shadow: 0 2px 6px rgba(217, 119, 6, 0.35); }
.pc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pc-name { font-size: 16px; font-weight: 800; line-height: 1.3; color: var(--text-main); }
.pc-tag { color: var(--text-muted); font-size: 13px; line-height: 1.4; }
.pc-dots { display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.pc-dot { width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.pc-dots-label { color: var(--text-dim); font-size: 12px; margin-left: 4px; }
.pc-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #f1f5f9; }
.pc-price { font-size: 18px; font-weight: 800; color: var(--text-main); }
.pc-price s, .pp-compare { color: var(--text-dim); font-weight: 500; font-size: .75em; margin-left: 4px; }
.pc-cta { color: var(--accent-amber); font-weight: 700; font-size: 14px; }

/* product page */
.pp-main { padding: 28px 24px 70px; background: var(--bg-dark); }
.pp-crumbs { font-size: 13px; color: var(--text-dim); margin-bottom: 18px; }
.pp-crumbs a { color: var(--text-muted); text-decoration: none; }
.pp-crumbs a:hover { color: var(--accent-amber); }
.pp-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.pp-gallery { position: sticky; top: 96px; }
.pp-main-img { background: #ffffff; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08); }
.pp-main-img img { width: 88%; height: 88%; object-fit: contain; }
.pp-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.pp-thumb { width: 72px; height: 72px; border-radius: 10px; background: #ffffff; border: 1.5px solid var(--border-subtle); padding: 4px; cursor: pointer; transition: all var(--transition-fast); }
.pp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pp-thumb.active { border-color: var(--accent-amber); box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.25); }
.pp-info h1 { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; line-height: 1.15; margin: 8px 0 6px; color: var(--text-main); }
.pp-badge { display: inline-block; background: #fef3c7; color: #9a3412; border: 1px solid #fde68a; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: var(--radius-full); text-transform: uppercase; letter-spacing: .4px; }
.pp-tag { color: var(--text-muted); font-size: 15px; }
.pp-price { font-size: 30px; font-weight: 800; margin: 14px 0 18px; color: var(--text-main); }
.pp-opt { margin-bottom: 20px; }
.pp-opt-label { font-size: 14px; color: var(--text-muted); margin-bottom: 10px; }
.pp-opt-label strong { color: var(--text-main); }
.pp-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.pp-swatch { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 78px; background: none; border: none; cursor: pointer; color: var(--text-muted); font: inherit; }
.pp-swatch span { width: 40px; height: 40px; border-radius: 50%; background: var(--sw); border: 2px solid #cbd5e1; box-shadow: inset 0 0 0 2px #ffffff; transition: all var(--transition-fast); }
.pp-swatch em { font-style: normal; font-size: 11.5px; font-weight: 600; line-height: 1.2; text-align: center; }
.pp-swatch:hover span { transform: scale(1.08); }
.pp-swatch.active span { border-color: var(--accent-amber); box-shadow: inset 0 0 0 2px #ffffff, 0 0 0 2px rgba(217, 119, 6, 0.35); }
.pp-swatch.active em { color: var(--text-main); font-weight: 700; }
.pp-pick3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pp-pick3 label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-muted); }
.pp-pick3 select { background: #ffffff; color: var(--text-main); border: 1.5px solid var(--border-subtle); border-radius: 8px; padding: 10px; font: inherit; }
.pp-buy { display: flex; gap: 12px; align-items: stretch; margin-bottom: 16px; }
.pp-qty { display: flex; align-items: center; border: 1.5px solid var(--border-subtle); border-radius: var(--radius-sm); background: #ffffff; }
.pp-qty button { width: 42px; height: 100%; min-height: 50px; background: none; border: none; color: var(--text-main); font-size: 20px; cursor: pointer; }
.pp-qty span { min-width: 30px; text-align: center; font-weight: 700; color: var(--text-main); }
.pp-add { flex: 1; }
.pp-perks { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--text-muted); font-size: 13.5px; margin-bottom: 22px; }
.pp-desc { color: #334155; font-size: 16px; line-height: 1.65; margin-bottom: 14px; }
.pp-note { background: #fef3c7; border-left: 3px solid var(--accent-amber); padding: 12px 16px; border-radius: 6px; color: #92400e; font-size: 14px; margin-bottom: 16px; }
.pp-h2 { font-size: 18px; font-weight: 800; margin: 20px 0 10px; color: var(--text-main); }
.pp-bullets { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pp-bullets li { color: #475569; font-size: 14.5px; padding-left: 18px; position: relative; }
.pp-bullets li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-amber); }
.pp-bullets strong { color: var(--text-main); }
.pp-related { margin-top: 70px; }
.pp-related h2 { font-family: var(--font-display); font-size: 26px; font-weight: 800; margin-bottom: 18px; color: var(--text-main); }
.cart-qty { margin-top: 6px; display: flex; gap: 6px; align-items: center; }
.cart-qty button { background: #e2e8f0; color: #0f172a; border: none; padding: 2px 9px; border-radius: 4px; cursor: pointer; font-weight: 700; }
.cart-qty span { font-size: 12px; font-weight: 700; color: var(--text-main); }

@media (max-width: 900px) {
  .pp-layout { grid-template-columns: 1fr; gap: 24px; }
  .pp-gallery { position: static; }
}
@media (max-width: 640px) {
  .trust-inner { grid-template-columns: 1fr; gap: 8px; }
  .pc-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pc-body { padding: 10px 12px 12px; }
  .pc-name { font-size: 14px; }
  .pc-tag { display: none; }
  .pp-pick3 { grid-template-columns: 1fr; }
  .shop-section, .pp-main { padding-left: 16px; padding-right: 16px; }
  .pc-foot { flex-wrap: wrap; gap: 4px; }
  .pc-price { font-size: 16px; }
  .pc-dots-label { display: none; }
  .pp-main { padding-top: 12px; }
}
/* one-line menu */
.nav-links a { white-space: nowrap; }
.brand-title, .brand-sub { white-space: nowrap; }
@media (max-width: 1360px) { .nav-links { gap: 18px; } .nav-links a { font-size: 13.5px; } }
@media (max-width: 1200px) { .nav-links a[href$="#story"] { display: none; } }

/* clean home: category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-tile { display: flex; flex-direction: column; background: #ffffff; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06); transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast); }
.cat-tile:hover { transform: translateY(-4px); border-color: var(--accent-amber); box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12); }
.cat-tile-img { aspect-ratio: 4 / 3.4; background: #f1f5f9; border-bottom: 1px solid var(--border-subtle); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.cat-tile-img img { position: absolute; inset: 10%; width: 80%; height: 80%; object-fit: contain; transition: transform .35s ease; }
.cat-tile:hover .cat-tile-img img { transform: scale(1.05); }
.cat-tile-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cat-tile-body h3 { font-family: var(--font-display); font-size: 19px; font-weight: 800; line-height: 1.25; color: var(--text-main); }
.cat-tile-body p { color: var(--text-muted); font-size: 14px; line-height: 1.5; }
.cat-tile-cta { margin-top: auto; padding-top: 10px; color: var(--accent-amber); font-weight: 700; font-size: 14px; }
.cat-page-head { margin: 4px 0 18px; }
.cat-page-head h1 { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; color: var(--text-main); }
.cat-page-head p { color: var(--text-muted); margin-top: 6px; }
.cat-switch { justify-content: flex-start; margin-bottom: 26px; }
.cat-switch a.on { border-color: var(--accent-amber); color: var(--accent-amber); }
@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cat-grid { grid-template-columns: 1fr; } }

/* category banner (dash backdrop) */
.cat-banner { position: relative; min-height: clamp(300px, 38vw, 520px); background-size: cover; background-position: center 60%; display: flex; align-items: center; border-bottom: 1px solid var(--border-subtle); background-color: #1e293b; }
.cat-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,23,42,.85) 0%, rgba(15,23,42,.55) 38%, rgba(15,23,42,0) 65%); }
.cat-banner-inner { position: relative; max-width: 1320px; width: 100%; margin: 0 auto; padding: 0 24px; }
.cat-banner h1 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 52px); font-weight: 800; line-height: 1.1; max-width: 560px; color: #ffffff; text-shadow: 0 2px 14px rgba(0,0,0,.6); }
.cat-banner p { color: #f8fafc; font-size: 17px; margin-top: 12px; max-width: 460px; text-shadow: 0 1px 8px rgba(0,0,0,.7); }
@media (max-width: 700px) {
  .cat-banner { min-height: 300px; background-position: 72% 60%; align-items: flex-end; padding-bottom: 28px; }
  .cat-banner::before { background: linear-gradient(0deg, rgba(15,23,42,.85) 0%, rgba(15,23,42,.3) 70%); }
}
.cat-banner + .pp-main { padding-top: 24px; }


/* ==========================================================================
   TRAIL PROVING GROUNDS FULL-PAGE BACKDROPS (BRIGHT, CLEAN OUTDOOR AESTHETIC)
   ========================================================================== */
html, body {
  background-color: transparent !important;
}

body.trail-page {
  background-size: cover !important;
  background-attachment: fixed !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  min-height: 100vh;
}

.main-header {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05) !important;
}

.nav-links a {
  color: #1e293b !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
}

.nav-links a:hover, .nav-links a.active {
  color: #d97706 !important;
}

.nav-links a.nav-highlight {
  background: #fef3c7 !important;
  color: #b45309 !important;
  border: 1px solid #fde68a !important;
}

.announcement-bar {
  background: #0f172a !important;
  color: #fbbf24 !important;
  border-bottom: 1px solid rgba(217, 119, 6, 0.4) !important;
}

/* Category Banners & Page Headers */
.cat-banner-trail {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid rgba(217, 119, 6, 0.4);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  padding: 42px 24px 36px;
  text-align: center;
  position: relative;
}

.cat-banner-trail .trail-proving-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0f172a;
  color: #fbbf24;
  border: 1px solid #d97706;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.cat-banner-trail h1 {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.cat-banner-trail p {
  color: #475569;
  font-size: clamp(14px, 1.8vw, 16px);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.5;
  font-weight: 500;
}

/* Category Grid & Product Cards */
.shop-section, .pp-main {
  background: transparent !important;
}

.pc {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
}

.pc:hover {
  background: #ffffff !important;
  border-color: #d97706 !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16) !important;
  transform: translateY(-4px);
}

.pc-img {
  background: #f8fafc !important;
}

/* Story / Manifesto Cards on Home */
.story-manifesto-box {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
  margin-bottom: 40px;
}

.motto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 28px 0;
}

.motto-card {
  background: rgba(255, 255, 255, 0.97);
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.motto-card:hover {
  transform: translateY(-4px);
  border-color: #d97706;
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.15);
}

.motto-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #b45309;
  background: #fef3c7;
  padding: 4px 10px;
  border-radius: 9999px;
  align-self: flex-start;
  margin-bottom: 12px;
}

.motto-title {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.25;
}

.motto-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #475569;
}

.motto-desc strong {
  color: #0f172a;
}

/* Trail Proving Grounds Showcase Grid */
.trail-proving-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.trail-proving-card {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.trail-proving-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.trail-proving-card p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.45;
}

.trail-proving-card .trail-proving-state {
  font-size: 11px;
  font-weight: 800;
  color: #d97706;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* Category Jump Tiles on Home */
.home-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 32px;
}

.home-cat-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transition: all 0.25s ease;
}

.home-cat-card:hover {
  transform: translateY(-5px);
  border-color: #d97706;
  box-shadow: 0 16px 36px rgba(217, 119, 6, 0.18);
}

.home-cat-img {
  height: 220px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #e2e8f0;
  padding: 20px;
}

.home-cat-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.home-cat-card:hover .home-cat-img img {
  transform: scale(1.05);
}

.home-cat-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.home-cat-badge {
  font-size: 11px;
  font-weight: 800;
  color: #d97706;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.home-cat-title {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
}

.home-cat-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
}

.home-cat-cta {
  margin-top: auto;
  padding-top: 14px;
  color: #d97706;
  font-weight: 800;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Product Detail Page Cards */
.pp-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: start;
}

.pp-gallery, .pp-info-panel {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08) !important;
  padding: 28px;
}

@media (max-width: 900px) {
  .pp-layout {
    grid-template-columns: 1fr;
  }
}
