/* ------------------------------------------------------------------ *
 * Awa' Petit Four — theme styles.
 * Only markup with no source equivalent, functional state rules and
 * animation layers live here. Source utilities come from app.css.
 * ------------------------------------------------------------------ */

[hidden] {
	display: none !important;
}

/* ------------------------------------------------------------------ *
 * Site identity
 * ------------------------------------------------------------------ */
.site-logo-img {
	height: var(--logo-height, 56px) !important;
	width: auto !important;
	display: block;
	object-fit: contain;
}

.theme-logo-mark {
	height: var(--logo-height, 56px);
	width: var(--logo-height, 56px);
}

.theme-logo-mark--footer {
	height: calc(var(--logo-height, 56px) * 1.15);
	width: calc(var(--logo-height, 56px) * 1.15);
}

.theme-logo-mark .site-logo-img {
	height: 100% !important;
	width: 100% !important;
}

.site-logo-text {
	line-height: 1;
}

.theme-cart-count.hidden,
.theme-cart-count:empty {
	display: none !important;
}

/* ------------------------------------------------------------------ *
 * Header states
 * ------------------------------------------------------------------ */
.theme-site-header .theme-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

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

.theme-site-header .theme-nav-list a {
	color: hsl(var(--foreground));
	text-decoration: none;
}

#theme-mobile-menu .theme-nav-list--mobile a {
	color: hsl(var(--foreground));
}

/* ------------------------------------------------------------------ *
 * Hero entrance (framer-motion equivalents)
 * ------------------------------------------------------------------ */
.theme-hero-fade {
	animation: themeFadeIn 1.1s cubic-bezier(0.25, 0.4, 0.25, 1) both;
}

.theme-hero-item {
	animation: themeSlideUpSmall 0.7s cubic-bezier(0.25, 0.4, 0.25, 1) both;
}

.theme-hero-item--1 {
	animation-duration: 0.7s;
	animation-delay: 0.25s;
	--theme-hero-y: 12px;
}

.theme-hero-item--2 {
	animation-duration: 0.9s;
	animation-delay: 0.35s;
	--theme-hero-y: 22px;
}

.theme-hero-item--3 {
	animation-duration: 0.7s;
	animation-delay: 0.55s;
	--theme-hero-y: 14px;
}

.theme-hero-item--4 {
	animation-duration: 0.65s;
	animation-delay: 0.75s;
	--theme-hero-y: 14px;
}

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

@keyframes themeSlideUpSmall {
	from {
		opacity: 0;
		transform: translateY(var(--theme-hero-y, 20px));
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ------------------------------------------------------------------ *
 * Scroll reveal (fadeUp variant: opacity 0, y 32, 0.7s)
 * ------------------------------------------------------------------ */
.theme-reveal-item {
	opacity: 0;
	transform: translateY(32px);
	transition:
		opacity 0.7s cubic-bezier(0.25, 0.4, 0.25, 1),
		transform 0.7s cubic-bezier(0.25, 0.4, 0.25, 1);
	transition-delay: var(--reveal-delay, 0ms);
	will-change: opacity, transform;
}

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

/* Visible fallbacks: Customizer preview, reduced motion, no JS/observer. */
body.is-customizer .theme-reveal-item,
body.theme-no-js .theme-reveal-item {
	opacity: 1 !important;
	transform: none !important;
}

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

	.theme-hero-fade,
	.theme-hero-item {
		animation: none;
	}
}

/* ------------------------------------------------------------------ *
 * Category tiles (hover zoom matches whileHover scale 1.05 / 0.7s)
 * ------------------------------------------------------------------ */
.theme-category-tile .theme-tile-img {
	transition: transform 0.7s cubic-bezier(0.25, 0.4, 0.25, 1);
}

.theme-category-tile:hover .theme-tile-img {
	transform: scale(1.05);
}

/* ------------------------------------------------------------------ *
 * Weekly menu carousel (Embla/framer equivalents)
 * ------------------------------------------------------------------ */
.theme-menu-card {
	transition:
		box-shadow 0.3s ease,
		transform 0.3s cubic-bezier(0.26, 0.24, 0.26, 0.24);
}

.theme-menu-slide:hover .theme-menu-card {
	transform: translateY(-3px);
}

.theme-menu-image-link {
	display: block;
	overflow: hidden;
}

.theme-slide-enter-right {
	animation: themeSlideInRight 0.45s cubic-bezier(0.25, 0.4, 0.25, 1) both;
}

.theme-slide-enter-left {
	animation: themeSlideInLeft 0.45s cubic-bezier(0.25, 0.4, 0.25, 1) both;
}

@keyframes themeSlideInRight {
	from {
		opacity: 0;
		transform: translateX(60px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

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

.theme-menu-dot {
	border: 0;
	padding: 0;
	cursor: pointer;
}

/* Add-to-cart links keep the source button's box metrics */
.theme-menu-card .add_to_cart_button,
.theme-product-card .add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.theme-menu-card .add_to_cart_button {
	display: flex;
}

@media (prefers-reduced-motion: reduce) {
	.theme-slide-enter-right,
	.theme-slide-enter-left {
		animation: none;
	}
}

/* ------------------------------------------------------------------ *
 * Price filter panel + dual-range slider
 * ------------------------------------------------------------------ */
.theme-price-panel {
	overflow: hidden;
	transition:
		height 0.3s cubic-bezier(0.25, 0.4, 0.25, 1),
		opacity 0.3s cubic-bezier(0.25, 0.4, 0.25, 1);
}

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

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

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

.range-track-fill {
	background-color: hsl(var(--primary));
}

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

.range-input:focus {
	outline: none;
}

.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;
	box-shadow: 0 1px 3px hsl(var(--foreground) / 0.15);
}

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

.range-input::-moz-range-track {
	background: transparent;
}

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

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

/* ------------------------------------------------------------------ *
 * Product card (archive / related)
 * ------------------------------------------------------------------ */
.theme-product-card {
	display: block;
}

.theme-product-card__image-link {
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.theme-product-card__quick-add {
	z-index: 3;
	pointer-events: auto;
}

.theme-product-grid {
	align-items: stretch;
}

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

.theme-product-card-wrap > .theme-product-card {
	flex: 0 0 auto;
}

/* ------------------------------------------------------------------ *
 * Single product: gallery thumbnails, quantity, variations
 * ------------------------------------------------------------------ */
.single-product .theme-product-gallery,
.single-product .theme-product-info {
	min-width: 0;
	max-width: 100%;
}

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

.theme-thumb .theme-thumb-img {
	opacity: 0.6;
	transition: opacity 0.2s ease;
}

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

.theme-thumb .theme-thumb-underline {
	opacity: 0;
	transition: opacity 0.2s ease;
}

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

.theme-quantity-wrapper {
	display: inline-flex;
	align-items: center;
}

.theme-quantity-wrapper .theme-qty-input {
	width: 44px;
	min-width: 44px;
	max-width: 44px;
	flex: 0 0 auto;
	padding: 0.5rem 1rem;
	border: 0;
	background: transparent;
	color: hsl(var(--foreground));
	text-align: center;
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.25rem;
	-moz-appearance: textfield;
	appearance: textfield;
	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-quantity-wrapper button {
	background: transparent;
	border: 0;
	cursor: pointer;
	color: hsl(var(--foreground));
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.theme-quantity-wrapper .theme-qty-icon {
	width: 0.875rem;
	height: 0.875rem;
}

/* Variable product add-to-cart row */
.single-product .theme-add-to-cart-area {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1rem;
}

.single-product .theme-add-to-cart-area .theme-quantity-wrapper {
	border: 1px solid hsl(var(--border));
	flex: 0 0 auto;
}

.single-product .theme-add-to-cart-area .theme-qty-plus,
.single-product .theme-add-to-cart-area .theme-qty-minus {
	padding: 0.5rem 0.75rem;
}

.single-product .theme-add-to-cart-area .single_add_to_cart_button {
	flex: 1 1 auto;
	min-width: 160px;
}

.single-product .theme-product-cta .theme-add-to-cart-link {
	display: block;
	text-align: center;
	text-decoration: none;
	border: 0;
	font-family: var(--font-body);
	cursor: pointer;
}

/* The source quantity group has no bottom margin; the form wrapper does */
.single-product .theme-product-info .cart {
	margin: 0 0 1rem;
}

/* Variable attribute pills */
.theme-attr-pill:hover {
	border-color: hsl(var(--foreground) / 0.6);
}

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

/* Native selects stay in the DOM for WooCommerce variation matching */
.theme-attr-select-hidden {
	display: none !important;
}

/* Stack variation labels above their control, matching the pill layout */
.single-product .variations {
	border: 0;
	margin: 0;
	width: 100%;
	border-collapse: collapse;
}

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

.single-product .variations tbody td.label {
	display: none;
}

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

.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 .single_variation_wrap .woocommerce-variation-price,
.single-product .single_variation_wrap .woocommerce-variation-availability {
	display: none;
}

/* Add-to-cart disabled states (variable + out of stock) */
.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,
.theme-add-to-cart-link.disabled,
.theme-add-to-cart-link[aria-disabled="true"] {
	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;
}

/* The theme's own accordion replaces WooCommerce's tab markup */
.single-product .woocommerce-tabs {
	display: none;
}

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

/* WooCommerce loader spinner suppression (theme shows its own state) */
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after {
	display: none !important;
}

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

.single-product .theme-btn-primary {
	display: block;
	width: 100%;
	background-color: hsl(var(--foreground));
	color: hsl(var(--background));
	padding: 1rem 0;
	border-radius: 9999px;
	font-size: 0.75rem;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	font-family: var(--font-body);
	font-weight: 500;
	border: 0;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.single-product .theme-btn-primary:hover {
	background-color: hsl(var(--foreground) / 0.9);
	color: hsl(var(--background));
}

/* ------------------------------------------------------------------ *
 * Cart drawer + overlay (source: fixed right drawer, fade + slide up)
 * ------------------------------------------------------------------ */
#theme-cart-overlay {
	position: fixed;
	inset: 0;
	background-color: hsl(var(--foreground) / 0.2);
	z-index: 100;
	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 {
	position: fixed;
	top: 0;
	right: 0;
	height: 100%;
	width: 100%;
	max-width: 28rem;
	background-color: hsl(var(--background));
	z-index: 101;
	display: flex;
	flex-direction: column;
	box-shadow: var(--shadow-elevated);
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

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

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

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

body.cart-open {
	overflow: hidden;
}

/* ------------------------------------------------------------------ *
 * Contact modal
 * ------------------------------------------------------------------ */
body.theme-modal-open {
	overflow: hidden;
}

.theme-modal-overlay {
	animation: themeFadeIn 0.15s ease-out both;
}

.theme-modal-content {
	animation: themeModalIn 0.2s ease-out both;
}

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

@media (prefers-reduced-motion: reduce) {
	.theme-modal-content,
	.theme-modal-overlay {
		animation: none;
	}
}

/* ------------------------------------------------------------------ *
 * WordPress generated markup (no source equivalent)
 * ------------------------------------------------------------------ */
.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-width: 0;
}

/* WooCommerce notices follow the source card/box styling */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews {
	list-style: none;
	padding: 1rem 1.25rem;
	margin: 0 0 1.5rem;
	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.9375rem;
	line-height: 1.6;
}

.woocommerce-message {
	border-left: 3px solid hsl(var(--sage));
}

.woocommerce-info {
	border-left: 3px solid hsl(var(--primary));
}

.woocommerce-error {
	border-left: 3px solid hsl(var(--destructive));
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 1rem;
	margin-left: 0.75rem;
	border-radius: 9999px;
	border: 1px solid hsl(var(--input));
	background-color: hsl(var(--background));
	color: hsl(var(--foreground));
	font-family: var(--font-body);
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	text-decoration: none;
}

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

/* Pagination, breadcrumbs, ordering controls */
.woocommerce-pagination ul,
.woocommerce-pagination .page-numbers {
	display: flex;
	list-style: none;
	justify-content: center;
	gap: 0.5rem;
	padding: 0;
	margin: 0;
}

.woocommerce-pagination .page-numbers li {
	list-style: none;
}

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

.woocommerce-pagination span.page-numbers.current {
	background-color: hsl(var(--foreground));
	border-color: hsl(var(--foreground));
	color: hsl(var(--background));
}

.woocommerce-breadcrumb {
	font-family: var(--font-body);
	font-size: 0.8125rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
	margin: 0 0 1.5rem;
}

.woocommerce-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
	color: hsl(var(--foreground));
}

/* Product page form controls without source equivalents */
.woocommerce table.shop_attributes {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--font-body);
	font-size: 0.9375rem;
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
	border-bottom: 1px solid hsl(var(--border));
	padding: 0.75rem 0;
	text-align: left;
	color: hsl(var(--muted-foreground));
}

.woocommerce table.shop_attributes th {
	color: hsl(var(--foreground));
	font-weight: 500;
}

/* ------------------------------------------------------------------ *
 * Page titles share the site container (checkout, cart, account)
 * ------------------------------------------------------------------ */
.site-main,
.entry-content {
	min-width: 0;
}

.page-title {
	margin: 0 0 2rem;
}

body.theme-no-hero .site-main {
	padding-top: 0;
}

/* ------------------------------------------------------------------ *
 * Checkout block overrides
 * ------------------------------------------------------------------ */
body.woocommerce-checkout .site-main {
	padding-top: 0;
	padding-bottom: 4rem;
}

body.woocommerce-checkout .wc-block-checkout {
	display: block;
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .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__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(--card));
	border-radius: var(--radius);
	padding: 2rem;
	border: 1px solid hsl(var(--border));
}

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

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 input {
	width: 100% !important;
	max-width: none !important;
	border: 1px solid hsl(var(--border)) !important;
	border-radius: var(--radius) !important;
	background-color: hsl(var(--background)) !important;
	color: hsl(var(--foreground)) !important;
	font-family: var(--font-body) !important;
	font-size: 1rem !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 {
	border-color: hsl(var(--foreground)) !important;
	box-shadow: 0 0 0 1px hsl(var(--ring)) !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-checkout__sidebar h2,
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-checkout__form h2 {
	font-family: var(--font-display) !important;
	letter-spacing: -0.01em;
	color: hsl(var(--foreground));
}

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

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
	filter: brightness(1.1);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button .wc-block-components-button__text {
	color: hsl(var(--primary-foreground)) !important;
}

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

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

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

body.woocommerce-checkout .wc-block-components-checkbox__mark {
	border-radius: 0.125rem;
}

/* Cart / account block pages keep the same container rhythm */
body.theme-cart-page .wc-block-cart,
body.theme-account-page .woocommerce {
	font-family: var(--font-body);
	color: hsl(var(--foreground));
}

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-radius: 9999px;
	border: 0;
	padding: 0.875rem 1.5rem;
	font-family: var(--font-body);
	font-size: 0.75rem;
	letter-spacing: 0.25em;
	text-transform: uppercase;
}

body.theme-cart-page .wc-block-cart-items__row,
body.theme-cart-page .wc-block-components-totals-item {
	font-family: var(--font-body);
}

/* Classic cart/account forms still need themed inputs */
body.theme-cart-page .input-text,
body.theme-account-page .input-text,
body.theme-account-page input[type="text"],
body.theme-account-page input[type="email"],
body.theme-account-page input[type="password"] {
	width: 100%;
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	background-color: hsl(var(--background));
	color: hsl(var(--foreground));
	font-family: var(--font-body);
	font-size: 1rem;
	padding: 0.75rem 1rem;
}

/* ------------------------------------------------------------------ *
 * 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-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	list-style: none;
	margin: 0 0 2.5rem;
	padding: 1.25rem 1.5rem;
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	background-color: hsl(var(--card));
}

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

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

body.theme-thankyou-page .theme-thankyou-title {
	font-family: var(--font-display);
	font-size: 2.25rem;
	line-height: 1.15;
	color: hsl(var(--foreground));
	letter-spacing: -0.01em;
	margin: 0 0 1.5rem;
}

@media (min-width: 768px) {
	body.theme-thankyou-page .theme-thankyou-title {
		font-size: 2.5rem;
	}
}

body.theme-thankyou-page .woocommerce-order h2:not(.theme-thankyou-title),
body.theme-thankyou-page .woocommerce-order-details__title,
body.theme-thankyou-page .woocommerce-column__title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 1.2;
	padding: 0 0 1rem;
	margin: 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;
	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;
	margin-top: 2.5rem;
	font-size: 0.9375rem;
}

body.theme-thankyou-page .woocommerce-customer-details address {
	max-width: 480px;
	overflow-wrap: break-word;
	font-style: normal;
	line-height: 1.7;
	color: hsl(var(--muted-foreground));
	border: 0;
	padding: 0;
}

/* ------------------------------------------------------------------ *
 * WordPress block / classic content inside pages
 * ------------------------------------------------------------------ */
.entry-content > * {
	max-width: 100%;
}

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

.wp-block-woocommerce-checkout {
	max-width: 100%;
}

/* ------------------------------------------------------------------ *
 * Navigation lists rendered by WordPress menus
 * ------------------------------------------------------------------ */
.theme-footer-nav .theme-nav-list,
.theme-footer-nav .theme-nav-list li {
	list-style: none;
	margin: 0;
	padding: 0;
}

#theme-mobile-menu .theme-nav-list,
#theme-mobile-menu .theme-nav-list li {
	list-style: none;
	margin: 0;
	padding: 0;
}

#theme-mobile-menu .theme-nav-list a {
	text-decoration: none;
	display: block;
	padding: 0.5rem 0;
}

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

/* WooCommerce injects two empty fixed overlays for its own modal layers */
body > .theme-cart-overlay,
body > div[style*="position: fixed"] {
	pointer-events: none;
}

/* Cart block keeps the site container and a readable summary column */
body.theme-cart-page .entry-content,
body.theme-account-page .entry-content {
	max-width: 100%;
}

body.theme-cart-page .wc-block-cart {
	margin: 0;
}

body.theme-cart-page .wc-block-cart__main,
body.theme-cart-page .wc-block-cart__sidebar {
	min-width: 0;
}

body.theme-cart-page .wc-block-components-product-name {
	font-family: var(--font-body);
	color: hsl(var(--foreground));
}

/* Account page forms and tables follow the source card styling */
body.theme-account-page .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	overflow: hidden;
}

body.theme-account-page .woocommerce-MyAccount-navigation li {
	list-style: none;
	border-bottom: 1px solid hsl(var(--border));
}

body.theme-account-page .woocommerce-MyAccount-navigation li:last-child {
	border-bottom: 0;
}

body.theme-account-page .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 0.875rem 1.25rem;
	font-family: var(--font-body);
	font-size: 0.8125rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: hsl(var(--foreground));
	text-decoration: none;
}

body.theme-account-page .woocommerce-MyAccount-navigation li.is-active a {
	background-color: hsl(var(--secondary));
}

body.theme-account-page .woocommerce-MyAccount-content {
	min-width: 0;
}

body.theme-account-page .woocommerce-orders-table,
body.theme-account-page table.shop_table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--font-body);
	font-size: 0.9375rem;
}

body.theme-account-page table.shop_table th,
body.theme-account-page table.shop_table td {
	border-bottom: 1px solid hsl(var(--border));
	padding: 0.75rem 0;
	text-align: left;
}

/* Checkout / cart / account two-column split (single grid owner) */
@media (min-width: 1024px) {
	body.theme-account-page .woocommerce-MyAccount-navigation,
	body.theme-account-page .woocommerce-MyAccount-content {
		width: 100%;
	}
}
