/*
 * Theme styles.
 *
 * Contains only two kinds of rules:
 *   1. Markup that has no equivalent in the design (WooCommerce-generated
 *      output, WordPress output, checkout block).
 *   2. Functional rules (state toggles, hidden natives, drawer behaviour).
 *
 * Everything that exists in the design keeps its original classes and is
 * styled by app.css, which the source compiled from the design.
 *
 * Token names referenced here are declared by app.css, except the aliases
 * declared in the :root block below.
 */

:root {
	--theme-header-h: 64px;
	--theme-header-h-lg: 80px;
}

@media (min-width: 1024px) {
	:root {
		--theme-header-h: 80px;
	}
}

[hidden] {
	display: none !important;
}

/* -------------------------------------------------------------------------
 * Functional: scroll-reveal engine fallbacks
 * The design hides [data-aos] until an observer reveals it. Content must never
 * stay invisible in the editor preview, without IntersectionObserver, or when
 * motion is reduced.
 * ---------------------------------------------------------------------- */
body.is-customizer [data-aos],
.no-reveal [data-aos],
[data-aos].is-revealed {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	[data-aos] {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* Functional: logo sizing.
 * The design draws the logo at one of two sizes: the large mark while the
 * hero is in view, and a smaller one once the page is scrolled past it (and
 * on every inner page). Both derive from the single editable desktop height
 * so the logo stays proportional on every page. */
.site-logo-img {
	height: calc(var(--logo-h, 65px) * 0.9077) !important;
	width: auto !important;
	display: block;
}

@media (min-width: 1024px) {
	.site-logo-img {
		height: var(--logo-h, 65px) !important;
	}
}

.site-header.is-compact .site-logo-img {
	height: calc(var(--logo-h, 65px) * 0.6615) !important;
}

@media (min-width: 1024px) {
	.site-header.is-compact .site-logo-img {
		height: calc(var(--logo-h, 65px) * 0.7385) !important;
	}
}

/* Functional: header offset for inner pages whose template does not already
 * declare its own top padding. The home hero sits under the fixed header. */
body.theme-no-hero .site-main:not(.theme-main-self-padded),
body:not(.home) .site-main:not(.theme-main-self-padded) {
	padding-top: var(--theme-header-h);
}

/* Functional: mobile menu panel */
#theme-mobile-menu[hidden] {
	display: none !important;
}

/* Functional: FAQ accordion open/closed rows */
.theme-faq-panel {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 300ms ease-out;
}

.theme-faq-panel.is-open {
	grid-template-rows: 1fr;
}

/* Functional: testimonial carousel */
.theme-carousel-viewport {
	overflow: hidden;
}

.theme-carousel-track {
	display: flex;
}

.theme-carousel-slide {
	flex: 0 0 100%;
	min-width: 0;
}

@media (min-width: 768px) {
	.theme-carousel-slide {
		flex-basis: 50%;
	}
}

@media (min-width: 1024px) {
	.theme-carousel-slide {
		flex-basis: 25%;
	}
}

/* Functional: hidden native variation select (custom pills replace it) */
.theme-attr-select-hidden {
	display: none !important;
}

/* -------------------------------------------------------------------------
 * WooCommerce: markup that has no equivalent in the design
 * ---------------------------------------------------------------------- */

/* Add to cart: disabled state (variable product before a variation is chosen,
 * and out-of-stock simple products). */
.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;
}

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

/* Loading lock on AJAX add-to-cart buttons */
.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;
}

/* Cart badge */
.theme-cart-count:empty {
	display: none;
}

/* Cart drawer: the design mounts the drawer on open with its own
 * slide-in-bottom / fade-in animations, so the same keyframes drive the
 * open state here. The node is always present for fragment replacement. */
#theme-cart-overlay {
	position: fixed;
	inset: 0;
	z-index: 50;
	display: none;
	background-color: hsl(var(--foreground) / 0.3);
}

body.cart-open #theme-cart-overlay {
	display: block;
	animation: fade-in 0.7s ease-out both;
}

#theme-cart-drawer {
	display: none;
}

body.cart-open #theme-cart-drawer {
	display: flex;
	animation: slide-in-bottom 0.7s ease-out both;
}

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

/* Product card: the image and copy are links. Action buttons sit above the
 * image link so they receive clicks and their own hover styles. */
.theme-product-card {
	position: relative;
	display: block;
}

.theme-product-card .theme-card-actions {
	pointer-events: auto;
}

.theme-product-card .theme-card-add,
.theme-product-card .theme-card-quickview {
	position: relative;
	z-index: 2;
	pointer-events: auto;
	cursor: pointer;
	text-decoration: none;
	border: 0;
	background-color: hsl(var(--background) / 0.95);
	color: hsl(var(--foreground));
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.theme-product-card .theme-card-add:hover,
.theme-product-card .theme-card-quickview:hover,
.theme-product-card .theme-card-add:focus-visible,
.theme-product-card .theme-card-quickview:focus-visible {
	background-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	box-shadow: var(--shadow-glow);
}

.theme-product-card .theme-card-add.is-added,
.theme-product-card .theme-card-add.is-added:hover {
	background-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	box-shadow: var(--shadow-glow);
	transform: scale(1.03);
}

.theme-product-card .theme-card-add .theme-card-add__done {
	display: none;
}

.theme-product-card .theme-card-add.is-added .theme-card-add__idle {
	display: none;
}

.theme-product-card .theme-card-add.is-added .theme-card-add__done {
	display: inline-flex;
}

/* Single product layout constraints */
.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;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 0.75rem;
}

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

/* Quantity field: the design shows a compact stepper; the visible number
 * input replaces its display span, so it takes the same footprint. */
.theme-qty-input {
	width: 44px;
	-moz-appearance: textfield;
	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 {
	overflow-wrap: break-word;
	word-break: break-word;
}

/* Variation table reflow: label above control */
.single-product .variations tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td {
	display: block;
	width: 100%;
}

.single-product .variations tbody td.label {
	padding-bottom: 0.25rem;
}

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

/* Shop toolbar (category pills / search) are design elements styled by
 * app.css; only the WordPress-generated form wrapper needs normalising. */
.theme-shop-search-form {
	width: 100%;
}

/* WooCommerce notices: kept visible, styled with design tokens */
.woocommerce-notices-wrapper {
	width: 100%;
}

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

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

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

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

/* Checkout / cart / account width parity with the site container */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main,
body.theme-thankyou-page .site-main {
	padding-top: calc(var(--theme-header-h) + 1rem);
	padding-bottom: 4rem;
}

/* -------------------------------------------------------------------------
 * Cart block — brings the WooCommerce Blocks cart in line with the design
 * system (the classic shortcode markup is styled further down).
 * ---------------------------------------------------------------------- */
body.woocommerce-cart .wc-block-cart {
	display: block;
}

@media (min-width: 768px) {
	body.woocommerce-cart .wc-block-cart__main,
	body.woocommerce-cart .wc-block-cart__sidebar {
		min-width: 0;
	}
}

body.woocommerce-cart .wc-block-cart-items__header,
body.woocommerce-cart .wc-block-cart-item__prices,
body.woocommerce-cart .wc-block-cart-item__quantity {
	font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

body.woocommerce-cart .wc-block-cart-items__header {
	border-bottom-color: hsl(var(--border));
}

body.woocommerce-cart .wc-block-cart-items__header th {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: hsl(var(--foreground) / 0.55);
}

body.woocommerce-cart .wc-block-components-product-name,
body.woocommerce-cart .wc-block-cart-item__wrap a {
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: hsl(var(--foreground));
	text-decoration: none;
}

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

body.woocommerce-cart .wc-block-cart-item__image img,
body.woocommerce-cart .wc-block-components-product-image img {
	border-radius: calc(var(--radius) - 4px);
	background-color: hsl(var(--bone));
}

body.woocommerce-cart .wc-block-cart-item__total .price,
body.woocommerce-cart .wc-block-components-product-price {
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: hsl(var(--foreground));
}

body.woocommerce-cart .wc-block-cart-items__row {
	border-bottom-color: hsl(var(--border));
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-sidebar-layout,
body.woocommerce-cart .wc-block-cart__sidebar {
	background-color: transparent;
}

body.woocommerce-cart .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-item__value {
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 14px;
	color: hsl(var(--foreground) / 0.65);
}

body.woocommerce-cart .wc-block-components-totals-item__value {
	color: hsl(var(--foreground));
	font-weight: 500;
}

body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-size: 16px;
	font-weight: 600;
	color: hsl(var(--foreground));
}

body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-blocks-components-button,
body.woocommerce-checkout .wc-block-components-button,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-blocks-components-button {
	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: 'Inter', system-ui, sans-serif !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	text-decoration: none !important;
}

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

body.woocommerce-cart .wc-block-cart-item__quantity .wc-block-components-quantity-selector {
	border: 1px solid hsl(var(--foreground) / 0.2);
	border-radius: 9999px;
	background-color: transparent;
}

body.woocommerce-cart .wc-block-cart-item__quantity .wc-block-components-quantity-selector input {
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 14px;
	background: transparent;
	color: hsl(var(--foreground));
}

/* Cart / checkout notices keep the design's tokens */
body.woocommerce-cart .wc-block-components-notice-banner,
body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: calc(var(--radius) - 2px);
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 14px;
}

body.woocommerce-checkout .site-main > .container-wide > .entry-content,
body.woocommerce-cart .site-main > .container-wide > .entry-content {
	max-width: 100%;
}

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

/* One grid owner only: the element that directly contains __main and
 * __sidebar. The outer block wrapper stays a plain block so the two-column
 * layout is never nested. */
body.woocommerce-checkout .wc-block-checkout {
	display: block;
}

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

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: hsl(var(--linen));
	border-radius: var(--radius);
	padding: var(--section-padding, 2rem);
}

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 {
	width: 100% !important;
	max-width: none !important;
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	font-size: 14px;
	color: hsl(var(--foreground));
	background-color: hsl(var(--background)) !important;
	border: 1px solid hsl(var(--foreground) / 0.15) !important;
	border-radius: calc(var(--radius) - 4px) !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(--primary)) !important;
	outline: none !important;
	box-shadow: 0 0 0 2px hsl(var(--primary) / 0.25) !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: 9999px !important;
	font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	height: 48px !important;
}

body.woocommerce-checkout .wc-block-checkout h1,
body.woocommerce-checkout .wc-block-checkout h2,
body.woocommerce-checkout .wc-block-checkout h3,
body.woocommerce-checkout .wc-block-checkout__sidebar h2 {
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 500;
	color: hsl(var(--foreground));
}

body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: calc(var(--radius) - 2px);
	font-size: 14px;
}

body.woocommerce-checkout .page-title,
body.woocommerce-checkout .entry-content {
	width: 100%;
}

.page-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(2.25rem, 4vw, 3rem);
	line-height: 1.05;
	font-weight: 500;
	color: hsl(var(--foreground));
	margin: 0 0 2rem;
}

/* Cart / account tables generated by WooCommerce */
.woocommerce table.shop_table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	overflow: hidden;
	font-size: 14px;
}

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

.woocommerce table.shop_table th {
	font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: hsl(var(--foreground) / 0.65);
}

.woocommerce table.shop_table tbody tr:last-child td {
	border-bottom: 0;
}

/* My Account navigation */
.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 0.6rem 0.9rem;
	border-radius: calc(var(--radius) - 4px);
	font-size: 14px;
	color: hsl(var(--foreground) / 0.75);
	text-decoration: none;
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover {
	background-color: hsl(var(--primary) / 0.08);
	color: hsl(var(--primary));
}

/* Form fields generated by WooCommerce (login, account, classic forms) */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .woocommerce-Input {
	width: 100%;
	height: 48px;
	padding: 0 1rem;
	background-color: hsl(var(--background));
	border: 1px solid hsl(var(--foreground) / 0.15);
	border-radius: calc(var(--radius) - 4px);
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	font-size: 14px;
	color: hsl(var(--foreground));
}

.woocommerce form .form-row textarea {
	height: auto;
	padding: 0.75rem 1rem;
}

.woocommerce form .form-row {
	margin: 0 0 1rem;
	padding: 0;
}

.woocommerce form .form-row label,
.woocommerce form label {
	display: block;
	margin-bottom: 0.5rem;
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: hsl(var(--foreground) / 0.55);
}

.woocommerce form .form-row label.inline,
.woocommerce form .form-row .woocommerce-form__label-for-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-size: 14px;
	letter-spacing: 0;
	text-transform: none;
	color: hsl(var(--foreground) / 0.75);
}

.woocommerce form .form-row .required {
	color: hsl(var(--ruby));
	text-decoration: none;
}

/* Buttons generated by WooCommerce (login, account, coupons, update cart).
 * These have no design equivalent, so they copy the primary button. Buttons
 * that already carry the design's button classes are excluded, so the design's
 * own padding/height are never overridden. */
.woocommerce button.button:not(.theme-btn):not(.theme-card-add),
.woocommerce a.button:not(.theme-btn):not(.theme-card-add),
.woocommerce input.button:not(.theme-btn):not(.theme-card-add),
.woocommerce #respond input#submit,
.woocommerce .woocommerce-button:not(.theme-btn),
.woocommerce .woocommerce-Button:not(.theme-btn),
.woocommerce-form-login button.woocommerce-form-login__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 44px;
	padding: 0 1.5rem;
	background-color: hsl(var(--primary));
	border: 1px solid hsl(var(--primary));
	border-radius: 9999px;
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	color: hsl(var(--primary-foreground));
	text-decoration: none;
	cursor: pointer;
	transition: background-color 300ms ease, border-color 300ms ease;
}

.woocommerce button.button:not(.theme-card-add):hover,
.woocommerce a.button:not(.theme-card-add):hover,
.woocommerce input.button:not(.theme-card-add):hover,
.woocommerce .woocommerce-button:hover,
.woocommerce .woocommerce-Button:hover,
.woocommerce-form-login button.woocommerce-form-login__submit:hover {
	background-color: hsl(var(--primary) / 0.9);
	border-color: hsl(var(--primary) / 0.9);
	color: hsl(var(--primary-foreground));
}

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

.woocommerce .woocommerce-form-login,
.woocommerce .woocommerce-form-register {
	max-width: 32rem;
	padding: 2rem;
	border: 1px solid hsl(var(--foreground) / 0.1);
	border-radius: var(--radius);
	background-color: hsl(var(--background));
	box-shadow: var(--shadow-soft);
}

.woocommerce .woocommerce-form-login h2,
.woocommerce .woocommerce-form-register h2 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 1.5rem;
	font-weight: 500;
	margin: 0 0 1.25rem;
	color: hsl(var(--foreground));
}

.woocommerce .woocommerce-form-login__rememberme {
	margin-bottom: 1rem;
}

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

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

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

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-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 1.5rem;
	font-weight: 500;
	padding: 0 0 1rem;
}

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

/* Screen reader text used by WordPress / WooCommerce */
.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;
}

/* Product card grid safety when WooCommerce renders its own loop markup */
.woocommerce ul.products {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Pagination generated by WooCommerce */
.woocommerce-pagination ul.page-numbers {
	list-style: none;
	display: flex;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
}

.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.75rem;
	border: 1px solid hsl(var(--foreground) / 0.15);
	border-radius: 9999px;
	font-size: 14px;
	color: hsl(var(--foreground) / 0.75);
	text-decoration: none;
}

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

/* -------------------------------------------------------------------------
 * Customizer controls
 * ---------------------------------------------------------------------- */
.theme-media-control {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.theme-media-url-input {
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.theme-media-preview {
	max-width: 100%;
	height: auto;
	display: block;
}

/* -------------------------------------------------------------------------
 * 404 / empty states
 * ---------------------------------------------------------------------- */
.theme-empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 60vh;
	padding: 4rem 1.25rem;
	text-align: center;
}

.theme-empty-state h1 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 500;
	color: hsl(var(--foreground));
	margin: 0 0 1rem;
}

.theme-empty-state p {
	font-size: 15px;
	color: hsl(var(--foreground) / 0.65);
	margin: 0 0 2rem;
}
