/*
Theme Name: Poplachy.cz
Template: twentytwentyfive
Version: 1.0.0
Text Domain: poplachy
*/

strong,
b {
	font-weight: 700;
}

.counter-number strong {
	display: inline-block;
	min-width: 4ch;
	text-align: center;
	margin: 0 10px;
	font-variant-numeric: tabular-nums;
}

.price-cards {
	display: flex;
	align-items: stretch;
	gap: 24px;
	flex-wrap: wrap;
	margin-top: 32px;
}

.price-card {
	flex: 1 1 300px;
	min-width: min(260px, 100%);
	max-width: 100%;
	display: flex;
	flex-direction: column;
}

.price-card-head {
	display: flex;
	align-items: center;
	gap: 12px;
	background: rgba(255, 255, 255, 0.08);
	padding: 20px;
	height: 92px;
	width: 100%;
	box-sizing: border-box;
}

.price-card-head svg {
	width: 32px;
	height: 32px;
	fill: #fff;
	flex-shrink: 0;
}

.price-card-head p {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 16px;
	margin: 0;
}

.price-card-body {
	background: rgba(255, 255, 255, 0.08);
	margin-top: 2px;
	padding: 20px;
	text-align: center;
	flex: 1;
	width: 100%;
	box-sizing: border-box;
}

.price-label {
	font-family: var(--wp--preset--font-family--heading);
	text-transform: uppercase;
	font-weight: 700;
	margin: 0;
}

.price-value {
	font-size: 36px;
	font-weight: 700;
	margin: 8px 0;
}

.price-sub {
	margin: 0;
	font-size: 14px;
}

.price-details {
	margin-top: 12px;
	margin-bottom: 20px;
	text-align: center;
}

.price-details summary {
	display: inline-block;
	background: #dd3333;
	color: #fff;
	text-decoration: underline;
	padding: 8px 20px;
	cursor: pointer;
	list-style: none;
}

.price-details summary::-webkit-details-marker,
.price-details summary::marker {
	display: none;
	content: "";
}

.price-details[open] {
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: rgba(0, 0, 0, 0.6);
	display: block;
	overflow-y: auto;
	padding: 40px 20px;
	max-width: none !important;
	width: auto !important;
	margin: 0 !important;
}

.price-details[open] summary {
	display: none;
}

.price-details-modal {
	background: #fff;
	color: #333;
	text-align: left;
	max-width: 680px;
	width: 100%;
	padding: 36px 30px 30px;
	position: relative;
	box-sizing: border-box;
	margin: auto;
}

.price-details-modal p:first-of-type strong {
	color: #d10a11;
}

.phone-number {
	color: #d10a11;
}

.price-details-modal ul {
	margin: 0 0 1em;
	padding-left: 20px;
}

.price-modal-close {
	position: absolute;
	top: 6px;
	right: 12px;
	background: none;
	border: none;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	color: #999;
	padding: 4px 8px;
}

.price-tagline-small {
	text-align: center;
	font-weight: 700;
	text-transform: uppercase;
	margin-top: 48px;
	margin-bottom: 4px;
}

.price-tagline-rotator {
	position: relative;
}

.price-tagline-big {
	text-align: center;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 800;
	text-transform: uppercase;
	font-size: 30px;
	margin: 0;
	transition: opacity 0.3s ease;
	display: none;
}

.price-tagline-big.is-active {
	display: block;
}

#go-top {
	position: fixed;
	right: 30px;
	bottom: 30px;
	display: none;
	height: 40px;
	width: 40px;
	background: #d10a11;
	text-align: center;
	line-height: 40px;
	z-index: 9999;
}

#go-top a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	width: 100%;
	color: #fff;
	text-decoration: none !important;
}

#go-top a svg {
	width: 18px;
	height: 18px;
}

.wp-block-post-content > .wp-block-group.alignfull,
#slider-wrap-outer,
main.wp-block-group > .wp-block-post-content {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

#zabezpecovaci-system > *,
#cena-alarmu > *,
#instalace > *,
#alarmy-jablotron > *,
#kontakt > * {
	box-sizing: border-box;
	padding-left: 35px;
	padding-right: 35px;
}

#alarmy-jablotron h2,
#alarmy-jablotron h3 {
	color: #575656;
}

.contact-row {
	align-items: flex-start !important;
	gap: 10px !important;
	margin-top: 0 !important;
	margin-bottom: 4px !important;
}

.contact-row p {
	margin: 0;
}

.contact-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	fill: #575656;
	margin-top: 10px;
}

#kontakt .wp-block-column > .wp-block-image:first-child {
	margin-bottom: 20px;
}

.kontakt-verify-box {
	background-color: #e5e5e5;
	padding: 15px;
	box-sizing: border-box;
}

.flip-card {
	perspective: 1000px;
	height: 190px;
}

.flip-card-inner {
	position: relative;
	width: 100%;
	height: 100%;
	transition: transform 0.6s;
	transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
	transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
	position: absolute;
	inset: 0;
	backface-visibility: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 15px;
	padding-bottom: 55px;
	box-sizing: border-box;
	background-color: #e5e5e5;
	background-image: url(/wp-content/uploads/2017/03/jablotron4.png);
	background-repeat: no-repeat;
	background-position: bottom center;
	background-size: 65% auto;
}

.flip-card-back {
	transform: rotateY(180deg);
	flex-direction: column;
}

header.wp-block-template-part > div > div {
	box-sizing: border-box;
	padding-left: 35px;
	padding-right: 35px;
}

header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 100;
}

.wp-block-navigation a {
	color: #575656 !important;
	text-decoration: none !important;
}

.wp-block-navigation a:hover {
	color: #d10a11 !important;
	text-decoration: none !important;
}

.nav-home-active a,
a.nav-home-active {
	color: #d10a11 !important;
}

.wp-block-navigation a:focus,
.wp-block-navigation-item:focus-within,
.wp-block-navigation-item__content:focus,
.wp-block-site-logo a:focus,
.wp-block-site-logo a:focus img {
	outline: none !important;
	box-shadow: none !important;
}

