*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #f0f0f0;
  color: #333;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }

/* Site header/hero markup is injected by /shared-header-footer.js, which supplies
   its own .landing-hero/.hero-* styles. Do not duplicate them here — a stale
   copy previously lived in this file and its leftover `transform` properties
   fought with the shared header's rules (e.g. pulling the contact/cart/social
   block upward). */

/* ── Container ── */
.container { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem 2rem; }

/* ── Breadcrumb / subheader ── */
.brand-subheader {
  max-width: 1400px;
  margin: 0 auto 1.5rem;
  background: #fff;
  color: #333;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.breadcrumb { color: #666; font-size: 0.9rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: #1a1a1a; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── Nav bar ── */
.gear-nav { position: relative; z-index: 100; }
.gear-nav__bar {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 0;
}
.gear-nav__trigger {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
}
.gear-nav__trigger:hover { background: #1a1a1a; border-color: #1a1a1a; color: #fff; }
.gear-nav__trigger--active { background: #1a1a1a; border-color: #1a1a1a; color: #fff; }
.gear-nav__trigger-label { font-size: 0.85rem; opacity: 0.7; }
.gear-nav__trigger-arrow { font-size: 0.7rem; }
.gear-nav__trigger--stock {
  display: flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}
.gear-nav__trigger--stock input { width: 18px; height: 18px; cursor: pointer; }

/* ── Nav panels ── */
.gear-nav__panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  padding: 20px;
  margin-top: 4px;
  z-index: 200;
}
.gear-nav__panel.open { display: block; }
.gear-nav__panel-inner { max-width: 100%; }
.gear-nav__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.gear-nav__column { display: flex; flex-direction: column; gap: 6px; }
.gear-nav__l1-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1a1a1a;
  padding: 4px 0;
  cursor: pointer;
  transition: color 0.15s;
}
.gear-nav__l1-link:hover { color: #cc0000; }
.gear-nav__l1-link--active { color: #cc0000; }
.gear-nav__l2-list { list-style: none; padding-left: 12px; display: flex; flex-direction: column; gap: 3px; }
.gear-nav__l2-link {
  font-size: 0.85rem;
  color: #555;
  cursor: pointer;
  transition: color 0.15s;
}
.gear-nav__l2-link:hover { color: #cc0000; }
.gear-nav__l2-link--active { color: #cc0000; font-weight: 600; }
.gear-nav__count { font-size: 0.8em; color: #999; font-weight: 400; }

/* ── Brand panel ── */
.gear-nav__brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
}
.gear-nav__brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 4px 8px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
  min-height: 70px;
}
.gear-nav__brand-card:hover { border-color: #cc0000; box-shadow: 0 2px 8px rgba(204,0,0,0.15); transform: translateY(-1px); }
.gear-nav__brand-card--active { border-color: #cc0000; box-shadow: 0 0 0 2px rgba(204,0,0,0.2); }
.gear-nav__brand-logo { max-width: 72px; max-height: 36px; object-fit: contain; }
.gear-nav__brand-name { font-size: 0.75rem; color: #333; text-align: center; line-height: 1.2; }

/* ── Filter chips ── */
.gear-filters__chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin: 10px 0;
}
.gear-breadcrumb__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 4px 12px;
  font-size: 0.85rem;
  color: #333;
}
.gear-breadcrumb__remove {
  cursor: pointer;
  color: #999;
  font-size: 1.1rem;
  line-height: 1;
  background: none;
  border: none;
  padding: 0;
}
.gear-breadcrumb__remove:hover { color: #cc0000; }
.gear-breadcrumb__clear {
  background: #cc0000;
  color: #fff;
  border-color: #cc0000;
  cursor: pointer;
}
.gear-breadcrumb__clear:hover { background: #a00; }

/* ── Results header ── */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.results-count { font-size: 0.9rem; color: #666; }
.results-controls { display: flex; align-items: center; gap: 8px; }
.sort-label { font-size: 0.85rem; color: #666; }
#sort-select {
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 0.85rem;
  cursor: pointer;
  background: #fff;
}

/* ── Product grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
.product-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s;
  text-decoration: none;
  color: #333;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.product-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}
.main-image-wrap {
  height: 200px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  padding: 12px;
}
.main-image-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-card .avail-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  color: #fff;
}
.avail-badge--in { background: #2e7d32; }
.avail-badge--special { background: #f57f17; cursor: help; position: relative; }
.avail-badge--special:hover::after {
  content: "Special Order Part: Add 3 days for Delivery";
  position: absolute; bottom: 125%; left: 50%; transform: translateX(-50%);
  background: #1a1a1a; color: #fff; padding: 6px 10px; border-radius: 6px;
  font-size: 0.7rem; font-weight: 400; white-space: nowrap; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2); pointer-events: none;
}
.avail-badge--special:hover::before {
  content: ""; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: #1a1a1a; z-index: 100; pointer-events: none;
}
.avail-badge--out { background: #cc0000; }

/* Mixed availability — split gradient backgrounds */
.avail-badge--mixed { color: #fff; font-size: 0.65rem; padding: 2px 8px; }
.avail-badge--mixed-inspecial { background: linear-gradient(135deg, #2e7d32 50%, #f57f17 50%); cursor: help; position: relative; }
.avail-badge--mixed-inspecial:hover::after {
  content: "Includes Special Order Parts: Add 3 days for Delivery";
  position: absolute; bottom: 125%; left: 50%; transform: translateX(-50%);
  background: #1a1a1a; color: #fff; padding: 6px 10px; border-radius: 6px;
  font-size: 0.7rem; font-weight: 400; white-space: nowrap; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2); pointer-events: none;
}
.avail-badge--mixed-inspecial:hover::before {
  content: ""; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: #1a1a1a; z-index: 100; pointer-events: none;
}
.avail-badge--mixed-inout { background: linear-gradient(135deg, #2e7d32 50%, #cc0000 50%); }
.avail-badge--mixed-specialout { background: linear-gradient(135deg, #f57f17 50%, #cc0000 50%); cursor: help; position: relative; }
.avail-badge--mixed-specialout:hover::after {
  content: "Includes Special Order Parts: Add 3 days for Delivery";
  position: absolute; bottom: 125%; left: 50%; transform: translateX(-50%);
  background: #1a1a1a; color: #fff; padding: 6px 10px; border-radius: 6px;
  font-size: 0.7rem; font-weight: 400; white-space: nowrap; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2); pointer-events: none;
}
.avail-badge--mixed-specialout:hover::before {
  content: ""; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: #1a1a1a; z-index: 100; pointer-events: none;
}
.avail-badge--mixed-inspecialout { background: linear-gradient(135deg, #2e7d32 0%, #2e7d32 33%, #f57f17 33%, #f57f17 66%, #cc0000 66%, #cc0000 100%); cursor: help; position: relative; }
.avail-badge--mixed-inspecialout:hover::after {
  content: "Includes Special Order Parts: Add 3 days for Delivery";
  position: absolute; bottom: 125%; left: 50%; transform: translateX(-50%);
  background: #1a1a1a; color: #fff; padding: 6px 10px; border-radius: 6px;
  font-size: 0.7rem; font-weight: 400; white-space: nowrap; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2); pointer-events: none;
}
.avail-badge--mixed-inspecialout:hover::before {
  content: ""; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: #1a1a1a; z-index: 100; pointer-events: none;
}

.swatch-row {
  display: flex;
  gap: 4px;
  padding: 4px 12px 8px;
  flex-wrap: nowrap;
  overflow: hidden;
}
.swatch-row img {
  width: calc((100% - 20px) / 6);
  aspect-ratio: 1;
  border-radius: 4px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid #ddd;
  transition: border-color 0.15s;
}
.swatch-row img.active { border-color: #1a1a1a; }
.swatch-row img:hover { border-color: #999; }
.swatch-row .more-swatch {
  width: calc((100% - 20px) / 6);
  aspect-ratio: 1;
  border: 2px solid #ddd; border-radius: 4px;
  background: #f0f0f0; color: #666;
  font-size: 0.7rem; font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

.product-card .card-title {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  padding: 8px 12px 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
  flex-shrink: 0;
}
.product-card .card-view-product {
  font-size: 0.75rem;
  font-weight: 800;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.product-card .card-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
}

/* ── Variant dots on cards ── */
.variant-dots {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 4px 12px 8px;
}
.variant-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  padding: 2px 8px;
  border: 2px solid #ddd;
  border-radius: 6px;
  background: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
}
.variant-dot:hover { border-color: #999; }
.variant-dot.selected { border-color: #1a1a1a; border-width: 2px; }
.variant-dot--in { border-color: #2e7d32; }
.variant-dot--in.selected { background: #2e7d32; color: #fff; }
.variant-dot--special { border-color: #f57f17; }
.variant-dot--special.selected { background: #f57f17; color: #fff; }
.variant-dot--out { border-color: #ccc; color: #999; }
.variant-dot--out.selected { background: #ccc; color: #666; }
.variant-dot__label { line-height: 1; }

/* ── Card spacer (pushes button to bottom) ── */
.card-spacer { flex: 1; }

/* ── Pagination ── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 20px 0;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 0.85rem;
  color: #333;
  text-decoration: none;
  cursor: pointer;
  background: #fff;
  transition: all 0.15s;
}
.pagination a:hover { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.pagination .current { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.pagination .disabled { color: #ccc; cursor: default; background: #f9f9f9; }

/* ── Landing state ── */
.gear-landing { margin-top: 20px; }
.gear-landing__hero {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}
.gear-landing__hero-img { width: 100%; display: block; }
.gear-landing__onsale { margin-top: 20px; }
.gear-landing__onsale-title { font-size: 1.4rem; color: #1a1a1a; margin-bottom: 16px; }
.gear-landing__onsale-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
}
.gear-landing__onsale-scroll::-webkit-scrollbar { height: 8px; }
.gear-landing__onsale-scroll::-webkit-scrollbar-track { background: #e0e0e0; border-radius: 4px; }
.gear-landing__onsale-scroll::-webkit-scrollbar-thumb { background: #1a1a1a; border-radius: 4px; }
.gear-landing__onsale-scroll .product-card { min-width: 220px; max-width: 220px; }

/* ── Landing in-stock grid ── */
.gear-landing__instock-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

/* ── Sale corner flag ── */
.sale-flag {
  position: absolute;
  top: 20%;
  left: 20%;
  background: #cc0000;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 0;
  width: 280px;
  z-index: 5;
  transform: translate(-50%, -50%) rotate(-45deg);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  white-space: nowrap;
  text-align: center;
}
.product-card .main-image-wrap { overflow: hidden; }

/* ── Brand logo on card ── */
.main-image-wrap img.card-brand-logo {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 36px;
  height: 36px;
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
  z-index: 4;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.product-card:hover .card-brand-logo { opacity: 1; }

/* ── Sale pricing on cards ── */
.card-price--original {
  font-size: 0.75rem;
  color: #999;
  text-decoration: line-through;
  margin-right: 4px;
}
.card-price--sale {
  color: #cc0000;
}

/* ── Loading / empty ── */
.loading { text-align: center; padding: 60px; color: #888; }
.loading::after { content: '...'; animation: dots 1.5s steps(4, end) infinite; }
@keyframes dots { 0%,20% { content: '.'; } 40% { content: '..'; } 60%,100% { content: '...'; } }
.empty-state { text-align: center; padding: 60px 20px; color: #888; font-style: italic; }

/* ── Footer ── */
.site-footer {
  background: #1a1a1a; color: #888; padding: 2rem; margin-top: 3rem;
}
.site-footer__inner {
  max-width: 1400px; margin: 0 auto; font-size: 0.8rem;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.site-footer__links { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.site-footer__links a { color: #aaa; transition: color 0.15s; }
.site-footer__links a:hover { color: white; }
.site-footer__contact { color: #666; }

/* ── Popup modal ── */
.popup-modal {
  display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.7); align-items: center; justify-content: center;
}
.popup-content { background: white; border-radius: 12px; max-width: 600px; width: 90%; max-height: 80vh; overflow-y: auto; box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.popup-header { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; border-bottom: 1px solid #ddd; position: sticky; top: 0; background: white; border-radius: 12px 12px 0 0; }
.popup-header h2 { margin: 0; font-size: 1.5rem; color: #1a1a1a; }
.popup-close { background: none; border: none; font-size: 2rem; cursor: pointer; color: #666; }
.popup-body { padding: 1.5rem; font-size: 0.9rem; line-height: 1.5; color: #333; }
.popup-body a { color: #cc0000; text-decoration: underline; }

/* ── Image modal ── */
.image-modal {
  display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.9); cursor: pointer; align-items: center; justify-content: center;
}
.image-modal.active { display: flex; }
.image-modal img { max-width: 95%; max-height: 95%; object-fit: contain; border-radius: 4px; box-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.image-modal .close-btn { position: absolute; top: 20px; right: 40px; color: #fff; font-size: 40px; font-weight: bold; z-index: 1001; }
.image-modal .close-btn:hover { color: #cc0000; }

/* ── Product detail modal ── */
.product-modal { display: none; position: fixed; z-index: 3000; left: 0; top: 0; width: 100%; height: 100%; }
.product-modal.open { display: block; }
.product-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.product-modal__dialog {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: #fff; border-radius: 12px; width: 92%; max-width: 900px;
  max-height: 90vh; overflow-y: auto; box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.product-modal__close {
  position: absolute; top: 12px; right: 16px; z-index: 10;
  background: rgba(255,255,255,0.9); border: none; font-size: 1.8rem;
  cursor: pointer; color: #666; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: all 0.15s;
}
.product-modal__close:hover { background: #cc0000; color: #fff; }
.product-modal__body { display: flex; flex-direction: column; }
.pdp-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.pdp-gallery { padding: 24px; background: #fafafa; position: relative; }
.pdp-main-image-wrap { position: relative; margin-bottom: 12px; }
.pdp-main-image {
  width: 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 8px; border: 1px solid #eee; overflow: hidden;
}
.pdp-main-image img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pdp-nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.85); border: none; font-size: 1.8rem;
  cursor: pointer; color: #666; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: all 0.15s;
  z-index: 5;
}
.pdp-nav-btn:hover { background: #cc0000; color: #fff; }
.pdp-nav-prev { left: 8px; }
.pdp-nav-next { right: 8px; }
.pdp-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.pdp-thumb {
  width: calc((100% - 40px) / 6); aspect-ratio: 1; border-radius: 6px; border: 2px solid transparent;
  cursor: pointer; object-fit: cover; background: #fff; transition: border-color 0.15s;
}
.pdp-thumb:hover { border-color: #999; }
.pdp-thumb.active { border-color: #cc0000; }
.pdp-thumb-more {
  width: calc((100% - 40px) / 6); aspect-ratio: 1; border: 2px solid #ddd; border-radius: 6px;
  background: #f0f0f0; color: #666; font-size: 0.75rem; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.pdp-thumb-more:hover { border-color: #cc0000; color: #cc0000; }
.pdp-image-selector {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; padding: 12px;
  background: #fff; border: 1px solid #eee; border-radius: 8px; position: absolute;
  z-index: 10; max-width: 100%; box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.pdp-selector-thumb {
  width: 60px; height: 60px; border-radius: 4px; border: 2px solid transparent;
  cursor: pointer; object-fit: cover; transition: border-color 0.15s;
}
.pdp-selector-thumb:hover { border-color: #999; }
.pdp-selector-thumb.active { border-color: #cc0000; }
.pdp-info { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.pdp-full-width {
  padding: 0 24px 24px;
  border-top: 1px solid #eee;
  display: flex; flex-direction: column; gap: 16px;
}
.pdp-brand-row { display: flex; align-items: center; gap: 10px; }
.pdp-brand-logo { max-height: 32px; max-width: 120px; object-fit: contain; }
.pdp-brand-name { font-size: 0.8rem; color: #888; text-transform: uppercase; letter-spacing: 0.05em; }
.pdp-title { font-size: 1.4rem; font-weight: 700; color: #1a1a1a; line-height: 1.3; margin: 0; }
.pdp-price-row { display: flex; align-items: baseline; gap: 10px; }
.pdp-price { font-size: 1.5rem; font-weight: 800; color: #1a1a1a; }
.pdp-compare-price { font-size: 1rem; color: #999; text-decoration: line-through; }
.pdp-sale-badge { font-size: 0.75rem; font-weight: 700; color: #fff; background: #cc0000; padding: 2px 8px; border-radius: 12px; text-transform: uppercase; letter-spacing: 0.03em; }
#pdp-sale-price { font-size: 1.5rem; font-weight: 800; color: #cc0000; }
.pdp-avail-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pdp-avail { font-size: 0.8rem; font-weight: 600; padding: 4px 10px; border-radius: 12px; display: inline-block; width: fit-content; }
.pdp-avail-sub { font-size: 0.8rem; color: #666; }
.pdp-avail--in { background: #e8f5e9; color: #2e7d32; }
.pdp-avail--special { background: #fff8e1; color: #f57f17; cursor: help; position: relative; }
.pdp-avail--special:hover::after {
  content: "Special Order Part: Add 3 days for Delivery";
  position: absolute; bottom: 125%; left: 50%; transform: translateX(-50%);
  background: #1a1a1a; color: #fff; padding: 6px 10px; border-radius: 6px;
  font-size: 0.7rem; font-weight: 400; white-space: nowrap; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2); pointer-events: none;
}
.pdp-avail--special:hover::before {
  content: ""; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: #1a1a1a; z-index: 100; pointer-events: none;
}
.pdp-avail--out { background: #ffebee; color: #c62828; }
.pdp-variants { display: flex; flex-direction: column; gap: 12px; }
.pdp-variant-group { display: flex; flex-direction: column; gap: 6px; }
.pdp-variant-label { font-size: 0.8rem; font-weight: 600; color: #555; text-transform: uppercase; letter-spacing: 0.03em; }
.pdp-variant-options { display: flex; gap: 8px; flex-wrap: wrap; }
.pdp-variant-btn {
  padding: 6px 14px; border: 2px solid #ddd; border-radius: 6px; background: #fff;
  font-size: 0.85rem; cursor: pointer; transition: all 0.15s; color: #333;
}
.pdp-variant-btn:hover { border-color: #999; }
.pdp-variant-btn--in { border-color: #2e7d32; }
.pdp-variant-btn--in.selected { background: #2e7d32; color: #fff; border-color: #2e7d32; }
.pdp-variant-btn--special { border-color: #f57f17; }
.pdp-variant-btn--special.selected { background: #f57f17; color: #fff; border-color: #f57f17; }
.pdp-variant-btn--out { border-color: #cc0000; color: #cc0000; }
.pdp-variant-btn--out.selected {
  background-color: #fff;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 4px, rgba(204,0,0,0.12) 4px, rgba(204,0,0,0.12) 8px);
  color: #cc0000; border-color: #cc0000;
}
.pdp-selected-sku { font-size: 0.75rem; color: #999; }
.pdp-actions { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.pdp-add-cart {
  flex: 1; background: #1a1a1a; color: #fff; border: none; padding: 12px 24px;
  border-radius: 6px; font-size: 0.9rem; font-weight: 700; cursor: pointer; transition: background 0.15s;
}
.pdp-add-cart:hover { background: #cc0000; }
.pdp-add-cart:disabled { background: #ccc; cursor: not-allowed; }
.pdp-add-cart.success { background: #2e7d32; }
.pdp-view-shopify {
  font-size: 0.8rem; color: #999; text-decoration: underline; white-space: nowrap;
}
.pdp-view-shopify:hover { color: #cc0000; }

/* ── Modal description & details ── */
.pdp-description {
  font-size: 0.85rem; line-height: 1.6; color: #555; padding-top: 4px;
}
.pdp-description img { max-width: 100%; height: auto; }
.pdp-description p { margin-bottom: 8px; }
.pdp-description ul, .pdp-description ol { margin: 8px 0; padding-left: 20px; }
.pdp-description li { margin-bottom: 4px; }
.pdp-description h1, .pdp-description h2, .pdp-description h3 { font-size: 1rem; font-weight: 700; margin: 12px 0 6px; color: #333; }
.pdp-description strong { font-weight: 700; color: #333; }
.pdp-details {
  padding-top: 12px; border-top: 1px solid #eee; display: flex; flex-direction: column; gap: 6px;
}
.pdp-detail-row { display: flex; gap: 8px; font-size: 0.8rem; }
.pdp-detail-label { font-weight: 600; color: #888; min-width: 60px; text-transform: uppercase; }
.pdp-detail-value { color: #333; }

@media (max-width: 1200px) {
  .gear-nav__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .gear-nav__grid { grid-template-columns: repeat(3, 1fr); }
  .gear-nav__brand-grid { grid-template-columns: repeat(3, 1fr); }
  .pdp-layout { grid-template-columns: 1fr; }
  .pdp-gallery { padding: 16px; }
  .pdp-info { padding: 16px; }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gear-nav__brand-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp-title { font-size: 1.1rem; }
  .pdp-price { font-size: 1.2rem; }
  .product-modal__dialog { width: 96%; max-height: 95vh; }
}
