:root {
	--ts-cream: #faf6ee;
	--ts-paper: #fffaf1;
	--ts-gold: #b8860b;
	--ts-red: #c0392b;
	--ts-black: #1a1a1a;
	--ts-ink: #2a2118;
	--ts-muted: #6f6254;
	--ts-line: rgba(42, 33, 24, 0.16);
	--ts-green: #2f6f4e;
	--ts-blue: #244b68;
	--ts-radius: 8px;
	--ts-serif: "IM Fell English SC", "Playfair Display", Georgia, serif;
	--ts-display: "Playfair Display", Georgia, serif;
	--ts-sans: "Inter", Arial, sans-serif;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background:
		linear-gradient(rgba(184, 134, 11, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(184, 134, 11, 0.028) 1px, transparent 1px),
		var(--ts-cream);
	background-size: 28px 28px;
	color: var(--ts-ink);
	font-family: var(--ts-sans);
	font-size: 16px;
	line-height: 1.6;
}

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

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

.wrap {
	width: min(1120px, calc(100% - 32px));
	margin-inline: auto;
}

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

.skip-link:focus {
	top: 12px;
	left: 12px;
	z-index: 10;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	background: var(--ts-black);
	color: #fff;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(255, 250, 241, 0.96);
	border-bottom: 2px solid rgba(184, 134, 11, 0.32);
	backdrop-filter: blur(12px);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 76px;
	gap: 24px;
}

.brand {
	display: flex;
	align-items: center;
	min-width: 0;
	gap: 12px;
}

.brand__text {
	display: grid;
	line-height: 1.15;
}

.brand__text strong {
	font-family: var(--ts-serif);
	font-size: 27px;
	letter-spacing: 0.01em;
	text-shadow: 0.5px 0.5px 0 rgba(184, 134, 11, 0.36);
}

.brand__text span {
	color: var(--ts-muted);
	font-size: 13px;
}

.site-logo-fallback,
.site-logo-img,
.custom-logo-link {
	display: grid;
	width: 54px;
	height: 54px;
	flex: 0 0 54px;
	place-items: center;
	border: 2px solid #d4a017;
	border-radius: 50%;
	background: var(--ts-black);
	color: var(--ts-gold);
	font-family: var(--ts-serif);
	font-size: 20px;
	font-weight: 700;
	box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.08), inset 0 0 0 1px rgba(255, 250, 241, 0.18);
}

.site-logo-img img,
.custom-logo-link img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 50%;
}

.primary-nav ul,
.site-footer ul {
	display: flex;
	align-items: center;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav a {
	color: var(--ts-muted);
	font-size: 14px;
	font-weight: 700;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
	color: var(--ts-red);
}

.nav-toggle {
	display: none;
	width: 42px;
	height: 42px;
	padding: 10px;
	border: 1px solid var(--ts-line);
	border-radius: var(--ts-radius);
	background: var(--ts-paper);
}

.nav-toggle span:not(.screen-reader-text) {
	display: block;
	width: 20px;
	height: 2px;
	margin: 4px auto;
	background: var(--ts-black);
}

.hero {
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(90deg, rgba(17, 17, 16, 0.96), rgba(17, 17, 16, 0.78)),
		radial-gradient(circle at 72% 34%, rgba(184, 134, 11, 0.28), transparent 34%),
		linear-gradient(rgba(245, 230, 163, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(245, 230, 163, 0.035) 1px, transparent 1px),
		var(--ts-black);
	background-size: auto, auto, 34px 34px, 34px 34px;
	color: #fffaf1;
	border-bottom: 5px double rgba(184, 134, 11, 0.62);
}

.hero__slides {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hero__slide {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
	opacity: 0;
	transform: scale(1.02);
	transition: opacity 900ms ease, transform 4500ms ease;
}

.hero__slide.is-active {
	opacity: 1;
	transform: scale(1);
}

.hero__slides::after {
	position: absolute;
	inset: 0;
	content: "";
	background:
		linear-gradient(90deg, rgba(17, 17, 16, 0.9), rgba(17, 17, 16, 0.62)),
		radial-gradient(circle at 74% 36%, rgba(184, 134, 11, 0.18), transparent 34%),
		linear-gradient(rgba(245, 230, 163, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(245, 230, 163, 0.03) 1px, transparent 1px);
	background-size: auto, auto, 34px 34px, 34px 34px;
}

.hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	align-items: center;
	min-height: min(620px, calc(100vh - 76px));
	padding: 88px 0;
	gap: 44px;
}

.hero__copy {
	max-width: 680px;
}

.eyebrow {
	margin: 0 0 12px;
	color: #d33f31;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.page-content h1,
.product-summary h1 {
	margin: 0 0 18px;
	font-family: var(--ts-serif);
	font-size: clamp(44px, 8vw, 88px);
	line-height: 0.96;
	letter-spacing: 0.01em;
}

.hero h1 {
	max-width: 780px;
	color: #fffaf1;
	text-shadow: 2px 2px 0 rgba(192, 57, 43, 0.48), 4px 4px 0 rgba(184, 134, 11, 0.18);
}

.hero p:not(.eyebrow),
.page-hero p {
	max-width: 620px;
	margin: 0 0 26px;
	color: rgba(255, 250, 241, 0.82);
	font-size: 18px;
}

.button,
.ts-order-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 46px;
	padding: 12px 18px;
	border: 0;
	border-radius: var(--ts-radius);
	background: linear-gradient(180deg, #d84b3e, #a72d22);
	color: #fff;
	font-weight: 800;
	box-shadow: inset 0 0 0 1px rgba(255, 250, 241, 0.18), 0 8px 18px rgba(0, 0, 0, 0.18);
}

.button:hover,
.ts-order-button:hover {
	background: #a72d22;
}

.ts-order-button--whatsapp {
	background: linear-gradient(180deg, #25d366, #128c4a);
	color: #fff;
}

.ts-order-button--whatsapp:hover {
	background: linear-gradient(180deg, #20bd5b, #0f7a40);
}

.ts-order-button--email {
	background: linear-gradient(180deg, #2f80ed, #1558b0);
	color: #fff;
}

.ts-order-button--email:hover {
	background: linear-gradient(180deg, #256fce, #114c9b);
}

.ts-order-button--instagram {
	background: linear-gradient(135deg, #f58529, #dd2a7b 42%, #8134af 72%, #515bd4);
	color: #fff;
}

.ts-order-button--instagram:hover {
	background: linear-gradient(135deg, #e17320, #c92370 42%, #702d9c 72%, #4651bd);
}

.ts-order-icon {
	width: 26px;
	height: 26px;
	flex: 0 0 26px;
	fill: currentColor;
}

.hero__mark {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	border: 2px solid rgba(184, 134, 11, 0.68);
	border-radius: 50%;
	background:
		radial-gradient(circle, rgba(250, 246, 238, 0.08), rgba(184, 134, 11, 0.08) 44%, rgba(26, 26, 26, 0.28) 45%),
		rgba(250, 246, 238, 0.04);
	box-shadow: inset 0 0 0 28px rgba(184, 134, 11, 0.08), 0 24px 70px rgba(0, 0, 0, 0.36);
}

.hero__mark .site-logo-fallback,
.hero__mark .site-logo-img,
.hero__mark .custom-logo-link {
	width: 170px;
	height: 170px;
	font-size: 58px;
}

.section {
	padding: 72px 0;
}

.section__head {
	margin-bottom: 26px;
}

.section__head h2,
.story-band h2 {
	margin: 0;
	font-family: var(--ts-serif);
	font-size: clamp(30px, 4vw, 48px);
	line-height: 1.1;
}

.product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.product-card {
	display: grid;
	overflow: hidden;
	border: 1px solid rgba(184, 134, 11, 0.34);
	border-radius: var(--ts-radius);
	background: var(--ts-paper);
	box-shadow: 0 16px 34px rgba(42, 33, 24, 0.1);
}

.product-card__image {
	display: grid;
	position: relative;
	overflow: hidden;
	aspect-ratio: 1;
	place-items: center;
	background:
		linear-gradient(135deg, rgba(184, 134, 11, 0.18), rgba(192, 57, 43, 0.1)),
		#171716;
	color: var(--ts-muted);
	font-family: var(--ts-serif);
	font-weight: 700;
}

.product-card__image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.product-card__body {
	display: grid;
	gap: 14px;
	padding: 18px;
}

.product-card__top {
	display: grid;
	gap: 8px;
}

.product-card h3 {
	margin: 0;
	font-family: var(--ts-serif);
	font-size: 27px;
	line-height: 1.12;
}

.product-code {
	width: fit-content;
	padding: 3px 8px;
	border: 1px solid rgba(184, 134, 11, 0.42);
	background: rgba(184, 134, 11, 0.1);
	color: #745606;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.product-card__description {
	margin: 0;
	color: var(--ts-muted);
	font-size: 14px;
}

.product-card__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.product-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(184, 134, 11, 0.2);
	color: var(--ts-muted);
	font-size: 13px;
}

.product-card__meta strong {
	color: var(--ts-ink);
	font-size: 13px;
}

.product-card__bottom strong,
.price {
	color: var(--ts-black);
	font-size: 22px;
}

.badge,
.chip {
	display: inline-flex;
	width: fit-content;
	align-items: center;
	min-height: 28px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
}

.badge--stock {
	background: rgba(47, 111, 78, 0.13);
	color: var(--ts-green);
}

.badge--order {
	background: rgba(184, 134, 11, 0.16);
	color: #745606;
}

.text-link {
	color: var(--ts-red);
	font-weight: 800;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.text-link--light {
	color: #f5e6a3;
}

.story-band {
	padding: 58px 0;
	background:
		linear-gradient(90deg, rgba(26, 26, 26, 0.98), rgba(26, 26, 26, 0.88)),
		radial-gradient(circle at 20% 10%, rgba(184, 134, 11, 0.22), transparent 30%),
		var(--ts-black);
	color: #fffaf1;
	border-top: 5px double rgba(184, 134, 11, 0.52);
	border-bottom: 1px solid rgba(184, 134, 11, 0.36);
}

.story-band__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) auto;
	align-items: center;
	gap: 28px;
}

.story-band p {
	margin: 0;
	color: rgba(255, 250, 241, 0.78);
}

.page-hero {
	padding: 72px 0 56px;
	background: var(--ts-black);
	color: #fffaf1;
}

.page-hero h1 {
	font-size: clamp(38px, 6vw, 68px);
}

.catalog-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}

.chip {
	border: 1px solid var(--ts-line);
	background: var(--ts-paper);
	color: var(--ts-muted);
}

.chip.is-active,
.chip:hover {
	border-color: var(--ts-red);
	color: var(--ts-red);
}

.product-detail {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
	gap: 42px;
	padding-top: 56px;
	padding-bottom: 72px;
}

.product-gallery__main {
	display: grid;
	overflow: hidden;
	min-height: 420px;
	max-height: 620px;
	place-items: center;
	border: 1px solid var(--ts-line);
	border-radius: var(--ts-radius);
	background: #171716;
	color: var(--ts-muted);
}

.product-gallery__main img {
	width: 100%;
	height: auto;
	max-height: 620px;
	object-fit: contain;
}

.product-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 8px;
	margin-top: 10px;
}

.product-gallery__thumb {
	display: block;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 6px;
	background: transparent;
	cursor: pointer;
}

.product-gallery__thumb:hover,
.product-gallery__thumb.is-active {
	border-color: var(--ts-gold);
}

.product-gallery__thumbs img {
	aspect-ratio: 1;
	width: 100%;
	object-fit: cover;
	border-radius: 6px;
}

.product-summary {
	align-self: start;
	position: sticky;
	top: 100px;
}

.product-summary h1 {
	font-size: clamp(34px, 5vw, 60px);
}

.product-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0 0 18px;
}

.product-facts div {
	padding: 12px;
	border: 1px solid rgba(184, 134, 11, 0.28);
	border-radius: var(--ts-radius);
	background: rgba(255, 250, 241, 0.72);
}

.product-facts dt {
	margin: 0 0 2px;
	color: var(--ts-muted);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.product-facts dd {
	margin: 0;
	color: var(--ts-ink);
	font-weight: 800;
}

.price {
	margin: 0 0 8px;
	font-weight: 800;
}

.build-time {
	margin: 0 0 24px;
	color: var(--ts-blue);
	font-weight: 700;
}

.entry-content {
	color: var(--ts-muted);
}

.entry-content a {
	color: var(--ts-red);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ts-whatsapp-box {
	display: grid;
	gap: 12px;
	margin-top: 24px;
}

.ts-variant-label {
	color: var(--ts-ink);
	font-weight: 800;
}

.ts-variant-select {
	min-height: 44px;
	width: 100%;
	padding: 8px 10px;
	border: 1px solid var(--ts-line);
	border-radius: var(--ts-radius);
	background: #fff;
	color: var(--ts-ink);
	font: inherit;
}

.ts-maintenance,
.empty-state {
	grid-column: 1 / -1;
	padding: 22px;
	border: 1px solid var(--ts-line);
	border-radius: var(--ts-radius);
	background: var(--ts-paper);
}

.empty-state h2,
.empty-state h3 {
	margin-top: 0;
	font-family: var(--ts-serif);
}

.page-content {
	max-width: 820px;
	padding-top: 64px;
	padding-bottom: 76px;
}

.page-content__header h1 {
	font-size: clamp(36px, 6vw, 64px);
}

.post-list {
	display: grid;
	gap: 18px;
}

.post-summary {
	padding: 22px;
	border: 1px solid var(--ts-line);
	border-radius: var(--ts-radius);
	background: var(--ts-paper);
}

.site-footer {
	padding: 36px 0;
	background: #211b16;
	color: #fffaf1;
}

.site-footer__inner {
	display: flex;
	justify-content: space-between;
	gap: 24px;
}

.site-footer p {
	max-width: 420px;
	margin: 6px 0 0;
	color: rgba(255, 250, 241, 0.68);
}

.site-footer .site-credit {
	font-size: 13px;
}

.site-footer a:hover {
	color: #f5e6a3;
}

.pagination {
	margin-top: 32px;
}

@media (max-width: 860px) {
	.nav-toggle {
		display: block;
	}

	.primary-nav {
		position: absolute;
		top: 76px;
		right: 16px;
		left: 16px;
		display: none;
		padding: 16px;
		border: 1px solid var(--ts-line);
		border-radius: var(--ts-radius);
		background: var(--ts-paper);
		box-shadow: 0 20px 38px rgba(26, 26, 26, 0.16);
	}

	.nav-open .primary-nav {
		display: block;
	}

	.primary-nav ul {
		display: grid;
		gap: 12px;
	}

	.hero__inner,
	.product-detail,
	.story-band__inner {
		grid-template-columns: 1fr;
	}

	.hero__inner {
		min-height: auto;
		padding: 64px 0 36px;
	}

	.hero__mark {
		max-width: 240px;
	}

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

	.product-summary {
		position: static;
	}

	.site-footer__inner {
		display: grid;
	}
}

@media (max-width: 560px) {
	.wrap {
		width: min(100% - 24px, 1120px);
	}

	.brand__text span {
		display: none;
	}

	.hero h1,
	.page-hero h1,
	.page-content h1,
	.product-summary h1 {
		font-size: 42px;
	}

	.product-grid {
		grid-template-columns: 1fr;
	}

	.section {
		padding: 52px 0;
	}

	.product-detail {
		padding-top: 34px;
		padding-bottom: 52px;
	}

	.product-gallery__main {
		min-height: 280px;
		max-height: none;
	}

	.product-gallery__main img {
		max-height: none;
	}

	.site-footer ul {
		display: grid;
		gap: 10px;
	}
}
