/*
 * Smaržu bode. Dizains: design/DESIGN.md (apstiprināts).
 * Aizliegts: box-shadow, letter-spacing, text-transform uppercase, gradienti.
 * Krāsas un fonti tikai caur :root mainīgajiem.
 */

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--c-ink: #000000;
	--c-bg: #ffffff;
	--c-well: #f2f2ef;
	--c-line: #e2e2e2;
	--c-line-2: #dcdcd8;
	--c-input: #cfcfcf;
	--c-text-2: #3a3a3a;
	--c-muted: #5e5e5e;
	--c-on-dark-2: #d6d6d6;
	--c-on-accent-2: #f3e6d8;
	--c-accent: #8c5216;
	--c-accent-line: #d9c3ac;
	--c-sale: #c8102e;
	--c-ok: #1f7a3a;

	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--fs-body: 15px;
	--fs-sm: 14px;
	--fs-xs: 13px;
	--fs-h1-home: 52px;
	--fs-h1-archive: 44px;
	--fs-h1-product: 40px;
	--fs-h2: 28px;
	--fs-h2-product: 26px;

	--r-block: 6px;
	--r-btn: 4px;
	--r-pill: 999px;

	--container: 1320px;
	--gutter: 24px;
	--section: 64px;
	--section-product: 72px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
/* Audekls melns kā footer un augšējā josla: iPhone, ritinot pāri malai, nerāda baltu laukumu */
html { -webkit-text-size-adjust: 100%; overflow-x: clip; background: var(--c-ink); }
body { overflow-x: clip; max-width: 100%; }
@supports not (overflow-x: clip) { html, body { overflow-x: hidden; } }
body { margin: 0; font-family: var(--font); font-size: var(--fs-body); line-height: 1.5; color: var(--c-ink); background: var(--c-bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-ink); text-decoration: none; }
a:hover { color: var(--c-accent); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; }
p { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--c-bg); padding: 8px 16px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Layout */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.site-main { padding-top: 24px; }
.section { padding-top: var(--section); }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.section__head h2, .section__title { font-size: var(--fs-h2); }
.section__title { margin-bottom: 20px; }
.section__more { font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: var(--r-btn); border: 1px solid transparent; font-weight: 600; line-height: 1.2; text-align: center; background: none; }
.btn--primary { background: var(--c-ink); color: var(--c-bg); border-color: var(--c-ink); }
.btn--light { background: var(--c-bg); color: var(--c-ink); }
.btn--outline { background: var(--c-bg); border-color: var(--c-ink); color: var(--c-ink); }
.btn--sample { min-height: 40px; background: var(--c-bg); color: var(--c-accent); border-color: var(--c-accent-line); font-size: var(--fs-sm); }
.btn--disabled { background: var(--c-well); color: var(--c-muted); cursor: default; }
.btn--lg { min-height: 48px; padding: 0 28px; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.btn.is-added, .single_add_to_cart_button.is-added { background: var(--c-ok); border-color: var(--c-ok); color: var(--c-bg); }
/* Ielādes animācija pogā */
.btn.is-loading, .single_add_to_cart_button.is-loading { position: relative; color: transparent !important; cursor: progress; opacity: 1; }
.btn.is-loading > *, .single_add_to_cart_button.is-loading > * { visibility: hidden; }
.btn.is-loading::after, .single_add_to_cart_button.is-loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; border: 2px solid var(--c-bg); border-right-color: transparent; animation: btn-spin 700ms linear infinite; }
.btn--sample.is-loading::after, .btn--outline.is-loading::after { border-color: var(--c-accent); border-right-color: transparent; }
@keyframes btn-spin { to { transform: rotate(360deg); } }
.add-error { margin-top: 8px; font-size: var(--fs-xs); color: var(--c-sale); }
.single_add_to_cart_button { transition: background-color 220ms ease; }

/* Premium hover visām CTA pogām: krāsas "aizpildījums" ieslīd no kreisās, poga nedaudz paceļas.
   Bez ēnām un gradientiem (DESIGN.md), tikai vienkrāsains slānis. */
.btn--primary, .btn--light, .btn--outline, .single_add_to_cart_button, #place_order, .woocommerce a.checkout-button, .mc-quiz-card__cta {
	position: relative; overflow: hidden; isolation: isolate;
	transition: color 320ms ease, border-color 320ms ease, transform 320ms cubic-bezier(.22, 1, .36, 1);
}
.btn--primary::before, .btn--light::before, .btn--outline::before, .single_add_to_cart_button::before, #place_order::before, .woocommerce a.checkout-button::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	transform: scaleX(0); transform-origin: right center;
	transition: transform 520ms cubic-bezier(.22, 1, .36, 1);
}
.btn--primary::before, .single_add_to_cart_button::before, #place_order::before, .woocommerce a.checkout-button::before { background: #2e2a26; }
.btn--light::before { background: var(--c-well); }
.btn--outline::before { background: var(--c-ink); }
.btn--primary:hover, .single_add_to_cart_button:hover, #place_order:hover, .woocommerce a.checkout-button:hover { background: var(--c-ink); color: var(--c-bg); transform: translate3d(0, -2px, 0); }
.btn--light:hover { color: var(--c-ink); transform: translate3d(0, -2px, 0); }
.btn--outline:hover { color: var(--c-bg); border-color: var(--c-ink); background: var(--c-bg); transform: translate3d(0, -2px, 0); }
.btn--primary:hover::before, .btn--light:hover::before, .btn--outline:hover::before, .single_add_to_cart_button:hover::before, #place_order:hover::before, .woocommerce a.checkout-button:hover::before { transform: scaleX(1); transform-origin: left center; }
.btn--primary:active, .btn--light:active, .btn--outline:active, .single_add_to_cart_button:active, #place_order:active { transform: translate3d(0, 0, 0) scale(.98); transition-duration: 120ms; }
.btn--primary > *, .btn--outline > *, .btn--light > * { position: relative; }
.btn.is-loading::before, .btn.is-added::before, .single_add_to_cart_button.is-loading::before { display: none; }
.btn--sample { transition: color 260ms ease, border-color 260ms ease, background-color 260ms ease, transform 320ms cubic-bezier(.22, 1, .36, 1); }
.btn--sample:hover { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-bg); transform: translate3d(0, -2px, 0); }
@media (hover: none) { .btn--primary:hover, .btn--light:hover, .btn--outline:hover, .btn--sample:hover, .single_add_to_cart_button:hover, #place_order:hover { transform: none; } }

/* Badges & chips */
.badge { display: inline-block; background: var(--c-sale); color: var(--c-bg); font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 3px; line-height: 1.4; }
.badge--lg { font-size: var(--fs-xs); padding: 4px 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px; border: 1px solid var(--c-line); border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 500; }
.chip--lg { min-height: 48px; padding: 0 20px; border-color: var(--c-ink); font-size: var(--fs-body); font-weight: 600; gap: 10px; }
.chip--sm { min-height: 34px; padding: 0 14px; font-weight: 400; }
.chip--soft { background: var(--c-well); border-color: var(--c-well); min-height: 34px; padding: 0 14px; }
.chip__count { font-weight: 400; color: var(--c-muted); font-size: var(--fs-sm); }
.chip[aria-current="page"] { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-bg); font-weight: 600; }
.chips--switch { padding: 12px 0 28px; }

/* Topbar */
.topbar { background: var(--c-ink); color: var(--c-bg); font-size: var(--fs-xs); }
.topbar__inner { display: grid; grid-template-columns: 32px 1fr 32px; align-items: center; min-height: 38px; }
.topbar__track { position: relative; height: 22px; overflow: hidden; }
.topbar__msg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; opacity: 0; transform: translate3d(0, 100%, 0); transition: transform 520ms cubic-bezier(.22, 1, .36, 1), opacity 360ms ease; pointer-events: none; }
.topbar__msg.from-prev { transform: translate3d(0, -100%, 0); }
.topbar__msg.is-active { opacity: 1; transform: none; pointer-events: auto; }
.topbar__msg.to-prev { transform: translate3d(0, -100%, 0); }
.topbar__msg.to-next { transform: translate3d(0, 100%, 0); }
.topbar__msg svg { flex: 0 0 auto; color: var(--c-accent-line); }
.topbar__msg a { color: var(--c-bg); text-decoration: underline; text-underline-offset: 3px; }
.topbar__nav { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: var(--c-bg); opacity: .7; transition: opacity 160ms ease, transform 160ms ease; }
.topbar__nav:hover { opacity: 1; }
.topbar__nav svg { transform: rotate(90deg); }
.topbar__nav--next svg { transform: rotate(-90deg); }
.topbar__nav:active { transform: scale(.88); }
.topbar__msg > span, .topbar__msg > a { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 600px) {
	.topbar { font-size: 12px; }
	.topbar__inner { grid-template-columns: 28px 1fr 28px; padding-inline: 4px; }
	.topbar__msg { gap: 6px; padding-inline: 2px; }
	.topbar__msg svg { width: 14px; height: 14px; }
}

/* Header */
.site-header { overflow-anchor: none; border-bottom: 1px solid var(--c-line); background: var(--c-bg); position: sticky; top: 0; z-index: 40; transition: transform 420ms cubic-bezier(.22, 1, .36, 1); }
.site-header.is-hidden { transform: translate3d(0, -100%, 0); }
.site-header.is-stuck .site-header__inner { padding-block: 12px; }
.site-header__inner { transition: padding 300ms ease; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-block: 20px; }
.site-logo { flex: 0 0 auto; display: block; }
.site-logo img { height: 26px; width: auto; }
.site-logo__text { font-size: 22px; font-weight: 700; }
.header-search { flex: 1 1 420px; display: flex; min-width: 0; }
.header-search input[type="search"] { flex: 1; min-width: 0; height: 48px; border: 1px solid var(--c-ink); border-right: 0; padding: 0 16px; border-radius: var(--r-btn) 0 0 var(--r-btn); background: var(--c-bg); }
.header-search input[type="search"]:focus-visible { outline-offset: -2px; }
.header-search button { width: 56px; height: 48px; background: var(--c-ink); color: var(--c-bg); border: 0; border-radius: 0 var(--r-btn) var(--r-btn) 0; display: flex; align-items: center; justify-content: center; }
.header-actions { display: flex; align-items: center; gap: 24px; flex: 0 0 auto; }
.header-actions__link { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.header-actions__link svg { transition: transform 260ms cubic-bezier(.22, 1, .36, 1); }
.header-actions__link:hover svg { transform: translate3d(0, -2px, 0); }
.header-search input[type="search"] { transition: border-color 200ms ease; }
.header-search input[type="search"]::placeholder { color: var(--c-muted); opacity: 1; transition: opacity 220ms ease; }
.header-search input.is-swapping::placeholder { opacity: 0; }
.header-search button { transition: background-color 200ms ease; }
.header-search button:hover { background: #222; }
.header-search button svg { transition: transform 260ms cubic-bezier(.22, 1, .36, 1); }
.header-search button:hover svg { transform: scale(1.12); }
.header-cart__count { background: var(--c-ink); color: var(--c-bg); font-size: 12px; font-weight: 600; min-width: 22px; height: 22px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }

/* AJAX meklēšana */
.header-search { position: relative; }
.header-search.is-loading button svg { animation: btn-spin 700ms linear infinite; }
.header-search.is-open input[type="search"] { border-bottom-left-radius: 0; }
.search-panel { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; background: var(--c-bg); border: 1px solid var(--c-ink); border-radius: var(--r-block); padding: 18px; max-height: min(70vh, 620px); overflow-y: auto; display: flex; flex-direction: column; gap: 12px; animation: mega-in 260ms cubic-bezier(.22, 1, .36, 1); }
.sr-title { font-size: var(--fs-xs); font-weight: 600; color: var(--c-muted); }
.sr-title:not(:first-child) { margin-top: 6px; }
.sr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sr-popular { display: flex; flex-direction: column; margin: -2px -8px 0; }
.sr-popular a { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 4px 8px; border-radius: var(--r-btn); font-size: var(--fs-body); color: var(--c-ink); transition: background-color 160ms ease; }
.sr-popular a:hover, .sr-popular a.is-active { background: var(--c-well); color: var(--c-ink); }
.sr-popular svg { flex: 0 0 auto; color: var(--c-muted); }
.sr-chip { min-height: 38px; padding: 0 14px; border: 1px solid var(--c-line); border-radius: var(--r-pill); background: var(--c-bg); font-size: var(--fs-sm); font-weight: 500; transition: border-color 160ms ease, background-color 160ms ease; }
.sr-chip:hover, .sr-chip.is-active { border-color: var(--c-ink); background: var(--c-well); }
.sr-products { display: flex; flex-direction: column; }
.sr-product { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 8px; margin: 0 -8px; border-radius: var(--r-btn); transition: background-color 160ms ease; }
.sr-product:hover, .sr-product.is-active { background: var(--c-well); color: var(--c-ink); }
.sr-product img { width: 56px; height: 56px; object-fit: contain; background: var(--c-well); border-radius: var(--r-btn); padding: 4px; mix-blend-mode: multiply; }
.sr-product__text { display: flex; flex-direction: column; min-width: 0; }
.sr-product__brand, .sr-product__like { font-size: 12px; color: var(--c-muted); }
.sr-product__name { font-weight: 600; font-size: var(--fs-sm); line-height: 1.3; }
.sr-product__price { font-weight: 700; font-size: var(--fs-sm); text-align: right; display: flex; flex-direction: column; }
.sr-product__price s { font-weight: 400; font-size: 12px; color: var(--c-muted); }
.sr-products mark, .sr-terms mark { background: none; color: inherit; text-decoration: underline; text-decoration-color: var(--c-accent); text-decoration-thickness: 2px; text-underline-offset: 2px; }
.sr-terms { display: flex; flex-wrap: wrap; gap: 8px; }
.sr-term { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border: 1px solid var(--c-line); border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600; }
.sr-term:hover, .sr-term.is-active { border-color: var(--c-ink); color: var(--c-ink); }
.sr-term__type { font-weight: 400; color: var(--c-muted); font-size: 12px; }
.sr-term__count { font-weight: 400; color: var(--c-muted); font-size: 12px; }
.sr-all { align-self: flex-start; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; min-height: 40px; display: inline-flex; align-items: center; }
.sr-all.is-active { color: var(--c-accent); }
.sr-empty { color: var(--c-text-2); font-size: var(--fs-sm); }
@media (max-width: 600px) {
	.search-panel { position: absolute; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); top: calc(100% + 8px); border-radius: 0; border-left: 0; border-right: 0; max-height: calc(100dvh - var(--panel-top, 200px) - 8px); overscroll-behavior: contain; padding: 16px; }
	.sr-product__price { white-space: nowrap; }
	.sr-product { grid-template-columns: 48px 1fr auto; }
	.sr-product img { width: 48px; height: 48px; }
}

/* Main nav + mega menu */
.main-nav { position: relative; }
.main-nav__list { display: flex; gap: 32px; overflow-x: auto; white-space: nowrap; font-weight: 500; scrollbar-width: none; }
.main-nav__list::-webkit-scrollbar { display: none; }
.main-nav__item { position: relative; }
.main-nav__list { padding-top: 10px; }
.main-nav__link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 12px 0 14px; border: 0; background: none; font-weight: 500; min-height: 44px; }
.main-nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right center; transition: transform 380ms cubic-bezier(.22, 1, .36, 1); }
.main-nav__link:hover::after, .main-nav__link:focus-visible::after { transform: scaleX(1); transform-origin: left center; }
.main-nav__link[aria-current="page"]::after, .main-nav__toggle[aria-expanded="true"]::after { transform: scaleX(1); }
.main-nav__link:hover { color: inherit; }
.main-nav__tag { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); font-size: 10px; font-weight: 700; line-height: 1; padding: 3px 6px; border-radius: var(--r-pill); background: var(--c-accent); color: var(--c-bg); white-space: nowrap; animation: tag-float 3.2s ease-in-out infinite; }
.main-nav__item.is-deal .main-nav__tag { background: var(--c-sale); }
@keyframes tag-float { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -2px); } }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--c-sale); flex: 0 0 auto; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--c-sale); animation: live-ping 1.8s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes live-ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
.mega:not([hidden]) { animation: mega-in 320ms cubic-bezier(.22, 1, .36, 1); }
@keyframes mega-in { from { opacity: 0; transform: translate3d(0, -8px, 0); } to { opacity: 1; transform: none; } }
.mega__list li { animation: mc-rise 420ms cubic-bezier(.22, 1, .36, 1) both; }
.mega__list li:nth-child(2) { animation-delay: 30ms; } .mega__list li:nth-child(3) { animation-delay: 60ms; } .mega__list li:nth-child(4) { animation-delay: 90ms; } .mega__list li:nth-child(5) { animation-delay: 120ms; } .mega__list li:nth-child(n+6) { animation-delay: 150ms; }
.mega__list a { transition: border-color 200ms ease, color 200ms ease; }
.mega__list--moods a:hover { border-color: var(--c-ink); color: var(--c-ink); }
.main-nav__toggle svg { transition: transform 300ms cubic-bezier(.22, 1, .36, 1); }
.main-nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.main-nav__item.is-deal .main-nav__link { color: var(--c-sale); font-weight: 600; }
.mega { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100dvh - var(--panel-top, 200px)); overflow-y: auto; overscroll-behavior: contain; background: var(--c-bg); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); padding-block: 28px 32px; }
.mega__title { font-weight: 700; margin-bottom: 16px; }
.mega__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 24px; }
.mega__list a { display: flex; align-items: baseline; gap: 10px; min-height: 40px; padding: 8px 0; }
.mega__name { font-weight: 500; }
.mega__count { margin-left: auto; color: var(--c-muted); font-size: var(--fs-xs); }
.mega__list--moods { gap: 12px; }
.mega__list--moods a { flex-wrap: wrap; border: 1px solid var(--c-line); border-radius: var(--r-block); padding: 14px 16px; }
.mega__list--moods .mega__name { font-weight: 700; font-size: 17px; }
.mega__desc { flex: 1 0 100%; order: 3; font-size: var(--fs-xs); color: var(--c-muted); }
.mega__list--moods .mega__count { color: var(--c-accent); font-weight: 600; }

/* Breadcrumbs */
.breadcrumbs { font-size: var(--fs-xs); color: var(--c-muted); display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs a { color: var(--c-muted); }
.breadcrumbs [aria-current="page"] { color: var(--c-ink); }

/* Product grid & card */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 36px 16px; }
.product-grid--row { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 32px 16px; }
.product-grid > li { display: flex; min-width: 0; }
.card { display: flex; flex-direction: column; gap: 10px; min-width: 0; width: 100%; }
.card__media { position: relative; display: block; background: var(--c-well); border-radius: var(--r-btn); aspect-ratio: 1 / 1; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 10%; }
.card__media .badge { position: absolute; top: 10px; left: 10px; }
.card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.card__volume { font-size: var(--fs-xs); color: var(--c-muted); white-space: nowrap; }
.card__text { display: flex; flex-direction: column; gap: 2px; }
.card__brand, .card__like { font-size: var(--fs-xs); color: var(--c-muted); }
.card__title { font-size: var(--fs-body); font-weight: 600; line-height: 1.3; }
.card__price { display: flex; align-items: baseline; gap: 8px; }
.card__now { font-size: 17px; font-weight: 700; }
.card__old { font-size: var(--fs-xs); color: var(--c-muted); }
.card__actions { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }

/* Home: hero */
.hero { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__deal { flex: 2 1 560px; min-width: 0; background: var(--c-well); border-radius: var(--r-block); display: flex; flex-wrap: wrap; align-items: center; overflow: hidden; }
.hero__deal-text { flex: 1 1 300px; padding: 48px 0 48px 48px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.hero__title { font-size: clamp(34px, 3.6vw, var(--fs-h1-home)); line-height: 1.05; max-width: 13ch; }
.hero__lead { font-size: 17px; color: var(--c-text-2); max-width: 34ch; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.hero__cta { min-height: 52px; padding: 0 32px; font-size: 16px; transition: background-color 200ms ease, transform 200ms ease; }
.hero__note { font-size: var(--fs-sm); color: var(--c-text-2); }
.hero__deal-media { flex: 1 1 280px; display: flex; justify-content: center; padding: 24px; }
.hero__deal-media img { width: 100%; max-width: 400px; mix-blend-mode: multiply; }
.hero__side { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; }
.promo { flex: 1; border-radius: var(--r-block); padding: 36px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; justify-content: flex-end; color: var(--c-bg); }
.promo h2 { font-size: var(--fs-h2); color: var(--c-bg); }
.promo--dark { background: var(--c-ink); }
.promo--dark p { color: var(--c-on-dark-2); }
.promo--accent { background: var(--c-accent); }
.promo--accent p { color: var(--c-on-accent-2); }
.promo__link { color: var(--c-bg); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.promo__link:hover { color: var(--c-bg); }

/* Smaržu josla (kā "uzņēmumi, kas mums uzticas") */
.shelf { padding-top: 48px; }
.shelf__title { text-align: center; color: var(--c-muted); margin-bottom: 20px; }
.shelf__band { border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); margin-inline: calc(-1 * var(--gutter)); }
.shelf__grid { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); display: grid; grid-template-columns: repeat(var(--cells, 5), minmax(0, 1fr)); }
.shelf__cell { position: relative; height: 128px; overflow: hidden; border-right: 1px solid var(--c-line); background: var(--c-bg); }
.shelf__cell:first-child { border-left: 1px solid var(--c-line); }
.shelf__item { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--c-bg); }
.shelf__item img { max-height: 44%; max-width: 68%; width: auto; height: auto; object-fit: contain; filter: brightness(0); opacity: .55; transition: opacity 300ms ease, transform 500ms cubic-bezier(.22, 1, .36, 1); }
.shelf__cell:hover .shelf__item img { opacity: 1; transform: scale(1.05); }
.shelf__item.is-in { animation: shelf-in 750ms cubic-bezier(.22, 1, .36, 1) both; }
.shelf__item.is-out { animation: shelf-out 750ms cubic-bezier(.22, 1, .36, 1) both; }
@keyframes shelf-in { from { transform: translate3d(0, 100%, 0); } to { transform: none; } }
@keyframes shelf-out { from { transform: none; } to { transform: translate3d(0, -100%, 0); } }
@media (max-width: 900px) {
	.shelf__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.shelf__cell:nth-child(n+4) { display: none; }
	.shelf__cell { height: 96px; }
}

/* Home: moods */
.moods { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.mood { border: 1px solid var(--c-line); border-radius: var(--r-block); padding: 22px 20px; display: flex; flex-direction: column; gap: 6px; min-height: 150px; height: 100%; }
.mood:hover { border-color: var(--c-ink); color: var(--c-ink); }
.mood__name { font-size: 24px; font-weight: 700; line-height: 1.1; }
.mood__desc { font-size: var(--fs-sm); color: var(--c-muted); }
.mood__count { margin-top: auto; font-size: var(--fs-xs); font-weight: 600; color: var(--c-accent); }

/* Bildes: noskaņas, grupas, stāsts */
.mood { padding: 0; overflow: hidden; gap: 0; }
.mood__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-well); }
.mood__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms cubic-bezier(.22, 1, .36, 1); }
.mood:hover .mood__media img { transform: scale(1.06); }
.mood__name { padding: 16px 18px 0; }
.mood__desc { padding: 4px 18px 0; }
.mood__count { padding: 12px 18px 18px; }
.groups { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1100px) { .groups { grid-template-columns: repeat(3, minmax(0, 1fr)); } .group-tile { aspect-ratio: 4 / 3; } }
.group-tile { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--r-block); overflow: hidden; background: var(--c-ink); color: var(--c-bg); }
.group-tile img { width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: transform 900ms cubic-bezier(.22, 1, .36, 1), opacity 400ms ease; }
.group-tile:hover img { transform: scale(1.06); opacity: .62; }
.group-tile:hover { color: var(--c-bg); }
.group-tile__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; display: flex; flex-direction: column; gap: 2px; background: rgba(0, 0, 0, .42); }
.group-tile__name { font-size: 19px; font-weight: 700; line-height: 1.15; }
.group-tile__count { font-size: var(--fs-xs); color: var(--c-on-dark-2); }
.story { margin-top: var(--section); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px 72px; align-items: center; }
.story__media { position: relative; padding: 0 0 48px; }
.story__media > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-block); }
.story__inset { position: absolute; right: -24px; bottom: 0; width: 42%; border: 6px solid var(--c-bg); border-radius: var(--r-block); overflow: hidden; background: var(--c-bg); }
.story__inset img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.story__text { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; max-width: 52ch; }
.story__eyebrow { color: var(--c-accent); font-weight: 600; font-size: var(--fs-sm); }
.story__text h2 { font-size: 36px; line-height: 1.1; }
.story__text p:not(.story__eyebrow) { color: var(--c-text-2); font-size: 16px; }
.story__text .btn { margin-top: 8px; }
.promo--media { position: relative; overflow: hidden; }
.promo--media > :not(.promo__media) { position: relative; z-index: 1; max-width: 62%; }
.promo__media { position: absolute; right: -10px; top: 0; bottom: 0; width: 46%; }
.promo__media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; opacity: .55; }
.archive__head--media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 24px 48px; align-items: center; }
.archive__head-text { display: flex; flex-direction: column; gap: 12px; }
.archive__head-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-block); }

@keyframes filters-in { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }

/* Parādīšanās ritinot */
.reveal { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity 700ms ease, transform 800ms cubic-bezier(.22, 1, .36, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Home: brands, SEO */
.brands { margin-top: var(--section); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); padding: 28px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; }
.brands__title { font-size: 18px; font-weight: 600; }
.brands__list { display: flex; flex-wrap: wrap; gap: 12px 36px; font-size: 20px; font-weight: 600; }
.brands__list a { color: var(--c-text-2); }
.seo-text { padding: 56px 0 72px; display: flex; flex-wrap: wrap; gap: 24px 64px; }
.seo-text h2 { font-size: var(--fs-h2); flex: 1 1 280px; line-height: 1.2; }
.seo-text__body { flex: 2 1 480px; display: flex; flex-direction: column; gap: 14px; color: var(--c-text-2); max-width: 72ch; }

/* Archive */
.archive__head { padding: 24px 0 8px; display: flex; flex-direction: column; gap: 12px; }
.archive__head h1 { font-size: var(--fs-h1-archive); line-height: 1.1; }
.archive__desc { font-size: 17px; color: var(--c-text-2); max-width: 64ch; }
.archive__desc p + p { margin-top: 8px; }
.archive__head + .archive__layout { padding-top: 20px; }
.archive__layout { display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: flex-start; }
.archive__filters { flex: 1 1 240px; max-width: 280px; }
.archive__main { flex: 999 1 560px; min-width: 0; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--c-line); margin-bottom: 24px; }
.toolbar__count { font-weight: 600; }
.ordering { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); margin-left: auto; }
.ordering select, .filters__price input { height: 40px; border: 1px solid var(--c-input); border-radius: var(--r-btn); padding: 0 12px; background: var(--c-bg); }
.filters-toggle { display: none; }
.filters { display: flex; flex-direction: column; gap: 28px; font-size: var(--fs-sm); }
.filters-head { display: none; }
.filters__group { border: 0; margin: 0; padding: 0 0 24px; border-bottom: 1px solid var(--c-line); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.filters__group legend { font-size: var(--fs-body); font-weight: 700; padding: 0; margin-bottom: 12px; }
.filters__option { display: flex; align-items: center; gap: 10px; min-height: 28px; cursor: pointer; }
.filters__option input { width: 18px; height: 18px; margin: 0; accent-color: var(--c-ink); }
.filters__name { flex: 1; }
.filters__count { color: var(--c-muted); }
.filters__price { display: flex; gap: 8px; align-items: center; }
.filters__price input { width: 100%; min-width: 0; padding: 0 10px; }
.filters__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.filters__reset { text-decoration: underline; text-underline-offset: 3px; }
.empty-state { padding: 48px 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 48px 0 0; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--c-line); border-radius: var(--r-btn); padding: 0 14px; }
.pagination .page-numbers.current { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-bg); font-weight: 600; }
.pagination .page-numbers.dots { border: 0; }
.archive__seo { margin-top: var(--section-product); padding: 48px 0 72px; border-top: 1px solid var(--c-line); display: flex; flex-wrap: wrap; gap: 32px 64px; }
.archive__seo-text { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; max-width: 64ch; color: var(--c-text-2); }
.archive__seo h2 { font-size: var(--fs-h2-product); color: var(--c-ink); }
.archive__seo-text { max-width: 76ch; }
.archive__seo-body { display: flex; flex-direction: column; gap: 12px; line-height: 1.7; }
.archive__seo-body h3 { font-size: 18px; color: var(--c-ink); margin-top: 14px; }
.archive__seo-body a { color: var(--c-ink); text-decoration: underline; text-decoration-color: var(--c-accent-line); text-underline-offset: 3px; text-decoration-thickness: 1.5px; transition: text-decoration-color 200ms ease; }
.archive__seo-body a:hover { text-decoration-color: var(--c-accent); }
.faq { flex: 1 1 320px; display: flex; flex-direction: column; }
.faq h2 { margin-bottom: 8px; }
.faq details { border-bottom: 1px solid var(--c-line); padding: 16px 0; }
.faq summary { font-weight: 600; cursor: pointer; min-height: 28px; }
.faq details p { margin-top: 10px; color: var(--c-text-2); }
.archive .site-main, .archive { padding-bottom: var(--section-product); }

/* Product page */
.product-top { display: flex; flex-wrap: wrap; gap: 32px 56px; padding-top: 24px; align-items: flex-start; }
.gallery { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery__main { position: relative; background: var(--c-well); border-radius: var(--r-block); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gallery__track { display: flex; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; display: flex; align-items: center; justify-content: center; }
.gallery__main img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.gallery__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.gallery__dots span { width: 6px; height: 6px; border-radius: 3px; background: var(--c-input); transition: width 300ms cubic-bezier(.22, 1, .36, 1), background-color 300ms ease; }
.gallery__dots span.is-active { width: 18px; background: var(--c-ink); }
.gallery__main .badge { position: absolute; top: 16px; left: 16px; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery__thumb { background: var(--c-well); border: 2px solid transparent; border-radius: var(--r-btn); aspect-ratio: 1 / 1; padding: 8px; }
.gallery__thumb[aria-pressed="true"] { border-color: var(--c-ink); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.buybox { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.buybox__head { display: flex; flex-direction: column; gap: 6px; }
.buybox__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: var(--fs-sm); }
.buybox__brand { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.buybox__type { color: var(--c-muted); }
.buybox__title { font-size: var(--fs-h1-product); line-height: 1.1; }
.buybox__rating { font-size: var(--fs-sm); color: var(--c-text-2); }
.buybox__like { font-size: var(--fs-sm); color: var(--c-muted); }
.buybox__lead { font-size: 17px; color: var(--c-text-2); }
.buybox__lead p + p { margin-top: 8px; }
.buybox__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.buybox__now { font-size: 34px; font-weight: 700; line-height: 1; }
.buybox__old { font-size: 17px; color: var(--c-muted); }
.buybox__save { color: var(--c-sale); font-weight: 600; }
.stock { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 500; }
.stock__dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.stock.is-in { color: var(--c-ok); }
.stock.is-out { color: var(--c-sale); }

/* Variācijas forma */
.buybox__form form.cart { display: flex; flex-direction: column; gap: 22px; margin: 0; }
.buybox__form table.variations { border-collapse: collapse; width: 100%; }
.buybox__form table.variations th, .buybox__form table.variations td { display: block; padding: 0; text-align: left; }
.buybox__form table.variations th.label { font-size: var(--fs-sm); font-weight: 600; margin-bottom: 10px; }
.has-pills { position: relative; }
.woocommerce .has-pills select, .has-pills select { position: absolute !important; left: 0 !important; top: 0 !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); pointer-events: none; }
.buybox__form .reset_variations { display: none !important; }
.variation-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.variation-pill { min-height: 48px; padding: 6px 20px; border: 2px solid var(--c-line); background: var(--c-bg); border-radius: var(--r-block); display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.variation-pill__label { font-weight: 600; }
.variation-pill__price { font-size: var(--fs-xs); color: var(--c-muted); }
.variation-pill.is-active { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-bg); }
.variation-pill.is-active .variation-pill__price { color: var(--c-on-dark-2); }
.variation-pill.is-disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.woocommerce-variation-price, .woocommerce-variation-availability, .woocommerce-variation-description { display: none; }
.woocommerce-variation-add-to-cart, .buybox__form form.cart:not(.variations_form) { display: flex; gap: 12px; flex-wrap: wrap; }
.buybox__form form.cart:not(.variations_form) { flex-direction: row; }
.quantity { display: flex; align-items: center; border: 1px solid var(--c-input); border-radius: var(--r-btn); height: 52px; }
.quantity input.qty { width: 40px; border: 0; text-align: center; font-weight: 600; background: none; -moz-appearance: textfield; appearance: textfield; }
.quantity input.qty::-webkit-outer-spin-button, .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 48px; height: 50px; background: none; border: 0; font-size: 20px; }
.single_add_to_cart_button { flex: 1 1 220px; height: 52px; background: var(--c-ink); color: var(--c-bg); border: 0; border-radius: var(--r-btn); font-size: 16px; font-weight: 600; }
.single_add_to_cart_button.disabled { opacity: .5; cursor: not-allowed; }
.shipping-note { background: var(--c-well); border-radius: var(--r-block); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-sm); }
.shipping-note__title { font-weight: 600; }
.shipping-note__left { color: var(--c-text-2); }
.props { margin: 0; display: grid; grid-template-columns: 120px 1fr; gap: 12px 16px; font-size: var(--fs-sm); border-top: 1px solid var(--c-line); padding-top: 20px; }
.props dt { color: var(--c-muted); }
.props dd { margin: 0; }
.props__links { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.props__links a { text-decoration: underline; text-underline-offset: 3px; }
.intensity { display: flex; align-items: center; gap: 10px; }
.intensity__bars { display: flex; gap: 4px; }
.intensity__bars span { width: 28px; height: 6px; border-radius: 3px; background: var(--c-line); }
.intensity__bars span.is-on { background: var(--c-accent); }

.product-details { display: flex; flex-wrap: wrap; gap: 40px 64px; padding-top: var(--section-product); }
.product-details__col { flex: 1 1 420px; min-width: 0; }
.product-details h2, .reviews h2, .related h2 { font-size: var(--fs-h2-product); }
.product-details h2 { margin-bottom: 20px; }
.notes__row { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--c-line); align-items: baseline; }
.notes__level { font-size: var(--fs-sm); color: var(--c-muted); }
.notes__items { display: flex; flex-wrap: wrap; gap: 8px; }
.info-table { margin: 0; display: grid; grid-template-columns: 160px 1fr; font-size: var(--fs-sm); border-bottom: 1px solid var(--c-line); }
.info-table dt, .info-table dd { margin: 0; padding: 14px 0; border-top: 1px solid var(--c-line); }
.info-table dt { color: var(--c-muted); padding-right: 16px; }

/* Reviews (WooCommerce template) */
.reviews { padding-top: var(--section-product); }
.reviews__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.reviews .woocommerce-Reviews-title { display: none; }
.reviews .commentlist li { border-top: 1px solid var(--c-line); padding: 20px 0; max-width: 72ch; }
.reviews .commentlist .avatar { display: none; }
.reviews .comment-text { display: flex; flex-direction: column; gap: 6px; }
.reviews .comment-text .meta { font-size: var(--fs-sm); color: var(--c-muted); margin: 0; }
.reviews .woocommerce-review__author { color: var(--c-ink); font-weight: 600; }
.reviews .star-rating { font-size: var(--fs-sm); color: var(--c-muted); overflow: hidden; height: 1.5em; }
.reviews .star-rating::before { content: none; }
.reviews .star-rating span::before { content: none; }
.reviews .star-rating span { display: block; }
.reviews .woocommerce-noreviews { color: var(--c-muted); border-top: 1px solid var(--c-line); padding-top: 20px; }
#review_form_wrapper { margin-top: 24px; max-width: 640px; border-top: 1px solid var(--c-line); padding-top: 24px; }
#review_form .comment-reply-title { display: block; font-weight: 700; font-size: 18px; margin-bottom: 16px; }
#review_form p, #review_form .comment-form-rating { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; }
#review_form input[type="text"], #review_form input[type="email"], #review_form textarea, #review_form select { border: 1px solid var(--c-input); border-radius: var(--r-btn); padding: 10px 12px; background: var(--c-bg); min-height: 44px; }
#review_form .stars { margin: 0; }
#review_form .stars span { display: flex; gap: 6px; }
#review_form .stars a { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--c-input); border-radius: var(--r-btn); }
#review_form .stars a.active, #review_form .stars.selected a.active { background: var(--c-ink); color: var(--c-bg); border-color: var(--c-ink); }
#review_form .form-submit input[type="submit"] { align-self: flex-start; min-height: 44px; padding: 0 24px; background: var(--c-ink); color: var(--c-bg); border: 0; border-radius: var(--r-btn); font-weight: 600; cursor: pointer; }
.related { padding: var(--section-product) 0; }
.related h2 { margin-bottom: 20px; }

/* Lapas */
.page-content { max-width: 760px; padding-bottom: var(--section-product); }
.page-content h1 { font-size: var(--fs-h1-archive); margin: 24px 0; }
.entry__content > * + * { margin-top: 1em; }
.entry__content ul { list-style: disc; padding-left: 1.4em; }
.entry__content a { text-decoration: underline; text-underline-offset: 3px; }

/* Bijušais Elementor saturs (ikonas bez izmēra, attēli) */
.entry__content svg { width: 28px; height: 28px; flex: 0 0 auto; }
.entry__content img { border-radius: var(--r-block); }
.entry__content h2, .entry__content h3 { margin-top: 1.6em; }
.entry__content h2 { font-size: 24px; }
.entry__content h3 { font-size: 18px; }
.contact-fallback { background: var(--c-well); border-radius: var(--r-block); padding: 18px 20px; }

/* WooCommerce paziņojumi */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; margin: 16px 0; padding: 14px 18px; background: var(--c-well); border-radius: var(--r-block); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.woocommerce-error { color: var(--c-sale); }
.woocommerce-message .button { margin-left: auto; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Kontakti */
.contact-page { padding-bottom: 0; }
.contact-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 32px 64px; align-items: center; padding: 24px 0 40px; }
.contact-hero__text { display: flex; flex-direction: column; gap: 14px; }
.contact-hero h1 { font-size: var(--fs-h1-archive); line-height: 1.05; }
.contact-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-block); }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-card { height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 28px; border: 1px solid var(--c-line); border-radius: var(--r-block); transition: border-color 220ms ease, transform 320ms cubic-bezier(.22, 1, .36, 1); }
.contact-card:hover { border-color: var(--c-ink); color: var(--c-ink); transform: translate3d(0, -3px, 0); }
.contact-card__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--c-well); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.contact-card__title { font-size: 20px; font-weight: 700; }
.contact-card__text { color: var(--c-muted); font-size: var(--fs-sm); }
.contact-card__value { font-size: 17px; font-weight: 600; margin-top: 10px; }
.contact-card__cta { margin-top: auto; padding-top: 18px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.contact-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 64px; padding-top: var(--section); }
.contact-info h2, .contact-faq h2 { font-size: var(--fs-h2-product); margin-bottom: 16px; }
.contact-info .info-table a { text-decoration: underline; text-underline-offset: 3px; }
.contact-faq { padding-top: var(--section); max-width: 860px; }
.contact-faq details p { line-height: 1.6; }
.contact-faq__more { margin-top: 16px; color: var(--c-text-2); }
.contact-faq__more a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
	.contact-hero { grid-template-columns: 1fr; }
	.contact-hero__media { order: -1; }
	.contact-cards, .contact-info { grid-template-columns: 1fr; }
}

/* Mans konts */
.woocommerce-account .page-content h1 { margin-bottom: 28px; }
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px 56px; align-items: start; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-MyAccount-navigation ul { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--c-line); border-radius: var(--r-block); padding: 8px; position: sticky; top: 140px; }
.woocommerce-MyAccount-navigation a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-btn); font-weight: 500; transition: background-color 180ms ease; }
.woocommerce-MyAccount-navigation a:hover { background: var(--c-well); color: var(--c-ink); }
.woocommerce-MyAccount-navigation a[aria-current="page"] { background: var(--c-ink); color: var(--c-bg); }
.woocommerce-MyAccount-navigation-link--customer-logout { border-top: 1px solid var(--c-line); margin-top: 6px; padding-top: 6px; }
.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--c-muted); }
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-MyAccount-content h2, .woocommerce-MyAccount-content h3 { margin-bottom: 14px; }
.account-dash { display: flex; flex-direction: column; gap: 32px; }
.account-dash__hello { background: var(--c-well); border-radius: var(--r-block); padding: 32px; display: flex; flex-direction: column; gap: 8px; }
.account-dash__hello h2 { font-size: 32px; margin: 0; }
.account-dash__hello p:last-child { color: var(--c-text-2); }
.account-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.account-card { height: 100%; display: flex; flex-direction: column; gap: 4px; padding: 22px; border: 1px solid var(--c-line); border-radius: var(--r-block); transition: border-color 200ms ease, transform 300ms cubic-bezier(.22, 1, .36, 1); }
.account-card:hover { border-color: var(--c-ink); color: var(--c-ink); transform: translate3d(0, -2px, 0); }
.account-card__title { font-weight: 700; font-size: 17px; }
.account-card__text { color: var(--c-muted); font-size: var(--fs-sm); }
.account-orders li a { display: grid; grid-template-columns: 90px 110px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.account-orders__no { font-weight: 600; }
.account-orders__date { color: var(--c-muted); font-size: var(--fs-sm); }
.account-orders__status { justify-self: start; font-size: var(--fs-xs); font-weight: 600; padding: 3px 10px; border-radius: var(--r-pill); background: var(--c-well); }
.account-orders__status.status-completed { color: var(--c-ok); }
.account-orders__total { font-weight: 600; }
.account-empty { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; border: 1px dashed var(--c-input); border-radius: var(--r-block); padding: 24px; }
.woocommerce-orders-table .button, .woocommerce-MyAccount-content .button { min-height: 40px; padding: 0 16px; }
.woocommerce-Addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.woocommerce-Address { border: 1px solid var(--c-line); border-radius: var(--r-block); padding: 22px; }
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.woocommerce-Address-title a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; font-size: var(--fs-sm); }
.woocommerce-Address address { font-style: normal; color: var(--c-text-2); line-height: 1.6; }
/* Pieslēgšanās / reģistrācija */
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.woocommerce-account .u-columns.col2-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.woocommerce-account .u-columns .u-column1, .woocommerce-account .u-columns .u-column2 { border: 1px solid var(--c-line); border-radius: var(--r-block); padding: 32px; }
.woocommerce-account .u-columns .u-column1 { background: var(--c-well); border-color: var(--c-well); }
.woocommerce-account .u-columns h2 { font-size: 24px; margin-bottom: 18px; }
.woocommerce-form-login .form-row, .woocommerce-form-register .form-row { display: flex; flex-direction: column; gap: 6px; }
.woocommerce-form-login__rememberme { display: flex !important; flex-direction: row !important; align-items: center; gap: 8px; margin-bottom: 12px; font-weight: 400 !important; }
.woocommerce form.woocommerce-form-login .button, .woocommerce form.woocommerce-form-register .button { width: 100%; background: var(--c-ink); color: var(--c-bg); border-color: var(--c-ink); }
.woocommerce-LostPassword { margin-top: 14px; font-size: var(--fs-sm); }
.woocommerce-LostPassword a, .woocommerce-privacy-policy-text a { text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-privacy-policy-text { font-size: var(--fs-xs); color: var(--c-muted); margin-bottom: 14px; }
.password-input { position: relative; display: block; }
.show-password-input { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; width: 36px; height: 36px; }
.show-password-input::before { content: "Rādīt"; font-size: 12px; color: var(--c-muted); }
@media (max-width: 900px) {
	.woocommerce-account .woocommerce { grid-template-columns: 1fr; }
	.woocommerce-MyAccount-navigation ul { position: static; flex-direction: row; overflow-x: auto; white-space: nowrap; }
	.woocommerce-MyAccount-navigation-link--customer-logout { border-top: 0; margin-top: 0; padding-top: 0; }
	.account-cards, .woocommerce-Addresses, .woocommerce-account .u-columns.col2-set { grid-template-columns: 1fr; }
	.account-orders li a { grid-template-columns: 1fr auto; }
}

/* Jaunumu pieteikšanās */
.newsletter { background: var(--c-well); margin-top: var(--section); padding: 56px 0; }
.newsletter + .site-footer { margin-top: 0; }
.newsletter__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 64px; align-items: center; }
.newsletter__offer { display: flex; gap: 28px; align-items: center; }
.newsletter__big { font-size: 88px; font-weight: 700; line-height: .9; color: var(--c-ink); flex: 0 0 auto; }
.newsletter__offer h2 { font-size: var(--fs-h2); margin-bottom: 10px; }
.newsletter__offer p { color: var(--c-text-2); max-width: 52ch; }
.newsletter__row { display: flex; gap: 8px; }
.newsletter__row input { flex: 1; min-width: 0; height: 52px; border: 1px solid var(--c-ink); border-radius: var(--r-btn); padding: 0 16px; background: var(--c-bg); font-size: 16px; }
.newsletter__row .btn { min-height: 52px; white-space: nowrap; }
.newsletter__hp { position: absolute; left: -9999px; }
.newsletter__legal { margin-top: 10px; font-size: var(--fs-xs); color: var(--c-muted); }
.newsletter__legal a { text-decoration: underline; text-underline-offset: 3px; }
.newsletter__result:empty { display: none; }
.newsletter__result { margin-top: 14px; font-size: var(--fs-sm); font-weight: 500; }
.newsletter__result.is-error { color: var(--c-sale); }
.newsletter__result.is-ok { color: var(--c-ink); }
.newsletter__code { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; background: var(--c-ink); color: var(--c-bg); border-radius: var(--r-block); padding: 14px 16px; animation: mc-rise 520ms cubic-bezier(.22, 1, .36, 1) both; }
.newsletter__code strong { font-size: 22px; font-weight: 700; }
.newsletter__code span { flex-basis: 100%; font-size: var(--fs-xs); color: var(--c-on-dark-2); font-weight: 400; }
.newsletter__form.is-done .newsletter__row, .newsletter__form.is-done .newsletter__legal { display: none; }
@media (max-width: 900px) {
	.newsletter__inner { grid-template-columns: 1fr; }
	.newsletter__big { font-size: 64px; }
}
@media (max-width: 600px) {
	.newsletter { padding: 36px 0 32px; }
	.newsletter__inner { gap: 20px; }
	.newsletter__offer { flex-direction: row; align-items: center; gap: 16px; }
	.newsletter__big { font-size: 44px; }
	.newsletter__offer h2 { font-size: 20px; margin-bottom: 4px; }
	.newsletter__offer p { font-size: var(--fs-sm); }
	.newsletter__row { flex-direction: column; }
	.newsletter__row input { flex: 0 0 auto; width: 100%; height: 52px; }
	.newsletter__row .btn { width: 100%; }
}

/* Footer (tumšs) */
.site-footer { --f-bg: var(--c-ink); --f-text: #ffffff; --f-muted: #b5b5b5; --f-line: #2b2b2b; background: var(--f-bg); color: var(--f-text); font-size: var(--fs-sm); margin-top: var(--section); }
.site-footer a { color: var(--f-text); text-decoration: none; transition: color 160ms ease; }
.site-footer a:hover { color: var(--c-accent-line); }
.site-footer :focus-visible { outline-color: var(--c-accent-line); }
.footer-usps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 40px 0; border-bottom: 1px solid var(--f-line); }
.footer-usp { display: flex; gap: 14px; align-items: flex-start; }
.footer-usp__icon { flex: 0 0 auto; color: var(--c-accent-line); }
.footer-usp__text { display: flex; flex-direction: column; gap: 2px; line-height: 1.4; }
.footer-usp__text strong { font-size: var(--fs-body); font-weight: 600; }
.footer-usp__text span { color: var(--f-muted); }
.footer-main { display: grid; grid-template-columns: minmax(260px, 1.1fr) 2fr; gap: 48px 64px; padding: 56px 0 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; max-width: 360px; }
.footer-brand__logo img { height: 26px; width: auto; }
.footer-brand__text { color: var(--f-muted); line-height: 1.6; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-body); }
.footer-contact a { font-weight: 600; }
.footer-contact span { color: var(--f-muted); font-size: var(--fs-sm); }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-col__title { font-size: var(--fs-sm); font-weight: 600; color: var(--f-muted); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 4px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 32px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 22px 0 32px; border-top: 1px solid var(--f-line); color: var(--f-muted); font-size: var(--fs-xs); }
.footer-bottom__legal { margin-right: auto; }
.footer-bottom__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-bottom__links a { color: var(--f-muted); min-height: 32px; display: inline-flex; align-items: center; }
.footer-bottom__partners { display: flex; gap: 8px; }
.footer-credit { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 0 0 16px; border-left: 1px solid var(--f-line); font-size: 12px; }
.site-footer .footer-credit { color: var(--f-muted); }
.footer-credit__name { position: relative; color: var(--f-text); font-weight: 600; transition: color 200ms ease; }
.footer-credit__name::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left center; transition: transform 320ms cubic-bezier(.22, 1, .36, 1); }
.footer-credit:hover .footer-credit__name::after { transform: scaleX(1); }
.site-footer .footer-credit:hover { color: var(--f-muted); }
.footer-credit:hover .footer-credit__name { color: var(--c-accent-line); }
.footer-bottom__partners li { border: 1px solid var(--f-line); border-radius: var(--r-btn); padding: 4px 10px; color: var(--f-text); font-weight: 600; font-size: 12px; }
@media (max-width: 1000px) {
	.footer-usps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-main { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.footer-usps { grid-template-columns: 1fr; gap: 18px; padding: 32px 0; }
	.footer-main { padding: 40px 0 32px; gap: 36px; }
	.footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
	.footer-links .footer-col:last-child { grid-column: 1 / -1; }
	.footer-bottom__legal { margin-right: 0; flex-basis: 100%; }
	.footer-credit { border-left: 0; padding-left: 0; }
}


/* Black Friday */
.deals__head { align-items: flex-start; }

/* Sānu mini grozs */
.has-minicart { overflow: hidden; }
.minicart { --mc-ease: cubic-bezier(.22, 1, .36, 1); --mc-dur: 480ms; position: fixed; inset: 0; z-index: 100; visibility: hidden; transition: visibility 0s linear var(--mc-dur); }
.minicart.is-open { visibility: visible; transition: none; }
.minicart__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity 360ms ease; -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); }
.minicart.is-open .minicart__overlay { opacity: 1; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.minicart__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); overflow: hidden; background: var(--c-bg); display: flex; flex-direction: column; transform: translate3d(100%, 0, 0); transition: transform var(--mc-dur) var(--mc-ease); will-change: transform; }
.minicart.is-open .minicart__panel { transform: translate3d(0, 0, 0); }

/* Satura secīga parādīšanās, atverot */
@keyframes mc-rise { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
@keyframes mc-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes mc-bump { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 65% { transform: scale(.92); } 100% { transform: scale(1); } }
.minicart.is-entering .minicart__head,
.minicart.is-entering .minicart__body > *,
.minicart.is-entering .minicart__item { animation: mc-rise 520ms var(--mc-ease) both; }
.minicart.is-entering .minicart__head { animation-delay: 80ms; }
.minicart.is-entering .minicart__body > :nth-child(1) { animation-delay: 140ms; }
.minicart.is-entering .minicart__body > :nth-child(2) { animation-delay: 190ms; }
.minicart.is-entering .minicart__body > :nth-child(3) { animation-delay: 300ms; }
.minicart.is-entering .minicart__body > :nth-child(4) { animation-delay: 350ms; }
.minicart.is-entering .minicart__body > :nth-child(5) { animation-delay: 400ms; }
.minicart.is-entering .minicart__item:nth-child(1) { animation-delay: 200ms; }
.minicart.is-entering .minicart__item:nth-child(2) { animation-delay: 240ms; }
.minicart.is-entering .minicart__item:nth-child(3) { animation-delay: 280ms; }
.minicart.is-entering .minicart__item:nth-child(n+4) { animation-delay: 320ms; }
.minicart__item { transition: opacity 260ms ease, transform 260ms ease, height 320ms var(--mc-ease), padding 320ms var(--mc-ease); overflow: hidden; }
.minicart__item.is-removing { opacity: 0; transform: translate3d(24px, 0, 0); height: 0 !important; padding-block: 0; border-bottom-color: transparent; }
.header-cart__count.is-bumped { animation: mc-bump 520ms var(--mc-ease); }
/* Tikko pievienotā prece mini grozā */
@keyframes mc-new-in { from { opacity: 0; transform: translate3d(28px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes mc-new-glow { 0% { background-color: var(--c-well); } 70% { background-color: var(--c-well); } 100% { background-color: transparent; } }
.minicart .minicart__item.is-new { animation: mc-new-in 560ms cubic-bezier(.22, 1, .36, 1) both, mc-new-glow 1800ms ease 200ms both; border-radius: var(--r-btn); margin-inline: -10px; padding-inline: 10px; }
.minicart .minicart__item.is-new .minicart__thumb img { animation: mc-bump 620ms cubic-bezier(.22, 1, .36, 1) 300ms; }
.minicart__actions .btn { transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease; }
.minicart__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--c-line); }
.minicart__head h2 { font-size: 20px; }
.minicart__close { background: none; border: 0; min-height: 44px; padding: 0 4px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.minicart__body { flex: 1; overflow-y: auto; overflow-x: hidden; min-width: 0; padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 20px; }
.minicart__empty { display: flex; flex-direction: column; gap: 12px; }
.minicart__empty-title { font-size: 20px; font-weight: 700; }
.minicart__empty-text { color: var(--c-muted); font-size: var(--fs-sm); margin-top: -6px; }
.mc-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.mc-tile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--c-ink); color: var(--c-bg); }
.mc-tile img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform 700ms cubic-bezier(.22, 1, .36, 1), opacity 300ms ease; }
.mc-tile:hover img { transform: scale(1.06); opacity: .68; }
.mc-tile:hover { color: var(--c-bg); }
.mc-tile__label { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; padding: 10px 12px; background: rgba(0, 0, 0, .45); }
.mc-tile__name { font-weight: 700; font-size: 16px; line-height: 1.2; }
.mc-tile__meta { font-size: 12px; color: var(--c-on-dark-2); }
.mc-tile--deal .mc-tile__label { background: rgba(200, 16, 46, .82); }
.mc-tile--deal .mc-tile__meta { color: var(--c-bg); }
.mc-quiz-card { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 72px; margin-top: 6px; padding: 14px 16px; border: 0; border-radius: 8px; background: var(--c-ink); color: var(--c-bg); text-align: left; }
.mc-quiz-card > :not(.scent-orbs) { position: relative; z-index: 2; }
.mc-quiz-card__text { display: flex; flex-direction: column; gap: 2px; }
.mc-quiz-card__text strong { font-size: 16px; }
.mc-quiz-card__text span { font-size: 12px; color: var(--c-accent-line); }
.mc-quiz-card__cta { flex: 0 0 auto; background: var(--c-bg); color: var(--c-ink); font-weight: 600; font-size: var(--fs-sm); border-radius: var(--r-btn); padding: 8px 16px; }
.mc-moods { display: flex; flex-wrap: wrap; gap: 6px; }
.mc-moods .chip { min-height: 36px; padding: 0 14px; }
.mc-shop { text-align: center; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }
.minicart__items { display: flex; flex-direction: column; }
.minicart__item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.minicart__item:first-child { padding-top: 0; }
.minicart__thumb { display: block; background: var(--c-well); border-radius: var(--r-btn); aspect-ratio: 1 / 1; overflow: hidden; }
.minicart__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6px; }
.minicart__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.minicart__name { font-weight: 600; line-height: 1.3; }
.minicart__size, .minicart__qty { font-size: var(--fs-xs); color: var(--c-muted); }
.minicart__remove { background: none; border: 0; font-size: var(--fs-xs); color: var(--c-muted); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; padding: 0 0 0 8px; margin-top: -12px; }
.minicart__footer { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.minicart__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; border-top: 1px solid var(--c-ink); padding-top: 16px; }
.minicart__actions { display: flex; flex-direction: column; gap: 8px; }
.minicart__checkout { gap: 10px; min-height: 54px; font-size: 16px; }
.minicart__checkout svg { transition: transform 260ms cubic-bezier(.22, 1, .36, 1); }
.minicart__checkout:hover svg { transform: translate3d(0, -1px, 0) scale(1.08); }
.minicart__secure { text-align: center; font-size: 12px; color: var(--c-muted); }

/* Bezmaksas piegādes progress */
.ship-progress { background: var(--c-well); border-radius: var(--r-block); padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 14px; font-size: var(--fs-sm); }
.ship-progress__track { position: relative; height: 6px; border-radius: 3px; background: var(--c-line); margin: 6px 34px 0 0; }
.ship-progress__fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p); border-radius: 3px; background: var(--c-ok); transition: width 700ms cubic-bezier(.22, 1, .36, 1); }
.ship-progress__truck { position: absolute; top: 50%; left: var(--p); width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: var(--c-bg); border: 1.5px solid var(--c-ok); color: var(--c-ok); display: flex; align-items: center; justify-content: center; transition: left 700ms cubic-bezier(.22, 1, .36, 1); }
.ship-progress__goal { position: absolute; right: -34px; top: 50%; transform: translateY(-50%); font-size: 11px; font-weight: 600; color: var(--c-muted); }
.ship-progress.is-done .ship-progress__truck { background: var(--c-ok); color: var(--c-bg); }
.ship-progress.is-done .ship-progress__goal { color: var(--c-ok); }
.minicart.is-entering .ship-progress__fill { animation: mc-fill-w 1000ms cubic-bezier(.22, 1, .36, 1) 260ms both; }
.minicart.is-entering .ship-progress__truck { animation: mc-truck 1000ms cubic-bezier(.22, 1, .36, 1) 260ms both; }
@keyframes mc-fill-w { from { width: 0; } }
@keyframes mc-truck { from { left: 0; } }

/* Paraugu piedāvājums */
.upsell { display: flex; flex-direction: column; gap: 10px; }
.upsell__title { font-weight: 600; font-size: var(--fs-sm); }
.upsell { min-width: 0; }
.upsell__list { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; min-width: 0; max-width: 100%; }
.upsell__item { position: relative; flex: 0 0 116px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; }
.upsell__thumb { display: block; aspect-ratio: 1 / 1; background: var(--c-well); border-radius: var(--r-btn); overflow: hidden; }
.upsell__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 8px; }
.upsell__name { font-size: 12px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.upsell__add { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--c-ink); color: var(--c-bg); display: flex; align-items: center; justify-content: center; transition: transform 200ms ease, background-color 200ms ease; }
.upsell__add:hover { transform: scale(1.08); }
.upsell__add.is-loading { color: transparent; }
.upsell__add.is-loading::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 2px solid var(--c-bg); border-right-color: transparent; animation: btn-spin 700ms linear infinite; }
.upsell__add.is-added { background: var(--c-ok); }

/* Apdrošināšana */
.insurance { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--c-line); border-radius: var(--r-block); padding: 14px 16px; cursor: pointer; }
.insurance input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--c-ink); flex: 0 0 auto; }
.insurance__text { display: flex; flex-direction: column; gap: 2px; }
.insurance__title { font-weight: 600; font-size: var(--fs-sm); }
.insurance__desc { font-size: var(--fs-xs); color: var(--c-muted); }
.checkout-insurance { margin: 20px 0; }

/* Grozs un checkout */
.page-content--wide { max-width: none; }
.woocommerce-cart .page-content h1, .woocommerce-checkout .page-content h1 { font-size: var(--fs-h1-archive); }
.woocommerce form .form-row { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; }
.woocommerce form .form-row label { font-size: var(--fs-sm); font-weight: 500; }
.woocommerce form .form-row .required { color: var(--c-sale); text-decoration: none; border: 0; }
.woocommerce form .form-row .optional { color: var(--c-muted); font-weight: 400; }
.woocommerce form .input-text, .woocommerce form select, .woocommerce form textarea, .woocommerce-cart-form .qty, .coupon .input-text { width: 100%; min-height: 48px; border: 1px solid var(--c-input); border-radius: var(--r-btn); padding: 10px 14px; background: var(--c-bg); }
.woocommerce form textarea { min-height: 96px; }
.woocommerce form .form-row.woocommerce-invalid .input-text { border-color: var(--c-sale); }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, #place_order { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: var(--r-btn); border: 1px solid var(--c-ink); background: var(--c-bg); color: var(--c-ink); font-weight: 600; cursor: pointer; }
.woocommerce .button.alt, .woocommerce a.checkout-button, #place_order { background: var(--c-ink); color: var(--c-bg); }
.woocommerce .button:disabled, .woocommerce .button[disabled] { opacity: .5; cursor: not-allowed; }
#place_order { width: 100%; min-height: 56px; font-size: 16px; }

/* Grozs */
.woocommerce-cart .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px 48px; align-items: start; }
.woocommerce-cart .woocommerce-notices-wrapper, .woocommerce-cart .cart-empty, .woocommerce-cart .return-to-shop { grid-column: 1 / -1; }
.shop_table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.shop_table th, .shop_table td { text-align: left; padding: 14px 8px; border-bottom: 1px solid var(--c-line); vertical-align: middle; }
.shop_table thead th { font-weight: 600; color: var(--c-muted); }
.woocommerce-cart-form .product-thumbnail img { width: 72px; background: var(--c-well); border-radius: var(--r-btn); mix-blend-mode: multiply; padding: 6px; }
.woocommerce-cart-form .product-name a { font-weight: 600; }
.woocommerce-cart-form .product-remove a { font-size: 22px; line-height: 1; color: var(--c-muted); display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; }
.woocommerce-cart-form .quantity { height: 44px; width: max-content; }
.woocommerce-cart-form .quantity input.qty { width: 56px; min-height: 0; border: 0; }
.woocommerce-cart-form td.actions { padding-top: 20px; }
.woocommerce-cart-form .coupon { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.woocommerce-cart-form .coupon .input-text { width: auto; flex: 1 1 180px; }
.cart-collaterals { display: flex; flex-direction: column; gap: 16px; }
.cart_totals { background: var(--c-well); border-radius: var(--r-block); padding: 24px; }
.cart_totals h2 { font-size: 20px; margin-bottom: 12px; }
.cart_totals .shop_table th, .cart_totals .shop_table td { padding: 12px 0; border-color: var(--c-line-2); }
.cart_totals .order-total { font-size: 17px; }
.wc-proceed-to-checkout { margin-top: 16px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 56px; font-size: 16px; }
.woocommerce-shipping-methods { display: flex; flex-direction: column; gap: 8px; }
.woocommerce-shipping-methods li { display: flex; align-items: flex-start; gap: 8px; }
.woocommerce-shipping-methods input { accent-color: var(--c-ink); margin-top: 4px; }

/* Checkout */
.woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.woocommerce-billing-fields__field-wrapper .form-row-wide, .woocommerce-billing-fields__field-wrapper .form-row:not(.form-row-first):not(.form-row-last) { grid-column: 1 / -1; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding: 12px 0; border-color: var(--c-line-2); }
.woocommerce-checkout-review-order-table .product-total, .woocommerce-checkout-review-order-table tfoot td { text-align: right; }
.woocommerce-checkout-review-order-table .order-total { font-size: 17px; }
.woocommerce-checkout-payment { margin-top: 20px; }
.wc_payment_methods { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.wc_payment_method { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--r-btn); padding: 14px 16px; }
.wc_payment_method > label { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.wc_payment_method > label img { max-height: 24px; width: auto; display: inline-block; }
.wc_payment_method input[type="radio"] { accent-color: var(--c-ink); }
.payment_box { font-size: var(--fs-sm); color: var(--c-text-2); margin-top: 8px; }
.woocommerce-terms-and-conditions-wrapper { font-size: var(--fs-xs); color: var(--c-muted); margin-bottom: 16px; }
.woocommerce-form__label-for-checkbox { display: flex !important; flex-direction: row !important; gap: 10px; align-items: flex-start; }
.woocommerce-form__label-for-checkbox input { accent-color: var(--c-ink); width: 18px; height: 18px; margin-top: 2px; }
.woocommerce-form-coupon-toggle .woocommerce-info { margin-top: 0; }
.checkout_coupon { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.checkout_coupon p { margin: 0; }
.checkout_coupon .form-row-first { flex: 1 1 200px; }
.blockUI.blockOverlay { background: rgba(255, 255, 255, .6) !important; }
.omnivalt-terminal-select, .woocommerce-shipping-methods select { width: 100%; min-height: 44px; margin-top: 8px; border: 1px solid var(--c-input); border-radius: var(--r-btn); padding: 8px 12px; background: var(--c-bg); }

/* Piegādes rinda kopsavilkumā: Omniva termināļa izvēlei vajag pilnu platumu */
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals, .cart_totals tr.woocommerce-shipping-totals { display: grid; grid-template-columns: 1fr; }
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th { padding-bottom: 4px; border-bottom: 0; }
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td, .cart_totals tr.woocommerce-shipping-totals td { text-align: left; padding-top: 0; }
.omnivalt_terminal_container { margin-top: 10px; width: 100%; }

/* select2 (WooCommerce valsts/termināļu izvēle) */
.select2-container { width: 100% !important; }
.select2-container .select2-selection--single { height: 48px; border: 1px solid var(--c-input); border-radius: var(--r-btn); display: flex; align-items: center; padding: 0 14px; }
.select2-container .select2-selection__arrow { height: 46px !important; right: 8px !important; }
.select2-dropdown { border: 1px solid var(--c-input); border-radius: var(--r-btn); background: var(--c-bg); }
.select2-results__option { padding: 8px 14px; }
.select2-results__option--highlighted { background: var(--c-well); color: var(--c-ink); }
.select2-search__field { border: 1px solid var(--c-input); border-radius: var(--r-btn); padding: 8px; width: 100%; }

/* Paldies lapa */
.woocommerce-order { display: flex; flex-direction: column; gap: 24px; max-width: 760px; }
.woocommerce-thankyou-order-received { font-size: 20px; font-weight: 600; }
.woocommerce-order-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.woocommerce-order-overview li { background: var(--c-well); border-radius: var(--r-block); padding: 14px 16px; font-size: var(--fs-xs); color: var(--c-muted); display: flex; flex-direction: column; gap: 4px; }
.woocommerce-order-overview strong { color: var(--c-ink); font-size: var(--fs-body); }
.woocommerce-order-details h2, .woocommerce-customer-details h2 { font-size: 20px; margin-bottom: 12px; }

@media (max-width: 900px) {
	.woocommerce-cart .woocommerce { grid-template-columns: 1fr; }
	.woocommerce-cart-form .product-thumbnail { display: none; }
}
@media (max-width: 600px) {
	.woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
	.shop_table_responsive thead { display: none; }
	.shop_table_responsive tr { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--c-line); padding: 8px 0; }
	.shop_table_responsive td { border: 0; padding: 6px 0; }
	.shop_table_responsive td[data-title]::before { content: attr(data-title) ": "; color: var(--c-muted); }
	.shop_table_responsive td.product-name { grid-column: 1 / -1; }
	.shop_table_responsive td.product-name::before { content: none; }
	/* Kompakts mini grozs telefonā: vairāk satura vienā ekrānā, kopsumma un poga vienmēr redzama */
	.minicart__head { padding: 10px 16px; }
	.minicart__head h2 { font-size: 18px; }
	.minicart__body { padding: 12px 16px 0; gap: 12px; }
	.ship-progress { padding: 10px 12px 12px; gap: 10px; font-size: var(--fs-xs); }
	.ship-progress__truck { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
	.ship-progress__truck svg { width: 15px; height: 15px; }
	.minicart__item { grid-template-columns: 52px 1fr auto; gap: 10px; padding: 8px 0; }
	.minicart__name { font-size: var(--fs-sm); }
	.minicart__size, .minicart__qty { font-size: 12px; }
	.minicart__remove { min-height: 36px; margin-top: -8px; }
	.insurance { padding: 10px 12px; gap: 10px; }
	.insurance__desc { display: none; }
	.upsell { gap: 8px; }
	.upsell__title { font-size: var(--fs-xs); }
	.upsell__item { flex-basis: 88px; gap: 4px; }
	.upsell__thumb img { padding: 6px; }
	.upsell__name { font-size: 11px; }
	.upsell__add { width: 28px; height: 28px; top: 4px; right: 4px; }
	.minicart__footer { position: sticky; bottom: 0; background: var(--c-bg); margin: auto -16px 0; padding: 0 16px calc(12px + env(safe-area-inset-bottom)); gap: 8px; z-index: 1; }
	.minicart__total { padding-top: 10px; font-size: 16px; }
	.minicart__checkout { min-height: 50px; }
	.minicart__secure { font-size: 11px; }
}

/* Checkout Shopify stilā */
.page-content--wide .entry__content ul { list-style: none; padding-left: 0; }
.page-content--wide .entry__content > * + * { margin-top: 0; }
.is-focus-checkout { background: var(--c-bg); }
.is-focus-checkout .site-main { padding-top: 0; }
.co-header { border-bottom: 1px solid var(--c-line); background: var(--c-bg); }
.co-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 72px; }
.co-header__back { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; min-height: 44px; }
.co-header__logo { justify-self: center; }
.co-header__secure { justify-self: end; display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--c-muted); }
.co-footer { border-top: 1px solid var(--c-line); margin-top: 0; }
.co-footer__inner { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-block: 20px 28px; font-size: var(--fs-xs); color: var(--c-muted); }
.co-footer__inner a { color: var(--c-muted); text-decoration: underline; text-underline-offset: 3px; }
.co { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 460px); min-height: calc(100vh - 140px); margin-inline: calc(-1 * var(--gutter)); }
.co__main { padding: 40px 56px 64px var(--gutter); max-width: 720px; justify-self: end; width: 100%; }
.co__summary { background: var(--c-well); border-left: 1px solid var(--c-line); padding: 40px var(--gutter) 64px 44px; }
.co__summary-inner { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 20px; max-width: 440px; }
.co-summary-toggle { display: none; }
.co-step { padding: 28px 0; border-bottom: 1px solid var(--c-line); }
.co-step:first-child { padding-top: 0; }
.co-step__title { display: flex; align-items: center; gap: 12px; font-size: 20px; margin-bottom: 18px; }
.co-step__no { width: 28px; height: 28px; border-radius: 50%; background: var(--c-ink); color: var(--c-bg); font-size: 13px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.co-step__hint { color: var(--c-muted); font-size: var(--fs-sm); margin: -8px 0 16px; }
.co-step--pay { border-bottom: 0; }
.smb-hidden-field, .co .form-row.smb-hidden-field { display: none !important; }
.co-fields--postcode { max-width: 260px; }
.co-step__hint--after { margin: -4px 0 16px; }
.co-fields { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
.co-fields .form-row-wide, .co-fields .form-row:not(.form-row-first):not(.form-row-last) { grid-column: 1 / -1; }
.co .woocommerce-billing-fields__field-wrapper { display: grid; }
.co form .form-row { margin-bottom: 14px; }
.co form .input-text, .co form select { min-height: 50px; border-radius: 6px; }
.co form .input-text:focus, .co form select:focus { border-color: var(--c-ink); outline: none; }
.woocommerce-additional-fields { margin-top: 8px; }
.woocommerce-additional-fields h3 { font-size: var(--fs-sm); font-weight: 600; margin-bottom: 8px; }
/* Piegādes veids */
.co-ship-table { width: 100%; border-collapse: collapse; }
.co-ship-table th { display: none; }
.co-ship-table td { display: block; padding: 0; }
.co-shipping .woocommerce-shipping-methods li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; border: 1.5px solid var(--c-ink); border-radius: 8px; padding: 16px 18px; background: var(--c-bg); }
.co-shipping .woocommerce-shipping-methods li + li { margin-top: 8px; border-color: var(--c-line); }
.co-shipping .woocommerce-shipping-methods label { font-weight: 600; flex: 1; display: flex; justify-content: space-between; gap: 12px; }
.co-shipping .omnivalt_terminal_container { flex-basis: 100%; margin-top: 4px; }
.co-shipping .woocommerce-shipping-destination, .co-shipping .woocommerce-shipping-calculator { display: none; }
.co-muted { color: var(--c-muted); font-size: var(--fs-sm); }
.co-free { color: var(--c-ok); }
/* Maksājums */
.co #order_review { background: none; padding: 0; border-radius: 0; }
.co .woocommerce-checkout-payment { margin-top: 0; }
.co .wc_payment_method { border: 1.5px solid var(--c-ink); border-radius: 8px; padding: 16px 18px; list-style: none; }
.co .wc_payment_method::marker { content: none; }
.co .payment_box { margin-top: 12px; }
.co #place_order { min-height: 58px; border-radius: 8px; font-size: 17px; margin-top: 8px; transition: background-color 200ms ease; }
.co .checkout-insurance { margin: 0 0 16px; }
/* Kopsavilkums */
.co-review { border: 0; }
.co-review td, .co-review th { border: 0; padding: 8px 0; vertical-align: middle; }
.co-review tbody tr td { padding: 10px 0; }
.co-review__thumb { width: 76px; }
.co-review__img { position: relative; display: block; width: 64px; height: 64px; border: 1px solid var(--c-line); border-radius: 8px; background: var(--c-bg); }
.co-review__img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; border-radius: 8px; }
.co-review__qty { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--c-muted); color: var(--c-bg); font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.co-review .product-name { display: table-cell; }
.co-review__name { display: block; font-weight: 600; font-size: var(--fs-sm); line-height: 1.3; }
.co-review__size { display: block; font-size: var(--fs-xs); color: var(--c-muted); }
.co-review .product-total { text-align: right; font-size: var(--fs-sm); white-space: nowrap; }
.co-review tfoot th { font-weight: 400; color: var(--c-text-2); text-align: left; font-size: var(--fs-sm); }
.co-review tfoot td { text-align: right; font-size: var(--fs-sm); }
.co-review tfoot tr:first-child th, .co-review tfoot tr:first-child td { padding-top: 18px; border-top: 1px solid var(--c-line-2); }
.co-review .order-total th { font-size: 17px; font-weight: 700; color: var(--c-ink); padding-top: 14px; }
.co-review .order-total td { font-size: 22px; font-weight: 700; padding-top: 14px; }
.co-review__code { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 600; background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 4px; padding: 1px 6px; }
.co-coupon { display: flex !important; gap: 8px; margin: 0; }
.co-coupon .input-text { flex: 1; min-width: 0; min-height: 48px; border: 1px solid var(--c-input); border-radius: 6px; padding: 0 14px; background: var(--c-bg); }
.co-coupon .button { min-height: 48px; border-radius: 6px; background: var(--c-line); border-color: var(--c-line); color: var(--c-ink); }
.co-trust { display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-xs); color: var(--c-muted); border-top: 1px solid var(--c-line-2); padding-top: 16px; }
.co-trust li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--c-ok); margin-right: 8px; vertical-align: middle; }
@media (max-width: 1000px) {
	.co { grid-template-columns: 1fr; margin-inline: calc(-1 * var(--gutter)); }
	.co__main { order: 2; padding: 24px var(--gutter) 48px; max-width: none; justify-self: stretch; }
	.co__summary { order: 1; border-left: 0; border-bottom: 1px solid var(--c-line); padding: 0 var(--gutter); max-height: 0; overflow: hidden; transition: max-height 480ms cubic-bezier(.22, 1, .36, 1), padding 480ms ease; }
	.co__summary.is-open { max-height: 1600px; padding-block: 20px 24px; }
	.co__summary-inner { position: static; max-width: none; }
	.co-summary-toggle { order: -1; display: flex; justify-content: space-between; align-items: center; width: 100%; margin: 0; padding: 16px var(--gutter); background: var(--c-well); border: 0; border-bottom: 1px solid var(--c-line); font-size: var(--fs-sm); color: var(--c-ink); }
	.co-summary-toggle__label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
	.co-summary-toggle__total { font-size: 17px; }
	.co { display: flex; flex-direction: column; }
}
@media (max-width: 600px) {
	.co-fields { grid-template-columns: 1fr; }
	.co-header__secure span { display: none; }
	.co-header__back span { font-size: 13px; }
	.co-header__inner { min-height: 60px; }
	.co-header__logo img { height: 22px; }
}

/* Smaržu tests */
.promo--quiz { position: relative; overflow: hidden; isolation: isolate; min-height: 260px; }
.promo--quiz > :not(.promo__bg):not(.scent-orbs) { position: relative; z-index: 2; }
.promo__bg { position: absolute; inset: 0; z-index: 0; }
.promo__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; transform: scale(1.06); animation: bg-drift 18s ease-in-out infinite alternate; }
.promo--quiz::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .38); }
@keyframes bg-drift { from { transform: scale(1.06) translate3d(-1.5%, 0, 0); } to { transform: scale(1.12) translate3d(1.5%, -1%, 0); } }
/* Smaržas "mākoņi": izpludināti apļi, kas lēni peld (bez gradientiem) */
.scent-orbs { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.scent-orbs span { position: absolute; border-radius: 50%; filter: blur(42px); opacity: .55; animation: orb-float 14s ease-in-out infinite alternate; }
.scent-orbs span:nth-child(1) { width: 220px; height: 220px; background: var(--c-accent); top: -60px; right: -40px; }
.scent-orbs span:nth-child(2) { width: 160px; height: 160px; background: var(--c-accent-line); bottom: -50px; left: 20%; opacity: .35; animation-duration: 18s; animation-delay: -6s; }
.scent-orbs span:nth-child(3) { width: 120px; height: 120px; background: #b07a3a; top: 30%; left: -40px; opacity: .3; animation-duration: 22s; animation-delay: -3s; }
@keyframes orb-float { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-24px, 18px, 0) scale(1.12); } 100% { transform: translate3d(16px, -14px, 0) scale(.94); } }
.scent-orbs--soft { z-index: 0; }
.scent-orbs--soft span { opacity: .14; filter: blur(60px); }
.scent-orbs--soft span:nth-child(1) { top: -80px; right: -60px; }
.quiz__panel > :not(.scent-orbs) { position: relative; z-index: 1; }
.quiz__panel > .quiz__top { position: sticky; z-index: 3; }
.quiz__top { background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.quiz__panel { isolation: isolate; }
.promo__eyebrow { font-size: var(--fs-xs); font-weight: 600; color: var(--c-accent-line); }
.promo--quiz .btn--light { min-height: 48px; padding: 0 22px; transition: transform 200ms ease, background-color 200ms ease; }
.has-quiz { overflow: hidden; }
.quiz { position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center; padding: 16px; }
.quiz__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity 300ms ease; }
.quiz__panel { position: relative; width: min(640px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; background: var(--c-bg); border-radius: 10px; padding: 0 28px 28px; opacity: 0; transform: translate3d(0, 24px, 0) scale(.98); transition: opacity 300ms ease, transform 420ms cubic-bezier(.22, 1, .36, 1); }
.quiz.is-open .quiz__overlay { opacity: 1; }
.quiz.is-open .quiz__panel { opacity: 1; transform: none; }
.quiz__top { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; background: var(--c-bg); padding: 14px 0 10px; }
.quiz__back { grid-column: 1; grid-row: 1; }
.quiz__title { grid-column: 2; grid-row: 1; text-align: center; font-weight: 600; font-size: var(--fs-sm); color: var(--c-muted); }
.quiz__back, .quiz__close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--c-well); display: inline-flex; align-items: center; justify-content: center; }
.quiz__close { grid-column: 3; grid-row: 1; }
.quiz__progress { height: 4px; border-radius: 2px; background: var(--c-line); overflow: hidden; margin-bottom: 26px; }
.quiz__progress span { display: block; height: 100%; width: 0; background: var(--c-ink); transition: width 420ms cubic-bezier(.22, 1, .36, 1); }
.quiz__step.is-in { animation: quiz-in 420ms cubic-bezier(.22, 1, .36, 1); }
.quiz__step.is-back { animation: quiz-back 420ms cubic-bezier(.22, 1, .36, 1); }
@keyframes quiz-in { from { opacity: 0; transform: translate3d(32px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes quiz-back { from { opacity: 0; transform: translate3d(-32px, 0, 0); } to { opacity: 1; transform: none; } }
.quiz__count { font-size: var(--fs-xs); color: var(--c-accent); font-weight: 600; margin-bottom: 6px; }
.quiz__q { font-size: 28px; line-height: 1.15; margin-bottom: 20px; }
.quiz__lead { color: var(--c-text-2); margin: -8px 0 18px; }
.quiz__options { display: grid; gap: 10px; }
.quiz__opt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; min-height: 60px; padding: 14px 18px; border: 1.5px solid var(--c-line); border-radius: 8px; background: var(--c-bg); transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease; }
.quiz__opt:hover { border-color: var(--c-ink); }
.quiz__opt:active { transform: scale(.99); }
.quiz__opt.is-selected { border-color: var(--c-ink); background: var(--c-ink); color: var(--c-bg); }
.quiz__opt.is-selected .quiz__opt-hint { color: var(--c-on-dark-2); }
.quiz__opt-label { font-weight: 600; font-size: 16px; }
.quiz__opt-hint { font-size: var(--fs-xs); color: var(--c-muted); }
.quiz__products { display: grid; gap: 12px; }
.quiz-card { display: grid; grid-template-columns: 88px 1fr; gap: 6px 14px; align-items: center; border: 1px solid var(--c-line); border-radius: 8px; padding: 12px; animation: mc-rise 520ms cubic-bezier(.22, 1, .36, 1) both; }
.quiz-card:nth-child(2) { animation-delay: 70ms; } .quiz-card:nth-child(3) { animation-delay: 140ms; } .quiz-card:nth-child(4) { animation-delay: 210ms; }
.quiz-card__media { grid-row: span 2; display: block; aspect-ratio: 1 / 1; background: var(--c-well); border-radius: 6px; overflow: hidden; }
.quiz-card__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 8px; }
.quiz-card__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.quiz-card__brand, .quiz-card__like { font-size: 12px; color: var(--c-muted); }
.quiz-card__name { font-weight: 700; line-height: 1.25; }
.quiz-card__price { font-weight: 700; margin-top: 2px; }
.quiz-card__vol { font-weight: 400; color: var(--c-muted); font-size: var(--fs-xs); }
.quiz-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.quiz-card__actions .btn--sample { min-height: 38px; padding: 0 14px; }
.quiz-card__link { font-size: var(--fs-sm); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.quiz__end { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 20px; }
.quiz__restart { background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; color: var(--c-muted); min-height: 40px; }
.quiz__empty { color: var(--c-text-2); }
.quiz__loading { display: flex; justify-content: center; gap: 8px; padding: 40px 0; }
.quiz__loading span { width: 10px; height: 10px; border-radius: 50%; background: var(--c-accent); animation: quiz-dot 900ms ease-in-out infinite; }
.quiz__loading span:nth-child(2) { animation-delay: 150ms; } .quiz__loading span:nth-child(3) { animation-delay: 300ms; }
@keyframes quiz-dot { 0%, 80%, 100% { transform: scale(.6); opacity: .4; } 40% { transform: scale(1); opacity: 1; } }
@media (max-width: 600px) {
	.quiz { padding: 0; align-items: flex-end; }
	.quiz__panel { width: 100%; max-height: 92dvh; border-radius: 14px 14px 0 0; padding: 0 16px 24px; transform: translate3d(0, 40px, 0); }
	.quiz__q { font-size: 22px; }
	.quiz-card { grid-template-columns: 72px 1fr; }
}

/* Sīkdatņu paziņojums */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 90; width: min(440px, calc(100% - 32px)); background: var(--c-bg); border: 1px solid var(--c-ink); border-radius: 8px; padding: 18px 18px 16px; opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity 320ms ease, transform 420ms cubic-bezier(.22, 1, .36, 1); }
.consent.is-visible { opacity: 1; transform: none; }
.consent__inner { display: flex; flex-direction: column; gap: 14px; }
.consent h2 { font-size: 16px; margin-bottom: 4px; }
.consent p { font-size: var(--fs-xs); color: var(--c-text-2); line-height: 1.5; }
.consent p a { color: var(--c-ink); text-decoration: underline; text-underline-offset: 2px; }
.consent__details { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.consent__opt { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-xs); color: var(--c-text-2); }
.consent__opt input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--c-ink); flex: 0 0 auto; }
.consent__opt strong { color: var(--c-ink); display: block; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.consent__actions .btn { min-height: 40px; padding: 0 16px; font-size: var(--fs-sm); }
.consent__more { background: none; border: 0; font-size: var(--fs-sm); text-decoration: underline; text-underline-offset: 3px; min-height: 40px; padding: 0 4px; color: var(--c-muted); }
.footer-bottom__btn { background: none; border: 0; padding: 0; min-height: 32px; font-size: inherit; color: var(--f-muted, var(--c-muted)); cursor: pointer; }
.footer-bottom__btn:hover { color: var(--c-accent-line); }
.co-footer .footer-bottom__btn { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
	.consent { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 14px; }
	.consent__actions .btn { flex: 1 1 auto; }
}

/* Responsive */
@media (max-width: 900px) {
	/* iPhone pietuvina lapu, ja ievadlauka fonts ir mazāks par 16px */
	input, select, textarea, .header-search input[type="search"] { font-size: 16px; }
	.story { grid-template-columns: 1fr; }
	.story__inset { right: 12px; }
	.story__text h2 { font-size: 28px; }
	:root { --fs-h1-home: 38px; --fs-h1-archive: 34px; --fs-h1-product: 30px; --fs-h2: 24px; --fs-h2-product: 22px; --section: 48px; --section-product: 56px; }
	.hero__deal-text { padding: 32px 0 8px 28px; padding-right: 28px; }
	.promo { padding: 28px; }
	.archive__filters { position: fixed; inset: 0; z-index: 60; max-width: none; background: var(--c-bg); overflow-y: auto; padding: 24px var(--gutter) 96px; display: none; }
	.archive__filters.is-open { display: block; }
	.archive__filters .filters__actions { position: fixed; left: 0; right: 0; bottom: 0; background: var(--c-bg); border-top: 1px solid var(--c-line); padding: 12px var(--gutter); }
	.archive__filters .filters__apply { flex: 1; }
	.filters-toggle { display: inline-flex; }
	.has-filters { overflow: hidden; }
	.archive__filters { padding-top: 0; animation: none; }
	.archive__filters.is-open { animation: filters-in 360ms cubic-bezier(.22, 1, .36, 1); }
	.filters-head { display: flex; position: sticky; top: 0; z-index: 2; justify-content: space-between; align-items: center; background: var(--c-bg); border-bottom: 1px solid var(--c-line); margin: 0 calc(-1 * var(--gutter)) 20px; padding: 12px var(--gutter); }
	.filters-head__title { font-size: 20px; font-weight: 700; }
	.filters-head__close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: var(--c-well); border: 0; border-radius: 50%; }
	.archive__filters .filters__actions { z-index: 2; }
	.ordering { margin-left: 0; }
}
@media (max-width: 600px) {
	:root { --gutter: 16px; }
	.archive__head { padding: 16px 0 4px; gap: 8px; }
	.archive__desc { font-size: var(--fs-body); }
	.chips--switch { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 20px; margin-right: calc(-1 * var(--gutter)); scrollbar-width: none; }
	.chips--switch li { flex: 0 0 auto; }
	.site-header__inner { gap: 12px 16px; padding-block: 14px; }
	.header-search { order: 3; flex-basis: 100%; max-height: 60px; transition: max-height 320ms cubic-bezier(.22, 1, .36, 1), opacity 220ms ease, margin 320ms ease; }
	.site-header.is-stuck .header-search { max-height: 0; opacity: 0; overflow: hidden; margin-top: -12px; pointer-events: none; }
	.site-header.is-stuck .header-search:focus-within { max-height: 60px; opacity: 1; margin-top: 0; pointer-events: auto; }
	.header-actions { margin-left: auto; gap: 16px; }
	.header-actions__link > span:not(.header-cart__count) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.main-nav__list { gap: 24px; }
	.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
	/* Sākumlapas un līdzīgo smaržu rindas telefonā: horizontāli pārvelkamas, lai lapa nav bezgalīgi gara */
	.product-grid--row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
	.product-grid--row::-webkit-scrollbar { display: none; }
	.product-grid--row > li { flex: 0 0 44%; scroll-snap-align: start; }
	.moods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mood { min-height: 0; }
	.mood__name { padding: 12px 12px 0; }
	.mood__desc { padding: 2px 12px 0; }
	.mood__count { padding: 8px 12px 12px; }
	.groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.group-tile { aspect-ratio: 4 / 5; }
	.promo--media > :not(.promo__media) { max-width: 70%; }
	.mood__name { font-size: 20px; }
	.btn--sample { font-size: var(--fs-xs); padding: 0 8px; }
	.notes__row { grid-template-columns: 1fr; gap: 8px; }
	.info-table { grid-template-columns: 120px 1fr; }
	.props { grid-template-columns: 100px 1fr; }
	.topbar__inner { justify-content: center; text-align: center; }
}
