/* ============================================================
   Shopify Setup Guide — shopify-setup-guide.html
   ============================================================ */

/* ── Hero ── */
.guide-hero {
  background: linear-gradient(135deg, #0a2540 0%, #16417d 60%, #1a5499 100%);
  padding: 120px 0 60px;
  /* color: #fff; */
  text-align: center;
}
.guide-hero .eyebrow-badge {
  display: inline-block;
   background: linear-gradient(135deg, #0a2540 0%, #16417d 60%, #1a5499 100%);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.guide-hero h1 {
      
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
.guide-hero p {
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 32px;
  opacity: 0.88;
  line-height: 1.75;
}
.guide-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Steps section ── */
.guide-steps {
  padding: 72px 0 80px;
  background: #f8fafc;
}

.guide-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid #e2e8f0;
}
.guide-step:last-child {
  border-bottom: none;
}

/* Odd steps: media left, content right */
.guide-step:nth-child(odd) .guide-step__media  { order: 1; }
.guide-step:nth-child(odd) .guide-step__content { order: 2; }

/* Even steps: content left, media right */
.guide-step:nth-child(even) .guide-step__media  { order: 2; }
.guide-step:nth-child(even) .guide-step__content { order: 1; }

@media (max-width: 768px) {
  .guide-step {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0;
  }
  .guide-step .guide-step__media,
  .guide-step .guide-step__content {
    order: unset !important;
  }
}

/* ── Video thumbnail ── */
.guide-step__media {
  position: relative;
  border-radius: 16px;
  /* overflow: hidden; */
  /* box-shadow: 0 8px 32px rgba(10, 37, 64, 0.14);
  cursor: pointer;
  aspect-ratio: 16 / 9;
  background: #0a2540; */
}
.guide-step__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.3s;
}
.guide-step__media:hover img {
  transform: scale(1.03);
  opacity: 0.88;
}

/* ── Play button ── */
.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.2s;
}
.play-btn__circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s, background 0.2s;
}
.guide-step__media:hover .play-btn__circle {
  transform: scale(1.1);
  background: #fff;
}
.play-btn__circle svg {
  width: 28px;
  height: 28px;
  fill: #16417d;
  margin-left: 4px; /* optical centre for triangle */
}

/* ── Step number badge on thumbnail ── */
.step-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #16417d;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 100px;
  pointer-events: none;
  z-index: 2;
}

/* ── Inline iframe after play ── */
.guide-step__media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.guide-step__media.is-playing img,
.guide-step__media.is-playing .play-btn,
.guide-step__media.is-playing .step-badge {
  display: none;
}

/* ── "Coming soon" overlay (no video URL yet) ── */
.video-coming-soon {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, 0.82);
  color: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 500;
}
.video-coming-soon svg {
  width: 36px;
  height: 36px;
  opacity: 0.7;
}
.guide-step__media.show-coming-soon .video-coming-soon { display: flex; }
.guide-step__media.show-coming-soon img              { opacity: 0.3; }
.guide-step__media.show-coming-soon .play-btn        { display: none; }

/* ── Step content ── */
.guide-step__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step-number {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  color:#16417d;
  font-family: 'Sora', sans-serif;
  margin-bottom: -6px;
}
.guide-step__content h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  color: #0a2540;
  margin: 0;
  line-height: 1.25;
}
.guide-step__content p {
  color: #475569;
  line-height: 1.8;
  font-size: 0.96rem;
  margin: 0;
}
.guide-step__content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.guide-step__content ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #334155;
  font-size: 0.93rem;
  line-height: 1.6;
}
.guide-step__content ul li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16417d;
  margin-top: 7px;
  flex-shrink: 0;
}
.guide-step__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #16417d;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  margin-top: 4px;
  transition: gap 0.2s;
}
.guide-step__link:hover { gap: 10px; }
.guide-step__link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}
