/* Princess Blendz theme styles: functional rules and markup without a source equivalent. */

[hidden] {
	display: none !important;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* Site identity ------------------------------------------------------- */
.site-logo-img {
	height: calc(var(--logo-height, 64px) * 0.75) !important;
	width: auto !important;
	display: block;
}

.site-logo-text {
	display: block;
	line-height: 1;
}

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

/* Hero entrance ------------------------------------------------------- */
@keyframes theme-hero-fade-up {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes theme-hero-title-in {
	from {
		opacity: 0;
		transform: translateY(80px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes theme-hero-line-grow {
	to {
		width: 40px;
	}
}

.hero-anim {
	opacity: 0;
	animation: theme-hero-fade-up 0.8s cubic-bezier(0.25, 0.4, 0.25, 1) forwards;
}

.hero-anim-title {
	animation-name: theme-hero-title-in;
	animation-duration: 1s;
}

.hero-line {
	width: 0;
	animation: theme-hero-line-grow 0.8s cubic-bezier(0.25, 0.4, 0.25, 1) 0.6s forwards;
}

.hero-delay-3 {
	animation-delay: 0.3s;
}

.hero-delay-5 {
	animation-delay: 0.5s;
}

.hero-delay-95 {
	animation-delay: 0.95s;
}

.hero-delay-115 {
	animation-delay: 1.15s;
}

/* Scroll reveal ------------------------------------------------------- */
.reveal-item {
	opacity: 0;
	transform: translateY(40px);
	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);
}

.reveal-scale-in {
	transform: scale(0.95);
	transition-duration: 0.6s;
}

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

.reveal-delay-0 {
	transition-delay: 0s;
}

.reveal-delay-1 {
	transition-delay: 0.1s;
}

.reveal-delay-2 {
	transition-delay: 0.2s;
}

.reveal-delay-3 {
	transition-delay: 0.3s;
}

.reveal-delay-4 {
	transition-delay: 0.4s;
}

.reveal-delay-5 {
	transition-delay: 0.5s;
}

body.is-customizer .reveal-item,
body.is-customizer .hero-anim,
body.is-customizer .hero-line {
	opacity: 1;
	transform: none;
	animation: none;
}

body.is-customizer .hero-line {
	width: 40px;
}

@media (prefers-reduced-motion: reduce) {
	.hero-anim,
	.reveal-item {
		opacity: 1;
		transform: none;
		animation: none;
		transition: none;
	}

	.hero-line {
		opacity: 1;
		animation: none;
		width: 40px;
	}
}

/* Product cards ------------------------------------------------------- */
.theme-product-card-wrap {
	height: 100%;
	min-width: 0;
}

.theme-product-card__media {
	transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.theme-product-card:hover .theme-product-card__media {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px -12px hsl(30 15% 15% / 0.15);
}

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

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

/* Shop filters -------------------------------------------------------- */
.theme-cat-filter:hover {
	transform: scale(1.04);
}

.theme-cat-filter:active {
	transform: scale(0.96);
}

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

.price-range-wrapper {
	position: relative;
	height: 1.5rem;
	width: 100%;
}

.range-track-fill {
	left: 0;
	width: 100%;
}

.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-runnable-track {
	height: 100%;
	background: transparent;
	border: none;
}

.range-input::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	pointer-events: auto;
	height: 1.25rem;
	width: 1.25rem;
	margin-top: 0.125rem;
	border-radius: 9999px;
	border: 2px solid hsl(var(--primary));
	background: hsl(var(--background));
	box-shadow: 0 1px 2px rgb(0 0 0 / 0.15);
	cursor: pointer;
}

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

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

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

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

/* Cart drawer --------------------------------------------------------- */
#theme-cart-drawer {
	transform: translateY(20px);
	opacity: 0;
	pointer-events: none;
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

body.cart-open #theme-cart-drawer {
	transform: none;
	opacity: 1;
	pointer-events: auto;
}

#theme-cart-overlay {
	position: fixed;
	inset: 0;
	background: hsl(var(--foreground) / 0.3);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	z-index: 49;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.cart-open #theme-cart-overlay {
	opacity: 1;
	pointer-events: auto;
}

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

body.cart-open {
	overflow: hidden;
}

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

/* Single product ------------------------------------------------------ */
.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-add-to-cart-area {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 1rem;
}

.single-product .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;
}

.theme-attr-select-hidden {
	display: none !important;
}

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

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

.single-product .variations tbody tr.theme-attr-row {
	display: block;
	width: 100%;
	margin: 1.5rem 0;
}

.single-product .variations tbody td.label {
	display: block;
	padding: 0 0 0.75rem;
}

.single-product .variations tbody td.label label {
	display: block;
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 600;
	color: hsl(var(--foreground));
}

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

.single-product .variations select.theme-attr-select {
	width: 100%;
	min-height: 3rem;
	padding: 0.75rem 1rem;
	background-color: hsl(var(--background));
	border: 1px solid hsl(var(--input));
	border-radius: 0.125rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: hsl(var(--foreground));
}

.single-product .variations select.theme-attr-select:focus {
	outline: none;
	border-color: hsl(var(--primary));
	box-shadow: 0 0 0 2px hsl(var(--ring) / 0.3);
}

.single-product .variations tr.theme-attr-row--pills select.theme-attr-select {
	display: none;
}

.single-product .single_variation_wrap {
	display: block !important;
}

.single-product .woocommerce-variation-price,
.single-product .woocommerce-variation-availability {
	display: none;
}

.theme-qty-input {
	width: 3rem;
	border: 0;
	background: transparent;
	-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-qty-input:focus {
	outline: none;
}

.theme-product-details ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.theme-product-details li {
	display: flex;
	align-items: flex-start;
	margin-bottom: 0.5rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: hsl(var(--muted-foreground));
}

.theme-product-details li::before {
	content: "";
	width: 0.375rem;
	height: 0.375rem;
	margin-top: 0.5rem;
	margin-right: 0.75rem;
	flex-shrink: 0;
	border-radius: 9999px;
	background: hsl(var(--primary));
}

.theme-finish-option {
	text-align: center;
	cursor: pointer;
}

/* Add to cart states -------------------------------------------------- */
.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;
}

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

.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 notices ------------------------------------------------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner {
	border: 1px solid hsl(var(--border)) !important;
	border-radius: 0.125rem;
	background-color: hsl(var(--card)) !important;
	color: hsl(var(--foreground)) !important;
	font-family: var(--font-body);
	font-size: 0.875rem;
	padding: 1rem 1.25rem !important;
	margin: 0 0 1.5rem !important;
	list-style: none;
}

.woocommerce-error {
	border-color: hsl(var(--destructive)) !important;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	display: none !important;
}

/* Pagination ---------------------------------------------------------- */
.woocommerce-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
	border: 0;
}

.woocommerce-pagination ul.page-numbers li {
	border: 0;
}

.woocommerce-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	border: 1px solid hsl(var(--border));
	border-radius: 9999px;
	font-family: var(--font-body);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-weight: 600;
	color: hsl(var(--foreground));
	text-decoration: none;
}

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

/* Page title ---------------------------------------------------------- */
.page-title {
	font-family: var(--font-display);
	letter-spacing: -0.01em;
}

/* Cart / account pages ------------------------------------------------ */
.woocommerce-cart .entry-content,
.woocommerce-account .entry-content,
.woocommerce-checkout .entry-content {
	max-width: 100%;
}

body.woocommerce-cart .wc-block-cart,
body.woocommerce-account .woocommerce {
	font-family: var(--font-body);
	color: hsl(var(--foreground));
}

body.woocommerce-cart .wc-block-cart-items__row,
body.woocommerce-cart .wc-block-components-product-name {
	font-family: var(--font-body);
}

body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-components-button {
	background-color: hsl(var(--primary)) !important;
	color: hsl(var(--primary-foreground)) !important;
	border-radius: 0.375rem !important;
	font-family: var(--font-body) !important;
	font-weight: 600 !important;
	text-decoration: none !important;
}

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

body.woocommerce-account .woocommerce-MyAccount-navigation a {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
	text-decoration: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
	color: hsl(var(--primary));
}

/* Checkout block ------------------------------------------------------ */
body.woocommerce-checkout .site-main,
body.woocommerce-checkout .entry-content {
	max-width: 100%;
}

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

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

	body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notice-banner,
	body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-notice-banner {
		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(--card));
	border: 1px solid hsl(var(--border));
	border-radius: 0.125rem;
	padding: 1.25rem;
	box-shadow: var(--shadow-soft);
}

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;
	background-color: hsl(var(--background)) !important;
	border-color: hsl(var(--input)) !important;
	border-radius: 0.125rem !important;
	color: hsl(var(--foreground)) !important;
	font-family: var(--font-body) !important;
	font-size: 0.875rem !important;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-blocks-components-select__select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus {
	border-color: hsl(var(--primary)) !important;
	box-shadow: 0 0 0 2px hsl(var(--ring) / 0.3) !important;
	outline: none !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button {
	background-color: hsl(var(--primary)) !important;
	color: hsl(var(--primary-foreground)) !important;
	border-radius: 0.375rem !important;
	font-family: var(--font-body) !important;
	font-weight: 600 !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-checkout__sidebar .wc-block-components-totals-item,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary-item {
	font-family: var(--font-body) !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-title,
body.woocommerce-checkout .wc-block-checkout__sidebar h2 {
	font-family: var(--font-display) !important;
}

/* Order received ------------------------------------------------------ */
body.theme-thankyou-page {
	overflow-x: hidden;
}

body.theme-thankyou-page .theme-thankyou-details .woocommerce-order {
	font-family: var(--font-body);
	color: hsl(var(--foreground));
	text-align: left;
}

body.theme-thankyou-page .woocommerce-order > p {
	margin-bottom: 2rem;
	color: hsl(var(--muted-foreground));
}

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;
	padding: 0 0 1rem;
	margin: 2rem 0 1rem;
}

body.theme-thankyou-page .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
}

body.theme-thankyou-page .woocommerce-order-overview li {
	border: 0;
	margin: 0;
	padding: 0;
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
}

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

body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td {
	padding: 0.75rem 0;
	border-bottom: 1px solid hsl(var(--border));
	font-family: var(--font-body);
	font-size: 0.875rem;
	text-align: left;
	vertical-align: top;
}

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);
	font-size: 0.875rem;
	font-style: normal;
	line-height: 1.6;
}
