
	/* ============ Můj účet: navigace ============ */
	.woocommerce-MyAccount-navigation ul li a {
		background: transparent;
		transition: background .15s ease, color .15s ease;
	}
	.woocommerce-MyAccount-navigation ul li a:hover,
	.woocommerce-MyAccount-navigation ul li a:focus-visible {
		background: rgba(255, 255, 255, .05) !important;
	}
	.woocommerce-MyAccount-navigation ul li.is-active a {
		background: #232b38 !important;
		color: #f43b2a !important;
		font-weight: 600;
	}

	/* ============ Můj účet: karty adres ============ */
	.woocommerce-Address {
		border: 1px solid rgba(255, 255, 255, .09);
		border-radius: 10px;
		overflow: hidden;
		background: #141a23;
	}
	.woocommerce-Address-title.title {
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
		background: #1b2230 !important;
		border-bottom: 1px solid rgba(255, 255, 255, .08);
		margin: 0 !important;
		padding: .85rem 1.1rem !important;
	}
	.woocommerce-Address-title.title h2,
	.woocommerce-Address-title.title h3 {
		margin: 0 !important;
		font-size: 1.02rem;
		line-height: 1.3;
		color: #e8eaee !important;
	}
	/* Odkaz Přidat / Upravit jako tlačítko */
	.woocommerce-Address-title.title a {
		flex: 0 0 auto;
		display: inline-flex;
		align-items: center;
		padding: .42rem .9rem;
		border: 1px solid rgba(244, 59, 42, .55);
		border-radius: 7px;
		background: rgba(244, 59, 42, .12);
		color: #f43b2a !important;
		font-size: .85rem;
		font-weight: 600;
		line-height: 1.2;
		text-decoration: none;
		white-space: nowrap;
		transition: background .15s ease, color .15s ease, border-color .15s ease;
	}
	.woocommerce-Address-title.title a:hover,
	.woocommerce-Address-title.title a:focus-visible {
		background: #f43b2a;
		border-color: #f43b2a;
		color: #fff !important;
	}
	.woocommerce-Address address {
		margin: 0;
		padding: 1rem 1.1rem;
		font-style: normal;
		line-height: 1.65;
		color: rgba(232, 234, 238, .8);
	}

	/* ============ Mini-košík v hlavičce ============ */
	.ast-site-header-cart .widget_shopping_cart {
		width: 380px !important;
		max-width: calc(100vw - 2rem) !important;
		padding: .35rem !important;
		border: 1px solid rgba(255, 255, 255, .12);
		border-radius: 12px;
		background: #161c25 !important;
		box-shadow: 0 16px 38px rgba(0, 0, 0, .55);
		color: #e8eaee;
	}
	.ast-site-header-cart .widget_shopping_cart_content { width: auto !important; }

	.widget_shopping_cart .woocommerce-mini-cart {
		max-height: 58vh;
		overflow-y: auto;
		margin: 0 !important;
		padding: 0 .65rem !important;
	}
	.widget_shopping_cart .gt-fsb--mini { margin: .65rem .65rem .3rem; }

	.widget_shopping_cart .mini_cart_item {
		position: relative;
		display: block !important;
		list-style: none;
		min-height: 4.4rem;
		margin: 0 !important;
		padding: .9rem 1.9rem .9rem 4.7rem !important;
		border-bottom: 1px solid rgba(255, 255, 255, .08);
	}
	.widget_shopping_cart .mini_cart_item:last-child { border-bottom: 0; }
	.widget_shopping_cart .mini_cart_item img {
		position: absolute !important;
		left: 0;
		top: .9rem;
		width: 56px !important;
		height: auto !important;
		margin: 0 !important;
		border-radius: 6px;
		float: none !important;
	}
	.widget_shopping_cart .mini_cart_item > a:not(.remove) {
		display: block;
		font-size: .92rem;
		font-weight: 600;
		line-height: 1.35;
		color: #e8eaee !important;
		text-decoration: none;
	}
	.widget_shopping_cart .mini_cart_item > a:not(.remove):hover { color: #f43b2a !important; }
	.widget_shopping_cart .mini_cart_item a.remove {
		position: absolute !important;
		right: 0;
		top: .85rem;
		width: 22px;
		height: 22px;
		line-height: 20px;
		text-align: center;
		font-size: 1rem;
		border-radius: 50%;
		background: rgba(255, 255, 255, .08) !important;
		color: rgba(255, 255, 255, .65) !important;
	}
	.widget_shopping_cart .mini_cart_item a.remove:hover {
		background: #f43b2a !important;
		color: #fff !important;
	}
	.widget_shopping_cart .mini_cart_item dl.variation {
		margin: .35rem 0 0 !important;
		padding: 0 !important;
		border: 0 !important;
		font-size: .8rem;
		line-height: 1.5;
		color: rgba(232, 234, 238, .6);
	}
	.widget_shopping_cart .mini_cart_item dl.variation dt,
	.widget_shopping_cart .mini_cart_item dl.variation dd {
		display: inline !important;
		float: none !important;
		clear: none !important;
		margin: 0 !important;
		padding: 0 !important;
		font-weight: 400 !important;
	}
	.widget_shopping_cart .mini_cart_item dl.variation dt { margin-right: .25em !important; }
	.widget_shopping_cart .mini_cart_item dl.variation dd p { display: inline; margin: 0 !important; }
	.widget_shopping_cart .mini_cart_item dl.variation dd::after {
		content: "";
		display: block;
	}
	.widget_shopping_cart .mini_cart_item .quantity {
		display: block;
		margin-top: .4rem;
		font-size: .88rem;
		color: #fff;
	}

	.widget_shopping_cart .woocommerce-mini-cart__total {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin: 0 !important;
		padding: .9rem .65rem !important;
		border-top: 1px solid rgba(255, 255, 255, .12);
		font-size: .95rem;
	}
	.widget_shopping_cart .woocommerce-mini-cart__total strong { font-weight: 600; }
	.widget_shopping_cart .woocommerce-mini-cart__buttons {
		/* Flex, ne grid — Astra do gridu sází vlastní grid-template-rows
		   a tlačítka se rozpadnou do dvou řádků. */
		display: flex !important;
		flex-wrap: nowrap !important;
		gap: .5rem;
		margin: 0 !important;
		padding: .55rem .65rem 1.4rem !important;
	}
	.widget_shopping_cart .woocommerce-mini-cart__buttons a.button {
		flex: 1 1 0 !important;
		min-width: 0 !important;
		width: auto !important;
		margin: 0 !important;
		padding: .62rem .8rem !important;
		border-radius: 8px;
		font-size: .9rem;
		text-align: center;
	}
	.widget_shopping_cart .woocommerce-mini-cart__buttons a.button:not(.checkout) {
		background: rgba(255, 255, 255, .08) !important;
		color: #e8eaee !important;
	}
	.widget_shopping_cart .woocommerce-mini-cart__buttons a.button:not(.checkout):hover {
		background: rgba(255, 255, 255, .14) !important;
	}
	.widget_shopping_cart .woocommerce-mini-cart__buttons a.checkout {
		background: #e6210f !important;
		color: #fff !important;
	}
	.widget_shopping_cart .woocommerce-mini-cart__empty-message {
		margin: 0 !important;
		padding: 1.6rem .65rem !important;
		text-align: center;
		color: rgba(232, 234, 238, .65);
	}

	/* Vysouvací zásuvka košíku */
	.astra-cart-drawer { background: #10141c !important; }
	.astra-cart-drawer .astra-cart-drawer-header {
		background: #161c25 !important;
		border-bottom: 1px solid rgba(255, 255, 255, .1) !important;
		color: #e8eaee !important;
	}
	.astra-cart-drawer .astra-cart-drawer-content,
	.astra-cart-drawer .widget_shopping_cart { background: transparent !important; }
	.widget_shopping_cart { color: #e8eaee; }

	/* ================= Stránkování ================= */
	.ast-pagination { text-align: center; }
	.ast-pagination .navigation.pagination { display: block; width: 100%; }
	.ast-pagination .nav-links {
		display: flex !important;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center !important;
		gap: .4rem;
	}
	.ast-pagination .page-numbers {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		min-width: 2.5rem;
		height: 2.5rem;
		padding: 0 .65rem;
		margin: 0 !important;
		border-radius: 8px;
		background: rgba(255, 255, 255, .05);
		color: #e8eaee;
		text-decoration: none;
		float: none !important;
		transition: background .15s ease;
	}
	.ast-pagination a.page-numbers:hover { background: rgba(255, 255, 255, .13); }
	.ast-pagination .page-numbers.current { background: #e6210f; color: #fff; font-weight: 600; }
	/* Text „Předchozí / Další" pryč, zůstane šipka. V HTML text zůstává,
	   takže ho čtečky pro nevidomé pořád přečtou. */
	.ast-pagination .page-numbers.prev,
	.ast-pagination .page-numbers.next { font-size: 0 !important; width: 2.5rem; padding: 0; }
	.ast-pagination .page-numbers.prev::before,
	.ast-pagination .page-numbers.next::before { font-size: 1.45rem; line-height: 1; }
	.ast-pagination .page-numbers.prev::before { content: "\2039"; }
	.ast-pagination .page-numbers.next::before { content: "\203A"; }

	/* ================= Rozbalovací podmenu ================= */
	.ast-desktop .main-header-menu .sub-menu,
	.ast-desktop .ast-builder-menu .sub-menu { min-width: 200px !important; }
	.ast-desktop .main-header-menu .sub-menu .menu-link,
	.ast-desktop .main-header-menu .sub-menu a,
	.ast-desktop .ast-builder-menu .sub-menu .menu-link {
		padding: .45rem 1rem !important;
		font-size: .85rem !important;
		line-height: 1.45 !important;
	}


	/* ================= Článek: šířka sloupce a hlavní obrázek =================
	   Web má v Přizpůsobit → Doplňkové CSS vlastní designový systém.
	   Ten drží odstavce na 68ch a přilepuje je doleva (margin-left: 0),
	   takže text visel u levého okraje, zatímco nadpisy a tabulky
	   šly přes celou šířku. Tohle to sjednotí do jednoho středového sloupce.

	   Šířku měň JEN v proměnné níž, nikde jinde.

	   Selektory začínají "html body", protože pravidla v Doplňkovém CSS
	   mají vyšší specificitu a načítají se později — jinak by vyhrála ona.
	   ========================================================================= */
	:root { --gt-clanek: 1000px; }

	html body.single-post .entry-header,
	html body.single-post .entry-content,
	html body.single-post .ast-single-post-featured-section {
		max-width: var(--gt-clanek) !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
	html body.single-post .entry-content > *:not(.alignfull),
	html body.single-post .entry-content p,
	html body.single-post .entry-content ul,
	html body.single-post .entry-content ol,
	html body.single-post .entry-content li {
		max-width: 100% !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}

	/* Hlavní obrázek článku.
	   Doplňkové CSS ho ořezávalo na poměr 21:9 přes object-fit: cover.
	   Zdroj je 1024x576 (16:9), takže se roztáhl na 1408 px (rozmazaný)
	   a nahoře i dole se z něj ukrojila čtvrtina — proto chybělo logo.
	   Teď se zobrazí celý a v šířce sloupce, kde je ostrý. */
	html body.single-post .ast-single-post-featured-section.post-thumb img,
	html body.single-post header.entry-header .post-thumb img {
		width: 100% !important;
		height: auto !important;
		aspect-ratio: auto !important;
		object-fit: contain !important;
		border-radius: 10px;
	}

	/* ===== Stránky bez vlastního layoutu (gt-strana-bez-vlastniho-layoutu) =====
	   Česká úvodní stránka má vlastní obal .gt-page s vlastními styly,
	   ta se nechává být. Ostatní stránky — třeba anglická a německá verze —
	   dostávají stejný středový sloupec jako články, jinak by jim text visel
	   vlevo na 68 znacích, zatímco nadpisy jdou přes celou šířku.

	   :not(:has()) starší prohlížeče ignorují a pravidlo se prostě neuplatní,
	   takže se tím nic nerozbije. ============================================ */
	html body.page .entry-content:not(:has(> .gt-page)) {
		max-width: var(--gt-clanek) !important;
		/* Doleva, ne na střed. Nadpis stránky vykresluje šablona nad obsahem
		   a ten sedí u levého okraje — vycentrovaný text by pod ním ujížděl. */
		margin-left: 0 !important;
		margin-right: auto !important;
	}
	html body.page .entry-content:not(:has(> .gt-page)) > *:not(.alignfull),
	html body.page .entry-content:not(:has(> .gt-page)) p,
	html body.page .entry-content:not(:has(> .gt-page)) ul,
	html body.page .entry-content:not(:has(> .gt-page)) ol,
	html body.page .entry-content:not(:has(> .gt-page)) li {
		max-width: 100% !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}

	/* Na úvodní stránce jazyka se nad obsahovým H1 zobrazoval ještě název
	   stránky, takže tam byly dva nadpisy pod sebou. */
	html body.home .entry-header .entry-title,
	html body.home .ast-single-entry-banner { display: none !important; }

	/* ================= Oznámení WooCommerce (gt-oznameni) =================
	   Hláška „Doposud nic ke stažení" měla červený rámeček přes celou šířku
	   a velké červené tlačítko — informace vypadala jako chyba.
	   Červená teď zůstává jen skutečným chybám, zbytek je klidný.

	   Selektory mají navíc [class] a začínají „html body". Doplňkové CSS
	   weba má pravidlo body:not(.woocommerce-checkout) .woocommerce-info
	   s !important, které by jinak vyhrálo specificitou.
	   ====================================================================== */
	html body .woocommerce-message[class],
	html body .woocommerce-info[class],
	html body .woocommerce-error[class] {
		display: flex !important;
		align-items: center;
		gap: .9rem;
		margin: 0 0 1.5rem !important;
		padding: .95rem 1.1rem !important;
		border: 1px solid #2a3441 !important;
		border-left: 3px solid #8a94a6 !important;
		border-radius: 10px !important;
		background: #151b24 !important;
		color: #c9cfda !important;
		font-size: .95rem;
		line-height: 1.5;
		list-style: none;
	}
	html body .woocommerce-message[class]::before,
	html body .woocommerce-info[class]::before,
	html body .woocommerce-error[class]::before {
		position: static !important;
		flex: 0 0 auto;
		top: auto !important;
		left: auto !important;
		margin: 0 !important;
		color: #8a94a6 !important;
		font-size: 1rem;
	}
	html body .woocommerce-message[class] { border-left-color: #5fcb9b !important; }
	html body .woocommerce-message[class]::before { color: #5fcb9b !important; }
	html body .woocommerce-error[class] { border-left-color: #e6210f !important; }
	html body .woocommerce-error[class]::before { color: #e6210f !important; }

	/* Tlačítko uvnitř hlášky je nabídka, ne hlavní akce stránky.
	   WooCommerce ho dává do HTML před text, proto order. */
	html body .woocommerce-message[class] .button[class],
	html body .woocommerce-info[class] .button[class],
	html body .woocommerce-error[class] .button[class] {
		order: 2;
		flex: 0 0 auto;
		margin: 0 0 0 auto !important;
		padding: .5rem 1rem !important;
		border: 1px solid rgba(244, 59, 42, .5) !important;
		border-radius: 8px !important;
		background: transparent !important;
		color: #ff5a45 !important;
		font-size: .88rem !important;
		font-weight: 600;
		line-height: 1.3;
		white-space: nowrap;
		float: none !important;
	}
	html body .woocommerce-message[class] .button[class]:hover,
	html body .woocommerce-info[class] .button[class]:hover,
	html body .woocommerce-error[class] .button[class]:hover {
		background: #e6210f !important;
		border-color: #e6210f !important;
		color: #fff !important;
	}
	@media (max-width: 600px) {
		html body .woocommerce-message[class],
		html body .woocommerce-info[class],
		html body .woocommerce-error[class] { flex-wrap: wrap; }
		html body .woocommerce-message[class] .button[class],
		html body .woocommerce-info[class] .button[class],
		html body .woocommerce-error[class] .button[class] { margin-left: 0 !important; width: 100%; text-align: center; }
	}

	/* ================= Jednotné pozadí webu ================= */
	/* Web měl tři různá pozadí: úvodní stránka #10141c, archivy
	   a jednotlivé články černou. Tohle je sjednotí. Barvu měň tady,
	   na jednom místě, ne v Customizeru na třech. */
	body,
	.ast-separate-container,
	.ast-plain-container,
	.ast-separate-container .site-content { background-color: #10141c !important; }
	