/* ============================================================
   IL SÌ DIGITALE — Header & Footer globali
   Caricato su tutte le pagine del sito
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=Jost:wght@200;300;400;500&display=swap");

:root {
  --sage: #7d9b76;
  --sage-light: #a8c0a2;
  --sage-dark: #4e6b4a;
  --ivory: #faf7f2;
  --ivory-dark: #f0ebe1;
  --gold: #c9a96e;
  --text: #2a2a2a;
  --text-light: #7a7a7a;
  --white: #ffffff;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ── UTILITY GLOBALI ─────────────────────────────────────── */
.lp-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.lp-btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 32px;
  transition: all 0.25s ease;
  cursor: pointer;
}

/* ── HEADER ──────────────────────────────────────────────── */
#lp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition:
    background 0.4s ease,
    padding 0.4s ease,
    box-shadow 0.4s ease;
}
#lp-header.scrolled {
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
/* Sul checkout l'header è sempre visibile e stilato */
body.woocommerce-checkout #lp-header,
body.woocommerce-cart #lp-header {
  background: rgba(250, 247, 242, 0.98);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
.lp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lp-logo-img {
  max-height: 60px;
  width: auto;
}

.lp-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.lp-nav a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color 0.25s;
}
.lp-nav a:hover {
  color: var(--text);
}
.lp-nav-cta {
  background: var(--text) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  letter-spacing: 0.12em !important;
  transition: background 0.25s !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
}
.lp-nav-cta:hover {
  background: var(--sage-dark) !important;
  color: var(--white) !important;
}
@media (max-width: 640px) {
  .lp-nav-hide {
    display: none;
  }
}

/* ── FOOTER ──────────────────────────────────────────────── */
#lp-footer {
  background: var(--white);
  padding: 56px 0 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.lp-footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
  align-items: start;
}
.lp-footer-brand .lp-logo-img {
  max-height: 44px;
  width: auto;
  margin-bottom: 12px;
  display: block;
}
.lp-footer-tagline {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.7;
}
.lp-footer-col-title {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(42, 42, 42, 0.35);
  margin-bottom: 16px;
}
.lp-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lp-footer-links a {
  font-size: 0.8rem;
  color: var(--text-light);
  transition: color 0.2s;
}
.lp-footer-links a:hover {
  color: var(--sage-dark);
}
.lp-footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.75rem;
  color: rgba(42, 42, 42, 0.4);
}
@media (max-width: 700px) {
  .lp-footer-inner {
    grid-template-columns: 1fr;
  }
  .lp-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
