/*
 * Functional styles and styling for WordPress/WooCommerce markup that has no
 * counterpart in the original design.
 *
 * Every element that exists in the original design keeps its own utility
 * classes from app.css; nothing here restyles those elements.
 */

html:has(body.is-customizer) {
	scroll-behavior: auto !important;
}

/* -------------------------------------------------------------------------
 * Reveal pipeline fallbacks
 * ---------------------------------------------------------------------- */

body.is-customizer [data-aos],
body.no-js [data-aos],
body.theme-reveal-fallback [data-aos] {
	opacity: 1 !important;
	transform: none !important;
	filter: none !important;
}

body.is-customizer .hero-reveal,
body.no-js .hero-reveal {
	opacity: 1 !important;
	transform: none !important;
	filter: none !important;
}

/* Product cards rendered by shared partials must never start hidden. */
.theme-product-card-wrap [data-aos] {
	opacity: 1;
	transform: none;
}

/* -------------------------------------------------------------------------
 * Header
 * ---------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	inset-inline: 0;
	z-index: 50;
	width: 100%;
}

/* WordPress admin bar: keep sticky chrome below the bar in preview and logged-in views. */
body.admin-bar .site-header,
body.admin-bar [data-scroll-progress] {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .site-header,
	body.admin-bar [data-scroll-progress] {
		top: 46px;
	}
}

/* -------------------------------------------------------------------------
 * Pointer affordance
 * ---------------------------------------------------------------------- */

a[href],
button:not(:disabled),
input[type="submit"],
input[type="button"],
input[type="reset"],
select,
summary,
[role="button"],
.theme-nav-link,
[data-cart-open],
[data-menu-toggle],
[data-scroll-to],
[data-scroll-top],
[data-faq-toggle],
.theme-card-link,
.theme-attr-pill,
.theme-reset-variations,
.reset_variations,
label[for] {
	cursor: pointer;
}

.theme-cart-count:empty {
	display: none;
}

/* Source badge sizing for the WooCommerce-derived count. */
.theme-cart-count {
	position: absolute;
	top: -2px;
	right: -2px;
}

.header-compact-brand .site-logo-img {
	height: 3rem;
	width: 3rem;
	object-fit: contain;
}

.site-logo-img {
	height: var(--logo-height, 224px);
	width: auto;
	display: block;
}

.site-logo-text {
	display: block;
	line-height: var(--logo-height, 224px);
}

#theme-mobile-menu[hidden] {
	display: none !important;
}

/* -------------------------------------------------------------------------
 * Accessibility utilities (absent from the compiled design CSS)
 * ---------------------------------------------------------------------- */

[hidden] {
	display: none !important;
}

.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));
	border-radius: 3px;
	box-shadow: 0 0 2px 2px hsl(var(--foreground) / 0.3);
	clip: auto !important;
	clip-path: none;
	color: hsl(var(--primary));
	display: block;
	font-size: 15px;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* -------------------------------------------------------------------------
 * Video scrims (replacing the source's inline gradient styles)
 * ---------------------------------------------------------------------- */

[data-video-scrim="hero"] {
	background: linear-gradient(
		180deg,
		hsl(var(--video-overlay) / 0.56) 0%,
		hsl(var(--video-overlay) / 0.48) 45%,
		hsl(var(--video-overlay) / 0.62) 100%
	);
}

[data-video-scrim="cta"] {
	background: linear-gradient(
		180deg,
		hsl(var(--video-overlay) / 0.56) 0%,
		hsl(var(--video-overlay) / 0.48) 50%,
		hsl(var(--video-overlay) / 0.62) 100%
	);
}

/* -------------------------------------------------------------------------
 * Motion parity
 * ---------------------------------------------------------------------- */

@media (motion-safe: no-preference) {
	:root {
		--header-height: 5rem;
	}
}

/* About value props: three columns on small screens (desktop unchanged at sm+). */
@media (max-width: 639px) {
	#about .theme-about-stats {
		gap: 0.625rem;
	}

	#about .theme-about-stats > * {
		min-width: 0;
	}
}

/* -------------------------------------------------------------------------
 * Shop grid rows: source grid classes handle columns; these only guarantee
 * that generated WooCommerce cards stretch like the design cards.
 * ---------------------------------------------------------------------- */

.theme-product-card-wrap {
	display: block;
	height: 100%;
	min-width: 0;
}

/* Collapsed shop row: hidden cards must not reserve grid rows. */
[data-shop-grid] > [hidden],
[data-shop-grid] > .hidden {
	display: none !important;
}

/* -------------------------------------------------------------------------
 * Product card interaction pattern (link overlay + floating controls)
 * ---------------------------------------------------------------------- */

.theme-product-card {
	position: relative;
}

.theme-product-card .theme-card-link {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: auto;
}

.theme-product-card *:not(.theme-card-link) {
	pointer-events: none;
}

.theme-product-card .theme-card-control,
.theme-product-card .theme-card-control *,
.theme-product-card .theme-card-link {
	pointer-events: auto;
}

/* The overlay link is absolutely positioned, so the actions row needs an
   explicit stacking level to sit above it. */
.theme-product-card .theme-card-actions {
	position: absolute;
	z-index: 3;
}

.theme-product-card .theme-card-control {
	position: relative;
	z-index: 3;
}

/* Source hover behaviour, driven from the card so the overlay cannot block it. */
.theme-product-card:hover .product-zoom {
	transform: translateZ(0) scale(1.06);
}

.theme-product-card:hover .theme-card-veil {
	opacity: 1;
}

.theme-product-card:hover .theme-card-actions {
	opacity: 1;
}

.theme-product-card:hover .theme-card-shell {
	--tw-translate-y: -0.5rem;
	transform: translate3d(0, -0.5rem, 0);
	border-color: hsl(var(--accent) / 0.6);
	box-shadow: var(--shadow-elevated);
}

.theme-product-card:hover .theme-card-title {
	color: hsl(var(--primary));
}

.theme-product-card .theme-card-title {
	transition: color 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-card-veil,
.theme-card-actions {
	opacity: 0;
	transition: opacity 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-card-shell {
	transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1),
		border-color 500ms cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* -------------------------------------------------------------------------
 * WooCommerce: buttons inherit the design button look only where the design
 * has no equivalent control.
 * ---------------------------------------------------------------------- */

.theme-wc-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 3rem;
	padding: 0 1.75rem;
	border-radius: 9999px;
	border: 1px solid hsl(var(--primary));
	background-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	font-family: "Nunito Sans", system-ui, sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	transition: transform 150ms ease-out, box-shadow 150ms ease-out, background-color 150ms ease-out;
}

.theme-wc-button:hover {
	transform: scale(1.02);
	box-shadow: 0 4px 6px -1px hsl(var(--foreground) / 0.1);
}

/* Disabled variation state must never look interactive. */
.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;
	transform: none !important;
}

/* Hide the "View cart" link WooCommerce injects 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;
}

/* Add-to-cart lock state. */
.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 layout
 * ---------------------------------------------------------------------- */

.single-product .theme-product-layout,
.single-product .theme-product-gallery,
.single-product .theme-product-info {
	min-width: 0;
	max-width: 100%;
}

.theme-product-gallery-main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.theme-product-thumbnails {
	flex-wrap: wrap;
	max-width: 100%;
}

.theme-product-thumbnails img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.theme-product-thumbnails button {
	cursor: pointer;
}

.theme-qty-input {
	width: 3.5rem;
	min-width: 2.75rem;
	text-align: center;
	font-size: 15px;
	font-weight: 500;
	background: transparent;
	border: 0;
	appearance: textfield;
	-moz-appearance: textfield;
}

.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in,
.theme-product-description {
	overflow-wrap: break-word;
	word-break: break-word;
}

/* Variations table: the pills carry their own label, so the native label row
   and the now-hidden select row take no visual space. */
.single-product .variations {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1rem;
}

.single-product .variations tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td {
	display: block;
	width: 100%;
	padding: 0;
}

.single-product .variations tbody td.label {
	display: none;
}

.single-product .variations tbody td.value {
	padding: 0;
}

.single-product .variations td.label label {
	display: block;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
	margin: 0;
}

.theme-attr-select-hidden {
	display: none !important;
}

.theme-attr-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
}

.theme-attr-pill {
	height: 2.5rem;
	padding: 0 1.25rem;
	border-radius: 9999px;
	border: 1px solid hsl(var(--foreground) / 0.25);
	background: transparent;
	color: hsl(var(--foreground) / 0.8);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 300ms cubic-bezier(0.22, 1, 0.36, 1), color 300ms ease, background-color 300ms ease;
}

.theme-attr-pill:hover {
	border-color: hsl(var(--accent));
	color: hsl(var(--accent));
}

.theme-attr-pill.is-active {
	background-color: hsl(var(--primary));
	border-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	box-shadow: var(--shadow-soft);
}

.theme-reset-variations {
	display: none !important;
}

.single-product .theme-add-to-cart-area {
	display: flex;
	align-items: stretch;
	flex-wrap: nowrap;
	gap: 0.75rem;
}

.single-product .theme-add-to-cart-area .single_add_to_cart_button {
	flex: 1 1 auto;
	min-width: 160px;
}

.single-product .theme-add-to-cart-area .theme-quantity-wrapper {
	flex: 0 0 auto;
}

@media (max-width: 639px) {
	.single-product .theme-add-to-cart-area {
		flex-wrap: wrap;
	}
}

.single-product .single_variation_wrap .woocommerce-variation-price {
	font-size: 20px;
	font-weight: 500;
	margin-bottom: 1rem;
}

.single-product .single_variation_wrap .woocommerce-variation-availability {
	margin-bottom: 1rem;
}

.single-product .single_variation_wrap p.stock {
	font-size: 15px;
	color: hsl(var(--muted-foreground));
	margin: 0 0 1rem;
}

/* Keep the purchase area in flow so the row can lay out on one line. */
.single-product .single_variation_wrap {
	margin-top: 0.5rem;
}

/* -------------------------------------------------------------------------
 * Cart drawer
 * ---------------------------------------------------------------------- */

#theme-cart-drawer {
	position: fixed;
	top: 0;
	right: 0;
	height: 100%;
	width: 100%;
	max-width: 28rem;
	background-color: hsl(var(--ivory));
	z-index: 60;
	box-shadow: var(--shadow-elevated);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	visibility: hidden;
	transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), visibility 420ms linear;
}

body.cart-open #theme-cart-drawer {
	transform: translateX(0);
	visibility: visible;
}

#theme-cart-overlay {
	position: fixed;
	inset: 0;
	z-index: 55;
	background-color: hsl(var(--foreground) / 0.6);
	opacity: 0;
	visibility: hidden;
	transition: opacity 300ms ease, visibility 300ms linear;
}

body.cart-open #theme-cart-overlay {
	opacity: 1;
	visibility: visible;
}

body.cart-open {
	overflow: hidden;
}

#theme-cart-drawer.is-updating > * {
	opacity: 0.6;
	pointer-events: none;
}

#theme-cart-drawer .theme-cart-items {
	flex: 1;
	overflow: auto;
	padding: 1.5rem;
}

#theme-cart-drawer .theme-cart-thumb {
	width: 5rem;
	height: 6rem;
	background-color: hsl(var(--bone));
	border-radius: calc(var(--radius) - 4px);
	overflow: hidden;
	flex-shrink: 0;
}

#theme-cart-drawer .theme-cart-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

#theme-cart-drawer .theme-cart-variation {
	font-size: 13px;
	color: hsl(var(--muted-foreground));
}

/* -------------------------------------------------------------------------
 * WooCommerce notices (styled only where they remain visible)
 * ---------------------------------------------------------------------- */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	font-family: "Nunito Sans", system-ui, sans-serif;
	font-size: 15px;
	line-height: 1.6;
	border: 1px solid hsl(var(--border));
	border-radius: calc(var(--radius) - 4px);
	background-color: hsl(var(--card));
	color: hsl(var(--foreground));
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
	list-style: none;
}

.woocommerce-error {
	border-color: hsl(var(--destructive) / 0.4);
	color: hsl(var(--destructive));
}

.woocommerce-error li {
	margin: 0;
}

.single-product .woocommerce-message,
.single-product .woocommerce-info,
#theme-cart-drawer .woocommerce-message {
	display: none;
}

/* -------------------------------------------------------------------------
 * Checkout (native WooCommerce Checkout Block)
 * ---------------------------------------------------------------------- */

body.theme-checkout-page .site-main,
body.theme-cart-page .site-main,
body.theme-account-page .site-main {
	padding-top: calc(var(--header-height, 5rem) + 2.5rem);
	padding-bottom: 4rem;
}

body.theme-checkout-page .theme-page-shell,
body.theme-cart-page .theme-page-shell,
body.theme-account-page .theme-page-shell {
	width: 100%;
	max-width: 80rem;
	margin-inline: auto;
	padding-inline: 1.25rem;
}

@media (min-width: 640px) {
	body.theme-checkout-page .theme-page-shell,
	body.theme-cart-page .theme-page-shell,
	body.theme-account-page .theme-page-shell {
		padding-inline: 1.5rem;
	}
}

@media (min-width: 1024px) {
	body.theme-checkout-page .theme-page-shell,
	body.theme-cart-page .theme-page-shell,
	body.theme-account-page .theme-page-shell {
		padding-inline: 2.5rem;
	}
}

body.theme-checkout-page .page-title,
body.theme-cart-page .page-title,
body.theme-account-page .page-title {
	font-family: "Fraunces", Georgia, serif;
	font-size: clamp(2.25rem, 4vw, 3rem);
	line-height: 1.1;
	font-weight: 700;
	color: hsl(var(--foreground));
	margin: 0 0 2.5rem;
	letter-spacing: 0;
}

body.theme-checkout-page .entry-content {
	max-width: 100%;
}

body.theme-checkout-page .wc-block-checkout {
	display: block;
	background: transparent;
	color: hsl(var(--foreground));
	font-family: "Nunito Sans", system-ui, sans-serif;
}

@media (min-width: 768px) {
	body.theme-checkout-page .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		align-items: start;
	}
}

body.theme-checkout-page .wc-block-checkout__main,
body.theme-checkout-page .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}

body.theme-checkout-page .wc-block-checkout__sidebar {
	background-color: hsl(var(--linen));
	border: 1px solid hsl(var(--foreground) / 0.1);
	border-radius: calc(var(--radius) + 1rem);
	padding: 1.75rem;
}

body.theme-checkout-page .wc-block-checkout__main .wc-block-components-title,
body.theme-checkout-page .wc-block-checkout__sidebar .wc-block-components-title,
body.theme-checkout-page .wc-block-components-checkout-step__title,
body.theme-checkout-page .wc-block-components-order-summary__title {
	font-family: "Fraunces", Georgia, serif;
	font-weight: 700;
	font-size: 1.5rem;
	line-height: 1.2;
	color: hsl(var(--foreground));
}

body.theme-checkout-page .wc-block-components-text-input input,
body.theme-checkout-page .wc-block-components-select select,
body.theme-checkout-page .wc-blocks-components-select__select,
body.theme-checkout-page .wc-block-components-textarea textarea,
body.theme-checkout-page .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input {
	background-color: hsl(var(--ivory)) !important;
	border: 1px solid hsl(var(--foreground) / 0.15) !important;
	border-radius: calc(var(--radius) - 8px) !important;
	color: hsl(var(--foreground)) !important;
	font-family: "Nunito Sans", system-ui, sans-serif !important;
	font-size: 15px !important;
	max-width: none !important;
	width: 100% !important;
	box-shadow: none !important;
}

body.theme-checkout-page .wc-block-components-text-input input:focus,
body.theme-checkout-page .wc-block-components-select select:focus,
body.theme-checkout-page .wc-blocks-components-select__select:focus,
body.theme-checkout-page .wc-block-components-textarea textarea:focus,
body.theme-checkout-page .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input:focus {
	border-color: hsl(var(--primary)) !important;
	outline: 2px solid transparent !important;
	box-shadow: 0 0 0 2px hsl(var(--ring)) !important;
}

body.theme-checkout-page .wc-block-components-text-input input::placeholder,
body.theme-checkout-page .wc-block-components-textarea textarea::placeholder {
	color: hsl(var(--muted-foreground)) !important;
}

body.theme-checkout-page .wc-block-components-checkout-place-order-button,
body.theme-checkout-page .wc-block-components-button:not(.is-link) {
	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: "Nunito Sans", system-ui, sans-serif !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	height: 3rem !important;
	box-shadow: none !important;
}

body.theme-checkout-page .wc-block-components-checkout-place-order-button:hover,
body.theme-checkout-page .wc-block-components-button:not(.is-link):hover {
	background-color: hsl(var(--primary) / 0.9) !important;
}

body.theme-checkout-page .wc-block-components-notice-banner {
	border-radius: calc(var(--radius) - 4px) !important;
	font-family: "Nunito Sans", system-ui, sans-serif !important;
	font-size: 15px !important;
	background-color: hsl(var(--card)) !important;
	color: hsl(var(--foreground)) !important;
	border: 1px solid hsl(var(--border)) !important;
}

body.theme-checkout-page .wc-block-cart-items,
body.theme-checkout-page .wc-block-components-order-summary {
	font-family: "Nunito Sans", system-ui, sans-serif;
	font-size: 15px;
	color: hsl(var(--foreground));
}

body.theme-checkout-page .wc-block-components-totals-item__label,
body.theme-checkout-page .wc-block-components-product-name {
	color: hsl(var(--foreground));
}

body.theme-checkout-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-weight: 500;
}

/* Classic checkout field fallbacks (used by third-party express buttons). */
body.theme-checkout-page .woocommerce-checkout .form-row .input-text,
body.theme-checkout-page .woocommerce-checkout .form-row select {
	background-color: hsl(var(--ivory));
	border: 1px solid hsl(var(--foreground) / 0.15);
	border-radius: calc(var(--radius) - 8px);
	color: hsl(var(--foreground));
	font-size: 15px;
}

/* -------------------------------------------------------------------------
 * Cart page and account page (Blocks aware)
 * ---------------------------------------------------------------------- */

body.theme-cart-page .wp-block-woocommerce-cart,
body.theme-account-page .woocommerce {
	font-family: "Nunito Sans", system-ui, sans-serif;
	color: hsl(var(--foreground));
	font-size: 15px;
}

body.theme-cart-page .wc-block-cart__submit-button,
body.theme-account-page .woocommerce-Button,
body.theme-account-page button.button {
	background-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	border: 1px solid hsl(var(--primary));
	border-radius: 9999px;
	font-size: 15px;
	font-weight: 500;
	height: 3rem;
	padding-inline: 1.75rem;
}

/* -------------------------------------------------------------------------
 * 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 {
	font-family: "Nunito Sans", system-ui, sans-serif;
	font-size: 15px;
	color: hsl(var(--foreground));
}

body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title,
body.theme-thankyou-page .woocommerce-column__title {
	font-family: "Fraunces", Georgia, serif;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
	color: hsl(var(--foreground));
	padding: 0 0 1rem 0;
}

body.theme-thankyou-page .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	list-style: none;
	margin: 0 0 2rem;
	padding: 1.5rem;
	border: 1px solid hsl(var(--border));
	border-radius: calc(var(--radius) - 4px);
	background-color: hsl(var(--linen));
}

body.theme-thankyou-page .woocommerce-order-overview li {
	margin: 0;
	font-size: 15px;
	color: hsl(var(--muted-foreground));
}

body.theme-thankyou-page .woocommerce-order-overview li strong {
	display: block;
	color: hsl(var(--foreground));
	font-weight: 700;
}

body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
}

body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td {
	border-bottom: 1px solid hsl(var(--border));
	padding: 0.75rem 0;
	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;
	border: 1px solid hsl(var(--border));
	border-radius: calc(var(--radius) - 4px);
	padding: 1.25rem;
}

/* -------------------------------------------------------------------------
 * Shop archive markup generated by WooCommerce
 * ---------------------------------------------------------------------- */

.theme-shop-notice {
	font-size: 15px;
	color: hsl(var(--muted-foreground));
}

/* Archive toolbar generated by WooCommerce. */
.woocommerce-result-count {
	font-size: 15px;
	color: hsl(var(--muted-foreground));
	margin: 0;
}

.woocommerce-ordering select {
	height: 2.75rem;
	padding: 0 2.5rem 0 1rem;
	border-radius: 9999px;
	background-color: hsl(var(--secondary));
	border: 1px solid hsl(var(--border));
	color: hsl(var(--foreground));
	font-family: "Nunito Sans", system-ui, sans-serif;
	font-size: 15px;
	appearance: none;
	background-image: none;
}

form.woocommerce-ordering {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.woocommerce-products-header,
.woocommerce-before-shop-loop {
	min-width: 0;
}

ul.products {
	list-style: none;
	margin: 0;
	padding: 0;
}

.woocommerce-pagination {
	margin-top: 3rem;
}

.woocommerce-pagination ul {
	display: flex;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: center;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
	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(--foreground) / 0.25);
	font-size: 15px;
	font-weight: 600;
	color: hsl(var(--foreground) / 0.8);
	text-decoration: none;
}

.woocommerce-pagination ul li span.current,
.woocommerce-pagination ul li a:hover {
	background-color: hsl(var(--primary));
	border-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
}

/* WooCommerce price markup inherits the design type scale. */
.theme-product-price {
	font-size: 18px;
	font-weight: 500;
	color: hsl(var(--primary));
}

.theme-product-price del {
	opacity: 0.6;
	font-weight: 400;
	margin-right: 0.35rem;
}

.theme-product-price ins {
	text-decoration: none;
}

/* Contact form AJAX feedback. */
.theme-form-status {
	font-size: 15px;
	line-height: 1.6;
	text-align: center;
	margin-top: 0.75rem;
}

.theme-form-status.is-error {
	color: hsl(var(--destructive));
}

.theme-form-status.is-success {
	color: hsl(var(--primary));
}

/* -------------------------------------------------------------------------
 * Reduced motion parity for theme-driven effects
 * ---------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	#theme-cart-drawer,
	#theme-cart-overlay,
	.theme-card-shell,
	.theme-card-veil,
	.theme-card-actions {
		transition: none;
	}
}
