/* Layout "sport" (HyperNu): brand pieces and motion, skill brand-motion (2026-11-08). The look of the layout (header,
   buttons, cards, footer) is in style.css; this file adds the pieces that explain things and the movement, each with a
   verb taken from the brand (content/hypernu.com/direccion-de-arte.md, "Movimiento"):
     stripe RUNS · neon SWITCHES ON · photos of people GLITCH in · the label IS READ (jar rises, call-outs, numbers
     count) · the commission TRAVELS · figures COUNT like a scoreboard · levels are LIFTED · steps SPRINT · isotype
     REVEALS · buttons FLASH.
   Rules: only transform, opacity, clip-path; nothing on screen at load starts hidden; the hidden state exists only
   when sport.js has put body.bb-sport-motion and .bb-wait on an element; reduced motion = everything still. */

/* ---------- Pieces (always, with or without motion) ---------- */

/* Label reading: jar in the middle, two figures on each side with a call-out line toward the jar. */
.bb-spec { display: grid; grid-template-columns: 1fr minmax(220px, 340px) 1fr; align-items: center; gap: 1.5rem 2rem; margin: 2.2rem 0 2.6rem; }
.bb-spec-jar { margin: 0; position: relative; }
.bb-spec-jar img { display: block; width: 100%; height: auto; mix-blend-mode: lighten; }
.bb-spec-jar::before { content: ""; position: absolute; inset: 8% 4% 2%; z-index: -1; border-radius: 50%;
	background: radial-gradient(closest-side, color-mix(in srgb, var(--wp--preset--color--primary) 38%, transparent), transparent); }
.bb-spec-side { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.2rem; }
.bb-spec-side li { position: relative; display: flex; flex-direction: column; }
.bb-spec-left li { align-items: flex-end; text-align: right; padding-right: 3.2rem; }
.bb-spec-right li { align-items: flex-start; text-align: left; padding-left: 3.2rem; }
.bb-spec-side li::after { content: ""; position: absolute; top: 1.35rem; width: 2.6rem; height: 3px; background: var(--wp--preset--color--primary); }
.bb-spec-left li::after { right: 0; transform-origin: right; }
.bb-spec-right li::after { left: 0; transform-origin: left; }
.bb-spec-n { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; font-weight: 800; font-style: italic; color: #fff; font-variant-numeric: tabular-nums; }
.bb-spec-l { margin-top: .35rem; font-size: .82rem; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .06em; color: var(--wp--preset--color--glow); }
.bb-spec-note { grid-column: 1 / -1; margin: 0; text-align: center; font-size: .85rem; color: #c9c9cf; }
.bb-spec-band .bb-pillars { margin-top: .5rem; }
@media (max-width: 781px) {
	.bb-spec { grid-template-columns: 1fr 1fr; gap: 1.2rem 1rem; }
	.bb-spec-jar { grid-column: 1 / -1; grid-row: 1; width: 72%; margin: 0 auto; }
	.bb-spec-left li, .bb-spec-right li { align-items: flex-start; text-align: left; padding: 0 0 0 .9rem; }
	.bb-spec-left li::after, .bb-spec-right li::after { left: 0; right: auto; top: .2rem; width: 3px; height: 2.4rem; transform-origin: top; }
	.bb-spec-side { gap: 1.2rem; }
}

/* How the commission travels: three hexagon stations on a red track, a dot runs along it. */
.bb-flow { position: relative; margin: 2rem 0 .5rem; }
.bb-flow ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; position: relative; }
.bb-flow ol::before { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: 2.1rem; height: 3px; background: color-mix(in srgb, var(--wp--preset--color--primary) 30%, transparent); }
.bb-flow li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; }
.bb-flow-hex { position: relative; z-index: 1; display: grid; place-items: center; width: 4.4rem; height: 4.2rem; margin-bottom: .6rem; color: #fff; font-weight: 800; font-style: italic; font-size: 1.25rem;
	background: var(--wp--preset--color--night); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); font-variant-numeric: tabular-nums; }
.bb-flow li:last-child .bb-flow-hex { background: var(--wp--preset--color--primary); font-size: 1.05rem; }
.bb-flow li strong { font-style: italic; text-transform: uppercase; font-size: 1.05rem; }
.bb-flow li span:last-child { font-size: .92rem; color: var(--wp--preset--color--muted); max-width: 22ch; }
.bb-flow-run { position: absolute; left: 16.6%; right: 16.6%; top: 2.1rem; height: 0; pointer-events: none; display: block; }
.bb-flow-run i { position: absolute; left: -7px; top: -6px; width: 15px; height: 15px; border-radius: 999px; background: var(--wp--preset--color--primary);
	box-shadow: 0 0 0 5px color-mix(in srgb, var(--wp--preset--color--primary) 22%, transparent); opacity: 0; }
@media (max-width: 781px) {
	.bb-flow ol { grid-template-columns: 1fr; gap: 1.4rem; }
	.bb-flow ol::before { left: 2.2rem; right: auto; top: 2.1rem; bottom: 2.1rem; width: 3px; height: auto; }
	.bb-flow li { flex-direction: row; flex-wrap: wrap; align-items: center; text-align: left; column-gap: 1rem; padding-left: 0; }
	.bb-flow li strong { flex: 1 1 auto; }
	.bb-flow li span:last-child { flex-basis: 100%; padding-left: 5.4rem; margin-top: -.6rem; max-width: none; }
	.bb-flow-hex { margin: 0; }
	.bb-flow-run { left: 2.2rem; right: auto; top: 2.1rem; bottom: 2.1rem; width: 0; height: auto; }
}

/* Levels get a bar filled up to their level (Nivel 1 half, 2 three quarters, 3 full). */
.bb-levels .bb-card-box { position: relative; }
.bb-levels .bb-card-box::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--wp--preset--color--primary); transform-origin: left; transform: scaleX(var(--bb-lvl, 1)); }
.bb-levels > .wp-block-column:nth-child(1) .bb-card-box { --bb-lvl: .5; }
.bb-levels > .wp-block-column:nth-child(2) .bb-card-box { --bb-lvl: .75; }
.bb-levels > .wp-block-column:nth-child(3) .bb-card-box { --bb-lvl: 1; }
.bb-stat, .bb-spec-n, .bb-flow-hex { font-variant-numeric: tabular-nums; }

/* Pages never get wider while something waits off to the side (the hidden states move things). */
.wp-site-blocks { overflow-x: clip; }

/* ---------- Motion ---------- */
@keyframes bb-sp-settle { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes bb-sp-run { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes bb-sp-run-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes bb-sp-neon { 0% { opacity: 0; } 8% { opacity: 1; } 12% { opacity: .2; } 20% { opacity: 1; } 24% { opacity: .4; } 34%, 100% { opacity: 1; } }
@keyframes bb-sp-hum { 0%, 100% { opacity: .12; } 50% { opacity: .22; } }
@keyframes bb-sp-glitch {
	0% { clip-path: inset(46% 0 46% 0); transform: translateX(-14px); }
	14% { clip-path: inset(12% 0 64% 0); transform: translateX(12px); }
	28% { clip-path: inset(58% 0 8% 0); transform: translateX(-8px); }
	42% { clip-path: inset(26% 0 30% 0); transform: translateX(6px); }
	56% { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%); transform: translateX(-3px); }
	100% { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%); transform: none; } }
@keyframes bb-sp-land { 0% { transform: translateY(-18px) scale(.6); } 60% { transform: translateY(2px) scale(1.06); } 100% { transform: none; } }
@keyframes bb-sp-slam { 0% { transform: skewX(-10deg) scale(.4) rotate(-20deg); } 70% { transform: skewX(-10deg) scale(1.12) rotate(3deg); } 100% { transform: skewX(-10deg); } }
@keyframes bb-sp-rise { from { transform: translateY(40px) scale(.96); } to { transform: none; } }
@keyframes bb-sp-travel { 0% { transform: translateX(0); opacity: 0; } 6% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(var(--bb-run, 0px)); opacity: 0; } }
@keyframes bb-sp-travel-y { 0% { transform: translateY(0); opacity: 0; } 6% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(var(--bb-run, 0px)); opacity: 0; } }
@keyframes bb-sp-station { 0%, 100% { transform: none; } 50% { transform: scale(1.12); } }
@keyframes bb-sp-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes bb-sp-flash { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(260%) skewX(-20deg); } }
@keyframes bb-sp-row { from { transform: translateX(-24px); } to { transform: none; } }

@media (prefers-reduced-motion: no-preference) {
	/* On load (visible from the first frame, no LCP cost): the banner photo settles, the header stripe runs. */
	.bb-layout-sport .bb-banner > .wp-block-cover__image-background { animation: bb-sp-settle 1.6s cubic-bezier(.16, 1, .3, 1) both; }
	.bb-layout-sport .bb-header::after { transform-origin: left; animation: bb-sp-run .9s cubic-bezier(.16, 1, .3, 1) .15s both; }

	/* Stripe under each section title RUNS; the "//" of the eyebrows cuts in. */
	.bb-sport-motion .bb-section-title.bb-wait::after { transform: skewX(-24deg) scaleX(0); }
	.bb-sport-motion .bb-section-title.is-in::after { transform-origin: left; animation: bb-sp-run .7s cubic-bezier(.34, 1.56, .64, 1) both; }
	.bb-sport-motion .bb-eyebrow.bb-wait::before { display: inline-block; transform: translateX(-12px) skewX(-20deg); }
	.bb-sport-motion .bb-eyebrow.is-in::before { display: inline-block; transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); transform: none; }

	/* Photos of people GLITCH in (the figure is watched; the image is the one cut in slices). */
	.bb-sport-motion figure.bb-glitch.bb-wait img { clip-path: inset(50% 0 50% 0); }
	.bb-sport-motion figure.bb-glitch.is-in img { animation: bb-sp-glitch .75s steps(1, end) both; }

	/* Label reading: the jar rises onto its glow, the neon behind switches on, call-outs run, numbers count (JS). */
	.bb-sport-motion .bb-spec.bb-wait .bb-spec-jar img { transform: translateY(40px) scale(.96); }
	.bb-sport-motion .bb-spec.bb-wait .bb-spec-jar::before { opacity: 0; }
	.bb-sport-motion .bb-spec.bb-wait .bb-spec-side li::after { transform: scaleX(0); }
	.bb-sport-motion .bb-spec.is-in .bb-spec-jar img { animation: bb-sp-rise .9s cubic-bezier(.34, 1.56, .64, 1) both; }
	.bb-sport-motion .bb-spec.is-in .bb-spec-jar::before { animation: bb-sp-neon 1.1s linear .3s both; }
	.bb-sport-motion .bb-spec.is-in .bb-spec-side li::after { animation: bb-sp-run .55s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.6s + var(--i, 0) * .12s); }
	.bb-sport-motion .bb-spec-side li:nth-child(2) { --i: 1; }
	.bb-sport-motion .bb-spec-right li:nth-child(1) { --i: 2; }
	.bb-sport-motion .bb-spec-right li:nth-child(2) { --i: 3; }

	/* The commission TRAVELS: the dot runs the track again and again (the only loop on this screen); each station
	   pulses when the dot passes it. The run length is measured by sport.js (--bb-run). */
	.bb-sport-motion .bb-flow.is-in .bb-flow-run i { animation: bb-sp-travel 3.6s cubic-bezier(.65, 0, .35, 1) .3s infinite; }
	.bb-sport-motion .bb-flow.is-in li .bb-flow-hex { animation: bb-sp-station 3.6s ease-in-out infinite; }
	.bb-sport-motion .bb-flow.is-in li:nth-child(1) .bb-flow-hex { animation-delay: .2s; }
	.bb-sport-motion .bb-flow.is-in li:nth-child(2) .bb-flow-hex { animation-delay: 1.9s; }
	.bb-sport-motion .bb-flow.is-in li:nth-child(3) .bb-flow-hex { animation-delay: 3.5s; }
	.bb-sport-motion .bb-flow.bb-wait ol::before { transform: scaleX(0); }
	.bb-sport-motion .bb-flow.is-in ol::before { transform-origin: left; animation: bb-sp-run .8s cubic-bezier(.16, 1, .3, 1) both; }

	/* Scoreboard: figures count (JS); the card lands. Levels are LIFTED: the card comes up, the bar fills to its level. */
	.bb-sport-motion .bb-stats.bb-wait .bb-card-box, .bb-sport-motion .bb-levels.bb-wait .bb-card-box { transform: translateY(26px); }
	.bb-sport-motion .bb-stats.is-in .bb-card-box, .bb-sport-motion .bb-levels.is-in .bb-card-box { transition: transform .7s cubic-bezier(.34, 1.56, .64, 1); transform: none; }
	.bb-sport-motion :is(.bb-stats, .bb-levels).is-in > .wp-block-column:nth-child(2) .bb-card-box { transition-delay: .1s; }
	.bb-sport-motion :is(.bb-stats, .bb-levels).is-in > .wp-block-column:nth-child(3) .bb-card-box { transition-delay: .2s; }
	.bb-sport-motion .bb-levels.bb-wait .bb-card-box::after { transform: scaleX(0); }
	.bb-sport-motion .bb-levels.is-in .bb-card-box::after { transition: transform 1s cubic-bezier(.16, 1, .3, 1) .35s; transform: scaleX(var(--bb-lvl, 1)); }

	/* Steps SPRINT: the track runs, each number lands with a bounce. */
	.bb-sport-motion .bb-sprint.bb-wait::before { transform: scaleX(0); }
	.bb-sport-motion .bb-sprint.is-in::before { transform-origin: left; animation: bb-sp-run .8s cubic-bezier(.16, 1, .3, 1) both; }
	.bb-sport-motion .bb-sprint.bb-wait li::before { transform: translateY(-18px) scale(.6); }
	.bb-sport-motion .bb-sprint.is-in li::before { animation: bb-sp-land .6s cubic-bezier(.34, 1.56, .64, 1) both; }
	.bb-sport-motion .bb-sprint.is-in li:nth-child(2)::before { animation-delay: .25s; }
	.bb-sport-motion .bb-sprint.is-in li:nth-child(3)::before { animation-delay: .5s; }

	/* Icon strip: the red boxes SLAM in, one after another. */
	.bb-sport-motion .bb-icon-strip.is-in .bb-ico-item::before { animation: bb-sp-slam .6s cubic-bezier(.34, 1.56, .64, 1) both; }
	.bb-sport-motion .bb-icon-strip.is-in .wp-block-column:nth-child(2) .bb-ico-item::before { animation-delay: .12s; }
	.bb-sport-motion .bb-icon-strip.is-in .wp-block-column:nth-child(3) .bb-ico-item::before { animation-delay: .24s; }

	/* Footer: the isotype REVEALS from left to right, the hexagon hums slowly. */
	.bb-sport-motion .bb-footer.bb-wait .bb-footer-logo img { clip-path: inset(0 100% 0 0); }
	.bb-sport-motion .bb-footer.is-in .bb-footer-logo img { animation: bb-sp-wipe .9s cubic-bezier(.16, 1, .3, 1) both; }
	.bb-sport-motion .bb-footer.is-in::after { animation: bb-sp-hum 6s ease-in-out infinite; }

	/* Mobile menu rows sprint in. */
	.bb-layout-sport .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { animation: bb-sp-row .35s cubic-bezier(.16, 1, .3, 1) both; }
	.bb-layout-sport .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(2) { animation-delay: .05s; }
	.bb-layout-sport .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(3) { animation-delay: .1s; }
	.bb-layout-sport .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(4) { animation-delay: .15s; }
	.bb-layout-sport .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(5) { animation-delay: .2s; }

	/* Hover: buttons FLASH (a light streak crosses the red), cards lift, photos lean in, icon boxes turn. */
	.bb-layout-sport .wp-block-button__link { position: relative; overflow: hidden; }
	.bb-layout-sport .wp-block-button__link::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 35%; pointer-events: none;
		background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); transform: translateX(-120%) skewX(-20deg); }
	.bb-layout-sport .wp-block-button__link:hover::after { animation: bb-sp-flash .6s ease-out; }
	.bb-layout-sport .bb-card-box { transition: transform .22s ease; }
	.bb-layout-sport .bb-card-box:hover { transform: translateY(-4px); }
	.bb-layout-sport .bb-media-round { overflow: hidden; }
	.bb-layout-sport .bb-media-round img { transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
	.bb-layout-sport .bb-media-round:hover img { transform: scale(1.035); }
	.bb-layout-sport .bb-icon-strip .bb-ico-item:hover::before { transition: transform .3s ease; transform: skewX(-10deg) rotate(-6deg) scale(1.06); }
	.bb-layout-sport .bb-header.is-scrolled { box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 781px) {
	.bb-sport-motion .bb-spec.bb-wait .bb-spec-side li::after { transform: scaleY(0); }
	.bb-sport-motion .bb-spec.is-in .bb-spec-side li::after { animation-name: bb-sp-run-y; }
	.bb-sport-motion .bb-flow.bb-wait ol::before { transform: scaleY(0); }
	.bb-sport-motion .bb-flow.is-in ol::before { transform-origin: top; animation-name: bb-sp-run-y; }
	.bb-sport-motion .bb-flow.is-in .bb-flow-run i { animation-name: bb-sp-travel-y; }
}

/* Icon strip: the icon is an inline SVG on the red box (replaces the CSS mask) and its stroke DRAWS itself when the
   strip comes in, right after the box slams. */
.bb-icon-strip .bb-ico-item:has(.bb-ico-svg)::after { display: none; }
.bb-ico-svg { position: absolute; left: .7rem; top: .8rem; width: 1.8rem; height: 1.8rem; color: #fff; z-index: 1; }
.bb-ico-svg svg { display: block; width: 100%; height: 100%; }
@media (max-width: 781px) { .bb-icon-strip .wp-block-column + .wp-block-column .bb-ico-svg { top: 1.8rem; } }
@keyframes bb-sp-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: no-preference) {
	.bb-sport-motion .bb-icon-strip .bb-ico-svg :is(path, circle) { stroke-dasharray: 1; stroke-dashoffset: 1; }
	.bb-sport-motion .bb-icon-strip.is-in .bb-ico-svg :is(path, circle) { animation: bb-sp-draw .9s cubic-bezier(.16, 1, .3, 1) .35s both; }
	.bb-sport-motion .bb-icon-strip.is-in .wp-block-column:nth-child(2) .bb-ico-svg :is(path, circle) { animation-delay: .5s; }
	.bb-sport-motion .bb-icon-strip.is-in .wp-block-column:nth-child(3) .bb-ico-svg :is(path, circle) { animation-delay: .65s; }
}

/* Rack: the line on a red neon bar at real relative sizes (HyperNu "Dónde comprar"; .bb-shelf is taken by the kitchen
   layout). Grid: row 1 the jars (bottom aligned), row 2 one continuous bar, row 3 the names. --bb-h is the height of the
   tallest render; each render keeps its own margin under the jar, cancelled with a negative margin so every jar stands on
   the bar. Renders have black backgrounds (lighten melts them into the band); the gummies are a cut-out. */
.bb-rack { --bb-h: clamp(118px, 26vw, 330px); --bb-gap: clamp(6px, 2.6vw, 34px); display: grid; grid-template-columns: repeat(4, auto);
	justify-content: center; align-items: end; column-gap: var(--bb-gap); margin: 2.4rem auto .5rem; }
.bb-rack-jar { grid-row: 1; justify-self: center; display: block; line-height: 0; }
.bb-rack-jar img { display: block; width: auto; mix-blend-mode: lighten; }
.bb-rack-jar--tall img { height: var(--bb-h); margin-bottom: calc(var(--bb-h) * -.098); }
.bb-rack-jar--mid img { height: calc(var(--bb-h) * .75); margin-bottom: calc(var(--bb-h) * .75 * -.103); }
.bb-rack-jar--beet img { height: calc(var(--bb-h) * .75); margin-bottom: calc(var(--bb-h) * .75 * -.097); }
.bb-rack-jar--slim img { height: calc(var(--bb-h) * .75); margin-bottom: calc(var(--bb-h) * .75 * -.103); } /* gummies-label.webp: same canvas as Hyper Core, jar drawn at 58 % */
.bb-rack-bar { grid-row: 2; grid-column: 1 / -1; height: 5px; margin: 0 calc(var(--bb-gap) * -1); position: relative; z-index: 1;
	background: var(--wp--preset--color--primary); box-shadow: 0 6px 24px color-mix(in srgb, var(--wp--preset--color--primary) 55%, transparent); }
.bb-rack-cap { grid-row: 3; align-self: start; margin: .9rem 0 0; text-align: center; display: flex; flex-direction: column; gap: .15rem; }
.bb-rack-cap a { color: inherit !important; text-decoration: none; }
.bb-rack-cap a:hover strong { color: var(--wp--preset--color--glow); }
.bb-rack-cap strong { font-style: italic; text-transform: uppercase; font-weight: 800; font-size: .95rem; color: #fff; }
.bb-rack-cap span { font-size: .82rem; color: #c9c9cf; }
.bb-rack--numbers .bb-rack-cap { max-width: 15rem; }
.bb-rack--numbers .bb-rack-cap span { color: var(--wp--preset--color--glow); font-weight: 700; }
.bb-rack-note { margin-top: 1.4rem !important; font-size: .9rem; }
.bb-rack-note a { color: var(--wp--preset--color--glow) !important; }
@media (max-width: 781px) {
	/* On a phone the rack keeps its scale and slides sideways inside the band (the page itself never scrolls sideways). */
	.bb-rack { --bb-h: 230px; --bb-gap: 22px; justify-content: start; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity;
		margin-inline: calc(-1 * clamp(16px, 4vw, 24px)); padding: 0 clamp(16px, 4vw, 24px) .4rem; scrollbar-width: none; }
	/* no mask here: a mask isolates the layer and the renders' black background stops melting (lighten) */
	.bb-rack::-webkit-scrollbar { display: none; }
	.bb-rack-jar { scroll-snap-align: center; }
	.bb-rack-bar { margin: 0; }
	.bb-rack-cap { min-width: 8.5rem; }
	.bb-rack-cap a { color: inherit !important; text-decoration: none; }
.bb-rack-cap a:hover strong { color: var(--wp--preset--color--glow); }
.bb-rack-cap strong { font-size: .8rem; }
	.bb-rack-cap span { font-size: .74rem; }
	.bb-rack-band .bb-rack::after { content: ""; grid-row: 1; grid-column: 5; width: 8px; }
}
@keyframes bb-sp-drop { 0% { transform: translateY(-46px); } 62% { transform: translateY(4px) scaleY(.96); } 82% { transform: translateY(-2px); } 100% { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
	/* The bar RUNS from the left, then the jars DROP onto it one after another, with a small bounce. */
	.bb-sport-motion .bb-rack.bb-wait .bb-rack-jar { transform: translateY(-46px); opacity: 0; }
	.bb-sport-motion .bb-rack.bb-wait .bb-rack-bar { transform: scaleX(0); }
	.bb-sport-motion .bb-rack.is-in .bb-rack-bar { transform-origin: left; animation: bb-sp-run .6s cubic-bezier(.16, 1, .3, 1) both; }
	.bb-sport-motion .bb-rack.is-in .bb-rack-jar { transform-origin: bottom; animation: bb-sp-drop .75s cubic-bezier(.34, 1.56, .64, 1) both; animation-delay: calc(.35s + var(--j, 0) * .14s); }
	.bb-sport-motion .bb-rack-jar:nth-child(2) { --j: 1; }
	.bb-sport-motion .bb-rack-jar:nth-child(3) { --j: 2; }
	.bb-sport-motion .bb-rack-jar:nth-child(4) { --j: 3; }
	.bb-layout-sport .bb-rack-jar { transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
	.bb-layout-sport .bb-rack-jar:hover { transform: translateY(-8px); }
}

/* the button under the rack sits in the middle, like the rack */
.bb-rack-band .wp-block-buttons { justify-content: center; margin-top: 1.6rem; }

/* ---------- Products (HyperNu, 2026-11-08) ---------- */
/* The jar renders are on black: cards and the main gallery image sit on black, no white frame, so the render melts. */
.bb-layout-sport ul.products li.product a img,
.bb-layout-sport.single-product div.product div.images .woocommerce-product-gallery__image:first-child img { background: #000 !important; border-color: #000 !important; }
/* Label data as one line separated by the brand's dot (skill brand-motion §4), not loose pills. */
.bb-layout-sport .bb-chips { gap: 0 !important; flex-wrap: wrap; }
.bb-layout-sport .bb-chips li { background: none !important; border: 0 !important; padding: 0 !important; border-radius: 0 !important; box-shadow: none !important;
	font-weight: 800; font-style: italic; text-transform: uppercase; font-size: .8rem; letter-spacing: .03em; color: var(--wp--preset--color--ink) !important; }
.bb-layout-sport .bb-chips li + li::before { content: "·"; margin: 0 .55rem; color: var(--wp--preset--color--primary); }
/* The explaining pieces of a product page sit on a dark panel with the cut corner. */
.single-product .bb-spec, .bb-figure { background: var(--wp--preset--color--night); color: #fff; padding: clamp(1.4rem, 4vw, 2.4rem); margin: 0 0 2.2rem;
	clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%); }
.single-product .bb-spec { grid-template-columns: 1fr minmax(170px, 260px) 1fr; }
.bb-figure { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; justify-items: start; border-left: 6px solid var(--wp--preset--color--primary); }
.bb-figure-main { display: flex; flex-wrap: nowrap; align-items: center; gap: .8rem; }
.bb-figure-n { white-space: nowrap; font-size: clamp(2.4rem, 9vw, 5rem); font-weight: 800; font-style: italic; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.bb-figure .bb-figure-l { color: #c9c9cf; font-size: .95rem; }
.bb-figure-bar { display: block; justify-self: stretch; position: relative; width: 100%; max-width: 560px; height: 14px; margin-top: .9rem;
	background: repeating-linear-gradient(90deg, #2a2a30 0 calc(100% / var(--bb-seg) - 2px), transparent calc(100% / var(--bb-seg) - 2px) calc(100% / var(--bb-seg))); }
.bb-figure-bar i { position: absolute; inset: 0;
	background: repeating-linear-gradient(90deg, var(--wp--preset--color--primary) 0 calc(100% / var(--bb-seg) - 2px), transparent calc(100% / var(--bb-seg) - 2px) calc(100% / var(--bb-seg))); }
.bb-figure-gummies { display: flex; gap: .45rem; }
.bb-figure-gummies i { width: 2.6rem; height: 2.4rem; border-radius: 48% 52% 46% 54%; background: radial-gradient(circle at 34% 30%, #9ad6ff, #1787c3 58%, #0b4a70); }
.bb-figure-eq { font-size: 2.6rem; font-weight: 800; color: var(--wp--preset--color--glow); }
@keyframes bb-sp-gummy { 0% { transform: translateY(-60px) rotate(-30deg); } 60% { transform: translateY(6px) rotate(8deg) scaleY(.9); } 80% { transform: translateY(-3px); } 100% { transform: none; } }
@keyframes bb-sp-fill { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes bb-sp-pop { 0% { transform: scale(0); } 70% { transform: scale(1.25); } 100% { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
	/* The figure COUNTS (JS), the servings bar FILLS segment by segment, the gummies DROP and become the figure. */
	.bb-sport-motion .bb-figure.bb-wait .bb-figure-bar i { clip-path: inset(0 100% 0 0); }
	.bb-sport-motion .bb-figure.is-in .bb-figure-bar i { animation: bb-sp-fill 1.3s cubic-bezier(.16, 1, .3, 1) .2s both; }
	.bb-sport-motion .bb-figure.bb-wait .bb-figure-gummies i { transform: translateY(-60px); opacity: 0; }
	.bb-sport-motion .bb-figure.is-in .bb-figure-gummies i { animation: bb-sp-gummy .7s cubic-bezier(.34, 1.56, .64, 1) both; }
	.bb-sport-motion .bb-figure.is-in .bb-figure-gummies i + i { animation-delay: .18s; }
	.bb-sport-motion .bb-figure.bb-wait .bb-figure-eq { transform: scale(0); }
	.bb-sport-motion .bb-figure.is-in .bb-figure-eq { animation: bb-sp-pop .45s cubic-bezier(.34, 1.56, .64, 1) .45s both; }
}
@media (max-width: 781px) {
	.single-product .bb-spec { grid-template-columns: 1fr 1fr; }
}

/* Product page: the second button ("Quiero distribuir") is the sport secondary — text on a red bar — not an outline:
   the parallelogram clip cut the outline's corners and left only its top and bottom lines. */
.bb-layout-sport.single-product div.product .bb-buy .bb-buy-secondary { clip-path: none !important; border: 0 !important; border-radius: 0 !important;
	background: transparent !important; color: var(--wp--preset--color--ink) !important; padding: .55rem .2rem !important;
	box-shadow: inset 0 -4px 0 var(--wp--preset--color--primary) !important; transition: box-shadow .25s ease, color .25s ease, transform .2s ease; }
.bb-layout-sport.single-product div.product .bb-buy .bb-buy-secondary:hover { box-shadow: inset 0 -100px 0 var(--wp--preset--color--primary) !important; color: #fff !important; }
.bb-layout-sport.single-product div.product .bb-buy .bb-buy-secondary::after { display: none; }
@media (max-width: 781px) { .bb-layout-sport.single-product div.product .bb-buy .bb-buy-secondary { flex: 0 0 auto !important; width: auto !important; margin: .2rem auto 0 !important; padding-inline: .4rem !important; } }
