/* ════════════════════════════════════════════════════
 * Hostsereno × Exal Pass — banner + badge crediti
 * ════════════════════════════════════════════════════ */

.exal-hs-banner {
	max-width: 1200px;
	margin: 1.5rem auto 1rem;
	background: linear-gradient(135deg, rgba(201,169,110,0.10), rgba(201,169,110,0.04));
	border: 1px solid rgba(201,169,110,0.32);
	border-radius: 12px;
	padding: 18px 22px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.exal-hs-banner__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.exal-hs-banner__icon {
	font-size: 1.6rem;
	color: #C9A96E;
	flex-shrink: 0;
}
.exal-hs-banner__body { flex: 1; min-width: 240px; }
.exal-hs-banner__title {
	font-weight: 700;
	color: #1A1A1A;
	font-size: 1.05rem;
	margin-bottom: 4px;
}
.exal-hs-banner__text {
	color: #555555;
	font-size: .92rem;
	line-height: 1.45;
}
.exal-hs-banner__cta {
	background: #C9A96E;
	color: #0A0A0A !important;
	padding: 10px 18px;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
	font-size: .92rem;
	white-space: nowrap;
	transition: all .2s;
	flex-shrink: 0;
}
.exal-hs-banner__cta:hover {
	background: #E8C98A;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(201,169,110,.3);
}

/* Badge su product card del loop */
ul.products li.product,
.wc-block-grid__product,
.woocommerce-loop-product__link {
	position: relative;
}
.exal-hs-card-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: #1A1A1A;
	color: #C9A96E;
	padding: 4px 9px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	z-index: 5;
	border: 1px solid rgba(201,169,110,0.4);
	box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

/* ════════════════════════════════════════════════════
 * PAGINA SERVIZI ("Cosa ti offriamo") — dark+gold
 * ════════════════════════════════════════════════════ */

.hs-services-page {
	background: #0A0A0A;
	color: #FFFFFF;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* HERO */
.hs-services-hero {
	padding: clamp(80px, 10vw, 140px) 1.5rem;
	background: #0A0A0A;
	text-align: center;
	position: relative;
}
.hs-services-hero::before {
	content: '';
	position: absolute; inset: 0;
	background: radial-gradient(ellipse 700px 500px at 50% 0%,
		rgba(201,169,110,.07) 0%, transparent 70%);
	pointer-events: none;
}
.hs-services-hero__inner {
	max-width: 720px; margin: 0 auto; position: relative;
}
.hs-eyebrow {
	display: block; font-size: 12px; font-weight: 600;
	letter-spacing: 1.5px; text-transform: uppercase;
	color: #C9A96E; margin-bottom: 1.5rem;
}
.hs-services-hero__title {
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 600; line-height: 1.15;
	letter-spacing: -.02em; margin-bottom: 1.25rem;
	color: #FFFFFF;
}
.hs-gold { color: #C9A96E; }
.hs-services-hero__sub {
	font-size: 1.1rem; color: #A0A0A0;
	line-height: 1.6; max-width: 540px;
	margin: 0 auto 2rem;
}

/* CREDITS HERO BADGE */
.hs-services-hero__credits {
	display: inline-flex; align-items: center; gap: .75rem;
	flex-wrap: wrap; justify-content: center;
	background: #111111; border: 1px solid rgba(201,169,110,.3);
	border-radius: 99px; padding: .625rem 1.25rem;
	font-size: .9rem; color: #A0A0A0;
}
.hs-credits-icon { color: #C9A96E; font-size: 1rem; }
.hs-services-hero__credits strong { color: #C9A96E; }
.hs-credits-link { color: #C9A96E; font-size: .8rem; white-space: nowrap; text-decoration: none; }
.hs-credits-link:hover { text-decoration: underline; }

/* SSO BUTTON */
.hs-btn-sso {
	display: inline-flex; align-items: center; gap: .625rem;
	background: #111111; color: #FFFFFF;
	border: 1px solid #2E2E2E; border-left: 3px solid #C9A96E;
	border-radius: 8px; padding: .75rem 1.5rem;
	font-size: .9rem; font-weight: 500;
	text-decoration: none; transition: all .25s;
}
.hs-btn-sso:hover { background: #1A1A1A; color: #C9A96E; border-color: #C9A96E; }
.hs-btn-sso__icon { color: #C9A96E; }

/* SECTION LAYOUT */
.hs-services-section { padding: clamp(60px, 8vw, 100px) 1.5rem; background: #0A0A0A; }
.hs-services-section--alt { background: #111111; }
.hs-services-inner { max-width: 1140px; margin: 0 auto; }
.hs-section-label {
	font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
	text-transform: uppercase; color: #C9A96E; margin-bottom: .75rem;
}
.hs-section-title {
	font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600;
	letter-spacing: -.02em; margin-bottom: .75rem;
	color: #FFFFFF;
}
.hs-section-desc {
	color: #A0A0A0; font-size: 1rem; line-height: 1.6;
	max-width: 560px; margin-bottom: 2.5rem;
}

/* PRODUCTS GRID */
.hs-products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 1.5rem;
}

/* PRODUCT CARD */
.hs-product-card {
	background: #1A1A1A; border: 1px solid #2E2E2E;
	border-radius: 12px; padding: 1.75rem;
	display: flex; flex-direction: column;
	position: relative; transition: all .25s;
}
.hs-product-card:hover {
	border-color: rgba(201,169,110,.35);
	transform: translateY(-2px);
}
.hs-product-card--featured {
	border-color: #C9A96E;
	box-shadow: 0 0 0 1px rgba(201,169,110,.2),
				0 8px 32px rgba(0,0,0,.4);
}
.hs-product-card__badge {
	position: absolute; top: -1px; left: 1.5rem;
	background: #C9A96E; color: #0A0A0A;
	font-size: 11px; font-weight: 700;
	padding: 3px 10px; border-radius: 0 0 6px 6px;
}
.hs-product-card__header { margin-bottom: 1rem; }
.hs-product-card__name {
	font-size: 1.1rem; font-weight: 600; color: #FFFFFF;
	margin-bottom: .625rem; margin-top: 0;
}
.hs-product-card__price {
	display: flex; align-items: baseline; gap: .375rem;
	flex-wrap: wrap;
}
.hs-price-amount { font-size: 2rem; font-weight: 700; color: #C9A96E; line-height: 1.1; }
.hs-price-amount--unatantum { font-size: 1.5rem; }
.hs-price-period { font-size: .875rem; color: #555555; }
.hs-product-card__credits {
	display: inline-block; margin-top: .5rem;
	background: rgba(201,169,110,.12);
	border: 1px solid rgba(201,169,110,.2);
	color: #C9A96E; font-size: .8rem; font-weight: 600;
	padding: 3px 10px; border-radius: 99px;
}
.hs-product-card__desc {
	font-size: .9rem; color: #A0A0A0; line-height: 1.6;
	flex: 1; margin-bottom: 1.25rem;
}
.hs-product-card__features {
	list-style: none; padding: 0; margin: 0 0 1.25rem;
	display: flex; flex-direction: column; gap: .375rem;
}
.hs-product-card__features li {
	font-size: .875rem; color: #A0A0A0; padding-left: 1.25rem; position: relative;
}
.hs-product-card__features li::before {
	content: '\2713'; position: absolute; left: 0; color: #C9A96E; font-weight: 700;
}
.hs-product-card__cta {
	display: block; text-align: center;
	padding: 11px 20px; border-radius: 8px;
	font-size: .9rem; font-weight: 600;
	text-decoration: none; transition: all .25s; margin-top: auto;
}
.hs-product-card__cta--primary {
	background: #C9A96E; color: #0A0A0A;
}
.hs-product-card__cta--primary:hover { background: #E8C98A; }
.hs-product-card__cta--secondary {
	background: transparent; color: #FFFFFF;
	border: 1px solid #2E2E2E;
}
.hs-product-card__cta--secondary:hover {
	border-color: #C9A96E; color: #C9A96E;
}

/* CTA FINALE */
.hs-services-cta { padding: clamp(60px, 8vw, 100px) 1.5rem; background: #0A0A0A; }
.hs-services-cta__inner { max-width: 560px; margin: 0 auto; text-align: center; }
.hs-services-cta__inner h2 {
	font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600;
	letter-spacing: -.02em; margin-bottom: 1rem; color: #FFFFFF;
}
.hs-services-cta__inner p { color: #A0A0A0; margin-bottom: 2rem; }
.hs-services-cta__buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hs-btn-primary {
	background: #C9A96E; color: #0A0A0A; font-weight: 600;
	padding: 13px 28px; border-radius: 8px;
	text-decoration: none; transition: all .25s;
}
.hs-btn-primary:hover { background: #E8C98A; }
.hs-btn-secondary {
	background: transparent; color: #FFFFFF;
	border: 1px solid #2E2E2E; font-weight: 500;
	padding: 12px 28px; border-radius: 8px;
	text-decoration: none; transition: all .25s;
}
.hs-btn-secondary:hover { border-color: #C9A96E; color: #C9A96E; }

/* WC price override dark in pagina servizi */
.hs-services-page .woocommerce-Price-amount,
.hs-services-page .woocommerce-Price-amount bdi,
.hs-services-page .woocommerce-Price-currencySymbol { color: inherit !important; }

/* Responsive */
@media (max-width: 640px) {
	.hs-products-grid { grid-template-columns: 1fr; }
	.hs-services-hero__credits { flex-direction: column; border-radius: 12px; text-align: center; }
}

/* ════════════════════════════════════════════════════
 * Sprint 5ak — doppia vista /servizi/ + display 50/50 crediti
 * ════════════════════════════════════════════════════ */

/* ─── Sezione Rent to Rent (primary per guest, secondary per member) ─── */
.hs-rtr-section {
	padding: 80px 24px;
	background: linear-gradient(135deg, #1a1816 0%, #25212F 100%);
	color: #FFFFFF;
}
.hs-rtr-section--primary {
	background:
		radial-gradient(circle at 80% 20%, rgba(201,169,110,0.18), transparent 60%),
		linear-gradient(135deg, #1a1816 0%, #25212F 100%);
	border-top: 1px solid rgba(201,169,110,0.18);
	border-bottom: 1px solid rgba(201,169,110,0.18);
}
.hs-rtr-section--primary .hs-services-inner {
	max-width: 900px; text-align: center;
}
.hs-rtr-title {
	font-size: 48px; line-height: 1.1; margin: 12px 0 20px;
	font-weight: 800; letter-spacing: -0.02em;
	background: linear-gradient(135deg, #C9A96E 0%, #E8C98A 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hs-rtr-title--sm { font-size: 28px; margin-bottom: 12px; }
.hs-rtr-lead {
	font-size: 18px; line-height: 1.6; max-width: 700px; margin: 0 auto 28px;
	color: rgba(255,255,255,0.85);
}
.hs-rtr-features {
	list-style: none; padding: 0;
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 30px;
	max-width: 700px; margin: 0 auto 36px;
	text-align: left;
}
.hs-rtr-features li {
	position: relative; padding-left: 28px;
	color: rgba(255,255,255,0.9); font-size: 15px;
}
.hs-rtr-features li::before {
	content: '◈'; position: absolute; left: 0; top: 0;
	color: #C9A96E; font-size: 16px;
}
.hs-btn-primary--lg {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	text-align: center;
	padding: 16px 36px !important;
	font-size: 17px !important;
	box-shadow: 0 8px 32px rgba(1,59,148,0.22);
}

/* Sprint 5bu — RtR PRIMARY (vista ospite) reso CHIARO e leggibile (titolo era navy-su-navy). */
.hs-rtr-section--primary {
	background: #F5F5F5 !important;
	border-top: 1px solid #E5E7EB !important;
	border-bottom: 1px solid #E5E7EB !important;
	color: #25212F;
}
.hs-rtr-section--primary .hs-services-inner {
	background: #FFFFFF;
	border: 1px solid #E5E7EB;
	border-top: 4px solid #C9A96E;
	border-radius: 16px;
	box-shadow: 0 6px 28px rgba(0,0,0,.08);
	padding: 40px 36px;
}
.hs-rtr-section--primary .hs-eyebrow { color: #013B94 !important; }
.hs-rtr-section--primary .hs-rtr-title {
	color: #25212F !important;
	-webkit-text-fill-color: #25212F !important;
	background: none !important;
	-webkit-background-clip: initial !important;
	background-clip: initial !important;
}
.hs-rtr-section--primary .hs-rtr-lead { color: rgba(37,33,47,0.78) !important; }
.hs-rtr-section--primary .hs-rtr-features li { color: rgba(37,33,47,0.88) !important; }

/* Rent to Rent SECONDARY (membro Exal Pass: card laterale) */
.hs-rtr-section--secondary {
	padding: 40px 24px;
	background: #F5F5F5;
	border-top: 1px solid #E5E7EB;
	border-bottom: 1px solid #E5E7EB;
	color: #25212F;
}
.hs-rtr-secondary__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	flex-wrap: wrap;
	max-width: 1100px;
	margin: 0 auto;
	background: #FFFFFF;
	border: 1px solid #E5E7EB;
	border-left: 4px solid #C9A96E;
	border-radius: 14px;
	box-shadow: 0 4px 24px rgba(0,0,0,.07);
	padding: 28px 32px;
}
.hs-rtr-secondary__text { flex: 1 1 480px; }
.hs-rtr-section--secondary .hs-rtr-title {
	color: #25212F;
	background: none;
	-webkit-background-clip: initial;
	background-clip: initial;
}
.hs-rtr-section--secondary p {
	font-size: 15px;
	line-height: 1.55;
	color: rgba(37, 33, 47, 0.78);
	margin: 0;
}
.hs-rtr-section--secondary .hs-eyebrow { color: #013B94; }
.hs-rtr-section--secondary p strong { color: #8A6A2E; }
.hs-btn-secondary--gold {
	background: #C9A96E !important;
	color: #1A1A1A !important;
	border: none !important;
	font-weight: 700 !important;
}
.hs-btn-secondary--gold:hover {
	background: #E8C98A !important;
	color: #1A1A1A !important;
}

/* ─── Display 50/50 cash + crediti per membro Exal Pass ─── */
.hs-product-card__price--split .hs-price-amount {
	display: inline-flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
}
.hs-product-card__price--split .hs-price-plus {
	font-size: 18px;
	color: #C9A96E;
	font-weight: 600;
	margin: 0 2px;
}
.hs-product-card__price--split .hs-price-credits {
	color: #C9A96E;
	font-size: 22px;
	font-weight: 700;
}
/* Sprint 5an: gerarchia visiva card + respiro tra blocchi */
.hs-product-card__price-fallback {
	font-size: 13px;
	color: #25212F !important;
	margin-top: 14px;
	font-weight: 600;
	font-style: normal;
	letter-spacing: 0.01em;
	opacity: 0.78;
}
.hs-product-card--unatantum .hs-product-card__price-fallback {
	color: #25212F !important;
}

.hs-product-card__setup {
	margin-top: 20px !important;
	padding-top: 16px;
	border-top: 1px solid rgba(37, 33, 47, 0.10);
	font-size: 13px;
	color: #25212F;
	line-height: 1.5;
}
.hs-product-card__vat-note {
	margin-top: 10px !important;
	font-size: 11px;
	color: rgba(37, 33, 47, 0.55);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.hs-product-card__header {
	margin-bottom: 18px !important;
}
.hs-product-card__name {
	margin-bottom: 12px !important;
}
.hs-product-card__price {
	margin-bottom: 0 !important;
}
.hs-product-card__desc {
	padding-top: 6px;
}
.hs-product-card__features {
	margin-top: 4px !important;
	margin-bottom: 20px !important;
	padding-top: 14px;
	border-top: 1px solid rgba(37, 33, 47, 0.06);
}
.hs-product-card__credits {
	font-size: 12px;
	color: #C9A96E;
	margin-top: 8px;
	font-weight: 600;
}

/* Vista membro: emphasis sezione pacchetti */
.hs-services-page--member .hs-services-section:first-of-type {
	padding-top: 56px;
}

/* ══════════════════════════════════════════════════
 * Sprint 5ao — Single product page: full-width + pricing custom + related grid
 * ══════════════════════════════════════════════════ */
body.single-product .site-main, body.single-product main#main, body.single-product .page-content, body.single-product .entry-content { max-width: 100% !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }
body.single-product .product.type-product { max-width: 1100px !important; margin: 0 auto !important; padding: 40px 24px !important; display: block !important; }
body.single-product .product.type-product > .woocommerce-product-gallery, body.single-product .product.type-product .woocommerce-product-gallery { display: none !important; }
body.single-product .product.type-product > .summary, body.single-product .product.type-product .summary { width: 100% !important; float: none !important; margin: 0 !important; padding: 0 !important; display: grid !important; grid-template-columns: 1.1fr 1fr !important; gap: 20px 40px; align-items: start; }
body.single-product .summary > .price, body.single-product .product .summary p.price, body.single-product .summary .price, body.single-product div.product p.price { display: none !important; }
.hs-single-pricing { margin: 0 0 28px 0; padding: 24px; background: #F9F8F5; border: 1px solid rgba(37, 33, 47, 0.08); border-radius: 12px; }
.hs-single-pricing__main { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; font-size: 28px; font-weight: 700; color: #25212F; line-height: 1.15; }
.hs-single-pricing__main .hs-price-credits { color: #C9A96E; font-weight: 700; }
.hs-single-pricing__main .hs-price-plus { color: #C9A96E; font-weight: 600; margin: 0 4px; }
.hs-single-pricing__period { font-size: 15px; color: rgba(37, 33, 47, 0.55); font-weight: 500; margin-left: 4px; }
.hs-single-pricing__fallback { margin-top: 12px; font-size: 14px; color: #25212F; font-weight: 600; opacity: 0.78; }
.hs-single-pricing__setup { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(37, 33, 47, 0.10); font-size: 14px; color: #25212F; line-height: 1.5; }
.hs-single-pricing__vat { margin-top: 10px; font-size: 11px; color: rgba(37, 33, 47, 0.55); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; }
body.single-product .related.products, body.single-product section.up-sells, body.single-product .cross-sells { max-width: 1320px !important; margin: 60px auto !important; padding: 0 24px !important; width: 100% !important; clear: both; }
body.single-product .related.products > h2, body.single-product section.up-sells > h2 { font-size: clamp(1.4rem, 2.5vw, 2rem) !important; font-weight: 600 !important; margin-bottom: 32px !important; color: #25212F !important; }
body.single-product .related.products ul.products, body.single-product .related.products > .products, body.single-product section.up-sells ul.products { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important; gap: 24px !important; list-style: none !important; padding: 0 !important; margin: 0 !important; float: none !important; width: 100% !important; }
body.single-product .related.products ul.products li.product, body.single-product .related.products .products .product { width: 100% !important; margin: 0 !important; padding: 24px !important; float: none !important; background: #FFFFFF !important; border: 1px solid rgba(37, 33, 47, 0.08); border-radius: 12px; transition: all .2s ease; display: flex !important; flex-direction: column !important; }
body.single-product .related.products li.product:hover { border-color: #C9A96E !important; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
body.single-product .related.products li.product img { width: 100% !important; height: auto !important; margin-bottom: 16px !important; border-radius: 8px; }
body.single-product .related.products li.product .woocommerce-loop-product__title { font-size: 17px !important; font-weight: 600 !important; color: #25212F !important; margin: 0 0 12px 0 !important; padding: 0 !important; }
body.single-product .related.products li.product .price { color: #C9A96E !important; font-weight: 700 !important; font-size: 18px !important; margin: 0 0 16px 0 !important; }
body.single-product .related.products li.product .button { margin-top: auto !important; width: 100% !important; text-align: center !important; background: #25212F !important; color: #FFFFFF !important; padding: 10px 16px !important; border-radius: 8px !important; font-weight: 600 !important; font-size: 14px !important; }
body.single-product .related.products li.product .button:hover { background: #013B94 !important; }
@media (max-width: 768px) { body.single-product .product.type-product { grid-template-columns: 1fr !important; gap: 32px; padding: 32px 16px !important; } body.single-product .related.products { padding: 0 16px !important; margin: 40px auto !important; } }

/* Responsive RtR */
@media (max-width: 760px) {
	.hs-rtr-section { padding: 56px 20px; }
	.hs-rtr-title { font-size: 36px; }
	.hs-rtr-features { grid-template-columns: 1fr; gap: 12px; }
	.hs-rtr-secondary__inner { flex-direction: column; text-align: center; }
	.hs-rtr-secondary__text { flex: 1 1 100%; }
	.hs-rtr-section--primary .hs-services-inner { padding: 28px 20px; }
	.hs-rtr-section--primary .hs-btn-primary--lg,
	.hs-rtr-secondary__inner .hs-btn-secondary--gold {
		display: flex;
		width: 100%;
		box-sizing: border-box;
		font-size: 15px !important;
		padding: 14px 18px !important;
	}
}


/* Sprint 5ap: summary grid 2-col + breadcrumb + related hide */
body.single-product .summary > .exal-hs-banner { grid-column: 1 / -1; }
body.single-product .summary > .product_title { grid-column: 1; margin: 0 0 16px 0 !important; font-size: clamp(1.8rem, 3vw, 2.4rem); }
body.single-product .summary > .woocommerce-product-details__short-description { grid-column: 1; color: #25212F; font-size: 15px; line-height: 1.6; }
body.single-product .summary > .hs-single-pricing { grid-column: 2; margin: 0 !important; align-self: start; }
body.single-product .summary > form.cart, body.single-product .summary > .cart { grid-column: 2; margin-top: 16px !important; }
body.single-product .summary > .product_meta { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid rgba(37,33,47,0.10); font-size: 13px; color: rgba(37,33,47,0.65); }
/* Hide related fallback */
body.single-product .related.products, body.single-product section.up-sells, body.single-product .cross-sells { display: none !important; }
/* Breadcrumb position */
body.single-product .woocommerce-breadcrumb { max-width: 1100px !important; margin: 20px auto 0 !important; padding: 0 24px !important; font-size: 13px; color: rgba(37,33,47,0.55); }
/* Tabs */
body.single-product .woocommerce-tabs { max-width: 1100px !important; margin: 40px auto !important; padding: 0 24px !important; }
/* Responsive: 1-col su mobile */
@media (max-width: 768px) { body.single-product .product.type-product .summary { grid-template-columns: 1fr !important; } body.single-product .summary > .hs-single-pricing { grid-column: 1; grid-row: auto; } body.single-product .summary > form.cart { grid-column: 1; } }


/* ══════════════════════════════════════════════════
 * Sprint 5aq — single product: form add-to-cart leggibilità + spacing
 * ══════════════════════════════════════════════════ */
body.single-product form.cart { padding: 20px; background: #FFFFFF; border: 1px solid rgba(37,33,47,0.10); border-radius: 12px; }
body.single-product form.cart .variations { width: 100%; border: none; margin: 0 0 16px 0; }
body.single-product form.cart .variations tbody, body.single-product form.cart .variations tr { display: block; }
body.single-product form.cart .variations th, body.single-product form.cart .variations td { display: block; padding: 6px 0 !important; vertical-align: top; border: none !important; background: transparent !important; }
body.single-product form.cart .variations label, body.single-product form.cart label { color: #25212F !important; font-weight: 600 !important; font-size: 13px !important; text-transform: uppercase; letter-spacing: 0.06em; }
body.single-product form.cart select { color: #25212F !important; background: #FFFFFF !important; border: 1.5px solid rgba(37,33,47,0.18) !important; padding: 11px 14px !important; border-radius: 8px !important; font-size: 14px !important; width: 100% !important; cursor: pointer; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2325212F' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>") !important; background-repeat: no-repeat !important; background-position: right 12px center !important; padding-right: 36px !important; }
body.single-product form.cart select:focus { border-color: #013B94 !important; outline: none; box-shadow: 0 0 0 3px rgba(1,59,148,0.12); }
body.single-product form.cart .reset_variations { color: #25212F !important; font-size: 13px !important; text-decoration: underline; margin-left: 0; display: inline-block; margin-top: 6px; opacity: 0.7; }
body.single-product form.cart .reset_variations:hover { opacity: 1; }
body.single-product form.cart .single_variation_wrap { margin-top: 4px; }
body.single-product form.cart .quantity { display: inline-block; margin-right: 12px; }
body.single-product form.cart .quantity input.qty { color: #25212F !important; background: #FFFFFF !important; border: 1.5px solid rgba(37,33,47,0.18) !important; padding: 11px 12px !important; border-radius: 8px !important; font-size: 14px !important; width: 76px !important; text-align: center; height: auto !important; }
body.single-product form.cart .quantity input.qty:focus { border-color: #013B94 !important; outline: none; box-shadow: 0 0 0 3px rgba(1,59,148,0.12); }
body.single-product form.cart .woocommerce-variation-add-to-cart { display: flex !important; gap: 12px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
body.single-product form.cart .single_add_to_cart_button { background: #013B94 !important; color: #FFFFFF !important; padding: 12px 28px !important; border-radius: 8px !important; font-weight: 700 !important; font-size: 14px !important; border: none !important; cursor: pointer; letter-spacing: 0.02em; text-transform: none; transition: background .2s ease, transform .2s ease; }
body.single-product form.cart .single_add_to_cart_button:hover { background: #012C70 !important; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(1,59,148,0.25); }
body.single-product form.cart .single_add_to_cart_button.disabled, body.single-product form.cart .single_add_to_cart_button.wc-variation-selection-needed { opacity: 0.5; cursor: not-allowed; }
body.single-product form.cart .woocommerce-variation-price { display: none !important; }


/* ══════════════════════════════════════════════════
 * Sprint 5ar CSS — wrap sx/dx compatti, title+desc impilati naturalmente
 * ══════════════════════════════════════════════════ */
body.single-product .summary > .hs-summary-col-left { grid-column: 1; display: flex; flex-direction: column; gap: 14px; align-self: start; }
body.single-product .summary > .hs-summary-col-right { grid-column: 2; display: flex; flex-direction: column; gap: 16px; align-self: start; }
/* I children dei wrap perdono il grid-column hardcoded (sono dentro wrapper) */
body.single-product .hs-summary-col-left .product_title { margin: 0 !important; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.15; }
body.single-product .hs-summary-col-left .woocommerce-product-details__short-description { margin: 0 !important; padding: 0 !important; color: #25212F; font-size: 15px; line-height: 1.6; }
body.single-product .hs-summary-col-left .woocommerce-product-details__short-description p { margin: 0 !important; }
body.single-product .hs-summary-col-right .hs-single-pricing { margin: 0 !important; }
body.single-product .hs-summary-col-right form.cart { margin: 0 !important; }


/* ══════════════════════════════════════════════════
 * Sprint 5at — UX checkout/order-received/order-pay restyle + notice
 * ══════════════════════════════════════════════════ */
/* Container WC order: layout coordinato come /servizi/ */
body.woocommerce-order-received .site-main,
body.woocommerce-checkout .site-main { max-width: 100% !important; padding: 0 !important; }
body.woocommerce-order-received .woocommerce-order,
body.woocommerce-checkout .woocommerce { max-width: 1100px !important; margin: 40px auto !important; padding: 0 24px !important; }

/* Notice prominente pagamento pending */
.hs-pending-notice {
	display: flex; gap: 20px; align-items: flex-start;
	background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
	border: 1px solid rgba(146, 64, 14, 0.2);
	border-left: 6px solid #D97706;
	border-radius: 12px; padding: 24px 28px;
	margin: 0 0 32px 0;
	color: #1f2937;
}
.hs-pending-notice__icon { font-size: 32px; line-height: 1; flex-shrink: 0; color: #D97706; }
.hs-pending-notice__body { flex: 1; }
.hs-pending-notice__title { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; margin: 0 0 8px 0; color: #25212F; }
.hs-pending-notice__text { font-size: 15px; line-height: 1.6; margin: 0 0 16px 0; color: #25212F; }
.hs-pending-notice__text strong { color: #D97706; }
.hs-pending-notice__cta {
	display: inline-block; background: #013B94; color: #FFFFFF !important;
	padding: 12px 24px; border-radius: 8px;
	font-weight: 700; font-size: 15px; text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(1,59,148,0.25); transition: all .2s ease;
}
.hs-pending-notice__cta:hover { background: #012C70; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(1,59,148,0.35); }
.hs-pending-notice__steps { list-style: none; padding: 0; margin: 16px 0 0 0; display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; }
.hs-pending-notice__steps li { color: rgba(37,33,47,0.78); }
.hs-pending-notice__steps strong { color: #013B94; font-weight: 700; margin-right: 4px; }
@media (max-width: 600px) {
	.hs-pending-notice { flex-direction: column; gap: 12px; padding: 20px; }
	.hs-pending-notice__steps { flex-direction: column; gap: 8px; }
}

/* Order info bar (numero/data/email/totale/metodo) */
body.woocommerce-order-received .woocommerce-order-overview {
	list-style: none; padding: 24px; margin: 0 0 28px 0;
	background: #FFFFFF; border: 1px solid rgba(37,33,47,0.10); border-radius: 12px;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px;
}
body.woocommerce-order-received .woocommerce-order-overview li {
	border: none !important; padding: 0 !important; margin: 0 !important;
	flex: 0 !important; font-size: 13px; color: rgba(37,33,47,0.55);
	text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600;
}
body.woocommerce-order-received .woocommerce-order-overview li strong {
	display: block; margin-top: 6px; font-size: 16px; color: #25212F;
	text-transform: none; letter-spacing: 0; font-weight: 700;
}

/* Order details table */
body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-checkout .woocommerce-order-details { margin-bottom: 32px; }
body.woocommerce-order-received .woocommerce-order-details > h2,
body.woocommerce-checkout .woocommerce-order-details > h2 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; margin-bottom: 16px; color: #25212F; }
.shop_table.order_details,
body.woocommerce-order-received .shop_table,
body.woocommerce-checkout .shop_table {
	width: 100% !important; border: 1px solid rgba(37,33,47,0.10) !important;
	border-radius: 12px !important; overflow: hidden; border-collapse: separate !important;
	border-spacing: 0 !important; background: #FFFFFF;
}
.shop_table.order_details thead th,
body.woocommerce-order-received .shop_table thead th {
	background: #F9F8F5 !important; padding: 14px 20px !important;
	font-size: 12px !important; text-transform: uppercase !important;
	letter-spacing: 0.08em !important; color: rgba(37,33,47,0.65) !important;
	font-weight: 600 !important; border-bottom: 1px solid rgba(37,33,47,0.10) !important;
}
.shop_table.order_details tbody td,
body.woocommerce-order-received .shop_table tbody td {
	padding: 16px 20px !important; color: #25212F !important; font-size: 14px !important;
	border-bottom: 1px solid rgba(37,33,47,0.06) !important; vertical-align: top;
}
.shop_table.order_details tbody tr:last-child td { border-bottom: none !important; }
.shop_table.order_details tfoot th,
.shop_table.order_details tfoot td,
body.woocommerce-order-received .shop_table tfoot th,
body.woocommerce-order-received .shop_table tfoot td {
	padding: 14px 20px !important; font-size: 14px !important; color: #25212F !important;
	border-top: 1px solid rgba(37,33,47,0.10) !important; background: #FAFAFA !important;
}
.shop_table.order_details tfoot tr:last-child th,
.shop_table.order_details tfoot tr:last-child td { font-size: 16px !important; font-weight: 700 !important; color: #25212F !important; }

/* Addresses block */
.woocommerce-customer-details { margin-top: 32px; }
.woocommerce-customer-details > h2 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; margin-bottom: 16px; color: #25212F; }
.woocommerce-columns--addresses,
.addresses { display: grid !important; grid-template-columns: 1fr 1fr; gap: 20px; }
.woocommerce-columns--addresses .col-1,
.woocommerce-columns--addresses .col-2,
.addresses .col-1,
.addresses .col-2 {
	width: 100% !important; padding: 20px !important; margin: 0 !important;
	background: #FFFFFF; border: 1px solid rgba(37,33,47,0.10); border-radius: 12px;
}
.woocommerce-columns--addresses h2,
.addresses h2 {
	font-size: 13px !important; text-transform: uppercase !important;
	letter-spacing: 0.08em !important; color: rgba(37,33,47,0.65) !important;
	font-weight: 600 !important; margin: 0 0 12px 0 !important;
}
.woocommerce-customer-details address { font-style: normal; color: #25212F; line-height: 1.6; font-size: 14px; border: none !important; padding: 0 !important; }
@media (max-width: 640px) {
	.woocommerce-columns--addresses, .addresses { grid-template-columns: 1fr !important; }
	body.woocommerce-order-received .woocommerce-order-overview { grid-template-columns: 1fr 1fr; }
}

/* Order again / actions buttons */
.woocommerce-table--order-details .pay,
.woocommerce-order-overview .order-actions a,
.woocommerce-MyAccount-orders-table .pay,
ul.order_details .action a.button.pay,
.shop_table .actions a.pay,
.shop_table .actions a.button {
	display: inline-block !important; background: #013B94 !important; color: #FFFFFF !important;
	padding: 10px 20px !important; border-radius: 8px !important;
	font-weight: 600 !important; font-size: 14px !important; text-decoration: none !important;
	margin: 2px !important;
}
.shop_table .actions a.cancel,
ul.order_details .action a.button.cancel { background: transparent !important; color: rgba(37,33,47,0.65) !important; border: 1px solid rgba(37,33,47,0.18) !important; }


/* ══════════════════════════════════════════════════
 * Sprint 5au — Bootstrap-style alert + overview cards allineate
 * ══════════════════════════════════════════════════ */

/* Notice Bootstrap alert-warning style (override Sprint 5at) */
.hs-pending-notice {
	position: relative;
	display: flex; gap: 18px; align-items: flex-start;
	background: #FFF7E6;
	border: 1px solid #F59E0B;
	border-left: 4px solid #D97706;
	border-radius: 8px;
	padding: 20px 24px;
	margin: 0 0 28px 0;
	color: #78350F;
	box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.hs-pending-notice__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px;
	background: rgba(217, 119, 6, 0.12);
	color: #D97706;
	border-radius: 50%;
	flex-shrink: 0;
	margin-top: 2px;
}
.hs-pending-notice__icon svg { display: block; }
.hs-pending-notice__icon img.emoji { display: none !important; } /* nasconde fallback emoji se SVG manca */
.hs-pending-notice__body { flex: 1; }
.hs-pending-notice__title {
	font-size: 17px; font-weight: 700;
	margin: 0 0 6px 0; color: #78350F;
	letter-spacing: -0.005em;
}
.hs-pending-notice__text {
	font-size: 14.5px; line-height: 1.55;
	margin: 0 0 16px 0; color: #92400E;
}
.hs-pending-notice__text strong { color: #78350F; font-weight: 600; }
.hs-pending-notice__cta {
	display: inline-flex; align-items: center; gap: 6px;
	background: #013B94; color: #FFFFFF !important;
	padding: 10px 20px;
	border-radius: 6px;
	font-weight: 600; font-size: 14px;
	text-decoration: none !important;
	line-height: 1;
	transition: background .15s ease;
	box-shadow: none;
}
.hs-pending-notice__cta:hover { background: #012C70; transform: none; box-shadow: 0 2px 6px rgba(1,59,148,0.25); }
.hs-pending-notice__steps {
	list-style: none; padding: 0;
	margin: 14px 0 0 0;
	display: flex; gap: 16px; flex-wrap: wrap;
	font-size: 13px;
}
.hs-pending-notice__steps li {
	color: #92400E;
	display: inline-flex; align-items: center; gap: 6px;
}
.hs-pending-notice__steps strong {
	display: inline-flex; align-items: center; justify-content: center;
	width: 20px; height: 20px;
	background: #D97706; color: #FFFFFF;
	border-radius: 50%;
	font-size: 11px; font-weight: 700;
	margin-right: 2px;
}
@media (max-width: 600px) {
	.hs-pending-notice { flex-direction: row; padding: 16px 18px; }
	.hs-pending-notice__icon { width: 36px; height: 36px; }
	.hs-pending-notice__icon svg { width: 22px; height: 22px; }
	.hs-pending-notice__steps { flex-direction: column; gap: 6px; }
}

/* Overview cards: griglia uniforme, label/value perfetti */
body.woocommerce-order-received .woocommerce-order-overview {
	list-style: none !important; padding: 0 !important; margin: 0 0 28px 0 !important;
	background: transparent !important; border: none !important; border-radius: 0 !important;
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important; grid-auto-rows: 1fr;
	gap: 12px !important;
}
body.woocommerce-order-received .woocommerce-order-overview li {
	background: #FFFFFF !important;
	border: 1px solid #E5E7EB !important;
	border-radius: 8px !important;
	padding: 14px 16px !important;
	margin: 0 !important; border-bottom: 1px solid #E5E7EB !important;
	font-size: 11px !important;
	color: #6B7280 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.06em !important;
	font-weight: 600 !important;
	display: flex !important; flex-direction: column !important;
	gap: 6px;
	word-break: break-word;
	min-width: 0;
}
body.woocommerce-order-received .woocommerce-order-overview li strong {
	display: block !important;
	margin-top: 0 !important;
	font-size: 15px !important;
	color: #111827 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-weight: 700 !important;
	line-height: 1.3;
}
body.woocommerce-order-received .woocommerce-order-overview .total strong {
	color: #013B94 !important;
}
body.woocommerce-order-received .woocommerce-order-overview .woocommerce-Price-amount {
	color: inherit !important;
}
@media (max-width: 640px) {
	body.woocommerce-order-received .woocommerce-order-overview {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}
/* Sprint 5av: WC ::before/::after (clearfix) occupano celle della grid → disable */
body.woocommerce-order-received .woocommerce-order-overview::before,
body.woocommerce-order-received .woocommerce-order-overview::after { content: none !important; display: none !important; }
