/* ==========================================================================
   Tretorn DE — storefront styles
   Design tokens from capture/DESIGN.md:
     ink #181818 · paper #FCFCFC · footer #464832 · button #595A47
     current price #651D1E · muted #6B6A67 · line #DAD8D5 · white #FFFFFF
   Grid: 4 columns, gap 32px 8px, page margin 24px (390: 2 columns, 16px).
   Type: Tiempos Text (serif, headings/prices), ABC Monument Grotesk (sans, UI).
   Neither webfont is available locally -> documented system fallbacks.
   ========================================================================== */

:root {
	--ink: #181818;
	--paper: #fcfcfc;
	--paper-alt: #f1f0ee;
	--muted: #6b6a67;
	--line: #dad8d5;
	--olive-dark: #464832;
	--olive: #595a47;
	--sale: #651d1e;
	--white: #ffffff;
	--serif: "Tiempos Text", "Tiempos", "Times New Roman", Times, Georgia, serif;
	--sans: "ABC Monument Grotesk", "Monument Grotesk", "Helvetica Neue", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 24px;
	--header-h: 48px;
	--announce-h: 20px;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.3;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

figure {
	margin: 0;
}

h1,
h2,
h3,
h4,
h5 {
	margin: 0;
	font-weight: 400;
}

p {
	margin: 0 0 1em;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

table {
	border-collapse: collapse;
	width: 100%;
}

input,
select,
textarea {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 1.5px solid var(--ink);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.tt-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	background: var(--ink);
	color: var(--white);
	padding: 10px 16px;
}

.tt-skip:focus {
	left: 8px;
	top: 8px;
}

.tt-wrap {
	padding-left: var(--wrap);
	padding-right: var(--wrap);
}

.tt-wrap--narrow {
	max-width: 860px;
}

.tt-main {
	display: block;
	min-height: 40vh;
}

.tt-muted {
	color: var(--muted);
}

/* --------------------------------------------------------------------------
   Typography + primitives
   -------------------------------------------------------------------------- */
.tt-price {
	color: var(--sale);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.tt-price-old {
	color: var(--muted);
	text-decoration: line-through;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	margin-left: 6px;
}

.tt-badge {
	display: inline-block;
	padding: 3px 7px;
	background: var(--ink);
	color: var(--white);
	font-size: 11px;
	line-height: 1.2;
	letter-spacing: 0.01em;
}

.tt-badge--sale {
	background: var(--sale);
}

.tt-swatch {
	display: inline-block;
	width: 20px;
	height: 24px;
	border: 1px solid rgba(24, 24, 24, 0.18);
}

.tt-swatch--lg {
	width: 26px;
	height: 26px;
}

.tt-req {
	color: var(--sale);
	margin-left: 2px;
}

.tt-link {
	font-size: 12px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tt-muted-link {
	color: var(--muted);
}

/* Buttons */
.tt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 39px;
	padding: 12px 16px;
	border: 1px solid transparent;
	border-radius: 0;
	font-size: 14px;
	line-height: 1;
	letter-spacing: 0.01em;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
	cursor: pointer;
}

.tt-btn:hover {
	text-decoration: none;
}

.tt-btn--primary {
	background: var(--olive);
	color: var(--white);
	border-color: var(--olive);
}

.tt-btn--primary:hover {
	background: #4a4b3b;
	border-color: #4a4b3b;
	color: var(--white);
}

.tt-btn--dark {
	background: var(--ink);
	color: var(--white);
	border-color: var(--ink);
}

.tt-btn--dark:hover {
	background: #000;
	color: var(--white);
}

.tt-btn--outline {
	background: transparent;
	color: var(--ink);
	border-color: var(--ink);
}

.tt-btn--outline:hover {
	background: var(--ink);
	color: var(--white);
}

.tt-btn--light {
	background: var(--white);
	color: var(--ink);
	border-color: var(--white);
}

.tt-btn--ghost {
	background: transparent;
	color: var(--white);
	border-color: rgba(255, 255, 255, 0.65);
}

.tt-btn--ghost:hover {
	background: var(--white);
	color: var(--olive-dark);
}

.tt-btn:disabled,
.tt-btn[aria-disabled="true"] {
	opacity: 0.45;
	cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   Announcement bar + header + banner
   -------------------------------------------------------------------------- */
.tt-announce {
	background: var(--olive-dark);
	color: var(--white);
	font-size: 10px;
	line-height: 1;
	letter-spacing: 0.04em;
	min-height: var(--announce-h);
	display: flex;
	align-items: center;
	justify-content: center;
}

.tt-announce__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
	padding: 4px 16px;
	text-align: center;
}

.tt-announce__item {
	white-space: nowrap;
}

.tt-announce__item strong {
	font-weight: 600;
}

.tt-announce__sep {
	opacity: 0.65;
}

.tt-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: var(--paper);
}

.tt-header__bar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: var(--header-h);
	padding: 0 var(--wrap);
	border-bottom: 1px solid var(--ink);
	background: var(--paper);
}

.tt-header__burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-left: -8px;
}

.tt-nav {
	display: flex;
	align-items: center;
	gap: 24px;
}

.tt-nav__link {
	font-size: 12px;
	line-height: 1;
	padding: 6px 0;
	white-space: nowrap;
	background: none;
	border: 0;
	cursor: pointer;
}

.tt-nav__link:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.tt-nav__link--toggle {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.tt-nav__link--toggle .tt-icon {
	transition: transform 0.2s var(--ease);
}

.tt-nav__link--toggle[aria-expanded="true"] .tt-icon {
	transform: rotate(180deg);
}

.tt-logo {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: baseline;
	gap: 8px;
	white-space: nowrap;
}

.tt-logo:hover {
	text-decoration: none;
}

.tt-logo__text {
	font-family: var(--serif);
	font-size: 20px;
	letter-spacing: 0.14em;
}

.tt-logo__year {
	font-family: var(--serif);
	font-size: 12px;
	letter-spacing: 0.1em;
	color: var(--muted);
}

.tt-actions {
	display: flex;
	align-items: center;
	gap: 4px;
}

.tt-search-form {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
	padding-right: 12px;
	margin-right: 8px;
	border-right: 1px solid var(--line);
}

.tt-search-form__icon {
	display: inline-flex;
	color: var(--muted);
}

.tt-search-form__input {
	width: 92px;
	border: 0;
	border-bottom: 1px solid var(--ink);
	background: transparent;
	padding: 3px 0;
	font-size: 12px;
	border-radius: 0;
	outline: none;
	transition: width 0.2s var(--ease);
}

.tt-search-form__input:focus {
	width: 150px;
	border-bottom-color: var(--ink);
}

.tt-search-form__input::placeholder {
	color: var(--muted);
}

.tt-actions__icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: var(--ink);
}

.tt-actions__icon:hover {
	color: var(--sale);
	text-decoration: none;
}

.tt-actions__search {
	display: none;
}

.tt-cart-count {
	position: absolute;
	top: 5px;
	right: 4px;
	min-width: 15px;
	height: 15px;
	padding: 0 3px;
	background: var(--sale);
	color: var(--white);
	font-size: 9px;
	line-height: 15px;
	text-align: center;
	border-radius: 8px;
}

.tt-cart-count[hidden] {
	display: none;
}

.tt-banner {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 20px;
	padding: 0 16px;
	line-height: 20px;
	background: var(--ink);
	color: var(--white);
	font-size: 10px;
	letter-spacing: 0.045em;
	text-align: center;
}

.tt-banner:hover {
	text-decoration: none;
	background: #000;
}

/* Mega menu */
.tt-mega {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: var(--paper);
	border-bottom: 1px solid var(--ink);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
	z-index: 91;
}

.tt-mega[hidden] {
	display: none;
}

.tt-mega__inner {
	padding: 32px var(--wrap) 24px;
}

.tt-mega__grid {
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: 24px 16px;
}

.tt-mega__title {
	display: block;
	font-size: 13px;
	line-height: 1.2;
	margin-bottom: 8px;
}

.tt-mega__list li a {
	display: block;
	padding: 2px 0;
	font-size: 12px;
	color: var(--muted);
}

.tt-mega__list li a:hover {
	color: var(--ink);
}

.tt-mega__secondary {
	display: flex;
	gap: 20px;
	margin-top: 24px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
	font-size: 11px;
	color: var(--muted);
}

/* Search panel */
.tt-searchpanel {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	z-index: 120;
	background: var(--paper);
	border-bottom: 1px solid var(--ink);
	padding: 28px var(--wrap) 20px;
}

.tt-searchpanel[hidden] {
	display: none;
}

.tt-searchpanel__form {
	display: flex;
	align-items: center;
	gap: 12px;
	border-bottom: 1px solid var(--ink);
	padding-bottom: 8px;
	max-width: 720px;
	margin: 0 auto;
}

.tt-searchpanel__input {
	flex: 1;
	border: 0;
	background: transparent;
	font-family: var(--serif);
	font-size: 24px;
	outline: none;
}

.tt-searchpanel__submit,
.tt-searchpanel__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
}

.tt-searchpanel__label {
	max-width: 720px;
	margin: 18px auto 8px;
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

.tt-searchpanel__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	max-width: 720px;
	margin: 0 auto 6px;
}

.tt-searchpanel__tags a {
	display: inline-block;
	padding: 7px 12px;
	border: 1px solid var(--line);
	font-size: 12px;
}

.tt-searchpanel__tags a:hover {
	border-color: var(--ink);
	text-decoration: none;
}

/* Mobile menu */
.tt-menu {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	z-index: 130;
	width: min(88vw, 420px);
	background: var(--paper);
	transform: translateX(-100%);
	transition: transform 0.28s var(--ease);
	overflow-y: auto;
	padding: 20px 20px 40px;
	display: flex;
	flex-direction: column;
}

.tt-menu.is-open {
	transform: translateX(0);
}

.tt-menu[hidden] {
	display: none;
}

.tt-menu__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.tt-menu__title {
	font-family: var(--serif);
	font-size: 22px;
}

.tt-menu__close {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.tt-menu__search {
	margin-bottom: 20px;
	border-bottom: 1px solid var(--ink);
}

.tt-menu__search input {
	width: 100%;
	border: 0;
	background: transparent;
	padding: 8px 0;
	font-size: 14px;
	outline: none;
}

.tt-menu__nav {
	border-top: 1px solid var(--line);
}

.tt-menu__group {
	border-bottom: 1px solid var(--line);
}

.tt-menu__link,
.tt-menu__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 14px 0;
	font-size: 15px;
	text-align: left;
}

.tt-menu__panel {
	padding: 0 0 12px 12px;
}

.tt-menu__all {
	display: block;
	padding: 6px 0;
	font-size: 12px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tt-menu__panel li a {
	display: block;
	padding: 6px 0;
	font-size: 13px;
	color: var(--muted);
}

.tt-menu__secondary {
	margin-top: 24px;
	display: grid;
	gap: 10px;
	font-size: 13px;
}

.tt-menu__locale {
	margin-top: auto;
	padding-top: 24px;
	font-size: 12px;
	color: var(--muted);
}

/* Cart drawer */
.tt-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	z-index: 100;
	opacity: 0;
	transition: opacity 0.25s var(--ease);
}

.tt-overlay.is-open {
	opacity: 1;
}

.tt-overlay[hidden] {
	display: none;
}

.tt-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(599px, 100vw);
	background: var(--paper);
	z-index: 110;
	transform: translateX(100%);
	transition: transform 0.3s var(--ease);
	display: flex;
}

.tt-drawer.is-open {
	transform: translateX(0);
}

.tt-drawer[hidden] {
	display: flex;
	visibility: hidden;
}

.tt-drawer.is-open[hidden] {
	visibility: visible;
}

.tt-drawer__panel {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.tt-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	border-bottom: 1px solid var(--line);
	flex: 0 0 auto;
}

.tt-drawer__title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--serif);
	font-size: 20px;
}

.tt-drawer__close {
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.tt-drawer__body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 20px;
}

.tt-drawer__empty {
	margin-bottom: 16px;
	color: var(--muted);
}

.tt-drawer__items {
	border-top: 1px solid var(--line);
}

.tt-drawer__item {
	position: relative;
	display: grid;
	grid-template-columns: 100px minmax(0, 1fr);
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}

.tt-drawer__thumb img {
	width: 100px;
	height: 130px;
	object-fit: cover;
	background: var(--paper-alt);
}

.tt-drawer__meta {
	min-width: 0;
}

.tt-drawer__name {
	display: block;
	font-size: 14px;
	line-height: 1.3;
	margin-bottom: 4px;
	padding-right: 64px;
}

.tt-drawer__attr {
	margin: 0;
	font-size: 12px;
	color: var(--muted);
	line-height: 1.4;
}

.tt-drawer__price {
	margin: 6px 0 10px;
	font-size: 13px;
}

.tt-drawer__remove {
	position: absolute;
	right: 0;
	top: 18px;
	font-size: 11px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tt-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--line);
	height: 32px;
}

.tt-qty__btn {
	width: 30px;
	height: 30px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.tt-qty__value {
	min-width: 26px;
	text-align: center;
	font-size: 13px;
	font-variant-numeric: tabular-nums;
}

.tt-drawer__recs {
	margin-top: 24px;
}

.tt-drawer__recs-title {
	font-size: 12px;
	margin-bottom: 10px;
}

.tt-drawer__recsl {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding-bottom: 6px;
}

.tt-drawer__recsl li {
	flex: 0 0 132px;
}

.tt-drawer__recsl img {
	width: 76px;
	height: 99px;
	object-fit: cover;
	background: var(--paper-alt);
	margin-bottom: 6px;
}

.tt-drawer__recname {
	display: block;
	font-size: 11px;
	line-height: 1.3;
	margin-bottom: 3px;
}

.tt-drawer__recprice {
	display: block;
	font-size: 11px;
	color: var(--sale);
}

.tt-drawer__foot {
	flex: 0 0 auto;
	border-top: 1px solid var(--line);
	padding: 16px 20px 20px;
	background: var(--paper-alt);
}

.tt-drawer__row {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	padding: 6px 0;
}

.tt-drawer__row--total {
	font-size: 15px;
	padding-top: 10px;
	border-top: 1px solid var(--line);
	margin-top: 6px;
}

.tt-drawer__note {
	font-size: 10px;
	color: var(--muted);
	margin: 4px 0 12px;
}

.tt-drawer__checkout {
	width: 100%;
	justify-content: space-between;
}

.tt-drawer__cartlink {
	display: block;
	text-align: center;
	font-size: 11px;
	margin-top: 10px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Donation block */
.tt-donation {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	border: 1px solid rgba(24, 24, 24, 0.14);
	padding: 10px 12px;
	margin: 0 0 12px;
	font-size: 11px;
	line-height: 1.35;
	background: rgba(255, 255, 255, 0.55);
}

.tt-donation__icon {
	color: var(--sale);
	flex: 0 0 auto;
	margin-top: 1px;
}

.tt-donation strong {
	display: block;
	font-weight: 600;
}

.tt-donation span {
	color: var(--muted);
}

.tt-donation-row .tt-donation {
	margin: 8px 0;
}

/* --------------------------------------------------------------------------
   Home
   -------------------------------------------------------------------------- */
.tt-hero {
	position: relative;
	overflow: hidden;
	background: #111;
}

/* Bottom scrim keeps the serif headline legible when the 768–1023 crop puts a
   light garment behind it. */
.tt-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.42) 100%);
	pointer-events: none;
}

.tt-hero__img {
	width: 100%;
	height: clamp(520px, calc(100vh - 88px), 820px);
	object-fit: cover;
	object-position: center right;
}

.tt-hero__content {
	position: absolute;
	z-index: 1;
	left: var(--wrap);
	bottom: 28px;
	right: var(--wrap);
	color: var(--white);
	max-width: 620px;
}

.tt-hero__eyebrow {
	margin: 0 0 12px;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tt-hero__title {
	font-family: var(--serif);
	font-size: 40px;
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin: 0 0 20px;
	max-width: 14em;
}

.tt-section {
	padding: 56px 0 24px;
}

.tt-section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.tt-section__title {
	font-family: var(--serif);
	font-size: 27px;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.tt-section__tools {
	display: flex;
	align-items: center;
	gap: 10px;
}

.tt-section__link {
	font-size: 12px;
	text-decoration: none;
}

.tt-section__link:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tt-rail__arrow {
	width: 32px;
	height: 32px;
	border: 1px solid var(--line);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--paper);
}

.tt-rail__arrow:hover {
	border-color: var(--ink);
}

.tt-rail__arrow:disabled {
	opacity: 0.35;
	cursor: default;
}

.tt-rail__viewport {
	position: relative;
}

.tt-rail__track {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-bottom: 4px;
}

.tt-rail__track::-webkit-scrollbar {
	display: none;
}

.tt-rail__track > .tt-card {
	flex: 0 0 calc((100% - 24px) / 4);
	scroll-snap-align: start;
}

.tt-blocks {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin: 24px 0 0;
}

.tt-block {
	position: relative;
	display: block;
	aspect-ratio: 710 / 909;
	overflow: hidden;
	background: var(--paper-alt);
}

.tt-block:hover {
	text-decoration: none;
}

.tt-block__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}

.tt-block:hover .tt-block__img {
	transform: scale(1.015);
}

.tt-block__card {
	position: absolute;
	left: 24px;
	bottom: 24px;
	background: var(--white);
	padding: 14px 18px;
	display: grid;
	gap: 4px;
	min-width: 148px;
}

.tt-block__title {
	font-family: var(--serif);
	font-size: 17px;
}

.tt-block__cta {
	font-size: 11px;
}

.tt-usps {
	padding: 56px 0 72px;
	margin-top: 32px;
	border-top: 1px solid var(--line);
}

.tt-usps__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px 24px;
}

.tt-usp__icon {
	display: inline-flex;
	margin-bottom: 12px;
	color: var(--olive);
}

.tt-usp__title {
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
}

.tt-usp__copy {
	font-size: 12px;
	color: var(--muted);
	margin: 0;
	line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Product card + grid
   -------------------------------------------------------------------------- */
.tt-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 8px;
	row-gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tt-card {
	position: relative;
	list-style: none;
}

.tt-card__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.tt-card__badges {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	display: flex;
}

.tt-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--paper-alt);
	aspect-ratio: 2 / 3;
}

.tt-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.35s var(--ease);
}

.tt-card__img--hover {
	position: absolute;
	inset: 0;
	opacity: 0;
}

.tt-card__media:hover .tt-card__img--hover {
	opacity: 1;
}

.tt-card__info {
	padding: 10px 0 0;
}

.tt-card__name {
	display: block;
	font-size: 14px;
	line-height: 1.35;
	margin-bottom: 4px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tt-card__price {
	margin: 0;
	font-size: 14px;
	line-height: 1.3;
}

.tt-card__colors {
	display: flex;
	gap: 8px;
	margin-top: 8px;
	min-height: 24px;
}

.tt-card:hover .tt-card__name {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tt-grid--plp {
	margin-top: 0;
}

.tt-grid--cross {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* --------------------------------------------------------------------------
   PLP
   -------------------------------------------------------------------------- */
.tt-cathead {
	padding: 24px 0 0;
	border-bottom: 1px solid var(--line);
}

.tt-cathead__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	grid-template-areas:
		"title breadcrumb"
		"title tiles";
	grid-template-rows: auto auto;
	gap: 0;
	padding-bottom: 20px;
}

.tt-cathead__title {
	grid-area: title;
	align-self: start;
	padding-top: 16px;
}

.tt-cathead__eyebrow {
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 8px;
}

.tt-cathead__h1 {
	font-family: var(--serif);
	font-size: 40px;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.tt-breadcrumb {
	grid-area: breadcrumb;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	font-size: 10px;
	line-height: 12px;
	color: var(--muted);
	padding-top: 0;
}

.tt-breadcrumb a {
	color: var(--muted);
}

.tt-breadcrumb a:hover {
	color: var(--ink);
}

.tt-breadcrumb--pdp {
	grid-area: auto;
	padding: 14px 0;
}

.tt-cattiles {
	grid-area: tiles;
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 22px 0 0;
	scrollbar-width: none;
}

.tt-cattiles::-webkit-scrollbar {
	display: none;
}

.tt-cattile {
	flex: 0 0 84px;
}

.tt-cattile a {
	display: block;
}

.tt-cattile img {
	width: 84px;
	height: 121px;
	object-fit: cover;
	background: var(--paper-alt);
	margin-bottom: 8px;
}

.tt-cattile span {
	display: block;
	font-size: 10px;
	line-height: 1.3;
}

.tt-cattile:hover img {
	opacity: 0.9;
}

.tt-listing {
	padding-bottom: 64px;
}

.tt-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid var(--line);
	padding: 0;
	margin-top: 0;
}

.tt-toolbar__filter {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 0;
	font-size: 13px;
}

.tt-toolbar__count {
	margin: 0;
	padding: 16px 0;
	font-size: 14px;
	line-height: 14px;
	color: var(--muted);
}

.tt-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 4px 0 16px;
}

.tt-chips a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border: 1px solid var(--line);
	font-size: 11px;
}

.tt-chips a:hover {
	border-color: var(--ink);
	text-decoration: none;
}

.tt-chips__reset {
	border-color: transparent;
	text-decoration: underline;
}

.tt-listing__foot {
	display: grid;
	justify-items: center;
	gap: 28px;
	padding: 40px 0 8px;
}

.tt-loadmore {
	min-width: 260px;
}

.tt-pagination__list {
	display: flex;
	align-items: center;
	gap: 6px;
}

.tt-pagination__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	font-size: 12px;
	color: var(--muted);
}

.tt-pagination__link.current {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.tt-pagination__link:hover {
	color: var(--ink);
	text-decoration: none;
}

.tt-seo {
	max-width: 760px;
	padding: 48px 0 0;
	margin-top: 24px;
	border-top: 1px solid var(--line);
}

.tt-seo__title {
	font-family: var(--serif);
	font-size: 22px;
	line-height: 1.25;
	margin-bottom: 12px;
}

.tt-seo p {
	font-size: 14px;
	line-height: 1.55;
	color: var(--muted);
}

.tt-empty {
	padding: 72px 0;
	text-align: center;
}

.tt-empty__title {
	font-family: var(--serif);
	font-size: 26px;
	margin-bottom: 8px;
}

.tt-empty p {
	color: var(--muted);
	margin-bottom: 20px;
}

/* Filter drawer */
.tt-filters {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	z-index: 115;
	width: min(599px, 100vw);
	background: var(--paper);
	transform: translateX(-100%);
	transition: transform 0.28s var(--ease);
	display: flex;
}

.tt-filters.is-open {
	transform: translateX(0);
}

.tt-filters[hidden] {
	display: flex;
	visibility: hidden;
}

.tt-filters.is-open[hidden] {
	visibility: visible;
}

.tt-filters__form {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
}

.tt-filters__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	border-bottom: 1px solid var(--line);
	flex: 0 0 auto;
}

.tt-filters__title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
}

.tt-filters__close {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
}

.tt-filters__body {
	flex: 1 1 auto;
	overflow-y: auto;
}

.tt-facet {
	display: block;
	border-bottom: 1px solid var(--line);
	padding: 16px 20px;
	margin: 0;
	border-left: 0;
	border-right: 0;
	border-top: 0;
}

summary.tt-facet__legend {
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

summary.tt-facet__legend::-webkit-details-marker {
	display: none;
}

.tt-facet__legend {
	font-size: 14px;
	margin: 0 0 10px;
	padding: 0;
}

summary.tt-facet__legend {
	margin: 0;
}

.tt-facet__plus {
	font-size: 15px;
	color: var(--muted);
}

details[open] > summary .tt-facet__plus {
	transform: rotate(45deg);
}

.tt-facet__options {
	padding-top: 12px;
	display: grid;
	gap: 2px;
}

.tt-radio {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 0;
	font-size: 13px;
	cursor: pointer;
}

.tt-radio input {
	appearance: none;
	width: 14px;
	height: 14px;
	border: 1px solid var(--muted);
	border-radius: 50%;
	margin: 0;
	flex: 0 0 auto;
	position: relative;
}

.tt-radio input:checked {
	border-color: var(--ink);
}

.tt-radio input:checked::after {
	content: "";
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: var(--ink);
}

.tt-radio span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.tt-radio__dot {
	width: 12px;
	height: 14px;
	border: 1px solid rgba(24, 24, 24, 0.2);
	display: inline-block;
}

.tt-radio__count {
	font-style: normal;
	color: var(--muted);
	font-size: 11px;
}

.tt-filters__foot {
	flex: 0 0 auto;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 16px;
	align-items: center;
	padding: 16px 20px;
	border-top: 1px solid var(--line);
	background: var(--paper-alt);
}

.tt-filters__reset {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
}

.tt-filters__reset:hover {
	text-decoration: none;
}

/* --------------------------------------------------------------------------
   PDP
   -------------------------------------------------------------------------- */
.tt-pdp {
	padding-bottom: 72px;
}

.tt-pdp__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 406px;
	align-items: start;
}

.tt-gallery {
	position: relative;
	background: var(--paper-alt);
}

.tt-gallery__imgs {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.tt-gallery__imgs::-webkit-scrollbar {
	display: none;
}

.tt-gallery__fig {
	flex: 0 0 calc(50% - 4px);
	scroll-snap-align: start;
}

.tt-gallery__fig img {
	width: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	background: var(--paper-alt);
}

.tt-gallery__badges {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 3;
	display: flex;
}

.tt-gallery__nav {
	position: absolute;
	right: 16px;
	top: 16px;
	display: flex;
	gap: 6px;
	z-index: 3;
}

.tt-gallery__arrow {
	width: 32px;
	height: 32px;
	background: var(--white);
	border: 1px solid var(--line);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.tt-gallery__arrow:hover {
	border-color: var(--ink);
}

.tt-pdp__summary {
	position: sticky;
	top: calc(var(--header-h) + 24px);
	background: var(--white);
	padding: 28px 28px 24px;
	min-height: 1px;
}

.tt-rating {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	margin-bottom: 12px;
}

.tt-rating span {
	color: var(--muted);
}

.tt-pdp__title {
	font-family: var(--serif);
	font-size: 20px;
	line-height: 1.2;
	letter-spacing: -0.01em;
	margin-bottom: 8px;
}

.tt-pdp__subtitle {
	font-size: 14px;
	line-height: 1.35;
	color: var(--muted);
	margin-bottom: 12px;
}

.tt-pdp__price {
	font-size: 16px;
	margin-bottom: 18px;
}

.tt-pdp__color {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	margin-bottom: 18px;
}

.tt-sizes__label {
	font-size: 13px;
	margin-bottom: 8px;
}

.tt-sizes__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
	margin-bottom: 14px;
}

.tt-size {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 3px;
	height: 40px;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	font-size: 12px;
	background: var(--white);
	transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.tt-size:hover {
	background: var(--paper-alt);
}

.tt-size.is-selected {
	background: var(--ink);
	color: var(--white);
}

.tt-size.is-oos {
	color: #a8a6a2;
}

.tt-size.is-oos .tt-size__bell {
	display: inline-flex;
	opacity: 0.8;
}

.tt-size__bell {
	display: none;
}

.tt-pdp__staticsize {
	font-size: 13px;
	margin-bottom: 14px;
}

.tt-pdp__fit {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 18px;
	font-size: 12px;
}

.tt-pill {
	display: inline-block;
	padding: 4px 8px;
	border: 1px solid var(--line);
	font-size: 11px;
}

.tt-cartform {
	margin-bottom: 18px;
}

.tt-cartform__submit {
	width: 100%;
}

.tt-cartform__msg {
	margin: 8px 0 0;
	font-size: 12px;
	color: var(--sale);
	min-height: 1em;
}

.tt-pdp__usps {
	display: grid;
	gap: 8px;
	padding: 16px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	margin-bottom: 16px;
}

.tt-pdp__usps li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
}

.tt-pdp__usps .tt-icon {
	color: var(--olive);
	flex: 0 0 auto;
}

.tt-pdp__pay {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.tt-pdp__paylabel {
	font-size: 10px;
	color: var(--muted);
	margin-right: 4px;
}

.tt-pdp__intro {
	max-width: 860px;
	padding: 48px 0 8px;
	font-family: var(--serif);
	font-size: 24px;
	line-height: 1.35;
}

.tt-pdp__intro p {
	margin-bottom: 0.8em;
}

.tt-tabs {
	border-top: 1px solid var(--line);
	margin-top: 32px;
}

.tt-tabs__nav {
	display: flex;
	gap: 28px;
	border-bottom: 1px solid var(--line);
	overflow-x: auto;
}

.tt-tabs__tab {
	padding: 14px 0;
	font-size: 13px;
	color: var(--muted);
	border-bottom: 1px solid transparent;
	margin-bottom: -1px;
	white-space: nowrap;
}

.tt-tabs__tab.is-active {
	color: var(--ink);
	border-bottom-color: var(--ink);
}

.tt-tabs__panel {
	padding: 24px 0;
	max-width: 860px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--muted);
	display: none;
}

.tt-tabs__panel.is-active {
	display: block;
}

.tt-tabs__panel[hidden] {
	display: none;
}

.tt-tabs__panel p {
	color: var(--muted);
}

.tt-list {
	display: grid;
	gap: 6px;
	margin: 12px 0 0;
	padding-left: 0;
}

.tt-list li {
	position: relative;
	padding-left: 16px;
	font-size: 14px;
	color: var(--muted);
}

.tt-list li::before {
	content: "—";
	position: absolute;
	left: 0;
}

.tt-table {
	width: 100%;
	font-size: 13px;
	border-top: 1px solid var(--line);
}

.tt-table th,
.tt-table td {
	text-align: left;
	padding: 10px 12px 10px 0;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
	color: var(--muted);
}

.tt-table th {
	color: var(--ink);
	font-weight: 500;
}

.tt-table--kv th {
	width: 180px;
}

.tt-scale {
	padding: 24px 0;
	border-top: 1px solid var(--line);
	margin-top: 16px;
	max-width: 860px;
}

.tt-scale__title {
	font-family: var(--serif);
	font-size: 20px;
	margin-bottom: 18px;
}

.tt-scale__row {
	position: relative;
	display: grid;
	grid-template-columns: 160px 1fr;
	align-items: center;
	gap: 16px;
	padding: 10px 0;
}

.tt-scale__label {
	font-size: 12px;
}

.tt-scale__steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border: 1px solid var(--line);
}

.tt-scale__steps span {
	font-size: 11px;
	color: var(--muted);
	padding: 6px 8px;
	border-right: 1px solid var(--line);
	text-align: center;
}

.tt-scale__steps span:last-child {
	border-right: 0;
}

.tt-scale__mark {
	position: absolute;
	bottom: 2px;
	width: 2px;
	height: 26px;
	background: var(--sale);
	transform: translateX(-1px);
}

.tt-reviews {
	padding: 32px 0;
	border-top: 1px solid var(--line);
	max-width: 860px;
}

.tt-reviews__title {
	font-family: var(--serif);
	font-size: 20px;
	margin-bottom: 12px;
}

.tt-reviews__summary {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
}

.tt-reviews__empty {
	font-size: 14px;
	color: var(--muted);
	margin: 0;
}

.tt-cross {
	border-top: 1px solid var(--line);
	padding-top: 32px;
	margin-top: 32px;
}

.tt-cross .tt-section__title {
	margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   Content pages
   -------------------------------------------------------------------------- */
.tt-pagehead {
	padding: 48px 0 24px;
	max-width: 860px;
}

.tt-pagehead__eyebrow {
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 10px;
}

.tt-pagehead__title {
	font-family: var(--serif);
	font-size: 40px;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin-bottom: 12px;
}

.tt-pagehead__lead {
	font-size: 15px;
	color: var(--muted);
	max-width: 640px;
	margin: 0;
}

.tt-prose {
	max-width: 640px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--muted);
	padding-bottom: 64px;
}

.tt-prose h2 {
	font-family: var(--serif);
	font-size: 22px;
	line-height: 1.3;
	color: var(--ink);
	margin: 36px 0 10px;
}

.tt-prose h3 {
	font-size: 16px;
	color: var(--ink);
	margin: 24px 0 8px;
}

.tt-prose p,
.tt-prose li {
	font-size: 14px;
	line-height: 1.65;
}

.tt-prose ul {
	list-style: disc;
	padding-left: 20px;
	margin-bottom: 1em;
}

.tt-prose ul li {
	margin-bottom: 6px;
}

.tt-prose a {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tt-prose strong {
	color: var(--ink);
}

.tt-prose table {
	margin: 16px 0 24px;
}

.tt-prose thead th {
	background: var(--paper-alt);
}

.tt-pagehead__lead,
.tt-lead {
	font-size: 18px;
	font-family: var(--serif);
	line-height: 1.45;
	color: var(--ink);
}

/* Journal */
.tt-journal {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px 8px;
	padding: 16px 0 64px;
}

.tt-journal__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: var(--paper-alt);
	margin-bottom: 12px;
}

.tt-journal__meta {
	display: block;
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 6px;
}

.tt-journal__title {
	display: block;
	font-family: var(--serif);
	font-size: 20px;
	line-height: 1.25;
	margin-bottom: 8px;
}

.tt-journal__excerpt {
	display: block;
	font-size: 13px;
	color: var(--muted);
	line-height: 1.5;
}

.tt-journal__more {
	display: inline-block;
	font-size: 11px;
	margin-top: 10px;
}

.tt-page--article .tt-article__title {
	font-family: var(--serif);
	font-size: 40px;
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin: 8px 0 20px;
}

.tt-article__meta {
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0;
}

.tt-article__media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	margin-bottom: 24px;
}

.tt-article__back {
	padding-bottom: 64px;
}

.tt-404__links {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin: 20px 0 28px;
}

.tt-page--404 {
	padding-bottom: 64px;
}

/* --------------------------------------------------------------------------
   Cart / checkout / account
   -------------------------------------------------------------------------- */
.tt-page--wide {
	padding-bottom: 64px;
}

/* Cart / checkout use the full content column, not the 860 px prose measure. */
.tt-page--wide .tt-prose {
	max-width: 1200px;
}

.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error {
	background: var(--paper-alt);
	color: var(--ink);
	border-top: 2px solid var(--olive);
	padding: 16px 20px;
	font-size: 14px;
	list-style: none;
}

.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-error::before {
	color: var(--olive);
}

.woocommerce .cart-empty {
	margin-bottom: 20px;
}

.woocommerce .return-to-shop {
	margin-bottom: 8px;
}

/* The prose wrapper would otherwise leave cart/checkout text muted grey. */
.woocommerce table.shop_table td,
.woocommerce-checkout-review-order,
.woocommerce-checkout-review-order .product-name,
.woocommerce-checkout #payment,
.woocommerce-checkout #payment label {
	color: var(--ink);
}

.woocommerce-checkout .woocommerce-privacy-policy-text {
	font-size: 12px;
	line-height: 1.5;
	color: var(--muted);
}

.woocommerce {
	max-width: 100%;
}

.woocommerce-cart .tt-pagehead,
.woocommerce-checkout .tt-pagehead {
	padding-top: 40px;
}

.woocommerce table.shop_table {
	border: 0;
	border-top: 1px solid var(--line);
	border-collapse: collapse;
	margin: 0 0 24px;
	font-size: 14px;
}

.woocommerce table.shop_table th {
	text-align: left;
	font-weight: 500;
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
	padding: 12px 12px 12px 0;
	border-bottom: 1px solid var(--line);
	background: transparent;
}

.woocommerce table.shop_table td {
	padding: 16px 12px 16px 0;
	border-bottom: 1px solid var(--line);
	vertical-align: middle;
	background: transparent;
}

.woocommerce table.shop_table img {
	width: 72px;
	height: 94px;
	object-fit: cover;
	background: var(--paper-alt);
}

.woocommerce table.cart .product-thumbnail {
	width: 90px;
}

.woocommerce a.remove {
	color: var(--muted) !important;
	font-size: 15px;
	border: 0;
}

.woocommerce a.remove:hover {
	background: transparent !important;
	color: var(--sale) !important;
}

.woocommerce .quantity .qty {
	width: 56px;
	height: 34px;
	border: 1px solid var(--line);
	border-radius: 0;
	text-align: center;
	padding: 0;
}

.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.wc-block-components-button {
	background: var(--olive);
	color: var(--white);
	border: 1px solid var(--olive);
	border-radius: 0;
	font-size: 13px;
	line-height: 1;
	padding: 12px 18px;
	min-height: 39px;
	text-transform: none;
	font-weight: 400;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover {
	background: #4a4b3b;
	color: var(--white);
}

.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled] {
	background: var(--line);
	border-color: var(--line);
	color: var(--muted);
}

.woocommerce .button.alt,
.woocommerce #place_order {
	background: var(--olive);
	border-color: var(--olive);
	color: var(--white);
}

.woocommerce .coupon {
	display: flex;
	gap: 8px;
	align-items: center;
}

.woocommerce .coupon .input-text {
	height: 39px;
	border: 1px solid var(--line);
	border-radius: 0;
	padding: 0 12px;
	width: 180px;
	background: var(--white);
}

.cart_totals,
.woocommerce-checkout-review-order {
	border: 1px solid var(--line);
	padding: 20px;
	background: var(--white);
}

.woocommerce h2,
.cart_totals h2,
.woocommerce-checkout h3 {
	font-family: var(--serif);
	font-size: 20px;
	line-height: 1.3;
	margin: 0 0 16px;
}

.woocommerce-checkout .col2-set {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
	width: auto;
	float: none;
}

.woocommerce form .form-row {
	padding: 0;
	margin: 0 0 14px;
}

.woocommerce form .form-row label {
	font-size: 12px;
	color: var(--ink);
	margin-bottom: 5px;
	display: block;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
	height: 40px;
	border: 1px solid var(--line);
	border-radius: 0;
	background: var(--white);
	padding: 8px 12px;
	font-size: 14px;
	width: 100%;
}

.woocommerce form .form-row textarea {
	height: 88px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 24px;
	padding-left: 0;
}

.woocommerce-checkout #order_review_heading {
	margin-top: 0;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .woocommerce-checkout-review-order-table td {
	padding: 10px 0;
	font-size: 13px;
	border-bottom: 1px solid var(--line);
}

#payment.woocommerce-checkout-payment {
	background: transparent;
	border-radius: 0;
	padding: 0;
	margin-top: 16px;
}

#payment ul.payment_methods {
	padding: 0 0 12px;
	border-bottom: 1px solid var(--line);
}

#payment ul.payment_methods li {
	padding: 6px 0;
	font-size: 13px;
}

#payment div.payment_box {
	background: var(--paper-alt);
	border-radius: 0;
	font-size: 12px;
	color: var(--muted);
	margin: 8px 0;
}

#payment div.payment_box::before {
	display: none;
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
	border: 1px solid var(--line);
	border-top: 0;
	background: var(--paper-alt);
	color: var(--ink);
	font-size: 13px;
	padding: 14px 16px 14px 44px;
	border-radius: 0;
	margin: 0 0 20px;
}

.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-error::before {
	color: var(--olive);
	top: 14px;
	left: 16px;
}

.tt-cart-progress {
	margin-bottom: 20px;
	max-width: 620px;
}

.tt-progress {
	font-size: 12px;
	color: var(--muted);
}

.tt-progress p {
	margin: 0 0 8px;
}

.tt-progress.is-unlocked {
	color: var(--olive-dark);
}

.tt-progress.is-unlocked p {
	margin: 0;
}

.tt-progress__bar {
	height: 3px;
	background: var(--line);
	overflow: hidden;
}

.tt-progress__bar span {
	display: block;
	height: 100%;
	background: var(--olive);
}

.tt-checkout__note {
	font-size: 11px;
	color: var(--muted);
	margin: 10px 0 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	font-size: 13px;
	margin-bottom: 24px;
	padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
	list-style: none;
	border-bottom: 1px solid var(--line);
	padding-bottom: 4px;
}

.woocommerce-account .woocommerce-MyAccount-content {
	font-size: 14px;
}

.woocommerce-form-login,
.woocommerce-form-register {
	max-width: 460px;
	border: 1px solid var(--line);
	padding: 24px;
	background: var(--white);
}

.woocommerce-form-login .button,
.woocommerce-form-register .button {
	width: 100%;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.tt-footer {
	background: var(--olive-dark);
	color: var(--white);
	padding: 56px var(--wrap) 24px;
}

.tt-footer a {
	color: var(--white);
}

/* Two-row footer like the source: wordmark on the left, newsletter on the
   top right, the three link columns underneath it. */
.tt-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 2.05fr) repeat(3, minmax(0, 0.66fr));
	grid-template-areas:
		"logo news news news"
		"logo col1 col2 col3";
	grid-template-rows: auto auto;
	gap: 40px 24px;
	padding-bottom: 200px;
}

.tt-footer__logo {
	grid-area: logo;
	align-self: start;
	display: flex;
	align-items: baseline;
	gap: 10px;
	font-family: var(--serif);
	font-size: clamp(32px, 3.9vw, 56px);
	letter-spacing: 0.02em;
	line-height: 1;
	/* the wordmark must never collide with the newsletter column */
	max-width: 100%;
	overflow: hidden;
}

.tt-footer__news {
	grid-area: news;
}

.tt-footer__col:nth-child(3) {
	grid-area: col1;
}

.tt-footer__col:nth-child(4) {
	grid-area: col2;
}

.tt-footer__col:nth-child(5) {
	grid-area: col3;
}

.tt-footer__logo:hover {
	text-decoration: none;
}

.tt-footer__logo-year {
	font-size: 0.5em;
	letter-spacing: 0.12em;
	opacity: 0.85;
}

.tt-footer__title {
	font-size: 14px;
	font-weight: 500;
	color: #dad8d5;
	margin-bottom: 14px;
}

.tt-footer__copy {
	font-size: 14px;
	line-height: 1.5;
	max-width: 46em;
	margin-bottom: 16px;
}

.tt-newsletter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	max-width: 380px;
}

.tt-newsletter__input {
	flex: 1 1 180px;
	height: 39px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.55);
	color: var(--white);
	padding: 0 12px;
	font-size: 13px;
	border-radius: 0;
}

.tt-newsletter__input::placeholder {
	color: rgba(255, 255, 255, 0.7);
}

.tt-newsletter__msg {
	flex: 1 1 100%;
	font-size: 11px;
	margin: 4px 0 0;
	color: #dad8d5;
}

.tt-footer__list {
	display: grid;
	gap: 8px;
	font-size: 12px;
}

.tt-footer__list a::after {
	content: " ›";
	opacity: 0.75;
}

.tt-footer__list a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tt-footer__list--social span {
	color: rgba(255, 255, 255, 0.85);
}

.tt-footer__bottom {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	padding: 20px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.28);
	font-size: 14px;
}

.tt-footer__cell {
	display: grid;
	gap: 8px;
	align-content: start;
}

.tt-footer__label {
	font-size: 11px;
	color: #dad8d5;
}

.tt-footer__marks {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.tt-footer__marks .tt-pay {
	height: 20px;
	width: auto;
}

.tt-footer__locale {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
}

.tt-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	padding-top: 18px;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.8);
}

.tt-footer__legal a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1279px) {
	.tt-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.tt-rail__track > .tt-card {
		flex-basis: calc((100% - 16px) / 3);
	}

	.tt-mega__grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.tt-pdp__grid {
		grid-template-columns: minmax(0, 1fr) 360px;
	}

	.tt-footer__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tt-footer__logo {
		grid-column: 1 / -1;
	}

	.tt-usps__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* The seven first-level links plus "Alle Kategorien" collide with the centred
   wordmark below 1280, so the header switches to the burger earlier. */
@media (max-width: 1279px) {
	.tt-header__burger {
		display: inline-flex;
	}

	.tt-nav {
		display: none;
	}
}

@media (max-width: 1023px) {
	.tt-header__burger {
		display: inline-flex;
	}

	.tt-nav,
	.tt-search-form {
		display: none;
	}

	.tt-actions__search {
		display: inline-flex;
	}

	.tt-nav__link--toggle {
		display: none;
	}

	.tt-mega {
		display: none;
	}

	.tt-cathead__top {
		flex-direction: column-reverse;
		gap: 8px;
	}

	.tt-cathead__h1 {
		font-size: 32px;
	}

	.tt-pagehead__title,
	.tt-article__title {
		font-size: 32px;
	}

	.tt-hero__title {
		font-size: 32px;
	}

	.tt-pdp__grid {
		grid-template-columns: 1fr;
	}

	.tt-pdp__summary {
		position: static;
		padding: 24px var(--wrap);
	}

	.tt-gallery__fig {
		flex-basis: 86%;
	}

	.woocommerce-checkout .col2-set {
		grid-template-columns: 1fr;
	}

	.tt-journal {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	:root {
		--wrap: 16px;
	}

	.tt-announce {
		font-size: 9px;
	}

	.tt-announce__sep ~ .tt-announce__sep {
		display: none;
	}

	.tt-announce__item:nth-child(5) {
		display: none;
	}

	.tt-announce__inner {
		gap: 4px 10px;
		padding: 4px 12px;
		line-height: 1.3;
	}

	.tt-banner {
		font-size: 9px;
		letter-spacing: 0.02em;
	}

	.tt-banner__desktop {
		display: none;
	}

	.tt-actions__account {
		display: none;
	}

	.tt-logo__text {
		font-size: 17px;
		letter-spacing: 0.1em;
	}

	.tt-logo__year {
		font-size: 10px;
	}

	.tt-actions {
		gap: 0;
	}

	.tt-actions__icon {
		width: 36px;
		height: 40px;
	}

	.tt-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 4px;
		row-gap: 16px;
	}

	.tt-rail__track > .tt-card {
		flex-basis: calc((100% - 8px) / 2);
	}

	.tt-section {
		padding: 36px 0 12px;
	}

	.tt-section__title {
		font-size: 22px;
	}

	.tt-section__link {
		display: none;
	}

	.tt-hero__img {
		height: clamp(440px, 84vh, 708px);
	}

	.tt-hero__content {
		bottom: 20px;
	}

	.tt-hero__title {
		font-size: 32px;
		margin-bottom: 16px;
	}

	.tt-blocks {
		grid-template-columns: 1fr;
	}

	.tt-block {
		aspect-ratio: 4 / 5;
	}

	.tt-block__card {
		left: 16px;
		bottom: 16px;
		padding: 10px 14px;
	}

	.tt-usps {
		padding: 36px 0 48px;
	}

	.tt-usps__grid {
		grid-template-columns: 1fr 1fr;
		gap: 24px 16px;
	}

	.tt-cathead {
		padding-top: 20px;
	}

	.tt-cathead__grid {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"breadcrumb"
			"title"
			"tiles";
		gap: 24px 0;
		padding-bottom: 20px;
	}

	.tt-cathead__title {
		padding-top: 0;
	}

	.tt-cathead__h1 {
		font-size: 24px;
		line-height: 1.2;
	}

	.tt-gallery__fig {
		flex-basis: 100%;
	}

	.tt-cattiles {
		padding-top: 0;
	}

	.tt-cattile {
		flex-basis: 84px;
	}

	.tt-cattile img {
		width: 84px;
		height: 121px;
	}

	.tt-toolbar {
		margin-top: 0;
	}

	.tt-filters {
		width: 100vw;
	}

	.tt-filters__foot {
		grid-template-columns: 1fr;
	}

	.tt-listing__foot {
		padding: 28px 0 8px;
	}

	.tt-seo {
		padding-top: 32px;
	}

	.tt-seo__title {
		font-size: 19px;
	}

	.tt-pagehead {
		padding: 28px 0 16px;
	}

	.tt-pagehead__lead {
		font-size: 14px;
	}

	.tt-prose h2 {
		font-size: 19px;
	}

	.tt-pdp__summary {
		padding: 20px var(--wrap);
	}

	.tt-pdp__intro {
		font-size: 19px;
		padding-top: 32px;
	}

	.tt-scale__row {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.tt-scale__mark {
		display: none;
	}

	.tt-tabs__nav {
		gap: 18px;
	}

	.tt-journal {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.tt-footer {
		padding: 40px var(--wrap) 20px;
	}

	.tt-footer__top {
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			"logo logo"
			"news news"
			"col1 col2"
			"col3 col3";
		gap: 28px 20px;
		padding-bottom: 32px;
	}

	.tt-footer__logo {
		font-size: clamp(28px, 8vw, 40px);
	}

	.tt-footer__news {
		grid-column: 1 / -1;
	}

	.tt-footer__bottom {
		grid-template-columns: 1fr 1fr;
	}

	.tt-footer__legal {
		gap: 12px;
	}

	.tt-drawer {
		width: 100vw;
	}

	.tt-menu {
		width: 100vw;
	}

	.tt-drawer__item {
		grid-template-columns: 84px minmax(0, 1fr);
	}

	.tt-drawer__thumb img {
		width: 84px;
		height: 109px;
	}

	.tt-drawer__name {
		padding-right: 56px;
	}

	.woocommerce table.shop_table_responsive tr td::before {
		font-size: 11px;
		color: var(--muted);
	}

	.cart_totals,
	.woocommerce-checkout-review-order {
		padding: 16px;
	}

	/* WooCommerce's small-screen stylesheet is not enqueued; stack the cart rows
	   ourselves so the product name, quantity and subtotal stay readable. */
	.woocommerce table.cart {
		display: block;
		border-top: 0;
	}

	.woocommerce table.cart thead {
		display: none;
	}

	.woocommerce table.cart tbody {
		display: block;
	}

	.woocommerce table.cart tbody tr {
		display: grid;
		grid-template-columns: 84px minmax(0, 1fr) auto;
		grid-template-areas:
			"thumb name remove"
			"thumb qty total";
		gap: 8px 12px;
		align-items: center;
		padding: 16px 0;
		border-bottom: 1px solid var(--line);
	}

	.woocommerce table.cart tbody td {
		display: block;
		border: 0;
		padding: 0;
		text-align: left;
	}

	.woocommerce table.cart td.product-thumbnail {
		grid-area: thumb;
	}

	.woocommerce table.cart td.product-thumbnail img {
		width: 84px;
		height: auto;
	}

	.woocommerce table.cart td.product-name {
		grid-area: name;
		font-size: 14px;
	}

	.woocommerce table.cart td.product-remove {
		grid-area: remove;
		justify-self: end;
	}

	.woocommerce table.cart td.product-price {
		display: none;
	}

	.woocommerce table.cart td.product-quantity {
		grid-area: qty;
	}

	.woocommerce table.cart td.product-subtotal {
		grid-area: total;
		justify-self: end;
		font-weight: 500;
	}

	.woocommerce table.cart td.product-subtotal::before {
		content: "Summe: ";
		font-weight: 400;
		color: var(--muted);
	}

	.woocommerce table.cart td.actions {
		grid-column: 1 / -1;
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		padding-top: 4px;
	}

	.woocommerce table.cart td.actions .coupon {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		width: 100%;
	}

	.woocommerce table.cart td.actions .coupon .input-text {
		flex: 1 1 140px;
		width: auto;
	}

	.woocommerce .coupon {
		flex-wrap: wrap;
	}
}

@media (max-width: 420px) {
	.tt-announce__item {
		white-space: normal;
	}
}

@media (max-width: 359px) {
	.tt-logo__text {
		font-size: 15px;
	}

	.tt-logo__year {
		font-size: 9px;
	}

	.tt-announce__inner {
		flex-direction: column;
		gap: 2px;
		padding: 3px 8px;
	}

	.tt-announce__sep {
		display: none;
	}

	.tt-announce__item {
		font-size: 9px;
		line-height: 1.25;
	}

	.tt-footer__top {
		grid-template-columns: 1fr;
		grid-template-areas:
			"logo"
			"news"
			"col1"
			"col2"
			"col3";
	}
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
