/* =========================================================================
   Theme styles: motion, functional states and WooCommerce-generated markup.
   Source component styles live in app.css.
   ========================================================================= */

[hidden] {
	display: none !important;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* ------------------------------------------------------------- Motion ---- */

.theme-reveal {
	opacity: 0;
	transform: translateY(32px);
	filter: blur(8px);
	transition:
		opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
		filter 0.95s cubic-bezier(0.16, 1, 0.3, 1);
	will-change: opacity, transform, filter;
}

.theme-reveal--simple {
	transform: translateY(24px);
	filter: none;
	transition-duration: 0.8s;
}

.theme-reveal--slide,
.theme-reveal--slide-left {
	transform: translateY(32px);
	filter: blur(6px);
	transition-duration: 1.1s;
}

.theme-reveal--hero {
	transform: translateY(16px);
	filter: none;
	transition-duration: 0.9s;
}

.theme-word {
	display: inline-block;
	opacity: 0;
	transform: translateY(0.6em);
	filter: blur(10px);
	transition:
		opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
		filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
	will-change: opacity, transform, filter;
}

.theme-reveal.is-inview,
.theme-word.is-inview,
html.no-js .theme-reveal,
html.no-js .theme-word,
body.is-customizer .theme-reveal,
body.is-customizer .theme-word {
	opacity: 1;
	transform: none;
	filter: none;
}

@media (prefers-reduced-motion: reduce) {
	.theme-reveal,
	.theme-word {
		opacity: 1 !important;
		transform: none !important;
		filter: none !important;
		transition: none !important;
	}
}

.duration-\[1200ms\] {
	transition-duration: 1200ms;
}

/* ---------------------------------------------------------- Admin bar ---- */

body.admin-bar .site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}

html {
	scroll-padding-top: 6rem;
}

body.admin-bar {
	scroll-padding-top: calc(6rem + 32px);
}

@media screen and (max-width: 782px) {
	body.admin-bar {
		scroll-padding-top: calc(6rem + 46px);
	}
}

@media (min-width: 1024px) {
	body.admin-bar .theme-sticky-offset {
		top: calc(7rem + 32px);
	}
}

body.admin-bar .theme-cart-drawer {
	top: 32px;
	height: calc(100% - 32px);
}

@media screen and (max-width: 782px) {
	body.admin-bar .theme-cart-drawer {
		top: 46px;
		height: calc(100% - 46px);
	}
}

/* ---------------------------------------------------- Pointer cursor ---- */

a,
button,
summary,
label,
select,
[role='button'],
[role='link'],
[role='menuitem'],
[role='tab'],
[role='option'],
input[type='button'],
input[type='submit'],
input[type='reset'],
input[type='image'],
input[type='checkbox'],
input[type='radio'],
input[type='file'],
input[type='color'],
input[type='range'],
.theme-category-card,
.theme-filter-chip,
.theme-attr-pill,
.theme-product-thumbnail,
.theme-qty-plus,
.theme-qty-minus,
[data-cart-open],
[data-cart-close],
[data-theme-menu-toggle],
[data-faq-toggle],
[data-catering-flavor],
[data-catering-reset],
[data-shop-more],
[data-category-action],
[data-cart-qty-update],
[data-cart-remove] {
	cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled,
[aria-disabled='true'] {
	cursor: not-allowed;
}

/* ------------------------------------------------------------- Header ---- */

/*
 * Keep the hamburger through tablet widths, including iPad landscape
 * (1024px). The inline desktop nav only appears from 1280px.
 */
@media (max-width: 1279px) {
	.site-header [data-theme-desktop-nav] {
		display: none !important;
	}

	.site-header [data-theme-menu-toggle] {
		display: inline-flex !important;
	}

	.site-header [data-theme-mobile-menu]:not([hidden]) {
		display: block !important;
	}
}

@media (min-width: 1280px) {
	.site-header [data-theme-desktop-nav] {
		display: flex !important;
	}

	.site-header [data-theme-menu-toggle],
	.site-header [data-theme-mobile-menu] {
		display: none !important;
	}
}

.site-logo-img {
	height: 40px !important;
	width: auto !important;
	display: block;
}

@media (min-width: 1024px) {
	.site-logo-img {
		height: var(--logo-height, 56px) !important;
	}
}

.site-logo-text {
	line-height: var(--logo-height, 56px);
	display: block;
}

.theme-cart-count:empty {
	display: none;
}

/* ------------------------------------------------------- Category cards ---- */

.theme-category-card {
	background: transparent;
	border: 0;
	padding: 0;
	cursor: pointer;
}

.theme-category-card:focus-visible {
	outline: 2px solid hsl(var(--ring));
	outline-offset: 4px;
}

/* --------------------------------------------------------- Product cards ---- */

.theme-product-card {
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease, border-color 0.5s ease;
}

.theme-product-card__image img {
	display: block;
	transition: transform 0.8s cubic-bezier(0.25, 0.4, 0.25, 1);
}

a.group:hover .theme-product-card,
.theme-product-card-wrap a:hover .theme-product-card {
	transform: translateY(-6px);
}

a.group:hover .theme-product-card__image img,
.theme-product-card-wrap a:hover .theme-product-card__image img {
	transform: scale(1.05);
}

a.group:hover .theme-product-card__image img.opacity-60,
.theme-product-card-wrap a:hover .theme-product-card__image img.opacity-60 {
	transform: none;
}

.theme-card-price .price,
.theme-card-price .woocommerce-Price-amount,
.theme-price-badge .price,
.theme-price-badge .woocommerce-Price-amount {
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	font-family: inherit;
	line-height: inherit;
	background: none;
	white-space: inherit;
}

.theme-card-price del,
.theme-price-badge del {
	opacity: 0.65;
	font-weight: 400;
}

.theme-card-price ins,
.theme-price-badge ins {
	text-decoration: none;
	background: none;
}

.theme-product-card-wrap.is-hidden {
	display: none !important;
}

/* --------------------------------------------------------- Shop controls ---- */

.theme-filter-chip {
	cursor: pointer;
}

.theme-shop-filters input[type='search']::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

/* ----------------------------------------------------------- Cart drawer ---- */

.theme-cart-drawer {
	transform: translateX(100%);
}

body.cart-open .theme-cart-drawer {
	transform: translateX(0);
	animation: slideUp 0.7s var(--transition-smooth) forwards;
}

.theme-cart-overlay {
	position: fixed;
	inset: 0;
	background: hsl(var(--foreground) / 0.2);
	z-index: 50;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.7s var(--transition-smooth), visibility 0.7s var(--transition-smooth);
}

body.cart-open .theme-cart-overlay {
	opacity: 1;
	visibility: visible;
}

#theme-cart-drawer.is-updating > * {
	opacity: 0.6;
	pointer-events: none;
}

#theme-cart-drawer .woocommerce-message {
	display: none;
}

/* --------------------------------------------------------- FAQ accordion ---- */

.theme-faq-panel {
	display: grid;
	grid-template-rows: 0fr;
	opacity: 0;
	transition:
		grid-template-rows 0.4s cubic-bezier(0.25, 0.4, 0.25, 1),
		opacity 0.4s cubic-bezier(0.25, 0.4, 0.25, 1);
}

.theme-faq-item.is-open .theme-faq-panel {
	grid-template-rows: 1fr;
	opacity: 1;
}

/* ------------------------------------------------------------ Quantity ---- */

.theme-add-to-cart-area {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.theme-qty-input {
	width: 5rem;
	min-width: 48px;
	-moz-appearance: textfield;
	appearance: textfield;
}

.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* ------------------------------------------------------- Add to cart ---- */

a.single_add_to_cart_button,
a.add_to_cart_button {
	text-decoration: none;
}

.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;
}

.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;
}

/* ------------------------------------------------- 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 .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-details ul {
	list-style: disc;
	padding-left: 1.25rem;
}

.theme-details li {
	margin-bottom: 0.5rem;
}

.theme-details p {
	margin-bottom: 0.75rem;
}

/* Variation selectors: hidden native selects, visible pills. */
.theme-attr-select-hidden {
	display: none !important;
}

.single-product form.variations_form {
	position: relative;
}

.single-product .variations {
	position: absolute !important;
	left: 0;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
}

.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: 0;
}

.single-product .variations tbody td.value {
	padding: 0;
}

.theme-attr-pill {
	cursor: pointer;
	line-height: 1.4;
}

.single_variation_wrap {
	margin-top: 0.5rem;
}

.woocommerce-variation-price,
.woocommerce-variation-availability {
	display: none;
}

.woocommerce-variation-price .price,
.woocommerce-variation-price .woocommerce-Price-amount {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 1.25rem;
	color: hsl(var(--foreground));
}

.woocommerce-variation-availability .stock {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
}

.woocommerce-variation-description {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
	margin-bottom: 0.75rem;
}

/* ------------------------------------------------------- WC notices ---- */

.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
	font-family: var(--font-body);
	font-size: 0.875rem;
	border-radius: var(--radius);
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
	border: 1px solid hsl(var(--border));
	background: hsl(var(--card));
	color: hsl(var(--foreground));
	list-style: none;
}

.woocommerce-error {
	border-color: hsl(var(--destructive) / 0.5);
	color: hsl(var(--destructive));
}

.woocommerce-info {
	border-color: hsl(var(--border));
}

.single-product .woocommerce-message,
.single-product .woocommerce-info {
	display: none;
}

/* ------------------------------------------------------- Page shells ---- */

.page-title {
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: -0.01em;
}

body.theme-no-hero .site-main {
	padding-top: 0;
}

/* ------------------------------------------------- Checkout (Blocks) ---- */

body.woocommerce-checkout .site-main,
body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content {
	max-width: 100%;
}

body.woocommerce-checkout .wc-block-checkout {
	display: block;
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	body.woocommerce-checkout .wc-block-checkout.wc-block-components-sidebar-layout {
		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-components-notice-banner {
	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-block-components-textarea textarea,
body.woocommerce-checkout .wc-blocks-components-select__select,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body) !important;
	font-size: 0.875rem !important;
	color: hsl(var(--foreground)) !important;
	background-color: hsl(var(--background)) !important;
	border: 1px solid hsl(var(--border)) !important;
	border-radius: var(--radius) !important;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus {
	border-color: hsl(var(--primary)) !important;
	box-shadow: 0 0 0 1px hsl(var(--primary)) !important;
	outline: none !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: hsl(var(--primary)) !important;
	color: hsl(var(--primary-foreground)) !important;
	border: 0 !important;
	border-radius: var(--radius) !important;
	font-family: var(--font-body) !important;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.01em;
	padding: 1rem 1.5rem !important;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

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 {
	background-color: hsl(var(--secondary));
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	padding: 2rem;
}

body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-wrapper {
	font-family: var(--font-body);
}

body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-checkout__main h2,
body.woocommerce-checkout .wc-block-checkout__sidebar h2 {
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: -0.01em;
	color: hsl(var(--foreground));
}

body.woocommerce-checkout .wc-block-components-checkbox label,
body.woocommerce-checkout .wc-block-components-radio-control__label {
	font-family: var(--font-body);
	font-size: 0.875rem;
}

body.woocommerce-checkout .wc-block-cart-items {
	font-family: var(--font-body);
}

/* ------------------------------------------------- Thank you page ---- */

body.theme-thankyou-page {
	overflow-x: hidden;
}

body.theme-thankyou-page .woocommerce-order {
	font-family: var(--font-body);
	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-family: var(--font-display);
	font-weight: 600;
	font-size: 1.5rem;
	padding: 0 0 1rem 0;
}

body.theme-thankyou-page .woocommerce-order-overview {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	padding: 1.5rem;
	margin: 0 0 2rem;
	background: hsl(var(--secondary));
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
}

body.theme-thankyou-page .woocommerce-order-overview li {
	flex: 1 1 200px;
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
	border: 0;
	margin: 0;
	padding: 0;
}

body.theme-thankyou-page .woocommerce-order-overview li strong {
	display: block;
	margin-top: 0.25rem;
	color: hsl(var(--foreground));
	font-weight: 600;
}

body.theme-thankyou-page .woocommerce-order-details,
body.theme-thankyou-page .woocommerce-customer-details {
	margin-bottom: 2rem;
}

body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	font-size: 0.875rem;
}

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));
	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 address {
	font-style: normal;
	font-size: 0.875rem;
	line-height: 1.7;
	color: hsl(var(--muted-foreground));
	overflow-wrap: break-word;
}

/* ------------------------------------------------- WooCommerce misc ---- */

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: hsl(var(--foreground));
	background: hsl(var(--background));
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
}

/* Order received headline (WooCommerce prints it as a notice paragraph). */
body.theme-thankyou-page .woocommerce-notice--success {
font-family: var(--font-display);
font-weight: 600;
font-size: 2.25rem;
line-height: 1.1;
letter-spacing: -0.01em;
color: hsl(var(--foreground));
background: none;
border: 0;
padding: 0;
margin: 0 0 1.75rem;
}

body.theme-thankyou-page .woocommerce-notice--error {
font-family: var(--font-body);
font-size: 0.9375rem;
color: hsl(var(--destructive));
background: hsl(var(--destructive) / 0.06);
border: 1px solid hsl(var(--destructive) / 0.35);
border-radius: var(--radius);
padding: 1rem 1.25rem;
margin-bottom: 1.5rem;
}
