/* ------------------------------------------------------------------
   SoulFull Catering — functional styles and WordPress/WooCommerce markup.
   Source utility classes are shipped by app.css; this file only adds
   behaviour and styles for markup that has no source equivalent.
   ------------------------------------------------------------------ */

:root {
	--header-height: 96px;
}

/* ---------------------------------------------------------- Reveal system */
.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);
}

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

body.is-customizer .reveal-item,
.no-js .reveal-item {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

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

.theme-hero-fade {
	animation: themeFadeIn 1.1s cubic-bezier(0.25, 0.4, 0.25, 1) both;
}

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

.theme-hero-subtitle {
	animation: themeSlideUpFade 0.7s cubic-bezier(0.25, 0.4, 0.25, 1) 0.55s both;
}

.theme-hero-fade .theme-cta {
	animation: themeSlideUpFade 0.65s cubic-bezier(0.25, 0.4, 0.25, 1) 0.75s both;
}

@keyframes themeFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes themeSlideUpFade {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	.theme-hero-fade,
	.theme-hero-title,
	.theme-hero-subtitle,
	.theme-hero-fade .theme-cta {
		animation: none;
	}
}

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

[data-category-tile]:hover .theme-tile-img {
	transform: scale(1.05);
}

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

.theme-service-img:hover {
	transform: scale(1.03);
}

.theme-gallery-img {
	transition: transform 0.9s cubic-bezier(0.25, 0.4, 0.25, 1);
	backface-visibility: hidden;
	transform: translateZ(0);
}

.theme-gallery-item:hover .theme-gallery-img {
	transform: scale(1.04) translateZ(0);
}

[data-gallery-track].is-auto-scrolling .theme-gallery-img,
[data-gallery-track].is-auto-scrolling .theme-gallery-item:hover .theme-gallery-img {
	transition: none;
	transform: translateZ(0);
}

[data-gallery-track] {
	-webkit-overflow-scrolling: touch;
	scroll-behavior: auto;
}

.theme-product-card__media {
	transition: transform 0.45s cubic-bezier(0.25, 0.4, 0.25, 1);
}

.theme-product-card:hover .theme-product-card__media {
	transform: translateY(-4px);
}

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

.theme-product-card:hover .theme-product-card__img {
	transform: scale(1.04);
}

.theme-card-image-link {
	display: block;
}

.theme-card-add {
	z-index: 3;
}

/* ---------------------------------------------------------- Price filter */
.theme-price-panel {
	max-height: 0;
	opacity: 0;
	transition: max-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 {
	opacity: 1;
}

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

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

.range-track-bg {
	left: 0;
	right: 0;
	background: hsl(var(--secondary));
}

.range-track-fill {
	background: hsl(var(--primary));
	left: 0;
	width: 100%;
}

.range-input {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	background: transparent;
	-webkit-appearance: none;
	appearance: none;
	pointer-events: none;
}

.range-input:focus {
	outline: none;
}

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

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

.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));
	cursor: pointer;
}

.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--min {
	z-index: 4;
}

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

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

/* ------------------------------------------------------- Cart drawer */
#theme-cart-drawer {
	display: none;
}

body.cart-open #theme-cart-drawer {
	display: flex;
}

#theme-cart-overlay {
	display: none;
}

body.cart-open #theme-cart-overlay {
	display: block;
}

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

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

.theme-cart-variation {
	overflow-wrap: break-word;
}

/* ------------------------------------------------------------ Modal */
.theme-modal-root[hidden] {
	display: none !important;
}

.theme-contact-form[hidden],
.theme-contact-success[hidden] {
	display: none !important;
}

.theme-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

/* ------------------------------------------------------- Header / menus */
.theme-mobile-menu[hidden] {
	display: none !important;
}

.site-logo-img {
	height: var(--logo-height, 88px);
	width: auto;
	display: block;
}

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

.theme-nav-list,
.theme-footer-nav,
.theme-mobile-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.theme-nav-list {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.theme-nav-list li {
	margin: 0;
}

.theme-footer-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem;
}

@media (min-width: 768px) {
	.theme-footer-nav {
		gap: 1.75rem;
	}
}

.theme-footer-nav li {
	margin: 0;
}

.theme-mobile-nav-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.theme-mobile-nav-list a {
	display: block;
	padding: 0.5rem 0;
	font-family: var(--font-display);
	font-size: 0.875rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

/* --------------------------------------------------- WooCommerce base */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem;
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	background: hsl(var(--butter));
	font-family: var(--font-body);
	font-size: 0.95rem;
	line-height: 1.6;
}

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

.woocommerce-error li {
	list-style: none;
}

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

.woocommerce-notices-wrapper:empty {
	display: none;
}

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

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

.theme-product-price .amount,
.theme-product-price ins {
	color: inherit;
	text-decoration: none;
	font-weight: inherit;
	background: none;
}

.theme-product-price del {
	color: hsl(var(--muted-foreground));
	font-weight: 400;
}

.theme-product-price del .amount {
	color: hsl(var(--muted-foreground));
}

/* ---------------------------------------------------- Single product */
.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 .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in {
	overflow-wrap: break-word;
	word-break: break-word;
}

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

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

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

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

.theme-thumb .theme-thumb-img {
	opacity: 0.6;
	transition: opacity 0.2s ease;
}

.theme-thumb.is-active .theme-thumb-img {
	opacity: 1;
}

.theme-thumb .theme-thumb-line {
	opacity: 0;
	transition: opacity 0.2s ease;
}

.theme-thumb.is-active .theme-thumb-line {
	opacity: 1;
}

.theme-attr-pill:focus-visible {
	outline: 2px solid hsl(var(--ring));
	outline-offset: 2px;
}

/* Product features accordion: typography and bullets of the source list. */
.single-product [data-accordion-panel="features"] p {
	margin: 0 0 1rem;
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.625;
	color: hsl(var(--muted-foreground));
}

.single-product [data-accordion-panel="features"] ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.single-product [data-accordion-panel="features"] li {
	position: relative;
	margin-top: 0.5rem;
	padding-left: 1rem;
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.5;
	color: hsl(var(--muted-foreground));
}

.single-product [data-accordion-panel="features"] li:first-child {
	margin-top: 0;
}

.single-product [data-accordion-panel="features"] li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 0.25rem;
	height: 0.25rem;
	border-radius: 9999px;
	background: hsl(var(--foreground));
}

/* ------------------------------------------------------ Shop / archive */
.woocommerce-pagination {
	margin-top: 3rem;
}

.woocommerce-pagination ul {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

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

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
	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));
	font-family: var(--font-body);
	font-size: 0.8rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: hsl(var(--foreground));
}

.woocommerce-pagination ul li span.current,
.woocommerce-pagination ul li a:hover {
	background: hsl(var(--foreground));
	color: hsl(var(--background));
}

/* --------------------------------------------------------- Page shell */
.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 {
	overflow-wrap: break-word;
}

body.theme-no-hero .site-main {
	padding-top: 0;
}

/* ------------------------------------------------- Checkout (Blocks) */
body.woocommerce-checkout .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,
	body.woocommerce-checkout .wc-block-checkout.wc-block-components-sidebar-layout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-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(--butter));
	border-radius: var(--radius);
	padding: 2rem;
}

body.woocommerce-checkout .wc-block-checkout__main {
	order: 1;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	order: 2;
}

body.woocommerce-checkout .wc-block-checkout__main h2,
body.woocommerce-checkout .wc-block-checkout__sidebar h2,
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__title {
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: -0.015em;
	color: hsl(var(--foreground));
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input input[type="text"],
body.woocommerce-checkout .wc-block-components-text-input input[type="email"],
body.woocommerce-checkout .wc-block-components-text-input input[type="tel"],
body.woocommerce-checkout .wc-block-components-text-input input[type="number"],
body.woocommerce-checkout .wc-block-components-select select,
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,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input[type="text"],
body.woocommerce-checkout .wc-block-components-textarea,
body.woocommerce-checkout form.checkout input.input-text,
body.woocommerce-checkout form.checkout select,
body.woocommerce-checkout form.checkout textarea {
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	line-height: 1.5 !important;
	color: hsl(var(--foreground)) !important;
	background-color: hsl(var(--background)) !important;
	border: 1px solid hsl(var(--border)) !important;
	border-radius: var(--radius) !important;
	width: 100% !important;
	max-width: none !important;
	box-shadow: none !important;
	-webkit-appearance: none;
	appearance: none;
}

body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea::placeholder,
body.woocommerce-checkout form.checkout input.input-text::placeholder,
body.woocommerce-checkout form.checkout textarea::placeholder {
	color: hsl(var(--muted-foreground)) !important;
	opacity: 1 !important;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-text-input input:focus-visible,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-select select:focus-visible,
body.woocommerce-checkout .wc-blocks-components-select__select:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input:focus,
body.woocommerce-checkout .wc-block-components-textarea:focus,
body.woocommerce-checkout .wc-block-components-textarea:focus-visible,
body.woocommerce-checkout form.checkout input.input-text:focus,
body.woocommerce-checkout form.checkout select:focus,
body.woocommerce-checkout form.checkout textarea: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-block-components-checkbox__label,
body.woocommerce-checkout .wc-block-components-radio-control__label {
	font-family: var(--font-body);
	color: hsl(var(--muted-foreground));
}

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));
	color: hsl(var(--primary-foreground));
	border-radius: var(--radius);
	font-family: var(--font-display);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	border: 0;
}

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(--primary) / 0.9);
	color: hsl(var(--primary-foreground));
}

body.woocommerce-checkout .wc-block-components-notice-banner {
	font-family: var(--font-body);
	border-radius: var(--radius);
	border: 1px solid hsl(var(--border));
}

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

body.woocommerce-checkout .wc-block-cart-items {
	font-family: var(--font-body);
}

body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-totals-item {
	font-family: var(--font-body);
}

body.woocommerce-checkout .site-main {
	padding-bottom: 4rem;
}

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

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

body.woocommerce-cart .wc-block-components-button:not(.is-link),
body.woocommerce-account .woocommerce-Button,
body.woocommerce-account button.button {
	background-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	border-radius: var(--radius);
	font-family: var(--font-display);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	border: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
	font-family: var(--font-body);
	color: hsl(var(--muted-foreground));
}

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

body.woocommerce-account .woocommerce-MyAccount-content input.input-text,
body.woocommerce-account .woocommerce-MyAccount-content textarea {
	font-family: var(--font-body);
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	background-color: hsl(var(--background));
	padding: 0.75rem 1rem;
}

/* ------------------------------------------------- Thank you page */
body.theme-thankyou-page {
	overflow-x: hidden;
}

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

body.theme-thankyou-page .woocommerce-thankyou-order-received {
	font-family: var(--font-display);
	font-size: 1.875rem;
	line-height: 1.2;
	font-weight: 600;
	letter-spacing: -0.015em;
	color: hsl(var(--foreground));
	margin: 0 0 1.5rem;
	padding: 0;
	border: 0;
	background: none;
}

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;
	letter-spacing: -0.015em;
	padding: 0 0 1rem 0;
}

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

body.theme-thankyou-page .woocommerce-order-overview li {
	margin: 0;
	font-size: 0.85rem;
	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.35rem;
	font-family: var(--font-body);
	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;
}

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