/**
 * Smoking Aces — Hero widget styles
 * Estratti 1:1 dal prototipo HTML (Hero.dc.html).
 * Le CSS custom properties sono impostate inline dal render() del widget
 * per permettere modifiche live da Elementor senza ricompilare il CSS.
 */

.sma-hero-wrap {
	font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
	color: #1C1A16;
	-webkit-font-smoothing: antialiased;
}
.sma-hero-wrap *,
.sma-hero-wrap *::before,
.sma-hero-wrap *::after { box-sizing: border-box; }

.sma-hero {
	width: 100%;
	position: relative;
	overflow: hidden;
	padding: clamp(32px, 5.5vw, 88px) clamp(24px, 5vw, 80px) clamp(28px, 4vw, 56px);
	background:
		var(--sma-hero-bg-image, none) no-repeat right center / auto 100%,
		linear-gradient(var(--sma-hero-gradient-angle, 90deg),
			var(--sma-hero-gradient-start, #E0DCDD) 0%,
			var(--sma-hero-gradient-end,   #C1AA9C) 100%);
}

.sma-hero__inner {
	max-width: var(--sma-hero-max, 1600px);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: clamp(40px, 6vw, 88px);
}

/* mobile-only inline image; hidden on tablet+ where the vape is a background */
.sma-hero__mobile-img { display: none; }

.sma-hero__copy {
	max-width: 640px;
	min-width: 0;
	position: relative;
	z-index: 2;
}

.sma-hero__eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: clamp(20px, 2.6vw, 36px);
	font-size: clamp(11px, 0.85vw, 13px);
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--sma-text, #1C1A16);
}
.sma-hero__eyebrow .dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: currentColor;
	display: inline-block;
	flex: none;
}

.sma-hero__headline {
	font-family: 'Manrope', sans-serif;
	font-weight: 800;
	font-size: clamp(38px, 5.4vw, var(--sma-hero-h1, 76px));
	line-height: 1.02;
	letter-spacing: -0.025em;
	margin: 0 0 clamp(18px, 2vw, 28px);
	color: var(--sma-text, #1C1A16);
	text-wrap: balance;
}
.sma-hero__headline .sma-accent { color: var(--sma-accent, #E6FD56); }
.sma-hero__brk { display: inline; }

.sma-hero__body {
	font-size: clamp(15px, 1.1vw, 17px);
	line-height: 1.55;
	font-weight: 400;
	color: var(--sma-text, #1C1A16);
	max-width: 480px;
	margin: 0 0 clamp(24px, 3vw, 40px);
	text-wrap: pretty;
}

.sma-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.sma-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-weight: 600;
	font-size: clamp(14px, 1vw, 15px);
	padding: clamp(13px, 1.1vw, 16px) clamp(20px, 1.8vw, 26px);
	border-radius: 999px;
	line-height: 1;
	border: 1px solid var(--sma-text, #1C1A16);
	color: var(--sma-text, #1C1A16);
	text-decoration: none;
	transition: transform .15s ease, background-color .15s ease, opacity .15s ease;
}
.sma-btn--primary   { background: var(--sma-accent, #E6FD56); }
.sma-btn--primary:hover   { transform: translateY(-1px); }
.sma-btn--secondary { background: transparent; }
.sma-btn--secondary:hover { background: rgba(28, 26, 22, .06); }
.sma-btn svg { width: 18px; height: 18px; }

.sma-hero__features {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(10px, 1vw, 16px);
	width: 100%;
	position: relative;
	z-index: 2;
}
.sma-feature {
	display: flex;
	align-items: center;
	gap: 14px;
	background: var(--sma-feature-bg, #FFFFFF);
	border-radius: 16px;
	padding: clamp(12px, 1.2vw, 16px) clamp(16px, 1.5vw, 20px);
	min-width: 0;
}
.sma-feature__icon {
	flex: none;
	width: 40px; height: 40px;
	border-radius: 50%;
	background: var(--sma-feature-icon-bg, #E6FD56);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #1C1A16;
}
.sma-feature__icon svg,
.sma-feature__icon i { width: 20px; height: 20px; font-size: 20px; line-height: 1; }
.sma-feature__icon img { width: 20px; height: 20px; object-fit: contain; }
.sma-feature__text {
	font-size: clamp(13px, 0.9vw, 14px);
	line-height: 1.4;
	color: var(--sma-text, #1C1A16);
}
.sma-feature__text strong { font-weight: 700; }

/* MOBILE — bg image drops out, vape stacks inline */
@media (max-width: 699px) {
	.sma-hero {
		background:
			linear-gradient(var(--sma-hero-gradient-angle, 90deg),
				var(--sma-hero-gradient-start, #E0DCDD) 0%,
				var(--sma-hero-gradient-end,   #C1AA9C) 100%) !important;
	}
	.sma-hero__mobile-img {
		display: flex;
		align-items: center;
		justify-content: center;
		height: clamp(280px, 65vw, 440px);
	}
	.sma-hero__mobile-img img {
		max-width: 100%;
		max-height: 100%;
		object-fit: contain;
	}
	.sma-hero__copy    { max-width: none; }
	.sma-hero__features { grid-template-columns: 1fr; }
	.sma-hero__brk     { display: inline; }
}

/* TABLET */
@media (min-width: 700px) and (max-width: 1199px) {
	.sma-hero__copy    { max-width: 58%; }
	.sma-hero__features { grid-template-columns: 1fr 1fr; }
}

/* DESKTOP */
@media (min-width: 900px) {
	.sma-hero__brk { display: block; }
}
@media (min-width: 1200px) {
	.sma-hero__copy    { max-width: 52%; }
	.sma-hero__features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
