/* ==========================================================================
   JenStyles theme stylesheet
   Fonts: Fraunces (display) + Outfit (body), loaded from functions.php.
   ========================================================================== */

:root {
	--background: #fcf9f3;
	--foreground: #35251d;
	--primary: #f07619;
	--primary-foreground: #fdfbf7;
	--secondary: #fcefde;
	--muted: #eae1d7;
	--muted-foreground: #7c675a;
	--accent: #e4589e;
	--border: #e6dbd1;
	--butter: #fdf2d8;
	--gold: #fabd2e;
	--input: #e6dbd1;
	--ring: #f07619;

	--card: #fcf4e8;
	--destructive: #db2424;
	--ink: #110f0d;
	--sky: #52bae0;
	--leaf: #44a779;
	--berry: #e4589e;
	--lilac: #ab83e2;
	--accent-foreground: #ffffff;

	--radius: 1rem;
	--font-display: 'Fraunces', Georgia, serif;
	--font-body: 'Outfit', system-ui, sans-serif;
	--shadow-soft: 0 4px 20px -4px hsl(20 30% 14% / 0.08);
	--shadow-elevated: 0 12px 44px -10px hsl(20 30% 14% / 0.16);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--ease-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);
	--logo-height: 56px;
	--header-height: 80px;

	--color-primary: var(--primary);
	--color-button-text: var(--primary-foreground);
	--color-border: var(--border);
	--color-surface: var(--card);
	--btn-radius: calc(var(--radius) - 2px);
	--btn-height: 2.5rem;
	--btn-padding: 0.5rem 1rem;
	--btn-font-size: 0.875rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--card-radius: 1.5rem;
	--section-padding: 2rem;
}

/* ---------- Reset (Tailwind preflight parity) ---------- */
*, *::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; font-family: var(--font-body); -webkit-tap-highlight-color: transparent; }
html, body { max-width: 100%; overflow-x: clip; }
body { margin: 0; line-height: inherit; background-color: var(--background); color: var(--foreground); font-family: var(--font-body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-size: inherit; font-weight: inherit; font-family: var(--font-display); letter-spacing: -0.02em; }
p, figure, blockquote, dl, dd, pre { margin: 0; }
ul, ol, menu { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: inherit; }
button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; color: inherit; margin: 0; padding: 0; }
button, [type='button'], [type='submit'] { -webkit-appearance: button; background-color: transparent; background-image: none; cursor: pointer; text-transform: none; }
button:disabled { cursor: default; }
img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; }
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.product-main-image):not(.product-gallery-img):not(.theme-product-thumb__img):not(.cart-item__img):not(.site-logo-img):not(.event-card__img):not(.gallery-item__img):not(.tile__img):not(.footer-triplec__logo),
video { max-width: 100%; height: auto; }
table { border-collapse: collapse; border-color: inherit; text-indent: 0; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--muted-foreground); opacity: 1; }
[hidden] { display: none !important; }
.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; }

/* Cover / full-bleed images */
.cover-img, .hero-bg-img, .product-card-img, .product-main-image, .product-gallery-img, .theme-product-thumb__img, .cart-item__img, .event-card__img, .gallery-item__img, .tile__img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.site-logo-img { height: var(--logo-height) !important; width: var(--logo-height) !important; display: block; border-radius: 9999px; object-fit: contain; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }

/* ---------- Utilities ---------- */
.container-wide { width: 100%; max-width: 80rem; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
@media (min-width: 1024px) { .container-wide { padding-left: 2rem; padding-right: 2rem; } }
.icon-3 { width: 0.75rem; height: 0.75rem; }
.icon-3-5 { width: 0.875rem; height: 0.875rem; }
.icon-4 { width: 1rem; height: 1rem; flex-shrink: 0; }
.icon-5 { width: 1.25rem; height: 1.25rem; }
.icon-7 { width: 1.75rem; height: 1.75rem; }
.ml-2 { margin-left: 0.5rem; }
.mr-2 { margin-right: 0.5rem; }
.text-primary { color: var(--primary); }
.scroll-mt { scroll-margin-top: 6rem; }
.bg-bg { background-color: var(--background); }
.bg-butter { background-color: var(--butter); }
.bg-sky { background-color: var(--sky); }
.bg-leaf { background-color: var(--leaf); }
.bg-berry { background-color: var(--berry); }
.bg-gold { background-color: var(--gold); }
.bg-lilac { background-color: var(--lilac); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.link-underline { position: relative; display: inline-block; }
.link-underline::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background-color: currentColor; transform-origin: left; transform: scaleX(0); transition: transform 0.3s var(--transition-smooth); }
.link-underline:hover::after { transform: scaleX(1); }
.blob-shape { border-radius: 62% 38% 46% 54% / 54% 44% 56% 46%; }
.blob-shape-alt { border-radius: 42% 58% 63% 37% / 47% 58% 42% 53%; }
.half-moon-shape { border-radius: 9999px 9999px 0 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; white-space: nowrap; min-height: var(--btn-height); padding: var(--btn-padding); border-radius: var(--btn-radius); font-size: var(--btn-font-size); line-height: 1.25rem; font-weight: var(--btn-font-weight); letter-spacing: var(--btn-letter-spacing); text-transform: var(--btn-text-transform); background-color: var(--primary); color: var(--primary-foreground); transition: color 0.15s var(--transition-smooth), background-color 0.15s var(--transition-smooth), border-color 0.15s var(--transition-smooth); }
.btn:hover { background-color: color-mix(in srgb, var(--primary) 90%, transparent); }
.btn:focus-visible { outline: 2px solid transparent; outline-offset: 2px; box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring); }
.btn svg { width: 1rem; height: 1rem; flex-shrink: 0; pointer-events: none; }
.btn.is-disabled, .btn:disabled { pointer-events: none; opacity: 0.5; }
.btn--lg { --btn-height: 2.75rem; --btn-padding: 0.5rem 2rem; }
.btn--sm { --btn-height: 2.25rem; --btn-padding: 0.5rem 0.75rem; }
.btn--pill { --btn-radius: 9999px; }
.btn--block { width: 100%; }
.btn--caps { --btn-text-transform: uppercase; --btn-font-size: 13px; --btn-letter-spacing: 0.15em; }
.btn--outline { background-color: var(--background); color: var(--foreground); border: 1px solid var(--input); }
.btn--outline:hover { background-color: var(--accent); color: var(--accent-foreground); }
.hero__btn-primary { --btn-padding: 0.5rem 2.5rem; --btn-letter-spacing: 0.16em; box-shadow: var(--shadow-soft); }
.hero__btn-outline { --btn-padding: 0.5rem 2.5rem; --btn-letter-spacing: 0.16em; border-color: color-mix(in srgb, var(--background) 60%, transparent); background-color: transparent; color: var(--background); }
.hero__btn-outline:hover { background-color: var(--background); color: var(--foreground); }
.triplec-btn { --btn-padding: 0.5rem 2.25rem; }
.more-card__btn { --btn-padding: 0.5rem 2rem; }
.events-cta__btn { --btn-padding: 0.5rem 2.25rem; }

/* ---------- Announcement bar ---------- */
.announcement-bar { position: relative; background-color: var(--foreground); color: var(--background); }
.announcement-bar__inner { padding-top: 0.5rem; padding-bottom: 0.5rem; text-align: center; }
.announcement-bar__text { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.announcement-bar__close { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); padding: 0.25rem; opacity: 0.7; transition: opacity 0.15s; }
.announcement-bar__close:hover { opacity: 1; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; left: 0; right: 0; z-index: 50; background-color: var(--background); border-bottom: 1px solid transparent; transition: all 0.3s var(--transition-smooth); }
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
.site-header.is-solid { background-color: color-mix(in srgb, var(--background) 95%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: var(--border); box-shadow: var(--shadow-soft); }
.site-nav { position: relative; display: flex; align-items: center; justify-content: center; height: 5rem; }
.site-nav__left { position: absolute; left: 0; display: flex; align-items: center; }
.site-nav__right { position: absolute; right: 0; display: flex; align-items: center; gap: 0.5rem; }
.icon-btn { padding: 0.5rem; transition: all 0.15s var(--transition-smooth); }
.icon-btn:hover { opacity: 0.6; }
.menu-toggle { display: inline-flex; }
.menu-toggle__close { display: none; }
.site-header.menu-open .menu-toggle__open { display: none; }
.site-header.menu-open .menu-toggle__close { display: inline; }
.header-events-pill { display: none; align-items: center; border-radius: 9999px; background-color: var(--accent); padding: 0.5rem 1.25rem; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--accent-foreground); transition: transform 0.15s var(--transition-smooth); }
.header-events-pill:hover { transform: scale(1.05); }
.header-cart { position: relative; }
.cart-badge { position: absolute; top: -0.125rem; right: -0.125rem; width: 1.25rem; height: 1.25rem; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; background-color: var(--primary); color: var(--primary-foreground); border-radius: 9999px; }
.cart-badge:empty { display: none; }
.site-logo { display: flex; align-items: center; gap: 0.75rem; }
.site-logo-text { display: none; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; letter-spacing: -0.025em; }
.site-nav__desktop { position: absolute; left: 0; display: none; align-items: center; gap: 1.75rem; }
.theme-nav-list { display: flex; align-items: center; gap: 1.75rem; }
.nav-link { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em; color: color-mix(in srgb, var(--foreground) 80%, transparent); transition: color 0.15s var(--transition-smooth); }
.nav-link:hover { color: var(--foreground); }
.mobile-menu { padding-bottom: 1.5rem; animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.mobile-menu__list { display: flex; flex-direction: column; gap: 1rem; }
.theme-mobile-list, .theme-mobile-list li { display: contents; }
.mobile-link { display: block; text-align: left; font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; letter-spacing: 0.025em; padding: 0.5rem 0; transition: color 0.15s var(--transition-smooth); }
.mobile-link:hover { color: var(--primary); }
@media (min-width: 640px) { .header-events-pill { display: inline-flex; } }
@media (min-width: 768px) { .site-logo-text { display: block; } }
@media (min-width: 1024px) {
	.menu-toggle, .mobile-menu { display: none !important; }
	.site-nav__desktop { display: flex; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background-color: color-mix(in srgb, var(--butter) 60%, transparent); }
.footer-inner { padding-top: 3rem; padding-bottom: 3rem; }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-brand__name { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; }
.footer-tagline { font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); max-width: 20rem; }
.footer-social { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social__link { color: var(--muted-foreground); transition: color 0.15s var(--transition-smooth); }
.footer-social__link:hover { color: var(--primary); }
.footer-nav { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-list, .theme-footer-list li { display: contents; }
.footer-heading { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; }
.footer-heading--nav { margin-bottom: 0.25rem; }
.footer-heading--contact { margin-bottom: 0.75rem; }
.footer-link { display: block; text-align: left; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); transition: color 0.15s var(--transition-smooth); }
.footer-link:hover { color: var(--foreground); }
.footer-contact { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact__link { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); transition: color 0.15s var(--transition-smooth); }
.footer-contact__link:hover { color: var(--foreground); }
.footer-triplec { margin-top: 1.5rem; display: flex; align-items: center; gap: 0.75rem; }
.footer-triplec__logo { height: 2rem; width: auto; object-fit: contain; }
.footer-triplec__social { display: flex; align-items: center; gap: 0.75rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 0.75rem; }
.footer-copyright { font-size: 13px; color: var(--muted-foreground); letter-spacing: 0.025em; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-inner { padding-top: 4rem; padding-bottom: 4rem; } }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; min-height: 100vh; flex-direction: column; background-color: var(--foreground); }
.hero__stage { position: relative; display: flex; flex: 1 1 0%; align-items: center; overflow: hidden; }
.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay-flat { position: absolute; inset: 0; background-color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.hero__overlay-gradient { position: absolute; inset: 0; background-image: linear-gradient(to bottom, color-mix(in srgb, var(--foreground) 50%, transparent), color-mix(in srgb, var(--foreground) 25%, transparent), color-mix(in srgb, var(--foreground) 70%, transparent)); }
.hero__content { position: relative; z-index: 10; width: 100%; }
.hero__inner { padding-top: 6rem; padding-bottom: 6rem; text-align: center; }
.hero__eyebrow { display: block; font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.hero__title { font-family: var(--font-display); font-weight: 600; font-size: 2.25rem; line-height: 1.05; color: var(--background); margin-bottom: 1.5rem; }
.em-gold { font-style: italic; font-weight: 300; color: var(--gold); }
.hero__text { color: color-mix(in srgb, var(--background) 85%, transparent); font-size: 1rem; line-height: 1.625; margin-bottom: 2.25rem; max-width: 36rem; margin-left: auto; margin-right: auto; }
.hero__actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
@media (min-width: 640px) { .hero__actions { flex-direction: row; } }
@media (min-width: 768px) {
	.hero__inner { padding-top: 7rem; padding-bottom: 7rem; }
	.hero__title { font-size: 3.75rem; }
	.hero__text { font-size: 1.125rem; line-height: 1.625; }
}
@media (min-width: 1024px) { .hero__title { font-size: 4.5rem; } }

/* ---------- Marquee ---------- */
.marquee { position: relative; width: 100%; overflow: hidden; border-top: 1px solid color-mix(in srgb, var(--primary-foreground) 20%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--primary-foreground) 20%, transparent); background-color: var(--primary); color: var(--primary-foreground); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__item { display: flex; align-items: center; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.marquee__text { white-space: nowrap; padding-left: 1.5rem; padding-right: 1.5rem; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.22em; }
.marquee__star { font-size: 1rem; line-height: 1.5rem; opacity: 0.7; }
@media (min-width: 768px) {
	.marquee__item { padding-top: 1rem; padding-bottom: 1rem; }
	.marquee__text { font-size: 0.875rem; }
}
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Section scaffolding ---------- */
.sec { position: relative; }
.sec__pad--16-20 { padding-top: 4rem; padding-bottom: 4rem; }
.sec__pad--16-24 { padding-top: 4rem; padding-bottom: 4rem; }
.sec__pad--20-28 { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) {
	.sec__pad--16-20 { padding-top: 5rem; padding-bottom: 5rem; }
	.sec__pad--16-24 { padding-top: 6rem; padding-bottom: 6rem; }
	.sec__pad--20-28 { padding-top: 7rem; padding-bottom: 7rem; }
}
.sec__head { text-align: center; }
.sec__head--10 { margin-bottom: 2.5rem; }
.sec__head--12 { margin-bottom: 3rem; }
.sec__head--14 { margin-bottom: 3.5rem; }
.sec__head--gallery { text-align: center; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .sec__head--gallery { margin-bottom: 3.5rem; } }
.eyebrow { display: block; font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 0.75rem; }
.eyebrow--mb4 { margin-bottom: 1rem; }
.em-muted { font-style: italic; font-weight: 300; color: color-mix(in srgb, var(--muted-foreground) 80%, transparent); margin-right: 0.5rem; }
.em-primary { font-style: italic; font-weight: 300; color: var(--primary); }
.em-plain { font-style: italic; font-weight: 300; }
.body-copy { color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.625; }
.body-copy--mb4 { margin-bottom: 1rem; }
.body-copy--mb6 { margin-bottom: 1.5rem; }
.body-copy--mb8 { margin-bottom: 2rem; }

/* Per-section heading scales */
.sec-heading { font-family: var(--font-display); }
.sec-categories .sec-heading { font-weight: 400; font-size: 1.875rem; line-height: 2.25rem; }
.sec-featured .sec-heading { font-weight: 400; font-size: 1.875rem; line-height: 1.25; }
.sec-about .sec-heading { font-weight: 600; font-size: 1.875rem; line-height: 1.25; margin-bottom: 1.5rem; }
.sec-services .sec-heading { font-weight: 400; font-size: 1.875rem; line-height: 2.25rem; }
.sec-shop .sec-heading { font-weight: 400; font-size: 1.875rem; line-height: 2.25rem; }
.sec-shop .sec-heading--mb10 { margin-bottom: 2.5rem; }
.sec-triplec .sec-heading { font-weight: 600; font-size: 1.875rem; line-height: 1.25; margin-bottom: 1.5rem; }
.sec-gallery .sec-heading { font-weight: 400; font-size: 1.875rem; line-height: 2.25rem; }
.sec-founder .sec-heading { font-weight: 600; font-size: 1.875rem; line-height: 1.25; margin-bottom: 1.5rem; }
.contact-copy .sec-heading { font-weight: 600; font-size: 1.875rem; line-height: 1.25; margin-bottom: 1.25rem; }
.events-main .sec-heading { font-weight: 400; font-size: 1.875rem; line-height: 2.25rem; }
@media (min-width: 768px) {
	.sec-categories .sec-heading { font-size: 2.25rem; line-height: 2.5rem; }
	.sec-featured .sec-heading { font-size: 3rem; }
	.sec-about .sec-heading { font-size: 2.25rem; }
	.sec-services .sec-heading { font-size: 3rem; line-height: 1; }
	.sec-shop .sec-heading { font-size: 3rem; line-height: 1; }
	.sec-triplec .sec-heading, .sec-founder .sec-heading { font-size: 2.25rem; }
	.sec-gallery .sec-heading { font-size: 3rem; line-height: 1; }
	.contact-copy .sec-heading { font-size: 3rem; }
	.events-main .sec-heading { font-size: 3rem; line-height: 1; }
	.events-main .sec-heading--sm { font-size: 2.25rem; line-height: 2.5rem; }
}
@media (min-width: 1024px) {
	.sec-about .sec-heading, .sec-triplec .sec-heading, .sec-founder .sec-heading { font-size: 3rem; }
}

/* ---------- Category tiles ---------- */
.tile-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 768px) { .tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 1.5rem; text-align: left; }
.tile__img { transition: transform 0.7s var(--ease-smooth); }
.tile:hover .tile__img { transform: scale(1.05); }
.tile__gradient { position: absolute; inset: 0; background-image: linear-gradient(to top, color-mix(in srgb, var(--foreground) 70%, transparent), color-mix(in srgb, var(--foreground) 15%, transparent), transparent); }
.tile:hover .tile__gradient { background-image: linear-gradient(to top, color-mix(in srgb, var(--foreground) 80%, transparent), color-mix(in srgb, var(--foreground) 15%, transparent), transparent); }
.tile__body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; }
.tile__text { display: block; color: var(--background); text-align: left; }
.tile__tagline { display: block; font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase; opacity: 0.85; margin-bottom: 0.5rem; }
.tile__title { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.tile__cta { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.9; }
@media (min-width: 768px) {
	.tile__body { padding: 1.75rem; }
	.tile__title { font-size: 1.875rem; line-height: 2.25rem; }
}

/* ---------- Product grids ---------- */
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: stretch; }
.product-grid--featured { }
.product-grid--shop { }
.product-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (min-width: 768px) {
	.product-grid--featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.product-grid--shop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.product-grid { gap: 3rem; }
	.product-grid--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.product-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
}
.theme-product-card-wrap { min-width: 0; }
.shop-item[hidden] { display: none !important; }
.sec__more { text-align: center; margin-top: 3.5rem; }
.more-link { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }

/* ---------- Product card (Lovable: linked media + info, actions above link) ---------- */
.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.theme-card-link { text-decoration: none; color: inherit; }
.theme-card-link--media { position: absolute; inset: 0; z-index: 1; display: block; }
.theme-card-link--media .product-card-img { width: 100%; height: 100%; object-fit: cover; }
.theme-card-link--info { display: block; }
.theme-card-action { position: relative; z-index: 3; pointer-events: auto; }
.theme-product-card__media { position: relative; aspect-ratio: 1 / 1; background-color: var(--secondary); overflow: hidden; margin-bottom: 1.25rem; border-radius: var(--radius); transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.theme-product-card:hover .theme-product-card__media { transform: translateY(-4px); }
.product-card-img { transition: transform 0.7s var(--ease-smooth); }
.theme-product-card:hover .product-card-img { transform: scale(1.04); }
.product-card-img.is-soldout { opacity: 0.6; }
.theme-product-card__badge { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2; padding: 0.25rem 0.75rem; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.18em; background-color: var(--foreground); color: var(--background); border-radius: 9999px; animation: badgeIn 0.4s ease-in-out both; pointer-events: none; }
.theme-product-card__info { flex: 1; text-align: center; }
.theme-product-card__info > * + * { margin-top: 0.25rem; }
.theme-product-card__title { font-family: var(--font-body); font-size: 1.125rem; line-height: 1.25; font-weight: 500; letter-spacing: normal; color: var(--foreground); transition: color 0.3s var(--transition-smooth); }
.theme-product-card:hover .theme-product-card__title,
.theme-card-link--info:hover .theme-product-card__title { color: var(--primary); }
.theme-product-card__price { font-size: 1rem; line-height: 1.25; color: var(--muted-foreground); font-weight: 400; letter-spacing: normal; }
@media (min-width: 768px) {
	.theme-product-card__title { font-size: 1.25rem; }
	.theme-product-card__price { font-size: 1.125rem; }
}
.theme-product-card__price .woocommerce-Price-amount, .product-price .woocommerce-Price-amount { font: inherit; color: inherit; }
.theme-product-card__price del { opacity: 0.6; margin-right: 0.35rem; }
.theme-product-card__price ins, .product-price ins { text-decoration: none; }

/* ---------- About / services ---------- */
.about-wrap { max-width: 42rem; margin-left: auto; margin-right: auto; text-align: center; }
.about-quote { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.375; color: color-mix(in srgb, var(--foreground) 85%, transparent); margin-bottom: 1.5rem; }
@media (min-width: 768px) { .about-quote { font-size: 1.5rem; } }
.service-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; background-color: var(--border); border-radius: 1.5rem; overflow: hidden; }
@media (min-width: 768px) { .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.service-card { background-color: var(--background); padding: 2.5rem; }
@media (min-width: 768px) { .service-card { padding: 3rem; } }
.service-card__icon { margin-bottom: 1.5rem; display: flex; height: 3rem; width: 3rem; align-items: center; justify-content: center; border-radius: 9999px; border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent); color: var(--primary); }
.service-card__title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; margin-bottom: 0.75rem; }
.service-card__desc { font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }

/* ---------- Shop controls ---------- */
.shop-search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.shop-search__icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: var(--muted-foreground); }
.shop-search__input { display: flex; height: 2.5rem; width: 100%; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background-color: transparent; padding: 0.5rem 0.75rem 0.5rem 1.75rem; font-size: 1rem; transition: border-color 0.15s var(--transition-smooth); }
.shop-search__input:focus { outline: none; border-bottom-color: var(--foreground); }
@media (min-width: 768px) { .shop-search__input { font-size: 0.875rem; } }
.shop-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.cat-pill { padding: 0.5rem 1.25rem; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; border-radius: 9999px; border: 1px solid var(--border); background-color: transparent; color: var(--foreground); transition: all 0.3s var(--transition-smooth); }
.cat-pill:hover { border-color: var(--foreground); }
.cat-pill:active { transform: scale(0.96); }
.cat-pill.is-active { background-color: var(--foreground); color: var(--background); border-color: var(--foreground); }
.price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.price-filter__toggle { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-foreground); transition: all 0.3s var(--transition-smooth); }
.price-filter__toggle:hover { color: var(--foreground); }
.price-filter__summary { opacity: 0.7; text-transform: none; letter-spacing: normal; }
.price-filter__chevron { width: 0.875rem; height: 0.875rem; transition: transform 0.3s var(--transition-smooth); }
.price-filter__toggle[aria-expanded='true'] .price-filter__chevron { transform: rotate(180deg); }
.price-filter__panel { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; width: 100%; max-width: 24rem; transition: grid-template-rows 0.3s var(--ease-smooth), opacity 0.3s var(--ease-smooth), visibility 0s linear 0.3s; }
.price-filter__panel.is-open { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition-delay: 0s; }
.price-filter__panel-inner { overflow: hidden; min-height: 0; }
.price-filter__body { padding: 0.5rem 0; }
.price-filter__values { display: flex; justify-content: space-between; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }

/* Dual-handle range (overlapping inputs) */
.price-range-wrapper { position: relative; height: 1.25rem; margin-bottom: 0.75rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 8px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 9999px; }
.range-track-bg { left: 0; right: 0; background: var(--secondary); }
.range-track-fill { background: var(--primary); left: 0; width: 100%; }
.range-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; }
.range-input::-webkit-slider-runnable-track { -webkit-appearance: none; background: transparent; height: 100%; }
.range-input::-moz-range-track { background: transparent; height: 100%; }
.range-input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; cursor: pointer; width: 20px; height: 20px; border-radius: 9999px; border: 2px solid var(--primary); background: var(--background); transition: color 0.15s; }
.range-input::-moz-range-thumb { pointer-events: auto; cursor: pointer; width: 16px; height: 16px; border-radius: 9999px; border: 2px solid var(--primary); background: var(--background); }
.range-input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring); }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.shop-more { text-align: center; margin-top: 3rem; animation: slideUp 0.5s ease-in-out both; }
.shop-empty { text-align: center; padding: 5rem 0; color: var(--muted-foreground); animation: fadeIn 0.5s ease-in-out both; }

/* ---------- TripleC ---------- */
.triplec-grid { display: grid; gap: 2.5rem; }
.triplec-copy { order: 2; }
.triplec-art { order: 1; display: flex; justify-content: center; }
.triplec-actions { display: flex; flex-direction: column; gap: 1.25rem; }
.triplec-moon { width: 100%; max-width: 24rem; aspect-ratio: 2 / 1; background-color: var(--ink); display: flex; align-items: flex-end; justify-content: center; padding: 3rem 2.5rem 1.5rem; box-shadow: var(--shadow-soft); }
.triplec-moon__img { width: 75%; height: auto; object-fit: contain; }
@media (min-width: 640px) { .triplec-actions { flex-direction: row; align-items: center; } }
@media (min-width: 1024px) {
	.triplec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
	.triplec-copy { order: 1; }
	.triplec-art { order: 2; }
}

/* ---------- Gallery ---------- */
.gallery-intro { margin-top: 1.25rem; color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.625; max-width: 36rem; margin-left: auto; margin-right: auto; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; grid-auto-flow: dense; gap: 0.75rem; }
@media (min-width: 768px) {
	.gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 190px; gap: 1rem; }
	.gspan-2x2 { grid-column: span 2; grid-row: span 2; }
	.gspan-2x1 { grid-column: span 2; }
	.gspan-1x2 { grid-row: span 2; }
}
.gallery-item { position: relative; overflow: hidden; border-radius: 1.5rem; display: block; }
.gallery-item:focus { outline: none; }
.gallery-item:focus-visible { box-shadow: 0 0 0 2px var(--ring); }
.gallery-item__img { transition: transform 0.7s var(--transition-smooth); }
.gallery-item:hover .gallery-item__img { transform: scale(1.05); }
.gallery-item__shade { position: absolute; inset: 0; background-image: linear-gradient(to top, color-mix(in srgb, var(--foreground) 45%, transparent), transparent, transparent); opacity: 0; transition: opacity 0.5s var(--transition-smooth); }
.gallery-item:hover .gallery-item__shade { opacity: 1; }
.lightbox { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; background-color: color-mix(in srgb, var(--foreground) 90%, transparent); padding: 1rem; }
.lightbox__close { position: absolute; right: 1.25rem; top: 1.25rem; border-radius: 9999px; background-color: color-mix(in srgb, var(--background) 90%, transparent); padding: 0.5rem; color: var(--foreground); }
.lightbox__img { max-height: 85vh; width: auto; max-width: 100%; border-radius: 1rem; object-fit: contain; }

/* ---------- Founder ---------- */
.founder-grid { display: grid; gap: 3rem; }
.founder-art { display: flex; justify-content: center; }
.founder-img { width: 100%; max-width: 24rem; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow-elevated); }
.founder-tagline { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.75rem; color: color-mix(in srgb, var(--foreground) 85%, transparent); }
@media (min-width: 1024px) { .founder-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; } }

/* ---------- Contact section ---------- */
.contact-section { position: relative; overflow: hidden; }
.contact-section__flat { position: absolute; inset: 0; background-color: color-mix(in srgb, var(--foreground) 70%, transparent); }
.contact-section__gradient { position: absolute; inset: 0; background-image: linear-gradient(to bottom, color-mix(in srgb, var(--foreground) 40%, transparent), transparent, color-mix(in srgb, var(--foreground) 60%, transparent)); }
.contact-section__inner { position: relative; padding-top: 5rem; padding-bottom: 5rem; }
.contact-grid { display: grid; gap: 3rem; }
.contact-copy { color: var(--background); }
.contact-copy__eyebrow { display: block; font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 1rem; color: var(--gold); }
.contact-copy__text { line-height: 1.625; color: color-mix(in srgb, var(--background) 80%, transparent); margin-bottom: 2rem; max-width: 28rem; }
.contact-links { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-links__item { display: flex; align-items: center; gap: 0.75rem; color: color-mix(in srgb, var(--background) 90%, transparent); transition: color 0.15s var(--transition-smooth); }
.contact-links__item:hover, .contact-links__social-link:hover { color: var(--gold); }
.contact-links__social { display: flex; align-items: center; gap: 1rem; margin-top: 0.5rem; }
.contact-links__social-link { color: color-mix(in srgb, var(--background) 90%, transparent); transition: color 0.15s var(--transition-smooth); }
.contact-card { border-radius: 1.5rem; background-color: color-mix(in srgb, var(--background) 95%, transparent); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 1.5rem; box-shadow: var(--shadow-elevated); }
.contact-form > * + * { margin-top: 1rem; }
.contact-success { text-align: center; padding: 2.5rem 0; }
.contact-success__icon, .modal-success__icon { width: 3.5rem; height: 3.5rem; background-color: var(--primary); color: var(--primary-foreground); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; border-radius: 9999px; }
.success-title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; margin-bottom: 0.5rem; }
.success-text { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
@media (min-width: 768px) {
	.contact-section__inner { padding-top: 7rem; padding-bottom: 7rem; }
	.contact-card { padding: 2rem; }
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; } }

/* ---------- Forms ---------- */
.form-grid-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 640px) { .form-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-label { display: block; font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; margin-bottom: 0.375rem; }
.form-input { width: 100%; padding: 0.625rem 0.75rem; background-color: var(--background); border: 1px solid var(--border); font-size: 1rem; line-height: 1.5rem; color: var(--foreground); }
.form-input:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--ring) 50%, transparent); }
.form-input--xl { border-radius: 0.75rem; }
.form-input--md { border-radius: calc(var(--radius) - 2px); transition: box-shadow 0.3s; }
.form-textarea { resize: none; display: block; }
.form-error { font-size: 0.875rem; color: var(--destructive); }

/* ---------- Dialog (contact modal) ---------- */
.dialog-overlay { position: fixed; inset: 0; z-index: 50; background-color: rgba(0, 0, 0, 0.8); }
.dialog[data-state='open'] .dialog-overlay { animation: fadeInPlain 0.15s ease both; }
.dialog[data-state='closed'] .dialog-overlay { animation: fadeOutPlain 0.15s ease both; }
.dialog-content { position: fixed; left: 50%; top: 50%; z-index: 50; display: grid; width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto; transform: translate(-50%, -50%); gap: 1rem; border: 1px solid var(--border); background-color: var(--background); padding: 1.5rem; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
@media (min-width: 640px) { .dialog-content { border-radius: var(--radius); } }
.dialog[data-state='open'] .dialog-content { animation: dialogIn 0.2s ease both; }
.dialog[data-state='closed'] .dialog-content { animation: dialogOut 0.2s ease both; }
.dialog-header { display: flex; flex-direction: column; text-align: center; }
.dialog-header > * + * { margin-top: 0.375rem; }
@media (min-width: 640px) { .dialog-header { text-align: left; } }
.dialog-title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; font-weight: 600; letter-spacing: -0.025em; }
.dialog-description { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.dialog-close { position: absolute; right: 1rem; top: 1rem; border-radius: calc(var(--radius) - 4px); opacity: 0.7; transition: opacity 0.15s; }
.dialog-close:hover { opacity: 1; }
.dialog-close:focus { outline: none; box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring); }
.modal-contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.modal-contact-row__item { display: flex; align-items: center; gap: 0.5rem; }
.modal-contact-row__item a { transition: color 0.15s; }
.modal-contact-row__item a:hover { color: var(--foreground); }
.modal-form > * + * { margin-top: 1rem; }
.modal-form__actions { display: flex; justify-content: flex-end; }
.modal-success { text-align: center; padding: 2rem 0; animation: popIn 0.4s ease-in-out both; }
.modal-success__icon { animation: springIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both; }
body.dialog-open { overflow: hidden; }

/* ---------- Single product ---------- */
.product-main { padding-top: 6rem; background-color: var(--background); }
@media (min-width: 1024px) { .product-main { padding-top: 7rem; } }
.breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); }
.breadcrumb a { transition: color 0.15s var(--transition-smooth); }
.breadcrumb a:hover { color: var(--foreground); }
.breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.breadcrumb__current { color: var(--foreground); }
.theme-product-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-top: 1rem; padding-bottom: 6rem; align-items: start; min-width: 0; }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) {
	.theme-product-layout { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; }
	.theme-product-gallery { grid-column: span 7 / span 7; }
	.theme-product-info { grid-column: span 5 / span 5; padding-left: 1rem; position: sticky; top: 7rem; align-self: start; }
}
.gallery-mobile__main { position: relative; aspect-ratio: 1 / 1; background-color: var(--secondary); overflow: hidden; }
.theme-product-thumbnails { display: flex; flex-wrap: nowrap; gap: 0.75rem; margin-top: 1rem; overflow-x: auto; padding-bottom: 0.25rem; max-width: 100%; }
.theme-product-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background-color: var(--secondary); }
.theme-product-thumb__img { opacity: 0.6; transition: opacity 0.15s var(--transition-smooth); }
.theme-product-thumb:hover .theme-product-thumb__img, .theme-product-thumb.is-active .theme-product-thumb__img { opacity: 1; }
.theme-product-thumb__line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background-color: var(--foreground); opacity: 0; transition: opacity 0.15s var(--transition-smooth); }
.theme-product-thumb.is-active .theme-product-thumb__line { opacity: 1; }
.gallery-desktop { display: none; }
@media (min-width: 1024px) {
	.gallery-mobile { display: none; }
	.gallery-desktop { display: flex; flex-direction: column; gap: 1rem; }
}
.gallery-desktop__item { position: relative; aspect-ratio: 1 / 1; background-color: var(--secondary); overflow: hidden; }
.product-cat { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted-foreground); }
.product-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.1; margin-top: 0.75rem; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.75rem; } }
.product-price { font-size: 1.25rem; line-height: 1.75rem; margin-bottom: 1.5rem; color: var(--foreground); }
.product-short { color: var(--muted-foreground); line-height: 1.625; margin-bottom: 2rem; font-size: 1rem; }
.label-sm { font-family: var(--font-body); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 0.75rem; font-weight: 400; }
.theme-add-to-cart-area { display: flex; flex-direction: column; align-items: stretch; flex-wrap: wrap; gap: 0; }
.theme-qty-block { margin-bottom: 1rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.5rem 0.75rem; display: inline-flex; transition: background-color 0.15s var(--transition-smooth); }
.theme-qty-minus:hover, .theme-qty-plus:hover { background-color: var(--secondary); }
.theme-qty-input { width: 44px; min-width: 44px; padding: 0.5rem 0; text-align: center; font-size: 0.875rem; line-height: 1.25rem; border: 0; background: transparent; -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; }

.accordion-group { margin-top: 2.5rem; border-top: 1px solid var(--border); }
.accordion--bordered { border-top: 1px solid var(--border); }
.accordion-group__end { border-top: 1px solid var(--border); }
.accordion__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; }
.accordion__chevron { width: 1rem; height: 1rem; transition: transform 0.15s var(--transition-smooth); }
.accordion.is-open .accordion__chevron { transform: rotate(180deg); }
.accordion__panel { display: none; padding-bottom: 1.5rem; }
.accordion.is-open .accordion__panel { display: block; }
.accordion__text { font-size: 15px; color: var(--muted-foreground); line-height: 1.625; }
.accordion__text--pre { white-space: pre-line; margin-bottom: 1rem; }
.accordion__text--stack > * + * { margin-top: 0.75rem; }
.detail-list > * + * { margin-top: 0.5rem; }
.detail-list li { display: flex; align-items: flex-start; font-size: 15px; color: var(--muted-foreground); }
.detail-list__dot { width: 0.25rem; height: 0.25rem; background-color: var(--foreground); border-radius: 9999px; margin-top: 0.5rem; margin-right: 0.75rem; flex-shrink: 0; }
.related-products-section { padding-top: 5rem; padding-bottom: 5rem; border-top: 1px solid var(--border); }
.related-head { text-align: center; margin-bottom: 3rem; }
.related-head__pre { font-family: var(--font-display); font-style: italic; font-size: 1rem; line-height: 1.5rem; color: var(--muted-foreground); margin-bottom: 0.5rem; }
.related-head__title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 2.25rem; }
@media (min-width: 768px) { .related-head__title { font-size: 2.25rem; line-height: 2.5rem; } }

/* Variable product UI */
.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; }
.single-product .variations label { font-family: var(--font-body); font-weight: 400; font-style: normal; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); }
.single-product .variations { margin-bottom: 1.5rem; }
.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.theme-attr-pill { padding: 0.5rem 1rem; font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.15em; text-transform: uppercase; border: 1px solid var(--border); border-radius: 9999px; transition: all 0.15s var(--transition-smooth); }
.theme-attr-pill:hover { border-color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.theme-attr-pill.is-selected { background-color: var(--foreground); color: var(--background); border-color: var(--foreground); }
.single-product .single_variation_wrap .woocommerce-variation-price { margin-bottom: 1rem; font-size: 1.25rem; }
.single-product .reset_variations { display: none !important; }

/* Long content safety */
.single-product .woocommerce-product-details__short-description, .single-product .woocommerce-variation-description, .single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

/* ---------- Cart drawer ---------- */
#theme-cart-overlay { display: none; position: fixed; inset: 0; background-color: color-mix(in srgb, var(--foreground) 20%, transparent); z-index: 50; }
body.cart-open #theme-cart-overlay { display: block; animation: fadeIn 0.6s var(--transition-smooth) forwards; }
#theme-cart-drawer { display: none; position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; background-color: var(--background); z-index: 51; box-shadow: var(--shadow-elevated); flex-direction: column; }
body.cart-open #theme-cart-drawer { display: flex; animation: slideUp 0.6s var(--transition-smooth) forwards; }
body.cart-open.cart-anim-done #theme-cart-drawer { animation: none; opacity: 1; transform: none; }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--border); }
.cart-drawer__title { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
.cart-drawer__close { padding: 0.25rem; transition: opacity 0.15s; }
.cart-drawer__close:hover { opacity: 0.6; }
.cart-drawer__empty { flex: 1 1 0%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.cart-drawer__empty-icon { width: 3rem; height: 3rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.cart-drawer__empty-text { color: var(--muted-foreground); margin-bottom: 1.5rem; }
.cart-drawer__items { flex: 1 1 0%; overflow: auto; padding: 1.5rem; }
.cart-drawer__items > * + * { margin-top: 1.5rem; }
.cart-item { display: flex; gap: 1rem; }
.cart-item__thumb { position: relative; display: block; width: 5rem; height: 6rem; background-color: var(--secondary); overflow: hidden; flex-shrink: 0; }
.cart-item__body { flex: 1 1 0%; min-width: 0; }
.cart-item__name { display: block; font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.15s; }
.cart-item__name:hover { opacity: 0.7; }
.cart-item__price { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); margin-top: 0.125rem; }
.cart-item__meta { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.125rem; }
.cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.cart-qty-btn { padding: 0.25rem; border-radius: 0.25rem; display: inline-flex; transition: background-color 0.15s var(--transition-smooth); }
.cart-qty-btn:hover { background-color: var(--secondary); }
.cart-item__qty { font-size: 0.875rem; line-height: 1.25rem; width: 1.5rem; text-align: center; }
.cart-item__remove { margin-left: auto; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); transition: color 0.15s var(--transition-smooth); }
.cart-item__remove:hover { color: var(--foreground); }
.cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--border); }
.cart-drawer__footer > * + * { margin-top: 1rem; }
.cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; line-height: 1.25rem; }
.cart-drawer__subtotal-label { color: var(--muted-foreground); }
.cart-drawer__subtotal-value { font-weight: 500; }
.cart-drawer__note { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }

/* ---------- Events ---------- */
.events-hero { position: relative; overflow: hidden; background-color: var(--butter); }
.events-hero__inner { padding-top: 5rem; padding-bottom: 5rem; }
.events-hero__copy { max-width: 42rem; }
.events-hero__title { font-family: var(--font-display); font-weight: 600; font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.5rem; }
.events-hero__intro { color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.625; max-width: 36rem; }
.events-hero__deco { pointer-events: none; position: absolute; right: -2.5rem; top: 2.5rem; display: none; width: 16rem; opacity: 0.15; }
@media (min-width: 768px) {
	.events-hero__inner { padding-top: 7rem; padding-bottom: 7rem; }
	.events-hero__title { font-size: 3.75rem; }
}
@media (min-width: 1024px) { .events-hero__deco { display: block; } }
.event-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 768px) { .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .event-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.event-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 1.5rem; border: 1px solid var(--border); background-color: var(--card); box-shadow: var(--shadow-soft); }
.event-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.event-card__price { position: absolute; left: 1rem; top: 1rem; border-radius: 9999px; background-color: color-mix(in srgb, var(--background) 95%, transparent); padding: 0.375rem 1rem; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; }
.event-card__price .woocommerce-Price-amount { font: inherit; }
.event-card__body { display: flex; flex: 1 1 0%; flex-direction: column; padding: 1.75rem; }
.event-card__tagline { font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 0.75rem; }
.event-card__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; font-weight: 600; margin-bottom: 0.75rem; }
.event-card__desc { font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); margin-bottom: 1.25rem; }
.event-meta { font-size: 0.875rem; line-height: 1.25rem; color: color-mix(in srgb, var(--foreground) 75%, transparent); margin-bottom: 1.5rem; }
.event-meta > * + * { margin-top: 0.5rem; }
.event-meta li { display: flex; align-items: center; gap: 0.5rem; }
.event-meta--mb7 { margin-bottom: 1.75rem; }
.event-card__action { margin-top: auto; }
.events-more { padding-bottom: 4rem; }
@media (min-width: 768px) { .events-more { padding-bottom: 6rem; } }
.more-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 768px) { .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.more-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 1.5rem; border: 1px solid var(--border); background-color: var(--card); padding: 2rem; box-shadow: var(--shadow-soft); }
.more-card__accent { position: absolute; left: 0; right: 0; top: 0; height: 0.375rem; }
.more-card__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; font-weight: 600; margin-bottom: 1rem; }
.more-card__desc { margin-bottom: 1.5rem; }
@media (min-width: 768px) { .more-card__title { font-size: 1.875rem; line-height: 2.25rem; } }
.events-cta { margin-top: 4rem; border-radius: 1.5rem; background-color: var(--butter); padding: 2.5rem; text-align: center; }
@media (min-width: 768px) { .events-cta { padding: 3.5rem; } }
.events-cta__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; font-weight: 600; margin-bottom: 1rem; }
.events-cta__text { color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.625; max-width: 36rem; margin: 0 auto 2rem; }
@media (min-width: 768px) { .events-cta__title { font-size: 1.875rem; line-height: 2.25rem; } }

/* ---------- Pages / archive / 404 ---------- */
.page-main { padding-top: 6rem; padding-bottom: 4rem; min-height: 60vh; }
@media (min-width: 1024px) { .page-main { padding-top: 7rem; } }
.page-container { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.page-title { font-family: var(--font-display); font-weight: 700; font-size: 1.875rem; line-height: 2.25rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .page-title { font-size: 2.25rem; line-height: 2.5rem; } }
.entry-content { max-width: 100%; }
.archive-main { padding-top: 6rem; }
.archive-container { padding-top: 2.5rem; padding-bottom: 5rem; }
.archive-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 2.25rem; text-align: center; margin-bottom: 3rem; }
@media (min-width: 768px) { .archive-title { font-size: 3rem; line-height: 1; } }
.notfound { display: flex; min-height: 100vh; align-items: center; justify-content: center; background-color: var(--muted); }
.notfound__inner { text-align: center; }
.notfound__title { font-family: var(--font-body); font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: normal; }
.notfound__text { font-size: 1.25rem; line-height: 1.75rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.notfound__link { color: var(--primary); text-decoration: underline; }
.notfound__link:hover { color: color-mix(in srgb, var(--primary) 90%, transparent); }

/* ---------- Animations ---------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInPlain { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOutPlain { from { opacity: 1; } to { opacity: 0; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes themeFadeUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes heroIn { from { opacity: 0; transform: translateY(var(--hy, 18px)); } to { opacity: 1; transform: none; } }
@keyframes badgeIn { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes springIn { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes dialogIn { from { opacity: 0; transform: translate(-50%, -48%) scale(0.95); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes dialogOut { from { opacity: 1; transform: translate(-50%, -50%) scale(1); } to { opacity: 0; transform: translate(-50%, -48%) scale(0.95); } }

.anim-hero-wrap { --hy: 18px; animation: heroIn 0.9s var(--ease-smooth) both; }
.anim-hero { animation: heroIn var(--hdur, 0.9s) var(--hease, var(--ease-smooth)) var(--hd, 0s) both; }
.anim-up { animation: themeFadeUp 0.7s var(--ease-smooth) var(--rd, 0s) both; }

.reveal-item { --ry: 32px; --rdur: 0.7s; --rease: var(--ease-smooth); opacity: 0; transform: translateY(var(--ry)); }
.reveal-item.is-visible { opacity: 1; transform: none; transition: opacity var(--rdur) var(--rease) var(--rd, 0s), transform var(--rdur) var(--rease) var(--rd, 0s); }
.gallery-item.reveal-item { --ry: 24px; --rdur: 0.5s; --rease: ease-in-out; }
.contact-card.reveal-item { --ry: 24px; --rdur: 0.6s; --rease: ease-in-out; }
.event-card.reveal-item, .more-card.reveal-item { --ry: 28px; --rdur: 0.6s; }
body.is-customizer .reveal-item, body.is-customizer .anim-up, body.is-customizer .anim-hero { opacity: 1; transform: none; animation: none; }

/* ---------- WooCommerce: buttons (mandatory overrides) ---------- */
.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;
}

/* Single-product CTA: dark pill, uppercase as in the design */
.single-product .single_add_to_cart_button {
	--color-primary: var(--foreground);
	--color-button-text: var(--background);
	--btn-radius: 9999px;
	--btn-height: auto;
	--btn-padding: 1rem 1.5rem;
	--btn-font-size: 0.75rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.25em;
	--btn-text-transform: uppercase;
	width: 100%;
	flex: 1 1 auto;
	min-width: 160px;
	line-height: 1rem;
}
.single-product a.single_add_to_cart_button.button:hover,
.single-product button.single_add_to_cart_button.button:hover { opacity: 1 !important; background-color: color-mix(in srgb, var(--foreground) 90%, transparent) !important; }
.single-product .single_add_to_cart_button.disabled,
.single-product .single_add_to_cart_button.button.disabled { opacity: 0.6 !important; cursor: not-allowed !important; pointer-events: none !important; }
.single-product .single_add_to_cart_button.is-added { opacity: 0.6 !important; pointer-events: none !important; }
.btn.add_to_cart_button:hover { opacity: 1 !important; background-color: color-mix(in srgb, var(--primary) 90%, transparent) !important; }

/* Card compact (+) button — Lovable: shadow-soft circle, fade in on md+ hover, scale on hover/tap */
.theme-product-card .theme-card-add.add_to_cart_button.ajax_add_to_cart {
	position: absolute !important;
	bottom: 0.75rem;
	right: 0.75rem;
	z-index: 3;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	min-height: unset !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 9999px !important;
	background-color: var(--background) !important;
	color: var(--foreground) !important;
	box-shadow: var(--shadow-soft) !important;
	opacity: 1;
	cursor: pointer;
	transition: opacity 0.3s var(--transition-smooth), transform 0.2s var(--transition-smooth), background-color 0.2s var(--transition-smooth) !important;
}
.theme-product-card .theme-card-add.add_to_cart_button.ajax_add_to_cart * { pointer-events: none; }
.theme-product-card .theme-card-add.add_to_cart_button.ajax_add_to_cart:hover {
	transform: scale(1.08);
	background-color: var(--background) !important;
	color: var(--foreground) !important;
}
.theme-product-card .theme-card-add.add_to_cart_button.ajax_add_to_cart:active { transform: scale(0.92); }
@media (min-width: 768px) {
	.theme-product-card .theme-card-add.add_to_cart_button.ajax_add_to_cart { opacity: 0; }
	.theme-product-card:hover .theme-card-add.add_to_cart_button.ajax_add_to_cart,
	.theme-product-card .theme-card-add.add_to_cart_button.ajax_add_to_cart:focus-visible { opacity: 1; }
}

.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,
.ajax_add_to_cart.added::after { display: none !important; content: none !important; }

/* Hide "View cart" link injected after AJAX add */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* Notices */
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { margin: 0 0 1.5rem; padding: 1rem 1.25rem; border: 1px solid var(--border); border-radius: calc(var(--radius) - 2px); background-color: var(--card); font-size: 0.875rem; list-style: none; }
.woocommerce-error { border-color: var(--destructive); color: var(--destructive); }

/* ---------- WooCommerce: cart / checkout / account / thank-you ---------- */
body.woocommerce-checkout .site-main, body.woocommerce-cart .site-main, body.woocommerce-account .site-main { padding-top: 6rem; padding-bottom: 4rem; }
body.woocommerce-checkout .page-title, body.woocommerce-cart .page-title, body.woocommerce-account .page-title { max-width: 100%; }
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wc-block-cart { display: block; font-family: var(--font-body); color: var(--foreground); }
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart.is-large {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		align-items: start;
	}
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar { min-width: 0; width: 100%; max-width: none; padding: 0; }
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wc-block-cart__sidebar { background-color: var(--color-surface, #f8f8f8); border-radius: var(--card-radius); padding: var(--section-padding, 2rem); }
body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; border-radius: calc(var(--radius) - 2px); font-family: var(--font-body); }
body.woocommerce-checkout .wc-block-components-title, body.woocommerce-checkout .wc-block-components-checkout-step__title { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .form-row .input-text {
	width: 100% !important;
	max-width: none !important;
	min-height: 2.5rem !important;
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	line-height: 1.5rem !important;
	color: var(--foreground) !important;
	background-color: var(--background) !important;
	border: 1px solid var(--input) !important;
	border-radius: calc(var(--radius) - 2px) !important;
	box-shadow: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}
body.woocommerce-checkout .wc-blocks-components-select__select,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .form-row select,
body.woocommerce-checkout select.country_select,
body.woocommerce-checkout select.state_select,
body.woocommerce-checkout .select2-container--default .select2-selection--single {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	line-height: 1.5rem !important;
	color: var(--foreground) !important;
	background-color: var(--background) !important;
	border: 1px solid var(--input) !important;
	border-radius: calc(var(--radius) - 2px) !important;
	box-shadow: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}
body.woocommerce-checkout .form-row select,
body.woocommerce-checkout select.country_select,
body.woocommerce-checkout select.state_select {
	background-image: linear-gradient(45deg, transparent 50%, var(--muted-foreground) 50%), linear-gradient(135deg, var(--muted-foreground) 50%, transparent 50%) !important;
	background-position: calc(100% - 1.125rem) calc(50% + 0.125rem), calc(100% - 0.75rem) calc(50% + 0.125rem) !important;
	background-size: 0.375rem 0.375rem, 0.375rem 0.375rem !important;
	background-repeat: no-repeat !important;
}
body.woocommerce-checkout .wc-blocks-components-select__container,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__container {
	background: transparent !important;
	box-shadow: none !important;
}
body.woocommerce-checkout .wc-blocks-components-select__expand,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__expand {
	fill: var(--muted-foreground) !important;
	color: var(--muted-foreground) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .form-row .input-text:focus {
	outline: none !important;
	border-color: var(--input) !important;
	box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring) !important;
}
body.woocommerce-checkout .wc-blocks-components-select__select:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .form-row select:focus,
body.woocommerce-checkout select.country_select:focus,
body.woocommerce-checkout select.state_select:focus,
body.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single,
body.woocommerce-checkout .select2-container--default .select2-selection--single:focus {
	outline: none !important;
	border-color: var(--input) !important;
	box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder,
body.woocommerce-checkout .form-row .input-text::placeholder {
	color: var(--muted-foreground) !important;
	opacity: 1 !important;
}
body.woocommerce-checkout .wc-blocks-components-select__label,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__label {
	font-family: var(--font-body) !important;
	color: var(--muted-foreground) !important;
}
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: var(--foreground) !important;
	font-family: var(--font-body) !important;
	line-height: 1.5rem !important;
}
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow b {
	border-color: var(--muted-foreground) transparent transparent transparent !important;
}
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: calc(var(--radius) - 2px);
	font-family: var(--font-body);
	font-weight: 500;
	min-height: 2.75rem;
	border: 0;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-cart .wc-block-cart__submit-button:hover { background-color: color-mix(in srgb, var(--primary) 90%, transparent); }
body.woocommerce-checkout .wc-block-cart-items, body.woocommerce-cart .wc-block-cart-items { font-family: var(--font-body); }
body.woocommerce-checkout .wc-block-components-order-summary, body.woocommerce-checkout .wc-block-components-totals-wrapper { border-color: var(--border); }

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

/* WooCommerce account / generic forms */
.woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.woocommerce-account .woocommerce-MyAccount-navigation a { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; }
.woocommerce form .input-text, .woocommerce form select { width: 100%; padding: 0.75rem 1rem; background-color: var(--background); border: 1px solid var(--border); border-radius: calc(var(--radius) - 2px); }
.woocommerce form .button, .woocommerce .button:not(.add_to_cart_button):not(.single_add_to_cart_button) { background-color: var(--primary); color: var(--primary-foreground); border-radius: calc(var(--radius) - 2px); padding: 0.625rem 1.25rem; font-weight: 500; }
