/* ============================================================
   YouGifts design system
   Fonts: Cormorant Garamond (display) / Montserrat (text) — self-hosted
   Palette: warm ivory bg, charcoal ink, champagne gold CTA
   ============================================================ */

:root {
	--yg-bg: #FFFBF5;
	--yg-bg-soft: #F7F0E6;
	--yg-surface: #FFFFFF;
	--yg-ink: #2B2622;
	--yg-ink-soft: #6B6259;
	--yg-line: #EAE1D4;
	--yg-gold: #C9A227;
	--yg-gold-deep: #A9861B;
	--yg-gold-soft: #F3E7C8;
	--yg-rose: #D98E8E;
	--yg-success: #3E7C4F;
	--yg-danger: #C0392B;
	--yg-shadow-sm: 0 1px 3px rgba(43, 38, 34, 0.07);
	--yg-shadow-md: 0 6px 24px rgba(43, 38, 34, 0.09);
	--yg-shadow-lg: 0 18px 48px rgba(43, 38, 34, 0.14);
	--yg-radius: 14px;
	--yg-radius-sm: 9px;
	--yg-font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--yg-font-body: 'Montserrat', -apple-system, 'Segoe UI', sans-serif;
	--yg-container: 1300px;
	--yg-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

/* NOTE: never put overflow-x: clip/hidden on html or body — root clip hides
   position:fixed elements (mobile drawer, sticky bar) on iOS Safari & Chrome Android. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--yg-font-body);
	font-size: 15px;
	line-height: 1.65;
	color: var(--yg-ink);
	background: var(--yg-bg);
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
	max-width: 100vw;
	overflow-x: hidden; /* body-level only (not root): safe for fixed layers */
}

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

a { color: var(--yg-ink); text-decoration: none; transition: color 0.2s var(--yg-ease); }
a:hover { color: var(--yg-gold-deep); }

h1, h2, h3, h4 {
	font-family: var(--yg-font-display);
	font-weight: 600;
	line-height: 1.15;
	margin: 0 0 0.5em;
	letter-spacing: -0.01em;
}

.yg-container { max-width: var(--yg-container); margin: 0 auto; padding: 0 24px; }
@media (min-width: 1380px) { .yg-container { padding: 0 32px; } }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 999; background: #fff; padding: 10px 16px; border-radius: 8px; }

/* ---------------- buttons ---------------- */

.yg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--yg-font-body);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 13px 26px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: transform 0.25s var(--yg-ease), box-shadow 0.25s var(--yg-ease), background 0.25s, color 0.25s;
	position: relative;
	overflow: hidden;
}
.yg-btn--xl { padding: 17px 36px; font-size: 15px; }
.yg-btn--gold {
	background: linear-gradient(135deg, var(--yg-gold) 0%, var(--yg-gold-deep) 100%);
	color: #fff;
	box-shadow: 0 6px 20px rgba(201, 162, 39, 0.35);
}
.yg-btn--gold::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
	transform: translateX(-110%);
	transition: transform 0.6s var(--yg-ease);
}
.yg-btn--gold:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(201, 162, 39, 0.45); color: #fff; }
.yg-btn--gold:hover::after { transform: translateX(110%); }
.yg-btn--dark { background: var(--yg-ink); color: #fff; }
.yg-btn--dark:hover { background: #443c35; color: #fff; transform: translateY(-2px); }
.yg-btn--ghost { background: transparent; border-color: var(--yg-ink); color: var(--yg-ink); }
.yg-btn--ghost:hover { border-color: var(--yg-gold); color: var(--yg-gold-deep); }

/* ---------------- trust marquee ---------------- */

.yg-trustbar {
	background: var(--yg-ink);
	color: #F5EDDF;
	font-size: 12.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	overflow: hidden;
	position: relative;
	z-index: 60;
	isolation: isolate;
}
.yg-trustbar__track {
	display: flex;
	gap: 56px;
	white-space: nowrap;
	padding: 9px 0;
	width: max-content;
	animation: yg-marquee 36s linear infinite;
}
.yg-trustbar:hover .yg-trustbar__track { animation-play-state: paused; }
.yg-trustbar__item { display: inline-flex; align-items: center; gap: 8px; }
.yg-trustbar__item::after { content: "✦"; color: var(--yg-gold); font-size: 10px; margin-left: 40px; }
@keyframes yg-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- header ---------------- */

.yg-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 251, 245, 0.92);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--yg-line);
	transition: box-shadow 0.3s;
}
.yg-header.is-stuck { box-shadow: var(--yg-shadow-md); }
.yg-header__row {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 72px;
	min-width: 0;
}
/* three-zone layout: logo | nav (flex-1, centered) | actions — never overlap */
.yg-header__logo { flex: 0 0 auto; margin-right: 4px; }
.yg-header__logo img { height: 38px; width: auto; max-width: none; }
.yg-header__actions { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; }
.yg-burger { margin-left: auto; order: 2; }
.yg-header__actions { order: 3; }
.yg-header__logo { order: 1; }
.yg-switchers { display: flex; align-items: center; gap: 0; margin-right: 2px; flex: 0 0 auto; }
.yg-header__divider { width: 1px; height: 22px; background: var(--yg-line); margin: 0 8px; flex: 0 0 auto; }
.yg-icon-btn { position: relative; flex: 0 0 auto; }
.yg-icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px; height: 42px;
	border-radius: 50%;
	border: none;
	background: transparent;
	color: var(--yg-ink);
	cursor: pointer;
	transition: background 0.2s;
}
.yg-icon-btn:hover { background: var(--yg-gold-soft); color: var(--yg-ink); }
.yg-cart-count, .yg-wish-count {
	position: absolute;
	top: 3px; right: 1px;
	min-width: 17px; height: 17px;
	border-radius: 999px;
	background: var(--yg-gold);
	color: #fff;
	font-size: 10.5px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
}

/* nav mega menu */
.yg-nav { display: none; min-width: 0; }
@media (min-width: 1380px) {
	.yg-burger { display: none; }
	.yg-nav { display: block; flex: 1 1 auto; min-width: 0; order: 2; }
	.yg-header__actions { order: 3; }
	.yg-nav__list, .yg-nav__list li { list-style: none; margin: 0; padding: 0; }
	/* KEY: items never shrink — compressed boxes make nowrap text overlap neighbours */
	.yg-nav__list { display: flex; gap: 0; justify-content: center; }
	.yg-nav__list > li { flex: 0 0 auto; }
	.yg-nav__list > li > a {
		display: inline-flex;
		align-items: center;
		white-space: nowrap;
		height: 72px;
		padding: 0 9px;
		font-size: 11.5px;
		font-weight: 600;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		border-bottom: 2.5px solid transparent;
		transition: border-color 0.2s, color 0.2s;
	}
	.yg-nav__list > li > a:hover { border-color: var(--yg-gold); }
	.yg-nav__list > li > a::after { content: "▾"; font-size: 9px; margin-left: 4px; opacity: 0.6; }
}
/* roomier from 1600px up */
@media (min-width: 1600px) {
	.yg-nav__list > li > a { padding: 0 13px; font-size: 12.5px; }
}
/* below desktop-nav breakpoint: switchers live in the drawer, not the header */
@media (max-width: 1379px) {
	.yg-header .yg-switchers { display: none; }
	.yg-header .yg-header__divider { display: none; }
}
@media (max-width: 360px) {
	.yg-header__logo img { height: 32px; }
	.yg-header .yg-icon-btn { width: 38px; height: 38px; }
	.yg-header__actions { gap: 0; }
	.yg-header__row { gap: 6px; padding: 0 14px; }
}

.yg-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(8px);
	min-width: 640px;
	max-width: min(920px, 92vw);
	background: var(--yg-surface);
	border: 1px solid var(--yg-line);
	border-radius: var(--yg-radius);
	box-shadow: var(--yg-shadow-lg);
	padding: 26px 30px;
	display: flex;
	gap: 34px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.22s var(--yg-ease), transform 0.22s var(--yg-ease), visibility 0.22s;
	z-index: 999;
}
.yg-nav .sub-menu .sub-menu {
	position: static;
	transform: none;
	box-shadow: none;
	border: none;
	padding: 0;
	min-width: 0;
	display: block;
	flex: 1;
	/* visibility/opacity inherited from parent: never override,
	   else children punch through parent's hidden state */
}
.yg-nav__list > li { position: relative; }
.yg-nav__list > li:hover > .sub-menu,
.yg-nav__list > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
}
/* default (middle items): centered */
.yg-nav__list > li > .sub-menu { left: 50%; margin-left: 0; transform: translateX(-50%) translateY(8px); }
.yg-nav__list > li:hover > .sub-menu { transform: translateX(-50%) translateY(0); }
.yg-nav__list > li:focus-within > .sub-menu { transform: translateX(-50%) translateY(0); }
/* first items: anchor to left edge of the item */
.yg-nav__list > li:nth-child(-n+3) > .sub-menu { left: 0; transform: translateY(8px); }
.yg-nav__list > li:nth-child(-n+3):hover > .sub-menu,
.yg-nav__list > li:nth-child(-n+3):focus-within > .sub-menu { transform: translateY(0); }
/* last items: anchor to right edge of the item */
.yg-nav__list > li:nth-child(n+9) > .sub-menu { left: auto; right: 0; transform: translateY(8px); }
.yg-nav__list > li:nth-child(n+9):hover > .sub-menu,
.yg-nav__list > li:nth-child(n+9):focus-within > .sub-menu { transform: translateY(0); }
.yg-nav .sub-menu a {
	display: block;
	padding: 5px 0;
	font-size: 13.5px;
	color: var(--yg-ink-soft);
	text-transform: none;
	letter-spacing: 0;
	font-weight: 400;
}
.yg-nav .sub-menu a:hover { color: var(--yg-gold-deep); padding-left: 4px; }
.yg-nav .sub-menu > li > a {
	font-weight: 600 !important;
	color: var(--yg-ink) !important;
	font-size: 12px !important;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	border-bottom: 1px solid var(--yg-line);
	margin-bottom: 8px;
	padding-bottom: 10px;
}

/* burger + mobile nav */
.yg-burger {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 42px; height: 42px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}
.yg-burger span { display: block; height: 2px; background: var(--yg-ink); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.yg-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.yg-burger.is-open span:nth-child(2) { opacity: 0; }
.yg-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.yg-mobile-nav {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	top: var(--yg-drawer-top, 112px);
	background: var(--yg-bg);
	z-index: 49;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 10px 18px calc(46px + env(safe-area-inset-bottom, 0px));
	box-shadow: 0 -8px 40px rgba(43, 38, 34, 0.16);
}
.yg-mobile-nav[hidden] { display: none; }
.yg-mn-backdrop {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	top: var(--yg-drawer-top, 112px);
	background: rgba(35, 31, 27, 0.38);
	z-index: 48;
	animation: yg-fade-in 0.25s var(--yg-ease);
}
@keyframes yg-fade-in { from { opacity: 0; } to { opacity: 1; } }
.yg-mobile-nav__list, .yg-mobile-nav__list ul { list-style: none; margin: 0; padding: 0; }
.yg-mobile-nav__list > li { border-bottom: 1px solid var(--yg-line); }
.yg-mobile-nav__list > li > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 52px;
	padding: 12px 2px;
	font-weight: 600;
	font-size: 14.5px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--yg-ink);
}
.yg-mobile-nav__list > li > a:active { color: var(--yg-gold-deep); }
.yg-mn-arrow {
	flex: 0 0 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: var(--yg-gold-deep);
	font-size: 13px;
	transition: transform 0.28s var(--yg-ease);
}
.yg-mobile-nav__list > li.is-open > a .yg-mn-arrow { transform: rotate(180deg); background: var(--yg-gold-soft); }
.yg-mobile-nav__list ul { display: none; }
.yg-mobile-nav__list li.is-open > ul { display: block; }
.yg-mobile-nav__list ul a {
	display: flex;
	align-items: center;
	min-height: 46px;
	padding: 11px 2px 11px 16px;
	font-size: 13.5px;
	color: var(--yg-ink-soft);
	border-top: 1px dashed var(--yg-line);
}
.yg-mobile-nav__list ul a:active { color: var(--yg-gold-deep); }
.yg-mn-foot {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	padding: 20px 2px 6px;
	border-top: 2px solid var(--yg-line);
	margin-top: 14px;
}
.yg-mn-foot .yg-langswitch__list, .yg-mn-foot .yg-curswitch__list { top: auto; bottom: calc(100% + 6px); }

/* below desktop-nav breakpoint: switchers live in the drawer, not the header */
@media (max-width: 480px) {
	.yg-header .yg-icon-btn { width: 40px; height: 40px; }
	.yg-header__actions { gap: 2px; }
	.yg-header__row { gap: 8px; }
}

/* search drawer */
.yg-search-drawer { border-top: 1px solid var(--yg-line); background: var(--yg-surface); box-shadow: var(--yg-shadow-md); }
.yg-search-drawer__inner { padding: 18px 24px; }
.yg-search-form { display: flex; gap: 10px; }
.yg-search-form input[type="search"] {
	flex: 1;
	padding: 13px 18px;
	border: 1.5px solid var(--yg-line);
	border-radius: 999px;
	font-family: var(--yg-font-body);
	font-size: 14.5px;
	background: var(--yg-bg);
	color: var(--yg-ink);
}
.yg-search-form input[type="search"]:focus { outline: none; border-color: var(--yg-gold); }
.yg-search-results { margin-top: 14px; }
.yg-search-hint { color: var(--yg-ink-soft); font-size: 13px; }
.yg-sr-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 8px;
	border-radius: var(--yg-radius-sm);
	transition: background 0.15s;
}
.yg-sr-item:hover { background: var(--yg-bg-soft); }
.yg-sr-item img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; }
.yg-sr-item--title { font-size: 13.5px; font-weight: 500; line-height: 1.35; }
.yg-sr-item--price { color: var(--yg-gold-deep); font-weight: 600; font-size: 13px; margin-left: auto; }

/* ---------------- hero ---------------- */

.yg-hero { position: relative; overflow: hidden; padding: 64px 0 84px; }
.yg-hero__bg {
	position: absolute; inset: 0;
	background:
		radial-gradient(900px 480px at 85% -10%, rgba(201, 162, 39, 0.16), transparent 60%),
		radial-gradient(700px 420px at -10% 110%, rgba(217, 142, 142, 0.12), transparent 60%),
		var(--yg-bg);
}
.yg-hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.yg-hero__eyebrow {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--yg-gold-deep);
	margin: 0 0 14px;
}
.yg-hero h1 { font-size: clamp(40px, 5.4vw, 66px); margin: 0 0 18px; }
.yg-hero__sub { font-size: 16.5px; color: var(--yg-ink-soft); max-width: 520px; margin: 0 0 28px; }
.yg-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.yg-hero__proof { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; font-size: 13.5px; color: var(--yg-ink-soft); font-weight: 500; }
.yg-hero__proof li:first-child { color: var(--yg-gold-deep); letter-spacing: 0.05em; }

.yg-hero__frame {
	position: relative;
	border-radius: 170px 170px 20px 20px;
	overflow: hidden;
	box-shadow: var(--yg-shadow-lg);
	transform: rotate(1.5deg);
	transition: transform 0.5s var(--yg-ease);
}
.yg-hero__frame:hover { transform: rotate(0deg) scale(1.015); }
.yg-hero__frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 6/7; }
.yg-hero__badge {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(6px);
	border-radius: 999px;
	padding: 9px 18px;
	font-size: 12.5px;
	font-weight: 600;
	box-shadow: var(--yg-shadow-md);
	animation: yg-float 5s ease-in-out infinite;
}
.yg-hero__badge--1 { top: 16%; left: -26px; }
.yg-hero__badge--2 { bottom: 13%; right: -18px; animation-delay: 2.5s; }
@keyframes yg-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------------- sections ---------------- */

.yg-section { padding: 72px 0; }
.yg-h2 { font-size: clamp(28px, 3.4vw, 42px); text-align: center; margin-bottom: 10px; }
.yg-section__sub { text-align: center; color: var(--yg-ink-soft); margin: 0 auto 34px; max-width: 560px; }
.yg-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.yg-section__head .yg-h2 { text-align: left; margin-bottom: 22px; }
.yg-link-more { font-weight: 600; font-size: 13.5px; color: var(--yg-gold-deep); white-space: nowrap; }

/* fade-up animation */
.yg-anim-on .yg-fade-up {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.65s var(--yg-ease), transform 0.65s var(--yg-ease);
	transition-delay: var(--d, 0ms);
}
.yg-anim-on .yg-fade-up.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.yg-anim-on .yg-fade-up { opacity: 1; transform: none; transition: none; }
	.yg-trustbar__track, .yg-hero__badge { animation: none; }
	html { scroll-behavior: auto; }
}

/* ---------------- gift finder ---------------- */

.yg-finder { background: var(--yg-bg-soft); }
.yg-finder__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 30px; }
.yg-chip {
	font-family: var(--yg-font-body);
	font-size: 14px;
	font-weight: 600;
	padding: 12px 24px;
	border-radius: 999px;
	border: 1.5px solid var(--yg-line);
	background: var(--yg-surface);
	cursor: pointer;
	transition: all 0.25s var(--yg-ease);
}
.yg-chip:hover { border-color: var(--yg-gold); transform: translateY(-2px); box-shadow: var(--yg-shadow-sm); }
.yg-chip.is-active {
	background: var(--yg-ink);
	color: #fff;
	border-color: var(--yg-ink);
}
.yg-finder__results {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 18px;
}
.yg-finder__results:empty { display: none; }
.yg-finder__empty { grid-column: 1 / -1; text-align: center; color: var(--yg-ink-soft); }

/* ---------------- category tiles ---------------- */

.yg-cats__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 14px;
}
.yg-cat-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 26px 12px;
	background: var(--yg-surface);
	border: 1px solid var(--yg-line);
	border-radius: var(--yg-radius);
	transition: transform 0.3s var(--yg-ease), box-shadow 0.3s var(--yg-ease), border-color 0.3s;
}
.yg-cat-tile:hover {
	transform: translateY(-5px);
	box-shadow: var(--yg-shadow-md);
	border-color: var(--yg-gold);
}
.yg-cat-tile__icon { font-size: 30px; filter: saturate(0.9); transition: transform 0.3s var(--yg-ease); }
.yg-cat-tile:hover .yg-cat-tile__icon { transform: scale(1.18); }
.yg-cat-tile__name { font-weight: 600; font-size: 13px; text-align: center; }

/* ---------------- occasions ---------------- */

.yg-occ__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.yg-occ-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 20px 10px;
	border-radius: var(--yg-radius);
	background: linear-gradient(160deg, var(--yg-surface), var(--yg-bg-soft));
	border: 1px solid transparent;
	font-weight: 600;
	font-size: 13px;
	transition: all 0.25s var(--yg-ease);
}
.yg-occ-tile:hover { border-color: var(--yg-gold); transform: translateY(-3px); box-shadow: var(--yg-shadow-sm); }
.yg-occ-tile__icon { font-size: 26px; }

/* ---------------- how it works ---------------- */

.yg-how { background: var(--yg-ink); color: #F2EBDF; }
.yg-how .yg-h2 { color: #fff; }
.yg-how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.yg-how__step { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09); border-radius: var(--yg-radius); padding: 30px 26px; }
.yg-how__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--yg-gold), var(--yg-gold-deep));
	color: #fff;
	font-family: var(--yg-font-display);
	font-size: 21px;
	font-weight: 700;
	margin-bottom: 16px;
}
.yg-how__step h3 { color: #fff; font-size: 21px; }
.yg-how__step p { color: rgba(242, 235, 223, 0.75); margin: 0; font-size: 14px; }

/* ---------------- story ---------------- */

.yg-story__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.yg-story__media {
	border-radius: var(--yg-radius);
	background:
		radial-gradient(480px 300px at 70% 20%, rgba(201, 162, 39, 0.25), transparent 65%),
		linear-gradient(160deg, var(--yg-gold-soft), var(--yg-bg-soft));
	min-height: 380px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.yg-story__stat { text-align: center; }
.yg-story__stat strong { display: block; font-family: var(--yg-font-display); font-size: 64px; color: var(--yg-gold-deep); line-height: 1; }
.yg-story__stat span { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--yg-ink-soft); }
.yg-story__list { list-style: none; margin: 0 0 26px; padding: 0; }
.yg-story__list li { padding: 12px 0 12px 34px; position: relative; border-bottom: 1px dashed var(--yg-line); }
.yg-story__list li::before { content: "✦"; position: absolute; left: 4px; top: 12px; color: var(--yg-gold); }

/* ---------------- reviews ---------------- */

.yg-reviews { background: var(--yg-bg-soft); overflow: hidden; }
.yg-reviews__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: min(78vw, 340px);
	gap: 16px;
	overflow-x: auto;
	padding: 6px 16px 22px;
	margin: 0 -16px;
	max-width: calc(100vw - 8px);
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}
.yg-review {
	margin: 0;
	background: var(--yg-surface);
	border-radius: var(--yg-radius);
	padding: 26px;
	box-shadow: var(--yg-shadow-sm);
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
}
.yg-review__stars { color: var(--yg-gold); letter-spacing: 3px; margin-bottom: 10px; }
.yg-review blockquote { margin: 0 0 14px; font-family: var(--yg-font-display); font-size: 19px; line-height: 1.4; flex: 1; }
.yg-review figcaption { font-size: 12.5px; color: var(--yg-ink-soft); font-weight: 500; }

/* ---------------- faq ---------------- */

.yg-faq__inner { max-width: 780px; }
.yg-faq__list { display: grid; gap: 10px; }
.yg-faq__item {
	background: var(--yg-surface);
	border: 1px solid var(--yg-line);
	border-radius: var(--yg-radius-sm);
	padding: 4px 20px;
}
.yg-faq__item summary {
	cursor: pointer;
	font-weight: 600;
	padding: 14px 0;
	list-style: none;
	position: relative;
	padding-right: 40px;
}
.yg-faq__item summary::-webkit-details-marker { display: none; }
.yg-faq__item summary::after {
	content: "+";
	position: absolute;
	right: 4px; top: 50%;
	transform: translateY(-50%);
	font-size: 22px;
	color: var(--yg-gold);
	transition: transform 0.25s;
}
.yg-faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.yg-faq__item p { margin: 0 0 16px; color: var(--yg-ink-soft); }

/* ---------------- final cta ---------------- */

.yg-finalcta {
	background:
		radial-gradient(800px 400px at 50% -20%, rgba(201, 162, 39, 0.22), transparent 60%),
		var(--yg-ink);
	color: #fff;
	text-align: center;
	padding: 88px 0;
}
.yg-finalcta h2 { font-size: clamp(30px, 4vw, 48px); color: #fff; }
.yg-finalcta p { color: rgba(255,255,255,0.7); margin-bottom: 30px; }

/* ---------------- footer ---------------- */

.yg-footer { background: #231F1B; color: #CFC6BA; margin-top: 0; }
.yg-footer__news { background: linear-gradient(120deg, #2B2622, #3A3129); padding: 52px 0; }
.yg-news-inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.yg-news-copy { flex: 1; min-width: 260px; }
.yg-news-copy h2 { color: #fff; font-size: 28px; margin-bottom: 6px; }
.yg-news-copy p { margin: 0; font-size: 14px; }
.yg-news-form { display: flex; gap: 10px; flex: 1; min-width: 300px; }
.yg-news-form input {
	flex: 1;
	padding: 14px 20px;
	border-radius: 999px;
	border: none;
	font-family: var(--yg-font-body);
	font-size: 14px;
}
.yg-footer__main {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: 44px;
	padding: 60px 24px 40px;
}
.yg-footer__brand p { font-size: 13.5px; margin: 14px 0 18px; }
.yg-footer__trust { display: flex; flex-direction: column; gap: 7px; font-size: 13px; margin-bottom: 18px; }
.yg-footer__pay { display: flex; gap: 8px; flex-wrap: wrap; }
.yg-pay {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	padding: 5px 10px;
	border-radius: 5px;
	background: rgba(255,255,255,0.09);
	color: #EDE6DA;
}
.yg-pay--paypal { color: #7AB8F8; }
.yg-footer__shoplinks h3, .yg-footer__nav h3 {
	font-family: var(--yg-font-body);
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 14px;
}
.yg-footer__list { list-style: none; margin: 0; padding: 0; }
.yg-footer__list li { margin-bottom: 9px; }
.yg-footer__list a { color: #CFC6BA; font-size: 13.5px; }
.yg-footer__list a:hover { color: var(--yg-gold); }
.yg-footer__bar { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; font-size: 12.5px; }
.yg-footer__bar-inner { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.yg-legal-list { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.yg-legal-list a { color: #9C9184; }
.yg-legal-list a:hover { color: #fff; }

/* ---------------- misc page furniture ---------------- */

.yg-page-wrap { padding: 48px 24px 80px; }
.yg-prose { max-width: 820px; }
.yg-prose h2 { font-size: 30px; margin-top: 1.4em; }
.yg-prose h3 { font-size: 22px; margin-top: 1.3em; }
.yg-prose p, .yg-prose li { color: var(--yg-ink-soft); }
.yg-prose strong { color: var(--yg-ink); }
.yg-404 { text-align: center; padding-top: 90px; }
.yg-404__code { font-family: var(--yg-font-display); font-size: 110px; color: var(--yg-gold); margin: 0; line-height: 1; }
.yg-posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.yg-post-card { background: var(--yg-surface); border: 1px solid var(--yg-line); border-radius: var(--yg-radius); overflow: hidden; }
.yg-post-card__body { padding: 20px; }
.yg-post-card__title a { font-family: var(--yg-font-display); font-size: 21px; }
.pagination, .page-numbers { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.page-numbers {
	padding: 9px 15px;
	border-radius: 8px;
	background: var(--yg-surface);
	border: 1px solid var(--yg-line);
}

/* ---------------- CRO widgets ---------------- */

/* order notification */
.yg-note-pop {
	position: fixed;
	left: 18px;
	bottom: 18px;
	z-index: 70;
	background: var(--yg-surface);
	border: 1px solid var(--yg-line);
	border-radius: var(--yg-radius);
	box-shadow: var(--yg-shadow-lg);
	padding: 13px 18px 13px 13px;
	display: flex;
	align-items: center;
	gap: 13px;
	max-width: 340px;
	transform: translateY(130%);
	transition: transform 0.5s var(--yg-ease), opacity 0.5s;
}
.yg-note-pop.is-in { transform: translateY(0); }
.yg-note-pop img { width: 46px; height: 46px; object-fit: cover; border-radius: 9px; }
.yg-note-pop__text { font-size: 12.5px; line-height: 1.45; }
.yg-note-pop__text strong { display: block; font-size: 12.5px; }
.yg-note-pop__time { color: var(--yg-ink-soft); font-size: 11px; }

/* exit popup */
.yg-exitpop {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: rgba(35, 31, 27, 0.55);
	backdrop-filter: blur(3px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.yg-exitpop[hidden] { display: none; }
.yg-exitpop__card {
	position: relative;
	background:
		radial-gradient(400px 200px at 80% -10%, rgba(201, 162, 39, 0.25), transparent 60%),
		var(--yg-surface);
	border-radius: 20px;
	padding: 46px 40px;
	max-width: 480px;
	text-align: center;
	box-shadow: var(--yg-shadow-lg);
	animation: yg-pop-in 0.45s var(--yg-ease);
}
@keyframes yg-pop-in { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.yg-exitpop__card h3 { font-size: 30px; }
.yg-exitpop__code {
	display: inline-block;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.14em;
	padding: 13px 30px;
	border: 2px dashed var(--yg-gold);
	border-radius: 12px;
	color: var(--yg-gold-deep);
	margin: 12px 0 4px;
	cursor: pointer;
}
.yg-exitpop__close {
	position: absolute;
	top: 12px; right: 12px;
	width: 36px; height: 36px;
	border-radius: 50%;
	border: none;
	background: var(--yg-bg-soft);
	font-size: 19px;
	cursor: pointer;
}
.yg-exitpop__hint { font-size: 12.5px; color: var(--yg-ink-soft); margin: 0; }

/* wishlist drawer */
.yg-wish-drawer {
	position: fixed;
	top: 0; right: 0; bottom: 0;
	width: min(390px, 92vw);
	background: var(--yg-surface);
	z-index: 80;
	box-shadow: var(--yg-shadow-lg);
	transform: translateX(105%);
	transition: transform 0.4s var(--yg-ease);
	display: flex;
	flex-direction: column;
}
.yg-wish-drawer.is-open { transform: translateX(0); }
.yg-wish-drawer__head { padding: 20px 22px; border-bottom: 1px solid var(--yg-line); display: flex; justify-content: space-between; align-items: center; }
.yg-wish-drawer__body { flex: 1; overflow-y: auto; padding: 16px 22px; }
.yg-wish-item { display: flex; gap: 13px; padding: 10px 0; border-bottom: 1px solid var(--yg-line); }
.yg-wish-item img { width: 62px; height: 62px; object-fit: cover; border-radius: 10px; }
.yg-wish-item__title { font-size: 13.5px; font-weight: 500; line-height: 1.35; }
.yg-wish-item__price { color: var(--yg-gold-deep); font-weight: 600; font-size: 13px; }

/* quick view modal */
.yg-qv-overlay {
	position: fixed; inset: 0;
	z-index: 85;
	background: rgba(35, 31, 27, 0.5);
	display: flex; align-items: center; justify-content: center;
	padding: 20px;
}
.yg-qv-overlay[hidden] { display: none; }
.yg-qv-modal {
	background: var(--yg-surface);
	border-radius: 18px;
	max-width: 780px;
	width: 100%;
	max-height: 88vh;
	overflow-y: auto;
	position: relative;
	padding: 26px;
	animation: yg-pop-in 0.35s var(--yg-ease);
}
.yg-qv-modal__close {
	position: absolute; top: 14px; right: 14px;
	width: 34px; height: 34px; border-radius: 50%;
	border: none; background: var(--yg-bg-soft); font-size: 17px; cursor: pointer;
}
.yg-qv { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.yg-qv__media img { border-radius: 14px; width: 100%; }
.yg-qv__info h2 { font-size: 26px; }
.yg-qv__price { font-size: 21px; color: var(--yg-gold-deep); font-weight: 700; margin: 6px 0 12px; }
.yg-qv__excerpt { color: var(--yg-ink-soft); margin-bottom: 18px; }
.yg-qv__trust { margin-top: 16px; font-size: 12.5px; color: var(--yg-ink-soft); display: grid; gap: 5px; }

/* recently viewed */
.yg-recently { padding: 40px 0 70px; }
.yg-recently__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }

/* ---------------- language / currency switchers ---------------- */

.yg-switchers { display: flex; align-items: center; gap: 2px; margin-right: 4px; }
.yg-langswitch, .yg-curswitch { position: relative; }
.yg-langswitch__btn, .yg-curswitch__btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 36px;
	padding: 0 10px;
	border-radius: 999px;
	border: none;
	background: transparent;
	font-family: var(--yg-font-body);
	font-size: 12px;
	font-weight: 700;
	color: var(--yg-ink);
	cursor: pointer;
	transition: background 0.2s;
}
.yg-langswitch__btn:hover, .yg-curswitch__btn:hover { background: var(--yg-gold-soft); }
.yg-langswitch__flag { font-size: 15px; }
.yg-langswitch__list, .yg-curswitch__list {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: 75;
	min-width: 170px;
	background: var(--yg-surface);
	border: 1px solid var(--yg-line);
	border-radius: 12px;
	box-shadow: var(--yg-shadow-lg);
	padding: 6px;
	margin: 0;
	list-style: none;
}
.yg-langswitch__item, .yg-curswitch__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	border-radius: 8px;
	font-size: 13px;
	color: var(--yg-ink);
}
.yg-langswitch__item:hover, .yg-curswitch__item:hover { background: var(--yg-bg-soft); }
.yg-langswitch__item.is-current { font-weight: 700; color: var(--yg-gold-deep); }
.yg-curswitch__note {
	padding: 8px 12px 4px;
	font-size: 11px;
	color: var(--yg-ink-soft);
	border-top: 1px dashed var(--yg-line);
	margin-top: 4px;
}
.yg-price-cur { white-space: nowrap; }

@media (max-width: 640px) {
	.yg-langswitch__btn span.yg-langswitch__code { display: none; }
	.yg-curswitch__btn { font-size: 11px; }
}

/* ---------------- responsive ---------------- */

@media (max-width: 1023px) {
	.yg-hero__inner { grid-template-columns: 1fr; gap: 40px; }
	.yg-hero__media { max-width: 440px; margin: 0 auto; }
	.yg-how__grid { grid-template-columns: 1fr; }
	.yg-story__inner { grid-template-columns: 1fr; }
	.yg-story__media { min-height: 240px; }
	.yg-footer__main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
	body { font-size: 14px; }
	.yg-container { padding: 0 16px; }
	.yg-section { padding: 52px 0; }
	.yg-hero { padding: 40px 0 60px; }
	.yg-hero__cta .yg-btn { width: 100%; }
	.yg-footer__main { grid-template-columns: 1fr; gap: 30px; }
	.yg-news-form { flex-direction: column; }
	.yg-note-pop { left: 10px; right: 10px; max-width: none; bottom: 74px; }
	.yg-qv { grid-template-columns: 1fr; }
	.yg-cat-tile { padding: 20px 8px; }
}
