/* =====================================================================
   A. Millie Designs — theme stylesheet.
   All design values live in the :root tokens below.
   ===================================================================== */

/* ---------- Reset (browser defaults normalised) ---------- */
*, *::before, *::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: var(--border); }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; scroll-behavior: smooth; }
body { margin: 0; line-height: inherit; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; margin: 0; }
p, figure, blockquote, dl, dd, pre { margin: 0; }
ol, ul, menu { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: inherit; }
b, strong { font-weight: bolder; }
button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; color: inherit; margin: 0; padding: 0; }
button, select { text-transform: none; }
button, [type="button"], [type="submit"] { -webkit-appearance: button; background-color: transparent; background-image: none; cursor: pointer; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { opacity: 1; color: color-mix(in srgb, var(--muted-foreground) 70%, transparent); }
img, svg, video { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
video { height: auto; }
summary { display: list-item; }
summary::-webkit-details-marker { display: none; }
table { border-collapse: collapse; border-color: inherit; text-indent: 0; }
[hidden] { display: none !important; }

/* ---------- Design tokens ---------- */
:root {
	--primary: #f51494;
	--primary-foreground: #ffffff;
	--accent: #a3ff1a;
	--accent-foreground: var(--foreground);
	--gold: #e6ac1a;
	--gold-foreground: var(--foreground);
	--background: #ffffff;
	--foreground: #1f141f;
	--card: #fcf3f7;
	--secondary: #f3ffe0;
	--muted: #f6eef2;
	--muted-foreground: #695969;
	--border: #e8d9e0;
	--input: var(--border);
	--ring: var(--primary);
	--destructive: #ef4444;

	--font-display: 'Archivo', sans-serif;
	--font-body: 'DM Sans', sans-serif;
	--text-label: 11px;
	--tracking-label: 0.22em;

	--radius: 1rem;
	--shadow-soft: 0 4px 20px -4px hsl(20 20% 10% / 0.06);
	--shadow-elevated: 0 10px 44px -10px hsl(20 20% 10% / 0.14);
	--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
	--overlay: rgb(0 0 0 / 0.6);

	--ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-gentle: cubic-bezier(0.33, 0, 0.67, 1);
	--transition-smooth: var(--ease-soft);
	--marquee-duration: 30s;

	--container-max: 80rem;
	--header-height: 4rem;

	--color-primary: var(--primary);
	--color-button-text: var(--primary-foreground);
	--color-border: var(--border);
	--color-surface: var(--card);
	--btn-radius: 9999px;
	--btn-height: 3rem;
	--btn-padding: 0 1.75rem;
	--btn-font-size: 0.875rem;
	--btn-font-weight: 700;
	--btn-letter-spacing: 0;
	--btn-text-transform: none;
	--card-radius: 1rem;
	--section-padding: 1.5rem;
	--checkout-gap: 2rem;
}

/* ---------- Base ---------- */
body {
	background-color: var(--background);
	color: var(--foreground);
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }
.site { min-height: 100vh; display: flex; flex-direction: column; animation: pageFade 0.55s var(--ease-gentle) backwards, pageRise 0.7s var(--ease-soft) backwards; }
.site-main { flex: 1 1 auto; }
.site-main--home { flex: none; }
.container-wide { width: 100%; max-width: 80rem; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
.break-all { word-break: break-all; }
.text-primary { color: var(--primary); }
.theme-icon { flex-shrink: 0; }
.icon-3-5 { width: 0.875rem; height: 0.875rem; }
.icon-4 { width: 1rem; height: 1rem; }
.icon-5 { width: 1.25rem; height: 1.25rem; }
.icon-6 { width: 1.5rem; height: 1.5rem; }
.icon-8 { width: 2rem; height: 2rem; }
.icon-thin { stroke-width: 1.5; }
.bg-confetti {
	background-image: radial-gradient(color-mix(in srgb, var(--primary) 12%, transparent) 1.5px, transparent 1.5px), radial-gradient(color-mix(in srgb, var(--accent) 25%, transparent) 1.5px, transparent 1.5px);
	background-size: 28px 28px;
	background-position: 0 0, 14px 14px;
}
.micro-label { font-size: var(--text-label); font-weight: 500; text-transform: uppercase; letter-spacing: var(--tracking-label); font-family: 'Manrope', sans-serif; }

/* Cover / fixed-size images are excluded from the global height:auto rule. */
img:not(.fixed-img):not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.theme-product-main-img):not(.theme-product-thumb-img) { max-width: 100%; height: auto; }
.cover-img, .hero-bg-img, .product-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fixed-img { max-width: none; }

/* ---------- Typography helpers ---------- */
.eyebrow { font-size: 0.75rem; line-height: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); }
.eyebrow--accent { color: var(--accent); }
.eyebrow + .section-heading { margin-top: 0.5rem; }
.eyebrow + .shop-heading { margin-top: 0.75rem; }
.section-heading { font-family: var(--font-display); font-weight: 800; font-size: 1.875rem; line-height: 2.25rem; }
@media (min-width: 768px) { .section-heading { font-size: 3rem; line-height: 1; } }
.section-text { margin-top: 1rem; line-height: 1.625; color: var(--muted-foreground); }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; scroll-margin-top: 5rem; }
@media (min-width: 768px) { .section { padding: 7rem 0; } }
.section--secondary { background-color: var(--secondary); }
.section--dark { background-color: var(--foreground); color: var(--background); }
.section--card { background-color: var(--card); }
.shop-intro, .ordering-intro { max-width: 42rem; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; white-space: nowrap;
	height: 2.5rem; padding: 0.5rem 1rem; border-radius: calc(var(--radius) - 2px);
	font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; cursor: pointer;
	transition: transform 0.6s var(--ease-soft), background-color 0.6s var(--ease-gentle), color 0.6s var(--ease-gentle), border-color 0.6s var(--ease-gentle), opacity 0.6s var(--ease-gentle), box-shadow 0.6s var(--ease-soft);
}
.btn svg { width: 1rem; height: 1rem; flex-shrink: 0; pointer-events: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.985); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring); }
.btn--primary { background-color: var(--primary); color: var(--primary-foreground); }
.btn--primary:hover { background-color: color-mix(in srgb, var(--primary) 90%, transparent); }
.btn--outline { border: 1px solid var(--input); background-color: var(--background); }
.btn--outline:hover { background-color: var(--accent); color: var(--accent-foreground); }
.btn--outline-light { border: 2px solid color-mix(in srgb, var(--background) 70%, transparent); background-color: transparent; color: var(--background); }
.btn--outline-light:hover { background-color: var(--background); color: var(--foreground); }
.btn--pill { height: 3rem; padding: 0 1.75rem; border-radius: 9999px; font-weight: 700; }
.btn--rounded { border-radius: 9999px; }
.btn--full { width: 100%; }
.btn--tab {
	min-height: 2.75rem; border-radius: 0; border: 1px solid var(--border); padding: 0 1rem;
	font-size: 0.75rem; line-height: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
	background-color: var(--background); color: var(--muted-foreground);
}
.btn--tab:hover { border-color: var(--primary); color: var(--foreground); background-color: var(--accent); }
.btn--tab.is-active { border-color: var(--foreground); background-color: var(--foreground); color: var(--background); }
.btn--tab.is-active:hover { background-color: color-mix(in srgb, var(--foreground) 90%, transparent); color: var(--background); }
.btn--more { border-color: var(--foreground); padding: 0 1.5rem; color: var(--foreground); }
.btn--more:hover { background-color: var(--foreground); color: var(--background); border-color: var(--foreground); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background-color: var(--background); border-bottom: 1px solid var(--border); }
.site-header__inner { display: flex; height: 4rem; align-items: center; justify-content: space-between; gap: 1rem; }
.site-brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.site-logo-img { height: 2.75rem; width: 2.75rem; object-fit: contain; }
.site-brand__name { display: none; font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-nav { display: none; }
.theme-nav-list { display: flex; align-items: center; gap: 1.75rem; }
.theme-nav-list a { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.theme-nav-list a:hover { color: var(--primary); }
.site-header__actions { display: flex; align-items: center; gap: 0.25rem; }
.header-icon-btn { position: relative; display: flex; height: 2.75rem; width: 2.75rem; align-items: center; justify-content: center; border-radius: 9999px; transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.header-icon-btn:hover { background-color: var(--muted); }
.theme-cart-count { position: absolute; top: 0.25rem; right: 0.25rem; display: flex; align-items: center; justify-content: center; min-width: 1.25rem; height: 1.25rem; padding: 0 0.25rem; border-radius: 9999px; background-color: var(--primary); color: var(--primary-foreground); font-size: 0.75rem; line-height: 1rem; font-weight: 700; }
.theme-cart-count:empty { display: none; }
.header-menu-btn .menu-icon-close { display: none; }
.header-menu-btn[aria-expanded="true"] .menu-icon-open { display: none; }
.header-menu-btn[aria-expanded="true"] .menu-icon-close { display: block; }
.mobile-nav { border-top: 1px solid var(--border); background-color: var(--background); }
.mobile-nav__inner { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.theme-mobile-nav-list { display: flex; flex-direction: column; }
.theme-mobile-nav-list a { display: block; padding: 0.75rem 0; font-weight: 500; }
.theme-mobile-nav-list a:hover { color: var(--primary); }
@media (min-width: 640px) { .site-brand__name { display: block; } }
@media (min-width: 768px) {
	.site-header__inner { height: 5rem; }
	.site-logo-img { height: 3.5rem; width: 3.5rem; }
	.site-brand__name { font-size: 1.25rem; line-height: 1.75rem; }
}
@media (min-width: 1024px) {
	.container-wide { padding-left: 2rem; padding-right: 2rem; }
	.site-nav { display: block; }
	.header-menu-btn, .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; align-items: flex-end; min-height: calc(100vh - 4rem); }
.hero-video { object-position: 68% center; animation: fadeIn 1.1s var(--ease-soft) both; }
.hero__overlay { position: absolute; inset: 0; background-image: linear-gradient(to top, color-mix(in srgb, var(--foreground) 90%, transparent), color-mix(in srgb, var(--foreground) 45%, transparent), color-mix(in srgb, var(--foreground) 10%, transparent)); }
.hero__content { position: relative; padding-top: 3.5rem; padding-bottom: 3.5rem; color: var(--background); }
.hero__item { animation: heroItem 1s var(--ease-soft) both; }
.hero__eyebrow { display: block; font-size: 0.75rem; line-height: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); animation-delay: 0.35s; }
.hero__title { margin-top: 1rem; max-width: 48rem; font-family: var(--font-display); font-size: 2.25rem; font-weight: 800; line-height: 1.02; animation-delay: 0.49s; }
.hero__text { margin-top: 1.25rem; max-width: 36rem; font-size: 1rem; line-height: 1.5rem; color: color-mix(in srgb, var(--background) 85%, transparent); animation-delay: 0.63s; }
.hero__actions { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; animation-delay: 0.77s; }
.hero__actions .btn { text-transform: none; }
.hero__arrow { margin-left: 0.25rem; }
@media (min-width: 640px) {
	.hero__overlay { background-image: linear-gradient(to right, color-mix(in srgb, var(--foreground) 90%, transparent), color-mix(in srgb, var(--foreground) 55%, transparent), transparent); }
	.hero-video { object-position: 62% center; }
	.hero__content { padding-top: 5rem; padding-bottom: 5rem; }
	.hero__title { font-size: 3rem; }
	.hero__text { font-size: 1.125rem; line-height: 1.75rem; }
	.hero__actions { flex-direction: row; }
}
@media (min-width: 768px) {
	.hero { min-height: calc(100vh - 5rem); }
	.hero__content { padding-top: 6rem; padding-bottom: 6rem; }
}
@media (min-width: 1024px) {
	.hero-video { object-position: center; }
	.hero__title { font-size: 4.5rem; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background-color: var(--foreground); color: var(--background); padding: 1rem 0; user-select: none; }
.marquee__track { display: flex; width: max-content; white-space: nowrap; }
.animate-marquee { animation: marquee var(--marquee-duration) linear infinite; }
.animate-marquee:hover { animation-play-state: paused; }
.marquee__list { display: flex; flex-shrink: 0; align-items: center; gap: 3.5rem; padding: 0 2rem; font-size: 1rem; line-height: 1.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.025em; }
.marquee__item { display: flex; align-items: center; gap: 1.5rem; }
.star-bullet { color: var(--accent); font-size: 1.125rem; line-height: 1.75rem; }

/* ---------- Shop ---------- */
.shop-controls { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.shop-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.shop-sort { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; line-height: 1.25rem; }
.shop-sort__label { font-size: 0.75rem; line-height: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-foreground); }
.shop-sort__select { min-height: 2.75rem; border: 1px solid var(--border); background-color: var(--background); padding: 0 0.75rem; font-size: 0.875rem; line-height: 1.25rem; border-radius: 0; }
.shop-sort__select:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--ring); }
.theme-product-grid { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; row-gap: 2.5rem; align-items: stretch; }
.shop-more { margin-top: 3rem; display: flex; justify-content: center; }
.theme-product-card-wrap { height: 100%; }
.theme-product-card-wrap.is-leaving { opacity: 0; transform: translateY(-10px); transition: opacity 0.25s ease-out, transform 0.25s ease-out; }
.theme-product-card-wrap.shop-enter { animation: shopEnter 0.6s ease-out both; animation-delay: var(--enter-delay, 0s); }
.theme-product-card { display: flex; flex-direction: column; height: 100%; }
.theme-product-card__link { display: block; width: 100%; text-align: left; }
.theme-product-card__image-wrapper { position: relative; overflow: hidden; border-radius: 1rem; background-color: var(--card); aspect-ratio: 1 / 1; box-shadow: var(--shadow-soft); transition: all 0.7s var(--ease-soft); }
.theme-product-card:hover .theme-product-card__image-wrapper { transform: translateY(-0.25rem); box-shadow: var(--shadow-elevated); }
.theme-product-card__image-wrapper img { transition: transform 1.2s var(--ease-soft); display: block; }
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.06); }
.theme-product-card__empty { height: 100%; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; text-align: center; padding: 1rem; }
.theme-product-card__empty-title { font-family: var(--font-display); font-weight: 700; }
.theme-product-card__empty-text { font-size: 0.75rem; line-height: 1rem; color: var(--muted-foreground); }
.theme-product-card__badge { position: absolute; top: 0.75rem; left: 0.75rem; border-radius: 9999px; background-color: color-mix(in srgb, var(--background) 95%, transparent); padding: 0.25rem 0.75rem; font-size: 0.75rem; line-height: 1rem; font-weight: 700; }
.theme-product-card__stock { position: absolute; bottom: 0.75rem; right: 0.75rem; border-radius: 9999px; background-color: var(--foreground); color: var(--background); padding: 0.25rem 0.75rem; font-size: 0.75rem; line-height: 1rem; font-weight: 700; }
.theme-product-card__info { flex: 1; margin-top: 0.75rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; min-width: 0; }
.theme-product-card__title { font-family: var(--font-display); font-size: 1rem; line-height: 1.5rem; font-weight: 700; transition: color 0.5s var(--ease-gentle); min-width: 0; }
.theme-product-card:hover .theme-product-card__title { color: var(--primary); }
.theme-product-card__price { font-size: 0.875rem; line-height: 1.25rem; font-weight: 700; color: var(--primary); white-space: nowrap; }
@media (min-width: 1024px) {
	.shop-controls { flex-direction: row; align-items: flex-end; justify-content: space-between; }
	.theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.5rem; }
}

/* ---------- Services ---------- */
.icon-card-grid { margin-top: 2.5rem; display: grid; gap: 1.25rem; }
.icon-card { border-radius: 1.5rem; background-color: var(--background); padding: 1.75rem; border: 2px solid var(--foreground); }
.icon-card > .theme-icon { color: var(--primary); }
.icon-card__title { margin-top: 1rem; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; }
.icon-card__text { margin-top: 0.5rem; color: var(--muted-foreground); }
.services-cta { margin-top: 2rem; }
@media (min-width: 768px) { .icon-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Ordering ---------- */
.ordering-list { margin-top: 3.5rem; }
.ordering-list > li + li { margin-top: 1.25rem; }
.ordering-step { position: relative; display: flex; align-items: flex-start; gap: 1rem; }
.step-badge { display: flex; height: 2.75rem; width: 2.75rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 9999px; background-color: var(--gold); color: var(--gold-foreground); font-family: var(--font-display); font-size: 1rem; line-height: 1.5rem; font-weight: 800; }
.ordering-step__card { flex: 1 1 0%; border-radius: 1.5rem; background-color: var(--background); padding: 1.5rem; box-shadow: 0 0 0 1px var(--border), var(--shadow-sm); }
.ordering-step__head { display: flex; align-items: center; gap: 0.5rem; }
.ordering-step__head > .theme-icon { color: var(--primary); }
.ordering-step__title { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
.ordering-step__text { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
@media (min-width: 640px) {
	.ordering-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
	.ordering-list > li + li { margin-top: 0; }
	.ordering-step { display: block; text-align: center; }
	.step-badge { margin: 0 auto 1rem; }
	.ordering-step__head { justify-content: center; }
}
@media (min-width: 1024px) { .ordering-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 2.5rem; align-items: center; }
.about-img { height: 14rem; width: 14rem; object-fit: cover; border-radius: 1.5rem; box-shadow: 0 0 0 2px var(--accent); margin: 0 auto; transition: transform 0.7s var(--ease-soft); }
.about-img:hover { transform: scale(1.03) rotate(-1deg); }
.about-bio { margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.75rem; opacity: 0.85; max-width: 42rem; }
.stats { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: 28rem; }
.stat-value { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.025em; opacity: 0.75; }
.about-socials { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.pill-link { border-radius: 9999px; border: 2px solid var(--accent); padding: 0.5rem 1.25rem; font-size: 0.875rem; line-height: 1.25rem; font-weight: 700; transition: all 0.5s var(--ease-soft); }
.pill-link:hover { background-color: var(--accent); color: var(--accent-foreground); transform: translateY(-0.125rem); }
@media (min-width: 768px) {
	.about-grid { grid-template-columns: auto 1fr; }
	.about-img { height: 18rem; width: 18rem; }
	.stat-value { font-size: 2.25rem; line-height: 2.5rem; }
}

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 48rem; }
.faq-heading { text-align: center; }
.faq-list { margin-top: 2.5rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.faq-item { padding: 1.25rem 0; }
.faq-item + .faq-item { border-top: 1px solid var(--border); }
.faq-item__q { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
.faq-item__plus { color: var(--primary); transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-item[open] .faq-item__plus { transform: rotate(45deg); }
.faq-item__a { margin-top: 0.75rem; color: var(--muted-foreground); }

/* ---------- Contact ---------- */
.contact-inner { text-align: center; }
.contact-text { margin: 1rem auto 0; max-width: 36rem; color: var(--muted-foreground); }
.contact-grid { margin-top: 2.5rem; display: grid; gap: 1rem; text-align: left; }
.contact-card { display: block; border-radius: 1.5rem; background-color: var(--background); padding: 1.5rem; border: 2px solid transparent; }
.contact-card:hover { border-color: var(--primary); }
.contact-card__label { margin-top: 0.75rem; font-weight: 700; }
.contact-card__value { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Footer ---------- */
.site-footer { background-color: var(--foreground); color: var(--background); }
.site-footer__grid { padding-top: 3.5rem; padding-bottom: 3.5rem; display: grid; gap: 2.5rem; }
.site-footer__brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-logo-img { height: 3.5rem; width: 3.5rem; object-fit: contain; background-color: var(--background); border-radius: 9999px; padding: 0.25rem; }
.site-footer__name { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; font-weight: 800; }
.site-footer__tagline { margin-top: 1rem; font-size: 0.875rem; line-height: 1.25rem; opacity: 0.8; max-width: 20rem; }
.site-footer__heading { font-family: var(--font-display); font-weight: 700; color: var(--gold); }
.site-footer__list { margin-top: 1rem; font-size: 0.875rem; line-height: 1.25rem; opacity: 0.9; }
.site-footer__list li + li { margin-top: 0.5rem; }
.site-footer__list a:hover { text-decoration: underline; }
.site-footer__bottom { border-top: 1px solid color-mix(in srgb, var(--background) 15%, transparent); }
.site-footer__bottom-inner { padding-top: 1.25rem; padding-bottom: 1.25rem; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.5rem; font-size: 0.75rem; line-height: 1rem; opacity: 0.7; }
.site-footer__credit { font-weight: 700; color: var(--accent); }
.site-footer__credit:hover { text-decoration: underline; }
@media (min-width: 640px) { .site-footer__bottom-inner { flex-direction: row; } }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Inner pages ---------- */
.page-content { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.page-title { font-family: var(--font-display); font-weight: 800; font-size: 1.875rem; line-height: 2.25rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .page-content { padding-top: 4rem; padding-bottom: 4rem; } .page-title { font-size: 3rem; line-height: 1; } }
.error-404 { display: flex; min-height: 100vh; align-items: center; justify-content: center; background-color: var(--muted); }
.error-404__inner { text-align: center; }
.error-404__code { margin-bottom: 1rem; font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; }
.error-404__text { margin-bottom: 1rem; font-size: 1.25rem; line-height: 1.75rem; color: var(--muted-foreground); }
.error-404__link { color: var(--primary); text-decoration: underline; }
.error-404__link:hover { color: color-mix(in srgb, var(--primary) 90%, transparent); }
.theme-empty { color: var(--muted-foreground); }

/* ---------- Single product ---------- */
.product-main { padding-top: 2rem; padding-bottom: 2rem; }
.product-missing { padding: 6rem 0; text-align: center; }
.product-missing__title { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; font-weight: 800; margin-bottom: 1.5rem; }
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.back-link:hover { color: var(--primary); }
.theme-product-layout { margin-top: 1.5rem; display: grid; gap: 2rem; min-width: 0; }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-main { position: relative; }
.theme-product-main-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 1rem; background-color: var(--card); }
.theme-product-thumbnails { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem; max-width: 100%; }
.theme-product-thumb { height: 4rem; width: 4rem; border-radius: 0.5rem; overflow: hidden; border: 2px solid transparent; padding: 0; }
.theme-product-thumb.is-active { border-color: var(--primary); }
.theme-product-thumb-img { height: 100%; width: 100%; object-fit: cover; }
.product-title { margin-top: 0.5rem; font-family: var(--font-body); font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; letter-spacing: -0.02em; }
.theme-product-price { margin-top: 0.75rem; font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; }
.theme-product-price .woocommerce-Price-amount { font-weight: 700; }
.theme-price-qty-note { margin-left: 0.5rem; font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--muted-foreground); }
.theme-stock-status { margin-top: 0.5rem; font-size: 0.875rem; font-weight: 700; color: var(--destructive); }
.product-description { margin-top: 1.25rem; color: var(--muted-foreground); white-space: pre-line; line-height: 1.625; overflow-wrap: break-word; word-break: break-word; }
.theme-add-to-cart-area { display: flex; flex-direction: column; align-items: stretch; min-width: 0; }
.theme-personalization-label { margin-top: 1.75rem; display: block; font-size: 0.875rem; line-height: 1.25rem; font-weight: 700; }
.theme-personalization { margin-top: 0.5rem; width: 100%; border-radius: 0.75rem; border: 1px solid var(--input); background-color: var(--background); padding: 0.75rem; font-size: 0.875rem; line-height: 1.25rem; }
.theme-personalization:focus { outline: none; box-shadow: 0 0 0 2px var(--ring); }
.theme-qty-row { margin-top: 1.25rem; display: flex; align-items: center; gap: 0.75rem; }
.theme-qty-label { font-size: 0.875rem; line-height: 1.25rem; font-weight: 700; }
.theme-quantity-wrapper { display: flex; align-items: center; border-radius: 9999px; border: 1px solid var(--border); }
.theme-qty-minus, .theme-qty-plus { height: 2.75rem; width: 2.75rem; display: flex; align-items: center; justify-content: center; }
.theme-qty-input { width: 2rem; border: 0; background: transparent; padding: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.theme-qty-input:focus { outline: none; }
.theme-buttons-row { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.theme-buttons-row > * { flex: 1 1 0%; }
.theme-product-note { margin-top: 1rem; font-size: 0.75rem; line-height: 1rem; color: var(--muted-foreground); }
.product-details { margin-top: 2rem; }
.product-details__title { font-family: var(--font-body); font-weight: 600; font-size: 1.125rem; margin-bottom: 0.5rem; }
.woocommerce-product-details__short-description, .woocommerce-variation-description, .posted_in { overflow-wrap: break-word; word-break: break-word; }
.related-products-section { margin-top: 4rem; }
.related-title { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; font-weight: 800; }
.theme-related-grid { margin-top: 1.5rem; row-gap: 1rem; column-gap: 1rem; }
@media (min-width: 768px) {
	.product-main { padding-top: 3.5rem; padding-bottom: 3.5rem; }
	.theme-product-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.product-title { font-size: 2.25rem; line-height: 2.5rem; }
	.related-products-section { margin-top: 6rem; }
	.related-title { font-size: 1.875rem; line-height: 2.25rem; }
	.theme-related-grid { row-gap: 1.5rem; column-gap: 1.5rem; }
}
@media (min-width: 640px) { .theme-buttons-row { flex-direction: row; } }
@media (min-width: 1024px) { .theme-product-layout { gap: 3.5rem; } }

/* Variable product form */
.variations { width: 100%; margin-top: 1.5rem; }
.single-product .variations 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; }
.single-product .variations tbody td.value { padding-top: 0; padding-bottom: 0.75rem; }
.variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; font-size: 0.875rem; }
.variations select { width: 100%; min-height: 2.75rem; border: 1px solid var(--input); background-color: var(--background); padding: 0 0.75rem; border-radius: 0.75rem; }
.single-product .theme-add-to-cart-area { display: flex; align-items: stretch; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; text-transform: none; }

/* Add to cart button (overrides WooCommerce .button styles) */
.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, transform 0.6s var(--ease-soft) !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;
	transform: translateY(-2px);
}
.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; transform: none; }
.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; }
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }

/* ---------- Cart drawer ---------- */
#theme-cart-overlay { position: fixed; inset: 0; z-index: 50; background-color: var(--overlay); opacity: 0; visibility: hidden; transition: opacity 0.15s ease, visibility 0s linear 0.15s; }
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; transition: opacity 0.15s ease, visibility 0s; }
#theme-cart-drawer {
	position: fixed; top: 0; bottom: 0; right: 0; z-index: 51; display: flex; flex-direction: column; gap: 1rem;
	width: 100%; height: 100%; max-width: 100%; background-color: var(--background); padding: 1.5rem;
	border-left: 1px solid var(--border); box-shadow: var(--shadow-lg);
	transform: translateX(100%); visibility: hidden;
	transition: transform 0.3s ease-in-out, visibility 0s linear 0.3s;
}
body.cart-open #theme-cart-drawer { transform: none; visibility: visible; transition: transform 0.5s ease-in-out, visibility 0s; }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
@media (min-width: 640px) { #theme-cart-drawer { max-width: 28rem; } }
.cart-drawer__header { display: flex; flex-direction: column; text-align: center; }
.cart-drawer__title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; color: var(--foreground); }
@media (min-width: 640px) { .cart-drawer__header { text-align: left; } }
.cart-drawer__close { position: absolute; right: 1rem; top: 1rem; border-radius: 0.125rem; opacity: 0.7; transition: opacity 0.15s; }
.cart-drawer__close:hover { opacity: 1; }
.cart-drawer__close:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--ring); }
.cart-drawer__empty { flex: 1 1 0%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem; }
.cart-drawer__empty-text { color: var(--muted-foreground); }
.cart-drawer__items { flex: 1 1 0%; overflow-y: auto; margin: 0 -0.25rem; padding: 1rem 0.25rem; }
.cart-drawer__items > li + li { margin-top: 1.25rem; }
.cart-drawer__item { display: flex; gap: 1rem; overflow: hidden; animation: drawerItem 0.55s var(--ease-soft) both; }
.cart-drawer__thumb { flex-shrink: 0; }
.theme-cart-item__img { width: 5rem; height: 6rem; object-fit: cover; background-color: var(--card); flex-shrink: 0; }
.cart-drawer__body { flex: 1 1 0%; min-width: 0; }
.cart-drawer__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; }
.cart-drawer__row--end { margin-top: 0.75rem; align-items: center; }
.cart-drawer__name { font-size: 0.875rem; line-height: 1.375; font-weight: 500; }
.cart-drawer__remove { padding: 0.25rem; color: var(--muted-foreground); }
.cart-drawer__remove:hover { color: var(--foreground); }
.cart-drawer__option { margin-top: 0.25rem; font-size: 0.75rem; line-height: 1rem; color: var(--muted-foreground); text-transform: uppercase; letter-spacing: 0.14em; overflow-wrap: break-word; }
.cart-qty { display: flex; align-items: center; border: 1px solid var(--border); }
.cart-qty__btn { height: 2.25rem; width: 2.25rem; display: flex; align-items: center; justify-content: center; transition: background-color 0.5s var(--ease-soft); }
.cart-qty__btn:hover { background-color: var(--secondary); }
.press:active { transform: scale(0.985); }
.cart-qty__value { width: 2rem; text-align: center; font-size: 0.875rem; line-height: 1.25rem; overflow: hidden; }
.cart-qty__num { display: inline-block; }
.cart-qty__num.is-bumped { animation: qtyBump 0.35s var(--ease-soft); }
.cart-drawer__price { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.cart-drawer__footer { border-top: 1px solid var(--border); padding-top: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.cart-drawer__subtotal { display: flex; align-items: center; justify-content: space-between; }
.cart-drawer__subtotal-label { color: var(--muted-foreground); }
.cart-drawer__subtotal-value { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; }
.cart-drawer__note { font-size: 0.75rem; line-height: 1.625; color: var(--muted-foreground); }
.cart-drawer__clear { width: 100%; font-size: 0.75rem; line-height: 1rem; color: var(--muted-foreground); padding: 0.5rem 0; }
.cart-drawer__clear:hover { color: var(--foreground); }
#theme-cart-drawer .woocommerce-message { display: none; }
body.cart-open { overflow: hidden; }

/* ---------- WooCommerce notices, forms, tables ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error { margin: 0 0 1.5rem; padding: 1rem 1.25rem; border-radius: var(--card-radius); background-color: var(--card); border: 1px solid var(--border); font-size: 0.875rem; list-style: none; }
.woocommerce-error { border-color: var(--destructive); }
.woocommerce-message .button, .woocommerce-info .button { float: right; }
.entry-content table { width: 100%; }
.entry-content input[type="text"], .entry-content input[type="email"], .entry-content input[type="tel"], .entry-content input[type="password"], .entry-content input[type="number"], .entry-content select, .entry-content textarea,
.woocommerce-checkout .form-row .input-text, .woocommerce-checkout .form-row select { border: 1px solid var(--input); background-color: var(--background); border-radius: 0.75rem; font-size: 0.875rem; color: var(--foreground); }
.entry-content .button, .entry-content .wp-block-button__link, .entry-content .wc-block-components-button:not(.is-link) { background-color: var(--primary); color: var(--primary-foreground); border-radius: 9999px; font-weight: 700; border: 0; }

/* ---------- Cart / checkout / account page widths ---------- */
body.woocommerce-checkout .entry-content, body.woocommerce-cart .entry-content, body.woocommerce-account .entry-content { max-width: none; }
body.woocommerce-checkout .wc-block-checkout, body.woocommerce-cart .wc-block-cart { font-family: var(--font-body); color: var(--foreground); }
body.woocommerce-checkout .wp-block-woocommerce-checkout.wc-block-checkout:not(.wc-block-components-sidebar-layout) { display: block; }
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar { min-width: 0; width: 100%; max-width: none; padding: 0; }
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: grid; grid-template-columns: 1fr 1fr; gap: var(--checkout-gap); align-items: start;
	}
	body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart { display: grid; grid-template-columns: 1fr 1fr; gap: var(--checkout-gap); align-items: start; }
	body.woocommerce-cart .wc-block-cart__main, body.woocommerce-cart .wc-block-cart__sidebar { width: 100%; max-width: none; padding: 0; }
}
body.woocommerce-checkout .wc-block-checkout__sidebar { background-color: var(--color-surface); border-radius: var(--card-radius); padding: var(--section-padding); }
body.woocommerce-cart .wc-block-cart__sidebar { background-color: var(--color-surface); border-radius: var(--card-radius); padding: var(--section-padding); }
body.woocommerce-checkout .wc-block-components-title, body.woocommerce-checkout .wc-block-components-checkout-step__title { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; }
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea { width: 100% !important; max-width: none !important; border: 1px solid var(--input); border-radius: 0.75rem; background-color: var(--background); color: var(--foreground); font-family: var(--font-body); }
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus { outline: none; box-shadow: 0 0 0 2px var(--ring); }
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label { color: var(--muted-foreground); }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-cart .wc-block-cart__submit-button { background-color: var(--primary); color: var(--primary-foreground); border-radius: 9999px; min-height: 3rem; font-weight: 700; border: 0; text-transform: none; }
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: var(--card-radius); border: 1px solid var(--border); background-color: var(--card); color: var(--foreground); }
body.woocommerce-checkout .wc-block-components-notice-banner.is-error { border-color: var(--destructive); }
body.woocommerce-checkout .wc-block-cart-items, body.woocommerce-cart .wc-block-cart-items { border-color: var(--border); }
body.woocommerce-checkout .wc-block-components-order-summary, body.woocommerce-checkout .wc-block-components-totals-wrapper { border-color: var(--border); }

/* ---------- Thank you page ---------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order { max-width: 100%; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1rem 2rem; padding: 1.5rem; border-radius: var(--card-radius); background-color: var(--card); margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-foreground); }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; margin-top: 0.25rem; font-size: 1rem; text-transform: none; letter-spacing: 0; color: var(--foreground); }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order-details th, body.theme-thankyou-page .woocommerce-order-details td { padding: 0.75rem 0; border-bottom: 1px solid 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; }

/* ---------- Animations ---------- */
.reveal-item {
	opacity: 0;
	transform: translate(var(--rx, 0px), var(--ry, 24px));
	transition: opacity var(--rdur, 0.95s) var(--ease-soft) var(--rdelay, 0s), transform var(--rdur, 0.95s) var(--ease-soft) var(--rdelay, 0s);
}
.reveal-item.is-visible { opacity: 1; transform: none; }
body.is-customizer .reveal-item { opacity: 1; transform: none; }

@keyframes pageFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pageRise { from { transform: translateY(14px); } to { transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroItem { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shopEnter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes drawerItem { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes qtyBump { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
	.reveal-item { transform: none; }
}
