/*
Theme Name: Dacweb Theme
Theme URI: https://dacweb.ro
Author: Dacweb
Author URI: https://dacweb.ro
Description: Temă WordPress personalizabilă - logo, culori, fonturi Google, secțiuni homepage administrabile (hero, welcome, counter, servicii paralax, testimoniale, contact).
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: runauto
Tags: custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, translation-ready, custom-colors, custom-background
*/

/* Variabile CSS - definite dinamic din Customizer (wp_head). */

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: #333; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Header */
.site-header {
	position: relative;
	z-index: 100;
	background: var(--header-bg);
	color: var(--header-text);
	border-bottom: 1px solid var(--header-bottom-border-color, transparent);
	padding: 0.6rem 2rem;
	transition: background 0.3s ease;
}

/* Prima pagină + antet transparent: dacă Hero e prima secțiune, se vede fundalul prin antet */
body.front-header-transparent .site-main.front-page > .hero-section:first-child {
	margin-top: -5.5rem;
	padding-top: 7rem;
}
body.admin-bar.front-header-transparent .site-main.front-page > .hero-section:first-child {
	margin-top: calc(-5.5rem - 32px);
	padding-top: calc(7rem + 32px);
}
@media (max-width: 991px) {
	body.front-header-transparent .site-main.front-page > .hero-section:first-child {
		margin-top: -4.5rem;
		padding-top: 6rem;
	}
	body.admin-bar.front-header-transparent .site-main.front-page > .hero-section:first-child {
		margin-top: calc(-4.5rem - 32px);
		padding-top: calc(6rem + 32px);
	}
}
@media screen and (max-width: 782px) {
	body.admin-bar.front-header-transparent .site-main.front-page > .hero-section:first-child {
		margin-top: calc(-4.5rem - 46px);
		padding-top: calc(6rem + 46px);
	}
}

.header-inner {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: var(--logo-position);
	gap: 2rem;
	flex-wrap: wrap;
}
.site-header.logo-left .header-inner { justify-content: flex-start; }
.site-header.logo-center .header-inner { justify-content: center; flex-direction: column; }
.site-header.logo-right .header-inner { justify-content: flex-end; }
.site-header.logo-center .header-inner .main-navigation { order: 2; width: 100%; justify-content: center; }

/* Zona dreaptă antet: rețele sociale | buton telefon (număr pe buton) | coș (opțional, WooCommerce) */
.header-right {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-left: auto;
	flex-wrap: wrap;
}
.header-cta-call {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.35rem 0.75rem;
	background: var(--header-hover);
	color: #fff !important;
	font-weight: 600;
	font-size: 0.8125rem;
	line-height: 1.2;
	letter-spacing: 0.01em;
	border-radius: 999px;
	white-space: nowrap;
	transition: opacity 0.2s, background 0.2s;
}
.header-cta-call:hover {
	opacity: 0.92;
	color: #fff !important;
}
.header-social {
	display: flex;
	align-items: center;
	gap: 0.35rem;
}
.header-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	color: var(--header-text);
	border-radius: 50%;
	transition: color 0.2s, background 0.2s;
}
.header-social a:hover {
	color: var(--header-hover);
	background: rgba(255,255,255,0.1);
}
.header-social svg {
	width: 18px;
	height: 18px;
}
.header-cart-wrap {
	display: flex;
	align-items: center;
}
.header-cart-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	color: var(--header-text);
	border-radius: 50%;
	transition: color 0.2s, background 0.2s;
}
.header-cart-link:hover {
	color: var(--header-hover);
	background: rgba(255,255,255,0.1);
}
.header-cart-icon-svg {
	display: block;
}
.header-cart-count-bubble {
	position: absolute;
	top: -1px;
	right: -3px;
	min-width: 15px;
	height: 15px;
	padding: 0 4px;
	font-size: 9px;
	font-weight: 700;
	line-height: 15px;
	text-align: center;
	background: var(--header-hover, #e94560);
	color: #fff;
	border-radius: 999px;
	box-sizing: border-box;
	pointer-events: none;
}
.header-cart-count-bubble.is-zero {
	display: none;
}

/* Zona din dreapta antet: deasupra meniului mobil */
@media (max-width: 991px) {
	.header-right {
		position: relative;
		z-index: 102;
	}
}

/* Căutare overlay (centrat pe ecran, ca un lightbox) */
.header-search-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(0,0,0,0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}
.header-search-overlay.is-open {
	opacity: 1;
	visibility: visible;
}
.header-search-overlay-inner {
	position: relative;
	width: 90%;
	max-width: 600px;
}
.header-search-overlay-form {
	display: flex;
	align-items: stretch;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 24px 60px rgba(15,23,42,0.28);
	overflow: hidden;
}
.header-search-overlay-field {
	flex: 1 1 0;
	min-width: 0;
	padding: 1rem 1.25rem;
	font-size: 1.1rem;
	border: none;
	outline: none;
	background: transparent;
	color: #1e293b;
	font-family: var(--font-body, inherit);
}
.header-search-overlay-field::placeholder {
	color: rgba(30,41,59,0.45);
}
.header-search-overlay-submit {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 1.25rem;
	border: none;
	background: transparent !important;
	color: rgba(30,41,59,0.55);
	cursor: pointer;
	transition: color 0.2s;
}
.header-search-overlay-submit:hover {
	color: #1e293b;
	background: transparent !important;
}
.header-search-overlay-submit svg {
	width: 22px;
	height: 22px;
}
.header-search-overlay-close {
	position: absolute;
	top: -52px;
	right: 0;
	width: 42px;
	height: 42px;
	border: none;
	background: rgba(255,255,255,0.15) !important;
	color: #fff;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	border-radius: 50%;
	transition: background 0.2s;
}
.header-search-overlay-close:hover {
	background: rgba(255,255,255,0.3) !important;
}

/* Logo la mijloc: meniul și zona dreaptă pe același rând */
.site-header.logo-center .header-inner .main-navigation { width: auto; }
.site-header.logo-center .header-inner .header-right { order: 3; }

@media (max-width: 991px) {
	.menu-toggle { display: flex !important; margin-left: auto; visibility: visible; opacity: 1; }
	.header-inner { flex-wrap: nowrap; }
	.header-right { gap: 0.4rem; }
}

.site-branding { display: flex; align-items: center; }
.site-branding a { display: block; }
.site-branding img { max-height: 60px; width: auto; }

/* Buton hamburger – vizibil doar pe mobil */
.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: none;
	background: transparent;
	color: var(--header-text);
	cursor: pointer;
	border-radius: 8px;
	transition: background 0.2s, color 0.2s;
}
.menu-toggle:hover,
.menu-toggle:focus {
	background: rgba(255,255,255,0.1);
	color: var(--header-text);
}
.menu-toggle-inner {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 6px;
}
.menu-toggle-bar {
	display: block;
	width: 26px;
	height: 3px;
	background: currentColor;
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.25s ease;
}
/* Pe mobil liniile hamburger să fie bine vizibile */
@media (max-width: 991px) {
	.menu-toggle-bar {
		width: 26px;
		height: 3px;
		background: var(--header-text, #fff);
	}
}
.site-header.nav-open .menu-toggle-bar:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
}
.site-header.nav-open .menu-toggle-bar:nth-child(2) {
	opacity: 0;
}
.site-header.nav-open .menu-toggle-bar:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
}

.main-navigation {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}
.main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; flex-wrap: wrap; }
.main-navigation a {
	padding: 0.5rem 1rem;
	color: var(--header-text);
	transition: color 0.2s, background 0.2s;
	border-radius: 4px;
}
.main-navigation a:hover,
.main-navigation a:focus { color: var(--header-hover); }
.main-navigation .menu-button-style a {
	background: transparent;
	border: 2px solid var(--header-text);
}
.main-navigation .menu-button-style a:hover { border-color: var(--header-hover); color: var(--header-hover); }
.main-navigation .menu-button-filled-style a {
	background: var(--menu-button-bg);
	border: 2px solid var(--menu-button-bg);
	color: var(--menu-button-text);
}
.main-navigation .menu-button-filled-style a:hover {
	background: transparent;
	color: var(--header-hover);
}

/* Dropdown meniu */
.main-navigation .primary-menu {
	align-items: center;
}
.main-navigation .primary-menu > li {
	position: relative;
}
.main-navigation .primary-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--dropdown-bg);
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.2);
	padding: 0.5rem 0;
	margin: 0.25rem 0 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
	flex-direction: column;
	display: flex;
	gap: 0;
	list-style: none;
	border: 1px solid rgba(255,255,255,0.08);
}
.main-navigation .primary-menu > li:hover > .sub-menu,
.main-navigation .primary-menu > li.focus > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.main-navigation .primary-menu .sub-menu li {
	width: 100%;
}
.main-navigation .primary-menu .sub-menu a {
	display: block;
	padding: 0.6rem 1.25rem;
	white-space: nowrap;
	border: none;
	border-radius: 0;
	color: var(--dropdown-text);
}
.main-navigation .primary-menu .sub-menu a:hover {
	background: rgba(255,255,255,0.08);
	color: var(--dropdown-hover);
}
/* Săgeată pentru elemente cu submeniu */
.main-navigation .menu-item-has-children > a {
	padding-right: 1.75rem;
}
.main-navigation .menu-item-has-children > a::after {
	content: '';
	position: absolute;
	right: 0.6rem;
	top: 50%;
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid currentColor;
	margin-top: 2px;
}
.main-navigation .primary-menu > li > a {
	position: relative;
}
/* Submeniu de nivel 2 (dropdown în dropdown) */
.main-navigation .primary-menu .sub-menu .menu-item-has-children > .sub-menu {
	left: 100%;
	top: 0;
	margin: 0 0 0 0.25rem;
}
.main-navigation .primary-menu .sub-menu .menu-item-has-children > a::after {
	right: 0.75rem;
	border-left: 5px solid currentColor;
	border-top: 5px solid transparent;
	border-right: none;
	border-bottom: 5px solid transparent;
	margin-top: -5px;
}

/* Meniu mobil: hamburger + panou care se deschide la click */
@media (max-width: 991px) {
	.main-navigation {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		bottom: auto;
		z-index: 98;
		background: transparent;
		display: flex;
		align-items: flex-start;
		justify-content: flex-end;
		padding: 0.5rem 1rem 1rem;
		overflow-y: visible;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.25s ease, visibility 0.25s ease;
	}
	.site-header.nav-open .main-navigation {
		opacity: 1;
		visibility: visible;
	}
	.main-navigation .primary-menu {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		max-width: 400px;
		gap: 0;
		background: var(--header-bg);
		border-radius: 12px;
		box-shadow: 0 10px 30px rgba(0,0,0,0.2);
	}
	.main-navigation .primary-menu > li {
		display: block;
		width: 100%;
		border-bottom: 1px solid rgba(255,255,255,0.08);
	}
	.main-navigation .primary-menu > li:last-child { border-bottom: none; }
	.main-navigation .primary-menu > li > a {
		display: block;
		padding: 1rem 1.25rem;
		font-size: 1.1rem;
		min-height: 48px;
		display: flex;
		align-items: center;
	}
	.main-navigation .primary-menu .sub-menu {
		position: static;
		opacity: 0;
		visibility: hidden;
		max-height: 0;
		overflow: hidden;
		transform: none;
		margin: 0;
		padding: 0;
		box-shadow: none;
		border: none;
		border-radius: 0;
		background: rgba(0,0,0,0.15);
	}
	.main-navigation .primary-menu > li.dropdown-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		max-height: 500px;
		padding: 0.5rem 0 0.5rem 1.5rem;
	}
	.main-navigation .primary-menu .sub-menu a {
		padding: 0.85rem 1.25rem;
		min-height: 44px;
		display: flex;
		align-items: center;
	}
	.menu-toggle { position: relative; z-index: 101; }
}

/* Dropdown pe mobil: la click (clasa .dropdown-open) – păstrat pentru submeniuri */
@media (max-width: 991px) {
	.main-navigation .menu-item-has-children > a::after {
		right: 1rem;
	}
}

/* Main */
.site-main { min-height: 50vh; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Secțiuni homepage */
.home-section {
	padding: 4rem 0;
	position: relative;
	background-size: cover;
	background-position: center;
	background-attachment: scroll;
}
.home-section.parallax-bg { background-attachment: fixed; }
.parallax-image-section {
	padding: 0;
	min-height: 420px;
	background-color: #f5f5f5;
}
@media (max-width: 768px) {
	.parallax-image-section {
		min-height: var(--runauto-parallax-mobile-height, 280px);
	}
}
.section-title { font-family: var(--font-heading); margin-bottom: 1.5rem; text-align: center; }

/* Hero – înălțime fixă ca fundalul video să umple */
.hero-section {
	min-height: 70vh;
	height: 70vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
	position: relative;
	overflow: hidden;
}
.hero-section .hero-media {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}
/* Imagină Hero – implicit contain; cover în .hero-media-cover */
.hero-section .hero-media img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.hero-section.hero-media-cover .hero-media img {
	object-fit: cover;
	object-position: top center;
}
/* Video (local) – implicit încadrat (contain) */
.hero-section .hero-media video {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.hero-section.hero-media-cover .hero-media video {
	top: 0;
	left: 0;
	transform: none;
	object-fit: cover;
}
.hero-section .hero-media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.4);
}

/* YouTube Hero – implicit încadrat (contain) */
.hero-section .hero-youtube-wrap {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 0;
}
.hero-section .hero-youtube-wrap iframe,
.hero-section .hero-youtube-iframe {
	position: relative !important;
	width: min(100%, 177.78vh) !important;
	height: auto !important;
	aspect-ratio: 16 / 9 !important;
	max-width: 100% !important;
	max-height: 100% !important;
	border: 0 !important;
	pointer-events: none !important;
	top: auto !important;
	left: auto !important;
	transform: none !important;
}

/* Hero – varianta extins (cover): filmul umple toată suprafața */
.hero-section.hero-media-cover .hero-youtube-wrap {
	display: block;
	overflow: hidden;
}
.hero-section.hero-media-cover .hero-youtube-wrap iframe,
.hero-section.hero-media-cover .hero-youtube-iframe {
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
	width: 100vw !important;
	height: 56.25vw !important;
	min-width: 177.78vh !important;
	min-height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	aspect-ratio: auto !important;
}
.hero-section .hero-content { position: relative; z-index: 1; max-width: 800px; padding: 2rem; }
/* Titlu Hero: mărime și grosime din Customizer (--hero-title-size, --hero-title-weight) */
.hero-section .hero-title {
	font-family: var(--font-heading);
	font-size: clamp(1.125rem, 2.75vw + 0.35rem, var(--hero-title-size, 2.5rem));
	font-weight: var(--hero-title-weight, 600);
	margin-bottom: 1rem;
	line-height: 1.15;
}
.hero-section .hero-subtitle { font-size: 1.15rem; margin: 0 0 0.9rem; opacity: 0.96; }
.hero-section .hero-text { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0.95; }
.hero-section .hero-cta { display: inline-block; padding: 1rem 2rem; background: var(--header-hover, #e94560); color: #fff; border-radius: 6px; font-weight: 600; transition: opacity 0.2s; }
.hero-section .hero-cta:hover { opacity: 0.9; color: #fff; }

/* Welcome */
.welcome-section .welcome-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: center; }
@media (max-width: 768px) { .welcome-section .welcome-inner { grid-template-columns: 1fr; gap: 1.25rem; } }
.welcome-section .welcome-image img { border-radius: 8px; }
.welcome-section .welcome-content .section-title { text-align: left; margin-bottom: 1rem; }

/* Counter */
.counter-section { text-align: center; }
.counter-section .counter-subtitle { max-width: 700px; margin: -0.5rem auto 2rem; text-align: center; opacity: 0.9; }
.counter-section .counter-subtitle > *:last-child { margin-bottom: 0; }
.counter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 2rem; }
@media (max-width: 992px) { .counter-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .counter-grid { grid-template-columns: 1fr; } }
.counter-item .number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; color: var(--counter-number-color, var(--header-hover, #e94560)); }
.counter-item .counter-item-title { font-weight: 600; font-size: 1rem; margin-top: 0.35rem; }
.counter-item .counter-item-description { font-size: 0.9rem; margin-top: 0.25rem; opacity: 0.9; line-height: 1.4; }

/* Services parallax */
.services-section .services-inner { position: relative; z-index: 1; }
.services-section .services-description { max-width: 700px; margin: 0 auto 2rem; text-align: center; }
.services-section .services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	align-items: start;
}
@media (max-width: 992px) {
	.services-section .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
	.services-section .services-grid { grid-template-columns: 1fr; }
}
.service-card { background: rgba(255,255,255,0.95); padding: 2rem; border-radius: 8px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.service-card h3 { font-family: var(--font-heading); margin-bottom: 0.5rem; }
.service-card p,
.service-card .service-card-desc { margin-bottom: 1rem; }
.service-card .service-card-desc p { margin: 0 0 0.5rem; }
.service-card .service-card-desc p:last-child { margin-bottom: 0; }
.service-card .service-button { display: inline-block; padding: 0.6rem 1.25rem; background: var(--header-hover, #e94560); color: #fff; border-radius: 6px; font-weight: 600; font-size: 0.95rem; transition: opacity 0.2s; }
.service-card .service-button:hover { opacity: 0.9; color: #fff; }

/* Testimonials – un testimonial pe rând, trecere dreapta → stânga */
.testimonials-section .testimonials-slider {
	max-width: 800px;
	margin: 0 auto;
	overflow: hidden;
	position: relative;
}
.testimonials-section .testimonials-track {
	display: flex;
	transition: transform 0.5s ease-in-out;
	will-change: transform;
}
.testimonials-section .testimonial-item {
	flex: 0 0 calc(100% / 3);
	min-width: 0;
	text-align: center;
	padding: 2rem;
	box-sizing: border-box;
}
.testimonials-section .testimonial-item blockquote,
.testimonials-section .testimonial-item .author {
	max-width: 100%;
}
.testimonials-section .testimonials-nav {
	display: flex;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 1rem;
}
.testimonials-section .testimonials-nav-btn {
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 50%;
	background: var(--testimonials-nav-bg, var(--color-button-bg, #e94560));
	color: var(--color-button-text, #fff);
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	transition: opacity 0.2s, transform 0.2s, background 0.2s;
}
.testimonials-section .testimonials-nav-btn:hover {
	background: var(--color-button-hover, #c73e54);
	transform: translateY(-1px);
}
.testimonials-section .testimonials-nav-btn:disabled {
	opacity: 0.45;
	cursor: default;
	transform: none;
}
.testimonial-item blockquote { font-size: 1.2rem; font-style: italic; margin: 0 0 1rem; }
.testimonial-item .author { font-weight: 600; }

.testimonials-subtitle { font-family: var(--font-heading); font-size: 1.35rem; margin-bottom: 1rem; text-align: center; }
.testimonials-empty { text-align: center; opacity: 0.8; }

/* Layout: testimoniale + Google pe același rând */
.testimonials-layout-both {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
	align-items: start;
	max-width: 1100px;
	margin: 0 auto;
}
@media (max-width: 768px) {
	.testimonials-layout-both { grid-template-columns: 1fr; }
	.testimonials-section .testimonial-item { flex-basis: 50%; }
}

/* Google Business card */
.google-business-card {
	background: rgba(255,255,255,0.95);
	border-radius: 12px;
	padding: 1.75rem;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
	text-align: left;
}
.testimonials-google-only .google-business-card { max-width: 700px; margin: 0 auto; }
.google-business-header { margin-bottom: 1.5rem; }
.google-business-name { font-family: var(--font-heading); font-size: 1.35rem; margin: 0 0 0.5rem; }
.google-business-rating { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.google-rating-stars .star { color: #fbbc04; }
.google-rating-stars .star-empty { color: #ddd; }
.google-rating-value { font-weight: 700; font-size: 1.1rem; }
.google-ratings-total { font-size: 0.95rem; opacity: 0.85; }

.google-reviews-list { display: flex; flex-direction: column; gap: 1.25rem; }
.google-review-item {
	border-top: 1px solid rgba(0,0,0,0.06);
	padding-top: 1.25rem;
}
.google-review-item:first-of-type { border-top: none; padding-top: 0; }
.google-review-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.google-review-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.google-review-author { font-weight: 600; display: block; }
.google-review-stars .star { color: #fbbc04; font-size: 0.9em; }
.google-review-stars .star-empty { color: #ddd; }
.google-review-time { font-size: 0.85rem; opacity: 0.8; margin-left: 0.35rem; }
.google-review-text { margin: 0; font-size: 0.95rem; line-height: 1.5; }

/* Contact */
.contact-section .contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 768px) { .contact-section .contact-inner { grid-template-columns: 1fr; } }
.contact-section form label { display: block; margin-bottom: 0.5rem; }
.contact-section form input,
.contact-section form textarea { width: 100%; padding: 0.75rem; margin-bottom: 1rem; border: 1px solid #ddd; border-radius: 4px; }
.contact-section form button { padding: 0.75rem 2rem; background: var(--header-hover, #e94560); color: #fff; border: none; border-radius: 4px; cursor: pointer; }
.contact-social-wrap { margin-top: 1rem; }
.contact-social {
	justify-content: center;
	gap: 0.5rem;
}
.contact-social a {
	color: var(--color-button-bg-solid, #e94560);
	background: rgba(148, 163, 184, 0.14);
}
.contact-social a:hover {
	color: #fff;
	background: var(--color-button-bg, #e94560);
}

/* Footer */
.site-footer { background: var(--color-footer-bg, #1a1a2e); color: #fff; padding: 3rem 0 0; margin-top: 4rem; }
.footer-widgets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; max-width: 1200px; margin: 0 auto 2rem; padding: 0 1.5rem; }
@media (max-width: 992px) { .footer-widgets { grid-template-columns: 1fr; } }
.footer-widgets .widget { margin-bottom: 1rem; }
.footer-widgets .widget-title { font-family: var(--font-heading); margin-bottom: 1rem; font-size: 1.1rem; }
.footer-copyright {
	text-align: center;
	padding: 1.2rem 0;
	border-top: 1px solid rgba(255,255,255,0.12);
	font-size: 0.9rem;
	opacity: 0.95;
	background: rgba(0,0,0,0.32);
}

/* Header scrolled */
.site-header.is-scrolled { box-shadow: 0 2px 10px rgba(0,0,0,0.1); }

/* Back to top */
.back-to-top {
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--color-button-bg, #e94560);
	color: var(--color-button-text, #fff);
	border: none;
	cursor: pointer;
	font-size: 1.25rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s, background 0.2s;
	z-index: 99;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--color-button-hover, #c73e54); color: var(--color-button-text, #fff); opacity: 0.95; }

/* Buton fix de apel (mobil) */
.mobile-call-now {
	display: none;
}

/* Galerii WordPress – aranjament plăcut */
.gallery,
.wp-block-gallery {
	display: grid;
	gap: 1rem;
	list-style: none;
	margin: 2rem 0;
	padding: 0;
}
.gallery {
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.gallery.gallery-columns-1 { grid-template-columns: 1fr; }
.gallery.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.gallery.gallery-columns-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 768px) {
	.gallery.gallery-columns-4,
	.gallery.gallery-columns-5,
	.gallery.gallery-columns-6 { grid-template-columns: repeat(2, 1fr); }
}
.wp-block-gallery {
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.gallery .gallery-item,
.wp-block-gallery .wp-block-image {
	margin: 0;
}
.gallery .gallery-item a,
.wp-block-gallery a {
	display: block;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.08);
	transition: transform 0.2s, box-shadow 0.2s;
	aspect-ratio: 1;
}
.gallery .gallery-item a:hover,
.wp-block-gallery a:hover {
	transform: scale(1.02);
	box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.gallery .gallery-item img,
.wp-block-gallery img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
}

/* Lightbox galerie */
.runauto-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(0,0,0,0.92);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s, visibility 0.25s;
}
.runauto-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}
.runauto-lightbox img {
	max-width: 95vw;
	max-height: 95vh;
	width: auto;
	height: auto;
	object-fit: contain;
}
.runauto-lightbox .runauto-lightbox-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 48px;
	height: 48px;
	border: none;
	background: rgba(255,255,255,0.15);
	color: #fff;
	font-size: 1.5rem;
	cursor: pointer;
	border-radius: 50%;
	line-height: 1;
	transition: background 0.2s;
}
.runauto-lightbox .runauto-lightbox-close:hover {
	background: rgba(255,255,255,0.3);
}
.runauto-lightbox .runauto-lightbox-prev,
.runauto-lightbox .runauto-lightbox-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 52px;
	height: 52px;
	border: none;
	background: rgba(255,255,255,0.15);
	color: #fff;
	font-size: 1.5rem;
	cursor: pointer;
	border-radius: 50%;
	transition: background 0.2s;
}
.runauto-lightbox .runauto-lightbox-prev { left: 1rem; }
.runauto-lightbox .runauto-lightbox-next { right: 1rem; }
.runauto-lightbox .runauto-lightbox-prev:hover,
.runauto-lightbox .runauto-lightbox-next:hover {
	background: rgba(255,255,255,0.3);
}
.runauto-lightbox .runauto-lightbox-counter {
	position: absolute;
	bottom: 1.5rem;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255,255,255,0.9);
	font-size: 0.95rem;
}

/* Utility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ========== MOBILE & TABLET – afișare modernă ========== */
html { overflow-x: hidden; scroll-behavior: smooth; }
body { overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* Safe area pentru notche / iPhone */
@supports (padding: max(0px)) {
	.site-header { padding-left: max(1rem, env(safe-area-inset-left)); padding-right: max(1rem, env(safe-area-inset-right)); }
	.container { padding-left: max(1.5rem, env(safe-area-inset-left)); padding-right: max(1.5rem, env(safe-area-inset-right)); }
	.back-to-top { right: max(1.5rem, env(safe-area-inset-right)); bottom: max(1.5rem, env(safe-area-inset-bottom)); }
}

/* Tableta (până la 991px) */
@media (max-width: 991px) {
	.site-header { padding: 0.6rem 1.25rem; }
	.header-inner { gap: 1rem; justify-content: space-between; }
	/* Buton telefon în bară: ascuns pe tabletă/mobil (bară fixă opțională). Coșul rămâne vizibil. */
	.header-cta-call { display: none !important; }
	.site-branding img { max-height: 52px; }
	.section-title { margin-bottom: 1.25rem; }
	.home-section { padding: 3rem 0; }
	.hero-section { min-height: 60vh; height: 60vh; }
	.hero-section .hero-content { padding: 1.5rem 1.25rem; }
	.hero-section .hero-text { font-size: 1.05rem; margin-bottom: 1.5rem; }
	.hero-section .hero-cta { padding: 0.9rem 1.5rem; font-size: 1rem; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
	.welcome-section .welcome-inner { gap: 1.25rem; }
	.counter-grid { gap: 1.5rem; margin-top: 1.5rem; }
	.counter-item .number { font-size: 2.25rem; }
	.services-section .services-grid { gap: 1.5rem; }
	.service-card { padding: 1.5rem; }
	.testimonial-item { padding: 1.5rem 1rem; }
	.testimonial-item blockquote { font-size: 1.1rem; }
	.contact-section .contact-inner { gap: 2rem; }
	.contact-section form input,
	.contact-section form textarea { padding: 0.85rem; min-height: 48px; }
	.contact-section form button { padding: 0.85rem 1.75rem; min-height: 48px; font-size: 1rem; }
	.footer-widgets { gap: 1.5rem; padding: 0 1.25rem; }
	.site-footer { padding: 2.5rem 0 0; margin-top: 3rem; }
	/* Parallax dezactivat pe mobil (performanță + evită bug-uri) */
	.home-section.parallax-bg { background-attachment: scroll; }
}

/* Telefon (până la 576px) */
@media (max-width: 576px) {
	.testimonials-section .testimonial-item { flex-basis: 100%; }
	.site-header { padding: 0.55rem 1rem; }
	.header-inner { padding: 0; }
	.site-branding img { max-height: 44px; }
	.header-social a,
	.header-cart-link { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
	.container { padding-left: 1rem; padding-right: 1rem; }
	.section-title { margin-bottom: 1rem; }
	.home-section { padding: 2.5rem 0; }
	.hero-section { min-height: 55vh; height: 55vh; }
	.hero-section .hero-content { padding: 1.25rem 1rem; }
	.hero-section .hero-text { font-size: 1rem; margin-bottom: 1.25rem; }
	.hero-section .hero-cta { padding: 0.85rem 1.35rem; font-size: 0.95rem; width: 100%; max-width: 280px; }
	.welcome-section .welcome-inner { gap: 1rem; }
	.counter-grid { gap: 1.25rem; }
	.counter-item .number { font-size: 2rem; }
	.counter-item .counter-item-title { font-size: 0.95rem; }
	.counter-item .counter-item-description { font-size: 0.85rem; }
	.services-section .services-description { margin-bottom: 1.5rem; font-size: 0.95rem; }
	.service-card { padding: 1.25rem; }
	.service-card .service-button { padding: 0.65rem 1.1rem; min-height: 44px; }
	.testimonials-section .testimonial-item { padding: 1.25rem 0.75rem; }
	.testimonial-item blockquote { font-size: 1rem; }
	.contact-section .contact-inner { gap: 1.5rem; }
	.contact-section form label { font-size: 0.95rem; }
	.google-business-card { padding: 1.25rem; }
	.footer-widgets { gap: 1.25rem; padding: 0 1rem; }
	.footer-copyright { font-size: 0.85rem; padding-top: 1.25rem; }
	.back-to-top { width: 44px; height: 44px; font-size: 1.1rem; }
	.mobile-call-now {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		transform: none;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 0.45rem;
		width: 100%;
		min-width: 0;
		padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom));
		border-radius: 0;
		background: var(--mobile-call-bg, #16a34a);
		color: #fff !important;
		font-weight: 700;
		font-size: 0.9rem;
		text-transform: uppercase;
		letter-spacing: 0.02em;
		box-shadow: 0 -4px 14px rgba(2, 6, 23, 0.2);
		z-index: 101;
	}
	.mobile-call-now:hover {
		opacity: 0.95;
		color: #fff !important;
	}
	.mobile-call-now-icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}
	body.has-mobile-call-now .back-to-top {
		bottom: calc(4.2rem + env(safe-area-inset-bottom));
	}
	body.has-mobile-call-now {
		padding-bottom: calc(3.7rem + env(safe-area-inset-bottom));
	}
}

/* Ecran foarte îngust (ex. iPhone SE) – opțional */
@media (max-width: 380px) {
	.header-right { flex-wrap: wrap; justify-content: center; }
}

/* Touch: zone de click mai mari pentru linkuri/butoane din conținut */
@media (hover: none) and (pointer: coarse) {
	.main-navigation a { min-height: 44px; display: inline-flex; align-items: center; }
	.hero-section .hero-cta { min-height: 48px; }
	.service-card .service-button { min-height: 44px; }
	a { -webkit-tap-highlight-color: rgba(0,0,0,0.08); }
	button { -webkit-tap-highlight-color: transparent; }
}

/* ========== Homepage refresh ========== */
.home-section {
	isolation: isolate;
	padding: clamp(4rem, 7vw, 6rem) 0;
}
.home-section.parallax-image-section {
	padding: 0;
}
.home-section.section-has-divider {
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.home-section.section-shape-diagonal-left,
.home-section.section-shape-diagonal-right {
	padding-bottom: calc(clamp(4rem, 7vw, 6rem) + 3rem);
}
.home-section.section-shape-diagonal-left {
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 54px), 0 100%);
}
.home-section.section-shape-diagonal-right {
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 54px));
}
.home-section .container {
	position: relative;
	z-index: 2;
}

/* Fundal video secțiune (cu link) */
.home-section.has-video-bg {
	position: relative;
	overflow: hidden;
}
.home-section.has-video-bg > .container {
	position: relative;
	z-index: 2;
}
.section-bg-video {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}
.section-bg-video video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.section-bg-video-parallax video {
	top: -20%;
	height: 140%;
	will-change: transform;
}
.section-bg-video-overlay::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(15, 23, 42, 0.4);
}
@media (hover: none) and (pointer: coarse) {
	.section-bg-video-parallax video {
		top: 0;
		height: 100%;
		transform: none !important;
	}
}
.section-title {
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.hero-section {
	min-height: 84vh;
	height: auto;
	padding: 7rem 0;
}
.hero-section::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at top left, rgba(255,255,255,0.18), transparent 35%),
		linear-gradient(135deg, rgba(15,23,42,0.72), rgba(30,41,59,0.35));
	z-index: 1;
}
.hero-section .hero-content {
	background: rgba(255,255,255,0.08);
	backdrop-filter: blur(16px);
	border: 1px solid rgba(255,255,255,0.14);
	border-radius: 28px;
	box-shadow: 0 24px 60px rgba(15,23,42,0.26);
}
.hero-section .hero-text p {
	margin: 0 0 1rem;
}
.hero-section .hero-cta {
	box-shadow: 0 16px 30px rgba(233,69,96,0.28);
}

.welcome-section.home-section {
	padding: clamp(2rem, 4vw, 3rem) 0;
}
.welcome-section .container {
	max-width: min(1240px, calc(100% - 1.5rem));
	padding-left: 0.75rem;
	padding-right: 0.75rem;
}
.welcome-section .welcome-inner {
	gap: clamp(1rem, 2vw, 1.5rem);
	grid-template-columns: minmax(0, 1fr) minmax(0, var(--welcome-text-width, 520px));
}
.contact-section .contact-inner,
.testimonials-layout-both {
	gap: clamp(2rem, 4vw, 4rem);
}
.welcome-section .welcome-image img {
	width: 100%;
	border-radius: 20px;
	box-shadow: 0 16px 40px rgba(15,23,42,0.12);
}
.welcome-section .welcome-content {
	background: rgba(255,255,255,0.76);
	backdrop-filter: blur(14px);
	border: 1px solid rgba(148,163,184,0.18);
	border-radius: 20px;
	box-shadow: 0 12px 32px rgba(15,23,42,0.07);
	padding: clamp(1rem, 2vw, 1.5rem);
}
.contact-section .contact-text,
.contact-section .contact-form-wrap {
	background: rgba(255,255,255,0.76);
	backdrop-filter: blur(14px);
	border: 1px solid rgba(148,163,184,0.18);
	border-radius: 24px;
	box-shadow: 0 16px 40px rgba(15,23,42,0.08);
	padding: clamp(1.5rem, 3vw, 2.5rem);
}
.welcome-section .welcome-text > *:last-child {
	margin-bottom: 0;
}

.counter-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.counter-item {
	padding: 2rem 1.5rem;
	border-radius: 22px;
	background: rgba(255,255,255,0.86);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(148,163,184,0.14);
	box-shadow: 0 16px 34px rgba(15,23,42,0.08);
}
.counter-item .number {
	font-size: clamp(2.3rem, 5vw, 3.4rem);
}

.services-section {
	overflow: hidden;
}
.services-section .container {
	max-width: min(1600px, calc(100% - 1.5rem));
	padding-left: 0.75rem;
	padding-right: 0.75rem;
}
.services-section .services-inner {
	position: relative;
	padding: clamp(1.5rem, 2.5vw, 2.25rem) clamp(1rem, 2vw, 1.75rem);
	border-radius: 30px;
	background: rgba(15,23,42,0.46);
	border: 1px solid rgba(255,255,255,0.1);
	box-shadow: 0 26px 70px rgba(15,23,42,0.2);
	overflow: hidden;
}
.services-section.services-columns-4 .container {
	max-width: min(1720px, calc(100% - 1.5rem));
}
.services-section.services-columns-4 .services-inner {
	padding-left: clamp(1rem, 2vw, 1.75rem);
	padding-right: clamp(1rem, 2vw, 1.75rem);
}
.services-section .services-inner.services-inner-parallax {
	background: rgba(15,23,42,0.55);
}
.services-section .services-parallax-layer {
	position: absolute;
	inset: -8%;
	background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.01));
	transform: translate3d(0, var(--services-parallax-offset, 0px), 0) scale(1.08);
	will-change: transform;
	z-index: 0;
}
.services-section .services-inner > * {
	position: relative;
	z-index: 1;
}
.services-section .services-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.services-section .services-grid.services-grid-columns-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.services-section .services-grid.services-grid-columns-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.services-section .services-grid.services-grid-columns-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.service-card {
	padding: 0;
	text-align: center;
	border-radius: 24px;
	background: rgba(255,255,255,0.92);
	box-shadow: 0 18px 42px rgba(15,23,42,0.16);
	overflow: hidden;
}
.service-card-media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	padding-top: 0.75rem;
}
.service-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 16px 16px 0 0;
}
.service-card-body {
	padding: 1.6rem;
	display: flex;
	flex-direction: column;
	height: 100%;
	text-align: center;
	align-items: center;
}
.service-card h3,
.services-section .service-card h3 {
	line-height: 1.35;
	text-align: center;
	margin-bottom: 0.65rem;
}
.service-card-kicker {
	margin: 0 0 0.85rem;
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(15,23,42,0.6);
}
.service-card-desc {
	margin-bottom: 1.25rem;
	text-align: center;
	font-size: 0.92rem;
	line-height: 1.6;
}
.service-card-desc > *:last-child {
	margin-bottom: 0;
}
.services-empty,
.testimonials-empty {
	text-align: center;
	padding: 1rem 0 0;
}

.testimonials-section .testimonials-slider {
	max-width: 100%;
}
.testimonials-section .testimonial-item {
	flex: 0 0 calc(100% / 3);
	padding: 1rem;
}
.testimonial-card {
	height: 100%;
	padding: 1.5rem;
	border-radius: 24px;
	background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(248,250,252,0.92));
	border: 1px solid rgba(148,163,184,0.18);
	box-shadow: 0 18px 45px rgba(15,23,42,0.08);
	text-align: left;
	display: flex;
	flex-direction: column;
}
.testimonial-card-top {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}
.testimonial-card-avatar,
.testimonial-card-avatar img,
.testimonial-avatar-placeholder {
	width: 64px;
	height: 64px;
	border-radius: 50%;
}
.testimonial-card-avatar {
	flex: 0 0 64px;
	overflow: hidden;
	background: var(--color-button-bg, linear-gradient(135deg, #e94560, #f97316));
}
.testimonial-card-avatar img {
	object-fit: cover;
	display: block;
}
.testimonial-avatar-placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.3rem;
	font-weight: 700;
	color: #fff;
	background: var(--color-button-bg, linear-gradient(135deg, #e94560, #f97316));
}
.testimonial-card-meta {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}
.testimonial-item .author {
	font-style: normal;
	font-weight: 700;
}
.testimonial-role {
	font-size: 0.92rem;
	color: rgba(15,23,42,0.62);
}
.testimonial-card-rating {
	margin-bottom: 0.9rem;
}
.testimonial-card-rating .star,
.google-rating-stars .star,
.google-review-stars .star {
	color: #f59e0b;
}
.testimonial-card blockquote {
	margin: 0;
	font-size: 1rem;
	font-style: normal;
	line-height: 1.75;
	color: rgba(15,23,42,0.88);
}
.testimonial-card blockquote p:last-child {
	margin-bottom: 0;
}
.testimonials-section .testimonials-nav {
	margin-top: 1.5rem;
}
.testimonials-section .testimonials-nav-btn {
	width: 48px;
	height: 48px;
	box-shadow: 0 14px 24px rgba(233,69,96,0.18);
}
.google-business-card {
	border-radius: 24px;
	border: 1px solid rgba(148,163,184,0.18);
	box-shadow: 0 18px 45px rgba(15,23,42,0.08);
}

.contact-section form,
.contact-section .wpcf7-form {
	display: grid;
	gap: 0.25rem;
}
.contact-section form p {
	margin: 0;
}
.contact-section form button,
.contact-section .wpcf7-submit {
	min-height: 48px;
	font-weight: 700;
}

@media (max-width: 991px) {
	.hero-section {
		min-height: 72vh;
	}
	.services-section .services-grid,
	.services-section .services-grid.services-grid-columns-4,
	.counter-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.testimonials-section .testimonial-item {
		flex-basis: 50%;
	}
}

@media (max-width: 768px) {
	.home-section.section-shape-diagonal-left,
	.home-section.section-shape-diagonal-right {
		clip-path: none;
		padding-bottom: clamp(4rem, 7vw, 6rem);
	}
	.welcome-section .welcome-inner,
	.contact-section .contact-inner,
	.testimonials-layout-both,
	.services-section .services-grid,
	.services-section .services-grid.services-grid-columns-2,
	.services-section .services-grid.services-grid-columns-3,
	.services-section .services-grid.services-grid-columns-4,
	.counter-grid {
		grid-template-columns: 1fr;
	}
	.testimonials-section .testimonial-item {
		flex-basis: 100%;
	}
}

/* Hero media slider (max 3 imagini) */
.hero-media-slider {
	position: absolute;
	inset: 0;
}
.hero-media-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.8s ease;
}
.hero-media-slide.is-active {
	opacity: 1;
}

/* Elimină spațiile nedorite între header/hero și ultima secțiune/footer */
body.home #content,
body.front-page #content,
body.home #content.site-content,
body.front-page #content.site-content,
body.home.header-is-sticky #content,
body.front-page.header-is-sticky #content {
	padding-top: 0 !important;
	margin-top: 0 !important;
}
body.home .site-main.front-page,
body.front-page .site-main.front-page,
body.home .site-main,
body.front-page .site-main {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
body.home .site-main .home-section:first-child,
body.front-page .site-main .home-section:first-child {
	margin-top: 0 !important;
}
body.home .site-main .home-section:last-child,
body.front-page .site-main .home-section:last-child {
	margin-bottom: 0 !important;
	padding-bottom: clamp(4rem, 7vw, 6rem) !important;
	clip-path: none;
}
body.home .site-footer,
body.front-page .site-footer {
	margin-top: 0 !important;
}

/* Sistem unificat de butoane - culoare/gradient din Customizer */
button:not(.header-search-overlay-submit):not(.header-search-overlay-close):not(.menu-toggle):not(.header-search-toggle),
input[type="submit"],
input[type="button"],
input[type="reset"],
.wp-element-button,
.wp-block-button__link,
.main-navigation .menu-button-filled-style a,
.main-navigation .menu-button-style a,
.hero-section .hero-cta,
.service-card .service-button,
.contact-section form button,
.contact-section .wpcf7-submit,
.header-cta-call,
.back-to-top,
.testimonials-section .testimonials-nav-btn {
	background: var(--color-button-bg, #e94560) !important;
	background-image: var(--color-button-bg, #e94560) !important;
	color: var(--color-button-text, #fff) !important;
	border-color: var(--color-button-bg-solid, #e94560) !important;
}

button:not(.header-search-overlay-submit):not(.header-search-overlay-close):not(.menu-toggle):not(.header-search-toggle):hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
.wp-element-button:hover,
.wp-block-button__link:hover,
.main-navigation .menu-button-filled-style a:hover,
.main-navigation .menu-button-style a:hover,
.hero-section .hero-cta:hover,
.service-card .service-button:hover,
.contact-section form button:hover,
.contact-section .wpcf7-submit:hover,
.header-cta-call:hover,
.back-to-top:hover,
.testimonials-section .testimonials-nav-btn:hover {
	background: var(--color-button-hover, #c73e54) !important;
	background-image: var(--color-button-hover, #c73e54) !important;
	color: var(--color-button-text, #fff) !important;
	border-color: var(--color-button-hover-solid, #c73e54) !important;
}

/* ===================================================================
   Homepage: Key categories / benefits (icon grid)
   =================================================================== */
.key-categories-section {
	--key-categories-icon-color: #a67c52;
}
.key-categories-header {
	text-align: center;
	margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}
.key-categories-heading-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(0.75rem, 3vw, 1.5rem);
	flex-wrap: wrap;
	margin-bottom: 0.75rem;
}
.key-categories-heading-row::before,
.key-categories-heading-row::after {
	content: '';
	flex: 1 1 48px;
	max-width: min(140px, 18vw);
	height: 1px;
	background: currentColor;
	opacity: 0.28;
}
.key-categories-title {
	margin: 0;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: clamp(1.15rem, 2.2vw, 1.65rem) !important;
	line-height: 1.25 !important;
	font-weight: 700 !important;
	color: #1e293b;
}
.key-categories-subtitle {
	margin: 0 auto;
	max-width: 640px;
	font-size: 1.05rem;
	line-height: 1.55;
	color: rgba(30, 41, 59, 0.78);
}
.key-categories-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2rem);
	text-align: center;
}
.key-category-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 320px;
	margin: 0 auto;
	width: 100%;
}
.key-category-icon-wrap {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	border: 2px solid var(--key-categories-icon-color);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.35rem;
	color: var(--key-categories-icon-color);
	background: rgba(255, 255, 255, 0.5);
	flex-shrink: 0;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.key-category-card:hover .key-category-icon-wrap {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}
.key-category-icon-wrap svg {
	display: block;
	width: 40px;
	height: 40px;
}
.key-category-title {
	margin: 0 0 0.65rem;
	font-family: var(--font-heading);
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.35;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #0f172a;
}
.key-category-desc {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.6;
	color: rgba(15, 23, 42, 0.72);
}
@media (max-width: 991px) {
	.key-categories-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.key-categories-heading-row::before,
	.key-categories-heading-row::after {
		max-width: min(72px, 12vw);
	}
}
@media (max-width: 576px) {
	.key-categories-grid {
		grid-template-columns: 1fr;
	}
	.key-categories-heading-row::before,
	.key-categories-heading-row::after {
		display: none;
	}
}

/* ===================================================================
   Homepage: Blog Grid
   =================================================================== */
.blog-section .blog-subtitle {
	max-width: 700px;
	margin: -0.5rem auto 2.5rem;
	text-align: center;
	font-size: 1.05rem;
	opacity: 0.88;
}
.blog-grid {
	display: grid;
	gap: 2rem;
}
.blog-grid.blog-grid-columns-1 { grid-template-columns: repeat(1, 1fr); }
.blog-grid.blog-grid-columns-2 { grid-template-columns: repeat(2, 1fr); }
.blog-grid.blog-grid-columns-3 { grid-template-columns: repeat(3, 1fr); }
.blog-grid.blog-grid-columns-4 { grid-template-columns: repeat(4, 1fr); }

.blog-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 48px rgba(15, 23, 42, 0.14);
}
.blog-card-media-link {
	display: block;
}
.blog-card-media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #f8fafc;
}
.blog-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.blog-card-media-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(148,163,184,0.3), rgba(203,213,225,0.55));
}
.blog-card-body {
	padding: 1.25rem 1.25rem 1.4rem;
	display: flex;
	flex-direction: column;
	height: 100%;
}
.blog-card-category {
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(15, 23, 42, 0.58);
	margin-bottom: 0.6rem;
}
.blog-card-title {
	margin: 0 0 0.55rem;
	font-family: var(--font-heading);
	font-size: 1.05rem;
	line-height: 1.35;
}
.blog-card-title a {
	color: #1e293b;
}
.blog-card-meta {
	font-size: 0.82rem;
	opacity: 0.75;
	margin-bottom: 0.75rem;
}
.blog-card-excerpt {
	font-size: 0.92rem;
	line-height: 1.65;
	color: #475569;
	margin-bottom: 1rem;
}
.blog-card-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--color-button-bg-solid, #e94560);
	margin-top: auto;
}
.blog-card-link:hover {
	color: var(--color-button-hover-solid, #c73e54);
}
.blog-cta-wrap {
	text-align: center;
	margin-top: 2.5rem;
}
.blog-cta-btn {
	display: inline-block;
	padding: 1rem 2.5rem;
	border-radius: 8px;
	font-weight: 700;
	font-size: 1rem;
	transition: background 0.2s, transform 0.2s;
}
.blog-cta-btn:hover {
	transform: translateY(-2px);
}

@media (max-width: 991px) {
	.blog-grid.blog-grid-columns-4 {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width: 768px) {
	.blog-grid.blog-grid-columns-3,
	.blog-grid.blog-grid-columns-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 480px) {
	.blog-grid {
		grid-template-columns: 1fr !important;
	}
}

.blog-archive-section .section-title {
	font-size: clamp(1.7rem, 2.7vw, 2.35rem) !important;
}
.runauto-blog-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin: 0 0 1.75rem;
}
.runauto-blog-filter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 1rem;
	border-radius: 999px;
	border: 1px solid rgba(148, 163, 184, 0.35);
	background: #fff;
	color: #334155;
	font-weight: 600;
	font-size: 0.92rem;
	text-decoration: none;
	transition: all 0.2s ease;
}
.runauto-blog-filter:hover {
	border-color: var(--color-button-bg-solid, #e94560);
	color: var(--color-button-bg-solid, #e94560);
}
.runauto-blog-filter.is-active {
	background: var(--color-button-bg-solid, #e94560);
	border-color: var(--color-button-bg-solid, #e94560);
	color: #fff;
}
.runauto-blog-pagination {
	margin-top: 2rem;
}
.runauto-blog-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	list-style: none;
	padding: 0;
	margin: 0;
}
.runauto-blog-pagination .page-numbers a,
.runauto-blog-pagination .page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	padding: 0.45rem 0.7rem;
	border-radius: 8px;
	text-decoration: none;
	border: 1px solid rgba(148, 163, 184, 0.35);
	background: #fff;
	color: #334155;
	font-weight: 600;
}
.runauto-blog-pagination .page-numbers .current {
	background: var(--color-button-bg-solid, #e94560);
	border-color: var(--color-button-bg-solid, #e94560);
	color: #fff;
}
.runauto-blog-pagination .page-numbers a:hover {
	border-color: var(--color-button-bg-solid, #e94560);
	color: var(--color-button-bg-solid, #e94560);
}

/* ===================================================================
   Single Blog Post
   =================================================================== */
.single-post-main {
	padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.single-post-main .container {
	max-width: 980px;
}
.single-post-article {
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 24px;
	box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
	overflow: hidden;
}
.single-post-header {
	padding: clamp(1.25rem, 3vw, 2rem) clamp(1.1rem, 3.5vw, 2.25rem) 1.2rem;
}
.single-post-featured-image {
	margin: 0 0 1.15rem;
	border-radius: 16px;
	overflow: hidden;
}
.single-post-featured-image img {
	width: 100%;
	height: auto;
	display: block;
}
.single-post-title {
	margin: 0 0 0.65rem;
	font-family: var(--font-heading);
	font-size: clamp(1.65rem, 2.7vw, 2.35rem);
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: #0f172a;
}
.single-post-meta {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.45rem;
	color: #64748b;
	font-size: 0.92rem;
	font-weight: 600;
}
.single-post-content {
	padding: 0 clamp(1.1rem, 3.5vw, 2.25rem) clamp(1.6rem, 3vw, 2.2rem);
	color: #334155;
	line-height: 1.75;
}
.single-post-content > *:first-child {
	margin-top: 0;
}
.single-post-content > *:last-child {
	margin-bottom: 0;
}
.single-post-back-wrap {
	padding: 0 clamp(1.1rem, 3.5vw, 2.25rem) clamp(1.6rem, 3vw, 2.2rem);
}
.single-post-back-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0.65rem 1.15rem;
	border-radius: 9px;
	text-decoration: none;
	font-weight: 700;
	background: var(--color-button-bg, #e94560);
	color: var(--color-button-text, #fff);
}
.single-post-back-btn:hover {
	background: var(--color-button-hover, #c73e54);
	color: var(--color-button-text, #fff);
}
.single-post-related {
	margin-top: clamp(2rem, 5vw, 3rem);
}
.single-post-related-title {
	margin: 0 0 1.25rem;
	font-family: var(--font-heading);
	font-size: clamp(1.35rem, 2.2vw, 1.9rem);
	line-height: 1.25;
}
@media (max-width: 768px) {
	.single-post-main .container {
		max-width: 100%;
	}
	.single-post-article {
		border-radius: 18px;
	}
	.single-post-related .blog-grid.blog-grid-columns-3 {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 480px) {
	.single-post-related .blog-grid.blog-grid-columns-3 {
		grid-template-columns: 1fr;
	}
}

/* ===================================================================
   WOOCOMMERCE: Homepage Products Grid
   =================================================================== */
.products-section .products-subtitle {
	max-width: 700px;
	margin: -0.5rem auto 2.5rem;
	text-align: center;
	font-size: 1.05rem;
	opacity: 0.88;
}
.products-section .section-title {
	font-size: clamp(1.55rem, 2.4vw, 2.1rem) !important;
}

.products-grid {
	display: grid;
	gap: 2rem;
}
.products-grid.products-grid-columns-2 { grid-template-columns: repeat(2, 1fr); }
.products-grid.products-grid-columns-3 { grid-template-columns: repeat(3, 1fr); }
.products-grid.products-grid-columns-4 { grid-template-columns: repeat(4, 1fr); }
.products-grid.products-grid-columns-5 { grid-template-columns: repeat(5, 1fr); }
.products-grid.products-grid-columns-6 { grid-template-columns: repeat(6, 1fr); }

.product-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	color: inherit;
}
.product-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 48px rgba(15, 23, 42, 0.14);
}
.product-card-media-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.product-card-media {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f8fafc;
}
.product-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.4s ease;
}
.product-card-img-hover {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
}
.product-card.has-hover-image:hover .product-card-img-primary {
	opacity: 0;
}
.product-card.has-hover-image:hover .product-card-img-hover {
	opacity: 1;
}
.product-card-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--color-button-bg-solid, #e94560);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0.3rem 0.75rem;
	border-radius: 6px;
	z-index: 2;
}

.product-card-info {
	padding: 1.25rem 1.25rem 1.5rem;
	text-align: center;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}
.product-card-title {
	font-family: var(--font-heading);
	font-size: 0.96rem;
	font-weight: 600;
	line-height: 1.35;
	margin: 0 0 0.55rem;
	color: #1e293b;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	line-clamp: 2;
	overflow: hidden;
	min-height: calc(1.35em * 2);
}
.product-card-title a {
	color: inherit;
	text-decoration: none;
}
.product-card-title a:hover {
	color: var(--color-button-bg-solid, #e94560);
}
.product-card-excerpt {
	font-size: 0.88rem;
	line-height: 1.55;
	color: #475569;
	margin: 0 0 0.85rem;
}
.product-card-price {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--color-button-bg-solid, #e94560);
	margin-bottom: 0.95rem;
}
.product-card-price del {
	opacity: 0.5;
	font-weight: 400;
	font-size: 0.9em;
}
.product-card-price ins {
	text-decoration: none;
}
.product-card-actions {
	margin-top: auto;
	display: flex;
	gap: 0.55rem;
	justify-content: center;
	flex-wrap: wrap;
}
.product-card-detail-btn,
.products-section .product-card-actions .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0.45rem 0.8rem;
	border-radius: 8px;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}
.product-card-detail-btn {
	border: 1px solid rgba(15, 23, 42, 0.16);
	background: #f8fafc;
	color: #1e293b;
}
.product-card-detail-btn:hover {
	background: #eef2f7;
}
.products-section .product-card-actions .button {
	margin: 0;
	border: 0;
	background: var(--color-button-bg, #e94560) !important;
	color: var(--color-button-text, #fff) !important;
}
.products-section .product-card-actions .button:hover {
	background: var(--color-button-hover, #c73e54) !important;
}

.products-cta-wrap {
	text-align: center;
	margin-top: 2.5rem;
}
.products-cta-btn {
	display: inline-block;
	padding: 1rem 2.5rem;
	background: var(--color-button-bg, #e94560) !important;
	color: var(--color-button-text, #fff) !important;
	font-weight: 700;
	font-size: 1rem;
	border-radius: 8px;
	transition: background 0.2s, transform 0.2s;
}
.products-cta-btn:hover {
	background: var(--color-button-hover, #c73e54) !important;
	transform: translateY(-2px);
}

/* Featured product section */
.featured-product-section .featured-product-subtitle {
	max-width: 760px;
	margin: -0.5rem auto 2.5rem;
	text-align: center;
	font-size: 1.05rem;
	opacity: 0.88;
}
.featured-product-inner {
	display: grid;
	grid-template-columns: minmax(260px, 0.9fr) minmax(340px, 1.1fr);
	gap: clamp(1.5rem, 3vw, 3rem);
	align-items: center;
}
.featured-product-media {
	display: block;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
	background: #fff;
}
.featured-product-media img {
	width: 100%;
	height: auto;
	display: block;
}
.featured-product-content {
	background: rgba(255, 255, 255, 0.82);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(148, 163, 184, 0.2);
	border-radius: 22px;
	padding: clamp(1.4rem, 2.8vw, 2.4rem);
}
.featured-product-title {
	margin: 0 0 0.75rem;
	font-family: var(--font-heading);
	font-size: clamp(1.4rem, 2.4vw, 2rem);
	line-height: 1.2;
}
.featured-product-title a {
	color: #0f172a;
	text-decoration: none;
}
.featured-product-price {
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--color-button-bg-solid, #e94560);
	margin-bottom: 1rem;
}
.featured-product-description {
	color: #475569;
	line-height: 1.7;
	margin-bottom: 1.5rem;
}
.featured-product-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.5rem;
	border-radius: 10px;
	background: var(--color-button-bg, #e94560) !important;
	color: var(--color-button-text, #fff) !important;
	text-decoration: none;
	font-weight: 700;
}
.featured-product-btn:hover {
	background: var(--color-button-hover, #c73e54) !important;
}

@media (max-width: 991px) {
	.featured-product-inner {
		grid-template-columns: 1fr;
	}
	.products-grid.products-grid-columns-4,
	.products-grid.products-grid-columns-5,
	.products-grid.products-grid-columns-6 {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width: 768px) {
	.products-grid.products-grid-columns-3,
	.products-grid.products-grid-columns-4,
	.products-grid.products-grid-columns-5,
	.products-grid.products-grid-columns-6 {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 480px) {
	.products-grid {
		grid-template-columns: 1fr !important;
	}
}

/* ===================================================================
   WOOCOMMERCE: Single Product Page
   =================================================================== */
.single-product-main {
	padding: 3rem 0 4rem;
}

/* Top: Gallery + Info */
.sp-top {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 4vw, 4rem);
	align-items: start;
	margin-bottom: 4rem;
}
@media (max-width: 768px) {
	.sp-top {
		grid-template-columns: 1fr;
	}
}

/* Gallery */
.sp-gallery-main {
	border-radius: 20px;
	overflow: hidden;
	background: #f8fafc;
	border: 1px solid rgba(148, 163, 184, 0.15);
}
.sp-gallery-main img {
	width: 100%;
	height: auto;
	display: block;
	cursor: zoom-in;
}
.sp-gallery-main-link {
	display: block;
}
.sp-gallery-thumbs {
	display: flex;
	gap: 0.75rem;
	margin-top: 1rem;
	flex-wrap: wrap;
}
.sp-gallery-thumb {
	width: 72px;
	height: 72px;
	border: 2px solid transparent;
	border-radius: 12px;
	overflow: hidden;
	cursor: pointer;
	background: #f8fafc;
	padding: 0;
	transition: border-color 0.2s, transform 0.2s;
}
.sp-gallery-thumb.is-active {
	border-color: var(--color-button-bg-solid, #e94560);
}
.sp-gallery-thumb:hover {
	transform: scale(1.06);
}
.sp-gallery-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Info side */
.sp-brand {
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(15, 23, 42, 0.5);
	margin-bottom: 0.5rem;
}
.sp-title {
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 1.25rem;
	color: #1e293b;
}
.sp-qualities {
	margin-bottom: 1.5rem;
	line-height: 1.8;
	font-size: 0.98rem;
}
.sp-qualities p {
	margin: 0 0 0.25rem;
}
.sp-price {
	font-size: 1.75rem;
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 1.25rem;
}
.sp-price del {
	opacity: 0.45;
	font-size: 0.8em;
}
.sp-price ins {
	text-decoration: none;
}
.sp-short-desc {
	margin-bottom: 1.5rem;
	font-size: 0.95rem;
	line-height: 1.65;
	color: #475569;
}
.sp-add-to-cart {
	margin-bottom: 2rem;
}
.sp-add-to-cart .quantity {
	display: inline-flex;
	align-items: center;
	margin-right: 0.75rem;
}
.sp-add-to-cart .quantity input {
	width: 64px;
	text-align: center;
	padding: 0.6rem;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 1rem;
}
.sp-add-to-cart .single_add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 2.5rem;
	font-size: 1rem;
	font-weight: 700;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s;
}
.sp-add-to-cart .single_add_to_cart_button:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(233, 69, 96, 0.25);
}
.sp-description {
	margin: 0 0 3rem;
	font-size: 0.95rem;
	line-height: 1.7;
	color: #475569;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(148, 163, 184, 0.15);
}

/* Sections (contents, usage, dosage, reviews, articles) */
.sp-section {
	margin-bottom: 3.5rem;
	padding: clamp(2rem, 4vw, 3rem);
	background: #fff;
	border-radius: 24px;
	border: 1px solid rgba(148, 163, 184, 0.12);
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}
.sp-section-title {
	font-family: var(--font-heading);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	margin: 0 0 1.5rem;
	color: #1e293b;
	text-align: center;
}
.sp-section-body {
	font-size: 0.98rem;
	line-height: 1.75;
	color: #334155;
}
.sp-section-body img {
	border-radius: 12px;
	margin: 1rem 0;
}
.sp-section-body h3 {
	margin-top: 1.5rem;
}
.sp-section-body ol,
.sp-section-body ul {
	padding-left: 1.5rem;
}
.sp-section-body ol li,
.sp-section-body ul li {
	margin-bottom: 0.75rem;
}

/* Contents section grid layout */
.sp-contents-section .sp-section-body {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: center;
}
.sp-contents-section .sp-section-body > * {
	text-align: center;
}

/* Reviews section */
.sp-reviews-section .comment-form {
	max-width: 600px;
	margin: 2rem auto 0;
}
.sp-reviews-section .comment-form label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
}
.sp-reviews-section .comment-form input[type="text"],
.sp-reviews-section .comment-form input[type="email"],
.sp-reviews-section .comment-form textarea {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	margin-bottom: 1rem;
}
.sp-reviews-section .comment-form .form-submit input {
	border: none;
	border-radius: 10px;
	padding: 0.85rem 2rem;
	font-weight: 700;
	cursor: pointer;
}
.sp-reviews-section .commentlist {
	list-style: none;
	padding: 0;
	margin: 0;
}
.sp-reviews-section .commentlist li {
	padding: 1.5rem 0;
	border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.sp-reviews-section .commentlist li:last-child {
	border-bottom: none;
}
.sp-reviews-section .star-rating {
	display: inline-flex;
	gap: 2px;
	color: #f59e0b;
	font-size: 1rem;
	margin-bottom: 0.5rem;
}
.sp-reviews-section .woocommerce-review__author {
	font-weight: 700;
}
.sp-reviews-section .woocommerce-review__published-date {
	font-size: 0.85rem;
	color: rgba(15, 23, 42, 0.55);
}

/* Articles grid */
.sp-articles-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}
@media (max-width: 768px) {
	.sp-articles-grid {
		grid-template-columns: 1fr;
	}
}
.sp-article-card {
	display: flex;
	flex-direction: column;
	background: #f8fafc;
	border-radius: 16px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	text-decoration: none;
	color: inherit;
	border: 1px solid rgba(148, 163, 184, 0.12);
}
.sp-article-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 36px rgba(15, 23, 42, 0.1);
}
.sp-article-card-media {
	aspect-ratio: 16 / 9;
	overflow: hidden;
}
.sp-article-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.sp-article-card:hover .sp-article-card-media img {
	transform: scale(1.05);
}
.sp-article-card-body {
	padding: 1.25rem;
}
.sp-article-card-title {
	font-family: var(--font-heading);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 0.5rem;
	color: #1e293b;
}
.sp-article-card-excerpt {
	font-size: 0.9rem;
	line-height: 1.55;
	color: #64748b;
	margin: 0;
}

/* WooCommerce Related Products on single page */
.single-product-main .related.products {
	margin-top: 3rem;
}
.single-product-main .related.products > h2 {
	font-family: var(--font-heading);
	text-align: center;
	margin-bottom: 2rem;
}
.single-product-main .related.products ul.products {
	display: flex !important;
	flex-wrap: wrap;
	gap: 1.2rem;
	list-style: none;
	padding: 0 !important;
	margin: 0 !important;
	width: 100%;
	max-width: none;
	float: none !important;
}
.single-product-main .related.products ul.products li.product {
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
	transition: transform 0.3s, box-shadow 0.3s;
	padding-bottom: 0.75rem;
	flex: 0 0 calc((100% - 2.4rem) / 3) !important;
	width: calc((100% - 2.4rem) / 3) !important;
	min-width: 0;
	float: none !important;
	margin: 0 !important;
	clear: none !important;
	max-width: none !important;
}
.single-product-main .related.products ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 36px rgba(15, 23, 42, 0.1);
}
.single-product-main .related.products ul.products li.product a img {
	width: 100%;
	aspect-ratio: 1 / 1;
	height: auto;
	max-height: 200px;
	object-fit: cover;
}
.single-product-main .related.products ul.products li.product .woocommerce-loop-product__title {
	font-size: 0.92rem;
	line-height: 1.35;
	font-weight: 600;
	padding: 0.75rem 0.85rem 0.35rem;
	text-align: center;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	line-clamp: 2;
	overflow: hidden;
	min-height: calc(1.35em * 2);
}
.single-product-main .related.products ul.products li.product .price {
	text-align: center;
	padding: 0 0.85rem 0;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--color-button-bg-solid, #e94560);
	margin: 0.15rem 0 0.55rem;
	line-height: 1.4;
}
.single-product-main .related.products ul.products li.product .star-rating {
	margin: 0 auto 0.5rem;
}
.single-product-main .related.products ul.products li.product .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	padding: 0.42rem 0.75rem;
	min-height: 34px;
	font-size: 0.82rem;
}
.single-product-main .related.products ul.products.columns-1,
.single-product-main .related.products ul.products.columns-2,
.single-product-main .related.products ul.products.columns-3,
.single-product-main .related.products ul.products.columns-4,
.single-product-main .related.products ul.products.columns-5,
.single-product-main .related.products ul.products.columns-6 {
	display: flex !important;
	flex-wrap: wrap;
}
.single-product-main .related.products ul.products li.product.first,
.single-product-main .related.products ul.products li.product.last {
	clear: none !important;
	margin-right: 0 !important;
}
@media (max-width: 768px) {
	.single-product-main .related.products ul.products,
	.single-product-main .related.products ul.products.columns-1,
	.single-product-main .related.products ul.products.columns-2,
	.single-product-main .related.products ul.products.columns-3,
	.single-product-main .related.products ul.products.columns-4,
	.single-product-main .related.products ul.products.columns-5,
	.single-product-main .related.products ul.products.columns-6 {
		gap: 1rem;
	}
	.single-product-main .related.products ul.products li.product {
		flex: 0 0 calc((100% - 1rem) / 2) !important;
		width: calc((100% - 1rem) / 2) !important;
		max-width: none !important;
	}
}
@media (max-width: 480px) {
	.single-product-main .related.products ul.products,
	.single-product-main .related.products ul.products.columns-1,
	.single-product-main .related.products ul.products.columns-2,
	.single-product-main .related.products ul.products.columns-3,
	.single-product-main .related.products ul.products.columns-4,
	.single-product-main .related.products ul.products.columns-5,
	.single-product-main .related.products ul.products.columns-6 {
		gap: 1.25rem;
	}
	.single-product-main .related.products ul.products li.product {
		flex: 0 0 100% !important;
		width: 100% !important;
		max-width: none !important;
	}
}

/* WooCommerce generic overrides */
.woocommerce-main {
	padding: 3rem 0 4rem;
}
.woocommerce-main .container {
	max-width: 1200px;
}
.woocommerce-main .woocommerce,
.woocommerce-main .content-area,
.woocommerce-main .site-main {
	width: 100%;
}
.woocommerce-main #secondary,
.woocommerce-main .widget-area,
.woocommerce-main aside.sidebar {
	display: none !important;
}
.woocommerce-main ul.products li.product {
	background: #fff;
	border: 1px solid rgba(148, 163, 184, 0.16);
	border-radius: 14px;
	box-shadow: 0 8px 26px rgba(15, 23, 42, 0.08);
	overflow: hidden;
	padding-bottom: 0.8rem;
}
.woocommerce-main ul.products li.product .woocommerce-loop-product__title {
	font-size: 0.95rem;
	line-height: 1.35;
	font-weight: 600;
	padding: 0.75rem 0.85rem 0.35rem;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	line-clamp: 2;
	overflow: hidden;
	min-height: calc(1.35em * 2);
}
.woocommerce-main ul.products li.product .price {
	padding: 0 0.85rem;
	margin: 0.2rem 0 0.7rem;
}
.woocommerce-main ul.products li.product .button {
	margin: 0 0.85rem;
}

/* Shop filters (top product categories) */
.runauto-shop-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin: 0 0 1.5rem;
}
.runauto-shop-filter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 1rem;
	border-radius: 999px;
	border: 1px solid rgba(148, 163, 184, 0.35);
	background: #fff;
	color: #334155;
	font-weight: 600;
	font-size: 0.92rem;
	text-decoration: none;
	transition: all 0.2s ease;
}
.runauto-shop-filter:hover {
	border-color: var(--color-button-bg-solid, #e94560);
	color: var(--color-button-bg-solid, #e94560);
}
.runauto-shop-filter.is-active {
	background: var(--color-button-bg-solid, #e94560);
	border-color: var(--color-button-bg-solid, #e94560);
	color: #fff;
}

/* WooCommerce notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-radius: 10px;
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
}

/* Product page gallery lightbox (simple) */
.sp-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100001;
	background: rgba(0, 0, 0, 0.92);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
	cursor: zoom-out;
}
.sp-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}
.sp-lightbox img {
	max-width: 92vw;
	max-height: 92vh;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 8px;
}
.sp-lightbox-close {
	position: absolute;
	top: 1.25rem;
	right: 1.25rem;
	width: 48px;
	height: 48px;
	border: none;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 1.5rem;
	cursor: pointer;
	border-radius: 50%;
	line-height: 1;
	transition: background 0.2s;
}
.sp-lightbox-close:hover {
	background: rgba(255, 255, 255, 0.3);
}
