/*
Theme Name:     Car Repair Services Child
Theme URI:     https://smartdata.tonytemplates.com/car-repair-service-v4/
Description:    Child theme for Car Repair Services
Author:         Smartdatasoft
Author URI:     https://smartdatasoft.com/
Template:       car-repair-services
Version:        1.0.14
*/

/* ----------------------------------------------------------------------------
 * Child Theme Style.css styles begin here!
 * ------------------------------------------------------------------------- */

/* Homepage: break out of Bootstrap .container so hero covers full viewport */
.home #primary.home-fullwidth,
.home #primary.container-fluid {
	width: 100% !important;
	max-width: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.home .elementor-56,
.home .elementor-56 > .elementor-section {
	width: 100% !important;
	max-width: none !important;
	left: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.home #mainSliderWrapper,
.home #mainSlider,
.home #mainSlider .slick-list {
	width: 100% !important;
	max-width: none !important;
}

.home #mainSlider {
	overflow: hidden;
}

.home #mainSlider .slick-slide .img--holder {
	width: 100% !important;
	background-size: cover !important;
	background-position: center center !important;
}

.footer-map--openmapy {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 320px;
	overflow: hidden;
}

.footer-map__canvas {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 320px;
	background: #e8e8e8;
}

.page-footer-2 .footer-section02 {
	position: relative;
}

.page-footer-2 .footer-map--openmapy {
	position: absolute;
	inset: 0;
	z-index: 0;
	min-height: 0;
}

.page-footer-2 .footer-map__canvas {
	position: absolute;
	inset: 0;
	min-height: 0;
	height: 100%;
	width: 100%;
}

.page-footer-2 .footer-section02 .container {
	position: relative;
	z-index: 1;
}

.footer-map__link {
	position: absolute;
	right: 10px;
	bottom: 10px;
	z-index: 1000;
	padding: 6px 10px;
	background: rgba(255, 255, 255, 0.92);
	color: #333;
	font-size: 12px;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.footer-map__link:hover,
.footer-map__link:focus {
	color: #000;
	text-decoration: underline;
}

/* Prominent red map pin — do NOT zero margin; Leaflet uses margin for iconAnchor */
.footer-map-marker {
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	width: 32px !important;
	height: 42px !important;
}

.footer-map-marker__svg {
	display: block;
	width: 32px;
	height: 42px;
	overflow: visible;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}

/* Google reviews — same look as crs_testimonials slider, no people photos */
.apr-google-reviews .testimonials-carousel .item__img,
.elementor-widget-crs_testimonials .testimonials-carousel .item__img {
	display: none !important;
}

.apr-google-reviews.section-bg-wrapper,
.apr-google-reviews .section-blog__color02 {
	width: 100%;
}

.apr-google-reviews .item__description p {
	margin: 0;
}

.apr-google-reviews .item__autor {
	margin-top: 1rem;
}

/* Ensure slides stack as a carousel, not a vertical list before/after init */
.apr-google-reviews .testimonials-carousel:not(.slick-initialized) > .item {
	display: none;
}

.apr-google-reviews .testimonials-carousel:not(.slick-initialized) > .item:first-child {
	display: block;
}

/* Dots under dark testimonials section */
.apr-google-reviews .section-blog {
	overflow: visible;
	padding-bottom: 90px;
}

.apr-google-reviews .testimonials-carousel.slick-slider {
	margin-bottom: 0;
}

.apr-google-reviews .slick-dots {
	display: block !important;
	position: relative;
	bottom: auto;
	margin-top: 36px;
	width: 100%;
	text-align: center;
	z-index: 2;
}

.apr-google-reviews .slick-dots li button {
	background: rgba(255, 255, 255, 0.45);
}

.apr-google-reviews .slick-dots li.slick-active button,
.apr-google-reviews .slick-dots li.slick-active button:hover {
	background: #fede00;
}

/* Galerie: hide unused isotope "All" filter */
.page-id-393 .filters-by-category {
	display: none !important;
}

/* Kontakt: Napište nám — center content, underline links */
.page-id-48 .apr-kontakt .apr-kontakt__box {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.page-id-48 .apr-kontakt .block-title {
	text-align: center;
}

.page-id-48 .apr-kontakt .title-separator {
	margin-left: auto;
	margin-right: auto;
}

.page-id-48 .apr-kontakt .apr-kontakt__info {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 24px;
}

.page-id-48 .apr-kontakt .info02 {
	margin-top: 28px;
	text-align: center;
	width: 100%;
}

.page-id-48 .apr-kontakt .info02:first-child {
	margin-top: 0;
}

.page-id-48 .apr-kontakt .info02 address a,
.page-id-48 .apr-kontakt .info02 address a:hover,
.page-id-48 .apr-kontakt .info02 address a:focus {
	text-decoration: underline !important;
}

/* Floating Aktuality toggle (Popup Maker #pum-3164)
 * Keep below PUM overlay (~1999999999) so the open popup covers the button. */
.apr-aktuality-toggle {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 99990;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 12px 18px;
	border: 0;
	border-radius: 4px;
	background: #fede00;
	color: #1a1a1a;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.apr-aktuality-toggle:hover,
.apr-aktuality-toggle:focus {
	background: #ffe94d;
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
	outline: none;
}

.apr-aktuality-toggle:active {
	transform: translateY(1px);
}

.apr-aktuality-toggle.is-open {
	background: #1a1a1a;
	color: #fede00;
}

@media (max-width: 575px) {
	.apr-aktuality-toggle {
		right: 12px;
		bottom: 12px;
		padding: 10px 14px;
		font-size: 13px;
	}
}
