/* =========================================================
   AC Privacy – Cookie Banner Styles
   Scope: #acp-cookiebanner, #acp-manage-btn
   All elements reset with `all: unset` before custom styles
   to survive Elementor / Divi / Bricks overrides.
   ========================================================= */

/* ----------------------------------------------------------
   1. CSS custom properties (design tokens)
   ---------------------------------------------------------- */
:root {
	--acp-bg:            #ffffff;
	--acp-fg:            #111827;
	--acp-fg-muted:      #6b7280;
	--acp-border:        #e5e7eb;
	--acp-radius:        12px;
	--acp-radius-sm:     6px;
	--acp-shadow:        0 8px 32px rgba(0,0,0,.16), 0 2px 8px rgba(0,0,0,.08);
	--acp-accent:        #2563eb;
	--acp-accent-hover:  #1d4ed8;
	--acp-accent-fg:     #ffffff;
	--acp-deny-bg:       #f3f4f6;
	--acp-deny-fg:       #374151;
	--acp-deny-hover:    #e5e7eb;
	--acp-toggle-off:    #d1d5db;
	--acp-toggle-on:     #2563eb;
	--acp-toggle-knob:   #ffffff;
	--acp-manage-bg:     #2563eb;
	--acp-manage-fg:     #ffffff;
	--acp-manage-size:   48px;
	--acp-z:             99999;
	--acp-font:          -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ----------------------------------------------------------
   2. Banner wrapper
   ---------------------------------------------------------- */
#acp-cookiebanner {
	all: initial;
	display: flex;
	flex-direction: column;
	gap: 0;
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	width: min(560px, calc(100vw - 32px));
	background: var(--acp-bg);
	color: var(--acp-fg);
	border-radius: var(--acp-radius);
	box-shadow: var(--acp-shadow);
	z-index: var(--acp-z);
	font-family: var(--acp-font);
	font-size: 15px;
	line-height: 1.5;
	box-sizing: border-box;
	padding: 24px;
}

#acp-cookiebanner[hidden] {
	display: none !important;
}

/* ----------------------------------------------------------
   3. Element resets inside banner (override page builders)
   ---------------------------------------------------------- */
#acp-cookiebanner h2,
#acp-cookiebanner p,
#acp-cookiebanner a,
#acp-cookiebanner button,
#acp-cookiebanner input,
#acp-cookiebanner label {
	all: unset;
}

/* ----------------------------------------------------------
   4. Header
   ---------------------------------------------------------- */
#acp-cookiebanner .acp-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

#acp-cookiebanner .acp-title {
	display: block;
	font-family: var(--acp-font);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--acp-fg);
}

#acp-cookiebanner .acp-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	color: var(--acp-fg-muted);
	cursor: pointer;
	flex-shrink: 0;
	transition: background 0.15s, color 0.15s;
}

#acp-cookiebanner .acp-close:hover,
#acp-cookiebanner .acp-close:focus-visible {
	background: var(--acp-deny-bg);
	color: var(--acp-fg);
}

#acp-cookiebanner .acp-close:focus {
	outline: none;
}

#acp-cookiebanner .acp-close:focus-visible {
	outline: 2px solid var(--acp-accent);
	outline-offset: 2px;
}

/* ----------------------------------------------------------
   5. Message
   ---------------------------------------------------------- */
#acp-cookiebanner .acp-message {
	margin-bottom: 18px;
}

#acp-cookiebanner .acp-message p {
	display: block;
	font-family: var(--acp-font);
	font-size: 14px;
	line-height: 1.6;
	color: var(--acp-fg-muted);
}

/* ----------------------------------------------------------
   6. Categories panel
   ---------------------------------------------------------- */
#acp-cookiebanner .acp-categories {
	display: flex;
	flex-direction: column;
	gap: 0;
	border: 1px solid var(--acp-border);
	border-radius: var(--acp-radius-sm);
	overflow: hidden;
	margin-bottom: 18px;
}

#acp-cookiebanner .acp-categories[hidden] {
	display: none !important;
}

#acp-cookiebanner .acp-category {
	padding: 14px 16px;
	border-bottom: 1px solid var(--acp-border);
}

#acp-cookiebanner .acp-category:last-child {
	border-bottom: none;
}

#acp-cookiebanner .acp-category-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

#acp-cookiebanner .acp-toggle-label {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	flex: 1;
}

#acp-cookiebanner .acp-category-name {
	display: block;
	font-family: var(--acp-font);
	font-size: 14px;
	font-weight: 600;
	color: var(--acp-fg);
	line-height: 1.4;
}

#acp-cookiebanner .acp-required {
	display: inline-block;
	font-family: var(--acp-font);
	font-size: 11px;
	font-weight: 500;
	color: var(--acp-accent);
	background: rgba(37,99,235,.08);
	padding: 2px 7px;
	border-radius: 20px;
	line-height: 1.6;
}

#acp-cookiebanner .acp-category-desc {
	display: block;
	font-family: var(--acp-font);
	font-size: 13px;
	line-height: 1.5;
	color: var(--acp-fg-muted);
	margin-top: 6px;
}

/* ----------------------------------------------------------
   7. Toggle switch
   ---------------------------------------------------------- */
#acp-cookiebanner .acp-toggle-wrap {
	position: relative;
	flex-shrink: 0;
	width: 44px;
	height: 24px;
}

/* hide native checkbox visually but keep it accessible */
#acp-cookiebanner input[type="checkbox"][data-acp-category] {
	position: absolute;
	width: 44px;
	height: 24px;
	opacity: 0;
	margin: 0;
	cursor: pointer;
	z-index: 1;
}

#acp-cookiebanner input[type="checkbox"][data-acp-category]:disabled {
	cursor: not-allowed;
}

#acp-cookiebanner .acp-toggle-slider {
	display: block;
	position: absolute;
	inset: 0;
	background: var(--acp-toggle-off);
	border-radius: 24px;
	transition: background 0.2s;
	pointer-events: none;
}

#acp-cookiebanner .acp-toggle-slider::after {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	background: var(--acp-toggle-knob);
	border-radius: 50%;
	transition: transform 0.2s;
	box-shadow: 0 1px 3px rgba(0,0,0,.2);
}

#acp-cookiebanner input[type="checkbox"][data-acp-category]:checked + .acp-toggle-slider {
	background: var(--acp-toggle-on);
}

#acp-cookiebanner input[type="checkbox"][data-acp-category]:checked + .acp-toggle-slider::after {
	transform: translateX(20px);
}

#acp-cookiebanner input[type="checkbox"][data-acp-category]:focus-visible + .acp-toggle-slider {
	outline: 2px solid var(--acp-accent);
	outline-offset: 2px;
}

#acp-cookiebanner input[type="checkbox"][data-acp-category]:disabled + .acp-toggle-slider {
	opacity: 0.7;
}

/* ----------------------------------------------------------
   8. Action buttons
   ---------------------------------------------------------- */
#acp-cookiebanner .acp-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

#acp-cookiebanner .acp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--acp-font);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	padding: 10px 18px;
	border-radius: var(--acp-radius-sm);
	cursor: pointer;
	transition: background 0.15s, box-shadow 0.15s;
	white-space: nowrap;
}

#acp-cookiebanner .acp-btn:focus {
	outline: none;
}

#acp-cookiebanner .acp-btn:focus-visible {
	outline: 2px solid var(--acp-accent);
	outline-offset: 2px;
}

#acp-cookiebanner .acp-btn[hidden] {
	display: none !important;
}

/* Accept – primary */
#acp-cookiebanner .acp-btn-accept {
	background: var(--acp-accent);
	color: var(--acp-accent-fg);
	order: 0;
}

#acp-cookiebanner .acp-btn-accept:hover {
	background: var(--acp-accent-hover);
}

/* Save preferences – primary (same weight as accept) */
#acp-cookiebanner .acp-btn-save {
	background: var(--acp-accent);
	color: var(--acp-accent-fg);
	order: 0;
}

#acp-cookiebanner .acp-btn-save:hover {
	background: var(--acp-accent-hover);
}

/* Deny – secondary */
#acp-cookiebanner .acp-btn-deny {
	background: var(--acp-deny-bg);
	color: var(--acp-deny-fg);
	order: 1;
}

#acp-cookiebanner .acp-btn-deny:hover {
	background: var(--acp-deny-hover);
}

/* Settings toggle – ghost */
#acp-cookiebanner .acp-btn-settings {
	background: transparent;
	color: var(--acp-accent);
	order: 2;
	text-decoration: underline;
	text-underline-offset: 2px;
}

#acp-cookiebanner .acp-btn-settings:hover {
	color: var(--acp-accent-hover);
}

/* ----------------------------------------------------------
   9. Legal links
   ---------------------------------------------------------- */
#acp-cookiebanner .acp-legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding-top: 10px;
	border-top: 1px solid var(--acp-border);
}

#acp-cookiebanner .acp-legal-links a {
	display: inline-block;
	font-family: var(--acp-font);
	font-size: 12px;
	color: var(--acp-fg-muted);
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

#acp-cookiebanner .acp-legal-links a:hover {
	color: var(--acp-fg);
}

#acp-cookiebanner .acp-legal-links a:focus-visible {
	outline: 2px solid var(--acp-accent);
	outline-offset: 2px;
	border-radius: 2px;
}

/* ----------------------------------------------------------
   10. Overlay pozadí za bannerem
   ---------------------------------------------------------- */
#acp-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba( 0, 0, 0, 0.5 );
	z-index: 9998; /* těsně pod výchozím z-indexem banneru */
	-webkit-overflow-scrolling: touch;
}

#acp-overlay.acp-visible {
	display: block;
}

/* --------------------------------------------------------
   11. Manage button – jazýček přichycený ke spodnímu okraji
   ---------------------------------------------------------- */
#acp-manage-btn {
	all: unset;
	position: fixed;
	bottom: 0;
	left: 24px;
	z-index: calc(var(--acp-z) - 1);
	display: none;
	align-items: center;
	gap: 6px;
	background: var(--acp-manage-bg);
	color: var(--acp-manage-fg);
	padding: 6px 14px 6px 10px;
	border-radius: 6px 6px 0 0;
	font-family: var(--acp-font);
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
	box-shadow: 0 -2px 8px rgba(0,0,0,.15);
	transform: translateY(calc(100% - 6px));
	transition: transform 0.2s ease;
	line-height: 1;
	box-sizing: border-box;
}

#acp-manage-btn.acp-visible {
	display: flex;
}

#acp-manage-btn:hover,
#acp-manage-btn:focus-visible {
	transform: translateY(0);
}

#acp-manage-btn:focus {
	outline: none;
}

#acp-manage-btn:focus-visible {
	outline: 2px solid var(--acp-accent);
	outline-offset: 2px;
}

.acp-manage-icon {
	font-size: 13px;
	line-height: 1;
}

.acp-manage-label {
	font-size: 12px;
	font-weight: 500;
	white-space: nowrap;
}

/* ----------------------------------------------------------
   11. Responsive
   ---------------------------------------------------------- */
@media (max-width: 480px) {
	#acp-cookiebanner {
		bottom: 0;
		left: 0;
		right: 0;
		transform: none;
		width: 100%;
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
		max-height: 90vh;
		overflow-y: auto;
	}

	#acp-cookiebanner .acp-actions {
		flex-direction: column;
	}

	#acp-cookiebanner .acp-btn {
		width: 100%;
	}

	#acp-manage-btn {
		left: 12px;
	}
}

/* ----------------------------------------------------------
   12. Position variants (přidáno třídou z JS)
   ---------------------------------------------------------- */

/* Bottom bar – výchozí styl překryje základní pravidla */
#acp-cookiebanner.acp-position-bottom-bar {
	bottom: 0;
	left: 0;
	right: 0;
	top: auto;
	width: 100%;
	max-width: 100%;
	transform: none;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

/* Top bar */
#acp-cookiebanner.acp-position-top-bar {
	top: 0;
	bottom: auto;
	left: 0;
	right: 0;
	width: 100%;
	max-width: 100%;
	transform: none;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

/* Bottom right (floating) */
#acp-cookiebanner.acp-position-bottom-right {
	bottom: 20px;
	right: 20px;
	left: auto;
	top: auto;
	transform: none;
}

/* Bottom left (floating) */
#acp-cookiebanner.acp-position-bottom-left {
	bottom: 20px;
	left: 20px;
	right: auto;
	top: auto;
	transform: none;
}

/* Center (popup) */
#acp-cookiebanner.acp-position-center {
	top: 50%;
	left: 50%;
	bottom: auto;
	right: auto;
	transform: translate(-50%, -50%);
}

/* Top right */
#acp-cookiebanner.acp-position-top-right {
	top: 20px;
	right: 20px;
	bottom: auto;
	left: auto;
	transform: none;
}

/* Top left */
#acp-cookiebanner.acp-position-top-left {
	top: 20px;
	left: 20px;
	bottom: auto;
	right: auto;
	transform: none;
}

/* ----------------------------------------------------------
   13. Reduced motion
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	#acp-cookiebanner .acp-toggle-slider,
	#acp-cookiebanner .acp-toggle-slider::after,
	#acp-cookiebanner .acp-close,
	#acp-cookiebanner .acp-btn,
	#acp-manage-btn,
	.acp-toggle-slider-consent,
	.acp-toggle-slider-consent::before {
		transition: none;
	}
}

/* ----------------------------------------------------------
   14. Shortcode: [acp_manage_consent]
   ---------------------------------------------------------- */
.acp-consent-manager {
	max-width: 700px;
	margin: 0 auto;
	font-family: inherit;
}

.acp-consent-manager-header {
	margin-bottom: 24px;
}

.acp-consent-manager-header h3 {
	margin: 0 0 8px;
	font-size: 20px;
}

.acp-consent-manager-header p {
	margin: 0;
	color: #646970;
}

.acp-consent-categories {
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	overflow: hidden;
	margin-bottom: 20px;
}

.acp-consent-category {
	padding: 16px 20px;
	border-bottom: 1px solid #e5e7eb;
}

.acp-consent-category:last-child {
	border-bottom: none;
}

.acp-consent-category-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}

.acp-consent-category-name {
	font-weight: 600;
	font-size: 15px;
}

.acp-consent-always-active {
	color: #00a32a;
	font-size: 13px;
	font-weight: 500;
}

.acp-consent-category-desc {
	margin: 0;
	font-size: 13px;
	color: #646970;
	line-height: 1.5;
}

/* Toggle přepínač pro shortcode */
.acp-toggle-consent {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
	cursor: pointer;
	flex-shrink: 0;
}

.acp-toggle-consent input {
	opacity: 0;
	width: 0;
	height: 0;
	position: absolute;
	margin: 0;
}

.acp-toggle-slider-consent {
	position: absolute;
	inset: 0;
	background: var(--acp-toggle-off, #d1d5db);
	border-radius: 24px;
	transition: background 0.2s;
}

.acp-toggle-slider-consent::before {
	content: '';
	position: absolute;
	width: 18px;
	height: 18px;
	left: 3px;
	top: 3px;
	background: #fff;
	border-radius: 50%;
	transition: transform 0.2s;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}

.acp-toggle-consent input:checked + .acp-toggle-slider-consent {
	background: var(--acp-toggle-on, #0073aa);
}

.acp-toggle-consent input:checked + .acp-toggle-slider-consent::before {
	transform: translateX(20px);
}

.acp-toggle-consent input:focus {
	outline: none;
}

.acp-toggle-consent input:focus-visible + .acp-toggle-slider-consent {
	outline: 2px solid var(--acp-toggle-on, #0073aa);
	outline-offset: 2px;
}

/* Tlačítka shortcodu – reset přebíjí Elementor i jiné page buildery */
.acp-consent-manager-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}

.acp-consent-manager .acp-btn {
	all: unset;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	padding: 8px 18px;
	border-radius: var(--acp-radius-sm, 6px);
	transition: opacity 0.15s ease;
	box-sizing: border-box;
	line-height: 1.4;
}

.acp-consent-manager .acp-btn:hover {
	opacity: 0.85;
}

.acp-consent-manager .acp-btn:focus {
	outline: none;
}

.acp-consent-manager .acp-btn:focus-visible {
	outline: 2px solid var(--acp-accent, #2563eb);
	outline-offset: 2px;
}

.acp-consent-manager .acp-btn-accept {
	background: var(--acp-accent, #2563eb);
	color: var(--acp-accent-fg, #ffffff);
}

.acp-consent-manager .acp-btn-deny {
	background: var(--acp-deny-bg, #f3f4f6);
	color: var(--acp-deny-fg, #374151);
}

.acp-consent-manager .acp-btn-save {
	background: transparent;
	color: var(--acp-accent, #2563eb);
	border: 1px solid currentColor;
}

.acp-consent-manager-note {
	font-size: 12px;
	color: #646970;
	margin: 0;
}

/* ----------------------------------------------------------
   15. Shortcode: [acp_cookie_list]
   ---------------------------------------------------------- */
.acp-cookie-list {
	max-width: 900px;
	margin: 0 auto;
}

.acp-cookie-category-section {
	margin-bottom: 32px;
}

.acp-cookie-category-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 2px solid #2563eb;
}

.acp-cookie-category-header h4 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
}

.acp-always-active-badge {
	background: #00a32a;
	color: #fff;
	font-size: 11px;
	padding: 2px 8px;
	border-radius: 10px;
	font-weight: 500;
}

.acp-cookie-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.acp-cookie-table th {
	background: #f6f7f7;
	padding: 10px 12px;
	text-align: left;
	font-weight: 600;
	border: 1px solid #e5e7eb;
	font-size: 13px;
}

.acp-cookie-table td {
	padding: 10px 12px;
	border: 1px solid #e5e7eb;
	vertical-align: top;
}

.acp-cookie-table tr:nth-child(even) td {
	background: #f9fafb;
}

.acp-cookie-table code {
	background: #f3f4f6;
	padding: 2px 6px;
	border-radius: 3px;
	font-size: 12px;
}

.acp-cookie-list-empty {
	color: #646970;
	font-style: italic;
}

/* ----------------------------------------------------------
   Privacy Statement [acp_privacy_statement]
   ---------------------------------------------------------- */
.acp-privacy-statement {
	max-width: 800px;
	font-size: 15px;
	line-height: 1.7;
	color: inherit;
}

.acp-privacy-statement h2 {
	font-size: 20px;
	font-weight: 600;
	margin: 32px 0 12px;
	padding-bottom: 8px;
	border-bottom: 2px solid #0073aa;
	color: inherit;
}

.acp-privacy-statement h2:first-child {
	margin-top: 0;
}

.acp-privacy-statement p {
	margin: 0 0 12px;
}

.acp-privacy-statement ul {
	margin: 0 0 16px 20px;
	padding: 0;
}

.acp-privacy-statement ul li {
	margin-bottom: 8px;
}

.acp-privacy-table {
	width: 100%;
	border-collapse: collapse;
	margin: 16px 0;
	font-size: 14px;
}

.acp-privacy-table th {
	background: #f6f7f7;
	padding: 10px 12px;
	text-align: left;
	font-weight: 600;
	border: 1px solid #e5e5e5;
}

.acp-privacy-table td {
	padding: 10px 12px;
	border: 1px solid #e5e5e5;
	vertical-align: top;
}

.acp-privacy-table tr:nth-child(even) td {
	background: #f9f9f9;
}

@media (max-width: 600px) {
	.acp-privacy-table {
		display: block;
		overflow-x: auto;
	}
}

/* ----------------------------------------------------------
   Logo v hlavičce banneru
   ---------------------------------------------------------- */
#acp-cookiebanner .acp-logo-wrap {
	margin-bottom: 8px;
}

#acp-cookiebanner .acp-logo {
	display: block;
	max-height: 40px;
	max-width: 120px;
	width: auto;
	height: auto;
	object-fit: contain;
}

#acp-cookiebanner .acp-powered-by {
	font-family: var(--acp-font);
	font-size: 10px;
	opacity: 0.6;
	margin-bottom: 8px;
}

#acp-cookiebanner .acp-powered-by a {
	color: var(--acp-fg);
	text-decoration: none;
}

#acp-cookiebanner .acp-powered-by a:hover {
	text-decoration: underline;
}

@media (max-width: 600px) {
	.acp-cookie-table {
		font-size: 13px;
	}

	.acp-cookie-table th,
	.acp-cookie-table td {
		padding: 8px;
	}

	.acp-consent-manager-actions {
		flex-direction: column;
	}

	.acp-consent-manager .acp-btn {
		width: 100%;
	}
}

/* ----------------------------------------------------------
   Mobile overrides – banner & manage button
   ---------------------------------------------------------- */
@media (max-width: 768px) {

	/* Zabraň horizontálnímu scrollu způsobenému bannerem */
	body.acp-banner-visible {
		overflow-x: hidden;
	}

	/* Všechny varianty pozice – vždy fixní full-width pruh dole */
	#acp-cookiebanner {
		position: fixed !important;
		left: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		top: auto !important;
		width: 100% !important;
		max-width: 100vw !important;
		max-height: 85dvh;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch; /* iOS Safari */
		overflow-scrolling: touch;          /* Samsung Browser */
		box-sizing: border-box !important;
		margin: 0 !important;
		padding: 16px !important;
		transform: none !important;
		border-radius: 0 !important;
		border-left: none !important;
		border-right: none !important;
		border-bottom: none !important;
	}

	/* Akční tlačítka – pod sebou, celá šířka, pevné pořadí */
	#acp-cookiebanner .acp-actions {
		display: flex;
		flex-direction: column;
		gap: 8px;
	}

	#acp-cookiebanner .acp-btn-accept   { order: 1; }
	#acp-cookiebanner .acp-btn-deny     { order: 2; }
	#acp-cookiebanner .acp-btn-save     { order: 3; }
	#acp-cookiebanner .acp-btn-settings { order: 4; }

	#acp-cookiebanner .acp-btn {
		width: 100% !important;
		text-align: center !important;
		justify-content: center !important;
		box-sizing: border-box !important;
	}

	/* Kategorie – scroll když je jich moc */
	#acp-cookiebanner .acp-categories {
		max-height: 35vh;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	/* Právní odkazy – zalamovat, nevytéct mimo */
	#acp-cookiebanner .acp-legal-links {
		flex-wrap: wrap;
		gap: 8px;
	}

	/* Nadpis a text – mírně menší */
	#acp-cookiebanner .acp-title {
		font-size: 16px;
	}

	#acp-cookiebanner .acp-message p {
		font-size: 13px;
	}

	/* Manage button jazýček */
	#acp-manage-btn {
		left: 12px;
		font-size: 13px;
		padding: 7px 12px;
	}
}

/* ==========================================================
   Data Request Form  [acp_data_request]
   ========================================================== */
.acp-data-request-form {
	max-width: 600px;
}

.acp-form-group {
	margin-bottom: 20px;
}

.acp-form-group label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	font-size: 14px;
}

.acp-required {
	color: #d63638;
	margin-left: 3px;
}

.acp-form-group input[type="email"],
.acp-form-group select,
.acp-form-group textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	font-size: 14px;
	font-family: inherit;
	box-sizing: border-box;
	background: #fff;
	color: inherit;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.acp-form-group input[type="email"]:focus,
.acp-form-group select:focus,
.acp-form-group textarea:focus {
	outline: none;
	border-color: var(--acp-link, #0073aa);
	box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.15);
}

.acp-form .acp-btn {
	all: unset;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 22px;
	background: var(--acp-accent, #2563eb);
	color: var(--acp-accent-fg, #fff);
	border-radius: var(--acp-radius-sm, 6px);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.15s;
}

.acp-data-request-form .acp-btn:hover,
.acp-data-request-form .acp-btn:focus,
.acp-consent-manager .acp-btn-accept:hover,
.acp-consent-manager .acp-btn-accept:focus,
.acp-consent-manager .acp-btn-deny:hover,
.acp-consent-manager .acp-btn-deny:focus,
.acp-consent-manager .acp-btn-save:hover,
.acp-consent-manager .acp-btn-save:focus {
	opacity: 0.85 !important;
}

.acp-form-note {
	font-size: 12px;
	color: #646970;
	margin-top: 12px;
	line-height: 1.5;
}

.acp-form-success {
	background: #d4edda;
	border: 1px solid #28a745;
	border-radius: 4px;
	padding: 12px 16px;
	margin-bottom: 16px;
}

.acp-form-success p,
.acp-form-error p {
	margin: 0;
}

.acp-form-error {
	background: #f8d7da;
	border: 1px solid #d63638;
	border-radius: 4px;
	padding: 12px 16px;
	margin-bottom: 16px;
}
