/* --------------------------------------------------------------------------
   Starshop Latina — standalone page styles (no petrichor.css dependency)
   -------------------------------------------------------------------------- */

.starshop-page {
  --fontSize-h4: 20px;
  --fontSize-p: clamp(16px, 2vw, 20px);
  --lineHeight-h1: 1;
  --lineHeight-h2: 1.4;
  --lineHeight-h3: 1.8;
  --lineHeight-h4: 1.4;
  --lineHeight-p: 1.75;

  background-color: black;
  overflow-x: hidden;
}

.starshop-page h1 {
  font-size: var(--fontSize-h1);
  line-height: var(--lineHeight-h1);
  margin: 0;
  overflow: hidden;
}

.starshop-page h2 {
  font-size: var(--fontSize-h2);
  line-height: var(--lineHeight-h2);
}

.starshop-page h3 {
  font-size: var(--fontSize-h3);
  line-height: var(--lineHeight-h3);
}

.starshop-page h4 {
  font-size: var(--fontSize-h4);
  line-height: var(--lineHeight-h4);
}

.starshop-page p,
.starshop-page li {
  font-size: var(--fontSize-p);
  line-height: var(--lineHeight-p);
  font-family: "Manrope", sans-serif;
  font-weight: 200;
}

.starshop-page h4,
.starshop-page p,
.starshop-page li,
.starshop-scheda td {
  font-family: "Manrope", sans-serif;
  font-weight: 200;
}

.starshop-page h1,
.starshop-page h2,
.starshop-page h3,
.starshop-scheda th,
.starshop-cta a {
  font-family: "Space Mono", monospace;
  font-weight: 400;
}

.starshop-page ul {
  padding-inline-start: 0;
}

.starshop-page p b {
  color: white;
}

/* Intro */
.starshop-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.starshop-title {
  margin-bottom: 0;
}

.starshop-hero-img {
  display: block;
  margin: 5% auto;
  width: 60vw;
}

/* Meta: tecnica + scheda cliente */
.starshop-meta {
  display: grid;
  grid-template-columns: 1fr 3fr 1fr 3fr 1fr;
  margin-bottom: 5%;
}

.starshop-meta__desc {
  grid-column: 2;
}

.starshop-scheda {
  grid-column: 4;
  width: 100%;
  border-collapse: collapse;
}

.starshop-scheda tr:not(:last-child) th,
.starshop-scheda tr:not(:last-child) td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.starshop-scheda th,
.starshop-scheda td {
  text-align: left;
  padding: 5px 30px 5px 0;
  text-transform: uppercase;
  vertical-align: middle;
}

.starshop-scheda th {
  font-weight: 600;
  width: 100px;
}

/* Content sections */
.starshop-section {
  display: flex;
  flex-direction: column;
  padding: 0 10%;
}

.starshop-brief {
  margin-bottom: 5%;
}

.starshop-brief h2 {
  margin-bottom: 5%;
}

/* Graphic proposals */
.dettagliGraficaMagliatta {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 15px;
  align-items: stretch;
  margin-bottom: 5%;
}

.graficaCompleta {
  height: 100%;
}

.graficaCompleta .imgProposteGraficaMaglietta {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 1px solid white;
}

.dettagliDoppi {
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 100%;
}

.dettaglioSingolo {
  background-position: 50% 20%;
  background-repeat: no-repeat;
  background-image: url("/img/merchandising/t-shirt/webp/yomi no tsugai - daemons of the shadow realm.webp");
  background-size: 190%;
  border: 1px solid white;
}

.dettaglio1,
.dettaglio2 {
  flex: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#dettaglio1Atelier {
  background-image: url("/img/merchandising/t-shirt/webp/witch hat atelier - dettaglio 1.webp");
}

#dettaglio2Atelier {
  background-image: url("/img/merchandising/t-shirt/webp/witch hat atelier - dettaglio 2.webp");
}

#dettaglio1Jjk {
  background-image: url("/img/merchandising/t-shirt/webp/gojo satoru - jjk.webp");
  background-position: -10% 23%;
  background-color: white;
  background-size: 280%;
}

#dettaglio2Jjk {
  background-image: url("/img/merchandising/t-shirt/webp/gojo satoru - jjk.webp");
  background-position: 47% 60%;
  background-size: 250%;
}

.mockupMagliette {
  display: flex;
  flex-direction: row;
  width: 100vw;
}

.mockupMagliette img {
  flex: 1 1 0;
  max-width: 50%;
}

.proposteGraficaMaglietta section,
.proposteGraficaMaglietta h2 {
  margin-bottom: 5%;
}

.starshop-title h2 {
  margin-top: max(80px, 5%);
}

.divider {
  margin-top: 5%;
  margin-bottom: 15px;
}

.produzioneLimitata {
  padding-top: 5% !important;
  padding-bottom: 5% !important;
}

/* CTA */
.starshop-cta {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
}

.starshop-cta__col--left {
  grid-column: 1;
}

.starshop-cta__col--right {
  grid-column: 3;
}

.starshop-cta a {
  display: block;
  background-color: #00e5ff;
  text-decoration: none;
  color: #222222;
  text-align: center;
  padding: 8px 16px;
  text-transform: uppercase;
}

.starshop-section > section {
  margin-bottom: 5%;
}

.ctaSection {
  color: white;
  padding: 0 !important;
  min-height: auto !important;
}

@media (max-width: 992px) {
  .starshop-meta {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .starshop-meta__desc,
  .starshop-scheda {
    grid-column: 1;
  }

  .starshop-hero-img {
    width: 90vw;
  }

  .dettagliGraficaMagliatta {
    grid-template-columns: 1fr;
  }

  .mockupMagliette {
    flex-direction: column;
  }

  .starshop-cta {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .starshop-cta__col--left,
  .starshop-cta__col--right {
    grid-column: 1;
  }
}
