/* Lil Glamis theme styles — The Free Website Guys */

/* ---------- Tokens ---------- */
:root {
	--color-background: #0c0b0a;
	--color-foreground: #f4ede2;
	--color-card: #171513;
	--color-primary: #f26b1d;
	--color-sand: #d9b98a;
	--color-muted: #221f1b;
	--color-muted-foreground: #a59c8f;
	--color-flame-ink: #170a03;
	--color-flame-deep: #c8500d;

	--color-border: rgba(244, 237, 226, 0.12);
	--color-flame-line: rgba(23, 10, 3, 0.25);
	--color-button-text: var(--color-background);

	--band-flame: linear-gradient(160deg, var(--color-primary) 0%, #e2591a 55%, var(--color-flame-deep) 100%);
	--band-flame-soft: linear-gradient(160deg, #fb9049 0%, #f57c28 55%, #ef6a1c 100%);

	--font-body: "Barlow", system-ui, sans-serif;
	--font-display: "Anton", "Barlow Condensed", sans-serif;
	--logo-height: 40px;
	--header-height: 72px;
	--ease: cubic-bezier(0.4, 0, 0.2, 1);

	--btn-radius: 0;
	--btn-height: 48px;
	--btn-padding: 0 1.5rem;
	--btn-font-size: 14px;
	--btn-font-weight: 700;
	--btn-letter-spacing: 0.12em;
	--btn-text-transform: uppercase;
}

/* ---------- Base (Tailwind preflight parity) ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	border: 0 solid var(--color-border);
}
html {
	scroll-behavior: smooth;
	scroll-padding-top: 80px;
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
	font-family: var(--font-body);
}
body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}
:where(img:not(.cover-img):not(.theme-cover-img)) {
	max-width: 100%;
	height: auto;
}
img,
video,
svg {
	display: block;
	max-width: 100%;
}
.cover-img,
.theme-cover-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: inherit;
	font-weight: inherit;
}
h1,
h2,
h3 {
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: 0.01em;
	line-height: 1.02;
	text-transform: uppercase;
	text-wrap: balance;
	margin: 0;
}
p {
	margin: 0;
	text-wrap: pretty;
}
a {
	color: inherit;
	text-decoration: inherit;
}
ul,
ol {
	list-style: none;
}
button,
input,
select,
textarea {
	font: inherit;
	letter-spacing: inherit;
	color: inherit;
	border-radius: 0;
	background-color: transparent;
}
button {
	text-align: inherit;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
[hidden] {
	display: none !important;
}
:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 2px;
}
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.text-primary {
	color: var(--color-primary);
}
.mb-3 {
	margin-bottom: 0.75rem;
}
.container-wide {
	max-width: 80rem;
	margin-inline: auto;
	padding-inline: 1.25rem;
}
.section--pad {
	padding-block: 5rem;
}

/* ---------- Utilities from the design ---------- */
.eyebrow {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--color-primary);
}
.eyebrow-ink {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--color-flame-ink);
}
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 48px;
	padding: 0 1.5rem;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transition: background 0.25s, color 0.25s, transform 0.25s;
}
.btn-primary {
	background: var(--color-primary);
	color: var(--color-background);
}
.btn-primary:hover {
	background: var(--color-sand);
}
.btn-ghost {
	border: 1px solid var(--color-border);
	color: var(--color-foreground);
}
.btn-ghost:hover {
	border-color: var(--color-primary);
	color: var(--color-primary);
}
.btn-ink {
	background: var(--color-flame-ink);
	color: var(--color-foreground);
}
.btn-ink:hover {
	background: var(--color-background);
	color: var(--color-sand);
	transform: translateY(-2px);
}
.band-flame {
	background: var(--band-flame);
}
.field {
	width: 100%;
	min-height: 48px;
	padding: 0.75rem 1rem;
	background: var(--color-muted);
	border: 1px solid var(--color-border);
	color: var(--color-foreground);
	font-size: 16px;
}
.field:focus {
	outline: none;
	border-color: var(--color-primary);
}
.heading-5xl-6xl {
	font-size: 3rem;
	line-height: 1;
}

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	border-bottom: 1px solid var(--color-border);
	background: color-mix(in oklab, var(--color-background) 90%, transparent);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.admin-bar .site-header {
	top: 32px;
}
.site-header__inner {
	display: flex;
	height: 4.5rem;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 0.75rem;
}
.site-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}
.site-logo-img {
	height: var(--logo-height) !important;
	width: auto !important;
	display: block;
}
.site-brand__name {
	display: none;
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 2rem;
	letter-spacing: 0.025em;
}
.site-nav--desktop {
	display: none;
}
.theme-nav-list {
	display: flex;
	align-items: center;
	gap: 1.75rem;
}
.nav-link {
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	transition: color 0.15s var(--ease);
}
.nav-link:hover,
.nav-link.is-active,
.menu-item.is-active > .nav-link {
	color: var(--color-primary);
}
.site-nav--mobile {
	border-top: 1px solid var(--color-border);
	background: var(--color-background);
	padding: 1rem 1.25rem;
}
.site-nav--mobile .theme-nav-list {
	display: block;
}
.site-nav--mobile .nav-link {
	display: block;
	padding: 0.75rem 0;
}
.site-header__actions {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}
.cart-btn,
.menu-toggle {
	position: relative;
	display: flex;
	height: 2.75rem;
	width: 2.75rem;
	align-items: center;
	justify-content: center;
}
.cart-btn:hover {
	color: var(--color-primary);
}
.cart-btn .theme-cart-count {
	position: absolute;
	right: 0.25rem;
	top: 0.25rem;
	display: flex;
	height: 1.25rem;
	min-width: 1.25rem;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background: var(--color-primary);
	padding-inline: 0.25rem;
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 700;
	color: var(--color-background);
}
.theme-cart-count:empty {
	display: none !important;
}
.menu-toggle__open,
.menu-toggle__close {
	display: flex;
}
.menu-toggle__close {
	display: none;
}
.menu-open .menu-toggle__open {
	display: none;
}
.menu-open .menu-toggle__close {
	display: flex;
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	display: flex;
	min-height: calc(100svh - 72px);
	align-items: flex-end;
}
.hero__bg,
.gallery-video-tile__bg,
.quote-video__media {
	position: absolute;
	inset: 0;
	height: 100%;
	width: 100%;
	object-fit: cover;
}
.hero__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top in oklab, var(--color-background), color-mix(in oklab, var(--color-background) 40%, transparent), transparent);
}
.hero__content {
	position: relative;
	width: 100%;
	padding-top: 8rem;
	padding-bottom: 4rem;
}
.hero__eyebrow {
	margin-bottom: 1rem;
}
.hero__title {
	max-width: 56rem;
	font-size: 3.75rem;
	line-height: 1;
}
.hero__subtitle {
	margin-top: 1.5rem;
	max-width: 36rem;
	font-size: 1.125rem;
	line-height: 1.75rem;
	color: color-mix(in oklab, var(--color-foreground) 85%, transparent);
}
.hero__actions {
	margin-top: 2rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* ---------- Section heads, gallery ---------- */
.section-head {
	margin-bottom: 2.5rem;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
}
.section-head__intro {
	max-width: 28rem;
	color: var(--color-muted-foreground);
}
.gallery-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.75rem;
}
.gallery-tile {
	overflow: hidden;
	background: var(--color-muted);
}
.gallery-tile__img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--ease);
}
.gallery-tile__img:hover {
	transform: scale(1.05);
}
.gallery-video-tile {
	position: relative;
	display: flex;
	min-height: 12rem;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border: 1px solid var(--color-border);
	background: var(--color-card);
}
.gallery-video-tile__bg {
	opacity: 0.3;
	transition: transform 0.7s var(--ease);
}
.gallery-video-tile:hover .gallery-video-tile__bg {
	transform: scale(1.05);
}
.gallery-video-tile__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	text-align: center;
}
.gallery-video-tile__play {
	display: flex;
	height: 4rem;
	width: 4rem;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background: var(--color-primary);
	color: var(--color-background);
	transition: transform 0.15s var(--ease);
}
.gallery-video-tile:hover .gallery-video-tile__play {
	transform: scale(1.1);
}
.gallery-video-tile__label {
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 2rem;
	text-transform: uppercase;
}

/* ---------- Services ---------- */
.services {
	border-block: 1px solid var(--color-border);
}
.services__title {
	margin-bottom: 3rem;
	max-width: 48rem;
	color: var(--color-flame-ink);
}
.services__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
}
.service-card {
	border: 1px solid var(--color-border);
	background: var(--color-background);
	padding: 1.75rem;
	transition: transform 0.3s var(--ease);
}
.service-card:hover {
	transform: translateY(-0.25rem);
}
.service-card__icon {
	margin-bottom: 1.5rem;
	color: var(--color-sand);
}
.service-card__title {
	margin-bottom: 0.75rem;
	font-size: 1.5rem;
	line-height: 2rem;
}
.service-card__body {
	color: color-mix(in oklab, var(--color-foreground) 80%, transparent);
}
.services__cta {
	margin-top: 2.5rem;
}

/* ---------- About ---------- */
.about {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
	gap: 3rem;
}
.about__img {
	margin-inline: auto;
	width: 100%;
	max-width: 28rem;
	border-radius: 0.25rem;
}
.about__title {
	margin-bottom: 1.5rem;
}
.about__p1 {
	margin-bottom: 1rem;
	font-size: 1.125rem;
	line-height: 1.75rem;
	color: color-mix(in oklab, var(--color-foreground) 85%, transparent);
}
.about__p2 {
	color: var(--color-muted-foreground);
}
.about__socials {
	margin-top: 2rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* ---------- Home shop, product grid ---------- */
.shop-section {
	border-top: 1px solid var(--color-border);
	background: var(--color-card);
}
.theme-product-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
	align-items: stretch;
}

/* ---------- Product card ---------- */
.theme-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--color-border);
	background: var(--color-card);
	transition: border-color 0.15s var(--ease);
}
.theme-product-card:hover {
	border-color: var(--color-primary);
}
.theme-product-card__media {
	position: relative;
	z-index: 0;
	isolation: isolate;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--color-muted);
}
.theme-product-card__media > .theme-card-link {
	position: absolute;
	inset: 0;
	z-index: 1;
}
.theme-product-card__info > .theme-card-link {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.theme-product-card__actions {
	position: absolute;
	right: 0.75rem;
	bottom: 0.75rem;
	z-index: 4;
	pointer-events: auto;
}
.theme-card-round-btn {
	display: flex;
	height: 2.75rem;
	width: 2.75rem;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--color-border);
	background: var(--color-background);
	color: var(--color-foreground);
	cursor: pointer;
	transition: border-color 0.15s var(--ease), color 0.15s var(--ease), background 0.15s var(--ease);
}
.theme-card-round-btn:hover {
	border-color: var(--color-primary);
	color: var(--color-primary);
}
.theme-product-card__info {
	position: relative;
	z-index: 2;
	min-height: 0;
}
.theme-product-card__info > *:not(.theme-card-link) {
	position: relative;
	z-index: 1;
}
.theme-product-card__tag {
	position: absolute;
	left: 0.75rem;
	top: 0.75rem;
	z-index: 1;
	background: color-mix(in oklab, var(--color-background) 90%, transparent);
	padding: 0.25rem 0.625rem;
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.18em;
}
.theme-product-card__media img {
	transition: transform 0.7s var(--ease);
}
.theme-product-card:hover .theme-product-card__media img {
	transform: scale(1.05);
}
.theme-product-card__info {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.25rem;
}
.theme-product-card__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	min-width: 0;
}
.theme-product-card__title {
	min-width: 0;
	font-size: 1.25rem;
	line-height: 1.75rem;
}
.theme-product-card:hover .theme-product-card__title {
	color: var(--color-primary);
}
.theme-product-card__price {
	white-space: nowrap;
	font-weight: 600;
}
.theme-product-card__price del {
	opacity: 0.6;
}
.theme-product-card__price ins {
	text-decoration: none;
}
.theme-product-card__tagline {
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--color-muted-foreground);
}
.theme-product-card__cta {
	margin-top: auto;
	padding-top: 0.75rem;
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--color-primary);
}

/* ---------- Collabs, video quote ---------- */
.collabs__box {
	display: grid;
	align-items: center;
	gap: 2.5rem;
	border: 1px solid var(--color-border);
	background: var(--color-card);
	padding: 2rem;
}
.collabs__icon {
	margin-bottom: 1.25rem;
	color: var(--color-primary);
}
.collabs__title {
	margin-bottom: 1rem;
	font-size: 2.25rem;
	line-height: 2.5rem;
}
.collabs__text {
	max-width: 42rem;
	color: var(--color-muted-foreground);
}
.quote-video {
	position: relative;
	display: flex;
	min-height: 70svh;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.quote-video__shade {
	position: absolute;
	inset: 0;
	background: color-mix(in oklab, var(--color-background) 60%, transparent);
}
.quote-video__quote {
	position: relative;
	margin-inline: auto;
	max-width: 56rem;
	padding: 6rem 1.25rem;
	text-align: center;
}
.quote-video__text {
	font-family: var(--font-display);
	font-size: 2.25rem;
	line-height: 1.25;
	text-transform: uppercase;
}
.quote-video__cite {
	margin-top: 1.5rem;
}

/* ---------- Contact ---------- */
.contact {
	border-top: 1px solid var(--color-border);
	background: var(--color-card);
}
.contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 3rem;
}
.contact__title {
	margin-bottom: 1.5rem;
}
.contact__text {
	margin-bottom: 2rem;
	color: var(--color-muted-foreground);
}
.contact__link {
	display: block;
	font-size: 1.125rem;
	line-height: 1.75rem;
}
.contact__link:hover {
	color: var(--color-primary);
}
.quote-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
	align-content: start;
}
.quote-form__note {
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--color-muted-foreground);
}

/* ---------- Marquee ---------- */
@keyframes lg-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
.marquee {
	overflow: hidden;
	border-top: 1px solid var(--color-border);
	background: var(--color-background);
	padding: 1rem 0;
}
.marquee-track {
	display: flex;
	width: max-content;
	animation: lg-marquee 32s linear infinite;
}
.marquee-track:hover {
	animation-play-state: paused;
}
.marquee-group {
	display: flex;
	align-items: center;
}
.marquee-item {
	display: inline-flex;
	align-items: center;
	gap: 2.5rem;
	padding-right: 2.5rem;
	font-family: var(--font-display);
	font-size: clamp(22px, 3.2vw, 38px);
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--color-sand);
	white-space: nowrap;
}
.marquee-star {
	color: var(--color-primary);
	font-size: 0.55em;
}
@media (prefers-reduced-motion: reduce) {
	.marquee-track { animation: none; }
}

/* ---------- Footer ---------- */
.site-footer {
	background: var(--band-flame-soft);
	border-top: 1px solid var(--color-flame-line);
}
.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	padding-block: 3.5rem;
}
.site-footer__brand {
	display: flex;
	align-items: center;
	gap: 1rem;
}
.site-footer__logo {
	height: 5rem;
	width: auto;
}
.site-footer__tagline,
.site-footer__col {
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.site-footer__tagline {
	color: var(--color-flame-ink);
}
.site-footer__col > * + * {
	margin-top: 0.5rem;
}
.site-footer__link {
	display: block;
	color: var(--color-flame-ink);
	text-underline-offset: 4px;
}
.site-footer__link:hover {
	text-decoration: underline;
}
.site-footer__bottom {
	border-top: 1px solid var(--color-flame-line);
	padding: 1.25rem 0;
	text-align: center;
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 500;
	color: color-mix(in oklab, var(--color-flame-ink) 85%, transparent);
}
.site-footer__credit {
	margin-top: 0.5rem;
}
.site-footer__credit a {
	text-decoration: underline;
	text-decoration-color: color-mix(in oklab, var(--color-flame-ink) 40%, transparent);
	text-underline-offset: 4px;
}
.site-footer__credit a:hover {
	text-decoration-color: var(--color-flame-ink);
}

/* ---------- Shop page ---------- */
.shop-page {
	padding-block: 4rem;
}
.shop-page__title {
	margin-bottom: 1rem;
	font-size: 3.75rem;
	line-height: 1;
}
.shop-page__intro {
	margin-bottom: 2.5rem;
	max-width: 42rem;
	color: var(--color-muted-foreground);
}
.shop-page__filters {
	margin-bottom: 2.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.shop-page__empty {
	color: var(--color-muted-foreground);
}

/* ---------- Single product ---------- */
body.single-product .site-main {
	padding-top: calc(3rem - 1px);
	padding-bottom: 4rem;
}
.theme-single__wrap {
	padding-block: 0;
}
.theme-notices {
	display: none;
}
.theme-back-link {
	margin-bottom: 2rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--color-muted-foreground);
}
.theme-back-link:hover {
	color: var(--color-foreground);
}
.theme-product-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	min-width: 0;
}
.theme-product-gallery,
.theme-product-info {
	min-width: 0;
	max-width: 100%;
}
.theme-product-main {
	aspect-ratio: 1 / 1;
	background: var(--color-muted);
}
.theme-product-thumbnails {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.75rem;
	max-width: 100%;
}
.theme-product-thumb {
	width: 4.5rem;
	height: 4.5rem;
	border: 1px solid var(--color-border);
	background: var(--color-muted);
}
.theme-product-thumb.is-active,
.theme-product-thumb:hover {
	border-color: var(--color-primary);
}
.product-title {
	margin-bottom: 1rem;
	font-size: 3rem;
	line-height: 1;
}
.theme-product-price {
	margin-bottom: 1.5rem;
	font-size: 1.5rem;
	line-height: 2rem;
	font-weight: 600;
}
.theme-product-price ins {
	text-decoration: none;
}
.theme-product-desc {
	margin-bottom: 2rem;
	color: color-mix(in oklab, var(--color-foreground) 85%, transparent);
}
.theme-product-desc p + p {
	margin-top: 1rem;
}
.single-product .variations,
.single-product .variations tbody,
.single-product .variations tr,
.single-product .variations td {
	display: block;
	width: 100%;
}
.single-product .variations {
	margin-bottom: 1.5rem;
}
.single-product .variations td.label {
	padding-bottom: 0.75rem;
}
.single-product .variations td.value {
	padding-top: 0;
}
.variations label {
	font-family: var(--font-body);
	font-style: normal;
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}
.theme-pick-hint {
	color: var(--color-muted-foreground);
	text-transform: none;
	letter-spacing: normal;
}
.theme-attr-select-hidden {
	display: none !important;
}
.theme-attr-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.theme-attr-pill {
	height: 3rem;
	min-width: 3rem;
	border: 1px solid var(--color-border);
	padding-inline: 1rem;
	font-weight: 600;
}
.theme-attr-pill:hover {
	border-color: var(--color-primary);
}
.theme-attr-pill.is-selected {
	border-color: var(--color-primary);
	background: var(--color-primary);
	color: var(--color-background);
}
.single-product .theme-add-to-cart-area {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 0;
}
.theme-quantity-wrapper {
	flex: 0 0 100%;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}
.theme-qty-minus,
.theme-qty-plus {
	display: flex;
	height: 3rem;
	width: 3rem;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--color-border);
}
.theme-qty-input {
	width: 2rem;
	padding: 0;
	border: 0;
	text-align: center;
	font-size: 1.125rem;
	line-height: 1.75rem;
	-moz-appearance: textfield;
	appearance: textfield;
}
.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 {
	flex: 1 1 100%;
	min-width: 160px;
}
.single-product .woocommerce-variation,
.single-product .woocommerce-message,
.single-product .woocommerce-info {
	display: none;
}
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in {
	overflow-wrap: break-word;
	word-break: break-word;
}
.theme-quote-note {
	margin-top: 0.75rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--color-muted-foreground);
}
.theme-product-details {
	margin-top: 2.5rem;
	border-top: 1px solid var(--color-border);
	padding-top: 2rem;
}
.theme-product-details__list > li {
	display: flex;
	gap: 0.75rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.theme-product-details__list > li + li {
	margin-top: 0.5rem;
}
.theme-product-details__icon {
	margin-top: 0.125rem;
	flex-shrink: 0;
	color: var(--color-primary);
}
.related-products-section {
	margin-top: 6rem;
}
.related-products-section__title {
	margin-bottom: 2rem;
	font-size: 2.25rem;
	line-height: 2.5rem;
}

/* ---------- WooCommerce buttons (override WC defaults) ---------- */
.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;
	gap: 0.5rem;
	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: background 0.25s, color 0.25s !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	background-color: var(--color-sand) !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.5 !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.5 !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;
}

/* ---------- Cart drawer ---------- */
#theme-cart-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 50;
	background: color-mix(in oklab, var(--color-background) 70%, transparent);
}
#theme-cart-drawer {
	display: none;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 50;
	height: 100%;
	width: 100%;
	max-width: 28rem;
	flex-direction: column;
	border-left: 1px solid var(--color-border);
	background: var(--color-card);
}
body.admin-bar.cart-open #theme-cart-overlay,
body.admin-bar.cart-open #theme-cart-drawer {
	top: 32px;
	height: calc(100% - 32px);
}
body.cart-open #theme-cart-overlay {
	display: block;
}
body.cart-open #theme-cart-drawer {
	display: flex;
}
#theme-cart-drawer .woocommerce-message {
	display: none;
}
.cart-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--color-border);
	padding: 1.25rem;
}
.cart-drawer__title {
	font-size: 1.5rem;
	line-height: 2rem;
}
.cart-drawer__close {
	display: flex;
	height: 2.75rem;
	width: 2.75rem;
	align-items: center;
	justify-content: center;
}
.cart-drawer__empty {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.25rem;
	padding: 1.5rem;
	text-align: center;
}
.cart-drawer__empty[hidden],
.cart-drawer__content[hidden] {
	display: none !important;
}
.cart-drawer__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
}
.cart-drawer__empty-icon,
.cart-drawer__empty p {
	color: var(--color-muted-foreground);
}
.cart-drawer__body {
	flex: 1;
	overflow: auto;
	padding: 1.25rem;
}
.cart-drawer__list > li + li {
	margin-top: 1.25rem;
}
.cart-line {
	display: flex;
	gap: 1rem;
}
.cart-line__thumb {
	height: 6rem;
	width: 5rem;
	flex-shrink: 0;
	background: var(--color-muted);
}
.cart-line__main {
	min-width: 0;
	flex: 1;
}
.cart-line__name {
	display: block;
	font-weight: 600;
}
.cart-line__name:hover {
	color: var(--color-primary);
}
.cart-line__meta {
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--color-muted-foreground);
}
.cart-line__controls {
	margin-top: 0.5rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.cart-line__btn {
	display: flex;
	height: 2.25rem;
	width: 2.25rem;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--color-border);
}
.cart-line__btn:hover {
	border-color: var(--color-primary);
}
.cart-line__qty {
	width: 1.5rem;
	text-align: center;
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.cart-line__remove {
	margin-left: auto;
	font-size: 0.75rem;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--color-muted-foreground);
}
.cart-line__remove:hover {
	color: var(--color-foreground);
}
.cart-drawer__foot {
	border-top: 1px solid var(--color-border);
	padding: 1.25rem;
}
.cart-drawer__foot > * + * {
	margin-top: 0.75rem;
}
.cart-drawer__subtotal {
	display: flex;
	justify-content: space-between;
}
.cart-drawer__subtotal-label {
	color: var(--color-muted-foreground);
}
.cart-drawer__subtotal-value {
	font-weight: 600;
}
.cart-drawer__note {
	font-size: 0.75rem;
	line-height: 1rem;
	color: var(--color-muted-foreground);
}
.cart-drawer__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

/* ---------- Pages, 404 ---------- */
.theme-page {
	padding-block: 4rem;
}
.container-page {
	max-width: 72rem;
	margin-inline: auto;
	padding-inline: 1.25rem;
}
.page-title {
	margin-bottom: 2.5rem;
	font-size: 3.75rem;
	line-height: 1;
}
.theme-404 {
	display: flex;
	min-height: 100vh;
	align-items: center;
	justify-content: center;
	padding-inline: 1rem;
}
.theme-404__box {
	max-width: 28rem;
	text-align: center;
}
.theme-404__code {
	font-size: 4.5rem;
	line-height: 1;
	font-weight: 700;
}
.theme-404__title {
	margin-top: 1rem;
	font-size: 1.25rem;
	line-height: 1.75rem;
	font-weight: 600;
}
.theme-404__text {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--color-muted-foreground);
}
.theme-404__cta {
	margin-top: 1.5rem;
}
.theme-404__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 0.375rem;
	background: var(--color-primary);
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 500;
	color: var(--color-background);
	transition: background-color 0.15s var(--ease);
}
.theme-404__btn:hover {
	background: color-mix(in oklab, var(--color-primary) 90%, transparent);
}

/* ---------- WooCommerce notices (shop, cart, account, checkout) ---------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	margin-bottom: 1.5rem;
	border: 1px solid var(--color-border);
	background: var(--color-card);
	padding: 1rem 1.25rem;
	font-size: 0.875rem;
	color: var(--color-foreground);
}
.woocommerce-error {
	border-color: var(--color-primary);
}

/* ---------- Checkout / cart blocks ---------- */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main {
	padding-top: 3rem;
	padding-bottom: 4rem;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .site-main,
	body.woocommerce-cart .site-main {
		padding-top: 4rem;
	}
}
body.woocommerce-checkout .theme-checkout-back {
	margin-bottom: 2rem;
	border: 0;
	background: none;
	padding: 0;
	cursor: pointer;
	font: inherit;
}
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wp-block-woocommerce-cart {
	color: var(--color-foreground);
}
body.woocommerce-checkout .wc-block-checkout {
	display: block;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		align-items: start;
	}
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main {
	min-width: 0;
	width: 100%;
	max-width: none;
	padding: 0;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-card);
	border: 1px solid var(--color-border);
	border-radius: 0;
	padding: 2rem;
}
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-panel,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-wrapper,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__content,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
}
body.woocommerce-checkout .wc-block-components-checkout-order-summary__title,
body.woocommerce-checkout .wc-block-components-order-summary__content {
	padding-inline: 0 !important;
}
body.woocommerce-checkout .wc-block-components-totals-coupon,
body.woocommerce-checkout .wc-block-components-totals-coupon__form {
	margin: 0 !important;
	padding: 0 !important;
	width: 100%;
}
body.woocommerce-checkout .wc-block-components-totals-coupon .wc-block-components-panel__button,
body.woocommerce-checkout .wc-block-components-totals-coupon .wc-block-components-panel__content {
	padding-inline: 0 !important;
}
body.woocommerce-checkout .wc-block-components-combobox .components-combobox-control__input,
body.woocommerce-checkout .wc-block-components-combobox .components-form-token-field__input,
body.woocommerce-checkout .wc-block-components-select .components-custom-select-control__button,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-address-form select {
	background: var(--color-muted) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: 0 !important;
	color: var(--color-foreground) !important;
	box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-components-combobox .components-form-token-field__suggestions-list,
body.woocommerce-checkout .wc-block-components-select .components-custom-select-control__menu {
	background: var(--color-card) !important;
	border: 1px solid var(--color-border) !important;
	color: var(--color-foreground) !important;
}
@media (max-width: 767px) {
	body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary {
		display: none !important;
	}
}
body.woocommerce-checkout .wc-block-components-order-summary-item {
	border-color: var(--color-border);
}
body.woocommerce-checkout .wc-block-components-notice-banner {
	grid-column: 1 / -1;
	background: var(--color-card);
	border-color: var(--color-border);
	color: var(--color-foreground);
	border-radius: 0;
}
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__title {
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.01em;
}
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,
body.woocommerce-checkout .wc-block-components-combobox input,
body.woocommerce-checkout .wc-block-components-text-input input[type="text"],
body.woocommerce-checkout .wc-block-components-text-input input[type="email"],
body.woocommerce-checkout .wc-block-components-text-input input[type="tel"] {
	width: 100% !important;
	max-width: none !important;
	background: var(--color-muted) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: 0;
	color: var(--color-foreground) !important;
	font-family: var(--font-body);
	font-size: 16px;
}
body.woocommerce-checkout .wc-block-components-text-input input {
	padding: revert;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: none;
}
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label {
	color: var(--color-muted-foreground);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-components-button:not(.is-link) {
	min-height: 48px;
	border-radius: 0;
	background: var(--color-primary);
	color: var(--color-background);
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transition: background 0.25s, color 0.25s;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-cart .wc-block-cart__submit-button:hover,
body.woocommerce-cart .wc-block-components-button:not(.is-link):hover {
	background: var(--color-sand);
	color: var(--color-background);
}
body.woocommerce-checkout .wc-block-components-totals-wrapper,
body.woocommerce-cart .wc-block-components-totals-wrapper,
body.woocommerce-cart .wc-block-cart-items th,
body.woocommerce-cart .wc-block-cart-items td {
	border-color: var(--color-border);
}
body.woocommerce-checkout .wc-block-cart-items,
body.woocommerce-cart .wc-block-cart-items {
	color: var(--color-foreground);
}
body.woocommerce-cart .wc-block-components-sidebar,
body.woocommerce-cart .wc-block-cart__sidebar {
	background: var(--color-card);
}
body.woocommerce-cart .wc-block-components-product-name,
body.woocommerce-cart .wc-block-components-product-name:hover {
	color: var(--color-foreground);
	font-weight: 600;
}
body.woocommerce-cart .wc-block-components-product-metadata,
body.woocommerce-cart .wc-block-components-product-price {
	color: var(--color-muted-foreground);
}

/* Classic fallbacks */
.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select,
.woocommerce-account .woocommerce-form .input-text {
	background: var(--color-muted);
	border: 1px solid var(--color-border);
	padding: 0.75rem 1rem;
	color: var(--color-foreground);
}
body.woocommerce-account .woocommerce-MyAccount-navigation li + li {
	margin-top: 0.5rem;
}
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
	color: var(--color-primary);
}

/* ---------- Thank you page ---------- */
body.theme-thankyou-page {
	overflow-x: hidden;
}
body.theme-thankyou-page .woocommerce-order {
	color: var(--color-foreground);
}
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	margin-bottom: 2rem;
}
body.theme-thankyou-page .woocommerce-order-overview li {
	border: 1px solid var(--color-border);
	background: var(--color-card);
	padding: 1rem 1.25rem;
	font-size: 0.875rem;
	color: var(--color-muted-foreground);
}
body.theme-thankyou-page .woocommerce-order-overview li strong {
	display: block;
	color: var(--color-foreground);
}
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	padding: 0 0 1rem 0;
	font-size: 1.875rem;
	line-height: 2.25rem;
}
body.theme-thankyou-page .woocommerce-order-details table,
body.theme-thankyou-page .woocommerce-customer-details table {
	width: 100%;
	table-layout: fixed;
	border: 1px solid var(--color-border);
}
body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td {
	border-top: 1px solid var(--color-border);
	padding: 0.75rem 1rem;
	text-align: left;
}
body.theme-thankyou-page .woocommerce-order-details tfoot th {
	text-align: left;
}
body.theme-thankyou-page .woocommerce-order-details tfoot td {
	text-align: right;
}
body.theme-thankyou-page .woocommerce-customer-details {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-top: 2rem;
}
body.theme-thankyou-page .woocommerce-customer-details address {
	max-width: 480px;
	overflow-wrap: break-word;
	border: 1px solid var(--color-border);
	background: var(--color-card);
	padding: 1rem 1.25rem;
	font-style: normal;
}

/* ---------- Breakpoints ---------- */
@media (min-width: 640px) {
	.site-brand__name { display: inline; }
	.hero__title { font-size: 4.5rem; }
	.theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.quote-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.field--wide { grid-column: span 2 / span 2; }
	.quote-video__text { font-size: 3rem; }
}
@media (min-width: 768px) {
	.section--pad { padding-block: 7rem; }
	.heading-5xl-6xl { font-size: 3.75rem; line-height: 1; }
	.hero__title { font-size: 6rem; }
	.hero__content { padding-bottom: 6rem; }
	.gallery-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		grid-template-rows: repeat(3, minmax(0, 1fr));
		grid-auto-rows: 1fr;
	}
	.gallery-tile--tall { grid-row: span 2 / span 2; }
	.gallery-tile--wide { grid-column: span 2 / span 2; }
	.gallery-video-tile { grid-column: span 4 / span 4; grid-row: span 1 / span 1; }
	.services__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.about { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.collabs__box { grid-template-columns: 1fr auto; padding: 3.5rem; }
	.collabs__title { font-size: 3rem; line-height: 1; }
	.quote-video__text { font-size: 3.75rem; }
	.contact__grid { grid-template-columns: 2fr 3fr; }
	.contact__intro { position: sticky; top: 6rem; align-self: start; }
	.site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.shop-page { padding-block: 6rem; }
	.shop-page__title { font-size: 4.5rem; }
	body.single-product .site-main {
		padding-top: calc(4rem - 1px);
	}
	.theme-product-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; }
	.product-title { font-size: 3.75rem; }
	.theme-page { padding-block: 6rem; }
}
@media (min-width: 1024px) {
	.site-nav--desktop { display: block; }
	.site-nav--mobile,
	.menu-toggle { display: none !important; }
	.hero__title { font-size: 8rem; }
	.theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	body.admin-bar.cart-open #theme-cart-overlay,
	body.admin-bar.cart-open #theme-cart-drawer {
		top: 46px;
		height: calc(100% - 46px);
	}
}
