/**
 * Theme stylesheet.
 *
 * Only markup that has no equivalent in the design system is styled here:
 * WooCommerce generated output, WordPress generated output, and functional
 * state rules. Elements that carry design utility classes are styled by
 * app.css and must not be restyled here.
 */

[hidden] {
	display: none !important;
}

/* -------------------------------------------------------------------------
 * Site identity
 * ---------------------------------------------------------------------- */

.site-logo-img--header {
	height: var(--logo-height, 88px);
	width: var(--logo-height, 88px);
}

.site-logo-img--mobile {
	height: calc(var(--logo-height, 88px) * 0.77);
	width: calc(var(--logo-height, 88px) * 0.77);
}

.site-logo-img--footer {
	height: 6rem;
	width: auto;
}

@media (min-width: 768px) {
	.site-logo-img--footer {
		height: 8rem;
	}
}

.site-logo-text {
	line-height: var(--logo-height, 88px);
}

/* -------------------------------------------------------------------------
 * WordPress admin bar (logged-in preview)
 * ---------------------------------------------------------------------- */

body.admin-bar .site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}

	body.admin-bar .site-header-offset {
		padding-top: calc(88px + 46px) !important;
	}
}

@media screen and (min-width: 783px) {
	body.admin-bar .site-header-offset {
		padding-top: calc(88px + 32px) !important;
	}
}

@media screen and (min-width: 768px) {
	body.admin-bar .site-header-offset {
		padding-top: calc(112px + 32px) !important;
	}
}

@media screen and (min-width: 768px) and (max-width: 782px) {
	body.admin-bar .site-header-offset {
		padding-top: calc(112px + 46px) !important;
	}
}

/* -------------------------------------------------------------------------
 * Clickable affordance
 * ---------------------------------------------------------------------- */

a[href]:not([href='']),
button:not(:disabled),
input[type='button']:not(:disabled),
input[type='submit']:not(:disabled),
input[type='reset']:not(:disabled),
select,
summary,
[role='button']:not([aria-disabled='true']),
[data-cart-open],
[data-contact-open],
[data-contact-close],
[data-contact-modal='true'],
[data-mobile-menu-toggle],
[data-price-toggle],
.theme-nav-list a,
.theme-cat-pill,
.theme-gallery-thumb,
.theme-product-card-wrap a,
.theme-qty-minus,
.theme-qty-plus,
label[for] {
	cursor: pointer;
}

/* -------------------------------------------------------------------------
 * Page loader
 * ---------------------------------------------------------------------- */

.theme-page-loader {
	transition: opacity 0.6s var(--transition-smooth);
}

.theme-page-loader.is-hidden {
	opacity: 0;
	pointer-events: none;
}

.theme-loader-ring {
	animation: theme-loader-wobble 2.4s ease-in-out infinite;
}

.theme-loader-bar {
	animation: theme-loader-slide 1.2s ease-in-out infinite;
}

@keyframes theme-loader-wobble {
	0%,
	100% {
		transform: rotate(0deg);
	}
	25% {
		transform: rotate(8deg);
	}
	75% {
		transform: rotate(-8deg);
	}
}

@keyframes theme-loader-slide {
	0% {
		transform: translateX(-100%);
	}
	100% {
		transform: translateX(200%);
	}
}

/* -------------------------------------------------------------------------
 * Scroll progress
 * ---------------------------------------------------------------------- */

.scroll-progress {
	transform: scaleX(0);
	transition: transform 0.1s linear;
}

/* -------------------------------------------------------------------------
 * Header navigation lists
 * ---------------------------------------------------------------------- */

.theme-nav-list {
	display: flex;
	align-items: center;
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.theme-nav-list--mobile {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	width: 100%;
}

.theme-nav-list--mobile .theme-nav-item {
	width: 100%;
	border-bottom: 1px solid hsl(var(--border) / 0.6);
}

.theme-nav-list--mobile .theme-nav-item:last-child {
	border-bottom: 0;
}

.theme-nav-list--mobile .theme-nav-item > a {
	display: block;
	width: 100%;
}

.theme-mobile-nav .menu-item-has-children > a::after {
	content: none;
}

.site-header .theme-nav-list .current-menu-item > a {
	color: hsl(var(--accent));
}

/* Mobile menu toggle icons */
[data-mobile-menu-icon-open][hidden],
[data-mobile-menu-icon-close][hidden] {
	display: none;
}

/* -------------------------------------------------------------------------
 * Hero video
 * ---------------------------------------------------------------------- */

.theme-hero-video {
	transform-origin: center;
	transition: transform 16s ease-out, opacity 0.6s var(--transition-smooth);
	opacity: 0;
}

.theme-hero-video.is-playing {
	opacity: 1;
	transform: scale(1);
}

.theme-hero-video:not(.is-playing) {
	transform: scale(1.06);
}

.theme-hero-title,
.theme-hero-text,
.theme-hero-actions {
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
}

.theme-hero-text {
	transform: translateY(8px);
}

.theme-hero-actions {
	transform: translateY(6px);
}

body.theme-hero-ready .theme-hero-title,
body.theme-hero-ready .theme-hero-text,
body.theme-hero-ready .theme-hero-actions {
	opacity: 1;
	transform: translateY(0);
}

body.theme-hero-ready .theme-hero-actions {
	transition-delay: 0.12s;
}

@media (prefers-reduced-motion: reduce) {
	.theme-hero-title,
	.theme-hero-text,
	.theme-hero-actions {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.theme-hero-video {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* -------------------------------------------------------------------------
 * Motion helpers replicating the design's spring button feedback
 * ---------------------------------------------------------------------- */

.theme-motion-btn {
	transition: transform 0.25s var(--transition-smooth), background-color 0.3s var(--transition-smooth), color 0.3s var(--transition-smooth);
}

.theme-motion-btn:hover {
	transform: translateY(-2px) scale(1.04);
}

.theme-motion-btn:active {
	transform: scale(0.96);
}

@media (prefers-reduced-motion: reduce) {
	.theme-motion-btn:hover,
	.theme-motion-btn:active {
		transform: none;
	}
}

/* -------------------------------------------------------------------------
 * Scroll reveal (design uses per-element fade up with stagger)
 * ---------------------------------------------------------------------- */

.reveal-item {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
	transition-delay: var(--reveal-delay, 0s);
	will-change: opacity, transform;
}

/* Once revealed, the element must not keep a stacking or layout footprint
   that conflicts with the design's own utility classes. */
.reveal-item.is-visible {
	opacity: 1;
	transform: translateY(0);
	will-change: auto;
}

.reveal-item.theme-inline-reveal {
	display: inline-flex;
}

body.is-customizer .reveal-item,
.no-js .reveal-item {
	opacity: 1;
	transform: none;
	transition: none;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* -------------------------------------------------------------------------
 * Parallax + reveal images
 * ---------------------------------------------------------------------- */

.theme-parallax-img,
.theme-reveal-image-img {
	opacity: 0;
	filter: blur(12px);
}

.theme-parallax-img.is-loaded,
.theme-reveal-image-img.is-loaded {
	opacity: 1;
	filter: blur(0);
}

.theme-parallax-shimmer,
.theme-reveal-image-shimmer {
	transition: opacity 0.4s ease-out;
}

.theme-parallax-img.is-loaded ~ .theme-parallax-shimmer,
.theme-reveal-image-img.is-loaded ~ .theme-reveal-image-shimmer {
	opacity: 0;
}

/* -------------------------------------------------------------------------
 * Animated counters
 * ---------------------------------------------------------------------- */

.theme-countup {
	display: inline-block;
	font-variant-numeric: tabular-nums;
}

/* -------------------------------------------------------------------------
 * Shop filter: dual handle range
 * ---------------------------------------------------------------------- */

.price-range-wrapper {
	position: relative;
	height: 1.25rem;
}

.range-track-bg {
	position: relative;
}

.range-track-fill {
	left: 0;
	width: 100%;
}

.range-input {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	height: 1.25rem;
	margin: 0;
	padding: 0;
	background: transparent;
	-webkit-appearance: none;
	appearance: none;
	pointer-events: none;
	border: 0;
}

.range-input:focus {
	outline: none;
}

.range-input::-webkit-slider-runnable-track {
	height: 0.5rem;
	background: transparent;
	border: 0;
}

.range-input::-moz-range-track {
	height: 0.5rem;
	background: transparent;
	border: 0;
}

.range-input::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	pointer-events: auto;
	height: 1.25rem;
	width: 1.25rem;
	border-radius: 9999px;
	border: 2px solid hsl(var(--primary));
	background: hsl(var(--background));
	box-shadow: 0 1px 3px hsl(var(--foreground) / 0.25);
	cursor: pointer;
	margin-top: -0.375rem;
	transition: box-shadow 0.15s ease;
}

.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));
	box-shadow: 0 1px 3px hsl(var(--foreground) / 0.25);
	cursor: pointer;
}

.range-input:focus-visible::-webkit-slider-thumb {
	box-shadow: 0 0 0 3px hsl(var(--ring) / 0.4);
}

.range-input:focus-visible::-moz-range-thumb {
	box-shadow: 0 0 0 3px hsl(var(--ring) / 0.4);
}

.range-input--max {
	z-index: 3;
}

.range-input--min {
	z-index: 4;
}

[data-price-panel] {
	height: 0;
	opacity: 0;
	transition: height 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth);
}

[data-price-panel].is-open {
	height: auto;
	opacity: 1;
}

[data-price-toggle] [data-icon-chevron] {
	transition: transform 0.3s var(--transition-smooth);
}

/* -------------------------------------------------------------------------
 * Product cards
 * ---------------------------------------------------------------------- */

.theme-product-card-wrap {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
}

.theme-product-card-wrap > .theme-card-link {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: auto;
}

.theme-product-card-wrap > *:not(.theme-card-link) {
	pointer-events: none;
}

.theme-product-card-wrap .theme-card-add {
	pointer-events: auto;
	z-index: 3;
}

.theme-product-card-wrap .theme-product-card__img {
	transition: transform 0.7s var(--transition-smooth), opacity 0.5s ease;
}

.theme-product-card-wrap:hover .theme-product-card__img {
	transform: scale(1.04);
}

/* -------------------------------------------------------------------------
 * Single product
 * ---------------------------------------------------------------------- */

.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 {
	max-width: 100%;
	flex-wrap: wrap;
}

.single-product .theme-gallery-img {
	cursor: zoom-in;
}

#product-main-img .theme-gallery-shimmer.is-hidden {
	display: none;
}

.single-product .theme-gallery-thumb.is-active {
	border-color: hsl(var(--foreground));
}

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in,
.single-product .theme-product-description {
	overflow-wrap: break-word;
	word-break: break-word;
}

.theme-qty-input {
	appearance: textfield;
	-moz-appearance: textfield;
	width: 2.75rem;
	max-width: 3rem;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	height: auto;
}

.single-product .theme-quantity-wrapper {
	display: inline-flex;
	align-items: center;
}

.single-product .theme-quantity-wrapper .theme-qty-minus,
.single-product .theme-quantity-wrapper .theme-qty-plus {
	padding: 0.5rem 0.75rem;
	line-height: 1;
}

.single-product form.cart .quantity {
	display: inline-flex;
	align-items: center;
	width: auto;
	float: none;
	margin: 0;
}

.single-product form.cart .quantity .qty {
	width: 2.75rem;
	min-width: 44px;
	max-width: 3rem;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	height: auto;
}

.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.theme-option-pill[aria-pressed="true"].theme-theme-pill {
	background: hsl(var(--foreground));
	color: hsl(var(--background));
	border-color: hsl(var(--foreground));
}

.theme-option-pill[aria-pressed="true"].theme-addon-pill {
	background: hsl(var(--accent));
	color: hsl(var(--accent-foreground));
	border-color: hsl(var(--accent));
}

.theme-option-pill[data-attribute_name][aria-pressed="true"] {
	background: hsl(var(--foreground));
	color: hsl(var(--background));
	border-color: hsl(var(--foreground));
}

/* Native selects stay in the form for WooCommerce; the pills are the visible control. */
.single-product form.variations_form table.variations {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.single-product .variations {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 0.5rem;
}

.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: 0 0 0.25rem;
}

.single-product .variations tbody td.value {
	padding: 0;
}

.single-product .variations tbody td.label label {
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
}

/* Quantity + CTA stack like Lovable (quantity inline, button full width). */
.single-product .theme-add-to-cart-area {
	display: block;
	width: 100%;
}

/* The design stacks the theme and add-on pickers as full width blocks; the
   options themselves wrap inside them. */
.single-product .theme-theme-picker .flex,
.single-product .theme-addon-picker .flex {
	flex-wrap: wrap;
}

.single-product .single_add_to_cart_button {
	width: 100%;
}

.single-product .single_add_to_cart_button.button:disabled,
.single-product .single_add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}

.single-product .single_add_to_cart_button.button:disabled:hover,
.single-product .single_add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
}

/* Variation stock / price notice from WooCommerce */
.single-product .woocommerce-variation-price,
.single-product .woocommerce-variation-availability {
	font-family: var(--font-body);
	color: hsl(var(--muted-foreground));
	margin-bottom: 0.75rem;
}

.single-product .single_variation_wrap {
	display: block;
	border: 0;
	padding: 0;
	margin: 0;
}

.single-product .woocommerce-variation-add-to-cart {
	display: block;
}

/* -------------------------------------------------------------------------
 * Cart drawer
 * ---------------------------------------------------------------------- */

#theme-cart-drawer {
	transform: translateX(100%);
	transition: transform 0.3s var(--transition-smooth);
	visibility: hidden;
}

body.cart-open #theme-cart-drawer {
	transform: translateX(0);
	visibility: visible;
}

#theme-cart-overlay {
	position: fixed;
	inset: 0;
	background: hsl(var(--foreground) / 0.2);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s var(--transition-smooth), visibility 0.3s var(--transition-smooth);
	z-index: 40;
}

body.cart-open #theme-cart-overlay {
	opacity: 1;
	visibility: visible;
}

#theme-cart-drawer.is-updating > * {
	opacity: 0.6;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.theme-cart-count:empty {
	display: none;
}

/* Hide "View cart" injected by WooCommerce after an AJAX add. */
body a.added_to_cart.wc-forward,
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward {
	display: none !important;
}

/* -------------------------------------------------------------------------
 * Add to cart button locking
 * ---------------------------------------------------------------------- */

.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,
.ajax_add_to_cart.added::after {
	display: none !important;
}

/* -------------------------------------------------------------------------
 * Contact dialog
 * ---------------------------------------------------------------------- */

#theme-contact-modal {
	z-index: 60;
}

[data-contact-content] {
	transform: translate(-50%, -50%) scale(0.95);
	opacity: 0;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

#theme-contact-modal[data-open="true"] [data-contact-content] {
	transform: translate(-50%, -50%) scale(1);
	opacity: 1;
}

[data-contact-overlay] {
	opacity: 0;
	transition: opacity 0.2s ease;
	background: hsl(0 0% 0% / 0.8);
}

#theme-contact-modal[data-open="true"] [data-contact-overlay] {
	opacity: 1;
}

.theme-contact-success-mark {
	animation: theme-success-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes theme-success-pop {
	from {
		transform: scale(0);
	}
	to {
		transform: scale(1);
	}
}

/* -------------------------------------------------------------------------
 * FAQ
 * ---------------------------------------------------------------------- */

[data-faq-toggle] .lucide-chevron-down {
	transition: transform 0.2s ease;
}

[data-faq-toggle][aria-expanded="true"] .lucide-chevron-down {
	transform: rotate(180deg);
}

/* -------------------------------------------------------------------------
 * WooCommerce notices, general generated markup
 * ---------------------------------------------------------------------- */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem;
	border: 1px solid hsl(var(--border));
	border-left-width: 3px;
	border-radius: var(--radius);
	background: hsl(var(--card));
	color: hsl(var(--foreground));
	font-family: var(--font-body);
	font-size: 0.9375rem;
	line-height: 1.6;
}

.woocommerce-message {
	border-left-color: hsl(var(--accent));
}

.woocommerce-info {
	border-left-color: hsl(var(--primary));
}

.woocommerce-error {
	border-left-color: hsl(var(--destructive));
}

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
	color: hsl(var(--primary));
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Variable products add via native POST and the drawer intentionally does not
   open afterwards, so the confirmation notice must stay visible there. */
.single-product .woocommerce-message,
.single-product .woocommerce-info {
	display: block;
	margin: 0 0 1.5rem;
}

#theme-cart-drawer .woocommerce-message,
#theme-cart-drawer .woocommerce-info {
	display: none;
}

.woocommerce-notices-wrapper:empty {
	display: none;
}

/* Screen reader text */
.screen-reader-text,
.woocommerce .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;
}

/* -------------------------------------------------------------------------
 * Shop / archive generated markup
 * ---------------------------------------------------------------------- */

.theme-shop-toolbar .woocommerce-result-count {
	margin: 0;
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
}

.theme-shop-toolbar .woocommerce-ordering {
	margin: 0;
}

.theme-shop-toolbar .woocommerce-ordering select {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: hsl(var(--foreground));
	background: hsl(var(--background));
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	padding: 0.5rem 0.75rem;
}

.theme-product-grid {
	display: grid;
	list-style: none;
	margin: 0;
	padding: 0;
}

.theme-product-grid > li {
	list-style: none;
}

.shop-pagination,
.theme-shop-pagination .woocommerce-pagination {
	text-align: center;
}

.theme-shop-pagination ul.page-numbers {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: var(--font-body);
}

.theme-shop-pagination ul.page-numbers li {
	list-style: none;
}

.theme-shop-pagination ul.page-numbers .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	border: 1px solid hsl(var(--border));
	border-radius: 9999px;
	color: hsl(var(--foreground));
	font-size: 12px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.theme-shop-pagination ul.page-numbers .page-numbers:hover,
.theme-shop-pagination ul.page-numbers .page-numbers.current {
	background: hsl(var(--primary));
	border-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
}

/* -------------------------------------------------------------------------
 * Checkout (WooCommerce blocks)
 * ---------------------------------------------------------------------- */

.main-content-offset {
	display: block;
}

body.woocommerce-checkout .entry-content {
	max-width: 100%;
}

body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main,
body.theme-thankyou-page .site-main {
	padding-top: 1rem;
	padding-bottom: 4rem;
}

body.woocommerce-checkout .wc-block-checkout {
	display: block;
}

/* WooCommerce blocks puts .wc-block-checkout on BOTH the outer wrapper and the
   inner sidebar layout. Only the inner one owns the two column split, so the
   outer wrapper is forced to block above and the grid rule below targets the
   sidebar layout that is the direct parent of __main and __sidebar. */
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		align-items: start;
		width: 100%;
		max-width: none;
	}
}

body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout .wc-block-components-main,
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout .wc-block-components-sidebar {
	min-width: 0;
	width: auto;
	max-width: none;
}

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-checkout__main {
	order: 1;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	order: 2;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: hsl(var(--card));
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	padding: 1.5rem;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
	grid-column: 1 / -1;
	border-radius: var(--radius);
	background: hsl(var(--card));
	border-color: hsl(var(--border));
	font-family: var(--font-body);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button:not(.is-link) {
	background-color: hsl(var(--primary)) !important;
	color: hsl(var(--primary-foreground)) !important;
	border-radius: 9999px !important;
	font-family: var(--font-body) !important;
	font-size: 12px !important;
	letter-spacing: 0.22em !important;
	text-transform: uppercase !important;
	font-weight: 600 !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout .wc-block-components-button:not(.is-link):hover {
	background-color: hsl(var(--background)) !important;
	color: hsl(var(--primary)) !important;
}

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 textarea,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input {
	font-family: var(--font-body) !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: var(--radius) !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-blocks-components-select__select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus {
	outline: none !important;
	border-color: hsl(var(--primary)) !important;
	box-shadow: 0 0 0 2px hsl(var(--ring) / 0.35) !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-checkout__sidebar h2,
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__title {
	font-family: var(--font-display) !important;
	color: hsl(var(--foreground)) !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-product-name,
body.woocommerce-checkout .wc-block-cart-items__row .wc-block-components-product-name {
	font-family: var(--font-body) !important;
	color: hsl(var(--foreground)) !important;
}

body.woocommerce-checkout .wc-block-cart-items td,
body.woocommerce-checkout .wc-block-components-totals-item {
	border-color: hsl(var(--border)) !important;
	font-family: var(--font-body) !important;
}

body.woocommerce-checkout .wc-block-cart-item__image img {
	border-radius: calc(var(--radius) - 2px);
}

/* Cart and account pages share the checkout container alignment. */
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content,
body.theme-thankyou-page .entry-content {
	max-width: 100%;
}

body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar {
	min-width: 0;
}

body.woocommerce-cart .wc-block-cart-items__row,
body.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
}

/* -------------------------------------------------------------------------
 * Order received page
 * ---------------------------------------------------------------------- */

body.theme-thankyou-page {
	overflow-x: hidden;
}

body.theme-thankyou-page .woocommerce-order {
	font-family: var(--font-body);
	color: hsl(var(--foreground));
}

body.theme-thankyou-page .woocommerce-notice--success {
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem;
	border: 1px solid hsl(var(--border));
	border-left: 3px solid hsl(var(--accent));
	border-radius: var(--radius);
	background: hsl(var(--card));
	font-family: var(--font-body);
	font-size: 1rem;
}

body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title,
body.theme-thankyou-page .woocommerce-column__title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	color: hsl(var(--foreground));
	padding: 0 0 1rem;
}

body.theme-thankyou-page .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	border: 0;
}

body.theme-thankyou-page .woocommerce-order-overview li {
	list-style: none;
	flex: 1 1 12rem;
	margin: 0;
	padding: 1rem 1.25rem;
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	background: hsl(var(--card));
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
}

body.theme-thankyou-page .woocommerce-order-overview li strong {
	display: block;
	margin-top: 0.25rem;
	color: hsl(var(--foreground));
	font-weight: 600;
}

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));
	text-align: left;
	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;
}

/* -------------------------------------------------------------------------
 * Generic WordPress content inside the theme
 * ---------------------------------------------------------------------- */

.entry-content {
	font-family: var(--font-body);
	color: hsl(var(--foreground));
}

.entry-content a {
	color: hsl(var(--primary));
	text-decoration: underline;
	text-underline-offset: 2px;
}

.page-title {
	max-width: 100%;
}

/* -------------------------------------------------------------------------
 * Reduced motion
 * ---------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.theme-loader-ring,
	.theme-loader-bar,
	.theme-contact-success-mark {
		animation: none;
	}

	#theme-cart-drawer,
	#theme-cart-overlay,
	.theme-motion-btn {
		transition: none;
	}
}
