/* a.doroconceptstore — stile ricalcato sul tema Shopify "Dawn" usato finora */
:root {
  --testo: rgba(18, 18, 18, 0.75);
  --testo-forte: rgb(18, 18, 18);
  --sfondo: #fff;
  --bordo: rgba(18, 18, 18, 0.08);
  --blu: #0033cc;
  --larghezza: 1200px;
  --margine: 5rem;
}

* { box-sizing: border-box; }
html { font-size: 62.5%; }
body {
  margin: 0;
  font-family: "Assistant", sans-serif;
  font-size: 1.6rem;
  line-height: 1.8;
  letter-spacing: 0.06rem;
  color: var(--testo);
  background: var(--sfondo);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--testo-forte); font-weight: 400; letter-spacing: 0.06rem; line-height: 1.3; }
h1 { font-size: 4rem; margin: 0 0 2rem; }
h2 { font-size: 2.4rem; }

.contenitore { max-width: var(--larghezza); margin: 0 auto; padding: 0 var(--margine); }
.contenitore--stretto { max-width: 72rem; }
.sezione { padding: 3.6rem 0; }
.salta { position: absolute; left: -9999px; }
.salta:focus { left: 1rem; top: 1rem; background: #fff; padding: 1rem; z-index: 10; }

/* Barra annunci */
.annuncio { text-align: center; font-size: 1.3rem; padding: 1rem; border-bottom: 1px solid var(--bordo); color: var(--testo-forte); }

/* Header */
.header { border-bottom: 1px solid var(--bordo); }
.header__interno { display: flex; align-items: center; gap: 3rem; min-height: 8.4rem; }
.header__logo img { width: 15rem; height: auto; }
.nav { display: flex; gap: 0.5rem; list-style: none; margin: 0; padding: 0; flex: 1; font-size: 1.5rem; }
.nav a, .nav summary { text-decoration: none; padding: 1rem 1.2rem; display: block; cursor: pointer; list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: " ▾"; font-size: 1.1rem; }
.nav a:hover, .nav summary:hover { color: var(--testo-forte); text-decoration: underline; text-underline-offset: 0.3rem; }
.nav a[aria-current="page"] { color: var(--testo-forte); text-decoration: underline; text-underline-offset: 0.3rem; }
.nav details { position: relative; }
.nav details ul { position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--bordo); list-style: none; margin: 0; padding: 1rem 0; min-width: 18rem; z-index: 5; }
.header__icone { display: flex; gap: 1rem; }
.header__icone a { display: flex; padding: 0.8rem; color: var(--testo-forte); }
.menu-mobile { display: none; background: none; border: 0; padding: 0.8rem; cursor: pointer; color: var(--testo-forte); }

/* Banner */
.banner { height: 72rem; max-height: 80vh; background: var(--blu); overflow: hidden; }
.banner img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* Testo */
.testo-centrale { text-align: center; }
.testo-ricco p { margin: 0 0 1.6rem; }

/* Griglia prodotti */
.griglia { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4rem 0.8rem; list-style: none; padding: 0; margin: 0; }
.card { text-decoration: none; display: block; }
.card__img { aspect-ratio: 3 / 4; background: #f3f3f3; overflow: hidden; position: relative; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .card__img img { transform: scale(1.03); }
.card__titolo { color: var(--testo-forte); margin: 1rem 0 0.2rem; font-size: 1.5rem; line-height: 1.4; }
.card:hover .card__titolo { text-decoration: underline; text-underline-offset: 0.3rem; }
.card__prezzo { font-size: 1.5rem; }
.etichetta { position: absolute; left: 1rem; bottom: 1rem; background: var(--testo-forte); color: #fff; font-size: 1.2rem; padding: 0.2rem 1.2rem; border-radius: 4rem; }
.vuoto { text-align: center; padding: 4rem 0; }

/* Shop */
.filtri { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin: 2rem 0 3rem; font-size: 1.4rem; }
.schede { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.schede a { text-decoration: none; border: 1px solid var(--bordo); padding: 0.4rem 1.6rem; border-radius: 4rem; }
.schede a[aria-current="true"] { background: var(--testo-forte); color: #fff; border-color: var(--testo-forte); }
select { font: inherit; padding: 0.6rem 1rem; border: 1px solid rgba(18,18,18,.3); background: #fff; color: var(--testo-forte); }

/* Scheda prodotto */
.prodotto { display: grid; grid-template-columns: 1.4fr 1fr; gap: 5rem; padding: 3.6rem 0; }
.galleria { display: grid; gap: 1rem; }
.galleria img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #f3f3f3; }
.prodotto__info { position: sticky; top: 2rem; align-self: start; }
.prodotto__collezione { text-transform: uppercase; font-size: 1.2rem; letter-spacing: 0.13rem; }
.prodotto__prezzo { font-size: 1.8rem; color: var(--testo-forte); margin-bottom: 2rem; }
.dettagli { list-style: none; padding: 0; margin: 0 0 2rem; font-size: 1.5rem; }
.nota { font-size: 1.3rem; margin-top: 1.5rem; }

/* Pulsanti e moduli */
.pulsante { display: block; width: 100%; text-align: center; background: var(--testo-forte); color: #fff; border: 1px solid var(--testo-forte); padding: 1.3rem 3rem; font: inherit; font-size: 1.5rem; text-decoration: none; cursor: pointer; letter-spacing: 0.1rem; }
.pulsante:hover { box-shadow: 0 0 0 1px var(--testo-forte); }
.pulsante--chiaro { background: #fff; color: var(--testo-forte); }
.pulsante[aria-disabled="true"] { background: #ccc; border-color: #ccc; cursor: not-allowed; }
.pulsante--auto { display: inline-block; width: auto; }
.modulo { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.modulo .intero { grid-column: 1 / -1; }
.modulo label { display: block; font-size: 1.4rem; margin-bottom: 0.4rem; }
.modulo input, .modulo textarea { width: 100%; font: inherit; padding: 1.2rem 1.5rem; border: 1px solid rgba(18,18,18,.55); color: var(--testo-forte); }
.modulo textarea { min-height: 12rem; resize: vertical; }

/* Footer */
.footer { border-top: 1px solid var(--bordo); padding-top: 3.6rem; margin-top: 3.6rem; font-size: 1.4rem; }
.footer__colonne { display: flex; flex-wrap: wrap; gap: 4rem; }
.footer h2 { font-size: 1.8rem; margin: 0 0 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__basso { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--bordo); margin-top: 3.6rem; padding: 2rem 0; font-size: 1.2rem; }
.pagamenti { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pagamenti span { border: 1px solid var(--bordo); padding: 0.2rem 0.8rem; border-radius: 0.4rem; font-size: 1.1rem; }

@media (max-width: 989px) {
  :root { --margine: 1.6rem; }
  .griglia { grid-template-columns: repeat(2, 1fr); }
  .prodotto { grid-template-columns: 1fr; gap: 2rem; }
  .prodotto__info { position: static; }
  .header__interno { justify-content: space-between; gap: 1rem; min-height: 6.4rem; }
  .menu-mobile { display: flex; order: -1; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; padding: 1rem var(--margine) 2rem; border-bottom: 1px solid var(--bordo); z-index: 6; }
  .nav.aperta { display: flex; }
  .nav details ul { position: static; border: 0; padding: 0 0 0 1.5rem; }
  .header { position: relative; }
  .banner { height: 50rem; }
  h1 { font-size: 3rem; }
  .modulo { grid-template-columns: 1fr; }
}
