/* 
   EMETA - Light-First Premium Design System & Stylesheet
   Created for emeta.it (2026 Rebuild)
*/

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

/* Quicksand Local Fonts */
@font-face {
  font-family: 'Quicksand';
  src: url('Quicksand/Quicksand-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Quicksand';
  src: url('Quicksand/static/Quicksand-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Quicksand';
  src: url('Quicksand/static/Quicksand-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Quicksand';
  src: url('Quicksand/static/Quicksand-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Quicksand';
  src: url('Quicksand/static/Quicksand-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Quicksand';
  src: url('Quicksand/Quicksand-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Premium Light Theme Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --accent: #2563eb;
  --accent-rgb: 37, 99, 235;
  --accent-gradient: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --accent-glow: rgba(37, 99, 235, 0.1);
  
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  
  --border-color: #e2e8f0;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(226, 232, 240, 0.8);
  
  /* Fonts - Quicksand requested */
  --font-title: 'Quicksand', sans-serif;
  --font-body: 'Quicksand', sans-serif;
  --font-mono: monospace;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 2px 10px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

button, input, select, textarea {
  font-family: inherit;
}

body:not(.splash-body) {
  padding-top: 254px; /* Account for enlarged double-row header */
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 8rem 0;
  position: relative;
  z-index: 1;
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(0, 0, 0, 0.03) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: -1;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }


/* Header & Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

header.scrolled {
  box-shadow: 0 10px 30px rgba(10, 30, 80, 0.28) !important;
  background: linear-gradient(135deg, rgba(16, 46, 115, 0.95) 0%, rgba(28, 72, 162, 0.95) 50%, rgba(14, 38, 98, 0.95) 100%) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 4rem 0.8rem 4rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition-normal);
  height: 200px; /* Ingrandita l'area superiore */
  overflow: hidden;
  background: #ffffff;
}

header.scrolled .header-top {
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Banner Riparazioni Computers Evoluto & Esaustivo */
.header-repair-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.header-repair-banner {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 1.5px solid rgba(37, 99, 235, 0.28);
  padding: 0.85rem 1.4rem;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.06);
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  min-height: 90px;
}

.header-repair-banner:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14) 0%, rgba(255, 255, 255, 1) 100%);
  border-color: rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.repair-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(37, 99, 235, 0.1);
  border: 1.5px solid rgba(37, 99, 235, 0.22);
  border-radius: 14px;
  flex-shrink: 0;
}

.repair-icon-wrapper .cpu-icon {
  color: var(--accent);
  width: 28px;
  height: 28px;
  animation: cpu-pulse 2s infinite ease-in-out;
}

.repair-pulse-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 9px;
  height: 9px;
  background-color: #10b981;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.repair-banner-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.repair-top-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.repair-tag-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.repair-tag-pill {
  font-family: var(--font-title);
  font-size: 0.62rem;
  font-weight: 800;
  color: #047857;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 0.12rem 0.5rem;
  border-radius: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.repair-main-headline {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.3rem;
  color: #0f172a;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.repair-devices-row {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  letter-spacing: 0.02em;
}

.repair-devices-row .dev-dot {
  color: var(--accent);
  font-weight: 900;
}

@keyframes cpu-pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 1px rgba(37, 99, 235, 0.1)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.5)); }
}

.header-app-alert {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.8rem;
  color: #dc2626;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
  animation: pulse-red 2s infinite;
}

.header-app-alert:hover {
  color: #991b1b;
}

/* Ingrandimento Area Centrale Logo */
.header-logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  margin-bottom: 0.4rem;
}

.header-logo-box img {
  height: 108px !important; /* Ingrandito da 80px a 108px */
  width: auto !important;
  transition: transform var(--transition-normal);
  filter: drop-shadow(0 4px 10px rgba(37, 99, 235, 0.15));
}

.header-logo-box:hover img {
  transform: scale(1.04);
}

.header-logo-text {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.85rem; /* Ingrandito da 1.5rem a 1.85rem */
  color: #0f172a;
  letter-spacing: 0.09em;
  line-height: 1.1;
}

.header-logo-subtext {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem; /* Ingrandito da 0.8rem a 0.95rem */
  color: #475569;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-transform: uppercase;
}

.header-contact-cart {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.header-phone-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.2rem;
  color: #1e293b;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.header-phone-box:hover {
  color: var(--accent);
}

.header-phone-box svg {
  color: var(--accent);
}

.header-cart-box {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(255, 255, 255, 0.95) 100%);
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(37, 99, 235, 0.22);
  text-decoration: none;
  transition: all var(--transition-fast);
  height: 90px; /* Symmetrical height matching the repair banner and enlarged logo */
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.04);
}

.header-cart-box:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14) 0%, rgba(255, 255, 255, 1) 100%);
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.08);
}

.header-cart-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.header-cart-label {
  font-size: 0.75rem; /* Larger label */
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.header-cart-paypal {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.15rem; /* Larger PayPal text */
  color: #0079c1; /* PayPal Blue */
  line-height: 1.1;
}

.header-cart-paypal span {
  color: #00457c; /* PayPal Dark Blue */
}

.header-cart-icon-wrapper {
  position: relative;
  color: #0f172a;
  display: flex;
  align-items: center;
}

.header-cart-icon-wrapper svg {
  width: 25px; /* Larger icon */
  height: 25px;
}

.header-cart-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #000000;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bottom Nav bar */
.header-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  height: 52px;
  transition: all var(--transition-normal);
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

header.scrolled .header-bottom {
  height: 93px !important;
  background: transparent !important;
  border-top: none !important;
  padding: 0 2rem !important;
}

nav#nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

/* Logo for Scrolled navbar */
.header-bottom-logo {
  display: none;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  animation: fade-in 0.3s ease;
  flex-shrink: 0;
  margin-right: 1.5rem;
}

header.scrolled .header-bottom-logo {
  display: inline-flex !important;
  align-items: center !important;
}

.header-bottom-logo img {
  height: 44px;
  max-width: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.45));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-bottom-logo:hover img {
  transform: scale(1.06);
}

.header-sticky-brand-text {
  font-family: var(--font-heading, "Montserrat", sans-serif);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #ffffff;
  background: linear-gradient(180deg, #ffffff 15%, #e2e8f0 70%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.55));
  white-space: nowrap;
  user-select: none;
  display: inline-block;
  line-height: 1;
  text-transform: uppercase;
}

.header-bottom-logo:hover .header-sticky-brand-text {
  filter: drop-shadow(0 2px 7px rgba(96, 165, 250, 0.65));
}

@media (max-width: 992px) {
  .header-sticky-brand-text {
    font-size: 1.05rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 640px) {
  .header-sticky-brand-text {
    display: none;
  }
}

/* Top-Level Navigation Menu */
nav > ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  height: 100%;
}

nav > ul > li {
  display: flex;
  align-items: center;
  position: relative;
  height: 100%;
}

nav > ul > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

nav > ul > li > a:hover {
  color: #2563eb;
}

nav > ul > li > a.active {
  color: #2563eb !important;
}

nav > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: -6px; /* Positioned exactly on the bottom border line of the row */
  left: 0;
  width: 0;
  height: 4px; /* Thick 4px line like in the photo */
  background: #2563eb; /* Solid blue */
  transition: width var(--transition-fast);
}

nav > ul > li > a:hover::after,
nav > ul > li > a.active::after {
  width: 100%;
}

/* ==========================================================================
   DROPDOWN SUBMENU: SERVIZI
   ========================================================================== */
.has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-chevron {
  width: 12px;
  height: 12px;
  display: inline-block;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  margin-left: 0.25rem;
  vertical-align: middle;
}

.has-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 215px;
  width: max-content;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
  list-style: none !important;
  padding: 0.25rem 0 !important;
  margin: 0 !important;
  gap: 0 !important; /* Disabilita categoricamente il gap di nav ul */
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 1000;
  overflow: hidden;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
}

.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown li {
  width: 100%;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid #f1f5f9;
}

.nav-dropdown li:last-child {
  border-bottom: none;
}

.nav-dropdown a {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 0.65rem 1.15rem !important; /* Compatto e proporzionato, non vuoto */
  font-family: var(--font-title);
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  line-height: 1.3 !important;
  margin: 0 !important;
  transition: background-color 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

.nav-dropdown a::after {
  display: none !important;
}

.nav-dropdown a:hover {
  background-color: #2563eb !important;
  color: #ffffff !important;
  padding-left: 1.4rem !important;
}

.nav-dropdown a.active,
header.scrolled .nav-dropdown a.active {
  background-color: #eff6ff !important;
  color: #2563eb !important;
  font-weight: 800 !important;
  text-shadow: none !important;
}

.nav-dropdown a.active:hover,
header.scrolled .nav-dropdown a.active:hover {
  background-color: #2563eb !important;
  color: #ffffff !important;
}

/* In Sticky Scrolled navbar */
header.scrolled .nav-dropdown {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 16px 38px rgba(10, 25, 60, 0.45);
}

header.scrolled .nav-dropdown a {
  color: #1e293b !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

header.scrolled .nav-dropdown a:hover {
  background-color: #2563eb !important;
  color: #ffffff !important;
}

/* White menu items in scrolled sticky navbar */
header.scrolled nav > ul {
  gap: 0.95rem;
}

header.scrolled nav > ul > li > a {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

header.scrolled nav > ul > li > a:hover {
  color: #93c5fd;
}

header.scrolled nav > ul > li > a.active {
  color: #ffffff !important;
  font-weight: 800;
}

header.scrolled nav > ul > li > a::after {
  background: #60a5fa;
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.7);
}

/* Scrolled Header Pill Controls */
header.scrolled .header-search-pill {
  background-color: #ffffff;
  border-color: rgba(255, 255, 255, 0.95);
  color: #1e3a8a;
  box-shadow: 0 4px 14px rgba(10, 30, 80, 0.25);
}

header.scrolled .header-search-pill svg {
  color: #2563eb;
  stroke: #2563eb;
}

header.scrolled .header-search-pill:hover {
  background-color: #f8fafc;
  box-shadow: 0 6px 18px rgba(10, 30, 80, 0.35);
}

header.scrolled .header-lang-pill {
  background-color: #ffffff;
  border-color: rgba(255, 255, 255, 0.95);
  color: #1e3a8a;
  box-shadow: 0 4px 14px rgba(10, 30, 80, 0.25);
}

/* 3. GEEM CTA Button in Scrolled Stickybar: Clean solid blue pill WITHOUT dirty white border */
header.scrolled .header-geem-btn {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%) !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(10, 30, 80, 0.35), 0 0 10px rgba(37, 99, 235, 0.25) !important;
}

header.scrolled .header-geem-btn svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
  fill: none !important;
}

header.scrolled .header-geem-btn span {
  color: #ffffff !important;
}

header.scrolled .header-geem-btn:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%) !important;
  border: none !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(10, 30, 80, 0.45), 0 0 14px rgba(96, 165, 250, 0.5) !important;
}

header.scrolled .header-geem-btn:hover svg,
header.scrolled .header-geem-btn:hover span {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

header.scrolled .hamburger span {
  background-color: #ffffff;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}

/* 1. Search Pill (Foto 3) */
.header-search-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 1.05rem;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-full);
  color: #334155;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: all var(--transition-fast);
}

.header-search-pill svg {
  color: #2563eb;
  stroke: #2563eb;
  transition: transform var(--transition-fast);
}

.header-search-pill:hover {
  background-color: #ffffff;
  border-color: #2563eb;
  color: #1e3a8a;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.header-search-pill:hover svg {
  transform: scale(1.1);
}

/* 2. Language Pill (Foto 3) */
.header-lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.9rem;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-full);
  color: #334155;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  user-select: none;
  transition: all var(--transition-fast);
}

.header-lang-pill:hover {
  background-color: #ffffff;
  border-color: #cbd5e1;
}

.header-lang-flag {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

/* 3. GEEM CTA Button (Foto 3) */
.header-geem-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 1.35rem;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  border: 1px solid #1d4ed8;
  border-radius: var(--radius-full);
  color: #ffffff !important;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.header-geem-btn svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
  fill: none !important;
}

.header-geem-btn span {
  color: #ffffff !important;
}

.header-geem-btn:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  color: #ffffff !important;
}

.header-geem-btn:hover svg,
.header-geem-btn:hover span {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* Active State on GEEM dedicated page */
.header-geem-btn.active,
header.scrolled .header-geem-btn.active {
  outline: 2px solid #60a5fa !important;
  outline-offset: 1px;
  box-shadow: 0 0 14px rgba(96, 165, 250, 0.65), 0 4px 16px rgba(37, 99, 235, 0.45) !important;
  color: #ffffff !important;
}

.header-geem-btn.active svg,
.header-geem-btn.active span,
header.scrolled .header-geem-btn.active svg,
header.scrolled .header-geem-btn.active span {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* 4. Sticky Header Cart Pill Button */
.header-sticky-cart {
  display: none; /* hidden when header is not scrolled */
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 1.05rem;
  background-color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-full);
  color: #1e3a8a;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(10, 30, 80, 0.25);
  transition: all var(--transition-fast);
  user-select: none;
}

header.scrolled .header-sticky-cart {
  display: inline-flex !important;
}

.header-sticky-cart:hover {
  background-color: #f8fafc;
  color: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(10, 30, 80, 0.35);
}

.header-sticky-cart-icon-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  line-height: 1;
}

.header-sticky-cart-icon-wrapper svg {
  width: 17px;
  height: 17px;
  stroke: #2563eb;
  transition: transform var(--transition-fast);
}

.header-sticky-cart:hover .header-sticky-cart-icon-wrapper svg {
  transform: scale(1.12);
}

.header-sticky-cart .header-cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.45);
  border: 2px solid #ffffff;
  line-height: 1;
}

/* Pulse Red Animation */
@keyframes pulse-red {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
  100% {
    opacity: 1;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-title);
  border: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
}

.btn-secondary {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--border-color);
  transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-fast);
}

/* ==========================================================================
   SPLASH PAGE D'INGRESSO (index.html)
   ========================================================================== */
.splash-body {
  background-color: #05070c;
  color: #f8fafc;
  overflow: hidden;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end; /* Align towards bottom */
  justify-content: center;
}

#splash-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.splash-container {
  position: relative;
  z-index: 2;
  text-align: center;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 1.2rem 3.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  max-width: 960px; /* Wider for horizontal layout */
  width: 90%;
  margin-bottom: 5%; /* Positioned slightly lower/medium-low zone */
  
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  
  animation: fade-in-up 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.splash-slide-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.6) 0%, rgba(0, 210, 255, 0.6) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.95);
  padding: 0.5rem 2.2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-title);
  font-size: 1.1rem; /* 50% larger */
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.15);
  z-index: 3;
  pointer-events: none;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0.85;
}

.splash-flag-container {
  position: absolute;
  bottom: -1px; /* Positions it exactly on the bottom border line */
  left: 50%;
  transform: translate(-50%, 50%); /* Centered and sitting on the border */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  opacity: 0.85;
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  border-radius: 2px;
  overflow: hidden;
}
.flag-stripe {
  width: 20px;
  height: 4px;
}
.flag-stripe.green {
  background-color: #009246;
}
.flag-stripe.white {
  background-color: #ffffff;
}
.flag-stripe.red {
  background-color: #ce2b37;
}

.splash-left {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.splash-right {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 1rem;
}

.splash-logo-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.splash-logo-box img {
  height: 110px;
  width: auto;
  filter: drop-shadow(0 0 25px rgba(37, 99, 235, 0.75)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
  animation: pulse-logo 4s infinite alternate;
}

.splash-title-text {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 40%, #00d2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.splash-subtitle {
  color: #94a3b8;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.splash-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 2.2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  color: #ffffff;
  background: var(--accent-gradient);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.4);
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
}

.splash-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 48px rgba(37, 99, 235, 0.6);
}

.splash-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(30deg);
  transition: transform 0.8s;
  animation: shine-btn 4s infinite;
}

/* Splash Animations */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-logo {
  0% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(37, 99, 235, 0.3)); }
  100% { transform: scale(1.05); filter: drop-shadow(0 0 25px rgba(37, 99, 235, 0.6)); }
}

@keyframes shine-btn {
  0% { left: -100%; }
  20% { left: 100%; }
  100% { left: 100%; }
}

/* ==========================================================================
   MAIN SITE STYLE (home.html, servizi.html, etc.)
   ========================================================================== */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  background: radial-gradient(circle at 90% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 45%),
              radial-gradient(circle at 10% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 45%),
              var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
  box-shadow: var(--shadow-sm);
  color: var(--text-primary);
}

.hero-badge span {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--success);
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.15;
  color: var(--text-primary);
}

.hero-title span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 400px;
  transition: all var(--transition-normal);
}

.hero-card:hover {
  transform: translateY(-5px);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.hero-card-status {
  margin-left: auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--success);
}

.hero-card-line {
  height: 5px;
  background-color: var(--bg-tertiary);
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  overflow: hidden;
}

.hero-card-line-fill {
  height: 100%;
  width: 75%;
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
  animation: pulse-fill 3s infinite ease-in-out;
}

@keyframes pulse-fill {
  0%, 100% { width: 30%; }
  50% { width: 90%; }
}

/* Page Header Utilities (for detail pages) */
.page-hero {
  background: 
    linear-gradient(115deg, rgba(37, 99, 235, 0.22) 0%, rgba(59, 130, 246, 0.18) 22%, rgba(191, 219, 254, 0.55) 42%, rgba(255, 255, 255, 0) 68%),
    radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    #ffffff;
  background-size: auto, 24px 24px, auto;
  border-bottom: 1px solid rgba(37, 99, 235, 0.15);
  padding: 10rem 0 5rem 0;
  position: relative;
  overflow: hidden;
}

.page-hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Contact Page Hero with Exhaustive Wallpaper */
.contact-hero {
  position: relative;
  min-height: 460px;
  padding: 10rem 0 5rem;
  background-color: #081225;
  background-image: 
    linear-gradient(90deg, rgba(8, 18, 37, 0.94) 0%, rgba(10, 24, 52, 0.85) 45%, rgba(10, 24, 52, 0.45) 100%),
    url('assets/contact_hero_wallpaper.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.breadcrumb-dark {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.breadcrumb-dark a {
  color: #93c5fd;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.breadcrumb-dark a:hover {
  color: #ffffff;
}

.breadcrumb-dark .breadcrumb-separator {
  color: #64748b;
}

.breadcrumb-dark .breadcrumb-current {
  color: #e2e8f0;
  font-weight: 700;
  font-size: 0.88rem;
}

.contact-hero-content {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(59, 130, 246, 0.45);
  border-radius: var(--radius-full);
  color: #93c5fd;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  align-self: flex-start;
  backdrop-filter: blur(8px);
}

.contact-hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.contact-hero-desc {
  font-size: 1.12rem;
  color: #cbd5e1;
  line-height: 1.7;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.contact-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.contact-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: #f1f5f9;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

.contact-hero-pill svg {
  color: #60a5fa;
  stroke: #60a5fa;
  flex-shrink: 0;
}

a.contact-hero-pill:hover {
  background: #2563eb;
  border-color: #60a5fa;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
}

a.contact-hero-pill:hover svg {
  color: #ffffff;
  stroke: #ffffff;
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 8rem 0 3.5rem;
    min-height: auto;
  }
  .contact-hero-title {
    font-size: 2.2rem;
  }
  .contact-hero-desc {
    font-size: 1rem;
  }
}

/* Sections Common */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 5rem auto;
}

.section-tag {
  color: var(--accent);
  font-family: var(--font-title);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}

/* Services Section */
.services-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, #ffffff 0%, rgba(239, 246, 255, 0.85) 20%, rgba(219, 234, 254, 0.45) 55%, #ffffff 100%);
  position: relative;
}

/* ==========================================================================
   GEEM GESTIONALE FEATURED SHOWCASE
   ========================================================================== */
.geem-featured-showcase {
  background: linear-gradient(145deg, #ffffff 0%, #f8faff 50%, #eff6ff 100%);
  border: 2px solid rgba(37, 99, 235, 0.22);
  border-radius: 24px;
  padding: 2.8rem 3rem;
  margin-bottom: 4rem;
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}

.geem-featured-showcase::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.geem-showcase-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.geem-header-left {
  max-width: 820px;
  width: 100%;
}

.geem-header-info {
  display: flex;
  flex-direction: column;
}

.geem-version-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(37, 99, 235, 0.16);
  width: fit-content;
}

.geem-brand-logo-wrapper {
  margin: 0.2rem 0 0.85rem 0;
  display: flex;
  align-items: center;
}

.geem-showcase-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
}

.geem-showcase-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.geem-showcase-desc {
  font-size: 1.02rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

.geem-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  align-self: center;
  flex-wrap: wrap;
}

.geem-demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #2563eb;
  color: #ffffff;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.geem-demo-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
  color: #ffffff;
}

.geem-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  color: #1e293b;
  border: 1.5px solid rgba(37, 99, 235, 0.25);
  padding: 0.9rem 1.6rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.geem-toggle-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
  background: #f8faff;
  transform: translateY(-2px);
}

.geem-toggle-icon {
  transition: transform 0.3s ease;
}

.geem-toggle-btn.active .geem-toggle-icon {
  transform: rotate(180deg);
}

/* Pillar Feature Grid (6 Cards) */
.geem-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  margin-top: 1.4rem;
}

.geem-pillar-card {
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 16px;
  padding: 1.35rem 1.25rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.geem-pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.1);
}

.geem-pillar-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.55rem;
}

.geem-pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #dbeafe;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.geem-pillar-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.geem-pillar-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.3;
}

.geem-pillar-text {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

/* Expandable Details Section */
.geem-details-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  opacity: 0;
}

.geem-details-collapse.open {
  max-height: 1400px;
  opacity: 1;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px dashed rgba(37, 99, 235, 0.25);
}

.geem-expanded-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}

.geem-expanded-box {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.04);
}

.geem-expanded-box h4 {
  font-size: 1.08rem;
  font-weight: 800;
  color: #1e3a8a;
  margin: 0 0 0.8rem 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.geem-spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.geem-spec-list li {
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.geem-spec-list li span.spec-check {
  color: #2563eb;
  font-weight: 800;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .geem-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .geem-expanded-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .geem-featured-showcase {
    padding: 2rem 1.4rem;
  }
  .geem-header-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
  .geem-header-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .geem-demo-btn,
  .geem-toggle-btn {
    width: 100%;
    justify-content: center;
  }
  .geem-pillars-grid {
    grid-template-columns: 1fr;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 2rem;
}

.service-card {
  position: relative;
  background-color: var(--bg-primary);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 2.2rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s ease, 
              box-shadow 0.4s ease, 
              background-color 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  height: 100%;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

/* Accent top-bar for card decoration */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 16px 36px -8px rgba(37, 99, 235, 0.12),
              0 4px 12px -2px rgba(37, 99, 235, 0.05);
  background-color: #ffffff;
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background-color: rgba(37, 99, 235, 0.06);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-icon-wrapper svg {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-icon-wrapper {
  background: var(--accent-gradient);
  color: #ffffff;
  transform: scale(1.05) rotate(5deg);
}

.service-card:hover .service-icon-wrapper svg {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 0.5rem;
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: var(--accent);
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.service-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-tag {
  font-size: 0.72rem;
  font-weight: 600;
  background-color: rgba(37, 99, 235, 0.05);
  color: var(--accent);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.service-card:hover .partner-tag {
  background-color: rgba(37, 99, 235, 0.1);
}

/* Products Section */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.product-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.product-img-wrapper {
  width: 100%;
  height: 220px;
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.product-badge {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  background: var(--accent-gradient);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
}

.product-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 1.2rem;
}

.product-title {
  font-size: 1.4rem;
}

.product-spec {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.product-spec li {
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.product-spec li::before {
  content: '✓';
  color: var(--success);
  font-weight: bold;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-color);
}

.product-price {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
}

/* App Download Section */
.app-section {
  background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.03) 0%, transparent 40%),
              var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.app-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.app-graphic {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup {
  width: 290px;
  height: 580px;
  background-color: #0f172a;
  border: 12px solid #334155;
  border-radius: 40px;
  box-shadow: var(--shadow-lg), 0 10px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-screen {
  flex-grow: 1;
  background-color: #0f172a;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 1.5rem;
  color: #ffffff;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-title);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.75rem;
}

.phone-logo {
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.phone-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}

.phone-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.phone-card-desc {
  font-size: 0.8rem;
  color: #94a3b8;
}

.phone-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--success);
  display: inline-block;
  margin-right: 0.5rem;
  box-shadow: 0 0 6px var(--success);
}

.app-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.app-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.app-features-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.app-feature-icon {
  width: 40px;
  height: 40px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.app-feature-text h4 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.app-feature-text p {
  font-size: 0.95rem;
}

.download-info {
  margin-top: 1rem;
  padding: 1.2rem;
  background-color: var(--bg-primary);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.download-info p {
  font-size: 0.9rem;
}

/* Accordion FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.6rem;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  color: var(--text-primary);
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 600;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.6rem;
  transition: max-height var(--transition-normal) ease, padding var(--transition-normal) ease;
}

.faq-item.active {
  border-color: var(--accent);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.6rem;
}

.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Contacts Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.contact-detail-item {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.contact-detail-icon {
  width: 52px;
  height: 52px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.contact-form-wrapper {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group-full {
  grid-column: span 2;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.8rem 1.2rem;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  transition: all var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

/* Footer */
footer {
  background: linear-gradient(180deg, #ffffff 0%, rgba(37, 99, 235, 0.04) 20%, rgba(37, 99, 235, 0.15) 60%, rgba(37, 99, 235, 0.28) 100%);
  border-top: 1px solid rgba(37, 99, 235, 0.1);
  padding: 6rem 0 4rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 1.2fr;
  gap: 4rem;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.footer-logo-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-block img {
  height: 110px;
  width: auto;
}

.footer-logo-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: 0.1em;
  margin-top: 0.45rem;
  display: block;
}

.footer-company-details {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.35rem;
}

.footer-company-details p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.35;
  margin: 0;
}

.footer-company-details .footer-powered {
  font-size: 0.84rem;
  font-weight: 800;
  color: #2563eb;
  margin-top: 0.55rem;
  letter-spacing: 0.02em;
}

.footer-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.06em;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-menu a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  line-height: 1.3;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-menu a:hover {
  color: var(--accent);
  opacity: 0.85;
}

.footer-social-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-social-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 44px;
  height: 44px;
  background-color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.social-link:hover {
  background-color: #1d4ed8; /* Blu reale leggermente più scuro ed intenso */
  color: #ffffff;
  transform: translateY(-3px) scale(1.08);
  border-color: #1d4ed8;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

/* ==========================================================================
   RESPONSIVE STYLES (Smartphones, Tablets & Desktops)
   ========================================================================== */

/* 1. Global Viewport Overflow Protection */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
}

/* 2. Desktop refinements (1025px - 1280px) to prevent horizontal navbar wrapping */
@media (min-width: 1025px) and (max-width: 1280px) {
  .header-top {
    padding: 0.8rem 2rem;
  }
  .header-bottom {
    padding: 0 2rem;
  }
  nav > ul {
    gap: 1.3rem;
  }
  nav > ul > li > a {
    font-size: 0.86rem;
    letter-spacing: 0.03em;
  }
  .header-contact-cart {
    gap: 1rem;
  }
}

/* 3. Tablets & Mobile Devices (<= 1024px) */
@media (max-width: 1024px) {
  /* Standard header container */
  header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    border-bottom: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-sm) !important;
    transition: all var(--transition-normal) !important;
  }

  /* Scrolled sticky bar (Blue gradient restored 100%!) */
  header.scrolled {
    background: linear-gradient(135deg, rgba(16, 46, 115, 0.95) 0%, rgba(28, 72, 162, 0.95) 50%, rgba(14, 38, 98, 0.95) 100%) !important;
    box-shadow: 0 10px 30px rgba(10, 30, 80, 0.28) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    border-bottom: none !important;
  }

  body:not(.splash-body) {
    padding-top: 113px !important;
  }

  /* TOP ROW: Logo, Phone, Cart */
  .header-top {
    height: 65px !important;
    padding: 0.5rem 1.5rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: #ffffff !important;
    border-bottom: 1px solid var(--border-color) !important;
    overflow: visible !important;
  }

  header.scrolled .header-top {
    display: none !important;
    height: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: none !important;
  }

  /* LOGO: Clean horizontal layout, 38px, NEVER cut off at top */
  .header-logo-box {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.55rem !important;
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
  }

  .header-logo-box img {
    height: 38px !important;
    max-height: 38px !important;
    width: auto !important;
    max-width: 48px !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    filter: drop-shadow(0 2px 6px rgba(37, 99, 235, 0.16)) !important;
  }

  .header-logo-text {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: 0.02em !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    display: block !important;
  }

  .header-logo-subtext {
    font-size: 0.52rem !important;
    color: #64748b !important;
    letter-spacing: 0.05em !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    display: block !important;
  }

  .header-repair-info {
    display: none !important;
  }

  /* Phone & Cart on the right of TOP ROW */
  .header-contact-cart {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
  }

  .header-phone-box {
    padding: 0.35rem 0.65rem !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    color: #1e3a8a !important;
    background: transparent !important;
    border: none !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
  }

  .header-phone-box svg {
    width: 18px !important;
    height: 18px !important;
    stroke: #2563eb !important;
  }

  .header-cart-box,
  .header-cart-box:hover,
  .header-cart-box:focus,
  .header-cart-box:active {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
    height: auto !important;
    padding: 0.25rem 0.35rem !important;
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
  }

  .header-cart-info {
    display: none !important;
  }

  .header-cart-icon-wrapper {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .header-cart-icon-wrapper svg {
    width: 24px !important;
    height: 24px !important;
  }

  .header-cart-badge {
    position: absolute !important;
    top: -6px !important;
    right: -8px !important;
  }

  /* BOTTOM ROW: Navigation bar */
  .header-bottom {
    height: 48px !important;
    padding: 0 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #ffffff !important;
    border-top: none !important;
  }

  /* Scrolled header-bottom (Restored to 81px sticky bar) */
  header.scrolled .header-bottom {
    height: 81px !important;
    background: transparent !important;
    border-top: none !important;
    padding: 0 1.5rem !important;
  }

  /* Scrolled sticky logo (Sticky_Def.png) */
  .header-bottom-logo {
    display: none !important;
  }

  header.scrolled .header-bottom-logo {
    display: flex !important;
    align-items: center !important;
  }

  header.scrolled .header-bottom-logo img {
    height: 70px !important;
    max-width: 80px !important;
    width: auto !important;
    object-fit: contain !important;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35)) !important;
  }

  .nav-right {
    display: none !important;
  }

  /* Hamburger Button */
  .hamburger {
    display: flex !important;
    cursor: pointer !important;
    background: none !important;
    border: none !important;
    padding: 6px !important;
    margin-left: auto !important;
    z-index: 10001 !important;
    flex-direction: column !important;
    gap: 5px !important;
  }

  .hamburger span {
    background-color: var(--text-primary) !important;
    width: 26px !important;
    height: 2px !important;
    border-radius: 2px !important;
    display: block !important;
  }

  /* White hamburger in sticky bar */
  header.scrolled .hamburger span {
    background-color: #ffffff !important;
  }

  /* Slide-out Navigation Drawer */
  nav#nav-menu {
    position: fixed !important;
    top: 113px !important;
    left: -100% !important;
    transform: none !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: calc(100vh - 113px) !important;
    max-height: calc(100vh - 113px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    background-color: var(--bg-primary) !important;
    transition: left var(--transition-normal) !important;
    padding: 2rem 1.8rem 4rem !important;
    border-top: 1px solid var(--border-color) !important;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    z-index: 9999 !important;
    box-sizing: border-box !important;
  }

  header.scrolled nav#nav-menu {
    top: 81px !important;
    height: calc(100vh - 81px) !important;
    max-height: calc(100vh - 81px) !important;
  }

  nav#nav-menu.active {
    left: 0 !important;
  }

  nav ul {
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  nav > ul > li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 0.75rem;
    align-items: flex-start;
  }

  nav > ul > li:last-child {
    border-bottom: none;
  }

  nav > ul > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.35rem 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.04em;
  }

  nav > ul > li > a.active {
    color: #2563eb !important;
    font-weight: 800;
  }

  nav > ul > li > a::after {
    display: none !important;
  }

  .has-dropdown {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0.4rem;
  }

  .nav-dropdown {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    box-shadow: none !important;
    border: 1px solid rgba(37, 99, 235, 0.12) !important;
    background: #f8fafc !important;
    border-radius: 12px !important;
    padding: 0.75rem 1rem !important;
    margin-top: 0.4rem !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    box-sizing: border-box;
  }

  .nav-dropdown li {
    border-bottom: none !important;
    width: 100% !important;
  }

  .nav-dropdown a {
    padding: 0.4rem 0 !important;
    font-size: 0.95rem !important;
    color: #1e3a8a !important;
    font-weight: 700 !important;
    display: block !important;
  }

  section {
    padding: 4.5rem 0;
  }

  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-graphic {
    order: -1;
  }
  
  .app-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .app-graphic {
    order: 1;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .page-hero,
  .service-detail-hero {
    padding: 4.5rem 0 3rem !important;
  }

  .page-hero-title,
  .service-hero-title {
    font-size: 2.2rem !important;
  }
}

/* 4. Smartphones (<= 768px) */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .contact-form {
    grid-template-columns: 1fr !important;
  }
  
  .form-group-full {
    grid-column: span 1 !important;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  
  .splash-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 2.5rem 1.5rem;
    margin-bottom: 5%;
  }
  .splash-left, .splash-right {
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .splash-logo-box {
    align-items: center;
  }
  .splash-title-text {
    font-size: 1.8rem;
  }
}

/* 5. Small Smartphones (<= 480px / 360px) */
@media (max-width: 480px) {
  .header-logo-text {
    font-size: 0.92rem !important;
  }
  .header-logo-subtext {
    display: none !important;
  }
  .header-contact-cart {
    gap: 0.5rem !important;
  }
  .header-cart-info {
    display: none !important; /* On very small screens hide PayPal text to prevent squeezing */
  }
  .products-grid,
  .services-grid,
  .why-us-grid,
  .service-partner-cards,
  .geem-pillars-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Logo wrappers (display the cropped logo.png normally) */
.logo-crop-wrapper {
  display: flex;
  align-items: center;
}
.logo-crop-wrapper img {
  height: 110px !important; /* Almeno il doppio rispetto ai precedenti 52px */
  width: auto !important;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
}

/* Splash logo wrapper */
.splash-logo-crop-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem;
}
.splash-logo-crop-wrapper img {
  height: 125px !important;
  width: auto !important;
  /* Turn black logo into white and add shadow glow */
  filter: brightness(0) invert(1) drop-shadow(0 0 25px rgba(255, 255, 255, 0.65));
}

/* Background Slideshow for Splash Page */
.splash-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.5s ease-in-out, transform 4.5s cubic-bezier(0.1, 1, 0.1, 1);
  z-index: 1;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.splash-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(10, 15, 30, 0.5) 0%, rgba(5, 7, 12, 0.85) 100%);
  z-index: 2;
}

/* ==========================================================================
   HERO SLIDESHOW FOR MAIN PAGE (home.html / Chi Siamo)
   ========================================================================== */
.hero-slideshow-section {
  position: relative;
  height: 85vh;
  min-height: 600px;
  overflow: hidden;
  padding: 0;
  border-bottom: 12px solid #ffffff;
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease-in-out, visibility 1.2s;
  z-index: 1;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Zoom Ken Burns effect */
.hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transform: scale(1);
}

.hero-slide.active::after {
  animation: heroKenburns 6.5s ease-out forwards;
}

@keyframes heroKenburns {
  0% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1.12);
  }
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.4) 100%);
  z-index: 2;
}

.hero-slide-wrapper {
  position: relative;
  z-index: 3;
  padding-top: 140px; /* Offset the sticky navigation bar */
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-slide-content {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

/* Staggered entry animations */
.hero-slide-content .hero-badge,
.hero-slide-content .hero-title,
.hero-slide-content .hero-description,
.hero-slide-content .hero-buttons {
  opacity: 0;
  transform: translateY(20px);
}

.hero-slide.active .hero-badge {
  animation: heroSlideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.4s;
}
.hero-slide.active .hero-title {
  animation: heroSlideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.6s;
}
.hero-slide.active .hero-description {
  animation: heroSlideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.8s;
}
.hero-slide.active .hero-buttons {
  animation: heroSlideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 1s;
}

@keyframes heroSlideUpFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Indicators (dots) */
.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-fast) cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.hero-dot.active {
  background: #2563eb;
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.8);
}

/* Adjustments for text contrast */
.hero-slide-content .hero-title {
  color: #ffffff;
}

.hero-slide-content .hero-description {
  color: #cbd5e1;
}

.hero-slide-content .hero-badge {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.hero-slide-content .hero-badge span {
  background-color: #00d2ff;
  box-shadow: 0 0 8px #00d2ff;
}

.hero-slide-content .btn-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.hero-slide-content .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
}

@media (max-width: 768px) {
  .hero-slideshow-section {
    height: auto;
    min-height: 80vh;
  }
  .hero-slide-wrapper {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
  }
  .hero-slide-content .hero-title {
    font-size: 2.2rem;
  }
  .hero-slide-content .hero-description {
    font-size: 1rem;
  }
  .hero-slide-content .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
  }
  .hero-slide-content .btn {
    width: 100%;
  }
}

/* ==========================================================================
   CHI SIAMO SECTION (Home Page)
   ========================================================================== */
.about-us-section {
  padding: 5.5rem 0 5rem;
  background: #ffffff;
  position: relative;
  scroll-margin-top: 100px;
}

.about-header {
  margin-bottom: 3.2rem;
}

.about-header .section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(37, 99, 235, 0.16);
}

.about-header .section-title {
  font-size: 2.6rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.about-title-underline {
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 100%);
  border-radius: 4px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.28fr 0.82fr;
  gap: 4.5rem;
  align-items: flex-start;
}

/* Colonna Testo */
.about-text-column {
  display: flex;
  flex-direction: column;
}

.about-paragraph {
  font-size: 1.06rem;
  color: #334155;
  line-height: 1.8;
  margin: 0;
  font-weight: 400;
}

.about-paragraph.lead {
  font-size: 1.18rem;
  color: #0f172a;
  font-weight: 600;
  line-height: 1.75;
}

.about-paragraph strong {
  color: #0f172a;
  font-weight: 700;
}

/* Righe divisorie molto fini dinamiche in blu */
.about-divider-line {
  height: 1px;
  width: 100%;
  margin: 1.4rem 0;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.6) 0%, rgba(59, 130, 246, 0.28) 45%, rgba(37, 99, 235, 0.04) 100%);
  position: relative;
  overflow: visible;
}

.about-divider-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  width: 44px;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.45);
}

/* Colonna Foto Team */
.about-team-column {
  position: relative;
}

.about-team-sticky {
  position: sticky;
  top: 130px;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.about-team-intro {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(56, 189, 248, 0.05) 100%);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-team-intro-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #dbeafe;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.about-team-intro-text h4 {
  font-size: 0.96rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px 0;
}

.about-team-intro-text p {
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  margin: 0;
  line-height: 1.4;
}

.about-team-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.about-member-card {
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
}

.about-member-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(37, 99, 235, 0.16);
  border-color: rgba(37, 99, 235, 0.38);
}

.about-member-photo-box {
  width: 100%;
  height: 250px;
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.about-member-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.45s ease;
}

.about-member-card:hover .about-member-img {
  transform: scale(1.05);
}

.about-member-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #38bdf8;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.about-member-meta {
  padding: 1.1rem 1rem 1.2rem;
  text-align: center;
  background: #ffffff;
}

.about-member-name {
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-transform: uppercase;
}

.about-member-role {
  font-size: 0.8rem;
  font-weight: 600;
  color: #2563eb;
  letter-spacing: 0.03em;
  display: block;
  line-height: 1.35;
}

/* Responsive */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .about-team-sticky {
    position: static;
  }
  .about-team-cards-grid {
    max-width: 580px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .about-us-section {
    padding: 4rem 0 3.5rem;
  }
  .about-header .section-title {
    font-size: 2.1rem;
  }
  .about-team-cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }
  .about-member-photo-box {
    height: 190px;
  }
  .about-member-name {
    font-size: 1.15rem;
  }
}

/* ==========================================================================
   PARALLAX STOREFRONT BANNER (Emeta OK.png)
   ========================================================================== */
.parallax-storefront {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  padding: 0;
  background-image: url('assets/storefront_emeta.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/* Fallback for mobile devices */
@media (max-width: 1024px) {
  .parallax-storefront {
    background-attachment: scroll;
    height: auto;
    padding: 6rem 0;
  }
}

.parallax-storefront .parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.62) 0%, rgba(30, 58, 138, 0.42) 100%);
  z-index: 1;
}

.storefront-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
}

.storefront-card {
  max-width: 580px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.storefront-tag {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  color: #00d2ff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.storefront-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.storefront-desc {
  color: #e2e8f0;
  font-size: 1rem;
  line-height: 1.6;
}

.storefront-info-rows {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 0.5rem 0;
}

.storefront-info-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.storefront-info-item svg {
  color: #00d2ff;
  flex-shrink: 0;
}

.storefront-btn {
  width: fit-content;
  margin-top: 0.5rem;
}

/* ==========================================================================
   SUPREMO REMOTE DESKTOP SUPPORT CARD
   ========================================================================== */
.supremo-card,
.anydesk-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, #ffffff 50%, rgba(56, 189, 248, 0.08) 100%);
  border: 1.5px solid rgba(37, 99, 235, 0.22);
  border-radius: 20px;
  padding: 2.4rem 2.8rem;
  display: flex;
  align-items: center;
  gap: 2.8rem;
  margin-top: 2.2rem;
  margin-bottom: 5rem;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.06);
  position: relative;
  overflow: hidden;
}

.supremo-logo-box,
.anydesk-logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  text-align: center;
}

.supremo-logo-img,
.anydesk-logo-box img {
  width: 140px;
  max-width: 140px;
  height: auto;
  object-fit: contain;
  display: block;
}

.supremo-support-tag {
  font-weight: 800;
  font-size: 0.8rem;
  color: #0284c7;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.supremo-info,
.anydesk-info {
  flex-grow: 1;
}

.supremo-info h3,
.anydesk-info h3 {
  font-size: 1.6rem;
  color: #1e3a8a;
  margin-bottom: 0.6rem;
  font-weight: 800;
}

.supremo-info .supremo-desc,
.anydesk-info p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
}

.supremo-compat-box {
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 10px;
  padding: 0.6rem 0.95rem;
  margin: 0.8rem 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #1e293b;
}

.supremo-compat-box strong {
  color: #1d4ed8;
  font-weight: 700;
  margin-right: 4px;
}

.supremo-connessioni-wrap {
  margin: 0.8rem 0;
}

.supremo-connessioni-img {
  max-width: 420px;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.supremo-disclaimer {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
  margin: 0.6rem 0 0;
  line-height: 1.5;
}

.supremo-disclaimer a {
  color: #2563eb;
  text-decoration: underline;
  font-weight: 700;
}

.supremo-action {
  flex-shrink: 0;
}

.supremo-btn,
.anydesk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background-color: #3898ec;
  color: #ffffff;
  padding: 0.95rem 2.2rem;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(56, 152, 236, 0.35);
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.supremo-btn:hover,
.anydesk-btn:hover {
  background-color: #2684d8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(56, 152, 236, 0.5);
  color: #ffffff;
}

.panoramica-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-bottom: 6rem;
}

.panoramica-card {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  overflow: hidden;
}

.panoramica-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-gradient);
  opacity: 0.8;
}

.panoramica-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.08);
}

.panoramica-card-icon {
  width: 52px;
  height: 52px;
  background-color: rgba(37, 99, 235, 0.06);
  color: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.panoramica-card:hover .panoramica-card-icon {
  background-color: var(--accent);
  color: #ffffff;
  transform: scale(1.05);
}

.panoramica-card h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
  font-weight: 700;
}

.panoramica-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.panoramica-card ul li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.panoramica-card ul li::before {
  content: '→';
  color: var(--accent);
  font-weight: bold;
}

.partners-banner {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.8) 0%, rgba(37, 99, 235, 0.03) 100%);
  padding: 4rem 2rem;
  border-radius: 24px;
  border: 1px solid rgba(37, 99, 235, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 6rem;
}

.partners-logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  flex-wrap: wrap;
}

.partner-logo-item {
  height: 60px;
  opacity: 0.85;
  transition: all 0.3s ease;
  filter: grayscale(100%);
}

.partner-logo-item:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.05);
}

.panoramica-form-container {
  max-width: 760px;
  margin: 0 auto;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: 4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

@media (max-width: 768px) {
  .supremo-card,
  .anydesk-card {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem;
  }
  .partners-logo-row {
    gap: 3rem;
  }
  .panoramica-form-container {
    padding: 2rem;
  }
}

/* ==========================================================================
   PARTNER BRANDS & OFFICIAL RESELLER MARQUEE
   ========================================================================== */
.brands-section {
  padding: 5rem 0 3.5rem 0;
  background-color: #f8fafc;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.brands-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 2.5rem;
}

.brands-tag {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: rgba(37, 99, 235, 0.08);
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.brands-title {
  font-family: var(--font-title);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

.brands-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.certified-badges-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.cert-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
  transition: all var(--transition-fast);
}

.cert-pill:hover {
  transform: translateY(-2px);
  border-color: #2563eb;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.12);
}

.cert-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background-color: #2563eb;
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 900;
  flex-shrink: 0;
}

.cert-text strong {
  font-weight: 700;
}

/* Marquee Carousel */
.brands-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 2.2rem 0;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.brands-marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: brandMarquee 38s linear infinite;
  will-change: transform;
}

.brands-marquee-wrapper:hover .brands-marquee-track {
  animation-play-state: paused;
}

@keyframes brandMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.brand-badge-item {
  flex: 0 0 170px;
  width: 170px;
  height: 74px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
  cursor: pointer;
}

.brand-badge-item:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
}

.brand-badge-item img {
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-badge-item:hover img {
  transform: scale(1.05);
}

/* Specific Logo Dimension Tuning */
.brand-badge-item img.logo-sq {
  max-height: 42px;
  max-width: 44px;
}

.brand-badge-item img.logo-sq-rect {
  max-height: 40px;
  max-width: 105px;
}

.brand-badge-item img.logo-h-md {
  max-height: 32px;
  max-width: 125px;
}

.brand-badge-item img.logo-wide-rect {
  max-height: 25px;
  max-width: 135px;
}

.brands-disclaimer {
  text-align: center;
  color: #94a3b8;
  font-size: 0.82rem;
  margin-top: 1.2rem;
  font-style: italic;
}

/* ==========================================================================
   DEDICATED ASSISTANCE MODES: ON CENTER & ON SITE
   ========================================================================== */
.assistance-dual-section {
  padding: 6.5rem 0 5.5rem;
  background: linear-gradient(180deg, #ffffff 0%, rgba(239, 246, 255, 0.6) 35%, rgba(248, 250, 252, 0.9) 80%, #ffffff 100%);
  position: relative;
}

.assistance-dual-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.5rem;
}

.dual-emblem-badge {
  width: 92px;
  height: 92px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 2px solid #fdba74;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(234, 88, 12, 0.16);
  transition: transform 0.35s ease;
}

.dual-emblem-badge:hover {
  transform: rotate(20deg) scale(1.06);
}

.gear-tools-svg {
  width: 58px;
  height: 58px;
}

.dual-header-tag {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ea580c;
  background: rgba(234, 88, 12, 0.08);
  padding: 0.35rem 1.1rem;
  border-radius: 9999px;
  margin-bottom: 0.8rem;
}

.dual-header-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 0.9rem;
  letter-spacing: -0.02em;
}

.dual-header-sub {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.6;
}

.assistance-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.assistance-mode-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 2.8rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

.assistance-mode-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

/* Card Top Color Bands */
.on-center-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
}

.on-site-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #ea580c, #f59e0b);
}

.on-center-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
}

.on-site-card:hover {
  border-color: rgba(234, 88, 12, 0.3);
}

.mode-badge-wrap {
  margin-bottom: 0.9rem;
}

.mode-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  text-transform: uppercase;
}

.on-center-badge {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.on-site-badge {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.mode-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.on-center-card .mode-title {
  color: #1e3a8a;
}

.on-site-card .mode-title {
  color: #9a3412;
}

.mode-subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 1.3rem;
}

.mode-description {
  font-size: 0.96rem;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 1.8rem;
}

.mode-description strong {
  color: #1e293b;
}

.mode-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.mode-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.5;
}

.mode-features-list li strong {
  color: #0f172a;
}

.mode-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

.on-center-card .mode-check {
  background: #dbeafe;
  color: #1d4ed8;
}

.on-site-card .mode-check {
  background: #ffedd5;
  color: #c2410c;
}

.mode-card-footer {
  margin-top: 2.2rem;
}

.mode-action-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.6rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.on-site-btn {
  background-color: #ea580c;
  color: #ffffff;
  border: 1px solid #ea580c;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.25);
}

.on-site-btn:hover {
  background-color: #c2410c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.35);
}

/* Quick Bar Banner */
.assistance-quick-bar {
  background: #0f172a;
  color: #ffffff;
  border-radius: 20px;
  padding: 2.2rem 2.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.8rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.quick-bar-content {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex: 1 1 500px;
}

.quick-bar-icon {
  width: 56px;
  height: 56px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: #60a5fa;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quick-bar-text h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.quick-bar-text p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin: 0;
}

.quick-bar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.quick-tel-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
}

@media (max-width: 992px) {
  .assistance-dual-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .brands-title,
  .dual-header-title {
    font-size: 1.8rem;
  }
  .assistance-mode-card {
    padding: 2rem 1.5rem;
  }
  .assistance-quick-bar {
    padding: 1.8rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .quick-bar-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .quick-bar-actions {
    width: 100%;
    flex-direction: column;
  }
  .quick-bar-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================================
   ADVANCED FULLSCREEN SEARCH OVERLAY (azziniSPA style)
   ========================================================================== */
.search-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6.5rem 2rem 2.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(6, 12, 22, 0.95);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}

.search-modal-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 920px;
  transform: translateY(-24px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-modal-overlay.active .search-modal-container {
  transform: translateY(0);
}

/* Close button (X) */
.search-modal-close {
  position: fixed;
  top: 2rem;
  right: 2.8rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 3;
}

.search-modal-close:hover {
  background: #2563eb;
  border-color: #2563eb;
  transform: rotate(90deg) scale(1.08);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}

/* Input Row */
.search-modal-input-wrap {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  border-bottom: 2.5px solid #2563eb;
  padding-bottom: 0.9rem;
  margin-bottom: 2.2rem;
  box-shadow: 0 6px 24px -4px rgba(37, 99, 235, 0.3);
}

.search-modal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #2563eb;
}

.search-modal-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-title);
  font-size: 2.4rem;
  font-weight: 500;
  color: #ffffff;
  caret-color: #38bdf8;
  letter-spacing: -0.01em;
}

.search-modal-input::placeholder {
  color: #475569;
}

/* Frequent Searches Pills */
.search-modal-frequent {
  margin-top: 1.2rem;
}

.frequent-title {
  display: block;
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.frequent-pills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.frequent-pill-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  border-radius: 9999px;
  padding: 0.55rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.frequent-pill-btn:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

/* Live Search Results */
.search-modal-results {
  max-height: 52vh;
  overflow-y: auto;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-right: 0.5rem;
}

.search-modal-results::-webkit-scrollbar {
  width: 6px;
}
.search-modal-results::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.1rem 1.4rem;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.search-result-item:hover {
  background: rgba(37, 99, 235, 0.2);
  border-color: #2563eb;
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}

.result-content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.result-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #38bdf8;
}

.result-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.result-title mark {
  background: rgba(56, 189, 248, 0.35);
  color: #ffffff;
  padding: 0 2px;
  border-radius: 2px;
}

.result-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.4;
}

.result-arrow {
  color: #38bdf8;
  font-size: 1.25rem;
  transition: transform 0.25s ease;
  margin-left: 1rem;
  flex-shrink: 0;
}

.search-result-item:hover .result-arrow {
  transform: translateX(6px);
  color: #ffffff;
}

.search-no-results {
  padding: 2.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  color: #94a3b8;
}

.search-no-results p {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .search-modal-overlay {
    padding: 5rem 1.2rem 1.5rem;
  }
  .search-modal-close {
    top: 1.2rem;
    right: 1.2rem;
    width: 40px;
    height: 40px;
  }
  .search-modal-input {
    font-size: 1.45rem;
  }
}

/* ==========================================================================
   SERVICE DETAIL PAGES & SERVICE HUB
   ========================================================================== */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.breadcrumb-nav a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumb-nav a:hover {
  text-decoration: underline;
}
.breadcrumb-separator {
  color: #94a3b8;
  font-size: 0.75rem;
}
.breadcrumb-current {
  color: #0f172a;
}

.service-detail-hero {
  padding: 8rem 0 4.5rem;
  background: 
    linear-gradient(115deg, rgba(37, 99, 235, 0.22) 0%, rgba(59, 130, 246, 0.18) 22%, rgba(191, 219, 254, 0.55) 42%, rgba(255, 255, 255, 0) 68%),
    radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    #ffffff;
  background-size: auto, 24px 24px, auto;
  border-bottom: 1px solid rgba(37, 99, 235, 0.15);
  position: relative;
  overflow: hidden;
}
.service-detail-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}
.service-hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.service-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: fit-content;
}
.service-hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.15;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.service-hero-desc {
  font-size: 1.12rem;
  line-height: 1.65;
  color: #475569;
}
.service-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.service-hero-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(0,0,0,0.06);
  background: #ffffff;
}
.service-hero-img-wrap img {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

/* Service Hub Grid in servizi.html */
.service-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  margin-bottom: 3.5rem;
}
.service-hub-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 18px;
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.service-hub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-hub-card:hover {
  transform: translateY(-8px);
  border-color: #2563eb;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.16);
}
.service-hub-card:hover::before {
  opacity: 1;
}
.service-hub-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  transition: all 0.35s ease;
}
.service-hub-card:hover .service-hub-icon {
  background: #2563eb;
  color: #ffffff;
  transform: scale(1.08);
}
.service-hub-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.6rem;
  line-height: 1.25;
}
.service-hub-desc {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 1.4rem;
}
.service-hub-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: #2563eb;
  transition: gap 0.2s ease;
}
.service-hub-card:hover .service-hub-link {
  gap: 0.7rem;
}

/* Service Detail Partner Boxes */
.service-partner-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.service-partner-box {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 1.8rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.service-partner-box:hover {
  transform: translateY(-5px);
  border-color: #2563eb;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.1);
}
.service-partner-logo {
  height: 56px;
  display: flex;
  align-items: center;
}
.service-partner-logo img {
  max-height: 50px;
  max-width: 165px;
  object-fit: contain;
}
.service-partner-logo img[src*="ironware"] {
  max-height: 38px;
  max-width: 180px;
}
.service-partner-box h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}
.service-partner-box p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.5;
}

/* Feature Split Rows */
.feature-split-section {
  padding: 5rem 0;
}
.feature-split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2.2rem;
  margin-bottom: 5rem;
}
.feature-split-row:last-child {
  margin-bottom: 0;
}
.feature-split-row.reverse .feature-split-media {
  order: 2;
}
.feature-split-row.reverse .feature-split-content {
  order: 1;
}
.feature-split-content h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
  line-height: 1.25;
}
.feature-split-content p {
  font-size: 1.02rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}
.feature-checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.98rem;
  color: #334155;
  line-height: 1.5;
}
.feature-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #dbeafe;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 900;
  font-size: 0.75rem;
  margin-top: 2px;
}
.feature-split-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.feature-split-media img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   BLUE IRIS VMS MEDIA SHOWCASE (Biris2 + BirisM)
   ========================================================================== */
.feature-split-media.blueiris-media-showcase {
  background: radial-gradient(circle at 65% 35%, #ffffff 0%, #f0f7ff 55%, #e1edfd 100%);
  border: 1px solid rgba(37, 99, 235, 0.16);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 1.8rem 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  min-height: 450px;
  overflow: hidden;
  position: relative;
}

.blueiris-media-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Floating Biris2 Logo Card */
.blueiris-badge-card {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 5;
  background: #ffffff;
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(37, 99, 235, 0.15);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blueiris-badge-card:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(37, 99, 235, 0.28);
}

.blueiris-badge-card .blueiris-badge-img {
  width: 112px !important;
  height: 112px !important;
  max-height: 112px !important;
  object-fit: contain !important;
  display: block;
  border-radius: 10px;
  background: #ffffff;
}

/* BirisM Monitor Wrapper */
.blueiris-monitor-wrap {
  width: 100%;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1.5rem;
}

.blueiris-monitor-wrap .blueiris-monitor-img {
  width: 100% !important;
  max-width: 480px !important;
  height: auto !important;
  max-height: 380px !important;
  object-fit: contain !important;
  display: block;
  filter: drop-shadow(0 20px 30px rgba(15, 23, 42, 0.22));
  transition: transform 0.4s ease;
}

.blueiris-media-showcase:hover .blueiris-monitor-img {
  transform: translateY(-4px) scale(1.02);
}

/* Live Status Pill at bottom right */
.blueiris-live-indicator {
  position: absolute;
  bottom: 1rem;
  right: 1.2rem;
  z-index: 5;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f8fafc;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  letter-spacing: 0.02em;
}

.blueiris-live-indicator .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-live 2s infinite ease-in-out;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

@media (max-width: 600px) {
  .feature-split-media.blueiris-media-showcase {
    padding: 1.5rem 1rem 1rem;
    min-height: auto;
  }
  .blueiris-badge-card {
    position: static;
    margin-bottom: 1rem;
  }
  .blueiris-badge-card .blueiris-badge-img {
    width: 90px !important;
    height: 90px !important;
    max-height: 90px !important;
  }
  .blueiris-monitor-wrap {
    padding-top: 0;
  }
  .blueiris-live-indicator {
    position: static;
    margin-top: 0.8rem;
    align-self: center;
  }
}

/* Process Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}
.step-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 16px;
  padding: 1.8rem;
  position: relative;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: #2563eb;
}
.step-num {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 900;
  color: #93c5fd;
  line-height: 1;
  margin-bottom: 0.8rem;
}
.step-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}
.step-card p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
}

/* Direct CTA Banner */
.service-cta-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #2563eb 100%);
  border-radius: 20px;
  padding: 3.5rem;
  color: #ffffff;
  box-shadow: 0 20px 45px rgba(30, 58, 138, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  margin: 4.5rem 0;
}
.service-cta-text h3 {
  font-size: 2.1rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.service-cta-text p {
  font-size: 1.05rem;
  color: #bfdbfe;
  max-width: 620px;
  line-height: 1.55;
}
.service-cta-btns {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.service-cta-btn-white {
  background: #ffffff;
  color: #1e3a8a !important;
  font-weight: 800;
  padding: 0.95rem 1.6rem;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}
.service-cta-btn-white:hover {
  background: #f8fafc;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}
.service-cta-btn-transp {
  background: rgba(15, 23, 42, 0.45);
  color: #ffffff !important;
  font-weight: 800;
  border: 2px solid rgba(255, 255, 255, 0.9);
  padding: 0.95rem 1.6rem;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  transition: all 0.25s ease;
}
.service-cta-btn-transp:hover {
  background: #ffffff;
  color: #1e3a8a !important;
  border-color: #ffffff;
  text-shadow: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.feature-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .service-detail-hero-grid,
  .feature-split-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .feature-split-row,
  .feature-split-row.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .feature-split-row.reverse .feature-split-media,
  .feature-split-row.reverse .feature-split-content {
    order: unset;
  }
  .service-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 2.5rem 1.8rem;
  }
  .service-hero-title {
    font-size: 2.2rem;
  }
}

/* ==========================================================================
   CUSTOMER SERVICE - HERO SLIDESHOW WITH FLOOR REFLECTION
   ========================================================================== */
.cs-hero-section {
  position: relative;
  background: radial-gradient(circle at 70% 30%, #1e3a8a 0%, #0c1836 60%, #060b18 100%);
  padding: 13.5rem 0 4.5rem 0; /* Clear 200px fixed header */
  overflow: hidden;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cs-hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(59, 130, 246, 0.18) 1px, transparent 1px),
    radial-gradient(rgba(37, 99, 235, 0.1) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
  pointer-events: none;
  opacity: 0.65;
}

.cs-slides-wrapper {
  position: relative;
  min-height: 490px;
}

.cs-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(40px) scale(0.98);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.cs-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.cs-slide-content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  z-index: 2;
  text-align: left;
}

.cs-slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.22);
  color: #93c5fd;
  border: 1px solid rgba(147, 197, 253, 0.35);
  width: fit-content;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.25);
}

.cs-slide-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.cs-slide-desc {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  max-width: 580px;
}

.cs-slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  align-items: center;
  margin-top: 0.4rem;
}

/* Floor Reflection Stage */
.cs-reflection-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  padding-bottom: 75px; /* Spazio elegante per il riflesso a pavimento */
  z-index: 2;
}

.cs-reflection-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 
    0 24px 48px rgba(0, 0, 0, 0.65),
    0 0 35px rgba(37, 99, 235, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  background: #0b1329;
  transform: rotateY(-3.5deg) rotateX(2deg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
  
  /* Webkit Box Reflect per Chrome/Edge/Safari/Blink */
  -webkit-box-reflect: below 8px linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.55) 100%);
}

.cs-reflection-card:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.025);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.75),
    0 0 45px rgba(59, 130, 246, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.cs-reflection-card img {
  width: 100%;
  height: 295px;
  object-fit: cover;
  display: block;
}

/* Specchio/Riflesso Fallback Universale per Firefox e tutti i browser */
.cs-reflection-mirror {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-width: 480px;
  margin-top: 8px;
  height: 120px;
  overflow: hidden;
  border-radius: 0 0 16px 16px;
  transform: scaleY(-1);
  opacity: 0.42;
  filter: blur(0.6px);
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 80%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 80%);
  pointer-events: none;
}

@supports (-webkit-box-reflect: below 1px linear-gradient(transparent, transparent)) {
  /* Se webkit-box-reflect è supportato nativamente, nascondi l'elemento specchio duplicato per evitare doppie sovrapposizioni */
  .cs-reflection-mirror {
    display: none;
  }
}

.cs-reflection-mirror img {
  width: 100%;
  height: 295px;
  object-fit: cover;
  display: block;
}

/* Luce soffusa / bagliore a pavimento */
.cs-reflection-stage::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  height: 42px;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.5) 0%, rgba(37, 99, 235, 0) 75%);
  filter: blur(14px);
  pointer-events: none;
  z-index: 1;
}

/* Frecce di navigazione slideshow */
.cs-nav-arrows {
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  z-index: 10;
  padding: 0 0.5rem;
}

.cs-arrow-btn {
  pointer-events: auto;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.cs-arrow-btn:hover {
  background: #2563eb;
  border-color: #93c5fd;
  transform: scale(1.12);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.6);
}

/* Indicatori Dots */
.cs-dots-row {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.8rem;
  z-index: 5;
  position: relative;
}

.cs-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-dot:hover {
  background: rgba(255, 255, 255, 0.65);
}

.cs-dot.active {
  width: 36px;
  border-radius: 6px;
  background: #3b82f6;
  border-color: #bfdbfe;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.85);
}

/* Striscia Tab per Salto Rapido ai 4 Argomenti */
.cs-tabs-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.8rem;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  z-index: 5;
}

.cs-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.45rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cs-tab-btn:hover,
.cs-tab-btn.active {
  background: #2563eb;
  border-color: #93c5fd;
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
  color: #ffffff;
}

/* ==========================================================================
   SEZIONI DI DETTAGLIO CUSTOMER SERVICE (TERMINI, FAQ, GARANZIE, PRIVACY)
   ========================================================================== */
.cs-content-section {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.cs-section-alt {
  background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
}

.cs-section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.cs-section-header h2 {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.cs-section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Grid Card Termini e Condizioni */
.cs-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.cs-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 2.2rem 1.8rem;
  border: 1px solid rgba(37, 99, 235, 0.12);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.3s ease;
}

.cs-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.3);
}

.cs-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.cs-card-text {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* FAQ Accordion Styling */
.cs-faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cs-faq-item {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transition: all 0.25s ease;
}

.cs-faq-item.active {
  border-color: #2563eb;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
}

.cs-faq-question {
  width: 100%;
  padding: 1.35rem 1.6rem;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.cs-faq-question:hover {
  color: var(--primary-blue);
}

.cs-faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform 0.3s ease, background 0.2s ease;
}

.cs-faq-item.active .cs-faq-toggle-icon {
  transform: rotate(45deg);
  background: #2563eb;
  color: #ffffff;
}

.cs-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 1.6rem;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.68;
}

.cs-faq-item.active .cs-faq-answer {
  max-height: 400px;
  padding: 0 1.6rem 1.4rem 1.6rem;
}

/* Garanzie: Value Highlights & Process */
.cs-guarantee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.cs-guarantee-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(37, 99, 235, 0.12);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.cs-guarantee-badge {
  font-size: 2.2rem;
  line-height: 1;
}

.cs-guarantee-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.cs-guarantee-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cs-steps-box {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  padding: 2.8rem 2.2rem;
}

.cs-steps-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.8rem;
  text-align: center;
}

.cs-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}

.cs-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  position: relative;
}

.cs-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.cs-step-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.cs-step-info {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Privacy Structured Articles */
.cs-privacy-container {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cs-privacy-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  padding: 2rem 2.2rem;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.cs-privacy-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e3a8a;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cs-privacy-card p {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.cs-privacy-card ul {
  margin: 0.5rem 0 0 1.2rem;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* Bottom CTA Banner */
.cs-banner-cta {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #0f172a 100%);
  border-radius: 18px;
  padding: 3.5rem 3rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
  margin-top: 3.5rem;
}

.cs-banner-cta-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cs-banner-cta-content h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
}

.cs-banner-cta-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.cs-banner-cta-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

/* Media Queries for CS */
@media (max-width: 1024px) {
  .cs-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cs-guarantee-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cs-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .cs-slide {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .cs-slide-content {
    align-items: center;
    text-align: center;
  }
  .cs-slide-actions {
    justify-content: center;
  }
  .cs-slide-title {
    font-size: 2.2rem;
  }
  .cs-banner-cta {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .cs-cards-grid,
  .cs-guarantee-grid,
  .cs-steps-grid {
    grid-template-columns: 1fr;
  }
  .cs-tab-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   SAMSUNG GALAXY S25 ULTRA 3D INTERACTIVE VIEWER (telefonia.html)
   ========================================================================== */
.s25-3d-wrapper {
  position: relative;
  width: 100%;
  height: 480px;
  background: radial-gradient(circle at 50% 35%, #172554 0%, #0c152e 60%, #060b18 100%);
  border-radius: 20px;
  border: 1px solid rgba(59, 130, 246, 0.35);
  box-shadow: 
    0 25px 50px -12px rgba(15, 23, 42, 0.45),
    0 0 30px rgba(37, 99, 235, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  user-select: none;
}

.s25-3d-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(59, 130, 246, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.6;
}

#s25-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  cursor: grab;
  z-index: 1;
}

#s25-canvas:active {
  cursor: grabbing;
}

/* Header overlay */
.s25-header-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.4rem;
  background: linear-gradient(180deg, rgba(6, 11, 24, 0.75) 0%, transparent 100%);
  pointer-events: none;
}

.s25-title-tag {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.s25-model-name {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.s25-badge-5g {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.35);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.4);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.s25-hint-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.75rem;
  color: #93c5fd;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Controls Bar at bottom */
.s25-controls-bar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 1rem 1.4rem;
  background: linear-gradient(0deg, rgba(6, 11, 24, 0.9) 0%, rgba(6, 11, 24, 0.4) 75%, transparent 100%);
}

.s25-view-presets {
  display: flex;
  gap: 0.45rem;
}

.s25-ctrl-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.38rem 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.s25-ctrl-btn:hover,
.s25-ctrl-btn.active {
  background: #2563eb;
  border-color: #60a5fa;
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.5);
  transform: translateY(-1px);
}

.s25-color-picker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.s25-color-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  font-family: var(--font-mono);
}

.s25-swatches {
  display: flex;
  gap: 0.4rem;
}

.s25-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.s25-swatch:hover,
.s25-swatch.active {
  transform: scale(1.2);
  border-color: #60a5fa;
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.8);
}

.swatch-silver { background: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 100%); }
.swatch-blue   { background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%); }
.swatch-black  { background: linear-gradient(135deg, #334155 0%, #0f172a 100%); }

@media (max-width: 640px) {
  .s25-3d-wrapper {
    height: 400px;
  }
  .s25-controls-bar {
    justify-content: center;
  }
}

/* ============================================================
   ASSISTENZA TECNICA & CONTRATTI DI ASSISTENZA ONSITE
   ============================================================ */

/* Section Contratti Onsite */
.contracts-section {
  padding: 5rem 0 5.5rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.contracts-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.contracts-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-full);
  color: #2563eb;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.contracts-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.contracts-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Pricing Grid */
.contracts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.contract-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.contract-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
  border-color: #93c5fd;
}

/* Featured / Pro Card */
.contract-card.featured {
  border: 2px solid #2563eb;
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.16);
  transform: scale(1.03);
  z-index: 2;
}

.contract-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
  box-shadow: 0 20px 44px rgba(37, 99, 235, 0.24);
}

/* Full / Top Card */
.contract-card.premium {
  border: 1.5px solid #0f172a;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
}

.contract-card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #2563eb;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  white-space: nowrap;
}

.contract-card-badge.gold {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid #38bdf8;
  color: #38bdf8;
}

.contract-card-head {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.contract-card-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.contract-card-target {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.contract-card-price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.contract-card-price {
  font-size: 2.8rem;
  font-weight: 800;
  color: #2563eb;
  line-height: 1;
}

.contract-card.premium .contract-card-price {
  color: #0f172a;
}

.contract-card-price-unit {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.contract-card-hours-pill {
  display: inline-block;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius-full);
  border: 1.5px solid #bfdbfe;
  margin-top: 0.5rem;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.contract-card.featured .contract-card-hours-pill {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.contract-card.premium .contract-card-hours-pill {
  background: #0f172a;
  color: #38bdf8;
  border-color: #334155;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}

/* Features List */
.contract-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.contract-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.contract-feature-item strong {
  color: var(--text-primary);
}

.contract-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.72rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contract-cross {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contract-card-btn {
  width: 100%;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-block;
  border: none;
}

.btn-contract-basic {
  background: #f1f5f9;
  color: #1e293b;
  border: 1px solid var(--border-color);
}

.btn-contract-basic:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.btn-contract-pro {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-contract-pro:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
}

.btn-contract-full {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.35);
}

.btn-contract-full:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.45);
}

/* Note in calce ai contratti */
.contracts-footer-notes {
  margin-top: 3rem;
  padding: 1.5rem 2rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contracts-notes-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contracts-notes-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contracts-notes-text strong {
  color: var(--text-primary);
}

/* Modalità di Intervento (On Center, On Site, Remoto) */
.intervention-modes-section {
  padding: 5rem 0;
}

.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.mode-card-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.mode-card-item:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: var(--shadow-md);
}

.mode-card-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(56, 189, 248, 0.1) 100%);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.mode-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.mode-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.mode-card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.mode-card-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #475569;
  font-weight: 600;
}

/* Panoramica Servizi Grid (from panoramica.html) */
.services-panoramica-section {
  padding: 5rem 0;
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.panoramica-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.panoramica-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.panoramica-card:hover {
  transform: translateY(-4px);
  border-color: #60a5fa;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1);
}

.panoramica-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.panoramica-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.panoramica-card-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.panoramica-card-bullets li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.panoramica-bullet-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3b82f6;
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .contracts-grid,
  .modes-grid,
  .panoramica-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .contract-card.featured {
    transform: none;
  }
  .contract-card.featured:hover {
    transform: translateY(-6px);
  }
}

/* ==========================================================================
   INTERACTIVE MAP SECTION (contatti.html - Emeta snc Piacenza)
   ========================================================================== */
.contact-map-section {
  padding: 0 0 5rem 0;
}

.contact-map-card {
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-map-card:hover {
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
}

.contact-map-header {
  padding: 1.8rem 2.4rem;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border-bottom: 1px solid rgba(37, 99, 235, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.contact-map-frame-wrapper {
  position: relative;
  width: 100%;
  height: 440px;
  background: #e2e8f0;
}

.contact-map-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .contact-map-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }
  .contact-map-header .btn {
    width: 100%;
    justify-content: center;
  }
  .contact-map-frame-wrapper {
    height: 350px;
  }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON (Global)
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 62px;
  height: 62px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42), 0 3px 8px rgba(0, 0, 0, 0.12);
  z-index: 9990;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55), 0 4px 10px rgba(0, 0, 0, 0.15);
  background: #20ba59;
}

.whatsapp-float-icon {
  width: 34px;
  height: 34px;
  fill: #ffffff;
}

.whatsapp-float-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  background: #0f172a;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.whatsapp-float-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #0f172a;
}

.whatsapp-float:hover .whatsapp-float-tooltip {
  opacity: 1;
  visibility: visible;
  right: calc(100% + 10px);
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
  }
  .whatsapp-float-icon {
    width: 30px;
    height: 30px;
  }
  .whatsapp-float-tooltip {
    display: none;
  }
}

/* ==========================================================================
   COOKIE & PRIVACY CONSENT MODAL (Iubenda Style - Centered Window)
   ========================================================================== */
.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.cookie-modal-card {
  background: #ffffff;
  max-width: 680px;
  width: 100%;
  border-radius: 24px;
  padding: 2.4rem 2.8rem;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.3), 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  transform: scale(0.92) translateY(24px);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-body);
  position: relative;
}

.cookie-modal-overlay.show .cookie-modal-card {
  transform: scale(1) translateY(0);
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.4rem;
}

.cookie-modal-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(56, 189, 248, 0.18) 100%);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.cookie-modal-title-wrap h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.25rem 0;
  font-family: var(--font-title);
  letter-spacing: -0.01em;
}

.cookie-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  padding: 2px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(37, 99, 235, 0.16);
}

.cookie-modal-body {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.62;
  margin-bottom: 1.8rem;
}

.cookie-modal-body p {
  margin: 0 0 1rem 0;
}

.cookie-modal-body p:last-child {
  margin-bottom: 0;
}

.cookie-modal-note-box {
  background: #f8fafc;
  border-left: 3px solid #2563eb;
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  margin: 1rem 0;
  font-size: 0.88rem;
  color: #334155;
}

.cookie-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid #f1f5f9;
}

.cookie-btn-decline {
  background: #ffffff;
  color: #475569;
  border: 1.5px solid #cbd5e1;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.8rem 1.6rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-btn-decline:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}

.cookie-btn-accept {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  border: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.38);
  transition: all 0.25s ease;
}

.cookie-btn-accept:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.48);
}

@media (max-width: 680px) {
  .cookie-modal-card {
    padding: 1.8rem 1.5rem;
    border-radius: 20px;
  }
  .cookie-modal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .cookie-modal-actions {
    flex-direction: column-reverse;
    gap: 0.75rem;
  }
  .cookie-btn-decline,
  .cookie-btn-accept {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================================
   SHOP DINAMICO, HERO RIFLESSO, SIDEBAR FILTRI, CARRELLO & CHECKOUT PAYPAL
   ========================================================================== */
.shop-hero-section {
  position: relative;
  min-height: 540px;
  padding: 13.5rem 0 4.5rem 0;
  overflow: hidden;
  color: #ffffff;
  background: #071127;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.shop-hero-wallpapers {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.shop-hero-wp {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.1s ease-in-out, transform 6.5s ease-out;
}

.shop-hero-wp.active {
  opacity: 0.48;
  transform: scale(1.09);
}

.shop-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, rgba(7, 17, 39, 0.94) 0%, rgba(15, 34, 78, 0.78) 52%, rgba(7, 17, 39, 0.86) 100%);
}

.shop-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.shop-hero-copy {
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: var(--radius-lg);
  padding: 2rem 2.2rem;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
}

.shop-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.32);
  color: #bae6fd;
  border: 1px solid rgba(125, 211, 252, 0.35);
  margin-bottom: 0.9rem;
}

.shop-hero-title {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.12;
  margin-bottom: 0.85rem;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
}

.shop-hero-lead {
  font-size: 1.06rem;
  line-height: 1.65;
  color: #e2e8f0;
  margin-bottom: 1.25rem;
}

.shop-hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.shop-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  padding: 0.42rem 0.9rem;
}

.shop-hero-sync {
  font-size: 0.82rem;
  color: #93c5fd;
  font-weight: 600;
}

.shop-reflection-stage {
  padding-bottom: 70px;
}

.shop-reflection-card img {
  height: 280px;
}

.shop-reflection-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 1.1rem;
  background: linear-gradient(to top, rgba(6, 11, 24, 0.9), rgba(6, 11, 24, 0));
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
}

.shop-hero-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.shop-hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition: all 0.2s ease;
}

.shop-hero-dot.active {
  width: 26px;
  border-radius: 999px;
  background: #38bdf8;
}

/* Shop Layout: Sidebar Sinistra + Griglia Prodotti */
.shop-main-section {
  padding-top: 2.5rem;
}

.shop-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 2rem;
  align-items: start;
}

.shop-sidebar {
  position: sticky;
  top: 120px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.shop-sidebar-search {
  position: relative;
}

.shop-sidebar-search svg {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.shop-sidebar-search .shop-search-input {
  padding-right: 2.4rem;
}

.shop-filter-group {
  border-top: 1px solid var(--border-color);
  padding-top: 0.95rem;
}

.shop-filter-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  font-family: var(--font-title);
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 0.2rem 0;
}

.shop-filter-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.7rem;
  max-height: 250px;
  overflow-y: auto;
}

.shop-filter-group.collapsed .shop-filter-list {
  display: none;
}

.shop-filter-group.collapsed .shop-filter-chevron {
  transform: rotate(180deg);
}

.shop-filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.22rem 0.25rem;
  border-radius: 6px;
  transition: background var(--transition-fast);
}

.shop-filter-option:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.shop-filter-option-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.shop-filter-option input {
  accent-color: var(--accent);
  width: 15px;
  height: 15px;
  cursor: pointer;
  flex-shrink: 0;
}

.shop-filter-count {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 700;
}

.shop-reset-btn {
  border: 1px dashed var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.8rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.shop-reset-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.shop-content-area {
  min-width: 0;
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.shop-search-wrap {
  flex: 1 1 220px;
  position: relative;
}

.shop-search-input,
.shop-select {
  width: 100%;
  padding: 0.68rem 0.95rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.shop-select {
  width: auto;
  min-width: 175px;
  cursor: pointer;
}

.shop-search-input:focus,
.shop-select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.shop-promo-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-fast);
}

.shop-promo-toggle input {
  accent-color: var(--accent);
  cursor: pointer;
}

.shop-promo-toggle.active {
  background: rgba(245, 158, 11, 0.12);
  border-color: var(--warning);
  color: #b45309;
}

.shop-novita-toggle.active {
  background: rgba(37, 99, 235, 0.12);
  border-color: var(--accent);
  color: var(--accent);
}

.shop-count-label {
  margin-left: auto;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.shop-status-banner {
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.shop-status-banner.error {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.06);
  color: #991b1b;
}

.shop-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.85rem;
}

@media (max-width: 860px) {
  .shop-products-grid {
    grid-template-columns: 1fr;
  }
}

.shop-card {
  position: relative;
  cursor: pointer;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px -1px rgba(15, 23, 42, 0.05), 0 1px 4px -1px rgba(15, 23, 42, 0.03);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.shop-card:hover {
  transform: translateY(-4px);
  border-color: #2563eb;
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
}

.shop-card .product-img-wrapper {
  height: 250px;
  background: #f8fafc;
  padding: 1.5rem;
  border-bottom: 1px solid #edf2f7;
}

.shop-card .product-img-wrapper img {
  max-height: 215px;
  max-width: 92%;
  object-fit: contain;
}

.shop-card .product-info {
  padding: 1.35rem 1.5rem;
  gap: 0.85rem;
}

.shop-ribbon-novita {
  position: absolute;
  top: 14px;
  left: -32px;
  width: 128px;
  text-align: center;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0;
  transform: rotate(-42deg);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.28);
  z-index: 3;
  pointer-events: none;
}

.shop-badge-promo-corner {
  position: absolute;
  top: 0.95rem;
  right: 0.95rem;
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.28);
  z-index: 3;
  pointer-events: none;
}

.shop-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.shop-card-brand {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
}

.shop-card-code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.shop-stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-full);
  width: fit-content;
}

.shop-stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.shop-stock-pill.in-stock {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.shop-stock-pill.in-stock .shop-stock-dot {
  background: #10b981;
}

.shop-stock-pill.unavailable {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
}

.shop-stock-pill.unavailable .shop-stock-dot {
  background: #ef4444;
}

.shop-card-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
  white-space: pre-line;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-note-promo {
  font-size: 0.85rem;
  font-weight: 700;
  color: #b45309;
  background: rgba(245, 158, 11, 0.1);
  border-left: 3px solid var(--warning);
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
}

.shop-card-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.shop-btn-sm {
  padding: 0.6rem 1rem !important;
  font-size: 0.88rem !important;
  border-radius: 8px !important;
}

.shop-img-clickable img {
  transition: transform 0.3s ease;
}

.shop-card:hover .shop-img-clickable img {
  transform: scale(1.04);
}

.shop-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: var(--bg-secondary);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
}

/* Modal Dettaglio Prodotto */
.shop-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(5px);
  z-index: 10500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}

.shop-modal-backdrop.open {
  display: flex;
}

.shop-modal-card {
  background: var(--bg-primary);
  border-radius: 16px;
  max-width: 1040px;
  width: 96%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35);
  padding: 2.2rem 2.4rem;
  position: relative;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.shop-modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #1e293b;
  font-size: 1.3rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
  z-index: 20;
}

.shop-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: scale(1.08);
}

.shop-modal-body {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.4rem;
  align-items: start;
}

.shop-modal-left-col {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.shop-modal-right-col {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  padding-right: 2.5rem; /* Safe breathing space to NEVER overlap with close button X */
}

.shop-modal-main-img {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.shop-modal-main-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.shop-modal-thumbs {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.shop-modal-thumb {
  width: 64px;
  height: 64px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 4px;
  background: #ffffff;
  cursor: pointer;
  object-fit: contain;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.shop-modal-thumb:hover {
  border-color: #94a3b8;
  transform: translateY(-2px);
}

.shop-modal-thumb.active {
  border-color: var(--accent);
}

/* Trust Box under photos */
.shop-modal-trust-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.3rem;
}

.shop-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.shop-trust-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #eff6ff;
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.shop-trust-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.shop-trust-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0f172a;
}

.shop-trust-desc {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
}

.shop-modal-specs-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  max-height: 330px;
  overflow-y: auto;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #1e293b;
  white-space: pre-line;
}

.shop-modal-specs-box::-webkit-scrollbar {
  width: 6px;
}
.shop-modal-specs-box::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.shop-modal-main-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.shop-modal-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.shop-modal-thumb {
  width: 56px;
  height: 56px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 3px;
  background: var(--bg-secondary);
  cursor: pointer;
  object-fit: contain;
}

.shop-modal-thumb.active {
  border-color: var(--accent);
}

/* Cart Drawer & Checkout */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
  z-index: 10600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.cart-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(500px, 100vw);
  height: 100vh;
  background: var(--bg-primary);
  box-shadow: -12px 0 40px rgba(15, 23, 42, 0.18);
  z-index: 10610;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.cart-drawer-header h2 {
  font-size: 1.25rem;
  margin: 0;
}

.cart-drawer-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cart-item-row {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border-color);
}

.cart-item-thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.cart-qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.cart-qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 700;
  cursor: pointer;
}

.cart-remove-btn {
  border: none;
  background: transparent;
  color: var(--danger);
  font-size: 1rem;
  cursor: pointer;
  padding: 0.2rem 0.35rem;
}

.cart-shipping-box,
.cart-summary-box,
.cart-checkout-form {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.cart-ship-option {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.cart-summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-color);
}

.cart-free-ship-note {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
}

.cart-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cart-field-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.cart-field-group input,
.cart-field-group textarea {
  width: 100%;
  padding: 0.58rem 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.cart-payment-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ==========================================================================
   CHECKOUT DEDICATED FULL PAGE (carrello.html)
   ========================================================================== */

.checkout-page-body {
  background-color: #f8fafc;
}

.checkout-main-container {
  padding-bottom: 5rem;
}

.checkout-page-header {
  position: relative;
  min-height: 400px;
  padding: 11rem 0 4rem;
  color: #ffffff;
  background-color: #071127;
  background-image: 
    linear-gradient(135deg, rgba(8, 18, 45, 0.76) 0%, rgba(15, 38, 92, 0.64) 50%, rgba(30, 64, 175, 0.52) 100%),
    url('carrelloUP.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.checkout-page-header::after {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.checkout-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.checkout-breadcrumb a {
  color: #93c5fd;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.checkout-breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.crumb-separator {
  color: rgba(255, 255, 255, 0.4);
}

.crumb-current {
  color: #ffffff;
  font-weight: 700;
}

.checkout-page-title {
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.checkout-page-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 780px;
  line-height: 1.5;
}

.checkout-page-header .container,
.checkout-content-section,
.checkout-content-section.container,
.checkout-content-section .container {
  max-width: 1540px !important;
  width: 95% !important;
  padding: 0 1.5rem;
}

.checkout-content-section {
  margin-top: -1.8rem;
  position: relative;
  z-index: 5;
}

/* Empty State */
.checkout-empty-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 4.5rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  max-width: 650px;
  margin: 0 auto;
}

.checkout-empty-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.checkout-empty-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.checkout-empty-text {
  font-size: 1rem;
  color: #64748b;
  max-width: 440px;
  margin: 0 auto;
}

/* Grid Layout */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 2.8rem;
  align-items: start;
}

@media (max-width: 1160px) {
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
}

.checkout-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.8rem 2.2rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.checkout-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid #f1f5f9;
}

.checkout-step-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.28);
}

.checkout-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.2rem;
}

.checkout-card-subtitle {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.4;
}

/* Switch Persona Fisica vs Giuridica (Full Width Stacked Cards) */
.checkout-type-selector-stacked {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.6rem;
}

.checkout-type-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.15rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.02);
  user-select: none;
}

.checkout-type-card:hover {
  border-color: #93c5fd;
  background: #f8fafc;
  transform: translateY(-1px);
}

.checkout-type-card.active {
  border-color: #2563eb;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.12);
}

.checkout-type-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.type-radio-bullet {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
  background: #ffffff;
}

.checkout-type-card.active .type-radio-bullet {
  border-color: #2563eb;
  background: #2563eb;
  box-shadow: inset 0 0 0 3.5px #ffffff;
}

.type-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.checkout-type-card.active .type-card-icon {
  background: #dbeafe;
  color: #1d4ed8;
}

.type-card-body {
  flex: 1;
  min-width: 0;
}

.type-card-title-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.15rem;
}

.type-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}

.checkout-type-card.active .type-card-title {
  color: #1e40af;
}

.type-card-badge {
  font-size: 0.68rem;
  font-weight: 700;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  padding: 0.12rem 0.5rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.type-card-badge.sdi-badge {
  background: #f0fdf4;
  color: #15803d;
  border-color: #bbf7d0;
}

.type-card-desc {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.35;
  display: block;
}

/* Form Sections and Inputs */
.checkout-form-section-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  border-bottom: 1.5px solid #f1f5f9;
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (max-width: 580px) {
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

.form-row-3 {
  display: flex;
  gap: 0.85rem;
}

@media (max-width: 580px) {
  .form-row-3 {
    flex-direction: column;
    gap: 0.75rem;
  }
}

.form-row-address {
  display: grid;
  grid-template-columns: 95px 1fr 75px;
  gap: 0.75rem;
  align-items: start;
}

@media (max-width: 540px) {
  .form-row-address {
    grid-template-columns: 1fr 1fr;
  }
  .form-row-address .form-group:nth-child(2) {
    grid-column: span 2;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.85rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  line-height: 1.25;
}

.req {
  color: #ef4444;
  font-weight: 800;
  margin-left: 2px;
}

.checkout-form-legend {
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px dashed #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.checkout-form-legend .req {
  font-size: 0.85rem;
}

.form-input,
.form-textarea {
  width: 100%;
  height: 38px;
  padding: 0.45rem 0.8rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  background-color: #ffffff;
  color: #0f172a;
  font-family: var(--font-body);
  font-size: 0.84rem;
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.form-textarea {
  height: auto;
  min-height: 56px;
  padding: 0.5rem 0.8rem;
}

.form-input.uppercase {
  text-transform: uppercase;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
  background-color: #ffffff;
}

.form-input.error,
.form-textarea.error {
  border-color: #ef4444 !important;
  background-color: #fef2f2 !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2) !important;
}

.form-hint {
  font-size: 0.70rem;
  color: #64748b;
  margin-top: 0.15rem;
  line-height: 1.3;
}

/* Fatturazione Elettronica Box */
.checkout-fe-box {
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 0.9rem 1.15rem;
  margin-bottom: 1.1rem;
}

.fe-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.fe-header strong {
  font-size: 0.85rem;
  color: #1e40af;
}

.fe-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.70rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  border: 1px solid #bfdbfe;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}

.fe-desc {
  font-size: 0.73rem;
  color: #475569;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.form-row-fe {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 0.85rem;
}

@media (max-width: 520px) {
  .form-row-fe {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* Destinazione Diversa Toggle e Card */
.checkout-diff-dest-toggle {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-top: 1.2rem;
}

.custom-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.92rem;
  color: #1e293b;
}

.custom-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #2563eb;
  cursor: pointer;
}

.checkout-diff-dest-card {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 1.2rem;
}

/* ==========================================
   COLONNA DESTRA: RIEPILOGO STICKY
   ========================================== */

.checkout-summary-column {
  position: sticky;
  top: 110px;
}

.checkout-summary-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
}

.checkout-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 1.2rem;
}

.checkout-summary-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

.checkout-items-count {
  font-size: 0.82rem;
  font-weight: 700;
  background: #eff6ff;
  color: #2563eb;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid #dbeafe;
}

/* Items List */
.checkout-items-list {
  max-height: 280px;
  overflow-y: auto;
  margin-bottom: 1.5rem;
  padding-right: 0.35rem;
}

.checkout-item-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #f8fafc;
}

.checkout-item-row:last-child {
  border-bottom: none;
}

.checkout-item-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 4px;
  flex-shrink: 0;
}

.checkout-item-placeholder {
  width: 54px;
  height: 54px;
  background: #f1f5f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.checkout-item-details {
  flex: 1;
  min-width: 0;
}

.checkout-item-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.checkout-item-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: #64748b;
}

.checkout-item-total-mobile {
  display: none;
  font-size: 0.86rem;
  font-weight: 800;
  color: #2563eb;
  margin-top: 0.2rem;
}

@media (max-width: 480px) {
  .checkout-item-total-desktop {
    display: none;
  }
  .checkout-item-total-mobile {
    display: block;
  }
}

.checkout-qty-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 2px 4px;
}

.checkout-qty-btn {
  width: 24px;
  height: 24px;
  border: none;
  background: #ffffff;
  color: #0f172a;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.checkout-qty-btn:hover {
  background: #2563eb;
  color: #ffffff;
}

.checkout-qty-num {
  min-width: 20px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #0f172a;
}

.checkout-remove-btn {
  width: 22px;
  height: 22px;
  border: none;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: color var(--transition-fast);
}

.checkout-remove-btn:hover {
  color: #ef4444;
}

.checkout-item-total-desktop {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  text-align: right;
  min-width: 70px;
}

/* Shipping Selector */
.checkout-shipping-selector-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.15rem;
  margin-bottom: 1.4rem;
}

.checkout-shipping-opt-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
}

.checkout-ship-radio {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
  margin-bottom: 0.6rem;
  transition: all var(--transition-fast);
}

.checkout-ship-radio:last-of-type {
  margin-bottom: 0;
}

.checkout-ship-radio.selected {
  border-color: #2563eb;
  background: #f0f7ff;
}

.checkout-ship-radio input[type="radio"] {
  margin-top: 3px;
  accent-color: #2563eb;
}

.ship-radio-body {
  flex: 1;
}

.ship-radio-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.ship-radio-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
}

.ship-radio-price {
  font-size: 0.9rem;
  font-weight: 800;
  color: #1e3a8a;
}

.ship-radio-desc {
  display: block;
  font-size: 0.76rem;
  color: #64748b;
  margin-top: 0.15rem;
}

.checkout-shipping-threshold-banner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  font-size: 0.82rem;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  margin-top: 0.75rem;
}

.checkout-shipping-threshold-banner.success {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #047857;
}

/* Totals Box */
.checkout-totals-box {
  border-top: 1.5px dashed #e2e8f0;
  border-bottom: 1.5px dashed #e2e8f0;
  padding: 1.1rem 0;
  margin-bottom: 1.4rem;
}

.checkout-totals-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
  color: #475569;
  margin-bottom: 0.45rem;
}

.checkout-totals-final {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid #f1f5f9;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

.checkout-totals-price {
  font-size: 1.45rem;
  font-weight: 900;
  color: #1e3a8a;
}

/* Payment Box: Compact, elegant and centered buttons */
.checkout-payment-box {
  margin-bottom: 1.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
}

.checkout-payment-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #475569;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
  text-align: center;
}

.checkout-payment-buttons-group {
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.checkout-paypal-wrapper {
  width: 100%;
  max-width: 320px;
  margin-bottom: 0.2rem;
}

#paypal-button-container {
  width: 100% !important;
  max-width: 320px !important;
  margin: 0 auto !important;
}

#paypal-button-container > div,
#paypal-button-container iframe {
  width: 100% !important;
  max-width: 320px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

.checkout-or-divider {
  display: flex;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 240px;
  margin: 0.45rem auto;
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.checkout-or-divider::before,
.checkout-or-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #cbd5e1;
}

.checkout-or-divider span {
  padding: 0 0.65rem;
}

.checkout-btn-bonifico {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: 42px;
  min-height: 42px;
  padding: 0 1rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #ffffff !important;
  border: none;
  border-radius: 6px;
  font-family: var(--font-body, "Montserrat", sans-serif);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.22);
}

.checkout-btn-bonifico:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(37, 99, 235, 0.35);
}

/* Trust Box */
.checkout-trust-box {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.35;
}

/* Confirmed Order Receipt */
.checkout-receipt-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 3.5rem 3rem;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.06);
}

@media (max-width: 680px) {
  .checkout-receipt-card {
    padding: 2.2rem 1.5rem;
  }
}

.checkout-receipt-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.checkout-receipt-title {
  font-size: 1.95rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.checkout-receipt-subtitle {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 1.8rem;
}

.checkout-receipt-code-box {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.receipt-code-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: #047857;
  letter-spacing: 0.05em;
}

.receipt-code-value {
  font-size: 1.25rem;
  font-family: monospace;
  font-weight: 900;
  color: #065f46;
}

.checkout-receipt-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  text-align: left;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.8rem;
  margin-bottom: 1.8rem;
}

@media (max-width: 680px) {
  .checkout-receipt-details-grid {
    grid-template-columns: 1fr;
  }
}

.receipt-col h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1e3a8a;
  margin-bottom: 0.65rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.35rem;
}

.receipt-col p {
  font-size: 0.88rem;
  color: #334155;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  text-transform: uppercase;
}

.badge-success {
  background: #d1fae5;
  color: #065f46;
}

.badge-warning {
  background: #fef3c7;
  color: #92400e;
}

.checkout-iban-box {
  background: #eff6ff;
  border: 1.5px solid #93c5fd;
  border-radius: 16px;
  padding: 1.5rem 1.8rem;
  margin-bottom: 2rem;
  text-align: left;
}

.iban-field-row {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
  color: #1e293b;
}

.iban-code {
  background: #ffffff;
  border: 1px solid #bfdbfe;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-family: monospace;
  font-weight: 700;
  color: #1d4ed8;
}

.checkout-receipt-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (max-width: 520px) {
  .checkout-receipt-actions {
    flex-direction: column;
    width: 100%;
  }
  .checkout-receipt-actions .btn {
    width: 100%;
  }
}


@media (max-width: 980px) {
  .shop-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .shop-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .shop-hero-section {
    padding-top: 11.5rem;
  }
  .shop-modal-body {
    grid-template-columns: 1fr;
  }
  .shop-count-label {
    margin-left: 0;
  }
}

/* ==========================================================================
   MODALE CENTRALE CARRELLO (PAGINA DI MEZZO PRIMA DEL CHECKOUT)
   ========================================================================== */
.cart-central-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(5px);
  z-index: 10600;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.cart-central-backdrop.open {
  display: flex !important;
}

.cart-central-card {
  background: #ffffff;
  border-radius: 20px;
  max-width: 610px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.35);
  position: relative;
  border: 1px solid rgba(226, 232, 240, 0.95);
  animation: cartModalPop 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cartModalPop {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(14px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.cart-central-header {
  padding: 1.25rem 1.6rem 0.9rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.cart-central-header-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-central-header-text h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.15rem 0;
}

.cart-central-header-text p {
  font-size: 0.72rem;
  color: #64748b;
  margin: 0;
}

.cart-central-body {
  padding: 1rem 1.6rem;
  overflow-y: auto;
  max-height: 54vh;
}

/* Thumbnail Box unificato e sempre visibile */
.cart-thumb-box {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.cart-thumb-box.thumb-fallback {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.cart-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
  display: block;
}

/* Scheda Prodotto Appena Aggiunto */
.cart-central-added-item {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.cart-central-item-details {
  flex: 1;
  min-width: 0;
}

.cart-central-item-badge {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #059669;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.15rem;
}

.cart-central-item-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-central-item-meta {
  font-size: 0.68rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.cart-central-item-price {
  font-size: 0.90rem;
  font-weight: 800;
  color: #1e40af;
  flex-shrink: 0;
}

/* Titolo sezione lista */
.cart-central-section-label {
  font-size: 0.70rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Elenco completo articoli nel carrello */
.cart-central-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.cart-central-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.cart-central-row:last-child {
  border-bottom: none;
}

.cart-central-row-info {
  flex: 1;
  min-width: 0;
}

.cart-central-row-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-central-row-meta {
  font-size: 0.66rem;
  color: #64748b;
  margin-top: 2px;
}

.cart-central-qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 1px 3px;
}

.cart-central-qty-btn {
  width: 20px;
  height: 20px;
  border: none;
  background: #ffffff;
  color: #0f172a;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-central-qty-val {
  min-width: 18px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
}

.cart-central-del-btn {
  border: none;
  background: transparent;
  color: #ef4444;
  font-weight: 800;
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0 3px;
}

.cart-central-row-total {
  font-size: 0.78rem;
  font-weight: 800;
  color: #0f172a;
  min-width: 65px;
  text-align: right;
  flex-shrink: 0;
}

/* Totale e Spedizione */
.cart-central-summary-box {
  background: #f8fafc;
  border-radius: 12px;
  padding: 0.8rem 1.1rem;
  margin-top: 0.7rem;
}

.cart-central-summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: #475569;
  margin-bottom: 0.35rem;
}

.cart-central-summary-line.total-line {
  margin-bottom: 0;
  padding-top: 0.5rem;
  border-top: 1px dashed #cbd5e1;
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
}

.cart-central-total-price {
  color: #1e40af;
  font-size: 1.05rem;
  font-weight: 800;
}

.cart-central-free-ship-banner {
  margin-top: 0.6rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.68rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.cart-central-free-ship-banner.success {
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}

/* Footer con Azioni */
.cart-central-footer {
  padding: 0.9rem 1.6rem 1.25rem;
  border-top: 1px solid #f1f5f9;
  background: #ffffff;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0.85rem;
}

@media (max-width: 580px) {
  .cart-central-footer {
    grid-template-columns: 1fr;
  }
}

.cart-central-btn-continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  color: #334155;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.cart-central-btn-continue:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.cart-central-btn-checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.32);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.cart-central-btn-checkout:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.42);
  filter: brightness(1.05);
}

/* ==========================================================================
   PAGINA GAMING - IRONWARE PC & WORKSTATION (Parallasse & Showcase)
   ========================================================================== */
.gaming-page-header {
  position: relative;
  min-height: 460px;
  padding: 11rem 0 5rem;
  color: #ffffff;
  background-color: #071127;
  background-image: 
    linear-gradient(135deg, rgba(7, 17, 39, 0.76) 0%, rgba(15, 38, 92, 0.56) 50%, rgba(30, 64, 175, 0.40) 100%),
    url('assets/gaming_wallpaper.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.gaming-page-header::after {
  content: '';
  position: absolute;
  top: 0;
  right: -5%;
  width: 55%;
  height: 100%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.gaming-header-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.gaming-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1.05rem;
  border-radius: 9999px;
  background: rgba(30, 64, 175, 0.35);
  border: 1px solid rgba(96, 165, 250, 0.5);
  color: #93c5fd;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
  backdrop-filter: blur(8px);
}

.gaming-badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  display: inline-block;
  animation: gamingPulse 2s infinite;
}

@keyframes gamingPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.35); }
}

.gaming-page-title {
  font-size: 2.75rem;
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  color: #ffffff;
}

.gaming-page-title span {
  background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gaming-page-subtitle {
  font-size: 1.12rem;
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 760px;
  margin-bottom: 2rem;
}

.gaming-hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-ironware-external {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.4rem;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: all var(--transition-fast);
}

.btn-ironware-external:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* IronWare Brand Showcase Banner */
.gaming-brand-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  padding: 2.4rem 2.6rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  margin-top: -3.8rem;
  position: relative;
  z-index: 10;
}

.gaming-brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 1.8rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.gaming-brand-left {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.gaming-brand-logo-wrap {
  padding: 0.75rem 1.6rem;
  background: #0b1329;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.gaming-brand-logo-wrap img {
  height: 42px;
  width: auto;
  display: block;
}

.gaming-brand-meta h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.gaming-brand-meta p {
  color: #64748b;
  font-size: 0.90rem;
  margin: 0;
}

.gaming-brand-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: #2563eb;
  text-decoration: none;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  transition: all var(--transition-fast);
}

.gaming-brand-cta-link:hover {
  background: #dbeafe;
  color: #1d4ed8;
  transform: translateX(3px);
}

/* 4 Gaming Pillars */
.gaming-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.gaming-pillar-item {
  padding: 1.2rem 1.3rem;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  transition: all var(--transition-fast);
}

.gaming-pillar-item:hover {
  background: #ffffff;
  border-color: #93c5fd;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
}

.gaming-pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.gaming-pillar-item h3 {
  font-size: 1.02rem;
  font-weight: 750;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.gaming-pillar-item p {
  font-size: 0.83rem;
  line-height: 1.5;
  color: #64748b;
  margin: 0;
}

/* Gaming Products Section */
.gaming-section {
  padding: 4.5rem 0 5rem;
  background: #f8fafc;
}

.gaming-section-header {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Category Filter Tabs (Tutti, Gaming, Workstation Grafica) */
.gaming-tabs-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.gaming-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.25rem;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gaming-tab-btn:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}

.gaming-tab-btn.active {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
}

.gaming-tab-count {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.74rem;
  font-weight: 800;
}

.gaming-tab-btn.active .gaming-tab-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.gaming-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

@media (max-width: 1080px) {
  .gaming-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gaming-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .gaming-grid {
    grid-template-columns: 1fr;
  }
  .gaming-pillars-grid {
    grid-template-columns: 1fr;
  }
  .gaming-page-title {
    font-size: 2.1rem;
  }
  .gaming-brand-card {
    padding: 1.6rem;
  }
}

/* Custom Rig Consultation Banner */
.gaming-custom-banner {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 18px;
  padding: 2.5rem 3rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}

.gaming-custom-text h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.gaming-custom-text p {
  font-size: 0.95rem;
  color: #94a3b8;
  max-width: 650px;
  margin: 0;
  line-height: 1.6;
}

.gaming-custom-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ==========================================================================
   HOMEPAGE PROMO POPUP MODAL
   ========================================================================== */
.emeta-promo-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.5rem;
  box-sizing: border-box;
}

.emeta-promo-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.emeta-promo-card {
  background: #ffffff;
  border-radius: 20px;
  max-width: 540px;
  width: 100%;
  padding: 2.2rem 2rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.emeta-promo-overlay.visible .emeta-promo-card {
  transform: translateY(0) scale(1);
}

.promo-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: #f1f5f9;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.promo-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.promo-tag-badge {
  display: inline-block;
  background: #fef2f2;
  color: #dc2626;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 0.8rem;
  border: 1px solid #fecaca;
  text-transform: uppercase;
}

.promo-card-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.promo-card-desc {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.promo-items-showcase {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
  text-align: left;
}

.promo-mini-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  transition: all 0.2s ease;
}

.promo-mini-card:hover {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.promo-mini-card img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.promo-mini-info {
  flex: 1;
  min-width: 0;
}

.promo-mini-code {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  display: block;
}

.promo-mini-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.promo-mini-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: #2563eb;
  margin-top: 0.2rem;
}

.promo-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.promo-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 1.4rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  text-decoration: none;
}

.promo-dismiss-link {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.4rem;
  transition: color 0.2s;
  font-family: inherit;
}

.promo-dismiss-link:hover {
  color: #475569;
}

/* ==========================================================================
   HOLIDAY FESTIVE THEMES (NATALE & PASQUA - ELEGANTE, DINAMICO, NON INVASIVO)
   Zero banner invasivi: solo lucine sottili, addobbi pendenti oscillanti,
   nevicata/petali leggeri e badge augurale discreto in basso a destra.
   ========================================================================== */

/* 1. Sottilissimo filo di lucine sul bordo superiore (8px, non copre mai il menu) */
.emeta-fairy-lights {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 14px;
  pointer-events: none;
  z-index: 1005;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  overflow: hidden;
  padding: 0 10px;
}

.emeta-fairy-lights::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.25), rgba(251, 191, 36, 0.65), rgba(251, 191, 36, 0.25));
}

.emeta-light-bulb {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 2px;
  animation: fairyTwinkle var(--twinkle-dur, 2.4s) ease-in-out infinite;
  animation-delay: var(--twinkle-delay, 0s);
}

@keyframes fairyTwinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.22); }
}

/* 2. Addobbi pendenti negli angoli sinistro e destro (dondolio a pendolo morbido) */
.emeta-ornaments-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 260px;
  pointer-events: none;
  z-index: 900; /* Sempre SOTTO l'header e i menu dropdown (z-index: 1000) */
  overflow: visible;
}

body.splash-body .emeta-ornaments-layer {
  z-index: 50;
  top: 0;
}

body:not(.splash-body) .emeta-ornaments-layer {
  top: 112px; /* Pende pulito sotto la barra di navigazione sui lati estremi */
}

.emeta-ornament-cluster {
  position: absolute;
  top: 0;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  pointer-events: none;
}

.emeta-ornament-cluster.left {
  left: 24px;
}

.emeta-ornament-cluster.right {
  right: 24px;
}

.emeta-ornament-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: top center;
  animation: pendulumSway var(--sway-dur, 4.5s) ease-in-out infinite;
  animation-delay: var(--sway-delay, 0s);
  filter: drop-shadow(0 6px 10px rgba(15, 23, 42, 0.24));
}

.emeta-ornament-string {
  width: 1.5px;
  height: var(--string-len, 68px);
  background: linear-gradient(180deg, rgba(217, 179, 98, 0.25) 0%, rgba(251, 191, 36, 0.85) 100%);
}

@keyframes pendulumSway {
  0%, 100% { transform: rotate(calc(var(--sway-angle, 3.8deg) * -1)); }
  50% { transform: rotate(var(--sway-angle, 3.8deg)); }
}

/* 3. Canvas particelle leggere (neve soffice o petali primaverili) */
.emeta-holiday-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 940; /* Sotto menu dropdown (1000) e modali */
}

body.splash-body .emeta-holiday-canvas {
  z-index: 45;
}

/* 4. Dettagli angolari sulla card intro (Agrifoglio Natale / Ulivo & Fiori Pasqua) */
.emeta-splash-corner-deco {
  position: absolute;
  pointer-events: none;
  z-index: 12;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35));
}

.emeta-splash-corner-deco.top-left {
  top: -16px;
  left: -16px;
}

.emeta-splash-corner-deco.bottom-right {
  bottom: -14px;
  right: -14px;
}

/* 5. Pill augurale discreta con Babbo Natale (Natale) o Colomba con Ulivo (Pasqua) */
.emeta-greeting-badge {
  position: fixed;
  bottom: 92px; /* Pulita sopra il tasto WhatsApp in basso a destra */
  right: 20px;
  z-index: 980;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.9rem 0.5rem 0.65rem;
  border-radius: 9999px;
  font-family: 'Quicksand', sans-serif;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.22);
  animation: greetingFloat 4.2s ease-in-out infinite;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

body.splash-body .emeta-greeting-badge {
  bottom: 24px;
  left: 24px;
  right: auto;
  z-index: 60;
}

.emeta-greeting-badge.christmas {
  background: rgba(127, 29, 29, 0.88);
  border: 1px solid rgba(251, 191, 36, 0.65);
  color: #fffbeb;
}

.emeta-greeting-badge.easter {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #064e3b;
}

.emeta-greeting-mascot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  animation: mascotBob 2.8s ease-in-out infinite;
}

.emeta-greeting-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.emeta-greeting-title {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.emeta-greeting-badge.christmas .emeta-greeting-title {
  color: #fef08a;
}

.emeta-greeting-badge.easter .emeta-greeting-title {
  color: #047857;
}

.emeta-greeting-sub {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.9;
}

.emeta-greeting-close {
  background: transparent;
  border: none;
  color: inherit;
  opacity: 0.6;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 2px 4px;
  margin-left: 2px;
  border-radius: 50%;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.emeta-greeting-close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.16);
}

@keyframes greetingFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
}

@keyframes mascotBob {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}

@media (max-width: 900px) {
  .emeta-ornament-cluster {
    gap: 10px;
  }
  .emeta-ornament-cluster.left { left: 8px; }
  .emeta-ornament-cluster.right { right: 8px; }
  .emeta-ornament-item:nth-child(3) {
    display: none; /* Mantiene mobile super pulito */
  }
  .emeta-greeting-badge {
    bottom: 84px;
    right: 12px;
    padding: 0.42rem 0.7rem 0.42rem 0.5rem;
  }
}

/* ==========================================================================
   IUBENDA-STYLE PRIVACY & COOKIE CONSENT SUITE (GDPR / GARANTE PRIVACY)
   ========================================================================== */
.iub-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(4px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.iub-overlay.show {
  opacity: 1;
  visibility: visible;
}

.iub-dialog {
  background: #ffffff;
  color: #1e293b;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(14px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.iub-overlay.show .iub-dialog {
  transform: translateY(0) scale(1);
}

.iub-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #f8fafc;
}

.iub-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.iub-shield-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1cc691 0%, #059669 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(28, 198, 145, 0.3);
}

.iub-title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.iub-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #059669;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}

.iub-close-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.iub-close-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
}

.iub-body {
  padding: 1.4rem 1.5rem;
  overflow-y: auto;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #334155;
}

.iub-body p {
  margin: 0 0 0.85rem;
}

.iub-body a {
  color: #2563eb;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.iub-highlight-strip {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-size: 0.84rem;
  color: #166534;
  margin: 0.85rem 0;
}

/* Granular Preference Cards */
.iub-pref-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.iub-pref-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.95rem 1.1rem;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.iub-pref-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.iub-pref-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.iub-pref-name {
  font-weight: 800;
  font-size: 0.94rem;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.iub-pref-pill {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 9999px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.iub-pref-desc {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.5;
}

/* Toggle Switch */
.iub-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.iub-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.iub-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #cbd5e1;
  transition: 0.25s;
  border-radius: 9999px;
}

.iub-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  transition: 0.25s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.iub-switch input:checked + .iub-slider {
  background-color: #1cc691;
}

.iub-switch input:checked + .iub-slider:before {
  transform: translateX(20px);
}

.iub-switch input:disabled + .iub-slider {
  opacity: 0.65;
  cursor: not-allowed;
}

.iub-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.iub-btn-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.iub-btn {
  padding: 0.62rem 1.15rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.iub-btn-ghost {
  background: #ffffff;
  color: #334155;
  border-color: #cbd5e1;
}

.iub-btn-ghost:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.iub-btn-reject {
  background: #e2e8f0;
  color: #0f172a;
}

.iub-btn-reject:hover {
  background: #cbd5e1;
}

.iub-btn-accept {
  background: linear-gradient(135deg, #1cc691 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.iub-btn-accept:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.iub-btn-save {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.iub-btn-save:hover {
  background: #1d4ed8;
}

.iub-meta-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  color: #64748b;
  padding-top: 0.4rem;
  border-top: 1px dashed #e2e8f0;
  margin-top: 0.25rem;
}

/* Floating Privacy Shield Widget (bottom-left, Iubenda style) */
.iub-floating-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9990;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 0.5rem 0.9rem 0.5rem 0.6rem;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.14);
  transition: all 0.22s ease;
}

.iub-floating-btn:hover {
  transform: translateY(-2px);
  border-color: #1cc691;
  box-shadow: 0 10px 26px rgba(28, 198, 145, 0.24);
}

.iub-floating-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1cc691 0%, #059669 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Consent Toast */
.iub-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #0f172a;
  color: #ffffff;
  padding: 0.7rem 1.25rem;
  border-radius: 9999px;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.3);
  z-index: 100001;
  opacity: 0;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.iub-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 640px) {
  .iub-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .iub-btn-group {
    flex-direction: column;
    align-items: stretch;
  }
  .iub-btn {
    width: 100%;
  }
  .iub-floating-btn span.iub-floating-label {
    display: none;
  }
  .iub-floating-btn {
    padding: 0.45rem;
  }
}

/* ==========================================================================
   CTA "SEI PRONTO PER GTA 6?" (HEADER TOP + STICKY BAR -> gaming.html)
   Sfondo nero assoluto #09090b ad altissimo contrasto con logo ufficiale GTA6.PNG
   ========================================================================== */
.header-gta6-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  padding: 0.55rem 1.15rem;
  border-radius: 16px;
  text-decoration: none;
  background: #09090b;
  border: 2px solid #f472b6;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28), 0 0 14px rgba(244, 114, 182, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.header-gta6-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.14) 50%, transparent 80%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.header-gta6-card:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: #facc15;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38), 0 0 20px rgba(250, 204, 21, 0.42);
}

.header-gta6-card:hover::after {
  transform: translateX(100%);
}

.header-gta6-q {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1;
  white-space: nowrap;
}

.header-gta6-logo-wrap {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  line-height: 1;
}

.header-gta6-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

.gta6-copy {
  font-family: 'Quicksand', Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fef08a;
  opacity: 0.9;
  margin-left: 3px;
  line-height: 1;
}

/* Pill nella Sticky Bar (header-bottom -> .nav-right) */
.sticky-gta6-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.36rem 0.95rem 0.36rem 0.65rem;
  border-radius: 9999px;
  text-decoration: none;
  background: #09090b;
  color: #ffffff !important;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border: 2px solid #f472b6;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), 0 0 10px rgba(244, 114, 182, 0.32);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.sticky-gta6-btn:hover {
  transform: translateY(-1.5px);
  border-color: #facc15;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), 0 0 14px rgba(250, 204, 21, 0.42);
}

.sticky-gta6-mini-logo {
  height: 22px;
  width: auto;
  display: block;
  object-fit: contain;
}

.sticky-gta6-short {
  display: none;
}

@media (max-width: 1460px) {
  .sticky-gta6-full {
    display: none;
  }
  .sticky-gta6-short {
    display: inline;
  }
  .header-contact-cart {
    gap: 1.25rem;
  }
}

@media (max-width: 1200px) {
  .header-gta6-card {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .sticky-gta6-btn {
    display: none !important;
  }
}

/* ==========================================================================
   SEZIONE PROMOZIONI DEL MESE (HOME PAGE - DINAMICA DA GEEM)
   ========================================================================== */
.home-promo-section {
  position: relative;
  padding: 4.8rem 0;
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 55%, #fef3c7 100%);
  border-top: 1px solid #dbeafe;
  border-bottom: 1px solid #dbeafe;
  overflow: hidden;
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 768px) {
  .home-promo-section {
    padding: 2.8rem 0;
  }
  .home-promo-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .home-promo-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

.home-promo-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.2rem;
  flex-wrap: wrap;
}

.home-promo-title-group {
  max-width: 720px;
}

.home-promo-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.95rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.28);
  margin-bottom: 0.85rem;
}

.home-promo-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.15;
  margin: 0 0 0.65rem 0;
  letter-spacing: -0.02em;
}

.home-promo-subtitle {
  font-size: 1.04rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.home-promo-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  white-space: nowrap;
}

.home-promo-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
}

.home-promo-toggle-btn {
  background: #ffffff;
  color: #334155;
  border: 1.5px solid #cbd5e1;
  border-radius: 9999px;
  padding: 0.5rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.home-promo-toggle-btn:hover {
  border-color: #2563eb;
  color: #1d4ed8;
  background: #eff6ff;
}

.home-promo-toggle-btn.active {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  border-color: #1d4ed8;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

.home-promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.75rem;
}

.home-promo-card {
  position: relative;
  background: #ffffff;
  border: 2px solid rgba(245, 158, 11, 0.38);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.home-promo-card:hover {
  transform: translateY(-6px);
  border-color: #ea580c;
  box-shadow: 0 20px 42px rgba(234, 88, 12, 0.14);
}

.home-promo-badge-ribbon {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #f59e0b 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.34rem 0.8rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

.home-promo-novita-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.28rem 0.65rem;
  border-radius: 9999px;
}

.home-promo-img-box {
  height: 225px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.home-promo-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.home-promo-card:hover .home-promo-img-box img {
  transform: scale(1.06);
}

.home-promo-body {
  padding: 1.35rem 1.45rem 1.45rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
}

.home-promo-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.home-promo-brand {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1d4ed8;
  background: #eff6ff;
  padding: 0.22rem 0.65rem;
  border-radius: 9999px;
}

.home-promo-code {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 700;
}

.home-promo-name {
  font-size: 1.18rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0;
}

.home-promo-slogan-box {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-left: 3.5px solid #f59e0b;
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: #92400e;
  line-height: 1.45;
}

.home-promo-desc {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-promo-footer {
  margin-top: auto;
  padding-top: 0.95rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.home-promo-price-col {
  display: flex;
  flex-direction: column;
}

.home-promo-price-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.home-promo-price-val {
  font-size: 1.55rem;
  font-weight: 900;
  color: #dc2626;
  line-height: 1.15;
}

.home-promo-avail {
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}

.home-promo-avail.ok {
  color: #059669;
}

.home-promo-avail.ko {
  color: #d97706;
}

.home-promo-detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 800;
  border-radius: 12px;
  white-space: nowrap;
}

.home-promo-empty {
  grid-column: 1 / -1;
  background: #ffffff;
  border: 1.5px dashed #cbd5e1;
  border-radius: 18px;
  padding: 2.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.home-promo-empty-icon {
  font-size: 2.3rem;
}

.home-promo-empty h3 {
  margin: 0 0 0.35rem 0;
  font-size: 1.2rem;
  color: #0f172a;
}

.home-promo-empty p {
  margin: 0;
  color: #64748b;
  font-size: 0.94rem;
}

/* ==========================================================================
   CORRELATI (TONER / ACCESSORI COMPATIBILI) & CONSIGLIATI IN FINESTRA ESTESA
   ========================================================================== */
.shop-modal-extra-section {
  margin-top: 1.85rem;
  padding-top: 1.55rem;
  border-top: 1.5px solid #e2e8f0;
}

.shop-modal-extra-section.correlated-section {
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  border: 1.5px solid #bfdbfe;
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
}

.shop-modal-extra-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.shop-modal-extra-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.shop-modal-extra-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.shop-modal-extra-icon.correlated-icon {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

.shop-modal-extra-icon.recommended-icon {
  background: #fef3c7;
  color: #d97706;
  border: 1px solid #fde68a;
}

.shop-modal-extra-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
}

.shop-modal-extra-sub {
  margin: 0.15rem 0 0 0;
  font-size: 0.84rem;
  color: #64748b;
}

.shop-modal-rel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.95rem;
}

.shop-modal-rel-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.shop-modal-rel-card.is-correlated {
  border-color: #93c5fd;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.06);
}

.shop-modal-rel-card:hover {
  transform: translateY(-3px);
  border-color: #2563eb;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.09);
}

.shop-rel-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 9999px;
  z-index: 2;
}

.shop-rel-badge.compat {
  background: #1d4ed8;
  color: #ffffff;
}

.shop-rel-badge.promo {
  background: linear-gradient(135deg, #f59e0b, #dc2626);
  color: #ffffff;
}

.shop-modal-rel-img {
  height: 105px;
  background: #f8fafc;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.shop-modal-rel-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.shop-modal-rel-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.25rem;
}

.shop-modal-rel-meta {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
}

.shop-modal-rel-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-modal-rel-bottom {
  margin-top: auto;
  padding-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.shop-modal-rel-price {
  font-size: 1.05rem;
  font-weight: 900;
  color: #0f172a;
}

.shop-modal-rel-actions {
  display: flex;
  gap: 0.35rem;
}

.shop-rel-btn {
  padding: 0.32rem 0.62rem !important;
  font-size: 0.75rem !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
}

.shop-toolbar-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.52rem 1rem;
  border-radius: 9999px;
  border: 1.5px solid #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #b45309;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.16);
}

.shop-toolbar-promo-btn:hover {
  transform: translateY(-1px);
  border-color: #ea580c;
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.24);
}

.shop-toolbar-promo-btn.active {
  background: linear-gradient(135deg, #f59e0b 0%, #dc2626 100%);
  color: #ffffff;
  border-color: #dc2626;
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.32);
}

.shop-toolbar-promo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 9999px;
  background: #f59e0b;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 900;
}

.shop-toolbar-promo-btn.active .shop-toolbar-promo-badge {
  background: #ffffff;
  color: #dc2626;
}










