/*
 * 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; }
html { -webkit-text-size-adjust: 100%; }
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--primary:hover { color: var(--c-bg); background: #222; }
.btn--light { background: var(--c-bg); color: var(--c-ink); }
.btn--light:hover { color: var(--c-ink); background: var(--c-well); }
.btn--outline { background: var(--c-bg); border-color: var(--c-ink); color: var(--c-ink); }
.btn--outline:hover { background: var(--c-well); 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--sample:hover { border-color: var(--c-accent); color: var(--c-accent); }
.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 { background: var(--c-ok); border-color: var(--c-ok); color: var(--c-bg); }

/* 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); }

/* Header */
.site-header { 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; }

/* 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%; 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__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: var(--fs-h1-home); line-height: 1.05; }
.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__cta:hover { transform: translateY(-1px); }
.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); }

/* 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); }

/* 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__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); }
.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__main img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.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 select { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.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:hover { background: #222; }
.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; }

/* 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-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%; }
}


/* 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%); 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.is-entering .ship-progress__bar span { transform-origin: left center; animation: mc-fill 900ms var(--mc-ease) 260ms both; }
.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); }
.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; padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 20px; }
.minicart__empty { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.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__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; border-top: 1px solid var(--c-ink); padding-top: 16px; margin-top: auto; }
.minicart__actions { display: flex; flex-direction: column; gap: 8px; }

/* Bezmaksas piegādes progress */
.ship-progress { background: var(--c-well); border-radius: var(--r-block); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; font-size: var(--fs-sm); }
.ship-progress__bar { display: block; height: 6px; border-radius: 3px; background: var(--c-line); overflow: hidden; }
.ship-progress__bar span { display: block; height: 100%; background: var(--c-ok); transition: width 600ms cubic-bezier(.22, 1, .36, 1); }

/* 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-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 32px 56px; align-items: start; }
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
.woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; }
.woocommerce-checkout #order_review_heading { grid-column: 2; font-size: 20px; margin: 0; }
.woocommerce-checkout #order_review { grid-column: 2; background: var(--c-well); border-radius: var(--r-block); padding: 24px; }
.woocommerce-checkout #customer_details h3 { font-size: 20px; margin: 0 0 16px; }
.woocommerce-checkout .col2-set .col-2 { margin-top: 24px; }
.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, .woocommerce-checkout form.checkout { grid-template-columns: 1fr; }
	.woocommerce-checkout #customer_details, .woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review { grid-column: 1; grid-row: auto; }
	.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; }
	.minicart__body, .minicart__head { padding-inline: 16px; }
}

/* Responsive */
@media (max-width: 900px) {
	.story { grid-template-columns: 1fr; }
	.story__inset { right: 12px; }
	.story__text h2 { font-size: 28px; }
	.archive__head--media { grid-template-columns: 1fr; }
	.archive__head-media { order: -1; }
	: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; }
	.archive__filters.is-open + .archive__main .filters-toggle { position: fixed; top: 12px; right: var(--gutter); z-index: 61; }
	.ordering { margin-left: 0; }
}
@media (max-width: 600px) {
	:root { --gutter: 16px; }
	.site-header__inner { gap: 12px 16px; padding-block: 14px; }
	.header-search { order: 3; flex-basis: 100%; }
	.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, .product-grid--row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
	.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; }
}
