/* -------------------------------------------------------------------------
   Golden Crumb Cake — theme layer.
   app.css carries the compiled design system; this file only adds rules for
   markup that has no equivalent in the source (WordPress / WooCommerce) and
   the functional states the design needs.
   ---------------------------------------------------------------------- */

:root {
	--header-height: 0px;
	--checkout-gap: 2rem;
}

/* Accessibility helper (core stylesheet is not shipped). */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: hsl(var(--background));
	clip: auto !important;
	clip-path: none;
	color: hsl(var(--foreground));
	display: block;
	font-size: 0.875rem;
	height: auto;
	left: 5px;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* -------------------------------------------------------------------------
   Reveal animations (framer-motion equivalents)
   ---------------------------------------------------------------------- */

.reveal {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.7s cubic-bezier(0.25, 0.4, 0.25, 1), transform 0.7s cubic-bezier(0.25, 0.4, 0.25, 1);
	will-change: opacity, transform;
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

.reveal-d0 { transition-delay: 0s; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* Never hide content in the Customizer preview, without JS or with reduced motion. */
body.is-customizer .reveal,
body.is-customizer .hero-rise,
.no-js .reveal,
.no-js .hero-rise {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal,
	.hero-rise {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
	}
}

@media (scripting: none) {
	.reveal,
	.hero-rise {
		opacity: 1 !important;
		transform: none !important;
	}
}

/* Hero entrance: durations/delays mirror the source variants. */
.hero-rise {
	opacity: 0;
	animation: themeFadeUp 0.7s cubic-bezier(0.25, 0.4, 0.25, 1) forwards;
}
.hero-rise-1 { animation-delay: 0.2s; }
.hero-rise-2 { animation-duration: 0.9s; animation-delay: 0.35s; }
.hero-rise-3 { animation-delay: 0.55s; }
.hero-rise-4 { animation-duration: 0.65s; animation-delay: 0.75s; }

@keyframes themeFadeUp {
	from { opacity: 0; transform: translateY(22px); }
	to { opacity: 1; transform: translateY(0); }
}

.theme-marquee-reverse { animation-direction: reverse; }

.theme-hero-fade {
	animation: themeHeroFade 1.1s cubic-bezier(0.25, 0.4, 0.25, 1) both;
}

@keyframes themeHeroFade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
	.theme-hero-fade { animation: none; }
}

.theme-scrollbar-none { scrollbar-width: none; -ms-overflow-style: none; }
.theme-scrollbar-none::-webkit-scrollbar { display: none; }

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

.site-logo-img {
	height: var(--logo-height) !important;
	width: auto !important;
	display: block;
}

.site-logo-img--lg {
	height: calc(var(--logo-height) + 16px) !important;
}

.site-logo-text { line-height: var(--logo-height); display: block; }

@media (max-width: 767px) {
	.site-logo-img--lg { height: calc(var(--logo-height) + 0px) !important; }
}

/* -------------------------------------------------------------------------
   Product cards
   ---------------------------------------------------------------------- */

.theme-product-card-wrap {
	display: flex;
	min-width: 0;
}

.theme-product-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
	min-width: 0;
}

.theme-card-media {
	position: relative;
}

.theme-product-card__image-link {
	display: block;
	overflow: hidden;
}

.theme-product-card__image-link img,
.theme-card-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.7s cubic-bezier(0.25, 0.4, 0.25, 1);
}

.theme-product-card:hover .theme-card-image {
	transform: scale(1.04);
}

.theme-card-add {
	z-index: 3;
	pointer-events: auto;
	text-align: center;
}

.theme-card-title-link {
	min-width: 0;
}

.theme-product-card h3 {
	overflow-wrap: break-word;
}

/* -------------------------------------------------------------------------
   Shop filters
   ---------------------------------------------------------------------- */

[data-price-panel] {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.3s cubic-bezier(0.25, 0.4, 0.25, 1), opacity 0.3s cubic-bezier(0.25, 0.4, 0.25, 1);
}

[data-price-panel].is-open {
	max-height: 14rem;
	opacity: 1;
}

.price-range-wrapper {
	position: relative;
	height: 1.5rem;
}

.range-track-fill {
	left: 0;
	width: 100%;
	pointer-events: none;
}

.range-input {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	background: transparent;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
}

.range-input::-webkit-slider-runnable-track {
	background: transparent;
	height: 100%;
	border: 0;
}

.range-input::-moz-range-track {
	background: transparent;
	border: 0;
}

.range-input::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	pointer-events: auto;
	height: 1.25rem;
	width: 1.25rem;
	margin-top: 0;
	border-radius: 9999px;
	border: 2px solid hsl(var(--primary));
	background: hsl(var(--background));
	cursor: pointer;
	box-shadow: 0 1px 2px hsl(25 30% 20% / 0.2);
}

.range-input::-moz-range-thumb {
	pointer-events: auto;
	height: 1.25rem;
	width: 1.25rem;
	border-radius: 9999px;
	border: 2px solid hsl(var(--primary));
	background: hsl(var(--background));
	cursor: pointer;
}

.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

/* -------------------------------------------------------------------------
   FAQ accordion
   ---------------------------------------------------------------------- */

.theme-faq-answer {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-faq-answer.is-open {
	max-height: 32rem;
	opacity: 1;
}

.theme-faq-panel.is-active {
	animation: themeFadeUp 0.25s ease-out both;
}

/* -------------------------------------------------------------------------
   Testimonials
   ---------------------------------------------------------------------- */

.theme-testimonial-slide {
	opacity: 0.6;
	transform: scale(0.95);
	transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.theme-testimonial-slide.is-active {
	opacity: 1;
	transform: scale(1) rotate(0deg);
	z-index: 40;
}

.theme-testimonial-copy {
	animation: themeCopyIn 0.2s ease-in-out both;
}

.theme-testimonial-copy[hidden] { display: none; }

@keyframes themeCopyIn {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

.theme-testimonial-quote span {
	display: inline-block;
	animation: themeWordIn 0.2s ease-in-out both;
	animation-delay: calc(var(--word-index, 0) * 0.02s);
}

@keyframes themeWordIn {
	from { filter: blur(10px); opacity: 0; transform: translateY(5px); }
	to { filter: blur(0); opacity: 1; transform: translateY(0); }
}

/* -------------------------------------------------------------------------
   Ticket decorations (were inline styles in the source)
   ---------------------------------------------------------------------- */

.theme-ticket-barcode {
	background-image: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 3px, currentColor 3px 5px, transparent 5px 7px);
}

.theme-ticket-notch {
	background-image: repeating-linear-gradient(90deg, currentColor 0 4px, transparent 4px 9px);
}

/* -------------------------------------------------------------------------
   Cart drawer, overlay and modals
   ---------------------------------------------------------------------- */

.theme-cart-drawer {
	transform: translateX(100%);
	visibility: hidden;
	animation: none;
	transition: transform 0.3s cubic-bezier(0.25, 0.4, 0.25, 1), visibility 0.3s;
}

body.cart-open .theme-cart-drawer {
	transform: translateX(0);
	visibility: visible;
	animation: slideUp 0.3s cubic-bezier(0.25, 0.4, 0.25, 1) both;
}

#theme-cart-drawer.is-updating > * {
	opacity: 0.6;
	pointer-events: none;
}

.theme-modal[hidden] { display: none; }

.theme-modal > div:last-child {
	animation: themeModalIn 0.2s ease-out both;
}

@keyframes themeModalIn {
	from { opacity: 0; transform: translate(-50%, -48%) scale(0.95); }
	to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

body.theme-modal-open { overflow: hidden; }

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

.theme-attr-select-hidden { display: none !important; }

.single-product .variations {
	display: none;
}

.single-product .variations tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td {
	display: block;
	width: 100%;
}

.single-product .variations tbody td.label {
	padding-bottom: 0.25rem;
}

.single-product .variations tbody td.value {
	padding-top: 0;
}

.single-product .theme-product-layout,
.single-product .theme-product-gallery,
.single-product .theme-product-info {
	min-width: 0;
	max-width: 100%;
}

.single-product .theme-product-thumbnails {
	flex-wrap: nowrap;
	max-width: 100%;
}

.theme-add-to-cart-area {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	min-width: 0;
}

.theme-add-to-cart-area .single_add_to_cart_button {
	flex: 1 1 auto;
	min-width: 160px;
}

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in,
.single-product .theme-product-info {
	overflow-wrap: break-word;
	word-break: break-word;
}

/* Quantity input styled like the source's numeric control. */
.theme-qty-input {
	width: 4rem;
	max-width: 6rem;
	background: transparent;
	border: 0;
	outline: none;
	-moz-appearance: textfield;
	appearance: textfield;
}

.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.theme-qty-input:focus { outline: none; }

/* WooCommerce injected variation price: the design shows one price at the top. */
.single-product .single_variation_wrap .woocommerce-variation-price { display: none; }

.single-product .woocommerce-variation-availability p { font-family: 'Karla', sans-serif; font-size: 0.875rem; color: hsl(var(--muted-foreground)); }

/* Disabled add-to-cart (out of stock / unselected variation). */
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}

.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
}

/* Hide the "View cart" link WooCommerce appends after an AJAX add. */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward {
	display: none !important;
}

/* Loading state for AJAX buttons. */
.ajax_add_to_cart.theme-btn-loading {
	opacity: 0.6 !important;
	pointer-events: none !important;
	cursor: wait !important;
}

.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* The drawer already confirms the add on product pages. */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }

/* -------------------------------------------------------------------------
   Image magnifier
   ---------------------------------------------------------------------- */

.theme-magnifier { overflow: hidden; }

.theme-magnifier img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.theme-magnifier-lens[hidden] { display: none; }

/* -------------------------------------------------------------------------
   WordPress / WooCommerce generated markup
   ---------------------------------------------------------------------- */

.theme-page .page-title {
	font-size: clamp(1.875rem, 3vw, 3rem);
	line-height: 1.1;
	margin-bottom: 2.5rem;
}

.entry-content > * + * { margin-top: 1rem; }

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	list-style: none;
	border: 1px solid hsl(var(--border));
	border-left-width: 3px;
	border-radius: var(--radius);
	background: hsl(var(--card));
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
	font-family: 'Karla', sans-serif;
	font-size: 0.875rem;
	line-height: 1.6;
	color: hsl(var(--foreground));
}

.woocommerce-message { border-left-color: hsl(var(--teal)); }
.woocommerce-info { border-left-color: hsl(var(--accent)); }
.woocommerce-error { border-left-color: hsl(var(--destructive)); }

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before { display: none; }

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
	margin-left: 0.75rem;
	text-decoration: underline;
	color: hsl(var(--foreground));
}

.price,
.woocommerce-Price-amount {
	font-family: 'Karla', sans-serif;
	color: inherit;
}

.price del {
	opacity: 0.55;
	margin-right: 0.35rem;
}

.price ins {
	text-decoration: none;
}

/* Breadcrumb, paging, tables from WooCommerce core. */
.woocommerce-breadcrumb {
	font-family: 'Karla', sans-serif;
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
	margin-bottom: 1.5rem;
}

.woocommerce-pagination ul {
	display: flex;
	gap: 0.5rem;
	justify-content: center;
	list-style: none;
	padding: 0;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 9999px;
	border: 1px solid hsl(var(--border));
	font-family: 'Karla', sans-serif;
	font-size: 0.875rem;
	color: hsl(var(--foreground));
}

.woocommerce-pagination ul li span.current {
	background: hsl(var(--nopal));
	border-color: hsl(var(--nopal));
	color: hsl(var(--background));
}

/* Classic form controls (account, cart fallbacks). */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-EditAccountForm input.input-text {
	width: 100%;
	min-height: 3rem;
	border: 1px solid hsl(var(--border));
	border-radius: 0.75rem;
	background: hsl(var(--background));
	padding: 0.75rem 1rem;
	font-family: 'Karla', sans-serif;
	font-size: 1rem;
	color: hsl(var(--foreground));
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
	outline: none;
	border-color: hsl(var(--foreground));
	box-shadow: 0 0 0 1px hsl(var(--foreground));
}

.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: 9999px;
	border: 1px solid hsl(var(--primary));
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	padding: 0.85rem 2rem;
	font-family: 'Karla', sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover {
	background: hsl(var(--background));
	color: hsl(var(--primary));
}

.woocommerce table.shop_table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	overflow: hidden;
	font-family: 'Karla', sans-serif;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	border-bottom: 1px solid hsl(var(--border));
	padding: 0.9rem 1rem;
	text-align: left;
}

/* -------------------------------------------------------------------------
   Checkout block
   ---------------------------------------------------------------------- */

body.woocommerce-checkout .site-main,
body.woocommerce-checkout .theme-page {
	padding-top: var(--header-height, 0px);
	padding-bottom: 4rem;
}

body.woocommerce-checkout .entry-content {
	max-width: 100%;
}

body.woocommerce-checkout .wc-block-checkout {
	display: block;
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout.wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap, 2rem);
		align-items: start;
	}
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
	grid-column: 1 / -1;
	border-radius: var(--radius);
	border-color: hsl(var(--border));
	background: hsl(var(--card));
	font-family: 'Karla', sans-serif;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: hsl(var(--card));
	border-radius: var(--radius);
	padding: 2rem;
	border: 1px solid hsl(var(--border));
}

body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-title,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block h2 {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-weight: 600;
	letter-spacing: -0.01em;
	font-size: 1.5rem;
	color: hsl(var(--foreground));
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-blocks-components-select__select,
body.woocommerce-checkout .components-combobox-control__input {
	font-family: 'Karla', sans-serif !important;
	font-size: 1rem !important;
	color: hsl(var(--foreground)) !important;
	background-color: hsl(var(--background)) !important;
	border: 1px solid hsl(var(--border)) !important;
	border-radius: 0.75rem !important;
	width: 100% !important;
	max-width: none !important;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus {
	border-color: hsl(var(--foreground)) !important;
	box-shadow: 0 0 0 1px hsl(var(--foreground)) !important;
	outline: none !important;
}

body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder {
	color: hsl(var(--muted-foreground)) !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button {
	background-color: hsl(var(--primary)) !important;
	color: hsl(var(--primary-foreground)) !important;
	border: 1px solid hsl(var(--primary)) !important;
	border-radius: 9999px !important;
	font-family: 'Karla', sans-serif !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	letter-spacing: 0.22em !important;
	text-transform: uppercase !important;
	padding: 1rem 2rem !important;
	min-height: 3.25rem;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
	background-color: hsl(var(--background)) !important;
	color: hsl(var(--primary)) !important;
}

body.woocommerce-checkout .wc-block-cart-items { font-family: 'Karla', sans-serif; }

body.woocommerce-checkout .wc-block-components-order-summary-item__description,
body.woocommerce-checkout .wc-block-components-product-name { font-family: 'Karla', sans-serif; }

/* Cart, account and order received pages share the checkout width treatment. */
.woocommerce-cart .entry-content,
.woocommerce-account .entry-content,
body.theme-thankyou-page .entry-content {
	max-width: 100%;
}

.woocommerce-cart .page-title,
.woocommerce-account .page-title,
body.theme-thankyou-page .page-title {
	max-width: 100%;
}

/* -------------------------------------------------------------------------
   Thank you page
   ---------------------------------------------------------------------- */

body.theme-thankyou-page { overflow-x: hidden; }

body.theme-thankyou-page .woocommerce-order {
	font-family: 'Karla', sans-serif;
}

body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title,
body.theme-thankyou-page .woocommerce-column__title {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-weight: 600;
	font-size: 1.75rem;
	padding: 0 0 1rem 0;
	color: hsl(var(--foreground));
}

body.theme-thankyou-page .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	list-style: none;
	padding: 0;
	margin: 0 0 2rem;
}

body.theme-thankyou-page .woocommerce-order-overview li {
	flex: 1 1 180px;
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	padding: 1rem 1.25rem;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: hsl(var(--muted-foreground));
}

body.theme-thankyou-page .woocommerce-order-overview li strong {
	display: block;
	margin-top: 0.35rem;
	font-size: 1rem;
	letter-spacing: normal;
	text-transform: none;
	color: hsl(var(--foreground));
}

body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	margin-bottom: 2rem;
}

body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td {
	padding: 0.75rem 0.5rem;
	border-bottom: 1px solid hsl(var(--border));
	overflow-wrap: break-word;
}

body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }

body.theme-thankyou-page .woocommerce-customer-details {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

body.theme-thankyou-page .woocommerce-customer-details address {
	max-width: 480px;
	overflow-wrap: break-word;
	font-style: normal;
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	padding: 1.25rem;
}

/* -------------------------------------------------------------------------
   Small helpers used by templates without source classes
   ---------------------------------------------------------------------- */

.theme-page > .container-wide { min-width: 0; }

.theme-post .entry-content { font-family: 'Karla', sans-serif; }

img.emoji { display: inline; }

/* -------------------------------------------------------------------------
 * Functional states
 * ---------------------------------------------------------------------- */

/* Utility display classes (.flex, .grid) win over the UA [hidden] rule, so
 * filtered cards, panels and the shop "more" wrapper must be forced. */
[hidden] { display: none !important; }

/* Selected pills: base utilities can conflict with the state classes the
 * scripts add, so the selected look is enforced with the source tokens. */
[data-allergen-option][aria-pressed="true"],
[data-allergy-toggle][aria-pressed="true"],
[data-builder-allergy-toggle][aria-pressed="true"],
[data-multi-pill][aria-pressed="true"],
[data-multi-pill][aria-pressed="true"]:disabled,
[data-attr-group]:not([data-attr-color]) [data-attr-pill][aria-pressed="true"] {
    background-color: hsl(var(--foreground)) !important;
    border-color: hsl(var(--foreground)) !important;
    color: hsl(var(--background)) !important;
}

/* Colour swatch pills keep the light tint from the source. */
[data-attr-group][data-attr-color] [data-attr-pill][aria-pressed="true"] {
    background-color: hsl(var(--foreground) / 0.05) !important;
    border-color: hsl(var(--foreground)) !important;
}

/* Multi-select pills blocked by the limit stay visibly disabled. */
[data-multi-pill]:disabled:not([aria-pressed="true"]) {
    opacity: 0.4;
    cursor: not-allowed;
}

