/*
 * Theme styles.
 *
 * Only covers markup that has no source equivalent (WordPress and WooCommerce
 * generated markup) plus the functional rules the design needs at runtime.
 * All visual styling of source elements comes from app.css.
 */

/* ==========================================================================
   0. Functional base
   ========================================================================== */

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

:root {
	--theme-ease: cubic-bezier(0.25, 0.4, 0.25, 1);
	--theme-header-height: 88px;
	--theme-header-height-md: 112px;
}

@media (min-width: 768px) {
	:root {
		--theme-header-height: 112px;
	}
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--theme-header-height) + 12px);
}

body {
	background-color: hsl(var(--background));
	color: hsl(var(--foreground));
}

/* Inner pages sit below the fixed header; the home hero starts at the top. */
body.theme-no-hero .site-main,
body.theme-no-hero .theme-page,
body.theme-no-hero .theme-single-product,
body.theme-no-hero .theme-shop-archive {
	padding-top: 1.5rem;
}

/* ==========================================================================
   1. Logos
   ========================================================================== */

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

.site-logo-img--header-mobile {
	height: 68px !important;
}

.site-logo-img--footer {
	height: 96px !important;
}

@media (min-width: 768px) {
	.site-logo-img--footer {
		height: 128px !important;
	}
}

.site-logo-text {
	line-height: 1.1;
	display: block;
}

/* ==========================================================================
   2. Navigation
   ========================================================================== */

.theme-nav-list {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.theme-nav-list li {
	margin: 0;
	padding: 0;
}

.theme-nav-anchor {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0;
	height: 2.75rem;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: hsl(var(--foreground) / 0.85);
	background: none;
	border: 0;
	cursor: pointer;
	transition: color 0.15s ease;
}

.theme-nav-anchor::after {
	content: "";
	position: absolute;
	bottom: -0.375rem;
	left: 0;
	height: 2px;
	width: 100%;
	background-color: hsl(var(--accent));
	transform-origin: right;
	transform: scaleX(0);
	transition: transform 0.3s ease;
}

.theme-nav-anchor:hover {
	color: hsl(var(--accent));
}

.theme-nav-anchor:hover::after {
	transform-origin: left;
	transform: scaleX(1);
}

.theme-mobile-nav {
	display: flex;
	flex-direction: column;
	list-style: none;
	margin: 0;
	padding: 0;
}

.theme-mobile-nav-anchor {
	display: flex;
	align-items: center;
	width: 100%;
	padding: 1rem 0;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: inherit;
	border-bottom: 1px solid hsl(var(--border) / 0.6);
	transition: color 0.15s ease;
}

.theme-mobile-nav li:last-child .theme-mobile-nav-anchor {
	border-bottom: 0;
}

.theme-mobile-nav-anchor:hover {
	color: hsl(var(--accent));
}

body.cart-open {
	overflow: hidden;
}

/* ==========================================================================
   4. Page loader (the design shows it until the page has settled)
   ========================================================================== */

.theme-page-loader {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: hsl(var(--background));
	opacity: 1;
	transition: opacity 0.6s var(--theme-ease);
}

.theme-page-loader.is-hiding {
	opacity: 0;
}

.theme-page-loader__badge {
	animation: themeLoaderWobble 2.4s ease-in-out infinite;
}

@keyframes themeLoaderWobble {
	0%,
	100% {
		transform: rotate(0deg);
	}
	25% {
		transform: rotate(8deg);
	}
	75% {
		transform: rotate(-8deg);
	}
}

.theme-page-loader__bar {
	animation: themeLoaderSlide 1.2s ease-in-out infinite;
}

@keyframes themeLoaderSlide {
	0% {
		transform: translateX(-100%);
	}
	100% {
		transform: translateX(200%);
	}
}

body.is-customizer .theme-page-loader {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.theme-page-loader__badge,
	.theme-page-loader__bar {
		animation: none;
	}
}

/* ==========================================================================
   5. Hero entrance animation (mirrors the design's motion values)
   ========================================================================== */

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

@keyframes themeHeroZoom {
	from {
		transform: scale(1.06);
	}
	to {
		transform: scale(1);
	}
}

@keyframes themeRiseIn {
	from {
		opacity: 0;
		transform: translateY(var(--theme-rise, 18px));
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.theme-hero-reveal {
	animation: themeHeroFade 1.1s var(--theme-ease) both;
}

.theme-hero-video {
	animation: themeHeroZoom 16s ease-out both;
}

.theme-hero-title {
	animation: themeRiseIn 1s 0.3s var(--theme-ease) both;
	--theme-rise: 22px;
}

.theme-hero-text {
	animation: themeRiseIn 0.7s 0.6s var(--theme-ease) both;
	--theme-rise: 16px;
}

.theme-hero-cta-1,
.theme-hero-cta-2 {
	animation: themeRiseIn 0.7s 0.85s var(--theme-ease) both;
	--theme-rise: 14px;
}

.theme-hero-cta-1:hover {
	transform: translateY(-2px) scale(1.04);
}

.theme-hero-cta-1:active {
	transform: scale(0.96);
}

.theme-hero-cta-1 {
	transition: background-color 0.15s ease, transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   5. Scroll reveal
   ========================================================================== */

.theme-reveal {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.7s var(--theme-ease), transform 0.7s var(--theme-ease);
	will-change: opacity, transform;
}

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

/* Fallbacks: the Customizer preview and no-JS / no-observer contexts */
body.is-customizer .theme-reveal,
.no-reveal .theme-reveal {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.theme-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.theme-hero-reveal,
	.theme-hero-video,
	.theme-hero-title,
	.theme-hero-text,
	.theme-hero-cta-1,
	.theme-hero-cta-2 {
		animation: none;
	}

	html {
		scroll-behavior: auto;
	}
}

/* ==========================================================================
   6. Product cards
   ========================================================================== */

.theme-product-card-wrap > .theme-product-card__media {
	transition: transform 0.28s cubic-bezier(0.3, 1.35, 0.55, 1);
}

.theme-product-card-wrap:hover > .theme-product-card__media {
	transform: translateY(-3px);
}

.theme-product-card__image {
	transition: transform 0.7s var(--theme-ease), opacity 0.5s linear;
}

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

.theme-card-link {
	display: block;
	z-index: 1;
}

.theme-product-card-wrap {
	position: relative;
	display: block;
	text-decoration: none;
	color: inherit;
}

.theme-product-card-wrap[hidden],
[data-blog-grid] > [hidden] {
	display: none;
}

.theme-card-add {
	z-index: 3;
	pointer-events: auto;
	display: block;
	text-decoration: none;
}

.theme-product-card__price .price,
.theme-product-price .price {
	font-family: var(--font-body);
	color: inherit;
}

.theme-product-card__price .price del,
.theme-product-price del {
	opacity: 0.55;
	margin-right: 0.375rem;
}

.theme-product-card__price .price ins,
.theme-product-price ins {
	text-decoration: none;
	font-weight: 600;
}

.theme-product-card__price .woocommerce-Price-currencySymbol,
.theme-product-price .woocommerce-Price-currencySymbol {
	font-size: 0.9em;
}

/* Archive cards fill their grid cell */
.theme-shop-archive .theme-product-card-wrap,
.theme-shop-grid-item {
	height: 100%;
}

/* ==========================================================================
   7. Shop price filter
   ========================================================================== */

.theme-price-panel {
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: max-height 0.3s var(--theme-ease), opacity 0.3s var(--theme-ease);
}

.theme-price-panel.is-open {
	max-height: 12rem;
	opacity: 1;
}

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

.range-track-bg,
.range-track-fill {
	position: absolute;
	top: 50%;
	height: 0.5rem;
	transform: translateY(-50%);
	border-radius: 9999px;
	pointer-events: none;
}

.range-track-bg {
	left: 0;
	right: 0;
	background-color: hsl(var(--secondary));
}

.range-track-fill {
	background-color: hsl(var(--primary));
	left: 0;
	width: 100%;
}

.range-input {
	position: absolute;
	left: 0;
	top: 50%;
	width: 100%;
	height: 0.5rem;
	margin: 0;
	padding: 0;
	background: transparent;
	transform: translateY(-50%);
	-webkit-appearance: none;
	appearance: none;
	pointer-events: none;
}

.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;
	box-sizing: border-box;
	height: 1.25rem;
	width: 1.25rem;
	margin-top: -0.375rem;
	border-radius: 9999px;
	border: 2px solid hsl(var(--primary));
	background-color: hsl(var(--background));
	cursor: pointer;
	transition: box-shadow 0.15s ease;
}

.range-input::-moz-range-thumb {
	pointer-events: auto;
	box-sizing: border-box;
	height: 1.25rem;
	width: 1.25rem;
	border-radius: 9999px;
	border: 2px solid hsl(var(--primary));
	background-color: hsl(var(--background));
	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;
}

/* ==========================================================================
   8. Parallax image
   ========================================================================== */

.theme-parallax {
	position: relative;
	overflow: hidden;
}

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

/* The story image fills its rounded frame; the wrapper is the positioning context. */
.theme-parallax {
	position: relative;
}

.theme-parallax .theme-parallax-image {
	position: absolute;
	inset: 0;
	will-change: transform;
}

.theme-parallax::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, hsl(var(--muted) / 0.35), transparent 45%);
	pointer-events: none;
}

/* ==========================================================================
   9. FAQ accordion
   ========================================================================== */

.theme-faq-answer {
	animation: themeHeroFade 0.3s ease-out both;
}

/* ==========================================================================
   10. Contact dialog
   ========================================================================== */

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

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

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

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

#theme-contact-modal[data-state="open"] [data-contact-dialog] {
	animation: themeDialogIn 0.2s ease-out both;
}

#theme-contact-modal[data-state="open"] [data-contact-overlay] {
	animation: themeOverlayIn 0.2s ease-out both;
}

#theme-contact-modal[data-state="closing"] [data-contact-dialog] {
	animation: themeDialogOut 0.2s ease-in both;
}

#theme-contact-modal[data-state="closing"] [data-contact-overlay] {
	animation: themeOverlayOut 0.2s ease-in both;
}

.theme-contact-success-pop {
	animation: themeHeroFade 0.4s ease-out both, themeRiseIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* ==========================================================================
   11. Cart drawer
   ========================================================================== */

#theme-cart-overlay {
	position: fixed;
	inset: 0;
	background-color: hsl(var(--foreground) / 0.2);
	z-index: 49;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.cart-open #theme-cart-overlay {
	opacity: 1;
	visibility: visible;
}

.theme-cart-drawer {
	transform: translateY(100%);
	visibility: hidden;
	transition: transform 0.35s var(--theme-ease), visibility 0.35s var(--theme-ease);
	overflow: hidden;
}

body.cart-open .theme-cart-drawer {
	transform: translateY(0);
	visibility: visible;
}

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

.theme-cart-thumb {
	display: block;
}

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

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

/* ==========================================================================
   12. Add-to-cart buttons: functional 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;
}

.single-product .single_add_to_cart_button.added::after {
	display: none !important;
}

/* ==========================================================================
   13. Single product
   ========================================================================== */

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

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

.theme-single-product .theme-thumb {
	display: block;
	cursor: pointer;
}

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

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

.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;
	width: auto;
	padding: 1rem 1.5rem;
	border-radius: 9999px;
	background-color: hsl(var(--foreground));
	color: hsl(var(--background));
	font-family: var(--font-body);
	font-size: 0.75rem;
	line-height: 1rem;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	font-weight: 500;
	border: 0;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.single-product .theme-add-to-cart-area .single_add_to_cart_button:hover {
	background-color: hsl(var(--foreground) / 0.9);
}

.theme-quantity-wrapper .theme-qty-input {
	-moz-appearance: textfield;
	appearance: textfield;
	background: transparent;
	border: 0;
	outline: none;
}

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

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

.theme-variation-price:empty {
	display: none;
}

/* The design shows one price above the CTA, so the injected variation
   price/availability/description rows stay out of the purchase block. */
.single-product .single_variation_wrap .woocommerce-variation-price,
.single-product .single_variation_wrap .woocommerce-variation-availability,
.single-product .single_variation_wrap .woocommerce-variation-description {
	display: none;
}

/* Variation attributes: labels above the pills, native select hidden */
.single-product .variations {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 0.75rem;
}

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

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

.single-product .variations .label label {
	display: block;
	margin: 0 0 0.75rem 0;
	font-family: var(--font-body);
	font-size: 13px;
	line-height: 18px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
}

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

.theme-attribute-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.theme-attr-pill {
	font-family: var(--font-body);
	background: transparent;
	cursor: pointer;
}

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

.single_variation_wrap {
	margin-top: 0.5rem;
}

.woocommerce-variation-price {
	margin-bottom: 0.75rem;
	font-family: var(--font-body);
	font-size: 1.25rem;
	color: hsl(var(--foreground));
}

.woocommerce-variation-availability p.stock {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
	margin-bottom: 0.5rem;
}

.woocommerce-variation-add-to-cart .quantity {
	display: none;
}

/* ==========================================================================
   14. Notices
   ========================================================================== */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
	font-family: var(--font-body);
	font-size: 0.9375rem;
	line-height: 1.6;
	border-radius: 0.75rem;
	border: 1px solid hsl(var(--border));
	background-color: hsl(var(--card));
	color: hsl(var(--foreground));
	padding: 1rem 1.25rem;
	margin: 0 0 1.5rem;
	list-style: none;
}

.woocommerce-error {
	border-color: hsl(var(--destructive) / 0.4);
	background-color: hsl(var(--destructive) / 0.06);
}

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

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
	font-family: var(--font-body);
	font-size: 0.75rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	border-radius: 9999px;
	border: 1px solid hsl(var(--primary));
	color: hsl(var(--primary));
	background: transparent;
	padding: 0.5rem 1.25rem;
}

/* Only hide notices where the drawer already reports the result */
.single-product .woocommerce-message,
.single-product .woocommerce-info:not(.woocommerce-info--checkout) {
	display: none;
}

#theme-cart-drawer .woocommerce-message {
	display: none;
}

/* ==========================================================================
   15. Shop / archive pagination
   ========================================================================== */

.woocommerce-pagination ul,
.wc-block-components-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	justify-content: center;
	margin: 0;
	padding: 0;
}

.woocommerce-pagination ul li {
	border: 0;
}

.woocommerce-pagination a,
.woocommerce-pagination span.page-numbers,
.wc-block-components-pagination__page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	border-radius: 9999px;
	border: 1px solid hsl(var(--border));
	font-family: var(--font-body);
	font-size: 0.8125rem;
	color: hsl(var(--foreground));
	text-decoration: none;
}

.woocommerce-pagination span.current,
.wc-block-components-pagination__page--active {
	background-color: hsl(var(--primary));
	border-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
}

/* ==========================================================================
   16. Checkout: native Checkout Block
   ========================================================================== */

body.woocommerce-checkout .site-main {
	padding-top: var(--theme-header-height);
	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-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		align-items: start;
	}
}

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

body.woocommerce-checkout .wc-block-checkout .wc-block-components-notice-banner {
	grid-column: 1 / -1;
}

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-title,
body.woocommerce-checkout .wc-block-checkout__sidebar h2,
body.woocommerce-checkout .wc-block-components-checkout-step__title {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 0;
	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-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: calc(var(--radius) - 2px) !important;
	box-shadow: 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,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input:focus {
	border-color: hsl(var(--primary)) !important;
	box-shadow: 0 0 0 1px hsl(var(--primary)) !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-text-input label,
body.woocommerce-checkout .wc-block-components-select label,
body.woocommerce-checkout .wc-blocks-components-select label {
	font-family: var(--font-body) !important;
	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 {
	font-family: var(--font-body) !important;
	font-size: 12px !important;
	letter-spacing: 0.22em !important;
	text-transform: uppercase !important;
	font-weight: 600 !important;
	background-color: hsl(var(--primary)) !important;
	color: hsl(var(--primary-foreground)) !important;
	border: 1px solid hsl(var(--primary)) !important;
	border-radius: 9999px !important;
	padding: 1rem 2rem !important;
	height: auto !important;
	transition: background-color 0.15s ease, color 0.15s ease !important;
}

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-components-button {
	font-family: var(--font-body);
	border-radius: 9999px;
}

body.woocommerce-checkout .wc-block-cart-items__row,
body.woocommerce-checkout .wc-block-components-order-summary-item {
	font-family: var(--font-body);
}

body.woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-components-order-summary-item__description {
	font-family: var(--font-body);
	color: hsl(var(--foreground));
}

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

body.woocommerce-checkout .wc-block-components-checkbox__label,
body.woocommerce-checkout .wc-block-components-radio-control__label {
	font-family: var(--font-body);
}

body.woocommerce-checkout .page-title {
	max-width: none;
}

/* Cart and account pages use the same container and insets as checkout */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: var(--theme-header-height);
	padding-bottom: 4rem;
}

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

/* ==========================================================================
   17. Thank-you 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-thankyou-order-received,
body.theme-thankyou-page .woocommerce-notice {
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.7;
	color: hsl(var(--muted-foreground));
	text-align: center;
	margin: 0 auto 2rem;
	max-width: 34rem;
}

body.theme-thankyou-page .theme-thankyou .woocommerce-order {
	max-width: 820px;
	margin: 0 auto;
}

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

body.theme-thankyou-page .woocommerce-order-overview li {
	flex: 1 1 10rem;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: hsl(var(--muted-foreground));
}

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

body.theme-thankyou-page .woocommerce-order-details,
body.theme-thankyou-page .woocommerce-customer-details {
	margin-bottom: 2.5rem;
}

body.theme-thankyou-page 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;
	padding: 0 0 1rem 0;
	color: hsl(var(--foreground));
}

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

body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table 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;
	font-size: 0.9375rem;
	line-height: 1.7;
}

/* ==========================================================================
   18. WordPress core blocks inside content
   ========================================================================== */

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

.entry-content h2,
.entry-content h3 {
	font-family: var(--font-display);
	color: hsl(var(--foreground));
}

.entry-content p,
.entry-content li {
	font-family: var(--font-body);
	line-height: 1.75;
}

.entry-content a {
	color: hsl(var(--primary));
	text-decoration: underline;
	text-underline-offset: 2px;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.25rem;
}

.page-title {
	font-family: var(--font-display);
}

/* ==========================================================================
   19. Forms without a source equivalent (comments, search)
   ========================================================================== */

.search-form {
	display: flex;
	gap: 0.5rem;
	max-width: 28rem;
}

.search-form .search-field {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.625rem 0.75rem;
	font-family: var(--font-body);
	font-size: 1rem;
	color: hsl(var(--foreground));
	background-color: hsl(var(--background));
	border: 1px solid hsl(var(--border));
	border-radius: calc(var(--radius) - 2px);
}

.search-form .search-submit {
	padding: 0.625rem 1.25rem;
	font-family: var(--font-body);
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 600;
	color: hsl(var(--primary-foreground));
	background-color: hsl(var(--primary));
	border: 1px solid hsl(var(--primary));
	border-radius: 9999px;
	cursor: pointer;
}

.posts-navigation a,
.nav-links a {
	font-family: var(--font-body);
	color: hsl(var(--primary));
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* ==========================================================================
   20. Ordering notes for WooCommerce pages
   ========================================================================== */

.woocommerce-cart .wc-block-cart,
.woocommerce-cart .woocommerce {
	font-family: var(--font-body);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 0.625rem 0;
	font-family: var(--font-body);
	font-size: 0.9375rem;
	color: hsl(var(--foreground));
	text-decoration: none;
	border-bottom: 1px solid hsl(var(--border));
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	color: hsl(var(--primary));
	font-weight: 600;
}

/* ==========================================================================
   Icon sizes
   A parent [&_svg]:size-4 rule is as specific as a utility on the svg and
   loads first, so it shrinks every icon inside a button to 16px. These
   rules restore the size written on the icon. Equal specificity, later file.
   ========================================================================== */

svg.w-3 { width: 0.75rem; }
svg.h-3 { height: 0.75rem; }
svg.w-3\.5 { width: 0.875rem; }
svg.h-3\.5 { height: 0.875rem; }
svg.w-4 { width: 1rem; }
svg.h-4 { height: 1rem; }
svg.w-5 { width: 1.25rem; }
svg.h-5 { height: 1.25rem; }
svg.w-7 { width: 1.75rem; }
svg.h-7 { height: 1.75rem; }
svg.w-8 { width: 2rem; }
svg.h-8 { height: 2rem; }
svg.w-9 { width: 2.25rem; }
svg.h-9 { height: 2.25rem; }
svg.w-10 { width: 2.5rem; }
svg.h-10 { height: 2.5rem; }
svg.w-12 { width: 3rem; }
svg.h-12 { height: 3rem; }
svg.w-16 { width: 4rem; }
svg.h-16 { height: 4rem; }

@media (min-width: 768px) {
	svg.md\:w-10 { width: 2.5rem; }
	svg.md\:h-10 { height: 2.5rem; }
}
