/* ==========================================================================
   Uniquely Yours — functional rules and markup without a source equivalent.
   Loaded after the compiled source stylesheet (app.css).
   ========================================================================== */

:root {
	--announcement-height: 0px;
	--admin-bar-height: 0px;
	--botanical: 353 34% 46%;
	--ink: 210 22% 23%;
}

body.has-announcement {
	--announcement-height: 36px;
}

body.admin-bar {
	--admin-bar-height: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar {
		--admin-bar-height: 46px;
	}
}

[hidden] {
	display: none !important;
}

/* --------------------------------------------------------------------------
   Header offset (fixed header above the announcement bar)
   -------------------------------------------------------------------------- */
#theme-scroll-progress,
#theme-announcement {
	top: var(--admin-bar-height);
}

.site-header {
	top: var(--admin-bar-height);
}

body.has-announcement .site-header {
	top: calc(var(--admin-bar-height) + var(--announcement-height));
}

.theme-hero-offset {
	padding-top: 0;
}

body.has-announcement .theme-hero-offset {
	padding-top: var(--announcement-height);
}

#theme-mobile-menu {
	top: calc(var(--admin-bar-height) + var(--announcement-height) + 96px);
}

/* --------------------------------------------------------------------------
   Pointer cursor on every clickable control
   -------------------------------------------------------------------------- */
a[href],
button:not(:disabled),
[role="button"],
[type="button"]:not(:disabled),
[type="submit"]:not(:disabled),
[data-nav-link],
[data-search-open],
[data-search-close],
[data-search-category],
[data-cart-open],
[data-contact-open],
[data-filter-cat],
[data-filter-color],
[data-filter-price],
[data-filter-clear],
[data-dropdown-toggle],
[data-cat-tile],
[data-mega-trigger],
[data-color-search-open],
[data-announcement-close],
[data-mobile-toggle],
[data-mobile-section],
[data-faq-toggle],
[data-faq-tab],
[data-hero-dot],
label[for],
select,
summary {
	cursor: pointer;
}

button:disabled,
[disabled],
.disabled {
	cursor: not-allowed;
}

/* Ink token used by compiled Lovable class names. */
.text-ink { color: hsl(var(--ink)); }
.text-ink\/85 { color: hsl(var(--ink) / 0.85); }
.text-ink\/80 { color: hsl(var(--ink) / 0.80); }
.text-ink\/75 { color: hsl(var(--ink) / 0.75); }
.text-ink\/70 { color: hsl(var(--ink) / 0.70); }
.text-ink\/60 { color: hsl(var(--ink) / 0.60); }
.text-ink\/55 { color: hsl(var(--ink) / 0.55); }
.text-ink\/50 { color: hsl(var(--ink) / 0.50); }
.text-ink\/40 { color: hsl(var(--ink) / 0.40); }
.border-ink { border-color: hsl(var(--ink)); }
.border-ink\/30 { border-color: hsl(var(--ink) / 0.30); }
.bg-ink\/40 { background-color: hsl(var(--ink) / 0.40); }
.placeholder\:text-ink\/40::placeholder { color: hsl(var(--ink) / 0.40); }

/* Logo height is controlled from the Customizer. */
.site-logo-img {
	height: var(--logo-height) !important;
	width: auto !important;
	display: block;
}

.site-logo-text {
	line-height: 1;
	display: block;
}

@media (max-width: 1023px) {
	.site-logo-img {
		height: var(--logo-height-mobile) !important;
	}
}

/* --------------------------------------------------------------------------
   Hero motion
   -------------------------------------------------------------------------- */
.theme-hero-img {
	opacity: 0;
	z-index: 0;
}

.theme-hero-img.is-active {
	z-index: 1;
	animation: themeHeroFade 1.2s var(--transition-smooth) forwards,
		themeHeroZoom 7s linear forwards;
}

@keyframes themeHeroFade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes themeHeroZoom {
	from {
		transform: scale(1.03);
	}
	to {
		transform: scale(1);
	}
}

.theme-hero-text {
	opacity: 1;
	transform: none;
	transition: opacity 0.35s var(--transition-smooth),
		transform 0.35s var(--transition-smooth);
}

.theme-hero-text:not(.is-active) {
	opacity: 0;
	transform: translateY(24px);
}

@media (prefers-reduced-motion: reduce) {
	.theme-hero-img.is-active {
		animation: themeHeroFade 0.01s forwards;
	}
	.theme-hero-text {
		transition: none;
	}
}

/* --------------------------------------------------------------------------
   Scroll reveal + parallax
   -------------------------------------------------------------------------- */
.reveal-item {
	transition: opacity 0.9s var(--transition-smooth),
		translate 0.9s var(--transition-smooth);
	transition-delay: var(--reveal-delay, 0s);
}

html.reveal-ready .reveal-item:not(.is-visible) {
	opacity: 0;
	translate: 0 40px;
}

html.reveal-ready .reveal-item.is-visible {
	opacity: 1;
	translate: 0 0;
}

body.is-customizer .reveal-item,
body.is-customizer .reveal-item:not(.is-visible) {
	opacity: 1 !important;
	translate: none !important;
}

@media (prefers-reduced-motion: reduce) {
	html.reveal-ready .reveal-item:not(.is-visible),
	html.reveal-ready .reveal-item.is-visible {
		opacity: 1;
		translate: none;
		transition: none;
	}
}

.theme-parallax {
	transform: translate3d(0, var(--parallax-y, 0px), 0);
	will-change: transform;
}

@media (max-width: 1023px) {
	.theme-parallax {
		transform: none;
		will-change: auto;
	}

	[data-parallax-root="highlights"] > .grid {
		row-gap: 3.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.theme-parallax {
		transform: none;
	}
}

/* Lovable botanical token: rosewood, same as primary. */
.marquee svg,
#contact h2 {
	color: hsl(var(--botanical));
}

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */
.theme-faq-panel {
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: max-height 0.4s var(--transition-smooth),
		opacity 0.4s var(--transition-smooth);
}

.theme-faq-panel.is-open {
	opacity: 1;
}

/* --------------------------------------------------------------------------
   Mega menu grid
   -------------------------------------------------------------------------- */
.theme-mega-grid {
	grid-template-columns: repeat(var(--mega-cols, 2), minmax(0, 1fr));
}

/* --------------------------------------------------------------------------
   Cart drawer + overlay
   -------------------------------------------------------------------------- */
#theme-cart-drawer {
	transform: translateY(24px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: transform 0.3s var(--transition-smooth),
		opacity 0.3s var(--transition-smooth), visibility 0.3s;
}

body.cart-open #theme-cart-drawer {
	transform: none;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

#theme-cart-overlay {
	position: fixed;
	inset: 0;
	background: hsl(var(--foreground) / 0.3);
	z-index: 40;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s var(--transition-smooth);
}

body.cart-open #theme-cart-overlay {
	opacity: 1;
	pointer-events: auto;
}

#theme-cart-drawer.is-updating > * {
	opacity: 0.6;
	pointer-events: none;
}

.theme-cart-count:empty {
	display: none;
}

/* --------------------------------------------------------------------------
   Search / colour search overlays
   -------------------------------------------------------------------------- */
.theme-color-orbit {
	background: conic-gradient(from 0deg, #c44569, #c9a24c, #9fae8c, #2a3a6b, #6b2c4a, #c44569);
}

.theme-lightness {
	writing-mode: vertical-lr;
	-webkit-appearance: slider-vertical;
	background: linear-gradient(to bottom, #fff, #000);
}

body.theme-scroll-locked {
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   Contact modal success panel
   -------------------------------------------------------------------------- */
.theme-sent-panel {
	animation: themeSentIn 0.4s var(--transition-smooth) both;
}

@keyframes themeSentIn {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* --------------------------------------------------------------------------
   Add to cart — loading + disabled states
   -------------------------------------------------------------------------- */
.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_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 "View cart" injected by WooCommerce after AJAX add-to-cart. */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward {
	display: none !important;
}

/* --------------------------------------------------------------------------
   Quantity inputs
   -------------------------------------------------------------------------- */
.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-quantity-wrapper {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.theme-quantity-wrapper .theme-qty-minus,
.theme-quantity-wrapper .theme-qty-plus {
	width: 2rem;
	height: 2rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid hsl(var(--border));
	color: hsl(var(--foreground));
	font-family: var(--font-body);
	line-height: 1;
	transition: border-color 0.2s var(--transition-smooth);
}

.theme-quantity-wrapper .theme-qty-minus:hover,
.theme-quantity-wrapper .theme-qty-plus:hover {
	border-color: hsl(var(--foreground));
}

.theme-quantity-wrapper .theme-qty-input {
	width: 2.5rem;
	text-align: center;
	background: transparent;
	border: 0;
	padding: 0;
	font-family: var(--font-body);
	font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   Single product layout
   -------------------------------------------------------------------------- */
.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;
}

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in {
	overflow-wrap: break-word;
	word-break: break-word;
}

/* Variations table reflows to stacked label + control. */
.single-product .variations.shop_attributes 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;
}

.single-product .variations td.label label {
	font-family: var(--font-body);
	font-size: 0.75rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: hsl(var(--foreground));
}

.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));
}

.single-product .single_variation_wrap .woocommerce-variation-price {
	font-family: var(--font-display);
	font-size: 1.25rem;
	margin-bottom: 0.75rem;
}

.single-product .single_variation_wrap .woocommerce-variation-availability {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
	margin-bottom: 0.75rem;
}

/* WooCommerce-generated description paragraphs keep the source's rhythm. */
.theme-product-desc p + p {
	margin-top: 0.9em;
}

/* --------------------------------------------------------------------------
   WooCommerce notices
   -------------------------------------------------------------------------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	list-style: none;
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.6;
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	background-color: hsl(var(--card));
	color: hsl(var(--foreground));
	padding: 1rem 1.25rem;
	margin: 0 0 1.5rem;
}

.woocommerce-error {
	border-color: hsl(var(--destructive));
	color: hsl(var(--destructive));
	background-color: hsl(var(--card));
}

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
	color: hsl(var(--primary));
	text-decoration: underline;
}

.single-product .woocommerce-message,
.single-product .woocommerce-info {
	display: none;
}

#theme-cart-drawer .woocommerce-message {
	display: none;
}

/* --------------------------------------------------------------------------
   Checkout block
   -------------------------------------------------------------------------- */
body.woocommerce-checkout .wc-block-checkout {
	display: block;
}

@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__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: hsl(var(--card));
	border-radius: var(--radius);
	padding: 2rem;
}

body.woocommerce-checkout .wc-block-checkout__main {
	padding: 0;
}

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 {
	border-color: hsl(var(--border)) !important;
	border-radius: 0.375rem !important;
	background-color: hsl(var(--background)) !important;
	color: hsl(var(--foreground)) !important;
	font-family: var(--font-body) !important;
	font-size: 0.875rem !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 {
	outline: none !important;
	border-color: transparent !important;
	box-shadow: 0 0 0 2px hsl(var(--accent)) !important;
}

body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label,
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-checkout__sidebar h2 {
	font-family: var(--font-body) !important;
	letter-spacing: 0.12em;
}

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: var(--font-body) !important;
	font-size: 0.75rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.24em !important;
	text-transform: uppercase !important;
	min-height: 3rem !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
	background-color: hsl(var(--background)) !important;
	color: hsl(var(--primary)) !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: var(--radius) !important;
	font-family: var(--font-body) !important;
}

body.woocommerce-checkout .wc-block-cart-items,
body.woocommerce-checkout .wc-block-components-product-name,
body.woocommerce-checkout .wc-block-components-totals-item {
	font-family: var(--font-body) !important;
}

body.woocommerce-checkout .wc-block-components-checkout-step__container {
	border: 0;
	padding-left: 0;
	padding-right: 0;
}

body.woocommerce-checkout .wc-block-components-checkout-step__heading {
	border-bottom: 1px solid hsl(var(--border));
	padding-bottom: 1rem;
}

body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary-item__description {
	font-family: var(--font-body) !important;
}

/* --------------------------------------------------------------------------
   Thank you page
   -------------------------------------------------------------------------- */
body.theme-thankyou-page {
	overflow-x: hidden;
}

body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display);
	padding: 0 0 1rem 0;
}

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-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);
}

body.theme-thankyou-page .woocommerce-order-overview {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	padding: 0;
	margin: 0 0 2rem;
	font-family: var(--font-body);
}

body.theme-thankyou-page .woocommerce-order-overview li {
	border-right: 1px solid hsl(var(--border));
	padding-right: 1.5rem;
	font-size: 0.875rem;
}

body.theme-thankyou-page .woocommerce-order-overview li:last-child {
	border-right: 0;
}

body.theme-thankyou-page .woocommerce-thankyou-order-received {
	font-family: var(--font-display);
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   WordPress defaults used by generated markup
   -------------------------------------------------------------------------- */
.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;
	width: 1px;
	word-wrap: normal !important;
}

.page-title {
	font-family: var(--font-display);
}
