/* ==========================================================================
   Skies Styles y Smiles - theme.css
   ========================================================================== */

:root {
	--color-background: #f8fafc;
	--color-foreground: #314154;
	--color-primary: #374a62;
	--color-primary-foreground: #f8fafc;
	--color-accent: #51acd6;
	--color-accent-foreground: #ffffff;
	--color-secondary: #ecf4f8;
	--color-border: #d5dfe6;
	--color-lagoon: #396693;
	--color-coral: #e28393;
	--color-sunshine: #efca80;
	--color-destructive: #e13e33;
	--color-card: #ffffff;
	--color-muted-foreground: #5c6a7a;
	--color-button-text: #ffffff;

	--font-body: 'Nunito Sans', system-ui, -apple-system, sans-serif;
	--font-display: 'Fredoka', system-ui, sans-serif;
	--font-script: 'Caveat', cursive;

	--radius: 1rem;
	--card-radius: 1.25rem;
	--btn-radius: 9999px;
	--btn-height: 44px;
	--btn-padding: 0 1.75rem;
	--btn-font-size: 15px;
	--btn-font-weight: 600;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--btn-icon-padding: 0.5rem;

	--logo-height: 60px;
	--header-height: 80px;
	--checkout-gap: 2rem;
	--shadow-soft: 0 8px 26px -14px rgba(30, 41, 59, 0.28);
	--shadow-elevated: 0 26px 60px -22px rgba(30, 41, 59, 0.35);
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; }
body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	font-size: inherit;
	margin: 0;
	font-family: var(--font-display);
	letter-spacing: -0.01em;
}
p { margin: 0; }
a, [role="button"] { color: inherit; text-decoration: none; cursor: pointer; }
img { max-width: 100%; display: block; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
input, textarea, select { font-family: inherit; }
.shop-tab,
.custom-calendar__cell:not(.is-disabled):not(.custom-calendar__cell--empty),
.custom-occasion-pill,
.faq-item__question,
.owner-carousel__btn,
.contact-touchpoint,
.site-header__brand,
.theme-nav-list a,
.site-header__cart-btn,
.site-header__menu-toggle,
.site-header__custom-cta,
.site-footer__totop,
.btn-hero-primary,
.btn-hero-outline,
.theme-product-card__quick-add,
.owner-carousel__dot { cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

img:not(.cover-img):not(.hero-bg-img):not(.theme-product-card__image):not(.theme-product-gallery__image) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .theme-product-card__image, .theme-product-gallery__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.container-wide { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .container-wide { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-wide { padding: 0 2.5rem; } }

.site-main { display: block; }
body.theme-no-hero .site-main { padding-top: var(--header-height); }
body:not(.theme-no-hero) .site-main { padding-top: 0; }

.theme-light { background-color: var(--color-background); color: var(--color-foreground); }
.theme-dark { background-color: #182230; color: #f8fafc; }

.eyebrow { font-size: 14px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-accent); font-weight: 700; margin-bottom: 1rem; }
.text-gold-gradient {
	background: linear-gradient(120deg, var(--color-accent), var(--color-lagoon) 52%, var(--color-sunshine));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.section-heading { font-family: var(--font-display); font-weight: 700; line-height: 1.1; color: var(--color-foreground); }

/* ==========================================================================
   Reveal animations (data-reveal engine)
   ========================================================================== */
[data-reveal] {
	opacity: 0;
	transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}
[data-reveal="fade-up"] { transform: translateY(28px); }
[data-reveal="fade-down"] { transform: translateY(-28px); }
[data-reveal="fade-left"] { transform: translateX(36px); }
[data-reveal="fade-right"] { transform: translateX(-36px); }
[data-reveal].is-revealed { opacity: 1; transform: translateY(0) translateX(0); }

/* Customizer-preview fallback: never leave content invisible in the editor */
body.is-customizer [data-reveal] { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
	[data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-hero-primary, .btn-hero-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: var(--btn-height);
	padding: var(--btn-padding);
	border-radius: var(--btn-radius);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	text-transform: var(--btn-text-transform);
	transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease, background-color 0.2s ease, opacity 0.2s ease;
	white-space: nowrap;
}
.btn-hero-primary {
	background-color: var(--color-accent);
	color: var(--color-accent-foreground);
	box-shadow: var(--shadow-elevated);
}
.btn-hero-primary:hover { transform: translateY(-2px) scale(1.02); opacity: 0.92; }
.btn-hero-outline {
	background: rgba(255,255,255,0.10);
	border: 1px solid rgba(255,255,255,0.7);
	color: #fff;
	backdrop-filter: blur(6px);
}
.btn-hero-outline:hover { background: #fff; color: var(--color-primary); transform: translateY(-2px) scale(1.02); }
.shop-section .btn-hero-outline, .theme-404 .btn-hero-primary {
	background: transparent;
	border: 1px solid rgba(55,74,98,0.25);
	color: var(--color-foreground);
}
.shop-section .btn-hero-outline:hover { border-color: var(--color-accent); color: var(--color-accent); background: transparent; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
	width: 100%;
	border-bottom: 1px solid transparent;
	background-color: transparent;
	transition: background-color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease, top 0.2s ease;
}
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
section[id] { scroll-margin-top: 104px; }
body.admin-bar section[id] { scroll-margin-top: 136px; }
@media screen and (max-width: 782px) {
	body.admin-bar section[id] { scroll-margin-top: 150px; }
}
.site-header.is-solid,
.site-header.mobile-open {
	background-color: var(--color-background);
	border-color: var(--color-border);
	box-shadow: var(--shadow-soft);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	height: 64px;
	min-width: 0;
	max-width: 100%;
}
@media (min-width: 1024px) { .site-header__inner { height: 80px; } }

.site-header__left { display: flex; align-items: center; gap: 0.5rem; min-width: 0; flex-shrink: 0; }
.site-header__menu-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 50%; color: #fff;
	transition: background-color 0.2s ease, color 0.2s ease;
}
@media (min-width: 1024px) {
	.site-header__menu-toggle { display: none; }
}
.site-header.is-solid .site-header__menu-toggle { color: var(--color-primary); }
.site-header.mobile-open .site-header__menu-toggle { color: var(--color-primary); }
.site-header__menu-toggle:hover { background: rgba(255,255,255,0.15); }
.site-header.is-solid .site-header__menu-toggle:hover,
.site-header.mobile-open .site-header__menu-toggle:hover { background: rgba(55,74,98,0.08); }
.site-header__menu-toggle .icon-close { display: none; }
.site-header__menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.site-header__menu-toggle[aria-expanded="true"] .icon-close { display: inline-flex; }

.site-header__brand { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.site-logo-img {
	height: var(--logo-height) !important;
	width: auto !important;
	display: block;
	filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5)) brightness(0) invert(1);
	transition: transform 0.5s ease, filter 0.3s ease;
	transform: scale(0.7);
}
.site-header.is-solid .site-logo-img { filter: none; }
.site-header.mobile-open .site-logo-img { filter: none; }
.site-header__brand:hover .site-logo-img { transform: scale(0.77) rotate(-3deg); }
.site-logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 10rem; }
@media (min-width: 480px) { .site-logo-text { max-width: 14rem; } }
.site-header.is-solid .site-logo-text,
.site-header.mobile-open .site-logo-text { color: var(--color-foreground); }
.site-logo-text--secondary { display: none; }
.site-footer .site-logo-img { filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5)) brightness(0) invert(1); transform: none; }
.site-footer .site-logo-text { color: #fff; }

.site-header__nav {
	display: none;
	flex: 1 1 auto;
	justify-content: center;
	min-width: 0;
	overflow: hidden;
}
@media (min-width: 1024px) { .site-header__nav { display: flex; } }
.theme-nav-list {
	display: flex;
	align-items: center;
	gap: 0.15rem;
	min-width: 0;
	flex-wrap: nowrap;
}
.theme-nav-list a {
	position: relative;
	display: inline-block;
	padding: 0.5rem 0.65rem;
	font-size: 14px;
	font-weight: 600;
	border-radius: 9999px;
	color: rgba(255,255,255,0.85);
	transition: color 0.3s ease, transform 0.3s ease;
	text-shadow: 0 1px 10px rgba(0,0,0,0.45);
	white-space: nowrap;
}
@media (min-width: 1280px) { .theme-nav-list a { padding: 0.5rem 0.85rem; } }
.site-header.is-solid .theme-nav-list a { color: rgba(55,74,98,0.75); text-shadow: none; }
.theme-nav-list a:hover { color: #fff; transform: translateY(-1px); }
.site-header.is-solid .theme-nav-list a:hover { color: var(--color-primary); }

.site-header__right { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.site-header__custom-cta { display: none; }
@media (min-width: 1536px) { .site-header__custom-cta { display: inline-flex; height: 40px; } }
.site-header__cart-btn {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 50%; color: #fff;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.site-header__cart-icon { display: inline-flex; }
.theme-cart-count-badge {
	position: absolute; top: -2px; right: -2px;
	min-width: 19px; height: 19px; padding: 0 4px;
	border-radius: 9999px; background: var(--color-accent); color: #fff;
	font-size: 12px; font-weight: 700;
	display: flex; align-items: center; justify-content: center;
}
.theme-cart-count-badge:empty { display: none; }
.theme-cart-count-inline { display: none !important; }
.site-header.is-solid .site-header__cart-btn,
.site-header.mobile-open .site-header__cart-btn { color: var(--color-primary); }
.site-header__cart-btn:hover { background: rgba(255,255,255,0.15); }
.site-header.is-solid .site-header__cart-btn:hover,
.site-header.mobile-open .site-header__cart-btn:hover { background: rgba(55,74,98,0.08); }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px;
	min-width: 19px; height: 19px; padding: 0 4px;
	border-radius: 9999px; background: var(--color-accent); color: #fff;
	font-size: 12px; font-weight: 700;
	display: none;
	align-items: center; justify-content: center;
}
.theme-cart-count:empty { display: none; }

.site-header__mobile-nav {
	display: none;
	border-top: 1px solid var(--color-border);
	background: var(--color-background);
	animation: theme-fade-in 0.35s ease-out both;
}
.site-header__mobile-nav.is-open { display: block; }
@media (min-width: 1024px) {
	.site-header__mobile-nav,
	.site-header__mobile-nav.is-open { display: none !important; }
}
.site-header__mobile-nav-inner { padding-block: 0.5rem; }
.theme-mobile-nav-list {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	list-style: none;
	margin: 0;
	padding: 0;
}
.theme-mobile-nav-list a {
	display: block;
	text-align: left;
	font-size: 15px;
	font-weight: 600;
	padding: 0.75rem 0;
	color: rgba(49,65,84,0.8);
	border-bottom: 1px solid var(--color-border);
	border-radius: 0;
	text-shadow: none;
	transition: color 0.3s ease, transform 0.3s ease;
}
.theme-mobile-nav-list a:hover {
	color: var(--color-primary);
	transform: translateX(4px);
}
.theme-mobile-nav-list li:last-child a { border-bottom: none; }

@keyframes theme-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero-section {
	position: relative;
	min-height: 100vh;
	width: 100%;
	display: flex; align-items: center; justify-content: center;
	overflow: hidden;
	background: #1b2634;
}
.hero-section__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-section__scrim {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(12,20,30,0.52) 0%, rgba(12,20,30,0.36) 45%, rgba(12,20,30,0.6) 100%);
}
.hero-section__content {
	position: relative;
	z-index: 1;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
	color: #fff;
	padding-block: 8rem 6rem;
}
.hero-section__content.container-wide {
	padding-inline: 1.25rem;
}
@media (min-width: 640px) {
	.hero-section__content.container-wide { padding-inline: 1.5rem; }
}
@media (min-width: 1024px) {
	.hero-section__content { padding-block: 10rem 8rem; }
	.hero-section__content.container-wide { padding-inline: 2.5rem; }
}
.hero-section__badge-row { display: flex; justify-content: center; margin-bottom: 1.75rem; padding-inline: 0.25rem; }
.hero-section__badge {
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.4rem 1rem; border-radius: 9999px;
	background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3);
	font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 700;
	backdrop-filter: blur(4px);
}
.hero-section__title {
	font-family: var(--font-display); font-weight: 700; color: #fff;
	line-height: 0.98; letter-spacing: -0.01em; max-width: 60rem; margin: 0 auto;
	font-size: clamp(2.5rem, 8vw, 6rem);
	text-shadow: 0 2px 20px rgba(0,0,0,0.5);
	padding-inline: 0.15rem;
}
.hero-section__title-script {
	font-family: var(--font-script);
	background: linear-gradient(120deg, var(--color-accent), var(--color-lagoon) 52%, var(--color-sunshine));
	-webkit-background-clip: text; background-clip: text; color: transparent;
	font-size: 1.15em; display: inline-block; padding: 0 0.14em 0.08em 0;
}
.hero-section__subtitle {
	margin: 1.75rem auto 0; max-width: 42rem;
	font-size: 17px; color: rgba(255,255,255,0.9); line-height: 1.6;
	text-shadow: 0 1px 10px rgba(0,0,0,0.45);
}
@media (min-width: 640px) { .hero-section__subtitle { font-size: 19px; } }
.hero-section__actions { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; }
@media (min-width: 640px) { .hero-section__actions { flex-direction: row; gap: 1rem; } }

/* ==========================================================================
   Mantra marquee
   ========================================================================== */
.mantra-section {
	position: relative; overflow: hidden; padding: 1.75rem 0;
	background: linear-gradient(100deg, var(--color-primary), var(--color-lagoon) 50%, var(--color-primary));
}
@media (min-width: 768px) { .mantra-section { padding: 2.5rem 0; } }
.mantra-section__fade { position: absolute; inset-block: 0; width: 4rem; z-index: 1; pointer-events: none; }
.mantra-section__fade--left { left: 0; background: linear-gradient(to right, var(--color-primary), transparent); }
.mantra-section__fade--right { right: 0; background: linear-gradient(to left, var(--color-primary), transparent); }
@media (min-width: 768px) { .mantra-section__fade { width: 8rem; } }
.marquee-track {
	display: flex; align-items: center; gap: 2.5rem;
	width: max-content; white-space: nowrap; will-change: transform;
	animation: marquee-scroll 45s linear infinite;
}
@keyframes marquee-scroll { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
.mantra-section__item { display: flex; align-items: center; gap: 2.5rem; flex-shrink: 0; }
.mantra-section__text { font-family: var(--font-display); font-weight: 700; color: rgba(255,255,255,0.95); font-size: clamp(1.25rem, 3.2vw, 2.6rem); line-height: 1; }
.mantra-section__dot { display: inline-block; border-radius: 9999px; background: var(--color-accent); width: clamp(7px, 0.7vw, 12px); height: clamp(7px, 0.7vw, 12px); }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ==========================================================================
   Shared card decorations
   ========================================================================== */
.accent-ring { position: relative; isolation: isolate; }
.accent-ring::before {
	content: '';
	position: absolute; inset: -2px; border-radius: inherit; padding: 2px;
	background: linear-gradient(135deg, #f0b429 0%, #ee9ca7 24%, #e07bb0 48%, var(--color-accent) 74%, #34b3a5 100%);
	background-size: 240% 240%;
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor; mask-composite: exclude;
	opacity: 0.55; transition: opacity 0.5s ease, background-position 0.9s ease; pointer-events: none; z-index: 2;
}
.accent-ring:hover::before { opacity: 1; background-position: 100% 50%; }
.glow-pop { transition: box-shadow 0.5s ease, transform 0.5s ease, border-color 0.5s ease; }
.glow-pop:hover { box-shadow: 0 0 45px -12px rgba(240,180,41,0.35), 0 0 35px -14px rgba(224,131,144,0.28), 0 0 28px -16px rgba(81,172,214,0.22); }
.tilt-lift { transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s cubic-bezier(0.22,1,0.36,1); }
.tilt-lift:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow-elevated); }
.photo-vibrant { filter: contrast(1.05) brightness(1.03) saturate(1.15); transition: transform 1.2s cubic-bezier(0.22,0.61,0.36,1), filter 0.7s ease; }
.photo-vibrant:hover { filter: contrast(1.08) brightness(1.05) saturate(1.22); }
.product-photo-clarity { filter: brightness(1.12) contrast(1.2) saturate(1.3); }
.section-glow { position: relative; overflow: hidden; }
.section-glow::before,
.section-glow::after {
	content: '';
	position: absolute;
	pointer-events: none;
	border-radius: 50%;
	filter: blur(80px);
	z-index: 0;
}
.section-glow::before {
	width: min(40rem, 80vw);
	height: min(40rem, 80vw);
	top: -12rem;
	left: -12rem;
	background: radial-gradient(circle, rgba(240, 200, 100, 0.18), transparent 70%);
}
.section-glow::after {
	width: min(34rem, 70vw);
	height: min(34rem, 70vw);
	bottom: -10rem;
	right: -10rem;
	background: radial-gradient(circle, rgba(81, 172, 214, 0.16), transparent 70%);
}
.section-glow > .container-wide { position: relative; z-index: 1; }

/* ==========================================================================
   About
   ========================================================================== */
.about-section { padding: 6rem 0; overflow: hidden; }
@media (min-width: 768px) { .about-section { padding: 8rem 0; } }
.about-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .about-section__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.about-section__text { display: flex; flex-direction: column; }
.about-section .section-heading { font-size: 2.25rem; line-height: 1.15; }
@media (min-width: 768px) { .about-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section .section-heading { font-size: 3.3rem; } }
.about-section__copy { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; font-size: 16px; line-height: 1.75; color: rgba(49,65,84,0.75); flex: 1; }
.about-section__emphasis { font-family: var(--font-display); font-weight: 700; color: rgba(49,65,84,0.9); font-size: 1.125rem; }
.about-section__highlights { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 1.25rem; border-top: 1px solid var(--color-border); padding-top: 2rem; }
@media (min-width: 640px) { .about-section__highlights { grid-template-columns: repeat(3, 1fr); } }
.about-section__highlight-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 10px; background: var(--color-primary); color: #fff; margin-bottom: 0.75rem;
	transition: transform 0.5s ease;
}
.about-section__highlight:hover .about-section__highlight-icon { transform: scale(1.1) rotate(6deg); }
.about-section__highlight-value { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: var(--color-foreground); }
.about-section__highlight-label { margin-top: 0.15rem; font-size: 14px; color: rgba(49,65,84,0.6); }
.about-section__media { display: flex; flex-direction: column; }
.about-section__image-frame { position: relative; flex: 1; min-height: 420px; overflow: hidden; border-radius: 1.5rem; border: 1px solid var(--color-border); background: var(--color-secondary); box-shadow: var(--shadow-elevated); }
.about-section__now-making { margin-top: 1.25rem; border-radius: var(--card-radius); border: 1px solid var(--color-border); background: var(--color-card); padding: 1.25rem; box-shadow: var(--shadow-soft); }
.about-section__now-making-label { font-size: 14px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(49,65,84,0.5); font-weight: 700; margin-bottom: 0.4rem; }
.about-section__now-making-text { font-size: 15px; font-weight: 600; color: var(--color-foreground); }

/* ==========================================================================
   Services
   ========================================================================== */
.services-section { padding: 6rem 0; }
@media (min-width: 768px) { .services-section { padding: 8rem 0; } }
.services-section__intro { max-width: 48rem; margin-bottom: 3.5rem; }
.services-section .section-heading { font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .services-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .services-section .section-heading { font-size: 3.4rem; } }
.services-section__paragraph { margin-top: 1.25rem; font-size: 16px; line-height: 1.7; color: rgba(49,65,84,0.7); }
.services-section__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .services-section__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-section__grid { grid-template-columns: repeat(4, 1fr); } }
.service-card {
	position: relative; display: flex; flex-direction: column; height: 100%;
	background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius);
	padding: 1.75rem; box-shadow: var(--shadow-soft); overflow: hidden;
	transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); border-color: transparent; }
.service-card__top-bar { position: absolute; inset-inline: 0; top: 0; height: 4px; opacity: 0; transition: opacity 0.5s ease; }
.service-card:hover .service-card__top-bar { opacity: 1; }
.service-card__icon {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 56px; height: 56px; border-radius: var(--radius); margin-bottom: 1.25rem; flex-shrink: 0;
	box-shadow: 0 10px 26px -10px rgba(0,0,0,0.35);
	transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.service-card:hover .service-card__icon { transform: rotate(8deg) scale(1.12); }
.service-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.3; color: var(--color-foreground); margin-bottom: 0.5rem; }
.service-card__text { font-size: 15px; line-height: 1.6; color: rgba(49,65,84,0.7); flex: 1; }
.service-card__underline { display: block; margin-top: 1.5rem; height: 3px; width: 2rem; border-radius: 9999px; transition: width 0.5s ease; }
.service-card:hover .service-card__underline { width: 5rem; }

/* ==========================================================================
   Shop + product cards + grid
   ========================================================================== */
.shop-section { padding: 6rem 0; overflow: hidden; }
@media (min-width: 768px) { .shop-section { padding: 8rem 0; } }
.shop-section__head { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }
@media (min-width: 1024px) { .shop-section__head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.shop-section__intro { max-width: 42rem; }
.shop-section .section-heading { font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .shop-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-section .section-heading { font-size: 3.4rem; } }
.shop-section__paragraph { margin-top: 1.25rem; font-size: 16px; line-height: 1.7; color: rgba(49,65,84,0.7); max-width: 36rem; }
.shop-section__search { position: relative; width: 100%; }
@media (min-width: 1024px) { .shop-section__search { width: 20rem; } }
.shop-section__search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: rgba(49,65,84,0.5); }
.shop-section__search input {
	width: 100%; height: 44px; padding: 0 1rem 0 2.75rem; border-radius: 9999px;
	background: var(--color-secondary); border: 1px solid var(--color-border); font-size: 15px; color: var(--color-foreground);
}
.shop-section__search input:focus { outline: none; border-color: var(--color-primary); }
.shop-section__tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 3rem; }
.shop-tab {
	height: 40px; padding: 0 1.25rem; border-radius: 9999px; font-size: 15px; font-weight: 600;
	border: 1px solid rgba(55,74,98,0.25); background: transparent; color: rgba(49,65,84,0.7);
	transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.shop-tab:hover { border-color: var(--color-accent); color: var(--color-accent); transform: translateY(-1px); }
.shop-tab.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); box-shadow: var(--shadow-soft); }
.shop-section__empty { text-align: center; padding: 5rem 0; color: rgba(49,65,84,0.55); }
.shop-section__more { margin-top: 3.5rem; display: flex; justify-content: center; }

.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	align-items: stretch;
	gap: 1.5rem 1.5rem;
	min-width: 0;
}
.shop-section__grid, .related-products-section__grid { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) { .shop-section__grid, .related-products-section__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .shop-section__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .related-products-section__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.theme-shop-archive__grid { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) { .theme-shop-archive__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-shop-archive__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.theme-product-card-wrap { display: flex; height: 100%; }
.theme-product-card {
	position: relative;
	display: flex; flex-direction: column; height: 100%; width: 100%;
	border-radius: var(--card-radius); border: 1px solid var(--color-border); background: var(--color-card);
	overflow: hidden; box-shadow: var(--shadow-elevated);
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.theme-product-card:hover { transform: translateY(-8px); border-color: rgba(81,172,214,0.6); box-shadow: 0 40px 70px -26px rgba(30,41,59,0.45); }
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card .theme-product-card__add-btn,
.theme-product-card .theme-product-card__quickview { pointer-events: auto; position: relative; z-index: 3; }

.theme-product-card__image-wrapper { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--color-secondary); }
.theme-product-card__image { transition: transform 1.2s cubic-bezier(0.22,0.61,0.36,1); }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.06); }
.theme-product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3;
	background: var(--color-primary); color: var(--color-primary-foreground);
	font-size: 13px; font-weight: 700; padding: 0.25rem 0.65rem; border-radius: 9999px;
}
.theme-product-card__badge--stock { left: auto; right: 0.75rem; background: var(--color-coral); color: #fff; }
.theme-product-card__quick-actions {
	position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; z-index: 3;
	display: flex; align-items: center; gap: 0.5rem;
	opacity: 0; transition: opacity 0.5s ease;
}
.theme-product-card:hover .theme-product-card__quick-actions { opacity: 1; }
.theme-product-card__add-btn.add_to_cart_button.ajax_add_to_cart {
	flex: 1; display: inline-flex !important; align-items: center; justify-content: center; gap: 0.4rem;
	height: 40px !important; border-radius: 9999px !important; background: var(--color-accent) !important; color: #fff !important;
	font-size: 14px !important; font-weight: 700 !important; text-transform: none !important; min-height: unset !important; padding: 0 1rem !important;
}
.theme-product-card__quickview {
	width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
	border-radius: 9999px; background: rgba(255,255,255,0.9); color: var(--color-foreground); border: 1px solid var(--color-border);
}
.theme-product-card__info { display: flex; flex-direction: column; flex: 1; padding: 1.25rem; }
.theme-product-card__category { font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-accent); font-weight: 700; margin-bottom: 0.4rem; }
.theme-product-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.3; color: var(--color-foreground); }
.theme-product-card__price { margin-top: auto; padding-top: 0.75rem; font-size: 16px; font-weight: 700; color: var(--color-primary); }

.theme-shop-archive__inner { padding: 4rem 0; }
.theme-shop-archive .page-title { font-family: var(--font-display); font-weight: 700; font-size: 2.5rem; margin-bottom: 2rem; }
.theme-shop-archive__pagination { margin-top: 3rem; display: flex; justify-content: center; }

/* ==========================================================================
   Owner
   ========================================================================== */
.owner-section { padding: 6rem 0; background: rgba(236,244,248,0.4); }
@media (min-width: 768px) { .owner-section { padding: 8rem 0; } }
.owner-section__card {
	border-radius: 1.5rem; border: 1px solid var(--color-border); background: var(--color-card); box-shadow: var(--shadow-soft);
	padding: 1.5rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: stretch;
}
@media (min-width: 768px) { .owner-section__card { padding: 2.5rem; } }
@media (min-width: 1024px) { .owner-section__card { grid-template-columns: 1fr 1fr; padding: 3.5rem; gap: 3.5rem; } }
.owner-section__text { display: flex; flex-direction: column; }
.owner-section__eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem; }
.owner-section .section-heading { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .owner-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .owner-section .section-heading { font-size: 3.2rem; } }
.owner-section__script { font-family: var(--font-script); color: var(--color-accent); font-size: 1.15em; }
.owner-section__copy { display: flex; flex-direction: column; gap: 1.25rem; font-size: 15px; line-height: 1.75; color: rgba(49,65,84,0.75); flex: 1; }
@media (min-width: 768px) { .owner-section__copy { font-size: 16px; } }
.owner-section__signature { margin-top: 2rem; font-size: 14px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(49,65,84,0.55); font-weight: 700; }
.owner-section__media { display: flex; flex-direction: column; }
.owner-section__carousel { position: relative; flex: 1; min-height: 380px; overflow: hidden; border-radius: 1.5rem; background: var(--color-secondary); border: 1px solid var(--color-border); box-shadow: var(--shadow-elevated); }
.owner-carousel__slide { opacity: 0; transform: scale(1.05); transition: opacity 0.7s cubic-bezier(0.22,0.61,0.36,1), transform 0.7s cubic-bezier(0.22,0.61,0.36,1); }
.owner-carousel__slide.is-active { opacity: 1; transform: scale(1); }
.owner-carousel__controls {
	position: absolute; inset-inline: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between;
	padding: 4rem 1rem 1rem; background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}
.owner-carousel__btn {
	width: 40px; height: 40px; border-radius: 9999px; background: rgba(255,255,255,0.9);
	display: inline-flex; align-items: center; justify-content: center; color: var(--color-primary);
	transition: transform 0.3s ease, background-color 0.3s ease;
}
.owner-carousel__btn:hover { background: #fff; transform: scale(1.1); }
.owner-carousel__counter { font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.9); font-weight: 700; }
.owner-carousel__dots { margin-top: 1rem; display: flex; justify-content: center; gap: 0.5rem; }
.owner-carousel__dot { height: 6px; width: 16px; border-radius: 9999px; background: rgba(49,65,84,0.2); transition: all 0.3s ease; }
.owner-carousel__dot.is-active { width: 32px; background: linear-gradient(90deg, var(--color-sunshine), var(--color-accent)); }

/* ==========================================================================
   Custom orders
   ========================================================================== */
.custom-orders-section { padding: 6rem 0; overflow: hidden; }
@media (min-width: 768px) { .custom-orders-section { padding: 8rem 0; } }
.custom-orders-section__intro { max-width: 42rem; margin-bottom: 3rem; }
.custom-orders-section__eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; }
.custom-orders-section .section-heading { font-size: 2.25rem; line-height: 1.05; font-weight: 800; }
@media (min-width: 768px) { .custom-orders-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .custom-orders-section .section-heading { font-size: 3.4rem; } }
.custom-orders-section__paragraph { margin-top: 1.25rem; font-size: 16px; line-height: 1.7; color: rgba(49,65,84,0.7); }
.custom-orders-section__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: stretch; }
@media (min-width: 1024px) { .custom-orders-section__grid { grid-template-columns: 7fr 5fr; } }
.custom-calendar, .custom-orders-form {
	width: 100%; height: 100%; display: flex; flex-direction: column;
	background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius);
	padding: 1.5rem; box-shadow: var(--shadow-soft); transition: box-shadow 0.5s ease, border-color 0.5s ease;
}
@media (min-width: 768px) { .custom-calendar, .custom-orders-form { padding: 2rem; } }
.custom-calendar:hover { box-shadow: var(--shadow-elevated); border-color: rgba(55,74,98,0.4); }
.custom-calendar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.custom-calendar__label { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; }
.custom-calendar__nav {
	width: 40px; height: 40px; border-radius: 9999px; border: 1px solid var(--color-border);
	display: inline-flex; align-items: center; justify-content: center; color: rgba(49,65,84,0.7);
	transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.custom-calendar__nav:hover { color: var(--color-primary); border-color: var(--color-primary); background: rgba(55,74,98,0.05); }
.custom-calendar__weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.35rem; margin-bottom: 0.5rem; }
.custom-calendar__weekday { text-align: center; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(49,65,84,0.45); padding: 0.25rem 0; }
.custom-calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.35rem; flex: 1; align-content: start; }
.custom-calendar__cell {
	aspect-ratio: 1 / 1; border-radius: 6px; font-size: 14px; font-weight: 600;
	display: inline-flex; align-items: center; justify-content: center; color: rgba(49,65,84,0.8);
	transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.custom-calendar__cell--empty { visibility: hidden; }
.custom-calendar__cell:not(.is-disabled):hover { background: rgba(81,172,214,0.15); color: var(--color-accent); transform: scale(1.05); }
.custom-calendar__cell.is-disabled { color: rgba(49,65,84,0.25); cursor: not-allowed; }
.custom-calendar__cell.is-active { background: var(--color-primary); color: var(--color-primary-foreground); transform: scale(1.05); box-shadow: var(--shadow-elevated); }

.custom-orders-form__label { font-size: 14px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(49,65,84,0.5); font-weight: 700; margin-bottom: 1rem; }
.custom-orders-form__field { margin-bottom: 1.25rem; }
.custom-orders-form__mini-label { display: flex; align-items: center; gap: 0.5rem; font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(49,65,84,0.5); font-weight: 700; margin-bottom: 0.5rem; }
.custom-orders-form__field--needed-by { background: var(--color-secondary); border: 1px solid var(--color-border); border-radius: 8px; padding: 0.75rem 1rem; }
.custom-orders-form__needed-by-value { font-size: 16px; font-weight: 600; color: var(--color-foreground); }
.custom-orders-form__occasions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.custom-occasion-pill {
	height: 40px; padding: 0 1rem; border-radius: 9999px; font-size: 14px; font-weight: 600;
	border: 1px solid var(--color-border); color: rgba(49,65,84,0.7); background: transparent;
	transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.custom-occasion-pill:hover { border-color: var(--color-accent); color: var(--color-accent); transform: translateY(-1px); }
.custom-occasion-pill.is-active { background: var(--color-accent); color: #fff; border-color: var(--color-accent); box-shadow: var(--shadow-soft); }
.custom-orders-form input[type="number"], .custom-orders-form input[type="text"], .custom-orders-form input[type="email"] {
	width: 100%; height: 48px; padding: 0 1rem; background: var(--color-background); border: 1px solid var(--color-border); border-radius: 8px; font-size: 15px; margin-bottom: 0.5rem;
}
.custom-orders-form input:focus { outline: none; border-color: var(--color-primary); }
.custom-orders-form__submit {
	margin-top: 0.5rem; width: 100%; height: 48px; border-radius: 9999px; font-size: 15px; font-weight: 700;
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	background: var(--color-primary); color: var(--color-primary-foreground); transition: box-shadow 0.3s ease, transform 0.2s ease;
}
.custom-orders-form__submit:hover:not(:disabled) { box-shadow: var(--shadow-elevated); transform: translateY(-1px); }
.custom-orders-form__submit:disabled { background: var(--color-secondary); color: rgba(49,65,84,0.4); cursor: not-allowed; }
.custom-orders-form__note { margin-top: 0.75rem; font-size: 14px; color: rgba(49,65,84,0.55); text-align: center; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section { padding: 6rem 0; }
@media (min-width: 768px) { .faq-section { padding: 8rem 0; } }
.faq-section__inner { max-width: 48rem; margin: 0 auto; }
.faq-section__intro { text-align: center; margin-bottom: 3rem; }
.faq-section__eyebrow { text-align: center; }
.faq-section .section-heading { font-size: 2.25rem; line-height: 1.25; margin-bottom: 1rem; }
@media (min-width: 768px) { .faq-section .section-heading { font-size: 3rem; } }
.faq-section__paragraph { text-align: center; font-size: 16px; line-height: 1.6; color: rgba(49,65,84,0.65); max-width: 36rem; margin: 0 auto; }
.faq-section__list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
	border-radius: 1rem;
	border: 1px solid rgba(213,223,230,0.7);
	background: rgba(236,244,248,0.5);
	transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
.faq-item:not(.is-open):hover {
	background: var(--color-secondary);
	border-color: rgba(81,172,214,0.4);
	transform: translateY(-2px);
}
.faq-item.is-open {
	border-color: rgba(81,172,214,0.4);
	background: var(--color-card);
	box-shadow: var(--shadow-soft);
}
.faq-item__question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 1.5rem;
	text-align: left;
}
@media (min-width: 768px) { .faq-item__question { padding: 1.25rem 2rem; } }
.faq-item__question span {
	flex: 1;
	padding-right: 0.25rem;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.4;
	color: var(--color-foreground);
	transition: color 0.3s ease;
}
@media (min-width: 768px) { .faq-item__question span { font-size: 1.125rem; } }
.faq-item__question:hover span { color: var(--color-primary); }
.faq-item__chevron {
	width: 20px;
	height: 20px;
	color: rgba(49,65,84,0.6);
	transition: transform 0.3s ease, color 0.3s ease;
	flex-shrink: 0;
}
.faq-item__question:hover .faq-item__chevron { color: var(--color-accent); }
.faq-item.is-open .faq-item__chevron { transform: rotate(180deg); color: var(--color-accent); }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.is-open .faq-item__answer { max-height: 24rem; padding: 0 1.5rem 1.5rem; }
@media (min-width: 768px) { .faq-item.is-open .faq-item__answer { padding: 0 2rem 1.5rem; } }
.faq-item__answer p { font-size: 15px; line-height: 1.625; color: rgba(49,65,84,0.7); max-width: 48rem; }

/* ==========================================================================
   Pre-contact CTA
   ========================================================================== */
.precontact-section { position: relative; overflow: hidden; background: #1b2634; display: flex; align-items: center; min-height: max(560px, 56.25vw); }
.precontact-section__bg { position: absolute; inset: 0; }
.precontact-section__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.precontact-section__content { position: relative; z-index: 1; text-align: center; padding: 6rem 0 9rem; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
@media (min-width: 768px) { .precontact-section__content { padding: 9rem 0 9rem; } }
.precontact-section__eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; font-size: 14px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,0.9); font-weight: 700; margin-bottom: 1.25rem; }
.precontact-section__line { height: 1px; width: 2rem; background: rgba(255,255,255,0.5); }
.precontact-section .section-heading { color: #fff; line-height: 1.05; max-width: 48rem; margin: 0 auto; font-size: clamp(2rem, 5.6vw, 4rem); }
.precontact-section__paragraph { margin-top: 1.5rem; max-width: 34rem; margin-inline: auto; font-size: 16px; color: rgba(255,255,255,0.85); line-height: 1.6; }
.precontact-section__actions { margin-top: 2.25rem; text-shadow: none; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-section { padding-top: 6rem; padding-bottom: 4rem; overflow: hidden; }
@media (min-width: 768px) { .contact-section { padding-top: 8rem; padding-bottom: 5rem; } }
.contact-section__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: stretch; }
@media (min-width: 1024px) { .contact-section__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.contact-section__left { display: flex; flex-direction: column; min-height: 100%; }
.contact-section .section-heading { font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .contact-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-section .section-heading { font-size: 3.4rem; } }
.contact-section__paragraph { margin-top: 1.25rem; font-size: 16px; line-height: 1.625; color: rgba(49,65,84,0.7); max-width: 28rem; }
.contact-section__touchpoints { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 1rem; list-style: none; padding: 0; margin-bottom: 0; }
.contact-section__touchpoints li { margin: 0; }
.contact-touchpoint {
	display: flex; align-items: center; gap: 1rem; border-radius: var(--radius); border: 1px solid var(--color-border);
	background: var(--color-card); padding: 1rem; box-shadow: var(--shadow-soft);
	transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.contact-touchpoint:hover { transform: translateY(-4px); border-color: rgba(81,172,214,0.6); box-shadow: var(--shadow-elevated); }
.contact-touchpoint__icon { width: 44px; height: 44px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.5s ease; }
.contact-touchpoint:hover .contact-touchpoint__icon { transform: scale(1.1) rotate(6deg); }
.contact-touchpoint__text { display: flex; flex-direction: column; min-width: 0; text-align: left; }
.contact-touchpoint__label { font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(49,65,84,0.5); font-weight: 700; }
.contact-touchpoint__value { font-size: 15px; font-weight: 600; color: var(--color-foreground); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color 0.3s ease; }
.contact-touchpoint:hover .contact-touchpoint__value { color: var(--color-primary); }
.contact-section__quote-wrap { margin-top: auto; padding-top: 2rem; }
.contact-section__quote { position: relative; border-radius: var(--radius); border: 1px solid var(--color-border); background: var(--color-secondary); padding: 2.25rem 1.5rem; text-align: center; margin: 0; }
@media (min-width: 768px) { .contact-section__quote { padding: 2.75rem 2.5rem; } }
.contact-section__quote-bar { display: block; margin: 0 auto 1rem; height: 4px; width: 3rem; border-radius: 9999px; background: rgba(81,172,214,0.7); }
.contact-section__quote blockquote { font-family: var(--font-display); font-weight: 700; color: rgba(49,65,84,0.9); line-height: 1.3; font-size: 1.125rem; max-width: 28rem; margin: 0 auto; }
@media (min-width: 768px) { .contact-section__quote blockquote { font-size: 1.25rem; } }
@media (min-width: 1024px) { .contact-section__quote blockquote { font-size: 1.5rem; } }
.contact-section__quote figcaption { margin-top: 1.25rem; font-size: 14px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(49,65,84,0.55); font-weight: 700; }

.contact-section__form {
	background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.5rem;
	display: flex; flex-direction: column; min-height: 100%; box-shadow: var(--shadow-soft);
	transition: box-shadow 0.5s ease, border-color 0.5s ease;
}
@media (min-width: 768px) { .contact-section__form { padding: 2rem; } }
.contact-section__form:hover { box-shadow: var(--shadow-elevated); border-color: rgba(55,74,98,0.4); }
.contact-section__form-body { flex: 1; display: flex; flex-direction: column; gap: 1rem; }
.contact-section__form-footer { display: flex; flex-direction: column; gap: 0.75rem; padding-top: 0.5rem; }
.contact-section__form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .contact-section__form-row { grid-template-columns: 1fr 1fr; } }
.contact-section__form label { display: block; font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(49,65,84,0.55); margin-bottom: 0.5rem; font-weight: 700; }
.contact-section__form input, .contact-section__form select, .contact-section__form textarea {
	width: 100%; height: 48px; padding: 0 1rem; background: var(--color-background); border: 1px solid var(--color-border);
	border-radius: 8px; font-size: 15px; color: var(--color-foreground);
	transition: border-color 0.2s ease;
}
.contact-section__form input::placeholder,
.contact-section__form textarea::placeholder { color: rgba(49,65,84,0.45); }
.contact-section__select-wrap { position: relative; }
.contact-section__select-wrap select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 2.5rem;
}
.contact-section__select-chevron {
	position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
	pointer-events: none; color: rgba(49,65,84,0.55);
}
.contact-section__form input:focus, .contact-section__form select:focus, .contact-section__form textarea:focus { outline: none; border-color: var(--color-primary); }
.contact-section__form-message { flex: 1; display: flex; flex-direction: column; min-height: 140px; }
.contact-section__form-message textarea { flex: 1; height: 100%; min-height: 140px; padding: 0.75rem 1rem; resize: none; }
.contact-section__submit { width: 100%; }
.contact-section__note { margin: 0; font-size: 14px; color: rgba(49,65,84,0.55); text-align: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	border-top: 1px solid rgba(255,255,255,0.1);
	background: hsl(213, 34%, 16%);
	color: #f8fafc;
}
.site-footer__inner { padding-block: 3.5rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-block: 5rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.site-footer__col { display: flex; flex-direction: column; min-height: 100%; }
.site-footer__brand {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	align-self: flex-start;
}
.site-footer__brand .site-logo-img { transition: transform 0.5s ease; }
.site-footer__brand:hover .site-logo-img { transform: scale(1.05); }
.site-logo-img--footer { height: 3.3rem !important; }
.site-footer__tagline { margin-top: 1rem; font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.625; max-width: 20rem; }
.site-footer__title { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: #fff; margin: 0 0 1rem; }
.theme-footer-nav-list { display: flex; flex-direction: column; gap: 0.625rem; list-style: none; padding: 0; margin: 0; }
.theme-footer-nav-list a {
	font-size: 13px;
	color: rgba(255,255,255,0.7);
	transition: color 0.3s ease, transform 0.3s ease;
	display: inline-block;
}
.theme-footer-nav-list a:hover { color: var(--color-accent); transform: translateX(4px); }
.site-footer__contact-list { display: flex; flex-direction: column; gap: 0.75rem; font-size: 13px; list-style: none; padding: 0; margin: 0; }
.site-footer__contact-list li { margin: 0; }
.site-footer__contact-list a,
.site-footer__contact-shipping {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: rgba(255,255,255,0.75);
	word-break: break-all;
	transition: color 0.3s ease;
}
.site-footer__contact-list a:hover { color: var(--color-accent); }
.site-footer__contact-list svg { flex-shrink: 0; }
.site-footer__bottom {
	margin-top: 3.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255,255,255,0.1);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
}
@media (min-width: 640px) {
	.site-footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.site-footer__copyright,
.site-footer__credit { margin: 0; font-size: 13px; color: rgba(255,255,255,0.6); text-align: center; }
@media (min-width: 640px) {
	.site-footer__copyright { flex: 1; text-align: left; }
	.site-footer__credit { flex: 1; text-align: right; }
}
.site-footer__credit a { display: inline-flex; align-items: center; gap: 0.25rem; color: rgba(255,255,255,0.8); font-weight: 600; transition: color 0.3s ease; }
.site-footer__credit a:hover { color: var(--color-accent); }
.site-footer__totop { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 13px; color: rgba(255,255,255,0.7); transition: color 0.3s ease; }
.site-footer__totop:hover { color: var(--color-accent); }
.site-footer__totop-circle {
	width: 32px;
	height: 32px;
	border-radius: 9999px;
	border: 1px solid rgba(255,255,255,0.25);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: border-color 0.3s ease, transform 0.3s ease;
}
.site-footer__totop:hover .site-footer__totop-circle { border-color: var(--color-accent); transform: translateY(-2px); }

/* ==========================================================================
   404
   ========================================================================== */
.theme-404__inner { padding: 8rem 0; text-align: center; }
.theme-404__code { font-family: var(--font-display); font-weight: 700; font-size: 4rem; color: var(--color-primary); margin-bottom: 1rem; }
.theme-404__title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.theme-404__text { color: rgba(49,65,84,0.65); margin-bottom: 2rem; }

/* ==========================================================================
   Single product
   ========================================================================== */
.single-product-page { padding: 6rem 0; }
.single-product__breadcrumb { padding: 1.5rem 0; font-size: 14px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(49,65,84,0.55); }
.single-product__breadcrumb a:hover { color: var(--color-primary); }
.single-product__breadcrumb span { margin: 0 0.5rem; opacity: 0.5; }
.single-product__breadcrumb-current { color: var(--color-foreground); margin: 0 !important; opacity: 1 !important; }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 5rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-gallery { position: relative; top: auto; }
@media (min-width: 1024px) {
	.theme-product-gallery { position: sticky; top: 6rem; }
}
.theme-product-gallery__main { position: relative; aspect-ratio: 1 / 1; width: 100%; background: var(--color-secondary); border-radius: 1.5rem; overflow: hidden; margin-bottom: 1rem; box-shadow: var(--shadow-elevated); }
.theme-product-gallery__image { opacity: 0; transform: scale(1.05); transition: opacity 0.7s ease, transform 0.7s ease; }
.theme-product-gallery__image.is-active { opacity: 1; transform: scale(1); }
.theme-product-gallery__arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
	width: 44px; height: 44px; border-radius: 9999px; background: rgba(248,250,252,0.9); color: var(--color-foreground);
	display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-soft);
	transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.theme-product-gallery__arrow:hover { background: var(--color-accent); color: #fff; transform: translateY(-50%) scale(1.1); }
.theme-product-gallery__arrow--prev { left: 0.75rem; }
.theme-product-gallery__arrow--next { right: 0.75rem; }
.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.65rem; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumb { position: relative; aspect-ratio: 1 / 1; background: var(--color-secondary); border-radius: 0.5rem; overflow: hidden; border: 2px solid transparent; transition: border-color 0.3s ease, transform 0.3s ease; }
.theme-product-thumb:hover { transform: translateY(-2px); }
.theme-product-thumb.is-active { border-color: var(--color-accent); }

.theme-product-info__category { font-size: 15px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-primary); font-weight: 500; margin-bottom: 0.75rem; }
.theme-product-info__title.product-title { font-family: var(--font-body); font-weight: 600; font-size: 1.9rem; line-height: 1.1; color: var(--color-foreground); margin-bottom: 1rem; }
@media (min-width: 1024px) { .theme-product-info__title.product-title { font-size: 2.6rem; } }
.theme-product-info__price { font-size: 20px; font-weight: 500; color: rgba(49,65,84,0.9); margin-bottom: 1.5rem; }
.theme-product-info__stock--out { display: inline-block; margin-bottom: 1rem; padding: 0.35rem 0.9rem; border-radius: 9999px; background: rgba(226,131,144,0.15); color: var(--color-coral); font-weight: 700; font-size: 14px; }
.theme-product-info__description { font-size: 15px; line-height: 1.7; color: rgba(49,65,84,0.75); margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-info__description p { margin-bottom: 1em; }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid rgba(49,65,84,0.2); border-radius: 9999px; height: 48px; }
.theme-qty-minus, .theme-qty-plus { padding: 0 1rem; height: 100%; color: var(--color-foreground); transition: color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { color: var(--color-primary); }
.theme-qty-input { width: 3rem; text-align: center; border: none; background: transparent; font-size: 15px; font-weight: 500; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.theme-add-to-cart-area .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.theme-product-info__details { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(49,65,84,0.1); }
.theme-product-info__details-heading { font-size: 15px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(49,65,84,0.55); margin-bottom: 1rem; }
.theme-product-info__details-body { font-size: 15px; line-height: 1.75; color: rgba(49,65,84,0.75); }
.theme-product-info__details-body ul { list-style: disc; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }

.theme-product-highlights {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(49,65,84,0.1);
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
}
.theme-product-highlight { text-align: center; }
.theme-product-highlight__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.25rem;
	height: 1.25rem;
	margin: 0 auto 0.5rem;
	color: var(--color-accent);
	transition: transform 0.3s ease;
}
.theme-product-highlight:hover .theme-product-highlight__icon {
	transform: scale(1.1) rotate(6deg);
}
.theme-product-highlight__label {
	margin: 0;
	font-size: 14px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: rgba(49,65,84,0.6);
	line-height: 1.35;
}

.theme-product-info__back { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(49,65,84,0.1); }
.theme-product-info__back a { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 15px; color: rgba(49,65,84,0.65); transition: color 0.3s ease; }
.theme-product-info__back a:hover { color: var(--color-primary); }
.woocommerce-variation-description, .posted_in { overflow-wrap: break-word; word-break: break-word; }

.related-products-section { padding: 5rem 0; border-top: 1px solid rgba(49,65,84,0.1); }
.related-products-section__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; }
.related-products-section__heading { font-size: 1.75rem; }
@media (min-width: 768px) { .related-products-section__heading { font-size: 2.25rem; } }

/* Variation attributes */
.theme-product-attributes { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 1.5rem; }
.theme-product-attr__label {
	display: block;
	font-size: 15px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(49,65,84,0.55);
	margin-bottom: 0.65rem;
}
.theme-attr-select-hidden { display: none !important; }
.theme-attr-select,
.single-product .variations select {
	width: 100%;
	height: 48px;
	border-radius: 8px;
	border: 1px solid var(--color-border);
	padding: 0 2.5rem 0 1rem;
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--color-foreground);
	background: var(--color-background) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23314154' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1rem center;
	appearance: none;
}
.theme-attr-pills--color { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.theme-attr-pill--color {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 0.85rem 0.45rem 0.45rem;
	border: 2px solid var(--color-border);
	border-radius: 9999px;
	background: transparent;
	color: var(--color-foreground);
	font-size: 14px;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}
.theme-attr-pill--color:hover { border-color: rgba(55,74,98,0.35); }
.theme-attr-pill--color.is-active {
	border-color: var(--color-primary);
	background: color-mix(in srgb, var(--color-primary) 5%, transparent);
}
.theme-attr-pill__swatch {
	width: 1.35rem;
	height: 1.35rem;
	border-radius: 9999px;
	border: 1px solid rgba(49,65,84,0.15);
	flex-shrink: 0;
}
.theme-attr-pill__label { font-weight: 500; }

/* Legacy variation table (fallback) */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; font-weight: 700; }
.single-product .variations tbody td.value { padding-top: 0; margin-bottom: 1rem; }
.single-product .variations select { width: 100%; height: 44px; border-radius: 8px; border: 1px solid var(--color-border); padding: 0 1rem; }

/* ==========================================================================
   WooCommerce: add-to-cart button overrides (Section 11.4.1)
   ========================================================================== */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
/* Card compact button — overrides global rules above (Section 11.4.1) */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	padding: 0 1rem !important;
	border-radius: 9999px !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Hide "View cart" injected by WooCommerce after AJAX add-to-cart (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* Notices (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border-radius: 8px; border: 1px solid var(--color-border); background: var(--color-secondary);
	padding: 1rem 1.25rem; font-size: 14px; color: var(--color-foreground); margin-bottom: 1.5rem;
}
.woocommerce-error { border-color: var(--color-destructive); background: rgba(225,62,51,0.08); color: var(--color-destructive); }

/* ==========================================================================
   Side cart drawer + overlay
   ========================================================================== */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 60; background: rgba(49,65,84,0.35);
	opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed; top: 0; right: 0; height: 100%; width: 100%; max-width: 26rem; z-index: 61;
	background: var(--color-background); box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column; transform: translateX(100%);
	transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid rgba(49,65,84,0.1); }
.theme-cart-drawer__title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
.theme-cart-drawer__close { padding: 0.4rem; border-radius: 9999px; transition: background-color 0.2s ease; }
.theme-cart-drawer__close:hover { background: rgba(49,65,84,0.06); }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; color: rgba(49,65,84,0.5); }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-cart-drawer__item { display: flex; gap: 1rem; }
.theme-cart-drawer__item-image { position: relative; width: 5rem; height: 6rem; flex-shrink: 0; border-radius: 8px; overflow: hidden; background: var(--color-secondary); }
.theme-cart-drawer__item-info { flex: 1; min-width: 0; }
.theme-cart-drawer__item-name { display: block; font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.2s ease; }
.theme-cart-drawer__item-name:hover { color: var(--color-primary); }
.theme-cart-item-meta {
	margin: 0.35rem 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}
.theme-cart-item-meta__row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.35rem;
	font-size: 13px;
	color: rgba(49,65,84,0.65);
}
.theme-cart-item-meta__label { font-weight: 600; }
.theme-cart-item-meta-swatch {
	width: 0.85rem;
	height: 0.85rem;
	border-radius: 9999px;
	border: 1px solid rgba(49,65,84,0.15);
	flex-shrink: 0;
}
.theme-cart-drawer__item-price { font-size: 15px; color: rgba(49,65,84,0.6); margin-top: 0.15rem; }
.theme-cart-drawer__item-controls { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.5rem; }
.theme-cart-drawer__qty-btn { padding: 0.25rem; border-radius: 4px; transition: background-color 0.2s ease; }
.theme-cart-drawer__qty-btn:hover { background: var(--color-secondary); }
.theme-cart-drawer__qty-value { font-size: 15px; width: 1.5rem; text-align: center; }
.theme-cart-drawer__remove { margin-left: auto; font-size: 14px; color: rgba(49,65,84,0.55); transition: color 0.2s ease; }
.theme-cart-drawer__remove:hover { color: var(--color-destructive); }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid rgba(49,65,84,0.1); background: rgba(236,244,248,0.4); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 15px; }
.theme-cart-drawer__shipping-note { font-size: 14px; color: rgba(49,65,84,0.55); }
.theme-cart-drawer__checkout { width: 100%; }
.theme-cart-drawer__empty-btn { display: flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; padding: 0.6rem 0; font-size: 14px; color: rgba(49,65,84,0.6); transition: color 0.2s ease; }
.theme-cart-drawer__empty-btn:hover { color: var(--color-destructive); }

/* ==========================================================================
   Checkout, Cart, Account, Thank-you pages
   ========================================================================== */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main,
.theme-checkout-main {
	padding-top: var(--header-height);
	padding-bottom: 4rem;
}
.theme-page-content { padding-block: 3rem; }
.page-title { font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; margin-bottom: 2rem; }

.theme-checkout-header { margin-bottom: 2.5rem; }
.theme-checkout-header__back {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 15px;
	color: rgba(49,65,84,0.65);
	margin-bottom: 1.5rem;
	transition: color 0.2s ease;
}
.theme-checkout-header__back:hover { color: var(--color-primary); }
.theme-checkout-header__title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(2rem, 5vw, 3rem);
	margin: 0 0 0.75rem;
}
.theme-checkout-header__intro {
	font-size: 15px;
	color: rgba(49,65,84,0.65);
	margin: 0;
	max-width: 42rem;
}

/* Checkout block width — dedicated page + embedded block */
body.woocommerce-checkout .theme-checkout-main > .container-wide,
body.woocommerce-checkout .theme-checkout-main > .theme-page-content,
.theme-checkout-main > .container-wide,
.theme-checkout-main > .theme-page-content,
body.woocommerce-checkout .theme-checkout-main .entry-content,
.theme-checkout-main .entry-content {
	max-width: none;
	width: 100%;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout {
	max-width: 80rem;
	width: 100%;
	margin-inline: auto;
	box-sizing: border-box;
	min-width: 0;
}

/* alignwide on checkout must not break out of .container-wide padding */
body.woocommerce-checkout .wc-block-checkout.alignwide,
body.woocommerce-checkout .wp-block-woocommerce-checkout.alignwide,
.entry-content .wc-block-checkout.alignwide,
.entry-content .wp-block-woocommerce-checkout.alignwide {
	margin-left: 0;
	margin-right: 0;
	max-width: 100%;
	width: 100%;
}

/* Two-column grid — inner wrapper only (≥768px) */
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
		display: grid !important;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
		flex-direction: unset;
		flex-wrap: nowrap;
		margin: 0;
	}

	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
		width: auto !important;
		max-width: 100%;
		min-width: 0;
		margin: 0 !important;
		padding: 0 !important;
		box-sizing: border-box;
	}

	/* Fallback: main + sidebar as direct children */
	body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar),
	.entry-content .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) {
		display: grid;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices,
	.entry-content .wc-block-checkout > .wc-block-components-notices {
		grid-column: 1 / -1;
	}
}

/* Sidebar wrappers transparent; card only on order summary */
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar,
.entry-content .wp-block-woocommerce-checkout-totals-block {
	background: transparent;
	padding: 0;
	border-radius: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	width: 100%;
	background: var(--color-secondary);
	border: 1px solid rgba(49,65,84,0.1);
	border-radius: var(--card-radius);
	padding: 1.5rem;
	box-sizing: border-box;
}
@media (min-width: 1024px) {
	body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
	.entry-content .wp-block-woocommerce-checkout-order-summary-block {
		padding: 1.75rem;
		position: sticky;
		top: calc(var(--header-height) + 1.5rem);
	}
}

/* Notices */
body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	max-width: 80rem;
	margin-inline: auto;
	width: 100%;
	box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-components-notice-banner {
	border-radius: 8px;
	font-family: var(--font-body);
}

/* Empty checkout cart */
body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
	margin-inline: auto;
	max-width: 36rem;
	width: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
.entry-content .wc-block-checkout .wc-block-components-text-input input,
.entry-content .wc-block-checkout .wc-block-components-select select {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	border-radius: 8px;
	border-color: var(--color-border);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-text-input input:focus-visible,
.entry-content .wc-block-checkout .wc-block-components-text-input input:focus,
.entry-content .wc-block-checkout .wc-block-components-select select:focus {
	border-color: var(--color-primary);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	border-radius: var(--btn-radius) !important;
	font-weight: 700;
}
body.woocommerce-checkout .wc-block-cart-items,
.entry-content .wc-block-cart-items { font-family: var(--font-body); }

body.woocommerce-cart .theme-page-content .entry-content,
body.woocommerce-account .theme-page-content .entry-content {
	max-width: none;
}

body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details { margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0;
}
body.theme-thankyou-page .woocommerce-order-overview li { display: flex; flex-direction: column; font-size: 14px; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; padding: 0 0 1rem 0; display: block;
}
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; }
body.theme-thankyou-page .woocommerce-order-details table td, body.theme-thankyou-page .woocommerce-order-details table th { padding: 0.6rem 0.25rem; border-bottom: 1px solid var(--color-border); }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details {
		display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
	}
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; overflow-wrap: break-word; }

/* ==========================================================================
   Responsive overflow guards
   ========================================================================== */
.site-main,
.site-header,
.entry-content,
.theme-page-content {
	min-width: 0;
	max-width: 100%;
}
.single-product__breadcrumb {
	overflow-wrap: anywhere;
	word-break: break-word;
}
.theme-add-to-cart-area { min-width: 0; max-width: 100%; }
.theme-add-to-cart-area .single_add_to_cart_button { min-width: 0; }
@media (max-width: 479px) {
	.theme-add-to-cart-area { flex-direction: column; align-items: stretch; }
	.theme-quantity-wrapper { align-self: flex-start; }
}

/* ==========================================================================
   Customizer controls extras (grid nesting flexibility)
   ========================================================================== */
