/* Home page (bos-home.php). Mockup: "Blue Ox Home Page Redesign". */
.bos-home { --ink: #0b0f11; --text: #f5f5f5; --soft: #c9d6da; --muted: #8fa3aa; --grey: #4a5a60; --line: #e3e9ea; --photo: #f2f3f5; --cyan: #1db9dc; --cyan-dark: #0d7f97;
  background: #f5f5f5; color: var(--ink); }
.bos-home *, .bos-home *::before, .bos-home *::after { box-sizing: border-box; }
.bos-home a { text-decoration: none; }
.bos-home h1, .bos-home h2 { margin: 0; font-weight: 900; text-transform: uppercase; line-height: 1; }
.bos-home-wrap { max-width: 1360px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.bos-home-kicker { margin: 0 0 10px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan-dark); }
.bos-home-muted { color: var(--grey); font-size: 14px; }
.bos-home-price { font-size: 14px; color: var(--grey); }
.bos-home-price strong, .bos-home-price .amount { color: var(--ink); font-size: 18px; }
.bos-home-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; background: var(--cyan); color: var(--ink) !important; font-weight: 800; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; }
.bos-home-btn:hover { background: #5fd3ec; }
.bos-home-btn.is-outline { background: none; border: 1px solid var(--soft); color: var(--text) !important; }
.bos-home-btn.is-outline:hover { border-color: var(--cyan); }
.bos-home-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bos-home-tag { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); }
.bos-home-tag.is-dark { position: absolute; left: 14px; top: 14px; background: var(--ink); color: var(--text); padding: 5px 9px; }

/* Hero */
.bos-home-hero { background: var(--ink); color: var(--text); overflow: hidden; }
.bos-home-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: end; padding-top: 56px; }
.bos-home-hero-text { padding-bottom: 64px; display: flex; flex-direction: column; gap: 22px; }
.bos-home-hero .bos-home-kicker { color: var(--cyan); margin: 0; }
.bos-home-hero h1 { font-size: clamp(48px, 6vw, 80px); line-height: 0.95; color: var(--text); }
.bos-home-hero h1 span { color: var(--cyan); }
.bos-home-lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--soft); max-width: 520px; }
.bos-home-reassure { margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 13px; color: var(--muted); }
.bos-home-hero-pic { position: relative; align-self: stretch; min-height: 520px; background: radial-gradient(closest-side at 55% 55%, #263840 0%, var(--ink) 100%); }
.bos-home-hero-pic img { position: absolute; inset: 24px 0 0; width: 100%; height: calc(100% - 24px); object-fit: contain; }
.bos-home-hero-card { position: absolute; left: 24px; bottom: 32px; background: #f5f5f5; color: var(--ink); padding: 16px 20px; display: flex; flex-direction: column; gap: 2px; min-width: 220px; }
.bos-home-hero-card:hover { box-shadow: 0 0 0 2px var(--cyan); }
.bos-home-hero-card strong { font-size: 22px; font-weight: 900; text-transform: uppercase; }
.bos-home-hero-card > span:last-child { font-size: 14px; color: var(--grey); }
.bos-home-hero-card .amount { color: var(--ink); font-weight: 800; font-size: 16px; }

/* Category row */
.bos-home-cats { background: #fff; border-bottom: 1px solid var(--line); }
.bos-home-cats-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.bos-home-cats-row a { padding: 22px 16px; border-right: 1px solid #eef2f3; color: var(--ink); display: flex; flex-direction: column; gap: 4px; }
.bos-home-cats-row a:last-child { border-right: 0; }
.bos-home-cats-row a:hover { background: #f2f7f8; }
.bos-home-cats-row strong { font-size: 15px; text-transform: uppercase; font-weight: 800; }
.bos-home-cats-row span { font-size: 13px; color: var(--grey); }
.bos-home-cats-row span strong { font-size: 13px; text-transform: none; font-weight: 700; color: var(--ink); }

/* Sections */
.bos-home-section { padding-top: 72px; padding-bottom: 8px; }
.bos-home-section.is-tight { padding-top: 32px; }
.bos-home-section.is-last { padding-top: 48px; padding-bottom: 96px; }
.bos-home-spacer { height: 72px; }
.bos-home-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.bos-home-head h2 { font-size: clamp(32px, 3.4vw, 44px); }
.bos-home-head > a { font-weight: 700; font-size: 15px; color: var(--cyan-dark); }
.bos-home-head > a:hover { color: var(--cyan); }

/* Sticks */
.bos-home-sticks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.bos-home-card { background: #fff; border: 1px solid var(--line); color: var(--ink); display: flex; flex-direction: column; }
.bos-home-card:hover { border-color: var(--cyan-dark); }
.bos-home-card-img { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--photo); }
.bos-home-card-img img, .bos-home-card-img .bos-shop-ph { width: 100%; height: 100%; object-fit: contain; display: block; }
.bos-home-card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }
.bos-home-name { font-size: 24px; font-weight: 900; text-transform: uppercase; }
.bos-home-name.is-small { font-size: 18px; }
.bos-home-card-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px; margin-top: auto; padding-top: 10px; }
.bos-home-card-foot em { font-style: normal; font-weight: 700; font-size: 14px; color: var(--cyan-dark); }

/* Build + parts */
.bos-home-duo { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; }
.bos-home-build { background: var(--ink); color: var(--text); padding: 40px; display: flex; flex-direction: column; gap: 16px; justify-content: center; align-items: flex-start; }
.bos-home-build .bos-home-kicker { color: var(--cyan); margin: 0; }
.bos-home-build h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; color: var(--text); }
.bos-home-build p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--soft); max-width: 540px; }
.bos-home-parts { background: #fff; border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.bos-home-parts-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bos-home-parts-head h2 { font-size: 22px; }
.bos-home-parts-head a { font-weight: 700; font-size: 14px; color: var(--cyan-dark); }
.bos-home-parts .bos-home-muted { margin: 0; border-top: 1px solid #eef2f3; padding-top: 12px; font-size: 13px; }
.bos-home-row { display: flex; gap: 16px; align-items: center; color: var(--ink); border-top: 1px solid #eef2f3; padding-top: 14px; }
.bos-home-row:hover strong { color: var(--cyan-dark); }
.bos-home-thumb { width: 88px; height: 88px; flex-shrink: 0; background: var(--photo); display: block; overflow: hidden; }
.bos-home-thumb.is-big { width: 150px; height: 150px; }
.bos-home-thumb.is-dark { background: #26333a; }
.bos-home-thumb img, .bos-home-thumb .bos-shop-ph { width: 100%; height: 100%; object-fit: contain; display: block; }
.bos-home-thumb.is-dark img { object-fit: cover; }
.bos-home-row-text { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bos-home-row-text strong { font-size: 16px; }
.bos-home-row-text > span { font-size: 13px; color: var(--grey); }
.bos-home-row-text .bos-home-price { margin-top: 4px; font-size: 14px; }

/* Shoes + tiles */
.bos-home-shoes, .bos-home-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bos-home-shoe, .bos-home-tile { background: #fff; border: 1px solid var(--line); color: var(--ink); display: flex; align-items: center; gap: 16px; padding: 14px; }
.bos-home-shoe:hover, .bos-home-tile:hover { border-color: var(--cyan-dark); }
.bos-home-shoe .bos-home-row-text strong { font-size: 18px; font-weight: 800; }
.bos-home-tile .bos-home-thumb { width: 120px; height: 120px; }
.bos-home-note { margin: 14px 0 0; font-size: 13px; }

/* Dealers */
.bos-home-dealers { background: var(--ink); color: var(--text); padding: 36px 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.bos-home-dealers h2 { font-size: 28px; color: var(--text); }
.bos-home-dealers p { margin: 8px 0 0; font-size: 16px; line-height: 1.6; color: var(--soft); max-width: 720px; }

@media (max-width: 1100px) {
  .bos-home-cats-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bos-home-cats-row a:nth-child(3) { border-right: 0; }
  .bos-home-cats-row a:nth-child(-n+3) { border-bottom: 1px solid #eef2f3; }
  .bos-home-sticks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bos-home-shoes, .bos-home-tiles { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .bos-home-wrap { padding-left: 16px; padding-right: 16px; }
  .bos-home-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 32px; }
  .bos-home-hero-text { padding-bottom: 8px; gap: 16px; }
  .bos-home-lead { font-size: 16px; }
  .bos-home-hero-pic { min-height: 320px; order: 2; margin: 0 -16px; }
  .bos-home-hero-text .bos-home-actions { order: 3; }
  .bos-home-hero-text .bos-home-btn { flex: 1 1 100%; }
  .bos-home-hero-card { left: 16px; bottom: 16px; min-width: 0; }
  .bos-home-reassure { display: none; }
  .bos-home-cats-row { display: flex; overflow-x: auto; gap: 8px; padding-top: 14px; padding-bottom: 14px; }
  .bos-home-cats-row a { flex-shrink: 0; border: 1px solid var(--soft) !important; padding: 11px 14px; min-height: 44px; }
  .bos-home-cats-row a span { display: none; }
  .bos-home-cats-row strong { font-size: 14px; text-transform: none; font-weight: 700; }
  .bos-home-section { padding-top: 40px; }
  .bos-home-sticks { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .bos-home-card { flex-direction: row; }
  .bos-home-card-img { width: 128px; flex-shrink: 0; aspect-ratio: auto; }
  .bos-home-tag.is-dark { display: none; }
  .bos-home-card-body { padding: 12px 14px; }
  .bos-home-name { font-size: 20px; }
  .bos-home-card-foot em { display: none; }
  .bos-home-duo { grid-template-columns: minmax(0, 1fr); }
  .bos-home-build, .bos-home-parts, .bos-home-dealers { padding: 24px; }
  .bos-home-build .bos-home-btn, .bos-home-dealers .bos-home-btn { width: 100%; }
  .bos-home-thumb.is-big, .bos-home-tile .bos-home-thumb { width: 96px; height: 96px; }
  .bos-home-row-text strong, .bos-home-shoe .bos-home-row-text strong { font-size: 15px; }
  .bos-home-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; }
  .bos-home-row .bos-home-thumb { width: 72px; height: 72px; grid-row: span 2; }
  .bos-home-row > .bos-home-price { grid-column: 2; }
  .bos-home-parts-head h2 { font-size: 20px; }
}
