/* ==========================================================================
   ZTI Security — theme.css
   Single source of truth for all visual styling (Section 10 — no styling
   in WooCommerce template files).
   ========================================================================== */

/* -----------------------------------------------------------------------
   1. Design tokens (Section 6.1 — converted from source HSL tokens)
   -------------------------------------------------------------------- */
:root {
	--color-primary: #006be6;
	--color-primary-foreground: #ffffff;
	--color-background: #f4f4f6;
	--color-foreground: #181d25;
	--color-secondary: #dde0e4;
	--color-secondary-foreground: #2b303b;
	--color-muted-foreground: #636874;
	--color-border: #c6cbd2;
	--color-dark-section: #16181d;
	--color-dark-section-alt: #1f2228;
	--color-destructive: #ef4343;
	--color-button-text: var(--color-primary-foreground);

	--font-display: 'Oswald', sans-serif;
	--font-body: 'Inter', sans-serif;

	--radius: 0.375rem;
	--card-radius: 0.75rem;

	--shadow-soft: 0 4px 20px -4px rgb(0 0 0 / 0.08);
	--shadow-elevated: 0 8px 40px -8px rgb(0 0 0 / 0.15);

	--ease-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);

	--btn-radius: 0.375rem;
	--btn-height: 2.75rem;
	--btn-padding: 0 2.5rem;
	--btn-font-size: 1rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--btn-icon-padding: 0.5rem;

	--logo-height: 48px;
	--header-height: 80px;
	--checkout-gap: 2rem;
}

/* -----------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-weight: 400;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
.site-main,
.theme-home,
.theme-generic-page,
.single-product-page {
	overflow-x: clip;
	max-width: 100%;
}
h1, h2, h3, h4, h5, h6 { font-weight: inherit; font-size: inherit; margin: 0; font-family: var(--font-display); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* Clickable cursor affordance */
a[href], button:not(:disabled), [role="button"],
.btn, .theme-nav-link, .theme-product-card, .shop-cat-btn,
.theme-cart-toggle, .theme-mobile-toggle, .theme-cart-close,
.faq-question, .contact-method, .contact-submit-btn,
.back-to-shop-link, .site-footer-credit, .theme-product-thumb,
label[for], summary, .shop-price-toggle, .shop-show-more-btn,
[data-cart-open], [data-cart-close], .single_add_to_cart_button {
	cursor: pointer;
}
button:disabled, .single_add_to_cart_button:disabled {
	cursor: not-allowed;
}

/* Offset fixed header / drawers under the WP admin bar.
   WP adds `admin-bar` on body and `wp-toolbar` on html (not always html.admin-bar). */
html.wp-toolbar .site-header,
body.admin-bar .site-header {
	top: 32px;
}
html.wp-toolbar #theme-cart-drawer,
body.admin-bar #theme-cart-drawer {
	top: 32px;
	height: calc(100% - 32px);
}
html.wp-toolbar #theme-cart-overlay,
body.admin-bar #theme-cart-overlay {
	top: 32px;
}
@media screen and (max-width: 782px) {
	html.wp-toolbar .site-header,
	body.admin-bar .site-header {
		top: 46px;
	}
	html.wp-toolbar #theme-cart-drawer,
	body.admin-bar #theme-cart-drawer {
		top: 46px;
		height: calc(100% - 46px);
	}
	html.wp-toolbar #theme-cart-overlay,
	body.admin-bar #theme-cart-overlay {
		top: 46px;
	}
}
/* Below 600px WP makes the admin bar position:absolute; keep header clear at page top. */
@media screen and (max-width: 600px) {
	html.wp-toolbar .site-header,
	body.admin-bar .site-header {
		top: 46px;
	}
}

/* Cover/full-bleed image exception list (Section 15.1 — COMPLETENESS RULE) */
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.theme-product-card__image):not(.theme-product-main-image):not(.theme-product-thumb img):not(.theme-cart-drawer-item-img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .product-card-img, .theme-product-card__image, .theme-product-main-image, .theme-product-thumb img, .theme-cart-drawer-item-img {
	position: absolute; inset: 0;
	width: 100% !important; height: 100% !important;
	object-fit: cover;
	object-position: center center;
	max-width: none !important;
}

/* Match Lovable: .container-wide = max-w-7xl mx-auto px-6 lg:px-8
   Use padding-inline so section *-inner rules (padding-block only) never wipe gutters. */
.container-wide {
	width: 100%;
	max-width: 80rem; /* max-w-7xl */
	margin-left: auto;
	margin-right: auto;
	padding-inline: 1.5rem; /* px-6 = 24px */
	box-sizing: border-box;
}
@media (min-width: 1024px) {
	.container-wide {
		padding-inline: 2rem; /* lg:px-8 = 32px */
	}
}

/* Prevent children from escaping the padded content column */
.container-wide > *,
.theme-product-layout,
.theme-product-grid,
.shop-product-grid,
.services-grid,
.portfolio-grid,
.about-grid,
.contact-grid,
.site-footer-grid {
	min-width: 0;
	max-width: 100%;
}

.scroll-mt-24 { scroll-margin-top: 6rem; }

/* -----------------------------------------------------------------------
   3. Typography scale
   -------------------------------------------------------------------- */
.eyebrow {
	display: block;
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--color-primary);
	margin-bottom: 0.5rem;
}
.eyebrow--on-dark { color: var(--color-primary); }
.text-accent { color: var(--color-primary); }

.section-heading {
	font-family: var(--font-display);
	text-transform: uppercase;
	font-size: 1.875rem;
	line-height: 1.1;
	margin: 0.5rem 0 1rem;
}
@media (min-width: 768px) { .section-heading { font-size: 3rem; } }

.btn {
	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-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
	white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-hero-primary, .single_add_to_cart_button.theme-btn-primary {
	background: var(--color-primary);
	color: var(--color-button-text);
}
.btn-hero-primary:hover { opacity: 0.9; }
.btn-hero-outline {
	background: rgb(255 255 255 / 0.1);
	color: #fff;
	border: 1px solid rgb(255 255 255 / 0.2);
}
.btn-hero-outline:hover { background: rgb(255 255 255 / 0.2); }
.btn-outline {
	background: transparent;
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
}
.btn-outline:hover { background: var(--color-secondary); }
.btn-icon { width: 1rem; height: 1rem; }

/* -----------------------------------------------------------------------
   4. Scroll-reveal animation system (Section 2.1)
   -------------------------------------------------------------------- */
.reveal-item, .reveal-line, .reveal-scale, .reveal-blur, .reveal-fade {
	opacity: 0;
	transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth), filter 0.7s var(--ease-smooth);
	will-change: opacity, transform;
}
.reveal-item { transform: translateY(40px); }
.reveal-line { transform: translateY(80px); transition-duration: 1s; }
.reveal-scale { transform: scale(0.92); transition-duration: 0.6s; }
.reveal-blur { transform: translateY(30px); filter: blur(10px); transition-duration: 0.8s; }
.reveal-fade { transform: none; }

.reveal-item.is-visible, .reveal-line.is-visible, .reveal-scale.is-visible, .reveal-blur.is-visible, .reveal-fade.is-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
	filter: blur(0);
}

/* Fallback: if IntersectionObserver never fires, content must remain visible. */
.no-js .reveal-item, .no-js .reveal-line, .no-js .reveal-scale, .no-js .reveal-blur, .no-js .reveal-fade,
body.is-customizer .reveal-item, body.is-customizer .reveal-line, body.is-customizer .reveal-scale,
body.is-customizer .reveal-blur, body.is-customizer .reveal-fade {
	opacity: 1 !important;
	transform: none !important;
	filter: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item, .reveal-line, .reveal-scale, .reveal-blur, .reveal-fade {
		transition: none !important;
		opacity: 1 !important;
		transform: none !important;
		filter: none !important;
	}
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.animate-fade-in { animation: fadeIn 0.6s var(--ease-smooth) forwards; }

@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-slide-up { animation: slideUp 0.4s var(--ease-smooth) forwards; }

/* -----------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------- */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 50;
	background: transparent;
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}
.site-header.is-solid {
	background: rgb(244 244 246 / 0.95);
	backdrop-filter: blur(8px);
	border-bottom-color: var(--color-border);
}
.site-nav { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
@media (min-width: 1024px) { .site-nav { height: 5rem; } }

.site-brand { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.site-logo-img { width: 3rem; height: 3rem; object-fit: contain; flex-shrink: 0; transition: filter 0.3s ease; }
@media (min-width: 1024px) { .site-logo-img { width: 3.5rem; height: 3.5rem; } }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; }
.site-logo-text {
	display: none;
	font-family: var(--font-display);
	font-size: 1.125rem;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	transition: color 0.3s ease;
}
@media (min-width: 640px) { .site-logo-text { display: inline; } }
.site-header:not(.is-solid) .site-logo-img { filter: brightness(0) invert(1); }
.site-header:not(.is-solid) .site-logo-text { color: #fff; }
.site-header.is-solid .site-logo-text { color: var(--color-foreground); }

.site-nav-desktop { display: none; }
@media (min-width: 1024px) { .site-nav-desktop { display: flex; align-items: center; gap: 1.5rem; } }
.theme-nav-list, .theme-nav-fallback { display: flex; align-items: center; gap: 1.5rem; }
.theme-nav-link {
	position: relative;
	font-size: 0.875rem;
	font-family: var(--font-body);
	letter-spacing: 0.02em;
	transition: color 0.3s ease;
}
.theme-nav-link::after {
	content: ''; position: absolute; bottom: -4px; left: 0; width: 100%; height: 1px;
	background: currentColor; transform: scaleX(0); transform-origin: left;
	transition: transform 0.3s var(--ease-smooth);
}
.theme-nav-link:hover::after { transform: scaleX(1); }
.site-header:not(.is-solid) .theme-nav-link { color: rgb(255 255 255 / 0.9); }
.site-header:not(.is-solid) .theme-nav-link:hover { color: #fff; }
.site-header.is-solid .theme-nav-link { color: var(--color-foreground); }

.site-nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.theme-cart-toggle, .theme-mobile-toggle {
	position: relative; padding: 0.5rem; transition: opacity 0.2s ease;
}
.theme-cart-toggle:hover, .theme-mobile-toggle:hover { opacity: 0.6; }
.site-header:not(.is-solid) .theme-cart-toggle, .site-header:not(.is-solid) .theme-mobile-toggle { color: #fff; }
.site-header.is-solid .theme-cart-toggle, .site-header.is-solid .theme-mobile-toggle { color: var(--color-foreground); }
.theme-mobile-toggle { display: inline-flex; }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.theme-mobile-toggle .icon-close { display: none; }
.theme-mobile-toggle.is-open .icon-menu { display: none; }
.theme-mobile-toggle.is-open .icon-close { display: block; }

.theme-cart-count {
	position: absolute; top: -2px; right: -2px;
	width: 1.25rem; height: 1.25rem;
	display: flex; align-items: center; justify-content: center;
	font-size: 0.625rem; font-weight: 500;
	background: var(--color-primary); color: var(--color-primary-foreground);
	border-radius: 999px;
}
.theme-cart-count:empty { display: none; }

.site-nav-mobile { display: none; border-top: 1px solid var(--color-border); padding: 1rem 0; }
.site-nav-mobile.is-open { display: block; }
.site-nav-mobile ul,
.site-nav-mobile .theme-nav-list,
.site-nav-mobile .theme-nav-fallback,
.site-nav-mobile .theme-nav-list-mobile {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 1rem;
	width: 100%;
}
.site-nav-mobile .theme-nav-link,
.site-nav-mobile a {
	display: block;
	width: 100%;
	padding: 0.5rem 0;
	text-align: left;
}
.site-nav-mobile .theme-nav-link::after { display: none; }
.theme-nav-list-mobile { display: flex; flex-direction: column; gap: 1rem; }
.theme-nav-list-mobile .theme-nav-link { padding: 0.5rem 0; }

/* -----------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------- */
.hero-section {
	position: relative;
	min-height: 100vh;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	overflow: hidden;
	background: var(--color-foreground);
}
body.theme-no-hero .hero-section,
main:not(.theme-home) .site-main { padding-top: var(--header-height); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 75%, transparent); }
.hero-content { position: relative; z-index: 10; text-align: center; padding-block: 6rem; }

.hero-eyebrow-row { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.hero-eyebrow-line { display: inline-block; width: 32px; height: 1px; background: color-mix(in srgb, var(--color-primary) 60%, transparent); }
.hero-eyebrow-text { font-size: 0.875rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-primary); font-weight: 500; }

.hero-line-mask { overflow: hidden; }
.hero-headline {
	font-family: var(--font-display);
	font-size: 3rem; line-height: 0.95; letter-spacing: -0.02em;
	text-transform: uppercase; color: #fff; margin-bottom: 0.25rem;
}
@media (min-width: 768px) { .hero-headline { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero-headline { font-size: 6rem; } }
.hero-headline--accent { color: var(--color-primary); margin-bottom: 1.5rem; }

.hero-subtitle { color: rgb(255 255 255 / 0.7); max-width: 36rem; margin: 0 auto 2.5rem; font-size: 1.125rem; }
/* Extra px-4 like Lovable hero CTA row (inside container-wide) */
.hero-cta-row { display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; padding-inline: 1rem; }
@media (min-width: 640px) { .hero-cta-row { flex-direction: row; } }
.hero-cta-row .btn { padding: 0 2.5rem; }
.hero-cta-row .btn:hover { transform: scale(1.05); }

.hero-marquee-wrap { position: absolute; bottom: 0; left: 0; right: 0; z-index: 10; }

/* Marquee */
.theme-marquee { width: 100%; overflow: hidden; border-top: 1px solid rgb(255 255 255 / 0.1); border-bottom: 1px solid rgb(255 255 255 / 0.1); background: rgb(0 0 0 / 0.4); backdrop-filter: blur(4px); padding: 1rem 0; }
.theme-marquee-track { display: flex; width: max-content; align-items: center; gap: 2rem; white-space: nowrap; animation: theme-marquee 32s linear infinite; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .theme-marquee-track { animation: none; } }
@keyframes theme-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.theme-marquee-item { display: flex; align-items: center; gap: 2rem; }
.theme-marquee-text { font-family: var(--font-display); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.2em; color: rgb(255 255 255 / 0.9); }
@media (min-width: 768px) { .theme-marquee-text { font-size: 1rem; } }
.theme-marquee-icon { color: var(--color-primary); flex-shrink: 0; }

/* -----------------------------------------------------------------------
   7. About section
   -------------------------------------------------------------------- */
.about-section { background: var(--color-dark-section); position: relative; overflow: hidden; }
.about-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 600px; background: color-mix(in srgb, var(--color-primary) 5%, transparent); border-radius: 999px; filter: blur(120px); }
.about-inner { padding-block: 6rem; position: relative; z-index: 1; }
@media (min-width: 768px) { .about-inner { padding-block: 8rem; } }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }

.about-media { position: relative; }
/* Room for Lovable-style floating stat card (-top-6 -right-6) so it stays inside the column */
@media (min-width: 768px) {
	.about-media {
		padding-top: 1.5rem;
		padding-right: 1.5rem;
	}
}
.about-image-frame { position: relative; border-radius: 1rem; overflow: hidden; box-shadow: 0 30px 80px -30px rgb(0 0 0 / 0.8); height: 380px; }
@media (min-width: 768px) { .about-image-frame { height: 520px; } }
.about-image-gradient { position: absolute; inset: 0; background: linear-gradient(to top, var(--color-dark-section), color-mix(in srgb, var(--color-dark-section) 20%, transparent), transparent); }
.about-badge { position: absolute; bottom: 1.5rem; left: 1.5rem; display: flex; align-items: center; gap: 1rem; z-index: 2; }
.about-badge-icon { width: 4rem; height: 4rem; border-radius: 999px; overflow: hidden; background: rgb(255 255 255 / 0.1); backdrop-filter: blur(8px); padding: 0.75rem; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 30%, transparent); }
@media (min-width: 768px) { .about-badge-icon { width: 5rem; height: 5rem; } }
.about-badge-logo { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1); }
.about-badge-text { font-family: var(--font-display); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; }
@media (min-width: 768px) { .about-badge-text { font-size: 1rem; } }
.about-stat-card {
	display: none; position: absolute; top: -1.5rem; right: -1.5rem;
	flex-direction: column; align-items: center; justify-content: center;
	width: 7rem; height: 7rem; border-radius: 1rem; z-index: 2;
	background: var(--color-primary); color: var(--color-primary-foreground);
	box-shadow: 0 20px 50px -15px color-mix(in srgb, var(--color-primary) 70%, transparent);
}
@media (min-width: 768px) { .about-stat-card { display: flex; } }
.about-stat-icon { margin-bottom: 0.25rem; }
.about-stat-text { font-family: var(--font-display); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; text-align: center; line-height: 1.2; }

.about-copy { color: #fff; }
.about-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .about-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .about-heading { font-size: 3rem; } }
.about-divider { width: 4rem; height: 2px; background: var(--color-primary); margin: 1.5rem 0 2rem; }
.about-cards { display: flex; flex-direction: column; gap: 1.25rem; }
.about-card {
	position: relative; overflow: hidden;
	background: rgb(255 255 255 / 0.07); backdrop-filter: blur(4px);
	padding: 1.75rem; border-radius: 0.75rem; border: 1px solid rgb(255 255 255 / 0.1);
	transition: border-color 0.4s ease, background-color 0.4s ease, transform 0.3s var(--ease-smooth);
}
@media (min-width: 768px) { .about-card { padding: 2rem; } }
.about-card:hover { border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); background: rgb(255 255 255 / 0.1); transform: translateY(-4px); }
.about-card-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--color-primary); transform: scaleY(0); transform-origin: top; transition: transform 0.5s ease; }
.about-card:hover .about-card-bar { transform: scaleY(1); }
.about-card-inner { display: flex; align-items: flex-start; gap: 1.25rem; }
.about-card-icon {
	width: 3rem; height: 3rem; border-radius: 0.75rem; flex-shrink: 0;
	display: flex; align-items: center; justify-content: center;
	background: color-mix(in srgb, var(--color-primary) 15%, transparent);
	color: var(--color-primary);
	transition: background-color 0.4s ease, color 0.4s ease;
}
.about-card:hover .about-card-icon { background: var(--color-primary); color: var(--color-primary-foreground); }
.about-card-title { font-size: 1.125rem; text-transform: uppercase; margin-bottom: 0.5rem; letter-spacing: 0.02em; }
.about-card-text { color: rgb(255 255 255 / 0.7); line-height: 1.6; font-size: 0.9375rem; }
.about-tagline { font-family: var(--font-display); font-size: 1.125rem; text-transform: uppercase; color: var(--color-primary); letter-spacing: 0.02em; margin-top: 2rem; }
@media (min-width: 768px) { .about-tagline { font-size: 1.25rem; } }

/* -----------------------------------------------------------------------
   8. Services / Solutions
   -------------------------------------------------------------------- */
.services-inner { padding-block: 4rem; }
@media (min-width: 768px) { .services-inner { padding-block: 6rem; } }
.section-intro { text-align: center; margin-bottom: 3rem; }
.offerings-section-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .offerings-section-heading { font-size: 3rem; } }
.services-group { margin-bottom: 3.5rem; }
.services-group-heading { font-size: 1.25rem; text-transform: uppercase; text-align: center; margin-bottom: 2rem; color: var(--color-primary); }
@media (min-width: 768px) { .services-group-heading { font-size: 1.5rem; } }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(0, 1fr)); gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.service-card {
	background: #fff; border-radius: 0.75rem; overflow: hidden; box-shadow: var(--shadow-elevated);
	transition: box-shadow 0.5s ease, transform 0.3s var(--ease-smooth);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 48px -12px rgb(0 0 0 / 0.25); }
.service-card-image-wrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.service-card-image { transition: transform 0.7s ease-out; }
.service-card:hover .service-card-image { transform: scale(1.05); }
.service-card-body { padding: 1.25rem; }
.service-card-title-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; min-width: 0; }
.service-card-icon { color: var(--color-primary); flex-shrink: 0; }
.service-card-title { font-size: 1rem; text-transform: uppercase; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.service-card-desc { font-size: 0.875rem; color: var(--color-muted-foreground); }

/* -----------------------------------------------------------------------
   9. Why Choose Us
   -------------------------------------------------------------------- */
.whyus-section { background: var(--color-secondary); position: relative; overflow: hidden; }
.whyus-glow { position: absolute; top: 0; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 600px; background: color-mix(in srgb, var(--color-primary) 5%, transparent); border-radius: 999px; filter: blur(64px); }
.whyus-inner { padding-block: 5rem; position: relative; z-index: 1; }
@media (min-width: 768px) { .whyus-inner { padding-block: 7rem; } }
.whyus-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .whyus-heading { font-size: 3rem; } }
.whyus-divider { width: 4rem; height: 2px; background: color-mix(in srgb, var(--color-primary) 40%, transparent); margin: 1rem auto 0; }
.whyus-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 64rem; margin: 3.5rem auto 0; }
@media (min-width: 768px) { .whyus-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.whyus-card {
	text-align: center; background: var(--color-background); border-radius: 0.75rem;
	box-shadow: var(--shadow-soft); padding: 2rem;
	transition: box-shadow 0.5s ease, transform 0.4s var(--ease-smooth);
}
.whyus-card:hover { box-shadow: var(--shadow-elevated); transform: translateY(-4px); }
.whyus-card-icon { width: 3.5rem; height: 3.5rem; margin: 0 auto 1.25rem; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--color-primary) 10%, transparent); color: var(--color-primary); }
.whyus-card-title { font-size: 1rem; text-transform: uppercase; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .whyus-card-title { font-size: 1.125rem; } }
.whyus-card-desc { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; }

/* -----------------------------------------------------------------------
   10. Portfolio
   -------------------------------------------------------------------- */
.portfolio-section { background: var(--color-dark-section-alt); }
.portfolio-inner { padding-block: 4rem; }
@media (min-width: 768px) { .portfolio-inner { padding-block: 6rem; } }
.portfolio-heading { color: #fff; font-size: 1.875rem; }
@media (min-width: 768px) { .portfolio-heading { font-size: 3rem; } }
.portfolio-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .portfolio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.portfolio-item { position: relative; aspect-ratio: 4 / 3; border-radius: 0.5rem; overflow: hidden; }
.portfolio-item-image { transition: transform 0.7s ease-out; }
.portfolio-item:hover .portfolio-item-image { transform: scale(1.05); }
.portfolio-item-overlay { position: absolute; inset: 0; background: rgb(0 0 0 / 0.3); transition: background-color 0.5s ease; }
.portfolio-item:hover .portfolio-item-overlay { background: rgb(0 0 0 / 0.4); }
.portfolio-item-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem; background: linear-gradient(to top, rgb(0 0 0 / 0.7), transparent); }
.portfolio-item-category { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-primary); display: block; margin-bottom: 0.25rem; }
.portfolio-item-title { color: #fff; font-size: 0.875rem; text-transform: uppercase; }
@media (min-width: 768px) { .portfolio-item-title { font-size: 1rem; } }

/* -----------------------------------------------------------------------
   11. Shop section
   -------------------------------------------------------------------- */
.shop-section { padding-block: 4rem; }
@media (min-width: 768px) { .shop-section { padding-block: 5rem; } }
.shop-header { text-align: center; margin-bottom: 3rem; }
.shop-heading { font-size: 1.875rem; font-weight: 700; margin-bottom: 2rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
.shop-category-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.shop-cat-btn {
	padding: 0.625rem 1.25rem; font-size: 0.875rem; border-radius: var(--radius);
	background: var(--color-secondary); color: var(--color-secondary-foreground);
	transition: background-color 0.3s ease, transform 0.15s ease;
}
.shop-cat-btn:hover { background: color-mix(in srgb, var(--color-secondary) 60%, #000 10%); transform: scale(1.05); }
.shop-cat-btn:active { transform: scale(0.95); }
.shop-cat-btn.is-active { background: var(--color-primary); color: var(--color-primary-foreground); }

.shop-price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.shop-price-toggle {
	display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 0.875rem;
	background: var(--color-secondary); color: var(--color-secondary-foreground); border-radius: var(--radius);
	transition: background-color 0.3s ease;
}
.shop-price-toggle:hover { background: color-mix(in srgb, var(--color-secondary) 60%, #000 10%); }
.shop-price-toggle-value { font-size: 0.75rem; opacity: 0.7; }
.shop-price-chevron { transition: transform 0.3s ease; }
.shop-price-toggle.is-open .shop-price-chevron { transform: rotate(180deg); }
.shop-price-panel { width: 100%; max-width: 24rem; overflow: hidden; height: 0; opacity: 0; transition: height 0.3s var(--ease-smooth), opacity 0.3s var(--ease-smooth); }
.shop-price-panel.is-open { height: auto; opacity: 1; padding: 0.5rem 0; }

.price-range-wrapper { position: relative; height: 1.5rem; margin-bottom: 0.75rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 999px; }
.range-track-bg { left: 0; right: 0; background: var(--color-secondary); }
.range-track-fill { background: var(--color-primary); }
.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-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; border-radius: 999px; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border-radius: 999px; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }
.price-range-labels { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--color-muted-foreground); }

.theme-product-grid, .shop-product-grid {
	display: grid; grid-template-columns: 1fr; gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 768px) { .theme-product-grid, .shop-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.related-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .related-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card-wrap[data-hidden-by-filter="true"],
.theme-product-card-wrap[data-hidden-by-limit="true"] { display: none; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #fff; margin-bottom: 1rem; }
.theme-product-card__image-wrapper .theme-product-card__image,
.theme-product-card__image-wrapper .product-card-img {
	position: absolute !important;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: center center;
	transition: transform 0.6s var(--ease-smooth);
	transform-origin: center center;
}
.theme-product-card:hover .theme-product-card__image { transform: scale(1.08); }
.theme-product-card__badge {
	position: absolute; top: 0.5rem; left: 0.5rem; padding: 0.375rem 0.75rem;
	font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
	background: var(--color-foreground); color: var(--color-background);
}
@media (min-width: 768px) { .theme-product-card__badge { top: 0.75rem; left: 0.75rem; } }
.theme-product-card__info { flex: 1; display: flex; flex-direction: column; gap: 0.25rem; }
.theme-product-card__title { font-size: 0.875rem; font-weight: 500; transition: color 0.3s ease; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price, .theme-product-card__price .price { font-size: 0.875rem; color: var(--color-muted-foreground); font-weight: 600; }
.theme-product-card__price ins { text-decoration: none; }
.theme-product-card__price del { opacity: 0.6; margin-right: 0.4em; }

.shop-empty-message { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); display: none; }
.shop-show-more-wrap { text-align: center; margin-top: 2.5rem; }

/* -----------------------------------------------------------------------
   12. FAQ
   -------------------------------------------------------------------- */
.faq-section { background: var(--color-dark-section-alt); position: relative; overflow: hidden; }
.faq-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 600px; background: color-mix(in srgb, var(--color-primary) 5%, transparent); border-radius: 999px; filter: blur(120px); }
.faq-inner { padding-block: 5rem; position: relative; z-index: 1; }
@media (min-width: 768px) { .faq-inner { padding-block: 7rem; } }
.faq-heading { color: #fff; font-size: 1.875rem; }
@media (min-width: 768px) { .faq-heading { font-size: 3rem; } }
.faq-divider { width: 4rem; height: 2px; background: color-mix(in srgb, var(--color-primary) 40%, transparent); margin: 1rem auto 0; }
.faq-list { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: 2.5rem; }
.faq-category-title { font-size: 1.125rem; font-weight: 500; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgb(255 255 255 / 0.1); text-transform: uppercase; color: #fff; }
@media (min-width: 768px) { .faq-category-title { font-size: 1.25rem; } }
.faq-items { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border: 1px solid rgb(255 255 255 / 0.1); border-radius: 0.5rem; overflow: hidden; background: rgb(255 255 255 / 0.03); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem; text-align: left; transition: background-color 0.3s ease; }
.faq-question:hover { background: rgb(255 255 255 / 0.05); }
.faq-question-text { font-weight: 500; padding-right: 1rem; font-size: 0.875rem; color: rgb(255 255 255 / 0.9); }
.faq-chevron { flex-shrink: 0; color: var(--color-muted-foreground); transition: transform 0.3s ease, color 0.3s ease; }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); color: var(--color-primary); }
.faq-answer { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.4s var(--ease-smooth), opacity 0.4s var(--ease-smooth); }
.faq-answer-text { padding: 0 1.25rem 1.25rem; color: rgb(255 255 255 / 0.7); font-size: 0.875rem; line-height: 1.6; white-space: pre-line; }
.faq-item.is-open .faq-answer { max-height: 40rem; opacity: 1; }

/* -----------------------------------------------------------------------
   13. Contact section
   -------------------------------------------------------------------- */
.contact-section { position: relative; overflow: hidden; background: var(--color-dark-section); }
.contact-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 75%, transparent); }
.contact-inner { padding-block: 5rem; position: relative; z-index: 1; }
@media (min-width: 768px) { .contact-inner { padding-block: 7rem; } }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3.5rem; max-width: 72rem; margin: 0 auto; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.contact-title { color: #fff; font-size: 1.875rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .contact-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .contact-title { font-size: 3rem; } }
.contact-text { color: rgb(255 255 255 / 0.9); font-size: 0.9375rem; line-height: 1.6; margin-bottom: 2.5rem; max-width: 28rem; }
.contact-methods { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-method { display: flex; align-items: center; gap: 1rem; }
.contact-method-icon {
	width: 2.75rem; height: 2.75rem; border-radius: 0.5rem; flex-shrink: 0;
	display: flex; align-items: center; justify-content: center;
	background: color-mix(in srgb, var(--color-primary) 15%, transparent); color: var(--color-primary);
	transition: background-color 0.3s ease;
}
a.contact-method:hover .contact-method-icon { background: color-mix(in srgb, var(--color-primary) 25%, transparent); }
.contact-method-copy { display: flex; flex-direction: column; min-width: 0; }
.contact-method-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: #8d97a5; }
.contact-method-value { color: #fff; font-size: 0.875rem; transition: color 0.3s ease; overflow-wrap: break-word; }
a.contact-method:hover .contact-method-value { color: var(--color-primary); }

.contact-form-wrap { position: relative; }
.contact-form {
	background: rgb(255 255 255 / 0.07); backdrop-filter: blur(8px);
	padding: 1.75rem; border-radius: 0.5rem; border: 1px solid rgb(255 255 255 / 0.1);
	display: flex; flex-direction: column; gap: 1.25rem;
}
@media (min-width: 768px) { .contact-form { padding: 2.25rem; } }
.contact-form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .contact-form-row { grid-template-columns: 1fr 1fr; } }
.contact-form-field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; color: #b8bec7; }
.contact-form-field input, .contact-form-field textarea {
	width: 100%; padding: 0.75rem 1rem; background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.12);
	border-radius: 0.375rem; font-size: 0.875rem; color: #fff; transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-form-field input::placeholder, .contact-form-field textarea::placeholder { color: #707d8f; }
.contact-form-field input:focus, .contact-form-field textarea:focus {
	outline: none; border-color: color-mix(in srgb, var(--color-primary) 30%, transparent);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent);
}
.contact-form-field textarea { resize: none; }
.contact-submit-btn { width: 100%; }
.contact-submit-btn:hover { transform: scale(1.03); }
.contact-submit-btn:active { transform: scale(0.97); }

.contact-success-state { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2.5rem 0; }
.contact-success-icon { width: 4rem; height: 4rem; background: var(--color-primary); color: var(--color-primary-foreground); display: flex; align-items: center; justify-content: center; border-radius: 0.5rem; margin-bottom: 1.5rem; }
.contact-success-heading { font-size: 1.5rem; text-transform: uppercase; color: #fff; margin-bottom: 0.5rem; }
.contact-success-text { color: #9ba4b0; }

/* -----------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--color-border); }
.site-footer-inner { padding-block: 3rem; }
@media (min-width: 1024px) { .site-footer-inner { padding-block: 4rem; } }
.site-footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .site-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }
.site-footer-brand .site-brand { display: inline-flex; align-items: center; gap: 0.75rem; }
.site-footer-brand .site-logo-img { width: 2.5rem; height: 2.5rem; }
.site-footer-brand .site-logo-text { display: inline; font-size: 1.25rem; color: var(--color-foreground); }
.site-footer-tagline { margin-top: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); max-width: 24rem; line-height: 1.6; }
.site-footer-slogan { margin-top: 0.75rem; font-size: 0.875rem; font-weight: 500; color: var(--color-primary); }
.site-footer-heading { font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.site-footer-nav,
.site-footer-col .theme-nav-list,
.site-footer-col .theme-nav-fallback {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
}
.site-footer-nav .theme-nav-link,
.site-footer-nav a,
.site-footer-col .theme-nav-link {
	font-size: 0.875rem;
	color: var(--color-muted-foreground);
	transition: color 0.2s ease;
}
.site-footer-nav .theme-nav-link:hover,
.site-footer-nav a:hover,
.site-footer-col .theme-nav-link:hover { color: var(--color-foreground); }
.site-footer-nav .theme-nav-link::after,
.site-footer-col .theme-nav-link::after { display: none; }
.site-footer-contact { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer-contact li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.site-footer-contact a { transition: color 0.2s ease; overflow-wrap: anywhere; }
.site-footer-contact a:hover { color: var(--color-foreground); }
.site-footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .site-footer-bottom { flex-direction: row; justify-content: space-between; } }
.site-footer-copyright, .site-footer-credit { font-size: 0.75rem; color: var(--color-muted-foreground); }
.site-footer-credit:hover { color: var(--color-foreground); }

/* -----------------------------------------------------------------------
   15. 404 page
   -------------------------------------------------------------------- */
.theme-404-page { min-height: 100vh; display: flex; align-items: center; padding-top: var(--header-height); }
.theme-404-inner { text-align: center; padding-block: 5rem; }
.theme-404-heading { font-size: 2.5rem; text-transform: uppercase; margin-bottom: 1rem; }
.theme-404-text { color: var(--color-muted-foreground); margin-bottom: 2rem; }
.theme-generic-page { padding-top: calc(var(--header-height) + 2rem); padding-bottom: 4rem; }
.theme-generic-page .page-title { font-size: 2rem; text-transform: uppercase; margin-bottom: 2rem; }

/* -----------------------------------------------------------------------
   16. Single product page
   -------------------------------------------------------------------- */
.single-product-page { padding-top: calc(var(--header-height) + 1.5rem); padding-bottom: 5rem; }
.back-to-shop-row { padding: 1.5rem 0; }
.back-to-shop-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.back-to-shop-link:hover { color: var(--color-foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 3rem; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }

.theme-product-thumbnails-viewport { position: relative; aspect-ratio: 3 / 4; background: var(--color-secondary); overflow: hidden; margin-bottom: 1rem; }
.theme-product-thumbnails-viewport .theme-product-main-image,
.theme-product-thumbnails-viewport .cover-img {
	position: absolute !important;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: center center;
}
.theme-product-thumbnails { display: flex; flex-wrap: wrap; gap: 0.5rem; max-width: 100%; }
.theme-product-thumb { position: relative; aspect-ratio: 1 / 1; width: calc(20% - 0.4rem); overflow: hidden; border: 2px solid transparent; opacity: 0.6; transition: opacity 0.2s ease, border-color 0.2s ease; }
.theme-product-thumb:hover { opacity: 1; }
.theme-product-thumb.is-active { border-color: var(--color-primary); opacity: 1; }

.theme-product-category {
	display: block;
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	pointer-events: none;
	cursor: default;
}
.theme-product-category a {
	color: inherit;
	pointer-events: none;
	cursor: default;
	text-decoration: none;
}
.product-title { font-family: var(--font-body); font-weight: 700; font-size: 1.5rem; margin: 0.5rem 0 1rem; }
@media (min-width: 768px) { .product-title { font-size: 1.875rem; } }
.theme-product-price { font-size: 1.5rem; font-weight: 600; color: var(--color-primary); margin-bottom: 1.5rem; }
.theme-stock-status { font-size: 0.875rem; margin-bottom: 1rem; font-weight: 500; }
.theme-stock-status--out { color: var(--color-destructive); }
.theme-product-description { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.75rem 1rem; transition: background-color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: 3.5rem; text-align: center; border: none; background: transparent; -moz-appearance: textfield; padding: 0.75rem 0; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single_add_to_cart_button.theme-btn-primary { flex: 1 1 auto; min-width: 160px; }

.theme-product-details { border-top: 1px solid var(--color-border); padding-top: 2rem; }
.theme-details-heading { font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; }
.theme-details-content ul { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-details-content li { font-size: 0.875rem; color: var(--color-muted-foreground); display: flex; align-items: flex-start; }
.theme-details-content li::before { content: ''; width: 6px; height: 6px; background: var(--color-primary); border-radius: 999px; margin: 0.45rem 0.75rem 0 0; flex-shrink: 0; }

.related-products-section { padding-block: 4rem; border-top: 1px solid var(--color-border); }
.related-products-heading { font-size: 1.25rem; font-weight: 700; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .related-products-heading { font-size: 1.5rem; } }

/* Variations table layout (Section 11.5.1) */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; font-weight: 600; }
.single-product .variations tbody td.value { padding-top: 0; margin-bottom: 1rem; }
.theme-attr-select-hidden { display: none !important; }
.single_variation_wrap { margin-top: 1rem; }

/* -----------------------------------------------------------------------
   17. Shop archive page
   -------------------------------------------------------------------- */
.woocommerce-archive-page { padding-top: calc(var(--header-height) + 2rem); padding-bottom: 4rem; }
.archive-header { margin-bottom: 2.5rem; }
.archive-header .page-title { font-size: 2rem; text-transform: uppercase; }
.archive-pagination { margin-top: 3rem; text-align: center; }
.archive-pagination .page-numbers { display: inline-flex; align-items: center; gap: 0.5rem; }
.archive-pagination .page-numbers li { display: inline-block; }
.archive-pagination .page-numbers a, .archive-pagination .page-numbers span { display: inline-flex; padding: 0.5rem 0.875rem; border: 1px solid var(--color-border); border-radius: var(--radius); font-size: 0.875rem; }
.archive-pagination .page-numbers .current { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

/* -----------------------------------------------------------------------
   18. 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;
}
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* -----------------------------------------------------------------------
   19. WooCommerce notices (Section 14.1)
   -------------------------------------------------------------------- */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-error, .woocommerce-message, .woocommerce-info {
	list-style: none; padding: 1rem 1.25rem; border-radius: var(--radius);
	font-size: 0.875rem; margin: 0 0 1.5rem;
}
.woocommerce-error { background: color-mix(in srgb, var(--color-destructive) 12%, transparent); color: var(--color-destructive); border: 1px solid color-mix(in srgb, var(--color-destructive) 30%, transparent); }
.woocommerce-message, .woocommerce-info { background: var(--color-secondary); color: var(--color-secondary-foreground); border: 1px solid var(--color-border); }

/* -----------------------------------------------------------------------
   20. Side cart drawer
   -------------------------------------------------------------------- */
#theme-cart-overlay { position: fixed; inset: 0; background: color-mix(in srgb, var(--color-foreground) 20%, transparent); z-index: 60; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem;
	background: var(--color-background); z-index: 61; box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.4s var(--ease-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer-title { font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer-close { padding: 0.25rem; transition: opacity 0.2s ease; }
.theme-cart-drawer-close:hover { opacity: 0.6; }

.theme-cart-drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-drawer-empty-icon { color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-cart-drawer-empty-text { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }

.theme-cart-drawer-items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-drawer-item { display: flex; gap: 1rem; }
.theme-cart-drawer-item-image { position: relative; width: 5rem; height: 6rem; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; }
.theme-cart-drawer-item-image img,
.theme-cart-drawer-item-image .theme-cart-drawer-item-img {
	position: absolute !important;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: center center;
}
.theme-cart-drawer-item-info { flex: 1; min-width: 0; }
.theme-cart-drawer-item-name { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity 0.2s ease; }
.theme-cart-drawer-item-name:hover { opacity: 0.7; }
.theme-cart-drawer-item-price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.theme-cart-drawer-item-variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-cart-drawer-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { padding: 0.25rem; border-radius: var(--radius); transition: background-color 0.2s ease; }
.theme-cart-qty-btn:hover { background: var(--color-secondary); }
.theme-cart-qty-value { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-remove-btn { margin-left: auto; font-size: 0.75rem; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.theme-cart-remove-btn:hover { color: var(--color-foreground); }

.theme-cart-drawer-footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer-subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer-subtotal span:first-child { color: var(--color-muted-foreground); }
.theme-cart-drawer-subtotal span:last-child { font-weight: 500; }
.theme-cart-drawer-shipping-note { font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-checkout-btn { width: 100%; }

/* -----------------------------------------------------------------------
   21. Cart & My Account page width parity (Section 13.7)
   -------------------------------------------------------------------- */
.woocommerce-cart .site-main, .woocommerce-account .site-main {
	padding-top: calc(var(--header-height) + 2rem); padding-bottom: 4rem;
}
.woocommerce-cart table.shop_table, .woocommerce-account table { width: 100%; border-collapse: collapse; }
.woocommerce-cart table.shop_table th, .woocommerce-cart table.shop_table td { padding: 1rem; border-bottom: 1px solid var(--color-border); text-align: left; }
.woocommerce-cart .button, .woocommerce-account .button {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--color-primary); color: var(--color-primary-foreground);
	padding: 0.75rem 1.5rem; border-radius: var(--btn-radius); font-size: 0.875rem;
}

/* -----------------------------------------------------------------------
   22. Checkout Block (Section 13)
   -------------------------------------------------------------------- */
body.woocommerce-checkout .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-checkout .page-title { font-size: 2rem; text-transform: uppercase; margin: 2.5rem 0 2rem; }

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout {
	display: block;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
}

/* Two equal columns on the layout wrapper only — never on the sidebar itself. */
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
		width: 100%;
	}
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-components-main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block {
	min-width: 0;
	width: 100% !important;
	max-width: none !important;
	flex: none !important;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar {
	display: block !important;
	background-color: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: 2rem;
}

/* Order summary must fill the sidebar column */
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-checkout__sidebar > *,
body.woocommerce-checkout .wc-block-components-sidebar > * {
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	width: 100% !important; max-width: none !important;
	font-family: var(--font-body);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background-color: var(--color-background);
	color: var(--color-foreground);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	border-color: var(--color-primary);
	outline: none;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: var(--color-muted-foreground); }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	text-transform: none !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: var(--radius); grid-column: 1 / -1; }
body.woocommerce-checkout h2, body.woocommerce-checkout h3 { font-family: var(--font-display); text-transform: uppercase; }

/* -----------------------------------------------------------------------
   23. Thank-you page (Section 22.8)
   -------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-top: calc(var(--header-height) + 2rem); padding-bottom: 4rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-size: 1.5rem; text-transform: uppercase; padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; margin: 0 0 2rem; }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td { padding: 0.75rem; border-bottom: 1px solid var(--color-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;
}
@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; max-width: 480px; overflow-wrap: break-word; font-style: normal; }

/* -----------------------------------------------------------------------
   24. Utility: card pointer-events overlay pattern guard note
   -------------------------------------------------------------------- */
/* No overlay pattern needed — product cards have no nested interactive
   elements (design shows no add-to-cart button on cards, Section 19.1). */
