/* ==========================================================================
   Santiago Elías Design — functional layer.
   Loaded after the compiled source stylesheet (app.css).
   Contains only: state hooks, reveal initial states, and styling for markup
   that has no equivalent in the source design (WooCommerce / WordPress).
   ========================================================================== */

[hidden] {
	display: none !important;
}

/* --------------------------------------------------------------------------
   Site identity logo sizing (single definition for every context).
   -------------------------------------------------------------------------- */
.site-logo-img {
	height: var(--logo-height) !important;
	width: auto !important;
	display: block;
}

/* The header logo is a circle; the source uses a fixed square. */
.site-header .site-logo-img {
	width: var(--logo-height) !important;
	height: var(--logo-height) !important;
}

footer .site-logo-img {
	width: var(--footer-logo-height, 72px) !important;
	height: var(--footer-logo-height, 72px) !important;
}

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

/* --------------------------------------------------------------------------
   Header state hooks (the class strings are toggled by main.js).
   -------------------------------------------------------------------------- */
.site-header {
	will-change: transform;
	transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
		background-color 0.5s var(--transition-smooth),
		border-color 0.5s var(--transition-smooth),
		box-shadow 0.5s var(--transition-smooth);
}

.site-header.is-hidden {
	transform: translateY(-120px);
}

body.cart-open,
body.theme-menu-open {
	overflow: hidden;
}

/* Scroll progress bar (mirrors the source component). */
.theme-scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: hsl(var(--accent));
	transform: scaleX(0);
	transform-origin: 0% 50%;
	z-index: 60;
	pointer-events: none;
}

/* --------------------------------------------------------------------------
   Hero entrance animations (framer-motion variants → CSS keyframes).
   -------------------------------------------------------------------------- */
.theme-hero-word {
	transform: translateY(110%);
	opacity: 0;
	animation: theme-word-in 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	animation-delay: var(--hero-delay, 0s);
}

@keyframes theme-word-in {
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.theme-hero-fade {
	opacity: 0;
	transform: translateY(var(--hero-y, 20px)) translateX(var(--hero-from-x, 0px));
	animation: theme-fade-in-up var(--hero-duration, 0.9s) cubic-bezier(0.16, 1, 0.3, 1) forwards;
	animation-delay: var(--hero-delay, 0s);
}

@keyframes theme-fade-in-up {
	to {
		opacity: 1;
		transform: translateY(0) translateX(0);
	}
}

.theme-hero-image-in {
	opacity: 0;
	transform: scale(0.96);
	filter: blur(8px);
	animation: theme-hero-image-in 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	animation-delay: 0.2s;
}

@keyframes theme-hero-image-in {
	to {
		opacity: 1;
		transform: scale(1);
		filter: blur(0);
	}
}

.theme-hero-parallax {
	will-change: transform;
}

.theme-hero-text {
	will-change: transform, opacity;
}

/* Hero slides: cross-fade with the source's 1.2s easing. */
.hero-slide {
	opacity: 0;
	transform: scale(1.06);
	visibility: hidden;
	transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
		transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
		visibility 1.2s;
}

.hero-slide.is-active {
	opacity: 1;
	transform: scale(1);
	visibility: visible;
}

/* --------------------------------------------------------------------------
   Scroll reveals (IntersectionObserver adds .is-visible).
   -------------------------------------------------------------------------- */
.theme-reveal {
	opacity: 0;
	transform: translate3d(var(--reveal-x, 0px), var(--reveal-y, 24px), 0) scale(var(--reveal-scale, 1));
	filter: blur(var(--reveal-blur, 0px));
	transition: opacity var(--reveal-duration, 0.85s) cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0s),
		transform var(--reveal-duration, 0.85s) cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0s),
		filter var(--reveal-duration, 0.85s) cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0s);
}

.theme-reveal.is-visible {
	opacity: 1;
	transform: translate3d(0, 0, 0) scale(1);
	filter: blur(0);
}

/* Never hide content in the Customizer preview or when JS/observers fail. */
body.is-customizer .theme-reveal,
body.no-js .theme-reveal,
.theme-reveal.is-fallback {
	opacity: 1;
	transform: none;
	filter: none;
}

.theme-about-img {
	transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
	transform: scale(1.1);
}

.theme-reveal.is-visible .theme-about-img {
	transform: scale(1);
}

/* --------------------------------------------------------------------------
   Product card hover (spring-like lift + image zoom).
   -------------------------------------------------------------------------- */
.theme-card-hover {
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
		border-color 0.5s var(--transition-smooth),
		box-shadow 0.5s var(--transition-smooth);
}

.theme-card-hover:hover {
	transform: translateY(-8px);
}

.theme-card-hover img {
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
	transform-origin: top center;
}

.theme-card-hover:hover img {
	transform: scale(1.1);
}

.theme-card-hover [hidden] {
	display: none !important;
}

/* --------------------------------------------------------------------------
   Shop search clear button.
   -------------------------------------------------------------------------- */
[data-shop-search] .theme-search-clear {
	cursor: pointer;
}

/* --------------------------------------------------------------------------
   Contact form status.
   -------------------------------------------------------------------------- */
.theme-form-status:not(:empty) {
	margin-top: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
	.theme-hero-word,
	.theme-hero-fade,
	.theme-hero-image-in {
		animation: none;
		opacity: 1;
		transform: none;
		filter: none;
	}

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

	.theme-about-img {
		transform: none;
	}

	.hero-slide {
		transform: none;
	}
}

/* --------------------------------------------------------------------------
   Single product page.
   -------------------------------------------------------------------------- */
.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-main-image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.single-product .theme-product-thumb {
	flex: 0 0 auto;
	width: 72px;
	height: 72px;
	overflow: hidden;
	border: 1px solid hsl(var(--border));
	cursor: pointer;
	background: transparent;
	padding: 0;
	transition: border-color 0.3s var(--transition-smooth);
}

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

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

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

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

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

.single-product .theme-product-description ul,
.single-product .theme-product-description ol {
	list-style: disc;
	padding-left: 1.25rem;
	margin: 0.75rem 0;
}

.single-product .theme-product-description ol {
	list-style: decimal;
}

.single-product .theme-product-description p + p {
	margin-top: 0.85rem;
}

.single-product .theme-quantity-wrapper input[type="number"] {
	-moz-appearance: textfield;
	appearance: textfield;
}

.single-product .theme-quantity-wrapper input[type="number"]::-webkit-outer-spin-button,
.single-product .theme-quantity-wrapper input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.single-product .theme-quantity-wrapper button {
	cursor: pointer;
}

/* Variations: the native table stays in the DOM so WooCommerce can match
   attributes, but its label is hidden. The pills print the same
   wc_attribute_label() once, with the casing stored on the product. */
.single-product .variations {
	margin: 0;
	border: 0;
}

.single-product .variations tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td {
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	border: 0;
}

.single-product .variations td.label,
.single-product .variations td.label label {
	display: none !important;
}

.single-product .variations tbody td.value {
	height: 0;
	overflow: hidden;
}

/* The native select is replaced by pills in the theme UI. */
.theme-attr-select-hidden {
	display: none !important;
}

.theme-attr-pill {
	cursor: pointer;
}

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

/* Variation price output inherits the source price styling. */
.single-product .woocommerce-variation-price {
	display: none;
}

.single-product .single_variation_wrap .woocommerce-variation-availability,
.single-product .single_variation_wrap .woocommerce-variation-description {
	margin-bottom: 0.75rem;
}

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

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

.ajax_add_to_cart.theme-btn-loading {
	opacity: 0.6 !important;
	pointer-events: none !important;
	cursor: wait !important;
}

.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after {
	display: none !important;
}

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

/* --------------------------------------------------------------------------
   Cart drawer + overlay.
   -------------------------------------------------------------------------- */
#theme-cart-drawer {
	position: fixed;
	top: 0;
	right: 0;
	height: 100%;
	width: 100%;
	max-width: 28rem;
	display: flex;
	flex-direction: column;
	background: hsl(var(--background));
	box-shadow: var(--shadow-elevated);
	z-index: 70;
	transform: translateX(100%);
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	border-top-left-radius: 1rem;
	border-bottom-left-radius: 1rem;
	overflow: hidden;
}

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

#theme-cart-overlay {
	position: fixed;
	inset: 0;
	background: hsl(var(--foreground) / 0.3);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s var(--transition-smooth);
	z-index: 60;
	cursor: pointer;
}

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

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

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

/* --------------------------------------------------------------------------
   WooCommerce notices (styled to the design system, never globally hidden).
   -------------------------------------------------------------------------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	list-style: none;
	background: hsl(var(--secondary));
	color: hsl(var(--foreground));
	border-top: 3px solid hsl(var(--accent));
	border-radius: 0;
	padding: 1rem 1.25rem;
	margin: 0 0 1.5rem;
	font-size: 0.875rem;
	line-height: 1.6;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

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

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
	margin-left: auto;
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 0.6rem 1.1rem;
	border: 0;
	cursor: pointer;
}

.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover {
	background: hsl(var(--accent));
}

/* Single product page provides its own feedback through the drawer. */
.single-product .woocommerce-message,
.single-product .woocommerce-info {
	display: none;
}

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

/* --------------------------------------------------------------------------
   Shop pagination + ordering.
   -------------------------------------------------------------------------- */
.woocommerce-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.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: 1px solid hsl(var(--border));
	color: hsl(var(--foreground));
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
}

.woocommerce-pagination ul li span.current,
.woocommerce-pagination ul li a:hover {
	background: hsl(var(--primary));
	border-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
}

.woocommerce-ordering select {
	background: transparent;
	border: 1px solid hsl(var(--border));
	padding: 0.5rem 0.75rem;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	border-radius: 0;
}

/* --------------------------------------------------------------------------
   Page title / generic WordPress content.
   -------------------------------------------------------------------------- */
.page-title {
	letter-spacing: -0.015em;
}

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

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
	color: hsl(var(--primary));
	line-height: 1.2;
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}

.entry-content h2 {
	font-size: 2rem;
}

.entry-content h3 {
	font-size: 1.5rem;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
	margin-bottom: 1rem;
}

.entry-content ul {
	list-style: disc;
	padding-left: 1.5rem;
}

.entry-content ol {
	list-style: decimal;
	padding-left: 1.5rem;
}

.entry-content img {
	max-width: 100%;
	height: auto;
}

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

/* --------------------------------------------------------------------------
   Checkout (native WooCommerce Blocks) — scoped overrides.
   -------------------------------------------------------------------------- */
body.woocommerce-checkout .wc-block-checkout {
	display: block;
}

body.woocommerce-checkout .wc-block-components-sidebar-layout {
	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: var(--checkout-gap, 3rem);
		align-items: start;
	}
}

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

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: hsl(var(--secondary) / 0.4);
	border: 1px solid hsl(var(--border));
	border-radius: 0;
	padding: 2rem;
}

body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-checkout__main h2,
body.woocommerce-checkout .wc-block-checkout__sidebar h2 {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 500;
	letter-spacing: -0.015em;
	color: hsl(var(--primary));
}

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-text-input input[type="text"],
body.woocommerce-checkout .wc-block-components-text-input input[type="email"],
body.woocommerce-checkout .wc-block-components-text-input input[type="tel"] {
	background-color: transparent !important;
	border: 0 !important;
	border-bottom: 1px solid hsl(var(--border)) !important;
	border-radius: 0 !important;
	color: hsl(var(--foreground)) !important;
	font-family: var(--font-body) !important;
	font-size: 0.875rem !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-block-components-textarea textarea:focus,
body.woocommerce-checkout .wc-blocks-components-select__select:focus {
	border-bottom-color: hsl(var(--accent)) !important;
	outline: none !important;
	box-shadow: 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) / 0.7) !important;
}

body.woocommerce-checkout .wc-blocks-components-select__container,
body.woocommerce-checkout .wc-block-components-select {
	background: transparent !important;
	border: 0 !important;
	border-bottom: 1px solid hsl(var(--border)) !important;
	border-radius: 0 !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: hsl(var(--primary)) !important;
	color: hsl(var(--primary-foreground)) !important;
	border-radius: 0 !important;
	height: 3rem;
	font-family: var(--font-body) !important;
	font-size: 0.75rem !important;
	font-weight: 500 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.1em !important;
}

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

body.woocommerce-checkout .wc-block-components-button:not(.wc-block-components-checkout-place-order-button) {
	border-radius: 0 !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: 0 !important;
	background-color: hsl(var(--secondary)) !important;
	color: hsl(var(--foreground)) !important;
	border-top: 3px solid hsl(var(--accent)) !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner.is-error {
	border-top-color: hsl(var(--destructive)) !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-product-price {
	font-variant-numeric: tabular-nums;
}

body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-product-name {
	font-family: var(--font-body);
}

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

body.woocommerce-checkout .wc-block-cart-items {
	border: 0;
}

body.woocommerce-checkout .wc-block-cart-items__row {
	border-bottom: 1px solid hsl(var(--border) / 0.6);
}

body.woocommerce-checkout .site-main {
	padding-bottom: 4rem;
}

body.woocommerce-checkout .wc-block-checkout__terms,
body.woocommerce-checkout .wc-block-components-checkbox__label {
	font-size: 0.8125rem;
	color: hsl(var(--muted-foreground));
}

/* Checkout: the site container (.container-wide) owns the width, so the block
   must not impose a competing max-width of its own. */
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wc-block-checkout.alignwide {
	max-width: 100% !important;
	margin-left: 0;
	margin-right: 0;
}

/* --------------------------------------------------------------------------
   Cart + account pages: same container treatment as checkout.
   -------------------------------------------------------------------------- */
body.woocommerce-cart .wc-block-cart {
	width: 100%;
}

body.woocommerce-cart .wc-block-components-sidebar-layout {
	display: block;
}

@media (min-width: 768px) {
	body.woocommerce-cart .wc-block-components-sidebar-layout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
		align-items: start;
	}
}

body.woocommerce-cart .wc-block-cart__submit-button {
	background-color: hsl(var(--primary)) !important;
	color: hsl(var(--primary-foreground)) !important;
	border-radius: 0 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.1em !important;
	font-size: 0.75rem !important;
}

body.woocommerce-cart .wc-block-components-button {
	border-radius: 0 !important;
}

body.woocommerce-cart .wc-block-components-text-input input,
body.woocommerce-cart .wc-block-components-select select {
	background-color: transparent !important;
	border: 0 !important;
	border-bottom: 1px solid hsl(var(--border)) !important;
	border-radius: 0 !important;
}

/* Classic WooCommerce cart / account tables (fallbacks). */
.woocommerce table.shop_table {
	border: 1px solid hsl(var(--border));
	border-collapse: collapse;
	border-radius: 0;
	width: 100%;
}

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

.woocommerce table.shop_table thead th {
	background: hsl(var(--secondary));
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: hsl(var(--muted-foreground));
}

.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	background-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	border: 0;
	border-radius: 0;
	padding: 0.85rem 1.5rem;
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.3s var(--transition-smooth);
}

.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	background-color: hsl(var(--accent));
	color: hsl(var(--primary-foreground));
}

.woocommerce .quantity input.qty {
	border: 1px solid hsl(var(--border));
	border-radius: 0;
	padding: 0.5rem;
	width: 4rem;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-checkout .form-row .input-text {
	background: transparent;
	border: 0;
	border-bottom: 1px solid hsl(var(--border));
	border-radius: 0;
	padding: 0.75rem 0;
	color: hsl(var(--foreground));
}

.woocommerce form .form-row label {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: hsl(var(--muted-foreground));
}

/* --------------------------------------------------------------------------
   Thank you page.
   -------------------------------------------------------------------------- */
body.theme-thankyou-page {
	overflow-x: hidden;
}

body.theme-thankyou-page .woocommerce-order {
	color: hsl(var(--muted-foreground));
}

body.theme-thankyou-page .woocommerce-order > p:first-child,
body.theme-thankyou-page .woocommerce-thankyou-order-received {
	font-family: var(--font-display);
	font-size: 1.5rem;
	color: hsl(var(--primary));
	margin-bottom: 1.5rem;
}

body.theme-thankyou-page .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	list-style: none;
	margin: 0 0 2.5rem;
	padding: 1.5rem;
	border: 1px solid hsl(var(--border));
	background: hsl(var(--secondary) / 0.4);
}

body.theme-thankyou-page .woocommerce-order-overview li {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: hsl(var(--muted-foreground));
	margin: 0;
}

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

body.theme-thankyou-page .woocommerce-order-details,
body.theme-thankyou-page .woocommerce-customer-details {
	margin-top: 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;
	font-weight: 500;
	color: hsl(var(--primary));
	padding: 0 0 1rem 0;
	margin: 0;
}

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

body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td {
	padding: 0.85rem 0.5rem;
	border-top: 1px solid hsl(var(--border));
	text-align: left;
	font-size: 0.875rem;
	overflow-wrap: break-word;
}

body.theme-thankyou-page .woocommerce-order-details tfoot th {
	text-align: left;
	font-weight: 500;
	color: hsl(var(--muted-foreground));
}

body.theme-thankyou-page .woocommerce-order-details tfoot td {
	text-align: right;
	font-variant-numeric: tabular-nums;
	color: hsl(var(--foreground));
}

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: 0;
	padding: 0;
	line-height: 1.7;
}

/* --------------------------------------------------------------------------
   WooCommerce blocks: generic button radius safety.
   -------------------------------------------------------------------------- */
.wc-block-components-button,
.wc-block-cart__submit-button,
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
	border-radius: 0;
}

/* --------------------------------------------------------------------------
   Customizer preview adjustments.
   -------------------------------------------------------------------------- */
body.is-customizer .theme-hero-word,
body.is-customizer .theme-hero-fade,
body.is-customizer .theme-hero-image-in {
	animation: none;
	opacity: 1;
	transform: none;
	filter: none;
}
