/* V38 - final public mobile buttons.  Keeps full text and SVG icons inside every CTA. */
body[data-laundry-design] a.hl-mobile-btn-v38,
body[data-laundry-design] [data-hl-mobile-button-v38] {
  box-sizing: border-box !important;
  min-width: 0 !important;
  max-width: 100% !important;
  border-radius: 8px !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
}
body[data-laundry-design] [data-hl-mobile-button-v38] .hl-btn-label-v38 {
  min-width: 0 !important;
  flex: 0 1 auto !important;
  display: inline-block !important;
  text-align: center !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
}
body[data-laundry-design] [data-hl-mobile-button-v38] :is(.laundry-button-icon, svg[aria-hidden="true"], i.fa) {
  flex-shrink: 0 !important;
}
@media (max-width: 767px) {
  /* Never squeeze two long CTAs into a narrow two-button row. */
  body[data-laundry-design] .hl-mobile-cta-pair-v38,
  body[data-laundry-design] .hl-home-actions-v12,
  body[data-laundry-design] .hl-about-cta-actions,
  body[data-laundry-design] .hl-about-hero .hl-mobile-cta-pair-v38,
  body[data-laundry-design] .hl-home-hero .hl-mobile-cta-pair-v38 {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  body[data-laundry-design] .hl-mobile-cta-pair-v38 > :is(.btn,.btn2,.y,.g,.helprite-whatsapp),
  body[data-laundry-design] .hl-home-actions-v12 > :is(.btn,.btn2),
  body[data-laundry-design] .hl-about-cta-actions > :is(.btn,.btn2),
  body[data-laundry-design] #services .card :is(.btn,.btn2),
  body[data-laundry-design] .hl-process-action > :is(.btn,.btn2) {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 48px !important;
    padding: 13px 14px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    font-size: clamp(12px, 3.5vw, 14px) !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    gap: 8px !important;
  }
  body[data-laundry-design] [data-hl-mobile-button-v38] .hl-btn-label-v38 {
    font-size: inherit !important;
    line-height: inherit !important;
    flex: 0 1 auto !important;
  }
  body[data-laundry-design] [data-hl-mobile-button-v38] .laundry-button-icon {
    flex: 0 0 15px !important;
    width: 15px !important;
    height: 15px !important;
    margin: 0 !important;
  }
  /* Button wrappers in older service/about templates may have fixed sizes. */
  body[data-laundry-design] .hl-mobile-cta-pair-v38 > * {
    justify-self: stretch !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  body[data-laundry-design] .hl-mobile-cta-pair-v38 {
    display: flex !important;
    flex-wrap: wrap !important;
    min-width: 0 !important;
  }
  body[data-laundry-design] .hl-mobile-cta-pair-v38 > :is(.btn,.btn2,.y,.g,.helprite-whatsapp) {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    white-space: normal !important;
  }
}

/* V39: All public action buttons take the full available content width on phones. */
@media (max-width: 767px) {
  body[data-laundry-design] :is(main, .sec, .hero, .hero-g, .hl-home-hero, .hl-about-hero, .hl-about-cta-v23, .hl-home-cta) :is(a.btn, a.btn2, a.y, a.g, a.helprite-whatsapp, a.hl-mobile-btn-v38, button.btn, button.btn2, button.hl-form-submit, input[type="submit"], .hl-callout a.btn, .hl-callout a.btn2) {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    height: auto !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    padding: 13px 16px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    border-radius: 8px !important;
  }
  body[data-laundry-design] :is(.hl-mobile-cta-pair-v38, .hl-home-actions-v12, .hl-about-cta-actions, .hl-hero-actions, .hero-actions, .cta-actions, .hl-process-action) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  body[data-laundry-design] :is(.hl-mobile-cta-pair-v38, .hl-home-actions-v12, .hl-about-cta-actions, .hl-hero-actions, .hero-actions, .cta-actions, .hl-process-action) > :is(a, button, input[type="submit"]) {
    align-self: stretch !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}
