/* ---------------------------------------------
   Product page layout
---------------------------------------------- */

.app-hero {
  display: grid;
  grid-template-columns: auto 1fr; /* icon column sizes to icon */
  column-gap: 18px;
  row-gap: 10px;
  align-items: center;            /* vertical alignment */
  margin-bottom: 1.75em;
}

.app-icon img {
  width: 233px;                   /* pick your size */
/*  height: 128px;*/
  transform: translateY(-1.37em);
  
  border-radius: 28px;
  display: block;
}

.app-hero-text {
  min-width: 0;                   /* prevents overflow weirdness */
  text-align: left;               /* force left alignment in hero */
}

/* Override the global h1 center ONLY for the app title */
.app-title {
  margin: 0;
  font-size: 2em;
  line-height: 1.15;
  text-align: left;
}

/* Subtitle + short description should not inherit centered feel */
.app-subtitle {
  margin-top: 0.25em;
  color: var(--muted);
  font-weight: 500;
}

.app-short {
  margin: 0.8em 0 0 0;
}

.app-availability {
  margin: 0.8em 0 0 0;
  font-weight: 250;
  font-size: 0.9em;
}

.app-links {
  display: flex;
  align-items: center;
  gap: 2.6em;
  margin: 3em 0 1.6em 0;
  color: var(--muted);
  font-size: 0.95em;
/*  display: flex;*/
  
}

.text-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.text-link:hover {
  text-decoration: underline;
}

.link-dot {
  color: var(--muted);
}

.appstore-badge img {
  height: 55px;
  width: auto;
  display: block;
  margin-left: auto;
  margin-bottom: -0.6em;
}

.appstore-link {
  margin-left: auto;
}

.section-title {
  margin: 1.5em 0 0.75em 0;
  font-size: 1.1em;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.screenshot-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 2px 12px 2px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.screenshot-strip img {
  height: 420px;
  width: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  scroll-snap-align: start;
  flex: 0 0 auto;
}

.long-description p {
  margin: 0 0 1.1em 0;
}

@media (max-width: 767px) {

  .app-hero {
    grid-template-columns: 1fr;   /* stack */
    row-gap: 12px;
    text-align: left;             /* text stays left */
  }

  .app-icon {
    order: -1;
    text-align: center;           /* ← key line */
    margin-bottom: -1.37em;
  }

  .app-icon img {
    width: 377px;                 /* larger logo */
    height: auto;
    margin: 0 auto 0 auto;      /* ← centers image */
    border-radius: 0;             /* optional (better for logos) */
  }

  .app-hero-text,
  .app-title {
    text-align: left;
  }

  .screenshot-strip img {
    height: 360px;
  }
}