/* ============================================
   Custom Global Overrides
   Loaded after main.css on ALL pages
   ============================================ */

/* Header Top Bar — background for consistent visibility */
.header-area.header-1 .header-top {
  background: rgba(0, 0, 0, 0.85);
  border-radius: 10px 10px 0 0;
  backdrop-filter: blur(10px);
  margin-bottom: 18px;
}

/* Remove arrow after "Contattaci" link in top bar */
.header-top-content .topbar-text a::after {
  display: none;
}

/* Remote support icons — bigger and spaced */
.header-top-content .header-info .info-item a .fab {
  font-size: 28px;
  margin-left: 10px;
}

/* Footer contact info — icons bigger, spaced and centered */
.footer-contact-info .contact-item span i,
.footer-contact-info .contact-item a i {
  font-size: 24px;
  min-width: 28px;
  text-align: center;
}
.footer-contact-info .contact-item span {
  gap: 14px;
}
.footer-contact-info .contact-item a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

/* Mobile-only menu items — hidden in desktop nav, visible in meanmenu */
.hamburger_menu .mean-nav li.mobile-menu-only {
  display: block !important;
}

/* Header icons (user, cart, search) — white on all pages */
.header-cart { position: relative; display: inline-flex; align-items: center; }
.cart-icon {
  color: #fff;
  font-size: 18px;
  position: relative;
  padding: 5px;
}
.cart-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: #00d4ff;
  color: #000;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-user {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-right: 5px;
}
.header-user .user-icon {
  color: #fff;
  font-size: 18px;
  padding: 5px;
  transition: color .2s;
}
.header-user:hover .user-icon {
  color: #00d4ff;
}

/* Author area — rimuovi rettangolo, solo foto + testo */
.author-area {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  max-width: fit-content !important;
}
.author-area .author-info {
  border-right: none !important;
  border-bottom: none !important;
  padding: 0 !important;
}
.author-area .author-img {
  width: 130px !important;
  height: 130px !important;
}
.author-area .author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Firma stilizzata "Carlo Alberto" */
.signature-text {
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  font-size: 28px;
  color: #fff;
  white-space: nowrap;
  line-height: 1;
}

/* Disable sticky header completely */
.header-area.header-duplicate,
.header-area.header-sticky,
.header-area.header-duplicate.sticky {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Hero — elementi stacked sotto il box soluzioni */
.banner-img-area .banner-stacked.customers-box,
.banner-img-area .banner-stacked.trusted {
  position: static;
  inset-inline-start: unset;
  top: unset;
  bottom: unset;
  transform: none;
  max-width: 520px;
  margin-top: 14px;
}
@media (max-width: 1399px) {
  .banner-img-area .banner-stacked.customers-box,
  .banner-img-area .banner-stacked.trusted {
    max-width: 460px;
  }
}
@media (max-width: 1199px) {
  .banner-img-area .banner-stacked.customers-box,
  .banner-img-area .banner-stacked.trusted {
    max-width: 420px;
  }
}
@media (max-width: 991px) {
  .banner-img-area .banner-stacked.customers-box,
  .banner-img-area .banner-stacked.trusted {
    max-width: 100%;
  }
}

/* ============================================
   Hero - Box Soluzioni IT
   ============================================ */
.banner-solutions-box {
  background-color: var(--tj-color-theme-dark);
  border-radius: 10px;
  border: 1px solid var(--tj-color-border-1);
  padding: 28px 30px 30px;
  max-width: 520px;
  width: 100%;
}
.solutions-box-title {
  color: var(--tj-color-heading-primary);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  font-family: var(--tj-ff-heading);
}
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.solution-mini-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
}
.solution-mini-card:hover {
  background: rgba(202, 49, 65, 0.12);
  border-color: rgba(202, 49, 65, 0.35);
  transform: translateY(-3px);
}
.solution-mini-card i {
  font-size: 36px;
  color: var(--tj-color-theme-primary);
  line-height: 1;
}
.solution-mini-card span {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  letter-spacing: 0.3px;
}

/* Responsive: tablet */
@media (max-width: 1399px) {
  .banner-solutions-box {
    max-width: 460px;
    padding: 24px 22px 26px;
  }
  .solution-mini-card i {
    font-size: 32px;
  }
  .solution-mini-card span {
    font-size: 14px;
  }
}
@media (max-width: 1199px) {
  .banner-solutions-box {
    max-width: 420px;
  }
  .solutions-grid {
    gap: 10px;
  }
  .solution-mini-card {
    padding: 18px 8px;
  }
}
@media (max-width: 991px) {
  .solutions-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .banner-solutions-box {
    max-width: 100%;
  }
}
@media (max-width: 575px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .banner-solutions-box {
    padding: 20px 16px 22px;
  }
  .solution-mini-card {
    padding: 16px 8px;
    gap: 8px;
  }
  .solution-mini-card i {
    font-size: 28px;
  }
  .solution-mini-card span {
    font-size: 13px;
  }
}
