/*
Theme Name:  Lumin Gold
Theme URI:   https://lumingold.net/
Description: Storefront child theme for the Lumin Gold online jewellery store (RTL / Persian).
Author:      Lumin Gold
Template:    storefront
Version:     1.1.2
Text Domain: lumingold
*/

@font-face {
	font-family: "Vazirmatn";
	src: url("assets/fonts/Vazirmatn-Variable.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
}

:root {
	--lg-ink: #14100b;
	--lg-ink-2: #1f1a14;
	--lg-ivory: #faf6ee;
	--lg-line: #ece3d0;
	--lg-muted: #7d7262;
	--lg-gold: #b8892f;
	--lg-gold-dark: #8f6820;
	--lg-gold-light: #e2bd6a;
	--lg-gold-pale: #fbeec1;
	--lg-radius: 14px;
	--lg-section: clamp(2.5rem, 5vw, 3.5rem); /* gap between page sections */
}

/* ---------- Base ---------- */

body,
button,
input,
select,
textarea,
.button,
h1, h2, h3, h4, h5, h6,
.wc-block-components-text-input input,
.wc-block-components-button {
	font-family: "Vazirmatn", Tahoma, system-ui, sans-serif;
}

body {
	background: #fdfbf7;
	color: #3d362d;
	line-height: 1.9;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--lg-ink-2);
	font-weight: 700;
	letter-spacing: 0;
}

a {
	color: var(--lg-gold);
	text-underline-offset: .3em;
	text-decoration-thickness: 1px;
	transition: color .2s ease, text-decoration-color .2s ease;
}
a:hover, a:focus { color: var(--lg-gold-dark); }

/* Focus ring for keyboard users only; mouse clicks no longer leave an outline. */
a:focus-visible,
button:focus-visible,
.button:focus-visible,
input[type="submit"]:focus-visible {
	outline: 2px solid var(--lg-gold);
	outline-offset: 2px;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
.button:focus:not(:focus-visible),
input[type="submit"]:focus:not(:focus-visible) { outline: none; }

/* Prose links stay underlined (readability), but softly; utility links underline on hover only. */
.hentry .entry-content a:not(.button) { text-decoration-color: rgba(184, 137, 47, .4); }
.hentry .entry-content a:not(.button):hover { text-decoration: underline; text-decoration-color: currentColor; }

.woocommerce-breadcrumb a,
.single-product div.product .product_meta a,
.single-product div.product .woocommerce-product-rating a { text-decoration: none; }
.woocommerce-breadcrumb a:hover,
.single-product div.product .product_meta a:hover,
.single-product div.product .woocommerce-product-rating a:hover { color: var(--lg-gold); text-decoration: underline; }

.button, button, input[type="submit"], .added_to_cart, .wc-block-components-button:not(.is-link) {
	border-radius: 10px;
	font-weight: 600;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.button:hover, input[type="submit"]:hover, .added_to_cart:hover { box-shadow: 0 6px 16px rgba(20, 16, 11, .14); }
.button:active, input[type="submit"]:active, .added_to_cart:active { transform: translateY(1px); box-shadow: none; }

@media (prefers-reduced-motion: reduce) {
	a, .button, button, input[type="submit"], .added_to_cart, ul.products li.product { transition: none; }
}

/* ---------- Top bar ---------- */

.lg-topbar {
	background: var(--lg-ink);
	color: #cbbf9f;
	font-size: .8rem;
	line-height: 1.6;
}

.lg-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .35rem 1.5rem;
	min-height: 40px;
	padding-block: .3rem;
}

.lg-topbar p { margin: 0; }
.lg-topbar p,
.lg-topbar a { white-space: nowrap; }
.lg-topbar a { color: #cbbf9f; text-decoration: none; }
.lg-topbar a:hover, .lg-topbar a:focus { color: #fff; }

/* Live 18k gold price per gram, from the repricing job. */
.lg-rate {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .15rem .85rem;
	border: 1px solid rgba(226, 189, 106, .25);
	border-radius: 999px;
	background: rgba(226, 189, 106, .07);
	white-space: nowrap;
}

.lg-rate__dot {
	position: relative;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #4cc38a;
}

.lg-rate__dot::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: inherit;
	animation: lg-pulse 2s ease-out infinite;
}

@keyframes lg-pulse {
	from { transform: scale(1); opacity: .7; }
	to { transform: scale(3); opacity: 0; }
}

.lg-rate__value { color: var(--lg-gold-pale); font-weight: 700; font-size: .88rem; }
.lg-rate__unit { color: #9d917a; font-size: .75rem; }

.lg-topbar__end { display: flex; align-items: center; gap: 1.25rem; margin-inline-start: auto; }
.lg-topbar__menu { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.lg-topbar__menu li { margin: 0; }

.lg-topbar__email,
.lg-topbar__phone { unicode-bidi: isolate; }

.lg-topbar .lg-topbar__phone {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	color: var(--lg-gold-pale);
	font-weight: 600;
}

.lg-topbar__phone svg { width: 15px; height: 15px; color: var(--lg-gold-light); }

/* ---------- Header ---------- */

/* Every page except the homepage has a breadcrumb right under the header, which supplies the gap. */
.site-header {
	position: sticky;
	top: 0;
	z-index: 999;
	margin-bottom: 0;
	padding: 0;
	background-color: rgba(255, 255, 255, .9);
	color: var(--lg-ink-2);
	border-bottom: 1px solid var(--lg-line);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	transition: box-shadow .25s ease, background-color .25s ease;
}

.site-header.is-stuck {
	background-color: rgba(255, 255, 255, .96);
	box-shadow: 0 12px 30px -16px rgba(20, 16, 11, .22);
}

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

.storefront-breadcrumb {
	padding-block: 1rem;
	margin-bottom: 2rem;
	border-bottom: 1px solid var(--lg-line);
}

.lg-header__bar {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: 76px;
}

/* Hidden attribute must win over the display values below. */
.site-header [hidden],
.lg-drawer[hidden] { display: none !important; }

/* Logo */
.lg-brand {
	flex-shrink: 0;
	margin: 0;
	font-size: 1rem;
	line-height: 1;
}

.lg-brand a {
	display: inline-flex;
	align-items: center;
	gap: .7rem;
	color: inherit;
	text-decoration: none;
}

.lg-brand__mark {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	object-fit: contain;
	filter: drop-shadow(0 4px 10px rgba(20, 16, 11, .18));
}

.lg-brand__text { display: flex; flex-direction: column; gap: .35rem; }

.lg-brand__name {
	color: var(--lg-ink-2);
	font-size: 1.35rem;
	font-weight: 800;
	line-height: 1.1;
	transition: color .2s ease;
}

.lg-brand a:hover .lg-brand__name { color: var(--lg-gold-dark); }

.lg-brand__tagline {
	color: var(--lg-muted);
	font-size: .72rem;
	font-weight: 500;
	line-height: 1.2;
}

.lg-brand .custom-logo { width: auto; max-height: 52px; }

/* Primary menu (desktop) */
.lg-nav { flex: 1; display: flex; justify-content: center; }

.lg-nav__menu {
	display: flex;
	gap: .25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.lg-nav__menu li { position: relative; margin: 0; }

.lg-nav__menu a {
	position: relative;
	display: block;
	padding: .55rem .85rem;
	border-radius: 8px;
	color: #3d362d;
	font-size: .95rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.lg-nav__menu a:hover,
.lg-nav__menu a:focus { color: var(--lg-gold-dark); }

/* Gold underline grows in on hover and marks the current page. */
.lg-nav__menu > li > a::after {
	content: "";
	position: absolute;
	inset-inline: .85rem;
	bottom: .15rem;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--lg-gold), var(--lg-gold-light));
	transform: scaleX(0);
	transition: transform .25s ease;
}

.lg-nav__menu > li > a:hover::after,
.lg-nav__menu > li > a:focus-visible::after,
.lg-nav__menu > .current-menu-item > a::after,
.lg-nav__menu > .current-menu-ancestor > a::after,
.lg-nav__menu > .current_page_parent > a::after { transform: scaleX(1); }

.lg-nav__menu > .current-menu-item > a,
.lg-nav__menu > .current-menu-ancestor > a,
.lg-nav__menu > .current_page_parent > a { color: var(--lg-ink-2); }

.lg-nav__menu .sub-menu {
	position: absolute;
	top: 100%;
	inset-inline-start: 0;
	z-index: 2;
	min-width: 220px;
	list-style: none;
	margin: 0;
	padding: .5rem;
	background: #fff;
	border: 1px solid var(--lg-line);
	border-radius: 12px;
	box-shadow: 0 24px 48px -16px rgba(20, 16, 11, .22);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

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

.lg-nav__menu .sub-menu a { font-weight: 500; }
.lg-nav__menu .sub-menu a:hover { background: var(--lg-ivory); }

/* Icon buttons: search, account, cart, menu toggle (also used in the drawer). */
.lg-header__actions {
	display: flex;
	align-items: center;
	gap: .4rem;
	margin-inline-start: auto;
}

.site-header .lg-icon-btn,
.lg-drawer .lg-icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	min-width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 999px;
	background: transparent;
	box-shadow: none;
	color: var(--lg-ink-2);
	font-size: .88rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.lg-icon-btn svg { flex-shrink: 0; width: 22px; height: 22px; }

.site-header .lg-icon-btn:hover,
.site-header .lg-icon-btn[aria-expanded="true"],
.lg-drawer .lg-icon-btn:hover {
	background: var(--lg-ivory);
	border-color: var(--lg-line);
	color: var(--lg-gold-dark);
}

.site-header .lg-header__menu-toggle { display: none; }

.site-header .lg-account { padding-inline: .8rem; }

/* Cart: dark pill with a gold count badge and a mini-cart dropdown. */
.lg-cart { position: relative; }

.site-header .lg-cart__link,
.site-header .lg-cart__link:hover {
	background: var(--lg-ink);
	border-color: var(--lg-ink);
	color: var(--lg-gold-pale);
}

.site-header .lg-cart__link:hover { background: #000; color: #fff; }

.lg-cart__count {
	position: absolute;
	top: -5px;
	inset-inline-end: -5px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--lg-gold-light), var(--lg-gold));
	box-shadow: 0 0 0 2px #fff;
	color: var(--lg-ink);
	font-size: .72rem;
	font-weight: 800;
	line-height: 20px;
	text-align: center;
}

.lg-cart__count[data-count="0"] { display: none; }

.lg-cart__panel {
	position: absolute;
	top: calc(100% + 14px);
	inset-inline-end: 0;
	width: 340px;
	padding: 1rem 1.1rem 1.1rem;
	background: #fff;
	border: 1px solid var(--lg-line);
	border-radius: var(--lg-radius);
	box-shadow: 0 28px 56px -18px rgba(20, 16, 11, .3);
	font-size: .88rem;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

/* Bridges the gap so the pointer can travel from the button into the panel. */
.lg-cart__panel::before {
	content: "";
	position: absolute;
	inset: -16px 0 auto;
	height: 16px;
}

@media (hover: hover) and (min-width: 768px) {
	.lg-cart:hover .lg-cart__panel,
	.lg-cart:focus-within .lg-cart__panel {
		opacity: 1;
		visibility: visible;
		transform: none;
	}
}

.lg-cart__title {
	margin: 0 0 .25rem;
	color: var(--lg-ink-2);
	font-weight: 700;
}

.lg-cart__panel .widget_shopping_cart { margin: 0; }
.lg-cart__panel .product_list_widget { max-height: 300px; overflow-y: auto; margin: 0; }
/* .site-header prefix: Storefront pads header mini-cart rows with `.site-header .widget_shopping_cart …`. */
.site-header .lg-cart__panel .product_list_widget li { padding-block: .85rem; padding-inline: 1.9rem 0; border-bottom-color: var(--lg-line); }
.lg-cart__panel .product_list_widget li a.remove { top: .85rem; }
.lg-cart__panel .product_list_widget li a:not(.remove) { color: var(--lg-ink-2); font-weight: 600; text-decoration: none; }

.lg-cart__panel .product_list_widget li img {
	width: 52px;
	max-width: 52px;
	height: 52px;
	object-fit: cover;
	border-radius: 10px;
	margin-inline-start: .75rem;
}

.lg-cart__panel .quantity { color: var(--lg-muted); font-size: .82rem; }

.site-header .lg-cart__panel p.total {
	display: flex;
	justify-content: space-between;
	padding: .85rem 0;
	border-bottom: 0;
	color: var(--lg-ink-2);
}

.site-header .lg-cart__panel p.buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .5rem;
	padding: 0;
}

.lg-cart__panel p.buttons a { margin: 0; text-align: center; }

.lg-cart__panel p.buttons a:not(.checkout) {
	background: #fff;
	border: 1px solid var(--lg-line);
	color: var(--lg-ink-2);
}

.lg-cart__panel .woocommerce-mini-cart__empty-message {
	margin: .75rem 0 .25rem;
	color: var(--lg-muted);
	text-align: center;
}

/* Search: panel under the bar (header) and inline form (drawer). */
.lg-search-panel {
	position: absolute;
	top: 100%;
	inset-inline: 0;
	padding-block: 1rem 1.25rem;
	background: #fff;
	border-bottom: 1px solid var(--lg-line);
	box-shadow: 0 24px 40px -24px rgba(20, 16, 11, .25);
	animation: lg-drop .2s ease;
}

@keyframes lg-drop {
	from { opacity: 0; transform: translateY(-6px); }
}

.lg-search {
	position: relative;
	display: flex;
	align-items: center;
	gap: .5rem;
	max-width: 720px;
	margin: 0 auto;
}

.lg-search > svg {
	position: absolute;
	inset-inline-start: 1rem;
	width: 20px;
	height: 20px;
	color: var(--lg-muted);
	pointer-events: none;
}

.lg-search .lg-search__field {
	flex: 1;
	min-width: 0;
	height: 50px;
	padding-block: 0;
	padding-inline: 2.9rem 1rem;
	background: var(--lg-ivory);
	border: 1px solid var(--lg-line);
	border-radius: 12px;
	box-shadow: none;
	color: var(--lg-ink-2);
	font-size: 1rem;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.lg-search .lg-search__field::placeholder { color: #a89c86; }

.lg-search .lg-search__field:focus {
	outline: none;
	background: #fff;
	border-color: var(--lg-gold);
	box-shadow: 0 0 0 4px rgba(184, 137, 47, .15);
}

.lg-search .lg-search__submit { height: 50px; padding: 0 1.4rem; border-radius: 12px; }

/* ---------- Mobile drawer ---------- */

body.lg-drawer-open { overflow: hidden; }

.lg-drawer {
	position: fixed;
	inset: 0;
	z-index: 100000; /* above the admin bar and Storefront's handheld footer bar */
}

.lg-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(11, 9, 7, .55);
	opacity: 0;
	transition: opacity .3s ease;
}

.lg-drawer__panel {
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	display: flex;
	flex-direction: column;
	width: min(88vw, 380px);
	background: #fff;
	box-shadow: 0 0 40px rgba(11, 9, 7, .3);
	transform: translateX(100%);
	transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}

html:not([dir="rtl"]) .lg-drawer__panel { transform: translateX(-100%); }

.lg-drawer.is-open .lg-drawer__overlay { opacity: 1; }
.lg-drawer.is-open .lg-drawer__panel { transform: none; }

.lg-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: .9rem 1.25rem;
	border-bottom: 1px solid var(--lg-line);
}

.lg-drawer__head .lg-brand__mark { width: 38px; height: 38px; }
.lg-drawer__head .lg-brand__name { font-size: 1.15rem; }

.lg-drawer__body { flex: 1; overflow-y: auto; padding: 1.25rem; }
.lg-drawer .lg-search .lg-search__field { height: 46px; font-size: .95rem; }
.lg-drawer .lg-search .lg-search__submit { height: 46px; padding-inline: 1rem; }

.lg-drawer__rate {
	display: grid;
	gap: .15rem;
	margin-top: 1rem;
	padding: .85rem 1.1rem;
	border-radius: var(--lg-radius);
	background: linear-gradient(135deg, var(--lg-ink-2), var(--lg-ink));
	color: #9d917a;
	font-size: .78rem;
}

.lg-drawer__rate strong { color: var(--lg-gold-light); font-size: 1.25rem; font-weight: 800; }
.lg-drawer__rate small { color: #cbbf9f; font-size: .8rem; font-weight: 500; }

.lg-drawer__nav { margin-top: .75rem; }

.lg-drawer__menu,
.lg-drawer__menu .sub-menu,
.lg-drawer__links { list-style: none; margin: 0; padding: 0; }

.lg-drawer__menu li { margin: 0; }

.lg-drawer__menu a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: .85rem .25rem;
	border-bottom: 1px solid var(--lg-line);
	color: var(--lg-ink-2);
	font-weight: 600;
	text-decoration: none;
}

/* Chevron pointing toward the inline end. */
.lg-drawer__menu a::after {
	content: "";
	width: 7px;
	height: 7px;
	border: solid currentColor;
	border-width: 0 0 1.5px 1.5px;
	transform: rotate(45deg);
	opacity: .35;
}

html:not([dir="rtl"]) .lg-drawer__menu a::after { transform: rotate(-135deg); }

.lg-drawer__menu a:hover,
.lg-drawer__menu .current-menu-item > a,
.lg-drawer__menu .current_page_parent > a { color: var(--lg-gold-dark); }

.lg-drawer__menu .sub-menu { padding-inline-start: 1rem; }
.lg-drawer__menu .sub-menu a { font-weight: 500; font-size: .92rem; }

.lg-drawer__links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.lg-drawer__links li { margin: 0; }

.lg-drawer__links a {
	display: inline-block;
	padding: .35rem .9rem;
	border: 1px solid var(--lg-line);
	border-radius: 999px;
	color: var(--lg-muted);
	font-size: .85rem;
	text-decoration: none;
}

.lg-drawer__links a:hover { border-color: var(--lg-gold); color: var(--lg-gold-dark); }

.lg-drawer__foot {
	display: grid;
	gap: .75rem;
	padding: 1rem 1.25rem 1.25rem;
	border-top: 1px solid var(--lg-line);
	background: var(--lg-ivory);
}

.lg-drawer .lg-drawer__call {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	min-height: 48px;
	border-radius: 12px;
	background: var(--lg-ink);
	color: var(--lg-gold-pale);
	font-weight: 600;
	text-decoration: none;
}

.lg-drawer .lg-drawer__call:hover { background: #000; color: #fff; }
.lg-drawer__call svg { width: 18px; height: 18px; }

.lg-drawer__social { display: flex; align-items: center; gap: .25rem; }
.lg-drawer__social .lg-icon-btn { color: var(--lg-gold-dark); }
.lg-drawer__hours { margin-inline-start: auto; color: var(--lg-muted); font-size: .75rem; }

/* ---------- Header: responsive ---------- */

@media (max-width: 1199px) {
	.lg-topbar__email { display: none; }
}

@media (max-width: 1023px) {
	.lg-nav,
	.lg-topbar__note,
	.lg-topbar__menu,
	.lg-topbar__email { display: none; }

	.lg-header__bar { gap: .5rem; min-height: 64px; }
	.site-header .lg-header__menu-toggle { display: inline-flex; }
	.site-header .lg-account { padding-inline: 0; }

	/* Icon only; the label stays as the accessible name. */
	.lg-account__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}

/* Without a gold rate, the shipping note keeps the top bar from looking empty. */
@media (min-width: 561px) and (max-width: 1023px) {
	.lg-topbar__inner > .lg-topbar__note:first-child { display: block; }
}

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

/* The admin bar scrolls away on small screens. */
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}

@media (max-width: 560px) {
	.lg-topbar__inner { justify-content: center; gap: .75rem; }
	.lg-topbar__end { margin-inline-start: 0; }
	.lg-topbar__phone span { display: none; }
	.lg-rate { padding-inline: .7rem; }
}

@media (max-width: 480px) {
	.lg-brand__tagline { display: none; }
	.lg-brand__mark { width: 38px; height: 38px; }
	.lg-brand__name { font-size: 1.15rem; }
	.lg-brand a { gap: .55rem; }
	.lg-header__actions { gap: .2rem; }

	.site-header .lg-icon-btn { min-width: 40px; height: 40px; }
	.lg-icon-btn svg { width: 21px; height: 21px; }
	.lg-search .lg-search__submit { padding-inline: 1rem; }
}

/* Very narrow phones: the account link is still in the drawer and the bottom bar. */
@media (max-width: 374px) {
	.site-header .lg-account { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.site-header,
	.lg-nav__menu a::after,
	.lg-nav__menu .sub-menu,
	.lg-cart__panel,
	.lg-drawer__overlay,
	.lg-drawer__panel,
	.lg-icon-btn { transition: none; }
	.lg-rate__dot::after,
	.lg-search-panel { animation: none; }
}

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

.page-template-template-homepage .site-header { margin-bottom: 1.75rem; }
.page-template-template-homepage .site-main { padding-top: 0; }
.page-template-template-homepage:not(.has-post-thumbnail) .site-main { padding-top: 16px; }
.page-template-template-homepage .content-area,
.page-template-template-homepage .site-main { margin-bottom: 0; }

.lg-hero {
	position: relative;
	overflow: hidden;
	border-radius: var(--lg-radius);
	background: var(--lg-ink) var(--lg-hero-image) center / cover no-repeat;
	min-height: 440px;
	display: flex;
	align-items: center;
	margin-bottom: 2rem;
}

.lg-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to left, rgba(11, 9, 7, .92) 0%, rgba(11, 9, 7, .75) 45%, rgba(11, 9, 7, .15) 100%);
}

.lg-hero__inner {
	position: relative;
	max-width: 560px;
	padding: 3rem clamp(1.5rem, 5vw, 3.5rem);
	color: #e9dfca;
}

.lg-hero__eyebrow {
	color: var(--lg-gold-light);
	font-weight: 600;
	margin-bottom: .5rem;
}

.lg-hero h1 {
	color: #fff8e6;
	font-size: clamp(1.75rem, 3.6vw, 2.6rem);
	line-height: 1.5;
	margin-bottom: 1rem;
}

.lg-hero p { margin-bottom: 1.75rem; }
.lg-hero .lg-hero__eyebrow { margin-bottom: .5rem; }

.lg-hero__actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Outline button; inset shadow instead of a border keeps it the same height as the solid one. */
.lg-hero .button.alt {
	background: transparent;
	border-color: transparent;
	box-shadow: inset 0 0 0 1px var(--lg-gold-light);
	color: var(--lg-gold-pale);
}

.lg-hero .button.alt:hover,
.lg-hero .button.alt:focus-visible {
	background: rgba(226, 189, 106, .14);
	border-color: transparent;
	box-shadow: inset 0 0 0 1px var(--lg-gold-light);
	color: #fff8e6;
}

/* ---------- Trust badges ---------- */

.lg-trust {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	margin: 0 0 var(--lg-section);
	padding: 0;
	list-style: none;
}

.lg-trust li {
	display: flex;
	gap: .85rem;
	align-items: flex-start;
	background: #fff;
	border: 1px solid var(--lg-line);
	border-radius: var(--lg-radius);
	padding: 1.1rem 1.2rem;
	margin: 0;
}

.lg-trust svg {
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	color: var(--lg-gold);
}

.lg-trust strong { display: block; color: var(--lg-ink-2); font-size: .98rem; }
.lg-trust span { display: block; color: var(--lg-muted); font-size: .85rem; line-height: 1.7; }

/* compact version under the add-to-cart button */
.single-product .lg-trust {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .6rem;
	margin: 1.5rem 0 0;
}

.single-product .lg-trust li { padding: .75rem .9rem; }
.single-product .lg-trust svg { flex-basis: 26px; width: 26px; height: 26px; }

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

.storefront-product-section { margin-bottom: 0; }

.storefront-product-section .section-title,
.related > h2:first-child,
.upsells > h2:first-child {
	text-align: center;
	font-size: 1.6rem;
	margin-bottom: 2rem;
}

.storefront-product-section .section-title::after,
.related > h2:first-child::after,
.upsells > h2:first-child::after {
	content: "";
	display: block;
	width: 64px;
	height: 3px;
	margin: .75rem auto 0;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--lg-gold), var(--lg-gold-light));
}

.lg-about {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 2rem;
	align-items: center;
	background: var(--lg-ivory);
	border: 1px solid var(--lg-line);
	border-radius: var(--lg-radius);
	padding: 2.25rem clamp(1.25rem, 4vw, 2.75rem);
	margin-bottom: var(--lg-section);
}

.lg-about h2 { font-size: 1.5rem; margin-bottom: .75rem; }
.lg-about p { margin-bottom: 1rem; }
.lg-about p:last-child { margin-bottom: 0; }
.lg-about p a { font-weight: 600; text-decoration: none; }
.lg-about p a:hover { text-decoration: underline; }

.lg-contact-card {
	background: #fff;
	border: 1px solid var(--lg-line);
	border-radius: var(--lg-radius);
	padding: 1.5rem;
}

.lg-contact-list { list-style: none; margin: 0; padding: 0; }
.lg-contact-list li { display: flex; gap: .6rem; margin-bottom: .6rem; }
.lg-contact-list li:last-child { margin-bottom: 0; }
.lg-contact-list b { color: var(--lg-ink-2); white-space: nowrap; }
.lg-contact-list a { text-decoration: none; }
.lg-contact-list a:hover { text-decoration: underline; }

/* ---------- Product cards ---------- */

ul.products li.product {
	background: #fff;
	border: 1px solid var(--lg-line);
	border-radius: var(--lg-radius);
	padding-bottom: 1.25rem;
	margin-bottom: 2rem;
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}

/* overflow: hidden on the card would clip an outside focus ring */
ul.products li.product .woocommerce-loop-product__link:focus-visible { outline-offset: -2px; border-radius: var(--lg-radius); }

ul.products li.product:hover {
	box-shadow: 0 10px 30px rgba(20, 16, 11, .08);
	transform: translateY(-2px);
}

ul.products li.product img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	margin-bottom: 1rem;
}

ul.products li.product .woocommerce-loop-product__title {
	font-size: 1rem;
	font-weight: 600;
	color: var(--lg-ink-2);
	line-height: 1.7;
	padding-inline: .75rem;
	margin-bottom: .4rem;
	transition: color .2s ease;
}

ul.products li.product .woocommerce-loop-product__link:hover .woocommerce-loop-product__title { color: var(--lg-gold-dark); }

ul.products li.product .price { color: var(--lg-gold); font-weight: 700; margin-bottom: .9rem; }
ul.products li.product .button,
ul.products li.product .added_to_cart { margin: .25rem .25rem 0; }

/* ---------- Featured products carousel (homepage) ---------- */

/*
 * Header row: title at the start, carousel arrows at the end.
 * Below the carousel: dots, then the centred "view all" button.
 */
.storefront-featured-products {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	column-gap: 1rem;
	margin-bottom: var(--lg-section);
}

/* Owl measures its parent, so grid children must be allowed to shrink. */
.storefront-featured-products > * { grid-column: 1 / -1; min-width: 0; }

.storefront-product-section.storefront-featured-products .section-title {
	grid-column: 1;
	text-align: start;
	margin-bottom: 1.5rem;
}

.storefront-product-section.storefront-featured-products .section-title::after { margin-inline: 0; }

.storefront-featured-products .lg-carousel-nav { grid-column: 2; margin-bottom: 1.5rem; }

.lg-shop-link {
	text-align: center;
	margin: 1.25rem 0 0;
}

.storefront-featured-products ul.products.owl-carousel { margin: 0; }
.storefront-featured-products ul.products.owl-carousel::before,
.storefront-featured-products ul.products.owl-carousel::after { display: none; }

/* Room for the card hover lift and shadow, which the stage would otherwise clip. */
.storefront-featured-products .owl-carousel .owl-stage-outer { padding: 4px 0 24px; }

/* Equal-height cards */
.storefront-featured-products .owl-carousel .owl-stage { display: flex; }
.storefront-featured-products .owl-carousel .owl-item { display: flex; }

/* Beats Storefront's column grid (.storefront-full-width-content .site-main ul.products.columns-4 li.product), which loads after this file. */
.site-main .storefront-featured-products ul.products.owl-carousel .owl-item li.product {
	float: none;
	width: 100%;
	margin: 0;
}

.storefront-featured-products .lg-carousel-nav {
	display: flex;
	gap: .5rem;
}

/* Empty until Owl fills it; disabled when every product already fits on screen. */
.storefront-featured-products .lg-carousel-nav:empty,
.storefront-featured-products .lg-carousel-nav.disabled { display: none; }

.storefront-featured-products .lg-carousel-nav button.owl-prev,
.storefront-featured-products .lg-carousel-nav button.owl-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--lg-line);
	border-radius: 50%;
	background: #fff;
	color: var(--lg-gold-dark);
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.storefront-featured-products .lg-carousel-nav button svg { width: 20px; height: 20px; }

.storefront-featured-products .lg-carousel-nav button.owl-prev:hover,
.storefront-featured-products .lg-carousel-nav button.owl-next:hover {
	background: var(--lg-gold);
	border-color: var(--lg-gold);
	color: #fff;
}

.storefront-featured-products .lg-carousel-nav button:focus-visible,
.storefront-featured-products .owl-theme .owl-dot:focus-visible { outline: 2px solid var(--lg-gold); outline-offset: 2px; }

.storefront-featured-products .owl-theme .owl-dots { margin-top: .25rem; }
.storefront-featured-products .owl-theme .owl-dots .owl-dot span { background: var(--lg-line); margin: 5px; }
.storefront-featured-products .owl-theme .owl-dots .owl-dot.active span,
.storefront-featured-products .owl-theme .owl-dots .owl-dot:hover span { background: var(--lg-gold); }

@media (max-width: 560px) {
	.storefront-product-section.storefront-featured-products .section-title { font-size: 1.3rem; }
	.storefront-featured-products .lg-carousel-nav { gap: .4rem; }
	.storefront-featured-products .lg-carousel-nav button.owl-prev,
	.storefront-featured-products .lg-carousel-nav button.owl-next { width: 36px; height: 36px; }
	.storefront-featured-products .lg-carousel-nav button svg { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
	.storefront-featured-products .lg-carousel-nav button { transition: none; }
}

/* ---------- Shop archive ---------- */

.woocommerce-products-header__title.page-title { margin-bottom: 1.25rem; }

.storefront-sorting { margin-bottom: 2rem; }
ul.products + .storefront-sorting { margin-top: .5rem; }

.woocommerce-pagination .page-numbers li .page-numbers {
	border-radius: 8px;
	margin-inline: 2px;
	transition: background-color .2s ease, color .2s ease;
}

.woocommerce-pagination .page-numbers li .page-numbers.current {
	background-color: var(--lg-ink);
	color: var(--lg-gold-pale);
}

.woocommerce-pagination .page-numbers li a.page-numbers:hover {
	background-color: var(--lg-gold-pale);
	color: var(--lg-ink-2);
}

.onsale {
	border-color: var(--lg-gold);
	color: var(--lg-gold);
	border-radius: 6px;
}

/* ---------- Single product ---------- */

.single-product div.product .product_title { font-size: 1.75rem; line-height: 1.5; margin-bottom: .5rem; }
.single-product div.product p.price { color: var(--lg-gold); font-size: 1.5rem; font-weight: 700; margin: 0 0 1.25rem; }
.single-product div.product .woocommerce-product-gallery img { border-radius: var(--lg-radius); }
.single-product div.product .woocommerce-product-details__short-description { margin-bottom: 1.25rem; }
.single-product div.product .woocommerce-product-details__short-description > :last-child { margin-bottom: 0; }
.single-product div.product .stock { margin-bottom: .75rem; }
.single-product div.product form.cart { margin-bottom: 0; padding: .25rem 0 0; }

.single-product div.product .product_meta {
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top-color: var(--lg-line);
}

.single-product div.product .product_meta > span { display: block; margin-bottom: .25rem; }

/* Description / attributes / reviews tabs */
.woocommerce-tabs {
	clear: both;
	padding-block: 2.5rem;
	border-top: 1px solid var(--lg-line);
}

.woocommerce-tabs ul.tabs { border-top-color: var(--lg-line); }
.woocommerce-tabs ul.tabs li { border-bottom-color: var(--lg-line); }

.woocommerce-tabs ul.tabs li a {
	color: var(--lg-muted);
	font-weight: 600;
	padding-block: .85rem;
	text-decoration: none;
}

.woocommerce-tabs ul.tabs li a:hover,
.woocommerce-tabs ul.tabs li.active a { color: var(--lg-ink-2); }

.woocommerce-tabs .panel h2:first-of-type { font-size: 1.3rem; margin-bottom: 1rem; }

.single-product .related.products,
.single-product .upsells.products {
	clear: both;
	padding-top: var(--lg-section);
	border-top: 1px solid var(--lg-line);
}

/* ---------- Footer ---------- */

/* Colours come from the Customizer (ink background, gold headings); this sets layout and detail. */
.site-footer {
	position: relative;
	padding-top: clamp(2.5rem, 5vw, 3.75rem);
	font-size: .92rem;
	background-image: radial-gradient(ellipse 60% 120% at 100% 0%, rgba(226, 189, 106, .07), transparent 60%);
}

/* Thin gold hairline along the top edge. */
.site-footer::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 2px;
	background: linear-gradient(to left, transparent, var(--lg-gold) 30%, var(--lg-gold-light) 50%, var(--lg-gold) 70%, transparent);
	opacity: .7;
}

.lg-footer {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1.5fr minmax(150px, .9fr);
	gap: 2.5rem clamp(1.5rem, 3vw, 3rem);
	padding-bottom: clamp(2rem, 4vw, 3rem);
}

.lg-footer h3 {
	position: relative;
	color: var(--lg-gold-light);
	font-size: 1rem;
	margin-bottom: 1.25rem;
	padding-bottom: .65rem;
}

.lg-footer h3::after {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	bottom: 0;
	width: 2rem;
	height: 2px;
	border-radius: 2px;
	background: var(--lg-gold);
}

.lg-footer p { margin-bottom: 0; line-height: 2; }
.lg-footer ul { list-style: none; margin: 0; padding: 0; }
.lg-footer li { margin-bottom: .45rem; }
.lg-footer a { text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.site-footer .lg-footer a:not(.button):hover,
.site-footer .lg-footer a:not(.button):focus { color: var(--lg-gold-light); }

/* Brand column: larger wordmark-style title and social pills. */
.lg-footer__brand h3 { font-size: 1.35rem; font-weight: 800; }
.lg-footer__brand p { max-width: 34ch; }

.lg-footer .lg-social { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.5rem; }
.lg-footer .lg-social li { margin-bottom: 0; }

.lg-footer .lg-social a {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: .4rem .95rem;
	border: 1px solid rgba(226, 189, 106, .3);
	border-radius: 999px;
	font-size: .85rem;
	line-height: 1.6;
}

.lg-footer .lg-social svg { width: 1.05rem; height: 1.05rem; flex-shrink: 0; }

.site-footer .lg-footer .lg-social a:hover,
.site-footer .lg-footer .lg-social a:focus {
	background: rgba(226, 189, 106, .1);
	border-color: var(--lg-gold-light);
}

/* Quick links: a small gold marker slides in on hover. */
.lg-footer__links li { margin-bottom: .6rem; }

.lg-footer__links a {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
}

.lg-footer__links a::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: rgba(226, 189, 106, .45);
	transition: background-color .2s ease, transform .2s ease;
}

.lg-footer__links a:hover::before,
.lg-footer__links a:focus::before { background: var(--lg-gold-light); transform: scale(1.4); }

/* Contact: small muted label above each value. */
.lg-footer .lg-contact-list li {
	flex-direction: column;
	gap: 0;
	margin-bottom: .85rem;
}

.lg-footer .lg-contact-list li:last-child { margin-bottom: 0; }

.lg-footer .lg-contact-list b {
	color: #8f846f;
	font-size: .78rem;
	font-weight: 600;
}

.lg-footer .lg-contact-list li > a,
.lg-footer .lg-contact-list li > span { color: #e9dfca; }

.lg-footer .lg-contact-list a[dir="ltr"] { unicode-bidi: isolate; }
.lg-footer .lg-contact-list li > a[dir="ltr"] { align-self: flex-start; }

/* Trust seal sits on a soft card. */
.lg-footer__badges {
	display: flex;
	gap: .75rem;
	flex-wrap: wrap;
	align-items: center;
}

.lg-footer__badges > a,
.lg-footer__badges > p {
	padding: .75rem;
	border: 1px solid rgba(226, 189, 106, .18);
	border-radius: var(--lg-radius);
	background: rgba(255, 255, 255, .03);
}

.lg-footer__badges > a { display: inline-block; line-height: 0; transition: border-color .2s ease, transform .2s ease; }
.lg-footer__badges > a:hover { border-color: rgba(226, 189, 106, .5); transform: translateY(-2px); }
.lg-footer__badges img { background: #fff; border-radius: 10px; padding: 4px; }

.lg-footer__badge-placeholder {
	display: inline-block;
	border: 1px dashed rgba(226, 189, 106, .45);
	border-radius: 10px;
	padding: .75rem 1rem;
	font-size: .82rem;
	color: #b3a68c;
}

.lg-copyright {
	border-top: 1px solid rgba(226, 189, 106, .15);
	padding-block: 1.35rem;
	font-size: .82rem;
	text-align: center;
	color: #8f846f;
	letter-spacing: 0;
}

@media (prefers-reduced-motion: reduce) {
	.lg-footer a,
	.lg-footer__links a::before,
	.lg-footer__badges > a { transition: none; }
	.lg-footer__badges > a:hover { transform: none; }
}

/* ---------- Pages ---------- */

.page .entry-content h2 { font-size: 1.3rem; margin-top: 2rem; }
.page .entry-content h3 { font-size: 1.1rem; margin-top: 1.5rem; }

/* ---------- Responsive ---------- */

/* Desktop: copyright bar is the last thing on the page. Below 768px Storefront's
   bottom padding stays, as it keeps room for the fixed handheld footer bar. */
@media (min-width: 768px) {
	.site-footer { padding-bottom: 0; }

	.storefront-full-width-content.single-product div.product .woocommerce-product-gallery,
	.storefront-full-width-content.single-product div.product .summary { margin-bottom: 2.5rem; }
}

@media (max-width: 960px) {
	.lg-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lg-about { grid-template-columns: 1fr; }
	.lg-footer { grid-template-columns: 1fr 1fr; }
	.lg-footer__brand p { max-width: 46ch; }
}

@media (max-width: 560px) {
	.lg-trust,
	.single-product .lg-trust,
	.lg-footer { grid-template-columns: 1fr; }
	.lg-footer { gap: 2rem; }
	.lg-footer__links ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; }
	.lg-hero { min-height: 380px; }
	.lg-hero::before { background: rgba(11, 9, 7, .78); }
}
