/* ============================================================
   ITAL TOOLS × SCM — Landing page spare parts  (native-scm-page.css)
   Palette: gold #E8A800 · ink #1a1a1a · cream #f7f6f2 · DM Sans
   ============================================================ */

.itscp-wrap {
	font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: #1a1a1a;
}
.itscp-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 32px;
}

/* ── HERO ────────────────────────────────────────────────────── */
.itscp-hero {
	background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 60%, #111 100%);
	padding: 80px 0 72px;
	position: relative;
	/* overflow-x: clip contiene il glow decorativo (niente scroll orizzontale) MA
	   lascia visibile l'asse Y: con "overflow: hidden" il dropdown della live
	   search veniva tagliato al bordo inferiore dell'hero.
	   z-index: il dropdown deve stare sopra le sezioni bianche successive. */
	overflow-x: clip;
	overflow-y: visible;
	z-index: 5;
}
.itscp-hero-dot {
	position: absolute; inset: 0;
	background-image: radial-gradient(circle, rgba(232,168,0,.04) 1px, transparent 1px);
	background-size: 40px 40px;
	pointer-events: none;
}
.itscp-hero-glow {
	position: absolute; right: 8%; top: 50%;
	transform: translateY(-50%);
	width: 480px; height: 480px;
	background: radial-gradient(circle, rgba(232,168,0,.07), transparent 70%);
	pointer-events: none;
}
.itscp-hero-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px; align-items: center;
	position: relative; z-index: 1;
}

/* Partnership badge */
.itscp-badge {
	display: inline-flex; align-items: center; gap: 10px;
	border: 1px solid rgba(232,168,0,.35); border-radius: 24px;
	padding: 6px 16px 6px 6px; margin-bottom: 28px;
}
.itscp-badge-logos {
	display: flex; align-items: center; gap: 6px;
	background: rgba(255,255,255,.06); border-radius: 18px; padding: 4px 10px;
}
.itscp-badge-logos span { font-size: 11px; font-weight: 800; color: #E8A800; letter-spacing: .5px; }
.itscp-badge-logos .itscp-badge-x { color: #555; font-weight: 400; }
.itscp-badge-text { font-size: 11px; font-weight: 600; color: #888; letter-spacing: .5px; text-transform: uppercase; }

.itscp-hero-title {
	font-size: 54px; font-weight: 800;
	line-height: 1.06; letter-spacing: -2px;
	color: #fff; margin: 0 0 16px;
}
.itscp-hero-title span { color: #E8A800; }
.itscp-hero-desc { font-size: 17px; color: #999; line-height: 1.6; max-width: 480px; margin: 0 0 36px; }

.itscp-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }
.itscp-btn-primary {
	display: inline-flex; align-items: center; gap: 9px;
	background: #E8A800; color: #1a1a1a;
	text-decoration: none; font-size: 15px; font-weight: 700;
	padding: 15px 28px; border-radius: 7px; transition: background .2s;
}
.itscp-btn-primary:hover { background: #d49700; color: #1a1a1a; }
.itscp-btn-secondary {
	display: inline-flex; align-items: center; gap: 9px;
	background: rgba(255,255,255,.07); color: #ccc;
	text-decoration: none; font-size: 15px; font-weight: 600;
	padding: 15px 24px; border-radius: 7px;
	border: 1px solid rgba(255,255,255,.12); transition: background .2s, color .2s;
}
.itscp-btn-secondary:hover { background: rgba(255,255,255,.12); color: #fff; }

.itscp-hero-stats {
	display: flex; align-items: center; flex-wrap: nowrap;
	padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08);
}
.itscp-hero-stat { padding-right: 20px; }
.itscp-hero-stat-val { font-size: 28px; font-weight: 800; color: #E8A800; letter-spacing: -1px; line-height: 1; }
.itscp-hero-stat-lbl { font-size: 12px; color: #666; margin-top: 3px; }
.itscp-hero-sep { width: 1px; height: 32px; background: rgba(255,255,255,.1); margin-right: 20px; }

/* Visual lato destro */
.itscp-hero-visual {
	display: flex; align-items: center; justify-content: center;
	position: relative;
}
.itscp-hero-card {
	background: #1e1e1e; border: 1px solid #2e2e2e;
	border-radius: 14px; padding: 28px 24px;
	width: 100%; max-width: 380px;
	box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.itscp-hero-card-head {
	display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
	padding-bottom: 16px; border-bottom: 1px solid #2a2a2a;
}
.itscp-hero-card-ico {
	width: 44px; height: 44px; background: rgba(232,168,0,.1);
	border: 1px solid rgba(232,168,0,.25); border-radius: 10px;
	display: flex; align-items: center; justify-content: center; color: #E8A800;
}
.itscp-hero-card-label { font-size: 14px; font-weight: 700; color: #fff; }
.itscp-hero-card-sub   { font-size: 12px; color: #666; margin-top: 2px; }
.itscp-hero-card-rows  { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.itscp-hero-card-row {
	display: flex; align-items: center; gap: 10px;
	background: #262626; border-radius: 8px; padding: 10px 14px;
}
.itscp-hero-card-row-ico {
	width: 32px; height: 32px; background: #2e2e2e;
	border-radius: 6px; display: flex; align-items: center; justify-content: center;
	color: #E8A800; flex-shrink: 0;
}
.itscp-hero-card-row-name { font-size: 13px; font-weight: 600; color: #ccc; flex: 1; }
.itscp-hero-card-row-tag {
	font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 12px;
}
.itscp-hero-card-row-tag--green { background: rgba(37,211,102,.15); color: #25D366; }
.itscp-hero-card-row-tag--gold  { background: rgba(232,168,0,.15); color: #E8A800; }
.itscp-hero-card-cta {
	display: flex; align-items: center; justify-content: center;
	gap: 8px; background: #E8A800; color: #1a1a1a;
	font-size: 13px; font-weight: 700; border-radius: 7px;
	padding: 12px 16px; text-decoration: none; transition: background .2s;
}
.itscp-hero-card-cta:hover { background: #d49700; color: #1a1a1a; }

/* ── BREADCRUMB ──────────────────────────────────────────────── */
.itscp-bc { background: #f7f6f2; border-bottom: 1px solid #ece9e2; padding: 10px 0; }
.itscp-bc .woocommerce-breadcrumb { font-size: 12px; color: #888; margin: 0; }
.itscp-bc .woocommerce-breadcrumb a { color: #888; text-decoration: none; }
.itscp-bc .woocommerce-breadcrumb a:hover { color: #E8A800; }

/* ── VALUE PROPS (barra) ─────────────────────────────────────── */
.itscp-props { background: #fff; border-top: 1px solid #ece9e2; border-bottom: 1px solid #ece9e2; }
.itscp-props-grid {
	display: grid; grid-template-columns: repeat(4, 1fr);
}
.itscp-prop-col {
	padding: 28px 28px; border-right: 1px solid #ece9e2;
	display: flex; align-items: flex-start; gap: 14px;
	transition: background .2s;
}
.itscp-prop-col:last-child { border-right: none; }
.itscp-prop-col:hover { background: #fffbef; }
.itscp-prop-ico {
	width: 40px; height: 40px; flex-shrink: 0;
	background: #fff8e6; border-radius: 8px;
	display: flex; align-items: center; justify-content: center; color: #E8A800;
}
.itscp-prop-title { font-size: 14px; font-weight: 700; color: #1a1a1a; margin-bottom: 4px; }
.itscp-prop-text  { font-size: 12px; color: #888; line-height: 1.5; margin: 0; }

/* ── HOW IT WORKS ────────────────────────────────────────────── */
.itscp-how { background: #f7f6f2; padding: 72px 0; }
.itscp-section-head { text-align: center; margin-bottom: 52px; }
.itscp-eyebrow {
	display: inline-block;
	font-size: 11px; font-weight: 700;
	text-transform: uppercase; letter-spacing: 2px;
	color: #E8A800; margin-bottom: 12px;
}
.itscp-section-title { font-size: 32px; font-weight: 800; letter-spacing: -.8px; color: #1a1a1a; margin: 0 0 10px; }
.itscp-section-sub   { font-size: 15px; color: #888; margin: 0; }

.itscp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.itscp-step {
	background: #fff; border: 1px solid #ece9e2;
	border-radius: 12px; padding: 32px 28px;
	position: relative; overflow: hidden;
}
.itscp-step::before {
	content: attr(data-step);
	position: absolute; top: 16px; right: 20px;
	font-size: 60px; font-weight: 900; line-height: 1;
	color: rgba(232,168,0,.07); letter-spacing: -3px;
}
.itscp-step-ico {
	width: 52px; height: 52px;
	background: #fff8e6; border-radius: 10px;
	display: flex; align-items: center; justify-content: center;
	color: #E8A800; margin-bottom: 20px;
}
.itscp-step-num {
	font-size: 10px; font-weight: 700; text-transform: uppercase;
	letter-spacing: 1.5px; color: #E8A800; margin-bottom: 8px;
}
.itscp-step h3 { font-size: 17px; font-weight: 700; color: #1a1a1a; margin: 0 0 10px; }
.itscp-step p  { font-size: 13px; color: #888; line-height: 1.65; margin: 0; }

/* ── BROWSE CTA ──────────────────────────────────────────────── */
.itscp-browse { background: #1a1a1a; border-top: 3px solid #E8A800; padding: 60px 0; }
.itscp-browse-inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 40px; flex-wrap: wrap;
}
.itscp-browse-left { flex: 1; min-width: 0; }
.itscp-browse-eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #E8A800; margin-bottom: 12px; }
.itscp-browse-title { font-size: 30px; font-weight: 800; letter-spacing: -.8px; color: #fff; margin: 0 0 10px; }
.itscp-browse-sub { font-size: 15px; color: #666; margin: 0; }
.itscp-browse-btns { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.itscp-browse-btn-main {
	display: inline-flex; align-items: center; gap: 9px;
	background: #E8A800; color: #1a1a1a;
	text-decoration: none; font-size: 15px; font-weight: 700;
	padding: 14px 28px; border-radius: 7px; transition: background .2s; white-space: nowrap;
}
.itscp-browse-btn-main:hover { background: #d49700; color: #1a1a1a; }
.itscp-browse-btn-wa {
	display: inline-flex; align-items: center; gap: 9px;
	background: transparent; color: #25D366;
	text-decoration: none; font-size: 15px; font-weight: 600;
	padding: 14px 22px; border-radius: 7px;
	border: 1.5px solid #25D366; transition: background .2s; white-space: nowrap;
}
.itscp-browse-btn-wa:hover { background: rgba(37,211,102,.1); color: #25D366; }

/* ── GUARANTEES ──────────────────────────────────────────────── */
.itscp-guarantees { background: #fff; padding: 72px 0; border-top: 1px solid #ece9e2; }
.itscp-guarantees-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.itscp-guarantee-card {
	background: #f7f6f2; border: 1px solid #ece9e2;
	border-radius: 10px; padding: 28px 22px;
	display: flex; flex-direction: column; gap: 14px;
}
.itscp-guarantee-ico {
	width: 48px; height: 48px;
	background: #fff8e6; border-radius: 9px;
	display: flex; align-items: center; justify-content: center; color: #E8A800;
}
.itscp-guarantee-card h3 { font-size: 15px; font-weight: 700; color: #1a1a1a; margin: 0; }
.itscp-guarantee-card p  { font-size: 13px; color: #666; line-height: 1.65; margin: 0; }

/* ── SCM LIVE SEARCH BAR ──────────────────────────────────────── */
.itscp-hero-ctas--with-search {
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}
/* Il search-wrap occupa tutta la larghezza del testo hero.
   align-self: stretch perché il contenitore è flex-column con align-items:flex-start,
   che altrimenti restringerebbe il wrap al contenuto. */
.itscp-search-wrap {
	width: 100%;
	align-self: stretch;
	/* Sopra le sezioni successive: il dropdown è posizionato rispetto a questo wrap. */
	position: relative;
	z-index: 30;
}

.itscp-searchbar {
	display: flex; align-items: center; width: 100%; box-sizing: border-box;
	background: #fff; border-radius: 8px; overflow: hidden;
	box-shadow: 0 4px 28px rgba(0,0,0,.45);
	border: 2px solid transparent; transition: border-color .2s;
}
.itscp-searchbar:focus-within { border-color: #E8A800; }
.itscp-searchbar-ico { flex: none; color: #aaa; padding: 0 12px 0 18px; }

/* width:100% + min-width:0 servono a battere le regole width/size di GeneratePress
   sugli input: senza, il campo non riempiva tutta la barra bianca. */
.itscp-searchbar input[type="search"] {
	flex: 1 1 auto; width: 100%; min-width: 0;
	border: none; outline: none; background: transparent;
	font-size: 15px; color: #1a1a1a; padding: 13px 16px 13px 8px;
	font-family: 'DM Sans', -apple-system, sans-serif;
	-webkit-appearance: none; appearance: none;
	box-shadow: none; margin: 0;
}
.itscp-searchbar input[type="search"]::placeholder { color: #aaa; }
.itscp-searchbar input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

/* Spinner ring visibile a destra durante il fetch */
.itscp-searchbar .itt-search-spinner {
	display: none; flex: none;
	width: 15px; height: 15px;
	border: 2px solid rgba(232,168,0,.25);
	border-top-color: #E8A800;
	border-radius: 50%; margin-right: 14px;
}

/* Dropdown full-width sotto la search bar SCM */
.itscp-search-wrap .itt-search-dropdown {
	width: 100%; left: 0; right: 0;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.itscp-hero-inner { grid-template-columns: 1fr; }
	.itscp-hero-visual { display: none; }
	.itscp-hero-title { font-size: 44px; }
	.itscp-props-grid { grid-template-columns: repeat(2, 1fr); }
	.itscp-prop-col:nth-child(2) { border-right: none; }
	.itscp-prop-col:nth-child(3) { border-top: 1px solid #ece9e2; }
	.itscp-prop-col:nth-child(4) { border-right: none; border-top: 1px solid #ece9e2; }
	.itscp-guarantees-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
	.itscp-steps { grid-template-columns: 1fr; }
	.itscp-browse-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
	.itscp-inner { padding: 0 20px; }
	.itscp-hero  { padding: 56px 0 52px; }
	.itscp-hero-title { font-size: 34px; letter-spacing: -1.2px; }
	.itscp-hero-sep { display: none; }
	.itscp-hero-stat { padding-right: 20px; padding-bottom: 10px; }
	.itscp-props-grid { grid-template-columns: 1fr; }
	.itscp-prop-col { border-right: none; border-top: 1px solid #ece9e2; }
	.itscp-prop-col:first-child { border-top: none; }
	.itscp-how, .itscp-guarantees { padding: 52px 0; }
	.itscp-section-title { font-size: 26px; }
	.itscp-guarantees-grid { grid-template-columns: 1fr; }
	.itscp-browse { padding: 48px 0; }
	.itscp-browse-title { font-size: 24px; }
}
