/*
Theme Name: Comqura
Theme URI: https://www.comqura.it/
Author: Comqura
Description: Tema su misura per Comqura, piattaforma italiana di farmaci e parafarmaci a domicilio.
Version: 1.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: comqura
*/

:root {
	--ink: #171430;
	--ink-2: #413c5e;
	--muted: #6c6788;
	--line: #e7e1f3;
	--line-strong: #d4c9e8;
	--bg: #ffffff;
	--bg-2: #f8f5fd;
	--bg-3: #f2ecfb;
	--brand: #8514bf;
	--brand-600: #9a1ad6;
	--brand-800: #5c1690;
	--brand-950: #240a3a;
	--magenta: #ff00e7;
	--magenta-ink: #8f0082;
	--magenta-soft: #ffe8fc;
	--mint: #18e7c5;
	--mint-700: #047a66;
	--mint-soft: #e2fbf5;
	--warn-soft: #fff3df;
	--warn-ink: #8a5300;
	--radius-s: 8px;
	--radius: 14px;
	--radius-l: 20px;
	--shadow-1: 0 1px 2px rgba(36, 10, 58, .06), 0 4px 14px rgba(36, 10, 58, .07);
	--shadow-2: 0 2px 6px rgba(36, 10, 58, .08), 0 16px 34px rgba(36, 10, 58, .13);
	--wrap: 1200px;
	--gutter: 16px;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--display: "Outfit", "Inter", system-ui, sans-serif;
	--ease: cubic-bezier(.16, .84, .36, 1);
}

@media (min-width: 720px) {
	:root { --gutter: 24px; }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.65;
	font-feature-settings: "kern" 1, "liga" 1;
	-webkit-font-smoothing: antialiased;
	caret-color: var(--brand);
}

::selection { background: var(--magenta-soft); color: var(--brand-950); }

:focus-visible {
	outline: 3px solid var(--brand-600);
	outline-offset: 2px;
	border-radius: 4px;
}

* { scrollbar-color: var(--line-strong) transparent; scrollbar-width: thin; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: var(--bg-2); }
*::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 20px; border: 2px solid var(--bg-2); }
*::-webkit-scrollbar-thumb:hover { background: #b9a8d8; }

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

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-800); }

h1, h2, h3, h4 {
	font-family: var(--display);
	font-weight: 600;
	letter-spacing: -.022em;
	line-height: 1.17;
	color: var(--ink);
	margin: 0 0 .5em;
	text-wrap: balance;
}

h1 { font-size: clamp(1.95rem, 1.3rem + 2.3vw, 3rem); }
h2 { font-size: clamp(1.45rem, 1.15rem + 1.1vw, 2.05rem); margin-top: 2.2em; }
h3 { font-size: clamp(1.14rem, 1.03rem + .42vw, 1.36rem); margin-top: 1.9em; }
h4 { font-size: 1.03rem; margin-top: 1.6em; }

p, ul, ol, table, figure, blockquote { margin: 0 0 1.05em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	background: #fff;
	color: var(--brand-950);
	padding: 12px 18px;
	font-weight: 600;
	border-radius: 0 0 var(--radius-s) 0;
}
.skip-link:focus { left: 0; }

.topbar {
	background: linear-gradient(94deg, #6d10a0 0%, #a318cc 46%, #e40fd0 100%);
	color: #fff;
	font-size: .82rem;
	letter-spacing: .005em;
}
.topbar .wrap { display: flex; gap: 10px 26px; align-items: center; justify-content: center; flex-wrap: wrap; min-height: 34px; padding-block: 6px; }
.topbar p { margin: 0; }
.topbar strong { font-weight: 600; }
@media (max-width: 639px) {
	.topbar { font-size: .76rem; }
	.topbar .wrap { min-height: 0; padding-block: 5px; gap: 0 14px; }
	.topbar p + p { display: none; }
}

.masthead {
	background: var(--brand-950);
	background-image: radial-gradient(130% 160% at 8% -40%, #5c1690 0%, rgba(92, 22, 144, 0) 58%), radial-gradient(90% 150% at 96% -10%, rgba(255, 0, 231, .32) 0%, rgba(255, 0, 231, 0) 60%);
	color: #fff;
}
.masthead-row {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 18px 26px;
	padding-block: 14px;
}
.brand { display: flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 12px; }
.brand-name { font-family: var(--display); font-size: 1.45rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.brand-claim { display: block; font-family: var(--sans); font-size: .69rem; font-weight: 400; letter-spacing: .09em; text-transform: uppercase; color: #d9c4ec; margin-top: 3px; }

.site-search { display: flex; max-width: 540px; width: 100%; }
.site-search input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	border: 1px solid transparent;
	border-right: 0;
	border-radius: 10px 0 0 10px;
	padding: 12px 16px;
	font: inherit;
	font-size: .94rem;
	color: var(--ink);
	background: #fff;
}
.site-search input[type="search"]::placeholder { color: #8b86a4; }
.site-search input[type="search"]:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(24, 231, 197, .35); }
.site-search button {
	border: 0;
	background: linear-gradient(180deg, #ff2bea, #cc12ae);
	color: #fff;
	padding: 0 18px;
	border-radius: 0 10px 10px 0;
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: filter .18s var(--ease);
}
.site-search button:hover { filter: brightness(1.08); }

.masthead-actions { display: flex; align-items: center; gap: 6px; }
.act {
	display: grid;
	justify-items: center;
	gap: 4px;
	color: #efe6f7;
	text-decoration: none;
	font-size: .72rem;
	padding: 7px 10px;
	border-radius: 10px;
	min-width: 68px;
	transition: background .18s var(--ease), color .18s var(--ease);
}
.act:hover { background: rgba(255, 255, 255, .11); color: #fff; }
.act svg { width: 22px; height: 22px; }
.act-count {
	display: inline-block;
	min-width: 18px;
	padding: 0 5px;
	margin-left: 4px;
	background: var(--mint);
	color: #05352c;
	border-radius: 20px;
	font-weight: 700;
	font-size: .68rem;
	line-height: 18px;
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, .12);
	border: 0;
	color: #fff;
	font: inherit;
	font-size: .82rem;
	padding: 9px 13px;
	border-radius: 10px;
	cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

.mainnav { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 40; }
.mainnav .wrap { display: flex; }
.mainnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.mainnav li { position: relative; }
.mainnav > .wrap > ul > li > a {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 13px 14px;
	color: var(--ink-2);
	font-size: .9rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
	transition: color .16s var(--ease), border-color .16s var(--ease);
}
.mainnav > .wrap > ul > li > a:hover,
.mainnav > .wrap > ul > li.current-menu-item > a,
.mainnav > .wrap > ul > li.current-menu-parent > a,
.mainnav > .wrap > ul > li.current-menu-ancestor > a { color: var(--brand); border-bottom-color: var(--magenta); }
.menu-item-has-children > a::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 1.8px solid currentColor;
	border-bottom: 1.8px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	opacity: .55;
}
.mainnav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 248px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 0 0 var(--radius) var(--radius);
	box-shadow: var(--shadow-2);
	padding: 8px;
	display: block;
	flex-direction: column;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.mainnav li:hover > .sub-menu,
.mainnav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mainnav .sub-menu a {
	display: block;
	padding: 8px 12px;
	border-radius: var(--radius-s);
	color: var(--ink-2);
	font-size: .885rem;
	text-decoration: none;
}
.mainnav .sub-menu a:hover { background: var(--bg-3); color: var(--brand-800); }

@media (max-width: 1023px) {
	.masthead-row { display: flex; flex-wrap: wrap; justify-content: space-between; row-gap: 12px; }
	.site-search { order: 3; flex: 1 1 100%; max-width: none; }
	.nav-toggle { display: inline-flex; }
	.act { min-width: 56px; font-size: 0; gap: 0; padding: 9px; }
	.act svg { width: 24px; height: 24px; }
	.act-count { font-size: .68rem; margin: 0; position: relative; top: -6px; left: -6px; }
	.mainnav { display: none; }
	.mainnav.is-open { display: block; }
	.mainnav .wrap { flex-direction: column; padding-block: 8px; }
	.mainnav ul { flex-direction: column; width: 100%; }
	.mainnav .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		border-left: 1px solid var(--line);
		border-radius: 0;
		margin: 0 0 6px 16px;
		padding: 0 0 0 6px;
	}
	.mainnav > .wrap > ul > li > a { padding: 11px 4px; }
}

@media (max-width: 479px) {
	.brand { gap: 8px; min-width: 0; }
	.brand img { width: 36px; height: 36px; border-radius: 10px; }
	.brand-name { font-size: 1.18rem; }
	.brand-claim { display: none; }
	.masthead-actions { gap: 2px; }
	.act { min-width: 44px; padding: 8px; }
	.act svg { width: 22px; height: 22px; }
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	font: inherit;
	font-weight: 600;
	font-size: .94rem;
	line-height: 1.2;
	padding: 13px 22px;
	border-radius: 10px;
	border: 1.5px solid transparent;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	transition: transform .16s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease);
}
.btn svg { width: 19px; height: 19px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 2px 4px rgba(92, 22, 144, .2), 0 10px 22px rgba(133, 20, 191, .24); }
.btn-primary:hover { background: var(--brand-600); color: #fff; box-shadow: 0 3px 6px rgba(92, 22, 144, .22), 0 14px 28px rgba(133, 20, 191, .3); }
.btn-mint { background: var(--mint-700); color: #fff; box-shadow: 0 2px 4px rgba(4, 122, 102, .2), 0 10px 20px rgba(4, 122, 102, .2); }
.btn-mint:hover { background: #036353; color: #fff; }
.btn-ghost { background: #fff; color: var(--brand-800); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--bg-3); color: var(--brand-800); border-color: var(--brand); }
.btn-light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-light:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 15px; font-size: .86rem; }

.hero {
	background: var(--brand-950);
	background-image: radial-gradient(120% 140% at 12% 0%, #5e1894 0%, rgba(94, 24, 148, 0) 55%), radial-gradient(90% 120% at 90% 10%, rgba(255, 0, 231, .3) 0%, rgba(255, 0, 231, 0) 55%), linear-gradient(170deg, #2b0b45, #1d0730);
	color: #fff;
	padding-block: clamp(42px, 6vw, 76px);
	overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 34px 48px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .36em; }
.hero-lead { font-size: clamp(1.02rem, .96rem + .3vw, 1.18rem); color: #ddcfea; max-width: 56ch; margin-bottom: 1.5em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.hero-points li { display: flex; gap: 11px; align-items: flex-start; font-size: .93rem; color: #e6dcf1; }
.hero-points svg { flex: 0 0 auto; width: 21px; height: 21px; color: var(--mint); margin-top: 1px; }
.hero-card {
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: var(--radius-l);
	padding: 24px 24px 20px;
	backdrop-filter: blur(6px);
}
.hero-card h2 { color: #fff; font-size: 1.14rem; margin: 0 0 14px; }
.hero-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 14px; }
.hero-steps li { counter-increment: step; display: grid; grid-template-columns: 30px 1fr; gap: 13px; font-size: .9rem; color: #e3d8ef; }
.hero-steps li::before {
	content: counter(step);
	width: 30px;
	height: 30px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--mint);
	color: #04332a;
	font-weight: 700;
	font-size: .88rem;
	font-family: var(--display);
}
.hero-steps strong { display: block; color: #fff; font-weight: 600; }

@media (max-width: 900px) {
	.hero .wrap { grid-template-columns: 1fr; }
}

.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .62s var(--ease), transform .62s var(--ease); }
.reveal-1.is-in { transition-delay: .06s; }
.reveal-2.is-in { transition-delay: .13s; }
.reveal-3.is-in { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; }
}

.benefits { background: var(--brand-800); background-image: linear-gradient(92deg, #4d1280, #7a13b4); color: #fff; }
.benefits .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 26px; padding-block: 20px; }
.benefit { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; line-height: 1.45; }
.benefit svg { flex: 0 0 auto; width: 25px; height: 25px; color: var(--mint); }
.benefit b { display: block; font-weight: 600; font-size: .92rem; }
.benefit span { color: #e0d2ee; }
@media (max-width: 860px) { .benefits .wrap { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .benefits .wrap { grid-template-columns: 1fr; } }

.section { padding-block: clamp(40px, 5vw, 66px); }
.section-tint { background: var(--bg-2); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 30px; flex-wrap: wrap; margin-bottom: 26px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); max-width: 62ch; }
.section-head a { font-weight: 600; font-size: .9rem; white-space: nowrap; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
@media (max-width: 620px) { .cards { grid-template-columns: minmax(0, 1fr); } }

.pcard {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform .2s var(--ease), box-shadow .22s var(--ease), border-color .2s var(--ease);
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.pcard-media { background: var(--bg-2); aspect-ratio: 4 / 3; min-height: 0; flex: 0 0 auto; display: grid; grid-template-rows: minmax(0, 1fr); place-items: center; padding: 14px; }
.pcard-media img { width: 100%; height: 100%; object-fit: contain; }
.pcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1 1 auto; }
.pcard-title { font-family: var(--display); font-size: 1rem; font-weight: 600; line-height: 1.3; margin: 0; letter-spacing: -.015em; }
.pcard-title a { color: var(--ink); text-decoration: none; }
.pcard:hover .pcard-title a { color: var(--brand-800); }
.pcard-title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.pcard-meta { font-size: .8rem; color: var(--muted); margin: 0; }
.pcard-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pcard-price { font-family: var(--display); font-weight: 600; font-size: 1.04rem; color: var(--ink); white-space: nowrap; }
.pcard-price small { font-weight: 400; font-size: .74rem; color: var(--muted); display: block; letter-spacing: 0; }
.pcard-link { font-size: .84rem; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 5px; }
.pcard-link svg { width: 15px; height: 15px; }

.tag {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: .71rem;
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
	padding: 3px 9px;
	border-radius: 20px;
	white-space: nowrap;
}
.tag-rx { background: var(--magenta-soft); color: var(--magenta-ink); }
.tag-otc { background: var(--mint-soft); color: var(--mint-700); }
.pcard-media .tag { position: absolute; top: 12px; left: 12px; z-index: 3; }

.rowlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rowlist li { position: relative; }
.rowlist a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 13px 16px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-s);
	text-decoration: none;
	color: var(--ink);
	font-weight: 500;
	transition: border-color .18s var(--ease), background .18s var(--ease), transform .18s var(--ease);
}
.rowlist a:hover { border-color: var(--brand); background: var(--bg-2); transform: translateX(2px); }
.rowlist span { color: var(--muted); font-size: .84rem; font-weight: 400; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
@media (max-width: 520px) { .tiles { grid-template-columns: minmax(0, 1fr); } }
.tile {
	display: flex;
	flex-direction: column;
	gap: 7px;
	padding: 18px;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: #fff;
	text-decoration: none;
	color: var(--ink);
	transition: transform .2s var(--ease), box-shadow .22s var(--ease), border-color .2s var(--ease);
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); border-color: var(--brand); color: var(--ink); }
.tile svg { width: 27px; height: 27px; color: var(--brand); }
.tile b { font-family: var(--display); font-size: 1.02rem; font-weight: 600; letter-spacing: -.015em; }
.tile span { font-size: .85rem; color: var(--muted); line-height: 1.5; }

.prose { max-width: 72ch; }
.prose-wide { max-width: none; }
.prose-wide > p, .prose-wide > ul, .prose-wide > ol, .prose-wide > blockquote,
.prose-wide > section > p, .prose-wide > section > ul, .prose-wide > section > ol, .prose-wide > section > blockquote { max-width: 72ch; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose > section:first-child > h2 { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--brand); }
.prose blockquote {
	margin: 1.6em 0;
	padding: 2px 0 2px 20px;
	border-left: 3px solid var(--magenta);
	color: var(--ink-2);
	font-size: 1.02rem;
}
.prose blockquote cite { display: block; margin-top: 8px; font-size: .84rem; font-style: normal; color: var(--muted); }
.prose a { font-weight: 500; }
.prose .docdate {
	margin: 0 0 1.6em;
	padding: 9px 14px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--bg-2);
	font-size: .84rem;
	color: var(--muted);
	display: inline-block;
}
.prose .sources {
	margin-top: 2em;
	padding-top: 14px;
	border-top: 1px solid var(--line);
	font-size: .88rem;
	color: var(--muted);
	max-width: 76ch;
}
.prose table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; }

.fig {
	margin: 1.9em 0;
	padding: 20px 20px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius-l);
	background: linear-gradient(180deg, #fff 0%, var(--bg-2) 100%);
	box-shadow: var(--shadow-1);
	max-width: 760px;
}
.fig svg { width: 100%; height: auto; overflow: visible; }
.fig figcaption {
	margin-top: 14px;
	padding-top: 11px;
	border-top: 1px solid var(--line);
	font-size: .84rem;
	line-height: 1.5;
	color: var(--muted);
}
.fig text { dominant-baseline: middle; }
.f-h { font-family: var(--display); font-weight: 600; font-size: 21px; fill: var(--brand-800); }
.f-t { font-family: var(--display); font-weight: 600; font-size: 19px; fill: var(--ink); }
.f-s { font-family: var(--sans); font-size: 15px; fill: var(--ink-2); }
.f-m { font-family: var(--sans); font-size: 14px; fill: var(--muted); }
.f-n { font-family: var(--display); font-weight: 700; font-size: 17px; fill: #fff; }
.f-k { font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: .08em; fill: var(--brand); }
.f-big { font-family: var(--display); font-weight: 700; font-size: 30px; fill: var(--brand); }
.f-pill { font-family: var(--sans); font-weight: 600; font-size: 13px; }
.f-ans { font-family: var(--sans); font-weight: 600; font-size: 14px; fill: var(--brand-800); }
.f-arrow { fill: var(--line-strong); }
.f-card { fill: #fff; stroke: var(--line-strong); stroke-width: 1; }
.f-soft { fill: var(--bg-3); stroke: var(--line-strong); stroke-width: 1; }
.f-mint { fill: var(--mint-soft); stroke: #9ee5d4; stroke-width: 1; }
.f-warn { fill: var(--warn-soft); stroke: #eed6a8; stroke-width: 1; }
.f-pink { fill: var(--magenta-soft); stroke: #f6c4ee; stroke-width: 1; }
.f-badge { fill: var(--brand); }
.f-badge-2 { fill: var(--mint-700); }
.f-badge-3 { fill: var(--magenta-ink); }
.f-ico { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.f-ico-2 { fill: none; stroke: var(--mint-700); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.f-ico-3 { fill: none; stroke: var(--warn-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.f-link { fill: none; stroke: var(--line-strong); stroke-width: 2; stroke-linecap: round; }
.f-dash { fill: none; stroke: var(--line-strong); stroke-width: 2; stroke-dasharray: 4 5; stroke-linecap: round; }
.f-mintink { fill: var(--mint-700); }
.f-warnink { fill: var(--warn-ink); }
.f-brandink { fill: var(--brand-800); }
@media (max-width: 560px) {
	.fig { padding: 14px 12px 12px; border-radius: var(--radius); }
	.f-s { font-size: 15.5px; }
	.f-m { font-size: 14.5px; }
}

.tablewrap { overflow-x: auto; max-width: 100%; margin: 1.4em 0; border: 1px solid var(--line); border-radius: var(--radius); }
.tablewrap table { margin: 0; border-radius: 0; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
th, td { padding: 10px 13px; text-align: left; border-bottom: 1px solid var(--line); }
thead th { background: var(--bg-3); font-family: var(--display); font-weight: 600; font-size: .84rem; color: var(--brand-800); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #fcfaff; }
.table-prices td, .table-prices thead th:not(:first-child) { text-align: right; }
@media (max-width: 560px) {
	table { font-size: .82rem; }
	th, td { padding: 8px 9px; }
	thead th { white-space: normal; }
	.tablewrap-prices { border: 0; overflow: visible; }
	.table-prices, .table-prices tbody, .table-prices tr, .table-prices th, .table-prices td { display: block; }
	.table-prices thead { display: none; }
	.table-prices tbody tr {
		border: 1px solid var(--line);
		border-radius: var(--radius);
		overflow: hidden;
		margin-bottom: 10px;
		background: #fff;
	}
	.table-prices tbody tr:last-child { margin-bottom: 0; }
	.table-prices th[scope="row"] {
		background: var(--bg-3);
		font-family: var(--display);
		font-weight: 600;
		color: var(--brand-800);
		border-bottom: 1px solid var(--line);
	}
	.table-prices td {
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		gap: 14px;
		text-align: right;
		font-variant-numeric: tabular-nums;
	}
	.table-prices td::before {
		content: attr(data-dose);
		color: var(--muted);
		font-weight: 500;
		text-align: left;
	}
	.table-prices tr td:last-child { border-bottom: 0; }

	.tablewrap-stack { border: 0; overflow: visible; }
	.table-stack, .table-stack tbody, .table-stack tr, .table-stack th, .table-stack td { display: block; }
	.table-stack thead { display: none; }
	.table-stack tbody tr {
		border: 1px solid var(--line);
		border-radius: var(--radius);
		overflow: hidden;
		margin-bottom: 10px;
		background: #fff;
	}
	.table-stack tbody tr:last-child { margin-bottom: 0; }
	.table-stack th[scope="row"] {
		background: var(--bg-3);
		font-family: var(--display);
		font-weight: 600;
		font-size: .92rem;
		color: var(--brand-800);
		border-bottom: 1px solid var(--line);
	}
	.table-stack tbody tr:last-child td { border-bottom: 1px solid var(--line); }
	.table-stack tbody tr td:last-child { border-bottom: 0; }
	.table-stack td::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 1px;
		font-size: .72rem;
		font-weight: 600;
		letter-spacing: .04em;
		text-transform: uppercase;
		color: var(--muted);
	}
	.table-stack td:not([data-label])::before { content: none; }
}
.layout > div > * + .prose-wide { margin-top: clamp(30px, 4vw, 48px); }

.note {
	margin: 1.6em 0;
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px 20px;
	font-size: .92rem;
	color: var(--ink-2);
}
.note h3, .note h4 { margin-top: 0; }
.note p:last-child, .note ul:last-child { margin-bottom: 0; }
.note-warn { background: var(--warn-soft); border-color: #f2ddba; color: #5e3a00; }
.note-mint { background: var(--mint-soft); border-color: #c0efe4; }

.faq { display: grid; gap: 10px; margin: 1.6em 0; }
.faq details {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	overflow: hidden;
}
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.faq summary {
	cursor: pointer;
	padding: 15px 48px 15px 18px;
	font-family: var(--display);
	font-weight: 600;
	font-size: 1rem;
	letter-spacing: -.012em;
	position: relative;
	list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "";
	position: absolute;
	right: 20px;
	top: 50%;
	width: 9px;
	height: 9px;
	margin-top: -6px;
	border-right: 2px solid var(--brand);
	border-bottom: 2px solid var(--brand);
	transform: rotate(45deg);
	transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .faq-body { padding: 0 18px 16px; color: var(--ink-2); font-size: .94rem; }
.faq .faq-body p:last-child { margin-bottom: 0; }

.crumbs { font-size: .83rem; color: var(--muted); padding-block: 14px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li::after { content: "/"; margin-left: 6px; color: var(--line-strong); }
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }

.pagehead { padding-block: 10px 6px; }
.pagehead h1 { margin-bottom: .3em; }
.pagehead .lead { font-size: 1.06rem; color: var(--ink-2); max-width: 68ch; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 40px; align-items: start; padding-block: 18px clamp(40px, 5vw, 64px); }
@media (max-width: 980px) { .layout { grid-template-columns: minmax(0, 1fr); gap: 30px; } }
.sidebar { display: grid; gap: 16px; position: sticky; top: 18px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 18px 20px; }
.panel h2, .panel h3 { font-size: 1.02rem; margin: 0 0 12px; }
.panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; }
.panel ul a { color: var(--ink-2); text-decoration: none; display: flex; justify-content: space-between; gap: 10px; }
.panel ul a:hover { color: var(--brand); }
.panel-brand { background: var(--bg-3); border-color: #dcd0f0; }
.panel p { font-size: .92rem; margin: 0 0 14px; color: var(--ink-2); }
.panel ul a svg { width: 14px; height: 14px; opacity: .45; flex: 0 0 auto; margin-top: 5px; }

.product-top { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 34px 44px; align-items: start; padding-block: 8px 10px; }
@media (max-width: 860px) { .product-top { grid-template-columns: 1fr; } }
.product-gallery { border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--bg-2); padding: 20px; display: grid; grid-template-rows: minmax(0, 1fr); place-items: center; aspect-ratio: 4 / 3; min-height: 0; }
.product-gallery img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 640px) {
	.product-gallery { aspect-ratio: auto; max-height: 48vh; padding: 14px; }
	.product-gallery img { height: auto; max-height: 44vh; }
}
.product-head h1 { margin-bottom: .3em; }
.product-sub { color: var(--ink-2); font-size: 1.02rem; margin-bottom: 18px; }
.product-facts { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 9px; font-size: .92rem; }
.product-facts li, .product-facts > div { display: grid; grid-template-columns: 148px 1fr; gap: 12px; }
.product-facts dt, .product-facts b { color: var(--muted); font-weight: 500; }
.product-facts dd { margin: 0; }
@media (max-width: 520px) { .product-facts li, .product-facts > div { grid-template-columns: 1fr; gap: 0; } }
.price-box {
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: linear-gradient(180deg, #fff, var(--bg-2));
	padding: 18px 20px;
	display: grid;
	gap: 14px;
	box-shadow: var(--shadow-1);
}
.price-from { font-family: var(--display); font-size: 1.7rem; font-weight: 600; letter-spacing: -.02em; }
.price-from small { display: block; font-size: .78rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.price-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.related { padding-block: 10px clamp(36px, 5vw, 60px); }

.site-footer { background: var(--brand-950); background-image: linear-gradient(176deg, #2b0b45, #180627); color: #cfc2dd; margin-top: 10px; }
.footer-top { padding-block: 44px 34px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px 34px; }
@media (max-width: 940px) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .footer-top { grid-template-columns: 1fr; } }
.site-footer h2 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; font-weight: 600; }
.site-footer a { color: #e2d6ee; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .9rem; }
.footer-about p { font-size: .9rem; line-height: 1.6; max-width: 40ch; }
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 11px; }
.footer-brand span { font-family: var(--display); font-size: 1.3rem; font-weight: 600; color: #fff; letter-spacing: -.03em; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, .1);
	transition: background .18s var(--ease), transform .18s var(--ease);
}
.social a:hover { background: var(--magenta); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; color: #fff; }
.footer-contact { font-size: .9rem; display: grid; gap: 11px; }
.footer-contact div { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--mint); flex: 0 0 auto; margin-top: 3px; }
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .12);
	padding-block: 18px 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	justify-content: space-between;
	font-size: .82rem;
	color: #a898bb;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-legalbox { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 20px 4px; }
.identity { display: grid; gap: 8px; max-width: 92ch; }
.identity-line { margin: 0; font-size: .86rem; color: #cbbcdd; font-weight: 500; }
.identity-note { margin: 0; font-size: .8rem; line-height: 1.65; color: #a898bb; }
.identity-note a { color: #d9cbe9; text-decoration: underline; }

.trust-note {
	margin: 2.4em 0 0;
	padding: 20px 22px;
	border: 1px solid var(--line-strong);
	border-left: 4px solid var(--magenta);
	border-radius: var(--radius);
	background: var(--bg-2);
}
.trust-note h2 { margin: 0 0 10px; font-size: 1rem; letter-spacing: 0; }
.trust-note p { margin: 0 0 9px; font-size: .9rem; line-height: 1.7; color: var(--ink-2); }
.trust-note p:last-child { margin-bottom: 0; }
.review-line { font-size: .82rem !important; color: var(--muted) !important; padding-top: 10px; border-top: 1px solid var(--line); }
.prose > .review-line { margin: 2em 0 0; max-width: 76ch; }
.prose > .review-line a { font-weight: 500; }
@media (max-width: 540px) { .trust-note { padding: 16px 16px; } }

.map-embed { margin: 1.6em 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.map-embed iframe { display: block; width: 100%; height: 380px; border: 0; }
.map-embed figcaption {
	padding: 11px 16px;
	border-top: 1px solid var(--line);
	background: #fff;
	font-size: .86rem;
	color: var(--muted);
}
@media (max-width: 560px) { .map-embed iframe { height: 280px; } }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin: 1.6em 0; }
@media (max-width: 560px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: #fff; }
.contact-card h3 { margin: 0 0 8px; font-size: 1rem; }
.contact-card p { margin: 0; font-size: .92rem; color: var(--ink-2); }

.cta-band {
	background: linear-gradient(100deg, #5c1690, #9a1ad6 58%, #d415c0);
	color: #fff;
	border-radius: var(--radius-l);
	padding: clamp(26px, 4vw, 42px);
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 22px 34px;
	align-items: center;
	margin-block: clamp(34px, 5vw, 52px);
}
.cta-band h2 { color: #fff; margin: 0 0 .4em; }
.cta-band p { color: #efe2f8; margin: 0; max-width: 60ch; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

.authorbox {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	border: 1px solid var(--line);
	background: var(--bg-2);
	border-radius: var(--radius);
	padding: 16px 18px;
	font-size: .88rem;
	color: var(--ink-2);
	margin: 2em 0 0;
}
.authorbox svg { width: 34px; height: 34px; color: var(--brand); flex: 0 0 auto; }
.authorbox b { color: var(--ink); }

.taxonomy-intro { max-width: 74ch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.filters a {
	font-size: .85rem;
	padding: 7px 14px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid var(--line);
	color: var(--ink-2);
	text-decoration: none;
}
.filters a:hover, .filters a[aria-current="page"] { background: var(--brand); border-color: var(--brand); color: #fff; }

.woocommerce-message, .woocommerce-info, .woocommerce-error {
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-left: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 14px 18px;
	margin: 0 0 18px;
	list-style: none;
	font-size: .92rem;
}
.woocommerce-error { background: #fff0f6; border-color: #f3cfe4; }

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.notfound { text-align: center; padding-block: clamp(50px, 8vw, 100px); }
.notfound .site-search { margin: 24px auto 0; }
.notfound p { margin-inline: auto; max-width: 60ch; }
.notfound .btn { margin-top: 20px; }

.wpcf7 {
	max-width: 64ch;
	margin: 22px 0 0;
	padding: clamp(18px, 3vw, 26px);
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: var(--radius-l);
}
.wpcf7-form p { margin: 0 0 16px; }
.wpcf7-form p:last-of-type { margin-bottom: 0; }
.wpcf7-form > p > label { display: block; font-weight: 600; font-size: .94rem; color: var(--ink); }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form select,
.wpcf7-form textarea {
	width: 100%;
	margin-top: 7px;
	padding: 11px 14px;
	font: inherit;
	font-size: .95rem;
	font-weight: 400;
	color: var(--ink);
	background: #fff;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-s);
}
.wpcf7-form textarea { min-height: 150px; resize: vertical; }
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
	outline: none;
	border-color: var(--brand);
	box-shadow: 0 0 0 3px rgba(133, 20, 191, .16);
}
.wpcf7-form .wpcf7-list-item { margin: 0; }
.wpcf7-acceptance label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-weight: 400;
	font-size: .9rem;
	color: var(--ink-2);
}
.wpcf7-acceptance input[type="checkbox"] {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 3px;
	accent-color: var(--brand);
}
.wpcf7-form input[type="submit"] {
	font: inherit;
	font-weight: 600;
	font-size: .94rem;
	line-height: 1.2;
	padding: 13px 24px;
	border-radius: 10px;
	border: 1.5px solid transparent;
	cursor: pointer;
	background: var(--brand);
	color: #fff;
	box-shadow: 0 2px 4px rgba(92, 22, 144, .2), 0 10px 22px rgba(133, 20, 191, .24);
	transition: background-color .18s var(--ease), box-shadow .18s var(--ease);
}
.wpcf7-form input[type="submit"]:hover { background: var(--brand-600); }
.wpcf7-form input[type="submit"]:active { transform: translateY(1px); }
.wpcf7-not-valid-tip { display: block; margin-top: 5px; font-size: .85rem; font-weight: 500; color: #a3003f; }
.wpcf7-form input[aria-invalid="true"], .wpcf7-form textarea[aria-invalid="true"] { border-color: #e9a9c6; }
.wpcf7-response-output {
	margin: 18px 0 0;
	padding: 12px 16px;
	font-size: .92rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.wpcf7-form.sent .wpcf7-response-output { background: var(--mint-soft); border-color: #a9ead9; }
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output { background: var(--warn-soft); border-color: #f1dbb2; color: var(--warn-ink); }
