/* ============================================================
   BEEBIKAUBAMAJA — main.css
   1  Tokenid ja lähtestus      7  Tootekaardid
   2  Tüpograafia               8  Esilehe sektsioonid
   3  Nupud ja vormid           9  Uudiskiri ja jalus
   4  Päis, otsing, sahtlid    10  WooCommerce
   5  Hero                     11  Blogi ja sisulehed
   6  Sektsioonid              12  Responsiivsus
   ========================================================== */

/* ============================================================
   1. TOKENID JA LÄHTESTUS
   ========================================================== */

:root {
	/* Alus: pehme roosa paber, soe ploomjas tint */
	--paper:   #FFF6F4;
	--paper-2: #FDE9E5;
	--paper-3: #FBDBD5;
	--ink:     #3A2430;
	--ink-2:   #6B4F5C;
	--ink-3:   #9C8189;
	--line:    #F5D9D3;
	--line-2:  #E8BDB4;

	/* Aktsent: vaarikas. Tokeni nimi on ajalooline (--clay), väärtus on roosa. */
	--clay:    #D2496B;
	--clay-d:  #B23A58;
	--sage:    #5FB79B;
	--ok:      #3E8A6B;
	--err:     #C2334E;
	--white:   #FFF;

	/* Mänguline lisapalett — kategooriaruudud, vanusenupud */
	--c-roosa:     #FFC9D6;
	--c-piparmunt: #B6E7D4;
	--c-voi:       #FFE29B;
	--c-taevas:    #B5DCF5;
	--c-lilla:     #D8C6F0;
	--c-virsik:    #FFC5A8;

	/* Tumedad alad (jalus, „miks meie") — soe ploom, mitte must */
	--dark:      #3A2430;
	--dark-line: #573C4A;
	--dark-txt:  #C6A9B7;
	--dark-txt2: #D7BCC8;

	--ff-display: "Poppins", "Avenir Next", "Segoe UI", sans-serif;
	--ff-text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	/* NB! --ff-mono ei ole enam mono — sildid on tavalises sansis.
	   Päris mono on --ff-code (ainult <code> jaoks). */
	--ff-mono: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--ff-code: ui-monospace, SFMono-Regular, Menlo, monospace;

	--r:   16px;
	--r-s: 10px;
	--wrap: 1300px;
	--gut: 28px;
	--head-h: 74px;
	--ease: cubic-bezier(.2, .7, .3, 1);
}

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

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

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--ff-text);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--clay);
	outline-offset: 3px;
}

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

.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.hp { position: absolute; left: -9999px; }

.skip {
	position: absolute; left: -9999px; top: 0; z-index: 200;
	background: var(--ink); color: var(--paper); padding: 12px 20px;
}
.skip:focus { left: 12px; top: 12px; }

.ico { flex: none; }

/* Ilmumisanimatsioon */
.rv { animation: rv .7s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rv { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

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

/* ============================================================
   2. TÜPOGRAAFIA
   ========================================================== */

h1, h2, h3, h4 {
	font-family: var(--ff-display);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -.018em;
	margin: 0 0 .5em;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 2.9vw, 2.5rem); }
h3 { font-size: 1.2rem; line-height: 1.25; }

h1 em, h2 em { font-style: normal; color: var(--clay); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }

.label {
	display: inline-block;
	font-family: var(--ff-mono);
	font-size: .688rem;
	font-weight: 600;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--ink-3);
	line-height: 1.4;
}

/* ============================================================
   3. NUPUD JA VORMID
   ========================================================== */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	padding: 14px 24px;
	border: 1px solid var(--ink);
	border-radius: var(--r);
	background: transparent;
	font-size: .875rem; font-weight: 500; letter-spacing: .01em;
	line-height: 1.2;
	cursor: pointer;
	transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico-arrow { transform: translateX(4px); }

.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--clay); border-color: var(--clay); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); background: var(--paper-2); }

.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: var(--clay); border-color: var(--clay); color: var(--paper); }

.btn-sm { padding: 10px 16px; font-size: .8125rem; }
.btn-block { width: 100%; }

.icon-btn {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px;
	border: 0; background: transparent; cursor: pointer;
	border-radius: var(--r);
	transition: background .2s var(--ease);
}
.icon-btn:hover { background: var(--paper-2); }

/* Hamburger on ainult seal, kus peamenüü ei mahu (vt 1120px murdepunkt) */
.nav-toggle { display: none; }

input[type=text], input[type=email], input[type=search], input[type=tel],
input[type=password], input[type=number], textarea, select {
	width: 100%;
	padding: 12px 14px;
	background: var(--white);
	border: 1px solid var(--line-2);
	border-radius: var(--r-s);
	font-family: inherit; font-size: .9375rem; color: var(--ink);
	transition: border-color .2s var(--ease);
}
input:focus, textarea:focus, select:focus { border-color: var(--ink); outline: none; }
::placeholder { color: var(--ink-3); opacity: 1; }

select {
	appearance: none;
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%239C8189' stroke-width='1.6'%3E%3Cpath d='m3 5 4 4 4-4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 38px;
}

.form-msg { margin-top: 10px; font-size: .875rem; }
.form-msg.is-ok  { color: var(--ok); }
.form-msg.is-err { color: var(--err); }

/* ============================================================
   4. PÄIS, OTSING, SAHTLID
   ========================================================== */

.topbar {
	background: var(--clay);
	color: #FFE7EC;
	font-family: var(--ff-mono);
	font-size: .688rem;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 20px; }
.topbar-list { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.topbar-list li { position: relative; }
.topbar-list li + li::before {
	content: ""; position: absolute; left: -14px; top: 50%;
	width: 3px; height: 3px; border-radius: 50%; background: rgb(255 255 255 / .55); transform: translateY(-50%);
}
.topbar-right { display: flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--white); }

.site-header {
	position: sticky; top: 0; z-index: 60;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
	transition: box-shadow .25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 1px 0 var(--line), 0 8px 24px -18px rgb(27 25 19 / .5); }

.header-inner {
	display: flex; align-items: center; gap: 18px;
	min-height: var(--head-h);
}

.brand { flex: none; margin-right: 8px; }
.wordmark {
	font-family: var(--ff-display);
	font-size: 1.4rem; letter-spacing: -.025em; line-height: 1;
	display: inline-flex; align-items: baseline;
}
.wordmark .wm-1 { font-weight: 600; }
.wordmark .wm-2 { font-weight: 400; font-style: normal; color: var(--clay); }
.custom-logo { max-height: 44px; width: auto; }

.main-nav { flex: 1; }
.nav-list {
	display: flex; align-items: center; gap: 4px;
	margin: 0; padding: 0; list-style: none;
}
.nav-list > li { position: relative; }
.nav-list > li > a {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 10px 12px;
	font-size: .875rem; font-weight: 500;
	white-space: nowrap;
	position: relative;
}
.nav-list > li > a::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px;
	height: 1px; background: var(--ink);
	transform: scaleX(0); transform-origin: left;
	transition: transform .28s var(--ease);
}
.nav-list > li > a:hover::after,
.nav-list > .current-menu-item > a::after { transform: scaleX(1); }
.nav-list > li.is-accent > a,
.nav-list > li.menu-item-soodus > a { color: var(--clay); }

/* Alammenüü */
.nav-list .sub-menu {
	position: absolute; top: 100%; left: 0; z-index: 5;
	min-width: 230px; margin: 0; padding: 10px 0; list-style: none;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r);
	box-shadow: 0 18px 40px -28px rgb(27 25 19 / .6);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav-list > li:hover > .sub-menu,
.nav-list > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 9px 18px; font-size: .875rem; }
.sub-menu a:hover { background: var(--paper-2); color: var(--clay); }

.header-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }

.cart-btn .cart-count {
	position: absolute; top: 4px; right: 3px;
	min-width: 18px; height: 18px; padding: 0 4px;
	display: grid; place-items: center;
	background: var(--paper-3); color: var(--ink);
	border-radius: 9px;
	font-family: var(--ff-mono); font-size: .625rem; font-weight: 500;
}
.cart-btn .cart-count.is-full { background: var(--clay); color: var(--paper); }

/* Otsingupaneel */
.search-panel { border-top: 1px solid var(--line); background: var(--paper-2); }
.search-panel[hidden] { display: none; }
.search-inner { padding: 22px 28px 24px; }
.search-form { display: flex; align-items: center; gap: 12px; }
.search-form .ico-search { color: var(--ink-3); }
.search-form input[type=search] {
	flex: 1; border: 0; border-bottom: 1px solid var(--line-2);
	background: transparent; border-radius: 0;
	font-family: var(--ff-display); font-size: 1.35rem; padding: 8px 0;
}
.search-form input[type=search]:focus { border-color: var(--ink); }
.search-hints { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 14px 0 0; }
.search-hints a {
	font-size: .8125rem; color: var(--ink-2);
	border-bottom: 1px solid var(--line-2); padding-bottom: 1px;
}
.search-hints a:hover { color: var(--clay); border-color: var(--clay); }

/* Sahtlid */
.drawer { position: fixed; inset: 0; z-index: 120; visibility: hidden; }
.drawer[aria-hidden="false"] { visibility: visible; }
.drawer-veil {
	position: absolute; inset: 0; background: rgb(27 25 19 / .45);
	opacity: 0; transition: opacity .3s var(--ease);
}
.drawer[aria-hidden="false"] .drawer-veil { opacity: 1; }
.drawer-panel {
	position: absolute; top: 0; right: 0; bottom: 0;
	width: min(430px, 100%);
	display: flex; flex-direction: column;
	background: var(--paper);
	transform: translateX(100%);
	transition: transform .36s var(--ease);
}
.drawer-left .drawer-panel { right: auto; left: 0; transform: translateX(-100%); }
.drawer[aria-hidden="false"] .drawer-panel { transform: none; }

.drawer-head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 18px 22px; border-bottom: 1px solid var(--line); flex: none;
}
.drawer-x { border: 0; background: transparent; cursor: pointer; padding: 6px; margin: -6px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 22px; }

.mnav-list { list-style: none; margin: 0; padding: 0; }
.mnav-list > li { border-bottom: 1px solid var(--line); }
.mnav-list > li > a {
	display: flex; align-items: center; justify-content: space-between;
	padding: 16px 2px;
	font-family: var(--ff-display); font-size: 1.28rem;
}
.mnav-list > li { position: relative; }
.mnav-toggle {
	position: absolute; top: 8px; right: 0;
	width: 38px; height: 38px;
	display: grid; place-items: center;
	border: 1px solid var(--line); border-radius: var(--r);
	background: transparent; cursor: pointer;
	font-family: var(--ff-mono); font-size: 1rem; line-height: 1; color: var(--ink-2);
}
.mnav-list > li:has(.mnav-toggle) > a .ico { display: none; }
.mnav-list .sub-menu { list-style: none; margin: 0 0 12px; padding: 0 0 0 2px; }
.mnav-list .sub-menu a { display: block; padding: 7px 0; font-size: .9375rem; color: var(--ink-2); }
.mnav-foot { margin-top: 26px; }
.mnav-contact { margin-top: 16px; font-size: .875rem; color: var(--ink-2); line-height: 1.9; }

/* ============================================================
   5. HERO
   ========================================================== */

.hero { padding: clamp(40px, 6vw, 76px) 0 clamp(36px, 4vw, 56px); }
.hero-grid {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
	gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero-copy .label { margin-bottom: 22px; }
.hero-copy h1 { margin-bottom: 24px; }
.hero-lead {
	max-width: 46ch; font-size: 1.0625rem; color: var(--ink-2); line-height: 1.7;
	margin-bottom: 30px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.hero-facts {
	display: flex; gap: 0; margin: 0;
	border-top: 1px solid var(--line);
}
.hero-facts > div {
	flex: 1; padding: 18px 20px 0 0;
}
.hero-facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.hero-facts dt {
	font-family: var(--ff-mono); font-size: .625rem; letter-spacing: .16em;
	text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px;
}
.hero-facts dd { margin: 0; font-family: var(--ff-display); font-size: 1.6rem; line-height: 1; }

.hero-media { margin: 0; position: relative; }
.hero-img {
	width: 100%; aspect-ratio: 6 / 7; object-fit: cover;
	border-radius: var(--r);
}
.hero-media figcaption {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--line);
}
.hero-media figcaption a {
	display: inline-flex; align-items: center; gap: 7px;
	font-size: .8125rem; font-weight: 500;
}
.hero-media figcaption a:hover { color: var(--clay); }
.hero-media figcaption a:hover .ico { transform: translateX(4px); }
.hero-media figcaption .ico { transition: transform .25s var(--ease); }

/* Lubaduste riba */
.usp { border-block: 1px solid var(--line); background: var(--paper-2); }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.usp-item {
	display: flex; align-items: center; gap: 14px;
	padding: 22px 26px 22px 0;
	color: var(--ink-2);
}
.usp-item + .usp-item { padding-left: 26px; border-left: 1px solid var(--line); }
.usp-item .ico { color: var(--clay); }
.usp-item span { display: flex; flex-direction: column; }
.usp-item strong { font-size: .9375rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.usp-item em {
	font-family: var(--ff-mono); font-style: normal; font-size: .688rem;
	letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px;
}

/* ============================================================
   6. SEKTSIOONID
   ========================================================== */

.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-tight { padding-block: clamp(44px, 5vw, 72px); }

.sec-head {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
	padding-bottom: 22px; margin-bottom: 34px;
	border-bottom: 1px solid var(--line);
}
.sec-head .label { margin-bottom: 10px; }
.sec-head h2 { margin: 0; }
.sec-link {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: .875rem; font-weight: 500; white-space: nowrap; padding-bottom: 4px;
}
.sec-link .ico { transition: transform .25s var(--ease); }
.sec-link:hover { color: var(--clay); }
.sec-link:hover .ico { transform: translateX(4px); }

/* Kategooriad */
.cat-grid {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
	list-style: none; margin: 0; padding: 0;
	background: var(--line);
	border: 1px solid var(--line);
}
.cat-tile { background: var(--paper); }
.cat-tile > a {
	position: relative; display: block; height: 100%;
	padding: 22px;
	transition: background .25s var(--ease);
}
.cat-tile > a:hover { background: var(--paper-2); }
.cat-tile .num {
	position: absolute; top: 18px; right: 20px; z-index: 2;
	font-family: var(--ff-mono); font-size: .688rem; letter-spacing: .12em; color: var(--ink-3);
}
.cat-art { display: block; overflow: hidden; border-radius: var(--r); background: var(--paper-3); }
.cat-art img {
	width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
	transition: transform .5s var(--ease);
}
.cat-tile > a:hover .cat-art img { transform: scale(1.035); }
.cat-meta { display: block; padding-top: 16px; }
.cat-meta strong { display: block; font-family: var(--ff-display); font-size: 1.22rem; line-height: 1.15; }
.cat-meta em {
	display: block; font-style: normal; font-size: .8125rem; color: var(--ink-2); margin-top: 4px;
}
.cat-count {
	display: flex; align-items: center; justify-content: space-between;
	margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line);
	font-family: var(--ff-mono); font-size: .688rem; letter-spacing: .09em;
	text-transform: uppercase; color: var(--ink-3);
}
.cat-tile > a:hover .cat-count { color: var(--clay); }
.cat-tile > a:hover .cat-count .ico { transform: translateX(4px); }
.cat-count .ico { transition: transform .25s var(--ease); }

/* Vanuse järgi */
.ages { border-block: 1px solid var(--line); background: var(--paper-2); }
.ages-inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 32px; padding-block: 30px; flex-wrap: wrap;
}
.ages-title { margin: 0; font-size: 1.5rem; display: flex; flex-direction: column; gap: 8px; }
.age-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.age-list a {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	min-width: 96px; padding: 12px 18px;
	background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r);
	transition: border-color .2s var(--ease), background .2s var(--ease);
}
.age-list a:hover { border-color: var(--ink); background: var(--paper); }
.age-list strong { font-family: var(--ff-display); font-size: 1.25rem; line-height: 1; }
.age-list em {
	font-family: var(--ff-mono); font-style: normal; font-size: .625rem;
	letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 5px;
}

/* Miks meie — tume ala */
.promise { background: var(--ink); color: var(--paper-2); padding: clamp(56px, 7vw, 100px) 0; }
.promise-grid {
	display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
	gap: clamp(32px, 5vw, 76px);
}
.promise-head .label { color: var(--ink-3); margin-bottom: 18px; }
.promise-head h2 { color: var(--paper); margin-bottom: 18px; }
.promise-head p { color: var(--dark-txt); max-width: 40ch; margin-bottom: 26px; }

.promise-list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.promise-list li {
	display: grid; grid-template-columns: 62px 1fr; gap: 20px;
	padding: 22px 0;
	border-top: 1px solid var(--dark-line);
}
.promise-list li:last-child { border-bottom: 1px solid var(--dark-line); }
.promise-list .num {
	font-family: var(--ff-mono); font-size: .75rem; letter-spacing: .12em;
	color: var(--clay); padding-top: 5px;
}
.promise-list h3 { color: var(--paper); font-size: 1.28rem; margin-bottom: 7px; }
.promise-list p { color: var(--dark-txt); font-size: .9375rem; margin: 0; }

/* Brändid */
.brands { border-block: 1px solid var(--line); padding: 30px 0; }
.brands-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.brand-list {
	display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
	list-style: none; margin: 0; padding: 0; background: var(--line);
	border: 1px solid var(--line);
}
.brand-list a {
	display: grid; place-items: center; height: 74px; padding: 10px;
	background: var(--paper);
	font-family: var(--ff-display); font-size: 1.05rem; letter-spacing: -.01em;
	color: var(--ink-2); text-align: center;
	transition: background .2s var(--ease), color .2s var(--ease);
}
.brand-list a:hover { background: var(--paper-2); color: var(--clay); }

/* Arvustused */
.review-list {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
	list-style: none; margin: 0; padding: 0;
	background: var(--paper);
}
.review-list li {
	outline: 1px solid var(--line);
	background: var(--paper); padding: 30px 28px;
	display: flex; flex-direction: column;
}
.stars { display: flex; gap: 3px; color: var(--clay); margin-bottom: 16px; }
.stars .ico { fill: currentColor; stroke-width: 1; }
.review-list blockquote {
	margin: 0 0 20px;
	font-family: var(--ff-display); font-size: 1.15rem; line-height: 1.42;
	flex: 1;
}
.review-list footer {
	display: flex; align-items: baseline; gap: 10px;
	padding-top: 14px; border-top: 1px solid var(--line);
}
.review-list footer strong { font-size: .875rem; font-weight: 600; }
.review-list footer span {
	font-family: var(--ff-mono); font-size: .688rem; letter-spacing: .1em;
	text-transform: uppercase; color: var(--ink-3);
}

/* Nõuanded */
.journal-list {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
	list-style: none; margin: 0; padding: 0; background: var(--paper);
	border-block: 1px solid var(--line);
}
.journal-list li { background: var(--paper); outline: 1px solid var(--line); }
.journal-list a {
	display: flex; flex-direction: column; height: 100%;
	padding: 30px 28px;
	transition: background .25s var(--ease);
}
.journal-list a:hover { background: var(--paper-2); }
.journal-list .label { margin-bottom: 16px; color: var(--clay); }
.journal-list h3 {
	font-size: 1.32rem; line-height: 1.25; margin: 0 0 22px; flex: 1;
}
.jmeta {
	display: flex; align-items: center; justify-content: space-between;
	padding-top: 14px; border-top: 1px solid var(--line);
	font-family: var(--ff-mono); font-size: .688rem; letter-spacing: .09em;
	text-transform: uppercase; color: var(--ink-3);
}
.journal-list a:hover .jmeta .ico { transform: translateX(4px); }
.jmeta .ico { transition: transform .25s var(--ease); }

/* Kinkekaardi riba */
.giftband { background: var(--paper-3); border-top: 1px solid var(--line); }
.giftband-inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 32px; padding-block: clamp(38px, 5vw, 60px); flex-wrap: wrap;
}
.giftband h2 { margin: 10px 0 10px; }
.giftband p { max-width: 52ch; color: var(--ink-2); margin: 0; }

/* ============================================================
   7. TOOTEKAARDID
   ========================================================== */

ul.products {
	display: grid; gap: 1px;
	list-style: none; margin: 0; padding: 0;
	/* Taust on paber, mitte joonevärv — muidu paistavad tühjad ruudustiku
	   lahtrid (nt kui kategoorias on 2 toodet 4 veeru kohta) suure plokina.
	   Juuksekarvjooned tulevad kaartide enda outline'ist, mis mahub 1px vahesse. */
	background: var(--paper);
}
ul.products.grid-4, ul.products.columns-4 { grid-template-columns: repeat(4, 1fr); }
ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
ul.products.columns-2 { grid-template-columns: repeat(2, 1fr); }
ul.products::before, ul.products::after { display: none !important; }

ul.products li.product {
	position: relative; display: flex; flex-direction: column;
	background: var(--paper); padding: 16px 16px 18px;
	width: auto !important; margin: 0 !important; float: none !important;
	outline: 1px solid var(--line);
	transition: background .25s var(--ease);
}
ul.products li.product:hover { background: var(--paper-2); }

.card-media {
	position: relative; display: block; overflow: hidden;
	background: var(--paper-3); border-radius: var(--r);
}
.card-media .card-img {
	width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
	transition: transform .55s var(--ease), opacity .35s var(--ease);
}
.card-img-alt { position: absolute; inset: 0; opacity: 0; }
li.product:hover .card-img-alt { opacity: 1; }
li.product:hover .card-img { transform: scale(1.035); }

.card-flags { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; z-index: 2; }
.flag {
	display: inline-block; padding: 4px 8px;
	font-family: var(--ff-mono); font-size: .625rem; font-weight: 500;
	letter-spacing: .1em; text-transform: uppercase;
	border-radius: var(--r);
}
.flag-sale { background: var(--clay); color: var(--paper); }
.flag-new  { background: var(--ink); color: var(--paper); }
.flag-out  { background: var(--paper); color: var(--ink-2); border: 1px solid var(--line-2); }

.card-body { padding-top: 15px; flex: 1; display: flex; flex-direction: column; }
.card-brand {
	font-family: var(--ff-mono); font-size: .625rem; letter-spacing: .13em;
	text-transform: uppercase; color: var(--ink-3); margin-bottom: 7px;
}
.card-title {
	font-family: var(--ff-text); font-weight: 500; font-size: .9375rem;
	line-height: 1.4; letter-spacing: 0; margin: 0 0 10px; flex: 1;
}
.card-title a:hover { color: var(--clay); }
.card-price {
	font-family: var(--ff-display); font-size: 1.15rem; line-height: 1;
	display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.card-price del { color: var(--ink-3); font-size: .875rem; text-decoration-thickness: 1px; }
.card-price ins { text-decoration: none; color: var(--clay); }
.card-price .woocommerce-Price-amount { white-space: nowrap; }

.card-foot { margin-top: 14px; }
.card-foot .btn-card, ul.products li.product .button {
	display: block; width: 100%; text-align: center;
	padding: 11px 14px;
	border: 1px solid var(--line-2); border-radius: var(--r);
	background: transparent; color: var(--ink);
	font-family: var(--ff-text); font-size: .8125rem; font-weight: 500;
	letter-spacing: .02em; cursor: pointer;
	transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.card-foot .btn-card:hover, ul.products li.product .button:hover {
	background: var(--ink); border-color: var(--ink); color: var(--paper);
}
ul.products li.product .button.loading { opacity: .6; }
ul.products li.product .added_to_cart {
	display: block; text-align: center; margin-top: 8px;
	font-family: var(--ff-mono); font-size: .688rem; letter-spacing: .1em;
	text-transform: uppercase; color: var(--clay);
}
li.product.is-demo .btn-card { cursor: default; }

/* ============================================================
   8. UUDISKIRI JA JALUS
   ========================================================== */

.news { background: var(--paper-2); border-top: 1px solid var(--line); }
.news-grid {
	display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: clamp(30px, 5vw, 72px); align-items: center;
	padding-block: clamp(46px, 6vw, 76px);
}
.news-copy .label { margin-bottom: 14px; }
.news-copy h2 { max-width: 22ch; margin-bottom: 14px; }
.news-copy p { color: var(--ink-2); max-width: 48ch; margin: 0; }
.news-row { display: flex; gap: 10px; }
.news-row input { flex: 1; padding: 15px 16px; }
.news-row .btn { flex: none; }
.news-fine { margin: 12px 0 0; font-size: .75rem; color: var(--ink-3); }
.news-fine a { border-bottom: 1px solid var(--line-2); }

.site-footer {
	background: var(--ink); color: var(--dark-txt);
	padding: clamp(48px, 6vw, 76px) 0 26px;
	font-size: .875rem;
}
.foot-grid {
	display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 40px; padding-bottom: 44px;
}
.foot-brand .wordmark { color: var(--paper); font-size: 1.35rem; margin-bottom: 16px; }
.foot-brand .wm-2 { color: var(--clay); }
.foot-pitch { max-width: 34ch; margin-bottom: 20px; line-height: 1.7; }
.foot-contact { list-style: none; margin: 0; padding: 0; }
.foot-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.foot-contact .ico { color: var(--ink-3); margin-top: 3px; }
.foot-contact a:hover { color: var(--paper); }

.foot-h {
	font-family: var(--ff-mono); font-size: .688rem; font-weight: 500;
	letter-spacing: .16em; text-transform: uppercase; color: var(--paper);
	margin: 0 0 16px;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 9px; }
.foot-col a:hover { color: var(--paper); }

.foot-pay {
	display: flex; flex-wrap: wrap; gap: 34px;
	padding: 26px 0; border-top: 1px solid var(--dark-line);
}
.pay-group { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pay-group .label { color: var(--ink-3); }
.pay-group ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pay-group li {
	padding: 5px 10px; border: 1px solid var(--dark-line); border-radius: var(--r-s);
	font-size: .75rem; color: var(--dark-txt2);
}

.foot-bottom {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 14px; padding-top: 22px; border-top: 1px solid var(--dark-line);
	font-size: .8125rem; color: var(--ink-3);
}
.foot-bottom p { margin: 0; }
.foot-legal { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.foot-legal a:hover { color: var(--paper); }

/* ============================================================
   9. WOOCOMMERCE
   ========================================================== */

/* Kataloogi päis */
.cat-head { padding: 26px 0 30px; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.crumbs {
	font-family: var(--ff-mono); font-size: .688rem; letter-spacing: .1em;
	text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px;
}
.crumbs a:hover { color: var(--clay); }
.crumbs .sep { padding: 0 8px; color: var(--line-2); }
.cat-head-grid {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; flex-wrap: wrap;
}
.cat-title { margin: 0; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.cat-desc { max-width: 60ch; color: var(--ink-2); margin-top: 12px; }
.shop-toolbar {
	display: flex; align-items: center; justify-content: space-between;
	gap: 18px; flex-wrap: wrap;
	padding-bottom: 18px; margin-bottom: 26px;
	border-bottom: 1px solid var(--line);
}
.cat-head-meta { display: flex; align-items: center; gap: 18px; }
.woocommerce-result-count {
	margin: 0; font-family: var(--ff-mono); font-size: .688rem;
	letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
}
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select { min-width: 210px; padding: 10px 38px 10px 14px; font-size: .8125rem; }

.woo-main { padding-bottom: clamp(56px, 7vw, 90px); }

/* Teated */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	list-style: none; margin: 0 0 24px; padding: 15px 18px;
	background: var(--paper-2); border: 1px solid var(--line);
	border-left: 2px solid var(--clay); border-radius: var(--r);
	font-size: .9375rem;
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.woocommerce-error { border-left-color: var(--err); }
.woocommerce-message .button, .woocommerce-info .button {
	order: 2; padding: 9px 16px; border: 1px solid var(--ink); background: transparent;
	border-radius: var(--r); font-size: .8125rem;
}

/* Leheküljed */
.woocommerce-pagination { margin-top: 44px; }
.woocommerce-pagination ul {
	display: flex; gap: 6px; list-style: none; margin: 0; padding: 0;
	justify-content: center; border: 0 !important;
}
.woocommerce-pagination li { border: 0 !important; }
.woocommerce-pagination a, .woocommerce-pagination span {
	display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px;
	border: 1px solid var(--line); border-radius: var(--r);
	font-family: var(--ff-mono); font-size: .8125rem;
}
.woocommerce-pagination .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.woocommerce-pagination a:hover { border-color: var(--ink); }

/* Üksiktoode */
.product-single { padding: 30px 0 clamp(56px, 7vw, 90px); }
.product-single div.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(30px, 4vw, 64px); }
.product-single div.product .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; }
.product-single div.product .summary { width: 100% !important; float: none !important; margin: 0 !important; }
.product-single div.product .woocommerce-tabs,
.product-single div.product .related,
.product-single div.product .up-sells { grid-column: 1 / -1; }

.woocommerce-product-gallery__image img { border-radius: var(--r); }
.flex-control-thumbs { display: flex; gap: 8px; list-style: none; margin: 10px 0 0; padding: 0; }
.flex-control-thumbs li { width: 84px; }
.flex-control-thumbs img { border-radius: var(--r); cursor: pointer; opacity: .6; }
.flex-control-thumbs img.flex-active, .flex-control-thumbs img:hover { opacity: 1; }

.summary .product_title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 14px; }
.summary .price {
	font-family: var(--ff-display); font-size: 1.75rem; line-height: 1;
	display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
	margin: 0 0 20px; color: var(--ink);
}
.summary .price del { color: var(--ink-3); font-size: 1.15rem; }
.summary .price ins { text-decoration: none; color: var(--clay); }
.summary .woocommerce-product-details__short-description { color: var(--ink-2); margin-bottom: 24px; }

.quantity { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r); }
.quantity input.qty {
	width: 54px; border: 0; text-align: center; padding: 12px 0;
	-moz-appearance: textfield; background: transparent;
}
.quantity input.qty::-webkit-outer-spin-button,
.quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn {
	display: grid; place-items: center; width: 38px; height: 44px;
	border: 0; background: transparent; cursor: pointer; color: var(--ink-2);
}
.qty-btn:hover { color: var(--ink); }

form.cart { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 26px !important; }
.single_add_to_cart_button {
	flex: 1; min-width: 220px;
	padding: 15px 26px; border: 1px solid var(--ink); border-radius: var(--r);
	background: var(--ink); color: var(--paper);
	font-family: var(--ff-text); font-size: .9375rem; font-weight: 500; cursor: pointer;
	transition: background .2s var(--ease), border-color .2s var(--ease);
}
.single_add_to_cart_button:hover { background: var(--clay); border-color: var(--clay); }

.variations { width: 100%; margin-bottom: 18px; }
.variations th { text-align: left; padding: 8px 0; font-size: .8125rem; font-weight: 500; }
.variations td { padding: 8px 0 8px 14px; }
.reset_variations { font-size: .75rem; color: var(--ink-3); }

.prod-trust { list-style: none; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.prod-trust li { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 15px; }
.prod-trust .ico { color: var(--clay); margin-top: 2px; }
.prod-trust span { display: flex; flex-direction: column; font-size: .875rem; color: var(--ink-3); }
.prod-trust strong { font-size: .9375rem; font-weight: 600; color: var(--ink); }

.product_meta {
	margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
	font-family: var(--ff-mono); font-size: .688rem; letter-spacing: .08em;
	text-transform: uppercase; color: var(--ink-3);
}
.product_meta > span { display: block; margin-bottom: 6px; }
.product_meta a:hover { color: var(--clay); }

/* Sakid */
.woocommerce-tabs { margin-top: clamp(44px, 5vw, 70px); }
.woocommerce-tabs ul.tabs {
	display: flex; gap: 0; list-style: none; margin: 0 0 28px; padding: 0;
	border-bottom: 1px solid var(--line);
}
.woocommerce-tabs ul.tabs li a {
	display: block; padding: 14px 22px 14px 0; margin-right: 22px;
	font-family: var(--ff-mono); font-size: .75rem; letter-spacing: .12em;
	text-transform: uppercase; color: var(--ink-3);
	border-bottom: 1px solid transparent; margin-bottom: -1px;
}
.woocommerce-tabs ul.tabs li.active a { color: var(--ink); border-color: var(--ink); }
.woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce-tabs .panel { max-width: 76ch; color: var(--ink-2); }

.shop_attributes { width: 100%; border-collapse: collapse; }
.shop_attributes th, .shop_attributes td {
	padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; font-size: .9375rem;
}
.shop_attributes th { width: 34%; font-weight: 500; color: var(--ink-3); }

.related > h2, .up-sells > h2, .cross-sells > h2 {
	padding-bottom: 20px; margin-bottom: 30px; border-bottom: 1px solid var(--line);
	font-size: clamp(1.5rem, 2.4vw, 2rem);
}

/* Korv ja kassa */
.woo-page { padding: 30px 0 clamp(56px, 7vw, 90px); }
.woo-page > .wrap > h1 { margin-bottom: 28px; }

.shop_table { width: 100%; border-collapse: collapse; margin-bottom: 26px; }
.shop_table th {
	text-align: left; padding: 0 12px 12px 0; border-bottom: 1px solid var(--line);
	font-family: var(--ff-mono); font-size: .688rem; letter-spacing: .12em;
	text-transform: uppercase; color: var(--ink-3); font-weight: 500;
}
.shop_table td { padding: 18px 12px 18px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.shop_table .product-thumbnail img { width: 76px; border-radius: var(--r); }
.shop_table .product-name a { font-weight: 500; }
.shop_table .product-name a:hover { color: var(--clay); }
.shop_table .product-remove a {
	display: grid; place-items: center; width: 26px; height: 26px;
	border: 1px solid var(--line-2); border-radius: var(--r); color: var(--ink-3); font-size: 14px;
}
.shop_table .product-remove a:hover { border-color: var(--err); color: var(--err); }

.cart_totals, .cross-sells { margin-top: 10px; }
.cart_totals h2, #order_review_heading {
	font-family: var(--ff-mono); font-size: .688rem; letter-spacing: .16em;
	text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px;
}
.cart-collaterals { display: grid; grid-template-columns: 1fr minmax(320px, 420px); gap: 40px; align-items: start; }
.cart_totals table { width: 100%; border-collapse: collapse; }
.cart_totals th, .cart_totals td {
	padding: 13px 0; border-bottom: 1px solid var(--line); text-align: left; font-size: .9375rem;
}
.cart_totals .order-total th, .cart_totals .order-total td {
	font-family: var(--ff-display); font-size: 1.3rem; border-bottom: 0;
}
.wc-proceed-to-checkout { margin-top: 18px; }
.checkout-button, .wc-forward, .button.alt {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 15px 26px; background: var(--ink); color: var(--paper);
	border: 1px solid var(--ink); border-radius: var(--r);
	font-size: .9375rem; font-weight: 500; cursor: pointer; width: 100%;
	transition: background .2s var(--ease), border-color .2s var(--ease);
}
.checkout-button:hover, .button.alt:hover { background: var(--clay); border-color: var(--clay); color: var(--paper); }

.coupon { display: flex; gap: 10px; margin-bottom: 20px; }
.coupon input { max-width: 240px; }
.coupon .button, .actions > .button {
	padding: 12px 20px; border: 1px solid var(--line-2); background: transparent;
	border-radius: var(--r); cursor: pointer; font-size: .875rem;
}
.coupon .button:hover, .actions > .button:hover { border-color: var(--ink); }

.checkout .col2-set { display: grid; grid-template-columns: 1fr; gap: 0; }
.woocommerce-checkout .checkout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: clamp(30px, 4vw, 60px); align-items: start; }
.woocommerce-checkout .checkout > #customer_details { grid-column: 1; }
.woocommerce-checkout .checkout > #order_review_heading,
.woocommerce-checkout .checkout > #order_review { grid-column: 2; }
.woocommerce-checkout #order_review {
	background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: 24px;
	position: sticky; top: calc(var(--head-h) + 20px);
}
.woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, .woocommerce-additional-fields h3 {
	font-family: var(--ff-mono); font-size: .688rem; letter-spacing: .16em;
	text-transform: uppercase; color: var(--ink-3); margin: 0 0 18px;
}
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: .8125rem; font-weight: 500; margin-bottom: 6px; }
.form-row .required { color: var(--clay); text-decoration: none; }
#payment ul.payment_methods { list-style: none; margin: 0 0 20px; padding: 0; border-top: 1px solid var(--line); }
#payment ul.payment_methods li { padding: 14px 0; border-bottom: 1px solid var(--line); }
#payment .payment_box { background: var(--paper-3); padding: 14px; border-radius: var(--r); font-size: .875rem; margin-top: 10px; }
.woocommerce-terms-and-conditions-wrapper { margin: 18px 0; font-size: .8125rem; }

/* Ostukorvi sahtel / mini-cart */
.ship-bar { margin-bottom: 20px; }
.ship-bar-text {
	display: flex; align-items: center; gap: 8px; margin: 0 0 9px;
	font-size: .8125rem; color: var(--ink-2);
}
.ship-bar-text .ico { color: var(--clay); }
.ship-bar-track { height: 3px; background: var(--paper-3); border-radius: 2px; overflow: hidden; }
.ship-bar-track span { display: block; height: 100%; background: var(--clay); transition: width .4s var(--ease); }
.ship-bar.is-done .ship-bar-track span { background: var(--ok); }
.ship-bar.is-done .ship-bar-text .ico { color: var(--ok); }

.woocommerce-mini-cart { list-style: none; margin: 0 0 20px; padding: 0; }
.woocommerce-mini-cart-item {
	display: grid; grid-template-columns: 72px 1fr auto; gap: 14px;
	padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start;
}
.woocommerce-mini-cart-item img { width: 72px; border-radius: var(--r); }
.woocommerce-mini-cart-item a:not(.remove) { font-size: .9375rem; font-weight: 500; line-height: 1.35; }
.mini-cart-info { min-width: 0; }
.mini-cart-info dl.variation {
	margin: 5px 0 0; font-size: .75rem; color: var(--ink-3);
	display: flex; flex-wrap: wrap; gap: 0 6px;
}
.mini-cart-info dl.variation dt, .mini-cart-info dl.variation dd { margin: 0; }
.mini-cart-info dl.variation p { margin: 0; }
.woocommerce-mini-cart-item .quantity {
	display: block; border: 0; font-family: var(--ff-mono); font-size: .75rem;
	color: var(--ink-3); margin-top: 5px;
}
.mini-cart-note {
	margin: 12px 0 0; font-size: .75rem; color: var(--ink-3); text-align: center;
}
.woocommerce-mini-cart-item a.remove {
	display: grid; place-items: center; width: 24px; height: 24px;
	border: 1px solid var(--line-2); border-radius: var(--r);
	color: var(--ink-3); font-size: 13px; line-height: 1;
}
.woocommerce-mini-cart-item a.remove:hover { border-color: var(--err); color: var(--err); }
.woocommerce-mini-cart__total {
	display: flex; align-items: baseline; justify-content: space-between;
	padding: 16px 0; margin: 0 0 16px; border-bottom: 1px solid var(--line);
	font-family: var(--ff-display); font-size: 1.25rem;
}
.woocommerce-mini-cart__total strong { font-family: var(--ff-mono); font-size: .688rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.woocommerce-mini-cart__buttons { display: flex; flex-direction: column; gap: 9px; margin: 0; }
.woocommerce-mini-cart__buttons .button {
	display: block; text-align: center; padding: 14px 20px;
	border: 1px solid var(--line-2); border-radius: var(--r); font-size: .9375rem;
}
.woocommerce-mini-cart__buttons .button.checkout { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.woocommerce-mini-cart__buttons .button.checkout:hover { background: var(--clay); border-color: var(--clay); }
.woocommerce-mini-cart__empty-message { color: var(--ink-3); }
.drawer-empty { text-align: center; padding: 40px 0; }
.drawer-empty p { color: var(--ink-3); margin-bottom: 20px; }

/* Konto */
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--line); }
.woocommerce-MyAccount-navigation a { display: block; padding: 12px 0; font-size: .9375rem; }
.woocommerce-MyAccount-navigation .is-active a { color: var(--clay); }
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 44px; }

/* Filtrividinad */
.fwidget { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.fwidget-title {
	font-family: var(--ff-mono); font-size: .688rem; letter-spacing: .14em;
	text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px;
}
.fwidget ul { list-style: none; margin: 0; padding: 0; }
.fwidget li { padding: 5px 0; font-size: .9375rem; }

/* ============================================================
   10. BLOGI JA SISULEHED
   ========================================================== */

.page-head { padding: 40px 0 32px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.page-head .label { margin-bottom: 14px; }
.page-head h1 { margin: 0; max-width: 20ch; }
.page-head .lead { margin-top: 16px; max-width: 60ch; color: var(--ink-2); font-size: 1.0625rem; }

.entry { padding-bottom: clamp(56px, 7vw, 90px); }
.entry-content { max-width: 68ch; font-size: 1.0625rem; color: var(--ink-2); }
.entry-content > * + * { margin-top: 1.15em; }
.entry-content h2 { font-size: 1.75rem; margin-top: 1.8em; color: var(--ink); }
.entry-content h3 { font-size: 1.28rem; margin-top: 1.6em; color: var(--ink); }
.entry-content a { color: var(--clay); border-bottom: 1px solid currentColor; }
.entry-content img, .entry-content figure { border-radius: var(--r); }
.entry-content blockquote {
	margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--clay);
	font-family: var(--ff-display); font-size: 1.28rem; color: var(--ink); line-height: 1.4;
}
.entry-content ul, .entry-content ol { padding-left: 22px; }
.entry-content li { margin-bottom: .5em; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content code { font-family: var(--ff-code); font-size: .875em; background: var(--paper-2); padding: 2px 5px; border-radius: var(--r); }

.entry-hero { margin: 0 0 40px; }
.entry-hero img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--r); }

.post-nav {
	display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
	margin-top: clamp(44px, 5vw, 70px);
	background: var(--line); border: 1px solid var(--line);
}
.post-nav a { background: var(--paper); padding: 24px; transition: background .25s var(--ease); }
.post-nav a:hover { background: var(--paper-2); }
.post-nav a.is-next { text-align: right; grid-column: 2; }
.post-nav .label { display: block; margin-bottom: 8px; }
.post-nav strong { font-family: var(--ff-display); font-weight: 400; font-size: 1.15rem; line-height: 1.25; }

/* Kommentaarid */
.comments { margin-top: clamp(44px, 5vw, 70px); padding-top: 30px; border-top: 1px solid var(--line); max-width: 68ch; }
.comments h2 { font-size: 1.5rem; margin-bottom: 24px; }
.commentlist { list-style: none; margin: 0 0 34px; padding: 0; }
.commentlist li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.commentlist .children { list-style: none; margin: 14px 0 0; padding-left: 26px; border-left: 1px solid var(--line); }
.comment-meta { font-family: var(--ff-mono); font-size: .688rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.comment-form label { display: block; font-size: .8125rem; font-weight: 500; margin-bottom: 6px; }
.comment-form p { margin-bottom: 16px; }
.comment-form .submit {
	padding: 14px 24px; background: var(--ink); color: var(--paper);
	border: 1px solid var(--ink); border-radius: var(--r); cursor: pointer; font-size: .875rem;
}
.comment-form .submit:hover { background: var(--clay); border-color: var(--clay); }

.post-list {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
	list-style: none; margin: 0; padding: 0; background: var(--paper);
}
.post-card { background: var(--paper); outline: 1px solid var(--line); }
.post-card > a { display: flex; flex-direction: column; height: 100%; transition: background .25s var(--ease); }
.post-card > a:hover { background: var(--paper-2); }
.post-card .thumb { overflow: hidden; background: var(--paper-3); }
.post-card .thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s var(--ease); }
.post-card > a:hover .thumb img { transform: scale(1.035); }
.post-card .pc-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card h2 { font-size: 1.28rem; margin: 12px 0 12px; flex: 1; }
.post-card .pc-meta {
	font-family: var(--ff-mono); font-size: .688rem; letter-spacing: .1em;
	text-transform: uppercase; color: var(--ink-3);
}
.post-card p { font-size: .9375rem; color: var(--ink-2); margin: 0 0 16px; }

.pagination-simple { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.pagination-simple .page-numbers {
	display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px;
	border: 1px solid var(--line); border-radius: var(--r);
	font-family: var(--ff-mono); font-size: .8125rem;
}
.pagination-simple .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.nf { text-align: center; padding: clamp(60px, 10vw, 120px) 0; }
.nf .code { font-family: var(--ff-mono); font-size: .75rem; letter-spacing: .2em; color: var(--clay); }
.nf h1 { margin: 18px 0 16px; }
.nf p { max-width: 46ch; margin: 0 auto 28px; color: var(--ink-2); }
.nf .search-form { max-width: 480px; margin: 0 auto; }

/* ============================================================
   11. RESPONSIIVSUS
   ========================================================== */

@media (max-width: 1120px) {
	.hide-lg { display: none !important; }
	.nav-toggle { display: inline-flex; }
	.header-inner { gap: 12px; }
	.foot-grid { grid-template-columns: 1fr 1fr 1fr; }
	.foot-brand { grid-column: 1 / -1; }
	.woocommerce-checkout .checkout { grid-template-columns: 1fr; }
	.woocommerce-checkout .checkout > #order_review_heading,
	.woocommerce-checkout .checkout > #order_review { grid-column: 1; }
	.woocommerce-checkout #order_review { position: static; }
}

@media (max-width: 980px) {
	:root { --gut: 20px; }
	.hero-grid { grid-template-columns: 1fr; gap: 32px; }
	.hero-media { order: -1; }
	.hero-img { aspect-ratio: 5 / 4; }
	.promise-grid { grid-template-columns: 1fr; }
	.cat-grid { grid-template-columns: repeat(2, 1fr); }
	.brand-list { grid-template-columns: repeat(3, 1fr); }
	.review-list, .journal-list, .post-list { grid-template-columns: 1fr; }
	.news-grid { grid-template-columns: 1fr; }
	.product-single div.product { grid-template-columns: 1fr; }
	.cart-collaterals { grid-template-columns: 1fr; }
	.woocommerce-account .woocommerce { grid-template-columns: 1fr; gap: 26px; }
	.usp-grid { grid-template-columns: repeat(2, 1fr); }
	.usp-item:nth-child(3) { border-left: 0; }
	.usp-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 780px) {
	.hide-md { display: none !important; }
	.topbar-inner { justify-content: center; }
	.topbar-list { gap: 22px; }
	ul.products.grid-4, ul.products.columns-4,
	ul.products.columns-3 { grid-template-columns: repeat(2, 1fr); }
	.foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
	.ages-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
	.age-list { width: 100%; }
	.age-list li { flex: 1; }
	.age-list a { min-width: 0; width: 100%; }
	.sec-head { flex-direction: column; align-items: flex-start; gap: 14px; }
	.giftband-inner { flex-direction: column; align-items: flex-start; }
	.cat-head-grid { flex-direction: column; align-items: flex-start; }
	.hero-facts > div { padding-right: 12px; }
	.hero-facts > div + div { padding-left: 14px; }
}

@media (max-width: 520px) {
	.topbar-list li:nth-child(2) { display: none; }
	/* Kaks veergu ka väikesel ekraanil — üks veerg teeb kerimise lõputuks. */
	ul.products li.product { padding: 10px 10px 14px; }
	.card-title { font-size: .875rem; }
	.card-price { font-size: 1.05rem; }
	.cat-tile > a { padding: 14px; }
	.cat-meta strong { font-size: 1.05rem; }
	.cat-meta em { font-size: .75rem; }
	.cat-count { font-size: .625rem; }
	.brand-list { grid-template-columns: repeat(2, 1fr); }
	.foot-grid { grid-template-columns: 1fr; }
	.news-row { flex-direction: column; }
	.news-row .btn { width: 100%; }
	form.cart { flex-direction: column; align-items: stretch; }
	.single_add_to_cart_button { width: 100%; }
	.usp-grid { grid-template-columns: 1fr; }
	.usp-item { border-left: 0 !important; }
	.usp-item + .usp-item { border-top: 1px solid var(--line); padding-left: 0; }
	.hero-facts { flex-wrap: wrap; }
}

/* Trükk */
@media print {
	.topbar, .site-header, .site-footer, .news, .drawer, .giftband { display: none !important; }
	body { background: #fff; }
}

/* ============================================================
   13. VÄRVIKIHT — mänguline palett
   Illustratsioonid on tumedad joonised heledal taustal.
   `mix-blend-mode: multiply` värvilise tausta peal toonib kogu pildi,
   jättes jooned tumedaks. Nii saab värvi ilma SVG-sid puutumata,
   ja päris tootefotod jäävad toonimata.
   ========================================================== */

/* --- Kategooriaruudud --- */
.cat-art { isolation: isolate; background: var(--c-roosa); }
.cat-art img { mix-blend-mode: multiply; }

.cat-grid > .cat-tile:nth-child(8n+1) .cat-art { background: var(--c-roosa); }
.cat-grid > .cat-tile:nth-child(8n+2) .cat-art { background: var(--c-piparmunt); }
.cat-grid > .cat-tile:nth-child(8n+3) .cat-art { background: var(--c-lilla); }
.cat-grid > .cat-tile:nth-child(8n+4) .cat-art { background: var(--c-voi); }
.cat-grid > .cat-tile:nth-child(8n+5) .cat-art { background: var(--c-taevas); }
.cat-grid > .cat-tile:nth-child(8n+6) .cat-art { background: var(--c-virsik); }
.cat-grid > .cat-tile:nth-child(8n+7) .cat-art { background: var(--c-piparmunt); }
.cat-grid > .cat-tile:nth-child(8n+8) .cat-art { background: var(--c-roosa); }

/* Number saab oma tausta, et värvi peal loetav püsiks */
.cat-tile .num {
	background: var(--paper); padding: 3px 9px; border-radius: 999px; color: var(--ink-2);
}

/* --- Tootekaardid: tooni ainult kohatäited, päris fotod mitte --- */
.card-media { isolation: isolate; }
.card-img-ph, li.product.is-demo .card-img { mix-blend-mode: multiply; }

/* Tootekaardi pildiala on NEUTRAALNE. Neli küllastunud värviplokki kõrvuti
   ajasid tooted uppi — värv elab siltides, hinnas ja nupus, mitte pildiväljal. */
ul.products > li.product .card-media { background: #FBEDE9; }

/* Kohatäite-joonis täidab kaadri paremini. Päris tootefotot EI suurendata —
   `object-fit: cover` lõikaks selle katki. */
.card-img-ph, li.product.is-demo .card-img { transform: scale(1.34); }
li.product:hover .card-img-ph,
li.product.is-demo:hover .card-img { transform: scale(1.39); }

/* --- Hero --- */
.hero-media { isolation: isolate; }
.hero-img[src$=".svg"] { mix-blend-mode: multiply; }
.hero-media:has(.hero-img[src$=".svg"]) { background: var(--c-roosa); border-radius: var(--r); }
/* Allkiri saab läbipaistmatu tausta, muidu jääb roosa paneel tema alla paistma */
.hero-media:has(.hero-img[src$=".svg"]) figcaption {
	background: var(--paper); margin-top: 0; padding-top: 16px;
}

/* --- Vanusenupud --- */
.age-list li:nth-child(5n+1) a { background: var(--c-roosa); }
.age-list li:nth-child(5n+2) a { background: var(--c-piparmunt); }
.age-list li:nth-child(5n+3) a { background: var(--c-voi); }
.age-list li:nth-child(5n+4) a { background: var(--c-taevas); }
.age-list li:nth-child(5n+5) a { background: var(--c-lilla); }
.age-list a { border-color: transparent; }
.age-list a:hover { border-color: var(--ink); }
.age-list em { color: var(--ink-2); }

/* --- Nupud: peamine tegevusnupp on vaarikas --- */
.btn-dark { background: var(--clay); border-color: var(--clay); color: #fff; }
.btn-dark:hover { background: var(--clay-d); border-color: var(--clay-d); }

.checkout-button, .button.alt, .single_add_to_cart_button,
.woocommerce-mini-cart__buttons .button.checkout {
	background: var(--clay); border-color: var(--clay); color: #fff;
}
.checkout-button:hover, .button.alt:hover, .single_add_to_cart_button:hover,
.woocommerce-mini-cart__buttons .button.checkout:hover {
	background: var(--clay-d); border-color: var(--clay-d);
}
.card-foot .btn-card:hover, ul.products li.product .button:hover {
	background: var(--clay); border-color: var(--clay); color: #fff;
}

/* --- Sildid --- */
.flag { border-radius: 999px; }
.flag-new { background: var(--sage); color: #10352A; }
.flag-out { background: var(--paper); color: var(--ink-2); }

/* --- Soojemad pinnad --- */
.usp { background: var(--paper-2); }
.cart-btn .cart-count { background: var(--clay); color: #fff; }
.cart-btn .cart-count:not(.is-full) { background: var(--paper-3); color: var(--ink-2); }

/* Ühtlane ümarus meedial */
.card-media, .cat-art, .hero-img, .entry-hero img, .post-card .thumb { border-radius: var(--r); }
.post-card .thumb { overflow: hidden; }

/* Tumedal alal olev nupp */
.promise .btn-light:hover { background: var(--c-roosa); border-color: var(--c-roosa); color: var(--ink); }

/* --- Kategooria tekstid: lühike sissejuhatus üleval, pikem lugu toodete all --- */
.cat-desc { font-size: 1.0625rem; line-height: 1.7; }
.cat-desc p:last-child { margin-bottom: 0; }

.cat-outro {
	margin-top: clamp(48px, 6vw, 80px);
	padding-top: clamp(32px, 4vw, 48px);
	border-top: 1px solid var(--line);
}
.cat-outro .entry-content { max-width: 74ch; }
.cat-outro .entry-content > *:first-child { margin-top: 0; }
.cat-outro .entry-content h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-top: 1.7em; }
.cat-outro .entry-content h3 { font-size: 1.12rem; margin-top: 1.5em; }
.cat-outro .entry-content ul, .cat-outro .entry-content ol { padding-left: 20px; }

/* --- Otsingutulemuste leht --- */
.search-again { margin-top: 24px; max-width: 580px; }
.search-group + .search-group { margin-top: clamp(40px, 5vw, 64px); }
.search-group-title {
	font-family: var(--ff-mono); font-size: .688rem; font-weight: 600;
	letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
	margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.nf .btn { margin-top: 6px; }

/* --- Tootekaardi viimistlus --- */
ul.products li.product { padding: 14px 14px 16px; }
.card-body { padding-top: 13px; }
.card-brand { font-size: .625rem; letter-spacing: .12em; margin-bottom: 5px; }
.card-title { font-size: .9375rem; line-height: 1.35; margin-bottom: 9px; }

/* Uus hind domineerib, vana taandub — mitte kaks võrdset numbrit kõrvuti */
.card-price { font-size: 1.2rem; font-weight: 600; gap: 8px; }
.card-price del { font-size: .8125rem; font-weight: 400; color: var(--ink-3); opacity: .8; }
.card-price ins { font-weight: 600; }

/* Nupp loeb nupuna ka puhkeolekus, mitte ainult õhukese äärisena */
.card-foot .btn-card, ul.products li.product .button {
	background: var(--paper-2); border-color: transparent; font-weight: 600;
}
li.product:hover .card-foot .btn-card,
ul.products li.product:hover .button { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.card-foot .btn-card:hover, ul.products li.product .button:hover,
.card-foot .btn-card:focus-visible, ul.products li.product .button:focus-visible {
	background: var(--clay); border-color: var(--clay); color: #fff;
}

/* Sildid: üks silt, seega ei pea virnastuma */
.card-flags { top: 12px; left: 12px; }
