/* Silly Goose Sweets — theme styles layered on top of the source stylesheet. */

[hidden] {
	display: none !important;
}

.woocommerce .screen-reader-text,
.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: 0;
}

/* Site logo sizing (Customizer controlled). */
.site-logo-img {
	height: var(--logo-height-mobile, 60px) !important;
	width: auto !important;
	display: block;
}

@media (min-width: 1024px) {
	.site-logo-img {
		height: var(--logo-height, 64px) !important;
	}
}

/* WordPress admin bar + fixed header. */
body.admin-bar .theme-site-header {
	top: 32px;
}

body.admin-bar .scroll-progress {
	top: 32px;
}

body.admin-bar .theme-header-offset {
	padding-top: calc(100px + 32px);
}

@media screen and (max-width: 782px) {
	body.admin-bar .theme-site-header {
		top: 46px;
	}

	body.admin-bar .scroll-progress {
		top: 46px;
	}

	body.admin-bar .theme-header-offset {
		padding-top: calc(100px + 46px);
	}
}

/* Pointer cursor on interactive elements. */
a[href],
button:not(:disabled),
[role='button'],
label[for],
.theme-card-link,
.theme-footer-link,
.theme-attr-pill,
[data-section-anchor],
[data-contact-open],
[data-cart-open],
[data-mobile-menu-toggle],
[data-search-focus],
[data-cat-filter],
[data-filter-category],
.theme-archive-pagination .page-numbers,
input[type='submit'],
input[type='button'],
input[type='reset'],
summary {
	cursor: pointer;
}

/* Scroll reveal (source framer-motion: opacity + translateY 32px, 0.7s). */
.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;
}

.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,
.no-js .reveal-item {
	opacity: 1;
	transform: none;
	transition: none;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* Hero entrance (source framer-motion initial/animate). */
.theme-hero-copy {
	animation: themeHeroIn 0.7s cubic-bezier(0.25, 0.4, 0.25, 1) both;
}

.theme-hero-badge {
	animation: themeBadgeIn 0.8s cubic-bezier(0.25, 0.4, 0.25, 1) 0.3s both;
}

@keyframes themeHeroIn {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes themeBadgeIn {
	from {
		opacity: 0;
		transform: rotate(-12deg) scale(0.8);
	}
	to {
		opacity: 1;
		transform: rotate(6deg) scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.theme-hero-copy,
	.theme-hero-badge {
		animation: none;
	}
}

/* Page loader. */
#theme-page-loader {
	transition: opacity 0.6s cubic-bezier(0.25, 0.4, 0.25, 1);
}

#theme-page-loader.is-hidden {
	opacity: 0;
	pointer-events: none;
}

.theme-loader-heart {
	animation: themeLoaderWiggle 2.4s ease-in-out infinite;
}

.theme-loader-bar {
	animation: themeLoaderBar 1.2s ease-in-out infinite;
}

@keyframes themeLoaderWiggle {
	0%,
	100% {
		transform: rotate(0deg);
	}
	25% {
		transform: rotate(8deg);
	}
	75% {
		transform: rotate(-8deg);
	}
}

@keyframes themeLoaderBar {
	0% {
		transform: translateX(-100%);
	}
	100% {
		transform: translateX(200%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.theme-loader-heart,
	.theme-loader-bar {
		animation: none;
	}
}

/* Scroll progress bar (app.css defines position/gradient). */
.scroll-progress {
	transform: scaleX(0);
	transition: transform 0.1s linear;
}

/* Product card (matches source: link wrapper + hover button). */
a.theme-product-card {
	position: relative;
	display: block;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.theme-product-card__media {
	position: relative;
	transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-product-card:hover .theme-product-card__media {
	transform: translateY(-3px);
}

.theme-card-img {
	transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.25, 0.4, 0.25, 1);
}

.theme-product-card:hover .theme-card-img {
	transform: scale(1.04);
}

.theme-product-card.is-loading .theme-card-img {
	opacity: 0;
}

.theme-product-card:not(.is-loading) [data-card-shimmer] {
	display: none !important;
}

.theme-product-card .theme-card-add-btn {
	appearance: none;
	-webkit-appearance: none;
	display: block;
	width: calc(100% - 2rem);
	margin: 0 auto;
	box-sizing: border-box;
	cursor: pointer;
	pointer-events: auto;
	z-index: 3;
	text-align: center;
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.woocommerce a.theme-product-card .theme-card-add-btn,
.woocommerce .theme-product-card .theme-card-add-btn,
.theme-product-card .theme-card-add-btn.button {
	padding: 0.75rem 1rem;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0.22em;
	background-color: hsl(var(--teal));
	color: hsl(var(--background));
	border-radius: 9999px;
}

/* Product page gallery. */
.theme-product-main.is-loading .theme-product-main-img {
	opacity: 0;
	filter: blur(4px);
}

.theme-product-main:not(.is-loading) [data-main-shimmer] {
	display: none !important;
}

.theme-product-main-img {
	transition: opacity 0.7s ease, filter 0.7s ease, transform 0.7s ease;
}

/* Add to cart area. */
.single-product .theme-add-to-cart-area {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.75rem;
}

.single-product .single_add_to_cart_button {
	flex: 1 1 auto;
	min-width: 160px;
}

.single-product .theme-add-to-cart-area .single_add_to_cart_button {
	text-align: center;
}

.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 .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in,
.single-product .theme-product-lead {
	overflow-wrap: break-word;
	word-break: break-word;
}

/* Quantity input. */
.theme-qty-input {
	width: 44px;
	padding-left: 0;
	padding-right: 0;
	-moz-appearance: textfield;
	appearance: textfield;
	border: 0;
	outline: none;
	background: transparent;
}

.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Variation pills + hidden native selects. */
.theme-attr-select-hidden {
	display: none !important;
}

.theme-attr-pill {
	cursor: pointer;
}

.single-product .variations {
	border-collapse: collapse;
	width: 100%;
	margin: 0;
}

.single-product .variations tbody,
.single-product .variations tr,
.single-product .variations td {
	display: block;
	width: 100%;
}

.single-product .variations td.label {
	display: none !important;
}

.single-product .variations td.value {
	padding: 0;
}

.single-product .single_variation_wrap .woocommerce-variation {
	display: none !important;
}

/* Disabled add-to-cart buttons. */
.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 AJAX adds. */
.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;
}

/* Add-to-cart loading lock and WooCommerce spinner suppression. */
.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;
}

/* Notices shown on single product come from the drawer instead. */
.single-product .woocommerce-message,
.single-product .woocommerce-info {
	display: none !important;
}

#theme-cart-drawer .woocommerce-message,
#theme-cart-drawer .woocommerce-info {
	display: none !important;
}

/* Cart drawer open / close. */
#theme-cart-drawer {
	transform: translateX(105%);
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: none;
}

body.cart-open #theme-cart-drawer {
	transform: translateX(0);
	pointer-events: auto;
}

#theme-cart-overlay {
	position: fixed;
	inset: 0;
	z-index: 50;
	background: hsl(var(--foreground) / 0.2);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

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 !important;
}

/* Contact modal. */
.theme-modal[hidden] {
	display: none !important;
}

.theme-modal:not([hidden]) .theme-modal-overlay[data-state='closed'],
.theme-modal:not([hidden]) .theme-modal-panel[data-state='closed'] {
	animation-fill-mode: forwards;
}

.theme-modal:not([hidden]):not([data-closing]) .theme-modal-overlay[data-state='closed'],
.theme-modal:not([hidden]):not([data-closing]) .theme-modal-panel[data-state='closed'] {
	opacity: 0;
	pointer-events: none;
}

.theme-modal[data-closing] .theme-modal-overlay,
.theme-modal[data-closing] .theme-modal-panel {
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	.theme-modal:not([hidden]) .theme-modal-overlay,
	.theme-modal:not([hidden]) .theme-modal-panel {
		animation: none !important;
	}
}

body.modal-open {
	overflow: hidden;
}

/* Price range slider. */
.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));
}

.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:focus {
	outline: none;
}

.range-input::-webkit-slider-runnable-track {
	background: transparent;
	height: 0.5rem;
}

.range-input::-moz-range-track {
	background: transparent;
	height: 0.5rem;
}

.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: hsl(var(--background));
	box-shadow: 0 1px 2px hsl(var(--foreground) / 0.15);
	cursor: pointer;
	margin-top: -0.375rem;
}

.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;
}

/* WooCommerce generated markup. */
.woocommerce .woocommerce-Price-amount,
.woocommerce-Price-currencySymbol,
.theme-card-price .price,
.theme-product-price .price {
	font-family: var(--font-body);
	color: inherit;
}

.theme-card-price ins,
.theme-product-price ins {
	text-decoration: none;
	font-weight: 400;
}

.theme-card-price del {
	opacity: 0.5;
	margin-right: 0.35rem;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice {
	font-family: var(--font-body);
	font-size: 0.95rem;
	line-height: 1.6;
	list-style: none;
	padding: 1rem 1.25rem;
	margin: 0 0 1.5rem;
	border-radius: var(--radius);
	border: 1px solid hsl(var(--border));
	background: hsl(var(--card));
	color: hsl(var(--foreground));
}

.woocommerce-error {
	border-color: hsl(var(--destructive) / 0.35);
	background: hsl(var(--destructive) / 0.08);
	color: hsl(var(--destructive));
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	display: none !important;
}

.theme-product-details ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.theme-product-details li {
	position: relative;
	padding-left: 1rem;
}

.theme-product-details li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55rem;
	width: 4px;
	height: 4px;
	border-radius: 9999px;
	background: hsl(var(--foreground));
}

.woocommerce-ordering,
.woocommerce-result-count {
	font-family: var(--font-body);
	font-size: 0.85rem;
	color: hsl(var(--muted-foreground));
}

.theme-archive-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
	font-family: var(--font-body);
}

.theme-archive-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	border-radius: 9999px;
	border: 2px solid hsl(var(--border));
	color: hsl(var(--foreground) / 0.7);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	transition: all 0.3s ease;
}

.theme-archive-pagination .page-numbers.current,
.theme-archive-pagination .page-numbers:hover {
	background: hsl(var(--foreground));
	color: hsl(var(--background));
	border-color: hsl(var(--foreground));
}

.page-title {
	font-family: var(--font-display);
	font-size: 1.875rem;
	line-height: 1.15;
	font-weight: 700;
	color: hsl(var(--foreground));
}

@media (min-width: 768px) {
	.page-title {
		font-size: 2.25rem;
	}
}

/* Cart, account and thank-you width parity with the site container. */
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content,
body.theme-thankyou-page .entry-content {
	max-width: 100%;
}

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 > p,
body.theme-thankyou-page .woocommerce-thankyou-order-received {
	font-family: var(--font-display);
	font-size: 1.75rem;
	line-height: 1.2;
	margin-bottom: 1.5rem;
}

body.theme-thankyou-page .woocommerce-order-overview {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1rem;
	margin: 0 0 2rem;
	padding: 1.5rem;
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	background: hsl(var(--card));
}

body.theme-thankyou-page .woocommerce-order-overview li {
	border: 0;
	padding: 0;
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
}

body.theme-thankyou-page .woocommerce-order-overview li strong {
	display: block;
	margin-top: 0.35rem;
	font-size: 1rem;
	letter-spacing: 0;
	text-transform: none;
	color: hsl(var(--foreground));
}

body.theme-thankyou-page .woocommerce-order-details,
body.theme-thankyou-page .woocommerce-customer-details {
	margin-bottom: 2.5rem;
}

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;
	font-weight: 600;
	padding: 0 0 1rem 0;
	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 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;
	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-style: normal;
	line-height: 1.7;
}

/* Checkout (WooCommerce Checkout Block). */
body.woocommerce-checkout .wc-block-checkout {
	display: block;
	font-family: var(--font-body);
	color: hsl(var(--foreground));
}

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: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__sidebar {
	background-color: hsl(var(--card));
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	padding: 2rem;
}

body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-title,
body.woocommerce-checkout h2 {
	font-family: var(--font-display);
	font-weight: 600;
	color: hsl(var(--foreground));
}

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;
	border-color: hsl(var(--border)) !important;
	border-radius: var(--radius) !important;
	background-color: hsl(var(--background)) !important;
	color: hsl(var(--foreground)) !important;
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	box-shadow: 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: 2px solid hsl(var(--ring) / 0.5) !important;
	outline-offset: 0 !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button:not(.is-link) {
	background-color: hsl(var(--foreground)) !important;
	color: hsl(var(--background)) !important;
	border: 0 !important;
	border-radius: 9999px !important;
	font-family: var(--font-body) !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	letter-spacing: 0.22em !important;
	text-transform: uppercase !important;
	min-height: 3rem;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
	background-color: hsl(var(--foreground) / 0.9) !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
	grid-column: 1 / -1;
	border-radius: var(--radius);
	font-family: var(--font-body);
	background: hsl(var(--card));
	border-color: hsl(var(--border));
}

body.woocommerce-checkout .wc-block-cart-items,
body.woocommerce-checkout .wc-block-components-order-summary {
	font-family: var(--font-body);
}

body.woocommerce-checkout .wc-block-components-order-summary-item__description,
body.woocommerce-checkout .wc-block-components-product-name {
	color: hsl(var(--foreground));
}

body.woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-order-summary-item__quantity {
	color: hsl(var(--muted-foreground));
}

/* Footer links are anchors in WordPress (source uses buttons). */
.theme-footer-link {
display: inline-block;
}

.single-product .theme-add-to-cart-area .theme-quantity-wrapper {
align-self: flex-start;
}

.theme-product-price {
line-height: 1.4;
}
