/* ==========================================================================
   Adele Perfume – style.css
   Token → reset → layout → thành phần → trang. Breakpoint: 1380 / 1180 / 960 / 640.
   ========================================================================== */

/* ---------- 1. TOKEN ---------- */
:root {
	--bg: #FAFAF8;
	--surface: #FFFFFF;
	--surface-2: #F1F0EE;
	--ink: #16161A;
	--ink-soft: #5E5E66;
	--line: #E4E2DE;
	--gold: #B8935A;
	--gold-600: #96743F;
	--gold-ink: #7A5C2E;          /* chữ vàng đạt AA trên nền sáng */
	--on-gold: #16161A;
	--accent-deep: #1B1B20;
	--on-deep: #F2F0EB;
	--danger: #B3261E;
	--ok: #1E7B4B;
	--scrim: rgba(14, 14, 16, .55);

	--font-head: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
	--font-body: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

	--r-1: 6px;
	--r-2: 12px;
	--r-3: 20px;
	--shadow-1: 0 1px 2px rgba(22, 22, 26, .04), 0 2px 6px rgba(22, 22, 26, .04);
	--shadow-2: 0 2px 4px rgba(22, 22, 26, .04), 0 8px 20px rgba(22, 22, 26, .06), 0 20px 40px rgba(22, 22, 26, .05);
	--shadow-3: 0 4px 8px rgba(22, 22, 26, .05), 0 16px 32px rgba(22, 22, 26, .08), 0 40px 80px rgba(22, 22, 26, .08);
	--hair: 1px solid var(--line);

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 72px;
	--topbar-h: 36px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
	color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #0E0E10; --surface: #17171A; --surface-2: #1F1F24; --ink: #F2F0EB; --ink-soft: #A9A7A0;
		--line: #2B2B31; --gold: #D8B672; --gold-600: #D8B672; --gold-ink: #D8B672; --on-gold: #16161A;
		--accent-deep: #0A0A0C; --on-deep: #F2F0EB; --danger: #FF8A80; --ok: #6FD39B; --scrim: rgba(0, 0, 0, .65);
		--shadow-1: 0 1px 2px rgba(0, 0, 0, .4); --shadow-2: 0 8px 24px rgba(0, 0, 0, .45); --shadow-3: 0 24px 60px rgba(0, 0, 0, .55);
	}
}
:root[data-theme="dark"] {
	--bg: #0E0E10; --surface: #17171A; --surface-2: #1F1F24; --ink: #F2F0EB; --ink-soft: #A9A7A0;
	--line: #2B2B31; --gold: #D8B672; --gold-600: #D8B672; --gold-ink: #D8B672; --on-gold: #16161A;
	--accent-deep: #0A0A0C; --on-deep: #F2F0EB; --danger: #FF8A80; --ok: #6FD39B; --scrim: rgba(0, 0, 0, .65);
	--shadow-1: 0 1px 2px rgba(0, 0, 0, .4); --shadow-2: 0 8px 24px rgba(0, 0, 0, .45); --shadow-3: 0 24px 60px rgba(0, 0, 0, .55);
	color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: light; }

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0; background: var(--bg); color: var(--ink);
	font: 400 1rem/1.7 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
	overflow-x: hidden; position: relative;
}
body::before { content: ""; position: fixed; inset: 0; background: var(--noise); opacity: .035; pointer-events: none; z-index: 0; mix-blend-mode: multiply; }
:root[data-theme="dark"] body::before { mix-blend-mode: screen; opacity: .03; }
body.ap-lock { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--gold-ink); text-underline-offset: .2em; }
a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.01em; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold-ink); font-weight: 500; }
p { margin: 0 0 1em; text-wrap: pretty; }
hr { border: 0; border-top: var(--hair); margin: 2em 0; }
address { font-style: normal; }
abbr[title] { text-decoration: none; color: var(--danger); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--on-gold); }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: var(--r-1); transition: top .2s; }
.skip-link:focus { top: 12px; color: var(--bg); }
.ap-main { position: relative; z-index: 1; min-height: 60vh; outline: 0; }
.ap-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ap-i { flex: none; vertical-align: -0.2em; }
.ap-center { text-align: center; }
[hidden] { display: none !important; }

/* ---------- 3. TYPOGRAPHY HELPERS ---------- */
.ap-h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem); }
.ap-h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
.ap-h2--sm { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); }
.ap-h3 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.75rem); }
.ap-lead { font-size: clamp(1.05rem, .98rem + .4vw, 1.25rem); color: var(--ink-soft); max-width: 62ch; }
.ap-note { font-size: .9rem; color: var(--ink-soft); }
.ap-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .875rem; color: var(--ink-soft); margin: 0 0 .6em; }
.ap-eyebrow { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-head); font-style: italic; font-size: 1.15rem; color: var(--gold-ink); margin: 0 0 .8em; }
.ap-eyebrow::before, .ap-eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.ap-eyebrow--sm { font-size: 1rem; }
.ap-eyebrow--light { color: var(--gold); }
.ap-link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 2px; transition: gap .25s var(--ease), color .2s; }
.ap-link-arrow:hover { gap: 14px; color: var(--gold-ink); }

/* ---------- 4. LAYOUT ---------- */
.ap-container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.ap-container--narrow { max-width: calc(780px + var(--gutter) * 2); }
.ap-section { padding-block: clamp(56px, 8vw, 112px); position: relative; }
.ap-section--alt { background: var(--surface-2); }
.ap-sechead { max-width: 720px; margin: 0 auto clamp(28px, 4vw, 52px); text-align: center; }
.ap-sechead--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; text-align: left; }
.ap-sechead--row .ap-h2 { margin-bottom: 0; }
.ap-grid { display: grid; gap: clamp(16px, 2.4vw, 32px); }
.ap-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ap-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ap-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.ap-split--rev .ap-split__copy { order: 2; }
.ap-pagehead { padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(20px, 3vw, 36px); }
.ap-pagehead--tight { padding-bottom: 0; }

/* ---------- 5. BUTTONS, CHIPS, TAGS ---------- */
.ap-btn {
	--bh: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--bh); padding: 0 26px;
	border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: .95rem; text-decoration: none; line-height: 1;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s; will-change: transform; white-space: nowrap;
}
.ap-btn--gold { background: var(--gold); color: var(--on-gold); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, var(--shadow-1); }
.ap-btn--gold:hover { background: var(--gold-600); color: #fff; box-shadow: var(--shadow-2); }
:root[data-theme="dark"] .ap-btn--gold:hover { color: var(--on-gold); background: #E6C98A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ap-btn--gold:hover { color: var(--on-gold); background: #E6C98A; } }
.ap-btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.ap-btn--ghost:hover { background: var(--ink); color: var(--bg); }
.ap-btn--light { background: transparent; color: var(--on-deep); border-color: rgba(242, 240, 235, .6); }
.ap-btn--light:hover { background: var(--on-deep); color: var(--accent-deep); }
.ap-btn--sm { --bh: 44px; padding: 0 18px; font-size: .875rem; }
.ap-btn--lg { --bh: 56px; padding: 0 34px; font-size: 1rem; }
.ap-btn--block { width: 100%; }
.ap-btn[disabled], .ap-btn.is-loading { opacity: .65; pointer-events: none; }
.ap-iconbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); text-decoration: none; transition: background .2s; }
.ap-iconbtn:hover { background: var(--surface-2); color: var(--ink); }
.ap-badge { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: var(--on-gold); font-size: .7rem; font-weight: 700; line-height: 18px; text-align: center; }
.ap-badge[data-count="0"] { display: none; }
.ap-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ap-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: var(--hair); border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-size: .9rem; transition: all .2s; }
.ap-chip--sm { min-height: 32px; padding: 0 12px; font-size: .8rem; }
.ap-chip:hover, .ap-chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ap-tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--gold); color: var(--on-gold); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.3; }
.ap-tag--sale { background: var(--danger); color: #fff; }
:root[data-theme="dark"] .ap-tag--sale { color: #16161A; }
.ap-tag--muted { background: var(--surface-2); color: var(--ink-soft); border: var(--hair); }
.ap-tag--sm { font-size: .65rem; }

/* ---------- 6. TOPBAR & HEADER ---------- */
.ap-topbar { position: relative; z-index: 60; background: var(--accent-deep); color: var(--on-deep); font-size: .82rem; }
.ap-topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: var(--topbar-h); }
.ap-topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.ap-topbar a { color: var(--on-deep); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-weight: 600; }
.ap-topbar a:hover { color: var(--gold); }
.ap-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.ap-header.is-stuck { border-color: var(--line); box-shadow: var(--shadow-1); }
.ap-header__in { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.ap-burger { display: none; }
.ap-logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); flex: none; }
.ap-logo img { max-height: 48px; width: auto; }
.ap-logo__word { font-family: var(--font-head); font-size: 1.85rem; font-weight: 600; letter-spacing: .02em; line-height: 1; }
.ap-logo__word em { font-weight: 500; color: var(--gold-ink); }
.ap-logo__word sup { font-size: .45em; margin-left: 2px; color: var(--ink-soft); vertical-align: super; font-family: var(--font-body); }
.ap-nav { flex: 1; display: flex; justify-content: center; }
.ap-menu { display: flex; align-items: center; gap: 4px; }
.ap-menu__item { position: relative; display: flex; align-items: center; }
.ap-menu__item > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; }
.ap-menu__item > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.ap-menu__item:hover > a::after, .ap-menu__item.is-current > a::after, .ap-menu__item > a:focus-visible::after { transform: scaleX(1); }
.ap-sub-toggle { width: 28px; height: 44px; margin-left: -10px; border: 0; background: transparent; color: var(--ink-soft); display: inline-flex; align-items: center; justify-content: center; transition: transform .25s; }
.ap-menu__item.is-open > .ap-sub-toggle { transform: rotate(180deg); }
.ap-sub { position: absolute; top: 100%; left: 0; min-width: 220px; padding: 10px; background: var(--surface); border: var(--hair); border-radius: var(--r-2); box-shadow: var(--shadow-3); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
.ap-sub a { display: block; padding: 10px 14px; border-radius: var(--r-1); color: var(--ink); text-decoration: none; }
.ap-sub a:hover { background: var(--surface-2); }
.ap-menu__item.is-open > .ap-sub, .ap-menu__item:hover > .ap-sub, .ap-menu__item:focus-within > .ap-sub { opacity: 1; visibility: visible; transform: none; }
.ap-menu__item.has-mega { position: static; }
.ap-mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-block: var(--hair); box-shadow: var(--shadow-3); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
.ap-menu__item.is-open > .ap-mega, .ap-menu__item:hover > .ap-mega, .ap-menu__item:focus-within > .ap-mega { opacity: 1; visibility: visible; transform: none; }
.ap-mega__in { display: grid; grid-template-columns: 1fr 200px; gap: 32px; padding-block: 28px; align-items: center; }
.ap-mega__title { font-family: var(--font-head); font-style: italic; font-size: 1.25rem; color: var(--gold-ink); margin-bottom: 10px; }
.ap-mega__list--cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px 24px; }
.ap-mega__list a { display: block; padding: 8px 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; }
.ap-mega__list a:hover { color: var(--gold-ink); border-color: var(--gold); }
.ap-mega__feature { display: flex; justify-content: center; opacity: .95; }
.ap-mega__feature .ap-bottle { width: 130px; height: auto; }
.ap-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.ap-theme__ic { display: none; }
html:not([data-theme]) .ap-theme__ic--auto, html[data-theme="light"] .ap-theme__ic--light, html[data-theme="dark"] .ap-theme__ic--dark { display: inline-flex; }

/* Tìm kiếm tức thời */
.ap-search { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: var(--hair); box-shadow: var(--shadow-3); padding-block: 16px 24px; }
.ap-search__form { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--ink); padding-block: 6px; }
.ap-search__form input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 1.25rem; min-height: 48px; outline: 0; }
.ap-search__results { padding-top: 14px; display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.ap-search__group h3 { font-family: var(--font-body); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.ap-search__item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r-1); color: var(--ink); text-decoration: none; min-height: 44px; }
.ap-search__item:hover, .ap-search__item:focus-visible { background: var(--surface-2); }
.ap-search__item img { width: 44px; height: 44px; object-fit: cover; border-radius: var(--r-1); }
.ap-search__item small { display: block; color: var(--ink-soft); }
.ap-search__empty { grid-column: 1 / -1; color: var(--ink-soft); }

/* Skeleton */
.ap-skel { display: block; height: 14px; border-radius: 6px; background: linear-gradient(90deg, var(--surface-2) 25%, var(--line) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: ap-shimmer 1.2s linear infinite; margin: 8px 0; }
.ap-skel--card { height: 320px; border-radius: var(--r-2); }
@keyframes ap-shimmer { to { background-position: -200% 0; } }

/* ---------- 7. DRAWER, SCRIM, MODAL, TOAST ---------- */
.ap-scrim { position: fixed; inset: 0; background: var(--scrim); z-index: 90; opacity: 0; transition: opacity .3s; }
.ap-scrim.is-on { opacity: 1; }
.ap-drawer { position: fixed; top: 0; bottom: 0; z-index: 100; width: min(420px, 92vw); background: var(--surface); display: flex; flex-direction: column; box-shadow: var(--shadow-3); transition: transform .35s var(--ease); }
.ap-drawer--left { left: 0; transform: translateX(-100%); }
.ap-drawer--right { right: 0; transform: translateX(100%); }
.ap-drawer.is-open { transform: none; }
.ap-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: var(--hair); font-size: 1.1rem; }
.ap-drawer__nav { flex: 1; overflow-y: auto; padding: 10px 18px; }
.ap-drawer__nav a { display: flex; align-items: center; min-height: 48px; color: var(--ink); text-decoration: none; font-family: var(--font-head); font-size: 1.5rem; border-bottom: var(--hair); }
.ap-drawer__nav ul ul { padding-left: 16px; }
.ap-drawer__foot { padding: 16px 18px; display: grid; gap: 10px; border-top: var(--hair); }
.ap-minicart-inner { flex: 1; display: flex; flex-direction: column; overflow-y: auto; padding: 8px 18px 18px; }
.ap-mini-list { flex: 1; }
.ap-mini-item { display: grid; grid-template-columns: 64px 1fr 44px; gap: 12px; align-items: center; padding: 12px 0; border-bottom: var(--hair); }
.ap-mini-thumb img { width: 64px; height: 80px; object-fit: cover; border-radius: var(--r-1); }
.ap-mini-info a { color: var(--ink); font-weight: 600; text-decoration: none; display: block; line-height: 1.3; }
.ap-mini-info small { display: block; color: var(--ink-soft); }
.ap-mini-price { color: var(--ink-soft); font-size: .9rem; }
.ap-mini-remove { width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink-soft); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.ap-mini-remove:hover { background: var(--surface-2); color: var(--danger); }
.ap-mini-total { display: flex; justify-content: space-between; padding: 16px 0 8px; font-size: 1.1rem; }
.ap-mini-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ap-modal { position: fixed; inset: 0; z-index: 110; display: flex; align-items: center; justify-content: center; padding: 16px; background: var(--scrim); opacity: 0; transition: opacity .25s; }
.ap-modal.is-open { opacity: 1; }
.ap-modal__box { position: relative; width: min(960px, 100%); max-height: 90vh; overflow: auto; background: var(--surface); border-radius: var(--r-3); box-shadow: var(--shadow-3); padding: clamp(18px, 3vw, 36px); transform: translateY(12px) scale(.98); transition: transform .3s var(--ease); }
.ap-modal.is-open .ap-modal__box { transform: none; }
.ap-modal__close { position: absolute; top: 10px; right: 10px; z-index: 2; }
.ap-toast { position: fixed; left: 50%; bottom: 88px; transform: translate(-50%, 20px); z-index: 120; background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow-3); font-weight: 500; opacity: 0; transition: opacity .25s, transform .25s var(--ease); max-width: calc(100vw - 32px); text-align: center; }
.ap-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.ap-toast.is-bad { background: var(--danger); color: #fff; }

/* ---------- 8. HERO ---------- */
.ap-hero { position: relative; min-height: calc(100svh - var(--header-h) - var(--topbar-h)); display: flex; flex-direction: column; overflow: hidden; background: radial-gradient(1200px 600px at 80% 10%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 60%), var(--bg); }
.ap-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.ap-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.ap-orb--1 { width: 420px; height: 420px; right: 8%; top: 6%; background: color-mix(in srgb, var(--gold) 38%, transparent); animation: ap-float 14s ease-in-out infinite; }
.ap-orb--2 { width: 300px; height: 300px; left: -80px; bottom: 6%; background: color-mix(in srgb, #C98F86 30%, transparent); animation: ap-float 18s ease-in-out infinite reverse; }
@keyframes ap-float { 50% { transform: translate3d(0, -24px, 0); } }
.ap-hero__in { flex: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 80px); align-items: center; padding-block: clamp(32px, 6vw, 80px); position: relative; }
.ap-hero__title { font-size: clamp(2.6rem, 1.2rem + 5.4vw, 5.6rem); line-height: 1.02; margin-bottom: .35em; }
.ap-hero__text { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); color: var(--ink-soft); max-width: 48ch; margin-bottom: 1.6em; }
.ap-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ap-hero__art { position: relative; justify-self: center; width: min(460px, 100%); will-change: transform; }
.ap-hero__frame { position: relative; aspect-ratio: 4 / 5; border-radius: 240px 240px var(--r-3) var(--r-3); background: linear-gradient(160deg, var(--surface), var(--surface-2)); border: 1px solid var(--line); box-shadow: var(--shadow-3); display: grid; place-items: center; overflow: hidden; }
.ap-hero__frame::before { content: ""; position: absolute; inset: 10px; border: 1px solid color-mix(in srgb, var(--gold) 70%, transparent); border-radius: 232px 232px 12px 12px; pointer-events: none; }
.ap-hero__img { width: 100%; height: 100%; object-fit: cover; }
.ap-hero__bottles { display: flex; align-items: flex-end; justify-content: center; gap: 0; width: 100%; padding: 12% 4% 8%; }
.ap-hb .ap-bottle { height: auto; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .18)); }
.ap-hb--l { width: 30%; margin-right: -4%; transform: translateY(6%) rotate(-5deg); }
.ap-hb--c { width: 44%; z-index: 2; animation: ap-bob 6s ease-in-out infinite; }
.ap-hb--r { width: 30%; margin-left: -4%; transform: translateY(6%) rotate(5deg); }
@keyframes ap-bob { 50% { transform: translateY(-8px); } }
.ap-seal { position: absolute; right: -14px; bottom: 8%; width: 120px; height: 120px; color: var(--gold-ink); background: var(--surface); border-radius: 50%; box-shadow: var(--shadow-2); }
.ap-seal svg { width: 100%; height: 100%; }
.ap-seal__ring { fill: none; stroke: var(--gold); stroke-width: 1; }
.ap-seal__ring--in { stroke-dasharray: 2 3; }
.ap-seal text { font: 600 9.5px var(--font-body); letter-spacing: .18em; fill: currentColor; }
.ap-seal__spin { transform-origin: 60px 60px; animation: ap-spin 24s linear infinite; }
.ap-seal__mark { color: var(--gold); }
@keyframes ap-spin { to { transform: rotate(360deg); } }

/* ---------- 9. TRUST, MARQUEE ---------- */
.ap-trust { position: relative; border-top: var(--hair); background: color-mix(in srgb, var(--surface) 86%, transparent); }
.ap-trust__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 24px; padding-block: 20px; }
.ap-trust__list li { display: flex; align-items: center; gap: 14px; }
.ap-trust__ic { display: inline-flex; width: 46px; height: 46px; border-radius: 50%; align-items: center; justify-content: center; border: 1px solid var(--gold); color: var(--gold-ink); flex: none; }
.ap-trust__list strong { display: block; line-height: 1.25; }
.ap-trust__list small { color: var(--ink-soft); }
.ap-trust__stats { display: flex; justify-content: center; gap: clamp(20px, 6vw, 80px); padding-block: 14px 20px; border-top: var(--hair); flex-wrap: wrap; }
.ap-trust__stats li { display: flex; align-items: baseline; gap: 10px; }
.ap-trust__stats strong { font-family: var(--font-head); font-size: 2.2rem; color: var(--gold-ink); line-height: 1; }
.ap-trust__stats span:last-child { color: var(--ink-soft); font-size: .9rem; }
.ap-marquee { overflow: hidden; border-block: var(--hair); background: var(--bg); padding-block: 18px; }
.ap-marquee__track { display: flex; width: max-content; animation: ap-marquee 40s linear infinite; }
.ap-marquee:hover .ap-marquee__track { animation-play-state: paused; }
.ap-marquee__row { display: flex; align-items: center; }
.ap-marquee__row li { font-family: var(--font-head); font-size: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); font-style: italic; white-space: nowrap; padding-inline: clamp(24px, 4vw, 56px); color: var(--ink); position: relative; }
.ap-marquee__row li::after { content: "✦"; position: absolute; right: -6px; color: var(--gold); font-style: normal; font-size: .6em; top: 50%; transform: translateY(-50%); }
@keyframes ap-marquee { to { transform: translateX(-50%); } }

/* ---------- 10. CATEGORY CARDS ---------- */
.ap-catgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); }
.ap-catcard { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(360px, 42vw, 520px); padding: 28px; border-radius: var(--r-3); overflow: hidden; text-decoration: none; color: var(--ink); border: var(--hair); isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s; }
.ap-catcard::before { content: ""; position: absolute; inset: 0; z-index: -2; }
.ap-catcard--rose::before { background: linear-gradient(160deg, #F4D9D2, #E9B9AE); }
.ap-catcard--noir::before { background: linear-gradient(160deg, #3A3A44, #16161A); }
.ap-catcard--gold::before { background: linear-gradient(160deg, #F2E3BE, #D8B672); }
.ap-catcard--noir, .ap-catcard--noir .ap-link-arrow { color: #F2F0EB; }
.ap-catcard--rose, .ap-catcard--gold { color: #16161A; }
.ap-catcard--rose .ap-link-arrow, .ap-catcard--gold .ap-link-arrow { color: #16161A; border-color: #16161A; }
.ap-catcard--noir .ap-link-arrow { border-color: #D8B672; }
.ap-catcard::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255, 255, 255, .45); border-radius: calc(var(--r-3) - 8px); z-index: -1; pointer-events: none; }
.ap-catcard__art { position: absolute; right: 8%; top: 8%; width: 52%; transition: transform .7s var(--ease); z-index: -1; }
.ap-catcard__art .ap-bottle { width: 100%; height: auto; filter: drop-shadow(0 20px 24px rgba(0, 0, 0, .25)); }
.ap-catcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); }
.ap-catcard:hover .ap-catcard__art { transform: scale(1.06) rotate(3deg); }
.ap-catcard__txt { display: grid; gap: 6px; }
.ap-catcard__txt strong { font-family: var(--font-head); font-size: 2rem; line-height: 1.1; }
.ap-catcard__txt small { font-size: .95rem; opacity: .85; }
.ap-catcard .ap-link-arrow { margin-top: 10px; width: fit-content; }

/* ---------- 11. PLACEHOLDER BOTTLE, FRAMES ---------- */
.ap-ph { display: grid; place-items: center; width: 100%; height: 100%; background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--gold) 16%, var(--surface)), var(--surface-2)); }
.ap-ph .ap-bottle { width: 58%; height: auto; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .16)); transition: transform .6s var(--ease); }
.ap-ph--wide { aspect-ratio: 16 / 10; }
.ap-ph--wide .ap-bottle { width: 28%; }
.ap-ph--sq { aspect-ratio: 1; border-radius: var(--r-2); }
.ap-ph--lg .ap-bottle { width: 54%; }
.ap-frame { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-2); background: var(--surface-2); border: var(--hair); }
.ap-frame::after { content: ""; position: absolute; inset: 7px; border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); border-radius: calc(var(--r-2) - 5px); pointer-events: none; }
.ap-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ap-frame--dark { background: #16161A; }

/* ---------- 12. CARDS: POST ---------- */
.ap-card-post { display: flex; flex-direction: column; background: var(--surface); border: var(--hair); border-radius: var(--r-2); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.ap-card-post:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.ap-card-post__media { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-2); }
.ap-card-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ap-card-post:hover .ap-card-post__media img { transform: scale(1.05); }
.ap-card-post:hover .ap-ph .ap-bottle { transform: scale(1.06) rotate(-2deg); }
.ap-card-post__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.ap-card-post__title { font-size: 1.5rem; margin-bottom: .4em; }
.ap-card-post__title a { color: var(--ink); text-decoration: none; }
.ap-card-post__title a:hover { color: var(--gold-ink); }
.ap-card-post__excerpt { color: var(--ink-soft); font-size: .95rem; }
.ap-card-post .ap-link-arrow { margin-top: auto; width: fit-content; }
.ap-featured { margin-bottom: clamp(16px, 2.4vw, 32px); }
.ap-card-post--featured { display: grid; grid-template-columns: 1.15fr 1fr; }
.ap-card-post--featured .ap-card-post__media { aspect-ratio: auto; min-height: 340px; }
.ap-card-post--featured .ap-card-post__body { justify-content: center; padding: clamp(24px, 4vw, 52px); }
.ap-card-post--featured .ap-card-post__title { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem); }

/* ---------- 13. TABS ---------- */
.ap-tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 999px; border: var(--hair); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.ap-tabs [role="tab"] { min-height: 44px; padding: 0 20px; border: 0; background: transparent; border-radius: 999px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; transition: background .2s, color .2s; }
.ap-tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--bg); }
.ap-tabs--line { background: transparent; border: 0; border-bottom: var(--hair); border-radius: 0; padding: 0; gap: 20px; display: flex; }
.ap-tabs--line [role="tab"] { border-radius: 0; padding: 0 2px; position: relative; }
.ap-tabs--line [role="tab"][aria-selected="true"] { background: transparent; color: var(--ink); box-shadow: inset 0 -2px 0 var(--gold); }
.ap-tabs--seg { display: flex; width: 100%; }
.ap-tabs--seg [role="tab"] { flex: 1; }
.ap-tabpanel { padding-top: 28px; }

/* ---------- 14. QUIZ ---------- */
.ap-quiz { background: radial-gradient(900px 400px at 10% 0, color-mix(in srgb, var(--gold) 14%, transparent), transparent 70%), var(--bg); }
.ap-quiz__card { max-width: 860px; margin-inline: auto; background: var(--surface); border: var(--hair); border-radius: var(--r-3); box-shadow: var(--shadow-2); padding: clamp(20px, 4vw, 48px); }
.ap-quiz__progress { height: 4px; background: var(--surface-2); border-radius: 4px; overflow: hidden; margin-bottom: 28px; }
.ap-quiz__progress span { display: block; height: 100%; width: 25%; background: var(--gold); transform-origin: left; transition: width .4s var(--ease); }
.ap-quiz__step { border: 0; padding: 0; margin: 0; min-width: 0; }
.ap-quiz__step legend { font-family: var(--font-head); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 600; margin-bottom: 20px; padding: 0; }
.ap-quiz__opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ap-opt { min-height: 64px; padding: 14px 20px; text-align: left; border: 1px solid var(--line); background: var(--bg); border-radius: var(--r-2); font-weight: 500; transition: all .2s var(--ease); }
.ap-opt:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.ap-opt[aria-pressed="true"] { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 14%, var(--surface)); box-shadow: inset 0 0 0 1px var(--gold); }
.ap-quiz__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.ap-quiz__result .ap-h3 { text-align: center; }
.ap-quiz__empty { text-align: center; color: var(--ink-soft); }
.ap-qcard { display: block; text-decoration: none; color: var(--ink); border: var(--hair); border-radius: var(--r-2); overflow: hidden; background: var(--bg); transition: transform .3s var(--ease), box-shadow .3s; }
.ap-qcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.ap-qcard .ap-frame { border-radius: 0; border: 0; aspect-ratio: 1; }
.ap-qcard div { padding: 12px 14px 16px; }
.ap-qcard strong { display: block; line-height: 1.3; }
.ap-qcard span { color: var(--ink-soft); font-size: .9rem; }

/* ---------- 15. PYRAMID, STORY, STEPS, REVIEWS, GALLERY ---------- */
.ap-pyramid { display: grid; gap: 14px; }
.ap-pyramid__layer { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; padding: 16px 18px; background: var(--surface); border: var(--hair); border-radius: var(--r-2); }
.ap-pyramid__shape { height: 72px; background: linear-gradient(160deg, var(--gold), var(--gold-600)); }
.ap-pyramid__layer--top .ap-pyramid__shape { clip-path: polygon(50% 0, 72% 100%, 28% 100%); }
.ap-pyramid__layer--heart .ap-pyramid__shape { clip-path: polygon(30% 0, 70% 0, 86% 100%, 14% 100%); opacity: .8; }
.ap-pyramid__layer--base .ap-pyramid__shape { clip-path: polygon(16% 0, 84% 0, 100% 100%, 0 100%); opacity: .6; }
.ap-pyramid h3 { font-size: 1.35rem; margin-bottom: 4px; }
.ap-pyramid h3 small { display: block; font-family: var(--font-body); font-size: .8rem; font-weight: 400; color: var(--ink-soft); }
.ap-pyramid ul { display: flex; flex-wrap: wrap; gap: 6px; }
.ap-pyramid li { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; background: var(--bg); }
.ap-story { background: var(--accent-deep); color: var(--on-deep); overflow: hidden; }
.ap-story h2, .ap-story p { color: var(--on-deep); }
.ap-story h2 em { color: var(--gold); }
.ap-story p { opacity: .88; }
.ap-story .ap-frame { max-width: 380px; margin-inline: auto; background: #101014; border-color: #2B2B31; }
.ap-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.ap-step { position: relative; padding: 24px 18px; background: var(--surface); border: var(--hair); border-radius: var(--r-2); text-align: center; }
.ap-step__n { position: absolute; top: 10px; left: 14px; font-family: var(--font-head); font-size: 1.1rem; color: var(--gold-ink); font-style: italic; }
.ap-step__ic { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 50%; background: color-mix(in srgb, var(--gold) 16%, var(--surface)); color: var(--gold-ink); margin-bottom: 12px; }
.ap-step h3 { font-size: 1.25rem; }
.ap-step p { color: var(--ink-soft); font-size: .92rem; margin: 0; }
.ap-review { margin: 0; padding: 28px; background: var(--surface); border: var(--hair); border-radius: var(--r-2); display: flex; flex-direction: column; gap: 14px; }
.ap-stars { display: flex; gap: 2px; color: var(--gold-ink); }
.ap-stars .ap-i { fill: currentColor; }
.ap-review blockquote { margin: 0; font-family: var(--font-head); font-size: 1.35rem; line-height: 1.4; font-style: italic; }
.ap-review figcaption { margin-top: auto; color: var(--ink-soft); font-size: .9rem; }
.ap-gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.ap-gallery .ap-ph { overflow: hidden; border: var(--hair); transition: transform .5s var(--ease); }
.ap-gallery li:hover .ap-ph { transform: scale(1.03) rotate(-1deg); }

/* ---------- 16. FAQ ---------- */
.ap-faq { display: grid; gap: 10px; }
.ap-faq__item { background: var(--surface); border: var(--hair); border-radius: var(--r-2); overflow: hidden; }
.ap-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 22px; font-weight: 600; cursor: pointer; list-style: none; }
.ap-faq__item summary::-webkit-details-marker { display: none; }
.ap-faq__plus { transition: transform .3s var(--ease); color: var(--gold-ink); }
.ap-faq__item[open] .ap-faq__plus { transform: rotate(45deg); }
.ap-faq__a { padding: 0 22px 20px; color: var(--ink-soft); }
.ap-faq__a p { margin: 0; }

/* ---------- 17. NEWSLETTER, CTA ---------- */
.ap-newsletter__box { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(24px, 5vw, 56px); border-radius: var(--r-3); background: var(--surface); border: var(--hair); box-shadow: var(--shadow-2); }
.ap-cta__box { text-align: center; padding: clamp(36px, 7vw, 88px) clamp(20px, 4vw, 48px); border-radius: var(--r-3); background: radial-gradient(700px 300px at 50% 0, color-mix(in srgb, var(--gold) 28%, transparent), transparent 70%), var(--accent-deep); color: var(--on-deep); position: relative; overflow: hidden; }
.ap-cta__box h2, .ap-cta__box p { color: var(--on-deep); }
.ap-cta__box h2 em { color: var(--gold); }
.ap-cta__box p { max-width: 52ch; margin-inline: auto; opacity: .88; }
.ap-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

/* ---------- 18. FORMS ---------- */
.ap-form { display: grid; gap: 16px; }
.ap-form--card { padding: clamp(20px, 3vw, 36px); background: var(--surface); border: var(--hair); border-radius: var(--r-3); box-shadow: var(--shadow-1); }
.ap-form--inline { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ap-form--inline input { flex: 1 1 220px; }
.ap-form__msg { flex-basis: 100%; margin: 0; font-size: .9rem; min-height: 1.4em; }
.ap-form__msg.is-ok { color: var(--ok); }
.ap-form__msg.is-bad { color: var(--danger); }
.ap-field { display: grid; gap: 6px; min-width: 0; }
.ap-field label { font-weight: 600; font-size: .9rem; }
.ap-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ap-field__err { color: var(--danger); font-size: .85rem; min-height: 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], input[type="number"], input[type="url"], select, textarea, .input-text {
	width: 100%; min-height: 48px; padding: 10px 16px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-1); font-size: 1rem; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
textarea { min-height: 120px; resize: vertical; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 35%, transparent); }
input.is-invalid, select.is-invalid, textarea.is-invalid { border-color: var(--danger); }
input.is-valid { border-color: var(--ok); }
::placeholder { color: var(--ink-soft); opacity: .8; }
.ap-check { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.ap-check input { width: 22px; height: 22px; min-height: 0; accent-color: var(--gold); flex: none; padding: 0; }
.ap-pw { position: relative; display: block; }
.ap-pw input { padding-right: 52px; }
.ap-pw__toggle { position: absolute; right: 4px; top: 2px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink-soft); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.ap-searchform { display: flex; gap: 8px; max-width: 560px; }
.ap-searchform input { flex: 1; }
.ap-searchbox { margin-top: 18px; }
.ap-row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ap-or { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: .85rem; margin: 14px 0; }
.ap-or::before, .ap-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ap-google { margin-bottom: 4px; }
.ap-google__btn { display: flex; justify-content: center; min-height: 44px; }

/* ---------- 19. BREADCRUMB, PAGINATION, EMPTY ---------- */
.ap-breadcrumb { font-size: .85rem; margin-bottom: 16px; }
.ap-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; }
.ap-breadcrumb li { display: inline-flex; align-items: center; }
.ap-breadcrumb li:not(:last-child)::after { content: "/"; margin-inline: 10px; color: var(--line); }
.ap-breadcrumb a { color: var(--ink-soft); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.ap-breadcrumb a:hover { color: var(--gold-ink); }
.ap-breadcrumb [aria-current] { color: var(--ink); }
.ap-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: clamp(28px, 4vw, 48px); }
.ap-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: var(--hair); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; }
.ap-pagination .page-numbers.current, .ap-pagination .page-numbers:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ap-pagination .dots { border: 0; background: transparent; }
.ap-empty { text-align: center; padding: clamp(32px, 6vw, 72px) 20px; border: 1px dashed var(--line); border-radius: var(--r-3); color: var(--ink-soft); display: grid; gap: 14px; justify-items: center; }
.ap-empty--wide { grid-column: 1 / -1; }
.ap-empty__art .ap-bottle { width: 90px; height: auto; opacity: .85; }

/* ---------- 20. ARTICLE ---------- */
.ap-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; background: transparent; }
.ap-progress span { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.ap-article__head { padding-top: clamp(24px, 4vw, 48px); text-align: left; }
.ap-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--ink-soft); font-size: .92rem; }
.ap-byline__who { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; text-decoration: none; min-height: 44px; }
.ap-byline__who img { border-radius: 50%; }
.ap-article__cover { margin: 0 auto clamp(24px, 4vw, 48px); max-width: calc(1100px + var(--gutter) * 2); }
.ap-article__cover img { width: 100%; height: auto; border-radius: var(--r-3); aspect-ratio: 16 / 9; object-fit: cover; }
.ap-article__cover figcaption { color: var(--ink-soft); font-size: .85rem; margin-top: 8px; text-align: center; }
.ap-prose { font-size: 1.075rem; line-height: 1.85; }
.ap-prose > * + * { margin-top: 1.25em; }
.ap-prose h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); margin-top: 1.8em; }
.ap-prose h3 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); margin-top: 1.5em; }
.ap-prose img { border-radius: var(--r-2); }
.ap-prose blockquote { margin-inline: 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--gold); font-family: var(--font-head); font-size: 1.5rem; font-style: italic; line-height: 1.4; }
.ap-prose ul, .ap-prose ol { padding-left: 1.4em; }
.ap-prose ul { list-style: disc; }
.ap-prose ol { list-style: decimal; }
.ap-prose li { margin-bottom: .4em; }
.ap-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.ap-prose th, .ap-prose td { padding: 10px 12px; border: var(--hair); text-align: left; }
.ap-prose th { background: var(--surface-2); }
.ap-prose .wp-block-table, .ap-prose figure.wp-block-table { overflow-x: auto; }
.ap-prose > p:first-of-type::first-letter { font-family: var(--font-head); font-size: 3.6em; float: left; line-height: .85; padding: .06em .1em 0 0; color: var(--gold-ink); font-weight: 600; }
.ap-page .ap-prose > p:first-of-type::first-letter { all: unset; }
.ap-toc { margin: 0 0 32px; background: var(--surface); border: var(--hair); border-radius: var(--r-2); }
.ap-toc__head { width: 100%; display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 18px; border: 0; background: transparent; font-weight: 600; }
.ap-toc__head > span { display: inline-flex; align-items: center; gap: 10px; }
.ap-toc__head[aria-expanded="false"] > svg:last-child { transform: rotate(-90deg); }
.ap-toc__list { padding: 0 18px 16px 38px; list-style: decimal; }
.ap-toc__list[hidden] { display: none; }
.ap-toc__list li { padding: 3px 0; }
.ap-toc__list .ap-toc__l3 { margin-left: 18px; list-style: circle; }
.ap-toc__list a { color: var(--ink); text-decoration: none; }
.ap-toc__list a:hover, .ap-toc__list a.is-active { color: var(--gold-ink); }
.ap-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 32px; padding-top: 20px; border-top: var(--hair); }
.ap-share__label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-right: 4px; }
.ap-share__btn { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; border: var(--hair); background: var(--surface); color: var(--ink); text-decoration: none; transition: all .2s; }
.ap-share__btn:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }
.ap-article__tags { margin-top: 24px; }
.ap-article__products { margin-block: clamp(32px, 5vw, 64px); }
.ap-authorbox { display: grid; grid-template-columns: 96px 1fr; gap: 24px; padding: 28px; margin-top: 48px; background: var(--surface); border: var(--hair); border-radius: var(--r-3); }
.ap-authorbox__avatar img { border-radius: 50%; width: 96px; height: 96px; }
.ap-authorbox__name { font-size: 1.6rem; margin-bottom: .2em; }
.ap-authorbox__name a { color: var(--ink); text-decoration: none; }
.ap-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.ap-postnav__item { display: block; padding: 18px 22px; border: var(--hair); border-radius: var(--r-2); text-decoration: none; color: var(--ink); background: var(--surface); transition: all .25s var(--ease); }
.ap-postnav__item:hover { border-color: var(--gold); transform: translateY(-3px); }
.ap-postnav__item small { display: flex; align-items: center; gap: 4px; color: var(--ink-soft); }
.ap-postnav__item span { font-family: var(--font-head); font-size: 1.25rem; line-height: 1.25; }
.ap-postnav__item--next { text-align: right; grid-column: 2; }
.ap-postnav__item--next small { justify-content: flex-end; }
.ap-related { margin-top: clamp(40px, 6vw, 80px); }
.ap-related-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; }
.ap-related-tags .ap-chips { margin-top: 0; }

/* Blog layout */
.ap-blog { padding-bottom: clamp(40px, 6vw, 80px); }
.ap-blog--side { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 4vw, 56px); }
.ap-sidebar { display: grid; gap: 24px; align-content: start; }
.ap-widget { padding: 22px; background: var(--surface); border: var(--hair); border-radius: var(--r-2); }
.ap-widget__title { font-size: 1.35rem; }
.ap-widget ul li { padding: 6px 0; }
.ap-widget a { color: var(--ink); text-decoration: none; }
.ap-widget a:hover { color: var(--gold-ink); }
.ap-popular { list-style: decimal; padding-left: 1.2em; }
.ap-popular small { display: block; color: var(--ink-soft); }
.ap-profile { display: flex; gap: 28px; align-items: center; }
.ap-profile__avatar img { border-radius: 50%; width: 128px; height: 128px; border: 3px solid var(--gold); padding: 3px; }

/* Comments */
.ap-comments { margin-top: clamp(40px, 6vw, 72px); }
.ap-comments__list, .ap-comments__list .children { display: grid; gap: 16px; }
.ap-comments__list .children { margin-top: 16px; padding-left: clamp(16px, 4vw, 48px); border-left: 2px solid var(--line); }
.ap-comment__body { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 18px; background: var(--surface); border: var(--hair); border-radius: var(--r-2); }
.ap-comment__avatar img { border-radius: 50%; }
.ap-comment__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: .85rem; color: var(--ink-soft); }
.ap-comment__author { color: var(--ink); font-size: 1rem; }
.ap-comment__meta a { color: var(--ink-soft); text-decoration: none; }
.ap-comment__await { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--r-1); background: color-mix(in srgb, var(--gold) 14%, var(--surface)); font-size: .9rem; margin: 8px 0; }
.ap-comment__text p:last-child { margin-bottom: 0; }
.ap-comment__actions { display: flex; gap: 16px; margin-top: 8px; font-size: .9rem; }
.ap-comment__actions a { color: var(--gold-ink); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.comment-respond { margin-top: 32px; padding: clamp(20px, 3vw, 32px); background: var(--surface); border: var(--hair); border-radius: var(--r-3); }
.comment-reply-title { font-family: var(--font-head); font-size: 1.8rem; font-weight: 600; margin-bottom: .6em; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.comment-reply-title small a { font-size: .9rem; font-family: var(--font-body); }
.comment-form { display: grid; gap: 14px; }
.comment-form > p { margin: 0; }
.nav-links { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }

/* ---------- 21. FOOTER, MOBILE BAR, MISC ---------- */
.ap-footer { background: var(--accent-deep); color: var(--on-deep); padding-top: clamp(48px, 7vw, 88px); margin-top: clamp(32px, 5vw, 72px); position: relative; z-index: 1; }
.ap-footer a { color: var(--on-deep); text-decoration: none; opacity: .88; }
.ap-footer a:hover { color: var(--gold); opacity: 1; }
.ap-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: clamp(24px, 4vw, 56px); padding-bottom: 48px; }
.ap-footer__title { font-family: var(--font-head); font-size: 1.4rem; color: var(--gold); margin-bottom: .8em; }
.ap-footer li { padding: 3px 0; }
.ap-footer li a { display: inline-flex; align-items: center; min-height: 36px; }
.ap-footer .ap-logo { color: var(--on-deep); margin-bottom: 14px; }
.ap-footer .ap-logo__word em { color: var(--gold); }
.ap-footer__about p { opacity: .8; max-width: 38ch; }
.ap-social { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.ap-social a { width: 44px; height: 44px; border: 1px solid rgba(242, 240, 235, .3); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.ap-contact p { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.ap-contact .ap-i { margin-top: 5px; color: var(--gold); }
.ap-contact--card { padding: 24px; background: var(--surface); border: var(--hair); border-radius: var(--r-2); margin-bottom: 24px; }
.ap-contact--card strong { display: block; }
.ap-contact--card .ap-i { color: var(--gold-ink); }
.ap-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid rgba(242, 240, 235, .14); font-size: .85rem; opacity: .85; }
.ap-footer__bottom p { margin: 0; }
.ap-footer__pay { display: flex; gap: 8px 18px; flex-wrap: wrap; }
.ap-footer__pay span { display: inline-flex; align-items: center; gap: 6px; }
.ap-mbar { display: none; }
.ap-totop { position: fixed; right: 16px; bottom: 16px; width: 48px; height: 48px; border-radius: 50%; border: var(--hair); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-2); z-index: 40; display: inline-flex; align-items: center; justify-content: center; }
.ap-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; padding-bottom: 32px; }
.ap-mapwrap { padding-bottom: clamp(40px, 6vw, 80px); }
.ap-map { width: 100%; height: 420px; border: 0; border-radius: var(--r-3); background: var(--surface-2); }
.ap-map--empty { display: grid; place-items: center; text-align: center; color: var(--ink-soft); padding: 24px; border: 1px dashed var(--line); gap: 8px; }
.ap-404 { padding-block: clamp(40px, 8vw, 112px); text-align: center; }
.ap-404__art { position: relative; display: grid; place-items: center; margin-bottom: 8px; }
.ap-404__num { font-family: var(--font-head); font-style: italic; font-size: clamp(7rem, 4rem + 18vw, 16rem); line-height: .9; color: color-mix(in srgb, var(--gold) 30%, transparent); }
.ap-404__bottle { position: absolute; width: clamp(80px, 14vw, 150px); animation: ap-bob 5s ease-in-out infinite; }
.ap-404__bottle .ap-bottle { width: 100%; height: auto; }
.ap-404__btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.ap-404 .ap-searchform { margin-inline: auto; }
.ap-404 .ap-lead { margin-inline: auto; }
.ap-comparebar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 45; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 20px; background: var(--ink); color: var(--bg); border-radius: 999px; box-shadow: var(--shadow-3); white-space: nowrap; }
.ap-comparebar .ap-btn--ghost { color: var(--bg); border-color: var(--bg); }
.ap-comparebar .ap-btn--ghost:hover { background: var(--bg); color: var(--ink); }
.ap-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.ap-pattern { padding: clamp(28px, 5vw, 56px); border-radius: var(--r-3); background: var(--surface); border: var(--hair); margin-block: 24px; }
.ap-pattern--dark { background: var(--accent-deep); color: var(--on-deep); }
.ap-pattern--dark h2 { color: var(--on-deep); }

/* ---------- 22. REVEAL & MOTION ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
@view-transition { navigation: auto; }

/* ---------- 23. RESPONSIVE ---------- */
@media (max-width: 1380px) { :root { --container: 1180px; } }
@media (max-width: 1180px) {
	.ap-menu__item > a { padding: 0 10px; font-size: .9rem; }
	.ap-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ap-steps { grid-template-columns: repeat(3, 1fr); }
	.ap-gallery { grid-template-columns: repeat(3, 1fr); }
	.ap-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
	:root { --header-h: 64px; }
	.ap-burger { display: inline-flex; }
	.ap-nav { display: none; }
	.ap-logo { margin-inline: auto 0; }
	.ap-header__in { gap: 4px; }
	.ap-hide-sm { display: none; }
	.ap-hero__in, .ap-split, .ap-newsletter__box, .ap-contact-grid, .ap-card-post--featured { grid-template-columns: 1fr; }
	.ap-split--rev .ap-split__copy { order: 0; }
	.ap-hero__art { width: min(340px, 78%); order: -1; }
	.ap-hero { min-height: 0; }
	.ap-trust__list { grid-template-columns: 1fr 1fr; }
	.ap-grid--3, .ap-catgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ap-blog--side { grid-template-columns: 1fr; }
	.ap-search__results { grid-template-columns: 1fr; }
	.ap-card-post--featured .ap-card-post__media { min-height: 240px; }
	.ap-catcard { min-height: 340px; }
}
@media (max-width: 640px) {
	body { padding-bottom: 64px; }
	.ap-topbar__msg { font-size: .75rem; }
	.ap-topbar__tel span { display: none; }
	.ap-grid--3, .ap-grid--4, .ap-catgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.ap-catgrid { grid-template-columns: 1fr; }
	.ap-grid--3.ap-posts { grid-template-columns: 1fr; }
	.ap-quiz__opts, .ap-field-row, .ap-postnav { grid-template-columns: 1fr; }
	.ap-postnav__item--next { grid-column: auto; }
	.ap-steps { grid-template-columns: 1fr; }
	.ap-gallery { grid-template-columns: repeat(2, 1fr); }
	.ap-footer__grid { grid-template-columns: 1fr; }
	.ap-authorbox, .ap-profile { grid-template-columns: 1fr; flex-direction: column; text-align: center; }
	.ap-authorbox__avatar img { margin-inline: auto; }
	.ap-trust__list { grid-template-columns: 1fr; }
	.ap-mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: repeat(5, 1fr); background: color-mix(in srgb, var(--surface) 92%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: var(--hair); padding-bottom: env(safe-area-inset-bottom); }
	.ap-mbar a, .ap-mbar button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; border: 0; background: transparent; color: var(--ink-soft); text-decoration: none; font-size: .7rem; }
	.ap-mbar [aria-current="page"] { color: var(--gold-ink); }
	.ap-mbar .ap-badge { top: 4px; right: calc(50% - 22px); }
	.ap-totop { bottom: 76px; }
	.ap-toast { bottom: 140px; }
	.ap-comparebar { bottom: 72px; max-width: calc(100vw - 24px); }
	.ap-hero__cta .ap-btn { flex: 1 1 100%; }
	.ap-pyramid__layer { grid-template-columns: 64px 1fr; }
	.ap-mini-actions { grid-template-columns: 1fr; }
	.ap-comment__body { grid-template-columns: 1fr; }
}
@media (max-width: 360px) { .ap-grid--3, .ap-grid--4 { grid-template-columns: 1fr; } .ap-logo__word { font-size: 1.5rem; } }

/* ---------- 24. ACCESSIBILITY MEDIA ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.ap-marquee__track { animation: none; flex-wrap: wrap; width: auto; }
}
@media (prefers-contrast: more) {
	:root { --line: #6b6b72; --ink-soft: #3a3a40; }
	:root[data-theme="dark"] { --line: #8a8a92; --ink-soft: #d0cec8; }
	.ap-btn--ghost, .ap-chip, .ap-card-post, .ap-faq__item { border-width: 2px; }
}
@media print { .ap-topbar, .ap-header, .ap-footer, .ap-mbar, .ap-share, .ap-comments, .ap-drawer { display: none !important; } body { background: #fff; color: #000; } }
