/*
Theme Name: The 3D Bee
Theme URI: https://www.etsy.com/shop/The3DBee
Author: The 3D Bee
Author URI: https://www.etsy.com/shop/The3DBee
Description: Custom block theme for The 3D Bee: 3D-printed tools and gifts for beekeepers. WooCommerce-ready, with built-in "Buy on Etsy" support for External/Affiliate products.
Requires at least: 6.6
Requires PHP: 7.4
Version: 1.4.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: the-3d-bee
Tags: block-theme, full-site-editing, e-commerce, custom-colors
*/

/* ---------- Shared ---------- */

/* Some plugins (e.g. Spice Blocks) force a grey paragraph color; keep the theme's text color. */
p {
	color: inherit;
}

.bee-eyebrow {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bee-eyebrow.is-amber {
	color: var(--wp--preset--color--amber);
}

.bee-section {
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--60);
}

.bee-section-head {
	gap: 1rem;
}

.bee-section-head .wp-block-heading {
	margin: 0.4rem 0 0;
}

.bee-stars {
	color: var(--wp--preset--color--amber);
	letter-spacing: 3px;
	font-size: 1.2rem;
	margin: 0;
}

/* ---------- Header ---------- */

.bee-header {
	background: var(--wp--preset--color--white);
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding-top: 12px;
	padding-bottom: 12px;
}

.bee-header-row {
	gap: 12px 32px;
}

.bee-logo,
.bee-logo a {
	margin: 0;
	display: block;
}

.bee-logo img {
	height: 64px;
	width: auto;
	display: block;
}

.bee-nav {
	font-weight: 600;
	gap: 8px 28px;
}

.bee-nav a {
	text-decoration: none;
	padding: 10px 0;
}

/* Backup for the functions.php filter: hide WooCommerce's cart/account icons in the header. */
.bee-header .wp-block-woocommerce-mini-cart,
.bee-header .wc-block-mini-cart,
.bee-header .wp-block-woocommerce-customer-account {
	display: none !important;
}

.bee-header .wp-block-button__link {
	padding: 0.55rem 1.25rem;
}

/* ---------- Home: hero ---------- */

.bee-hero {
	background: var(--wp--preset--color--honey);
	padding-top: clamp(3rem, 6vw, 4.5rem);
	padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.bee-hero-columns {
	align-items: center !important;
	gap: 3rem;
}

.bee-hero-title {
	margin: 0;
}

.bee-hero-lede {
	font-size: 1.25rem;
	max-width: 36ch;
}

.bee-hero-rating {
	font-weight: 700;
	margin: 0;
}

/* Amber stars fail contrast on the yellow hero, so use teal there. */
.bee-hero .bee-stars {
	color: var(--wp--preset--color--teal);
}

.bee-hero-logo {
	margin: 0 auto;
	max-width: 440px;
}

.bee-hero-logo img {
	width: 100%;
	height: auto;
}

/* ---------- Product cards (all product grids) ---------- */

.bee-products .wc-block-product {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 20px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-bottom: 18px;
}

.bee-products .wc-block-product > *:not(.wc-block-components-product-image) {
	padding-left: 18px;
	padding-right: 18px;
	margin-left: 0;
	margin-right: 0;
	text-align: left;
}

.bee-products .wc-block-components-product-image {
	margin: 0 0 12px;
}

.bee-products .wc-block-components-product-image img {
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 0;
	background: var(--wp--preset--color--comb);
}

.bee-products .bee-card-cats {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--slate);
}

.bee-products .bee-card-cats a {
	color: inherit;
	text-decoration: none;
}

.bee-products .wp-block-post-title {
	font-size: 1.375rem;
	line-height: 1.2;
	margin: 0;
}

.bee-products .wp-block-post-title a {
	text-decoration: none;
}

.bee-products .wc-block-components-product-price {
	font-weight: 600;
}

.bee-products .wc-block-components-product-button {
	margin-top: auto;
	padding-top: 10px;
}

.bee-products .wc-block-components-product-button .wp-block-button__link,
.bee-products .wc-block-components-product-button .wp-element-button {
	width: 100%;
	justify-content: center;
}

/* ---------- Home: how it works ---------- */

.bee-how {
	background: var(--wp--preset--color--white);
	border-top: 1px solid var(--wp--preset--color--line);
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.bee-step {
	text-align: center;
}

.bee-hex {
	width: 72px;
	height: 80px;
	margin: 0 auto 0.75rem;
	background: var(--wp--preset--color--honey);
	clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--wp--preset--font-family--zilla-slab);
	font-weight: 700;
	font-size: 2rem;
}

.bee-step p:not(.bee-hex) {
	color: var(--wp--preset--color--slate);
	max-width: 30ch;
	margin-left: auto;
	margin-right: auto;
}

/* ---------- Reviews ---------- */

.bee-review {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 20px;
	padding: 28px;
	height: 100%;
	box-sizing: border-box;
}

.bee-review-quote {
	font-size: 1.125rem;
}

.bee-review-name {
	font-weight: 700;
	margin-top: auto;
}

.bee-review-name span {
	font-weight: 500;
	color: var(--wp--preset--color--slate);
}

/* ---------- About ---------- */

.bee-about-columns {
	align-items: center !important;
	gap: 3.5rem;
}

.bee-about-image img {
	border-radius: 24px;
	max-width: 320px;
	width: 100%;
	height: auto;
}

.bee-about-text p {
	font-size: 1.1875rem;
}

/* ---------- Contact band ---------- */

.bee-contact {
	background: var(--wp--preset--color--honey) url(assets/images/contact-background.png) center / cover no-repeat;
	padding-top: 6rem;
	padding-bottom: 6rem;
}

.bee-contact-card {
	background: var(--wp--preset--color--white);
	border-radius: 28px;
	padding: 44px;
	max-width: 620px !important;
	text-align: center;
	box-shadow: 0 12px 40px rgba(31, 78, 90, 0.18);
}

.bee-contact-card .wp-block-heading {
	margin-top: 0;
}

/* ---------- Footer ---------- */

.bee-footer {
	background: var(--wp--preset--color--teal);
	color: var(--wp--preset--color--white);
	padding-top: 56px;
	padding-bottom: 32px;
}

.bee-footer a {
	color: var(--wp--preset--color--white);
	text-decoration: none;
}

.bee-footer a:hover {
	color: var(--wp--preset--color--honey);
}

.bee-footer-row {
	gap: 32px;
}

.bee-footer-brand {
	font-family: var(--wp--preset--font-family--zilla-slab);
	font-weight: 700;
	font-size: 2rem;
	color: var(--wp--preset--color--honey);
	margin: 0;
}

.bee-footer-tagline {
	color: #D6E6EA;
	max-width: 340px;
	margin-top: 0.5rem;
}

.bee-footer-nav {
	font-weight: 600;
	gap: 8px 32px;
}

.bee-footer-copy {
	border-top: 1px solid #3A6D79;
	padding-top: 20px;
	margin-top: 40px;
	font-size: 0.875rem;
	color: #D6E6EA;
}

/* ---------- Shop / category pages ---------- */

.bee-shop-banner {
	background: var(--wp--preset--color--honey) url(assets/images/shop-header.png) center / cover no-repeat;
	padding-top: clamp(44px, 6vw, 72px);
	padding-bottom: clamp(44px, 6vw, 72px);
}

/* Title sits centred directly on the honeycomb: the banner's centre is kept clear of bees. */
.bee-shop-banner > .bee-banner-card {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 34rem;
	text-align: center;
}

.bee-banner-card .wp-block-query-title,
.bee-banner-card h1 {
	margin: 0;
	font-size: clamp(2.5rem, 5vw, 3.75rem);
}

.bee-banner-card p {
	margin: 0.35rem 0 0;
	font-size: 1.1875rem;
	font-weight: 600;
}

.bee-shop-layout {
	padding-top: 48px;
	padding-bottom: 88px;
	gap: 40px;
}

.bee-sidebar h2 {
	font-family: var(--wp--preset--font-family--figtree);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 1.5rem 0 0.5rem;
}

.bee-sidebar .wc-block-product-categories-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bee-sidebar .wc-block-product-categories-list-item {
	margin: 0;
	padding: 0 14px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.bee-sidebar .wc-block-product-categories-list-item:hover {
	background: var(--wp--preset--color--comb);
}

.bee-sidebar .wc-block-product-categories-list-item a {
	flex: 1;
	display: flex;
	align-items: center;
	min-height: 44px;
	text-decoration: none;
	font-weight: 600;
}

.bee-sidebar .wc-block-product-categories-list-item-count {
	min-width: 1.75rem;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--wp--preset--color--comb);
	text-align: center;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--wp--preset--color--teal);
}

.bee-sidebar .wc-block-product-categories-list-item-count::before,
.bee-sidebar .wc-block-product-categories-list-item-count::after {
	content: none !important;
}

.bee-shop-toolbar {
	gap: 12px;
	margin-bottom: 8px;
}

.bee-shop-toolbar .woocommerce-ordering select {
	min-height: 44px;
	padding: 0 12px;
	border-radius: 12px;
	border: 2px solid #E6D49A;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--teal);
	font: inherit;
}

/* ---------- Single product ---------- */

.bee-product-top {
	gap: 3.5rem;
	padding-top: 1.5rem;
	padding-bottom: 4rem;
}

.bee-product-top .wp-block-post-title {
	margin: 0.25rem 0;
}

.bee-product-top .wc-block-components-product-price {
	font-size: 1.75rem;
	font-weight: 700;
}

.bee-product-top .woocommerce-product-gallery img {
	border-radius: 24px;
}

.bee-product-top .wp-block-post-excerpt {
	font-size: 1.1875rem;
}

.bee-product-top form.cart .single_add_to_cart_button {
	width: 100%;
	min-height: 60px;
	font-size: 1.1875rem;
	border-radius: 999px;
	background: var(--wp--preset--color--teal);
	color: var(--wp--preset--color--white);
}

.bee-etsy-note {
	margin: 0.5rem 0 0;
	text-align: center;
	font-size: 0.9375rem;
	color: var(--wp--preset--color--slate);
}

.bee-related {
	background: var(--wp--preset--color--white);
	border-top: 1px solid var(--wp--preset--color--line);
}

.woocommerce-breadcrumb,
.wc-block-breadcrumbs {
	font-size: 0.9375rem;
	color: var(--wp--preset--color--slate);
	padding-top: 1.75rem;
}

/* ======================================================================
   Dark mode
   Turned on by html[data-theme="dark"] (header toggle, or the visitor's
   device setting until they choose). Yellow brand areas stay yellow.
   ====================================================================== */

/* Brand areas keep dark teal text in both modes. */
.bee-hero,
.bee-shop-banner .bee-banner-card {
	color: var(--wp--preset--color--teal);
}

/* Header extras: dark-mode logo and the toggle button. */
/* The dark logo has its own honey background, shown as a rounded badge. */
.bee-logo-dark {
	display: none;
	padding: 6px 8px;
	border-radius: 12px;
	background: #FBC012;
	text-decoration: none;
}

.bee-logo-dark img {
	height: 58px;
	width: auto;
	display: block;
}

.bee-header-actions {
	gap: 12px;
	align-items: center;
}

.bee-theme-toggle {
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 999px;
	border: 2px solid var(--wp--preset--color--line);
	background: transparent;
	color: inherit;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.bee-theme-toggle:hover {
	border-color: currentColor;
}

.bee-theme-toggle:focus-visible {
	outline: 3px solid var(--wp--preset--color--amber);
	outline-offset: 3px;
}

.bee-theme-toggle .bee-icon-sun,
html[data-theme="dark"] .bee-theme-toggle .bee-icon-moon {
	display: none;
}

html[data-theme="dark"] .bee-theme-toggle .bee-icon-sun {
	display: block;
}

html[data-theme="dark"] {
	--bee-bg: #0E1F24;
	--bee-surface: #16303A;
	--bee-line: #27454F;
	--bee-text: #F3EBD3;
	--bee-muted: #B8C9CC;
	color-scheme: dark;
}

html[data-theme="dark"] body {
	background-color: var(--bee-bg);
	color: var(--bee-text);
}

html[data-theme="dark"] a:where(:not(.wp-element-button)) {
	color: var(--bee-text);
}

/* Logo swap: the horizontal logo's teal lettering disappears on dark. */
html[data-theme="dark"] .bee-logo {
	display: none;
}

html[data-theme="dark"] .bee-logo-dark {
	display: flex;
	color: var(--bee-text);
}

/* Surfaces */
html[data-theme="dark"] .bee-header,
html[data-theme="dark"] .bee-how,
html[data-theme="dark"] .bee-related,
html[data-theme="dark"] .bee-review,
html[data-theme="dark"] .bee-contact-card,
html[data-theme="dark"] .bee-products .wc-block-product {
	background: var(--bee-surface);
	border-color: var(--bee-line);
	color: var(--bee-text);
}

html[data-theme="dark"] .bee-theme-toggle {
	border-color: var(--bee-line);
}

html[data-theme="dark"] .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--bee-surface);
	color: var(--bee-text);
}

/* Secondary text and accents */
html[data-theme="dark"] .bee-card-cats,
html[data-theme="dark"] .bee-step p:not(.bee-hex),
html[data-theme="dark"] .bee-review-name span,
html[data-theme="dark"] .bee-etsy-note,
html[data-theme="dark"] .woocommerce-breadcrumb,
html[data-theme="dark"] .wc-block-breadcrumbs,
html[data-theme="dark"] .bee-sidebar .wc-block-product-categories-list-item-count {
	color: var(--bee-muted);
}

html[data-theme="dark"] .bee-eyebrow.is-amber,
html[data-theme="dark"] .bee-stars {
	color: var(--wp--preset--color--honey);
}

html[data-theme="dark"] .bee-hex {
	color: var(--wp--preset--color--teal);
}

/* Buttons turn honey on dark... */
html[data-theme="dark"] .wp-element-button,
html[data-theme="dark"] .wp-block-button__link,
html[data-theme="dark"] form.cart .single_add_to_cart_button {
	background: var(--wp--preset--color--honey);
	color: var(--bee-bg);
}

html[data-theme="dark"] .wp-element-button:hover,
html[data-theme="dark"] .wp-block-button__link:hover {
	background: var(--wp--preset--color--honey-light);
	color: var(--bee-bg);
}

html[data-theme="dark"] .is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--bee-text);
	border-color: var(--bee-text);
}

/* ...except on the yellow hero, where they stay teal. */
html[data-theme="dark"] .bee-hero .wp-block-button__link {
	background: var(--wp--preset--color--teal);
	color: var(--wp--preset--color--white);
}

html[data-theme="dark"] .bee-hero .is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--teal);
	border-color: var(--wp--preset--color--teal);
}

html[data-theme="dark"] .bee-hero .bee-stars {
	color: var(--wp--preset--color--teal);
}

/* Shop sidebar and form fields */
html[data-theme="dark"] .bee-sidebar .wc-block-product-categories-list-item:hover {
	background: var(--bee-surface);
}

html[data-theme="dark"] .bee-sidebar .wc-block-product-categories-list-item-count {
	background: var(--bee-line);
	color: var(--bee-text);
}

html[data-theme="dark"] input[type="search"],
html[data-theme="dark"] input[type="text"],
html[data-theme="dark"] input[type="email"],
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] .bee-shop-toolbar .woocommerce-ordering select {
	background: var(--bee-surface);
	color: var(--bee-text);
	border-color: var(--bee-line);
}

/* Product page tabs */
html[data-theme="dark"] .woocommerce-tabs ul.tabs li,
html[data-theme="dark"] .woocommerce-tabs ul.tabs li.active {
	background: transparent;
	border-color: var(--bee-line);
}

html[data-theme="dark"] .woocommerce-tabs ul.tabs li a {
	color: var(--bee-text);
}

/* Footer goes almost black so it still stands apart. */
html[data-theme="dark"] .bee-footer {
	background: #081417;
}

html[data-theme="dark"] .bee-footer-copy {
	border-top-color: #1F3A42;
}

/* ======================================================================
   Filament colors page (/colors/)
   ====================================================================== */

.bee-swatches {
	--bee-sheet: var(--wp--preset--color--white);
	--bee-sheet-line: var(--wp--preset--color--line);
	--bee-sheet-muted: var(--wp--preset--color--slate);
	--check-a: #ffffff;
	--check-b: #c9ced2;
	background: var(--bee-sheet);
	border: 1px solid var(--bee-sheet-line);
	border-radius: 20px;
	padding: clamp(20px, 4vw, 44px);
	display: grid;
	gap: 44px;
	margin-bottom: 2.5rem;
}

.bee-swatch-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.bee-swatch-meta span {
	padding: 4px 14px;
	border-radius: 999px;
	background: var(--wp--preset--color--comb);
	color: var(--wp--preset--color--teal);
	font-size: 0.875rem;
	font-weight: 600;
}

.bee-swatches section {
	display: grid;
	gap: 20px;
}

.bee-swatches .sec-head {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px 14px;
	border-bottom: 2px solid var(--bee-sheet-line);
	padding-bottom: 12px;
}

.bee-swatches h2 {
	margin: 0;
	font-size: 1.875rem;
}

.bee-swatches .count {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--amber);
}

.bee-swatches .sec-head p {
	margin: 0;
	flex-basis: 100%;
	color: var(--bee-sheet-muted);
}

.bee-swatches .grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 24px 18px;
}

.bee-swatches .swatch {
	display: grid;
	gap: 8px;
	margin: 0;
}

/* The chip: a printed sample tag with a hanging hole and three thickness steps. */
.bee-swatches .chip {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: 12px;
	overflow: hidden;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	box-shadow: 0 0 0 1px rgb(0 0 0 / 0.12) inset;
}

.bee-swatches .chip::after {
	content: "";
	position: absolute;
	top: 9px;
	left: 9px;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--bee-sheet);
	box-shadow: 0 0 0 1px rgb(0 0 0 / 0.18) inset;
}

.bee-swatches .step {
	background: var(--c);
}

.bee-swatches .opaque .chip,
.bee-swatches .shift .chip {
	background: var(--c);
}

.bee-swatches .opaque .step:nth-child(1) {
	filter: brightness(1.06);
}

.bee-swatches .opaque .step:nth-child(3) {
	filter: brightness(0.94);
}

.bee-swatches .opaque .chip::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(160deg, rgb(255 255 255 / 0.22), rgb(255 255 255 / 0) 45%);
}

/* Translucent chips sit on a checkerboard so you can see through them. */
.bee-swatches .translucent .chip {
	background-color: var(--check-a);
	background-image:
		linear-gradient(45deg, var(--check-b) 25%, transparent 25%, transparent 75%, var(--check-b) 75%),
		linear-gradient(45deg, var(--check-b) 25%, transparent 25%, transparent 75%, var(--check-b) 75%);
	background-size: 14px 14px;
	background-position: 0 0, 7px 7px;
}

.bee-swatches .translucent .step:nth-child(1) {
	opacity: 0.42;
}

.bee-swatches .translucent .step:nth-child(2) {
	opacity: 0.66;
}

.bee-swatches .translucent .step:nth-child(3) {
	opacity: 0.86;
}

.bee-swatches figcaption {
	display: grid;
	gap: 1px;
}

.bee-swatches .name {
	font-weight: 600;
	line-height: 1.25;
}

.bee-swatches .spec {
	font-size: 0.8125rem;
	color: var(--bee-sheet-muted);
}

.bee-swatches .legend {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 28px;
	border-top: 1px solid var(--bee-sheet-line);
	padding-top: 18px;
	font-size: 0.875rem;
	color: var(--bee-sheet-muted);
}

.bee-swatches .legend p {
	margin: 0;
	max-width: 70ch;
}

.bee-swatches .legend .mini {
	display: inline-grid;
	grid-template-columns: repeat(3, 14px);
	height: 14px;
	margin-right: 8px;
	border-radius: 3px;
	overflow: hidden;
	vertical-align: -2px;
	box-shadow: 0 0 0 1px rgb(0 0 0 / 0.15) inset;
}

.bee-swatches .legend .mini span {
	background: currentColor;
}

.bee-swatches .legend .mini span:nth-child(1) {
	opacity: 0.3;
}

.bee-swatches .legend .mini span:nth-child(2) {
	opacity: 0.55;
}

.bee-swatches .legend .mini span:nth-child(3) {
	opacity: 0.8;
}

/* UV reactive: a blacklight panel so the neon chips read as glowing. */
.bee-swatches .uv {
	--bee-sheet: #160f2b;
	--bee-sheet-line: #2e2350;
	--bee-sheet-muted: #a79bd0;
	background: var(--bee-sheet);
	color: #ece6ff;
	border-radius: 16px;
	padding: clamp(18px, 3vw, 32px);
}

.bee-swatches .uv h2 {
	color: #ece6ff;
}

.bee-swatches .uv .count {
	color: #ff9be0;
}

.bee-swatches .uv .chip {
	box-shadow: 0 0 0 1px rgb(0 0 0 / 0.12) inset, 0 0 22px -4px var(--g, var(--c));
}

.bee-swatches .uv .solid .chip {
	background: var(--c);
}

.bee-swatches .uv .solid .step:nth-child(1) {
	filter: brightness(1.08);
}

.bee-swatches .uv .solid .step:nth-child(3) {
	filter: brightness(0.92);
}

.bee-swatches .uv .solid .chip::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(160deg, rgb(255 255 255 / 0.25), rgb(255 255 255 / 0) 45%);
}

.bee-swatches .uv .clear .chip {
	background-color: var(--check-a);
	background-image:
		linear-gradient(45deg, var(--check-b) 25%, transparent 25%, transparent 75%, var(--check-b) 75%),
		linear-gradient(45deg, var(--check-b) 25%, transparent 25%, transparent 75%, var(--check-b) 75%);
	background-size: 14px 14px;
	background-position: 0 0, 7px 7px;
}

.bee-swatches .uv .clear .step:nth-child(1) {
	opacity: 0.5;
}

.bee-swatches .uv .clear .step:nth-child(2) {
	opacity: 0.72;
}

.bee-swatches .uv .clear .step:nth-child(3) {
	opacity: 0.9;
}

/* Dark mode: the page is already dark, so the blacklight panel steps away and the chips glow on the sheet. */
html[data-theme="dark"] .bee-swatches .uv {
	--bee-sheet: var(--bee-surface);
	--bee-sheet-line: var(--bee-line);
	--bee-sheet-muted: var(--bee-muted);
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
	color: inherit;
}

html[data-theme="dark"] .bee-swatches .uv h2 {
	color: inherit;
}

html[data-theme="dark"] .bee-swatches .uv .count {
	color: var(--wp--preset--color--honey);
}

/* Link to the colors page under the Buy on Etsy button. */
.bee-colors-link {
	margin: 0.25rem 0 0;
	text-align: center;
	font-size: 0.9375rem;
	font-weight: 600;
}

html[data-theme="dark"] .bee-swatches {
	--bee-sheet: var(--bee-surface);
	--bee-sheet-line: var(--bee-line);
	--bee-sheet-muted: var(--bee-muted);
	--check-a: #e9ecee;
	--check-b: #b4bac0;
}

html[data-theme="dark"] .bee-swatches .count {
	color: var(--wp--preset--color--honey);
}

html[data-theme="dark"] .bee-swatch-meta span {
	background: var(--bee-line);
	color: var(--bee-text);
}
