/* =========================================================
   Ceļazīmes – tēmas stili
   1.4.0: izkārtojums un krāsas kā vecajā celazimes.lv lapā (tumši pelēkbrūna sānu izvēlne 320 px,
   vertikāla rīku josla 70 px, pelēks zīmju grupu filtrs, gaišs fons, oranžas pogas);
   fonti un logo – pēc TROJA zīmolgrāmatas (Novecento Sans virsrakstiem, Source Sans Pro tekstam).
   ========================================================= */

/* Source Sans Pro (SIL Open Font License, sk. assets/fonts/SourceSansPro-OFL-LICENSE.txt) – lokāli.
   Novecento Sans (virsraksti) – licencēts; @font-face izvada inc/setup.php, ja faili ir assets/fonts mapē. */
@font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/source-sans-pro-latin-ext-400-normal.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; }
@font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/source-sans-pro-latin-400-normal.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: 'Source Sans Pro'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/source-sans-pro-latin-ext-400-italic.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; }
@font-face { font-family: 'Source Sans Pro'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/source-sans-pro-latin-400-italic.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: 'Source Sans Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/source-sans-pro-latin-ext-600-normal.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; }
@font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/source-sans-pro-latin-600-normal.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: 'Source Sans Pro'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/source-sans-pro-latin-ext-700-normal.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; }
@font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/source-sans-pro-latin-700-normal.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; }

:root {
	/* Vecās celazimes.lv lapas krāsas */
	--brown: #423b3e;       /* tumši pelēkbrūna: teksts, sānu izvēlne, kājene */
	--orange: #f7933b;      /* oranža: pogas, akcenti */
	--bg: #f9f7f5;          /* gaišs fons */
	--paper: #ffffff;
	--ink: var(--brown);
	--ink-1h: #3c3538;      /* izvēlnes pogas fons, kad virs tās ir pele */
	--ink-2: #605157;       /* rīku joslas meklēšanas flīze */
	--ink-2h: #57494e;
	--ink-3: #8b7e83;       /* rīku joslas groza flīze */
	--ink-3h: #7d7276;
	--nav-line: #544d50;    /* līnijas starp izvēlnes punktiem */
	--nav-text: #f2efeb;    /* izvēlnes teksts */
	--nav-icon: #d3d2cd;
	--muted: #9a9899;       /* zīmju grupu filtra fons */
	--soft: #d3d2cd;        /* "Kādēļ izvēlēties" josla */
	--line: #d4d1d0;
	--line-2: #d4d1d0;
	--field: #d4d1d0;
	--field-bg: #f8f8f8;
	--light: #f2f0ee;
	--text-2: #544d50;
	--text-3: #7d7276;
	--faint: #9a9899;       /* zīmes numurs, cena katalogā */
	--tan: #b08b6a;         /* atpakaļceļa saites */
	--orange-dark: #ea842b; /* pogu fons, kad virs tām ir pele */
	--orange-text: #d67118; /* saites, kad virs tām ir pele */
	--ok: #2d993c;
	--err: #bf373e;
	--sidebar-w: 320px;
	--rail-w: 70px;
	--tile-h: 62px;
	--rail-h: 56px;         /* telefonā: rīku joslas augstums */
	--collapsed-w: 20px;    /* sakļautas izvēlnes redzamā josla */
	--pad-l: 130px;         /* satura atkāpe no sānu izvēlnes (ietver rīku joslu) */
	--pad-r: 70px;
	--font: 'Source Sans Pro', 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
	--font-head: 'Novecento Sans', 'Source Sans Pro', 'Source Sans 3', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.55;
	font-weight: 400;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-color: var(--orange); text-underline-offset: 3px; }
a:hover { color: var(--orange-text); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); text-transform: uppercase; letter-spacing: .02em; }
/* Produktu nosaukumi kartītēs nav virsraksti zīmola izpratnē – parastie burti */
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--font); text-transform: none; letter-spacing: 0; }
strong, b { font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; margin: 0;
	z-index: 1000; background: var(--paper); padding: 8px 14px; box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}
.czt-ui-icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

/* ---------- Sānu izvēlne (kā vecajā lapā) ---------- */
.sidebar {
	position: fixed; inset: 0 auto 0 0; width: var(--sidebar-w);
	background: var(--ink); color: #fff; overflow-y: auto; z-index: 40;
	display: flex; flex-direction: column;
	scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent;
	transition: transform .4s ease-in-out;
}
/* Logo uz tumšā fona kā vecajā lapā (150 px augsts bloks); aizsargzona ≥ 0,5 × logo augstums */
.sidebar-logo { display: flex; align-items: center; justify-content: center; flex: none; height: 150px; padding: 38px 0; background: var(--ink); border-bottom: 1px solid var(--nav-line); }
.sidebar-logo a { display: block; }
.sidebar-logo img { width: auto; height: 74px; display: block; }
.sidebar-logo .custom-logo { height: 74px; width: auto; }
.nav, .subnav { list-style: none; margin: 0; padding: 0; }
.nav > li { border-bottom: 1px solid var(--nav-line); }
.nav > li > a, .nav-row > a {
	display: flex; align-items: center; min-height: 70px; padding: 18px 20px 18px 50px; color: var(--nav-text); text-decoration: none;
	font-size: 21px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; line-height: 1.2;
}
.nav > li > a:hover, .nav-row:hover > a, .nav-row:hover button { background: var(--bg); color: var(--ink); }
.nav-row { display: flex; align-items: stretch; }
.nav-row > a { flex: 1; padding-right: 0; }
.nav-row button {
	background: none; border: 0; width: 50px; flex: none; cursor: pointer; padding: 0; color: var(--nav-text);
}
.nav-row button .czt-ui-icon { width: 18px; height: 18px; transform: rotate(-90deg); transition: transform .2s; }
.nav > li.open .nav-row button .czt-ui-icon { transform: none; }
.nav > li.active, .nav > li.active > a, .nav > li.active .nav-row > a, .nav > li.active .nav-row button { background: var(--bg); color: var(--ink); }
.nav > li.active > a:hover, .nav > li.active .nav-row > a:hover { color: var(--orange-text); }
/* Apakšizvēlne / zīmju grupu filtrs – pelēks laukums ar baltiem kvadrātiņiem */
.subnav { display: none; padding: 20px 0; background: var(--muted); }
.nav > li.open .subnav { display: block; }
.subnav a {
	position: relative; display: block; padding: 5px 16px 5px 80px; color: #fff;
	text-decoration: none; font-size: 16px; font-weight: 400; line-height: 22px;
}
.subnav a::before {
	content: ""; position: absolute; left: 50px; top: 8px; width: 15px; height: 15px;
	background: #fff; border-radius: 2px; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .1);
}
.subnav a:hover { color: var(--ink); }
.subnav a.current { font-weight: 600; color: #fff; }
.subnav a.current::after {
	content: ""; position: absolute; left: 52px; top: 11px; width: 11px; height: 9px;
	background: url(../img/legacy/checkbox.svg) center / contain no-repeat;
}
.subnav a:not([role=checkbox])::before { display: none; }
.subnav a:not([role=checkbox]) { padding-left: 50px; }
.subnav a.current:not([role=checkbox]) { color: var(--ink); }
.nav .nav-icon > a { position: relative; }
.nav .nav-icon .czt-ui-icon { position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--nav-icon); opacity: .6; }
.nav .nav-icon.active .czt-ui-icon, .nav .nav-icon > a:hover .czt-ui-icon { color: var(--ink); opacity: .5; }
.nav .nav-icon > a > span { display: block; }
.nav .nav-icon em { display: block; font-style: normal; font-weight: 400; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--nav-icon); }
.nav .nav-cart > a { padding-right: 20px; }
.nav .nav-cart .czt-cart-count {
	margin-left: auto; background: var(--orange); color: #fff; border-radius: 12px; padding: 0 9px; font-size: 15px; line-height: 22px; letter-spacing: 0;
}
.nav .czt-cart-count.is-empty { display: none; }
.nav .nav-small { border-bottom: 0; }
.nav .nav-small > a, .nav .nav-small .nav-row > a { min-height: 0; font-size: 14px; font-weight: 400; letter-spacing: .02em; padding-top: 12px; padding-bottom: 0; color: var(--nav-icon); }
.nav .nav-small:last-child { padding-bottom: 20px; }
.nav .nav-small > a:hover { background: none; color: var(--orange); }
.nav .nav-small.active > a { background: none; color: #fff; }
.sidebar-foot { margin-top: auto; padding: 22px 50px 26px; font-size: 15px; color: var(--nav-icon); border-top: 1px solid var(--nav-line); }
.sidebar-foot a { color: #fff; text-decoration: none; font-weight: 600; }
.sidebar-foot a:hover { color: var(--orange); }

/* ---------- Rīku josla: ☰ / meklēšana / grozs – vertikāli blakus sānu izvēlnei (kā vecajā lapā) ---------- */
.rail {
	position: fixed; top: 0; left: var(--sidebar-w); z-index: 45; display: flex; flex-direction: column; width: var(--rail-w);
	transition: left .4s ease-in-out, transform .4s ease-in-out;
}
.rail a, .rail button {
	position: relative; display: flex; align-items: center; justify-content: center;
	width: var(--rail-w); height: var(--tile-h); border: 0; padding: 0; color: var(--nav-text); cursor: pointer; text-decoration: none;
	transition: background .15s;
}
.rail .czt-ui-icon { width: 28px; height: 28px; stroke-width: 2.2; }
.rail .t-logo { display: none; background: var(--ink); }
.rail .t-logo img { height: 35px; width: auto; display: block; }
.rail .t-menu { background: var(--ink); }
.rail .t-menu:hover { background: var(--ink-1h); }
.rail .t-search { background: var(--ink-2); }
.rail .t-search:hover, .rail .t-search[aria-expanded="true"] { background: var(--ink-2h); }
.rail .t-cart { background: var(--ink-3); }
.rail .t-cart:hover { background: var(--ink-3h); }
.rail .czt-cart-count {
	position: absolute; top: 9px; right: 9px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
	background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; line-height: 20px; text-align: center;
}
.rail .czt-cart-count.is-empty { display: none; }
/* Grozā ir preces – groza flīze oranža (kā vecajā lapā) */
.rail .t-cart:has(.czt-cart-count:not(.is-empty)) { background: var(--orange); color: #fff; }
.rail .t-cart:has(.czt-cart-count:not(.is-empty)):hover { background: var(--orange-dark); }
/* ☰ – izvēlne redzama; › – izvēlne sakļauta (kā vecajā lapā) */
.burger { position: relative; width: 24px; height: 20px; display: block; }
.burger::before, .burger::after, .burger span { content: ""; position: absolute; left: 0; width: 24px; height: 4px; background: currentColor; transition: transform .4s ease-in-out, width .4s, top .4s, bottom .4s, opacity .2s; }
.burger::before { top: 0; } .burger span { top: 8px; } .burger::after { bottom: 0; }
body.menu-collapsed .burger::before, body.menu-collapsed .burger::after { width: 15px; left: 6px; }
body.menu-collapsed .burger::before { top: 4px; transform: rotate(45deg); }
body.menu-collapsed .burger::after { bottom: 3px; transform: rotate(-45deg); }
body.menu-collapsed .burger span { opacity: 0; }

.mask { display: none; }
/* Meklēšana atveras pa labi no meklēšanas flīzes */
.searchbox {
	position: fixed; top: var(--tile-h); left: calc(var(--sidebar-w) + var(--rail-w)); z-index: 44; display: none; align-items: stretch;
	height: var(--tile-h); background: var(--ink-2); padding: 9px 9px 9px 0; box-shadow: 4px 4px 14px rgba(0, 0, 0, .15);
	transition: left .4s ease-in-out;
}
.searchbox.open { display: flex; }
.searchbox input[type=search] {
	width: min(380px, 60vw); border: 0; padding: 6px 14px; font: inherit; font-size: 18px; color: var(--ink); background: #fff; border-radius: 0;
}
.searchbox button[type=submit] { width: 46px; border: 0; background: var(--orange); color: #fff; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.searchbox button[type=submit]:hover { background: var(--orange-dark); }
.searchbox button[type=submit] .czt-ui-icon { width: 22px; height: 22px; }
.searchbox-close { border: 0; background: none; color: var(--nav-text); padding: 0 12px; cursor: pointer; }
.searchbox-close:hover { color: var(--orange); }
.searchbox .live-results { top: 100%; left: 0; right: 0; }

/* Sakļauta izvēlne datorā: redzama tikai 20 px josla, rīku josla pie tās (kā vecajā lapā) */
@media (min-width: 992px) {
	body.menu-collapsed .sidebar { transform: translateX(calc(var(--collapsed-w) - var(--sidebar-w))); overflow: hidden; }
	body.menu-collapsed .sidebar > * { visibility: hidden; }
	body.menu-collapsed .rail { left: var(--collapsed-w); }
	body.menu-collapsed .searchbox { left: calc(var(--collapsed-w) + var(--rail-w)); }
	body.menu-collapsed .main { margin-left: var(--collapsed-w); }
}

/* ---------- Saturs ---------- */
.main { margin-left: var(--sidebar-w); min-height: 100vh; display: flex; flex-direction: column; transition: margin-left .4s ease-in-out; }
.site-main { flex: 1 0 auto; }
.wrap { width: 100%; max-width: calc(1180px + var(--pad-l)); padding: 0 var(--pad-r) 0 var(--pad-l); }
.section { padding-top: 56px; padding-bottom: 70px; }
.section.tight { padding-top: 40px; }
/* Lapas galva: virsraksts kreisajā pusē, teksts (vai "Nr. 101") labajā – kā vecās lapas title-block */
.page-head { padding: 70px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; align-items: start; }
.page-head h1 { font-size: 40px; line-height: 1.2; margin: 0; overflow-wrap: anywhere; }
.page-head .lead { margin: 4px 0 0; font-size: 17px; line-height: 24px; color: var(--ink); max-width: 500px; justify-self: end; }
.page-head .lead p { margin: 0; }
.page-head .lead a { font-weight: 600; text-decoration: none; }
.page-head .sign-no-head { color: var(--ink); font-size: 28px; line-height: 35px; font-weight: 600; text-align: right; }
.breadcrumbs { grid-column: 1 / -1; font-size: 17px; line-height: 24px; color: var(--ink); margin: -30px 0 8px; }
.breadcrumbs a { text-decoration: none; color: var(--tan); }
.breadcrumbs a:hover { color: var(--orange-text); }
.breadcrumbs .sep { margin: 0 14px; }
.breadcrumbs > :last-child, .breadcrumbs { color: var(--tan); }

.notice-strip {
	background: var(--orange); color: #fff; font-size: 16px; padding: 9px var(--pad-r) 9px var(--pad-l); display: flex; gap: 10px; align-items: center;
}
.notice-strip a { color: #fff; font-weight: 600; }
.notice-strip p { margin: 0; }

.section-title { font-size: 28px; margin-bottom: 26px; }
.box { background: var(--paper); padding: 30px 34px; box-shadow: 0 1px 0 var(--line); }
.box .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 0; }
.empty { padding: 40px; text-align: center; background: var(--paper); }

/* ---------- Pogas ---------- */
.button, .wp-element-button,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 0; cursor: pointer; text-decoration: none;
	background: var(--orange); color: #fff; font-family: var(--font); font-size: 18px; font-weight: 600; padding: 11px 30px; line-height: 1.2;
	text-transform: uppercase; letter-spacing: .03em; transition: background .15s;
}
.button:hover, .wp-element-button:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover { background: var(--orange-dark); color: #fff; }
.button--dark, .woocommerce a.button.button--dark { background: var(--ink); }
.button--dark:hover { background: var(--ink-1h); }
.button--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.button--ghost:hover { background: var(--ink); color: #fff; }
.woocommerce button.button:disabled, .woocommerce button.button.disabled, .woocommerce button.button:disabled[disabled],
.woocommerce button.button.alt.disabled, .woocommerce button.button.alt:disabled { background: var(--orange); color: #fff; opacity: .5; padding: 11px 30px; }
.woocommerce button.button[name=update_cart], .woocommerce button.button[name=apply_coupon] { background: var(--ink); font-size: 17px; padding: 9px 18px; }
.woocommerce button.button[name=update_cart]:disabled { background: var(--ink); padding: 9px 18px; }
.woocommerce button.button[name=update_cart]:hover, .woocommerce button.button[name=apply_coupon]:hover { background: var(--ink-1h); }

/* ---------- Formas ---------- */
select, textarea,
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=search], input[type=url],
.woocommerce form .form-row .input-text, .woocommerce form .form-row select, .select2-container .select2-selection--single {
	font-family: var(--font); font-size: 18px; color: var(--ink); background: #fff; border: 1px solid var(--field); border-radius: 0;
	padding: 8px 12px; width: 100%; line-height: 1.4;
}
.select2-container .select2-selection--single { height: auto; padding: 4px 6px; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 1.6; color: var(--ink); }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 100%; }
.select2-dropdown { border-radius: 0; border-color: var(--field); font-family: var(--font); }
textarea { min-height: 110px; resize: vertical; }
select, .woocommerce form .form-row select {
	-webkit-appearance: none; appearance: none; min-height: 44px; padding-right: 58px;
	background: var(--field-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23423b3e' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23423b3e' stroke-width='1.6'/%3E%3C/svg%3E"), linear-gradient(var(--line), var(--line));
	background-repeat: no-repeat; background-position: right 16px center, right 44px top; background-size: 12px 8px, 1px 100%;
}
/* Vecajā lapā nebija saites "Notīrīt" pie izmēra/klases */
.woocommerce div.product form.cart .reset_variations { display: none !important; }
select::-ms-expand { display: none; }
select:focus, input:focus, textarea:focus { outline: 2px solid var(--orange); outline-offset: -1px; }
label { font-weight: 600; }
input[type=radio], input[type=checkbox] { accent-color: var(--orange); width: 18px; height: 18px; }

/* Meklēšana virs saraksta / sākumlapā */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.toolbar-search { position: relative; display: flex; max-width: 100%; }
.toolbar-search input[type=search] { border-right: 0; width: 340px; max-width: 70vw; font-size: 17px; padding: 9px 14px; }
.toolbar-search button { border: 0; background: var(--ink); color: #fff; padding: 0 16px; cursor: pointer; }
.toolbar-search button:hover { background: var(--orange); }
.home-search { margin-top: 10px; }
.home-search input[type=search] { width: 460px; }
.woocommerce .woocommerce-result-count { margin: 0; color: var(--text-3); font-size: 16px; float: none; }

/* Ātrās meklēšanas rezultāti */
.live-results {
	position: absolute; top: calc(100% + 4px); left: 0; right: 0; min-width: 300px; z-index: 50; background: #fff;
	border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0, 0, 0, .15); max-height: 70vh; overflow: auto; font-size: 17px;
}
.live-results[hidden] { display: none; }
.live-results a { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 8px 12px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.live-results a:hover, .live-results a.is-active { background: var(--light); }
.live-results img { width: 40px; height: 40px; object-fit: contain; }
.live-results .lr-no { color: var(--faint); margin-right: 8px; }
.live-results .lr-price { color: var(--text-3); white-space: nowrap; }
.live-results .lr-empty, .live-results .lr-all { display: block; padding: 10px 12px; color: var(--text-3); }
.live-results .lr-all { font-weight: 600; color: var(--ink); background: var(--light); }

/* ---------- Sākumlapa ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { background: var(--paper); padding: 22px 22px 18px; border-top: 4px solid var(--orange); counter-increment: s; }
.steps li::before { content: counter(s); display: block; font-family: var(--font-head); font-size: 38px; font-weight: 700; color: var(--orange); line-height: 1; margin-bottom: 8px; }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { font-size: 16px; margin: 0; color: var(--text-2); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.cat-tile {
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 22px 14px 18px;
	background: var(--paper); border: 1px solid var(--line); text-decoration: none; font-size: 17px; font-weight: 600; line-height: 1.25;
	transition: border-color .15s, transform .15s;
}
.cat-tile:hover { border-color: var(--orange); transform: translateY(-2px); color: var(--ink); }
.cat-tile img { width: 84px; height: 84px; object-fit: contain; }
.cat-tile small { color: var(--faint); font-size: 15px; font-weight: 400; }
.make-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center; }
.make-grid.no-img { grid-template-columns: 1fr; max-width: 820px; }
.make-grid .links { display: flex; flex-direction: column; gap: 4px; }
.make-grid .links a { font-weight: 600; text-decoration: none; }

/* ---------- Teksta lapas ---------- */
.entry-content { max-width: 880px; font-size: 18px; }
.wc-page .entry-content { max-width: none; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: 28px; margin-top: 1.4em; }
.entry-content h3 { font-size: 22px; margin-top: 1.2em; }
.entry-content img { height: auto; }
.entry-content table { border-collapse: collapse; width: 100%; background: var(--paper); }
.entry-content td, .entry-content th { border-bottom: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.entry-content .wp-block-columns { gap: 32px; }
.entry-content .wp-block-column { background: var(--paper); padding: 22px 26px; border-top: 4px solid var(--ink); }
.entry-content .wp-block-column > h3:first-child { margin-top: 0; }

/* Sertifikāti – PDF kartītes kā vecajā lapā (ikona augšā, nosaukums zemāk) */
.entry-content p:has(+ .cz-docs) { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: 20px; line-height: 1.25; margin: 34px 0 20px; }
.entry-content > p:first-child:has(+ .cz-docs) { margin-top: 0; }
.cz-docs { list-style: none; padding: 0; margin: 0 0 34px; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; max-width: none; }
.cz-docs li {
	position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
	padding: 92px 14px 18px; background: var(--paper); border: 1px solid var(--line-2); line-height: 1.25; transition: border-color .15s;
}
.cz-docs li::before {
	content: ""; position: absolute; left: 50%; top: 22px; transform: translateX(-50%); width: 48px; height: 56px;
	background: url(../img/legacy/icon-pdf.svg) center / contain no-repeat;
}
.cz-docs li:hover { border-color: var(--orange); }
.cz-docs a { font-weight: 400; text-decoration: none; color: var(--ink); font-size: 16px; }
.cz-docs a::after { content: ""; position: absolute; inset: 0; }
.cz-doc-meta { font-size: 13px; color: var(--faint); }

/* Kā izvēlēties */
.cz-speed-classes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 24px 0; }
.cz-speed-class { background: var(--paper); padding: 26px 28px; border-top: 4px solid var(--ink); }
.cz-speed-class h2 { font-size: 26px; margin-top: 0; text-transform: uppercase; }
.cz-speed-class figure { margin: 0 0 14px; }
.cz-speed-class figure img { border: 1px solid var(--line); }
.cz-speed-class figcaption { font-size: 15px; color: var(--text-3); }
.cz-speed-class dl { display: grid; grid-template-columns: 150px 1fr; gap: 8px 16px; font-size: 17px; margin: 0; }
.cz-speed-class dt { font-weight: 600; }
.cz-speed-class dd { margin: 0; }
.cz-usage { font-size: 16px; color: var(--text-2); }

/* ---------- Katalogs ---------- */
.woocommerce .term-description, .term-description { max-width: 820px; color: var(--text-2); margin-bottom: 24px; }
.woocommerce ul.products, .woocommerce-page ul.products {
	list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 44px 20px;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { content: none; display: none; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	float: none; width: auto; margin: 0; padding: 0; text-align: center; background: none; border: 0;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: block; text-decoration: none; color: var(--ink); }
.card-media {
	position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; width: 100%; max-width: 150px; margin: 0 auto 14px;
	background: transparent; border: 1px solid var(--line); padding: 0; transition: border-color .15s, background .15s;
}
.woocommerce ul.products li.product a:hover .card-media { border-color: var(--orange); }
.woocommerce ul.products li.product .card-media img { width: 100%; height: 100%; object-fit: contain; margin: 0; box-shadow: none; }
.sign-no { position: absolute; top: 5px; right: 10px; font-size: 16px; color: var(--faint); line-height: 1.3; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 17px; font-weight: 400; margin: 0; padding: 0; line-height: 24px; color: var(--ink); max-height: 48px; overflow: hidden; }
.woocommerce ul.products li.product .price { color: var(--faint); font-size: 17px; line-height: 24px; margin: 0; display: block; font-weight: 400; }
.woocommerce ul.products li.product .price .amount { color: inherit; }
.price-from { font-size: .9em; }
.woocommerce ul.products li.product .woocommerce-price-suffix { display: none; }
.cz-price-on-request { font-size: 16px; color: var(--faint); }
.woocommerce ul.products li.product .onsale { display: none; }
.woocommerce .woocommerce-pagination, .woocommerce nav.woocommerce-pagination { margin-top: 48px; text-align: right; }
.woocommerce nav.woocommerce-pagination ul { display: inline-flex; flex-wrap: wrap; gap: 6px; border: 0; margin: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; float: none; overflow: visible; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
	min-width: 47px; padding: 12px 14px; font-size: 17px; line-height: 22px; background: var(--light); border: 0; color: var(--ink);
}
.woocommerce nav.woocommerce-pagination ul li span.current, .woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a:focus { background: var(--ink); color: #fff; border-color: var(--ink); }
.woocommerce-no-products-found .woocommerce-info { margin-top: 0; }

/* ---------- Produkts ---------- */
.woocommerce div.product { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: 24px 48px; align-items: start; }
.woocommerce div.product > * { grid-column: 1 / -1; }
.woocommerce div.product > div.images, .woocommerce div.product > .woocommerce-product-gallery { grid-column: 1; }
.woocommerce div.product > div.summary { grid-column: 2; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none; width: auto; margin: 0; }
.woocommerce div.product div.images { background: var(--paper); border: 1px solid var(--line-2); padding: 14%; }
.woocommerce div.product div.images img { width: 100%; height: auto; max-height: 420px; object-fit: contain; box-shadow: none; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { top: 10px; right: 10px; }
.woocommerce div.product div.images .flex-control-thumbs { margin-top: 14px; }
.woocommerce div.product div.summary > :first-child { margin-top: 0; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-size: 30px; font-weight: 600; }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 17px; color: var(--text-2); }
.woocommerce-price-suffix { color: var(--text-3); font-size: 16px; font-weight: 400; }

.woocommerce div.product form.cart { margin: 0; }
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after { content: none; }
.woocommerce div.product form.cart .variations { margin: 0; border-collapse: collapse; width: 100%; border-top: 1px solid var(--line); }
.woocommerce div.product form.cart .variations tr { border-bottom: 1px solid var(--line); }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td {
	display: table-cell; padding: 14px 0; vertical-align: middle; line-height: 1.3;
}
.woocommerce div.product form.cart .variations th { width: 190px; padding-right: 14px; text-align: left; }
.woocommerce div.product form.cart .variations label { font-weight: 600; font-size: 18px; }
.woocommerce div.product form.cart .variations select { max-width: 420px; min-width: 0; margin: 0; display: block; }
.woocommerce div.product form.cart .reset_variations { font-size: 15px; color: var(--text-3); margin-top: 6px; display: inline-block; }
.variation-help { font-size: 16px; color: var(--text-2); background: var(--light); padding: 12px 16px; margin: 16px 0 6px; }
.variation-help a { font-weight: 600; }
.woocommerce div.product form.cart .single_variation_wrap { padding: 14px 0; border-bottom: 1px solid var(--line); }
.woocommerce div.product form.cart .woocommerce-variation-price { margin-bottom: 12px; }
.woocommerce div.product form.cart .woocommerce-variation-price .price { font-size: 30px; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart,
.woocommerce div.product form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.woocommerce div.product form.cart:not(.variations_form) .cz-custom-fields, .woocommerce div.product form.cart:not(.variations_form) .variation-help { flex-basis: 100%; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce .quantity .qty { width: 84px; text-align: center; padding: 10px 6px; }
.woocommerce div.product form.cart .button { float: none; font-size: 20px; padding: 12px 28px; }
.woocommerce div.product form.cart .single_add_to_cart_button::before {
	content: ""; width: 20px; height: 20px; flex: none;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 11.2a2 2 0 0 0 2 1.6h7.7a2 2 0 0 0 2-1.5L21 8H6.2'/%3E%3Ccircle cx='10' cy='20.5' r='1.3'/%3E%3Ccircle cx='17' cy='20.5' r='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 11.2a2 2 0 0 0 2 1.6h7.7a2 2 0 0 0 2-1.5L21 8H6.2'/%3E%3Ccircle cx='10' cy='20.5' r='1.3'/%3E%3Ccircle cx='17' cy='20.5' r='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.woocommerce div.product .stock { color: var(--text-3); font-size: 16px; }

.cz-custom-fields { display: grid; gap: 4px; margin-bottom: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.cz-custom-fields .form-row { margin: 0 0 10px; }
.cz-custom-fields label { display: block; margin-bottom: 4px; }
.cz-custom-fields label small { font-weight: 400; color: var(--text-3); }
.cz-custom-intro { font-size: 16px; color: var(--text-2); background: var(--light); padding: 12px 16px; }
.cz-custom-fields input[type=file] { padding: 10px; background: #fff; border: 1px dashed var(--field); width: 100%; font-family: var(--font); font-size: 16px; }

.variant-prices { margin-top: 20px; }
.variant-prices h3, .product-desc h3 { font-size: 24px; text-transform: uppercase; }
.variant-table { border-collapse: collapse; font-size: 16px; background: var(--paper); min-width: min(100%, 480px); }
.variant-table th, .variant-table td { padding: 7px 18px 7px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.variant-table th { font-weight: 600; background: var(--light); border-bottom: 2px solid var(--ink); }
.product-desc { margin-top: 24px; max-width: 820px; font-size: 17px; }
.product-desc em { color: var(--text-2); }

/* ---------- Paziņojumi ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notices-wrapper .wc-block-components-notice-banner {
	background: var(--paper); color: var(--ink); border: 0; border-left: 5px solid var(--orange); border-radius: 0;
	padding: 14px 18px 14px 50px; font-size: 17px; margin: 0 0 20px; box-shadow: 0 1px 0 var(--line);
}
.woocommerce-message { border-left-color: var(--ok); }
.woocommerce-message::before { color: var(--ok); top: 14px; }
.woocommerce-info::before { color: var(--orange); top: 14px; }
.woocommerce-error { border-left-color: var(--err); }
.woocommerce-error::before { color: var(--err); top: 14px; }
.woocommerce-message .button, .woocommerce-info .button { float: right; font-size: 16px; padding: 6px 14px; margin-left: 12px; }
.woocommerce-error li { margin: 0; }

/* ---------- Grozs ---------- */
.cart-note { font-size: 16px; color: var(--text-2); background: var(--light); padding: 12px 16px; }
.woocommerce table.shop_table { border: 0; border-radius: 0; border-collapse: collapse; background: var(--paper); margin: 0 0 24px; }
.woocommerce table.shop_table th { font-size: 16px; font-weight: 600; padding: 12px 14px; background: var(--light); border-bottom: 2px solid var(--ink); }
.woocommerce table.shop_table td { padding: 14px; border-top: 0; border-bottom: 1px solid var(--line); font-size: 17px; vertical-align: middle; }
.woocommerce table.shop_table tfoot th, .woocommerce table.shop_table tfoot td { background: none; border-bottom: 1px solid var(--line); }
.woocommerce table.cart img { width: 64px; height: 64px; object-fit: contain; }
.woocommerce table.cart td.product-name a { font-weight: 600; text-decoration: none; }
.woocommerce table.cart td.actions .coupon .input-text { width: 180px; padding: 8px 10px; margin-right: 6px; }
.woocommerce a.remove { color: var(--text-3) !important; font-weight: 400; border-radius: 0; }
.woocommerce a.remove:hover { background: var(--err); color: #fff !important; }
.woocommerce .cart-collaterals { display: grid; grid-template-columns: minmax(0, 1fr) min(460px, 100%); gap: 32px 56px; align-items: start; }
.woocommerce .cart-collaterals::before, .woocommerce .cart-collaterals::after { content: none; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { float: none; width: 100%; grid-column: 2; grid-row: 1; }
.woocommerce .cart-collaterals .cross-sells { float: none; width: 100%; grid-column: 1 / -1; }
.woocommerce .cart-collaterals .cart_totals h2 { font-size: 26px; text-transform: uppercase; }
.woocommerce .cart_totals .order-total th, .woocommerce .cart_totals .order-total td { font-size: 22px; border-top: 2px solid var(--ink); }
.woocommerce .wc-proceed-to-checkout a.checkout-button { display: flex; font-size: 21px; padding: 14px 20px; margin-bottom: 0; }

/* Grozs: piezīmes kopsavilkuma kreisajā pusē (celazimes-core CZ_Cart) */
.cz-cart-notes { grid-column: 1; grid-row: 1; max-width: 640px; }
.cz-cart-notes h2 { font-size: 26px; }
.cz-cart-notes label { cursor: text; }
.cz-cart-notes textarea { display: block; width: 100%; min-height: 190px; }

/* Grozs: montāžas elementi (kā vecajā lapā – izvēršama sadaļa ar pelēku fonu) */
.woocommerce table.cart tr.cz-eq-head td { background: var(--light); border-top: 1px solid var(--line-2); }
.woocommerce table.cart tr.cz-eq-item td { background: var(--soft); border-bottom-color: var(--line-2); }
.woocommerce table.cart tr.cz-eq-item[hidden] { display: none !important; }
.woocommerce table.cart tr.cz-eq-item td.product-name a { font-weight: 400; }
.woocommerce table.cart tr.cz-eq-item img { mix-blend-mode: multiply; }
.cz-eq-title { display: inline-flex; align-items: center; gap: 12px; }
.woocommerce table.cart .more-info img { width: 22px; height: 22px; object-fit: contain; }
.cz-eq-toggle {
	display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
	font: 600 18px/1.3 var(--font); color: var(--ink);
}
.cz-eq-toggle::after {
	content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-3px) rotate(45deg); transition: transform .15s;
}
.cz-eq-toggle[aria-expanded=true]::after { transform: translateY(2px) rotate(-135deg); }
.cz-eq-toggle:hover { color: var(--orange-text); }
.cz-eq-toggle:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
/* Ar automātisku atjaunošanu poga "Atjaunināt grozu" nav vajadzīga */
.cz-cart-js .woocommerce-cart-form button[name=update_cart] { display: none; }
.cz-cart-js .woocommerce table.cart td.actions:not(:has(.coupon)) { padding: 0; border: 0; }
@media (max-width: 900px) {
	.woocommerce .cart-collaterals { grid-template-columns: 1fr; }
	.woocommerce .cart-collaterals .cart_totals, .cz-cart-notes { grid-column: 1; grid-row: auto; max-width: none; }
}

/* ---------- Pasūtīšana ---------- */
.woocommerce-checkout form.checkout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0 48px; align-items: start; }
.woocommerce-checkout form.checkout > * { grid-column: 1 / -1; }
.woocommerce-checkout form.checkout > #customer_details { grid-column: 1; grid-row: 1 / span 2; }
.woocommerce-checkout form.checkout > #order_review_heading, .woocommerce-checkout form.checkout > #order_review { grid-column: 2; }
/* "Jūsu pasūtījums" vienā līnijā ar "Apmaksa un piegāde": virsraksts un kopsavilkums – viens bloks */
.woocommerce-checkout form.checkout > #order_review_heading { grid-row: 1; margin: 0; padding: 30px 22px 14px; background: var(--paper); }
.woocommerce-checkout form.checkout > #order_review { grid-row: 2; align-self: start; padding-top: 0; }
.woocommerce-checkout #customer_details { background: var(--paper); padding: 30px 34px; }
.woocommerce-checkout #customer_details h3:first-child, .woocommerce-checkout #customer_details .col-1 > :first-child h3 { margin-top: 0; }
.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-1, .woocommerce-page .col2-set .col-2 { float: none; width: auto; }
.woocommerce-checkout .woocommerce h3, #order_review_heading { font-size: 26px; text-transform: uppercase; }
.woocommerce form .form-row { padding: 0; margin: 0 0 14px; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 48.5%; }
.woocommerce form .form-row-first { float: left; }
.woocommerce form .form-row-last { float: right; }
.woocommerce form .form-row-wide { clear: both; }
.woocommerce form .clear, .woocommerce-billing-fields__field-wrapper::after, .woocommerce-shipping-fields__field-wrapper::after, .woocommerce-address-fields__field-wrapper::after { content: ""; display: table; clear: both; }
.woocommerce form .form-row label { font-size: 17px; margin-bottom: 4px; line-height: 1.3; }
.woocommerce form .form-row .required { color: var(--orange-text); text-decoration: none; }
.woocommerce form .form-row.woocommerce-invalid .input-text, .woocommerce form .form-row.woocommerce-invalid select { border-color: var(--err); }
.cz-customer-type .woocommerce-input-wrapper { display: flex; gap: 10px; flex-wrap: wrap; }
.cz-customer-type input[type=radio] { position: absolute; opacity: 0; }
.cz-customer-type label.radio .required, .cz-customer-type label.radio .optional { display: none; }
.cz-company-field .optional, .cz-address-field .optional { display: none; }
.cz-customer-type label.radio {
	display: inline-flex !important; align-items: center; margin: 0 !important; padding: 9px 18px; cursor: pointer;
	border: 1px solid var(--field); font-weight: 600; background: #fff;
}
.cz-customer-type input[type=radio]:checked + label.radio { background: var(--ink); color: #fff; border-color: var(--ink); }
.cz-customer-type input[type=radio]:focus-visible + label.radio { outline: 2px solid var(--orange); outline-offset: 2px; }
.woocommerce-checkout-review-order { background: var(--paper); padding: 20px 22px; }
.woocommerce-checkout #payment { background: var(--light); border-radius: 0; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom-color: var(--line); }
.woocommerce-checkout #payment div.payment_box { background: var(--paper); color: var(--ink); border-radius: 0; font-size: 16px; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--paper); }
.woocommerce-checkout #payment #place_order { width: 100%; font-size: 21px; padding: 14px 20px; float: none; }
.woocommerce ul#shipping_method { margin: 0; }
.woocommerce ul#shipping_method li { margin: 0 0 6px; text-indent: 0; padding: 0; display: flex; gap: 8px; align-items: flex-start; }
/* Aplītis vienmēr 18×18 un vienā vertikālē ar pārējiem – arī, ja nosaukums ir 2 rindās (flex to nedrīkst saspiest) */
.woocommerce ul#shipping_method li input[type=radio] { flex: 0 0 18px !important; width: 18px !important; min-width: 18px; height: 18px; margin: 4px 0 0 !important; }
/* Pēc klikšķa aplītim nav biezā oranžā fokusa riņķa; tastatūrai fokuss redzams */
input[type=radio]:focus, input[type=checkbox]:focus { outline: none; }
input[type=radio]:focus-visible, input[type=checkbox]:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
/* Grozā nerāda "Piegādāt uz …" / "Piegādes iespējas tiks atjauninātas norēķināšanās laikā." */
.cart_totals .woocommerce-shipping-destination, .woocommerce-shipping-totals .woocommerce-shipping-destination { display: none !important; }
.woocommerce ul#shipping_method li label { font-weight: 400; }

/* ---------- Mans konts ---------- */
/* Konta izvēlne kreisajā kolonnā vienā līnijā ar saturu */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 0 36px; align-items: start; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; grid-row: 1; }
.woocommerce-account .woocommerce > .woocommerce-MyAccount-navigation { grid-column: 1; grid-row: 2; }
.woocommerce-account .woocommerce > .woocommerce-MyAccount-content { grid-column: 2; grid-row: 2; }
.woocommerce-account .woocommerce-MyAccount-content > :first-child { margin-top: 0; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; background: var(--ink); }
.woocommerce-account .woocommerce-MyAccount-navigation li { border-top: 1px solid rgba(255, 255, 255, .08); }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 12px 18px; color: var(--nav-text); text-decoration: none; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; }
.woocommerce-account .woocommerce-MyAccount-navigation a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background: var(--bg); color: var(--ink); box-shadow: inset 4px 0 0 var(--orange); }
.woocommerce form.login, .woocommerce form.register, .woocommerce form.lost_reset_password {
	background: var(--paper); border: 0; border-radius: 0; border-top: 6px solid var(--orange); padding: 28px 30px; max-width: 520px; margin: 0 0 24px;
}

/* ---------- "Kādēļ izvēlēties" ---------- */
.features { background: var(--soft); padding: 64px 0 56px; margin-top: 64px; }
.features .section-title { font-size: 28px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.feature { text-align: center; }
.feature img { height: 74px; width: auto; margin-bottom: 18px; }
.feature h3 { font-size: 20px; margin-bottom: 14px; }
.feature p { font-size: 16px; text-align: left; margin: 0; }

/* ---------- Kontakti (kājene) ---------- */
.contacts { background: var(--ink); color: #fff; padding: 64px 0 40px; }
.features + .contacts { margin-top: 0; }
.site-main + .contacts { margin-top: 64px; }
.contacts .cols > div:first-child h2::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 18px; background: var(--orange); }
.contacts .cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 36px; }
.contacts h2 { font-size: 34px; line-height: 1.15; color: #fff; }
.contacts h3 { font-size: 17px; margin-bottom: 12px; color: #fff; }
.contacts p { font-size: 17px; color: #efe8de; }
.contacts a { color: #fff; text-decoration-color: var(--orange); }
.contacts a:hover { color: var(--orange); }
.contacts .bottom {
	margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 15px; color: #c7baad;
	display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center;
}
.contacts .footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.contacts .bottom a { color: #e3d9ce; }

/* Sīkdatņu logs (inc/analytics.php) – modālis kā troja.lv */
html.czt-consent-open { overflow: hidden; }
.czt-consent {
	position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-start; justify-content: center;
	padding: 4vh 24px; overflow-y: auto; background: rgba(50, 45, 47, .78);
}
.czt-consent[hidden] { display: none; }
.czt-consent__box {
	width: min(1000px, 100%); margin: auto 0; padding: 48px 52px 44px; background: var(--paper); color: var(--text-2);
	box-shadow: 0 20px 60px rgba(0, 0, 0, .3); font-size: 18px; line-height: 1.6; outline: none;
}
.czt-consent__title { margin: 0 0 24px; font-size: 48px; line-height: 1.05; color: var(--ink); }
.czt-consent__text p { margin: 0 0 12px; }
.czt-consent__text a { color: var(--orange); font-weight: 600; }
.czt-consent__text a:hover { color: var(--orange-text); }
.czt-consent__cats { margin: 30px 0 28px; padding: 30px 0 6px; border-top: 2px solid #efefef; border-bottom: 2px solid #efefef; }
.czt-consent__cat { display: flex; align-items: flex-start; gap: 30px; margin-bottom: 26px; }
.czt-consent__cat-body { flex: 1; min-width: 0; }
.czt-consent__cat-head { display: flex; align-items: baseline; gap: 14px; min-height: 33px; }
.czt-consent__cat-head label { font-size: 19px; font-weight: 700; color: var(--ink); cursor: pointer; }
.czt-consent__cat p { margin: 6px 0 0; }
.czt-consent__always { font-size: 15px; color: var(--faint); }
.czt-consent input.czt-consent__switch {
	appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 66px; height: 33px; margin: 0; border-radius: 17px;
	background: #f0f0f0; cursor: pointer; transition: background .15s;
}
.czt-consent input.czt-consent__switch::after {
	content: ""; position: absolute; top: 5px; left: 6px; width: 23px; height: 23px; border-radius: 50%; background: #dcdcdc; transition: transform .15s, background .15s;
}
.czt-consent input.czt-consent__switch:checked { background: var(--orange); }
.czt-consent input.czt-consent__switch:checked::after { transform: translateX(31px); background: #f0f0f0; }
.czt-consent input.czt-consent__switch:disabled { cursor: default; opacity: .7; }
.czt-consent input.czt-consent__switch:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.czt-consent__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.czt-consent__actions[hidden] { display: none; }
.czt-consent .button { min-width: 190px; padding: 14px 28px; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; justify-content: center; text-align: center; }
@media (max-width: 700px) {
	.czt-consent { padding: 0; align-items: stretch; }
	.czt-consent__box { margin: 0; min-height: 100%; padding: 28px 18px 24px; font-size: 16px; line-height: 1.5; box-shadow: none; }
	.czt-consent__title { font-size: 30px; margin-bottom: 16px; }
	.czt-consent__cats { margin: 20px 0; padding-top: 20px; }
	.czt-consent__cat { gap: 16px; margin-bottom: 20px; }
	.czt-consent input.czt-consent__switch { width: 52px; height: 28px; }
	.czt-consent input.czt-consent__switch::after { top: 4px; left: 4px; width: 20px; height: 20px; }
	.czt-consent input.czt-consent__switch:checked::after { transform: translateX(24px); }
	.czt-consent__cat-head { min-height: 28px; }
	.czt-consent__actions .button { flex: 1 1 100%; min-width: 0; }
}

/* Sīkdatņu "cepumiņš" kreisajā apakšējā stūrī (kā troja.lv) – atver sīkdatņu logu */
.czt-cookie-btn {
	position: fixed; left: 20px; bottom: 20px; z-index: 990; display: block; width: 48px; height: 48px; margin: 0; padding: 0;
	border: 0; border-radius: 50%; background: var(--orange); cursor: pointer; box-shadow: 0 3px 12px rgba(0, 0, 0, .25); transition: background .2s, transform .2s;
}
.czt-cookie-btn[hidden], html.czt-consent-open .czt-cookie-btn, body.menu-open .czt-cookie-btn { display: none; }
.czt-cookie-btn svg { display: block; width: 100%; height: 100%; }
.czt-cookie-btn:hover { background: var(--orange-dark); transform: scale(1.06); }
.czt-cookie-btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
html.czt-has-cookie-btn .sidebar { padding-bottom: 84px; } /* sānjoslas apakšējās saites nepaliek zem pogas */
@media (max-width: 767px) {
	.czt-cookie-btn { left: 10px; bottom: 10px; width: 34px; height: 34px; }
}

/* ---------- Pielāgošanās ekrāniem ---------- */
@media (max-width: 1200px) {
	.steps { grid-template-columns: repeat(2, 1fr); }
	.woocommerce-checkout form.checkout { grid-template-columns: 1fr; }
	.woocommerce-checkout form.checkout > #customer_details,
	.woocommerce-checkout form.checkout > #order_review_heading,
	.woocommerce-checkout form.checkout > #order_review { grid-column: 1; grid-row: auto; }
	.woocommerce-checkout form.checkout > #customer_details { grid-row: auto; }
	.woocommerce-checkout form.checkout > #order_review_heading { margin-top: 32px; }
}
@media (max-width: 991px) {
	body { font-size: 16px; }
	body.menu-open { overflow: hidden; }
	.mask { position: fixed; inset: 0; background: rgba(0, 0, 0, .3); z-index: 55; }
	body.menu-open .mask { display: block; }
	.notice-strip { font-size: 15px; }
	.woocommerce div.product { grid-template-columns: 1fr; gap: 26px; }
	.woocommerce div.product > div.images, .woocommerce div.product > .woocommerce-product-gallery, .woocommerce div.product > div.summary { grid-column: 1; }
	.woocommerce div.product div.images { max-width: 320px; }
	.make-grid, .cz-speed-classes { grid-template-columns: 1fr; }
	.contacts .cols { grid-template-columns: 1fr 1fr; }
	.contacts .cols > :first-child { grid-column: 1 / -1; }
	.feature-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
	.woocommerce-checkout #customer_details { padding: 24px 18px 28px; }
	.woocommerce-account .woocommerce { grid-template-columns: 1fr; gap: 24px 0; }
	.woocommerce-account .woocommerce > .woocommerce-MyAccount-content { grid-column: 1; grid-row: 3; }
}
@media (max-width: 640px) {
	.steps { grid-template-columns: 1fr; }
	.cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.cat-tile { padding: 16px 10px 14px; font-size: 16px; }
	.cat-tile img { width: 64px; height: 64px; }
	.section-title { font-size: 24px; }
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 17px; }
	.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; width: auto; }
	.woocommerce div.product form.cart .variations th { padding-bottom: 4px; }
	.woocommerce div.product form.cart .variations td { padding-top: 0; }
	.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; float: none; }
	.feature-grid, .contacts .cols { grid-template-columns: 1fr; }
	.contacts h2 { font-size: 28px; }
	.cz-speed-class dl { grid-template-columns: 1fr; gap: 2px; }
	.cz-speed-class dd { margin-bottom: 8px; }
	.toolbar-search, .toolbar-search input[type=search], .home-search input[type=search] { width: 100%; max-width: none; }
	.toolbar-search input[type=search] { flex: 1; }
	.box { padding: 22px 20px; }
	/* Grozs kā kartītes (WooCommerce .shop_table_responsive) */
	.woocommerce table.shop_table_responsive tr td, .woocommerce-page table.shop_table_responsive tr td { text-align: right; }
	.woocommerce table.shop_table_responsive tr td::before { font-weight: 600; float: left; }
	.woocommerce table.shop_table_responsive thead { display: none; }
	.woocommerce table.shop_table_responsive tbody tr:first-child td:first-child { border-top: 0; }
	.woocommerce table.shop_table_responsive tr td { display: block; }
	.woocommerce table.shop_table_responsive tr td.product-remove, .woocommerce table.shop_table_responsive tr td.actions { text-align: left; }
	.woocommerce table.shop_table_responsive tr td.product-thumbnail { display: none; }
	.woocommerce table.shop_table_responsive tr td.actions::before { display: none; }
	.woocommerce table.cart td.actions .coupon { display: flex; gap: 6px; margin-bottom: 10px; }
	.woocommerce table.cart td.actions .coupon .input-text { flex: 1; width: auto; }
	.woocommerce table.cart td.actions > .button { width: 100%; }
	.woocommerce table.cart tr.cz-eq-head td.product-remove, .woocommerce table.cart tr.cz-eq-item td.product-remove { display: none; }
	.woocommerce table.cart tr.cz-eq-head td.product-name { text-align: left; }
	.woocommerce table.cart tr.cz-eq-head td.product-name::before { display: none; }
	/* Montāžas elementi telefonā kompakti: nosaukums, zem tā cena | daudzums | summa */
	.woocommerce table.cart tr.cz-eq-head { display: flex; justify-content: space-between; align-items: center; background: var(--light); border-top: 1px solid var(--line-2); }
	.woocommerce table.cart tr.cz-eq-head td { border: 0; background: none; }
	.woocommerce table.cart tr.cz-eq-head td.product-name { flex: 1; }
	.cz-eq-toggle { white-space: nowrap; text-align: left; }
	.woocommerce table.cart tr.cz-eq-head td.product-subtotal::before { display: none; }
	.woocommerce table.cart tr.cz-eq-item { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: var(--soft); border-bottom: 1px solid var(--line-2); }
	.woocommerce table.cart tr.cz-eq-item td { border: 0; background: none; padding: 6px 14px 12px; }
	.woocommerce table.cart tr.cz-eq-item td::before { display: none; }
	.woocommerce table.cart tr.cz-eq-item td.product-name { grid-column: 1 / -1; text-align: left; padding-top: 14px; padding-bottom: 4px; }
	.woocommerce table.cart tr.cz-eq-item td.product-price { text-align: left; }
	.woocommerce table.cart tr.cz-eq-item td.product-quantity { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
	.sidebar, .rail, .searchbox, .notice-strip, .features, .czt-consent { display: none !important; }
	.main { margin: 0; padding: 0; }
}

/* =========================================================
   Vecās lapas elementi (v1.3)
   ========================================================= */

/* Teksts virsraksta labajā pusē – vecās lapas "side notice" (2 rindkopas) */
.page-head .lead p { margin: 0 0 .5em; }
.page-head .sign-no-head { margin: 0; }

/* Produkta forma: rindas "nosaukums | lauks" */
.woocommerce div.product form.cart .variations th { width: 200px; }
.field-with-info { display: flex; align-items: center; gap: 12px; max-width: 470px; }
.field-with-info select { flex: 1; }
.more-info { position: relative; display: inline-flex; flex: none; cursor: help; }
.more-info img { width: 22px; height: 22px; display: block; transition: opacity .15s; }
.more-info:hover img, .more-info:focus img { opacity: .7; }
.more-info::after {
	content: attr(data-tip); position: absolute; right: -8px; bottom: calc(100% + 10px); width: 280px; z-index: 20;
	background: var(--ink); color: #fff; font-size: 14px; line-height: 1.4; padding: 10px 12px; text-align: left;
	opacity: 0; visibility: hidden; transition: opacity .15s; pointer-events: none;
}
.more-info:hover::after, .more-info:focus::after { opacity: 1; visibility: visible; }
.qty-label { font-weight: 600; font-size: 18px; width: 200px; flex: none; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart,
.woocommerce div.product form.cart:not(.variations_form) { row-gap: 18px; }
.woocommerce div.product form.cart .single_add_to_cart_button { margin-left: 214px; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart .single_add_to_cart_button,
.woocommerce div.product form.cart:not(.variations_form) .single_add_to_cart_button { flex-basis: auto; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart::after { content: none; }
.woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation-price { margin: 0 0 14px 214px; }
.woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation-price .price { font-size: 28px; }
.qty-nav-wrap { display: inline-flex !important; align-items: stretch; }
.qty-nav-wrap .qty { border-right: 0; }
.quantity-nav { display: flex; flex-direction: column; }
.quantity-button {
	flex: 1; width: 34px; border: 0; padding: 0; cursor: pointer; font: 600 16px/1 var(--font);
	background: var(--orange); color: #fff;
}
.quantity-button + .quantity-button { border-top: 1px solid rgba(255, 255, 255, .5); }
.quantity-button:hover { background: var(--orange-dark); }
.woocommerce .quantity .qty::-webkit-outer-spin-button, .woocommerce .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.woocommerce .quantity .qty { -moz-appearance: textfield; }

/* "Ceļa zīmes izgatavošana" zem produkta (vecajā lapā: pelēka josla ar tekstu un foto) */
.product-make { background: var(--light); padding: 56px 0; margin-top: 56px; }
.product-make .make-grid { grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.product-make img { width: 100%; height: auto; display: block; }
.product-make + .features, .site-main:has(.product-make) + .features { margin-top: 0; }

/* "Kā izvēlēties" – izvēle pēc ātruma (vecās lapas #choice-guide) */
.choice-guide { margin-top: 30px; max-width: 980px; }
.choice-guide .product-row { display: grid; grid-template-columns: 30% 70%; gap: 0; padding: 12px 0; border-top: 1px solid var(--line); }
.choice-guide .product-row.first { border-top: 0; align-items: center; }
.choice-guide .column-label strong { font-weight: 600; }
.choice-guide .column-content p { margin: 0 0 .5em; }
.choice-guide .speed-buttons { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.choice-guide .speedbtn.is-active { background: var(--orange); }
.choice-guide .product-row.image-row { grid-template-columns: 1fr; border-top: 0; text-align: center; }
.choice-guide .image-row img { width: 100%; height: auto; border: 1px solid var(--line); }
.choice-guide .image-row h4 { margin-top: 10px; font-size: 18px; }
.speedcontent[hidden] { display: none; }

/* Karte kājenē */
.footer-map { position: relative; height: 360px; background: var(--light); }
.footer-map .map-canvas { position: absolute; inset: 0; }
.footer-map .map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 20px; color: var(--text-2); font-size: 15px; }
.footer-map.is-loaded .map-consent { display: none; }

/* 404 – atsevišķa lapa kā vecajā */
body.page-404 { min-height: 100vh; }
.error-404 { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; }
.error-404 img { height: 90px; width: auto; margin-bottom: 24px; }
.error-404 h1 { font-size: 34px; margin: 0; }
.error-404 a { font-weight: 600; }

@media (max-width: 991px) {
	.product-make .make-grid { grid-template-columns: 1fr; }
	.choice-guide .product-row { grid-template-columns: 1fr; gap: 4px; }
	.footer-map { height: 320px; }
}
@media (max-width: 640px) {
	.woocommerce div.product form.cart .single_add_to_cart_button { margin-left: 0; }
	.woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation-price { margin-left: 0; }
	.qty-label { width: auto; }
	.more-info::after { width: 220px; }
}

/* Piegādes piezīme apmaksas blokā (celazimes-core) */
.cz-delivery-note { font-size: 16px; color: var(--ink); background: var(--paper); border-left: 4px solid var(--orange); padding: 10px 14px; margin: 0 0 14px; }

/* WordPress administrācijas josla (pieslēgtiem lietotājiem) – fiksētie elementi zem tās */
body.admin-bar .sidebar, body.admin-bar .rail { top: 32px; }
body.admin-bar .searchbox { top: calc(var(--tile-h) + 32px); }
@media (max-width: 782px) {
	body.admin-bar .sidebar, body.admin-bar .rail { top: 46px; }
	body.admin-bar .searchbox { top: calc(var(--rail-h) + 46px); }
}
@media (max-width: 991px) and (min-width: 783px) {
	body.admin-bar .searchbox { top: calc(var(--rail-h) + 32px); }
}
.nav .nav-icon.active em { color: var(--text-3); }

/* 1.3.3 Katalogs: rāmis vienmēr kvadrāts, mazāk tukšuma ap zīmi; saraksts aizpilda visu platumu */
body.cz-listing .site-main > .wrap { max-width: none; }
.card-media { padding: 0; overflow: hidden; }
/* Zīme rāmī kā vecajā lapā – ~60 % no rāmja (vecajā: 150 px rāmis, attēls līdz 90 px) */
.woocommerce ul.products li.product .card-media img {
	position: absolute; top: 20%; left: 20%; width: 60%; height: 60%; max-width: none; object-fit: contain;
}
.sign-no { z-index: 1; }

/* =========================================================
   1.4.0 – vecās lapas izkārtojums: produkts, josla "Kādēļ izvēlēties", kontakti
   ========================================================= */

/* Produkts: attēls 250 px rāmī kreisajā pusē, forma labajā; rindas "Nosaukums: | lauks (260 px) | (i)" */
.woocommerce div.product { grid-template-columns: 290px minmax(0, 1fr); gap: 24px 16px; }
.woocommerce div.product div.images { background: transparent; border: 0; padding: 0; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper > div:first-child a,
.woocommerce div.product div.images .woocommerce-product-gallery__image:first-child > a {
	display: flex; align-items: center; justify-content: center; width: 250px; height: 250px; border: 1px solid var(--line); background: transparent;
}
.woocommerce div.product div.images img { width: 120px !important; height: 120px !important; max-height: none; object-fit: contain; }
.woocommerce div.product div.images .flex-control-thumbs { width: 250px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 73px; margin: 0 15px 15px 0; }
.woocommerce div.product div.images .flex-control-thumbs li:nth-child(3n) { margin-right: 0; }
.woocommerce div.product form.cart .variations { border-top: 0; width: auto; }
.woocommerce div.product form.cart .variations tr { border-bottom: 0; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { padding: 0 0 16px; vertical-align: top; }
.woocommerce div.product form.cart .variations th { width: 180px; padding: 11px 20px 0 0; }
.woocommerce div.product form.cart .variations label { font-weight: 400; font-size: 19px; line-height: 25px; }
.woocommerce div.product form.cart .variations th.label label::after { content: ":"; }
.field-with-info { gap: 18px; max-width: none; }
.field-with-info select, .woocommerce div.product form.cart .variations select { flex: none; width: 260px; max-width: 100%; height: 44px; font-size: 18px; padding: 6px 14px; }
.woocommerce div.product form.cart .reset_variations { font-size: 15px; margin-top: 4px; }
.more-info img { width: 24px; height: 24px; }
/* Daudzums | cena labajā pusē; zem tiem – poga visā lauka platumā (260 px) */
.woocommerce div.product form.cart .single_variation_wrap { display: grid; grid-template-columns: 180px 260px; align-items: start; padding: 0; border-bottom: 0; }
.woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation-add-to-cart { display: contents; }
.woocommerce div.product form.cart .single_variation_wrap .single_variation { grid-column: 2; grid-row: 1; justify-self: end; text-align: right; position: relative; z-index: 1; }
.woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation-price { margin: 0; }
.woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation-price .price { font-size: 32px; line-height: 35px; font-weight: 600; color: var(--ink); display: block; padding-top: 3px; }
.woocommerce div.product .woocommerce-variation-price .woocommerce-price-suffix,
.woocommerce div.product p.price .woocommerce-price-suffix { display: block; font-size: 13px; line-height: 16px; font-weight: 400; color: var(--text-3); }
.woocommerce div.product form.cart .woocommerce-variation-description, .woocommerce div.product form.cart .woocommerce-variation-availability { grid-column: 1 / -1; }
.qty-label { grid-column: 1; grid-row: 1; width: auto; font-weight: 400; font-size: 19px; line-height: 25px; padding-top: 9px; }
.woocommerce div.product form.cart .single_variation_wrap div.quantity { grid-column: 2; grid-row: 1; justify-self: start; }
.woocommerce div.product form.cart .single_variation_wrap .single_add_to_cart_button { grid-column: 2; grid-row: 2; margin: 50px 0 0; width: 100%; }
.woocommerce div.product form.cart:not(.variations_form) { display: grid; grid-template-columns: 180px 260px; align-items: start; gap: 0; }
.woocommerce div.product form.cart:not(.variations_form) > * { grid-column: 1 / -1; }
.woocommerce div.product form.cart:not(.variations_form) .qty-label { grid-column: 1; grid-row: auto; }
.woocommerce div.product form.cart:not(.variations_form) div.quantity { grid-column: 2; justify-self: start; }
.woocommerce div.product form.cart:not(.variations_form) .single_add_to_cart_button { grid-column: 2; margin: 50px 0 0; width: 100%; }
.woocommerce div.product div.summary > p.price { margin: 0 0 20px 180px; width: 260px; text-align: right; font-size: 32px; line-height: 35px; }
.woocommerce .quantity .qty { width: 60px; height: 42px; text-align: left; padding: 6px 5px 6px 18px; font-size: 19px; border-right: 0; }
.qty-nav-wrap { margin-right: 0; }
.quantity-nav { justify-content: space-between; margin-left: 7px; padding: 1px 0; }
.quantity-button { flex: none; width: 38px; height: 19px; font: 400 17px/18px var(--font); }
.quantity-button + .quantity-button { border-top: 0; }
.woocommerce div.product form.cart .button { font-size: 20px; font-weight: 600; padding: 10px 20px; }
.woocommerce div.product form.cart .single_add_to_cart_button { margin-left: 0; }
.woocommerce div.product form.cart .single_add_to_cart_button::before { width: 22px; height: 22px; margin-right: 6px; }
.cz-custom-fields { border-top: 0; }
.product-desc { margin-top: 50px; max-width: 600px; }
.product-desc h3, .variant-prices h3 { font-size: 22px; margin-bottom: 20px; }

/* Sadaļas virsraksti (Kādēļ izvēlēties, Kur mēs atrodamies, Ceļa zīmes izgatavošana) */
.section-title { font-size: 34px; line-height: 1.25; margin-bottom: 30px; }

/* "Kādēļ izvēlēties" – pelēka josla kā vecajā lapā */
.features { background: var(--soft); padding: 70px 0; margin-top: 0; }
.features .section-title { max-width: 560px; }
.feature-grid { gap: 30px; }
.feature img { height: 80px; margin: 30px 0 40px; }
.feature h3 { font-size: 20px; margin-bottom: 20px; }
.feature p { font-size: 17px; line-height: 24px; }

/* Kontakti – tumša josla */
.contacts { background: var(--ink); padding: 70px 0; }
.contacts .cols > div:first-child h2::after { content: none; }
.contacts h2 { font-size: 34px; line-height: 1.25; margin: 0 0 30px; }
.contacts h3 { font-size: 20px; line-height: 1.3; margin-bottom: 20px; }
.contacts p { color: #fff; margin-bottom: 20px; }
.contacts a { color: #fff; text-decoration: none; }
.contacts a:hover { color: var(--orange); }
.site-main + .contacts { margin-top: 0; }
.footer-map { background: var(--light); }

/* "Ceļa zīmes izgatavošana" zem produkta */
.product-make { background: var(--bg); border-top: 1px solid var(--line); margin-top: 0; padding: 70px 0; }

/* Teksta lapu kolonnas un kartītes – vecās lapas toņos */
.entry-content .wp-block-column, .cz-speed-class { border-top-color: var(--ink); }
.woocommerce-account .woocommerce-MyAccount-navigation ul { background: var(--ink); }
.woocommerce-account .woocommerce-MyAccount-navigation li { border-top: 1px solid var(--nav-line); }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background: var(--muted); color: #fff; box-shadow: inset 4px 0 0 var(--orange); }

/* ---------- 1.4.0 pielāgošanās ekrāniem ---------- */
@media (max-width: 1460px) {
	:root { --pad-l: 110px; --pad-r: 50px; }
}
@media (max-width: 1200px) {
	:root { --pad-l: 100px; --pad-r: 30px; }
}
@media (max-width: 991px) {
	:root { --pad-l: 30px; --pad-r: 30px; --sidebar-w: min(300px, calc(100vw - 56px)); }
	/* Telefonā/planšetē: rīku josla – rinda augšējā kreisajā stūrī (logo, ›/☰, meklēšana, grozs); izvēlne izbīdās un pabīda joslu */
	.sidebar { transform: translateX(-100%); width: var(--sidebar-w); z-index: 60; }
	.sidebar-logo { height: 120px; padding: 25px 0; }
	.sidebar-logo img, .sidebar-logo .custom-logo { height: 70px; }
	body.menu-open .sidebar { transform: none; }
	.rail { left: 0; right: auto; top: 0; flex-direction: row; width: auto; z-index: 61; }
	/* Atvērtā izvēlne pabīda rīku joslu (logo jau ir izvēlnē) – poga › / ☰ paliek redzama blakus izvēlnei */
	body.menu-open .rail { transform: translateX(var(--sidebar-w)); }
	body.menu-open .rail .t-logo { display: none; }
	.rail a, .rail button { width: var(--rail-h); height: var(--rail-h); }
	.rail .t-logo { display: flex; width: auto; padding: 0 12px; border-right: 1px solid var(--nav-line); }
	.rail .czt-ui-icon { width: 24px; height: 24px; }
	.rail .czt-cart-count { top: 6px; right: 5px; }
	body:not(.menu-open) .burger::before, body:not(.menu-open) .burger::after { width: 15px; left: 6px; }
	body:not(.menu-open) .burger::before { top: 4px; transform: rotate(45deg); }
	body:not(.menu-open) .burger::after { bottom: 3px; transform: rotate(-45deg); }
	body:not(.menu-open) .burger span { opacity: 0; }
	.searchbox { left: 0; right: 0; top: var(--rail-h); height: auto; padding: 8px; }
	.searchbox input[type=search] { width: auto; flex: 1; min-width: 0; height: 42px; }
	.main { margin-left: 0; padding-top: var(--rail-h); }
	.page-head { grid-template-columns: 1fr; padding-top: 40px; }
	.page-head h1 { font-size: 30px; }
	.page-head .lead { justify-self: start; margin-top: 14px; }
	.page-head .sign-no-head { text-align: left; font-size: 20px; line-height: 26px; margin-top: 4px; }
	.breadcrumbs { margin: -16px 0 8px; }
	.notice-strip { padding: 9px 16px; }
	.section-title, .contacts h2 { font-size: 28px; }
	.woocommerce div.product { grid-template-columns: 1fr; }
	.features, .contacts, .product-make { padding: 56px 0; }
}
@media (max-width: 640px) {
	:root { --pad-l: 15px; --pad-r: 15px; }
	.page-head h1 { font-size: 26px; }
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr); gap: 32px 14px; }
	.card-media { max-width: 150px; }
	.woocommerce div.product div.images .woocommerce-product-gallery__wrapper > div:first-child a,
	.woocommerce div.product div.images .woocommerce-product-gallery__image:first-child > a { width: 200px; height: 200px; }
	.woocommerce div.product form.cart .variations { width: 100%; }
	.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; width: auto; padding: 0 0 6px; }
	.woocommerce div.product form.cart .variations td { padding-bottom: 14px; }
	.field-with-info select, .woocommerce div.product form.cart .variations select { width: 100%; flex: 1; }
	.woocommerce div.product form.cart .single_variation_wrap,
	.woocommerce div.product form.cart:not(.variations_form) { grid-template-columns: 1fr 1fr; }
	.qty-label { grid-column: 1 / -1; grid-row: 1; padding-top: 0; margin-bottom: 6px; }
	.woocommerce div.product form.cart .single_variation_wrap div.quantity { grid-column: 1; grid-row: 2; }
	.woocommerce div.product form.cart .single_variation_wrap .single_variation { grid-column: 2; grid-row: 2; }
	.woocommerce div.product form.cart .single_variation_wrap .single_add_to_cart_button { grid-column: 1 / -1; grid-row: 3; margin-top: 30px; }
	.woocommerce div.product form.cart:not(.variations_form) div.quantity { grid-column: 1; }
	.woocommerce div.product form.cart:not(.variations_form) .single_add_to_cart_button { grid-column: 1 / -1; margin-top: 30px; }
	.woocommerce div.product div.summary > p.price { margin-left: 0; width: auto; text-align: left; }
}
