/* Patička podle navrh/index.html + tmavý textilní podklad loga */

.fabric-patch-dark {
	position: relative;
	z-index: 1;
	display: inline-block;
}

.fabric-patch-dark::before {
	content: "";
	position: absolute;
	inset: 2px -6px 0 -4px;
	z-index: -1;
	background-image: repeating-linear-gradient(
		-45deg,
		rgba(229, 169, 59, 0.05),
		rgba(229, 169, 59, 0.05) 2px,
		transparent 2px,
		transparent 5px
	);
	background-color: rgba(35, 31, 30, 0.8);
	border: 1px dashed rgba(229, 169, 59, 0.2);
	transform: rotate(-2deg);
	border-radius: 3px;
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.group:hover .fabric-patch-dark::before {
	border-color: rgba(229, 169, 59, 0.4);
	background-color: rgb(35, 31, 30);
}

.footer-link {
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
}

.footer-link:hover {
	color: var(--sk-color-brand);
	transform: translateX(6px);
}

.footer-link::before {
	content: "";
	display: inline-block;
	width: 0;
	height: 2px;
	background-color: var(--sk-color-brand);
	margin-right: 0;
	transition: all 0.3s ease;
	vertical-align: middle;
}

.footer-link:hover::before {
	width: 8px;
	margin-right: 8px;
}

.footer-bg-pattern {
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
	background-size: 20px 20px;
}

.contact-tag {
	background-color: var(--sk-color-surface);
	background-image: repeating-linear-gradient(
		transparent,
		transparent 31px,
		rgba(227, 114, 84, 0.15) 31px,
		rgba(227, 114, 84, 0.15) 32px
	);
	background-position: 0 10px;
	color: var(--sk-color-footer-bg);
	border-radius: 8px;
	position: relative;
	box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.6);
	border: 1px dashed rgba(227, 114, 84, 0.5);
	overflow: hidden;
}

.contact-tag::before {
	content: "";
	position: absolute;
	top: 16px;
	left: 50%;
	transform: translateX(-50%);
	width: 16px;
	height: 16px;
	background-color: var(--sk-color-footer-bg);
	border-radius: 50%;
	border: 3px solid var(--sk-color-gold);
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8);
	z-index: 10;
}

.stamp-effect {
	position: absolute;
	bottom: 20px;
	right: -15px;
	transform: rotate(-15deg);
	color: rgba(227, 114, 84, 0.12);
	font-family: var(--sk-font-heading), "Cormorant Garamond", serif;
	font-weight: 800;
	font-size: 2.5rem;
	text-transform: uppercase;
	border: 4px solid rgba(227, 114, 84, 0.12);
	border-radius: 8px;
	padding: 2px 12px;
	pointer-events: none;
	letter-spacing: 0.1em;
	z-index: 0;
}

/*
 * Kontaktní štítek — kruhy u e-mailu a telefonu (barvy z :root tokenů).
 * Tailwind utility (bg-mint-light, group-hover:bg-[var(...)]) v buildu často chybí → průhledné pozadí.
 */
.grohman-theme-handmade-footer-contact-icon {
	background-color: var(--sk-color-mint-light);
	color: var(--sk-color-mint-dark);
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.grohman-theme-handmade-footer-contact-item:hover .grohman-theme-handmade-footer-contact-icon {
	background-color: var(--sk-color-mint-hero);
	color: var(--color-gray-900);
	transform: scale(1.1);
}

.grohman-theme-handmade-footer-contact-item:hover a {
	color: var(--sk-color-mint-dark);
}

/* Spodní právní blok — celý layout v CSS (bez Tailwind utility) */
.grohman-theme-handmade-footer-legal {
	position: relative;
	z-index: 10;
	max-width: 80rem;
	margin: 6rem auto 0;
	padding: 0 1rem;
}

@media (min-width: 768px) {
	.grohman-theme-handmade-footer-legal {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

.grohman-theme-handmade-footer-trust-block,
.grohman-theme-handmade-footer-bottom-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
	align-items: center;
	width: 100%;
}

.grohman-theme-handmade-footer-trust-badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem;
	min-width: 0;
}

/* Pravý sloupec — stejný slot jako kontaktní karta (lg:col-span-4, max-w-sm) */
.grohman-theme-handmade-footer-aside {
	display: flex;
	justify-content: flex-start;
	width: 100%;
	min-width: 0;
}

.grohman-theme-handmade-footer-tagline,
.grohman-theme-handmade-footer-payment-methods {
	width: 100%;
	max-width: 24rem;
	display: flex;
	justify-content: flex-start;
}

.grohman-theme-handmade-footer-tagline p {
	margin: 0;
}

.grohman-theme-handmade-footer-divider {
	position: relative;
	margin: 1.25rem 0 0.375rem;
	height: 1px;
	width: 100%;
	border-top: 1px dashed rgba(255, 255, 255, 0.2);
}

.grohman-theme-handmade-footer-divider__needle {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(-45deg);
	padding: 0 1.5rem;
	background-color: #231f1e;
	color: var(--color-gray-500, #6b7280);
	font-size: 1.5rem;
	line-height: 1;
}

.grohman-theme-handmade-footer-bottom-row {
	margin-top: 0;
}

.grohman-theme-handmade-footer-copyright {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.75rem;
	font-weight: 300;
	color: var(--color-gray-500, #6b7280);
	min-width: 0;
}

.grohman-theme-handmade-footer-copyright p {
	margin: 0;
}

.grohman-theme-handmade-footer-copyright__sep {
	color: rgba(255, 255, 255, 0.2);
}

.grohman-theme-handmade-footer-copyright__link {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.grohman-theme-handmade-footer-copyright__link:hover {
	color: #fff;
}

@media (min-width: 1024px) {
	.grohman-theme-handmade-footer-trust-block,
	.grohman-theme-handmade-footer-bottom-row {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		column-gap: 3rem;
		row-gap: 0.75rem;
	}

	.grohman-theme-handmade-footer-trust-badges,
	.grohman-theme-handmade-footer-copyright {
		grid-column: 1 / span 5;
	}

	.grohman-theme-handmade-footer-aside {
		grid-column: 9 / span 4;
		justify-content: flex-end;
	}

	.grohman-theme-handmade-footer-tagline,
	.grohman-theme-handmade-footer-payment-methods {
		justify-content: flex-end;
		text-align: right;
	}
}

.grohman-theme-handmade-footer-payment-methods__img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 2.75rem;
	height: auto;
	margin: 0 0 0 auto;
	padding: 0;
	opacity: 0.92;
}
