/* =============================================================================
   Category Pages — Editorial Layouts
   Student Handicrafts Design System
   ============================================================================= */

/* ── Base ─────────────────────────────────────────────────────────────────── */
.sh-cat-page {
  background: #FDFCFA;
  font-family: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
}

/* ── Hero shared ──────────────────────────────────────────────────────────── */
.sh-cat-hero {
  position: relative;
  overflow: hidden;
}
.sh-cat-hero__kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}
.sh-cat-hero__headline {
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  font-weight: 600;
  line-height: 1.08;
}
.sh-cat-hero__lead {
  font-size: 16px;
  line-height: 1.65;
  max-width: 56ch;
  opacity: 0.85;
}
.sh-cat-hero__body {
  font-size: 14px;
  line-height: 1.7;
  max-width: 62ch;
  opacity: 0.7;
  margin-top: 16px;
}
.sh-cat-hero__seo {
  padding-bottom: 40px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  max-width: 72ch;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LAYOUT 1: FULL-BLEED (Bags)
   Dark photo hero with layered gradient, angled bottom cut.
   ═══════════════════════════════════════════════════════════════════════════ */
.sh-cat-hero--full-bleed {
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center 35%;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  margin-bottom: 40px;
}
.sh-cat-hero--full-bleed::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    175deg,
    rgba(10,79,79,0.15) 0%,
    rgba(10,16,18,0.72) 55%,
    rgba(10,16,18,0.92) 100%
  );
}
.sh-cat-hero--full-bleed::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 8px;
  background: repeating-linear-gradient(90deg, #C8B380 0 4px, transparent 4px 10px);
  opacity: 0.6;
}
.sh-cat-hero--full-bleed .sh-cat-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  padding-top: 80px;
  padding-bottom: 60px;
  color: #fff;
}
.sh-cat-hero--full-bleed .sh-cat-hero__kicker {
  color: #D9C79E;
}
.sh-cat-hero--full-bleed .sh-cat-hero__headline {
  font-size: clamp(40px, 5vw, 72px);
  color: #fff;
}
.sh-cat-hero__meta {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-end;
  min-width: 140px;
}
.sh-cat-hero__stat span {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}
.sh-cat-hero__stat strong {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.sh-cat-hero--full-bleed .sh-cat-hero__seo {
  position: relative;
  z-index: 2;
  padding-top: 0;
  padding-bottom: 56px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LAYOUT 2: SPLIT (Clothing)
   Text left, image mosaic right. Paper background.
   ═══════════════════════════════════════════════════════════════════════════ */
.sh-cat-hero--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  background: #0B1012;
}
.sh-cat-hero__split-text {
  padding: 80px 56px 80px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
  margin-left: auto;
  color: #fff;
}
.sh-cat-hero--split .sh-cat-hero__kicker {
  color: #C8B380;
}
.sh-cat-hero--split .sh-cat-hero__headline {
  font-size: clamp(36px, 4vw, 64px);
  color: #fff;
  margin-bottom: 24px;
}
.sh-cat-hero--split .sh-cat-hero__lead,
.sh-cat-hero--split .sh-cat-hero__body {
  color: rgba(255,255,255,0.72);
}
.sh-cat-hero__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.sh-cat-hero__badges span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid rgba(200, 179, 128, 0.4);
  border-radius: 2px;
  color: #C8B380;
}
.sh-cat-hero__split-imgs {
  position: relative;
  overflow: hidden;
  background: #141A1D;
}
.sh-cat-hero__split-img {
  position: absolute;
  object-fit: cover;
}
.sh-cat-hero__split-img--main {
  inset: 0;
  width: 100%;
  height: 100%;
}
.sh-cat-hero__split-img--b {
  width: 46%;
  height: 50%;
  bottom: 0;
  left: 0;
  border: 3px solid #0B1012;
}
.sh-cat-hero__split-img--c {
  width: 46%;
  height: 40%;
  top: 10%;
  left: 4%;
  border: 3px solid #0B1012;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LAYOUT 3: BOLD-HEADER (Headwear)
   Dark band, big typographic block left, description right.
   ═══════════════════════════════════════════════════════════════════════════ */
.sh-cat-hero--bold-header {
  background-color: #0B1012;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center right;
  background-blend-mode: luminosity;
  border-bottom: 3px solid #1A9C9C;
}
.sh-cat-hero--bold-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0B1012 45%, rgba(11,16,18,0.6) 100%);
}
.sh-cat-hero__bold-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
  color: #fff;
}
.sh-cat-hero--bold-header .sh-cat-hero__kicker {
  color: #2EB5B5;
}
.sh-cat-hero--bold-header .sh-cat-hero__headline {
  font-size: clamp(44px, 6vw, 88px);
  color: #fff;
  line-height: 0.95;
}
.sh-cat-hero__bold-right p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  max-width: 48ch;
}
.sh-cat-hero__bold-right p + p { margin-top: 16px; }

/* ═══════════════════════════════════════════════════════════════════════════
   LAYOUT 4: WARM-CRAFT (Felt Products)
   Warm off-white with saturated craft image, textured grain.
   ═══════════════════════════════════════════════════════════════════════════ */
.sh-cat-hero--warm-craft {
  background-color: #5C4A1F;
  background-image:
    radial-gradient(rgba(92,74,31,0.08) 1px, transparent 1px),
    var(--hero-img);
  background-size: 4px 4px, cover;
  background-position: 0 0, center;
  background-blend-mode: normal, soft-light;
  padding: 80px 0;
  clip-path: polygon(0 0, 100% 0, 100% 95%, 6% 100%);
  margin-bottom: 40px;
}
.sh-cat-hero--warm-craft::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(92,74,31,0.88) 0%, rgba(92,74,31,0.65) 100%);
}
.sh-cat-hero__craft-inner {
  position: relative;
  z-index: 2;
  color: #FBF7EC;
}
.sh-cat-hero--warm-craft .sh-cat-hero__kicker {
  color: #F5EDD9;
  opacity: 0.75;
}
.sh-cat-hero--warm-craft .sh-cat-hero__headline {
  font-size: clamp(36px, 4.5vw, 64px);
  color: #FBF7EC;
  margin-bottom: 32px;
}
.sh-cat-hero__craft-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.sh-cat-hero__craft-cols p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(251,247,236,0.82);
}

/* ═══════════════════════════════════════════════════════════════════════════
   LAYOUT 5: MOSAIC (Accessories)
   Asymmetric split: text left with colour band, image right.
   ═══════════════════════════════════════════════════════════════════════════ */
.sh-cat-hero--mosaic {
  background: #F9FAFA;
  border-bottom: 1px solid #D5DADC;
}
.sh-cat-hero__mosaic-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  align-items: stretch;
}
.sh-cat-hero__mosaic-text {
  padding: 72px 56px 72px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid #D5DADC;
}
.sh-cat-hero--mosaic .sh-cat-hero__kicker {
  color: #A18544;
}
.sh-cat-hero--mosaic .sh-cat-hero__headline {
  font-size: clamp(32px, 3.5vw, 52px);
  color: #0B1012;
  margin-bottom: 20px;
}
.sh-cat-hero--mosaic .sh-cat-hero__lead {
  color: #485256;
}
.sh-cat-hero--mosaic .sh-cat-hero__body {
  color: #6A7478;
}
.sh-cat-hero__mosaic-img {
  overflow: hidden;
  position: relative;
}
.sh-cat-hero__mosaic-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    rgba(200,179,128,0.12) 0 2px,
    transparent 2px 10px
  );
  z-index: 1;
  pointer-events: none;
}
.sh-cat-hero__mosaic-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9);
}

/* ═══════════════════════════════════════════════════════════════════════════
   LAYOUT 6: DARK-IMMERSIVE (Singing Bowls)
   Deep dark hero, concentric ring SVG motif, centred text.
   ═══════════════════════════════════════════════════════════════════════════ */
.sh-cat-hero--dark-immersive {
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  min-height: 640px;
  display: flex;
  align-items: center;
}
.sh-cat-hero--dark-immersive::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,16,18,0.55) 0%, rgba(10,16,18,0.92) 100%);
}
.sh-cat-hero__dark-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 80px;
  padding-bottom: 80px;
  color: #fff;
}
.sh-cat-hero__rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.sh-cat-hero__rings span {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(200,179,128,0.18);
  animation: sh-ring-pulse 6s ease-in-out infinite;
}
.sh-cat-hero__rings span:nth-child(1) { width: 300px; height: 300px; animation-delay: 0s; }
.sh-cat-hero__rings span:nth-child(2) { width: 520px; height: 520px; animation-delay: 1.5s; }
.sh-cat-hero__rings span:nth-child(3) { width: 740px; height: 740px; animation-delay: 3s; }
@keyframes sh-ring-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.02); }
}
.sh-cat-hero__dark-text {
  position: relative;
}
.sh-cat-hero--dark-immersive .sh-cat-hero__kicker {
  color: #D9C79E;
}
.sh-cat-hero--dark-immersive .sh-cat-hero__headline {
  font-size: clamp(40px, 5vw, 72px);
  color: #fff;
  max-width: 16ch;
  margin: 0 auto 24px;
}
.sh-cat-hero--dark-immersive .sh-cat-hero__lead {
  max-width: 50ch;
  color: rgba(255,255,255,0.75);
  text-align: center;
  margin: 0 auto;
}
.sh-cat-hero--dark-immersive .sh-cat-hero__body {
  color: rgba(255,255,255,0.55);
  max-width: 60ch;
  text-align: center;
  margin: 16px auto 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LAYOUT 7: MINIMAL-CONTEMPLATIVE (Incense)
   White/cream background, image softly faded right side, vertical space.
   ═══════════════════════════════════════════════════════════════════════════ */
.sh-cat-hero--minimal {
  background-color: #FDFCFA;
  background-image: var(--hero-img);
  background-size: 48%;
  background-position: right center;
  background-repeat: no-repeat;
  background-blend-mode: luminosity;
  opacity: 1;
  border-bottom: 1px solid #EEF0F1;
  min-height: 480px;
}
.sh-cat-hero--minimal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #FDFCFA 50%, rgba(253,252,250,0.3) 100%);
}
.sh-cat-hero__minimal-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}
.sh-cat-hero--minimal .sh-cat-hero__kicker {
  color: #A18544;
}
.sh-cat-hero--minimal .sh-cat-hero__headline {
  font-size: clamp(40px, 5vw, 68px);
  color: #0B1012;
  line-height: 1.0;
}
.sh-cat-hero--minimal .sh-cat-hero__lead {
  color: #485256;
  max-width: 46ch;
}
.sh-cat-hero--minimal .sh-cat-hero__body {
  color: #6A7478;
  max-width: 48ch;
}
.sh-cat-hero__minimal-line {
  width: 48px;
  height: 2px;
  background: #C8B380;
  margin-top: 28px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BACKPACKS special layout
   ═══════════════════════════════════════════════════════════════════════════ */
.sh-cat-hero--backpacks {
  background: #0A2E2E;
  min-height: 520px;
  overflow: visible;
}
/* No pseudo overlay needed — solid bg handles contrast */
.sh-cat-hero--backpacks::before { display: none; }

.sh-cat-hero__bp-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
  color: #fff;
}
.sh-cat-hero__bp-text .sh-cat-hero__kicker { color: #2EB5B5; }
.sh-cat-hero__bp-text .sh-cat-hero__headline {
  font-size: clamp(28px, 3.5vw, 52px);
  color: #fff;
  margin-bottom: 20px;
}
.sh-cat-hero__bp-text .sh-cat-hero__lead {
  color: rgba(255,255,255,0.75);
  max-width: 50ch;
}
.sh-cat-hero__bp-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
  padding: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
}
.sh-cat-hero__bp-specs div { display: flex; flex-direction: column; gap: 4px; }
.sh-cat-hero__bp-specs strong {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.sh-cat-hero__bp-specs span {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

/* Right column: product photo — always visible, sits on bg */
.sh-cat-hero__bp-img {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  /* subtle lift off the dark bg */
  box-shadow: 0 32px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.06);
}
.sh-cat-hero__bp-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 900px) {
  .sh-cat-hero__bp-inner { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; padding-bottom: 0; }
  .sh-cat-hero__bp-img { border-radius: 8px 8px 0 0; }
  .sh-cat-hero__bp-img img { height: 280px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   TABS BAR
   ═══════════════════════════════════════════════════════════════════════════ */
.sh-cat-tabs-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #FDFCFA;
  border-bottom: 1px solid #D5DADC;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.sh-cat-tabs-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.sh-cat-tabs-inner::-webkit-scrollbar { display: none; }
.sh-cat-tab {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #6A7478;
  padding: 14px 20px;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: color 150ms, border-color 150ms;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sh-cat-tab:hover {
  color: #0B1012;
  text-decoration: none;
}
.sh-cat-tab.is-active {
  color: #128585;
  border-bottom-color: #128585;
  font-weight: 600;
}
.sh-cat-tab--special {
  color: #A18544;
}
.sh-cat-tab--special:hover {
  color: #806830;
}
.sh-cat-tab--special.is-active {
  color: #A18544;
  border-bottom-color: #A18544;
}
.sh-cat-tab-arrow {
  font-size: 12px;
  opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SUBHEADING (active tab heading)
   ═══════════════════════════════════════════════════════════════════════════ */
.sh-cat-body {
  padding-top: 48px;
  padding-bottom: 80px;
}
.sh-cat-subheading {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #EEF0F1;
}
.sh-cat-subheading .sh-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #A18544;
  display: block;
  margin-bottom: 8px;
}
.sh-cat-subheading-title {
  font-size: 32px;
  font-weight: 600;
  color: #0B1012;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.sh-cat-subheading-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #485256;
  max-width: 68ch;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT GRID
   ═══════════════════════════════════════════════════════════════════════════ */
.sh-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
@media (max-width: 1024px) {
  .sh-cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sh-cat-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* Product card */
.sh-prod-card {
  background: #fff;
  border: 1px solid #EEF0F1;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 150ms, box-shadow 150ms, transform 150ms;
}
.sh-prod-card:hover {
  border-color: #B4BBBE;
  box-shadow: 0 8px 24px rgba(11,16,18,0.08);
  transform: translateY(-2px);
}
.sh-prod-card__img-wrap {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #F4F5F6;
}
.sh-prod-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sh-prod-card:hover .sh-prod-card__img {
  transform: scale(1.04);
}
.sh-prod-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B4BBBE;
}
.sh-prod-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,16,18,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 200ms;
}
.sh-prod-card:hover .sh-prod-card__overlay {
  opacity: 1;
}
.sh-prod-card__overlay span {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.12);
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.3);
}
.sh-prod-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.sh-prod-card__sku {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #8C9599;
  text-transform: uppercase;
}
.sh-prod-card__title {
  font-size: 15px;
  font-weight: 600;
  color: #0B1012;
  line-height: 1.4;
  margin: 0;
}
.sh-prod-card__title a {
  color: inherit;
  text-decoration: none;
}
.sh-prod-card__title a:hover {
  color: #128585;
}
.sh-prod-card__moq {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.sh-prod-card__moq-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #A18544;
  background: #FBF7EC;
  border: 1px solid #ECE0C4;
  border-radius: 2px;
  padding: 2px 6px;
}
.sh-prod-card__moq-val {
  font-size: 13px;
  color: #485256;
}
.sh-prod-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #128585;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 4px;
  text-decoration: none;
  margin-top: auto;
  transition: background 120ms;
}
.sh-prod-card__cta:hover {
  background: #0E6B6B;
  color: #fff;
  text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PAGINATION — Category pages (non-backpacks)
   ═══════════════════════════════════════════════════════════════════════════ */
.sh-cat-pagination {
  display: flex;
  justify-content: center;
  padding: 32px 0 48px;
  margin: 0;
  width: 100%;
}
.sh-cat-pagination ul.page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
}
.sh-cat-pagination li {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sh-cat-pagination li .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  font-family: var(--sh-font-sans, inherit);
  font-size: var(--sh-fs-sm, 14px);
  font-weight: var(--sh-fw-medium, 500);
  color: var(--sh-ink-900, #1E293B) !important;
  border: 1px solid var(--sh-ink-300, #E2E8F0) !important;
  border-radius: var(--sh-r-sm, 6px);
  text-decoration: none !important;
  background: var(--sh-white, #FFFFFF) !important;
  transition: all var(--sh-dur-quick, 150ms) var(--sh-ease, ease-out);
  line-height: 1;
  box-shadow: none !important;
}
.sh-cat-pagination li .page-numbers:hover {
  background: var(--sh-ink-75, #F8FAFC) !important;
  border-color: var(--sh-ink-400, #CBD5E1) !important;
  color: var(--sh-ink-950, #0F172A) !important;
}
.sh-cat-pagination li .current {
  background: var(--sh-teal-700, #0D9488) !important;
  border-color: var(--sh-teal-700, #0D9488) !important;
  color: var(--sh-white, #FFFFFF) !important;
  font-weight: var(--sh-fw-semibold, 600);
  pointer-events: none;
}
.sh-cat-pagination li .dots {
  border: none !important;
  background: transparent !important;
  color: var(--sh-ink-500, #64748B) !important;
  min-width: 24px;
  cursor: default;
}
.sh-cat-pagination a.prev.page-numbers,
.sh-cat-pagination a.next.page-numbers {
  padding: 0 16px !important;
  color: var(--sh-teal-700, #0D9488) !important;
  border-color: var(--sh-ink-300, #E2E8F0) !important;
  background: var(--sh-white, #FFFFFF) !important;
}
.sh-cat-pagination a.prev.page-numbers:hover,
.sh-cat-pagination a.next.page-numbers:hover {
  background: var(--sh-teal-50, #F0FDFA) !important;
  color: var(--sh-teal-800, #115E59) !important;
}

/* ── No products ─────────────────────────────────────────────────────────── */
.sh-no-products {
  padding: 48px 24px;
  text-align: center;
  color: #6A7478;
  font-size: 15px;
  grid-column: 1 / -1;
}
.sh-no-products a {
  color: #128585;
}

/* ── Backpacks tab bar ───────────────────────────────────────────────────── */
.sh-bp-tabs-wrap {
  position: sticky;
  top: 75px; /* sh-nav height */
  z-index: 50;
  background: #FDFCFA;
  border-bottom: 1px solid #E2E8E8;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* When WP admin bar is visible (logged-in), push down further */
.admin-bar .sh-bp-tabs-wrap {
  top: 107px; /* nav 75px + admin bar 32px */
}

.sh-bp-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.sh-bp-tabs::-webkit-scrollbar { display: none; }

.sh-bp-tab {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  font-family: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #4A5E62;
  background: #fff;
  border: 1.5px solid #D5DADC;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  cursor: pointer;
  white-space: nowrap;
}

.sh-bp-tab:hover {
  color: #128585;
  border-color: #9ECFCF;
  background: #F4FBFB;
  text-decoration: none;
}

.sh-bp-tab--active {
  background: #128585;
  border-color: #128585;
  color: #fff;
  font-weight: 600;
}
.sh-bp-tab--active:hover {
  background: #0D6B6B;
  border-color: #0D6B6B;
  color: #fff;
}

/* ── Backpacks section headers ───────────────────────────────────────────── */
.sh-bp-section {
  padding-top: 56px;
  padding-bottom: 24px;
  border-bottom: 1px solid #E8ECED;
}
.sh-bp-section:last-child {
  border-bottom: none;
  padding-bottom: 48px;
}

.sh-bp-section__title-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.sh-bp-section__title {
  font-size: 30px;
  font-weight: 600;
  color: #0B1012;
  letter-spacing: -0.02em;
  margin: 0;
  text-align: center;
}

.sh-bp-section__dimensions {
  font-size: 30px;
  color: #C72E2E;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* ── Size filter capsules ────────────────────────────────────────────────── */
.sh-bp-size-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.sh-bp-size-tab {
  all: unset;
  display: inline-flex;
  align-items: center;
  padding: 12px 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4A5E62;
  background: #fff;
  border: 1.5px solid #D5DADC;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.sh-bp-size-tab:hover {
  color: #128585;
  border-color: #9ECFCF;
  background: #F4FBFB;
}

.sh-bp-size-tab--active {
  background: #0B1012;
  border-color: #0B1012;
  color: #fff;
}
.sh-bp-size-tab--active:hover {
  background: #1E2C2F;
  border-color: #1E2C2F;
  color: #fff;
}

/* ── Per-section JS pagination ───────────────────────────────────────────── */
.sh-bp-pagination {
  margin-top: 32px;
}

.sh-bp-pages {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sh-bp-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  font-family: var(--sh-font-sans, inherit);
  font-size: var(--sh-fs-sm, 14px);
  font-weight: var(--sh-fw-medium, 500);
  color: var(--sh-ink-900, #1E293B);
  border: 1px solid var(--sh-ink-300, #E2E8F0);
  border-radius: var(--sh-r-sm, 6px);
  text-decoration: none !important;
  background: var(--sh-white, #FFFFFF);
  transition: all var(--sh-dur-quick, 150ms) var(--sh-ease, ease-out);
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
}

.sh-bp-page-btn:hover:not(:disabled) {
  background: var(--sh-ink-75, #F8FAFC);
  border-color: var(--sh-ink-400, #CBD5E1);
  color: var(--sh-ink-950, #0F172A);
}

.sh-bp-page-btn--active {
  background: var(--sh-teal-700, #0D9488);
  border-color: var(--sh-teal-700, #0D9488);
  color: var(--sh-white, #FFFFFF);
  font-weight: var(--sh-fw-semibold, 600);
  pointer-events: none;
}

.sh-bp-page-btn--prev,
.sh-bp-page-btn--next {
  color: var(--sh-teal-700, #0D9488);
  border-color: var(--sh-teal-700, #0D9488);
  background: var(--sh-white, #FFFFFF);
}

.sh-bp-page-btn--prev:hover:not(:disabled),
.sh-bp-page-btn--next:hover:not(:disabled) {
  background: #E0F2F2;
  border-color: #128585;
}

.sh-bp-page-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

@media (max-width: 600px) {
  .sh-bp-section__title { font-size: 22px; }
  .sh-bp-section__dimensions { font-size: 22px; }
  .sh-bp-tabs-wrap { top: 0; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE adjustments
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .sh-cat-hero--split {
    grid-template-columns: 1fr;
  }
  .sh-cat-hero__split-imgs {
    height: 320px;
    position: relative;
  }
  .sh-cat-hero__bold-inner,
  .sh-cat-hero__mosaic-inner,
  .sh-cat-hero__minimal-inner {
    grid-template-columns: 1fr;
  }
  .sh-cat-hero__mosaic-img { height: 300px; }
  .sh-cat-hero--full-bleed .sh-cat-hero__inner {
    grid-template-columns: 1fr;
  }
  .sh-cat-hero__meta {
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
  }
  .sh-cat-hero__craft-cols { grid-template-columns: 1fr; gap: 16px; }
  .sh-cat-hero__bp-inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .sh-cat-hero--full-bleed,
  .sh-cat-hero--dark-immersive { min-height: 440px; clip-path: none; }
  .sh-cat-hero--minimal {
    background-image: none;
    background-color: #FDFCFA;
  }
  .sh-cat-hero--minimal::before { display: none; }
  .sh-cat-hero__minimal-inner { grid-template-columns: 1fr; gap: 24px; }
}
