/*
Theme Name: Dom Sejfów
Template: twentytwentyfive
Description: Motyw potomny Dom Sejfów wg makiet designera (paleta „Miedź palona", Archivo, mobile-first). Baza: Twenty Twenty-Five (FSE).
Version: 1.9.2
Author: Dom Sejfów
Text Domain: domsejfow
*/

:root {
	--dsm-brand: #1A2540;
	--dsm-accent: #C2571B;
	--dsm-accent-h: #A8490F;
	--dsm-section: #F5F5F7;
	--dsm-cream: #FFF4EC;
	--dsm-ink: #23272E;
	--dsm-mut: #5B6472;
	--dsm-success: #1E7B4F;
	--dsm-line: #E7E9ED;      /* hairline na bieli */
	--dsm-line-2: #C9CFD8;    /* obwódki pól formularzy */
	--dsm-shadow: 0 1px 4px rgba(26, 37, 64, .10);
}

/* ── fundament ───────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}
body { overflow-x: hidden; }

/* Strona główna: sekcje stykają się krawędziami — zerujemy blockGap roota TT5
   (19px białe paski między sekcjami, fatalne między granatowymi blokami). */
body.home .wp-site-blocks > * + * { margin-block-start: 0; }

/* Fokus: miedź na jasnym tle, krem na granacie. */
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
	outline: 2px solid var(--dsm-accent);
	outline-offset: 2px;
	border-radius: 3px;
}
.dsm-topbar a:focus-visible, .dsm-why a:focus-visible, .dsm-footer a:focus-visible {
	outline-color: var(--dsm-cream);
}

/* ── topbar ──────────────────────────────────────────────────────────── */
.dsm-topbar { background: var(--dsm-brand); color: #fff; font-size: 13px; }
.dsm-topbar-in { max-width: 1280px; margin: 0 auto; padding: 8px 20px; display: flex;
	align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dsm-topbar-claim { color: rgba(255, 255, 255, .72); }
.dsm-topbar-usp { display: flex; gap: 18px; }
.dsm-topbar-usp span { white-space: nowrap; }

/* ── header ──────────────────────────────────────────────────────────── */
.dsm-header { max-width: 1280px; margin: 0 auto; padding: 16px 20px; display: flex;
	align-items: center; gap: 24px; }
.dsm-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.dsm-logo-text { font-family: Archivo, sans-serif; font-weight: 600; font-size: 21px;
	color: var(--dsm-brand); line-height: 1.05; display: flex; flex-direction: column; }
.dsm-logo-text small { font-size: 9.5px; letter-spacing: 2.2px; text-transform: uppercase;
	color: var(--dsm-accent); font-weight: 600; margin-top: 2px; }
.dsm-search { flex: 1 1 auto; display: flex; align-items: stretch; border: 1.5px solid var(--dsm-line-2);
	border-radius: 8px; overflow: hidden; max-width: 560px; margin-left: auto; background: #fff;
	transition: border-color .15s; }
.dsm-search:focus-within { border-color: var(--dsm-accent); }
.dsm-search input[type="search"] { flex: 1 1 0; min-width: 0; border: 0; padding: 12px 14px;
	font-size: 16px; outline: none; background: transparent; color: var(--dsm-ink);
	font-family: inherit; appearance: none; }
.dsm-search input[type="search"]::placeholder { color: var(--dsm-mut); opacity: 1; }
.dsm-search button { border: 0; background: transparent; min-width: 48px; cursor: pointer;
	color: var(--dsm-brand); display: flex; align-items: center; justify-content: center;
	transition: color .15s; }
.dsm-search button:hover { color: var(--dsm-accent); }
.dsm-header-links { display: flex; gap: 14px; margin-left: auto; flex: none; }
.dsm-header-links a { display: flex; flex-direction: column; align-items: center;
	justify-content: center; gap: 3px; min-width: 48px; min-height: 48px; padding: 2px 4px;
	font-size: 12px; font-weight: 500; color: var(--dsm-brand); text-decoration: none;
	border-radius: 8px; transition: color .15s; }
.dsm-header-links a:hover { color: var(--dsm-accent); }

/* ── nawigacja kategorii (czysty HTML, bez core/navigation) ──────────── */
.dsm-nav { border-top: 1px solid var(--dsm-line); border-bottom: 1px solid var(--dsm-line); }
.dsm-nav-in { max-width: 1280px; margin: 0 auto; padding: 0 20px; display: flex;
	justify-content: space-between; gap: 28px; overflow-x: auto; -webkit-overflow-scrolling: touch;
	scrollbar-width: none; }
.dsm-nav-in::-webkit-scrollbar { display: none; }
.dsm-nav-in a { flex: none; white-space: nowrap; padding: 13px 0; font-size: 15px;
	font-weight: 500; color: var(--dsm-ink); text-decoration: none;
	box-shadow: inset 0 -2px 0 transparent; transition: color .15s, box-shadow .15s; }
.dsm-nav-in a:hover { color: var(--dsm-accent); box-shadow: inset 0 -2px 0 var(--dsm-accent); }

/* ── hero ────────────────────────────────────────────────────────────── */
.dsm-hero { background: var(--dsm-section); }
.dsm-hero-in { max-width: 1280px; margin: 0 auto; padding: 56px 20px; display: grid;
	grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.dsm-eyebrow { color: var(--dsm-accent); text-transform: uppercase; letter-spacing: 3px;
	font-size: 12.5px; font-weight: 600; margin: 0 0 12px; }
.dsm-hero h1 { font-family: Archivo, sans-serif; font-weight: 600; color: var(--dsm-brand);
	font-size: clamp(30px, 4.6vw, 46px); line-height: 1.12; margin: 0 0 16px; }
.dsm-hero-lead { font-size: 18px; line-height: 1.6; color: var(--dsm-mut); max-width: 560px;
	margin: 0 0 24px; }
.dsm-hero-cta { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin: 0 0 22px; }
.dsm-btn { background: var(--dsm-accent); color: #fff; font-weight: 600; padding: 13px 26px;
	border-radius: 8px; text-decoration: none; display: inline-block; transition: background .15s; }
.dsm-btn:hover { background: var(--dsm-accent-h); color: #fff; }
.dsm-btn-ghost { color: var(--dsm-brand); font-weight: 600; text-decoration: none;
	padding: 11px 2px; transition: color .15s; }
.dsm-btn-ghost:hover { color: var(--dsm-accent); }
.dsm-hero-usp { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; font-weight: 500;
	color: var(--dsm-ink); margin: 0; }
.dsm-hero-usp span { white-space: nowrap; }
.dsm-tick { font-style: normal; color: var(--dsm-success); font-weight: 600; }
.dsm-hero-art { display: flex; justify-content: center; }
.dsm-hero-art svg { width: min(300px, 60vw); height: auto; opacity: .97; }

/* ── nagłówki sekcji ─────────────────────────────────────────────────── */
.dsm-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
	margin-bottom: 22px; }
.dsm-sec-head h2 { font-family: Archivo, sans-serif; font-weight: 600; color: var(--dsm-brand);
	font-size: 30px; line-height: 1.2; margin: 0; }
.dsm-sec-head a { color: var(--dsm-accent); font-weight: 600; font-size: 15px;
	text-decoration: none; white-space: nowrap; padding: 6px 0; }
.dsm-sec-head a:hover { color: var(--dsm-accent-h); }

/* ── kategorie ───────────────────────────────────────────────────────── */
.dsm-cats-in { max-width: 1280px; margin: 0 auto; padding: 56px 20px 24px; }
.dsm-cats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dsm-cat { background: var(--dsm-section); border: 1px solid transparent; border-radius: 12px;
	padding: 20px 18px; text-decoration: none; display: flex; flex-direction: column; gap: 8px;
	transition: transform .12s, box-shadow .15s, border-color .15s; }
.dsm-cat:hover { transform: translateY(-2px); box-shadow: var(--dsm-shadow);
	border-color: var(--dsm-line); }
.dsm-cat-ico { color: var(--dsm-brand); display: flex; }
.dsm-cat-ico svg { width: 24px; height: 24px; }
.dsm-cat-name { font-weight: 600; font-size: 15.5px; line-height: 1.35; color: var(--dsm-ink); }
.dsm-cat-name em { font-style: normal; font-size: 10.5px; background: var(--dsm-brand); color: #fff;
	border-radius: 4px; padding: 1.5px 6px; margin-left: 6px; vertical-align: 2px;
	letter-spacing: .5px; }
.dsm-cat-price { font-size: 13.5px; color: var(--dsm-mut); margin-top: auto; }

/* ── wybrane produkty (karty własnego shortcode'u) ───────────────────── */
.dsm-best-in { max-width: 1280px; margin: 0 auto; padding: 24px 20px 56px; }
.dsm-products { list-style: none; margin: 0; padding: 0; display: grid;
	grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dsm-card { margin: 0; }
.dsm-card-link { display: flex; flex-direction: column; height: 100%; background: #fff;
	border: 1px solid var(--dsm-line); border-radius: 12px; padding: 14px;
	text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.dsm-card-link:hover { border-color: var(--dsm-line-2); box-shadow: var(--dsm-shadow); }
.dsm-card-media { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
	background: #fff; border-radius: 8px; overflow: hidden; margin-bottom: 12px; }
.dsm-card-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.dsm-card-title { color: var(--dsm-ink); font-weight: 600; font-size: 15px; line-height: 1.4;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	min-height: calc(2 * 1.4 * 15px); margin-bottom: 8px; }
.dsm-card-link:hover .dsm-card-title { color: var(--dsm-brand); }
.dsm-card-price { color: var(--dsm-brand); font-weight: 600; font-size: 17px; margin-bottom: 14px; }
.dsm-card-price del { color: var(--dsm-mut); font-weight: 400; font-size: 14px; margin-right: 6px; }
.dsm-card-price ins { text-decoration: none; }
.dsm-card-btn { margin-top: auto; background: var(--dsm-accent); color: #fff; text-align: center;
	font-weight: 600; font-size: 14.5px; padding: 12px; border-radius: 8px;
	transition: background .15s; }
.dsm-card-link:hover .dsm-card-btn { background: var(--dsm-accent-h); }

/* ── dlaczego Dom Sejfów ─────────────────────────────────────────────── */
.dsm-why { background: var(--dsm-brand); }
.dsm-why-in { max-width: 1280px; margin: 0 auto; padding: 56px 20px; }
.dsm-why-in > h2 { font-family: Archivo, sans-serif; font-weight: 600; color: #fff;
	font-size: 30px; line-height: 1.2; margin: 0 0 28px; }
.dsm-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 16px; }
.dsm-why-tile { color: #fff; }
.dsm-why-tile svg { color: var(--dsm-cream); margin-bottom: 12px; }
.dsm-why-tile h3 { color: #fff; font-size: 17px; margin: 0 0 6px; font-family: Archivo, sans-serif;
	font-weight: 600; }
.dsm-why-tile p { color: rgba(255, 255, 255, .72); font-size: 14.5px; line-height: 1.55; margin: 0; }

/* ── stopka ──────────────────────────────────────────────────────────── */
.dsm-footer { background: var(--dsm-brand); color: #fff; }
.dsm-footer-in { max-width: 1280px; margin: 0 auto; padding: 48px 20px 28px; display: grid;
	grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; border-top: 1px solid rgba(255, 255, 255, .12); }
.dsm-footer-logo { display: flex; align-items: center; gap: 9px; font-family: Archivo, sans-serif;
	font-weight: 600; font-size: 17px; margin-bottom: 12px; }
.dsm-footer-brand p { color: rgba(255, 255, 255, .72); font-size: 13.5px; line-height: 1.6; margin: 0; }
.dsm-footer-col h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 2px;
	margin: 0 0 12px; font-family: Archivo, sans-serif; font-weight: 600; }
.dsm-footer-col a { display: block; width: fit-content; color: rgba(255, 255, 255, .72);
	text-decoration: none; font-size: 14px; padding: 4px 0; transition: color .15s; }
.dsm-footer-col a:hover { color: #fff; }
.dsm-footer-soon { display: block; color: rgba(255, 255, 255, .55); font-size: 12.5px;
	margin-top: 10px; max-width: 260px; line-height: 1.5; }
.dsm-footer-bottom { max-width: 1280px; margin: 0 auto; padding: 14px 20px 26px;
	color: rgba(255, 255, 255, .55); font-size: 12px; }

/* ── tablet ≤ 1140: nawigacja przechodzi w pasek przewijany ──────────── */
@media (max-width: 1140px) {
	.dsm-nav-in { justify-content: flex-start; gap: 24px; }
}

/* ── mobile ≤ 900 ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
	.dsm-topbar-in { justify-content: center; padding: 7px 16px; }
	.dsm-topbar-claim { display: none; }
	.dsm-topbar-usp { gap: 14px; font-size: 12.5px; }
	.dsm-header { flex-wrap: wrap; gap: 12px 10px; padding: 12px 16px; }
	.dsm-logo-text { font-size: 19px; }
	.dsm-logo-text small { letter-spacing: 1.8px; }
	.dsm-search { order: 3; flex-basis: 100%; max-width: none; margin-left: 0; }
	.dsm-header-links { gap: 6px; }
	.dsm-header-links a { min-width: 44px; }
	.dsm-nav-in { padding: 0 16px; }
	.dsm-nav-in a { padding: 13px 0; }
	.dsm-hero-in { grid-template-columns: 1fr; padding: 36px 16px 40px; gap: 0; }
	.dsm-hero-art { display: none; }
	.dsm-sec-head { margin-bottom: 16px; gap: 12px; }
	.dsm-sec-head h2 { font-size: 24px; }
	.dsm-sec-head a { font-size: 14px; }
	.dsm-cats-in { padding: 36px 16px 14px; }
	.dsm-cats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.dsm-best-in { padding: 14px 16px 36px; }
	.dsm-products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.dsm-why-in { padding: 36px 16px; }
	.dsm-why-in > h2 { font-size: 24px; margin-bottom: 20px; }
	.dsm-why-grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
	.dsm-footer-in { grid-template-columns: 1fr; gap: 26px; padding: 36px 16px 20px; }
	.dsm-footer-col a { padding: 12px 0; }
	.dsm-footer-bottom { padding: 10px 16px 22px; }
}

/* ── mobile ≤ 520 ────────────────────────────────────────────────────── */
@media (max-width: 520px) {
	.dsm-sec-head { flex-direction: column; align-items: flex-start; gap: 4px; }
	.dsm-cat { padding: 16px 14px; }
	.dsm-cat-name { font-size: 14px; }
	.dsm-card-link { padding: 10px; }
	.dsm-card-title { font-size: 13.5px; min-height: calc(2 * 1.4 * 13.5px); }
	.dsm-card-price { font-size: 15.5px; margin-bottom: 12px; }
	.dsm-card-btn { font-size: 13.5px; padding: 11px 8px; }
	.dsm-why-grid { grid-template-columns: 1fr; }
	.dsm-hero-lead { font-size: 16.5px; }
}

/* ── hero z banerem (grafika Canva, wybór 13.08) ─────────────────────── */
.dsm-hero--banner { position: relative; background: var(--dsm-brand); overflow: hidden; }
.dsm-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover; object-position: right center; }
.dsm-hero--banner .dsm-hero-in { position: relative; grid-template-columns: 1fr;
	padding: 84px 20px 96px; }
.dsm-hero--banner .dsm-hero-copy { max-width: 560px; }
.dsm-hero--banner h1 { color: #fff; }
.dsm-hero--banner .dsm-eyebrow { color: #E48A54; }
.dsm-hero--banner .dsm-hero-lead { color: rgba(255, 255, 255, .78); }
.dsm-hero--banner .dsm-hero-usp { color: rgba(255, 255, 255, .92); }
.dsm-hero--banner .dsm-tick { color: var(--dsm-cream); }
.dsm-hero--banner .dsm-btn-ghost { color: #fff; }
.dsm-hero--banner .dsm-btn-ghost:hover { color: #E48A54; }
@media (max-width: 900px) {
	.dsm-hero-bg { display: none; }
	.dsm-hero--banner .dsm-hero-in { padding: 44px 20px 52px; }
}

/* ── kafle kategorii ze zdjęciami (packshoty z biblioteki, 13.08) ─────── */
.dsm-cat { padding: 14px 14px 18px; }
.dsm-cat-img { display: block; background: #fff; border-radius: 9px; padding: 10px;
	margin-bottom: 12px; }
.dsm-cat-img img { display: block; width: 100%; height: auto; aspect-ratio: 1/1;
	object-fit: contain; }
.dsm-cat-ico { display: none; }

/* kontakt w stopce (13.08) */
.dsm-footer-mail { display: inline-block; margin-top: 10px; color: #fff; font-size: 14px;
	text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.dsm-footer-mail:hover { border-color: #fff; color: #fff; }

/* telefon sklepu (13.08) */
.dsm-topbar-tel { display: flex; align-items: center; gap: 7px; color: #fff;
	text-decoration: none; }
.dsm-topbar-tel svg { color: #E48A54; }
.dsm-topbar-godz { color: rgba(255,255,255,.72); }
@media (max-width: 900px) {
	.dsm-topbar-in > .dsm-topbar-tel { display: flex; }
	.dsm-topbar-godz { display: none; }
	.dsm-topbar-usp span:nth-child(n+2) { display: none; }
	.dsm-header-tel { display: none; }
}

/* ═══ MOBILE PASS 13.08 (v1.9) ═══════════════════════════════════════════ */

/* ── licznik koszyka na ikonie (wszystkie szerokości) ────────────────── */
.dsm-header-cart { position: relative; }
.dsm-cart-count { position: absolute; top: 1px; right: 2px; min-width: 16px; height: 16px;
	padding: 0 4px; border-radius: 999px; background: var(--dsm-accent); color: #fff;
	font-size: 10.5px; font-weight: 700; line-height: 16px; text-align: center;
	font-family: -apple-system, BlinkMacSystemFont, sans-serif; pointer-events: none; }
.dsm-cart-count[hidden] { display: none !important; }

/* ── header kompaktowy ≤768 (zad. 4): logo+ikony w jednym wierszu,
      etykiety ikon ukryte, search 44px pod spodem, nav bez zmian ──────── */
@media (max-width: 768px) {
	.dsm-header { padding: 8px 16px 10px; gap: 8px 6px; }
	.dsm-logo { gap: 8px; }
	.dsm-logo svg { width: 40px; height: 40px; }
	.dsm-logo-text { font-size: 19px; }
	.dsm-header-links { gap: 2px; }
	.dsm-header-links a { min-width: 44px; min-height: 44px; gap: 0; padding: 2px; }
	.dsm-header-links a > span:not(.dsm-cart-count) { display: none; }
	.dsm-cart-count { top: 3px; right: 3px; }
	.dsm-search { order: 3; flex-basis: 100%; max-width: none; margin-left: 0; height: 44px; }
	.dsm-search input[type="search"] { padding: 0 12px; height: 41px; }
	.dsm-search button { min-width: 44px; }
}
@media (max-width: 519px) {
	.dsm-logo-text small { display: none; }
	.dsm-logo-text { justify-content: center; }
}

/* ── archiwa produktów: klasyczny loop w szablonie legacy (zad. 6–8) ──── */
.dsm-archive { padding: 8px 20px 48px; }
.dsm-archive .woocommerce-products-header { padding: 18px 0 4px; }
.dsm-archive h1.page-title { font-family: Archivo, sans-serif; font-weight: 600;
	color: var(--dsm-brand); font-size: 34px; line-height: 1.15; margin: 0 0 8px; }
.dsm-archive .term-description { color: var(--dsm-mut); font-size: 15.5px; line-height: 1.55;
	max-width: 760px; }
.dsm-archive .term-description p { margin: 0 0 8px; }
.dsm-archive .woocommerce-result-count { display: none !important; }
.dsm-archive .woocommerce-ordering { float: none; margin: 0 0 4px; }
.dsm-archive .woocommerce-ordering select.orderby { height: 44px; padding: 0 36px 0 12px;
	border: 1px solid var(--dsm-line-2); border-radius: 8px; background-color: #fff;
	color: var(--dsm-ink); font-size: 14.5px; font-family: inherit; appearance: none;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B6472' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center; }
/* pasek mini-USP nad siatką (zad. 8) */
.dsm-usp-bar { display: flex; align-items: center; gap: 22px; margin: 6px 0 16px;
	padding: 11px 0; border-top: 1px solid var(--dsm-line); border-bottom: 1px solid var(--dsm-line);
	overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.dsm-usp-bar::-webkit-scrollbar { display: none; }
.dsm-usp-bar span { display: inline-flex; align-items: center; gap: 7px; flex: none;
	white-space: nowrap; font-size: 13.5px; font-weight: 500; color: var(--dsm-ink); }
.dsm-usp-bar svg { color: var(--dsm-accent); flex: none; }
/* siatka: grid zamiast floatów Woo */
.dsm-archive ul.products { display: grid !important; grid-template-columns: repeat(3, 1fr);
	gap: 14px; margin: 0 0 28px; padding: 0; list-style: none; }
.dsm-archive ul.products::before, .dsm-archive ul.products::after { display: none !important; }
.dsm-archive ul.products li.product { float: none !important; width: auto !important;
	margin: 0 !important; padding: 0; display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--dsm-line); border-radius: 12px;
	overflow: hidden; transition: box-shadow .15s, border-color .15s; }
.dsm-archive ul.products li.product:hover { border-color: var(--dsm-line-2);
	box-shadow: var(--dsm-shadow); }
.dsm-archive ul.products li.product > a.woocommerce-LoopProduct-link { display: flex;
	flex-direction: column; flex: 1 1 auto; padding: 14px 14px 4px; text-decoration: none; }
.dsm-archive ul.products li.product img { width: 100%; aspect-ratio: 1 / 1;
	object-fit: contain; background: #fff; border-radius: 8px; margin: 0 0 12px; display: block; }
.dsm-archive ul.products li.product .woocommerce-loop-product__title { font-family: inherit;
	font-weight: 600; font-size: 15px; line-height: 1.4; color: var(--dsm-ink);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	min-height: calc(2 * 1.4 * 15px); margin: 0 0 8px; padding: 0; }
.dsm-archive ul.products li.product:hover .woocommerce-loop-product__title { color: var(--dsm-brand); }
.dsm-archive ul.products li.product .price { color: var(--dsm-brand); font-weight: 600;
	font-size: 17px; margin: 0; }
.dsm-archive ul.products li.product .price del { color: var(--dsm-mut); font-weight: 400;
	font-size: 14px; margin-right: 6px; opacity: 1; }
.dsm-archive ul.products li.product .price ins { text-decoration: none; font-weight: 600; }
.dsm-archive .dsm-loop-btn { display: flex; align-items: center; justify-content: center;
	margin: 12px 14px 14px; min-height: 44px; background: var(--dsm-accent); color: #fff;
	font-weight: 600; font-size: 14.5px; border-radius: 8px; text-decoration: none;
	text-align: center; transition: background .15s; }
.dsm-archive .dsm-loop-btn:hover { background: var(--dsm-accent-h); color: #fff; }
/* paginacja: cele dotykowe */
.dsm-archive .woocommerce-pagination { text-align: center; }
.dsm-archive .woocommerce-pagination ul.page-numbers { display: inline-flex; gap: 6px;
	list-style: none; margin: 0; padding: 0; border: 0; }
.dsm-archive .woocommerce-pagination ul.page-numbers li { border: 0; margin: 0; }
.dsm-archive .woocommerce-pagination .page-numbers { display: inline-flex; align-items: center;
	justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px;
	border: 1px solid var(--dsm-line); border-radius: 8px; color: var(--dsm-ink);
	text-decoration: none; font-weight: 500; }
.dsm-archive .woocommerce-pagination .page-numbers.current { background: var(--dsm-brand);
	border-color: var(--dsm-brand); color: #fff; }
@media (min-width: 1024px) {
	.dsm-archive ul.products { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
	.dsm-archive { padding: 4px 16px 36px; }
	.dsm-archive .woocommerce-products-header { padding: 12px 0 2px; }
	.dsm-archive h1.page-title { font-size: 28px; }
	.dsm-archive .term-description { font-size: 15px; }
	.dsm-archive .woocommerce-ordering { width: 100%; }
	.dsm-archive .woocommerce-ordering select.orderby { width: 100%; }
	.dsm-archive ul.products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.dsm-archive ul.products li.product > a.woocommerce-LoopProduct-link { padding: 10px 10px 2px; }
	.dsm-archive ul.products li.product .woocommerce-loop-product__title { font-size: 15px; }
	.dsm-archive ul.products li.product .price { font-size: 15.5px; }
	.dsm-archive .dsm-loop-btn { margin: 10px 10px 12px; font-size: 13.5px; }
	.dsm-usp-bar { gap: 18px; margin: 4px 0 14px; }
}

/* ── koszyk klasyczny: porządki mobile (zad. 11) ──────────────────────── */
/* puste komórki bez data-title nie mogą renderować sierocego ":" */
.woocommerce table.shop_table_responsive tr td:not([data-title])::before { content: none !important; }
/* wiersz widgetu rat PayU: ukryj, dopóki widget się nie wypełni */
.woocommerce-page .cart_totals tr:has(> td > #installment-mini-total:empty) { display: none; }
/* krzyżyk usuwania: 44px tap-target */
.woocommerce-page table.cart a.remove { display: flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; font-size: 22px; line-height: 1; font-weight: 400;
	color: var(--dsm-mut) !important; border-radius: 8px; }
.woocommerce-page table.cart a.remove:hover { background: var(--dsm-section);
	color: var(--dsm-accent) !important; }
/* przycisk „Zaktualizuj koszyk" w stanie disabled: czytelna szarość */
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] {
	background: #E5E7EB !important; color: var(--dsm-mut) !important; opacity: 1 !important;
	cursor: not-allowed; }
@media (max-width: 768px) {
	/* miniatura produktu 64px obok nazwy (Woo domyślnie ją ukrywa) */
	.woocommerce-page table.cart tr.woocommerce-cart-form__cart-item { display: grid;
		grid-template-columns: 76px 1fr; gap: 0 12px; position: relative; padding: 12px 0; }
	.woocommerce-page table.cart tr.woocommerce-cart-form__cart-item td { border: 0; }
	.woocommerce-page table.cart td.product-thumbnail { display: block !important;
		grid-column: 1; grid-row: 1 / span 4; padding: 0 0 0 4px; text-align: left; }
	.woocommerce-page table.cart td.product-thumbnail::before { content: none !important; }
	.woocommerce-page table.cart td.product-thumbnail img { width: 64px; height: 64px;
		object-fit: contain; background: #fff; border: 1px solid var(--dsm-line);
		border-radius: 8px; display: block; }
	.woocommerce-page table.cart td.product-name { grid-column: 2; padding-right: 44px !important; }
	.woocommerce-page table.cart td.product-price,
	.woocommerce-page table.cart td.product-quantity,
	.woocommerce-page table.cart td.product-subtotal { grid-column: 2; }
	.woocommerce-page table.cart td.product-remove { position: absolute; top: 6px; right: 0;
		padding: 0 !important; background: none; }
	.woocommerce-page table.cart td.product-remove::before { content: none !important; }
}

/* ── kosmetyka po QA (v1.9.1) ─────────────────────────────────────────── */
/* Box-sizing search: równe 44px na mobile (pomiar dawał 46-47 z borderami) */
@media (max-width: 768px) {
	.dsm-search { box-sizing: border-box; }
}
/* Raty PayU w kartach listy: stonowane, w rytmie karty (widget wstrzykuje
   inline color niebieski — stąd !important) */
.dsm-archive ul.products li.product span[id^="installment-mini-"] { display: block;
	padding: 4px 14px 0; font-size: 12.5px; color: var(--dsm-mut); }
.dsm-archive ul.products li.product .payu-mini-installments-widget a {
	color: var(--dsm-mut) !important; font-size: 12.5px; }
@media (max-width: 768px) {
	.dsm-archive ul.products li.product span[id^="installment-mini-"] { padding: 2px 10px 0; }
}
/* Ikona fontu WooCommerce przy "Oblicz koszty wysyłki" bywa tofu — wyłącz */
.woocommerce-shipping-calculator .shipping-calculator-button::before,
.woocommerce-shipping-calculator .shipping-calculator-button::after { content: none !important; }
/* Kupon: pole + przycisk w jednej linii, oba 44px */
.woocommerce-page table.cart td.actions .coupon { display: flex; gap: 8px; align-items: stretch;
	float: none; }
.woocommerce-page table.cart td.actions .coupon .input-text { flex: 1 1 auto; width: auto;
	min-width: 0; height: 44px !important; margin: 0; padding: 0 12px !important;
	border: 1px solid var(--dsm-line-2); border-radius: 8px; font-size: 16px;
	box-sizing: border-box; }
.woocommerce-page table.cart td.actions .coupon button { flex: 0 0 auto; height: 44px;
	white-space: nowrap; font-size: 14px; padding: 0 14px; }
@media (max-width: 768px) {
	/* mobile: kupon w dwóch pełnych wierszach — spójnie z "Zaktualizuj koszyk" */
	.woocommerce-page table.cart td.actions .coupon { flex-wrap: wrap; }
	.woocommerce-page table.cart td.actions .coupon .input-text { flex: 1 1 100%; }
	.woocommerce-page table.cart td.actions .coupon button { flex: 1 1 100%; }
}
