/*
 Theme Name:   Enfold Child — Pragochema
 Theme URI:    https://www.pragochema.cz
 Description:  Child theme pro pragochema.cz (barvy, úpravy bez zásahu do Enfold)
 Author:       Pragochema
 Template:     enfold
 Version:      2.3.9
*/

:root {
	--pragochema-primary: #191f55;
	--pragochema-accent: #2eaae0;
	--pragochema-link: #007bff;
	--pragochema-table-head-bg: #f0f2f6;
	--pragochema-heading: #1b2157;
	--pragochema-muted: #5a6080;
	--pragochema-border: #d8dce8;
	--pragochema-surface: #f5f7fb;
	--pragochema-header-bg: #f4f4fc;
	--pragochema-header-text: #333333;
	--pragochema-header-border: #e0e0ea;
}

/* Header — světle šedý nadech, černý text menu (jako originál) */
#header,
#header_main,
.header_color {
	background-color: var(--pragochema-header-bg) !important;
	border-color: var(--pragochema-header-border) !important;
}

#header_main .container,
.main_menu ul:first-child > li > a,
#header_main #avia-menu > li > a .avia-menu-text {
	color: var(--pragochema-header-text) !important;
}

.main_menu ul:first-child > li > a:hover,
.main_menu ul:first-child > li.current-menu-item > a,
.main_menu ul:first-child > li.current-page-ancestor > a,
#header_main #avia-menu > li.current-menu-item > a .avia-menu-text,
#header_main #avia-menu > li > a:hover .avia-menu-text {
	color: var(--pragochema-primary) !important;
}

#header_main .logo img,
#header_main .logo svg,
.pragochema-logo img,
.pragochema-logo svg {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 3.15rem;
	object-fit: contain;
}

.pragochema-brand {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	max-width: 420px;
}

.pragochema-logo img,
.pragochema-logo svg {
	max-height: 3.15rem;
	width: auto;
	height: auto;
	object-fit: contain;
}

.pragochema-logo__mark {
	display: none;
}

.pragochema-logo__full {
	display: block;
}

/* Patička — plné logo + text i na mobilu */
.pragochema-site-footer .pragochema-logo__mark {
	display: none !important;
}

.pragochema-site-footer .pragochema-logo__full {
	display: block !important;
}

.pragochema-site-footer .pragochema-logo img,
.pragochema-site-footer .pragochema-logo svg {
	max-height: 3.15rem;
}

.pragochema-site-footer .pragochema-brand-text {
	display: flex !important;
}

.pragochema-brand-text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	line-height: 1.25;
	padding-left: 0.75rem;
	border-left: 1px solid #c8c8d8;
}

.pragochema-brand-name,
.pragochema-brand-name a {
	color: var(--pragochema-primary) !important;
	font-size: 1.35rem;
	font-weight: 700;
	text-decoration: none;
}

.pragochema-brand-tagline {
	color: var(--pragochema-muted);
	font-size: 0.72rem;
	font-weight: 400;
	max-width: 18rem;
}

#header_main .logo.bg-logo:not(.pragochema-logo-wrap) {
	display: none !important;
}
#header_main .logo.bg-logo.pragochema-logo-wrap {
	background: none !important;
	width: auto !important;
	height: auto !important;
}

#header_main .logo.bg-logo:not(.pragochema-logo-wrap) > a > img[src*="layout/logo.png"] {
	display: none !important;
}

/* Košík v hlavičce — katalog bez objednávek */
#header_main > ul.cart_dropdown,
#header_main .cart_dropdown {
	display: none !important;
}

#header_main #avia-menu > li.pragochema-eshop-item > a,
.av-burger-overlay #avia-menu > li.pragochema-eshop-item > a {
	color: var(--pragochema-accent) !important;
	font-weight: 400;
}

.pragochema-lang-select {
	width: 3.75rem;
	min-width: 3.75rem;
	height: 1.85rem;
	padding: 0 0.35rem;
	border: 1px solid var(--pragochema-header-border);
	border-radius: 2px;
	background: #fff;
	color: var(--pragochema-header-text);
	font-size: 0.78rem;
	font-weight: 400;
	line-height: 1.85rem;
	cursor: pointer;
	vertical-align: middle;
}

#header_main #avia-menu > li.pragochema-lang-menu-item {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	align-self: center;
	margin: 0;
	padding: 0;
}

/* Režim jen čeština — skrýt přepínač (záloha i při cache) */
.pragochema-cs-only .pragochema-lang-menu-item,
.pragochema-cs-only .pragochema-lang-select,
.pragochema-cs-only .pragochema-footer-lang {
	display: none !important;
}

/* Mobil — kompaktní hlavička, Enfold burger beze změny struktury menu */
@media (max-width: 989px) {
	.responsive #top #wrap_all .av-logo-container,
	.responsive #top #header_main > .container .main_menu .av-main-nav > li > a {
		height: auto !important;
		line-height: normal !important;
		min-height: 0 !important;
	}

	#header_main.container_wrap,
	#header_main .container.av-logo-container {
		padding-top: 0.35rem !important;
		padding-bottom: 0.35rem !important;
	}

	#header_main .container.av-logo-container .inner-container {
		align-items: center;
		padding-bottom: 0.25rem;
	}

	.pragochema-brand {
		max-width: calc(100% - 3.25rem);
		gap: 0;
	}

	.pragochema-brand-tagline,
	.pragochema-brand-text {
		display: none;
	}

	.pragochema-logo__full {
		display: none !important;
	}

	.pragochema-logo__mark {
		display: block !important;
		max-height: 2.5rem !important;
		max-width: none !important;
		width: auto !important;
		height: auto !important;
	}

	#header_main .logo img,
	#header_main .logo svg,
	#header_main .pragochema-logo img,
	#header_main .pragochema-logo svg {
		max-height: 2.5rem !important;
		max-width: none !important;
	}

	#header_main #avia-menu > li > a .avia-menu-fx,
	#header_main #avia-menu > li > a .avia-bullet {
		display: none !important;
	}
}

@media (max-width: 479px) {
	#header_main .pragochema-logo__mark {
		max-height: 2.25rem !important;
	}

	#header_main .pragochema-brand {
		max-width: calc(100% - 3rem);
	}
}

/* Burger overlay — barvy Pragochema + menu nahoře (Enfold default = vertical-align: middle) */
@media (max-width: 989px) {
	.av-burger-overlay-inner {
		display: block !important;
		min-height: 100% !important;
		height: 100% !important;
		vertical-align: top !important;
	}

	#top #av-burger-menu-ul {
		display: block !important;
		height: auto !important;
		vertical-align: top !important;
		padding: calc(env(safe-area-inset-top, 0px) + 3.75rem) 1.25rem 2rem !important;
	}

	.html_av-overlay-full #av-burger-menu-ul li {
		font-size: 1.2rem !important;
		padding: 0.2em 0 !important;
	}

	.html_av-overlay-full #top #wrap_all #av-burger-menu-ul li a {
		padding: 0.35em 0 !important;
	}

	.av-burger-overlay .pragochema-brand,
	.av-burger-overlay .logo.bg-logo {
		display: none !important;
	}
}
.av-burger-overlay-bg,
.av-burger-overlay .av-burger-overlay-inner {
	background-color: var(--pragochema-header-bg) !important;
}

.av-burger-overlay #avia-menu a,
.av-burger-overlay .avia-menu-text {
	color: var(--pragochema-header-text) !important;
}

.av-burger-overlay #avia-menu .current-menu-item > a,
.av-burger-overlay #avia-menu .current-page-ancestor > a,
.av-burger-overlay #avia-menu a:hover {
	color: var(--pragochema-primary) !important;
}

.av-burger-overlay .pragochema-lang-select {
	width: 100%;
	max-width: 8rem;
}

/* Desktop — logo vlevo, menu vpravo, bez hamburgeru */
@media (min-width: 990px) {
	#header_main.container_wrap,
	#header_main .container.av-logo-container {
		padding-top: 0.5rem !important;
		padding-bottom: 0.45rem !important;
	}

	#header_main .container.av-logo-container .inner-container {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex-wrap: wrap;
		gap: 0.5rem 1.25rem;
		width: 100%;
		padding-bottom: 0.15rem;
	}

	#header_main .logo,
	#header_main .logo span,
	#header_main .logo.pragochema-logo-wrap {
		flex: 0 0 auto;
		overflow: visible;
	}

	#header_main .main_menu {
		flex: 1 1 auto;
		margin-left: auto;
		text-align: right;
		display: flex;
		align-items: center;
		justify-content: flex-end;
	}

	#header_main .av-main-nav-wrap {
		width: 100%;
	}

	#header_main #avia-menu {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-end;
		align-items: center;
		gap: 0.2rem 0.95rem;
		margin: 0;
		padding: 0;
		list-style: none;
		float: none;
		min-height: 2rem;
	}

	#header_main #avia-menu > li > a,
	#header_main #avia-menu > li > a .avia-menu-text {
		font-size: 0.9rem;
		font-weight: 400;
		letter-spacing: 0;
		text-transform: none;
	}

	#header_main #avia-menu > li.current-menu-item > a,
	#header_main #avia-menu > li.current-page-ancestor > a,
	#header_main #avia-menu > li > a:hover {
		border-bottom: 0;
		text-decoration: underline;
		text-underline-offset: 0.2em;
	}

	#header_main #avia-menu > li > a .avia-menu-fx,
	#header_main #avia-menu > li > a .avia-bullet {
		display: none !important;
	}

	#header_main #avia-menu > li {
		float: none;
		display: flex;
		align-items: center;
		position: relative;
	}

	#header_main #avia-menu > li > a {
		display: flex;
		align-items: center;
		padding: 0.15rem 0;
		line-height: 1.3;
		white-space: nowrap;
	}

	#header_main #avia-menu > li.menu-item-search > a {
		padding: 0.15rem 0;
	}

	#header_main .av-burger-menu-main,
	#header_main .av-burger-overlay,
	#header_main .av-burger-menu-below,
	#header_main .av-main-nav-wrap .av-burger-menu-main {
		display: none !important;
	}
}

#header_main #avia-menu .sub-menu {
	text-align: left;
}

/* Odkazy — obsah #007bff; hlavička menu má vlastní pravidla */
.entry-content-wrapper a,
.pragochema-variant-body a {
	color: var(--pragochema-link);
}

.entry-content-wrapper a:hover,
.pragochema-variant-body a:hover {
	color: var(--pragochema-primary);
}

/* Enfold / WP zelené zvýraznění z importu → modrá */
.entry-content-wrapper .has-palm-leaf-color,
.pragochema-variant-body .has-palm-leaf-color,
.entry-content-wrapper .has-vivid-green-cyan-color,
.pragochema-variant-body .has-vivid-green-cyan-color,
.entry-content-wrapper .has-light-green-cyan-color,
.pragochema-variant-body .has-light-green-cyan-color {
	color: var(--pragochema-link) !important;
}

/* Enfold zelené strong v obsahu → modrá #007bff */
#top .entry-content-wrapper p > strong,
#top .entry-content-wrapper li > strong,
#top .entry-content > p > strong,
#top .entry-content > li > strong {
	color: var(--pragochema-link) !important;
}

.pragochema-variant-body > p strong,
.pragochema-variant-body > ul strong,
.pragochema-variant-body > ol strong,
.pragochema-variant-body li strong {
	color: var(--pragochema-link);
}

.entry-content-wrapper table strong,
.pragochema-variant-body table strong,
.entry-content-wrapper table .has-palm-leaf-color,
.pragochema-variant-body table .has-palm-leaf-color {
	color: inherit !important;
	font-weight: inherit;
}

.avia-button,
html .avia-button,
input[type="submit"],
button[type="submit"] {
	background-color: var(--pragochema-accent) !important;
	border-color: var(--pragochema-accent) !important;
}

.avia-button:hover,
html .avia-button:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
	background-color: var(--pragochema-primary) !important;
	border-color: var(--pragochema-primary) !important;
}

h1,
h2,
h3,
h4,
.av-special-heading-tag {
	color: var(--pragochema-heading);
}

#footer,
.socket_color {
	background-color: var(--pragochema-primary) !important;
}

/* Skrýt výchozí Enfold footer widgety i spodní socket — copyright je v naší patičce */
#footer.footer_color,
#socket {
	display: none !important;
}

/* Vlastní patička */
.pragochema-site-footer {
	background-color: #2a2a2a !important;
	color: #ddd;
	padding: 2.5rem 0 1.5rem;
	margin-top: 0;
}

.pragochema-footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 768px) {
	.pragochema-footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 990px) {
	.pragochema-footer-grid {
		grid-template-columns: 1.1fr 1.2fr 1.2fr 0.9fr;
	}
}

.pragochema-site-footer h3 {
	color: #fff;
	font-size: 0.95rem;
	margin: 0 0 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.pragochema-site-footer p {
	margin: 0 0 0.75rem;
	font-size: 0.88rem;
	line-height: 1.55;
	color: #ccc;
}

.pragochema-footer-brand .pragochema-brand-name a,
.pragochema-footer-brand .pragochema-brand-name {
	color: #fff !important;
	font-size: 1.1rem;
}

.pragochema-footer-brand .pragochema-brand-tagline {
	color: #aaa;
	font-size: 0.7rem;
}

.pragochema-footer-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.pragochema-footer-menu li {
	margin: 0 0 0.35rem;
}

.pragochema-footer-menu a {
	color: #ccc;
	text-decoration: none;
	font-size: 0.88rem;
	text-transform: uppercase;
}

.pragochema-footer-menu a:hover {
	color: #fff;
}

.pragochema-footer-copyright {
	margin-top: 1.25rem;
	padding-top: 0;
	border-top: 0;
	font-size: 0.75rem;
	font-weight: 400;
	color: #777 !important;
	text-align: left;
	line-height: 1.4;
	text-shadow: none;
}

.pragochema-footer-copyright a {
	color: #777 !important;
	text-decoration: none;
}

.pragochema-footer-copyright a:hover {
	color: #777 !important;
}

.pragochema-site-footer p strong {
	color: var(--pragochema-link) !important;
	font-weight: 700;
}

/* --- Importovaný obsah (wp:html bloky) --- */
.entry-content-wrapper .wp-block-html,
.entry-content-wrapper .post-content {
	max-width: none;
}

.entry-content-wrapper .wp-block-html > :first-child {
	margin-top: 0;
}

.entry-content-wrapper .wp-block-html p,
.entry-content-wrapper .post-content p {
	line-height: 1.65;
	margin-bottom: 1em;
}

.entry-content-wrapper .wp-block-html h2,
.entry-content-wrapper .post-content h2 {
	margin-top: 2rem;
	margin-bottom: 0.75rem;
	padding-bottom: 0.35rem;
	border-bottom: 2px solid var(--pragochema-accent);
}

.entry-content-wrapper .wp-block-html h3,
.entry-content-wrapper .post-content h3 {
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
}

/* Tabulky — jednotný styl (vzor: /chemikalie/ — jen thead, zbytek bílý) */
.entry-content-wrapper table,
.pragochema-variant-body table,
.wp-block-html table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.25rem 0 1.75rem;
	font-size: 0.92rem;
	line-height: 1.45;
}

.entry-content-wrapper table th,
.entry-content-wrapper table td,
.pragochema-variant-body table th,
.pragochema-variant-body table td,
.wp-block-html table th,
.wp-block-html table td {
	border: 1px solid var(--pragochema-border);
	padding: 0.55rem 0.75rem;
	vertical-align: top;
	background: #fff;
	color: #333;
	font-weight: 400;
}

.entry-content-wrapper table thead th,
.pragochema-variant-body table thead th,
.wp-block-html table thead th {
	background: var(--pragochema-table-head-bg);
	color: var(--pragochema-heading);
	font-weight: 700;
	text-align: left;
}

/* Kariéra — první řádek bez thead = hlavička */
.pragochema-page-kariera table:not(:has(thead)) > tbody > tr:first-child > td,
.pragochema-page-kariera table:not(:has(thead)) > tbody > tr:first-child > th {
	background: var(--pragochema-table-head-bg);
	color: var(--pragochema-heading);
	font-weight: 700;
}

#top .entry-content-wrapper table tbody tr:nth-child(even) td,
#top .entry-content-wrapper table tbody tr:nth-child(odd) td,
#top .entry-content-wrapper table tbody tr:nth-child(even) th,
#top .entry-content-wrapper table tbody tr:nth-child(odd) th,
#top .pragochema-variant-body table tbody tr:nth-child(even) td,
#top .pragochema-variant-body table tbody tr:nth-child(odd) td,
#top .pragochema-variant-body table tbody tr:nth-child(even) th,
#top .pragochema-variant-body table tbody tr:nth-child(odd) th {
	background: #fff !important;
	font-weight: 400 !important;
	color: #333 !important;
}

#top .entry-content-wrapper table thead th,
#top .pragochema-variant-body table thead th,
#top .pragochema-page-kariera table:not(:has(thead)) > tbody > tr:first-child > td,
#top .pragochema-page-kariera table:not(:has(thead)) > tbody > tr:first-child > th {
	background: var(--pragochema-table-head-bg) !important;
	color: var(--pragochema-heading) !important;
	font-weight: 700 !important;
}

.entry-content-wrapper table thead th strong,
.pragochema-page-kariera table:not(:has(thead)) > tbody > tr:first-child strong {
	font-weight: 700;
	color: var(--pragochema-heading);
}

.entry-content-wrapper table strong,
.pragochema-variant-body table strong {
	color: inherit;
	font-weight: inherit;
}

.entry-content-wrapper .wp-block-html img,
.entry-content-wrapper .post-content img {
	max-width: 100%;
	height: auto;
}

/* Katalog produktů */
.pragochema-cat-intro {
	margin-bottom: 2rem;
	padding: 1rem 1.25rem;
	background: var(--pragochema-surface);
	border-left: 4px solid var(--pragochema-accent);
}

.pragochema-catalog {
	margin-top: 1rem;
}

.pragochema-product-group {
	margin: 2.5rem 0;
}

.pragochema-product-group > h2 {
	margin-bottom: 1rem;
}

.pragochema-accordion {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

details.pragochema-variant {
	border: 1px solid var(--pragochema-border);
	border-radius: 4px;
	background: #fff;
	overflow: hidden;
}

details.pragochema-variant summary {
	cursor: pointer;
	list-style: none;
	padding: 0.85rem 1rem;
	background: var(--pragochema-surface);
	font-size: 0.98rem;
	line-height: 1.4;
}

details.pragochema-variant summary strong {
	color: var(--pragochema-link) !important;
}

details.pragochema-variant summary::-webkit-details-marker {
	display: none;
}

details.pragochema-variant summary::before {
	content: "+";
	display: inline-block;
	width: 1.25rem;
	margin-right: 0.35rem;
	color: var(--pragochema-accent);
	font-weight: 700;
}

details.pragochema-variant[open] > summary::before {
	content: "−";
}

details.pragochema-variant[open] > summary {
	background: #fff;
	color: inherit;
	box-shadow: inset 4px 0 0 var(--pragochema-accent);
}

details.pragochema-variant[open] > summary strong {
	color: var(--pragochema-link) !important;
}

details.pragochema-variant[open] > summary .pragochema-variant-note {
	color: var(--pragochema-muted);
	opacity: 1;
}

.pragochema-variant-note {
	color: var(--pragochema-muted);
	font-weight: 400;
}

.pragochema-variant-body {
	padding: 1rem 1.25rem 1.25rem;
	border-top: 1px solid var(--pragochema-border);
}

.pragochema-variant-body table {
	margin-top: 0.75rem;
	font-size: 0.88rem;
}

/* Seznamy kategorií / sortiment */
.entry-content-wrapper .wp-block-html ul,
.entry-content-wrapper .post-content ul {
	padding-left: 1.25rem;
	margin-bottom: 1.25rem;
}

.entry-content-wrapper .wp-block-html li,
.entry-content-wrapper .post-content li {
	margin-bottom: 0.35rem;
}

@media (max-width: 767px) {
	.entry-content-wrapper table,
	.wp-block-html table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	details.pragochema-variant summary {
		padding: 0.75rem;
		font-size: 0.92rem;
	}
}

/* --- Homepage --- */
body.home .container_wrap.title_container,
body.front-page .container_wrap.title_container,
.home .title_container,
.home .breadcrumb-trail,
.home .entry-content-wrapper > .post-title,
.home .av-special-heading,
.home .template-page .post-title {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	min-height: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
}

.pragochema-home {
	margin: 0;
}

.pragochema-hero {
	position: relative;
	overflow: hidden;
	margin: 0 0 2rem;
	border-radius: 4px;
	background: var(--pragochema-surface);
	min-height: 500px;
}

.pragochema-hero-slide {
	display: none;
	position: relative;
}

.pragochema-hero-slide.is-active {
	display: block;
}

.pragochema-hero-slide img {
	display: block;
	width: 100%;
	height: 500px;
	object-fit: cover;
	object-position: center;
}

/* Autochemie banner: letterbox dole, zarovnat obsah nahoru. */
.pragochema-hero-slide:first-child img {
	object-position: top center;
}

.pragochema-hero-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 1.25rem 1.5rem 1.35rem;
	background: linear-gradient(transparent, rgba(25, 31, 85, 0.88));
	color: #fff;
}

.pragochema-hero-caption-title {
	margin: 0 0 0.35rem;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.35;
}

.pragochema-hero-caption-sub {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 400;
	line-height: 1.55;
	max-width: 52rem;
	opacity: 0.95;
}

@media (max-width: 767px) {
	.pragochema-hero,
	.pragochema-hero-slide img {
		min-height: 280px;
		height: 280px;
	}

	.pragochema-hero-caption-title {
		font-size: 1rem;
	}

	.pragochema-hero-caption-sub {
		font-size: 0.88rem;
	}
}

.pragochema-intro-with-photo {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	margin-bottom: 2rem;
	align-items: start;
}

@media (min-width: 768px) {
	.pragochema-intro-with-photo {
		grid-template-columns: minmax(200px, 280px) 1fr;
	}
}

.pragochema-intro-photo img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
}

.pragochema-intro {
	margin-bottom: 0;
}

.pragochema-home-body {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	margin-bottom: 2rem;
}

@media (min-width: 990px) {
	.pragochema-home-body {
		grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
		gap: 2.5rem;
		align-items: start;
	}
}

.pragochema-home-sidebar {
	background: var(--pragochema-surface);
	padding: 1.25rem 1.35rem;
	border-radius: 4px;
	border: 1px solid var(--pragochema-border);
}

.pragochema-home-sidebar h2 {
	font-size: 1rem;
	margin: 0 0 0.85rem;
	padding-bottom: 0.35rem;
	border-bottom: 2px solid var(--pragochema-accent);
	text-transform: uppercase;
}

.pragochema-home-sidebar section + section {
	margin-top: 1.75rem;
	padding-top: 0;
	border-top: 1px solid var(--pragochema-border);
}

.pragochema-home-sidebar section + section h2 {
	margin-top: 1.25rem;
}

.pragochema-map {
	margin: 2.5rem 0 0;
}

.pragochema-map h2 {
	margin-top: 0;
}

.pragochema-map-embed {
	overflow: hidden;
	border-radius: 4px;
	border: 1px solid var(--pragochema-border);
}

.pragochema-map-embed iframe {
	display: block;
	width: 100%;
	min-height: 320px;
}

.pragochema-columns {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
	.pragochema-columns {
		grid-template-columns: 1fr 1fr;
	}
}

.pragochema-column h2 {
	margin-top: 0;
}

.pragochema-column-image {
	float: left;
	max-width: 220px;
	height: auto;
	margin: 0 1rem 0.75rem 0;
	border-radius: 4px;
}

.pragochema-certificates {
	margin-top: 1.5rem;
	clear: both;
}

.pragochema-cert-title {
	margin: 0 0 0.75rem;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.45;
	color: var(--pragochema-muted);
	border: 0;
	padding: 0;
}

.pragochema-cert-icons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.pragochema-cert-icons img {
	display: block;
	height: 76px;
	width: auto;
}

.pragochema-home-sidebar .pragochema-sortiment,
.pragochema-home-sidebar .pragochema-news,
.pragochema-home-sidebar .pragochema-docs {
	margin: 0;
	padding-top: 0;
}

.pragochema-home-sidebar .pragochema-sortiment {
	border-top: 0;
}

.pragochema-home-sidebar .pragochema-sortiment h2 {
	margin-top: 0;
}

.pragochema-sortiment-list {
	list-style: none;
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.entry-content-wrapper .pragochema-home-sidebar .pragochema-sortiment-list {
	padding-left: 0;
}

.pragochema-sortiment-list li {
	list-style: none;
	list-style-type: none;
	margin: 0;
	padding: 0.45rem 0 0.45rem 1rem;
	position: relative;
}

.pragochema-sortiment-list li + li {
	border-top: 1px solid var(--pragochema-border);
}

.pragochema-sortiment-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.85rem;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--pragochema-accent);
}

.pragochema-sortiment-list a {
	color: var(--pragochema-primary);
	font-weight: 600;
	text-decoration: none;
	font-size: 0.92rem;
}

.pragochema-sortiment-list a:hover {
	color: var(--pragochema-accent);
}

.pragochema-sortiment-footer {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--pragochema-border);
}

.pragochema-sortiment-footer h2 {
	margin: 0 0 1rem;
	color: var(--pragochema-heading);
	font-size: 1.35rem;
	font-weight: 600;
}

.entry-content-wrapper .pragochema-sortiment-footer .pragochema-sortiment-list {
	padding-left: 0;
}

/* Legacy full-width grid (nepoužívá se na homepage) */
.pragochema-sortiment-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.5rem 1.5rem;
	list-style: none;
	padding: 0;
	margin: 1rem 0 0;
}

@media (min-width: 600px) {
	.pragochema-sortiment-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.pragochema-sortiment-grid li {
	margin: 0;
	padding: 0.65rem 0.85rem;
	background: var(--pragochema-surface);
	border-left: 3px solid var(--pragochema-accent);
}

.pragochema-sortiment-grid a {
	color: var(--pragochema-primary);
	font-weight: 600;
	text-decoration: none;
}

.pragochema-sortiment-grid a:hover {
	color: var(--pragochema-accent);
}

/* Přehled kategorií výrobků (/produkty/) */
.pragochema-products-overview-title {
	margin-top: 0;
}

.pragochema-products-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin: 1.5rem 0 0;
}

@media (min-width: 600px) {
	.pragochema-products-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.pragochema-product-card {
	border: 1px solid rgba(0, 0, 0, 0.09);
	padding: 10px;
	margin: 0;
}

.pragochema-product-card-link {
	display: block;
	color: var(--pragochema-link);
	text-decoration: none;
}

.pragochema-product-card-link:hover {
	color: var(--pragochema-primary);
}

.pragochema-product-card-link img {
	display: block;
	width: 40px;
	height: 40px;
	margin-bottom: 1rem;
}

.pragochema-product-card-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	text-transform: uppercase;
	color: var(--pragochema-link);
}

/* Texty — přehled jako mřížka karet (Sortiment) */
.pragochema-texty-overview {
	margin-bottom: 2rem;
}

.pragochema-variant-body .pragochema-catalog {
	margin-top: 0;
}

.pragochema-variant-body .pragochema-product-group:first-child {
	margin-top: 0;
}

/* IMDS — ilustrace vlevo u úvodu */
.pragochema-imds-intro {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	margin-bottom: 2rem;
}

@media (min-width: 768px) {
	.pragochema-imds-intro {
		grid-template-columns: 220px 1fr;
		align-items: start;
	}
}

.pragochema-imds-media img {
	display: block;
	width: 100%;
	max-width: 220px;
	height: auto;
	border-radius: 4px;
}

.pragochema-imds-rest {
	clear: both;
}

/* EMS/QMS — stejný layout jako IMDS (sdílené třídy page-media-*) */
.pragochema-page-media-intro {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	margin-bottom: 2rem;
}

@media (min-width: 768px) {
	.pragochema-page-media-intro {
		grid-template-columns: 220px 1fr;
		align-items: start;
	}
}

.pragochema-page-media img {
	display: block;
	width: 100%;
	max-width: 220px;
	height: auto;
	border-radius: 4px;
}

.pragochema-page-media-rest {
	clear: both;
}

/* Kontakty — adresa a souřadnice černě, e-mail modře */
.pragochema-page-kontakty .entry-content h2,
.pragochema-page-kontakty .entry-content h3,
.pragochema-page-kontakty .entry-content p,
.pragochema-page-kontakty .entry-content table td,
.pragochema-page-kontakty .entry-content table tbody th {
	color: #333;
	font-weight: 400;
	background: #fff;
}

.pragochema-page-kontakty .entry-content a[href^="mailto:"],
.pragochema-page-kontakty .entry-content a[href^="tel:"] {
	color: var(--pragochema-link);
}

.pragochema-page-kontakty .entry-content a[href*="maps"],
.pragochema-page-kontakty .entry-content h2 + p a {
	color: #333;
	text-decoration: none;
}

.pragochema-page-kontakty .entry-content a[href*="maps"]:hover,
.pragochema-page-kontakty .entry-content h2 + p a:hover {
	text-decoration: underline;
}

/* Kontakty v2 — karty místo tabulek */
.pragochema-contacts-v2 {
	width: 100%;
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
}

.pragochema-contacts-v2__section {
	margin-bottom: 2.5rem;
}

.pragochema-contacts-v2__heading {
	margin: 0 0 1.25rem;
	color: var(--pragochema-heading);
	font-size: 1.5rem;
	font-weight: 600;
	border-bottom: 1px solid var(--pragochema-border);
	padding-bottom: 0.5rem;
}

.pragochema-contacts-v2__locations {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
	.pragochema-contacts-v2__locations {
		grid-template-columns: 1fr 1fr;
	}
}

.pragochema-contacts-v2__location {
	padding: 1.25rem;
	background: #fff;
	border: 1px solid var(--pragochema-border);
	border-radius: 6px;
}

.pragochema-contacts-v2__location-label {
	margin: 0 0 0.35rem;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--pragochema-muted);
}

.pragochema-contacts-v2__location-title {
	margin: 0 0 0.75rem;
	color: var(--pragochema-heading);
	font-size: 1.15rem;
	font-weight: 600;
}

.pragochema-contacts-v2__address {
	margin: 0 0 0.75rem;
	font-style: normal;
	line-height: 1.55;
	color: #333;
}

.pragochema-contacts-v2__gps {
	margin: 0 0 0.5rem;
	font-size: 0.92rem;
	color: var(--pragochema-muted);
}

.pragochema-contacts-v2__gps span {
	color: #333;
	font-weight: 500;
}

.pragochema-contacts-v2__map-link {
	color: var(--pragochema-link);
	text-decoration: none;
	font-weight: 500;
}

.pragochema-contacts-v2__map-link:hover {
	text-decoration: underline;
}

.pragochema-contacts-v2__map {
	position: relative;
	width: 100%;
	padding-bottom: 56%;
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid var(--pragochema-border);
	background: var(--pragochema-surface);
}

.pragochema-contacts-v2__map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.pragochema-contacts-v2__cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

@media (min-width: 640px) {
	.pragochema-contacts-v2__cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1200px) {
	.pragochema-contacts-v2__cards--wide {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.pragochema-contacts-v2__card {
	padding: 1.15rem 1.25rem;
	background: #fff;
	border: 1px solid var(--pragochema-border);
	border-radius: 6px;
	border-top: 3px solid var(--pragochema-primary);
}

.pragochema-contacts-v2__card-title {
	margin: 0 0 0.35rem;
	color: var(--pragochema-heading);
	font-size: 1.05rem;
	font-weight: 600;
}

.pragochema-contacts-v2__card-subtitle {
	margin: 0 0 0.85rem;
	color: var(--pragochema-muted);
	font-size: 0.92rem;
	line-height: 1.4;
}

.pragochema-contacts-v2__dl {
	margin: 0;
}

.pragochema-contacts-v2__row {
	display: grid;
	grid-template-columns: minmax(4.75rem, 7.25rem) minmax(0, 1fr);
	gap: 0.35rem 0.75rem;
	padding: 0.35rem 0;
	border-top: 1px solid #eef0f6;
}

.pragochema-contacts-v2__row:first-child {
	border-top: 0;
	padding-top: 0;
}

.pragochema-contacts-v2__row:not(:has(dt)) {
	grid-template-columns: 1fr;
}

.pragochema-contacts-v2__row--spacer {
	grid-template-columns: 1fr;
	border-top: 1px solid #eef0f6;
	padding: 0.15rem 0 0;
	min-height: 0.5rem;
}

.pragochema-contacts-v2__row dt {
	margin: 0;
	color: var(--pragochema-muted);
	font-size: 0.88rem;
	font-weight: 500;
}

.pragochema-contacts-v2__row dd {
	margin: 0;
	min-width: 0;
	color: #333;
	font-size: 0.95rem;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.pragochema-contacts-v2__row dd a {
	color: var(--pragochema-link);
	text-decoration: none;
	word-break: break-word;
}

.pragochema-contacts-v2__row dd a:hover {
	text-decoration: underline;
}

/* Kariéra v2 — karty místo tabulky (plná šířka .container jako titulek a patička) */
.pragochema-kariera-v2 {
	width: 100%;
}

.pragochema-kariera-v2__hero {
	margin-bottom: 1.5rem;
}

.pragochema-kariera-v2__intro {
	margin: 0 0 0.65rem;
	font-size: 1.08rem;
	line-height: 1.65;
	color: #333;
}

.pragochema-kariera-v2__location {
	margin: 0;
	color: var(--pragochema-muted);
	font-size: 0.95rem;
}

.pragochema-kariera-v2__cta {
	margin: 0 0 2.25rem;
	padding: 1.35rem 1.5rem;
	background: linear-gradient(135deg, #f5f7fb 0%, #eef3ff 100%);
	border: 1px solid var(--pragochema-border);
	border-radius: 8px;
	text-align: center;
}

.pragochema-kariera-v2__cta-title {
	margin: 0 0 0.5rem;
	color: var(--pragochema-heading);
	font-size: 1.25rem;
	font-weight: 600;
}

.pragochema-kariera-v2__cta-text {
	margin: 0 0 0.85rem;
	color: var(--pragochema-muted);
	line-height: 1.5;
}

.pragochema-kariera-v2__cta-contacts {
	list-style: none;
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	justify-content: center;
}

.pragochema-kariera-v2 ul.pragochema-kariera-v2__cta-contacts,
.pragochema-kariera-v2 ul.pragochema-kariera-v2__highlights {
	padding-left: 0;
	list-style: none !important;
	list-style-type: none !important;
}

.pragochema-kariera-v2 ul.pragochema-kariera-v2__cta-contacts > li,
.pragochema-kariera-v2 ul.pragochema-kariera-v2__highlights > li {
	list-style: none !important;
	list-style-type: none !important;
}

.pragochema-kariera-v2__cta-contacts a {
	color: var(--pragochema-link);
	font-weight: 600;
	text-decoration: none;
	font-size: 1.05rem;
}

.pragochema-kariera-v2__cta-contacts a:hover {
	text-decoration: underline;
}

.pragochema-kariera-v2__heading {
	margin: 0 0 1.25rem;
	color: var(--pragochema-heading);
	font-size: 1.5rem;
	font-weight: 600;
}

.pragochema-kariera-v2__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.15rem;
}

@media (min-width: 768px) {
	.pragochema-kariera-v2__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.pragochema-kariera-v2__card {
	display: flex;
	flex-direction: column;
	padding: 1.35rem 1.4rem 1.25rem;
	background: #fff;
	border: 1px solid var(--pragochema-border);
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(27, 33, 87, 0.04);
	transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.pragochema-kariera-v2__card:hover {
	border-color: #c5cce0;
	box-shadow: 0 4px 14px rgba(27, 33, 87, 0.07);
}

.pragochema-kariera-v2__card-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	margin-bottom: 0.85rem;
}

.pragochema-kariera-v2__date {
	font-size: 0.82rem;
	color: var(--pragochema-muted);
}

.pragochema-kariera-v2__tag {
	display: inline-block;
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
	background: var(--pragochema-surface);
	color: var(--pragochema-primary);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.pragochema-kariera-v2__card-title {
	margin: 0 0 0.65rem;
	color: var(--pragochema-heading);
	font-size: 1.12rem;
	font-weight: 600;
	line-height: 1.35;
}

.pragochema-kariera-v2__card-summary {
	margin: 0 0 0.85rem;
	color: #444;
	font-size: 0.96rem;
	line-height: 1.55;
	flex-grow: 1;
}

.pragochema-kariera-v2__highlights {
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
	list-style-type: none;
}

.pragochema-kariera-v2__highlights li {
	position: relative;
	padding-left: 1rem;
	margin-bottom: 0.35rem;
	color: var(--pragochema-muted);
	font-size: 0.9rem;
	line-height: 1.45;
	list-style: none;
	list-style-type: none;
}

.pragochema-kariera-v2__highlights li::before {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--pragochema-accent);
}

.pragochema-kariera-v2__card-actions {
	margin: 0;
	margin-top: auto;
	padding-top: 0.5rem;
}

.pragochema-kariera-v2__pdf {
	display: inline-block;
	padding: 0.55rem 1rem;
	border-radius: 6px;
	background: var(--pragochema-primary);
	color: #fff !important;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none !important;
}

.pragochema-kariera-v2__pdf:hover {
	background: #121845;
	color: #fff !important;
}

/* Přehled služeb (/sluzby/) */
.pragochema-services-overview {
	margin-top: 0.5rem;
}

.pragochema-service-block {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	margin-bottom: 2rem;
}

@media (min-width: 768px) {
	.pragochema-service-block {
		grid-template-columns: 220px 1fr;
		align-items: start;
	}
}

.pragochema-service-media img {
	display: block;
	width: 100%;
	max-width: 220px;
	height: auto;
	border-radius: 4px;
}

.pragochema-service-title {
	margin: 0 0 0.75rem;
	color: var(--pragochema-heading);
	font-size: 1.35rem;
}

.pragochema-service-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.entry-content-wrapper .pragochema-service-list {
	padding-left: 0;
}

.pragochema-service-list li {
	position: relative;
	margin: 0 0 0.3rem;
	padding-left: 1.5rem;
	list-style: none;
	line-height: 1.45;
}

.pragochema-service-list li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 0.05em;
	color: #007bff;
	font-weight: 700;
}

.pragochema-news-list {
	list-style: none;
	padding: 0;
	margin: 1rem 0 0;
}

.pragochema-news-list li {
	display: grid;
	grid-template-columns: 7rem 1fr;
	gap: 1rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--pragochema-border);
}

.pragochema-news-list time {
	color: var(--pragochema-muted);
	font-size: 0.9rem;
}

.pragochema-home-sidebar .pragochema-news-list li {
	grid-template-columns: 5.5rem 1fr;
	gap: 0.5rem;
	padding: 0.55rem 0;
}

.pragochema-home-sidebar .pragochema-docs ul {
	padding-left: 1rem;
	margin: 0;
}

/* --- Responzivita --- */
html {
	overflow-x: clip;
}

body {
	overflow-x: clip;
}

.entry-content-wrapper iframe,
.entry-content-wrapper embed,
.entry-content-wrapper object,
.entry-content-wrapper video {
	max-width: 100%;
}

@media (max-width: 989px) {
	.pragochema-home-body {
		gap: 1.5rem;
	}

	.pragochema-home-sidebar {
		padding: 1rem 1.1rem;
	}

	.pragochema-column-image {
		float: none;
		max-width: 100%;
		margin: 0 0 0.75rem;
	}

	.pragochema-news-list li {
		grid-template-columns: 1fr;
		gap: 0.2rem;
	}

	.pragochema-footer-grid {
		gap: 1.5rem;
	}

	.pragochema-contacts-v2__cards--wide {
		grid-template-columns: 1fr;
	}

	.pragochema-footer-brand .pragochema-brand-tagline {
		display: block;
		font-size: 0.72rem;
	}
}

@media (max-width: 767px) {
	.pragochema-home {
		margin: 0;
	}

	.pragochema-intro-with-photo {
		grid-template-columns: 1fr;
	}

	.pragochema-map-embed iframe {
		min-height: 260px;
	}

	.pragochema-hero-caption-sub {
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.pragochema-cert-icons img {
		height: 56px;
	}

	.pragochema-wc-catalog #main .container {
		display: flex;
		flex-direction: column;
	}

	.pragochema-wc-catalog #sidebar {
		order: -1;
		width: 100% !important;
		max-width: none !important;
		float: none !important;
		margin: 0 0 1rem;
	}

	.pragochema-wc-catalog .woocommerce-product-gallery {
		max-width: 100%;
	}

	.pragochema-wc-catalog .content {
		width: 100% !important;
	}
}

@media (max-width: 479px) {
	.pragochema-contacts-v2__row {
		grid-template-columns: 1fr;
		gap: 0.15rem;
	}

	.pragochema-contacts-v2__row dt {
		margin-bottom: 0;
	}

	.pragochema-kariera-v2__cta-contacts {
		flex-direction: column;
		align-items: stretch;
	}

	.pragochema-kariera-v2__cta-contacts li {
		text-align: center;
	}

	.pragochema-product-card-title {
		font-size: 0.92rem;
	}
}

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

/* Skrýt sidebar na stránkách a blogových příspěvcích */
.page-template-default #sidebar,
.page #sidebar,
.single-page #sidebar,
.single-post #sidebar,
.single #sidebar,
.single-post aside.sidebar,
.single aside.sidebar {
	display: none !important;
}

.page-template-default .content,
.page .content,
.single-post .template-blog .content,
.single .template-blog .content {
	width: 100% !important;
	max-width: none;
	float: none !important;
}

/* Blog příspěvek — skrýt lištu „Blog - Latest News“, titulek je v obsahu */
.single-post .title_container,
.single .title_container {
	display: none !important;
}

/* Enfold výchozí widgety Pages / Categories / Archive — nikde nezobrazovat */
.widget_pages,
.widget_categories,
.widget_archive,
#footer .widget_block .wp-block-archives,
#footer .widget_block .wp-block-categories {
	display: none !important;
}

/* WooCommerce — režim katalogu */
.pragochema-wc-catalog .cart_dropdown,
.pragochema-wc-catalog .av-main-nav .cart_dropdown,
.pragochema-wc-catalog .av-cart-counter,
.pragochema-wc-catalog .woocommerce-variation-add-to-cart,
.pragochema-wc-catalog .single_add_to_cart_button,
.pragochema-wc-catalog .add_to_cart_button,
.pragochema-wc-catalog .product .price,
.pragochema-wc-catalog ul.products li.product .price {
	display: none !important;
}

.pragochema-product-files {
	margin: 1.5rem 0 0;
	padding: 1rem 1.25rem;
	background: var(--pragochema-surface, #f5f7fa);
	border-left: 4px solid var(--pragochema-accent, #2e6a97);
}

.pragochema-product-files__title {
	margin: 0 0 0.75rem;
	font-size: 1.05rem;
}

.pragochema-product-files__list {
	margin: 0;
	padding-left: 1.25rem;
}

.pragochema-product-files__list li + li {
	margin-top: 0.35rem;
}

.pragochema-product-files__list a {
	font-weight: 600;
}

/* WooCommerce — sidebar s kategoriemi v obchodě (jako shop.pragochema.cz) */
.pragochema-wc-catalog.woocommerce-shop #sidebar .widget:not(.pragochema-wc-categories-widget),
.pragochema-wc-catalog.tax-product_cat #sidebar .widget:not(.pragochema-wc-categories-widget),
.pragochema-wc-catalog.single-product #sidebar .widget:not(.pragochema-wc-categories-widget) {
	display: none !important;
}

.single-product #sidebar .widget:not(.pragochema-wc-categories-widget),
.pragochema-wc-catalog.single-product #sidebar .widget:not(.pragochema-wc-categories-widget) {
	display: none !important;
}

/* WooCommerce — kompaktní výpis obchodu */
.pragochema-wc-catalog ul.products {
	gap: 1rem 1.25rem;
}

.pragochema-wc-catalog ul.products li.product {
	margin-bottom: 0 !important;
}

.pragochema-wc-catalog ul.products li.product a img {
	max-height: 140px;
	width: auto !important;
	max-width: 100%;
	margin: 0 auto;
	object-fit: contain;
}

.pragochema-wc-catalog ul.products li.product .woocommerce-loop-product__title {
	font-size: 0.95rem;
	line-height: 1.35;
	margin: 0.5rem 0 0;
}

.pragochema-wc-catalog ul.products li.product .button,
.pragochema-wc-catalog ul.products li.product a.add_to_cart_button {
	display: none !important;
}

@media (min-width: 768px) {
	.pragochema-wc-catalog ul.products.columns-4 li.product {
		width: calc(25% - 0.94rem) !important;
	}
}

@media (max-width: 767px) {
	.pragochema-wc-catalog ul.products li.product {
		width: calc(50% - 0.75rem) !important;
	}

	.pragochema-wc-catalog ul.products li.product a img {
		max-height: 110px;
	}
}

/* WooCommerce — menší hlavní obrázek na detailu produktu */
.pragochema-wc-catalog .woocommerce-product-gallery {
	max-width: 320px;
}

.pragochema-wc-catalog .woocommerce-product-gallery__image img {
	max-height: 360px;
	width: auto !important;
	margin: 0 auto;
	object-fit: contain;
}

.pragochema-wc-catalog .related.products ul.products li.product a img {
	max-height: 120px;
}

/* WooCommerce — navigace kategorií v sidebaru */
.pragochema-wc-categories-widget .widgettitle {
	margin-bottom: 0.75rem;
}

.pragochema-wc-categories__list,
.pragochema-wc-categories__sublist {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pragochema-wc-categories__list > li + li {
	margin-top: 0.35rem;
}

.pragochema-wc-categories__list > li > a {
	display: block;
	font-weight: 700;
	color: var(--pragochema-accent, #2e6a97);
	text-decoration: none;
}

.pragochema-wc-categories__list > li > a::before {
	content: '- ';
}

.pragochema-wc-categories__list > li:first-child > a::before {
	content: '';
}

.pragochema-wc-categories__list > li > a:hover,
.pragochema-wc-categories__sublist a:hover {
	text-decoration: underline;
}

.pragochema-wc-categories__list > li.is-active > a,
.pragochema-wc-categories__sublist li.is-active a {
	color: var(--pragochema-text, #1a1a1a);
	text-decoration: underline;
}

.pragochema-wc-categories__sublist {
	margin: 0.35rem 0 0.5rem 0.75rem;
	padding-left: 0.75rem;
	border-left: 1px solid rgba(46, 106, 151, 0.25);
}

.pragochema-wc-categories__sublist li + li {
	margin-top: 0.25rem;
}

.pragochema-wc-categories__sublist a {
	display: block;
	font-weight: 500;
	font-size: 0.95rem;
	color: var(--pragochema-text-muted, #444);
	text-decoration: none;
}

/* WooCommerce — sbalitelné kategorie na mobilu */
@media (min-width: 768px) {
	.pragochema-wc-categories-panel {
		border: 0;
	}

	.pragochema-wc-categories-panel__summary {
		display: none;
	}

	.pragochema-wc-categories-panel__body {
		display: block;
	}
}

@media (max-width: 767px) {
	.pragochema-wc-categories-panel {
		border: 1px solid var(--pragochema-border);
		border-radius: 6px;
		margin-bottom: 0.5rem;
		background: #fff;
	}

	.pragochema-wc-categories-panel__summary {
		padding: 0.85rem 1rem;
		cursor: pointer;
		font-weight: 700;
		color: var(--pragochema-primary);
		list-style: none;
	}

	.pragochema-wc-categories-panel__summary::-webkit-details-marker {
		display: none;
	}

	.pragochema-wc-categories-panel[open] > .pragochema-wc-categories-panel__summary {
		border-bottom: 1px solid var(--pragochema-border);
	}

	.pragochema-wc-categories-panel__body {
		padding: 0.75rem 1rem 1rem;
	}

	.pragochema-wc-categories-widget .widgettitle {
		display: none;
	}
}

/* Patička — záložní jazykový přepínač (T10) */
.pragochema-footer-lang {
	display: none;
	margin: 1.25rem 0 0;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 989px) {
	.pragochema-footer-lang {
		display: block;
	}
}

.pragochema-footer-lang__label {
	margin: 0 0 0.5rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #aaa;
}

.pragochema-footer-lang__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
}

.pragochema-footer-lang__links a {
	display: inline-block;
	min-height: 2.75rem;
	min-width: 2.75rem;
	padding: 0.45rem 0.85rem;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 4px;
	color: #ccc !important;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.75rem;
	text-align: center;
	text-decoration: none;
}

.pragochema-footer-lang__links a:hover,
.pragochema-footer-lang__links a.is-current {
	color: #fff !important;
	border-color: rgba(255, 255, 255, 0.45);
	background: rgba(255, 255, 255, 0.08);
}

/* Enfold zelená (palm-leaf #83a846) → modrá #007bff */
::selection {
	background-color: rgba(0, 123, 255, 0.22);
	color: inherit;
}

::-moz-selection {
	background-color: rgba(0, 123, 255, 0.22);
	color: inherit;
}

#top #main .content .woocommerce a,
#top #main .content .product_meta a,
#top #main .content .posted_in a,
#top #main .content .tagged_as a,
#top #main .content .pragochema-product-files a,
#top #main .content .woocommerce-tabs .tabs a,
#top #main .content .related.products a,
#top #main .content ul.products li.product a.woocommerce-LoopProduct-link {
	color: var(--pragochema-link) !important;
}

#top #main .content .woocommerce a:hover,
#top #main .content .product_meta a:hover,
#top #main .content .posted_in a:hover,
#top #main .content .tagged_as a:hover,
#top #main .content .pragochema-product-files a:hover,
#top #main .content .woocommerce-tabs .tabs a:hover,
#top #main .content .related.products a:hover,
#top #main .content ul.products li.product a.woocommerce-LoopProduct-link:hover {
	color: var(--pragochema-primary) !important;
}

#top #main .content .woocommerce-tabs .tabs li.active a {
	color: var(--pragochema-link) !important;
}

/* Komentáře — globálně vypnuto (viz inc/comments.php) */
#comments,
#respond,
.comment-respond,
.comment-entry,
.commentlist,
.comment-form,
.comments-area {
	display: none !important;
}

.entry-meta-footer .comments-link,
.entry-meta-footer .comments-link + .text-sep {
	display: none !important;
}
