/* Knotted Knuckles — additions on top of the compiled design stylesheet.
   Typography, colour and layout for elements that exist in the design come from
   app.css. This file only covers state rules, WordPress/WooCommerce generated
   markup and script hooks. */

:root {
	--header-height: 4rem;
	--theme-admin-bar-offset: 0px;
}

@media (min-width: 1024px) {
	:root {
		--header-height: 5rem;
	}
}

body.admin-bar {
	--theme-admin-bar-offset: var(--wp-admin--admin-bar--height, 32px);
}

html {
	scroll-padding-top: calc(var(--header-height) + var(--theme-admin-bar-offset));
}

/* Clickable affordance — Tailwind preflight leaves buttons/links as default. */
a[href],
button:not(:disabled):not([aria-disabled="true"]),
[type="button"]:not(:disabled):not([aria-disabled="true"]),
[type="submit"]:not(:disabled):not([aria-disabled="true"]),
[type="reset"]:not(:disabled):not([aria-disabled="true"]),
[role="button"]:not([aria-disabled="true"]),
label[for],
select:not(:disabled),
summary,
.theme-product-card,
.theme-card-link,
.theme-cat-pill,
.theme-variation-pill,
.theme-product-thumb,
.faq-toggle,
[data-cart-open],
[data-menu-toggle],
[data-scroll-target],
[data-scroll-top] {
	cursor: pointer;
}

input[type="text"],
input[type="email"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="password"],
textarea {
	cursor: text;
}

/* Hidden markers must win over any display utility. */
[hidden] {
	display: none !important;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: hsl(var(--background));
	clip: auto !important;
	clip-path: none;
	color: hsl(var(--foreground));
	display: block;
	font-size: 15px;
	height: auto;
	left: 1rem;
	line-height: normal;
	padding: 0.75rem 1rem;
	text-decoration: none;
	top: 1rem;
	width: auto;
	z-index: 100000;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
}

/* -------------------------------------------------------------------------
   Site shell
   ---------------------------------------------------------------------- */

.site-main {
	display: block;
	min-width: 0;
}

.site-logo-img {
	height: var(--logo-height, 168px) !important;
	width: 100% !important;
	display: block;
	object-fit: contain;
	object-position: left center;
}

.site-logo-text {
	line-height: var(--logo-height, 48px);
	display: block;
}

.site-footer .site-logo-img {
	max-width: 360px;
}

/* Hero sits under the transparent sticky header exactly like the design. */
.theme-hero {
	margin-top: -4rem;
}

@media (min-width: 1024px) {
	.theme-hero {
		margin-top: -5rem;
	}
}

.theme-hero video,
.theme-cta video {
	object-fit: cover;
	object-position: center;
}

/* -------------------------------------------------------------------------
   Reveal safety nets
   ---------------------------------------------------------------------- */

body.is-customizer [data-aos],
body.is-customizer .img-fade-in {
	opacity: 1 !important;
	transform: none !important;
	filter: none !important;
	transition: none !important;
}

body.is-customizer .hero-reveal {
	opacity: 1 !important;
	transform: none !important;
	filter: none !important;
}

/* Keep marquee timing identical to the front end. */
body.is-customizer .marquee-track {
	animation: marquee-scroll 45s linear infinite;
}

/* Customizer hover chrome must not spin contact / CTA icons. */
body.is-customizer a:hover svg,
body.is-customizer button:hover svg,
body.is-customizer [role="button"]:hover svg,
.theme-contact-icon svg,
.theme-arrow-icon svg {
	transform: none !important;
}

.theme-contact-icon {
	color: hsl(var(--accent-foreground));
}

.theme-contact-icon .text-accent {
	color: hsl(var(--accent));
}

/* Title accents must stay clipped gradients in dark sections. */
.theme-dark .text-stitch-gradient {
	background: linear-gradient(120deg, hsl(var(--hot)), hsl(var(--sun)) 45%, hsl(var(--volt)));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.theme-light .text-stitch-gradient {
	background: none;
	color: hsl(var(--primary));
	-webkit-background-clip: border-box;
	background-clip: border-box;
}

@keyframes theme-image-fallback {
	to {
		opacity: 1;
	}
}

.theme-product-card .img-fade-in:not(.is-loaded) {
	animation: theme-image-fallback 0ms linear 2500ms forwards;
}

/* -------------------------------------------------------------------------
   Header states
   ---------------------------------------------------------------------- */

.site-header .theme-mobile-menu[hidden] {
	display: none !important;
}

/* Snappier crest collapse once the hero leaves the viewport (app.css uses 1.1s). */
.header-logo {
	transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
	.header-logo {
		transition: none;
	}
}

/* Keep sticky/fixed chrome below the WordPress admin bar. */
body.admin-bar .site-header {
	top: var(--theme-admin-bar-offset);
}

body.admin-bar .theme-scroll-progress {
	top: var(--theme-admin-bar-offset);
}

body.admin-bar #theme-cart-drawer {
	top: var(--theme-admin-bar-offset);
	height: calc(100% - var(--theme-admin-bar-offset));
}

@media (min-width: 1024px) {
	body.admin-bar .single-product .theme-product-gallery {
		top: calc(7rem + var(--theme-admin-bar-offset));
	}
}

/* -------------------------------------------------------------------------
   Card link overlay (keeps the whole card clickable without nesting links) */
/* ---------------------------------------------------------------------- */

.theme-product-card {
	position: relative;
}

.theme-product-card > .theme-card-link {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: auto;
	border-radius: inherit;
}

.theme-product-card *:not(.theme-card-link) {
	pointer-events: none;
}

.theme-product-card .theme-card-add,
.theme-product-card .theme-card-add * {
	pointer-events: auto;
}

.theme-product-card .theme-card-add {
	position: relative;
	z-index: 3;
}

.theme-product-card .theme-card-quickview {
	pointer-events: auto;
	position: relative;
	z-index: 3;
}

/* Marquee type sizes come from clamp() values in the design. */
.theme-marquee-text {
	font-size: clamp(1.2rem, 3vw, 2.4rem);
}

.theme-marquee-dot {
	width: clamp(7px, 0.7vw, 12px);
	height: clamp(7px, 0.7vw, 12px);
}

/* Pre-contact headline uses a viewport-relative clamp in the design. */
.theme-cta-title {
	font-size: clamp(2rem, 5.4vw, 3.8rem);
}

/* Hero reveal delays, matching the design's staggered entrance. */
.theme-hero-delay-1 {
	--hero-delay: 120ms;
}

.theme-hero-delay-2 {
	--hero-delay: 260ms;
}

.theme-hero-delay-3 {
	--hero-delay: 400ms;
}

/* -------------------------------------------------------------------------
   Cart drawer
   ---------------------------------------------------------------------- */

#theme-cart-overlay {
	position: fixed;
	inset: 0;
	background-color: hsl(var(--foreground) / 0.6);
	z-index: 40;
	animation: fade-in 0.7s ease-out both;
}

/* The design slides the drawer in with its own entrance animation, so the
   node stays mounted and is shown only while the cart is open. */
#theme-cart-drawer {
	display: none;
}

body.cart-open #theme-cart-drawer {
	position: fixed;
	top: 0;
	right: 0;
	height: 100%;
	width: 100%;
	max-width: 28rem;
	z-index: 50;
	display: flex;
	flex-direction: column;
	background-color: hsl(var(--ivory));
	box-shadow: var(--shadow-elevated);
}

#theme-cart-overlay {
	display: none;
}

body.cart-open #theme-cart-overlay {
	display: block;
}

#theme-cart-drawer.is-updating > * {
	opacity: 0.6;
	pointer-events: none;
}

.theme-cart-count:empty {
	display: none;
}

.theme-drawer-qty {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
}

/* -------------------------------------------------------------------------
   Buttons driven by WooCommerce
   ---------------------------------------------------------------------- */

.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;
}

body a.added_to_cart.wc-forward,
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward {
	display: none !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;
}

/* -------------------------------------------------------------------------
   Single product
   ---------------------------------------------------------------------- */

.single-product .site-main {
	padding-top: 6rem;
	background-color: hsl(var(--ivory));
}

@media (min-width: 1024px) {
	.single-product .site-main {
		padding-top: 7rem;
	}
}

.single-product .theme-product-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: start;
	min-width: 0;
}

@media (min-width: 1024px) {
	.single-product .theme-product-layout {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 4rem;
	}
}

.single-product .theme-product-gallery,
.single-product .theme-product-info {
	min-width: 0;
	max-width: 100%;
}

@media (min-width: 1024px) {
	.single-product .theme-product-gallery {
		grid-column: span 7;
		position: sticky;
		top: 7rem;
		align-self: start;
	}

	.single-product .theme-product-info {
		grid-column: span 5;
	}
}

.single-product .theme-product-main-image {
	position: relative;
	aspect-ratio: 1 / 1;
	width: 100%;
	background-color: hsl(var(--linen));
	border-radius: var(--radius);
	overflow: hidden;
	margin-bottom: 1rem;
}

.single-product .theme-product-main-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.single-product .theme-product-thumbnails {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.625rem;
	max-width: 100%;
}

.single-product .theme-product-thumb {
	aspect-ratio: 1 / 1;
	background-color: hsl(var(--linen));
	border-radius: calc(var(--radius) - 8px);
	overflow: hidden;
	border: 2px solid transparent;
	transition: border-color 300ms ease;
	padding: 0;
}

.single-product .theme-product-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.single-product .theme-product-thumb.is-active {
	border-color: hsl(var(--primary));
}

.single-product .theme-product-desc {
	white-space: pre-line;
}

.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;
}

.single-product .theme-quantity-wrapper {
	display: inline-flex;
	align-items: center;
	border: 1px solid hsl(var(--foreground) / 0.2);
	border-radius: 9999px;
}

.theme-qty-minus,
.theme-qty-plus {
	padding: 0.625rem 1rem;
	background: transparent;
	border: 0;
	cursor: pointer;
	color: inherit;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.theme-qty-minus:hover,
.theme-qty-plus:hover {
	color: hsl(var(--primary));
}

.theme-qty-input {
	width: 3rem;
	min-width: 44px;
	padding: 0.625rem 0;
	text-align: center;
	font-size: 15px;
	font-weight: 500;
	background: transparent;
	border: 0;
	-moz-appearance: textfield;
	appearance: textfield;
	color: inherit;
}

.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.theme-qty-input:focus {
	outline: none;
}

.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 .theme-details-list {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

.single-product .theme-details-list li {
	display: flex;
	align-items: flex-start;
	font-size: 15px;
	color: hsl(var(--foreground) / 0.75);
}

.single-product .theme-details-list li::before {
	content: "";
	width: 0.25rem;
	height: 0.25rem;
	margin-top: 0.625rem;
	margin-right: 0.75rem;
	flex-shrink: 0;
	border-radius: 9999px;
	background-color: hsl(var(--primary));
}

.single-product .theme-product-badges {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
}

/* Variable products: stacked label above its 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 {
	display: none;
	padding-bottom: 0.25rem;
}

.single-product .variations tbody td.value {
	padding-top: 0;
}

.theme-attr-select-hidden {
	display: none !important;
}

.theme-variation-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.single-product .theme-attr-group + .theme-attr-group {
	margin-top: 1rem;
}

.theme-variation-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.5rem;
	padding: 0.5rem 1.125rem;
	border-radius: 9999px;
	border: 1px solid hsl(var(--foreground) / 0.25);
	background: transparent;
	color: hsl(var(--foreground) / 0.8);
	font-size: 15px;
	font-weight: 600;
	transition: border-color 300ms ease, color 300ms ease, background-color 300ms ease;
}

.theme-variation-pill:hover {
	border-color: hsl(var(--accent));
	color: hsl(var(--accent));
}

.theme-variation-pill.is-selected {
	background-color: hsl(var(--primary));
	border-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
}

.single-product .theme-details-list {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.single-product .theme-details-list li {
	display: flex;
	align-items: flex-start;
	font-size: 15px;
	color: hsl(var(--foreground) / 0.75);
}

.single-product .theme-details-list li::before {
	content: "";
	width: 0.25rem;
	height: 0.25rem;
	margin-top: 0.625rem;
	margin-right: 0.75rem;
	flex-shrink: 0;
	border-radius: 9999px;
	background-color: hsl(var(--primary));
}

.single-product .single_variation_wrap .woocommerce-variation-price {
	margin-bottom: 1rem;
	font-size: 20px;
	font-weight: 500;
}

/* -------------------------------------------------------------------------
   Product cards — match Lovable ProductCard layout
   ---------------------------------------------------------------------- */

.theme-product-card-wrap {
	height: 100%;
}

.theme-product-card {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.theme-product-card .theme-product-media {
	position: relative;
	aspect-ratio: 3 / 4;
	background-color: hsl(var(--linen));
	overflow: hidden;
}

/* Beat Tailwind preflight `img { max-width:100%; height:auto }` inside the media frame. */
.theme-product-card .theme-product-media img,
.theme-product-card .shop-product-image {
	position: absolute;
	inset: 0;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	object-fit: contain;
	display: block;
}

.theme-product-card .theme-card-add-row {
	pointer-events: none;
}

.theme-product-card:hover .theme-card-add-row,
.theme-product-card:focus-within .theme-card-add-row {
	opacity: 1;
	pointer-events: auto;
}

.theme-product-card:hover .theme-card-hover-veil,
.theme-product-card:focus-within .theme-card-hover-veil {
	opacity: 1;
}

.theme-product-card .theme-card-add,
.theme-product-card .theme-card-quickview {
	pointer-events: auto;
}

/* -------------------------------------------------------------------------
   WooCommerce generated markup
   ---------------------------------------------------------------------- */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-radius: var(--radius);
	border: 1px solid hsl(var(--border));
	background-color: hsl(var(--card));
	color: hsl(var(--foreground));
	font-size: 15px;
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
	list-style: none;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	display: none;
}

.woocommerce-error {
	border-color: hsl(var(--destructive) / 0.5);
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
	margin-left: auto;
}

.single-product .woocommerce-message,
.single-product .woocommerce-info {
	display: none;
}

#theme-cart-drawer .woocommerce-message {
	display: none;
}

.woocommerce-breadcrumb {
	font-size: 15px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: hsl(var(--foreground) / 0.55);
}

.woocommerce-breadcrumb a {
	color: inherit;
}

.woocommerce-breadcrumb a:hover {
	color: hsl(var(--primary));
}

.onsale,
.woocommerce span.onsale {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 3;
	background-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	font-size: 15px;
	font-weight: 700;
	padding: 0.25rem 0.625rem;
	border-radius: 9999px;
	letter-spacing: 0.025em;
	text-transform: uppercase;
	line-height: 1.4;
	min-height: 0;
	min-width: 0;
	margin: 0;
}

.woocommerce .price,
.woocommerce-page .price {
	color: hsl(var(--primary));
}

/* Single product price matches Lovable: plain `$70.00 USD`, not Woo markup. */
.single-product .theme-product-price,
.single-product .theme-product-price .amount,
.single-product .theme-product-price .woocommerce-Price-amount {
	font-size: 20px;
	font-weight: 500;
	color: hsl(var(--foreground) / 0.9);
	line-height: 1.4;
}

.single-product .theme-product-price del,
.single-product .theme-product-price ins {
	text-decoration: none;
	background: transparent;
}

/* Archive grid */
.theme-archive-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem 1.5rem;
}

@media (min-width: 640px) {
	.theme-archive-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.theme-archive-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.theme-related-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2.5rem 1.5rem;
}

@media (min-width: 1024px) {
	.theme-related-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* -------------------------------------------------------------------------
   Cart / account / checkout width parity
   ---------------------------------------------------------------------- */

body.woocommerce-checkout .entry-content,
body.theme-cart-page .entry-content,
body.theme-account-page .entry-content,
body.theme-thankyou-page .entry-content {
	max-width: 100%;
}

body.woocommerce-checkout .site-main,
body.theme-thankyou-page .site-main {
	padding-bottom: 4rem;
}

.page-title {
	font-family: "Fraunces", Georgia, serif;
	font-weight: 700;
	font-size: 2.25rem;
	line-height: 1.1;
	margin-bottom: 2.5rem;
	text-wrap: balance;
}

@media (min-width: 768px) {
	.page-title {
		font-size: 3rem;
	}
}

/* Checkout block: strip the plugin visuals and mirror the design system. */
body.woocommerce-checkout .wc-block-checkout {
	display: block;
	font-family: "Nunito Sans", system-ui, -apple-system, sans-serif;
	color: hsl(var(--foreground));
}

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 {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2.5rem;
		align-items: start;
	}
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: hsl(var(--linen));
	border: 1px solid hsl(var(--foreground) / 0.1);
	border-radius: calc(var(--radius) + 0.25rem);
	padding: 1.75rem;
}

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-size: 15px;
	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,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input {
	font-family: "Nunito Sans", system-ui, -apple-system, sans-serif !important;
	font-size: 15px !important;
	color: hsl(var(--foreground)) !important;
	background-color: hsl(var(--ivory)) !important;
	border: 1px solid hsl(var(--foreground) / 0.15) !important;
	border-radius: calc(var(--radius) - 8px) !important;
	width: 100% !important;
	max-width: 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-blocks-components-select__select:focus,
body.woocommerce-checkout .wc-block-components-textarea:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input:focus {
	border-color: hsl(var(--primary)) !important;
	outline: 2px solid hsl(var(--primary) / 0.35) !important;
	outline-offset: 1px !important;
	box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label,
body.woocommerce-checkout .wc-block-components-checkbox label,
body.woocommerce-checkout .wc-block-components-radio-control__label {
	font-family: "Nunito Sans", system-ui, -apple-system, sans-serif !important;
	font-size: 15px !important;
	color: hsl(var(--foreground) / 0.65) !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-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: "Nunito Sans", system-ui, -apple-system, sans-serif !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	height: 3rem !important;
}

body.woocommerce-checkout .wc-block-cart-items,
body.woocommerce-checkout .wc-block-components-order-summary {
	font-size: 15px;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__description,
body.woocommerce-checkout .wc-block-components-product-name {
	color: hsl(var(--foreground)) !important;
}

body.woocommerce-checkout h1,
body.woocommerce-checkout h2,
body.woocommerce-checkout h3,
body.woocommerce-checkout .wc-block-components-title {
	font-family: "Fraunces", Georgia, serif !important;
	color: hsl(var(--foreground)) !important;
}

/* Cart page block parity */
body.theme-cart-page .wc-block-cart {
	font-family: "Nunito Sans", system-ui, -apple-system, sans-serif;
	color: hsl(var(--foreground));
}

body.theme-cart-page .wc-block-cart__main,
body.theme-cart-page .wc-block-cart__sidebar {
	min-width: 0;
	max-width: none;
}

body.theme-cart-page .wc-block-cart__submit-button,
body.theme-cart-page .wc-block-components-button {
	background-color: hsl(var(--primary)) !important;
	color: hsl(var(--primary-foreground)) !important;
	border-radius: 9999px !important;
	font-family: "Nunito Sans", system-ui, -apple-system, sans-serif !important;
	font-size: 15px !important;
	font-weight: 600 !important;
}

/* -------------------------------------------------------------------------
   Thank you page
   ---------------------------------------------------------------------- */

body.theme-thankyou-page {
	overflow-x: hidden;
}

body.theme-thankyou-page .woocommerce-order {
	color: hsl(var(--foreground));
}

body.theme-thankyou-page .woocommerce-order > p,
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title,
body.theme-thankyou-page .woocommerce-column__title {
	font-family: "Fraunces", Georgia, serif;
	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-size: 1.5rem;
	line-height: 1.2;
	padding: 0 0 1rem 0;
}

body.theme-thankyou-page .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	list-style: none;
	padding: 1.5rem;
	margin: 0 0 2rem;
	background-color: hsl(var(--linen));
	border: 1px solid hsl(var(--foreground) / 0.1);
	border-radius: var(--radius);
}

body.theme-thankyou-page .woocommerce-order-overview li {
	flex: 1 1 12rem;
	border: 0;
	margin: 0;
	padding: 0;
	font-size: 15px;
	color: hsl(var(--foreground) / 0.7);
	text-transform: none;
}

body.theme-thankyou-page .woocommerce-order-overview li strong {
	display: block;
	font-family: "Fraunces", Georgia, serif;
	font-size: 1.25rem;
	color: hsl(var(--foreground));
	margin-top: 0.25rem;
}

body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	font-size: 15px;
}

body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td {
	padding: 0.75rem 0.5rem;
	border-bottom: 1px solid hsl(var(--foreground) / 0.1);
	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: 2rem;
}

body.theme-thankyou-page .woocommerce-customer-details address {
	max-width: 480px;
	overflow-wrap: break-word;
	border: 1px solid hsl(var(--foreground) / 0.12);
	border-radius: var(--radius);
	padding: 1.25rem;
	background-color: hsl(var(--card));
	font-style: normal;
	font-size: 15px;
	line-height: 1.7;
}

/* -------------------------------------------------------------------------
   404
   ---------------------------------------------------------------------- */

.theme-notfound .site-main {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: hsl(var(--muted));
}

/* -------------------------------------------------------------------------
   Forms generated by WordPress
   ---------------------------------------------------------------------- */

.theme-search-form input[type="search"] {
	width: 100%;
	height: 2.75rem;
	border-radius: 9999px;
	background-color: hsl(var(--secondary));
	border: 1px solid hsl(var(--border));
	padding: 0 1rem;
	font-size: 15px;
	color: hsl(var(--foreground));
}

.entry-content > * + * {
	margin-top: 1.25rem;
}
