/* =====================================================================================================================
   Organic (Real Setas, 2026-11-08). Loaded only on layout "organic" (functions.php: assets/layouts/<layout>.css).
   Skill brand-motion; plan and inventory in content/realsetas.com/direccion-de-arte.md ("Movimiento").
   Blocks stay still (assets/motion.js: NO_ENTRANCE). Only the brand's own pieces move, each with its verb:
   - the label emblem: the jar-black disc opens, the double gold hairline is drawn, the mushroom cap sprouts and sways;
   - the label seals are stamped and their line icon is drawn;
   - the serving explainer (.bb-ritual): the spoon tips, the powder falls, the glass fills, the figures count;
   - the gold brushstroke under a title's italic word is drawn; the gold rule of each ledger row is drawn;
   - label data is one line with the label's gold star between items; the stars land one after another;
   - the timeline fills with gold as you read; buttons fill from the bottom like a glass; scenes drift slower.
   SEO / Core Web Vitals: only transform, opacity, clip-path, stroke-dashoffset and paint (CLS 0). Nothing on screen at
   load starts hidden (LCP untouched). Scroll-driven parts only where supported. Off with "reduce motion".
   ===================================================================================================================== */

@keyframes bb-org-settle { from { transform: scale(1.06); } to { transform: none; } }
@keyframes bb-org-drift { from { transform: scale(1.12) translateY(-3.5%); } to { transform: scale(1.12) translateY(3.5%); } }
@keyframes bb-org-sway { 0%, 100% { transform: rotate(-2.2deg); } 50% { transform: rotate(2.2deg); } }
@keyframes bb-org-brush { from { background-size: 0% .42em; } to { background-size: 100% .42em; } }
@keyframes bb-org-fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes bb-org-disc { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bb-org-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes bb-org-cap { from { opacity: 0; transform: translateY(14%) scale(.55); } to { opacity: 1; transform: none; } }
@keyframes bb-org-star { 0% { opacity: 0; transform: scale(0) rotate(45deg); } 60% { opacity: 1; transform: scale(1.4) rotate(0); } 100% { opacity: 1; transform: none; } }
@keyframes bb-org-stamp { 0% { opacity: 0; transform: scale(1.35) rotate(-14deg); } 55% { opacity: 1; transform: scale(.94) rotate(2deg); } 100% { opacity: 1; transform: none; } }
@keyframes bb-org-rule { from { background-size: 100% 1px, 0% 1px; } to { background-size: 100% 1px, 100% 1px; } }
/* The serving: 7 s, one slow loop for this screen (pour, fill, rest, a new glass). */
@keyframes bb-org-spoon { 0%, 8% { transform: rotate(-6deg); } 24%, 46% { transform: rotate(17deg); } 60%, 100% { transform: rotate(-6deg); } }
@keyframes bb-org-dust { 0%, 18% { opacity: 0; transform: none; } 22% { opacity: 1; } 40% { opacity: .9; transform: translateY(58px); } 44%, 100% { opacity: 0; transform: translateY(62px); } }
@keyframes bb-org-liquid { 0%, 24% { transform: scaleY(.12); } 52%, 92% { transform: scaleY(1); } 100% { transform: scaleY(.12); } }
@keyframes bb-org-ripple { 0%, 36% { opacity: 0; transform: scale(.3); } 42% { opacity: .9; } 58%, 100% { opacity: 0; transform: scale(1.4); } }

/* ---- Static look (part of the design even without motion) ---- */

/* The gold brushstroke under the italic word of a title. */
.bb-layout-organic :is(h1, h2) em {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9.5c38-5.5 79-7 121-5.2 40 1.7 78 3.4 113-1.3' fill='none' stroke='%23c9a25a' stroke-width='3.2' stroke-linecap='round'/%3E%3Cpath d='M18 12c44-3.2 92-3.6 140-1.6' fill='none' stroke='%23c9a25a' stroke-opacity='.45' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E")
		no-repeat 0 100% / 100% .42em;
	padding-bottom: .12em;
}
.bb-layout-organic .bb-dark :is(h1, h2) em, .bb-layout-organic .bb-world--terracotta :is(h1, h2) em { filter: brightness(1.35); }

/* The label in miniature next to each world title (content/realsetas.com/brand_marks.py: emblem). */
.bb-emblem { width: 128px; margin: 0 0 1.1rem; }
.bb-emblem svg { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 14px 22px rgba(43, 36, 32, .28)); }
.bb-em-cap { transform-box: fill-box; transform-origin: 50% 100%; }
.bb-em-star { transform-box: fill-box; transform-origin: center; }
@media (max-width: 781px) { .bb-emblem { width: 104px; } }

/* Seals drawn like the label's stamps (brand_marks.py: seal). */
.bb-badges--seals .bb-rs-seal-wrap { flex: none; color: #9a6b22; }
.bb-badges--seals .bb-rs-seal { width: 56px; height: 56px; display: block; }
.bb-badges--seals p { font-family: var(--wp--preset--font-family--fraunces); font-weight: 600; font-size: 1.05rem; }

/* Label data: one line, the label's four-point gold star between items (skill brand-motion §4: no loose pills). */
.bb-layout-organic .bb-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 0; list-style: none; padding: 0; margin: 1rem 0 1.4rem; }
.bb-layout-organic .bb-chips > li { background: none !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important;
	font-family: var(--wp--preset--font-family--fraunces); font-size: .98rem; font-weight: 600; letter-spacing: 0; color: var(--wp--preset--color--ink); }
.bb-layout-organic .bb-world--terracotta .bb-chips > li { color: #fff; }
.bb-layout-organic .bb-chips > li + li::before { content: ""; display: inline-block; width: .7em; height: .7em; margin: 0 .75em; vertical-align: .02em;
	background: #ae7f35; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.bb-layout-organic .bb-world--terracotta .bb-chips > li + li::before { background: #f6d7b6; }
/* On the product page the same data reads as a short label table, two columns between gold hairlines. */
.bb-layout-organic.single-product div.product .bb-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.4rem; border-top: 1px solid #d9c8aa; }
.bb-layout-organic.single-product div.product .bb-chips > li { padding: .6rem 0 !important; border-bottom: 1px solid #d9c8aa !important; font-size: .95rem; }
.bb-layout-organic.single-product div.product .bb-chips > li + li::before { content: none; }

/* Ledger rows: a beige hairline under each row, with a gold one drawn over it (motion below). */
.bb-layout-organic .bb-ledger th, .bb-layout-organic .bb-ledger td { border-bottom: 0;
	background: linear-gradient(#d9c8aa, #d9c8aa) no-repeat 0 100% / 100% 1px, linear-gradient(#ae7f35, #ae7f35) no-repeat 0 100% / 0% 1px; }

/* The serving explainer (brand_marks.py: ritual): spoon, powder, glass, and three figures in HTML. */
.bb-ritual { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: 1.5rem 3rem; align-items: center; max-width: 900px; margin: 1.5rem auto 0; }
.bb-ritual-art svg { width: 100%; height: auto; display: block; overflow: visible; }
.bb-ri-spoon { transform-box: view-box; transform-origin: 40px 21px; }
.bb-ri-liquid { transform-box: fill-box; transform-origin: 50% 100%; }
.bb-ri-dust, .bb-ri-ripple { opacity: 0; transform-box: fill-box; transform-origin: center; }
.bb-ritual-figs { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1rem 0; }
.bb-ritual-fig { flex: 1 1 0; min-width: 7.5rem; text-align: center; }
.bb-ritual-fig + .bb-ritual-fig { position: relative; }
.bb-ritual-fig + .bb-ritual-fig::before { content: ""; position: absolute; left: -.4em; top: 1.15rem; width: .8em; height: .8em; background: #ae7f35;
	clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.bb-ritual-num { margin: 0; font-family: var(--wp--preset--font-family--fraunces); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 600; line-height: 1.1;
	color: var(--wp--preset--color--primary); font-variant-numeric: tabular-nums; }
.bb-ritual-num small { font-size: .5em; margin-left: .15em; color: var(--wp--preset--color--ink); }
.bb-ritual-cap { margin: .35rem 0 0; font-family: var(--wp--preset--font-family--fraunces); font-style: italic; color: var(--wp--preset--color--ink); }
.bb-ritual-note { grid-column: 1 / -1; text-align: center; margin: 0; font-size: .9rem; color: var(--wp--preset--color--muted); }
@media (max-width: 781px) { .bb-ritual { grid-template-columns: 1fr; } .bb-ritual-art { max-width: 260px; margin: 0 auto; } }

/* An eyebrow right above a centered section title is centered too. */
.bb-layout-organic .bb-eyebrow:has(+ .bb-section-title) { text-align: center; }

@media (prefers-reduced-motion: no-preference) {

	/* Anything the shared engine tags without a verb of its own: no fade, it is simply there. */
	.bb-layout-organic .bb-reveal { opacity: 1; transform: none; transition: none; }

	/* ---- Brushstroke: drawn under the italic word when the title is reached (and on the hero, at load) ---- */
	.bb-layout-organic h2 em.bb-reveal { background-size: 0% .42em; }
	.bb-layout-organic h2 em.bb-reveal.is-in { animation: bb-org-brush 1s cubic-bezier(.5, 0, .2, 1) .2s both; }
	.bb-layout-organic h1 em { animation: bb-org-brush 1.1s cubic-bezier(.5, 0, .2, 1) .5s both; }

	/* ---- Round photos are uncovered like a cloth lifted from a basket ---- */
	.bb-layout-organic figure.bb-media-round.bb-reveal { clip-path: inset(0 0 100% 0 round 4px); transition: clip-path 1.2s cubic-bezier(.65, 0, .25, 1); }
	.bb-layout-organic figure.bb-media-round.bb-reveal img { transform: scale(1.08); transition: transform 1.6s cubic-bezier(.25, .6, .3, 1); }
	.bb-layout-organic figure.bb-media-round.bb-reveal.is-in { clip-path: inset(0 0 0 0 round 4px); }
	.bb-layout-organic figure.bb-media-round.bb-reveal.is-in img { transform: none; }

	/* ---- The emblem: disc opens, double hairline drawn, cap sprouts, stars twinkle; then the cap sways ---- */
	.bb-emblem.bb-reveal .bb-em-disc { transform-box: fill-box; transform-origin: center; transform: scale(.6); opacity: 0; }
	.bb-emblem.bb-reveal .bb-em-ring { stroke-dasharray: 1; stroke-dashoffset: 1; }
	.bb-emblem.bb-reveal .bb-em-cap { opacity: 0; transform: translateY(14%) scale(.55); }
	.bb-emblem.bb-reveal .bb-em-star { opacity: 0; }
	.bb-emblem.bb-reveal.is-in .bb-em-disc { animation: bb-org-disc .7s cubic-bezier(.34, 1.56, .64, 1) both; }
	.bb-emblem.bb-reveal.is-in .bb-em-ring { animation: bb-org-draw 1.2s cubic-bezier(.65, 0, .35, 1) .25s both; }
	.bb-emblem.bb-reveal.is-in .bb-em-ring--in { animation-delay: .4s; }
	.bb-emblem.bb-reveal.is-in .bb-em-cap { animation: bb-org-cap 1.1s cubic-bezier(.34, 1.56, .64, 1) .55s both, bb-org-sway 7s ease-in-out 1.8s infinite; }
	.bb-emblem.bb-reveal.is-in .bb-em-star { animation: bb-org-star .6s ease 1.2s both; }
	.bb-emblem:not(.bb-reveal) .bb-em-cap { animation: bb-org-sway 7s ease-in-out infinite; }
	.bb-emblem:hover .bb-em-cap { animation: bb-org-cap .9s cubic-bezier(.34, 1.56, .64, 1) both; }

	/* ---- Seals are stamped, then their line icon is drawn; they turn a little on hover ---- */
	.bb-rs-seal-wrap.bb-reveal .bb-rs-seal { opacity: 0; }
	.bb-rs-seal-wrap.bb-reveal .bb-rs-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
	.bb-rs-seal-wrap.bb-reveal.is-in .bb-rs-seal { animation: bb-org-stamp .65s cubic-bezier(.34, 1.56, .64, 1) var(--bb-d, 0ms) both; }
	.bb-rs-seal-wrap.bb-reveal.is-in .bb-rs-draw { animation: bb-org-draw 1s cubic-bezier(.65, 0, .35, 1) calc(var(--bb-d, 0ms) + .45s) both; }
	.bb-badges--seals .bb-rs-seal { transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
	.bb-badges--seals .wp-block-column:hover .bb-rs-seal { transform: rotate(-12deg) scale(1.06); }

	/* ---- Label data line: the gold stars land one after another ---- */
	.bb-layout-organic .bb-chips.bb-reveal > li + li::before { transform: scale(0) rotate(45deg); }
	.bb-layout-organic .bb-chips.bb-reveal.is-in > li + li::before { animation: bb-org-star .55s ease both; }
	.bb-layout-organic .bb-chips.bb-reveal.is-in > li:nth-child(3)::before { animation-delay: .1s; }
	.bb-layout-organic .bb-chips.bb-reveal.is-in > li:nth-child(4)::before { animation-delay: .2s; }
	.bb-layout-organic .bb-chips.bb-reveal.is-in > li:nth-child(5)::before { animation-delay: .3s; }

	/* ---- The serving explainer: spoon tips, powder falls, glass fills (one slow loop) ---- */
	.bb-ritual.bb-reveal.is-in .bb-ri-spoon { animation: bb-org-spoon 7s cubic-bezier(.45, 0, .25, 1) infinite; }
	.bb-ritual.bb-reveal.is-in .bb-ri-dust { animation: bb-org-dust 7s cubic-bezier(.4, 0, .6, 1) infinite; }
	.bb-ritual.bb-reveal.is-in .bb-ri-dust:nth-of-type(2) { animation-delay: .12s; }
	.bb-ritual.bb-reveal.is-in .bb-ri-dust:nth-of-type(3) { animation-delay: .24s; }
	.bb-ritual.bb-reveal.is-in .bb-ri-dust:nth-of-type(4) { animation-delay: .36s; }
	.bb-ritual.bb-reveal.is-in .bb-ri-dust:nth-of-type(5) { animation-delay: .48s; }
	.bb-ritual.bb-reveal.is-in .bb-ri-dust:nth-of-type(6) { animation-delay: .6s; }
	.bb-ritual.bb-reveal.is-in .bb-ri-liquid { animation: bb-org-liquid 7s cubic-bezier(.45, 0, .25, 1) infinite; }
	.bb-ritual.bb-reveal.is-in .bb-ri-ripple { animation: bb-org-ripple 7s ease-out infinite; }
	.bb-ritual.bb-reveal .bb-ritual-fig + .bb-ritual-fig::before { transform: scale(0); }
	.bb-ritual.bb-reveal.is-in .bb-ritual-fig + .bb-ritual-fig::before { animation: bb-org-star .55s ease .9s both; }

	/* ---- World scenes drift slower than the page ---- */
	@supports (animation-timeline: view()) {
		.bb-layout-organic .bb-world > .wp-block-cover__image-background {
			animation: bb-org-drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
	}
	/* The hero scene settles on load (always visible, no LCP cost). */
	.bb-layout-organic .bb-hero-scene > .wp-block-cover__image-background,
	.bb-layout-organic .bb-hero-cover > .wp-block-cover__image-background { animation: bb-org-settle 2.4s cubic-bezier(.25, .6, .3, 1) both; }

	/* ---- Ledger: the gold rule of each row is drawn; the timeline fills with gold and each number lands ---- */
	.bb-layout-organic .bb-ledger tr.bb-reveal > * { background-size: 100% 1px, 0% 1px; }
	.bb-layout-organic .bb-ledger tr.bb-reveal.is-in > * { animation: bb-org-rule .9s cubic-bezier(.65, 0, .35, 1) var(--bb-d, 0ms) both; }
	.bb-layout-organic .bb-timeline { position: relative; }
	.bb-layout-organic .bb-timeline li.bb-reveal::before { transform: scale(0); transition: transform .6s cubic-bezier(.34, 1.56, .64, 1) calc(var(--bb-d, 0ms) + .2s); }
	.bb-layout-organic .bb-timeline li.bb-reveal.is-in::before { transform: none; }
	@supports (animation-timeline: view()) {
		.bb-layout-organic .bb-timeline::after { content: ""; position: absolute; left: -2px; top: 0; bottom: 0; width: 2px; background: #ae7f35;
			transform-origin: top; animation: bb-org-fill linear both; animation-timeline: view(); animation-range: entry 40% cover 70%; }
	}

	/* ---- Buttons fill from the bottom, like a glass ---- */
	.bb-layout-organic .wp-block-button__link { transition: box-shadow .5s cubic-bezier(.25, .6, .3, 1), color .3s ease, transform .3s ease; }
	.bb-layout-organic .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { box-shadow: inset 0 -3.2em 0 0 rgba(0, 0, 0, .18); transform: translateY(-1px); }
	.bb-layout-organic .wp-block-button.is-style-outline .wp-block-button__link:hover { box-shadow: inset 0 -3.2em 0 0 var(--wp--preset--color--primary); color: #fff !important; }
	.bb-layout-organic .bb-world--terracotta .is-style-outline .wp-block-button__link:hover { box-shadow: inset 0 -3.2em 0 0 #fffcf7; color: #5f2a16 !important; }

	/* ---- Cards: the gold fillet on top grows, the card lifts a little (hover only) ---- */
	.bb-layout-organic .bb-card-box { position: relative; transition: transform .45s cubic-bezier(.25, .6, .3, 1), box-shadow .45s ease; }
	.bb-layout-organic .bb-card-box::before { content: ""; position: absolute; left: -1px; right: -1px; top: -3px; height: 3px; background: #7d5519;
		transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.25, .6, .3, 1); }
	.bb-layout-organic .bb-card-box:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(53, 46, 40, .10); }
	.bb-layout-organic .bb-card-box:hover::before { transform: scaleX(1); }
	.bb-layout-organic .bb-media-round img { transition: transform 1.2s cubic-bezier(.25, .6, .3, 1); }
	.bb-layout-organic .bb-media-round:hover img { transform: scale(1.03); }

	/* ---- Header: the logo settles smaller and a warm shadow appears once the page moves ---- */
	.bb-layout-organic .bb-header { transition: box-shadow .4s ease; }
	.bb-layout-organic .bb-header .wp-block-site-logo img { transition: transform .45s cubic-bezier(.25, .6, .3, 1); transform-origin: 50% 0; }
	.bb-layout-organic .bb-header.is-scrolled { box-shadow: inset 0 -1px 0 #e6d7bf, 0 10px 28px rgba(53, 46, 40, .08); }
	.bb-layout-organic .bb-header.is-scrolled .wp-block-site-logo img { transform: scale(.84); }

	/* ---- Mobile menu (cream, centered serif): a gold star lands above each link before you read it ---- */
	.bb-layout-organic .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::before {
		content: ""; display: block; width: .6rem; height: .6rem; margin: 0 auto .4rem; background: #ae7f35;
		clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: bb-org-star .5s ease both; }
	.bb-layout-organic .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(2) .wp-block-navigation-item__content::before { animation-delay: .08s; }
	.bb-layout-organic .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(3) .wp-block-navigation-item__content::before { animation-delay: .16s; }
	.bb-layout-organic .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(4) .wp-block-navigation-item__content::before { animation-delay: .24s; }
	.bb-layout-organic .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(5) .wp-block-navigation-item__content::before { animation-delay: .32s; }

	/* ---- FAQ: the answer unfolds slowly ---- */
	@supports (interpolate-size: allow-keywords) {
		.bb-layout-organic { interpolate-size: allow-keywords; }
		.bb-layout-organic .bb-faq::details-content { block-size: 0; overflow-y: clip;
			transition: block-size .5s cubic-bezier(.25, .6, .3, 1), content-visibility .5s allow-discrete; }
		.bb-layout-organic .bb-faq[open]::details-content { block-size: auto; }
	}
}

/* The three seals are stamped one after another. */
.bb-badges--seals .wp-block-column:nth-child(2) .bb-rs-seal-wrap { --bb-d: 140ms; }
.bb-badges--seals .wp-block-column:nth-child(3) .bb-rs-seal-wrap { --bb-d: 280ms; }

/* The label line fits one row on desktop; on phones, or when it would wrap, it reads as the short label table
   (a star at the start of a second row looked broken). */
.bb-layout-organic .bb-world .bb-chips > li { font-size: .9rem; white-space: nowrap; }
.bb-layout-organic .bb-world .bb-chips > li + li::before { margin: 0 .55em; }
@media (max-width: 1100px) {
	.bb-layout-organic .bb-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; border-top: 1px solid rgba(53, 46, 40, .25); }
	.bb-layout-organic .bb-chips > li { padding: .5rem 0 !important; border-bottom: 1px solid rgba(53, 46, 40, .25) !important; white-space: normal; }
	.bb-layout-organic .bb-world--terracotta .bb-chips, .bb-layout-organic .bb-world--terracotta .bb-chips > li { border-color: rgba(255, 255, 255, .35) !important; }
	.bb-layout-organic .bb-chips > li + li::before { content: none; }
}

/* The centered header: the logo sits above the menu, so its height is reserved before the image loads (it used to
   push the whole page 53 px down on desktop: CLS 0.037 on every page). */
@media (min-width: 782px) { .bb-layout-organic .bb-header .wp-block-site-logo img { height: 60px; width: auto; } }

/* Split heroes on phones (user, 2026-11-08: "no debería haber tanto espacio"): the title starts right under the
   header and the photo follows edge to edge, without the framed card. */
@media (max-width: 781px) {
	.bb-layout-organic :is(.bb-hero-split-light, .bb-hero-split) { padding-top: 0 !important; }
	.bb-layout-organic :is(.bb-hero-split-light, .bb-hero-split) figure {
		margin-left: calc(-1 * var(--wp--style--root--padding-left, 1.25rem)) !important;
		margin-right: calc(-1 * var(--wp--style--root--padding-right, 1.25rem)) !important; max-width: none !important; }
	.bb-layout-organic :is(.bb-hero-split-light, .bb-hero-split) figure img { border-radius: 0 !important; box-shadow: none !important; width: 100%; }
}

/* Small footer text: the muted brown on the cream footer measured 4.15:1; one step darker passes 4.5:1. */
.bb-layout-organic .bb-footer .has-small-font-size { color: #66584a !important; }

/* Timeline (user, 2026-11-08: "se tapan, está mal diseñada esta parte"): the gold line runs BEHIND the numbered
   circles, which get the page color as their own background. */
.bb-layout-organic .bb-timeline::after { z-index: 0; }
.bb-layout-organic .bb-timeline li { position: relative; z-index: 1; }
.bb-layout-organic .bb-timeline li::before { z-index: 2; background-color: var(--wp--preset--color--base) !important; }

/* Product grids outside the catalog (e.g. "Vende Real Setas") use the catalog card (user, 2026-11-08: "no tiene el
   mismo diseño del catálogo"). Mirror of the organic block in assets/collections.css (owned by the collections work);
   keep them in sync. */
.bb-layout-organic:not(.bb-collection) main ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 28px; margin: 0 0 2rem; }
.bb-layout-organic:not(.bb-collection) main ul.products::before, .bb-layout-organic:not(.bb-collection) main ul.products::after { display: none !important; }
.bb-layout-organic:not(.bb-collection) main ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; display: flex; flex-direction: column; text-align: center; }
.bb-layout-organic:not(.bb-collection) main ul.products li.product a.woocommerce-loop-product__link { position: relative; isolation: isolate; display: block; }
.bb-layout-organic:not(.bb-collection) main ul.products li.product a.woocommerce-loop-product__link::before {
	content: ""; position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 4 / 5; z-index: -1; transition: transform .35s ease;
	border-radius: 999px 999px 18px 18px; background: radial-gradient(circle at 50% 40%, #fffaf1 0%, #efe3cf 72%); }
.bb-layout-organic:not(.bb-collection) main ul.products li.product a img {
	border: 0 !important; border-radius: 999px 999px 18px 18px !important; padding: 12% 10% 6% !important; aspect-ratio: 4 / 5;
	background: transparent !important; mix-blend-mode: multiply; position: relative; box-shadow: none !important; }
.bb-layout-organic:not(.bb-collection) main ul.products li.product:hover a img { transform: translateY(-6px) !important; box-shadow: 0 18px 30px rgba(120, 90, 40, .14) !important; }
.bb-layout-organic:not(.bb-collection) main ul.products li.product:hover a.woocommerce-loop-product__link::before { transform: translateY(-6px); }
.bb-layout-organic:not(.bb-collection) main ul.products li.product .bb-card-cat { margin-top: 1rem; }
.bb-layout-organic:not(.bb-collection) main ul.products li.product .bb-more {
	align-self: center; background: none !important; border: 0 !important; border-radius: 0 !important; padding: .2rem 0 !important; color: var(--wp--preset--color--ink) !important;
	box-shadow: inset 0 -1.5px 0 var(--wp--preset--color--glow); font-weight: 600; }
.bb-layout-organic:not(.bb-collection) main ul.products li.product .bb-more::after { content: " →"; transition: margin .2s ease; }
.bb-layout-organic:not(.bb-collection) main ul.products li.product:hover .bb-more::after { margin-left: .25rem; }
@media (max-width: 1024px) { .bb-layout-organic:not(.bb-collection) main ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 781px) { .bb-layout-organic:not(.bb-collection) main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; } }

/* Catalog on phones (user, 2026-11-08: "vale la pena revisar esta diagramación en mobile"): Real Setas has three short
   categories, so they wrap centered instead of a sideways strip that cut "Todos" and the last one at the edges. */
@media (max-width: 781px) {
	.bb-collection.bb-layout-organic .bb-col-chips { flex-wrap: wrap !important; overflow: visible !important; justify-content: center !important;
		margin: 0 !important; padding: 0 !important; gap: .35rem 1.3rem !important; }
	.bb-collection.bb-layout-organic .bb-chip { font-size: 1rem; }
}

/* The spoonful empties while it pours and is refilled when the spoon comes back (same 7 s loop). */
.bb-ri-heap { transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes bb-org-heap { 0%, 22% { opacity: 1; transform: none; } 40%, 58% { opacity: 0; transform: scale(.3); } 74%, 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
	.bb-ritual.bb-reveal.is-in .bb-ri-heap { animation: bb-org-heap 7s cubic-bezier(.45, 0, .25, 1) infinite; }
}
/* On phones the numbered circles sat half outside the screen: the list moves in so they fit whole. */
@media (max-width: 781px) { .bb-layout-organic .bb-timeline { margin-left: 1.15rem; } }
