/*
 * The Floral Peach — theme additions.
 *
 * Only markup with no source equivalent (WooCommerce/WordPress output) and
 * functional rules live here. Layout, spacing, colour and typography of
 * source elements come from app.css.
 */

/* ---------------------------------------------------------------
   Functional basics
   --------------------------------------------------------------- */
[hidden] {
	display: none !important;
}

figure {
	margin: 0;
}

@media screen and (min-width: 782px) {
	body.admin-bar .site-header {
		top: 32px;
	}
}

body.admin-bar #theme-cart-drawer {
	top: var(--wp-admin--admin-bar--height, 32px);
	height: calc(100% - var(--wp-admin--admin-bar--height, 32px));
}

#theme-cart-drawer.cart-drawer-no-enter {
	animation: none !important;
	transition: none !important;
}

/* Logo height is a Customizer value, applied to the header identity only —
   the footer keeps its own source size (h-16). */
.site-header .site-logo-img {
	height: var(--logo-height, 80px) !important;
	width: auto !important;
	display: block;
}

.site-logo-img {
	display: block;
}

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

/* Header scroll state keeps the source class strings; nothing to restyle. */
.site-header {
	top: 0;
}

/* ---------------------------------------------------------------
   Entrance motion (faithful port of the source motion variants)
   --------------------------------------------------------------- */
@keyframes themeHeroIn {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.theme-hero-copy {
	animation: themeHeroIn 0.9s cubic-bezier(0.25, 0.4, 0.25, 1) both;
}

@keyframes themeLogoFloat {
	0% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-8px);
	}
	100% {
		transform: translateY(0);
	}
}

.theme-hero-logo {
	animation: themeLogoFloat 4s ease-in-out infinite;
}

.theme-hero-slide {
	opacity: 0;
	transition: opacity 1.2s ease-in-out;
}

.theme-hero-slide.is-active {
	opacity: 1;
}

/* Reveal items: initial state is applied by JS so content is never
   invisible without JavaScript. */
html.reveal-init .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, 0s);
}

html.reveal-init .reveal-item.is-visible {
	opacity: 1;
	transform: none;
}

html.reveal-init body.is-customizer .reveal-item,
html.reveal-init body.is-customizer .reveal-item.is-visible {
	opacity: 1;
	transform: none;
	transition: none;
}

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

	.theme-hero-copy,
	.theme-hero-logo {
		animation: none;
	}
}

/* Card lift / image zoom (source lifts the media box, not the whole card). */
.theme-card-media {
	transition: transform 0.3s cubic-bezier(0.25, 0.4, 0.25, 1), box-shadow 0.3s ease;
}

.theme-product-card-wrap:hover .theme-card-media {
	transform: translateY(-6px);
}

.theme-product-card-wrap img {
	transition: transform 0.7s cubic-bezier(0.25, 0.4, 0.25, 1);
}

.theme-product-card-wrap:hover img {
	transform: scale(1.05);
}

.theme-tile {
	transition: transform 0.3s cubic-bezier(0.25, 0.4, 0.25, 1), box-shadow 0.3s ease;
}

.theme-tile:hover {
	transform: translateY(-6px);
}

.theme-tile-img {
	transition: transform 0.7s cubic-bezier(0.25, 0.4, 0.25, 1);
}

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

.theme-portfolio-item {
	transition: transform 0.3s cubic-bezier(0.25, 0.4, 0.25, 1);
}

.theme-portfolio-item:hover {
	transform: translateY(-4px);
}

/* ---------------------------------------------------------------
   Price filter — overlapping dual range (source slider geometry)
   --------------------------------------------------------------- */
.price-range-wrapper {
	position: relative;
	height: 1.5rem;
}

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

.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::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	pointer-events: auto;
	height: 1.25rem;
	width: 1.25rem;
	border-radius: 9999px;
	border: 2px solid hsl(var(--primary));
	background-color: hsl(var(--background));
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.range-input::-moz-range-thumb {
	pointer-events: auto;
	height: 1.25rem;
	width: 1.25rem;
	border-radius: 9999px;
	border: 2px solid hsl(var(--primary));
	background-color: hsl(var(--background));
	cursor: pointer;
}

.range-input::-webkit-slider-runnable-track {
	background: transparent;
	height: 100%;
}

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

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

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

.theme-price-panel {
	height: 0;
	opacity: 0;
	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);
}

.theme-price-panel.is-open {
	height: auto;
	opacity: 1;
}

/* ---------------------------------------------------------------
   Category strip / nav anchors
   --------------------------------------------------------------- */
.theme-hscroll-shell {
	position: relative;
}

.theme-hscroll-btn {
	display: none;
}

@media (max-width: 1023px) {
	.theme-hscroll-shell.is-active {
		padding-left: 2.25rem;
		padding-right: 2.25rem;
	}

	.theme-hscroll-shell.is-active .theme-hscroll-btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		top: 50%;
		z-index: 3;
		width: 2rem;
		height: 2rem;
		margin-top: -1rem;
		border: 1px solid hsl(var(--border));
		border-radius: 9999px;
		background-color: hsl(var(--background) / 0.95);
		color: hsl(var(--foreground));
		box-shadow: 0 2px 8px hsl(var(--foreground) / 0.08);
		transition: opacity 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	}

	.theme-hscroll-shell.is-active .theme-hscroll-btn--prev {
		left: 0;
	}

	.theme-hscroll-shell.is-active .theme-hscroll-btn--next {
		right: 0;
	}

	.theme-hscroll-shell.is-active .theme-hscroll-btn--next .theme-hscroll-icon {
		transform: scaleX(-1);
	}

	.theme-hscroll-shell.is-active .theme-hscroll-btn:disabled {
		opacity: 0.35;
		cursor: default;
		pointer-events: none;
	}

	.theme-hscroll-shell.is-active .theme-hscroll-viewport {
		width: 100%;
		-webkit-overflow-scrolling: touch;
	}
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

/* ---------------------------------------------------------------
   Cart drawer + overlay
   --------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed;
	inset: 0;
	z-index: 40;
	background-color: hsl(var(--foreground) / 0.2);
	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 {
	transform: translateX(100%);
	visibility: hidden;
	animation: none !important;
	transition: transform 0.3s var(--transition-smooth), visibility 0.3s var(--transition-smooth);
}

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

.theme-product-card-wrap [data-product-add] {
	pointer-events: auto;
}

/* ---------------------------------------------------------------
   Contact dialog
   --------------------------------------------------------------- */
[data-contact-overlay] {
	opacity: 0;
	transition: opacity 0.15s ease;
}

[data-contact-dialog] {
	opacity: 0;
	transform: translate(-50%, -48%) scale(0.95);
	transition: opacity 0.15s ease, transform 0.15s ease;
}

body.contact-open [data-contact-overlay] {
	opacity: 1;
}

body.contact-open [data-contact-dialog] {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

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

/* ---------------------------------------------------------------
   Source elements rebuilt from WordPress markup
   --------------------------------------------------------------- */
.product .theme-quantity-wrapper input.theme-qty-input,
.theme-quantity-wrapper input.theme-qty-input {
	width: 3.25rem;
	border: 0;
	background: transparent;
	-moz-appearance: textfield;
	padding-left: 0;
	padding-right: 0;
	outline: none;
}

.theme-quantity-wrapper input.theme-qty-input::-webkit-outer-spin-button,
.theme-quantity-wrapper input.theme-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Variation pills drive the native select, which stays in the DOM. */
.theme-attr-select-hidden {
	display: none !important;
}

.single-product .variations {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
}

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

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

.single-product .variations tbody td.label label {
	font-family: var(--font-body);
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
	font-weight: 400;
}

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

.single-product .theme-option-pill.is-selected,
.single-product .theme-option-pill[aria-pressed="true"] {
	background-color: hsl(var(--foreground));
	color: hsl(var(--background));
	border-color: hsl(var(--foreground));
}

.single-product .single_variation_wrap {
	margin-top: 0.5rem;
}

.single-product .woocommerce-variation-price {
	font-family: var(--font-body);
	color: hsl(var(--foreground));
	margin-bottom: 1rem;
}

.single-product .woocommerce-variation-availability p {
	font-family: var(--font-body);
	color: hsl(var(--muted-foreground));
}

.single-product .theme-product-layout,
.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-product-thumb.is-active img {
	opacity: 1;
}

.single-product .theme-product-thumb.is-active span {
	opacity: 1;
}

.single-product .theme-add-to-cart-area {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	margin-bottom: 0.25rem;
}

.single-product .theme-add-to-cart-area .theme-quantity-block {
	width: 100%;
}

.single-product .theme-add-to-cart-area .single_add_to_cart_button {
	width: 100%;
}

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

/* Disabled add-to-cart buttons (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 {
	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;
}

/* Hide the "View cart" link WooCommerce appends 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;
}

/* WooCommerce's own loading spinner is replaced by the theme 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;
}

/* ---------------------------------------------------------------
   WooCommerce notices (theme-styled, never globally hidden)
   --------------------------------------------------------------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	list-style: none;
	font-family: var(--font-body);
	font-size: 0.95rem;
	border-radius: 1rem;
	border: 1px solid hsl(var(--border));
	background-color: hsl(var(--butter));
	color: hsl(var(--foreground));
	padding: 1rem 1.25rem;
	margin: 0 0 1.5rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

.woocommerce-error {
	background-color: hsl(var(--destructive) / 0.1);
	border-color: hsl(var(--destructive) / 0.4);
	color: hsl(var(--destructive));
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
	order: 3;
	margin-left: auto;
	border-radius: 9999px;
	background-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	padding: 0.375rem 1rem;
	font-size: 0.8rem;
	text-decoration: none;
}

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

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

/* ---------------------------------------------------------------
   Shop loop structure
   --------------------------------------------------------------- */
.woocommerce-products-header {
	margin-bottom: 0;
}

ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.products li.product {
	margin: 0;
	padding: 0;
	width: auto;
	float: none;
}

.woocommerce-pagination,
.woocommerce-pagination ul {
	list-style: none;
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	padding: 0;
	margin: 0;
	font-family: var(--font-body);
}

.woocommerce-pagination a,
.woocommerce-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	min-width: 2.75rem;
	border-radius: 9999px;
	border: 1px solid hsl(var(--border));
	color: hsl(var(--foreground));
	text-decoration: none;
}

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

/* ---------------------------------------------------------------
   Cart / account / thank you page width parity
   --------------------------------------------------------------- */
body.theme-thankyou-page {
	overflow-x: hidden;
}

body.theme-thankyou-page .site-main,
body.theme-thankyou-page .entry-content,
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content {
	min-width: 0;
	max-width: 100%;
}

body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details {
	font-family: var(--font-body);
}

body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 600;
	padding: 0 0 1rem 0;
	color: hsl(var(--foreground));
}

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

body.theme-thankyou-page .woocommerce-order-overview::before,
body.theme-thankyou-page .woocommerce-order-overview::after {
	content: none;
	display: none;
}

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

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

body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	font-size: 0.95rem;
}

body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td {
	padding: 0.75rem 0.5rem;
	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;
	font-weight: 600;
}

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;
	font-style: normal;
	line-height: 1.7;
}

/* ---------------------------------------------------------------
   Checkout — native WooCommerce Checkout Block
   --------------------------------------------------------------- */
body.woocommerce-checkout .site-main {
	padding-bottom: 4rem;
}

body.woocommerce-checkout .wc-block-checkout {
	display: block;
	font-family: var(--font-body);
	color: hsl(var(--foreground));
	max-width: 100%;
}

body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout {
	min-width: 0;
	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;
}

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

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: hsl(var(--background) / 0.85);
	border-radius: 2rem;
	padding: 1.5rem;
	box-shadow: var(--shadow-soft);
	backdrop-filter: blur(4px);
}

/* The sidebar itself is the card: drop Blocks' own nested frame. */
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-wrapper,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-sidebar {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item {
	border: 0 !important;
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout__sidebar {
		padding: 2.5rem;
	}
}

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-radius: 9999px !important;
	font-family: var(--font-body) !important;
	font-size: 13px !important;
	letter-spacing: 0.16em !important;
	text-transform: uppercase !important;
	font-weight: 700 !important;
	min-height: 3rem !important;
	border: 0 !important;
}

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

body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-title,
body.woocommerce-checkout h2.wc-block-components-title {
	font-family: var(--font-display) !important;
	font-size: 1.25rem !important;
	font-weight: 700 !important;
	letter-spacing: -0.01em !important;
	color: hsl(var(--foreground)) !important;
}

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 {
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	color: hsl(var(--foreground)) !important;
	background-color: hsl(var(--background)) !important;
	border: 1px solid hsl(var(--border)) !important;
	border-radius: 0.75rem !important;
	box-shadow: none !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 textarea:focus {
	border-color: hsl(var(--accent)) !important;
	outline: none !important;
	box-shadow: 0 0 0 2px hsl(var(--accent) / 0.35) !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 {
	font-family: var(--font-body) !important;
	color: hsl(var(--muted-foreground)) !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: 1rem !important;
	font-family: var(--font-body) !important;
	border: 1px solid hsl(var(--border)) !important;
	background-color: hsl(var(--butter)) !important;
	color: hsl(var(--foreground)) !important;
	grid-column: 1 / -1;
}

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

body.woocommerce-checkout .wc-block-cart-items,
body.woocommerce-checkout .wc-block-components-order-summary {
	font-family: var(--font-body) !important;
}

body.woocommerce-checkout .wc-block-components-product-name {
	font-family: var(--font-body) !important;
	font-weight: 500 !important;
	color: hsl(var(--foreground)) !important;
}

body.woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-item__value {
	font-family: var(--font-body) !important;
}

body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .wp-block-woocommerce-checkout {
	max-width: 100%;
}

/* ---------------------------------------------------------------
   Cart block / classic cart table (non-checkout pages)
   --------------------------------------------------------------- */
body.woocommerce-cart .wc-block-cart {
	font-family: var(--font-body);
}

body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-components-button:not(.is-link) {
	background-color: hsl(var(--primary)) !important;
	color: hsl(var(--primary-foreground)) !important;
	border-radius: 9999px !important;
	font-family: var(--font-body) !important;
	letter-spacing: 0.16em !important;
	text-transform: uppercase !important;
	font-size: 13px !important;
	font-weight: 700 !important;
}

/* ---------------------------------------------------------------
   Account pages
   --------------------------------------------------------------- */
body.woocommerce-account .woocommerce {
	font-family: var(--font-body);
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0 1.25rem;
	border-radius: 9999px;
	border: 1px solid hsl(var(--border));
	text-decoration: none;
	color: hsl(var(--foreground));
	font-size: 13px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
	background-color: hsl(var(--accent));
	border-color: hsl(var(--accent));
	color: hsl(var(--accent-foreground));
}

@media (min-width: 768px) {
	body.woocommerce-account .woocommerce {
		display: grid;
		grid-template-columns: 240px 1fr;
		gap: 2.5rem;
		align-items: start;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation ul {
		flex-direction: column;
	}
}

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

.screen-reader-text:focus {
	clip: auto;
	width: auto;
	height: auto;
	padding: 0.5rem 1rem;
	background: hsl(var(--background));
	border-radius: 0.5rem;
	z-index: 100000;
}

/* ---------------------------------------------------------------
   Tailwind utilities not present in compiled app.css
   --------------------------------------------------------------- */
@media (min-width: 768px) {
	.md\:text-7xl {
		font-size: 4.5rem;
		line-height: 1;
	}

	.md\:grid-cols-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.bottom-3 {
	bottom: 0.75rem;
}

.z-10 {
	z-index: 10;
}

.hover\:scale-105:hover {
	--tw-scale-x: 1.05;
	--tw-scale-y: 1.05;
	transform: translate(var(--tw-translate-x, 0), var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0))
		skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1))
		scaleY(var(--tw-scale-y, 1));
}
