/* Announcement bar */
.announcement-bar {
	background: var(--primary);
	color: var(--primary-foreground);
	padding: .5rem 1rem;
	text-align: center;
	font-size: .75rem;
	font-weight: 500;
}

@media (min-width: 640px) {
	.announcement-bar {
		font-size: .875rem;
	}
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	border-bottom: 1px solid var(--border);
	background: color-mix(in oklab, var(--background) 95%, transparent);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

.site-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: var(--container);
	height: var(--header-h);
	margin-inline: auto;
	padding-inline: 1rem;
}

@media (min-width: 640px) {
	.site-header__inner {
		padding-inline: 1.5rem;
	}
}

@media (min-width: 1024px) {
	.site-header__inner {
		padding-inline: 2rem;
	}
}

.menu-toggle {
	width: 2.25rem;
	height: 2.25rem;
}

@media (min-width: 1024px) {
	.menu-toggle {
		display: none;
	}
}

.primary-nav {
	display: none;
}

@media (min-width: 1024px) {
	.primary-nav {
		display: block;
	}
}

.primary-nav .menu {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	font-size: .875rem;
	font-weight: 500;
}

.primary-nav li {
	position: relative;
}

.nav-link,
.primary-nav .menu > li > a {
	position: relative;
	display: inline-block;
	padding-block: .5rem;
	color: color-mix(in oklab, var(--foreground) 75%, transparent);
	transition: color .18s;
}

.nav-link::after,
.primary-nav .menu > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 1px;
	background: var(--gold);
	transition: width .24s;
}

.nav-link:hover,
.primary-nav .menu > li > a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a {
	color: var(--primary);
}

.nav-link:hover::after,
.primary-nav .menu > li > a:hover::after,
.primary-nav .current-menu-item > a::after {
	width: 100%;
}

.primary-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: -1rem;
	min-width: 13rem;
	padding: .5rem 0;
	background: var(--background);
	border: 1px solid var(--border);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .18s, transform .18s, visibility .18s;
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.primary-nav .sub-menu a {
	display: block;
	padding: .5rem 1rem;
	font-size: .85rem;
	color: var(--foreground);
}

.primary-nav .sub-menu a:hover {
	background: var(--soft);
	color: var(--primary);
}

.site-logo {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.site-logo img {
	width: auto;
	height: 2.75rem;
	object-fit: contain;
}

@media (min-width: 640px) {
	.site-logo img {
		height: 3.5rem;
	}
}

.header-actions {
	display: flex;
	align-items: center;
	gap: .25rem;
	margin-left: auto;
}

@media (min-width: 640px) {
	.header-actions {
		gap: .5rem;
	}
}

.header-account,
.header-wishlist {
	display: none;
}

@media (min-width: 640px) {
	.header-wishlist {
		display: grid;
	}
}

@media (min-width: 1024px) {
	.header-account {
		display: grid;
	}
}

/* Overlay panels (drawers) */
.overlay-panel {
	position: fixed;
	inset: 0;
	z-index: 70;
	pointer-events: none;
}

.overlay-panel.is-open {
	pointer-events: auto;
}

.overlay-panel__backdrop {
	position: absolute;
	inset: 0;
	background: color-mix(in oklab, var(--footer) 50%, transparent);
	backdrop-filter: blur(2px);
	opacity: 0;
	transition: opacity .3s;
}

.overlay-panel.is-open .overlay-panel__backdrop {
	opacity: 1;
}

.overlay-panel__sheet {
	position: absolute;
	top: 0;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 28rem;
	height: 100%;
	background: var(--background);
	box-shadow: var(--shadow-lg);
	transition: transform .3s cubic-bezier(0, 0, .2, 1);
}

.overlay-panel--right .overlay-panel__sheet {
	right: 0;
	border-left: 1px solid var(--border);
	transform: translateX(100%);
}

.overlay-panel--left .overlay-panel__sheet {
	left: 0;
	max-width: 22rem;
	border-right: 1px solid var(--border);
	transform: translateX(-100%);
}

.overlay-panel.is-open .overlay-panel__sheet {
	transform: none;
}

.drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.25rem;
	border-bottom: 1px solid var(--border);
}

.drawer-title {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 600;
}

.drawer-title .icon {
	color: var(--primary);
}

.drawer-logo {
	height: 2.5rem;
	width: auto;
}

.mobile-nav {
	flex: 1;
	overflow-y: auto;
	padding: .5rem 1.25rem;
}

.mobile-nav a {
	display: block;
	padding: .9rem 0;
	border-bottom: 1px solid var(--border);
	font-size: 1rem;
	font-weight: 500;
	color: var(--foreground);
}

.mobile-nav a::after {
	display: none;
}

.mobile-nav .sub-menu a {
	padding-left: 1rem;
	font-size: .9rem;
	color: var(--muted-foreground);
}

.mobile-nav__extra {
	padding: 1rem 1.25rem 1.5rem;
	border-top: 1px solid var(--border);
	background: var(--soft);
}

.mobile-nav__extra a {
	display: flex;
	align-items: center;
	gap: .6rem;
	padding: .5rem 0;
	font-size: .9rem;
}

/* Cart drawer */
.drawer-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
}

.drawer-empty {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding: 0 1.25rem;
	text-align: center;
}

.drawer-empty__icon {
	display: grid;
	place-items: center;
	width: 4rem;
	height: 4rem;
	border-radius: 999px;
	background: var(--soft);
	color: var(--primary);
}

.drawer-empty__title {
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 600;
}

.drawer-empty__text {
	margin-top: .25rem;
	font-size: .875rem;
	color: var(--muted-foreground);
}

.drawer-items {
	flex: 1;
	overflow-y: auto;
	padding: 0 1.25rem;
}

.drawer-item {
	position: relative;
	display: grid;
	grid-template-columns: 5rem 1fr;
	gap: 1rem;
	padding: 1.1rem 2rem 1.1rem 0;
	border-bottom: 1px solid var(--border);
	transition: opacity .2s;
}

.drawer-item.is-updating {
	opacity: .5;
	pointer-events: none;
}

.drawer-item__image {
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: var(--muted);
}

.drawer-item__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.drawer-item__name {
	font-size: .875rem;
	font-weight: 600;
	line-height: 1.4;
}

.drawer-item__name a:hover {
	color: var(--primary);
}

.drawer-item__meta {
	margin-top: .2rem;
	font-size: .75rem;
	color: var(--muted-foreground);
}

.drawer-item__meta dl.variation {
	display: flex;
	flex-wrap: wrap;
	gap: 0 .35rem;
}

.drawer-item__meta dt,
.drawer-item__meta dd,
.drawer-item__meta dd p {
	display: inline;
}

.drawer-item__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .5rem;
	margin-top: .6rem;
}

.drawer-item__price {
	font-size: .875rem;
	font-weight: 600;
	color: var(--primary);
}

.drawer-item__remove {
	position: absolute;
	top: 1rem;
	right: 0;
	display: grid;
	place-items: center;
	width: 1.75rem;
	height: 1.75rem;
	color: var(--muted-foreground);
}

.drawer-item__remove:hover {
	color: var(--danger);
}

.drawer-footer {
	display: grid;
	gap: .6rem;
	padding: 1.25rem;
	border-top: 1px solid var(--border);
	background: var(--soft);
}

.drawer-subtotal {
	display: flex;
	justify-content: space-between;
	font-size: .95rem;
}

.drawer-subtotal strong {
	color: var(--primary);
	font-size: 1.1rem;
}

.drawer-note {
	margin-bottom: .4rem;
	font-size: .75rem;
	color: var(--muted-foreground);
}

/* Search overlay */
.search-overlay {
	position: fixed;
	inset: 0;
	z-index: 75;
	pointer-events: none;
}

.search-overlay.is-open {
	pointer-events: auto;
}

.search-overlay__backdrop {
	position: absolute;
	inset: 0;
	background: color-mix(in oklab, var(--footer) 50%, transparent);
	backdrop-filter: blur(2px);
	opacity: 0;
	transition: opacity .25s;
}

.search-overlay__panel {
	position: relative;
	padding: 1.5rem var(--gutter) 2rem;
	background: var(--background);
	border-bottom: 1px solid var(--border);
	box-shadow: var(--shadow-lg);
	transform: translateY(-100%);
	transition: transform .3s cubic-bezier(0, 0, .2, 1);
}

.search-overlay.is-open .search-overlay__backdrop {
	opacity: 1;
}

.search-overlay.is-open .search-overlay__panel {
	transform: none;
}

.search-overlay__form {
	display: flex;
	align-items: center;
	gap: .75rem;
	max-width: 48rem;
	margin: 0 auto;
	padding-bottom: .75rem;
	border-bottom: 2px solid var(--primary);
}

.search-overlay__form > .icon {
	color: var(--primary);
	flex-shrink: 0;
}

.search-overlay__form input[type="search"] {
	flex: 1;
	min-height: 0;
	padding: .5rem 0;
	border: 0;
	background: transparent;
	font-family: var(--font-display);
	font-size: 1.25rem;
}

.search-overlay__form input[type="search"]:focus {
	box-shadow: none;
}

.search-overlay__suggest {
	max-width: 48rem;
	margin: 1.25rem auto 0;
}

/* Footer */
.site-footer {
	background: var(--footer);
	color: var(--footer-foreground);
}

.site-footer__grid {
	display: grid;
	gap: 2.5rem;
	padding-block: 3rem;
	padding-inline: 1.5rem;
}

@media (min-width: 768px) {
	.site-footer__grid {
		grid-template-columns: 1.5fr repeat(var(--footer-cols, 2), minmax(0, 1fr));
	}
}

.footer-logo {
	width: auto;
	height: 4rem;
	filter: brightness(0) invert(1);
}

.footer-brand p,
.footer-col p {
	margin-top: .75rem;
	max-width: 24rem;
	font-size: .875rem;
	line-height: 1.5rem;
	color: color-mix(in oklab, var(--footer-foreground) 60%, transparent);
}

.footer-col p {
	margin-top: 0;
}

.footer-heading {
	margin-bottom: 1rem;
	font-size: .875rem;
	font-weight: 600;
	color: var(--gold-light);
}

.footer-links {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	font-size: .875rem;
	color: color-mix(in oklab, var(--footer-foreground) 60%, transparent);
}

.footer-links a {
	transition: color .18s;
}

.footer-links a:hover {
	color: var(--gold-light);
}

.site-footer .social-links a {
	color: color-mix(in oklab, var(--footer-foreground) 75%, transparent);
}

.site-footer__bottom {
	padding: 1rem;
	border-top: 1px solid color-mix(in oklab, var(--footer-foreground) 10%, transparent);
	text-align: center;
	font-size: .75rem;
	color: color-mix(in oklab, var(--footer-foreground) 40%, transparent);
}

.has-mobile-buy-bar .site-footer {
	padding-bottom: 4.5rem;
}

@media (min-width: 1024px) {
	.has-mobile-buy-bar .site-footer {
		padding-bottom: 0;
	}
}

/* Hero */
.hero {
	position: relative;
	min-height: 570px;
	overflow: hidden;
}

.hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 62% center;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, oklch(.16 .045 35 / .83) 0%, oklch(.2 .04 35 / .45) 72%, transparent 100%);
}

.hero__inner {
	position: relative;
	display: flex;
	align-items: center;
	max-width: var(--container);
	min-height: 570px;
	margin-inline: auto;
	padding: 4rem 1.25rem;
}

@media (min-width: 640px) {
	.hero,
	.hero__inner {
		min-height: 680px;
	}

	.hero__inner {
		padding-inline: 2rem;
	}
}

@media (min-width: 1024px) {
	.hero__inner {
		padding-inline: 3rem;
	}
}

.hero__content {
	max-width: 36rem;
	color: var(--primary-foreground);
}

.hero-reveal {
	animation: hero-reveal .7s ease-out both;
}

.hero__eyebrow {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin-bottom: 1rem;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .18em;
	color: var(--gold-light);
}

.hero__eyebrow span {
	width: 2rem;
	height: 1px;
	background: var(--gold);
}

.hero__title {
	font-family: var(--font-display);
	font-size: 3rem;
	font-weight: 600;
	line-height: 1.14;
}

@media (min-width: 640px) {
	.hero__title {
		font-size: 4.5rem;
	}
}

.hero__text {
	max-width: 28rem;
	margin-top: 1.25rem;
	font-size: .875rem;
	line-height: 1.75rem;
	color: color-mix(in oklab, var(--primary-foreground) 80%, transparent);
}

@media (min-width: 640px) {
	.hero__text {
		font-size: 1rem;
	}
}

.hero .btn-gold {
	margin-top: 2rem;
}

/* Trust strip */
.trust-strip {
	border-bottom: 1px solid var(--border);
	background: var(--background);
}

/* Campaign */
.campaign {
	display: grid;
	background: var(--primary);
}

@media (min-width: 1024px) {
	.campaign {
		grid-template-columns: 3fr 2fr;
	}
}

.campaign__media {
	min-height: 430px;
	overflow: hidden;
}

.campaign__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (min-width: 1024px) {
	.campaign__media {
		min-height: 560px;
	}
}

.campaign__panel {
	display: flex;
	align-items: center;
	padding: 3.5rem 1.75rem;
	color: var(--primary-foreground);
}

@media (min-width: 640px) {
	.campaign__panel {
		padding-inline: 3.5rem;
	}
}

@media (min-width: 1024px) {
	.campaign__panel {
		padding-inline: 4rem;
	}
}

.campaign__content {
	max-width: 28rem;
}

.campaign__title {
	font-family: var(--font-display);
	font-size: 2.25rem;
	font-weight: 600;
	line-height: 1.25;
}

@media (min-width: 640px) {
	.campaign__title {
		font-size: 3rem;
	}
}

.campaign__text {
	margin-top: 1.25rem;
	font-size: .875rem;
	line-height: 1.75rem;
	color: color-mix(in oklab, var(--primary-foreground) 70%, transparent);
}

.campaign .btn-gold-outline {
	margin-top: 2rem;
}

/* Inner page header */
.page-hero {
	padding-block: 1.75rem 2.25rem;
	background: var(--soft);
	border-bottom: 1px solid var(--border);
}

.page-hero .breadcrumb {
	margin-bottom: 1.5rem;
}

.page-hero__title {
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 600;
	line-height: 1.25;
}

@media (min-width: 640px) {
	.page-hero {
		padding-block: 2rem 3rem;
	}

	.page-hero__title {
		font-size: 2.75rem;
	}
}

.page-hero__text {
	max-width: 42rem;
	margin-top: .75rem;
	font-size: .9rem;
	line-height: 1.75rem;
	color: var(--muted-foreground);
}
