/*
 * Theme stylesheet.
 *
 * Contains only:
 *   a) styles for markup that has no counterpart in the source design
 *      (WooCommerce and WordPress generated output), using the source's
 *      custom properties and the values of the closest source element;
 *   b) functional rules (visibility mechanisms, drawer and modal state,
 *      reveal initial states, layout safety rules).
 *
 * The design's own classes are styled by assets/css/app.css.
 */

/* ---------------------------------------------------------------------------
 * Functional tokens
 * ------------------------------------------------------------------------ */
:root {
	--header-height: 80px;
	--checkout-gap: 2rem;
}

[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);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	position: static !important;
	width: auto;
	height: auto;
	clip: auto;
	clip-path: none;
	padding: 0.5rem 1rem;
	background: hsl(var(--card));
	color: hsl(var(--foreground));
	z-index: 100000;
}

/* ---------------------------------------------------------------------------
 * Reveal / in-view animations
 * ------------------------------------------------------------------------ */
.reveal-item,
.reveal-fade {
	transition-property: opacity, transform;
	transition-duration: 0.7s;
	transition-timing-function: cubic-bezier(0.25, 0.4, 0.25, 1);
	transition-delay: var(--reveal-delay, 0s);
	will-change: opacity, transform;
}

.reveal-item {
	opacity: 0;
	transform: translateY(32px);
}

.reveal-fade {
	opacity: 0;
	transition-duration: 1.1s;
}

.reveal-item.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.reveal-fade.is-visible {
	opacity: 1;
}

.reveal-stagger > * {
	transition-delay: calc(var(--reveal-index, 0) * 0.1s);
}

.reveal-delay-1 { --reveal-delay: 0.25s; }
.reveal-delay-2 { --reveal-delay: 0.35s; }
.reveal-delay-3 { --reveal-delay: 0.55s; }
.reveal-delay-4 { --reveal-delay: 0.75s; }

.reveal-stagger--gallery > * {
	transition-delay: calc(var(--reveal-index, 0) * 0.04s);
}

.reveal-stagger--faq > * {
	transition-delay: calc(var(--reveal-index, 0) * 0.03s);
}

.reveal-stagger > *:nth-child(1) { --reveal-index: 0; }
.reveal-stagger > *:nth-child(2) { --reveal-index: 1; }
.reveal-stagger > *:nth-child(3) { --reveal-index: 2; }
.reveal-stagger > *:nth-child(4) { --reveal-index: 3; }
.reveal-stagger > *:nth-child(5) { --reveal-index: 4; }
.reveal-stagger > *:nth-child(6) { --reveal-index: 5; }
.reveal-stagger > *:nth-child(7) { --reveal-index: 6; }
.reveal-stagger > *:nth-child(8) { --reveal-index: 7; }
.reveal-stagger > *:nth-child(9) { --reveal-index: 8; }
.reveal-stagger > *:nth-child(10) { --reveal-index: 9; }
.reveal-stagger > *:nth-child(11) { --reveal-index: 10; }
.reveal-stagger > *:nth-child(12) { --reveal-index: 11; }
.reveal-stagger > *:nth-child(13) { --reveal-index: 12; }
.reveal-stagger > *:nth-child(14) { --reveal-index: 13; }
.reveal-stagger > *:nth-child(15) { --reveal-index: 14; }
.reveal-stagger > *:nth-child(16) { --reveal-index: 15; }
.reveal-stagger > *:nth-child(17) { --reveal-index: 16; }
.reveal-stagger > *:nth-child(18) { --reveal-index: 17; }

/* The Customizer preview must never show invisible content. */
body.is-customizer .reveal-item,
body.is-customizer .reveal-fade {
	opacity: 1;
	transform: none;
}

/* No scripting at all: keep everything visible. */
@media (scripting: none) {
	.reveal-item,
	.reveal-fade {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item,
	.reveal-fade {
		transition: none;
	}

	.reveal-item {
		opacity: 1;
		transform: none;
	}

	.reveal-fade {
		opacity: 1;
	}
}

/* ---------------------------------------------------------------------------
 * Header state hook and logo consistency
 * ------------------------------------------------------------------------ */
.site-header {
	position: sticky;
}

.site-header.is-solid {
	background-color: hsl(var(--background));
}

.theme-logo-badge {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--logo-height, 48px);
	height: var(--logo-height, 48px);
	border-radius: 9999px;
	overflow: hidden;
	flex-shrink: 0;
}

/* The design grows the emblem to 56px at sm and 64px at lg from a 48px base. */
@media (min-width: 640px) {
	.theme-logo-badge {
		width: calc(var(--logo-height, 48px) * 1.1666);
		height: calc(var(--logo-height, 48px) * 1.1666);
	}
}

@media (min-width: 1024px) {
	.theme-logo-badge {
		width: calc(var(--logo-height, 48px) * 1.3333);
		height: calc(var(--logo-height, 48px) * 1.3333);
	}
}

/* Footer emblem: 64px, growing to 80px. */
footer .theme-logo-badge {
	width: calc(var(--logo-height, 48px) * 1.3333);
	height: calc(var(--logo-height, 48px) * 1.3333);
}

@media (min-width: 640px) {
	footer .theme-logo-badge {
		width: calc(var(--logo-height, 48px) * 1.6666);
		height: calc(var(--logo-height, 48px) * 1.6666);
	}
}

.site-logo-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 9999px;
	display: block;
}

.theme-logo-badge .site-logo-text {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	line-height: 1;
	font-family: var(--font-display);
	font-size: 1.125rem;
	color: hsl(var(--primary));
}

.site-logo-text {
	display: block;
	line-height: 1;
	font-family: var(--font-display);
	font-size: 1.25rem;
	color: hsl(var(--primary));
}

/* ---------------------------------------------------------------------------
 * Filtering helper
 * ------------------------------------------------------------------------ */
.theme-hidden {
	display: none !important;
}

/* ---------------------------------------------------------------------------
 * Product card
 * ------------------------------------------------------------------------ */
.theme-product-card__media {
	transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.theme-product-card {
	position: relative;
	height: 100%;
}

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

.theme-card-image-link {
	position: absolute;
	inset: 0;
	display: block;
	z-index: 1;
	overflow: hidden;
}

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

.theme-card-title-link {
	display: block;
}

.theme-product-card__img {
	transition: transform 0.7s cubic-bezier(0.25, 0.4, 0.25, 1);
	display: block;
}

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

.theme-product-card .add_to_cart_button {
	transition: transform 0.2s ease, opacity 0.3s ease;
	/* Sits above .theme-card-image-link (z-index: 1), which covers the media area. */
	z-index: 2;
	pointer-events: auto;
}

.theme-product-card .add_to_cart_button:hover {
	transform: scale(1.08);
}

.theme-product-card .add_to_cart_button:active {
	transform: scale(0.92);
}

@keyframes themeBadgeIn {
	from {
		opacity: 0;
		transform: translateX(-20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.theme-soldout-badge {
	animation: themeBadgeIn 0.4s cubic-bezier(0.25, 0.4, 0.25, 1) both;
	z-index: 2;
}

.theme-product-card__price,
.theme-product-card__price .woocommerce-Price-amount,
.theme-product-card__price bdi,
.theme-product-card__price .woocommerce-Price-currencySymbol {
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
}

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

/* ---------------------------------------------------------------------------
 * Quantity control
 * ------------------------------------------------------------------------ */
.theme-qty-input {
	-moz-appearance: textfield;
	appearance: textfield;
}

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

/* ---------------------------------------------------------------------------
 * Add to cart buttons
 * ------------------------------------------------------------------------ */
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}

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

/* Hide "View cart" injected by WooCommerce after AJAX add-to-cart */
.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;
}

/* Theme loading state, and suppression of WooCommerce's own spinner. */
.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;
}

/* ---------------------------------------------------------------------------
 * Side cart drawer and overlay
 * ------------------------------------------------------------------------ */
#theme-cart-overlay {
	position: fixed;
	inset: 0;
	z-index: 50;
	background-color: hsl(var(--surface-deep) / 0.7);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.6s;
}

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

#theme-cart-drawer {
	visibility: hidden;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
		transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
		visibility 0s linear 0.6s;
}

body.cart-open #theme-cart-drawer {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0s;
}

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

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

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

/* ---------------------------------------------------------------------------
 * Contact modal
 * ------------------------------------------------------------------------ */
.theme-modal[hidden] {
	display: none !important;
}

body.modal-open {
	overflow: hidden;
}

/* ---------------------------------------------------------------------------
 * Collapsible panels
 * ------------------------------------------------------------------------ */
.theme-collapse {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.3s cubic-bezier(0.25, 0.4, 0.25, 1),
		opacity 0.3s cubic-bezier(0.25, 0.4, 0.25, 1);
}

.theme-collapse.is-open {
	max-height: 100rem;
	opacity: 1;
}

/* ---------------------------------------------------------------------------
 * Price range filter
 * ------------------------------------------------------------------------ */
.theme-price-range {
	position: relative;
	height: 1.5rem;
}

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

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

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

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

.theme-price-range .range-input::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	pointer-events: auto;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 9999px;
	border: 2px solid hsl(var(--primary));
	background-color: hsl(var(--background));
	cursor: pointer;
}

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

.theme-price-range .range-input--max {
	z-index: 3;
}

.theme-price-range .range-input--min {
	z-index: 4;
}

/* ---------------------------------------------------------------------------
 * Single product layout safety
 * ------------------------------------------------------------------------ */
.single-product .theme-product-layout {
	min-width: 0;
}

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

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

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

.single-product .single_add_to_cart_button {
	flex: 1 1 auto;
	min-width: 160px;
}

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

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

.single-product .variations tbody td.label {
	/* The themed pill heading is the single visible attribute label. */
	display: none;
}

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

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

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

.single-product .theme-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.6;
	transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.single-product .theme-thumb:hover img,
.single-product .theme-thumb.is-active img {
	opacity: 1;
}

.single-product .theme-thumb-underline {
	opacity: 0;
}

.single-product .theme-thumb.is-active .theme-thumb-underline {
	opacity: 1;
}

.single-product .theme-product-main-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ---------------------------------------------------------------------------
 * WooCommerce markup that has no counterpart in the design
 * ------------------------------------------------------------------------ */
.woocommerce-Price-amount,
.woocommerce-Price-currencySymbol {
	font: inherit;
	color: inherit;
}

.woocommerce-notices-wrapper {
	width: 100%;
}

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

.woocommerce-message {
	border-color: hsl(var(--accent));
}

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

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

.single-product .woocommerce-message,
.single-product .woocommerce-info {
	display: none;
}

.page-title {
	overflow-wrap: break-word;
}

/* ---------------------------------------------------------------------------
 * Checkout Block
 * ------------------------------------------------------------------------ */
body.woocommerce-checkout .wc-block-checkout {
	display: block;
	max-width: 100%;
	margin: 0;
	padding: 0;
	color: hsl(var(--foreground));
	font-family: var(--font-body);
}

body.woocommerce-checkout .wc-block-components-sidebar-layout {
	max-width: 100%;
	margin: 0;
}

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

@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: var(--checkout-gap, 2rem);
		align-items: start;
	}

	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: var(--checkout-gap, 2rem);
}

body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-checkout__main h2,
body.woocommerce-checkout .wc-block-checkout__main h3 {
	font-family: var(--font-display);
	color: hsl(var(--foreground));
}

body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-checkout-step__heading {
	font-family: var(--font-display);
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-blocks-components-select__select {
	width: 100% !important;
	max-width: none !important;
	background-color: hsl(var(--background)) !important;
	border-color: hsl(var(--border)) !important;
	border-radius: calc(var(--radius) - 2px) !important;
	color: hsl(var(--foreground)) !important;
	font-family: var(--font-body) !important;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .wc-blocks-components-select__select:focus {
	border-color: hsl(var(--primary)) !important;
	outline: none !important;
	box-shadow: 0 0 0 2px hsl(var(--ring) / 0.5) !important;
}

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

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: hsl(var(--primary)) !important;
	color: hsl(var(--primary-foreground)) !important;
	border: 0 !important;
	border-radius: 9999px !important;
	font-family: var(--font-body) !important;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	padding: 1rem 2rem !important;
	width: 100%;
}

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

body.woocommerce-checkout .wc-block-components-button:not(.wc-block-components-checkout-place-order-button) {
	border-radius: 9999px !important;
	font-family: var(--font-body) !important;
}

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

/* Checkout links follow the surrounding text colour: the design reserves the
   gold accent for call-to-action buttons. Button-styled anchors and everything
   outside the checkout content (header, footer, side cart) are left untouched. */
body.woocommerce-checkout .wc-block-checkout a:not(.wc-block-components-button):not(.button),
body.woocommerce-checkout form.checkout a:not(.button),
body.woocommerce-checkout .woocommerce-checkout-review-order a:not(.button),
body.woocommerce-checkout .woocommerce-info a,
body.woocommerce-checkout .woocommerce-message a,
body.woocommerce-checkout .woocommerce-error a {
	color: inherit;
}

body.woocommerce-checkout .wc-block-checkout a:not(.wc-block-components-button):not(.button):hover,
body.woocommerce-checkout .wc-block-checkout a:not(.wc-block-components-button):not(.button):focus-visible,
body.woocommerce-checkout form.checkout a:not(.button):hover,
body.woocommerce-checkout form.checkout a:not(.button):focus-visible,
body.woocommerce-checkout .woocommerce-checkout-review-order a:not(.button):hover,
body.woocommerce-checkout .woocommerce-checkout-review-order a:not(.button):focus-visible {
	color: hsl(var(--foreground));
	text-decoration: underline;
}

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

/* ---------------------------------------------------------------------------
 * Cart and My Account width / alignment parity
 * ------------------------------------------------------------------------ */
body.woocommerce-cart .wc-block-cart,
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-account .woocommerce {
	max-width: 100%;
}

body.woocommerce-cart .wc-block-components-sidebar-layout,
body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar {
	min-width: 0;
	max-width: none;
}

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

body.woocommerce-cart .wc-block-components-button,
body.woocommerce-account .woocommerce button,
body.woocommerce-account .woocommerce input[type="submit"] {
	border-radius: 9999px;
	font-family: var(--font-body);
}

body.woocommerce-account .woocommerce form.login,
body.woocommerce-account .woocommerce form.register {
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	background-color: hsl(var(--card));
	padding: 2rem;
}

body.woocommerce-account .woocommerce input[type="text"],
body.woocommerce-account .woocommerce input[type="email"],
body.woocommerce-account .woocommerce input[type="password"],
body.woocommerce-account .woocommerce textarea,
body.woocommerce-cart .woocommerce input[type="text"],
body.woocommerce-cart .woocommerce input[type="email"],
body.woocommerce-cart .woocommerce input[type="tel"],
body.woocommerce-cart .woocommerce select {
	background-color: hsl(var(--background));
	border: 1px solid hsl(var(--border));
	border-radius: calc(var(--radius) - 2px);
	color: hsl(var(--foreground));
	font-family: var(--font-body);
}

/* ---------------------------------------------------------------------------
 * Order received
 * ------------------------------------------------------------------------ */
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: var(--font-body);
	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: var(--font-display);
	padding: 0 0 1rem 0;
}

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

body.theme-thankyou-page .woocommerce-order-overview li {
	flex: 1 1 200px;
	margin: 0;
	padding: 1rem 1.25rem;
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	background-color: hsl(var(--card));
}

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

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


/* ---------------------------------------------------------------------------
 * Product features list (rendered from the product description)
 * ------------------------------------------------------------------------ */
.theme-product-description p {
	margin: 0 0 1rem;
}

.theme-product-description ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.theme-product-description ul > li {
	display: flex;
	align-items: flex-start;
	font-size: 15px;
	line-height: 1.625;
	color: hsl(var(--muted-foreground));
}

.theme-product-description ul > li + li {
	margin-top: 0.5rem;
}

.theme-product-description ul > li::before {
	content: "";
	width: 0.25rem;
	height: 0.25rem;
	flex-shrink: 0;
	margin: 0.5rem 0.75rem 0 0;
	border-radius: 9999px;
	background-color: hsl(var(--foreground));
}

/* ---------------------------------------------------------------------------
 * Mobile navigation rows
 * ------------------------------------------------------------------------ */
.theme-nav-list--mobile {
	flex-direction: column;
}

.theme-nav-list--mobile li {
	display: block;
	width: 100%;
}

.theme-nav-list--mobile li > a {
	display: block;
	width: 100%;
}

/* ---------------------------------------------------------------------------
 * Newsletter embed replacement
 * ------------------------------------------------------------------------ */
.theme-newsletter-embed {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.theme-newsletter-embed input,
.theme-newsletter-embed select {
	width: 100%;
}
