/* Benessere Casa – Offerte. Usa i token del tema, con valori di riserva. */

.bco { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.bco--pagine { padding-top: 0; }
.bco__head { margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.bco__title { font-size: var(--bc-fs-h2, 2.4rem); margin: 0; }

.bco__track {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	border-radius: var(--bc-r-lg, 32px);
}
.bco__track::-webkit-scrollbar { display: none; }

.bco__slide {
	flex: 0 0 100%;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	display: flex;
	flex-direction: column;
	background: var(--bc-surface, #fff);
	border: 1px solid var(--bc-line, #dde5d7);
	border-radius: var(--bc-r-lg, 32px);
	overflow: hidden;
}

.bco__media { display: block; background: var(--bc-tint, #ecf2e6); }
.bco__media picture, .bco__img { display: block; width: 100%; height: auto; }

.bco__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	padding: clamp(1rem, 2.2vw, 1.5rem) clamp(1.1rem, 2.6vw, 2rem);
	margin-top: auto;
}
.bco__name { font-size: var(--bc-fs-h3, 1.25rem); margin: 0; }
.bco__period {
	display: flex;
	align-items: center;
	gap: .4em;
	margin: .3rem 0 0;
	font-size: var(--bc-fs-sm, .875rem);
	color: var(--bc-ink-2, #46544c);
}
.bco__period .bc-icon { width: 1.1em; height: 1.1em; color: var(--bc-green, #1f7a3e); }
.bco__actions { display: flex; flex-wrap: wrap; gap: .6rem; }

.bco__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: 1.25rem;
}
.bco__arrow {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--bc-line, #dde5d7);
	border-radius: 50%;
	background: var(--bc-surface, #fff);
	color: var(--bc-ink, #12211a);
	cursor: pointer;
	transition: border-color .2s, color .2s;
}
.bco__arrow:hover { border-color: var(--bc-green, #1f7a3e); color: var(--bc-green, #1f7a3e); }
.bco__arrow--prev .bc-icon { transform: scaleX(-1); }
.bco__arrow .bc-icon { width: 1.15em; height: 1.15em; }

.bco__dots { display: flex; gap: .25rem; }
/* Area di tocco 24px, punto visibile 8px. */
.bco__dot {
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	display: grid;
	place-items: center;
}
.bco__dot::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: var(--bc-line, #dde5d7);
	transition: width .3s var(--bc-ease, ease), background-color .3s;
}
.bco__dot[aria-current="true"]::before { width: 22px; background: var(--bc-green, #1f7a3e); }

@media (max-width: 640px) {
	.bco__bar { flex-direction: column; align-items: stretch; }
	/* Affiancati se ci stanno, uno sotto l'altro sui telefoni più stretti. */
	.bco__actions .bc-btn { flex: 1 1 8.5rem; justify-content: center; }
	.bco__phone { display: none; }
}
@media (prefers-reduced-motion: reduce) { .bco__track { scroll-behavior: auto; } }
