/* CrushPeek mobile hero stabilization
   Loaded after all theme/responsive styles. */
@media screen and (max-width: 575px) {
  .hero4-section-area {
    position: relative;
    overflow: hidden !important;
  }

  /* Equal-width, left-aligned stacked hero CTAs */
  .hero4-section-area .hero4-header .btn-area1 {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    width: min(276px, calc(100vw - 72px)) !important;
    margin-top: 26px !important;
	margin-left: 0px !important;
  }

  .hero4-section-area .hero4-header .btn-area1 > a,
  .hero4-section-area .hero4-header .btn-area1 .header-btn8,
  .hero4-section-area .hero4-header .btn-area1 .header-btn8-out {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 62% !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* Mobile-only removal */
  .hero4-section-area .header-images-area > .content {
    display: none !important;
  }

  /* Phone stays behind the countdown and reaches higher into the hero */
  .hero4-section-area .header-images-area .img1 {
    display: block !important;
    position: absolute !important;
    left: auto !important;
    right: 4px !important;
    bottom: 48px !important;
    width: min(56vw, 238px) !important;
    z-index: 4 !important;
    margin: 0 !important;
    transform: none;
  }

  .hero4-section-area .header-images-area .img1 img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    max-height: 330px !important;
    margin: 0 !important;
    object-fit: contain !important;
  }

  /* Restore the original desktop countdown composition on mobile. */
  .hero4-section-area .content-b {
    display: block !important;
    position: absolute !important;
    left: 22px !important;
    right: 22px !important;
    bottom: 18px !important;
    width: auto !important;
    max-width: none !important;
    z-index: 20 !important;
    margin: 0 !important;
    transform: none !important;
  }

  .hero4-section-area .content-b .launch-countdown {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    transform: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .hero4-section-area .content-b .launch-countdown__label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    writing-mode: horizontal-tb !important;
    transform: none !important;
    margin: 0 0 10px 8px !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    letter-spacing: 1.1px !important;
    color: var(--ztc-text-text-6) !important;
    white-space: nowrap !important;
  }

  .hero4-section-area .content-b .launch-dot {
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
  }

  .hero4-section-area .content-b .launch-countdown__grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    overflow: visible !important;
  }

  .hero4-section-area .content-b .launch-unit {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 14px 6px 12px !important;
    border-radius: 15px !important;
    text-align: center !important;
    background: #0c0c0ea8 !important;
    box-sizing: border-box !important;
  }

  .hero4-section-area .content-b .launch-value {
    display: block !important;
    font-size: 22px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    color: #fff !important;
  }

  .hero4-section-area .content-b .launch-unit:last-child .launch-value {
    color: #9c9ca5 !important;
    font-weight: 500 !important;
  }

  .hero4-section-area .content-b .launch-name {
    display: block !important;
    margin-top: 8px !important;
    font-size: 7px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .7px !important;
    text-transform: uppercase !important;
    color: #9c9ca5 !important;
  }

  .hero4-section-area .content-b .launch-countdown > p.hide-mobile {
    display: block !important;
    margin: 12px 0 0 !important;
    padding: 0 4px !important;
    text-align: left !important;
    font-size: 9px !important;
    line-height: 1.35 !important;
    color: #b1b1b1 !important;
    white-space: normal !important;
  }
}

@media screen and (max-width: 390px) {

  .hero4-section-area .content-b {
    left: 16px !important;
    right: 16px !important;
  }

  .hero4-section-area .content-b .launch-countdown__grid {
    gap: 6px !important;
  }

  .hero4-section-area .content-b .launch-unit {
    padding-left: 3px !important;
    padding-right: 3px !important;
  }

  .hero4-section-area .header-images-area .img1 {
    right: -2px !important;
    width: min(59vw, 224px) !important;
  }
}

/* Mobile hero refinement: compact full-screen composition */
@media screen and (max-width: 575px) {
  .hero4-section-area {
    height: 100svh !important;
    max-height: none !important;
    padding-bottom: 0 !important;
  }

  /* Make the phone and countdown anchor to the complete hero viewport. */
  .hero4-section-area .header-images-area {
    position: static !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .hero4-section-area .header-images-area .bg1 {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: min(37vh, 360px) !important;
    z-index: 0 !important;
    pointer-events: none !important;
  }

  .hero4-section-area .header-images-area .bg1 img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center bottom !important;
  }

  /* Phone: bottom-aligned, larger, with its top near the first CTA. */
  .hero4-section-area .header-images-area .img1 {
    right: -4px !important;
    bottom: 55px !important;
    width: min(61vw, 310px) !important;
    z-index: 4 !important;
  }

  /* Hide the top countdown heading only on mobile. */
  .hero4-section-area .content-b .launch-countdown__label {
    display: none !important;
  }

  /* Counter stays flush with the bottom edge and overlaps the phone. */
  .hero4-section-area .content-b {
    left: 22px !important;
    right: 22px !important;
    bottom: 14px !important;
    z-index: 20 !important;
  }

  .hero4-section-area .content-b .launch-countdown__grid {
    margin: 0 !important;
  }

  .hero4-section-area .content-b .launch-countdown__note {
    display: block !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
    text-align: center !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
    color: #c4c4c9 !important;
    font-weight: 500 !important;
  }

  .launch-note-desktop {
    display: none !important;
  }

  .launch-note-mobile {
    display: inline !important;
  }
}

@media screen and (min-width: 576px) {
  .launch-note-mobile {
    display: none !important;
  }

  .launch-note-desktop {
    display: inline !important;
  }
}

@media screen and (max-width: 390px) {
  .hero4-section-area .header-images-area .img1 {
    right: 8px !important;
    width: min(54vw, 250px) !important;
  }

  .hero4-section-area .content-b {
    left: 16px !important;
    right: 16px !important;
  }
}
