/* assets/css/app.css */

/* Font Gotham (attenzione al path: è relativo al CSS) */
@font-face {
  font-family: 'Gotham';
  src: url('../../fonts/Gotham-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Gotham';
  src: url('../../fonts/Gotham-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

/* Base */
:root{
  --olive:#617a55;
  --olive-dark:#3f4f2e;
  --gold:#c9a227;
  --cream:#f7f5ef;
  --ink:#1f1f1f;
  --archivio-purple:#43377d;
  --archivio-purple-dark:#322573;
}

html, body { height: 100%; }

/* Sticky footer layout: body è un flex container */
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial;
  background: #000;
  color: #fff;
  min-height: 100vh;

  display: flex;
  flex-direction: column;
}

/* Wrapper pagina: riempie lo spazio e spinge il footer in fondo */
.page-wrap{
  flex: 1 0 auto;
  padding: 28px 0 64px;
}
.fs-logo{ font-size: 14px; }


.cart-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  text-decoration: none;
}

.cart-icon{
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

/* Quadratino con numero: deve essere davvero un quadrato */
.cart-count-box{
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 0;
  background: var(--archivio-purple);
  color: #fff;

  font-size: 12px;
  font-weight: 700;
  line-height: 1;

  padding: 0;     /* IMPORTANTISSIMO */
  min-width: 0;   /* IMPORTANTISSIMO */
}




/* Footer non deve “salire”: sta in fondo quando pagina corta, e sotto al contenuto quando lunga */
footer{
  flex-shrink: 0;
  background:#fff;
  border-top:1px solid rgba(0,0,0,.08);
}

/* Se in footer.php hai una sezione #contatti */
#contatti{
  background-color: #000;
  color: #fff;
}

/* Tipografia */
h1,h2,h3,h4,h5,h6{ font-family:'Gotham'; font-weight: 700; }
.font-archivio-bold{ font-family:'Gotham'; font-weight:700; }
.font-archivio-lite{ font-family:'Gotham'; font-weight:400; }

/* UI comune */
.btn-archivio{
  background-color: var(--archivio-purple);
  border: 2px solid #fff;
  color:#fff;
  border-radius: 8px;
  font-weight: 600;
}
.btn-archivio:hover{
  background-color: var(--archivio-purple-dark);
  border: 2px solid #fff;
  color:#fff;
}

/* Auth/Profile cards */
.auth-card, .profile-card{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 0;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.auth-title, .profile-title{
  font-family: Gotham, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  font-weight: 700;
  letter-spacing: .3px;
}
.small-note{ color: rgba(255,255,255,.70); }

.form-control{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  border-radius: 0;
}
.form-control:focus{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.28);
  color: #fff;
  box-shadow: none;
}
.form-label{ color: rgba(255,255,255,.85); }

.auth-link{
  color: rgba(255,255,255,.85);
  text-decoration: none;
}
.auth-link:hover{
  color:#fff;
  text-decoration: underline;
}

/* Prezzo vecchio sbarrato */
.price-old{
  text-decoration: line-through;
  opacity: .65;
  font-size: .95em;
}

/* Utility: pulsanti bootstrap outline coerenti */
.btn-outline-light{ border-radius: 0; }



