/* Cookie consent bar: the brand's dark strip at the bottom, like the store notice at the top. */
.jc-consent {
	position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1000;
	max-width: 56rem; margin: 0 auto; padding: 1rem 1.25rem; box-sizing: border-box;
	display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; justify-content: space-between;
	background: var(--wp--preset--color--ink, #111); color: var(--wp--preset--color--white, #fff);
	border-top: 3px solid var(--wp--preset--color--red, #d22);
	box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.35);
	font-size: var(--wp--preset--font-size--small, 0.875rem); line-height: 1.45;
}
.jc-consent[hidden] { display: none; }
.jc-consent__text { margin: 0; flex: 1 1 22rem; }
.jc-consent__text a { color: var(--wp--preset--color--signal, #fc0); text-decoration: underline; }
.jc-consent__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.jc-consent__btn {
	cursor: pointer; font: inherit; font-weight: 600; padding: 0.55em 1.1em; border-radius: 0;
	border: 2px solid var(--wp--preset--color--red, #d22);
	background: var(--wp--preset--color--red, #d22); color: var(--wp--preset--color--white, #fff);
}
.jc-consent__btn--secondary { background: transparent; border-color: var(--wp--preset--color--white, #fff); }
.jc-consent__btn { min-height: 44px; -webkit-user-select: none; user-select: none; touch-action: manipulation; transition: transform 120ms cubic-bezier(0.23, 1, 0.32, 1); }
.jc-consent__btn:active { transform: scale(0.97); }
.jc-consent__btn:focus-visible { outline: 2px solid var(--wp--preset--color--signal, #fc0); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
	.jc-consent__btn:hover { outline: 2px solid var(--wp--preset--color--signal, #fc0); outline-offset: 2px; }
}
@media (prefers-reduced-motion: reduce) {
	.jc-consent__btn { transition: none; }
	.jc-consent__btn:active { transform: none; }
}
@media (max-width: 600px) {
	/* Above the iPhone home bar (viewport-fit=cover in the theme). */
	.jc-consent { left: 0; right: 0; bottom: 0; padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); }
	.jc-consent__actions, .jc-consent__btn { flex: 1 1 auto; }
}
/* Phones: a compact bar (the Georgian text is long) with both buttons side by side. */
@media (max-width: 600px) {
	.jc-consent { padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px)); gap: 0.5rem; font-size: 0.8125rem; line-height: 1.35; }
	.jc-consent__text { flex-basis: 100%; }
	.jc-consent__actions { flex: 1 1 100%; flex-wrap: nowrap; }
	.jc-consent__btn { flex: 1 1 0; padding: 0.5em 0.6em; line-height: 1.2; }
}
