/* YorkBee components: header, navigation, mobile menu, basket, footer,
   section styles, honeycomb atmosphere, inset frame.
   Ported from the mockup's .yc-* components (mockups/html, docs/02). */

:root {
	--yb-i-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
	--yb-i-account: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E");
	--yb-i-bag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 11.2a2 2 0 0 1-2 1.8H8.2a2 2 0 0 1-2-1.8z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E");
	--yb-i-menu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M3 8h18M3 16h18'/%3E%3C/svg%3E");
	--yb-i-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.6c.5 0 .9.3 1.1.7l2.7 5.9 6.4.8c1 .1 1.4 1.3.7 2l-4.7 4.4 1.2 6.4c.2 1-.8 1.7-1.7 1.2L12 19.9 6.3 23c-.9.5-1.9-.2-1.7-1.2l1.2-6.4L1.1 11c-.7-.7-.3-1.9.7-2l6.4-.8 2.7-5.9c.2-.4.6-.7 1.1-.7z'/%3E%3C/svg%3E");
	--yb-i-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M5 5l14 14M19 5L5 19'/%3E%3C/svg%3E");
	--yb-comb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='104'%3E%3Cpath d='M30 0L60 17V52L30 69L0 52V17Z M30 69V104 M0 52L-30 69 M60 52L90 69' fill='none' stroke='%23CFA24A' stroke-opacity='.36'/%3E%3C/svg%3E");
	--yb-comb-faint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='104'%3E%3Cpath d='M30 0L60 17V52L30 69L0 52V17Z M30 69V104 M0 52L-30 69 M60 52L90 69' fill='none' stroke='%23CFA24A' stroke-opacity='.1'/%3E%3C/svg%3E");
	--yb-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='.055'/%3E%3C/svg%3E");
}

/* Icon helper: draw a mask icon in the current text colour. */
.yb-icon,
.yb-head .wp-block-search__button::before,
.yb-head .wp-block-woocommerce-customer-account a::before,
.yb-head .wc-block-mini-cart__quantity-badge::before,
.yb-menu > summary::before {
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: var(--yb-icon) center / contain no-repeat;
	mask: var(--yb-icon) center / contain no-repeat;
}

/* ===================================================================
   Header (.yc-head): sticky glass bar, progress line, morphing logo.
   The template part wrapper carries .yb-head so sticky spans the page.
   =================================================================== */
.yb-head {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 40;
	height: var(--yb-head-h);
	margin-bottom: calc(-1 * var(--yb-head-h));
	color: var(--yb-paper);
}
@media (max-width: 600px) {
	.admin-bar .yb-head { top: 0; }
}
.yb-head > * { margin: 0; max-width: none; }
/* Blocks inside the bar sit flush (no flow-layout block gap). */
.yb-head__bar > *,
.yb-head__right > *,
.yb-head__icons > * { margin-block: 0 !important; }

/* Bar background (.yc-hbg). Faded in by scroll on the home page (motion.css).
   Near-solid warm black, so it reads as the "Black label" black over the
   cream pages rather than a grey see-through band. Layers, top first: a soft
   gold light behind the logo; black at the sides so the honeycomb fades out;
   the hero's honeycomb, faint; the black itself. A gold hairline underneath
   (the progress line fills it as you read). */
.yb-head::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(340px 150% at 50% 0%, rgba(207, 162, 74, .13), rgba(207, 162, 74, 0) 72%),
		linear-gradient(90deg, rgb(10, 9, 7) 8%, rgba(10, 9, 7, 0) 34%, rgba(10, 9, 7, 0) 66%, rgb(10, 9, 7) 92%),
		var(--yb-comb-faint) 50% 22px / 60px 104px,
		linear-gradient(180deg, rgba(16, 13, 10, .97), rgba(8, 7, 6, .97));
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(207, 162, 74, .3);
	box-shadow: 0 10px 24px -18px rgba(11, 8, 4, .5);
	pointer-events: none;
}
/* Progress line (.yc-prog): 1px gold, grows with page scroll (motion.css). */
.yb-head::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1px;
	background: var(--yb-gold);
	transform: scaleX(0);
	transform-origin: left;
	pointer-events: none;
	z-index: 3;
}

.yb-head__bar {
	position: relative;
	z-index: 1;
	height: 100%;
	padding: 0 8px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
}
.yb-head__right {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 30px;
	margin: 0;
}
.yb-head__icons {
	display: flex;
	align-items: center;
	gap: 0;
	margin: 0;
}
@media (min-width: 1080px) {
	.yb-head__bar { padding: 0 48px; }
}

/* Logo: one image, absolutely centred; docked size by default.
   Desktop box 248×192 (docks to .3125); mobile 184×142 (docks to .3375).
   The boxes are 80% of the mockup's, at Dariusz's request (15 Nov 2026);
   the docked size in the bar is unchanged (77.5×60 and 62×48). */
.yb-logo {
	--ls: .3375;
	--ly: 66px;
	position: absolute;
	left: 50%;
	top: 6px;
	z-index: 2;
	width: 184px;
	height: 142px;
	margin: 0 0 0 -92px !important;
	transform-origin: 50% 0;
	transform: scale(var(--ls));
}
.yb-logo a,
.yb-logo img {
	display: block;
	width: 100%;
	height: 100%;
}
.yb-logo img { object-fit: contain; }
@media (min-width: 1080px) {
	.yb-logo {
		--ls: .3125;
		--ly: 96px;
		top: 8px;
		width: 248px;
		height: 192px;
		margin-left: -124px !important;
	}
}

/* Navigation (.yc-nav): small caps, underline draws from the left. */
.yb-head .yb-nav { display: none; }
.yb-nav .wp-block-navigation__container { gap: 36px; }
.yb-nav,
.yb-nav .wp-block-navigation-item__content {
	font-size: 12px;
	letter-spacing: .2em;
	text-transform: uppercase;
	text-decoration: none;
}
.yb-nav .wp-block-navigation-item__content {
	position: relative;
	padding: 14px 0;
}
.yb-nav .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 8px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .8s var(--yb-ease);
}
.yb-nav .wp-block-navigation-item__content:hover::after,
.yb-nav .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }

/* Header icon buttons: 44×44 targets, 20px line icons from the mockup. */
.yb-head .wp-block-search,
.yb-head .wp-block-woocommerce-customer-account { display: none; margin: 0; }
.yb-head .wp-block-search__inside-wrapper { border: 0; padding: 0; background: none; }
.yb-head .wp-block-search__button,
.yb-head .wp-block-woocommerce-customer-account a {
	width: 44px;
	height: 44px;
	min-height: 0;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	color: inherit;
}
.yb-head .wp-block-search__button svg,
.yb-head .wp-block-woocommerce-customer-account svg { display: none; }
/* Signed in, WooCommerce swaps the icon for a Gravatar (a grey square for
   most customers). Keep the line icon the design draws. */
.yb-head .wc-block-customer-account__visual,
.yb-head .wc-block-customer-account__avatar { display: none; }
.yb-head .wp-block-search__button::before { --yb-icon: var(--yb-i-search); }
.yb-head .wp-block-woocommerce-customer-account a::before { --yb-icon: var(--yb-i-account); }
.yb-head .wp-block-search__input {
	min-height: 40px;
	height: 40px;
	border: 0;
	border-bottom: 1px solid rgba(245, 242, 236, .45);
	background: transparent;
	color: var(--yb-paper);
	font-size: 15px;
}
.yb-head .wp-block-search__input::placeholder { color: var(--yb-muted-dark); }

/* Basket: plain link without JS; WooCommerce Mini-Cart once scripts run. */
.yb-basket,
.yb-head .wc-block-mini-cart__button {
	height: 44px;
	padding: 0 8px;
	display: flex;
	align-items: center;
	gap: 6px;
	border: 0;
	background: transparent;
	color: inherit;
	font: 400 12px/1 var(--wp--preset--font-family--text);
	letter-spacing: .1em;
	text-decoration: none;
	cursor: pointer;
}
.yb-head .wp-block-woocommerce-mini-cart { display: none; }
html.yb-js .yb-head .wp-block-woocommerce-mini-cart { display: block; }
html.yb-js .yb-basket { display: none; }
/* Basket page: WooCommerce doesn't run its Mini-Cart there, so the plain basket
   link stays (checkout.js keeps its count in step with the basket). */
html.yb-js body:is(.woocommerce-cart, .woocommerce-order-received) .yb-head .yb-basket { display: flex; }
body:is(.woocommerce-cart, .woocommerce-order-received) .yb-head .wp-block-woocommerce-mini-cart { display: none !important; }
.yb-head .wc-block-mini-cart__quantity-badge {
	display: flex;
	align-items: center;
	gap: 6px;
}
.yb-head .wc-block-mini-cart__quantity-badge::before { --yb-icon: var(--yb-i-bag); }
.yb-head .wc-block-mini-cart__icon { display: none; }
.yb-head .wc-block-mini-cart__badge {
	position: static;
	transform: none;
	min-width: 0;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	color: inherit !important;
	font: inherit;
	letter-spacing: inherit;
	visibility: visible !important;
}
.yb-head :is(.wc-block-mini-cart__badge, .yb-basket__count)::before { content: "("; }
.yb-head :is(.wc-block-mini-cart__badge, .yb-basket__count)::after { content: ")"; }
/* Something in the basket: the number sits in a gold honeycomb cell. The
   attribute comes from motion.js (and from PHP on the plain link). */
.yb-head :is(.wc-block-mini-cart__badge, .yb-basket__count)[data-items] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 27px;
	height: 31px;
	padding: 0;
	background: linear-gradient(160deg, #E9CB86 0%, var(--yb-gold) 46%, #B88A2E 100%) !important;
	-webkit-clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
	clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
	color: var(--yb-ink) !important;
	font: 500 14px/1 var(--wp--preset--font-family--text);
	letter-spacing: 0;
	forced-color-adjust: none;
}
.yb-head :is(.wc-block-mini-cart__badge, .yb-basket__count)[data-items]::before,
.yb-head :is(.wc-block-mini-cart__badge, .yb-basket__count)[data-items]::after { content: none; }
.yb-head :is(.wc-block-mini-cart__badge, .yb-basket__count)[data-items="many"] { font-size: 11px; }
.yb-head .wc-block-mini-cart__amount { display: none; }
@media (min-width: 1080px) {
	.yb-basket,
	.yb-head .wc-block-mini-cart__button { padding: 0 0 0 10px; gap: 8px; letter-spacing: .2em; }
}

/* Mobile menu: a <details> element, so it opens without JavaScript. */
.yb-menu { margin: 0; }
.yb-menu > summary {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	list-style: none;
	cursor: pointer;
	font-size: 0;
	color: var(--yb-paper);
}
.yb-menu > summary::-webkit-details-marker { display: none; }
.yb-menu > summary::before { --yb-icon: var(--yb-i-menu); }
.yb-menu[open] > summary::before { --yb-icon: var(--yb-i-close); }
.yb-menu__panel {
	position: fixed;
	left: 0; right: 0;
	top: calc(var(--yb-head-h) + var(--wp-admin--admin-bar--height, 0px));
	bottom: 0;
	margin: 0 !important;
	padding: 28px 26px 48px;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--yb-black);
	-webkit-backdrop-filter: blur(22px) saturate(170%);
	backdrop-filter: blur(22px) saturate(170%);
	color: var(--yb-paper);
	display: flex;
	flex-direction: column;
	gap: 36px;
}
.yb-menu[open] .yb-menu__panel { animation: yb-menu-in .7s var(--yb-ease) both; }
@keyframes yb-menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.yb-menu__main .wp-block-navigation__container { gap: 0; width: 100%; }
.yb-menu__main .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--yb-line-dark); }
.yb-menu__main .wp-block-navigation-item__content {
	display: block;
	padding: 14px 0 12px;
	font-family: var(--wp--preset--font-family--display);
	font-size: 34px;
	line-height: 1.1;
	letter-spacing: -.01em;
	text-transform: none;
	text-decoration: none;
}
.yb-menu__more .wp-block-navigation__container { gap: 4px; }
.yb-menu__more .wp-block-navigation-item__content {
	display: block;
	padding: 8px 0;
	font-size: 12px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--yb-muted-dark);
	text-decoration: none;
}
.yb-menu__panel .wp-block-search__inside-wrapper { border: 0; border-bottom: 1px solid rgba(245, 242, 236, .45); padding: 0; }
.yb-menu__panel .wp-block-search__input { border: 0; background: transparent; color: var(--yb-paper); padding-left: 0; }
.yb-menu__panel .wp-block-search__input::placeholder { color: var(--yb-muted-dark); }
.yb-menu__panel .wp-block-search__button {
	min-height: 52px;
	border: 0;
	background: transparent;
	color: var(--yb-paper);
	padding: 0 2px 0 16px;
}
html.yb-menu-open { overflow: hidden; }

@media (min-width: 1080px) {
	.yb-menu { display: none; }
	.yb-head .yb-nav { display: flex; }
	.yb-head .wp-block-search,
	.yb-head .wp-block-woocommerce-customer-account { display: block; }
	.yb-head .wp-block-search.wp-block-search__searchfield-hidden .wp-block-search__input { width: 0; padding: 0; border: 0; }
}

/* ===================================================================
   Section styles (Group block style variations).
   =================================================================== */
.is-style-black,
.is-style-atmosphere {
	background-color: var(--yb-black);
	color: var(--yb-paper);
}
.is-style-brown { background-color: var(--wp--preset--color--brown); color: var(--yb-paper); }
.is-style-comb { background-color: var(--wp--preset--color--comb-dark); color: var(--yb-paper); }
.is-style-paper { background-color: var(--yb-paper); color: var(--yb-ink); }
:is(.is-style-black, .is-style-atmosphere, .is-style-brown, .is-style-comb) p { color: var(--wp--preset--color--body-on-dark); }

/* Honeycomb atmosphere (atmos()): comb lines, a slow-drifting light and fine
   grain, so dark sections are never flat colour. */
.is-style-atmosphere,
.is-style-brown {
	--yb-glow-x: 50%;
	--yb-glow-y: 40%;
	--yb-glow-r: 528px;
	--yb-glow-a: .13;
	--yb-base: 7, 7, 7;
	position: relative;
	isolation: isolate;
	overflow: clip;
}
.is-style-brown { --yb-base: 32, 23, 15; --yb-glow-a: .1; }
.is-style-atmosphere::before,
.is-style-brown::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image: var(--yb-comb);
	pointer-events: none;
}
.is-style-brown::before { opacity: .55; }
.is-style-atmosphere::after,
.is-style-brown::after {
	content: "";
	position: absolute;
	inset: -60%;
	z-index: -1;
	background:
		var(--yb-grain),
		radial-gradient(circle var(--yb-glow-r) at var(--yb-glow-x) var(--yb-glow-y), rgba(207, 162, 74, var(--yb-glow-a)) 0, rgba(207, 162, 74, 0) 100%),
		radial-gradient(circle calc(var(--yb-glow-r) * 1.25) at var(--yb-glow-x) var(--yb-glow-y), rgba(var(--yb-base), 0) 0, rgba(var(--yb-base), .82) 78%, rgba(var(--yb-base), .92) 100%);
	will-change: transform;
	pointer-events: none;
}
@media (max-width: 781px) {
	.is-style-atmosphere,
	.is-style-brown { --yb-glow-r: 256px; --yb-glow-x: 60%; --yb-glow-y: 50%; --yb-glow-a: .15; }
}

/* Gold inset frame, 16px in from the edges (footer, gift box). */
.is-style-framed,
.yb-framed {
	outline: 1px solid rgba(207, 162, 74, .45);
	outline-offset: -16px;
}

/* ===================================================================
   Footer: black with honeycomb atmosphere and an inset gold frame.
   =================================================================== */
.yb-foot {
	--yb-glow-y: 30%;
	--yb-glow-r: 496px;
	--yb-glow-a: .12;
	position: relative;
	isolation: isolate;
	overflow: clip;
	padding: 64px 26px 40px;
	background-color: var(--yb-black);
	color: var(--yb-paper);
	outline: 1px solid rgba(207, 162, 74, .45);
	outline-offset: -16px;
}
@media (min-width: 782px) {
	.yb-foot { padding: 96px 64px 44px; }
}
.yb-foot > * { margin: 0; }
.yb-foot__inner {
	max-width: 1220px;
	margin: 0 auto !important;
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.yb-foot__inner > * { margin: 0 !important; }
.yb-foot__logo { align-self: center; width: 200px; }
.yb-foot__logo img { display: block; width: 200px; height: auto; aspect-ratio: 310 / 240; }
.yb-foot__rule { display: none; }
.yb-foot__cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px 20px;
}
.yb-foot__news { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; }
.yb-foot__news > * { margin: 0 !important; }
.yb-foot__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: 29px;
	line-height: 1.1;
	color: var(--yb-paper) !important;
}
.yb-foot__form {
	display: flex;
	border-bottom: 1px solid rgba(245, 242, 236, .45);
}
.yb-foot__form input[type="email"] {
	flex: 1;
	min-width: 0;
	height: 52px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--yb-paper);
	font-size: 17px;
}
.yb-foot__form input[type="email"]::placeholder { color: var(--yb-muted-dark); }
.yb-foot__form button {
	height: 52px;
	padding: 0 2px 0 16px;
	border: 0;
	background: transparent;
	color: var(--yb-paper);
	font: 500 12px/1 var(--wp--preset--font-family--text);
	letter-spacing: .2em;
	text-transform: uppercase;
	cursor: pointer;
}
.yb-foot__note { font-size: 14px; color: var(--yb-muted-dark) !important; }
.yb-foot__col { display: flex; flex-direction: column; }
.yb-foot__col > * { margin: 0 !important; }
.yb-foot__label {
	padding-bottom: 8px;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--yb-paper) !important;
}
.yb-foot__nav .wp-block-navigation__container { gap: 0; }
.yb-foot .yb-foot__nav .wp-block-navigation-item__content {
	display: block;
	padding: 8px 0;
	font-size: 16px;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	color: var(--yb-muted-dark);
	transition: color .6s var(--yb-ease);
}
.yb-foot .yb-foot__nav .wp-block-navigation-item__content:hover { color: var(--yb-paper); }
.yb-foot__bottom {
	display: flex;
	flex-direction: column-reverse;
	gap: 12px;
	padding-top: 22px;
	border-top: 1px solid var(--yb-line-dark);
	font-size: 13px;
	color: var(--yb-muted-dark);
}
.yb-foot__bottom > * { margin: 0 !important; }
.yb-foot__bottom p { color: var(--yb-muted-dark) !important; font-size: 13px; letter-spacing: .04em; }
.yb-foot__social .wp-block-navigation__container { gap: 22px; }
.yb-foot .yb-foot__social .wp-block-navigation-item__content {
	font-size: 13px;
	letter-spacing: .04em;
	text-transform: none;
	color: var(--yb-muted-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}
@media (min-width: 782px) {
	.yb-foot__inner { gap: 0; }
	.yb-foot__logo, .yb-foot__logo img { width: 270px; }
	.yb-foot__rule {
		display: block;
		margin-top: 72px !important;
		height: 1px;
		border: 0;
		background: var(--yb-line-dark);
	}
	.yb-foot__cols {
		padding-top: 48px;
		grid-template-columns: 1.4fr 1fr 1fr;
		gap: 48px;
	}
	.yb-foot__news { grid-column: auto; gap: 16px; max-width: 420px; }
	.yb-foot__title { font-size: 34px; }
	.yb-foot__label { padding-bottom: 12px; font-size: 12px; }
	.yb-foot .yb-foot__nav .wp-block-navigation-item__content { padding: 6px 0; }
	.yb-foot__bottom {
		margin-top: 56px !important;
		flex-direction: row;
		justify-content: space-between;
		flex-wrap: wrap;
		gap: 16px;
		padding-top: 0;
		border-top: 0;
	}
	.yb-foot__social .wp-block-navigation__container { gap: 24px; }
}

/* Main content offset: the header overlays the first section by its height. */
.yb-main > :first-child.is-style-black,
.yb-main > :first-child.is-style-atmosphere { padding-top: calc(var(--yb-head-h) + var(--wp--preset--spacing--50)); }
.yb-main { margin-top: 0; }
.yb-main.is-layout-constrained > :first-child:not(.alignfull) { margin-top: calc(var(--yb-head-h) + var(--wp--preset--spacing--50)); }

/* ===================================================================
   Shared content components (home, shop, product, journal).
   =================================================================== */

/* Hairline rule above sections (black on paper). */
.yb-rule { height: 1px; margin: 0 !important; border: 0; background: var(--yb-ink); color: var(--yb-ink); opacity: 1; }
.yb-sec { max-width: 1344px; margin-inline: auto !important; box-sizing: content-box; }
.yb-sec > * { margin-block: 0 !important; }

/* Section heading: big Bodoni H2 with an italic word, intro and link aside. */
.yb-sechead {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 30px !important;
	padding-top: 0;
}
.yb-sechead > * { margin: 0 !important; }
.yb-sechead__title { font-size: clamp(46px, calc(4.38vw + 28.9px), 92px); line-height: .96; letter-spacing: -.02em; }
.yb-sechead__aside { display: flex; flex-direction: column; gap: 10px; }
.yb-sechead__aside > * { margin: 0 !important; }
.yb-sechead__aside p:not(.yb-sechead__link) { font-size: 16px; line-height: 1.55; color: var(--yb-muted-light); }
.yb-sechead__link { padding-top: 12px; }
.yb-sechead--inline { flex-direction: row; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; }
@media (min-width: 782px) {
	.yb-sechead {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-end;
		flex-wrap: wrap;
		gap: 24px;
		padding-top: 44px;
		margin-bottom: 52px !important;
	}
	.yb-sechead__aside { max-width: 360px; margin-bottom: 8px !important; }
	.yb-sechead__aside p:not(.yb-sechead__link) { font-size: 17px; }
	.yb-sechead__link { padding-top: 8px; }
}

/* Framed photo (photo()): image in a near-square box with a hairline frame
   16px off one corner. Gold on dark, bronze on light. */
.yb-photo { position: relative; margin: 0 !important; isolation: isolate; }
.yb-photo::before {
	content: "";
	position: absolute;
	inset: -16px 16px 16px -16px;
	border: 1px solid rgba(207, 162, 74, .6);
	border-radius: 2px;
	pointer-events: none;
	z-index: -1;
	--fx: 16px; --fy: 16px;
}
.yb-photo--br::before { inset: 16px -16px -16px 16px; --fx: -16px; --fy: -16px; }
.yb-photo--tl18::before { inset: -18px 18px 18px -18px; --fx: 18px; --fy: 18px; }
.yb-photo--br18::before { inset: 18px -18px -18px 18px; --fx: -18px; --fy: -18px; }
.yb-photo--bronze::before { border-color: rgba(138, 106, 34, .55); }
.yb-photo .wp-block-image {
	margin: 0;
	overflow: clip;
	border-radius: 2px;
	aspect-ratio: var(--yb-ar, 4 / 3);
	background: #1a1612;
}
.yb-photo .wp-block-image img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.yb-ar-1 { --yb-ar: 1 / 1; }
.yb-ar-34 { --yb-ar: 3 / 4; }
.yb-ar-43 { --yb-ar: 4 / 3; }
.yb-crop-l img { object-position: 12% 40%; }
.yb-crop-r img { object-position: 88% 46%; }
@media (max-width: 781px) {
	.yb-photo::before { inset: -10px 10px 10px -10px; }
	.yb-photo--br::before, .yb-photo--br18::before { inset: 10px -10px -10px 10px; }
}

/* Cards (.yc-card): lift and a gold line on hover; the whole card is clickable
   through the title link, while the Add button stays its own control. */
.yb-card {
	position: relative;
	height: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 17px;
	padding: 14px 14px 20px;
	background: var(--wp--preset--color--card);
	border: 1px solid var(--yb-line-light);
	border-radius: 2px;
	color: var(--yb-ink);
	transition: transform 1.1s var(--yb-ease), box-shadow 1.1s ease;
}
.yb-card > * { margin: 0 !important; }
.yb-card::before {
	content: "";
	position: absolute;
	left: -1px; right: -1px; top: -1px;
	height: 1px;
	background: var(--wp--preset--color--gold-deep);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 1.2s var(--yb-ease);
	z-index: 2;
}
.yb-card:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -40px rgba(11, 11, 11, .55); }
.yb-card:hover::before { transform: scaleX(1); }
.yb-card__media { position: relative; margin: 0 !important; border-radius: 1px; overflow: clip; background: #E6E1D8; }
.yb-card__media img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto !important; object-fit: cover; transition: transform 2.2s var(--yb-ease); }
.yb-card:hover .yb-card__media img { transform: scale(1.06); }
.yb-card__title {
	padding: 0 4px;
	font-family: var(--wp--preset--font-family--display);
	font-size: 19px;
	line-height: 1.1;
	letter-spacing: -.01em;
}
.yb-card__title a { color: inherit; text-decoration: none; }
.yb-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.yb-card__foot {
	margin-top: auto !important;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	padding: 12px 4px 0;
	border-top: 1px solid var(--yb-line-light);
}
.yb-card__foot > * { margin: 0 !important; }
.yb-card__foot .wc-block-components-product-price,
.yb-card__foot .wp-block-woocommerce-product-price { font-size: 15px; }
.yb-card .wp-block-button__link,
.yb-card .wc-block-components-product-button__button,
.yb-card__foot .yb-pm--shop { position: relative; z-index: 2; }
@media (min-width: 782px) {
	.yb-card { padding: 16px 16px 24px; }
	.yb-card__title { font-size: 23px; }
	.yb-card__foot { padding-top: 15px; }
	.yb-card__foot .wc-block-components-product-price,
	.yb-card__foot .wp-block-woocommerce-product-price { font-size: 17px; }
}

/* Small dark "Add" button on cards (.yc-card add). */
.yb-card .wc-block-components-product-button { margin: 0; }
.yb-card .wc-block-components-product-button .wc-block-components-product-button__button,
.yb-card .wp-block-button__link {
	min-height: 44px;
	height: 44px;
	width: auto;
	padding: 0 18px;
	border: 1px solid var(--yb-ink);
	border-radius: 1px;
	background: var(--yb-ink);
	color: var(--yb-paper);
	font: 500 11px/1 var(--wp--preset--font-family--text);
	letter-spacing: .2em;
	text-transform: uppercase;
}
.yb-card .wc-block-components-product-button .wc-block-components-product-button__button:hover { background: transparent; color: var(--yb-ink); }
.yb-card .wc-block-components-product-button .added_to_cart { display: none; }

/* Product details from yorkbee-core. */
.yb-pm { margin: 0; }
.yb-pm--kicker { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px; }
.yb-pm__no { font-family: var(--wp--preset--font-family--display); font-style: italic; font-size: 21px; color: var(--yb-bronze); }
.yb-pm__taste,
.yb-pm--list-line {
	font-size: 11px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--yb-muted-light);
}
.yb-pm--note { padding: 0 4px; font-size: 16px; line-height: 1.5; color: var(--yb-muted-light); }
.yb-pm--line { padding: 0 4px; font-size: 13px; color: var(--yb-muted-light); }
.yb-pm--price { font-size: 18px; }
.yb-pm__size { font-size: 14px; color: var(--yb-muted-light); }
.yb-pm--shop.yb-u { font-size: 11px; gap: 9px; padding-bottom: 0; background-size: 0 1px; }
.yb-pm--shop.yb-u:hover { background-size: 100% 1px; }
.yb-pm--unit { font-size: 15px; color: var(--yb-muted-light); }
.yb-badge {
	position: absolute;
	left: 24px;
	top: 24px;
	z-index: 2;
	padding: 6px 10px;
	background: var(--yb-black);
	color: var(--yb-paper);
	font-size: 10px;
	letter-spacing: .18em;
	text-transform: uppercase;
	border-radius: 1px;
}

/* Light ↔ Bold flavour scale: hairline track with a small diamond. */
.yb-flavour {
	margin-top: auto !important;
	padding: 6px 4px 0;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--yb-muted-light);
}
.yb-flavour > span:not(.yb-flavour__track) { opacity: 1; } /* full strength: 4.5:1 contrast for the 11px Light/Bold labels */
.yb-flavour__track { position: relative; flex: 1; height: 1px; }
.yb-flavour__track::before { content: ""; position: absolute; inset: 0; background: currentColor; opacity: .35; }
.yb-flavour__dot {
	position: absolute;
	left: var(--yb-v, 50%);
	top: -4px;
	width: 9px;
	height: 9px;
	margin-left: -4.5px;
	background: currentColor;
	transform: rotate(45deg);
}

/* Horizontal swipe rows on mobile (.yc-snap). */
@media (max-width: 781px) {
	.yb-snap .wc-block-product-template {
		display: flex !important;
		flex-wrap: nowrap !important;
		gap: 12px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding: 0 20px;
		padding: 6px 20px 8px;
		margin: 0 -20px !important;
		scrollbar-width: none;
	}
	.yb-snap .wc-block-product-template::-webkit-scrollbar { display: none; }
	.yb-snap .wc-block-product { flex: none; width: 300px; scroll-snap-align: start; }
}

/* Swipe-row position bars (added by motion.js on mobile only). */
.yb-dots { display: none; }
@media (max-width: 781px) {
	.yb-dots { display: flex; justify-content: center; gap: 6px; margin-top: 22px !important; }
	.yb-dots span { width: 26px; height: 2px; background: var(--yb-line-light); transition: background-color .6s var(--yb-ease); }
	.yb-dots span.is-on { background: var(--yb-ink); }
}

/* FAQ accordion (.yc-faq): hairline rows, plus turns into a cross. */
.yb-faq { border-top: 1px solid var(--yb-line-light); }
.yb-faq > * { margin: 0 !important; }
.yb-faq .wp-block-details { border-bottom: 1px solid var(--yb-line-light); interpolate-size: allow-keywords; }
.yb-faq .wp-block-details summary {
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 22px 0;
	cursor: pointer;
	font-family: var(--wp--preset--font-family--display);
	font-size: 21px;
	line-height: 1.2;
}
.yb-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.yb-faq .wp-block-details summary::after {
	content: "+";
	flex: none;
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	font: 300 26px/1 var(--wp--preset--font-family--text);
	transition: transform .9s var(--yb-ease);
}
.yb-faq .wp-block-details[open] summary::after { transform: rotate(45deg); }
.yb-faq .wp-block-details::details-content {
	block-size: 0;
	overflow: hidden;
	opacity: 0;
	transition: block-size .9s var(--yb-ease), opacity .9s ease, content-visibility .9s allow-discrete;
}
.yb-faq .wp-block-details[open]::details-content { block-size: auto; opacity: 1; }
.yb-faq .wp-block-details > p {
	margin: -6px 0 0;
	padding: 0 50px 24px 0;
	max-width: 560px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--yb-muted-light);
}
@media (min-width: 782px) {
	.yb-faq .wp-block-details summary { font-size: 27px; padding: 24px 0; }
}

/* Numbered list with italic gold numbers (gift box contents). */
.yb-numlist {
	counter-reset: yb;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--yb-line-dark);
}
.yb-numlist li {
	counter-increment: yb;
	display: grid;
	grid-template-columns: 52px 1fr;
	align-items: baseline;
	padding: 15px 0;
	border-bottom: 1px solid var(--yb-line-dark);
	font-size: 17px;
}
.yb-numlist li::before {
	content: counter(yb, decimal-leading-zero);
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: 20px;
	color: var(--yb-gold);
}

/* Breadcrumbs: small caps, quiet. Light pages use muted ink. */
.yb-crumbs,
.yb-crumbs .woocommerce-breadcrumb {
	font-size: 11px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--yb-muted-dark);
}
.yb-crumbs a { color: inherit; text-decoration: none; }
.yb-crumbs a:hover { color: var(--yb-paper); }


.yb-crumbs--light,
.yb-crumbs--light .woocommerce-breadcrumb { color: var(--yb-muted-light); }
.yb-crumbs--light a:hover { color: var(--yb-ink); }

/* Icon trio (home intro, shop, product). */
.yb-trio {
	max-width: 1120px;
	margin: 36px auto 0 !important;
	padding-top: 28px;
	border-top: 1px solid var(--yb-line-light);
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	align-items: start;
}
.yb-trio__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 10px;
}
/* Grid items: no block gap (WordPress would push items 2 and 3 down 24px). */
.yb-trio > .yb-trio__item { margin: 0 !important; }
.yb-trio__item > * { margin: 0 !important; }
.yb-trio__icon { width: 44px; height: auto; color: var(--yb-bronze); }
.yb-trio__label { font-size: 11px; font-weight: 500; letter-spacing: .17em; text-transform: uppercase; line-height: 1.5; }
.yb-trio__text { display: none; max-width: 280px; font-size: 16px; line-height: 1.55; color: var(--yb-muted-light); }
@media (min-width: 782px) {
	.yb-trio { padding-top: 0; border-top: 0; gap: 0; }
	.yb-trio__item { padding: 0 40px; gap: 14px; }
	.yb-trio__item + .yb-trio__item { border-left: 1px solid var(--yb-line-light); }
	.yb-trio__icon { width: 58px; }
	.yb-trio__label { margin-top: 6px !important; font-size: 12px; letter-spacing: .2em; }
	.yb-trio__text { display: block; }
}

.yb-crumbs__sep { margin: 0 .7em; opacity: .7; }
/* "Tell me" (out of stock) and "Options" (variable): outlined, as in the mockups. */
.yb-card .wc-block-components-product-button .wc-block-components-product-button__button:not(.add_to_cart_button) { background: transparent; color: var(--yb-ink); }
.yb-card .wc-block-components-product-button .wc-block-components-product-button__button:not(.add_to_cart_button):hover { background: var(--yb-ink); color: var(--yb-paper); }

/* ===================================================================
   Basket items (shared by the basket page and the mini-basket drawer).
   =================================================================== */
/* Item details ("Creamy set · 340g"): one quiet line, no long description */
:is(.yb-cart, .yb-checkout, .yb-mini) .wc-block-components-product-metadata__description { display: none; }
:is(.yb-cart, .yb-checkout, .yb-mini) .wc-block-components-product-metadata,
:is(.yb-cart, .yb-checkout, .yb-mini) .wc-block-components-product-details {
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--yb-muted-light);
	list-style: none;
}
:is(.yb-cart, .yb-checkout, .yb-mini) .wc-block-components-product-details > * { display: inline; margin: 0; }
:is(.yb-cart, .yb-checkout, .yb-mini) .wc-block-components-product-details > * + *::before { content: " · "; }
:is(.yb-cart, .yb-checkout, .yb-mini) .wc-block-components-product-details__name { font-weight: 400; }

/* Quantity stepper: hairline box, − 1 + */
:is(.yb-cart, .yb-mini) table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-components-quantity-selector {
	display: inline-flex;
	align-items: stretch;
	width: auto;
	height: 48px;
	margin-bottom: 0;
	border: 1px solid var(--yb-ink);
	border-radius: 1px;
	background: transparent;
}
:is(.yb-cart, .yb-mini) table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-components-quantity-selector::after { display: none; }
:is(.yb-cart, .yb-mini) table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-components-quantity-selector__input {
	order: 2;
	width: 30px;
	min-width: 30px;
	min-height: 0;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font: 400 17px/1 var(--wp--preset--font-family--text);
	text-align: center;
	color: var(--yb-ink);
	box-shadow: none;
	-moz-appearance: textfield;
}
:is(.yb-cart, .yb-mini) table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-components-quantity-selector__input::-webkit-inner-spin-button,
:is(.yb-cart, .yb-mini) table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-components-quantity-selector__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
:is(.yb-cart, .yb-mini) table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-components-quantity-selector__button {
	width: 40px;
	min-width: 40px;
	min-height: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--yb-ink);
	font: 300 22px/1 var(--wp--preset--font-family--text);
	opacity: 1;
	cursor: pointer;
}
:is(.yb-cart, .yb-mini) table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-components-quantity-selector__button--minus { order: 1; }
:is(.yb-cart, .yb-mini) table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-components-quantity-selector__button--plus { order: 3; }
:is(.yb-cart, .yb-mini) table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-components-quantity-selector__button:disabled { color: #8B867D; cursor: default; }

/* "Remove" as an underlined text link (the button keeps WooCommerce's
   "Remove Raw Yorkshire Honey from basket" accessible name). */
:is(.yb-cart, .yb-mini) table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__remove-link {
	display: inline-block;
	width: auto;
	height: auto;
	min-height: 0;
	margin-left: 0;
	padding: 12px 0 5px;
	border: 0;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	color: var(--yb-muted-light);
	font: 400 13px/1.2 var(--wp--preset--font-family--text);
	text-decoration: none;
	cursor: pointer;
	transition: background-size .8s var(--yb-ease);
}
:is(.yb-cart, .yb-mini) table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__remove-link > svg { display: none; }
:is(.yb-cart, .yb-mini) table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__remove-link::before { content: "Remove"; }
:is(.yb-cart, .yb-mini) table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__remove-link:hover { background-size: 36% 1px; color: var(--yb-ink); }

/* ===================================================================
   Mini-basket drawer (WooCommerce Mini-Cart, contents in parts/mini-cart.html).
   =================================================================== */
.wc-block-mini-cart__drawer.wc-block-components-drawer {
	max-width: 440px;
	background: var(--yb-paper);
	color: var(--yb-ink);
	box-shadow: -24px 0 60px -30px rgba(0, 0, 0, .5);
}
.wc-block-components-drawer__screen-overlay { background-color: rgba(7, 7, 7, .55); }
.yb-mini { background: var(--yb-paper); }
.yb-mini .wc-block-components-drawer__close-wrapper { top: 16px; right: 12px; }
.yb-mini .wc-block-components-drawer__close {
	min-height: 0;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--yb-ink);
}
.yb-mini .wc-block-components-drawer__close svg { width: 22px; height: 22px; }
.yb-mini .wc-block-mini-cart__title {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 0;
	padding: 28px 64px 20px 24px;
	border-bottom: 1px solid var(--yb-line-light);
	font-family: var(--wp--preset--font-family--display);
	font-size: 34px;
	font-weight: 400;
	line-height: 1;
	mask-image: none;
	-webkit-mask-image: none;
}
.yb-mini .wp-block-woocommerce-mini-cart-title-items-counter-block {
	font-family: var(--wp--preset--font-family--text);
	font-size: 14px;
	color: var(--yb-muted-light);
}
.yb-mini .wc-block-mini-cart__items { padding: 0 24px; }
.yb-mini .wc-block-mini-cart__products-table { margin: 0; }
.yb-mini table.wc-block-cart-items { width: 100%; margin: 0; border: 0; border-collapse: collapse; }
.yb-mini table.wc-block-cart-items thead {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}
.yb-mini table.wc-block-cart-items tbody { display: block; }
.yb-mini table.wc-block-cart-items tr.wc-block-cart-items__row {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr) auto;
	gap: 0;
	align-items: start;
	padding: 18px 0;
	border-bottom: 1px solid var(--yb-line-light);
}
.yb-mini table.wc-block-cart-items tr.wc-block-cart-items__row[hidden] { display: none; }
.yb-mini table.wc-block-cart-items tr.wc-block-cart-items__row > td,
.yb-mini table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__wrap { padding: 0; border: 0; }
.yb-mini table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__image { grid-column: 1; grid-row: 1 / span 2; padding-right: 16px; }
.yb-mini table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__image img {
	display: block;
	width: 80px;
	max-width: none;
	height: 60px;
	object-fit: cover;
	border-radius: 1px;
	background: #E9E4DA;
}
.yb-mini table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__image img[hidden] { display: none; }
.yb-mini table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__product { grid-column: 2; grid-row: 1 / span 2; }
.yb-mini table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.yb-mini table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-components-product-name {
	font-family: var(--wp--preset--font-family--display);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.15;
	color: var(--yb-ink);
	text-decoration: none;
}
.yb-mini table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-components-product-name[hidden] { display: none; }
.yb-mini table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__prices { display: none; }
.yb-mini table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__quantity {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 10px;
}
.yb-mini table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-components-quantity-selector { height: 40px; }
.yb-mini table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-components-quantity-selector__button { width: 34px; min-width: 34px; font-size: 20px; }
.yb-mini table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__remove-link { padding-top: 5px; }
.yb-mini table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__total {
	grid-column: 3;
	grid-row: 1;
	padding-left: 16px;
	font-size: 16px;
	text-align: right;
	white-space: nowrap;
}
.yb-mini table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__total .wc-block-components-product-price { font-size: inherit; font-weight: 400; }
.yb-mini .wc-block-mini-cart__footer {
	padding: 20px 24px 24px;
	border-top: 1px solid var(--yb-line-light);
	background: var(--wp--preset--color--card, #FBF9F5);
	box-shadow: none;
}
.yb-mini .wc-block-mini-cart__footer::after { display: none; }
.yb-mini .wc-block-mini-cart__footer .wc-block-components-totals-item {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
}
.yb-mini .wc-block-mini-cart__footer .wc-block-components-totals-item__label {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
}
.yb-mini .wc-block-mini-cart__footer .wc-block-components-totals-item__value {
	font-family: var(--wp--preset--font-family--display);
	font-size: 30px;
	font-weight: 400;
	line-height: 1;
}
.yb-mini .wc-block-mini-cart__footer .wc-block-components-totals-item__description {
	flex-basis: 100%;
	margin-top: 8px;
	font-size: 13px;
	color: var(--yb-muted-light);
}
.yb-mini .wc-block-mini-cart__footer-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 18px;
}
.yb-mini .wc-block-mini-cart__footer-actions > * { width: auto; margin: 0; }
.yb-mini .wc-block-mini-cart__footer-actions .wc-block-components-button,
.yb-mini .wc-block-mini-cart__shopping-button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 14px;
	border: 1px solid var(--yb-ink);
	border-radius: 2px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: none;
}
.yb-mini .wc-block-mini-cart__footer-cart.wc-block-components-button { background: transparent; color: var(--yb-ink); }
.yb-mini .wc-block-mini-cart__footer-cart.wc-block-components-button:hover { background: var(--yb-ink); color: var(--yb-paper); }
.yb-mini .wc-block-mini-cart__footer-checkout.wc-block-components-button,
.yb-mini .wc-block-mini-cart__shopping-button { background: var(--yb-ink); color: var(--yb-paper); }
.yb-mini .wc-block-mini-cart__footer-checkout.wc-block-components-button:hover,
.yb-mini .wc-block-mini-cart__shopping-button:hover { background: transparent; color: var(--yb-ink); }
.yb-mini .wc-block-mini-cart__empty-cart-wrapper { padding: 64px 24px; text-align: center; }
.yb-mini .yb-mini__empty { margin: 0 0 24px; font-family: var(--wp--preset--font-family--display); font-size: 30px; line-height: 1.1; }

/* ===================================================================
   Store notices ("… has been added to your basket"), all pages.
   =================================================================== */
.wc-block-components-notice-banner {
	gap: 14px;
	margin: 0 0 16px;
	padding: 16px 18px;
	border: 1px solid var(--yb-line-light);
	border-left: 3px solid var(--yb-gold-deep, #B88A2E);
	border-radius: 2px;
	background: var(--wp--preset--color--card, #FBF9F5);
	color: var(--yb-ink);
	font-size: 15px;
	line-height: 1.5;
}
.wc-block-components-notice-banner.is-error { border-left-color: #A3341F; }
.wc-block-components-notice-banner > svg { display: none; }
.wc-block-components-notice-banner .wc-forward,
.wc-block-components-notice-banner a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.wc-block-components-notice-banner .wc-forward.wp-element-button { min-height: 0; padding: 0; border: 0; background: none; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }

/* ===================================================================
   Journal cards (order confirmation "While you wait"; the journal in Phase 5).
   =================================================================== */
.yb-jcards .wp-block-post-template { gap: 12px; margin: 0; }
@media (min-width: 782px) { .yb-jcards .wp-block-post-template { gap: 24px; } }
.yb-jcard { height: 100%; gap: 14px; box-sizing: border-box; }
.yb-jcard > * { margin: 0 !important; }
.yb-jcard .yb-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.yb-jcard__kicker {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 .5em;
	padding-top: 6px;
	font-size: 11px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--yb-bronze);
}
.yb-jcard__kicker > * { margin: 0 !important; font-size: inherit; }
.yb-jcard__kicker a { color: inherit; text-decoration: none; }
.yb-jcard__kicker > * + *::before { content: "· "; }
.yb-jcard .yb-card__title { font-size: clamp(22px, 1vw + 17px, 28px); line-height: 1.12; }
.yb-jcard .yb-card__title a { color: inherit; text-decoration: none; }
.yb-jcard__excerpt,
.yb-jcard__excerpt p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--yb-muted-light); }
.yb-jcard__excerpt .wp-block-post-excerpt__more-text { display: none; }
.yb-jcard__more { align-self: flex-start; margin-top: auto !important; font-size: 11px; }

/* Closed drawer: WooCommerce marks it aria-hidden but leaves it focusable
   off-screen. Hide it from keyboard and screen readers once it has slid out. */
.wc-block-mini-cart__drawer[aria-hidden="true"] {
	visibility: hidden;
	transition: transform .3s ease, visibility 0s linear .3s;
}
.wc-block-mini-cart__drawer[aria-hidden="false"] { visibility: visible; }

/* ===================================================================
   Title band (black, honeycomb): shop, journal and info pages.
   =================================================================== */
.yb-band { padding: 60px 20px 40px; }
.yb-band__inner { position: relative; z-index: 2; max-width: 1344px; margin: 0 auto !important; }
.yb-band__inner > * { margin: 0 !important; }
.yb-band__row { display: flex; flex-direction: column; gap: 18px; margin-top: 28px !important; }
.yb-band__row > * { margin: 0 !important; }
.yb-band__title {
	font-size: clamp(68px, calc(5.333vw + 47.2px), 124px);
	line-height: .94;
	letter-spacing: -.025em;
	color: var(--yb-paper);
}
.yb-band__intro,
.yb-band__intro p { max-width: 380px; font-size: 16px; line-height: 1.6; color: var(--wp--preset--color--body-on-dark) !important; margin: 0; }
@media (min-width: 782px) {
	.yb-band { padding: calc(var(--yb-head-h) + 44px) 48px 56px; }
	.yb-band__row { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px 48px; margin-top: 34px !important; }
	.yb-band__title { flex: 0 1 auto; }
	.yb-band__intro { flex: 0 0 auto; }
	.yb-band__intro, .yb-band__intro p { font-size: 18px; margin-bottom: 18px; }
}

/* Category chips (shop and journal): plain links, the current one filled. */
.yb-chips { min-width: 0; flex: 1; }
.yb-chips ul {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}
.yb-chips ul::-webkit-scrollbar { display: none; }
.yb-chip {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	padding: 0 18px;
	border: 1px solid var(--yb-line-light);
	border-radius: 1px;
	color: var(--yb-ink);
	font-size: 12px;
	letter-spacing: .16em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	box-sizing: border-box;
	transition: background-color .6s var(--yb-ease), color .6s var(--yb-ease), border-color .6s ease;
}
.yb-chip:hover { border-color: var(--yb-ink); }
.yb-chip__n { font-size: 11px; opacity: .6; }
.yb-chip.is-on { background: var(--yb-ink); border-color: var(--yb-ink); color: var(--yb-paper); }
@media (min-width: 782px) { .yb-chips ul { flex-wrap: wrap; overflow: visible; } }

/* Buying buttons (Dariusz, 1 Dec 2026): forest green. Hover: an outline. */
.yb-card .wc-block-components-product-button .wc-block-components-product-button__button.add_to_cart_button,
.yb-mini .wc-block-mini-cart__footer-checkout.wc-block-components-button,
.yb-mini .wc-block-mini-cart__shopping-button { border-color: var(--yb-cta-line); background: var(--yb-cta); box-shadow: var(--yb-cta-frame); color: var(--yb-cta-text); }
.yb-card .wc-block-components-product-button .wc-block-components-product-button__button.add_to_cart_button:hover,
.yb-mini .wc-block-mini-cart__footer-checkout.wc-block-components-button:hover,
.yb-mini .wc-block-mini-cart__shopping-button:hover { border-color: var(--yb-cta); background: transparent; box-shadow: var(--yb-cta-frame-hover); color: var(--yb-cta); }

/* What customers say: the Google rating, links, and quotes when there are any. */
.yb-gr { padding: 0 20px 56px; }
.yb-gr__head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; padding-top: 40px; }
.yb-gr__title { margin: 0; font-size: clamp(46px, calc(2.476vw + 36.3px), 72px); line-height: .98; }
.yb-gr__score { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; justify-items: start; }
.yb-gr__score > * { margin: 0 !important; }
.yb-gr__num { display: flex; align-items: center; gap: 14px; font-family: var(--wp--preset--font-family--display); font-size: 84px; line-height: .82; letter-spacing: -.02em; }
.yb-gr__num::before {
	content: "";
	flex: none;
	width: 66px;
	height: 66px;
	background: linear-gradient(160deg, #F0D596 0%, #DDB25A 34%, var(--yb-gold) 58%, #A87B22 100%);
	-webkit-mask: var(--yb-i-star) center / contain no-repeat;
	mask: var(--yb-i-star) center / contain no-repeat;
}
.yb-gr__from { font-size: 17px; line-height: 1.5; color: var(--yb-muted-light); }
.yb-gr__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; padding-top: 6px; }
.yb-gr__quotes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; padding-top: 44px; }
.yb-gr__quotes > * { margin: 0 !important; }
.yb-gr .yb-gr__quote { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 24px 0 0; border: 0; border-top: 1px solid var(--yb-gold) !important; }
.yb-gr__quote p { margin: 0; font-family: var(--wp--preset--font-family--display); font-style: italic; font-size: 25px; line-height: 1.28; }
.yb-gr .yb-gr__quote cite { margin-top: auto; font-family: var(--wp--preset--font-family--text); font-style: normal; font-size: 14px; letter-spacing: .02em; text-transform: none; color: var(--yb-muted-light); }
@media (max-width: 599px) {
	.yb-gr__ctas .wp-block-button.is-style-line,
	.yb-gr__ctas .wp-block-button.is-style-line .wp-block-button__link { width: 100%; }
}
@media (min-width: 782px) {
	.yb-gr { padding: 0 48px 112px; }
	.yb-gr__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; padding-top: 48px; }
	.yb-gr__score { gap: 22px; }
	.yb-gr__num { font-size: 112px; gap: 18px; }
	.yb-gr__num::before { width: 88px; height: 88px; }
	.yb-gr__quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 72px; }
	.yb-gr__quote p { font-size: 28px; }
}
