/*
 * Theme styles.
 *
 * Everything here either styles markup that has no counterpart in the original
 * design (WooCommerce output, WordPress-generated markup) or adds functional
 * behaviour that CSS cannot express on its own. Source classes keep their
 * compiled definitions from app.css.
 */

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

html,
body {
	max-width: 100%;
	overflow-x: clip;
}

body {
	margin: 0;
}

#wpadminbar {
	max-width: 100%;
}

[hidden] {
	display: none !important;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

:where(
	a[href],
	button:not(:disabled),
	summary,
	select,
	input[type='button']:not(:disabled),
	input[type='submit']:not(:disabled),
	input[type='reset']:not(:disabled),
	[role='button'],
	[data-menu-toggle],
	[data-carousel-prev],
	[data-carousel-next],
	[data-carousel-dot],
	[data-carousel-goto],
	[data-dropdown-toggle],
	[data-dropdown-option],
	[data-ics],
	.theme-attr-pill,
	.theme-product-thumb,
	label[for]
) {
	cursor: pointer;
}

/* Site identity ---------------------------------------------------------- */

/* The logo keeps the source's width utilities; the height follows from the
   image ratio, which is identical in the header, the footer and on every
   page type because the same classes are emitted everywhere. */
.site-logo-text {
	display: inline-block;
	font-family: var(--font-hero);
	font-size: 1.125rem;
	line-height: 1.2;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

@media (min-width: 768px) {
	.site-logo-text {
		font-size: 1.5rem;
	}
}

.theme-header-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
}

.theme-header-brand .site-logo-img--header {
	width: 10rem;
	height: auto;
	max-width: 100%;
}

@media (min-width: 768px) {
	.theme-header-brand .site-logo-img--header {
		width: 12rem;
	}
}

.theme-header-brand .site-logo-text {
	white-space: nowrap;
}

.theme-site-header.is-menu-open {
	background-color: color-mix(in srgb, var(--background) 95%, transparent);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.site-logo-img {
	display: block;
	height: auto;
	max-width: 100%;
	object-fit: contain;
}

.theme-music-embed,
.theme-mobile-menu {
	max-width: 100%;
}

.theme-music-embed iframe,
.site-main img,
.site-main video {
	max-width: 100%;
}

.site-logo-img--footer {
	width: 18rem;
	max-width: 100%;
}

@media (min-width: 768px) {
	.site-logo-img--footer {
		width: 24rem;
	}
}

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

/* The hero sits under a transparent header on the home page; elsewhere the
   header is solid from the first paint. */
.site-header {
	position: fixed;
	top: 0;
	z-index: 50;
	width: 100%;
	padding-block: 1rem;
	transition: background-color 500ms, backdrop-filter 500ms;
	background-color: transparent;
}

.site-header.is-solid {
	background-color: color-mix(in srgb, var(--background) 95%, transparent);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.site-header.is-solid .theme-header-inner {
	border-bottom-color: var(--border);
}

/* Inner pages use a sticky (in-flow) header, so their main content needs no
   extra top offset — the same container utilities as the source apply. */

.theme-mobile-menu[hidden] {
	display: none !important;
}

/* Reveal animations ------------------------------------------------------ */

body.is-customizer .reveal,
body.is-customizer .reveal-in {
	opacity: 1 !important;
	transform: none !important;
}

body.no-js .reveal {
	opacity: 1;
	transform: none;
}

/* Cart drawer ------------------------------------------------------------ */

#theme-cart-overlay {
	position: fixed;
	inset: 0;
	z-index: 59;
	background-color: color-mix(in srgb, var(--background) 70%, transparent);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 300ms;
}

body.cart-open #theme-cart-overlay {
	opacity: 1;
	pointer-events: auto;
}

#theme-cart-drawer {
	position: fixed;
	inset-block: 0;
	right: 0;
	z-index: 60;
	width: 100%;
	max-width: 28rem;
	transform: translateX(100%);
	transition: transform 500ms;
}

body.cart-open #theme-cart-drawer {
	transform: translateX(0);
}

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

/* Add-to-cart button states ---------------------------------------------- */

.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;
}

.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;
}

/* WooCommerce injects this after an AJAX add; the design has no such link. */
.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;
}

/* Hidden native variation select (pills are the visible control) ---------- */

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

/* Quantity control ------------------------------------------------------- */

.theme-quantity-wrapper {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	border-radius: 9999px;
	border: 1px solid var(--border);
	padding: 0.75rem 1rem;
}

.theme-qty-input {
	width: 1.5rem;
	border: 0;
	background: transparent;
	text-align: center;
	color: inherit;
	font: inherit;
	-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;
}

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

.single-product .theme-product-layout {
	min-width: 0;
}

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

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

.single-product .theme-add-to-cart-area {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.single-product .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 {
	overflow-wrap: break-word;
	word-break: break-word;
}

/* Variation attributes stack label above control, like the design. */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td {
	display: block;
	width: 100%;
}

.single-product .variations tbody td.label {
	display: none;
}

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

.single-product .variations {
	border: 0;
	margin: 0;
}

.single-product .variations td.label label {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	display: block;
	margin-bottom: 0.75rem;
}

.single-product .reset_variations {
	display: inline-block;
	margin-top: 0.75rem;
	font-size: 0.875rem;
	color: var(--muted-foreground);
}

.single-product .single_variation_wrap .woocommerce-variation-price {
	margin-bottom: 1rem;
	font-size: 1.875rem;
	line-height: 2.25rem;
}

/* Variation pills */
.theme-attr-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.theme-attr-pill {
	min-width: 3rem;
	border-radius: 9999px;
	border: 1px solid var(--border);
	padding: 0.5rem 1rem;
	transition: border-color 150ms, background-color 150ms, color 150ms;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

.theme-attr-pill:hover {
	border-color: var(--primary);
}

.theme-attr-pill.is-active {
	border-color: var(--primary);
	background-color: var(--primary);
	color: var(--primary-foreground);
}

/* Gallery thumbnails */
.theme-product-thumbnails {
	display: flex;
	gap: 0.75rem;
	margin-top: 1rem;
}

.theme-product-thumb {
	width: 4.5rem;
	height: 4.5rem;
	border-radius: 0.75rem;
	overflow: hidden;
	border: 1px solid transparent;
	padding: 0;
	background: transparent;
	cursor: pointer;
	transition: border-color 150ms;
}

.theme-product-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.theme-product-thumb.is-active {
	border-color: var(--primary);
}

/* ---------------------------------------------------------------------- */
/* Shop archive                                                           */
/* ---------------------------------------------------------------------- */

.theme-shop-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

@media (min-width: 768px) {
	.theme-shop-grid {
		gap: 1.5rem;
	}
}

@media (min-width: 1024px) {
	.theme-shop-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

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

.theme-product-card-wrap > .theme-product-card {
	height: 100%;
}

/* ---------------------------------------------------------------------- */
/* WooCommerce notices, forms and tables (no source equivalent)            */
/* ---------------------------------------------------------------------- */

.woocommerce-notices-wrapper:empty {
	display: none;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	position: relative;
	margin-block: 1.5rem;
	border-radius: 1rem;
	border: 1px solid var(--border);
	background-color: var(--card);
	padding: 1rem 1.25rem 1rem 3rem;
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--foreground);
	list-style: none;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--font-mono);
	color: var(--primary);
}

.woocommerce-message::before {
	content: "✓";
}

.woocommerce-info::before {
	content: "i";
}

.woocommerce-error::before {
	content: "!";
}

.woocommerce-error {
	border-color: var(--destructive);
}

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
	color: var(--primary);
	text-decoration: underline;
}

.woocommerce-error li {
	list-style: none;
}

/* Buttons rendered by WooCommerce without a source counterpart */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background-color: var(--primary);
	padding: 0.75rem 1.75rem;
	font-weight: 500;
	color: var(--primary-foreground);
	border: 0;
	transition: transform 150ms;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	transform: translateY(-2px);
}

.woocommerce .woocommerce-form-login,
.woocommerce .woocommerce-form-register,
.woocommerce-account .woocommerce-MyAccount-navigation ul {
	border-radius: 1rem;
	border: 1px solid var(--border);
	background-color: var(--card);
	padding: 1.5rem;
	list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	display: block;
	padding: 0.5rem 0;
	color: var(--muted-foreground);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
	color: var(--primary);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text,
.woocommerce-page form .form-row textarea,
.woocommerce-page form .form-row select {
	width: 100% !important;
	border-radius: 0.75rem !important;
	border: 1px solid var(--input) !important;
	background-color: color-mix(in srgb, var(--background) 60%, transparent) !important;
	padding: 0.75rem 1rem !important;
	padding-block: 0.75rem !important;
	padding-inline: 1rem !important;
	color: var(--foreground) !important;
	outline: none !important;
	font: inherit !important;
	line-height: 1.5 !important;
	box-sizing: border-box !important;
	min-height: 0 !important;
}

.woocommerce form .form-row select,
.woocommerce-page form .form-row select {
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238b8b8b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 1rem center !important;
	background-size: 1rem !important;
	padding-right: 2.5rem !important;
	padding-inline-end: 2.5rem !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce-page form .form-row input.input-text,
.woocommerce-page form .form-row textarea {
	background-image: none !important;
	padding-right: 1rem !important;
	padding-inline-end: 1rem !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus {
	border-color: var(--primary);
}

.woocommerce table.shop_table {
	width: 100%;
	border-collapse: collapse;
	border-radius: 1rem;
	border: 1px solid var(--border);
	background-color: var(--card);
	overflow: hidden;
}

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

.woocommerce table.shop_table thead th {
	border-top: 0;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--muted-foreground);
}

/* Checkout page shell ---------------------------------------------------- */

body.woocommerce-checkout .site-main,
body.theme-cart-page .site-main,
body.theme-thankyou-page .site-main,
body.theme-account-page .site-main {
	padding-bottom: 4rem;
	max-width: 80rem;
	margin-inline: auto;
	padding-inline: 1.25rem;
}

@media (min-width: 640px) {
	body.woocommerce-checkout .site-main,
	body.theme-cart-page .site-main,
	body.theme-thankyou-page .site-main,
	body.theme-account-page .site-main {
		padding-inline: 1.5rem;
	}
}

@media (min-width: 1024px) {
	body.woocommerce-checkout .site-main,
	body.theme-cart-page .site-main,
	body.theme-thankyou-page .site-main,
	body.theme-account-page .site-main {
		padding-inline: 2.5rem;
	}
}

body.woocommerce-checkout .entry-content,
body.theme-cart-page .entry-content,
body.theme-account-page .entry-content {
	max-width: 100%;
}

.page-title {
	font-family: var(--font-hero);
	font-size: 3rem;
	line-height: 1;
	color: var(--primary);
	margin-bottom: 2rem;
}

@media (min-width: 768px) {
	.page-title {
		font-size: 3.75rem;
	}
}

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

body.woocommerce-checkout .wc-block-checkout {
	display: block;
	color: var(--foreground);
	font-family: inherit;
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	body.woocommerce-checkout .wc-block-checkout > .wc-block-components-sidebar-layout {
		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,
body.woocommerce-checkout .wc-block-components-express-payment {
	grid-column: 1 / -1;
}

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

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-blocks-components-select__select,
body.woocommerce-checkout .wc-block-components-textarea,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-form .components-text-control__input,
body.woocommerce-checkout .wc-block-components-form .components-select-control__input,
body.woocommerce-checkout .wc-block-components-address-form input[type='text'],
body.woocommerce-checkout .wc-block-components-address-form input[type='tel'],
body.woocommerce-checkout .wc-block-components-address-form input[type='email'],
body.woocommerce-checkout .wc-block-components-address-form select {
	width: 100% !important;
	max-width: none !important;
	border-radius: 0.75rem !important;
	border: 1px solid var(--input) !important;
	background-color: color-mix(in srgb, var(--background) 60%, transparent) !important;
	color: var(--foreground) !important;
	font-family: inherit !important;
	font-size: inherit !important;
	line-height: 1.5 !important;
	padding: 0.75rem 1rem !important;
	padding-block: 0.75rem !important;
	padding-inline: 1rem !important;
	min-height: 3rem !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
}

body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-blocks-components-select__select,
body.woocommerce-checkout .wc-block-components-address-form select {
	padding-right: 2.5rem !important;
	padding-inline-end: 2.5rem !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
}

body.woocommerce-checkout .wc-block-components-select .components-custom-select-control__button,
body.woocommerce-checkout .wc-block-components-select .wc-blocks-components-select__container,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__button,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control,
body.woocommerce-checkout .wc-block-components-combobox .components-combobox-control__input {
	border-radius: 0.75rem !important;
	border: 1px solid var(--input) !important;
	background-color: color-mix(in srgb, var(--background) 60%, transparent) !important;
	min-height: 3rem !important;
	padding: 0.75rem 1rem !important;
	padding-block: 0.75rem !important;
	padding-inline: 1rem !important;
	box-sizing: border-box !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:focus {
	border-color: var(--primary) !important;
	outline-color: var(--ring) !important;
}

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

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	border-radius: 9999px !important;
	background-color: var(--primary) !important;
	color: var(--primary-foreground) !important;
	font-weight: 500 !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-item__value {
	color: var(--foreground);
}

body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-product-name {
	color: var(--foreground);
}

body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: 1rem;
	background-color: var(--card);
	color: var(--foreground);
}

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

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

body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details {
	color: var(--foreground);
}

body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-hero);
	font-size: 1.875rem;
	line-height: 1.2;
	color: var(--primary);
	padding: 0 0 1rem 0;
}

body.theme-thankyou-page .woocommerce-order-overview {
	list-style: none;
	margin: 0 0 2rem;
	padding: 1.5rem;
	border-radius: 1rem;
	border: 1px solid var(--border);
	background-color: var(--card);
}

body.theme-thankyou-page .woocommerce-order-overview li {
	border-bottom: 1px solid var(--border);
	padding-bottom: 0.75rem;
	margin-bottom: 0.75rem;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--muted-foreground);
}

body.theme-thankyou-page .woocommerce-order-overview li:last-child {
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

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

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

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;
}

/* Cart / account blocks -------------------------------------------------- */

body.theme-cart-page .wp-block-woocommerce-cart,
body.theme-account-page .wp-block-woocommerce-my-account {
	max-width: none;
}

/* ---------------------------------------------------------------------- */
/* Drawer inner markup                                                    */
/* ---------------------------------------------------------------------- */

.theme-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--border);
	padding: 1.25rem 1.5rem;
}

.theme-drawer-body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 1rem 1.5rem;
}

.theme-drawer-footer {
	border-top: 1px solid var(--border);
	padding: 1.25rem 1.5rem;
}

.theme-drawer-empty {
	display: flex;
	height: 100%;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	text-align: center;
	color: var(--muted-foreground);
}

/* ---------------------------------------------------------------------- */
/* Blog list / pagination                                                 */
/* ---------------------------------------------------------------------- */

.theme-blog-list > li:last-child > a {
	border-bottom: 0;
}

.theme-post-preview {
	pointer-events: none;
	position: absolute;
	right: 100%;
	top: 50%;
	margin-right: 0.75rem;
	width: 18rem;
	transform: translate(0.5rem, -50%);
	overflow: hidden;
	border-radius: 1rem;
	border: 1px solid color-mix(in srgb, var(--primary) 50%, transparent);
	background-color: var(--card);
	text-align: left;
	color: var(--foreground);
	opacity: 0;
	box-shadow: 0 20px 50px -20px var(--primary);
	transition: transform 300ms, opacity 300ms;
}

.theme-post-preview-link:hover .theme-post-preview,
.theme-post-preview-link:focus-visible .theme-post-preview {
	transform: translate(0, -50%);
	opacity: 1;
}

/* ---------------------------------------------------------------------- */
/* Small helpers                                                          */
/* ---------------------------------------------------------------------- */

.theme-hidden-input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.theme-cart-count:empty {
	display: none;
}

.theme-tour-ics {
	display: none;
}

/* ---------------------------------------------------------------------- */
/* Values that the source expressed as inline custom-property backgrounds  */
/* ---------------------------------------------------------------------- */

.theme-hero-tint {
	background: var(--hero-tint);
}

.theme-hero-overlay {
	background: var(--hero-overlay);
}

.theme-contact-glow {
	background: radial-gradient(circle, hsl(290 90% 55% / 0.6), transparent 65%);
}

.theme-anim-delay-300 {
	animation-delay: 300ms;
}

.theme-anim-delay-500 {
	animation-delay: 500ms;
}

.theme-anim-delay-800 {
	animation-delay: 800ms;
}

.theme-music-embed iframe {
	width: 100% !important;
	min-width: 100% !important;
	max-width: 100% !important;
	display: block;
	border: 0;
}

/* Links wrapping product imagery must be blocks to avoid inline gaps. */
.theme-card-image-link {
	display: block;
	overflow: hidden;
}

.theme-card-image-link img {
	display: block;
	width: 100%;
}

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

/* The track carousel keeps its slides clickable while stacking in 3D. */
[data-carousel] {
	outline: none;
}

[data-carousel-slide] {
	backface-visibility: hidden;
}
