body {
	margin: 0;
	padding: 0;
	background-color: #fafaf7;
	overflow-x: hidden;
}

.acrticprint-thumb-mirror {
	transform: scaleX(-1);
}

.acrticprint-preview-text-box {
	position: absolute;
	left: 50%;
	top: 56%;
	width: min(52%, 380px);
	padding: 10px 12px;
	min-width: 140px;
	min-height: 56px;
	border: 2px dashed rgba(17, 17, 17, 0.55);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.28);
	backdrop-filter: blur(1px);
	--acrticprint-text-mirror: 1;
	transform: translate(-50%, -50%) scaleX(var(--acrticprint-text-mirror, 1)) scale(var(--acrticprint-text-scale, 1));
	transform-origin: center;
	cursor: grab;
	pointer-events: auto;
	user-select: none;
	z-index: 30;
	box-shadow: 0 10px 28px rgba(17, 17, 17, 0.10);
}

.acrticprint-preview-text-box.acrticprint-mirror {
	--acrticprint-text-mirror: -1;
}

.acrticprint-preview-text-box.is-dragging {
	cursor: grabbing;
}

.acrticprint-preview-text-box:hover {
	border-color: rgba(17, 17, 17, 0.7);
}

#preview-text {
	user-select: none;
	transform: none !important;
}

#preview-photo {
	left: 50%;
	top: 50%;
	--acrticprint-photo-mirror: 1;
	transform: translate(-50%, -50%) scaleX(var(--acrticprint-photo-mirror, 1)) scale(var(--acrticprint-photo-scale, 1));
	transform-origin: center;
	cursor: grab;
	pointer-events: auto;
	user-select: none;
	z-index: 28;
}

#preview-photo.is-dragging {
	cursor: grabbing;
}

#preview-photo.acrticprint-mirror {
	--acrticprint-photo-mirror: -1;
}

#preview-icon.acrticprint-mirror {
	transform: scaleX(-1);
}

#main-mug-preview {
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: contain;
	--acrticprint-mirror: 1;
	transform: scaleX(var(--acrticprint-mirror));
}

#main-mug-preview.acrticprint-mirror {
	--acrticprint-mirror: -1;
}

/* WP Custom Logo */
.acrticprint-site-logo .custom-logo-link {
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

.acrticprint-site-logo--footer {
	display: flex;
	justify-content: flex-start;
	align-self: flex-start;
	text-align: left;
	width: 100%;
}

.acrticprint-site-logo--footer .custom-logo-link {
	justify-content: flex-start;
	margin: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.acrticprint-site-logo--footer .custom-logo {
	display: block;
	margin: 0 !important;
}

.acrticprint-site-logo .custom-logo {
	display: block;
	height: var(--acrticprint-logo-height-sm, 28px);
	width: auto;
	max-width: none;
}

@media (min-width: 1024px) {
	.acrticprint-site-logo .custom-logo {
		height: var(--acrticprint-logo-height-lg, 32px);
	}
}

/* Keep visited links consistent with design */
a:visited {
	color: inherit;
}

/* "Surface" utilities (missing from generated Tailwind build) */
.text-surface {
	color: #ffffff;
}

.bg-primary.text-surface,
.bg-primary.text-surface span,
.bg-primary.text-surface i {
	color: #ffffff !important;
}

.text-surface\/80 {
	color: rgba(255, 255, 255, 0.8);
}

.bg-surface {
	background-color: #ffffff;
}

.bg-surface\/10 {
	background-color: rgba(255, 255, 255, 0.1);
}

.bg-surface\/50 {
	background-color: rgba(255, 255, 255, 0.5);
}

.bg-surface\/90 {
	background-color: rgba(255, 255, 255, 0.9);
}

.border-surface {
	border-color: #ffffff;
}

.hover\:bg-surface\/10:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

/* WP admin bar + fixed header */
body.admin-bar {
	--acrticprint-admin-bar-height: var(--wp-admin--admin-bar--height, 32px);
}

body.admin-bar #header {
	top: var(--acrticprint-admin-bar-height);
}

body.admin-bar main.w-full.pt-24 {
	padding-top: calc(6rem + var(--acrticprint-admin-bar-height));
}

body.admin-bar main.w-full.pt-32 {
	padding-top: calc(8rem + var(--acrticprint-admin-bar-height));
}

body.admin-bar #acrticprint-mobile-menu {
	top: var(--acrticprint-admin-bar-height);
	height: calc(100% - var(--acrticprint-admin-bar-height));
}

body.admin-bar #acrticprint-mobile-overlay {
	top: var(--acrticprint-admin-bar-height);
	height: calc(100% - var(--acrticprint-admin-bar-height));
}

@media (prefers-reduced-motion: reduce) {
	.animate-pulse-slow {
		animation: none;
		opacity: 1;
	}
	.transition-all {
		transition: opacity 0.3s ease;
	}
	.hover\:scale-105:hover {
		transform: none;
	}
}

.noise-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	pointer-events: none;
	z-index: 50;
	opacity: 0.03;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

::-webkit-scrollbar {
	display: none;
}

.glass-nav {
	background: rgba(250, 250, 247, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(17, 17, 17, 0.05);
}

.soft-shadow {
	box-shadow: 0 10px 40px -10px rgba(17, 17, 17, 0.08);
}

.card-hover {
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-hover:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px -10px rgba(17, 17, 17, 0.12);
}

/* Product cards */
.acrticprint-product-card-image {
	width: 100% !important;
	height: 100% !important;
	display: block;
	object-fit: cover !important;
	object-position: center;
	background: #ffffff;
}

.group:hover .acrticprint-product-card-image {
	transform: scale(1.03);
	transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hard fallback: product thumbnails should always cover the tile */
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
	width: 100% !important;
	height: 100% !important;
	display: block;
	object-fit: cover !important;
	object-position: center;
}

/* Some packshots have a lot of whitespace; slight base zoom keeps them "full tile" */
/* Keep thumbnails centered without extra zoom hacks. */

/* Shop search */
.acrticprint-shop-search {
	position: relative;
}

.acrticprint-shop-search-icon {
	position: absolute;
	left: 1.75rem;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
}

.acrticprint-shop-search-input {
	padding-left: 4.25rem !important;
}

/* Hard fallback (when templates/classes differ) */
#search-hero {
	position: relative;
}

#search-hero i.fa-magnifying-glass {
	left: 1.25rem !important;
	pointer-events: none;
}

#search-hero input[type="search"] {
	padding-left: 3.25rem !important;
}

#search-hero .acrticprint-shop-search-icon {
	left: 1.5rem !important;
}

/* Footer newsletter */
.acrticprint-newsletter-input {
	padding-left: 2rem;
}

.acrticprint-newsletter-button {
	min-width: 140px;
	padding: 1.25rem 2.25rem !important;
	width: auto !important;
	height: auto !important;
	border-radius: 9999px;
	background: #fafaf7 !important;
	color: #111111 !important;
	font-weight: 600;
	font-size: 0.875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-color 200ms ease, transform 200ms ease;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
}

.acrticprint-newsletter-button:hover {
	background: #f0f0ea;
}

/* Hard fallback for footer newsletter (blocks or cached markup) */
#footer input[type="email"] {
	border-radius: 9999px !important;
	padding-left: 1.75rem !important;
	padding-right: 1.75rem !important;
}

/* Mobile menu: ensure clean icon buttons */
#acrticprint-mobile-toggle,
#acrticprint-mobile-close {
	border: 0;
	background: transparent;
	box-shadow: none;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
}

#acrticprint-mobile-toggle:focus,
#acrticprint-mobile-close:focus {
	outline: none;
}

#acrticprint-mobile-toggle:focus-visible,
#acrticprint-mobile-close:focus-visible {
	outline: none;
}

#acrticprint-mobile-toggle i,
#acrticprint-mobile-close i {
	border: 0;
	outline: none;
	box-shadow: none;
}

.acrticprint-mobile-overlay {
	opacity: 0;
	pointer-events: none;
	transition: opacity 300ms ease;
}

.acrticprint-mobile-overlay.is-open {
	opacity: 1;
	pointer-events: auto;
}

.acrticprint-mobile-menu {
	width: 85vw;
	max-width: 85vw;
	transform: translateX(100%);
	transition: transform 300ms ease;
	will-change: transform;
	background: rgba(255, 255, 255, 0.82);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.acrticprint-mobile-menu.is-open {
	transform: translateX(0);
}

@media (min-width: 640px) {
	.acrticprint-mobile-menu {
		width: 50vw;
		max-width: 50vw;
	}
}

.acrticprint-mobile-social {
	width: 36px;
	height: 36px;
	border-radius: 9999px;
	background: #111111;
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.acrticprint-mobile-social i {
	color: #ffffff;
	font-size: 0.95rem;
}

.acrticprint-mobile-phone {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
}

#footer button[type="submit"] {
	min-width: 140px !important;
	width: auto !important;
	height: auto !important;
	border-radius: 9999px !important;
	padding: 1.25rem 2.25rem !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
}

/* Contact form (mockup component classes) */
.form-input {
	width: 100%;
	padding: 1rem 1.25rem;
	border-radius: 0.75rem;
	border: 1px solid #e5e7eb;
	background-color: #ffffff;
	transition: all 0.2s ease;
	font-size: 0.875rem;
	color: #111111;
}

textarea.form-input {
	min-height: 180px;
	line-height: 1.5;
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
}

.acrticprint-price-badge {
	background-color: #111111 !important;
	padding: 0.35rem 0.75rem;
	border-radius: 9999px;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	line-height: 1.1;
}

/* Fallback: Woo product loop price (when our template wrapper isn't used) */
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
	background-color: #111111 !important;
	color: #ffffff !important;
	display: inline-flex !important;
	align-items: center;
	gap: 0.35rem;
	padding: 0.35rem 0.75rem;
	border-radius: 9999px;
	line-height: 1.1;
}

.woocommerce ul.products li.product .price *,
.woocommerce-page ul.products li.product .price * {
	color: #ffffff !important;
}

/* Fallback: some templates output amounts without `.price` wrapper */
.woocommerce ul.products li.product .woocommerce-Price-amount,
.woocommerce-page ul.products li.product .woocommerce-Price-amount {
	background-color: #111111 !important;
	color: #ffffff !important;
	display: inline-flex !important;
	align-items: center;
	padding: 0.35rem 0.75rem;
	border-radius: 9999px;
	line-height: 1.1;
}

.woocommerce ul.products li.product .woocommerce-Price-amount *,
.woocommerce-page ul.products li.product .woocommerce-Price-amount * {
	color: #ffffff !important;
}

.acrticprint-price-badge,
.acrticprint-price-badge * {
	color: #ffffff !important;
}

.acrticprint-price-badge .woocommerce-Price-currencySymbol {
	color: #ffffff !important;
}

.acrticprint-price-badge del,
.acrticprint-price-badge del * {
	opacity: 0.75;
}

.acrticprint-price-badge ins,
.acrticprint-price-badge ins * {
	text-decoration: none;
}

.form-input:focus {
	outline: none;
	border-color: #ffac00;
	box-shadow: 0 0 0 3px rgba(255, 172, 0, 0.1);
}

.form-input::placeholder {
	color: #9ca3af;
}

.form-label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: #111111;
	margin-bottom: 0.5rem;
}

.custom-checkbox {
	appearance: none;
	background-color: #fff;
	margin: 0;
	font: inherit;
	color: currentColor;
	width: 1.25em;
	height: 1.25em;
	border: 1px solid #e5e7eb;
	border-radius: 0.25em;
	display: grid;
	place-content: center;
	transition: all 0.2s ease;
	cursor: pointer;
}

.custom-checkbox::before {
	content: "";
	width: 0.65em;
	height: 0.65em;
	transform: scale(0);
	transition: 120ms transform ease-in-out;
	box-shadow: inset 1em 1em white;
	background-color: white;
	transform-origin: center;
	clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.custom-checkbox:checked {
	background-color: #ffac00;
	border-color: #ffac00;
}

.custom-checkbox:checked::before {
	transform: scale(1);
}

/* FAQ accordion (Contact template) */
.faq-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-content {
	max-height: 500px;
}

.faq-item.active .faq-icon {
	transform: rotate(180deg);
}

/* PDP preview overlays */
#preview-text {
	white-space: pre-line;
	text-align: center;
}

/* Configurator (plugin) spacing overrides to match mockup */
.pc-configurator {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* PDP configurator UI (from mockup) */
.selection-card {
	cursor: pointer;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.selection-card.selected {
	border-color: #111111;
	background-color: #ffffff;
	box-shadow: 0 10px 30px -10px rgba(17, 17, 17, 0.1);
}

.selection-card:hover:not(.selected) {
	border-color: rgba(17, 17, 17, 0.2);
	background-color: #ffffff;
}

.path-card {
	cursor: pointer;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.path-card.selected {
	border-color: #ffac00;
	background-color: #ffffff;
	box-shadow: 0 10px 30px -10px rgba(17, 17, 17, 0.1);
}

.path-card:hover:not(.selected) {
	border-color: rgba(17, 17, 17, 0.2);
	background-color: #ffffff;
}

.color-swatch {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.2s ease;
	border: 2px solid transparent;
}

.color-swatch.selected {
	border-color: #111111;
	transform: scale(1.1);
}

.segmented-control {
	display: flex;
	background: rgba(17, 17, 17, 0.05);
	border-radius: 8px;
	padding: 4px;
}

.segmented-control button {
	flex: 1;
	padding: 8px 16px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.2s ease;
}

.segmented-control button.active {
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	color: #111111;
}

.icon-grid-item {
	aspect-ratio: 1;
	border: 1px solid rgba(17, 17, 17, 0.1);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
	font-size: 24px;
	color: #666666;
}

.icon-grid-item:hover {
	border-color: #111111;
	color: #111111;
}

.icon-grid-item.selected {
	border-color: #111111;
	background: #111111;
	color: #ffffff;
}

.upload-zone {
	border: 2px dashed rgba(17, 17, 17, 0.2);
	border-radius: 12px;
	padding: 32px;
	text-align: center;
	transition: all 0.2s ease;
	cursor: pointer;
}

.upload-zone:hover {
	border-color: #111111;
	background: rgba(17, 17, 17, 0.02);
}

@media (max-width: 1023px) {
	.mobile-sticky-bottom {
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		background: #ffffff;
		box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
		z-index: 40;
		padding: 16px;
		border-top: 1px solid rgba(17, 17, 17, 0.1);
	}
}

/* Filters (shop archive) */
.filter-checkbox {
	appearance: none;
	background-color: #ffffff;
	margin: 0;
	font: inherit;
	color: currentColor;
	width: 1.15em;
	height: 1.15em;
	border: 1px solid #d1d5db;
	border-radius: 0.15em;
	display: grid;
	place-content: center;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
}

.filter-checkbox::before {
	content: "";
	width: 0.65em;
	height: 0.65em;
	transform: scale(0);
	transition: 120ms transform ease-in-out;
	box-shadow: inset 1em 1em var(--form-control-color, #111111);
	background-color: #111111;
	transform-origin: center;
	clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.filter-checkbox[data-checked="true"]::before,
.filter-checkbox:checked::before {
	transform: scale(1);
}

.filter-checkbox[data-checked="true"],
.filter-checkbox:checked {
	border-color: #111111;
}

.color-swatch-radio {
	margin: 0;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	cursor: pointer;
	position: relative;
	outline: none;
	display: inline-block;
}

.color-swatch-radio:focus-visible,
.color-swatch-radio:hover {
	filter: brightness(0.98);
}

.color-swatch-radio[data-active="true"]::after {
	content: "";
	position: absolute;
	top: -4px;
	left: -4px;
	right: -4px;
	bottom: -4px;
	border: 1px solid #111111;
	border-radius: 50%;
}

.accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out;
}

.accordion-content.open {
	max-height: 1500px;
}

.cart-item-card {
	transition: all 0.3s ease;
}

.cart-item-card:hover {
	box-shadow: 0 4px 20px -5px rgba(17, 17, 17, 0.05);
}

/* WooCommerce lightweight styling to match the mockup */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
	border: 1px solid rgba(17, 17, 17, 0.08);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.7);
	padding: 16px 18px;
	margin: 0 0 18px;
}

.woocommerce table.shop_table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	border-top: 1px solid rgba(17, 17, 17, 0.08);
	padding: 12px 0;
}

.woocommerce .cart_totals h2 {
	display: none;
}

.woocommerce .cart_totals .order-total th,
.woocommerce .cart_totals .order-total td {
	border-top: 1px solid rgba(17, 17, 17, 0.14);
	padding-top: 16px;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 56px;
	border-radius: 9999px;
	background: #111111;
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 600;
	transition: opacity 0.2s ease, transform 0.2s ease;
	margin-top: 16px;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
	opacity: 0.92;
	transform: translateY(-1px);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	width: 100%;
	border: 1px solid rgba(17, 17, 17, 0.18);
	border-radius: 12px;
	padding: 12px 14px;
	background: #ffffff;
	outline: none;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
	border-color: rgba(17, 17, 17, 0.6);
	box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.6);
}

.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #place_order {
	border-radius: 9999px;
	padding: 14px 18px;
	border: 0;
	background: #111111;
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 600;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.woocommerce #place_order:hover {
	opacity: 0.92;
}

.woocommerce .quantity .qty {
	width: 80px;
	text-align: center;
	border: 0;
	background: transparent;
}

/* Quantity stepper: no spinner arrows, no border */
.acrticprint-qty-stepper {
	border: 0;
	box-shadow: none;
}

.acrticprint-qty-stepper button {
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	outline: none !important;
}

.acrticprint-qty-stepper input[type="number"] {
	-moz-appearance: textfield;
	appearance: textfield;
	border: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	background: transparent !important;
}

/* Accordions: avoid table-like borders inside "Care & Specs" */
.woocommerce table.shop_attributes,
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
	border: 0 !important;
	background: transparent !important;
}

.acrticprint-accordion-item {
	border: 0 !important;
	border-bottom: 1px solid #e5e7eb !important;
	border-radius: 0 !important;
}

.acrticprint-accordion-item > button {
	border: 0 !important;
	background: transparent !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.acrticprint-qty-stepper input[type="number"]::-webkit-outer-spin-button,
.acrticprint-qty-stepper input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
