:root {
  --black: #111214;
  --ink: #202126;
  --red: #ce1f28;
  --paper: #f7f6f3;
  --line: #dededb;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}

.service-bar {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 32px;
  padding: 0 5vw;
  color: rgba(255, 255, 255, .68);
  background: #08090a;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  font-size: 11px;
  letter-spacing: .03em;
}

.service-bar span {
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.service-bar a { color: inherit; text-decoration: none; }

.site-header {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 0 5vw;
  background: var(--black);
  border-bottom: 3px solid var(--red);
}

.wordmark { flex: 0 0 auto; padding: 2px 26px 2px 0; }
.wordmark img { display: block; width: 286px; height: auto; }
footer img { display: block; width: 198px; height: auto; }

nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 52px); }

nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.catalog-menu { position: relative; display: flex; align-items: center; }
.catalog-menu summary {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  list-style: none;
}
.catalog-menu summary::-webkit-details-marker { display: none; }
.catalog-menu-panel {
  position: absolute;
  z-index: 5;
  top: calc(100% + 27px);
  right: -20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 1px;
  width: 650px;
  padding: 1px;
  background: #3c3d41;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .28);
  transform-origin: top right;
}
.catalog-menu[open] .catalog-menu-panel { animation: menu-in 170ms cubic-bezier(.2, .75, .25, 1) both; }
.catalog-menu-panel a {
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 16px 18px;
  background: #18191c;
  font-size: 13px;
  line-height: 1.15;
}
.catalog-menu-panel a:hover { color: #fff; background: var(--red); }

nav .contact-action {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,.52);
}

nav .cart-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

nav .cart-action span {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: var(--black);
  background: #fff;
  border-radius: 50%;
  font-size: 11px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
}

h1, h2, p { margin-top: 0; }

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 4.8vw, 72px);
  line-height: .99;
  letter-spacing: -.055em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 3vw, 48px);
  letter-spacing: -.035em;
}

.button {
  display: inline-flex;
  padding: 15px 22px;
  color: #fff;
  background: var(--red);
  font-weight: 700;
  text-decoration: none;
}

.equipment { padding: 70px 6vw 86px; background: #fff; }
.section-heading { max-width: 780px; padding: 0 0 30px; }
.section-heading h1 { margin-bottom: 16px; font-size: clamp(40px, 4.6vw, 68px); }
.section-heading > p:last-child { max-width: 560px; margin: 0; color: #5c5d61; font-size: 17px; line-height: 1.45; }

.category-index {
  display: flex;
  gap: 0;
  overflow-x: auto;
  margin: 0 -6vw 44px;
  padding: 0 6vw 14px;
  scroll-snap-type: x mandatory;
  border-bottom: 1px solid var(--line);
  scrollbar-color: #555 #e9e9e9;
  scrollbar-width: thin;
}

.category-index a {
  flex: 0 0 auto;
  padding: 0 20px 14px;
  color: var(--ink);
  scroll-snap-align: start;
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
}

.category-index a:first-child { padding-left: 0; }
.category-index a:hover { color: var(--red); }

.category-tree {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.category {
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  scroll-margin-top: 24px;
}

.category-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 205px;
  padding: 18px 26px 0;
  background: #fafafa;
}

.category-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s ease; }
.category:hover .category-image img { transform: scale(1.035); }

.category-content { padding: 20px 26px 28px; }
.category-number { margin: 0 0 6px; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.category h2 { margin: 0 0 16px; font-size: 24px; line-height: 1; letter-spacing: -.04em; }
.category h2 a { color: inherit; text-decoration: none; }
.category h2 a:hover { color: var(--red); }
.category:hover h2 a { color: var(--red); }
.category ul { margin: 0; padding: 0; list-style: none; }
.category li + li { margin-top: 8px; }
.category li a { color: #55575b; font-size: 14px; line-height: 1.25; text-decoration: none; }
.category li a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

.adventure-break {
  position: relative;
  min-height: 640px;
  margin: 62px 0 0;
  overflow: hidden;
  background: #151719;
}

.adventure-lead { margin: 0; }

.adventure-break::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .2) 47%, rgba(0, 0, 0, .03) 100%);
}

.adventure-break img { display: block; width: 100%; height: 640px; object-fit: cover; object-position: center 90%; }

.adventure-break figcaption {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: clamp(28px, 5vw, 88px);
  display: grid;
  gap: 11px;
  color: #fff;
  transform: translateY(-50%);
}

.adventure-break figcaption span { color: #f0444c; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.adventure-break figcaption strong { max-width: 430px; font-size: clamp(34px, 4vw, 60px); line-height: .96; letter-spacing: -.045em; }

.site-header > nav > a:not(.contact-action),
.category-index a {
  position: relative;
}

.site-header > nav > a:not(.contact-action)::after,
.category-index a::after {
  position: absolute;
  right: 20px;
  bottom: 4px;
  left: 20px;
  height: 2px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-header > nav > a:not(.contact-action)::after { right: 0; bottom: -8px; left: 0; }
.site-header > nav > a:not(.contact-action):hover::after,
.category-index a:hover::after { transform: scaleX(1); }

.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 340ms ease-out, transform 340ms cubic-bezier(.2, .7, .25, 1);
}

.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.js .category:nth-child(2) { transition-delay: 40ms; }
.js .category:nth-child(3) { transition-delay: 80ms; }
.js .category:nth-child(4) { transition-delay: 30ms; }
.js .category:nth-child(5) { transition-delay: 70ms; }
.js .category:nth-child(6) { transition-delay: 110ms; }
.js .category:nth-child(7) { transition-delay: 30ms; }
.js .category:nth-child(8) { transition-delay: 70ms; }
.js .category:nth-child(9) { transition-delay: 110ms; }

.category-takeover {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  background: rgba(8, 9, 11, .56);
  backdrop-filter: blur(3px) saturate(.8);
  opacity: 0;
  pointer-events: none;
  transition: background 300ms ease;
}

.category-takeover-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: min(980px, 82vw);
  min-height: min(500px, 62vh);
  overflow: hidden;
  background: #101114;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .48);
  opacity: 0;
  transform: scale(.9) translateY(16px);
}

.category-takeover-stage::before {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: calc(50% - 1px);
  width: 2px;
  content: "";
  background: var(--red);
  transform: scaleY(0);
  transform-origin: center;
}

.category-takeover-copy,
.category-takeover-product { position: relative; z-index: 1; }

.category-takeover-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 7vw, 120px);
  opacity: 0;
  transform: translateY(14px);
}

.category-takeover-copy span { color: #f0444c; font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.category-takeover-copy strong { max-width: 470px; margin-top: 14px; font-size: clamp(32px, 4.5vw, 72px); line-height: .95; letter-spacing: -.055em; }

.category-takeover-product {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(30px, 7vw, 120px);
}

.category-takeover-product img {
  max-width: 100%;
  max-height: 64vh;
  object-fit: contain;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, .55));
  opacity: 0;
  transform: translateX(60px) scale(.8);
}

.category-takeover.is-active { opacity: 1; }
.category-takeover.is-active .category-takeover-stage { animation: takeover-stage 740ms cubic-bezier(.2, .76, .2, 1) both; }
.category-takeover.is-active .category-takeover-stage::before { animation: takeover-line 660ms 200ms cubic-bezier(.2, .7, .15, 1) both; }
.category-takeover.is-active .category-takeover-copy { animation: takeover-copy 600ms 200ms ease-out both; }
.category-takeover.is-active .category-takeover-product img { animation: takeover-product 840ms 60ms cubic-bezier(.16, .78, .25, 1) both; }
.category-takeover.is-leaving { background: rgba(8, 9, 11, .92); }
.category-takeover.is-leaving .category-takeover-stage { animation: takeover-exit 300ms ease-in both; }

html.category-arrival,
html.category-arrival body { background: #101114; }

html.category-arrival .service-bar,
html.category-arrival .site-header,
html.category-arrival .catalog-page {
  opacity: 0;
  animation: category-arrival 560ms 90ms cubic-bezier(.2, .76, .2, 1) forwards;
}

html.category-arrival .catalog-page { animation-delay: 150ms; }

.brands { padding: 72px 6vw 80px; background: #f4f3f0; }
.brands h2 { margin-bottom: 46px; }

.brand-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brand-cell {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  border-right: 1px solid var(--line);
}

.brand-cell:nth-child(5n) { border-right: 0; }
.brand-cell:nth-child(n + 6) { border-top: 1px solid var(--line); }

.brand-cell img {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 10px 12px;
  object-fit: contain;
}

.brand-cell .logo-ome,
.brand-cell .logo-warn,
.brand-cell .logo-rough-country {
  object-fit: contain;
  object-position: center;
}

.brand-cell .logo-ome { padding: 10px 8px; background: transparent; }

.brand-cell .logo-backspace {
  width: min(84%, 184px);
  height: 52px;
  max-width: calc(100% - 24px);
  padding: 0;
  background: #000;
  object-fit: contain;
  transform: none;
}

.brand-cell .logo-rival { padding: 17px 19px; transform: scale(1.08); }

.brand-cell .logo-rough-country {
  padding: 10px 12px;
  background: transparent;
  transform: scale(.76);
}

.brand-cell .logo-warn { padding: 10px 24px; }

.brand-cell .logo-strike { padding: 10px 12px; }

/* OME is the visual-height reference. These assets have different native
   canvases, so their visual scale is set explicitly from that reference. */
.brand-cell .logo-hi-lift {
  transform: scale(0.83);
  transform-origin: center;
}

.brand-cell .logo-strike {
  transform: scale(1.38);
  transform-origin: center;
}

footer {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 34px;
  padding: 56px 6vw;
  color: #fff;
  background: var(--black);
}

footer p { margin: 0; opacity: .72; }
.footer-brand img { margin-bottom: 18px; }
.footer-brand p { max-width: 245px; font-size: 14px; line-height: 1.45; }
.footer-label { margin-bottom: 12px; color: #f0444c; font-size: 11px; font-weight: 800; letter-spacing: .12em; opacity: 1; }
.footer-branch p:not(.footer-label) { margin-bottom: 10px; font-size: 14px; line-height: 1.45; }
footer a { display: block; color: #fff; font-size: 14px; text-decoration: none; }
footer a:hover { color: #f0444c; }
.whatsapp-link { display: inline-flex; width: fit-content; gap: 7px; margin-top: 12px; color: #fff; font-size: 12px; font-weight: 700; }
.whatsapp-link span { color: #f0444c; }
.footer-action { display: inline-flex; width: fit-content; gap: 12px; margin-top: 22px; padding-bottom: 7px; border-bottom: 2px solid var(--red); font-weight: 700; }

.catalog-page { min-height: calc(100vh - 116px); padding: 54px 6vw 88px; background: #fff; }
.breadcrumbs { display: flex; gap: 8px; margin-bottom: 44px; color: #6e7075; font-size: 13px; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { color: var(--red); }
.catalog-heading { max-width: 760px; margin-bottom: 52px; }
.catalog-heading h1 { margin-bottom: 16px; }
.catalog-heading p:last-child { max-width: 590px; margin-bottom: 0; color: #5c5d61; font-size: 17px; line-height: 1.45; }
.catalog-layout { display: grid; grid-template-columns: minmax(220px, .28fr) 1fr; gap: 54px; border-top: 1px solid var(--line); padding-top: 26px; }
.catalog-side > p, .catalog-results > p { margin: 0 0 14px; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.catalog-side nav { display: grid; gap: 0; }
.catalog-side a { padding: 12px 0; color: var(--ink); border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700; text-decoration: none; }
.catalog-side a:hover, .catalog-side a.is-active { color: var(--red); }
.family-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.family-grid a { min-height: 104px; padding: 22px; color: var(--ink); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 19px; font-weight: 800; letter-spacing: -.03em; text-decoration: none; }
.family-grid a:hover, .family-grid a.is-active { color: #fff; background: var(--black); }
.catalog-note { margin-top: 34px; padding: 20px 0 0; color: #5c5d61; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.45; }
.product-results { margin-top: 42px; }
.product-count { margin: 0 0 16px; color: var(--ink); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card { display: block; overflow: hidden; color: inherit; border: 1px solid var(--line); background: #fff; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(17, 18, 20, .1); }
.product-image { display: grid; min-height: 230px; place-items: center; padding: 18px; background: #f8f8f6; }
.product-image img { width: 100%; height: 194px; object-fit: contain; mix-blend-mode: multiply; }
.product-card-content { padding: 20px; }
.product-brand { margin: 0 0 8px; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.product-card h2 { margin: 0 0 8px; font-size: 19px; line-height: 1.06; letter-spacing: -.035em; }
.product-application { margin: 0 0 13px; color: #64666c; font-size: 12px; font-weight: 700; }
.product-description { display: -webkit-box; overflow: hidden; margin: 0 0 18px; color: #51535a; font-size: 13px; line-height: 1.42; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.product-price { margin: 0; color: var(--ink); font-size: 18px; font-weight: 800; }
.catalog-empty { grid-column: 1 / -1; margin: 0; padding: 24px; border: 1px solid var(--line); color: #64666c; }
.product-page { min-height: calc(100vh - 116px); padding: 54px 6vw 88px; background: #fff; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: clamp(40px, 7vw, 110px); max-width: 1220px; margin: 0 auto; }
.product-detail-image { display: grid; min-height: 530px; place-items: center; padding: 38px; background: #f8f8f6; }
.product-detail-image img { width: 100%; height: 450px; object-fit: contain; mix-blend-mode: multiply; }
.product-detail-content { align-self: center; }
.product-detail-content h1 { margin-bottom: 18px; font-size: clamp(36px, 4vw, 58px); }
.product-detail-application { margin: 0 0 28px; color: #64666c; font-size: 15px; font-weight: 700; }
.product-detail-price { margin: 0 0 8px; font-size: 31px; font-weight: 800; letter-spacing: -.04em; }
.product-detail-stock { margin: 0 0 24px; color: #526555; font-size: 13px; font-weight: 800; }
.product-whatsapp { display: inline-flex; gap: 12px; padding: 15px 19px; color: #fff; background: var(--black); font-size: 14px; font-weight: 800; text-decoration: none; }
.product-whatsapp:hover { background: var(--red); }
.product-sku { margin: 24px 0 0; color: #77797e; font-size: 12px; }
.product-description-full { max-width: 780px; margin: 68px auto 0; padding-top: 34px; border-top: 1px solid var(--line); }
.product-description-full h2 { margin-bottom: 18px; font-size: 27px; }
.product-description-full p { margin: 0; color: #4d5056; font-size: 16px; line-height: 1.6; }
.product-not-found { max-width: 580px; margin: 70px auto; }
.product-not-found a { color: var(--ink); font-weight: 800; }

@media (max-width: 800px) {
  .service-bar { display: none; }
  .site-header { flex-wrap: wrap; padding: 17px 6vw; }
  .wordmark { padding-right: 0; }
  .wordmark img { width: 224px; }
  nav { width: 100%; justify-content: space-between; gap: 12px; overflow-x: auto; }
  nav a { white-space: nowrap; }
  .catalog-menu { width: auto; }
  .catalog-menu-panel { right: auto; left: 0; grid-template-columns: 1fr; width: min(330px, 88vw); }
  .equipment { padding: 50px 6vw 60px; }
  .category-index { margin-bottom: 28px; }
  .category-tree { grid-template-columns: 1fr; }
  .adventure-break { min-height: 390px; margin-top: 42px; }
  .adventure-lead { margin-top: 0; }
  .adventure-break img { height: 390px; object-position: 66% 82%; }
  .brand-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-cell:nth-child(5n) { border-right: 1px solid var(--line); }
  .brand-cell:nth-child(3n) { border-right: 0; }
  .brand-cell:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .brand-cell { height: 74px; }
  .brand-cell img { padding: 7px 9px; }
  .brand-cell .logo-backspace { width: min(84%, 152px); height: 40px; }
  .brand-cell .logo-rival { padding: 14px 17px; transform: scale(1.04); }
  .brand-cell .logo-rough-country { padding: 7px 9px; transform: scale(.76); }
  .brand-cell .logo-warn { padding: 7px 18px; }
  .brand-cell .logo-ome { padding: 6px 10px; }
  .brand-cell .logo-strike { padding: 7px 9px; transform: scale(1.24); }
  .brand-cell .logo-hi-lift { transform: scale(0.83); }
  footer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 26px; padding: 48px 6vw; }
  .footer-brand { grid-column: 1 / -1; }
  .catalog-page { padding: 36px 6vw 56px; }
  .catalog-layout { grid-template-columns: 1fr; gap: 38px; }
  .family-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-page { padding: 36px 6vw 56px; }
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
  .product-detail-image { min-height: 360px; padding: 26px; }
  .product-detail-image img { height: 300px; }
  .category-takeover-stage { grid-template-columns: 1fr; width: min(390px, 88vw); min-height: min(600px, 72vh); }
  .category-takeover-stage::before { top: auto; right: 0; bottom: 42%; left: 0; width: auto; height: 2px; transform: scaleX(0); }
  .category-takeover-copy { position: absolute; inset: auto 0 0; z-index: 2; padding: 34px 8vw 42px; }
  .category-takeover-product { padding: 40px 12vw 156px; }
  .category-takeover-product img { max-height: 48vh; }
}

@keyframes menu-in {
  from { opacity: 0; transform: translateY(-7px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes takeover-stage { from { opacity: 0; transform: scale(.9) translateY(16px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes takeover-line { from { transform: scaleY(0); } to { transform: scaleY(1); } }

@keyframes takeover-copy {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes takeover-product {
  from { opacity: 0; transform: translateX(60px) scale(.8); }
  to { opacity: 1; transform: translateX(0) scale(1.12); }
}

@keyframes takeover-exit { to { opacity: 0; transform: scale(1.035) translateY(-8px); } }
@keyframes category-arrival { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 800px) {
  .category-takeover.is-active .category-takeover-stage::before { animation-name: takeover-line-horizontal; }
}

@keyframes takeover-line-horizontal { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
