/* ============================================================
   sv-theme.css — stili dei blocchi ricostruiti senza Elementor
   (header, footer, homepage). Il resto (Woo, landing, single,
   cart) resta in custom.css. Kit: nero #000, bianco, arancio #ef6519.
   ============================================================ */

:root {
	--sv-black: #000000;
	--sv-dark: #1a1a1a;
	--sv-orange: #ef6519;
	--sv-gray: #7a7a7a;
	--sv-header-h: 90px;
}

/* ---------- Banner superiore rotante ---------- */
.banner {
	padding: 4px 0 !important;
	background: var(--sv-orange);
	color: #fff;
	font-weight: bold;
	font-size: 14px;
}
.banner-text-rotator {
	position: relative;
	height: 1.5em;
	overflow: hidden;
}
.banner-line {
	position: absolute;
	width: 100%;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}
.banner-line.active {
	opacity: 1;
	transform: translateY(0);
}

/* ============================================================
   HEADER
   ============================================================ */
.sv-header {
	background: var(--sv-black);
}
.sv-header a { color: #fff; }

/* Desktop */
.sv-header--desktop { display: block; }
.sv-header--desktop .sv-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--sv-header-h);
	padding: 8px 0;
}
.sv-header__logo img {
	max-height: 64px;
	width: auto;
	display: block;
}
.sv-header__nav { flex: 1 1 auto; }

.sv-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 26px;
}
.sv-menu li { margin: 0; }
.sv-menu a {
	color: #fff;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-decoration: none;
	white-space: nowrap;
}
.sv-menu a:hover { color: var(--sv-orange); }

.sv-header__actions {
	display: flex;
	align-items: center;
	gap: 16px;
}
.sv-icon-link, .sv-header__cart a { color: #fff; }
.sv-icon-link:hover { color: var(--sv-orange); }

/* Mobile header nascosto su desktop */
.sv-header--mobile { display: none; }
.sv-burger {
	background: none;
	border: 0;
	color: #fff;
	cursor: pointer;
	padding: 0;
	line-height: 0;
}

@media (max-width: 960px) {
	.sv-header--desktop { display: none; }
	.sv-header--mobile { display: block; }
	.sv-header--mobile .sv-header__inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 8px 16px;
		min-height: 60px;
	}
	.sv-header--mobile .sv-header__logo { flex: 1 1 auto; text-align: center; }
	.sv-header--mobile .sv-header__logo img { max-height: 40px; margin: 0 auto; }
}

.sv-offcanvas-bar .sv-menu-mobile a {
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 0.06em;
}

/* ============================================================
   HOMEPAGE
   ============================================================ */
.sv-hero { line-height: 0; }
.sv-hero__img { width: 100%; height: auto; display: block; }
.sv-hero__slideshow { width: 100%; }
.sv-hero__slideshow .uk-slideshow-items { min-height: 260px; }

/* Search box (riusa .uk-card-secondary + .search-box da custom.css) */
.sv-searchbox { padding-top: 24px; padding-bottom: 24px; }
.sv-searchbox .search-box { border-radius: 0; }

/* Sezione "Products on SALE!" nascosta su richiesta */
.sv-sale-section { display: none !important; }

/* Titoli sezione */
.sv-section-title {
	text-transform: none;
	font-weight: 700;
	margin-bottom: 6px;
}
.sv-slider-section .uk-container > p { margin-top: 0; }

/* USP bar */
.sv-usp { background: var(--sv-black) !important; color: #fff; }
.sv-usp__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	color: #fff;
	padding: 24px 12px;
	gap: 12px;
}
.sv-usp__item img { width: 54px; height: auto; }
.sv-usp__item h4 { color: #fff; margin: 0; font-size: 16px; }
.sv-usp__item:hover { color: var(--sv-orange); }

/* Bundle promos */
.sv-bundle {
	position: relative;
	min-height: 300px;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	overflow: hidden;
}
.sv-bundle__overlay {
	position: absolute; inset: 0;
	background: rgba(0,0,0,0.45);
}
.sv-bundle__content {
	position: relative;
	z-index: 1;
	color: #fff;
	padding: 36px;
	max-width: 70%;
}
.sv-bundle__icon { width: 60px; height: auto; margin-bottom: 12px; filter: brightness(0) invert(1); }
.sv-bundle__content h3 { color: #fff; font-size: 22px; margin: 0 0 18px; }

/* Bottone generico (ex Elementor button) */
.sv-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--sv-black);
	color: #fff !important;
	padding: 10px 22px;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	border-radius: 0;
	transition: background 0.2s ease;
}
.sv-btn:hover { background: #54595f; color: #fff !important; }

/* Category intro + grid (nero) */
.sv-cat-intro, .sv-cat-grid { background: var(--sv-black) !important; color: #fff; }
.sv-cat-intro .sv-section-title { color: #fff; }
.sv-cat-intro p { color: rgba(255,255,255,0.7); }
.sv-cat-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	color: #fff;
	gap: 14px;
	padding: 18px 8px;
}
.sv-cat-card img { width: 90px; height: 90px; object-fit: contain; }
.sv-cat-card h4 { color: #fff; margin: 0; font-size: 16px; }
.sv-cat-card:hover { color: var(--sv-orange); }
.sv-cat-card:hover img { filter: none; }

/* Combo rows (ex template 343/372) con onda decorativa */
.sv-combo {
	position: relative;
	background-size: cover;
	background-position: center;
	overflow: hidden;
	padding-top: 90px;
	padding-bottom: 70px;
}
.sv-combo__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.sv-combo__wave {
	position: absolute;
	top: -1px; left: 0; right: 0;
	line-height: 0;
	z-index: 1;
}
.sv-combo__wave svg { width: 100%; height: 70px; display: block; }
.sv-combo__wave path { fill: #ffffff; }
.sv-combo .uk-container { position: relative; z-index: 2; }
.sv-combo__content { max-width: 60%; color: #fff; }
.sv-combo--right .sv-combo__content { margin-left: auto; text-align: right; }
.sv-combo__icon { color: var(--sv-orange); margin-bottom: 10px; }
.sv-combo__title { color: #fff; font-size: 26px; line-height: 1.3 !important; margin: 0 0 20px; }
@media (max-width: 640px) {
	.sv-combo__content { max-width: 100%; text-align: center; }
	.sv-combo--right .sv-combo__content { text-align: center; }
	.sv-combo__title { font-size: 20px; }
}

/* Slider prodotti nativo */
.sv-product-slider { margin-top: 10px; }
/* Su mobile: una card per riga (una sotto l'altra) */
@media (max-width: 639px) {
	/* su mobile lo slider diventa uno stack verticale: neutralizza il transform e manda a capo */
	.sv-product-slider .uk-slider-items {
		transform: none !important;
		flex-wrap: wrap !important;
		margin-left: 0 !important;
	}
	.sv-product-slider .uk-slider-items > * {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
		padding-left: 0 !important;
		margin-bottom: 16px;
	}
	.sv-product-slider .sv-slider-nav { display: none !important; }
}
.sv-product-slider .uk-card { height: 100%; }
.sv-slider-nav { color: #333; }
.sv-recently-viewed { margin-top: 10px; }

/* Single product: allinea altezza input quantità al bottone ADD TO CART */
.woocommerce div.product form.cart .quantity:not(.wl-qty) input.qty {
	height: 46px;
	box-sizing: border-box;
	padding: 0 8px;
	vertical-align: top;
}
.woocommerce div.product form.cart .single_add_to_cart_button {
	min-height: 46px;
	line-height: 1.2;
	vertical-align: top;
}

/* Feature sections */
.sv-feature__text h2 { font-weight: 700; margin-bottom: 12px; }
.sv-feature__text p { color: var(--sv-gray); margin-bottom: 20px; }
.sv-feature__img img { width: 100%; height: auto; display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.sv-footer { background: var(--sv-black) !important; color: #fff; }
.sv-footer a { color: #fff; text-decoration: none; }
.sv-footer a:hover { color: var(--sv-orange); }
.sv-footer__title {
	color: #fff;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 16px;
	margin-bottom: 16px;
}
.sv-footer__text, .sv-footer__links { font-size: 14px; line-height: 2; }
.sv-footer__links p { line-height: 2; }
.sv-footer__social { display: flex; gap: 14px; }
.sv-footer__social a { color: #fff; }
.sv-footer__social a:hover { color: var(--sv-orange); }
.sv-footer__divider { border-top: 1px solid rgba(255,255,255,0.15); margin: 30px 0 16px; }
.sv-footer__bottom { color: rgba(255,255,255,0.7); }
.sv-footer__bottom a { color: rgba(255,255,255,0.7); }

/* ---------- Chat WhatsApp ---------- */
.chat {
	width: 55px; height: 55px;
	position: fixed; bottom: 70px; right: 20px; z-index: 9999;
}
.chat img { border-radius: 15px; width: 100%; }
@media (max-width: 640px) {
	.chat { width: 35px !important; height: 35px !important; bottom: 80px; }
}
