
	/* --- Formularova pole --- */
	html body input[type="text"],
	html body input[type="email"],
	html body input[type="url"],
	html body input[type="password"],
	html body input[type="search"],
	html body input[type="number"],
	html body input[type="tel"],
	html body input[type="date"],
	html body textarea,
	html body select,
	html body .woocommerce form .form-row input.input-text,
	html body .woocommerce form .form-row textarea,
	html body .woocommerce form .form-row select {
		background-color: #0b0f16 !important;
		color: #e8eaee !important;
		border: 1px solid #2a3441 !important;
		border-radius: 8px !important;
	}
	html body option {
		background-color: #0b0f16 !important;
		color: #e8eaee !important;
	}
	html body ::placeholder {
		color: #8b95a5 !important;
		opacity: 1 !important;
	}
	html body input:focus,
	html body textarea:focus,
	html body select:focus {
		outline: none !important;
		border-color: #f43b2a !important;
		box-shadow: 0 0 0 2px rgba(244, 59, 42, .22) !important;
	}

	/* Odesilaci tlacitka byla cerna na cernem. */
	html body #submit,
	html body .comment-respond .submit,
	html body .search-form input[type="submit"],
	html body .search-submit,
	html body .wp-block-search__button {
		background-color: #f43b2a !important;
		color: #ffffff !important;
		border: 0 !important;
		border-radius: 8px !important;
		padding: 12px 24px !important;
		font-weight: 600 !important;
	}
	html body #submit:hover,
	html body .comment-respond .submit:hover,
	html body .search-submit:hover {
		background-color: #d92f20 !important;
	}

	/* Lupa sedela natesno u okraje pole. */
	html body .ast-header-search .search-field {
		padding-right: 46px !important;
	}
	html body .ast-header-search .search-form .search-submit,
	html body .ast-search-menu-icon .search-submit {
		right: 14px !important;
		background: transparent !important;
		padding: 0 !important;
	}

	/* --- Mezery --- */
	/* Nadpis stranky lepil na hlavicku. */
	html body:not(.home) #content {
		padding-top: 40px !important;
	}
	@media (min-width: 1201px) {
		html body:not(.home) #content {
			padding-top: 56px !important;
		}
	}

	/* Na mobilu koncil posledni blok tesne nad patickou. */
	@media (max-width: 921px) {
		html body #content {
			padding-bottom: 48px !important;
		}
	}

	/* --- Adresy v uctu --- */
	html body.woocommerce-account .woocommerce-Address-title {
		display: flex !important;
		flex-wrap: wrap !important;
		align-items: center !important;
		justify-content: flex-start !important;
		gap: 12px !important;
		text-align: left !important;
	}
	html body.woocommerce-account .woocommerce-Address-title h2,
	html body.woocommerce-account .woocommerce-Address-title h3 {
		text-align: left !important;
		margin: 0 !important;
	}
	@media (max-width: 767px) {
		html body.woocommerce-account .woocommerce-Addresses {
			display: grid !important;
			grid-template-columns: 1fr !important;
			gap: 32px !important;
		}
		html body.woocommerce-account .woocommerce-Address {
			margin-bottom: 0 !important;
		}
	}

	/* --- Socialni ikony v paticce ---
	   Astra jim dava vlastni obal, ktery se necentroval spolu s textem. */
	html body .site-footer [class*="social"],
	html body .site-footer .ast-footer-social-wrap,
	html body .site-footer .ast-header-social-wrap,
	html body .site-footer .ast-builder-social-element-wrap {
		display: flex !important;
		flex-wrap: wrap !important;
		justify-content: flex-start !important;
		align-items: center !important;
		gap: 14px !important;
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: auto !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		text-align: left !important;
	}

/* Ikony socialnich siti maji na dotyk rozumnou plochu. */
@media (max-width: 600px) {
  html body .site-footer .ms-social a {
    width: 44px !important;
    height: 44px !important;
  }
}

/* Tabulky v clancich davaji najevo, ze pokracuji vpravo. */
html body .entry-content figure.wp-block-table {
  background-image:
    linear-gradient(to right, var(--gt-bg, #07090D), rgba(7,9,13,0)),
    linear-gradient(to left, var(--gt-bg, #07090D), rgba(7,9,13,0)),
    linear-gradient(to right, rgba(230,33,15,.45), rgba(230,33,15,0)),
    linear-gradient(to left, rgba(230,33,15,.45), rgba(230,33,15,0));
  background-position: left center, right center, left center, right center;
  background-repeat: no-repeat;
  background-size: 26px 100%, 26px 100%, 12px 100%, 12px 100%;
  background-attachment: local, local, scroll, scroll;
}


html body select,
html body form select,
html body .gt-form select {
  height: auto !important;
  min-height: 40px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  line-height: 1.35 !important;
}

@media (max-width: 600px) {
html body .site-footer [class*="social"],
	html body .site-footer .ast-footer-social-wrap,
	html body .site-footer .ast-header-social-wrap,
	html body .site-footer .ast-builder-social-element-wrap {
  justify-content: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}
}

	html body .site-footer .ast-builder-layout-element {
		justify-content: center !important;
		width: 100% !important;
	}

	/* --- Mobilni menu: vsechny polozky stejne vysoke --- */
	html body.ast-header-break-point .ast-mobile-header-content .main-header-menu > .menu-item > .menu-link {
		display: flex !important;
		align-items: center !important;
		min-height: 58px !important;
		padding: 0 20px !important;
	}

	/* --- Prepinac jazyku v hamburgeru: vlajky k levemu okraji --- */
	html body #ast-mobile-header .gt-lang,
	html body .ast-mobile-header-content .gt-lang {
		justify-content: flex-start !important;
	}
	html body #ast-mobile-header .gt-lang > .gt-lang__prepinac,
	html body #ast-mobile-header .gt-lang .gt-lang__seznam,
	html body .ast-mobile-header-content .gt-lang > .gt-lang__prepinac,
	html body .ast-mobile-header-content .gt-lang .gt-lang__seznam {
		flex: 0 0 auto !important;
		width: auto !important;
		margin: 0 !important;
	}

	/* --- Trideni v obchodu bylo zbytecne uzke --- */
	html body .gt-vyber {
		width: 100% !important;
		max-width: 420px !important;
	}
	html body .gt-vyber__nabidka {
		min-width: 100% !important;
	}

	/* --- Detail produktu na mobilu --- */
	@media (max-width: 767px) {
		html body form.cart .quantity {
			display: block !important;
			margin-bottom: 18px !important;
		}
	}

	/* Plovouci nakupni lista pres celou sirku pusobila jako chyba,
	   navic mela tlacitko v neaktivnim stavu. Skryvame ji; kdyby se
	   mela vratit, staci smazat tohle pravidlo (vyrabi ji snippet
	   "Faze 3 - mobilni nakup"). */
	html body .gt-listastr {
		display: none !important;
	}

	/* --- Panel s kategoriemi patri na mobilu nad vypis, ne pod nej --- */
	@media (max-width: 921px) {
		html body.woocommerce .site-content > .ast-container,
		html body.woocommerce-page .site-content > .ast-container {
			display: flex !important;
			flex-direction: column !important;
		}
		html body.woocommerce .site-content > .ast-container > .widget-area.secondary,
		html body.woocommerce-page .site-content > .ast-container > .widget-area.secondary {
			order: 1 !important;
			width: 100% !important;
			margin-bottom: 28px !important;
		}
		html body.woocommerce .site-content > .ast-container > #primary,
		html body.woocommerce-page .site-content > .ast-container > #primary {
			order: 2 !important;
			width: 100% !important;
		}
	}

	/* --- Kosik nemusi zabirat celou sirku obrazovky --- */
	html body .astra-cart-drawer {
		width: min(400px, 88vw) !important;
		max-width: 88vw !important;
	}
	html body .astra-cart-drawer a.button,
	html body .astra-cart-drawer .woocommerce-mini-cart__buttons a,
	html body .astra-cart-drawer .ast-mini-cart-empty-wrap a {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		text-align: center !important;
	}

	/* --- Postup na Projektech: prvni karta byla uzsi nez ostatni --- */
	html body .gt-projekty-postup ol > li {
		width: 100% !important;
		max-width: none !important;
		justify-self: stretch !important;
		margin: 0 !important;
	}

	/* --- Muj ucet: na podstrankach je H1 "Muj ucet" duplicita ---
	   Rozcestnik i nadpis sekce uz rikaji, kde uzivatel je. */
	html body.woocommerce-account .entry-title,
	html body.woocommerce-account .entry-header .entry-title,
	html body.woocommerce-account header.entry-header > h1 {
		display: none !important;
	}

	/* --- Vyhledavani v mobilnim menu na stred --- */
	@media (max-width: 1200px) {
		html body .ast-mobile-header-content .ast-header-search {
			width: 100% !important;
			display: flex !important;
			justify-content: center !important;
			padding: 0 !important;
		}
		html body .ast-mobile-header-content .ast-search-menu-icon {
			width: 100% !important;
		}
		html body .ast-mobile-header-content .search-form {
			width: 100% !important;
			max-width: none !important;
			margin-left: auto !important;
			margin-right: auto !important;
		}
	}

	/* --- Vyhledavani v obsahu (404, prazdne vysledky) ---
	   Astra ma tlacitko absolutne umistene v poli. Jakmile dostalo
	   poradny padding, preteklo ven. Delame z toho normalni radek. */
	html body .site-content .search-form {
		display: flex !important;
		align-items: stretch !important;
		gap: 10px !important;
		max-width: 520px !important;
		position: relative !important;
	}
	html body .site-content .search-form .search-field {
		flex: 1 1 auto !important;
		width: auto !important;
		min-width: 0 !important;
	}
	html body .site-content .search-form .search-submit,
	html body .site-content .search-form input[type="submit"] {
		position: static !important;
		flex: 0 0 auto !important;
		width: auto !important;
		height: auto !important;
		top: auto !important;
		right: auto !important;
		color: #ffffff !important;
		text-indent: 0 !important;
	}

	/* Uvnitr pole je jeste ikonove tlacitko s lupou. Absolutni pozici
	   mu vracime, at neleze pres text; radkovym prvkem je az cerveny
	   Hledat vedle pole. */
	html body .site-content .search-form label {
		position: relative !important;
		display: block !important;
		flex: 1 1 auto !important;
		min-width: 0 !important;
	}
	html body .site-content .search-form label .search-submit {
		position: absolute !important;
		right: 12px !important;
		top: 50% !important;
		transform: translateY(-50%) !important;
		background: transparent !important;
		padding: 0 !important;
		width: auto !important;
	}
	html body .site-content .search-form .search-field {
		width: 100% !important;
		padding-right: 46px !important;
	}
	html body .site-content .search-form > input.search-submit {
		position: static !important;
		flex: 0 0 auto !important;
	}

	/* --- Mobilni menu se vizualne slevalo se strankou pod nim --- */
	html body.ast-header-break-point .ast-mobile-header-content {
		border-bottom: 4px solid #f43b2a !important;
		box-shadow: 0 16px 30px rgba(0, 0, 0, .6) !important;
	}

	/* Vyhledavani v mobilnim menu na celou sirku panelu.
	   Hlavickove pravidlo mu drzelo pevnych 320 px. */
	@media (max-width: 1200px) {
		html body .ast-mobile-header-content .ast-search-menu-icon .search-form {
			width: 100% !important;
			max-width: none !important;
			left: auto !important;
			right: auto !important;
		}
	}

	/* Ikona uctu v mobilni hlavicce mela jinou velikost i barvu nez kosik. */
	html body #ast-mobile-header .ast-header-account .ast-icon svg,
	html body #ast-mobile-header .ast-header-account svg {
		width: 39px !important;
		height: 39px !important;
		fill: #f43b2a !important;
		color: #f43b2a !important;
	}
	html body #ast-mobile-header .ast-header-account a {
		color: #f43b2a !important;
		display: flex !important;
		align-items: center !important;
	}

	/* Ucet, kosik a hamburger na jedne ose. Kosik se zvedal, protoze
	   odznak s poctem kusu roztahoval jeho obal do vysky. */
	html body #ast-mobile-header .ast-builder-grid-row,
	html body #ast-mobile-header .site-header-primary-section-right {
		align-items: center !important;
	}
	html body #ast-mobile-header .ast-header-account,
	html body #ast-mobile-header .ast-header-woo-cart,
	html body #ast-mobile-header .ast-site-header-cart,
	html body #ast-mobile-header .ast-site-header-cart-li,
	html body #ast-mobile-header .cart-container,
	html body #ast-mobile-header .ast-addon-cart-wrap {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		height: 48px !important;
		min-height: 48px !important;
		overflow: visible !important;
	}

	/* --- Platebni stranka order-pay ---
	   V Doplnkovem CSS je pravidlo pro pokladnu:
	   #order_review table.shop_table thead th:first-child { width: 66% }
	   Pokladna ma dva sloupce, ale order-pay ma tri (Produkt, Mnozstvi,
	   Celkem). Pri table-layout: fixed zbylo na Mnozstvi 0,01 px, takze
	   se nadpis lamal po jednom pismenu a cena lezla pres sebe. */
	html body.woocommerce-order-pay #order_review table.shop_table {
		table-layout: auto !important;
		width: 100% !important;
	}
	html body.woocommerce-order-pay #order_review table.shop_table thead th:first-child {
		width: auto !important;
	}
	html body.woocommerce-order-pay #order_review table.shop_table th.product-quantity,
	html body.woocommerce-order-pay #order_review table.shop_table td.product-quantity {
		width: 90px !important;
		text-align: center !important;
		white-space: nowrap !important;
	}
	html body.woocommerce-order-pay #order_review table.shop_table th.product-total,
	html body.woocommerce-order-pay #order_review table.shop_table td.product-total,
	html body.woocommerce-order-pay #order_review table.shop_table td.product-subtotal {
		width: 130px !important;
		text-align: right !important;
		white-space: nowrap !important;
	}

	/* Na uzkem displeji radeji sloupce zuzit nez rozbit. */
	@media (max-width: 600px) {
		html body.woocommerce-order-pay #order_review table.shop_table th.product-quantity,
		html body.woocommerce-order-pay #order_review table.shop_table td.product-quantity {
			width: 54px !important;
		}
		html body.woocommerce-order-pay #order_review table.shop_table th.product-total,
		html body.woocommerce-order-pay #order_review table.shop_table td.product-total,
		html body.woocommerce-order-pay #order_review table.shop_table td.product-subtotal {
			width: 96px !important;
		}
		html body.woocommerce-order-pay #order_review table.shop_table td,
		html body.woocommerce-order-pay #order_review table.shop_table th {
			padding: 0.6em 0.5em !important;
		}
	}

	/* Posledni sloupec nemel bocni odsazeni, takze cena lepila na okraj. */
	html body.woocommerce-order-pay #order_review table.shop_table td,
	html body.woocommerce-order-pay #order_review table.shop_table th {
		padding-left: 14px !important;
		padding-right: 14px !important;
	}

	/* --- Kupon v pokladne --- */
	html body .woocommerce-form-coupon-toggle,
	html body form.checkout_coupon,
	html body .checkout_coupon.woocommerce-form-coupon {
		display: none !important;
	}

	/* --- Zasilkovna: widget se mackal do uzkeho sloupce ---
	   Vysledkem byl velky cerveny ctverec s textem po jednom slove.
	   Radek s dopravou roztahujeme na celou sirku. */
	html body .woocommerce-checkout #order_review table.shop_table tr.woocommerce-shipping-totals th,
	html body .woocommerce-checkout #order_review table.shop_table tr.woocommerce-shipping-totals td {
		display: block !important;
		width: 100% !important;
		text-align: left !important;
	}
	html body .packetery-widget-button-wrapper,
	html body .packeta-widget.form-row {
		width: 100% !important;
		margin: 10px 0 0 !important;
		padding: 0 !important;
	}
	html body .packetery-widget-button-row {
		display: flex !important;
		align-items: center !important;
		gap: 12px !important;
		width: 100% !important;
	}
	html body .packetery-widget-button-row img {
		width: 34px !important;
		height: auto !important;
		flex: 0 0 auto !important;
	}
	html body .packetery-widget-button-row .button {
		width: auto !important;
		height: auto !important;
		min-height: 0 !important;
		padding: 10px 18px !important;
		white-space: normal !important;
		line-height: 1.3 !important;
		font-size: 14px !important;
		border-radius: 8px !important;
	}

	/* --- Mini kosik na telefonu: tlacitka byla zbytecne velka --- */
	@media (max-width: 921px) {
		html body .astra-cart-drawer .woocommerce-mini-cart__buttons a,
		html body .astra-cart-drawer .ast-mini-cart-empty-wrap a {
			padding: 10px 14px !important;
			font-size: 14px !important;
			line-height: 1.25 !important;
			min-height: 0 !important;
		}
		html body .astra-cart-drawer .astra-cart-drawer-close,
		html body .astra-cart-drawer-header .astra-cart-drawer-close {
			width: 34px !important;
			height: 34px !important;
			font-size: 17px !important;
		}
		html body .astra-cart-drawer .astra-cart-drawer-close svg {
			width: 17px !important;
			height: 17px !important;
		}
	}

	/* Radek dopravy je flex - widget se do nej mackal vedle radia.
	   Pustime ho na vlastni radek pres celou sirku sloupce. */
	html body #shipping_method li {
		display: flex !important;
		flex-wrap: wrap !important;
		align-items: center !important;
		gap: 8px !important;
	}
	html body #shipping_method li .packetery-widget-button-wrapper,
	html body #shipping_method li .packeta-widget {
		flex: 1 0 100% !important;
		width: 100% !important;
	}

	/* V kosiku uz radek dopravy nema co rikat. */
	html body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals,
	html body.woocommerce-cart .cart_totals tr.shipping {
		display: none !important;
	}

	/* --- Rozcestnik v uctu ---
	   Na desktopu jsou dlazdice 241x120, vsechny stejne. Na telefonu
	   se mrizka zlomila na dva sloupce a dlazdice mely ruzne vysoke
	   popisky (111 vs 129 px), takze to pusobilo jako jiny design. */
	@media (max-width: 921px) {
		html body .gt-rozcestnik {
			grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
			align-items: stretch !important;
		}
		html body .gt-rozcestnik .gt-dlazdice {
			height: 100% !important;
			min-height: 120px !important;
			justify-content: center !important;
		}
	}
	@media (max-width: 400px) {
		html body .gt-rozcestnik {
			grid-template-columns: 1fr !important;
		}
		html body .gt-rozcestnik .gt-dlazdice {
			min-height: 84px !important;
		}
	}

	