/*
Theme Name: Scent Harmony
Theme URI: https://scentharmony.pk
Description: Scent Harmony child theme for Hello Elementor. Brand fonts and site-wide styles.
Author: Scent Harmony
Template: hello-elementor
Version: 1.4.2
Text Domain: scent-harmony
*/

:root {
	--sh-ink: #1C1815;
	--sh-ink-soft: #2B2521;
	--sh-sand: #E9E0CB;
	--sh-gold: #C9932E;
	--sh-gold-soft: #E3B968;
	--sh-gold-deep: #8A621C;
	--sh-rose: #9C5B6B;
	--sh-cream: #F7F2E9;
}

:focus-visible {
	outline: 2px solid var(--sh-gold);
	outline-offset: 3px;
}

/* ---------- Coming soon / maintenance page ---------- */
.sh-cs {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}
.sh-cs > .elementor-element:not(.sh-rings) {
	position: relative;
	z-index: 1;
}
.elementor-widget.sh-rings {
	position: absolute !important;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	margin: 0 !important;
	width: 100% !important;
	max-width: none !important;
	display: flex;
	align-items: center;
	justify-content: center;
}
.sh-rings .elementor-widget-container {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.sh-rings svg {
	flex: none;
	width: max(1000px, 120vmax);
	height: auto;
}
.sh-rings circle {
	fill: none;
	stroke: var(--sh-gold);
	transform-box: view-box;
	transform-origin: 50% 50%;
}
@media (prefers-reduced-motion: no-preference) {
	/* One moment on load: the rings diffuse outward from the centre, like scent leaving a bottle. */
	.sh-rings circle {
		animation: sh-diffuse 2.2s cubic-bezier(.16, .8, .24, 1) both;
	}
	.sh-rings circle:nth-of-type(2) { animation-delay: .12s; }
	.sh-rings circle:nth-of-type(3) { animation-delay: .24s; }
	.sh-rings circle:nth-of-type(4) { animation-delay: .36s; }
	.sh-rings circle:nth-of-type(5) { animation-delay: .48s; }
	.sh-rings circle:nth-of-type(6) { animation-delay: .60s; }
	.sh-rings rect { animation: sh-glow 2.4s ease-out both; }
}
@keyframes sh-glow {
	from { opacity: 0; }
}
@keyframes sh-diffuse {
	from { opacity: 0; transform: scale(.4); }
}
.sh-cs .elementor-social-icon {
	transition: background-color .2s ease, color .2s ease;
}
.sh-cs .elementor-social-icon:hover {
	background-color: var(--sh-gold) !important;
}
.sh-cs .elementor-social-icon:hover i,
.sh-cs .elementor-social-icon:hover svg {
	color: var(--sh-ink) !important;
	fill: var(--sh-ink) !important;
}

/* The store notice bar is not needed while the site is closed. */
.elementor-maintenance-mode .woocommerce-store-notice { display: none !important; }
.elementor-maintenance-mode.woocommerce-demo-store { padding-top: 0 !important; margin-top: 0 !important; }

/* =========================================================
   Site chrome (Hello header, footer, store notice)
   ========================================================= */
.site-header.dynamic-header {
	position: sticky;
	top: 0;
	z-index: 60;
	padding-block: 14px;
	border-bottom: 1px solid rgba(227, 185, 104, .18);
}
.admin-bar .site-header.dynamic-header { top: 32px; }
.site-header .site-navigation ul.menu li a { padding-inline: 14px; }
.site-header .site-navigation ul.menu li a:hover,
.site-header .site-navigation ul.menu li.current-menu-item > a { color: var(--sh-gold-soft); }
.site-header .site-navigation ul.menu li ul { background: var(--sh-ink-soft); border-top: 2px solid var(--sh-gold); }
.site-header .site-navigation-dropdown ul.menu { background: var(--sh-ink); }
.site-header .site-navigation-dropdown ul.menu li a { color: var(--sh-cream); background: var(--sh-ink); border-bottom: 1px solid rgba(247, 242, 233, .08); }
.site-footer.dynamic-footer { padding-block: 40px; }
.site-footer .site-navigation ul.menu li a:hover { color: var(--sh-gold-soft); }

p.woocommerce-store-notice,
p.demo_store {
	position: relative !important;
	background: var(--sh-gold) !important;
	color: var(--sh-ink) !important;
	font-family: 'Lemon Milk', sans-serif;
	font-size: 11px;
	letter-spacing: 1.2px;
	padding: 10px 48px !important;
	box-shadow: none !important;
	top: auto !important;
	z-index: 61;
}
p.woocommerce-store-notice a { color: var(--sh-ink) !important; }

/* =========================================================
   Home page
   ========================================================= */
.sh-hero h1 { text-wrap: balance; }
.sh-hero-visual { position: relative; isolation: isolate; }
.sh-hero-visual > .elementor-element:not(.sh-rings) { position: relative; z-index: 1; }
.sh-hero-visual .sh-rings svg { width: 165%; }
.sh-hero-photo { border-radius: 50%; overflow: hidden; aspect-ratio: 1; box-shadow: 0 0 0 1px rgba(227, 185, 104, .5), 0 0 0 14px rgba(28, 24, 21, 1), 0 0 0 15px rgba(227, 185, 104, .28); }
.sh-hero-photo img { display: block; width: 100% !important; height: 100% !important; aspect-ratio: 1; object-fit: cover; transform: scale(1.55); transform-origin: 50% 66%; }

/* Trust strip (markers live on the text: Elementor reserves ::before on containers) */
.e-con.sh-trust-item { --width: auto; width: auto; }
.sh-trust-item p { margin: 0; display: flex; align-items: center; gap: 12px; }
.sh-trust-item p::before {
	content: "";
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 1px solid var(--sh-gold);
	box-shadow: inset 0 0 0 4px var(--sh-sand), inset 0 0 0 9px var(--sh-gold);
	flex: none;
}
@media (max-width: 767px) {
	.e-con.sh-trust-item { --width: calc(50% - 9px); width: calc(50% - 9px); }
	.sh-trust-item p { gap: 9px; }
	.sh-trust-item p::before { width: 14px; height: 14px; box-shadow: inset 0 0 0 3px var(--sh-sand), inset 0 0 0 7px var(--sh-gold); }
}

/* Collection cards */
.sh-collection img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 2px; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.sh-collection .elementor-widget-image { overflow: hidden; border-radius: 2px; }
.sh-collection:hover img,
.sh-collection:focus-within img { transform: scale(1.04); }
.sh-collection .elementor-heading-title a { color: inherit; }
.sh-collection .elementor-heading-title a::after { content: ""; position: absolute; inset: 0; }
.sh-collection { position: relative; }

/* Scent notes */
.sh-note .elementor-heading-title { display: flex; align-items: center; gap: 14px; }
.sh-note .elementor-heading-title::before { content: ""; width: 12px; height: 12px; border-radius: 50%; flex: none; }
.sh-note--top .elementor-heading-title::before { border: 1px solid var(--sh-gold-soft); }
.sh-note--heart .elementor-heading-title::before { background: var(--sh-rose); }
.sh-note--base .elementor-heading-title::before { background: var(--sh-gold); }
.sh-note .elementor-widget-text-editor { padding-left: 26px; }
.sh-note p { margin: 0; }
.sh-notes-diagram svg { width: 100%; height: auto; display: block; }

/* Reviews */
.sh-review blockquote,
.sh-review p { margin: 0; }
.sh-review .sh-review-who p { font-family: 'Lemon Milk', sans-serif; font-size: 11px; letter-spacing: 1.4px; }

/* Newsletter form (Newsletter plugin, minimal form) */
.sh-newsletter .tnp-subscription-minimal { margin: 0 auto; max-width: 480px; display: flex; gap: 0; }
.sh-newsletter .tnp-subscription-minimal form { display: flex; width: 100%; }
.sh-newsletter .tnp-subscription-minimal input.tnp-email {
	flex: 1; min-width: 0; width: auto !important;
	background: transparent; color: var(--sh-cream);
	border: 1px solid rgba(247, 242, 233, .35); border-right: 0;
	border-radius: 2px 0 0 2px;
	padding: 15px 16px; font-family: 'Satoshi', sans-serif; font-size: 15px;
}
.sh-newsletter .tnp-subscription-minimal input.tnp-email::placeholder { color: rgba(247, 242, 233, .5); }
.sh-newsletter .tnp-subscription-minimal input.tnp-submit {
	width: auto !important; background: var(--sh-gold); color: var(--sh-ink); border: 0;
	border-radius: 0 2px 2px 0; padding: 15px 22px;
	font-family: 'Lemon Milk', sans-serif; font-size: 12px; letter-spacing: 1.4px; cursor: pointer;
}
.sh-newsletter .tnp-subscription-minimal input.tnp-submit:hover { background: var(--sh-gold-soft); }