/* HENNIO-HOME-2 — home «bella» e pagina Outfit. Solo hennio. */

body.hennio-body .app-main { max-width: none; padding: 0; }

.hh-home {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 10px;
  color: var(--hennio-ink, #3B2A26);
}

/* Striscia di fiducia */
.hh-trust {
  margin: 0 calc(50% - 50vw);
  padding: 9px 18px;
  background: #F3E6E0;
  color: #6b5149;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: .01em;
  text-align: center;
}

/* Apertura */
.hh-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 56px;
  align-items: center;
  padding: 54px 0 42px;
}
.hh-hero-copy { max-width: 560px; }
.hh-kicker {
  margin: 0 0 12px;
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: 21px;
  font-style: italic;
  letter-spacing: .01em;
  color: #8F5F58;
}
.hh-hero-title {
  margin: 0 0 18px;
  font-family: 'Bodoni Moda', Georgia, 'Times New Roman', serif;
  font-size: clamp(40px, 5.2vw, 66px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.025em;
  max-width: 13ch;
}
.hh-hero-lead {
  margin: 0 0 26px;
  max-width: 44ch;
  font-size: 17px;
  line-height: 1.55;
  color: #5b4b45;
}
.hh-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none !important;
  white-space: nowrap;
}
.hh-btn-main { background: var(--hennio-ink, #3B2A26); color: #FBF6F1 !important; border: 1px solid var(--hennio-ink, #3B2A26); }
.hh-btn-main:hover { background: #2c1f1c; }
.hh-btn-line { background: transparent; color: var(--hennio-ink, #3B2A26) !important; border: 1px solid #B9867E; }
.hh-btn-line:hover { background: #F3E6E0; }

.hh-hero-media { position: relative; min-width: 0; }
.hh-hero-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover !important;
  object-position: center center !important;
  background: #EFE6E0;
  border-radius: 2px;
}
.hh-hero-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(150deg, #F3E6E0, #E9C9C1 70%);
  color: #8F5F58;
}
.hh-hero-fallback span { font-family: 'Bodoni Moda', Georgia, serif; font-style: italic; font-size: 44px; }
.hh-hero-labels {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.hh-hero-label {
  display: inline-block;
  max-width: 100%;
  padding: 7px 11px;
  border: 1px solid rgba(59, 42, 38, .14);
  border-radius: 999px;
  background: rgba(251, 246, 241, .94);
  color: #3B2A26 !important;
  font-size: 11.5px;
  line-height: 1.25;
  font-weight: 600;
  text-decoration: none !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(59, 42, 38, .08);
}
.hh-hero-label:hover { background: #fff; border-color: #B9867E; }
.hh-hero-note {
  margin: 9px 0 0;
  font-size: 11px;
  color: #8a736a;
  text-align: right;
}

/* Barra della taglia */
.hh-sizebar {
  border-top: 1px solid #EAD9D2;
  border-bottom: 1px solid #EAD9D2;
  padding: 4px 0;
}
.hh-size-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 2px;
  cursor: pointer;
  list-style: none;
}
.hh-size-details summary::-webkit-details-marker { display: none; }
.hh-size-title { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a736a; }
.hh-size-value { font-size: 14px; font-weight: 600; text-align: right; }
.hh-size-details summary::after { content: '＋'; font-size: 18px; line-height: 1; color: #B9867E; }
.hh-size-details[open] summary::after { content: '−'; }
.hh-size-form {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  padding: 2px 0 10px;
}
.hh-size-field { display: flex; flex-direction: column; gap: 5px; font-size: 11.5px; font-weight: 600; color: #6b544c; }
.hh-size-field select {
  min-width: 118px;
  border: 1px solid #DCC6BD;
  border-radius: 8px;
  background: #fff;
  padding: 9px 10px;
  font: inherit;
  font-size: 13px;
  color: #3B2A26;
}
.hh-size-save { min-height: 40px; padding: 9px 18px; }
.hh-size-hint { margin: 0 0 10px; font-size: 12px; color: #8a736a; }

/* Sezioni */
.hh-section { padding: 44px 0 0; }
.hh-h2 {
  margin: 0;
  font-family: 'Bodoni Moda', Georgia, 'Times New Roman', serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hh-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.hh-section-link { font-size: 13px; font-weight: 600; color: #3B2A26 !important; text-decoration: none; white-space: nowrap; }
.hh-section-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Categorie */
.hh-cats-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.hh-cat { display: flex; flex-direction: column; gap: 8px; text-decoration: none !important; color: inherit !important; min-width: 0; }
.hh-cat-media { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #fff; border: 1px solid #EFE2DC; }
.hh-cat-media img { display: block; width: 100%; height: 100%; object-fit: cover; background: #fff; transition: transform .3s ease; }
.hh-cat:hover .hh-cat-media img { transform: scale(1.025); }
.hh-cat-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: 40px;
  color: #B9867E;
  background: #FBF6F1;
}
.hh-cat-label { font-size: 12.5px; font-weight: 600; line-height: 1.25; }

/* Griglia outfit */
.hh-outfits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 20px;
}
.hh-outfit { display: flex; flex-direction: column; min-width: 0; }
.hh-outfit-media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #fff;
  border: 1px solid #EFE2DC;
}
.hh-outfit-media > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 16%; background: #fff; }
.hh-outfit-flag {
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(251, 246, 241, .9);
  color: #6b5149;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.hh-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; width: 100%; height: 100%; gap: 2px; background: #fff; }
.hh-mosaic img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.hh-outfit-thumbs { display: flex; gap: 5px; margin-top: 8px; min-height: 42px; }
.hh-outfit-thumb { display: block; width: 42px; height: 52px; border: 1px solid #EFE2DC; background: #fff; overflow: hidden; }
.hh-outfit-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.hh-outfit-body { display: block; padding-top: 9px; text-decoration: none !important; color: inherit !important; }
.hh-outfit-title { margin: 0; font-family: 'Inter', system-ui, sans-serif; font-size: 14.5px; font-weight: 650; line-height: 1.3; }
.hh-outfit-price { margin: 4px 0 0; font-size: 15px; font-weight: 700; }
.hh-outfit-meta { margin: 3px 0 0; font-size: 11.5px; color: #7a6259; line-height: 1.35; }
.hh-outfit-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 10px;
  padding: 8px 13px;
  border: 1px solid #3B2A26;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  color: #3B2A26 !important;
  text-decoration: none !important;
  background: transparent;
}
.hh-outfit-cta:hover { background: #3B2A26; color: #FBF6F1 !important; }

/* Appena arrivati / I più belli */
.hh-latest-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 26px 16px;
}
.hh-item { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.hh-item-media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #fff; border: 1px solid #EFE2DC; }
.hh-item-media > a { display: block; width: 100%; height: 100%; }
.hh-item-media img { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.hh-item-body { display: flex; flex-direction: column; gap: 3px; text-decoration: none !important; color: inherit !important; }
.hh-item-brand { font-size: 9.5px; font-weight: 700; letter-spacing: .09em; color: #8a736a; }
.hh-item-title { font-size: 12.5px; line-height: 1.32; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hh-item-size { font-size: 11.5px; color: #7a6259; }
.hh-item-price { font-size: 13.5px; font-weight: 700; }
.hh-heart {
  position: absolute;
  top: 6px;
  right: 6px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-width: 32px;
  height: 32px;
  padding: 0 7px;
  border: 1px solid #EAD9D2;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: #3B2A26;
  cursor: pointer;
}
.hh-heart.is-saved { background: #3B2A26; color: #fff; }
.hh-heart .card-heart-ico { display: inline-flex; }
.hh-heart .card-heart-n { font-size: 10px; font-weight: 700; }
.hh-heart.is-pop { animation: hh-pop .28s ease; }
@keyframes hh-pop { 50% { transform: scale(1.14); } }

/* Come funziona */
.hh-how-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 22px 0 0; padding: 0; list-style: none; }
.hh-step { border-top: 1px solid #EAD9D2; padding-top: 18px; }
.hh-step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.hh-step-num { font-family: 'Bodoni Moda', Georgia, serif; font-size: 34px; line-height: 1; color: #B9867E; }
.hh-step-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #F3E6E0; color: #3B2A26; }
.hh-step-title { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.hh-step-text { margin: 0; font-size: 13.5px; line-height: 1.5; color: #5b4b45; }

/* Fascia venditori */
.hh-sellband {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin: 52px 0 12px;
  padding: 34px 30px;
  background: #E9C9C1;
  color: #3B2A26;
}
.hh-sellband-copy { max-width: 640px; }
.hh-sellband h2 { font-size: clamp(24px, 3vw, 34px); }
.hh-sellband p { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: #5b4b45; }

/* Pagina Outfit */
.hh-page-head { padding: 38px 0 8px; max-width: 720px; }
.hh-page-title { margin: 0 0 10px; font-family: 'Bodoni Moda', Georgia, serif; font-size: clamp(38px, 5vw, 58px); font-weight: 500; line-height: 1; }
.hh-page-lead { margin: 0; font-size: 16px; line-height: 1.5; color: #5b4b45; }
.hh-outfit-page .hh-outfits-grid { margin-top: 28px; }
.hh-more { padding-top: 46px; }
.hh-more .hh-outfits-grid { margin-top: 18px; }
.hh-empty { padding: 26px 0; color: #6d655a; }

@media (max-width: 1000px) {
  .hh-hero { gap: 32px; }
  .hh-cats-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hh-outfits-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hh-latest-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .hh-home { padding: 0 14px 6px; }
  .hh-trust { font-size: 10.5px; padding: 8px 12px; }
  .hh-hero { grid-template-columns: 1fr; gap: 22px; padding: 0 0 30px; }
  .hh-hero-media { order: -1; margin: 0 -14px; }
  .hh-hero-img, .hh-hero-fallback { aspect-ratio: 4 / 5; border-radius: 0; }
  .hh-hero-note { padding-right: 14px; }
  .hh-hero-labels { left: 10px; right: 10px; bottom: 12px; }
  .hh-hero-label { font-size: 10.5px; padding: 6px 9px; }
  .hh-hero-copy { padding-top: 22px; }
  .hh-hero-title { font-size: clamp(38px, 10vw, 50px); max-width: 14ch; }
  .hh-hero-lead { font-size: 15.5px; }
  .hh-hero-actions { flex-direction: column; align-items: stretch; }
  .hh-hero-actions .hh-btn { width: 100%; }
  .hh-size-form { display: grid; grid-template-columns: 1fr 1fr; align-items: end; }
  .hh-size-field select { min-width: 0; width: 100%; }
  .hh-size-save { grid-column: 1 / -1; width: 100%; }
  .hh-size-hint { margin-top: 4px; }
  .hh-section { padding-top: 36px; }
  .hh-section-head { gap: 10px; }
  .hh-cats-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin-right: -14px;
    padding: 0 14px 8px 0;
    scroll-snap-type: x mandatory;
  }
  .hh-cat { flex: 0 0 132px; scroll-snap-align: start; }
  .hh-outfits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .hh-outfit-thumbs { min-height: 36px; }
  .hh-outfit-thumb { width: 36px; height: 44px; }
  .hh-outfit-title { font-size: 12.5px; }
  .hh-outfit-price { font-size: 13.5px; }
  .hh-outfit-meta { font-size: 10.5px; }
  .hh-latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 10px; }
  .hh-item-title { font-size: 12px; }
  .hh-how-row { grid-template-columns: 1fr; gap: 22px; }
  .hh-sellband { margin: 38px 0 8px; padding: 26px 20px; }
  .hh-sellband .hh-btn { width: 100%; }
  .hh-page-head { padding-top: 24px; }
  .hh-outfit-page .hh-outfits-grid { margin-top: 20px; }
}

@media (max-width: 380px) {
  .hh-outfits-grid { gap: 20px 9px; }
  .hh-outfit-cta { font-size: 10.5px; padding: 7px 10px; }
}
