/* =========================================================
   Tag Your It Industry — theme.css
   ========================================================= */

:root {
	--background: #fdfbfd;
	--foreground: #1f1229;
	--primary: #3a2264;
	--primary-foreground: #ffffff;
	--secondary: #f5eef7;
	--accent: #dd3b96;
	--accent-foreground: #ffffff;
	--muted-foreground: #655c6c;
	--border: #e6dcea;
	--button-text: #ffffff;
	--logo-height: 44px;

	--font-display: 'Plus Jakarta Sans', sans-serif;
	--font-body: 'Inter', sans-serif;

	--radius: 0.5rem;
	--card-radius: 0.75rem;
	--btn-radius: 0.5rem;
	--btn-height: 2.5rem;
	--btn-padding: 0 1rem;
	--btn-font-size: 0.875rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0;
	--btn-text-transform: none;
	--btn-icon-padding: 0;
	--header-height: 80px;
	--admin-bar-height: 0px;
	--scroll-offset: calc(var(--header-height) + var(--admin-bar-height) + 1rem);
	--checkout-gap: 2rem;
	/* Lovable parity: container-wide px-6 lg:px-8; carousels/tabs use mx-4 bleed */
	--site-gutter: 1.5rem;
	--site-gutter-lg: 2rem;
	--site-bleed: 1rem;
	--site-bleed-portfolio: 1.25rem;

	--shadow-soft: 0 2px 16px -4px rgba(38, 16, 56, 0.08);
	--shadow-elevated: 0 8px 30px -8px rgba(38, 16, 56, 0.18);
	--ease-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);
}

/* ---------------- Reset & base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--background);
	color: var(--foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-weight: inherit; font-size: inherit; margin: 0; font-family: var(--font-display); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
img.cover-img,
img.hero-bg-img,
img.product-card-img,
img.theme-product-main-img,
.theme-product-thumb img {
	max-width: none;
	height: 100%;
}
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* Clickable elements — hand cursor (Lovable parity) */
a[href], button, [role="button"], label[for], input[type="submit"], input[type="button"], input[type="reset"],
select, summary, .shop-tab, .collection-tile, .theme-carousel-btn, .theme-carousel-arrow,
.theme-carousel-dots button, .faq-question, .theme-attr-pill, .theme-product-thumb,
.theme-nav-list button, .theme-card-link, .cart-toggle, .mobile-menu-toggle, .theme-modal-close,
.theme-product-card__quick-add, .service-card-link, .back-to-shop-link, .theme-cart-item-remove,
.theme-cart-item-controls button, .theme-qty-minus, .theme-qty-plus {
	cursor: pointer;
}
button:disabled, [aria-disabled="true"], .theme-carousel-btn[disabled] { cursor: not-allowed; }

/* WordPress admin bar offset */
body.admin-bar { --admin-bar-height: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar { --admin-bar-height: 46px; }
}
body.admin-bar .site-header { top: var(--admin-bar-height); }
body.admin-bar #theme-cart-drawer {
	top: var(--admin-bar-height);
	height: calc(100% - var(--admin-bar-height));
}

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin-inline: auto;
	padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
	padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
}
@media (min-width: 1024px) {
	.container-wide {
		padding-left: max(2rem, env(safe-area-inset-left, 0px));
		padding-right: max(2rem, env(safe-area-inset-right, 0px));
	}
}

/* Keep Lovable gutters when utility classes also set vertical padding. */
.container-wide.section-padding,
.container-wide.hero-content,
.container-wide.contact-inner,
.container-wide.single-product-inner,
.container-wide.site-footer-inner,
.container-wide.notfound-inner {
	padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
	padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
}
@media (min-width: 1024px) {
	.container-wide.section-padding,
	.container-wide.hero-content,
	.container-wide.contact-inner,
	.container-wide.single-product-inner,
	.container-wide.site-footer-inner,
	.container-wide.notfound-inner {
		padding-left: max(2rem, env(safe-area-inset-left, 0px));
		padding-right: max(2rem, env(safe-area-inset-right, 0px));
	}
}

/* WordPress / WooCommerce full-bleed blocks inside the content shell. */
.container-wide .alignfull,
.container-wide .alignwide,
.container-wide .wp-block-group.alignfull,
.container-wide .wp-block-group.alignwide {
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
}
.scroll-mt-24 { scroll-margin-top: var(--scroll-offset); }
.section-padding { padding-block: 5rem; }
@media (min-width: 768px) { .section-padding { padding-block: 7rem; } }

.text-accent { color: var(--accent); }
.theme-eyebrow { display: block; font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted-foreground); font-family: var(--font-body); }
.theme-eyebrow-accent { color: var(--accent); font-weight: 600; }
.section-heading { font-size: 1.875rem; font-weight: 700; margin-top: 0.75rem; }
@media (min-width: 768px) { .section-heading { font-size: 3rem; } }
.section-header-center { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.section-header-center p { margin-top: 1rem; color: var(--muted-foreground); }

/* ---------------- Buttons (Lovable: h-10, rounded-md, font-medium) ---------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	border-radius: var(--btn-radius); min-height: var(--btn-height); padding: var(--btn-padding);
	font-family: var(--font-body); font-size: var(--btn-font-size); font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing); cursor: pointer; transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
	white-space: nowrap; line-height: 1.25;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); text-transform: var(--btn-text-transform); }
.btn-primary:hover { opacity: 0.9; }
.btn-accent { background: var(--accent); color: var(--accent-foreground); text-transform: uppercase; }
.btn-accent:hover { opacity: 0.9; }
.btn-outline {
	background: var(--background); border: 1px solid var(--border); color: var(--foreground);
	text-transform: none;
}
.btn-outline:hover { background: var(--secondary); color: var(--secondary-foreground, var(--foreground)); }
.btn-pill { border-radius: 999px; padding: 0 1.75rem; min-height: var(--btn-height); }
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn-hero-primary, .btn-hero-outline { text-transform: uppercase; letter-spacing: 0.03em; min-height: var(--btn-height); padding: 0 3rem; }
.btn-hero-primary { background: var(--accent); color: var(--accent-foreground); }
.btn-hero-primary:hover { opacity: 0.9; }
.btn-hero-outline { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.5); color: #fff; }
.btn-hero-outline:hover { background: rgba(255,255,255,0.25); }
.shop-view-all-row .btn { padding: 0.75rem 2rem; min-height: auto; border-radius: 0.5rem; text-transform: none; }

/* ---------------- 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,
.site-header.is-menu-open { background: rgba(253,251,253,0.95); backdrop-filter: blur(6px); border-bottom-color: var(--border); }
.site-header.is-menu-open .site-brand-name,
.site-header.is-menu-open .cart-toggle,
.site-header.is-menu-open .mobile-menu-toggle { color: var(--foreground); }
.site-nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.site-brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; }
.site-logo-text { line-height: var(--logo-height); display: block; font-family: var(--font-display); font-weight: 800; }
.site-brand-name {
	display: none; font-family: var(--font-display); font-weight: 800; letter-spacing: 0.18em;
	font-size: 0.9rem; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	color: #fff; transition: color 0.3s ease;
}
.site-header.is-solid .site-brand-name { color: var(--foreground); }
@media (min-width: 640px) { .site-brand-name { display: block; } }

.site-nav-desktop { display: none; }
@media (min-width: 1024px) { .site-nav-desktop { display: flex; align-items: center; gap: 1.75rem; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.75rem; }
.theme-nav-list a, .theme-nav-list button { font-size: 0.875rem; letter-spacing: 0.02em; color: #fff; transition: color 0.3s ease; }
.site-header.is-solid .theme-nav-list a,
.site-header.is-solid .theme-nav-list button { color: var(--foreground); }
.link-underline { position: relative; display: inline-block; }
.link-underline::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease-smooth); }
.theme-nav-list a:hover .link-underline::after,
.theme-nav-list li:hover .link-underline::after { transform: scaleX(1); }

.site-nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.cart-toggle { position: relative; padding: 0.5rem; color: #fff; transition: opacity 0.3s; }
.site-header.is-solid .cart-toggle { color: var(--foreground); }
.cart-toggle:hover { opacity: 0.6; }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px; width: 20px; height: 20px; display: flex; align-items: center;
	justify-content: center; font-size: 10px; font-weight: 600; background: var(--accent); color: var(--accent-foreground); border-radius: 999px;
}
.theme-cart-count:empty { display: none; }
.mobile-menu-toggle { padding: 0.5rem; color: #fff; }
.site-header.is-solid .mobile-menu-toggle { color: var(--foreground); }
.mobile-menu-toggle .icon-close { display: none; }
.mobile-menu-toggle.is-open .icon-menu { display: none; }
.mobile-menu-toggle.is-open .icon-close { display: block; }
@media (min-width: 1024px) { .mobile-menu-toggle { display: none; } }

.mobile-menu { display: none; border-top: 1px solid var(--border); padding-block: 1rem; }
.mobile-menu.is-open { display: block; animation: fadeIn 0.3s var(--ease-smooth); }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }
.theme-nav-list-mobile {
	display: flex; flex-direction: column; align-items: stretch; gap: 0.25rem;
	width: 100%; list-style: none; margin: 0; padding: 0;
}
.theme-nav-list-mobile > li { display: block; width: 100%; }
.theme-nav-list-mobile a,
.theme-nav-list-mobile button {
	display: block; width: 100%; text-align: left;
	padding: 0.75rem 0; font-size: 0.875rem; letter-spacing: 0.02em;
	color: var(--foreground); transition: color 0.2s ease;
}
.theme-nav-list-mobile a:hover,
.theme-nav-list-mobile button:hover { color: var(--accent); }
.theme-nav-list-mobile .sub-menu {
	display: flex; flex-direction: column; gap: 0.25rem;
	margin: 0.25rem 0 0; padding: 0 0 0 1rem; list-style: none;
}
.theme-nav-list-mobile .sub-menu a { padding: 0.5rem 0; font-size: 0.8125rem; }

/* ---------------- Hero ---------------- */
.hero-section { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay-1 { position: absolute; inset: 0; background: color-mix(in srgb, var(--primary) 75%, transparent); }
.hero-overlay-2 { position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--foreground) 50%, transparent), transparent, color-mix(in srgb, var(--foreground) 70%, transparent)); }
.hero-content { position: relative; z-index: 10; text-align: center; padding-block: 8rem; }
.hero-eyebrow-row { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
.hero-rule { width: 48px; height: 1px; background: rgba(255,255,255,0.4); display: block; }
.hero-eyebrow { color: rgba(255,255,255,0.8); font-weight: 500; }
.hero-title { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.5rem; color: #fff; font-weight: 800; letter-spacing: -0.02em; }
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 768px) { .hero-title { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 5.5rem; } }
.hero-subtitle { color: rgba(255,255,255,0.8); max-width: 36rem; margin: 0 auto 2.5rem; font-size: 1rem; line-height: 1.7; }
@media (min-width: 768px) { .hero-subtitle { font-size: 1.125rem; } }
.hero-ctas { display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }

/* ---------------- Marquee ---------------- */
.marquee-strip { background: var(--primary); color: var(--primary-foreground); overflow: hidden; padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.marquee-track { display: flex; white-space: nowrap; animation: marquee 25s linear infinite; width: max-content; }
.marquee-group { display: flex; align-items: center; flex-shrink: 0; }
.marquee-item { display: flex; align-items: center; flex-shrink: 0; }
.marquee-text { font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; font-weight: 500; padding: 0 2rem; }
.marquee-dot { color: var(--accent); font-size: 0.75rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }

/* ---------------- About ---------------- */
.about-inner { max-width: 48rem; margin: 0 auto; text-align: center; }
.about-body { color: var(--muted-foreground); font-size: 1rem; line-height: 1.7; max-width: 42rem; margin: 2rem auto 0; }
@media (min-width: 768px) { .about-body { font-size: 1.125rem; } }
.about-cards { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3.5rem; text-align: left; }
@media (min-width: 640px) { .about-cards { grid-template-columns: repeat(3, 1fr); } }
.about-card { border: 1px solid var(--border); background: color-mix(in srgb, var(--secondary) 60%, var(--background)); border-radius: var(--radius); padding: 1.5rem; }
.about-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; }
.about-card p { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.7; }

/* ---------------- Services ---------------- */
.services-section { background: var(--secondary); }
.services-header { display: flex; flex-direction: column; gap: 1.5rem; justify-content: space-between; margin-bottom: 3rem; }
@media (min-width: 768px) { .services-header { flex-direction: row; align-items: flex-end; } }
.services-header-copy { max-width: 42rem; }
.services-header-copy .section-heading { font-size: 2.25rem; line-height: 1.05; letter-spacing: -0.02em; }
@media (min-width: 768px) { .services-header-copy .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .services-header-copy .section-heading { font-size: 3.75rem; } }

.theme-carousel { position: relative; overflow: hidden; touch-action: pan-y; }
.services-section .theme-carousel {
	margin-inline: calc(-1 * var(--site-bleed));
	width: calc(100% + (2 * var(--site-bleed)));
}
.theme-carousel-wrap { position: relative; }
.theme-carousel-track { display: flex; transition: transform 0.5s var(--ease-smooth); will-change: transform; }
.theme-carousel-slide { flex: 0 0 92%; padding-inline: var(--site-bleed); box-sizing: border-box; }
@media (min-width: 640px) { .theme-carousel-slide { flex: 0 0 75%; } }
@media (min-width: 768px) { .theme-carousel-slide { flex: 0 0 62%; } }
@media (min-width: 1024px) { .theme-carousel-slide { flex: 0 0 50%; } }
.theme-carousel--portfolio .theme-carousel-track { margin-left: calc(-1 * var(--site-bleed-portfolio)); }
.theme-carousel--portfolio .theme-carousel-slide { flex: 0 0 100%; padding-left: var(--site-bleed-portfolio); padding-right: 0; box-sizing: border-box; }
@media (min-width: 640px) { .theme-carousel--portfolio .theme-carousel-slide { flex: 0 0 50%; } }
@media (min-width: 1024px) { .theme-carousel--portfolio .theme-carousel-slide { flex: 0 0 33.3333%; } }

.service-card { position: relative; aspect-ratio: 4/5; border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-elevated); }
@media (min-width: 768px) { .service-card { aspect-ratio: 16/11; } }
.service-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.service-card:hover .service-card-img { transform: scale(1.05); }
.service-card-scrim { position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--foreground) 85%, transparent), color-mix(in srgb, var(--foreground) 55%, transparent) 50%, color-mix(in srgb, var(--foreground) 95%, transparent)); }
.service-card-content { position: absolute; inset: 0; padding: 1.5rem; display: flex; flex-direction: column; color: #fff; }
@media (min-width: 768px) { .service-card-content { padding: 2.5rem; } }
.service-card-body { font-size: 1rem; line-height: 1.6; max-width: 78%; }
.service-card-bottom { margin-top: auto; padding-right: 0; }
@media (min-width: 768px) { .service-card-bottom { padding-right: 180px; } }
.service-card-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .service-card-title { font-size: 1.875rem; } }
.service-card-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: #fff; }
.service-card-link:hover { color: var(--accent); }
.service-card-stat {
	position: static; margin-top: 1rem; display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
	background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); backdrop-filter: blur(8px);
	border-radius: 0.75rem; padding: 0.75rem 1rem;
}
@media (min-width: 768px) {
	.service-card-stat { position: absolute; bottom: 2.5rem; right: 2.5rem; margin-top: 0; flex-direction: column; align-items: flex-start; min-width: 150px; padding: 1.25rem 1.5rem; }
}
.service-stat-label { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,0.7); }
.service-stat-value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
@media (min-width: 768px) { .service-stat-value { font-size: 2.25rem; } }
.service-stat-sub { font-size: 0.75rem; color: rgba(255,255,255,0.8); }

.theme-carousel-nav { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 2.5rem; }
.theme-carousel-btn {
	width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--border); display: flex;
	align-items: center; justify-content: center; transition: background-color 0.2s, color 0.2s;
}
.theme-carousel-btn:hover { background: var(--foreground); color: var(--background); }
.theme-carousel-btn[disabled] { opacity: 0.3; cursor: not-allowed; }

.theme-carousel-arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 2.75rem; height: 2.75rem; border-radius: 999px;
	background: rgba(253,251,253,0.9); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow-soft); color: var(--foreground); transition: background-color 0.2s;
}
.theme-carousel-arrow:hover { background: var(--background); }
.theme-carousel-wrap--portfolio .theme-carousel-arrow--prev { left: 0.5rem; }
.theme-carousel-wrap--portfolio .theme-carousel-arrow--next { right: 0.5rem; }
.theme-carousel-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.theme-carousel-dots button { height: 8px; width: 8px; border-radius: 999px; background: color-mix(in srgb, var(--foreground) 25%, transparent); transition: all 0.3s; padding: 0; }
.theme-carousel-dots button.is-active { width: 2rem; background: var(--accent); }
.theme-carousel-dots button:hover:not(.is-active) { background: color-mix(in srgb, var(--foreground) 40%, transparent); }

/* ---------------- Owner ---------------- */
.owner-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .owner-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.owner-copy .section-heading { font-size: 1.875rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .owner-copy .section-heading { font-size: 3rem; } }
.owner-paragraphs { display: flex; flex-direction: column; gap: 1rem; color: var(--muted-foreground); line-height: 1.7; }
.owner-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.owner-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; }
.owner-list svg { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.owner-copy .btn { margin-top: 2rem; }
.owner-image-wrap { position: relative; border-radius: 0.75rem; overflow: hidden; box-shadow: var(--shadow-elevated); aspect-ratio: 4/5; }
.owner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------------- Portfolio ---------------- */
.portfolio-section { background: var(--secondary); }
.portfolio-card { position: relative; overflow: hidden; border-radius: 0.75rem; border: 1px solid var(--border); background: var(--background); box-shadow: var(--shadow-soft); margin: 0; }
img.portfolio-card-img { width: 100%; max-width: 100%; height: 300px; object-fit: cover; transition: transform 0.7s ease; position: static; display: block; }
@media (min-width: 768px) { img.portfolio-card-img { height: 380px; } }
.portfolio-card:hover .portfolio-card-img { transform: scale(1.05); }
.portfolio-card-caption { position: absolute; inset-inline: 0; bottom: 0; background: linear-gradient(to top, color-mix(in srgb, var(--foreground) 90%, transparent), transparent); padding: 3rem 1.25rem 1.25rem; }
.portfolio-card-tag { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.7); font-weight: 600; }
.portfolio-card-title { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; line-height: 1.25; margin-top: 0.25rem; }

/* ---------------- Collections ---------------- */
.collections-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; max-width: 72rem; margin: 0 auto; }
@media (min-width: 768px) { .collections-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.collection-tile { position: relative; overflow: hidden; border-radius: 0.75rem; min-height: 320px; text-align: left; color: #fff; transition: box-shadow 0.3s; width: 100%; }
@media (min-width: 768px) { .collection-tile { min-height: 360px; } }
.collection-tile:hover { box-shadow: var(--shadow-elevated); }
.collection-tile-copy { position: relative; z-index: 10; padding: 2rem; max-width: 58%; }
@media (min-width: 768px) { .collection-tile-copy { padding: 3.5rem; } }
.collection-tile-copy h3 { font-size: 1.875rem; font-weight: 700; margin-bottom: 0.75rem; line-height: 1.2; }
@media (min-width: 768px) { .collection-tile-copy h3 { font-size: 2.25rem; } }
.collection-tile-copy p { font-size: 0.875rem; opacity: 0.85; line-height: 1.7; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .collection-tile-copy p { font-size: 1rem; } }
.collection-tile-cta { font-size: 0.875rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.collection-tile-image-wrap { position: absolute; right: 0; top: 0; bottom: 0; width: 50%; }
.collection-tile-image-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.collection-tile-fade { position: absolute; inset: 0; }

/* ---------------- Shop ---------------- */
.shop-section { background: var(--secondary); }
.shop-search-wrap { position: relative; max-width: 28rem; margin: 2.5rem auto 2rem; }
.shop-search-icon { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--muted-foreground); }
.shop-search-input { width: 100%; padding: 0.65rem 1rem 0.65rem 2.5rem; background: var(--background); border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.95rem; }
.shop-search-input:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 40%, transparent); }
.shop-category-tabs-wrap { position: relative; margin-inline: calc(-1 * var(--site-bleed)); margin-bottom: 1rem; }
@media (min-width: 640px) { .shop-category-tabs-wrap { margin-inline: 0; } }
.shop-category-tabs {
	display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.25rem; scrollbar-width: none;
	justify-content: flex-start; padding-inline: var(--site-bleed); scroll-snap-type: x mandatory;
}
.shop-category-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 640px) {
	.shop-category-tabs { flex-wrap: wrap; justify-content: center; overflow: visible; padding-inline: 0; scroll-snap-type: none; }
}
.shop-category-tabs-fade {
	pointer-events: none; position: absolute; top: 0; right: 0; height: 100%; width: 2.5rem;
	background: linear-gradient(to left, var(--secondary), transparent);
}
@media (min-width: 640px) { .shop-category-tabs-fade { display: none; } }
.shop-tab {
	scroll-snap-align: start;
	flex-shrink: 0; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.65rem 1.25rem; font-size: 0.875rem;
	border: 1px solid var(--border); border-radius: var(--radius); background: var(--background); color: var(--foreground); transition: all 0.2s;
}
.shop-tab:hover { border-color: color-mix(in srgb, var(--foreground) 30%, transparent); }
.shop-tab.is-active { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }

.theme-product-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: stretch; }
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.theme-product-grid--related { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.theme-product-card-wrap { display: flex; height: 100%; }
.theme-product-grid > [data-shop-item].is-hidden-extra,
.theme-product-grid > [data-shop-item].is-hidden-filtered,
.theme-product-card-wrap.is-hidden-extra { display: none; }
.theme-product-card-wrap.is-hidden-filtered { display: none; }
.theme-product-card { position: relative; display: flex; flex-direction: column; width: 100%; }
.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__quick-add,
.theme-product-card a.add_to_cart_button,
.theme-product-card__image-wrapper { pointer-events: auto; }
.theme-product-card__image-wrapper {
	position: relative; aspect-ratio: 4/5; background: var(--secondary); overflow: hidden; margin-bottom: 1rem;
	border: 1px solid var(--border); border-radius: var(--radius);
}
.theme-product-card__image-wrapper img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-smooth); }
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.04); }
.theme-stock-badge { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3; padding: 0.4rem 0.75rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; background: var(--foreground); color: var(--background); }
.theme-product-card__quick-add {
	position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 3; width: 36px; height: 36px; border-radius: 999px;
	background: var(--primary); color: var(--primary-foreground); display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow-soft); opacity: 1; transition: opacity 0.3s, transform 0.2s;
}
@media (min-width: 768px) { .theme-product-card__quick-add { opacity: 0; } .theme-product-card:hover .theme-product-card__quick-add { opacity: 1; } }
.theme-product-card__quick-add:hover { transform: scale(1.1); }
.theme-product-card__info { flex: 1; }
.theme-product-card__title { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.25rem; transition: color 0.3s; }
.theme-product-card:hover .theme-product-card__title { color: var(--accent); }
.theme-product-card__price { font-size: 0.875rem; color: var(--muted-foreground); font-weight: 600; }
.theme-product-card__price ins { text-decoration: none; }
.theme-product-card__price del { opacity: 0.6; margin-right: 0.35rem; }

.shop-view-all-row { text-align: center; margin-top: 3rem; }
.shop-empty-state { text-align: center; padding-block: 5rem; color: var(--muted-foreground); }

/* ---------------- Testimonials ---------------- */
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card { border-radius: 0.75rem; border: 1px solid var(--border); background: color-mix(in srgb, var(--secondary) 40%, var(--background)); padding: 1.75rem; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; }
.testimonial-quote-icon { color: color-mix(in srgb, var(--accent) 30%, transparent); margin-bottom: 1rem; }
.testimonial-quote { font-size: 0.95rem; line-height: 1.7; color: var(--muted-foreground); flex: 1; }
.testimonial-stars { display: flex; gap: 2px; margin: 1.5rem 0 1rem; color: var(--accent); }
.testimonial-name { font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; }
.testimonial-role { font-size: 0.75rem; color: var(--muted-foreground); }

/* ---------------- Pricing ---------------- */
.pricing-section { background: var(--secondary); }
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: stretch; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.pricing-card { display: flex; flex-direction: column; border: 1px solid var(--border); background: var(--background); border-radius: 0.75rem; padding: 1.75rem; box-shadow: var(--shadow-soft); position: relative; }
.pricing-card.is-featured { border-color: var(--accent); background: var(--primary); color: var(--primary-foreground); box-shadow: var(--shadow-elevated); }
@media (min-width: 768px) { .pricing-card.is-featured { margin-top: -1rem; margin-bottom: 1rem; } }
.pricing-badge { position: absolute; top: -0.75rem; left: 1.75rem; border-radius: 999px; background: var(--accent); color: var(--accent-foreground); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.25rem 0.75rem; }
.pricing-plan-name { font-size: 1.25rem; font-weight: 700; }
.pricing-plan-blurb { font-size: 0.875rem; margin-top: 0.5rem; color: var(--muted-foreground); }
.pricing-card.is-featured .pricing-plan-blurb { color: rgba(255,255,255,0.7); }
.pricing-plan-price-wrap { margin: 1.5rem 0; }
.pricing-plan-price { font-family: var(--font-display); font-size: 2.25rem; font-weight: 800; }
.pricing-plan-cadence { display: block; font-size: 0.75rem; margin-top: 0.25rem; color: var(--muted-foreground); }
.pricing-card.is-featured .pricing-plan-cadence { color: rgba(255,255,255,0.6); }
.pricing-plan-features { display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.pricing-plan-features li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; }
.pricing-plan-features svg { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.pricing-card.is-featured .pricing-plan-features li { color: rgba(255,255,255,0.9); }
.pricing-plan-btn { margin-top: 2rem; width: 100%; }

/* ---------------- FAQ ---------------- */
.faq-accordion { max-width: 48rem; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; text-align: left; font-size: 1rem; font-weight: 500; }
@media (min-width: 768px) { .faq-question { font-size: 1.125rem; } }
.faq-question-text { display: flex; align-items: center; gap: 1rem; flex: 1; min-width: 0; }
.faq-icon-wrap {
	flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: 0.5rem;
	background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent);
	display: flex; align-items: center; justify-content: center;
}
.faq-icon { display: block; }
.faq-chevron { flex-shrink: 0; transition: transform 0.3s var(--ease-smooth); }
.faq-item[data-open="true"] .faq-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease-smooth); }
.faq-answer p { color: var(--muted-foreground); line-height: 1.7; padding: 0 0 1.25rem 3.5rem; }

/* ---------------- Contact ---------------- */
.contact-section { position: relative; overflow: hidden; }
.contact-video { position: absolute; inset: 0; }
.contact-overlay-1 { position: absolute; inset: 0; background: color-mix(in srgb, var(--primary) 85%, transparent); }
.contact-overlay-2 { position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--foreground) 50%, transparent), transparent, color-mix(in srgb, var(--foreground) 60%, transparent)); }
.contact-inner { position: relative; z-index: 10; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.contact-title { color: #fff; margin-bottom: 1.5rem; }
.contact-subtitle { color: rgba(255,255,255,0.75); max-width: 30rem; margin-bottom: 2.5rem; line-height: 1.7; }
.contact-info-list { display: flex; flex-direction: column; gap: 1rem; }
.contact-info-list li { display: flex; align-items: center; gap: 0.75rem; color: rgba(255,255,255,0.85); font-size: 0.875rem; }
.contact-info-icon { width: 40px; height: 40px; border-radius: 0.5rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-label { line-height: 1.25; }
.contact-info-list a:hover { color: var(--accent); }
.contact-form-panel { border-radius: 1rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(8px); padding: 1.5rem; }
@media (min-width: 768px) { .contact-form-panel { padding: 2rem; } }

/* ---------------- Forms (shared: contact + modal) ---------------- */
.theme-contact-form { display: flex; flex-direction: column; gap: 1rem; }
.theme-form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-form-row { grid-template-columns: 1fr 1fr; } }
.theme-form-field label { display: block; margin-bottom: 0.4rem; font-size: 0.875rem; font-weight: 500; }
.contact-form-panel label { color: #fff; }
.theme-form-field input, .theme-form-field textarea {
	width: 100%; padding: 0.75rem 1rem; border-radius: var(--radius); font-size: 0.875rem; resize: vertical;
	background: var(--background); border: 1px solid var(--border); color: var(--foreground);
}
.contact-form-panel .theme-form-field input,
.contact-form-panel .theme-form-field textarea {
	background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); color: #fff;
}
.contact-form-panel .theme-form-field input::placeholder,
.contact-form-panel .theme-form-field textarea::placeholder { color: rgba(255,255,255,0.5); }
.theme-form-field input:focus, .theme-form-field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 50%, transparent); }
.theme-form-submit { width: 100%; margin-top: 0.5rem; }
.theme-form-success { text-align: center; padding: 2.5rem 0; }
.theme-form-success-icon { width: 56px; height: 56px; background: var(--accent); color: var(--accent-foreground); border-radius: 999px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.theme-form-success h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.contact-form-panel .theme-form-success h3 { color: #fff; }
.theme-form-success p { font-size: 0.875rem; color: var(--muted-foreground); }
.contact-form-panel .theme-form-success p { color: rgba(255,255,255,0.7); }

/* ---------------- Contact Modal (Lovable parity) ---------------- */
.theme-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 90; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.theme-modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.theme-modal {
	position: fixed; top: 50%; left: 50%; transform: translate(-50%, -48%) scale(0.96); z-index: 91; width: 92%;
	max-width: 32rem; max-height: 90vh; overflow-y: auto; background: var(--background); border-radius: 0.5rem;
	box-shadow: var(--shadow-elevated); padding: 1.5rem; opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s;
}
.theme-modal.is-open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.theme-modal[hidden] { display: none !important; }
body.theme-modal-open { overflow: hidden; }
.theme-modal-close { position: absolute; top: 1rem; right: 1rem; padding: 0.4rem; border-radius: 0.25rem; color: var(--muted-foreground); }
.theme-modal-close:hover { color: var(--foreground); background: var(--secondary); }
.theme-modal-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; padding-right: 2rem; }
.theme-modal-subtitle { color: var(--muted-foreground); font-size: 0.875rem; margin-bottom: 1rem; line-height: 1.6; }
.theme-modal-contact-links { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 1.25rem; }
.theme-modal-contact-links a { display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.2s; }
.theme-modal-contact-links a:hover { color: var(--foreground); }
.theme-modal-contact-links svg { flex-shrink: 0; }
.theme-modal .theme-form-field label { display: block; margin-bottom: 0.375rem; font-size: 0.875rem; font-weight: 500; }
.theme-modal .theme-form-field input,
.theme-modal .theme-form-field textarea {
	width: 100%; padding: 0.625rem 0.75rem; border-radius: var(--radius); font-size: 0.875rem;
	background: var(--background); border: 1px solid var(--border); color: var(--foreground); resize: none;
}
.theme-modal .theme-form-field input::placeholder,
.theme-modal .theme-form-field textarea::placeholder { color: var(--muted-foreground); }
.theme-modal .theme-form-field input:focus,
.theme-modal .theme-form-field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 50%, transparent); }
.theme-modal .theme-form-actions { display: flex; justify-content: flex-end; margin-top: 0.25rem; }
.theme-modal .theme-form-success-icon { width: 3.5rem; height: 3.5rem; background: var(--primary); color: var(--primary-foreground); }
.theme-modal .theme-form-success h3 { font-family: var(--font-display); font-size: 1.25rem; }

/* ---------------- Animations / reveal (Section 2.1) ---------------- */
.reveal-fade, .reveal-up { opacity: 0; }
.reveal-fade { transition: opacity 0.6s var(--ease-smooth); }
.reveal-up { transform: translateY(30px); transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth); }
.reveal-fade.is-visible, .reveal-up.is-visible { opacity: 1; transform: translateY(0); }
body.is-customizer .reveal-fade,
body.is-customizer .reveal-up,
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }
.reveal-item { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth); }
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
	.reveal-fade, .reveal-up, .reveal-item { opacity: 1 !important; transform: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--primary); color: var(--primary-foreground); border-top: 1px solid var(--primary); }
.site-footer-inner { padding-block: 3rem 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(12, 1fr); gap: 3rem; } }
.footer-col-brand { grid-column: span 4; }
.footer-col:nth-of-type(2) { grid-column: 6 / span 2; }
.footer-col:nth-of-type(3) { grid-column: span 2; }
.footer-col:nth-of-type(4) { grid-column: span 3; }
.footer-col h4 { font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a, .footer-col button { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col a:hover, .footer-col button:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.6); }
.footer-contact-item svg { flex-shrink: 0; width: 1rem; height: 1rem; }
.footer-contact-item a { color: inherit; }
.footer-contact-item a:hover { color: #fff; }
.footer-tagline { margin-top: 1rem; font-size: 0.875rem; color: rgba(255,255,255,0.6); max-width: 24rem; line-height: 1.7; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15); display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: space-between; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-copy, .footer-credit { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.footer-credit a { text-decoration: underline; }
.footer-credit a:hover { color: #fff; }

/* ---------------- Cart Drawer ---------------- */
#theme-cart-overlay { position: fixed; inset: 0; background: color-mix(in srgb, var(--foreground) 20%, transparent); z-index: 95; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
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(--background);
	z-index: 96; box-shadow: var(--shadow-elevated); display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.35s 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(--border); }
.theme-cart-drawer-header h2 { font-size: 1.125rem; font-weight: 700; }
.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: var(--muted-foreground); }
.theme-cart-drawer-items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item-image { width: 80px; height: 96px; background: var(--secondary); overflow: hidden; flex-shrink: 0; border-radius: var(--radius); }
.theme-cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item-info { flex: 1; min-width: 0; }
.theme-cart-item-title { font-size: 0.875rem; font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-cart-item-title:hover { opacity: 0.7; }
.theme-cart-item-price { font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.15rem; }
.theme-cart-item-variation { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.15rem; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
.theme-cart-item-controls button { padding: 0.25rem 0.5rem; border-radius: 4px; }
.theme-cart-item-controls button:hover { background: var(--secondary); }
.theme-cart-item-qty { font-size: 0.875rem; width: 24px; text-align: center; }
.theme-cart-item-remove { margin-left: auto; font-size: 0.75rem; color: var(--muted-foreground); }
.theme-cart-item-remove:hover { color: var(--foreground); }
.theme-cart-drawer-footer { padding: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-shipping-note { font-size: 0.75rem; color: var(--muted-foreground); }
.theme-cart-checkout-btn { width: 100%; }
.theme-cart-empty-btn { width: 100%; }

/* Hide WooCommerce's own "View cart" link after AJAX add (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* ---------------- 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(--primary) !important; color: var(--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: none !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(--primary) !important; color: var(--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(--primary) !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important; padding: var(--btn-icon-padding) !important; border-radius: 50% !important;
	width: 36px !important; height: 36px !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* ---------------- Single Product (Lovable ProductDetail parity) ---------------- */
.single-product-main { position: relative; padding-bottom: 0; }
.single-product-inner { position: relative; }
.single-product-accent-wash {
	position: absolute; inset-inline: 0; top: 0; height: 10rem; pointer-events: none;
	background: linear-gradient(to bottom, color-mix(in srgb, var(--accent) 10%, transparent), transparent);
}
.single-product-accent-stripe { height: 4px; background: var(--accent); margin-top: 1rem; }

.back-to-shop-row { padding-block: 1.5rem; }
.back-to-shop-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); transition: color 0.2s; }
.back-to-shop-link:hover { color: var(--accent); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 5rem; 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%; }
@media (min-width: 1024px) { .theme-product-info { padding-block: 2.5rem; } }

.theme-product-main-image-wrap { position: relative; aspect-ratio: 3/4; background: var(--secondary); overflow: hidden; border-radius: var(--radius); margin-bottom: 1rem; }
.theme-product-main-image-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; max-width: 100%; }
.theme-product-thumb { aspect-ratio: 1/1; overflow: hidden; border: 2px solid transparent; border-radius: 6px; opacity: 0.6; transition: all 0.2s; }
.theme-product-thumb:hover { opacity: 1; }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.theme-product-thumb.is-active { border-color: var(--accent); opacity: 1; }

.theme-product-collection-badge {
	display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; letter-spacing: 0.2em;
	text-transform: uppercase; font-weight: 600; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent);
	padding: 0.375rem 0.75rem; border-radius: 999px;
}
.theme-product-collection-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); flex-shrink: 0; }
.theme-product-category { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); font-weight: 600; }

.product-title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; margin: 0.75rem 0 1rem; line-height: 1.2; }
@media (min-width: 768px) { .product-title { font-size: 1.875rem; } }
.theme-product-price { font-size: 1.5rem; font-weight: 600; color: var(--primary); margin-bottom: 1.5rem; }
.theme-product-price del { opacity: 0.5; margin-right: 0.5rem; font-size: 1.1rem; }
.theme-product-price .woocommerce-Price-amount { font-weight: 600; }

.theme-stock-out { display: inline-block; margin-bottom: 1.5rem; }
.theme-product-description { color: var(--muted-foreground); line-height: 1.7; margin-bottom: 2rem; white-space: pre-line; overflow-wrap: break-word; word-break: break-word; }

.theme-variation-group { margin-bottom: 1.5rem; }
.theme-variation-group-header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; }
.theme-variation-label { font-size: 0.875rem; font-weight: 600; margin: 0 0 0.75rem; }
.theme-variation-group--color .theme-variation-label { margin-bottom: 0; }
.theme-variation-selected { color: var(--muted-foreground); font-weight: 400; }
.theme-variation-hint { font-size: 0.75rem; font-weight: 600; color: var(--accent); letter-spacing: 0.03em; white-space: nowrap; }
.theme-variation-hint[hidden] { display: none; }

.variations.shop_attributes { width: 100%; margin: 0; display: none; }
.single-product .variations_form .variations { display: block; border: 0; margin: 0 0 1.5rem; padding: 0; }
.single-product .variations_form .variations select { display: none; }
.single-product .variations_form .woocommerce-variation.single_variation { display: none !important; }

.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pills--color { gap: 0.75rem; }
button.theme-attr-pill {
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.5rem 1rem; font-size: 0.875rem; border: 1px solid var(--border); border-radius: 6px;
	transition: all 0.2s; background: var(--background); color: var(--foreground);
	font-family: var(--font-body); line-height: 1.2;
}
button.theme-attr-pill:hover { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
button.theme-attr-pill.is-selected { background: var(--accent); color: var(--accent-foreground); border-color: var(--accent); }
button.theme-attr-pill--color.is-selected { background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--foreground); border-color: var(--accent); }
button.theme-attr-pill--color.needs-selection { border-color: color-mix(in srgb, var(--accent) 40%, transparent); animation: themeColorPulse 2s ease-in-out infinite; }
.theme-color-swatch {
	width: 1rem; height: 1rem; border-radius: 999px; border: 1px solid var(--border);
	flex-shrink: 0; display: block; background-color: var(--secondary);
}
.theme-attr-pill-text { pointer-events: none; }
@keyframes themeColorPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.65; } }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 6px; transition: border-color 0.2s; }
.theme-quantity-wrapper:focus-within { border-color: var(--accent); }
.theme-quantity-wrapper button { padding: 0.75rem 1rem; min-height: var(--btn-height); display: inline-flex; align-items: center; justify-content: center; transition: background-color 0.2s, color 0.2s; }
.theme-quantity-wrapper button:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); }
.theme-qty-input { width: 48px; min-width: 48px; text-align: center; border: none; background: transparent; padding: 0.75rem 0; -moz-appearance: textfield; font-size: 0.95rem; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .single_add_to_cart_button,
.single-product .single_add_to_cart_button.button {
	flex: 1 1 auto; min-width: 160px; min-height: var(--btn-height) !important;
	background: var(--accent) !important; color: var(--accent-foreground) !important;
	border: 1px solid var(--accent) !important; border-radius: var(--btn-radius) !important;
	font-weight: 600 !important; display: inline-flex !important; align-items: center !important;
	justify-content: center !important; gap: 0.5rem !important; text-transform: none !important;
}
.single-product .single_add_to_cart_button:hover:not(:disabled):not(.disabled),
.single-product .single_add_to_cart_button.button:hover:not(:disabled):not(.disabled) {
	opacity: 0.9 !important; background: var(--accent) !important; color: var(--accent-foreground) !important;
}
.single-product .single_add_to_cart_button .theme-atc-label { display: inline-flex; align-items: center; gap: 0.5rem; }

.theme-product-details { border-top: 1px solid var(--border); padding-top: 2rem; margin-top: 0; }
.theme-product-details h3 { font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; }
.theme-product-details-list { display: flex; flex-direction: column; gap: 0.5rem; border-left: 2px solid color-mix(in srgb, var(--accent) 40%, transparent); padding-left: 1rem; margin: 0; list-style: none; }
.theme-product-details-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; }
.theme-product-details-list li::before { content: ''; width: 6px; height: 6px; border-radius: 999px; background: var(--accent); margin-top: 0.5rem; flex-shrink: 0; }

.related-products-section { border-top: 1px solid var(--border); padding-block: 5rem; }
.theme-related-eyebrow { display: block; font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 0.5rem; }
.theme-section-subheading { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 2.5rem; line-height: 1.2; }
@media (min-width: 768px) { .theme-section-subheading { font-size: 1.5rem; } }

.keep-browsing-section { border-top: 1px solid var(--border); padding-block: 5rem; }
.keep-browsing-eyebrow { display: block; font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted-foreground); font-weight: 600; margin-bottom: 0.5rem; }
.keep-browsing-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .keep-browsing-grid { grid-template-columns: 1fr 1fr; } }
.keep-browsing-card {
	position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border);
	padding: 1.5rem; color: var(--foreground); transition: border-color 0.2s, box-shadow 0.2s;
}
.keep-browsing-card:hover { border-color: transparent; box-shadow: var(--shadow-elevated); }
.keep-browsing-card-bg {
	position: absolute; inset: 0; pointer-events: none; opacity: 0.6; transition: opacity 0.2s;
	background: linear-gradient(to bottom right, color-mix(in srgb, var(--accent) 15%, transparent), transparent, color-mix(in srgb, var(--accent) 5%, transparent));
}
.keep-browsing-card:hover .keep-browsing-card-bg { opacity: 1; }
.keep-browsing-card-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.keep-browsing-card-badge {
	display: inline-flex; align-items: center; gap: 0.5rem; font-size: 10px; letter-spacing: 0.2em;
	text-transform: uppercase; font-weight: 600; color: var(--accent); margin-bottom: 0.5rem;
}
.keep-browsing-card-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }
.keep-browsing-card h3 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--primary); margin: 0; }
.keep-browsing-card p { font-size: 0.75rem; color: var(--muted-foreground); margin: 0.25rem 0 0; }
.keep-browsing-card svg { color: var(--accent); transform: rotate(180deg); flex-shrink: 0; transition: transform 0.2s; }
.keep-browsing-card:hover svg { transform: rotate(180deg) translateX(4px); }

.woocommerce-message, .woocommerce-info { border-radius: var(--radius); padding: 1rem 1.5rem; background: var(--secondary); border-left: 4px solid var(--primary); }
.woocommerce-error { border-radius: var(--radius); padding: 1rem 1.5rem; background: #fdecec; border-left: 4px solid #d9534f; color: #a33; }
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

/* ---------------- Shop Archive ---------------- */
.shop-archive-main { padding-bottom: 5rem; }
.shop-archive-header { text-align: center; margin-bottom: 3rem; }
.shop-archive-pagination { margin-top: 3rem; text-align: center; }
.shop-empty-state { text-align: center; padding-block: 5rem; color: var(--muted-foreground); }

/* ---------------- Checkout ---------------- */
body.woocommerce-checkout .site-main { padding-top: var(--header-height, 80px); padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content { max-width: 100%; }
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title {
	max-width: 80rem; margin: 0 auto 2rem;
	padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
	padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
	font-size: 1.875rem; font-weight: 700;
}
@media (min-width: 1024px) {
	body.woocommerce-checkout .page-title,
	body.woocommerce-cart .page-title,
	body.woocommerce-account .page-title {
		padding-left: max(2rem, env(safe-area-inset-left, 0px));
		padding-right: max(2rem, env(safe-area-inset-right, 0px));
	}
}

body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content {
	max-width: 100%;
}
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wc-block-cart {
	max-width: 100%;
}

body.woocommerce-checkout .wc-block-checkout { display: block; }
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid; grid-template-columns: 1fr 1fr; gap: var(--checkout-gap); align-items: start;
	}
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar { min-width: 0; width: 100%; max-width: none; }
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select { width: 100% !important; max-width: none !important; }
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 {
	font-family: var(--font-body); border: 1px solid var(--border); border-radius: var(--radius); background: var(--background);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 40%, transparent); }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background: var(--accent) !important; color: var(--accent-foreground) !important; border-radius: var(--btn-radius) !important;
	text-transform: uppercase; font-weight: 600; letter-spacing: 0.03em;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--secondary); border-radius: var(--card-radius); padding: 2rem;
}
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: var(--radius); grid-column: 1 / -1; }

/* ---------------- Thank You Page ---------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order {
	max-width: 80rem; margin: 0 auto;
	padding-top: 3rem; padding-bottom: 3rem;
	padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
	padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
}
@media (min-width: 1024px) {
	body.theme-thankyou-page .woocommerce-order {
		padding-left: max(2rem, env(safe-area-inset-left, 0px));
		padding-right: max(2rem, env(safe-area-inset-right, 0px));
	}
}
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-size: 1.5rem; font-weight: 700; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 1.5rem; background: var(--secondary); border-radius: var(--radius); margin: 1.5rem 0; }
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: 1.5rem 0; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid var(--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; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; font-style: normal; line-height: 1.7; }
@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: none; }
}

/* ---------------- Generic pages / 404 ---------------- */
.generic-content-main { padding-bottom: 5rem; }
.page-title { font-size: 1.875rem; font-weight: 700; margin-bottom: 1.5rem; }
.notfound-main { min-height: 70vh; display: flex; align-items: center; }
.notfound-inner { text-align: center; padding-block: 6rem; }
.notfound-title { font-size: 4rem; font-weight: 800; margin-bottom: 1rem; }
.notfound-body { font-size: 1.125rem; color: var(--muted-foreground); margin-bottom: 1.5rem; }
.notfound-link { color: var(--primary); text-decoration: underline; }

/* ---------------- Home offset ---------------- */
body.theme-no-hero .site-main { padding-top: calc(var(--header-height) + var(--admin-bar-height)); }
.single-product-main,
.shop-archive-main { padding-top: calc(6rem + var(--admin-bar-height)); }
@media (min-width: 1024px) {
	.single-product-main,
	.shop-archive-main { padding-top: calc(7rem + var(--admin-bar-height)); }
}
.generic-content-main { padding-top: calc(8rem + var(--admin-bar-height)); }
