/* Plumbix note: shared visual styling for plumbix pro. */
/**
 * Plumbix Pro — tema shop idraulici (professionisti, B2B, impianti EU)
 */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500&display=swap');

:root {
  --pro-navy: #0a1628;
  --pro-navy-mid: #12243d;
  --pro-cyan: #22d3ee;
  --pro-cyan-dim: #0891b2;
  --pro-amber: #f59e0b;
  --pro-amber-glow: rgba(245, 158, 11, 0.35);
  --pro-gradient-hero: linear-gradient(135deg, #0a1628 0%, #0f2847 45%, #123a5c 100%);
  --pro-glass: rgba(255, 255, 255, 0.06);
  --pro-border-glow: rgba(34, 211, 238, 0.25);
  --font-pro: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

body {
  font-family: var(--font-pro);
  background: linear-gradient(180deg, #eef2f8 0%, #f0f4f9 40%, #f8fafc 100%);
  -webkit-font-smoothing: antialiased;
}

/* —— Chrome mockup (topbar + header a livelli + categorie pill) —— */
.plumbix-header-chrome {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 16px rgba(10, 22, 40, 0.06);
  border-bottom: 1px solid rgba(10, 22, 40, 0.05);
}

.pro-topbar {
  background: linear-gradient(90deg, #0a1628 0%, #0f2847 55%, #123a5c 100%);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.2;
  border-bottom: none;
  box-shadow: inset 0 -1px 0 rgba(34, 211, 238, 0.1);
}
.pro-topbar .pro-topbar__inner {
  display: flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 0;
}
.pro-topbar__text {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 10px;
  margin: 0;
  width: 100%;
}
.pro-topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.pro-topbar__item i { font-size: 0.6rem; opacity: 0.9; }
.pro-topbar__sep { color: rgba(255, 255, 255, 0.28); user-select: none; }
.pro-topbar strong { color: #67e8f9; font-weight: 600; }

.site-header.site-header--tiered {
  position: relative;
  background: #fff;
  border-bottom: 1px solid rgba(10, 22, 40, 0.07);
  box-shadow: none;
}
.site-header--tiered .header-stack { display: flex; flex-direction: column; }
.site-header--tiered .header-row--primary .header-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px 20px;
  padding: 12px 0;
}
.site-header--tiered .header-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo-header { height: 40px; max-width: 168px; width: auto; object-fit: contain; }

.site-header--tiered .header-search {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  min-width: 0;
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  padding: 4px 4px 4px 16px;
  box-shadow: inset 0 1px 2px rgba(10, 22, 40, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.site-header--tiered .header-search:focus-within {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(26, 102, 217, 0.12);
  background: #fff;
}
.site-header--tiered .header-search-icon {
  color: #94a3b8;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.site-header--tiered .header-search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 10px 8px;
  font-size: 0.88rem;
  color: #1e293b;
  outline: none;
}
.site-header--tiered .header-search input::placeholder { color: #94a3b8; }
.site-header--tiered .header-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: linear-gradient(135deg, #1a66d9 0%, #0e4ea8 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(26, 102, 217, 0.35);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.site-header--tiered .header-search-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(26, 102, 217, 0.4);
}

.site-header--tiered .header-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.site-header--tiered .header-action-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 50%;
  color: #334155;
  font-size: 1.05rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.site-header--tiered .header-action-btn:hover {
  background: #eff6ff;
  border-color: #dbeafe;
  color: #1a66d9;
}
.site-header--tiered .header-action-badge {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
}
.site-header--tiered .header-action-badge[hidden] { display: none !important; }

.site-header--tiered .lang-switch--header {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 4px;
}
.site-header--tiered .lang-switch--header .lang-btn {
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #94a3b8;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  line-height: 1;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.site-header--tiered .lang-switch--header .lang-btn.active {
  background: linear-gradient(145deg, #1a66d9, #0e4ea8);
  border-color: #1a66d9;
  color: #fff;
  box-shadow: 0 2px 8px rgba(26, 102, 217, 0.35);
}
.site-header--tiered .lang-switch--header .lang-btn:hover:not(.active) {
  border-color: #cbd5e1;
  color: #64748b;
  background: #f8fafc;
}

.site-header--tiered .header-row--nav {
  border-top: 1px solid #eef2f7;
  background: linear-gradient(180deg, #fcfdfe 0%, #f8fafc 100%);
}
.site-header--tiered .main-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 10px;
}
.site-header--tiered .main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.site-header--tiered .main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  color: #475569;
  padding: 8px 16px;
  border-radius: 999px;
  border-bottom: none !important;
  transition: background 0.15s, color 0.15s;
}
.site-header--tiered .main-nav a:hover {
  color: #1a66d9;
  background: #f1f5f9;
}
.site-header--tiered .main-nav a.active {
  color: #fff;
  background: linear-gradient(135deg, #1a66d9 0%, #0e4ea8 100%);
  box-shadow: 0 2px 10px rgba(26, 102, 217, 0.3);
}
.site-header--tiered .main-nav a::after { display: none !important; }

.site-header--tiered .main-nav__account { flex-shrink: 0; }
.site-header--tiered .btn-nav-login,
.site-header--tiered .btn-login-header.btn-nav-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  min-height: auto;
  transition: background 0.15s, border-color 0.15s;
}
.site-header--tiered .btn-nav-login:hover,
.site-header--tiered .btn-login-header.btn-nav-login:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: none;
}
.site-header--tiered .btn-nav-login .fa-chevron-down { font-size: 0.65rem; opacity: 0.55; }

.mega-menu-container--pills {
  background: #fff;
  border-bottom: 1px solid rgba(10, 22, 40, 0.06);
  padding: 0 0 12px;
}
.mega-menu-container--pills .mega-menu-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  justify-content: stretch;
}
.mega-menu-container--pills .mega-menu-item { position: relative; min-width: 0; }
.mega-menu-container--pills .mega-menu-trigger {
  width: 100%;
  justify-content: flex-start;
  gap: 10px;
  padding: 13px 16px;
  min-height: 48px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff !important;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.mega-menu-container--pills .mega-menu-trigger i:last-child {
  margin-left: auto;
  font-size: 0.65rem;
  opacity: 0.85;
}
.mega-menu-item--tools .mega-menu-trigger { background: linear-gradient(135deg, #1a66d9 0%, #0e4ea8 100%); }
.mega-menu-item--fittings .mega-menu-trigger { background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%); }
.mega-menu-item--faucets .mega-menu-trigger { background: linear-gradient(135deg, #475569 0%, #334155 100%); }
.mega-menu-item--heating .mega-menu-trigger { background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%); color: #0f172a !important; }
.mega-menu-item--heating .mega-menu-trigger i { color: inherit; }
.mega-menu-container--pills .mega-menu-trigger:hover { filter: brightness(1.06); transform: translateY(-1px); }
.mega-menu-container--pills .mega-dropdown {
  border-radius: 12px;
  margin-top: 6px;
  box-shadow: 0 12px 32px rgba(10, 22, 40, 0.12);
}

.plumbix-pro-audience-banner {
  background: linear-gradient(90deg, #ecfdf5 0%, #eff6ff 100%);
  border-bottom: 1px solid #bfdbfe;
  padding: 10px 16px;
}
.plumbix-pro-audience-banner-inner p i { color: #1a66d9; margin-right: 6px; }

@media (max-width: 1100px) {
  .mega-menu-container--pills .mega-menu-wrapper { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .pro-topbar__item--lg, .pro-topbar__sep--lg { display: none; }
  .site-header--tiered .header-row--primary .header-container {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }
  .site-header--tiered .header-search { grid-column: 1 / -1; max-width: none; order: 3; }
}
@media (max-width: 720px) {
  .pro-topbar__item--md, .pro-topbar__sep--md { display: none; }
}
@media (max-width: 520px) {
  .pro-topbar { font-size: 0.62rem; }
  .pro-topbar__item:not(:first-of-type), .pro-topbar__sep { display: none; }
  .mega-menu-container--pills .mega-menu-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .plumbix-header-chrome .nav-hamburger { display: flex; }
  .site-header--tiered .header-stack { position: relative; }
  .site-header--tiered .header-row--nav.main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 12px 28px rgba(10, 22, 40, 0.1);
    z-index: 130;
    max-height: min(70vh, calc(100dvh - 120px));
    overflow-y: auto;
  }
  .site-header--tiered.nav-open .header-row--nav.main-nav { display: block; }
  .site-header--tiered .main-nav__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .site-header--tiered .main-nav ul { flex-direction: column; align-items: stretch; }
  .site-header--tiered .main-nav a { border-radius: 10px; }
  .site-header--tiered .main-nav__account { width: 100%; }
  .site-header--tiered .btn-nav-login { width: 100%; justify-content: center; }
  .site-header--tiered .header-search-btn span { display: none; }
}

.btn-login-header,
.btn-primary {
  background: linear-gradient(135deg, #1a66d9 0%, #0e4ea8 100%);
  box-shadow: 0 4px 14px rgba(26, 102, 217, 0.35);
}
.btn-primary:hover,
.btn-login-header:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 102, 217, 0.45);
}

/* —— Hero pro —— */
.hero.hero-pro {
  background: var(--pro-gradient-hero);
  padding: 0;
  border: none;
  position: relative;
  overflow: hidden;
}
.hero-pro::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 90% 20%, rgba(34, 211, 238, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 45%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-pro .container.hero-grid {
  position: relative;
  z-index: 1;
  padding: 56px 28px 64px;
  max-width: 1280px;
}
.hero-pro .hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero-pro .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pro-glass);
  border: 1px solid var(--pro-border-glow);
  color: var(--pro-cyan);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.hero-pro .accent {
  background: linear-gradient(90deg, var(--pro-cyan) 0%, #67e8f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-pro .hero-sub {
  color: #94b8e0;
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 28px;
  line-height: 1.6;
}
.hero-pro .hero-actions .btn-primary {
  background: linear-gradient(135deg, var(--pro-cyan-dim) 0%, #06b6d4 100%);
  border: none;
  padding: 14px 32px;
  font-size: 1rem;
}
.hero-pro .hero-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  padding: 14px 32px;
}
.hero-pro .hero-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--pro-cyan);
}
.hero-pro .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 520px;
  margin-top: 36px;
  align-items: stretch;
}
.hero-pro .hero-stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md, 14px);
  padding: 18px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 92px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.hero-pro .hero-stat-card:hover {
  border-color: rgba(34, 211, 238, 0.2);
  background: rgba(255, 255, 255, 0.07);
}
.hero-pro .hero-stat-card strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #f0f7ff;
  letter-spacing: -0.01em;
}
.hero-pro .hero-stat-card span {
  font-size: 0.74rem;
  color: #8fb0d4;
  font-weight: 500;
  line-height: 1.4;
}
.hero-pro .hero-stat-card i {
  color: var(--pro-cyan);
  margin-right: 0;
  font-size: 0.8rem;
  margin-bottom: 8px;
  display: block;
  opacity: 0.9;
}
.hero-pro-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-pro .hero-visual {
  background: transparent;
  min-height: auto;
  flex: 1;
  max-width: 420px;
}
.hero-pro-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(8px);
}
.hero-pro-card h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero-system-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-system-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  text-decoration: none;
  color: #e2eef9;
  font-weight: 600;
  font-size: 0.88rem;
  transition: 0.2s;
  border: 1px solid transparent;
}
.hero-system-list a:hover {
  border-color: var(--pro-border-glow);
  background: rgba(34, 211, 238, 0.1);
  color: #fff;
  transform: translateX(4px);
}
.hero-system-list a i {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 211, 238, 0.15);
  border-radius: 10px;
  color: var(--pro-cyan);
}

/* —— Sistemi rapidi —— */
.pro-systems-strip {
  background: #fff;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-border);
  margin-bottom: 0;
}
.pro-systems-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.pro-system-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  min-height: 44px;
  background: #f8fafc;
  border: 1px solid #e2e9f0;
  border-radius: 999px;
  text-decoration: none;
  color: var(--pro-navy);
  font-weight: 700;
  font-size: 0.82rem;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.pro-system-chip:focus-visible {
  outline: 2px solid var(--pro-cyan-dim);
  outline-offset: 2px;
}
.pro-system-chip:hover {
  background: var(--pro-navy);
  color: #fff;
  border-color: var(--pro-navy);
  box-shadow: 0 8px 20px rgba(10, 22, 40, 0.15);
}
.pro-system-chip i { color: var(--pro-cyan-dim); }
.pro-system-chip:hover i { color: var(--pro-cyan); }

/* —— Section headers —— */
.section-header h2 {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.section-header p { font-size: 1rem; }

.offers-section,
.featured-section {
  padding: 56px 0;
}
.offers-section {
  background: linear-gradient(180deg, #fff 0%, #f0f4f9 100%);
}

/* —— Product cards PRO —— */
.product-item,
.product-card {
  background: #fff !important;
  border: 1px solid #e8eef5 !important;
  border-radius: 20px !important;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.25s !important;
  text-align: left !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
}
.product-item:hover,
.product-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 40px rgba(10, 22, 40, 0.12) !important;
  border-color: rgba(34, 211, 238, 0.35) !important;
}
.product-card-pro-head,
.product-item .product-icon {
  background: linear-gradient(180deg, #f0f7ff 0%, #fff 100%) !important;
  padding: 24px !important;
  text-align: center !important;
  margin: 0 !important;
  border-bottom: 1px solid #eef2f7;
}
.product-card-pro-head .product-image,
.product-item .product-icon {
  margin-bottom: 0 !important;
}
.product-card-pro-body,
.product-item > h4,
.product-item > .product-code,
.product-item > .product-price,
.product-item > .product-actions {
  padding-left: 18px;
  padding-right: 18px;
}
.product-item > h4,
.product-card .product-title {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  padding-top: 14px;
  margin: 0 !important;
  line-height: 1.35;
  min-height: 2.7em;
}
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 18px 8px;
}
.product-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 6px;
  background: #eef3fc;
  color: #1a66d9;
}
.product-tag.sistema { background: #ecfeff; color: #0e7490; }
.product-card .product-sku,
.product-item .product-code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.7rem !important;
  color: #64748b !important;
  padding-bottom: 4px;
}
.product-card .product-price,
.product-item .product-price {
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  color: var(--pro-navy) !important;
  padding-bottom: 14px;
}
.product-card .product-actions,
.product-item .product-actions {
  padding: 0 14px 16px !important;
  margin-top: auto !important;
  gap: 8px !important;
}
.product-card .btn-add-cart,
.product-item .btn-add-cart {
  flex: 1;
  border-radius: 12px !important;
  font-weight: 700 !important;
  padding: 10px !important;
}
.product-card .btn-detail,
.product-item .btn-detail {
  border-radius: 12px !important;
  font-weight: 600 !important;
}

.product-icon i,
.product-card .product-image i {
  font-size: 52px !important;
  width: 88px !important;
  height: 88px !important;
  line-height: 88px !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 100%) !important;
  color: var(--pro-cyan-dim) !important;
}

/* —— Specs B2B —— */
.specs-section {
  background: var(--pro-navy);
  padding: 64px 0;
  border: none;
}
.specs-section .specs-card {
  background: var(--pro-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  text-align: left;
  padding: 28px 24px;
}
.specs-section .specs-card i {
  font-size: 2rem;
  color: var(--pro-cyan);
  margin-bottom: 14px;
}
.specs-section .specs-card h3 {
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
}
.specs-section .specs-card p {
  color: #94b8e0;
  font-size: 0.88rem;
}

/* —— CTA band —— */
.pro-cta-band {
  background: linear-gradient(90deg, #1a66d9 0%, #0891b2 50%, #1a66d9 100%);
  background-size: 200% 100%;
  animation: proShine 8s ease infinite;
  padding: 48px 0;
  color: #fff;
}
@keyframes proShine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.pro-cta-band .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.pro-cta-band h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.pro-cta-band p { opacity: 0.9; margin-top: 8px; max-width: 480px; }
.pro-cta-band .btn-cta-light {
  background: #fff;
  color: var(--pro-navy);
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: 0.2s;
}
.pro-cta-band .btn-cta-light:hover {
  transform: scale(1.03);
}

/* —— News pro —— */
.home-news-section {
  background: #fff;
}
.news-card-home {
  border-radius: 18px !important;
  transition: 0.25s !important;
}
.news-card-home:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(10, 22, 40, 0.08) !important;
}

/* —— Catalog page —— */
.catalog-hero-banner {
  background: var(--pro-gradient-hero);
  color: #fff;
  padding: 32px 0 36px;
  margin-bottom: 24px;
}
.catalog-hero-banner h1 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.catalog-hero-banner p { color: #94b8e0; margin-top: 8px; }

.filters-sidebar {
  border-radius: 20px !important;
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.06);
}
.filters-sidebar h3 {
  font-weight: 800 !important;
  color: var(--pro-navy);
}

/* —— Footer —— */
.site-footer {
  background: #060d18;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pro-cyan), var(--pro-amber), var(--pro-cyan));
}
.footer-logo {
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}
.footer-brand {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.footer-brand:hover {
  color: #e8f2fc;
}

/* —— Catalog hero filtered —— */
.catalog-hero-banner--filtered {
  background: linear-gradient(135deg, #0f2847 0%, #123a5c 50%, #0a1628 100%);
}
.catalog-hero-banner--filtered h1 i { color: var(--pro-amber); }

.catalog-header {
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 20px;
}
.catalog-header .result-count {
  font-weight: 800;
  color: var(--pro-navy);
  font-size: 0.95rem;
}
.sort-select {
  border-radius: 12px !important;
  font-weight: 600;
  border-color: #e2e9f0 !important;
}

.pagination button.active {
  background: var(--pro-navy) !important;
  border-color: var(--pro-navy) !important;
}

/* —— Product page pro —— */
.product-page-pro .breadcrumb {
  padding: 16px 0 0;
  font-size: 0.85rem;
}
.product-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 14px;
}
.product-trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pro-cyan-dim);
  background: #ecfeff;
  padding: 6px 12px;
  border-radius: 999px;
}
.product-image-main-pro {
  border-radius: 24px !important;
  background: linear-gradient(180deg, #f0f7ff 0%, #fff 100%) !important;
  border: 1px solid #e8eef5 !important;
  box-shadow: 0 12px 32px rgba(10, 22, 40, 0.06);
}
.product-page-pro .product-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--pro-navy);
}
.product-page-pro .product-price-lg {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--pro-navy);
}
.product-page-pro .product-description {
  border-left-color: var(--pro-cyan-dim) !important;
  border-radius: 16px !important;
}
.product-page-pro .btn-product-cart {
  background: linear-gradient(135deg, var(--pro-cyan-dim) 0%, #06b6d4 100%);
  border-radius: 14px !important;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(8, 145, 178, 0.35);
}
.product-page-pro .related-section h2 {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--pro-navy);
  margin-bottom: 24px;
}

/* —— Support pro —— */
.support-page-pro .catalog-hero-banner { margin-bottom: 32px; }
.support-page-pro .support-hero-pro {
  text-align: center;
  padding: 0;
  background: transparent;
  border: none;
  margin-bottom: 32px;
}
.support-page-pro .chat-section-pro {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid #e8eef5;
  box-shadow: 0 16px 40px rgba(10, 22, 40, 0.06);
  margin-bottom: 40px;
}
.support-page-pro .chat-messages {
  background: #f0f4f9 !important;
  border-radius: 16px !important;
  min-height: 280px;
}
.support-page-pro .message.user .message-bubble {
  background: linear-gradient(135deg, #1a66d9, #0891b2) !important;
}
.support-page-pro .faq-card {
  border-radius: 18px !important;
}
.support-page-pro .faq-card:hover {
  border-color: rgba(34, 211, 238, 0.4) !important;
}

/* —— Carrello modal —— */
.cart-modal-content {
  border-radius: 24px !important;
  overflow: hidden;
}
.cart-modal-header {
  background: var(--pro-gradient-hero);
  color: #fff;
  padding: 20px 24px !important;
  margin: 0 !important;
}
.cart-modal-header h3 { color: #fff; font-weight: 800; }
.cart-modal-header .modal-close {
  color: #fff;
  opacity: 0.9;
  font-size: 18px;
  width: 40px !important;
  height: 40px !important;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0 !important;
  background: transparent !important;
}
.cart-modal-header .modal-close:hover {
  opacity: 1;
  background: rgba(255,255,255,0.14);
}
.cart-modal-header .modal-close:active {
  transform: translateY(0.5px);
}
#checkoutBtn.btn-cart {
  background: linear-gradient(135deg, var(--pro-cyan-dim), #06b6d4) !important;
  font-weight: 700;
  border-radius: 12px !important;
}

/* —— FAB assistenza —— */
.pro-fab-assist {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--pro-navy) 0%, #0e3a5c 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(10, 22, 40, 0.35);
  border: 1px solid rgba(34, 211, 238, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.pro-fab-assist i { color: var(--pro-cyan); font-size: 1.1rem; }
.pro-fab-assist:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(10, 22, 40, 0.45);
  color: #fff;
}
.pro-fab-assist span { display: none; }
@media (min-width: 640px) {
  .pro-fab-assist span { display: inline; }
}

/* —— Macro categoria unificata —— */
.category-hero-macro {
  color: #fff;
  padding: 40px 0 36px;
  margin-bottom: 0;
  background: linear-gradient(135deg, #0a1628 0%, #123a5c 100%);
}
.category-hero-macro h1 {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.category-hero-macro p { opacity: 0.9; margin-top: 10px; max-width: 640px; }
.macro-count-line { margin-top: 12px; font-size: 0.9rem; opacity: 0.85; }
.macro-page-body { padding: 28px 0 56px; }
.macro-sub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.macro-sub-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e2e9f0;
  color: var(--pro-navy);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  transition: 0.2s;
}
.macro-sub-chip:hover {
  border-color: var(--pro-cyan-dim);
  background: #ecfeff;
}
.macro-sub-chip.active {
  background: var(--pro-navy);
  color: #fff;
  border-color: var(--pro-navy);
}
.macro-toolbar {
  margin-bottom: 24px;
}
.macro-breadcrumb { padding-top: 16px; font-size: 0.85rem; }
.macro-breadcrumb a { color: var(--primary); text-decoration: none; }

@media (max-width: 768px) {
  .hero-pro .container.hero-grid { padding: 44px 20px 52px; }
  .hero-pro .hero-stats { grid-template-columns: repeat(2, 1fr); max-width: 100%; gap: 10px; }
  .hero-pro .hero-stat-card { min-height: auto; }
  .hero-pro .hero-grid { flex-direction: column; }
  .hero-pro .hero-visual { width: 100%; min-height: 160px; }
  .hero-pro .hero-highlights { justify-content: center; }
  .pro-cta-band .container { text-align: center; justify-content: center; flex-direction: column; gap: 12px; }
  .pro-fab-assist { padding: 16px 18px; min-height: 48px; }
  .catalog-hero-banner { padding: 28px 0 32px; }
  .catalog-hero-banner h1 { font-size: 1.45rem; }
  .catalog-header { flex-direction: column; align-items: stretch; }
  .sort-select { width: 100%; min-height: 44px; }
  .macro-sub-chips { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
}

@media (max-width: 480px) {
  .catalog-hero-banner h1 { font-size: 1.25rem; }
  .catalog-hero-banner p { font-size: 0.85rem; }
  .hero-pro .hero-content h1 { font-size: 1.55rem; }
}

/* Banner visitatori non-pro / messaggio professionale */
.plumbix-pro-audience-banner {
  background: linear-gradient(90deg, #eff6ff 0%, #f0fdf4 100%);
  border-bottom: 1px solid #bfdbfe;
  padding: 10px 16px;
}
.plumbix-pro-audience-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #1e3a5f;
}
.plumbix-pro-audience-banner-inner p { margin: 0; flex: 1; min-width: 220px; }
.plumbix-pro-audience-banner-cta {
  background: #1a66d9;
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
}
.plumbix-pro-audience-banner-close {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: #64748b;
  line-height: 1;
}

/* Cross-link strumenti pro */
.pro-services-crosslinks {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 0;
  margin: 24px 0 0;
}
.pro-services-crosslinks-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.pro-services-crosslinks-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}
.pro-services-crosslinks-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.pro-services-crosslink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a66d9;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dbeafe;
}
.pro-services-crosslink:hover { background: #eff6ff; }

.footer-pro-pricing-note {
  padding: 14px 20px;
  text-align: center;
  font-size: 0.82rem;
  color: #475569;
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
}
.footer-pro-pricing-note p { margin: 0; }

.gated-pro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0e7490;
  background: #ecfeff;
  border: 1px solid #a5f3fc;
  border-radius: 999px;
  padding: 6px 14px;
  margin: 8px 0 12px;
}

.logo-shop-tagline { font-weight: 700; color: var(--pro-navy, #0a1628); }
.logo-pro-motto { display: block; }

.product-pro-price-note {
  font-size: 0.82rem;
  color: #475569;
  margin: 8px 0 16px;
  line-height: 1.45;
}
.product-pro-price-note i { color: #0891b2; margin-right: 4px; }

/* Shared trust ribbon alignment on inner pages */
.px-trust-ribbon--compact {
  padding: 12px 0;
}

.px-trust-ribbon--compact .px-trust-ribbon__grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px 18px;
  align-items: center;
}

.px-trust-ribbon--compact .px-trust-item {
  align-items: center;
  min-height: 44px;
  color: #d7e8f7;
  font-size: 0.78rem;
}

.px-trust-ribbon--compact .px-trust-item strong {
  color: #f8fbff;
  font-size: 0.86rem;
  margin-bottom: 1px;
}

@media (max-width: 768px) {
  .px-trust-ribbon--compact .px-trust-ribbon__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
