/**
 * Color Your World Co — theme layer.
 *
 * Only two kinds of rules live here:
 *   1. Markup that has no equivalent in the design source (WooCommerce and
 *      WordPress generated output: notices, price HTML, tables, the checkout
 *      block, the order-received page, pagination).
 *   2. Functional rules (visibility states, drawer open/close, hidden nodes).
 *
 * Every element that exists in the original design keeps its original class
 * list and is styled by assets/css/app.css. No global element rules here.
 */

/* -------------------------------------------------------------------------
 * Functional: hidden attribute always wins over display utilities
 * ---------------------------------------------------------------------- */
[hidden] {
	display: none !important;
}

/* -------------------------------------------------------------------------
 * Functional: admin bar clearance for sticky / fixed chrome
 * ---------------------------------------------------------------------- */
body.admin-bar .site-header {
	top: 32px;
}

body.admin-bar .theme-scroll-progress {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}

	body.admin-bar .theme-scroll-progress {
		top: 46px;
	}
}

@media screen and (max-width: 600px) {
	body.admin-bar .site-header {
		top: 0;
	}

	body.admin-bar .theme-scroll-progress {
		top: 0;
	}
}

/* -------------------------------------------------------------------------
 * Functional: pointer cursor on interactive controls
 * ---------------------------------------------------------------------- */
a[href],
button:not(:disabled):not([disabled]),
[role="button"]:not([aria-disabled="true"]),
input[type="submit"]:not(:disabled),
input[type="button"]:not(:disabled),
input[type="reset"]:not(:disabled),
label[for],
select,
summary,
.theme-attr-pill,
[data-cart-open],
[data-cart-close],
[data-cart-remove],
[data-cart-qty-update],
[data-shop-filter],
[data-shop-more],
[data-faq-toggle],
[data-mobile-menu-toggle],
.woocommerce-pagination a,
.theme-qty-plus,
.theme-qty-minus {
	cursor: pointer;
}

/* -------------------------------------------------------------------------
 * Functional: scroll progress bar (state set by main.js)
 * ---------------------------------------------------------------------- */
.theme-scroll-progress {
	transform: scaleX(0);
	transform-origin: 0% 50%;
}

/* -------------------------------------------------------------------------
 * Functional: cart drawer open/close
 * ---------------------------------------------------------------------- */
#theme-cart-drawer {
	transform: translateX(100%);
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
}

body.cart-open #theme-cart-drawer {
	transform: translateX(0);
}

.theme-cart-overlay {
	position: fixed;
	inset: 0;
	z-index: 40;
	background-color: hsl(var(--foreground) / 0.3);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

body.cart-open .theme-cart-overlay {
	opacity: 1;
	pointer-events: auto;
}

#theme-cart-drawer.is-updating > * {
	opacity: 0.6;
	pointer-events: none;
}

/* Empty badge stays hidden, matching the design. */
.theme-cart-count:empty {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	#theme-cart-drawer,
	.theme-cart-overlay {
		transition: none;
	}
}

/* -------------------------------------------------------------------------
 * Functional: mobile menu icon swap
 * ---------------------------------------------------------------------- */
body.menu-open .theme-menu-icon-open {
	display: none;
}

body.menu-open .theme-menu-icon-close {
	display: block;
}

/* -------------------------------------------------------------------------
 * Functional: quantity stepper + variation pills
 * ---------------------------------------------------------------------- */
.theme-qty-input {
	-moz-appearance: textfield;
	appearance: textfield;
}

.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.theme-attr-select-hidden {
	display: none !important;
}

.theme-attr-pill.is-active {
	background-color: hsl(var(--primary));
	border-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
}

.theme-product-thumb.is-active {
	border-color: hsl(var(--primary));
}

/* -------------------------------------------------------------------------
 * Functional: gallery main image fills its frame
 * ---------------------------------------------------------------------- */
#product-main-img {
	position: relative;
	overflow: hidden;
}

#product-main-img img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Product cards: full image framed like Lovable (no pre-cropped zoom). */
.theme-product-card .zoom-wrap {
	overflow: hidden;
}

.theme-product-card .zoom-img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center;
	display: block;
}

/* -------------------------------------------------------------------------
 * Functional: product thumbnails wrap safely
 * ---------------------------------------------------------------------- */
.single-product .theme-product-thumbnails {
	flex-wrap: wrap;
	max-width: 100%;
}

.single-product .theme-product-gallery,
.single-product .theme-product-info,
.single-product .theme-product-layout {
	min-width: 0;
	max-width: 100%;
}

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in,
.single-product .woocommerce-product-details__long-description {
	overflow-wrap: break-word;
	word-break: break-word;
}

.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;
}

/* -------------------------------------------------------------------------
 * Functional: disabled add-to-cart buttons
 * ---------------------------------------------------------------------- */
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}

.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
}

/* -------------------------------------------------------------------------
 * Functional: AJAX button lock
 * ---------------------------------------------------------------------- */
.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's "View cart" link is not part of the design. */
.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;
}

/* -------------------------------------------------------------------------
 * Functional: reveal fallbacks
 * ---------------------------------------------------------------------- */
body.is-customizer .reveal,
body.is-customizer .reveal-zoom,
.no-js .reveal,
.no-js .reveal-zoom {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

/* -------------------------------------------------------------------------
 * Functional: shop grid filtering / show-all state
 * ---------------------------------------------------------------------- */
[data-product-card][hidden] {
	display: none !important;
}

/* -------------------------------------------------------------------------
 * WooCommerce notices (theme design system)
 * ---------------------------------------------------------------------- */
.woocommerce-notices-wrapper {
	width: 100%;
}

.woocommerce-message,
.woocommerce-error,
.woocommerce-info,
.wc-block-components-notice-banner {
	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-family: var(--font-body);
	font-size: 0.9375rem;
	line-height: 1.6;
}

.woocommerce-message {
	border-left: 3px solid hsl(var(--accent));
}

.woocommerce-error {
	border-left: 3px solid hsl(var(--destructive));
}

.woocommerce-info {
	border-left: 3px solid hsl(var(--primary));
}

.woocommerce-error li {
	margin: 0;
}

/* -------------------------------------------------------------------------
 * WooCommerce price HTML
 * ---------------------------------------------------------------------- */
.woocommerce-Price-amount {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.price del {
	opacity: 0.6;
	font-weight: 400;
	margin-right: 0.35em;
}

.price ins {
	text-decoration: none;
	font-weight: 600;
}

/* -------------------------------------------------------------------------
 * WooCommerce product page extras
 * ---------------------------------------------------------------------- */
.single-product .variations {
	border-collapse: collapse;
	width: 100%;
	margin-bottom: 1rem;
}

.single-product .variations tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td {
	display: block;
	width: 100%;
}

.single-product .variations td.label {
	padding-bottom: 0.25rem;
}

.single-product .variations td.value {
	padding-top: 0;
}

.single-product .variations label {
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 600;
	color: hsl(var(--foreground));
}

.single-product .single_variation_wrap {
	margin-top: 1.5rem;
}

.single-product .woocommerce-variation-price {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.single-product .woocommerce-variation-availability p {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
}

.single-product .theme-product-category-eyebrow {
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: hsl(var(--accent));
}

.single-product .theme-product-category-eyebrow a,
.single-product .posted_in a {
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}

.single-product .theme-product-category-eyebrow a:hover,
.single-product .posted_in a:hover {
	color: hsl(var(--primary));
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.single-product .theme-product-details-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.single-product .theme-product-details-list li {
	position: relative;
	padding-left: 1.35rem;
	color: hsl(var(--muted-foreground));
	line-height: 1.5;
}

.single-product .theme-product-details-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 9999px;
	background-color: hsl(var(--primary));
}

.single-product .related-products-section {
	clear: both;
}

/* -------------------------------------------------------------------------
 * Pagination (archive pages)
 * ---------------------------------------------------------------------- */
.woocommerce nav.woocommerce-pagination ul,
.theme-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	list-style: none;
	padding: 0;
	margin: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span,
.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	height: 2.25rem;
	padding: 0 0.75rem;
	border-radius: 9999px;
	border: 1px solid hsl(var(--border));
	background-color: hsl(var(--card));
	color: hsl(var(--foreground));
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.3s ease, background-color 0.3s ease;
}

.page-numbers.current {
	background-color: hsl(var(--foreground));
	border-color: hsl(var(--foreground));
	color: hsl(var(--background));
}

.page-numbers:hover {
	border-color: hsl(var(--foreground));
}

/* -------------------------------------------------------------------------
 * Functional: toast feedback (the design surfaces form results this way)
 * ---------------------------------------------------------------------- */
.theme-toasts {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 100;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	width: min(22rem, calc(100vw - 2rem));
	pointer-events: none;
}

.theme-toast {
	pointer-events: auto;
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	padding: 0.875rem 1rem;
	border-radius: calc(var(--radius) - 2px);
	border: 1px solid hsl(var(--border));
	background-color: hsl(var(--background));
	color: hsl(var(--foreground));
	box-shadow: var(--shadow-elevated);
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.5;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.theme-toast.is-visible {
	opacity: 1;
	transform: none;
}

.theme-toast--error {
	border-color: hsl(var(--destructive));
	color: hsl(var(--destructive));
}

/* -------------------------------------------------------------------------
 * WordPress core generated markup used by the checkout block
 * ---------------------------------------------------------------------- */
.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;
}

.page-title {
	font-family: var(--font-display);
}

/* -------------------------------------------------------------------------
 * Checkout block — scoped to the checkout page only
 * ---------------------------------------------------------------------- */
body.woocommerce-checkout .site-main {
	padding-top: 2.5rem;
	padding-bottom: 4rem;
	overflow-x: hidden;
}

body.woocommerce-checkout .entry-content {
	max-width: 100%;
}

body.woocommerce-checkout .wc-block-checkout {
	display: block;
	font-family: var(--font-body);
}

@media (min-width: 1024px) {
	body.woocommerce-checkout .wc-block-checkout__main {
		order: 1;
	}

	body.woocommerce-checkout .wc-block-checkout__sidebar {
		order: 2;
	}
}

/* The sidebar-layout element is the direct parent of __main and __sidebar:
   it is the single grid owner for the two-column split. The Blocks layout
   ships as a flex row with a fixed-width sidebar, which the design (and the
   parity rule) replaces with an equal split. */
body.woocommerce-checkout .wc-block-components-sidebar-layout,
body.theme-cart-page .wc-block-components-sidebar-layout {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 2rem;
}

@media (min-width: 1024px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout,
	body.theme-cart-page .wc-block-components-sidebar-layout {
		grid-template-columns: 1fr 1fr !important;
		gap: 3rem;
		align-items: start;
	}
}

body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-checkout__sidebar {
	width: auto !important;
	max-width: none !important;
	flex: none !important;
}

body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-checkout__sidebar {
	position: static !important;
	top: auto !important;
	height: auto;
}

body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-notice-banner,
body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-store-notices,
body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-notices {
	grid-column: 1 / -1;
}

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));
	border-radius: calc(var(--radius) + 4px);
	padding: 1.5rem;
	box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout__sidebar {
		padding: 2rem;
	}
}

body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-checkout__form h2,
body.woocommerce-checkout .wc-block-components-checkout-step__title {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 700;
	color: hsl(var(--foreground));
	margin-bottom: 0.75rem;
}

body.woocommerce-checkout .wc-block-components-checkout-step__description,
body.woocommerce-checkout .wc-block-components-checkout-step__container p {
	font-family: var(--font-body);
	color: hsl(var(--muted-foreground));
}

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 .wc-block-components-combobox-control input.components-combobox-control__input {
	width: 100% !important;
	max-width: none !important;
	border: 1px solid hsl(var(--border)) !important;
	border-radius: calc(var(--radius) - 2px) !important;
	background-color: hsl(var(--background)) !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-blocks-components-select__select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input:focus {
	outline: none !important;
	border-color: hsl(var(--primary)) !important;
	box-shadow: 0 0 0 1px hsl(var(--primary)) !important;
}

body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label,
body.woocommerce-checkout .wc-blocks-components-select__label,
body.woocommerce-checkout .wc-block-components-checkbox__label {
	font-family: var(--font-body) !important;
	font-size: 0.875rem !important;
	color: hsl(var(--muted-foreground)) !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button:not(.is-link) {
	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: var(--font-body) !important;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	min-height: 2.75rem;
	transition: background-color 0.3s ease, color 0.3s ease;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout .wc-block-components-button:not(.is-link):hover {
	background-color: hsl(var(--background)) !important;
	color: hsl(var(--primary)) !important;
}

body.woocommerce-checkout .wc-block-components-order-summary__heading,
body.woocommerce-checkout .wc-block-components-order-summary-item__description,
body.woocommerce-checkout .wc-block-components-totals-item,
body.woocommerce-checkout .wc-block-cart-items {
	font-family: var(--font-body);
	color: hsl(var(--foreground));
}

body.woocommerce-checkout .wc-block-components-totals-item__label {
	color: hsl(var(--muted-foreground));
}

body.woocommerce-checkout .wc-block-components-totals-item__value {
	font-weight: 600;
}

body.woocommerce-checkout .wc-block-components-product-name {
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image img,
body.woocommerce-checkout .wc-block-cart-item__image img {
	border-radius: calc(var(--radius) - 4px);
}

/* -------------------------------------------------------------------------
 * Order received page
 * ---------------------------------------------------------------------- */
body.theme-thankyou-page {
	overflow-x: hidden;
}

body.theme-thankyou-page .woocommerce-order {
	font-family: var(--font-body);
}

body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title,
body.theme-thankyou-page .woocommerce-column__title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 600;
	color: hsl(var(--foreground));
	padding: 0 0 1rem 0;
	margin: 0;
}

body.theme-thankyou-page .woocommerce-thankyou-order-received {
	display: none;
}

body.theme-thankyou-page .woocommerce-order-overview {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	list-style: none;
	margin: 0 0 2.5rem;
	padding: 1.5rem;
	border-radius: calc(var(--radius) + 4px);
	background-color: hsl(var(--secondary));
}

@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-order-overview {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

body.theme-thankyou-page .woocommerce-order-overview li {
	margin: 0;
	border: 0;
	padding: 0;
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
}

body.theme-thankyou-page .woocommerce-order-overview li strong {
	display: block;
	margin-top: 0.25rem;
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: hsl(var(--foreground));
}

body.theme-thankyou-page .woocommerce-order-details {
	margin-bottom: 2.5rem;
}

body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	font-family: var(--font-body);
}

body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td {
	padding: 0.75rem 0;
	border-bottom: 1px solid hsl(var(--border));
	font-size: 0.9375rem;
	text-align: left;
	vertical-align: top;
	overflow-wrap: break-word;
}

body.theme-thankyou-page .woocommerce-order-details tfoot th {
	text-align: left;
	font-weight: 600;
}

body.theme-thankyou-page .woocommerce-order-details tfoot td {
	text-align: right;
	font-weight: 600;
}

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-family: var(--font-body);
	font-style: normal;
	color: hsl(var(--muted-foreground));
	line-height: 1.7;
}

/* -------------------------------------------------------------------------
 * Checkout / Cart block empty states
 * ---------------------------------------------------------------------- */
body.woocommerce-checkout .wc-block-components-notice-banner,
body.theme-cart-page .wc-block-components-notice-banner {
	justify-content: center;
	text-align: center;
	border-radius: calc(var(--radius) + 4px);
	padding: 2.5rem 1.5rem;
	font-family: var(--font-body);
	background-color: hsl(var(--secondary)) !important;
	border: 0 !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner > svg,
body.theme-cart-page .wc-block-components-notice-banner > svg {
	width: 3rem;
	height: 3rem;
	margin: 0 auto 1rem;
	fill: hsl(var(--foreground)) !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner__content,
body.theme-cart-page .wc-block-components-notice-banner__content {
	display: block;
	text-align: center;
}

body.woocommerce-checkout .wc-block-components-notice-banner .wc-block-components-button,
body.theme-cart-page .wc-block-components-notice-banner .wc-block-components-button {
	margin-top: 1rem;
	border-radius: 9999px !important;
	background-color: hsl(var(--foreground)) !important;
	color: hsl(var(--background)) !important;
	border: 1px solid hsl(var(--foreground)) !important;
	padding: 0.75rem 1.75rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
}

body.woocommerce-checkout .wc-block-components-notice-banner .wc-block-components-button:hover,
body.theme-cart-page .wc-block-components-notice-banner .wc-block-components-button:hover {
	background-color: hsl(var(--background)) !important;
	color: hsl(var(--foreground)) !important;
}

/* -------------------------------------------------------------------------
 * Cart/checkout tables and totals
 * ---------------------------------------------------------------------- */
body.woocommerce-checkout .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
	font-variant-numeric: tabular-nums;
}

body.woocommerce-checkout .wc-block-components-checkout-order-summary__title,
body.theme-cart-page .wc-block-cart__sidebar .wc-block-components-title {
	font-family: var(--font-display);
	font-weight: 600;
}

/* Classic cart page fallback markup */
.woocommerce-cart .woocommerce,
.woocommerce-account .woocommerce {
	font-family: var(--font-body);
}

.woocommerce-cart table.cart,
.woocommerce-account table {
	width: 100%;
	border-collapse: collapse;
}

.woocommerce-cart table.cart th,
.woocommerce-cart table.cart td {
	padding: 0.75rem 0;
	border-bottom: 1px solid hsl(var(--border));
	text-align: left;
	font-size: 0.9375rem;
}

.woocommerce-cart .cart-collaterals .cart_totals h2,
.woocommerce-account h2 {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 600;
	padding-bottom: 1rem;
}

/* -------------------------------------------------------------------------
 * Cart / account block pages — width parity with checkout
 * ---------------------------------------------------------------------- */
body.theme-cart-page .site-main,
body.theme-account-page .site-main {
	padding-top: 2.5rem;
	padding-bottom: 4rem;
	overflow-x: hidden;
}

body.theme-cart-page .entry-content,
body.theme-account-page .entry-content {
	max-width: 100%;
}

body.theme-cart-page .wc-block-cart,
body.theme-account-page .woocommerce {
	font-family: var(--font-body);
}

body.theme-account-page .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

body.theme-account-page .woocommerce-MyAccount-navigation li a {
	display: inline-flex;
	padding: 0.5rem 1rem;
	border-radius: 9999px;
	border: 1px solid hsl(var(--border));
	background-color: hsl(var(--card));
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	color: hsl(var(--foreground));
}

body.theme-account-page .woocommerce-MyAccount-navigation li.is-active a {
	background-color: hsl(var(--foreground));
	border-color: hsl(var(--foreground));
	color: hsl(var(--background));
}
