/* HENNIO-NEGOZIO-1 — catalogo e pagine categoria di hennio. */
/* La voce del menu della sezione aperta è evidenziata. */
.hennio-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
  text-decoration-color: var(--hennio-thread, #B9867E);
}
body.hennio-body .app-main { max-width: 1200px; margin: 0 auto; padding: 18px; }
/* HENNIO-SEZIONI-2 — il contenuto può restringersi davvero: senza
   min-width i titoli lunghi e la riga outfit allargavano .app-main oltre lo
   schermo (392 px su 375, 920 px su 583). */
body.hennio-shop .app-main { min-width: 0; width: 100%; }
.hnz-page, .hnz-layout, .hnz-results, .hnz-filterbox { min-width: 0; }
.hnz-page { color: var(--hennio-ink, #3B2A26); }
.hnz-crumbs { font-size: 13px; color: #7a6259; margin: 6px 0 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.hnz-crumbs a { color: #7a6259; text-decoration: none; }
.hnz-crumbs a:hover { text-decoration: underline; }
.hnz-head { margin-bottom: 18px; }
.hnz-h1 { font-family: 'Bodoni Moda', Georgia, serif; font-size: clamp(30px, 5vw, 46px); line-height: 1.05; margin: 0 0 8px; font-weight: 500; }
.hnz-intro { margin: 0; max-width: 620px; color: #6b544c; font-size: 15.5px; line-height: 1.5; }

/* Riga outfit in cima alle pagine categoria */
.hnz-outfits { margin: 0 0 22px; padding: 16px 0 6px; border-top: 1.5px dashed var(--hennio-thread, #B9867E); }
.hnz-outfits-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.hnz-outfits-head h2 { font-family: 'Bodoni Moda', Georgia, serif; font-size: 22px; margin: 0; font-weight: 500; }
.hnz-outfits-head a { font-size: 13px; font-weight: 600; text-decoration: none; }
.hnz-outfit-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.hnz-outfit-card { flex: 0 0 132px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.hnz-outfit-media { display: block; aspect-ratio: 3 / 4; background: #fff; border: 1px solid #ead9d2; overflow: hidden; }
.hnz-outfit-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hnz-outfit-title { font-size: 12.5px; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hnz-outfit-price { font-size: 12.5px; font-weight: 600; }

/* Disposizione filtri + risultati */
.hnz-layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 28px; align-items: start; }
.hnz-filterbox { border: 1px solid #ead9d2; background: #fffdfb; padding: 4px 14px 14px; }
.hnz-filter-toggle { display: none; }
.hnz-group { border: 0; border-top: 1px solid #f0e3dd; margin: 0; padding: 12px 0 4px; }
.hnz-group:first-of-type { border-top: 0; }
.hnz-group legend { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: #6b544c; padding: 0; margin-bottom: 8px; }
.hnz-group-sub { margin: 12px 0 6px; font-size: 12px; font-weight: 600; }
.hnz-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.hnz-pill input { position: absolute; opacity: 0; pointer-events: none; }
.hnz-pill span { display: inline-block; border: 1px solid #dcc6bd; padding: 5px 10px; font-size: 12.5px; cursor: pointer; background: #fff; }
.hnz-pill input:checked + span { background: var(--hennio-ink, #3B2A26); color: #fff; border-color: var(--hennio-ink, #3B2A26); }
.hnz-catlist { display: flex; flex-direction: column; gap: 4px; max-height: 280px; overflow: auto; }
.hnz-check { font-size: 13px; display: flex; align-items: center; gap: 6px; cursor: pointer; line-height: 1.35; }
.hnz-check-small { font-size: 12px; margin-top: 8px; }
.hnz-field { display: flex; flex-direction: column; gap: 3px; font-size: 12px; margin-bottom: 8px; }
.hnz-field select, .hnz-field input, .hnz-price input {
  width: 100%; border: 1px solid #dcc6bd; background: #fff; padding: 7px 8px; font: inherit; font-size: 13px; color: inherit;
}
.hnz-brand-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.hnz-brand-chip { font-size: 11.5px; border: 1px solid #e6d6cf; padding: 3px 7px; text-decoration: none; background: #fff; }
.hnz-brand-chip.is-active { background: var(--hennio-ink, #3B2A26); color: #fff; }
.hnz-price { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.hnz-price label { display: flex; align-items: center; gap: 4px; flex: 1; }
.hnz-price input { width: 100%; }
.hnz-colors { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; }
.hnz-color { display: flex; align-items: center; gap: 6px; font-size: 12.5px; cursor: pointer; }
.hnz-color input { margin: 0; }
.hnz-color-dot { width: 13px; height: 13px; border-radius: 50%; border: 1px solid #c9b3aa; display: inline-block; flex: 0 0 auto; }
.hnz-filter-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.hnz-apply { width: 100%; }
.hnz-reset { font-size: 12.5px; text-align: center; }

/* Risultati */
.hnz-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.hnz-count { margin: 0; font-size: 13.5px; color: #6b544c; }
.hnz-sort { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.hnz-sort select { border: 1px solid #dcc6bd; background: #fff; padding: 6px 8px; font: inherit; font-size: 13px; }
.hnz-notify { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.hnz-notify form { display: flex; align-items: center; gap: 8px; margin: 0; }
.hnz-notify-note { font-size: 11.5px; color: #8a736a; }

/* Griglia 3:4 */
.hnz-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 14px; }
.hnz-card { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hnz-card-media { position: relative; aspect-ratio: 3 / 4; background: #fff; border: 1px solid #efe2dc; overflow: hidden; }
.hnz-card-media > a { display: block; width: 100%; height: 100%; }
.hnz-card-media img { width: 100%; height: 100%; object-fit: contain; background: #fff; display: block; }
.hnz-card-pending { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #a08a80; font-size: 11.5px; text-align: center; padding: 10px; background: repeating-linear-gradient(45deg, #fffdfb, #fffdfb 10px, #faf3ef 10px, #faf3ef 20px); }
.hnz-card .card-heart { position: absolute; top: 6px; right: 6px; background: rgba(255,255,255,.9); border: 1px solid #ead9d2; border-radius: 999px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; color: var(--hennio-ink, #3B2A26); }
.hnz-card .card-heart.is-saved { background: var(--hennio-ink, #3B2A26); color: #fff; }
.hnz-card-body { text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.hnz-card-brand { font-size: 10.5px; letter-spacing: .09em; font-weight: 700; color: #8a736a; }
.hnz-card-title { font-size: 13px; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hnz-card-size { font-size: 12px; color: #7a6259; }
.hnz-card-price { font-size: 14px; font-weight: 700; }
.hnz-pager { display: flex; justify-content: center; gap: 10px; margin: 26px 0 8px; }

/* Vuoto */
.hnz-empty { padding: 24px 0; }
.hnz-empty-title { font-family: 'Bodoni Moda', Georgia, serif; font-size: 22px; margin: 0 0 10px; }
.hnz-empty-try { margin: 0 0 6px; font-size: 13px; color: #6b544c; }
.hnz-suggest { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.hnz-suggest a { border: 1px solid #e6d6cf; background: #fff; padding: 5px 10px; font-size: 12.5px; text-decoration: none; }
.hnz-h2 { font-family: 'Bodoni Moda', Georgia, serif; font-size: 22px; font-weight: 500; margin: 8px 0 12px; }
.hnz-grid-latest { margin-bottom: 20px; }

@media (max-width: 1000px) {
  .hnz-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  body.hennio-body .app-main { padding: 12px; }
  .hnz-layout { grid-template-columns: 1fr; gap: 14px; }
  .hnz-filterbox { padding: 0 12px 8px; }
  .hnz-filter-toggle { display: block; cursor: pointer; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 12px 0; list-style: none; }
  .hnz-filter-toggle::-webkit-details-marker { display: none; }
  .hnz-filterbox:not([open]) { padding-bottom: 0; }
  .hnz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .hnz-h1 { font-size: 30px; }
}
@media (max-width: 420px) {
  .hnz-grid { gap: 12px 8px; }
  .hnz-card-title { font-size: 12px; }
}

/* ── HENNIO-SEZIONI-2 — apertura, riga outfit e schede grandi ─────────── */
/* Apertura: titolo a sinistra e modella a destra, fascia più bassa della
   home. Sul telefono la foto passa sopra il titolo, a tutta larghezza 4:5. */
.hnz-open.hh-hero {
  padding: 18px 0 24px;
  gap: 40px;
  min-height: 420px;
  align-items: center;
}
.hnz-open .hnz-open-copy { max-width: 560px; }
.hnz-open .hnz-h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.05;
  max-width: none;
}
.hnz-open .hnz-intro { margin: 0; max-width: 46ch; font-size: 15.5px; line-height: 1.5; }
.hnz-open .hh-hero-media { justify-self: end; max-width: 100%; min-width: 0; }
.hnz-open .hnz-open-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 420px;
  aspect-ratio: auto;
  object-fit: contain !important;
  object-position: center top !important;
  border-radius: 2px;
  background: #F3E6E0;
}
.hnz-open .hnz-open-img.is-clean { background: #fff; }
.hnz-open .hh-hero-labels { left: 12px; right: 12px; bottom: 12px; }
.hnz-open .hh-hero-note { margin: 6px 0 0; }

/* Riga outfit: schede di HENNIO-HOME-2 in orizzontale. Lo scorrimento
   resta qui dentro; la pagina non si allarga mai. */
.hnz-outfit-row { align-items: flex-start; scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
.hnz-outfit-row > .hh-outfit { flex: 0 0 190px; scroll-snap-align: start; }
.hnz-outfit-row .hh-outfit-media { border-radius: 2px; }
.hnz-outfit-row .hh-outfit-cta { display: none; }
.hnz-outfit-row .hh-outfit-thumbs { min-height: 0; }
.hnz-outfit-row .hh-outfit-title { font-size: 13px; }

/* Scheda grande (2 colonne): foto indossata a sinistra, capo a destra. */
.hnz-card-big {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 10px;
  background: #fffdfb;
  border: 1px solid #ead9d2;
}
.hnz-card-big .hnz-card-media { width: 100%; aspect-ratio: 3 / 4; }
.hnz-card-big .hnz-card-media img { object-fit: contain; }
.hnz-card-big .hnz-card-body { gap: 5px; padding: 6px 4px; }
.hnz-card-big .hnz-card-title { font-size: 15px; -webkit-line-clamp: 3; }
.hnz-card-big .card-heart { top: 16px; right: 16px; }
@media (max-width: 820px) {
  .hnz-outfit-row > .hh-outfit { flex-basis: 164px; }
}
@media (max-width: 720px) {
  .hnz-open.hh-hero { min-height: 0; gap: 0; padding: 0 0 18px; }
  .hnz-open .hh-hero-media {
    order: -1;
    justify-self: stretch;
    max-width: none;
    margin: 0 -12px;
  }
  .hnz-open .hnz-open-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
  }
  .hnz-open .hnz-open-copy { padding-top: 16px; }
  .hnz-open .hnz-h1 { font-size: clamp(30px, 8.2vw, 38px); }
  .hnz-open .hh-hero-note { padding-right: 12px; }
  .hnz-card-big { gap: 10px; padding: 8px; }
  .hnz-card-big .hnz-card-title { font-size: 13px; }
}
@media (max-width: 420px) {
  .hnz-outfit-row > .hh-outfit { flex-basis: 148px; }
  .hnz-card-big { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
}
