:root {
	--ink: #0f1117;
	--ink-soft: #161a24;
	--cream: #f3dcae;
	--cream-soft: #faf3e6;
	--card: #fbf5ea;
	--tan: #a8825c;
	--tan-deep: #876844;
	--line: #e8d9bd;
	--text: #2a2622;
	--text-soft: #5c5348;
	--white: #ffffff;
	--whatsapp: #25d366;
	--gradient: linear-gradient(
		120deg,
		#f7b733 0%,
		#fb8b3a 22%,
		#fc575e 48%,
		#e0218a 72%,
		#a020c9 100%
	);
	--max-width: 1180px;
	--focus: #a020c9;
	--font-body:
		"Jost", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--font-heading: "Cormorant Garamond", serif;
}

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

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	min-height: 100vh;
	min-height: 100dvh;
	margin: 0;
	overflow-x: clip;
	display: flex;
	flex-direction: column;
	background: var(--cream-soft);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body > main {
	width: 100%;
	flex: 1 0 auto;
}

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

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

svg {
	display: block;
}

p,
h1,
h2,
h3 {
	overflow-wrap: anywhere;
}

.skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 100;
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--white);
	color: var(--ink);
	font-size: 0.875rem;
	font-weight: 500;
	transform: translateY(-160%);
	transition: transform 180ms ease;
}

.skip-link:focus {
	transform: translateY(0);
}

a:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 4px;
}

.eyebrow {
	color: var(--tan-deep);
	font-family: var(--font-body);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.38em;
	text-transform: uppercase;
}

/* Hero */
.hero {
	position: relative;
	overflow: hidden;
	padding: 64px 22px 72px;
	background: var(--ink);
	color: var(--cream);
	text-align: center;
}

.hero::before {
	position: absolute;
	top: 120px;
	left: 50%;
	width: 560px;
	height: 560px;
	border-radius: 50%;
	background: var(--gradient);
	content: "";
	filter: blur(120px);
	opacity: 0.2;
	pointer-events: none;
	transform: translateX(-50%);
}

.hero__inner {
	position: relative;
	max-width: 560px;
	margin: 0 auto;
}

.hero__logo {
	width: 208px;
	height: 208px;
	margin: 0 auto;
	border-radius: 50%;
	object-fit: cover;
	animation: rise 900ms ease both;
}

.hero h1 {
	margin: 26px 0 10px;
	color: #f7e6c4;
	font-family: var(--font-heading);
	font-size: clamp(1.9rem, 6vw, 2.5rem);
	font-style: italic;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.2;
}

.hero__subtitle {
	max-width: 30rem;
	margin: 0 auto;
	color: #cdbfa6;
	font-size: 1.02rem;
	font-weight: 300;
	line-height: 1.65;
}

.social-pill {
	display: inline-flex;
	min-height: 44px;
	margin-top: 26px;
	padding: 10px 20px;
	align-items: center;
	justify-content: center;
	gap: 9px;
	border: 1px solid rgba(243, 220, 174, 0.42);
	border-radius: 999px;
	color: var(--cream);
	font-size: 0.82rem;
	font-weight: 400;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	transition:
		background-color 250ms ease,
		border-color 250ms ease;
}

.social-pill:hover {
	border-color: var(--cream);
	background: rgba(243, 220, 174, 0.08);
}

.social-pill svg {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
}

.gradient-rule {
	height: 3px;
	background: var(--gradient);
}

/* Home showcase */
.showcase {
	width: min(100%, calc(var(--max-width) + 44px));
	margin: 0 auto;
	padding: 56px 22px 30px;
}

.showcase__heading {
	margin-bottom: 38px;
	text-align: center;
}

.showcase__heading h2,
.product-gallery__heading h2 {
	margin: 0.5rem 0 0;
	color: var(--text);
	font-family: var(--font-heading);
	font-size: clamp(2rem, 5vw, 2.7rem);
	font-weight: 500;
	line-height: 1.1;
}

.product-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 18px;
}

.product-card {
	position: relative;
	display: flex;
	flex: 0 1 100%;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--card);
	transition:
		border-color 280ms ease,
		box-shadow 280ms ease,
		transform 280ms ease;
}

.product-card::after {
	position: absolute;
	inset: 0;
	padding: 1.5px;
	border-radius: 16px;
	background: var(--gradient);
	content: "";
	opacity: 0;
	pointer-events: none;
	transition: opacity 280ms ease;
	-webkit-mask:
		linear-gradient(#000 0 0) content-box,
		linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
}

.product-card:hover,
.product-card:focus-within {
	border-color: transparent;
	box-shadow: 0 16px 34px -18px rgba(40, 28, 12, 0.45);
	transform: translateY(-5px);
}

.product-card:hover::after,
.product-card:focus-within::after {
	opacity: 1;
}

.product-card__link {
	display: flex;
	width: 100%;
	height: 100%;
	flex-direction: column;
}

.product-card__link:focus-visible {
	border-radius: 16px;
	outline-offset: -4px;
}

.product-card__thumb {
	position: relative;
	overflow: hidden;
	aspect-ratio: 3 / 4;
	background: var(--cream);
}

.product-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms ease;
}

.product-card:hover .product-card__thumb img,
.product-card:focus-within .product-card__thumb img {
	transform: scale(1.04);
}

.product-card__thumb--placeholder,
.product-detail__placeholder {
	display: flex;
	padding: 14px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 10px;
	background: radial-gradient(120% 80% at 50% 0%, #fbeccb 0%, #f1d8a6 100%);
	text-align: center;
}

.placeholder-mark {
	width: 42px;
	height: 42px;
	padding: 3px;
	border-radius: 50%;
	background: var(--gradient);
}

.placeholder-mark i {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: #f6e3bd;
}

.product-card__thumb--placeholder > span,
.product-detail__placeholder > span {
	color: var(--tan-deep);
	font-family: var(--font-heading);
	font-size: 1.15rem;
	font-style: italic;
	line-height: 1.25;
}

.product-card__thumb--placeholder small,
.product-detail__placeholder small {
	color: #78684e;
	font-size: 0.64rem;
	font-weight: 500;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.product-card__info {
	display: flex;
	padding: 14px 15px 16px;
	flex: 1;
	flex-direction: column;
	gap: 6px;
	text-align: center;
}

.product-card__info h3 {
	display: -webkit-box;
	min-height: 2.5em;
	margin: 0;
	color: var(--text);
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.1;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.product-card__info p {
	margin: 0;
	color: var(--text-soft);
	display: -webkit-box;
	font-size: 1.25rem;
	line-height: 1.45;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
  margin-bottom: 0.5rem;
}

.product-card__cta {
	display: inline-flex;
	min-height: 44px;
	margin-top: auto;
	padding: 10px 12px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 999px;
	background: var(--text);
	color: var(--white);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transition:
		background 250ms ease,
		color 250ms ease;
}

.product-card:hover .product-card__cta,
.product-card:focus-within .product-card__cta {
	background: var(--gradient);
	color: #231400;
}

.showcase__empty {
	grid-column: 1 / -1;
	margin: 0;
	padding: 40px 0;
	color: #76684f;
	font-family: var(--font-heading);
	font-size: 1.35rem;
	font-style: italic;
	text-align: center;
}

/* Product page */
.single-header {
	display: flex;
	min-height: 82px;
	padding: 16px max(22px, calc((100vw - var(--max-width)) / 2));
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	background: var(--ink);
	color: #f7e6c4;
}

.single-header__brand {
	flex: 0 0 auto;
	font-family: var(--font-heading);
	font-size: 1.7rem;
	font-style: italic;
	font-weight: 500;
}

.single-header__back {
	display: inline-flex;
	min-height: 44px;
	padding: 8px 12px;
	align-items: center;
	gap: 8px;
	border: 1px solid rgba(243, 220, 174, 0.36);
	border-radius: 999px;
	color: var(--cream);
	font-size: 0.76rem;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	transition:
		background-color 250ms ease,
		border-color 250ms ease;
}

.single-header__back:hover {
	border-color: var(--cream);
	background: rgba(243, 220, 174, 0.08);
}

.product-single {
	width: min(100%, calc(var(--max-width) + 44px));
	margin: 0 auto;
	padding: 52px 22px 10px;
}

.product-detail {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 36px;
	align-items: center;
}

.product-detail__media {
	width: 100%;
	max-width: 560px;
	margin: 0 auto;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--card);
	box-shadow: 0 22px 44px -32px rgba(40, 28, 12, 0.55);
}

.product-detail__image,
.product-detail__placeholder {
	width: 100%;
	aspect-ratio: 3 / 4;
}

.product-detail__image {
	object-fit: cover;
}

.product-detail__placeholder > span {
	font-size: clamp(1.7rem, 4vw, 2.35rem);
}

.product-detail__content {
	min-width: 0;
}

.product-detail__content h1 {
	margin: 10px 0 18px;
	color: var(--text);
	font-family: var(--font-heading);
	font-size: clamp(2.5rem, 7vw, 4.6rem);
	font-style: italic;
	font-weight: 500;
	line-height: 0.98;
}

.product-detail__description {
	max-width: 42rem;
	color: var(--text-soft);
	font-size: 1.03rem;
	line-height: 1.75;
}

.product-detail__description > *:first-child {
	margin-top: 0;
}

.product-detail__description > *:last-child {
	margin-bottom: 0;
}

.product-detail__description a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.product-detail__description :is(h2, h3, h4) {
	margin: 1.4em 0 0.45em;
	color: var(--text);
	font-family: var(--font-heading);
	font-weight: 500;
	line-height: 1.15;
}

.product-detail__description img {
	height: auto;
}

.whatsapp-cta {
	display: inline-flex;
	min-height: 50px;
	margin-top: 30px;
	padding: 12px 22px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border-radius: 999px;
	background: var(--text);
	color: var(--white);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transition:
		box-shadow 250ms ease,
		transform 250ms ease;
}

.whatsapp-cta:hover {
	box-shadow: 0 16px 32px -18px rgba(40, 28, 12, 0.65);
	transform: translateY(-2px);
}

.whatsapp-icon {
	display: block;
	width: 15px;
	height: 15px;
	flex: 0 0 auto;
	object-fit: contain;
}

.whatsapp-cta .whatsapp-icon {
	width: 20px;
	height: 20px;
}

.product-gallery {
	margin-top: 72px;
	padding-top: 48px;
	border-top: 1px solid var(--line);
}

.product-gallery__heading {
	margin-bottom: 28px;
	text-align: center;
}

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

.product-gallery__item {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--card);
	aspect-ratio: 3 / 4;
	transition:
		box-shadow 250ms ease,
		transform 250ms ease;
}

.product-gallery__item:hover,
.product-gallery__item:focus-visible {
	box-shadow: 0 16px 32px -20px rgba(40, 28, 12, 0.6);
	transform: translateY(-3px);
}

.product-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms ease;
}

.product-gallery__item:hover img,
.product-gallery__item:focus-visible img {
	transform: scale(1.025);
}

/* Footer */
.site-footer {
	margin-top: auto;
	padding: 48px 22px 40px;
	background: var(--ink);
	color: #cdbfa6;
	text-align: center;
}

.site-footer__wordmark {
	color: #f7e6c4;
	font-family: var(--font-heading);
	font-size: 1.7rem;
	font-style: italic;
	letter-spacing: 0.02em;
}

.site-footer__links {
	display: flex;
	margin: 18px 0 14px;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px;
}

.site-footer__links a {
	display: inline-flex;
	min-height: 44px;
	padding: 9px 18px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid rgba(243, 220, 174, 0.38);
	border-radius: 999px;
	color: var(--cream);
	font-size: 0.8rem;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	transition:
		background-color 250ms ease,
		border-color 250ms ease;
}

.site-footer__links a:hover {
	border-color: var(--cream);
	background: rgba(243, 220, 174, 0.07);
}

.site-footer__links svg {
	width: 15px;
	height: 15px;
	flex: 0 0 auto;
}

.site-footer__fine {
	margin: 8px 0 0;
	color: #a6977e;
	font-size: 0.76rem;
	letter-spacing: 0.04em;
}

.whatsapp-float {
	position: fixed;
	right: max(18px, env(safe-area-inset-right));
	bottom: max(18px, env(safe-area-inset-bottom));
	z-index: 50;
	display: flex;
	width: 56px;
	height: 56px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--whatsapp);
	box-shadow: 0 10px 26px -8px rgba(0, 0, 0, 0.45);
	transition:
		box-shadow 200ms ease,
		transform 200ms ease;
}

.whatsapp-float:hover {
	box-shadow: 0 14px 30px -8px rgba(0, 0, 0, 0.55);
	transform: scale(1.06);
}

.whatsapp-float .whatsapp-icon {
	width: 30px;
	height: 30px;
}

@keyframes rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

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