/* Cart drawer: header, scrolling lines, footer pinned to the bottom. */
.tonevel-bag {
  inset: 0 0 0 auto;
  width: min(100%, 29rem);
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}
.tonevel-bag[open] { display: flex; flex-direction: column; }
.tonevel-bag::backdrop { background: #2524276e; }
html:has(.tonevel-bag[open]) { overflow: hidden; }
.tonevel-bag-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.2rem, 4vw, 2rem) clamp(1.2rem, 4vw, 2rem) 1rem;
  border-bottom: 1px solid #e5e2df;
}
.tonevel-bag-head h2 { font-size: 1.75rem; }
.tonevel-bag-close {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  transition: background-color 0.2s;
}
.tonevel-bag-close:hover { background: #eeebea; }
.tonevel-bag-body { flex: 1; min-height: 0; overflow-y: auto; padding-inline: clamp(1.2rem, 4vw, 2rem); }
.tonevel-bag-body { container-type: inline-size; }
.tonevel-bag-line {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  padding-block: 1.25rem;
  border-bottom: 1px solid #e5e2df;
}
.tonevel-bag-line img { width: 64px; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 0.75rem; }
.tonevel-bag-name { font-weight: 600; }
.tonevel-bag-info .text-secondary { margin-top: 0.125rem; font-size: 0.9rem; }
.tonevel-bag-price { font-weight: 600; white-space: nowrap; }
.tonevel-bag-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin-top: 0.75rem; }
.tonevel-bag-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d6d2ce;
  border-radius: 999px;
}
.tonevel-bag-qty button { width: 2.25rem; height: 2.25rem; border-radius: 999px; font-size: 1.125rem; line-height: 1; }
.tonevel-bag-qty button:hover:not([aria-disabled="true"]) { background: #eeebea; }
.tonevel-bag-qty button[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.tonevel-bag-qty span { min-width: 1.75rem; text-align: center; font-variant-numeric: tabular-nums; }
.tonevel-bag-remove { font-size: 0.9rem; text-decoration: underline; text-underline-offset: 0.2em; color: var(--text-color-secondary, #6b6763); }
.tonevel-bag-remove:hover { color: inherit; }
.tonevel-bag-empty { display: grid; justify-items: center; gap: 1rem; padding-block: 3rem; text-align: center; }
.tonevel-bag-empty img { width: 8rem; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 1rem; }
.tonevel-bag-empty p { font-size: 1.125rem; }
.tonevel-bag-foot {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem clamp(1.2rem, 4vw, 2rem) clamp(1.2rem, 4vw, 2rem);
  border-top: 1px solid #e5e2df;
  background: inherit;
}
.tonevel-bag-subtotal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-weight: 700; font-size: 1.125rem; }
.tonevel-bag-note { font-size: 0.9rem; }
.tonevel-bag-error { margin: 0 clamp(1.2rem, 4vw, 2rem) 1rem; padding: 0.75rem 1rem; border-radius: 0.75rem; background: #fbe9e7; color: #8a1c12; font-size: 0.9rem; }
/* Large text: the price column would squeeze the name to one letter, so it moves under the controls. */
@container (max-width: 20em) {
  .tonevel-bag-line { grid-template-columns: 64px minmax(0, 1fr); }
  .tonevel-bag-price { grid-column: 2; }
}
/* Short screens (phone in landscape): a pinned footer would leave no room for a single line, so the whole drawer scrolls. */
@media (max-height: 30rem) {
  .tonevel-bag[open] { overflow-y: auto; }
  .tonevel-bag-body { flex: none; overflow: visible; }
  .tonevel-bag-error { position: sticky; bottom: 0.5rem; z-index: 1; }
}
.tonevel-information { max-width: 55rem; margin-inline: auto; padding-block: clamp(2.5rem, 7vw, 6rem); }
.tonevel-information h1 { font-size: clamp(2.5rem, 8vw, 6rem); line-height: 0.98; margin-bottom: 1.5rem; }
.tonevel-information p, .tonevel-information details { margin-block: 1rem; }
.tonevel-information details { border-bottom: 1px solid #bfb9b5; padding: 0.65rem 0; }
.tonevel-information summary { cursor: pointer; font-weight: 600; }
.tonevel-information .tonevel-story-image { width: 100%; margin-block: 2rem; border-radius: 1rem; }

[data-tonevel-lineup] { background: #292929; }
[data-tonevel-lineup] picture img { object-position: center 43%; }

@media (max-width: 599px) {
  [data-tonevel-lineup] picture {
    position: absolute;
    inset: 13% 0 auto;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    -webkit-mask-image: linear-gradient(transparent, #000 23% 78%, transparent);
    mask-image: linear-gradient(transparent, #000 23% 78%, transparent);
  }
}

.tonevel-product-slide [data-hero-slide]:nth-child(2) { background: #272727; }
.tonevel-product-slide [data-hero-slide]:nth-child(2) img { object-fit: contain; }

.tonevel-nav-lockup {
  justify-self: center;
  align-self: center;
}
.tonevel-nav-lockup svg {
  width: clamp(7.5rem, 11vw, 10rem);
  height: auto;
}

#coloris { scroll-margin-top: 1rem; }
.tonevel-finishes {
  --finish-gutter: 20px;
  --finish-gap: 20px;
  padding-block: 48px 64px;
  border-radius: clamp(1.5rem, 2.5vw, 2rem);
  overflow: clip;
  background:
    radial-gradient(ellipse at 78% 30%, #72778165, transparent 54%),
    linear-gradient(180deg, #101013 0%, #17171a 25%, #45464b 53%, #bfc0c4 74%, #f7f7f8 89%, #fff 100%);
}
.tonevel-finishes-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin: 0 var(--finish-gutter) 32px;
  color: #fff;
}
.tonevel-finishes-header h2 {
  font-family: var(--font-body-family);
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.045em;
}
.tonevel-finishes-link {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  flex: none;
  padding-bottom: 4px;
  color: #fff;
  font-weight: 500;
  font-size: 15px;
}
.tonevel-finishes-link:hover { text-decoration: underline; }
.tonevel-finishes-link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.tonevel-finish-slider { display: block; }
.tonevel-finish-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * var(--finish-gap)) / 4.2);
  gap: var(--finish-gap);
  margin: 0;
  padding: 3px var(--finish-gutter) 9px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--finish-gutter);
  scrollbar-width: none;
  list-style: none;
}
.tonevel-finish-row > li { min-width: 0; scroll-snap-align: start; }
.tonevel-finish-card { display: grid; gap: 4px; color: #17171a; }
.tonevel-finish-card:focus-visible { outline: 2px solid #292c36; outline-offset: 2px; border-radius: 24px; }
.tonevel-finish-image {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  margin-bottom: 8px;
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 28% 18%, var(--finish-light), transparent 69%),
    linear-gradient(155deg, var(--finish-mid), var(--finish-dark));
}
.tonevel-finish-image--plum { --finish-light: #eadde7; --finish-mid: #a890a4; --finish-dark: #715567; }
.tonevel-finish-image--black { --finish-light: #d3d7e0; --finish-mid: #a1a6b3; --finish-dark: #626b78; }
.tonevel-finish-image--white { --finish-light: #fff; --finish-mid: #e0e1e6; --finish-dark: #a5adbc; }
.tonevel-finish-image--blue { --finish-light: #e0e9f6; --finish-mid: #92a5bd; --finish-dark: #566e91; }
.tonevel-finish-image--sand { --finish-light: #f9eee0; --finish-mid: #c3ae9d; --finish-dark: #8b746e; }
.tonevel-finish-image::before {
  content: "";
  position: absolute;
  inset: 63% 18% auto;
  height: 12%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #0a0b1240, transparent 70%);
  opacity: .65;
  filter: blur(8px);
  transform: rotate(-5deg);
  pointer-events: none;
}
.tonevel-finish-image img {
  display: block;
  position: relative;
  width: 80%;
  height: auto;
  filter: drop-shadow(0 9px 10px #10131b30);
  transition: transform .24s ease;
}
.tonevel-finish-card:hover img { transform: translateY(-3px); }
.tonevel-finish-arrow {
  position: absolute;
  display: grid;
  place-items: center;
  inset: auto 16px 16px auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #17171a;
}
.tonevel-finish-name { padding-inline: 4px; font-size: 17px; font-weight: 600; line-height: 1.25; }
.tonevel-finish-price { padding-inline: 4px; color: #46484e; font-size: 14px; }
.tonevel-finish-controls {
  display: flex;
  justify-content: end;
  gap: 8px;
  margin: 12px var(--finish-gutter) 0;
}
.tonevel-finish-controls[hidden] { display: none; }
.tonevel-finish-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid #c3c5ca;
  border-radius: 50%;
  background: #fff;
  color: #17171a;
}
.tonevel-finish-controls button:disabled { opacity: .4; }

@media (min-width: 1024px) {
  .tonevel-finishes { --finish-gap: 16px; --finish-gutter: 32px; }
  .tonevel-finish-row {
    grid-auto-columns: calc((100% - 5 * var(--finish-gap)) / 6);
    justify-content: center;
  }
  .tonevel-finish-controls { display: none; }
}
@media (max-width: 749.98px) {
  .tonevel-finishes { --finish-gap: 16px; padding-block: 40px; }
  .tonevel-finishes-header { align-items: center; }
  .tonevel-finishes-link { font-size: 13px; }
  .tonevel-finish-row { grid-auto-columns: 70%; }
  .tonevel-finish-arrow { width: 48px; height: 48px; inset: auto 14px 14px auto; }
  .tonevel-finish-image { margin-bottom: 12px; }
  .tonevel-finish-name { font-size: 20px; }
  .tonevel-finish-price { font-size: 16px; }
  .tonevel-finish-controls { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tonevel-finish-image img { transition: none; }
}

[data-tonevel-film] { --hp-hero-story-time: 12s; }

.tonevel-sports-film {
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  background: #12141a;
  --sports-gap: clamp(2px, .32vw, 5px);
  --sports-half: calc((100% - var(--sports-gap)) / 2);
  --sports-offset: calc((100% + var(--sports-gap)) / 2);
}
.tonevel-sports-tile {
  position: absolute;
  inset: var(--tile-y, 0) auto auto var(--tile-x, 0);
  overflow: hidden;
  width: var(--tile-width, 100%);
  height: var(--tile-height, 100%);
  opacity: var(--tile-opacity, 1);
  border-radius: var(--tile-radius, 0);
  background: #17181e;
  transition: inset .62s cubic-bezier(.2,.76,.19,1), width .62s cubic-bezier(.2,.76,.19,1),
    height .62s cubic-bezier(.2,.76,.19,1), opacity .4s ease, border-radius .62s ease;
}
.tonevel-sports-tile video, .tonevel-sports-tile picture, .tonevel-sports-tile picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--shot-focus, center);
}
.tonevel-sports-runner { --shot-focus: 64% 33%; }
.tonevel-sports-hyrox { --shot-focus: 54% 45%; --tile-x: 100%; --tile-width: var(--sports-half); --tile-opacity: 0; }
.tonevel-sports-crossfit { --shot-focus: 53% 42%; --tile-y: 100%; --tile-width: var(--sports-half); --tile-height: var(--sports-half); --tile-opacity: 0; }
.tonevel-sports-training {
  --shot-focus: 55% 45%;
  --tile-y: 100%;
  --tile-x: var(--sports-offset);
  --tile-height: var(--sports-half);
  --tile-width: var(--sports-half);
  --tile-opacity: 0;
}
.tonevel-sports-film:is([data-layout="duo"], [data-layout="grid"]) .tonevel-sports-runner {
  --tile-width: var(--sports-half);
  --tile-radius: 9px;
}
.tonevel-sports-film:is([data-layout="duo"], [data-layout="grid"]) .tonevel-sports-hyrox {
  --tile-x: var(--sports-offset);
  --tile-opacity: 1;
  --tile-radius: 9px;
}
.tonevel-sports-film[data-layout="grid"] :is(.tonevel-sports-runner, .tonevel-sports-hyrox) { --tile-height: var(--sports-half); }
.tonevel-sports-film[data-layout="grid"] :is(.tonevel-sports-crossfit, .tonevel-sports-training) {
  --tile-y: var(--sports-offset);
  --tile-opacity: 1;
  --tile-radius: 9px;
}
.tonevel-sports-training video { transition: opacity .22s ease-out; }
.tonevel-sports-film[data-training="strength"] [data-sports-shot="cycling"],
.tonevel-sports-film[data-training="cycling"] [data-sports-shot="strength"] { opacity: 0; }
[data-tonevel-sports-panel] .hp-hero-copy { transition: opacity .32s ease; }
[data-tonevel-sports-panel]:has([data-layout="grid"]) .hp-hero-copy { opacity: 0; pointer-events: none; }

@media (max-width: 599px) {
  .tonevel-sports-runner { --shot-focus: 48% 39%; }
}
@media (prefers-reduced-motion: reduce) {
  .tonevel-sports-tile, .tonevel-sports-training video, [data-tonevel-sports-panel] .hp-hero-copy { transition: none; }
}

@media (max-width: 599px) {
  .tonevel-sports-film[data-layout="grid"] .tonevel-sports-runner { --shot-focus: 50% 39%; }
  .tonevel-sports-film[data-layout="grid"] .tonevel-sports-hyrox { --shot-focus: 62% 45%; }
}

/* The theme expects a cut-out product render that overflows the pill; our renders are full photos, so keep them inside. */
.btn-product-media {
  top: 0;
  clip-path: inset(0 round calc(var(--spacing) * 8) 0 0 calc(var(--spacing) * 8));
  transform-origin: center;
}
.btn-product-media > img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.btn-product:has(.btn-product-media) {
  padding-inline-start: calc(var(--lead) + calc(var(--spacing) * 4));
}

/* Navigation: information blocks added to the theme's mega menu and mobile drawer. */
.nav-view.tonevel-nav-colors { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tonevel-nav-colors .nav-card-media img { object-position: center 60%; }
.tonevel-nav-cta { display: inline-flex; align-items: center; gap: 0.5rem; align-self: start; font-weight: 600; text-decoration: underline; text-underline-offset: 0.25em; }
.tonevel-nav-more { grid-column: 1 / -1; justify-self: start; }
.tonevel-nav-answer { padding-block-start: 1rem; border-block-start: 1px solid color-mix(in srgb, currentColor 20%, transparent); }
.tonevel-nav-finish { display: inline-flex; align-items: center; gap: 0.875rem; }
.tonevel-nav-dot { width: 1.25rem; height: 1.25rem; flex: none; border-radius: 999px; background: var(--tonevel-dot); outline: 1px solid color-mix(in srgb, currentColor 35%, transparent); }
/* The theme's popup tile renders above its box: give it room under the drawer tabs. */
.nav-dview > .nav-rise:first-child:has(.nav-product), .nav-view > .nav-rise:first-child:has(.nav-product) { margin-top: 1.5rem; }
.tonevel-nav-answer h3 { font-weight: inherit; }
.tonevel-help-steps { display: grid; gap: 0.5rem; padding-inline-start: 1.25rem; list-style: decimal; }
/* Four drawer tabs: keep each label on one line and wrap the row instead of overflowing (narrow phones, large text). */
.nav-dhead-tabs { flex-wrap: wrap; row-gap: 0.5rem; column-gap: 1rem; }
.nav-tab { white-space: nowrap; }
.tonevel-nav-colors .tonevel-nav-more { margin-top: 1.5rem; }
/* Very large browser text on a phone: nowrap buttons would widen the whole page. */
@media (max-width: 16rem) {
  .btn { max-width: 100%; height: auto; min-height: 3rem; padding-block: 0.4em; white-space: normal; text-align: center; }
}
