/* ==========================================================================
   Trailmen's Tallow — theme stylesheet
   ========================================================================== */

:root {
	--color-background: #f4f2eb;
	--color-foreground: #17261d;
	--color-primary: #1e3e2b;
	--color-primary-foreground: #f6f4ee;
	--color-secondary: #dde0d2;
	--color-muted: #d8d8ca;
	--color-muted-foreground: #555b48;
	--color-accent: #96582c;
	--color-accent-foreground: #faf8f5;
	--color-border: #d1cebd;
	--color-bark: #815931;
	--color-cream: #f4f2eb;
	--logo-height: 60px;

	--font-body: 'Inter', 'Helvetica Neue', sans-serif;
	--font-condensed: 'Barlow Condensed', 'Inter', 'Helvetica Neue', sans-serif;
	--font-display: 'DM Serif Display', Georgia, serif;

	--radius: 0.25rem;
	--btn-radius: 0;
	--btn-height: 48px;
	--btn-padding: 0 2rem;
	--btn-font-size: 0.72rem;
	--btn-font-weight: 700;
	--btn-letter-spacing: 0.28em;
	--btn-text-transform: uppercase;
	--container-max: 80rem;

	--tt-announcement-height: 0px;
	--tt-header-height: 104px;

	--shadow-soft: 0 6px 24px -8px rgba(23, 38, 29, 0.09);
	--shadow-elevated: 0 14px 40px -12px rgba(23, 38, 29, 0.18);
	--ease-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);
}
body:has(#announcement-bar) { --tt-announcement-height: 36px; }

/* ---------------------------------------------------------------- */
/* Reset / base                                                      */
/* ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; margin: 0; padding: 0; }
body {
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
body::before {
	content: '';
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 9999;
	opacity: 0.025;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
	background-repeat: repeat;
	background-size: 128px 128px;
}
img { max-width: 100%; height: auto; display: block; }
.cover-img,
.tt-hero__slide,
.theme-product-card__image,
.theme-product-main-image__img,
.theme-product-thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#theme-cart-drawer img {
	max-width: 100%;
}
#theme-cart-drawer .theme-cart-item__image img,
#theme-cart-drawer .theme-cart-pair-item__image img,
#theme-cart-drawer .cover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	max-height: 100%;
	object-fit: cover;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: 0.005em;
	text-transform: uppercase;
	margin: 0;
	line-height: 1.15;
}

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
.container-editorial {
	width: 100%;
	max-width: 64rem;
	margin: 0 auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
@media (min-width: 1024px) {
	.container-wide, .container-editorial {
		padding-left: 2.5rem;
		padding-right: 2.5rem;
	}
}

/* Tailwind `font-display` maps to Barlow Condensed in the Lovable source. */
.font-tailwind-display {
	font-family: var(--font-condensed);
}

.tt-scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	z-index: 70;
	pointer-events: none;
	background: var(--color-primary);
	transform-origin: 0 50%;
	transform: scaleX(0);
	will-change: transform;
	transition: background-color 0.3s;
}
.tt-scroll-progress.is-announcement-visible {
	background: var(--color-primary-foreground);
}

.label-eyebrow {
	display: block;
	font-family: var(--font-condensed);
	font-size: 11px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--color-muted-foreground);
}
.tt-on-dark { color: color-mix(in srgb, var(--color-cream) 80%, transparent); }

/* ---------------------------------------------------------------- */
/* Buttons                                                           */
/* ---------------------------------------------------------------- */
.btn-hero-primary,
.btn-solid,
.btn-secondary,
.btn-outline,
.btn-outline-pill,
.btn-bark,
.btn-secondary-block,
.link-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: var(--font-condensed);
	white-space: nowrap;
	transition: background-color 0.3s var(--ease-smooth), color 0.3s var(--ease-smooth), opacity 0.3s var(--ease-smooth);
}
.btn-hero-primary,
.btn-solid {
	height: var(--btn-height);
	padding: var(--btn-padding);
	background: var(--color-background);
	color: var(--color-foreground);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	border-radius: var(--btn-radius);
	border: none;
}
.btn-hero-primary:hover, .btn-solid:hover { background: var(--color-foreground); color: var(--color-background); }
.btn-solid { background: var(--color-primary); color: var(--color-primary-foreground); border: 1px solid var(--color-primary); }
.btn-solid:hover { background: var(--color-background); color: var(--color-primary); }
.btn-secondary {
	height: var(--btn-height);
	padding: 0 1.25rem;
	background: var(--color-secondary);
	color: var(--color-foreground);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	border: none;
	border-radius: var(--btn-radius);
}
.btn-outline {
	height: var(--btn-height);
	padding: 0 1.5rem;
	background: transparent;
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
	font-size: 0.72rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	border-radius: var(--btn-radius);
}
.btn-outline:hover { border-color: var(--color-foreground); }
.btn-outline-pill {
	height: 44px;
	padding: 0 1.5rem;
	border: 1px solid var(--color-border);
	background: transparent;
	color: var(--color-foreground);
	border-radius: 999px;
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}
.btn-outline-pill:hover { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.btn-bark, .btn-secondary-block {
	padding: 0.9rem 2rem;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	border-radius: var(--btn-radius);
	border: none;
}
.btn-bark { background: var(--color-bark); color: var(--color-cream); }
.btn-bark:hover { opacity: 0.9; }
.btn-secondary-block { background: var(--color-secondary); color: var(--color-foreground); }
.link-arrow, .link-clear-filter {
	background: none;
	border: none;
	padding: 0;
	color: var(--color-foreground);
	font-size: 0.72rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}
.link-arrow:hover { color: var(--color-primary); }
.link-clear-filter { color: var(--color-primary); text-decoration: underline; }

.single-product .single_add_to_cart_button,
.single-product a.single_add_to_cart_button {
	text-transform: var(--btn-text-transform);
}

/* ---------------------------------------------------------------- */
/* Header                                                            */
/* ---------------------------------------------------------------- */
#tt-site-header-wrapper { position: static; }
.tt-announcement {
	position: fixed;
	inset-inline: 0;
	top: 0;
	z-index: 60;
	background: var(--color-primary);
	color: var(--color-cream);
}
.tt-announcement__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	padding-left: 2.5rem;
	padding-right: 2.5rem;
}
.tt-announcement__text {
	text-align: center;
	font-family: var(--font-condensed);
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	margin: 0;
}
.tt-announcement__close {
	position: absolute;
	right: 4px;
	background: none;
	border: none;
	color: inherit;
	padding: 6px;
	display: flex;
	border-radius: 999px;
}
.tt-announcement__close:hover { background: rgba(255,255,255,0.12); }

.site-header {
	position: fixed;
	inset-inline: 0;
	top: var(--tt-announcement-height);
	z-index: 50;
	border-bottom: 1px solid var(--color-border);
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}
.site-nav {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 104px;
}
@media (min-width: 1024px) { .site-nav { height: 124px; } }
.site-nav__mobile-toggle { display: flex; flex: 1; align-items: center; }
@media (min-width: 1024px) {
	.site-nav__mobile-toggle { display: none !important; }
}
.site-nav__brand {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	color: var(--color-primary);
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	max-width: calc(100% - 7rem);
}
@media (min-width: 1024px) {
	.site-nav__brand { position: static; transform: none; flex: 1; padding-right: 2rem; max-width: none; }
}
.site-nav__brand-name {
	font-family: var(--font-display);
	font-size: 1.125rem;
	line-height: 1.2;
	text-transform: none;
	font-weight: 700;
	color: var(--color-primary);
	white-space: nowrap;
}
.site-nav__brand-name.is-hidden { display: none !important; }
@media (max-width: 1023px) {
	.site-nav__brand-name { display: none !important; }
}
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; max-height: 100%; }
.site-nav__links { display: none; }
@media (min-width: 1024px) {
	.site-nav__links { display: flex; align-items: center; justify-content: center; gap: 2rem; }
}
.theme-nav-list { display: flex; align-items: center; gap: 2rem; }
.site-nav__links a,
.site-nav__links .nav-link,
.theme-nav-list a,
a.nav-link {
	font-family: var(--font-condensed) !important;
	font-size: 13px !important;
	letter-spacing: 0.22em !important;
	text-transform: uppercase !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	padding: 0.75rem 0.25rem;
	background: none;
	border: none;
	color: var(--color-foreground) !important;
	transition: color 0.3s;
	font-style: normal !important;
}
.site-nav__links a:hover,
.nav-link:hover { color: var(--color-primary) !important; }
.site-nav__actions { display: flex; flex: 1; align-items: center; justify-content: flex-end; gap: 0.25rem; }
.tt-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: none;
	border: none;
	border-radius: 999px;
	color: var(--color-foreground);
	position: relative;
}
.tt-icon-btn:hover { background: color-mix(in srgb, var(--color-foreground) 6%, transparent); }
.tt-cart-btn .theme-cart-count {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--color-accent);
	color: var(--color-accent-foreground);
	font-size: 11px;
	line-height: 1;
}
.theme-cart-count:empty { display: none; }

/* Mobile menu */
.tt-mobile-menu {
	position: fixed;
	top: 0; left: 0; bottom: 0;
	width: 88vw;
	max-width: 380px;
	background: var(--color-background);
	z-index: 90;
	transform: translateX(-100%);
	transition: transform 0.35s var(--ease-smooth);
	display: flex;
	flex-direction: column;
}
body.mobile-menu-open .tt-mobile-menu { transform: translateX(0); }
.tt-mobile-menu-overlay {
	position: fixed; inset: 0; background: rgba(23,38,29,0.4);
	z-index: 89; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
body.mobile-menu-open .tt-mobile-menu-overlay { opacity: 1; pointer-events: auto; }
.tt-mobile-menu__head { display: flex; align-items: center; justify-content: space-between; height: 104px; padding: 0 1.25rem; border-bottom: 1px solid var(--color-border); }
.tt-mobile-menu__nav { padding: 1rem; overflow-y: auto; flex: 1; }
.tt-mobile-menu__nav ul,
.tt-mobile-menu__nav .theme-nav-list,
.tt-mobile-nav-list {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	gap: 0;
}
.tt-mobile-nav-list li a,
.tt-mobile-menu__nav .theme-nav-list li a,
.tt-mobile-menu__nav a {
	display: flex; align-items: center; height: 56px; width: 100%; padding: 0 0.75rem;
	border-bottom: 1px solid var(--color-border); font-family: var(--font-condensed) !important; font-size: 1.125rem !important; text-transform: uppercase !important; font-weight: 700 !important;
	letter-spacing: 0.005em !important;
}
.tt-mobile-menu__footer {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1rem;
	border-top: 1px solid var(--color-border);
	margin-top: auto;
}

/* Search overlay */
.tt-search-overlay { position: fixed; inset: 0; z-index: 80; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
body.search-open .tt-search-overlay { opacity: 1; pointer-events: auto; }
.tt-search-overlay__backdrop { position: absolute; inset: 0; background: rgba(23,38,29,0.4); backdrop-filter: blur(4px); border: none; }
.tt-search-overlay__panel { position: relative; background: var(--color-background); width: 100%; max-height: 92vh; overflow-y: auto; box-shadow: var(--shadow-elevated); }
.tt-search-overlay__close { position: absolute; top: 1.25rem; right: 1.25rem; z-index: 2; }
.tt-search-overlay__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-block: 3rem; }
@media (min-width: 1024px) { .tt-search-overlay__grid { grid-template-columns: 260px 1fr; gap: 4rem; } }
.tt-search-categories h3 { font-family: var(--font-condensed); font-size: 1.5rem; text-transform: none; margin-bottom: 1.5rem; font-weight: 700; }
.tt-search-categories ul { display: flex; flex-direction: column; gap: 0.9rem; }
.tt-search-cat-link { background: none; border: none; text-align: left; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.tt-search-cat-link:hover { color: var(--color-primary); }
.tt-search-input-row { display: flex; align-items: center; gap: 0.75rem; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent); padding-bottom: 0.75rem; }
#tt-search-input { flex: 1; background: transparent; border: none; outline: none; font-family: var(--font-condensed); font-size: 1.5rem; text-transform: none; }
.tt-search-results { margin-top: 2.5rem; }
.tt-search-results h4 { font-family: var(--font-condensed); font-size: 1.5rem; text-transform: none; margin-bottom: 1.5rem; font-weight: 700; }
.tt-search-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .tt-search-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .tt-search-grid { grid-template-columns: repeat(4, 1fr); } }
.tt-search-item__image { display: block; aspect-ratio: 1/1; overflow: hidden; background: var(--color-secondary); }
.tt-search-item__title { display: block; margin-top: 0.75rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }

/* ---------------------------------------------------------------- */
/* Inner page top offset                                            */
/* ---------------------------------------------------------------- */
.theme-inner-page,
body.theme-no-hero .tt-generic-page {
	padding-top: calc(var(--tt-header-height) + var(--tt-announcement-height) + 32px);
	padding-bottom: 4rem;
}

.page-title {
	font-size: 2rem;
	margin-bottom: 2rem;
}

/* ---------------------------------------------------------------- */
/* Scroll reveal animation (Section 2.1)                             */
/* ---------------------------------------------------------------- */
.reveal-item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
.reveal-item[data-reveal-delay="1"] { transition-delay: 0.08s; }
.reveal-item[data-reveal-delay="2"] { transition-delay: 0.16s; }
.reveal-item[data-reveal-delay="3"] { transition-delay: 0.24s; }
.reveal-item[data-reveal-delay="4"] { transition-delay: 0.32s; }
.reveal-item[data-reveal-delay="5"] { transition-delay: 0.4s; }
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
	.reveal-item { transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---------------------------------------------------------------- */
/* Hero                                                              */
/* ---------------------------------------------------------------- */
.tt-hero { position: relative; height: 100svh; width: 100%; overflow: hidden; }
.tt-hero__slides { position: absolute; inset: 0; }
.tt-hero__slide { opacity: 0; transition: opacity 1.4s var(--ease-smooth); }
.tt-hero__slide.is-active { opacity: 1; z-index: 1; }
.tt-hero__scrim { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.65), rgba(0,0,0,0.25) 50%, transparent); z-index: 2; }
.tt-hero__content { position: absolute; inset: 0; display: flex; align-items: flex-end; z-index: 3; }
.tt-hero__copy { max-width: 720px; padding-bottom: 6rem; }
@media (min-width: 768px) { .tt-hero__copy { padding-bottom: 7rem; } }
.tt-hero__eyebrow {
	display: block; margin-bottom: 1.25rem; font-family: var(--font-condensed); font-size: 12px; font-weight: 600;
	text-transform: uppercase; letter-spacing: 0.32em; color: color-mix(in srgb, var(--color-background) 90%, transparent);
	text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.tt-hero__title {
	margin-bottom: 1.5rem; font-family: var(--font-condensed) !important; font-size: 2.25rem; font-weight: 700; text-transform: uppercase;
	line-height: 1; letter-spacing: 0 !important; color: var(--color-background); text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}
@media (min-width: 768px) { .tt-hero__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .tt-hero__title { font-size: 4.5rem; } }
.tt-hero__subtitle {
	margin-bottom: 2rem; max-width: 36rem; font-family: var(--font-body); font-size: 1rem; line-height: 1.7;
	color: color-mix(in srgb, var(--color-background) 90%, transparent); text-shadow: 0 1px 8px rgba(0,0,0,0.5); text-transform: none;
}
.tt-hero__dots { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: 0.75rem; }
.tt-hero__dot { height: 2px; width: 2rem; background: color-mix(in srgb, var(--color-background) 40%, transparent); border: none; padding: 0; transition: all 0.3s; }
.tt-hero__dot.is-active { width: 3.5rem; background: var(--color-background); }
.tt-hero__dot:hover { background: color-mix(in srgb, var(--color-background) 60%, transparent); }

/* Home hero fills viewport under fixed header (Section 22.7) */
body.theme-no-hero { }
body:not(.theme-no-hero) .tt-home { padding-top: 0; }

/* ---------------------------------------------------------------- */
/* Intro strip                                                       */
/* ---------------------------------------------------------------- */
.tt-intro { border-bottom: 1px solid var(--color-border); }
.tt-intro__inner { display: flex; flex-direction: column; gap: 1rem; padding-top: 2rem; padding-bottom: 2rem; }
@media (min-width: 768px) { .tt-intro__inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.tt-intro__heading {
	font-family: var(--font-condensed);
	font-size: 1.25rem;
	text-transform: none;
	font-weight: 700;
	line-height: 1.4;
}
@media (min-width: 768px) { .tt-intro__heading { font-size: 1.5rem; } }

/* ---------------------------------------------------------------- */
/* Category tiles                                                    */
/* ---------------------------------------------------------------- */
.tt-categories { padding: 4rem 0; }
@media (min-width: 1024px) { .tt-categories { padding: 5rem 0; } }
.tt-categories__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.tt-categories__head h2 { font-family: var(--font-condensed); font-size: 1.5rem; font-weight: 700; }
@media (min-width: 768px) { .tt-categories__head h2 { font-size: 1.875rem; } }
.tt-categories__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
@media (min-width: 768px) { .tt-categories__grid { grid-template-columns: repeat(4, 1fr); gap: 0.75rem; } }
.tt-category-tile {
	position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--color-secondary); border: none; padding: 0; text-align: left; display: block;
}
.tt-category-tile.is-active { outline: 2px solid var(--color-primary); outline-offset: -2px; }
.tt-category-tile img { transition: transform 1.2s; }
.tt-category-tile:hover img { transform: scale(1.04); }
.tt-category-tile__scrim { position: absolute; inset-inline: 0; bottom: 0; height: 40%; background: linear-gradient(to top, rgba(0,0,0,0.75), transparent); }
.tt-category-tile__label {
	position: absolute; bottom: 1rem; left: 1rem; font-family: var(--font-condensed); font-size: 1rem; font-weight: 700; text-transform: uppercase;
	color: var(--color-background); text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
@media (min-width: 768px) { .tt-category-tile__label { font-size: 1.125rem; } }

/* ---------------------------------------------------------------- */
/* Elements banner                                                   */
/* ---------------------------------------------------------------- */
.tt-elements__media { position: relative; height: 60vh; width: 100%; overflow: hidden; }
@media (min-width: 768px) { .tt-elements__media { height: 70vh; } }
.tt-elements__scrim { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.2) 60%, transparent); }
.tt-elements__content { position: absolute; inset: 0; display: flex; align-items: flex-end; }
.tt-elements__copy { max-width: 34rem; padding-bottom: 3rem; }
@media (min-width: 768px) { .tt-elements__copy { padding-bottom: 4rem; } }
.tt-elements__eyebrow { display: block; margin-bottom: 1rem; font-family: var(--font-condensed); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.32em; color: color-mix(in srgb, var(--color-background) 90%, transparent); }
.tt-elements__copy h2 { margin-bottom: 2rem; font-family: var(--font-condensed); font-size: 1.875rem; font-weight: 700; text-transform: uppercase; line-height: 1; color: var(--color-background); }
@media (min-width: 768px) { .tt-elements__copy h2 { font-size: 3rem; } }
@media (min-width: 1024px) { .tt-elements__copy h2 { font-size: 3.75rem; } }

/* ---------------------------------------------------------------- */
/* Shop                                                              */
/* ---------------------------------------------------------------- */
.tt-shop { background: color-mix(in srgb, var(--color-secondary) 40%, transparent); }
.tt-shop__head { text-align: center; padding: 5rem 0 3rem; }
@media (min-width: 1024px) { .tt-shop__head { padding-top: 7rem; } }
.tt-shop__heading { font-family: var(--font-condensed); font-size: 2.25rem; text-transform: none; font-weight: 700; line-height: 1.15; }
@media (min-width: 768px) { .tt-shop__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .tt-shop__heading { font-size: 3.75rem; } }
.tt-shop > .container-wide:last-child { padding-bottom: 5rem; }
@media (min-width: 1024px) { .tt-shop > .container-wide:last-child { padding-bottom: 7rem; } }
.tt-shop__filters { display: flex; flex-direction: column; justify-content: center; gap: 0.75rem; margin-bottom: 2.5rem; }
@media (min-width: 640px) { .tt-shop__filters { flex-direction: row; gap: 1rem; } }
.tt-filter-dropdown { position: relative; flex: 1; }
@media (min-width: 640px) { .tt-filter-dropdown { max-width: 20rem; } }
.tt-filter-dropdown__btn {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.75rem 1rem;
	border: 1px solid var(--color-border); background: var(--color-background); border-radius: var(--radius);
}
.tt-filter-dropdown__labels { display: flex; flex-direction: column; align-items: flex-start; }
.tt-filter-dropdown__label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--color-muted-foreground); }
.tt-filter-dropdown__value { margin-top: 0.15rem; font-size: 0.875rem; }
.tt-filter-dropdown svg { transition: transform 0.2s; }
.tt-filter-dropdown.is-open svg { transform: rotate(180deg); }
.tt-filter-dropdown__list {
	display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 30; margin-top: 0.25rem; max-height: 20rem; overflow-y: auto;
	border: 1px solid var(--color-border); background: var(--color-background); box-shadow: var(--shadow-elevated);
}
.tt-filter-dropdown.is-open .tt-filter-dropdown__list { display: block; }
.tt-filter-option {
	width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0.65rem 1rem; background: none; border: none;
	text-align: left; font-size: 0.875rem;
}
.tt-filter-option:hover { background: color-mix(in srgb, var(--color-foreground) 5%, transparent); }
.tt-filter-option.is-active { font-weight: 600; }

.tt-product-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem 0.75rem; align-items: stretch; }
@media (min-width: 640px) { .tt-product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .tt-product-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.theme-product-card-wrap { display: flex; }
.theme-product-card { display: flex; flex-direction: column; width: 100%; position: relative; }
.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__image-wrapper { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--color-muted); }
.theme-product-card__image { transition: opacity 0.7s, transform 0.7s; }
.theme-product-card__image--hover { opacity: 0; }
.theme-product-card:hover .theme-product-card__image:not(.theme-product-card__image--hover) { transform: scale(1.03); }
.theme-product-card:hover .theme-product-card__image--hover { opacity: 1; transform: scale(1.03); }
.theme-product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem; padding: 0.35rem 0.65rem; font-family: var(--font-condensed); font-size: 10px;
	letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; background: var(--color-foreground); color: var(--color-background); z-index: 3;
}
.theme-product-card__info { flex: 1; padding-top: 1rem; padding-bottom: 0.25rem; min-width: 0; }
.theme-product-card__title {
	font-family: var(--font-condensed); font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; font-size: 15px;
	overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { margin-top: 0.5rem; font-size: 0.875rem; font-family: var(--font-condensed); font-weight: 600; font-variant-numeric: tabular-nums; }
.theme-product-card__price ins { text-decoration: none; }
.theme-product-card__price del { color: var(--color-muted-foreground); font-weight: 400; }

.tt-shop__empty-state, .tt-shop__empty {
	border: 1px dashed var(--color-border); padding: 5rem 1rem; text-align: center; font-family: var(--font-condensed); font-size: 1.5rem; text-transform: none; font-weight: 700;
}

/* ---------------------------------------------------------------- */
/* Services / process / story / whatwemake — shared two-col layouts  */
/* ---------------------------------------------------------------- */
.tt-services__grid, .tt-process__grid { display: grid; grid-template-columns: 1fr; min-height: 75vh; }
@media (min-width: 1024px) { .tt-services__grid, .tt-process__grid { grid-template-columns: 1fr 1fr; } }
.tt-services__copy-wrap { display: flex; flex-direction: column; justify-content: center; padding: 5rem 1.5rem; min-width: 0; }
@media (min-width: 1024px) { .tt-services__copy-wrap { padding: 5rem 2.5rem 5rem 2.5rem; } }
.tt-services__copy { max-width: 36rem; }
.tt-services .label-eyebrow, .tt-process .label-eyebrow { margin-bottom: 1.5rem; }
.tt-services__copy h2 { margin-bottom: 2rem; font-family: var(--font-condensed); font-size: 2.25rem; text-transform: none; font-weight: 700; line-height: 1.2; }
@media (min-width: 768px) { .tt-services__copy h2 { font-size: 3rem; } }
.tt-services__paragraphs { display: flex; flex-direction: column; gap: 1rem; font-size: 15px; line-height: 1.7; color: var(--color-muted-foreground); text-transform: none; }
.tt-services__btn { margin-top: 2.25rem; text-transform: uppercase; letter-spacing: 0.22em; }
.tt-services__media, .tt-process__media { position: relative; min-height: 420px; overflow: hidden; }

.tt-process { min-height: 80vh; }
.tt-process__grid { min-height: 80vh; }
.tt-process__media { order: 2; min-height: 50vh; }
.tt-process__copy-wrap { order: 1; display: flex; flex-direction: column; justify-content: center; padding: 5rem 2rem; min-width: 0; }
@media (min-width: 768px) { .tt-process__copy-wrap { padding: 5rem 3.5rem; } }
@media (min-width: 1024px) {
	.tt-process__media { order: 1; min-height: 100%; }
	.tt-process__copy-wrap { order: 2; padding: 5rem 5rem; }
}
.tt-process__copy h2 { margin-bottom: 2rem; font-family: var(--font-condensed); font-size: 2.25rem; text-transform: none; font-weight: 700; line-height: 1.2; }
@media (min-width: 768px) { .tt-process__copy h2 { font-size: 3rem; } }
.tt-process__paragraphs { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; font-size: 15px; line-height: 1.7; color: var(--color-muted-foreground); text-transform: none; }
.tt-process__quote { border-top: 1px solid var(--color-border); padding-top: 2rem; font-family: var(--font-condensed); font-size: 1.25rem; line-height: 1.4; text-transform: none; font-weight: 700; }
@media (min-width: 768px) { .tt-process__quote { font-size: 1.5rem; } }

.tt-brand { background: color-mix(in srgb, var(--color-secondary) 40%, transparent); padding: 5rem 0; }
@media (min-width: 1024px) { .tt-brand { padding: 7rem 0; } }
.tt-story { position: relative; margin-top: -5rem; height: 70vh; width: 100%; overflow: hidden; }
@media (min-width: 768px) { .tt-story { height: 80vh; } }
@media (min-width: 1024px) { .tt-story { margin-top: -7rem; } }
.tt-story__scrim { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.35) 55%, transparent); }
.tt-story__content { position: absolute; inset: 0; display: flex; align-items: center; }
.tt-story__copy { max-width: 36rem; }
.tt-story__copy h2 { margin-bottom: 1.5rem; font-family: var(--font-condensed); font-size: 2.25rem; font-weight: 700; text-transform: uppercase; line-height: 1; color: var(--color-background); }
@media (min-width: 768px) { .tt-story__copy h2 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .tt-story__copy h2 { font-size: 4.5rem; } }
.tt-story__copy p { font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-background) 90%, transparent); text-transform: none; }

.tt-whatwemake { padding-block: 5rem; }
.tt-whatwemake__head { text-align: center; margin-bottom: 2.5rem; }
.tt-whatwemake__head h2 { margin-top: 1rem; font-family: var(--font-condensed); font-size: 1.875rem; text-transform: none; font-weight: 700; line-height: 1.2; }
@media (min-width: 768px) { .tt-whatwemake__head h2 { font-size: 3rem; } }
.tt-whatwemake__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .tt-whatwemake__grid { grid-template-columns: repeat(3, 1fr); } }
.tt-whatwemake__card { border: 1px solid var(--color-border); background: var(--color-background); padding: 1.5rem; text-align: center; }
.tt-whatwemake__card-label { font-family: var(--font-condensed); font-size: 1.25rem; text-transform: none; font-weight: 700; }
.tt-whatwemake__card-sub { margin-top: 0.5rem; font-size: 12px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--color-muted-foreground); }
.tt-whatwemake__images { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .tt-whatwemake__images { grid-template-columns: 1fr 1fr; } }
.tt-whatwemake__images { position: relative; }
.tt-whatwemake__images img { position: relative; height: 520px; width: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- */
/* FAQ + Contact                                                     */
/* ---------------------------------------------------------------- */
.tt-resources { padding: 5rem 0; }
@media (min-width: 1024px) { .tt-resources { padding: 7rem 0; } }
.tt-faq__heading { margin-bottom: 4rem; border-bottom: 1px solid var(--color-border); padding-bottom: 1rem; font-family: var(--font-condensed); font-size: 3rem; font-weight: 700; }
@media (min-width: 768px) { .tt-faq__heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .tt-faq__heading { font-size: 4.5rem; } }
.tt-faq__layout { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .tt-faq__layout { grid-template-columns: repeat(12, 1fr); gap: 5rem; } }
.tt-faq__sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 1024px) { .tt-faq__sidebar { grid-column: span 4; position: sticky; top: 8rem; align-self: start; } }
.tt-faq__sidebar p { font-size: 1rem; line-height: 1.7; text-transform: none; }
@media (min-width: 768px) { .tt-faq__sidebar p { font-size: 1.125rem; } }
.tt-faq__list { border-top: 1px solid var(--color-border); }
@media (min-width: 1024px) { .tt-faq__list { grid-column: span 8; } }
.tt-faq__item { border-bottom: 1px solid var(--color-border); }
.tt-faq__question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; background: none; border: none; text-align: left; }
.tt-faq__question span:first-child { font-size: 15px; line-height: 1.4; text-transform: none; }
@media (min-width: 768px) { .tt-faq__question span:first-child { font-size: 1rem; } }
.tt-faq__icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.tt-faq__icon-minus { display: none; }
.tt-faq__item.is-open .tt-faq__icon-plus { display: none; }
.tt-faq__item.is-open .tt-faq__icon-minus { display: inline-flex; }
.tt-faq__answer { overflow: hidden; animation: tt-faq-open 0.35s var(--ease-smooth); }
@keyframes tt-faq-open { from { opacity: 0; max-height: 0; } to { opacity: 1; max-height: 400px; } }
.tt-faq__answer p { padding-bottom: 1.5rem; padding-right: 2rem; font-size: 15px; line-height: 1.7; color: var(--color-muted-foreground); text-transform: none; }

.tt-contact-cta { position: relative; margin-top: 6rem; margin-bottom: -5rem; overflow: hidden; }
@media (min-width: 1024px) { .tt-contact-cta { margin-bottom: -7rem; } }
.tt-contact-cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.tt-contact-cta__scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-primary) 70%, transparent); z-index: 1; }
.tt-contact-cta__content { position: relative; z-index: 2; padding-block: 6rem; text-align: center; }
@media (min-width: 768px) { .tt-contact-cta__content { padding-block: 8rem; } }
.tt-contact-cta__content h2 { margin-bottom: 2rem; font-family: var(--font-condensed); font-size: 2.25rem; text-transform: none; font-weight: 700; line-height: 1.2; color: var(--color-cream); }
@media (min-width: 768px) { .tt-contact-cta__content h2 { font-size: 3rem; } }
@media (min-width: 1024px) { .tt-contact-cta__content h2 { font-size: 3.75rem; } }
.tt-contact-cta__content p { max-width: 32rem; margin: 0 auto 2.5rem; font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-cream) 85%, transparent); text-transform: none; }
.tt-contact-cta__actions { display: flex; flex-direction: column; justify-content: center; gap: 0.75rem; }
@media (min-width: 640px) { .tt-contact-cta__actions { flex-direction: row; } }

/* ---------------------------------------------------------------- */
/* Contact modal                                                     */
/* ---------------------------------------------------------------- */
.tt-modal { position: fixed; inset: 0; z-index: 95; opacity: 0; pointer-events: none; transition: opacity 0.3s; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
body.contact-modal-open .tt-modal { opacity: 1; pointer-events: auto; }
.tt-modal__backdrop { position: absolute; inset: 0; background: rgba(23,38,29,0.5); border: none; }
.tt-modal__panel {
	position: relative; z-index: 2; width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto; background: var(--color-background);
	border: 1px solid var(--color-border); padding: 2rem; transform: scale(0.96); transition: transform 0.3s var(--ease-smooth);
}
body.contact-modal-open .tt-modal__panel { transform: scale(1); }
.tt-modal__close { position: absolute; top: 1rem; right: 1rem; }
.tt-modal__title { margin: 0.5rem 0 0.75rem; font-family: var(--font-condensed); font-size: 1.5rem; text-transform: none; line-height: 1.3; font-weight: 700; }
.tt-modal__desc { font-size: 15px; line-height: 1.6; color: var(--color-muted-foreground); text-transform: none; }
.tt-modal__meta { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); border-top: 1px solid var(--color-border); padding-top: 1rem; margin-top: 0.5rem; }
.tt-modal__meta-row { display: flex; align-items: center; gap: 0.5rem; }
.tt-modal__form-wrap { margin-top: 1.5rem; }
.tt-contact-form { display: flex; flex-direction: column; gap: 1rem; }
.tt-form-row-2 { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .tt-form-row-2 { grid-template-columns: 1fr 1fr; } }
.tt-contact-form label { display: block; margin-bottom: 0.35rem; }
.tt-contact-form input, .tt-contact-form textarea {
	width: 100%; padding: 0.6rem 0.75rem; background: var(--color-background); border: 1px solid var(--color-border); font-size: 0.875rem; font-family: var(--font-body);
}
.tt-contact-form textarea { resize: none; }
.tt-contact-form input:focus, .tt-contact-form textarea:focus { outline: none; border-color: var(--color-primary); }
.tt-form-actions { display: flex; justify-content: flex-end; }
.tt-contact-form__success { text-align: center; padding: 2rem 0; }
.tt-contact-form__success-icon { width: 56px; height: 56px; border-radius: 999px; background: var(--color-primary); color: var(--color-primary-foreground); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.tt-contact-form__success h3 { font-family: var(--font-condensed); font-size: 1.25rem; text-transform: none; margin-bottom: 0.5rem; font-weight: 700; }
.tt-contact-form__success p { font-size: 0.875rem; color: var(--color-muted-foreground); text-transform: none; }
.tt-form-msg { font-size: 0.8rem; color: var(--color-muted-foreground); margin-top: 0.5rem; }

/* ---------------------------------------------------------------- */
/* Footer                                                            */
/* ---------------------------------------------------------------- */
.site-footer { background: var(--color-primary); color: var(--color-cream); }
.site-footer h3, .site-footer h4 { text-transform: uppercase; }
.site-footer__newsletter { border-bottom: 1px solid color-mix(in srgb, var(--color-cream) 15%, transparent); }
.site-footer__newsletter-inner { display: grid; grid-template-columns: 1fr; align-items: center; gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 1024px) { .site-footer__newsletter-inner { grid-template-columns: repeat(12, 1fr); padding-top: 4rem; padding-bottom: 4rem; } }
.site-footer__newsletter-copy { grid-column: span 6; }
.site-footer__newsletter-copy h3 { font-family: var(--font-condensed); font-size: 1.875rem; text-transform: none; line-height: 1.2; margin-top: 0.75rem; font-weight: 700; }
@media (min-width: 1024px) { .site-footer__newsletter-copy h3 { font-size: 2.25rem; } }
.site-footer__newsletter-form { display: flex; flex-wrap: wrap; width: 100%; grid-column: span 6; position: relative; }
.site-footer__newsletter-embed { grid-column: span 6; width: 100%; min-width: 0; }
.site-footer__newsletter-form input {
	min-width: 0; flex: 1; background: transparent; border: none; border-bottom: 1px solid color-mix(in srgb, var(--color-cream) 40%, transparent);
	padding: 0.75rem 0.25rem; font-size: 0.875rem; color: var(--color-cream);
}
.site-footer__newsletter-form input::placeholder { color: color-mix(in srgb, var(--color-cream) 50%, transparent); }
.site-footer__newsletter-form input:focus { outline: none; border-color: var(--color-cream); }
.site-footer__newsletter-form .btn-secondary { margin-left: 0.75rem; }
.tt-form-msg { flex-basis: 100%; }

.site-footer__main { padding-top: 4rem; padding-bottom: 2rem; }
@media (min-width: 1024px) { .site-footer__main { padding-top: 5rem; padding-bottom: 2.5rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(12, 1fr); gap: 3rem; } }
.site-footer__brand { grid-column: span 4; }
.site-footer__logo { filter: brightness(0) invert(1); }
.site-footer__brand p { margin-top: 1.25rem; max-width: 22rem; font-size: 0.875rem; line-height: 1.7; color: color-mix(in srgb, var(--color-cream) 70%, transparent); }
.site-footer__social { margin-top: 1.5rem; display: inline-flex; color: color-mix(in srgb, var(--color-cream) 70%, transparent); }
.site-footer__social:hover { color: var(--color-cream); }
.site-footer__col { grid-column: span 2; min-width: 0; }
.site-footer__col h4 { margin-bottom: 1.25rem; font-size: 12px; font-weight: 600; letter-spacing: 0.28em; color: color-mix(in srgb, var(--color-cream) 60%, transparent); }
.site-footer__col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__col a { font-size: 0.875rem; color: color-mix(in srgb, var(--color-cream) 80%, transparent); }
.site-footer__col a:hover { color: var(--color-cream); }
.site-footer__contact li { display: flex; gap: 0.5rem; align-items: flex-start; }
.site-footer__bottom { margin-top: 3rem; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid color-mix(in srgb, var(--color-cream) 15%, transparent); padding-top: 1.5rem; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; } }
.site-footer__bottom p { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-cream) 55%, transparent); }

/* ==========================================================================
   WooCommerce
   ========================================================================== */

/* Add to cart button (Section 11.4.1) */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !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-condensed) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Hide "View cart" injected 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; }

/* Notices — scoped visibility (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	font-family: var(--font-body); border-radius: var(--radius); padding: 1rem 1.25rem; border: 1px solid var(--color-border); background: var(--color-secondary);
}

/* ---------------------------------------------------------------- */
/* Single product                                                    */
/* ---------------------------------------------------------------- */
.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 1fr 440px; gap: 2.5rem; } }
@media (min-width: 1280px) { .theme-product-layout { grid-template-columns: 1fr 500px; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-gallery__row { display: flex; }
.theme-product-thumbnails { display: none; flex-direction: column; gap: 0.75rem; padding: 1.5rem; flex-wrap: wrap; max-width: 100%; }
@media (min-width: 768px) { .theme-product-thumbnails:not(.theme-product-thumbnails--mobile) { display: flex; } }
.theme-product-thumbnails--mobile { display: flex; flex-direction: row; padding: 1rem; overflow-x: auto; }
@media (min-width: 768px) { .theme-product-thumbnails--mobile { display: none; } }
.theme-product-thumb {
	position: relative; width: 56px; height: 56px; flex-shrink: 0; overflow: hidden; border: 1px solid transparent; opacity: 0.6; background: none; padding: 0;
	transition: all 0.2s;
}
@media (min-width: 1024px) { .theme-product-thumb { width: 64px; height: 64px; } }
.theme-product-thumb.is-active { border-color: var(--color-foreground); opacity: 1; }
.theme-product-thumb:hover { opacity: 1; }
.theme-product-main-image { position: relative; flex: 1; min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 1rem; overflow: hidden; }
@media (min-width: 768px) { .theme-product-main-image { min-height: 78vh; padding: 2rem; } }
@media (min-width: 1024px) { .theme-product-main-image { min-height: 88vh; } }
.theme-product-main-image__img { position: absolute; inset: 0; width: 100%; height: 100% !important; max-height: none; object-fit: cover; }
.theme-product-info { padding: 2rem 1.5rem; }
@media (min-width: 768px) { .theme-product-info { padding: 2.5rem 2.5rem; } }
@media (min-width: 1024px) { .theme-product-info { padding: 4rem 3rem; } }
.theme-product-breadcrumb { margin-bottom: 1.5rem; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-product-breadcrumb a:hover { color: var(--color-foreground); }
.theme-product-breadcrumb span { margin: 0 0.5rem; }
.product-title {
	font-family: var(--font-body) !important;
	font-weight: 600;
	font-size: 15px; letter-spacing: 0.22em; text-transform: uppercase; line-height: 1.5;
}
@media (min-width: 768px) { .product-title { font-size: 1rem; } }
.theme-product-sku { margin-top: 0.75rem; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-product-divider { height: 1px; background: var(--color-border); margin: 1.75rem 0; }
.theme-product-price { font-size: 1.125rem; text-transform: none; }
.theme-product-price ins { text-decoration: none; }
.theme-product-note { margin-top: 1.75rem; background: color-mix(in srgb, var(--color-secondary) 70%, transparent); padding: 1rem 1.25rem; font-size: 13px; line-height: 1.6; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.theme-product-stock--out { margin-top: 1rem; font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-accent); font-weight: 600; }
.theme-add-to-cart-area { display: flex; flex-direction: column; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.theme-add-to-cart-area .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; width: 100%; }
.theme-variations { display: flex; flex-direction: column; gap: 1.75rem; width: 100%; }
.theme-variations-form {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
	width: 100%;
}
.theme-variation__label {
	font-family: var(--font-body);
	font-size: 11px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	margin-bottom: 0.75rem;
	font-weight: 400;
}
.theme-variation__pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-variation__pill {
	min-width: 56px;
	padding: 0.625rem 1rem;
	font-family: var(--font-body);
	font-size: 12px;
	letter-spacing: 0.05em;
	background: transparent;
	border: 1px solid var(--color-border);
	color: var(--color-foreground);
	transition: all 0.2s;
}
.theme-variation__pill:hover { border-color: var(--color-foreground); }
.theme-variation__pill.is-active {
	background: var(--color-foreground);
	color: var(--color-background);
	border-color: var(--color-foreground);
}
.theme-variations-form .single_add_to_cart_button { margin-top: 0; }
.theme-product-details { margin-top: 3rem; }
.theme-product-details h2 { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 1.25rem; }
.theme-product-details__description { font-family: var(--font-condensed); font-size: 19px; line-height: 1.55; text-transform: none; font-weight: 400; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); overflow-wrap: break-word; word-break: break-word; }
.theme-product-details__short ul, .tt-detail-list {
	margin-top: 1.5rem; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.6rem; list-style: disc; font-family: var(--font-body); font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); text-transform: none;
}
.theme-product-details__short li::marker, .tt-detail-list li::marker { color: var(--color-primary); }
.woocommerce-product-details__short-description,
.woocommerce-variation-description,
.posted_in { overflow-wrap: break-word; word-break: break-word; }

.theme-related-products { padding: 6rem 0; border-top: 1px solid var(--color-border); margin-top: 3rem; }
.theme-related-products__head { margin-bottom: 3rem; }
.theme-related-products__head h2 { font-family: var(--font-condensed); font-size: 1.875rem; text-transform: none; font-weight: 700; }
@media (min-width: 768px) { .theme-related-products__head h2 { font-size: 2.25rem; } }
.theme-related-products__head em { font-style: italic; }
.theme-related-products .tt-product-grid { grid-template-columns: 1fr; gap: 2rem 2rem; }
@media (min-width: 640px) { .theme-related-products .tt-product-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .theme-related-products .tt-product-grid { grid-template-columns: repeat(3,1fr); } }

/* ---------------------------------------------------------------- */
/* Cart drawer                                                       */
/* ---------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0; background: color-mix(in srgb, var(--color-foreground) 30%, transparent); z-index: 998;
	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: 32rem; background: var(--color-background); z-index: 999;
	box-shadow: var(--shadow-elevated); display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.4s var(--ease-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 2rem 2rem 1.25rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__header h2 { font-family: var(--font-condensed); font-size: 1.5rem; text-transform: none; font-style: italic; font-weight: 700; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; text-align: center; gap: 0.5rem; }
.theme-cart-drawer__empty svg { color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.theme-cart-drawer__empty p { color: var(--color-muted-foreground); margin-bottom: 1rem; text-transform: none; }
.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem 2rem; display: flex; flex-direction: column; gap: 2rem; }
.theme-cart-item { display: flex; gap: 1.25rem; }
.theme-cart-item__image { width: 96px; height: 128px; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; display: block; position: relative; }
.theme-cart-item__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.theme-cart-item__title { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; }
.theme-cart-item__title:hover { opacity: 0.7; }
.theme-cart-item__variation { margin-top: 0.4rem; font-size: 0.75rem; font-style: italic; color: var(--color-muted-foreground); text-transform: none; }
.theme-cart-item__price { margin-top: 0.4rem; font-size: 0.875rem; text-transform: none; }
.theme-cart-item__controls { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; }
.theme-cart-item__qty { display: flex; align-items: center; border: 1px solid var(--color-border); }
.theme-cart-item__qty button { display: flex; align-items: center; padding: 0.4rem 0.6rem; background: none; border: none; }
.theme-cart-item__qty button:hover { background: var(--color-secondary); }
.theme-cart-item__qty span { padding: 0 0.6rem; font-size: 0.875rem; min-width: 28px; text-align: center; }
.theme-cart-item__remove { font-size: 0.75rem; color: var(--color-muted-foreground); text-decoration: underline; background: none; border: none; text-transform: none; }
.theme-cart-item__remove:hover { color: var(--color-foreground); }
.theme-cart-drawer__pair { padding-top: 1rem; border-top: 1px solid var(--color-border); min-width: 0; }
.theme-cart-drawer__pair-title { font-family: var(--font-condensed); font-style: italic; font-size: 1.125rem; margin-bottom: 1rem; text-transform: none; font-weight: 700; }
.theme-cart-drawer__pair-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; min-width: 0; }
@media (min-width: 640px) { .theme-cart-drawer__pair-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.theme-cart-pair-item { display: block; text-align: left; background: none; border: none; padding: 0; color: inherit; text-decoration: none; cursor: pointer; min-width: 0; width: 100%; }
.theme-cart-pair-item__image { display: block; position: relative; width: 100%; aspect-ratio: 3/4; overflow: hidden; background: var(--color-secondary); margin-bottom: 0.5rem; }
.theme-cart-pair-item__image img,
.theme-cart-pair-item__image .cover-img { position: absolute; inset: 0; width: 100%; height: 100% !important; max-width: none; max-height: none; object-fit: cover; transition: transform 0.7s ease; }
.theme-cart-pair-item:hover .theme-cart-pair-item__image img { transform: scale(1.05); }
.theme-cart-pair-item__title { display: block; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-pair-item__price { display: block; font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.125rem; text-transform: none; }
@media (max-width: 639px) { .theme-cart-pair-item--hide-mobile { display: none; } }
.theme-cart-drawer__footer { padding: 1.5rem 2rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--font-condensed); font-size: 1.25rem; text-transform: none; font-weight: 700; }
.theme-cart-drawer__note { font-size: 0.75rem; color: var(--color-muted-foreground); text-transform: none; }
.theme-cart-drawer__checkout { width: 100%; }

/* ---------------------------------------------------------------- */
/* Checkout Block (Section 13)                                       */
/* ---------------------------------------------------------------- */
body.woocommerce-checkout .site-main,
body.woocommerce-checkout .tt-generic-page { padding-top: calc(var(--tt-header-height) + var(--tt-announcement-height) + 32px); padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content { width: 100%; }

body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	grid-template-columns: none !important;
}

@media (min-width: 1024px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
		grid-template-rows: auto !important;
		gap: 3rem !important;
		align-items: start !important;
		width: 100% !important;
	}
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-main,
body.woocommerce-checkout .wc-block-components-sidebar {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	display: block !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: color-mix(in srgb, var(--color-secondary) 60%, transparent);
	border-radius: 0.375rem;
	padding: 2rem;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-blocks-components-select select,
body.woocommerce-checkout .wc-block-components-combobox input,
body.woocommerce-checkout .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-country-input input,
body.woocommerce-checkout .wc-block-components-state-input input,
body.woocommerce-checkout .wc-block-components-form input[type="text"],
body.woocommerce-checkout .wc-block-components-form input[type="email"],
body.woocommerce-checkout .wc-block-components-form input[type="tel"],
body.woocommerce-checkout .wc-block-components-form input[type="number"],
body.woocommerce-checkout .wc-block-components-form select,
body.woocommerce-checkout .wc-block-components-form textarea,
body.woocommerce-checkout .wc-block-checkout input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
body.woocommerce-checkout .wc-block-checkout select,
body.woocommerce-checkout .wc-block-checkout textarea {
	width: 100% !important;
	max-width: none !important;
	background-color: var(--color-background) !important;
	background: var(--color-background) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: 0.375rem !important;
	font-family: var(--font-body) !important;
	font-size: 0.875rem !important;
	font-weight: 400 !important;
	color: var(--color-foreground) !important;
	box-shadow: none !important;
	outline: none !important;
	appearance: none !important;
	-webkit-appearance: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-checkout input::placeholder {
	color: var(--color-muted-foreground) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-blocks-components-select select:focus,
body.woocommerce-checkout .wc-block-components-combobox input:focus,
body.woocommerce-checkout .wc-block-components-form input:focus,
body.woocommerce-checkout .wc-block-components-form select:focus,
body.woocommerce-checkout .wc-block-checkout input:focus,
body.woocommerce-checkout .wc-block-checkout select:focus,
body.woocommerce-checkout .wc-block-checkout textarea:focus {
	outline: none !important;
	border-color: var(--color-primary) !important;
	box-shadow: 0 0 0 1px var(--color-primary) !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background: var(--color-primary) !important; color: var(--color-primary-foreground) !important; border-radius: var(--btn-radius) !important;
	text-transform: uppercase; letter-spacing: 0.18em; font-weight: 700;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }

/* ---------------------------------------------------------------- */
/* Cart / Account pages width parity (Section 13.7)                  */
/* ---------------------------------------------------------------- */
body.woocommerce-cart .tt-generic-page,
body.woocommerce-account .tt-generic-page { max-width: var(--container-max); margin: 0 auto; }

/* ---------------------------------------------------------------- */
/* Thank you page (Section 22.8)                                     */
/* ---------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
.tt-thankyou { max-width: 720px; margin: 0 auto; text-align: center; }
.tt-thankyou__icon { width: 64px; height: 64px; border-radius: 999px; background: var(--color-primary); color: var(--color-primary-foreground); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details { text-align: left; margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex; flex-wrap: wrap; gap: 1rem 2rem; list-style: none; padding: 1.5rem; border: 1px solid var(--color-border); border-radius: var(--radius);
}
body.theme-thankyou-page .woocommerce-order-overview li { margin: 0; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem 0; font-size: 1.25rem; text-transform: none; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.6rem; border-bottom: 1px solid var(--color-border); text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
@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; }

/* ---------------------------------------------------------------- */
/* 404                                                                */
/* ---------------------------------------------------------------- */
.tt-404__inner { text-align: center; padding: 5rem 1rem; }
.tt-404__inner h1 { font-size: 2rem; margin-bottom: 1rem; }
.tt-404__inner p { color: var(--color-muted-foreground); margin-bottom: 2rem; text-transform: none; }

/* ---------------------------------------------------------------- */
/* Utility                                                            */
/* ---------------------------------------------------------------- */
/* Keep container side padding even when a section class also sets vertical padding. */
@media (max-width: 1023px) {
	.container-wide.tt-intro__inner,
	.container-wide.site-footer__main,
	.container-wide.site-footer__newsletter-inner,
	.container-wide.tt-search-overlay__grid,
	.container-editorial.tt-whatwemake,
	.container-editorial.tt-contact-cta__content {
		padding-left: 1.5rem !important;
		padding-right: 1.5rem !important;
	}
}
