/* =========================================================================
   Diamond Roses Orlando — theme.css
   ========================================================================= */

:root {
	/* Colors are re-emitted live from the Customizer via wp_add_inline_style
	   (Section 22.9) — the values below are load-time fallbacks only. */
	--color-background: #fdfdfc;
	--color-foreground: #141414;
	--color-primary: #bb1b36;
	--color-secondary: #f6f4ee;
	--color-muted: #efece7;
	--color-accent: #e69b19;
	--color-border: #e7e2da;
	--color-destructive: #ef4343;
	--color-button-text: #ffffff;

	--font-display: 'Playfair Display', serif;
	--font-body: 'DM Sans', sans-serif;

	--radius: 0.5rem;
	--card-radius: 0.75rem;
	--shadow-soft: 0 4px 20px -4px rgba(0, 0, 0, 0.08);
	--shadow-elevated: 0 12px 40px -8px rgba(0, 0, 0, 0.12);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--btn-radius: 32px;
	--btn-height: 44px;
	--btn-padding: 0 2rem;
	--btn-font-size: 0.875rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--btn-icon-padding: 0.5rem;

	--header-height: 80px;
	--logo-height: 60px;
	--footer-logo-height: 80px;
	--admin-bar-height: 0px;
	--checkout-gap: 2rem;
}

/* -------------------------------------------------------------------------
 * RESET & BASE
 * ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-weight: 400;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
body.is-front-page,
body.home { overflow-x: hidden; }

h1, h2, h3, h4, h5, h6 { font-weight: inherit; font-size: inherit; font-family: var(--font-display); margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
input[type="submit"],
input[type="button"],
input[type="reset"],
input[type="checkbox"],
input[type="radio"],
select,
label[for],
summary,
[role="button"],
.carousel-card:not(.carousel-coming-soon),
.carousel-arrow,
.theme-cart-toggle,
.theme-mobile-menu-btn,
.footer-social-link,
.theme-qty-btn,
[data-attr-pill] {
	cursor: pointer;
}
button:disabled,
input:disabled,
select:disabled,
[aria-disabled="true"] {
	cursor: not-allowed;
}

img:not(.cover-img):not(.hero-bg-img):not(.theme-product-card__image):not(.carousel-card-image):not(.theme-product-main-img):not(.theme-cart-item-img):not(.newsletter-bg-img):not(.about-image) {
	max-width: 100%;
	height: auto;
	display: block;
}
.cover-img, .hero-bg-img, .theme-product-card__image, .carousel-card-image, .theme-product-main-img, .theme-cart-item-img, .newsletter-bg-img, .about-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.container-wide {
	width: 100%;
	max-width: 80rem; /* 1280px, approximating Tailwind's max-w-7xl */
	margin: 0 auto;
	padding: 0 1.5rem;
}
@media (min-width: 1024px) {
	.container-wide { padding: 0 2rem; }
}

body.is-customizer .theme-slot-preview-hidden {
	display: none !important;
}

/* -------------------------------------------------------------------------
 * SHARED UTILITIES
 * ---------------------------------------------------------------------- */
.link-underline { position: relative; display: inline-block; }
.link-underline::after {
	content: '';
	position: absolute; bottom: 0; left: 0; width: 100%; height: 1px;
	background: currentColor;
	transform: scaleX(0); transform-origin: left;
	transition: transform 0.3s var(--transition-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

.image-zoom { transition: transform 0.7s ease-out; }
.theme-product-card:hover .image-zoom { transform: scale(1.05); }

.sold-out-badge, .new-badge {
	position: absolute;
	padding: 0.25rem 0.75rem;
	font-size: 0.7rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	z-index: 2;
	border-radius: 2px;
}
.sold-out-badge { top: 0.75rem; left: 0.75rem; background: var(--color-foreground); color: var(--color-background); }
.new-badge { top: 0.75rem; right: 0.75rem; background: var(--color-primary); color: #fff; }
.is-sold-out { opacity: 0.6; }

.btn-hero-primary, .btn-hero-outline, .theme-btn-primary, .theme-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: var(--btn-height);
	padding: var(--btn-padding);
	border-radius: var(--btn-radius);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	text-transform: none;
	border: none;
	white-space: nowrap;
	transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
	cursor: pointer;
}
.btn-hero-primary, .theme-btn-primary {
	background-color: var(--color-primary);
	color: var(--color-button-text);
}
.btn-hero-primary:hover, .theme-btn-primary:hover { opacity: 0.9; transform: scale(1.03); }
.btn-hero-outline, .theme-btn-outline {
	background: transparent;
	border: 1px solid var(--color-border);
	color: var(--color-foreground);
}
.btn-hero-outline:hover, .theme-btn-outline:hover { background: color-mix(in srgb, var(--color-primary) 10%, transparent); color: var(--color-primary); }

/* -------------------------------------------------------------------------
 * ANIMATION & MOTION (Section 2.1)
 * ---------------------------------------------------------------------- */
@keyframes fadeInUp {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}
.hero-anim { opacity: 0; animation: fadeInUp 0.6s var(--transition-smooth) forwards; }
.hero-anim-1 { animation-delay: 0.2s; }
.hero-anim-2 { animation-delay: 0.4s; }
.hero-anim-3 { animation-delay: 0.6s; }
.hero-anim-4 { animation-delay: 0.8s; }

.reveal-up, .reveal-fade, .reveal-scale, .reveal-slide-left, .reveal-item {
	opacity: 0;
	transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
}
.reveal-up { transform: translateY(20px); }
.reveal-fade { transition-duration: 0.5s; }
.reveal-scale { transform: scale(0.95); transition-duration: 0.5s; }
.reveal-slide-left { transform: translateX(-30px); }
.reveal-item { transform: translateY(20px); transition-duration: 0.5s; }

.reveal-up.is-visible, .reveal-fade.is-visible, .reveal-scale.is-visible,
.reveal-slide-left.is-visible, .reveal-item.is-visible {
	opacity: 1;
	transform: none;
}

.stagger-item { transition-delay: calc(var(--stagger-index, 0) * 0.1s); }

/* Customizer preview fallback — reveal content must never be hidden while editing. */
body.is-customizer .reveal-up,
body.is-customizer .reveal-fade,
body.is-customizer .reveal-scale,
body.is-customizer .reveal-slide-left,
body.is-customizer .reveal-item {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.hero-anim, .reveal-up, .reveal-fade, .reveal-scale, .reveal-slide-left, .reveal-item {
		animation: none !important;
		transition: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}

/* -------------------------------------------------------------------------
 * WORDPRESS ADMIN BAR
 * ---------------------------------------------------------------------- */
@media screen and (min-width: 783px) {
	body.admin-bar { --admin-bar-height: 32px; }
}
@media screen and (max-width: 782px) {
	body.admin-bar { --admin-bar-height: 46px; }
}
body.admin-bar .site-header {
	top: var(--admin-bar-height);
}
body.admin-bar #theme-cart-drawer {
	top: var(--admin-bar-height);
	height: calc(100vh - var(--admin-bar-height));
}
body.admin-bar .features-section,
body.admin-bar .about-section,
body.admin-bar .shop-section {
	scroll-margin-top: calc(6rem + var(--admin-bar-height));
}

/* -------------------------------------------------------------------------
 * HEADER
 * ---------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 40;
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--color-border);
}
.site-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 4rem;
	position: relative;
}
@media (min-width: 1024px) {
	.site-nav { height: 5rem; }
}
.theme-mobile-menu-btn {
	background: none; border: none; padding: 0.5rem;
	display: flex; align-items: center; justify-content: center;
	transition: opacity 0.2s ease;
}
.theme-mobile-menu-btn:hover { opacity: 0.6; }
.theme-mobile-menu-btn .theme-icon { width: 1.25rem; height: 1.25rem; }
@media (min-width: 768px) {
	.theme-mobile-menu-btn { display: none; }
}
.site-logo { display: flex; align-items: center; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; display: block; line-height: var(--logo-height); }
.site-nav-desktop { display: none; }
@media (min-width: 768px) {
	.site-nav-desktop {
		display: flex;
		align-items: center;
		gap: 2rem;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
	}
}
.theme-nav-list { display: flex; align-items: center; gap: 2rem; }
.theme-nav-link, .theme-nav-list a {
	font-size: 0.875rem;
	font-family: var(--font-body);
	letter-spacing: 0.02em;
}
.site-nav-actions { display: flex; align-items: center; gap: 0.25rem; }
.theme-cart-toggle {
	position: relative;
	background: none; border: none; padding: 0.5rem;
	display: flex; align-items: center; justify-content: center;
	transition: opacity 0.2s ease;
}
.theme-cart-toggle:hover { opacity: 0.6; }
.theme-cart-toggle .theme-icon { width: 1.25rem; height: 1.25rem; }
.theme-cart-count {
	position: absolute; top: -0.1rem; right: -0.1rem;
	width: 1.25rem; height: 1.25rem;
	display: flex; align-items: center; justify-content: center;
	font-size: 0.625rem; font-weight: 500;
	background-color: var(--color-primary); color: #fff;
	border-radius: 999px;
}
.theme-cart-count:empty { display: none; }

.site-nav-mobile { display: none; border-top: 1px solid var(--color-border); padding: 1rem 0; }
.site-nav-mobile.is-open { display: block; animation: fadeInUp 0.4s var(--transition-smooth); }
.theme-nav-list-mobile, .site-nav-mobile .theme-nav-fallback {
	display: flex; flex-direction: column; gap: 1rem;
}
.theme-nav-list-mobile a, .site-nav-mobile a {
	display: block;
	font-size: 0.875rem;
	padding: 0.5rem 0;
	transition: color 0.2s ease;
}
.theme-nav-list-mobile a:hover, .site-nav-mobile a:hover { color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
@media (min-width: 768px) {
	.site-nav-mobile { display: none !important; }
}

/* -------------------------------------------------------------------------
 * HERO
 * ---------------------------------------------------------------------- */
.hero-section {
	position: relative;
	min-height: calc(100vh - 5rem);
	background-color: var(--color-background);
	overflow: hidden;
}
.hero-bg-wrap { position: absolute; inset: 0; }
.hero-bg-gradient {
	position: absolute; inset: 0;
	background: linear-gradient(to right,
		color-mix(in srgb, var(--color-background) 95%, transparent) 0%,
		color-mix(in srgb, var(--color-background) 70%, transparent) 45%,
		transparent 100%);
}
.hero-content-wrap { position: relative; z-index: 10; height: 100%; }
.hero-content-wrap {
	display: flex; align-items: center;
	min-height: calc(100vh - 5rem);
}
.hero-content { max-width: 36rem; padding: 5rem 0; }
.hero-eyebrow {
	font-size: 0.875rem; font-weight: 500; letter-spacing: 0.15em;
	text-transform: uppercase; color: var(--color-primary); margin-bottom: 1rem;
}
.hero-title {
	font-size: 2.25rem; font-weight: 600; letter-spacing: -0.02em;
	margin-bottom: 1.5rem; line-height: 1.15;
}
@media (min-width: 768px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }
.hero-subtitle {
	color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
	font-size: 1.125rem;
	margin-bottom: 2.5rem;
	max-width: 34rem;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-buttons a { padding: 0 2rem; }

/* -------------------------------------------------------------------------
 * FEATURES
 * ---------------------------------------------------------------------- */
.features-section { padding: 5rem 0; scroll-margin-top: 6rem; }
.features-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.feature-item { text-align: center; padding: 1.5rem; }
.feature-icon-wrap {
	width: 3.5rem; height: 3.5rem; margin: 0 auto 1.5rem;
	border-radius: 999px; background-color: var(--color-secondary);
	display: flex; align-items: center; justify-content: center;
	transition: transform 0.3s ease;
}
.feature-item:hover .feature-icon-wrap { transform: scale(1.1); }
.feature-icon { width: 1.5rem; height: 1.5rem; color: var(--color-primary); }
.feature-title { font-size: 1.125rem; font-weight: 500; margin-bottom: 0.5rem; }
.feature-desc { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }

/* -------------------------------------------------------------------------
 * ABOUT
 * ---------------------------------------------------------------------- */
.about-section { background-color: var(--color-secondary); scroll-margin-top: 6rem; }
.container-wide.about-inner {
	padding: 5rem 1.5rem;
}
@media (min-width: 1024px) {
	.container-wide.about-inner { padding: 5rem 2rem; }
}
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.about-eyebrow { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.about-section .section-heading.about-title {
	font-size: 1.875rem; font-weight: 500; margin-top: 0.5rem; margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .about-section .section-heading.about-title { font-size: 2.25rem; } }
.about-paragraphs { display: flex; flex-direction: column; gap: 1rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); font-size: 1rem; line-height: 1.6; }
.about-paragraphs p { color: inherit; }
.about-services { padding-top: 1rem; }
.about-services-title {
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 500;
	color: var(--color-foreground);
	margin-bottom: 0.75rem;
}
.about-services-list { display: flex; flex-direction: column; gap: 0.5rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.about-services-list li { color: inherit; }
.about-services-list strong { font-weight: 600; color: inherit; }
.about-image-wrap {
	position: relative;
	aspect-ratio: 1 / 1;
	background-color: color-mix(in srgb, var(--color-primary) 10%, transparent);
	border-radius: 1.5rem;
	overflow: hidden;
	transition: transform 0.5s ease;
}
.about-image-wrap:hover { transform: scale(1.02); }

/* -------------------------------------------------------------------------
 * PRODUCT CAROUSEL (homepage "Our Collection")
 * ---------------------------------------------------------------------- */
.shop-section.container-wide {
	padding: 5rem 1.5rem;
	scroll-margin-top: 6rem;
}
@media (min-width: 1024px) {
	.shop-section.container-wide { padding: 5rem 2rem; }
}
.product-carousel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.shop-heading { font-size: 1.875rem; font-weight: 500; }
@media (min-width: 768px) { .shop-heading { font-size: 2.25rem; } }
.product-carousel-viewport { position: relative; }
.product-carousel-viewport:hover .carousel-arrow { opacity: 1; }
.carousel-arrow {
	position: absolute; top: 50%; transform: translateY(-50%);
	z-index: 10; width: 3rem; height: 3rem;
	background-color: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow-soft);
	opacity: 0;
	transition: opacity 0.3s ease, background-color 0.2s ease, transform 0.2s ease;
}
.carousel-arrow:hover { background-color: var(--color-secondary); }
.carousel-arrow-left { left: 0; transform: translate(-50%, -50%); }
.carousel-arrow-right { right: 0; transform: translate(50%, -50%); }
.carousel-arrow-icon { width: 1.25rem; height: 1.25rem; }
.product-carousel-track {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	scroll-behavior: smooth;
	padding-bottom: 1rem;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.product-carousel-track::-webkit-scrollbar { display: none; }
.carousel-card-wrap { flex-shrink: 0; width: 280px; }
@media (min-width: 1024px) { .carousel-card-wrap { width: 300px; } }
.carousel-card { display: block; }
.carousel-card-image-wrap {
	position: relative;
	aspect-ratio: 1 / 1;
	background-color: var(--color-secondary);
	border-radius: 2rem;
	overflow: hidden;
	margin-bottom: 1rem;
	transition: transform 0.3s ease;
}
.carousel-card:hover .carousel-card-image-wrap { transform: translateY(-5px); }
.carousel-card:hover .carousel-card-image { transform: scale(1.1); }
.carousel-card-image { transition: transform 0.5s ease; object-fit: cover; object-position: center; }
.carousel-card-category {
	position: absolute; top: 0.75rem; right: 0.75rem; z-index: 10;
	background-color: color-mix(in srgb, var(--color-background) 90%, transparent);
	backdrop-filter: blur(4px);
	font-size: 0.75rem;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
}
.carousel-card-title { font-size: 1.125rem; font-weight: 500; margin-bottom: 0.25rem; transition: color 0.2s ease; }
.carousel-card:hover .carousel-card-title { color: var(--color-primary); }
.carousel-card-title-muted { color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.carousel-card-price, .carousel-card-caption { color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.carousel-coming-soon-wrap .carousel-card { cursor: default; }
.coming-soon-image { opacity: 0.7; }
.coming-soon-overlay {
	position: absolute; inset: 0; z-index: 5;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center; padding: 0 1.5rem;
	background-color: color-mix(in srgb, var(--color-background) 40%, transparent);
	backdrop-filter: blur(2px);
}
.coming-soon-title { font-size: 1.25rem; font-weight: 500; margin-bottom: 0.5rem; }
.shop-empty-text { color: color-mix(in srgb, var(--color-foreground) 55%, transparent); padding: 2rem 0; }

/* -------------------------------------------------------------------------
 * NEWSLETTER
 * ---------------------------------------------------------------------- */
.newsletter-section { padding: 5rem 0; }
.newsletter-band { position: relative; border-radius: 1.5rem; overflow: hidden; }
.newsletter-overlay { position: absolute; inset: 0; background-color: rgba(0,0,0,0.5); }
.newsletter-content { position: relative; z-index: 10; padding: 5rem 1.5rem; text-align: center; }
@media (min-width: 768px) { .newsletter-content { padding: 7rem 1.5rem; } }
.newsletter-title { font-size: 1.875rem; font-weight: 500; color: #fff; margin-bottom: 1rem; }
@media (min-width: 768px) { .newsletter-title { font-size: 3rem; } }
.newsletter-subtitle { color: rgba(255,255,255,0.8); margin-bottom: 2rem; max-width: 28rem; margin-left: auto; margin-right: auto; }
.newsletter-form { display: flex; flex-direction: column; gap: 0.75rem; max-width: 32rem; margin: 0 auto; align-items: stretch; }
@media (min-width: 640px) { .newsletter-form { flex-direction: row; } }
.newsletter-input {
	flex: 1;
	padding: 0.875rem 1.5rem;
	background-color: rgba(255,255,255,0.1);
	backdrop-filter: blur(4px);
	color: #fff;
	border: 1px solid rgba(255,255,255,0.3);
	border-radius: 999px;
	font-size: 0.875rem;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-input:focus { outline: none; box-shadow: 0 0 0 2px rgba(255,255,255,0.5); }
.newsletter-submit {
	padding: 0.875rem 2rem;
	background-color: #fff;
	color: var(--color-foreground);
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 500;
	border: none;
	transition: all 0.2s ease;
}
.newsletter-submit:hover { background-color: var(--color-primary); color: #fff; transform: scale(1.05); }
.newsletter-feedback { color: #fff; margin-top: 1rem; font-size: 0.875rem; min-height: 1.25rem; }

/* -------------------------------------------------------------------------
 * BACK LINK / GENERIC PAGE ELEMENTS
 * ---------------------------------------------------------------------- */
.back-link-wrap { padding: 1.5rem 0; }
.back-link {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
	transition: color 0.2s ease;
}
.back-link:hover { color: var(--color-foreground); }
.back-link-icon { width: 1rem; height: 1rem; }
.page-title { font-size: 1.875rem; font-weight: 500; margin: 1.5rem 0; }
@media (min-width: 768px) { .page-title { font-size: 2.25rem; } }

/* -------------------------------------------------------------------------
 * FOOTER
 * ---------------------------------------------------------------------- */
.site-footer { background-color: var(--color-secondary); padding: 4rem 0 5rem; }
@media (min-width: 1024px) { .site-footer { padding: 5rem 0; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem; } }
.footer-logo-link { display: inline-block; transition: opacity 0.2s ease; }
.footer-logo-link:hover { opacity: 0.8; }
.footer-logo-img { height: var(--footer-logo-height); width: auto; max-height: var(--footer-logo-height); display: block; }
.footer-desc { margin-top: 1rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); max-width: 20rem; line-height: 1.6; }
.footer-social { display: flex; gap: 1rem; margin-top: 1.5rem; }
.footer-social-link {
	padding: 0.5rem; border-radius: 999px;
	background-color: color-mix(in srgb, var(--color-primary) 10%, transparent);
	display: flex; align-items: center; justify-content: center;
	transition: all 0.2s ease;
}
.footer-social-link:hover { background-color: color-mix(in srgb, var(--color-primary) 20%, transparent); transform: scale(1.1); }
.icon-social { width: 1.25rem; height: 1.25rem; }
.footer-heading { font-size: 1.125rem; font-weight: 500; margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-link, .footer-links span { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); transition: all 0.2s ease; display: inline-block; }
.footer-link:hover { color: var(--color-foreground); transform: translateX(2px); }
.footer-address { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.footer-bottom {
	margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--color-border);
	display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-copyright { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }

/* -------------------------------------------------------------------------
 * CONTACT PAGE
 * ---------------------------------------------------------------------- */
.container-wide.theme-contact-inner {
	padding: 2.5rem 1.5rem;
}
@media (min-width: 1024px) {
	.container-wide.theme-contact-inner { padding: 2.5rem 2rem; }
}
.contact-wrap { max-width: 64rem; margin: 0 auto; }
.contact-header { text-align: center; margin-bottom: 3rem; }
.contact-title { font-size: 1.875rem; font-weight: 500; margin-bottom: 1rem; }
@media (min-width: 768px) { .contact-title { font-size: 2.25rem; } }
.contact-subtitle { color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 2fr; } }
.contact-info-col { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-card { background-color: var(--color-secondary); border-radius: var(--card-radius); padding: 1.5rem; }
.contact-info-heading { font-size: 1.125rem; font-weight: 500; margin-bottom: 1rem; }
.contact-info-sub { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 0.75rem; }
.contact-info-list { display: flex; flex-direction: column; gap: 1rem; }
.contact-info-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; }
.contact-info-list a:hover { color: var(--color-primary); }
.contact-info-icon { width: 1.25rem; height: 1.25rem; color: var(--color-primary); flex-shrink: 0; }
.contact-social-list { display: flex; flex-direction: column; gap: 0.25rem; }
.contact-social-link { font-size: 0.875rem; color: var(--color-primary); }
.contact-social-link:hover { text-decoration: underline; }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-form-row { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .contact-form-row { grid-template-columns: 1fr 1fr; } }
.contact-form-field label { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; display: block; }
.contact-form-field input, .contact-form-field textarea, .contact-form-field select {
	width: 100%; padding: 0.75rem 1rem;
	background-color: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	font-size: 0.875rem;
}
.contact-form-field textarea { resize: none; }
.contact-form-field input::placeholder, .contact-form-field textarea::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.contact-form-field input:focus, .contact-form-field textarea:focus, .contact-form-field select:focus {
	outline: none; box-shadow: 0 0 0 1px var(--color-primary);
}
.contact-submit { align-self: flex-start; }
.contact-submit-icon { width: 1rem; height: 1rem; }
.contact-success { text-align: center; padding: 3rem 0; }
.contact-success-icon {
	width: 4rem; height: 4rem; margin: 0 auto 1.5rem;
	background-color: var(--color-primary); color: #fff;
	border-radius: 999px; display: flex; align-items: center; justify-content: center;
}
.contact-success-title { font-size: 1.875rem; font-weight: 500; margin-bottom: 1rem; }

/* -------------------------------------------------------------------------
 * 404
 * ---------------------------------------------------------------------- */
.theme-404-main { min-height: 60vh; display: flex; align-items: center; justify-content: center; }
.theme-404-content { text-align: center; padding: 4rem 0; }
.theme-404-code { font-size: 3rem; font-weight: 700; margin-bottom: 1rem; }
.theme-404-message { font-size: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 1rem; }
.theme-404-link { color: var(--color-primary); text-decoration: underline; }

/* =========================================================================
 * WOOCOMMERCE
 * ========================================================================= */

/* Notices — scoped visibility (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	font-family: var(--font-body);
	border-radius: var(--radius);
	padding: 1rem 1.5rem !important;
	font-size: 0.875rem;
}

/* Product grid (shop archive + related products) */
.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }
.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; }
.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 3 / 4;
	background-color: var(--color-secondary);
	border-radius: var(--radius);
	overflow: hidden;
	margin-bottom: 1rem;
}
.theme-product-card__info { flex: 1; display: flex; flex-direction: column; gap: 0.25rem; }
.theme-product-card__title {
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	transition: opacity 0.2s ease;
}
.theme-product-card:hover .theme-product-card__title { opacity: 0.7; }
.theme-product-card__price { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-shop-header { padding-top: 1.5rem; }

/* Single product layout (Section 11.13) */
.single-product-main { padding: 0; }
.single-product div.product.theme-product-layout {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	padding-bottom: 5rem;
	width: 100%;
	max-width: 100%;
	float: none !important;
	clear: none !important;
	margin: 0 !important;
}
@media (min-width: 1024px) {
	.single-product div.product.theme-product-layout {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 4rem;
	}
}
.single-product .theme-product-main-image-wrap,
.single-product .theme-product-info {
	min-width: 0;
	max-width: 100%;
	width: 100%;
}
@media (min-width: 1024px) {
	.single-product .theme-product-info { padding-top: 2.5rem; padding-bottom: 2.5rem; }
}
.single-product .theme-product-main-image-wrap {
	position: relative;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 3 / 4;
	background-color: var(--color-secondary);
	border-radius: var(--radius);
	overflow: hidden;
}
.theme-product-category { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.product-title { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; margin-top: 0.5rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .product-title { font-size: 1.875rem; } }
.theme-product-price { font-size: 1.25rem; margin-bottom: 1.5rem; }
.theme-out-of-stock-badge {
	display: inline-block; padding: 0.5rem 1rem;
	background-color: var(--color-muted);
	color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
	font-size: 0.875rem; font-weight: 500; border-radius: var(--radius);
	margin-bottom: 1rem;
}
.theme-product-description {
	color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
	line-height: 1.625;
	margin-bottom: 2rem;
}
.single-product .theme-add-to-cart-area {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 2rem;
}
.theme-quantity-wrapper {
	display: flex; align-items: center;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
}
.theme-qty-minus, .theme-qty-plus {
	background: none; border: none; padding: 0.75rem 1rem;
	display: flex; align-items: center; justify-content: center;
	transition: background-color 0.2s ease;
}
.theme-qty-minus svg, .theme-qty-plus svg { width: 1rem; height: 1rem; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background-color: var(--color-secondary); }
.theme-qty-input {
	width: 3rem; min-width: 3rem; text-align: center; border: none; background: none;
	-moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }
.theme-product-details {
	border-top: 1px solid var(--color-border);
	padding-top: 2rem;
}
.theme-product-details-title { font-size: 0.875rem; font-weight: 500; margin-bottom: 1rem; }
.theme-product-details-list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.theme-product-details-list li {
	font-size: 0.875rem;
	color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
	display: flex;
	align-items: flex-start;
}
.theme-product-details-list li::before {
	content: '';
	width: 0.375rem;
	height: 0.375rem;
	margin-top: 0.5rem;
	margin-right: 0.75rem;
	flex-shrink: 0;
	border-radius: 999px;
	background-color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
}
.single_add_to_cart_button .theme-btn-check-icon {
	width: 1rem;
	height: 1rem;
	margin-right: 0.5rem;
	flex-shrink: 0;
}
.single_add_to_cart_button.theme-added-feedback {
	pointer-events: none;
}

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-products-title { font-size: 1.25rem; font-weight: 500; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .related-products-title { font-size: 1.5rem; } }

/* Add to cart button style override (Section 11.4.1) */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !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;
	background-color: var(--color-primary) !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; }

/* Hide "View cart" injected by WooCommerce after AJAX add (Section 11.4.2) */
.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; }

/* Variations table layout */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td {
	display: block;
	width: 100%;
}
.single-product .variations tbody td.label { padding-bottom: 0.25rem; font-weight: 600; }
.single-product .variations tbody td.value { padding-top: 0; }

/* -------------------------------------------------------------------------
 * SIDE CART DRAWER
 * ---------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 60;
	background-color: rgba(0,0,0,0.2);
	opacity: 0; visibility: hidden;
	transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }

#theme-cart-drawer {
	position: fixed; top: 0; right: 0; height: 100%;
	width: 100%; max-width: 28rem;
	background-color: var(--color-background);
	z-index: 61;
	box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.4s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer-header {
	display: flex; align-items: center; justify-content: space-between;
	padding: 1.5rem; border-bottom: 1px solid var(--color-border);
}
.theme-cart-drawer-title { font-size: 1.125rem; font-weight: 500; }
.theme-cart-drawer-close { background: none; border: none; padding: 0.25rem; transition: opacity 0.2s ease; }
.theme-cart-drawer-close:hover { opacity: 0.6; }
.theme-cart-drawer-empty {
	flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
	padding: 1.5rem; text-align: center; gap: 1rem;
}
.theme-cart-empty-icon { width: 3rem; height: 3rem; color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.theme-cart-drawer-items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
#theme-cart-drawer .theme-cart-item-image {
	position: relative;
	width: 5rem;
	height: 6rem;
	flex-shrink: 0;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--color-secondary);
	display: block;
}
#theme-cart-drawer .theme-cart-item-image .theme-cart-item-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover;
	object-position: center;
	display: block;
}
.theme-cart-item-info { flex: 1; min-width: 0; }
.theme-cart-item-name { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-item-price { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-top: 0.15rem; }
.theme-cart-item-variation { font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-top: 0.25rem; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { background: none; border: none; padding: 0.25rem; border-radius: var(--radius); display: flex; }
.theme-cart-qty-btn:hover { background-color: var(--color-secondary); }
.theme-cart-qty-btn svg { width: 0.75rem; height: 0.75rem; }
.theme-cart-qty-value { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-remove { margin-left: auto; background: none; border: none; font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-cart-remove:hover { color: var(--color-foreground); }
.theme-cart-drawer-footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-subtotal-label { color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-cart-subtotal-value { font-weight: 500; }
.theme-cart-shipping-note { font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-cart-checkout-btn { width: 100%; }

/* -------------------------------------------------------------------------
 * CHECKOUT BLOCK
 * ---------------------------------------------------------------------- */
body.woocommerce-checkout .site-main { padding-top: 2rem; padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content { width: 100%; }
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,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background-color: var(--color-background);
	color: var(--color-foreground);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	box-shadow: 0 0 0 1px var(--color-primary);
}
body.woocommerce-checkout .wc-block-components-text-input input { padding: revert; }
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: 2rem;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	text-transform: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }

/* Side cart images — WooCommerce Blocks checkout CSS resets img sizing globally */
body.woocommerce-checkout #theme-cart-drawer .theme-cart-item-image .theme-cart-item-img,
body.woocommerce-cart #theme-cart-drawer .theme-cart-item-image .theme-cart-item-img,
body.woocommerce-account #theme-cart-drawer .theme-cart-item-image .theme-cart-item-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover;
	object-position: center;
}

/* -------------------------------------------------------------------------
 * THANK YOU PAGE
 * ---------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
.theme-thankyou-content { text-align: center; padding: 2rem 0 4rem; }
.theme-thankyou-icon {
	width: 4rem; height: 4rem; margin: 0 auto 1.5rem;
	background-color: var(--color-primary); color: #fff;
	border-radius: 999px; display: flex; align-items: center; justify-content: center;
}
body.theme-thankyou-page .woocommerce-order { max-width: 40rem; margin: 0 auto; text-align: left; }
body.theme-thankyou-page .woocommerce-order > h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-size: 1.5rem;
	padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex; flex-wrap: wrap; gap: 1.5rem;
	list-style: none; padding: 0; margin: 0 0 2rem;
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 2rem;
}
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td {
	padding: 0.75rem; border-bottom: 1px solid var(--color-border); font-size: 0.875rem;
}
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: 30rem; overflow-wrap: break-word; font-style: normal; font-size: 0.875rem;
}

/* -------------------------------------------------------------------------
 * WOOCOMMERCE ACCOUNT / CART PAGES — WIDTH PARITY (Section 13.7)
 * ---------------------------------------------------------------------- */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: 2rem; padding-bottom: 4rem;
}
