/* Replit 2026-09-08: align the mobile Skin Gallery mark vertically. */
@media (max-width: 1199px) {
  .header__logo {
    width: 12rem;
    height: 5.8rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    overflow: visible;
  }
  .header__logo img:first-child {
    width: 2.4rem;
    height: auto;
    flex: 0 0 auto;
  }
  .header__logo img:last-child {
    display: block !important;
    width: 12rem;
    height: auto;
    flex: 0 0 auto;
  }
}




/* Replit 2026-09-09: service detail layout parity with the temporary ServiceDetail component. */
@media (min-width: 769px) {
  main.main .text-section > .container > h1 {
    font-family: "Clash Display", "Outfit", sans-serif !important;
    font-size: 62px !important;
    font-weight: 500 !important;
    line-height: .9 !important;
    letter-spacing: -.03em !important;
  }

  main.main .text-section__inner .sg-landing .sg-container {
    width: 100% !important;
    max-width: 1080px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  main.main .text-section__inner .sg-landing .sg-container.sg-grid-2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 40px !important;
  }

  main.main .text-section__inner .sg-landing > section.sg-section:first-of-type .sg-container.sg-grid-2 {
    gap: 80px !important;
  }

  main.main .text-section__inner .sg-landing .sg-section h1,
  main.main .text-section__inner .sg-landing .sg-section h2 {
    font-family: "Clash Display", "Outfit", sans-serif !important;
    font-size: 42px !important;
    font-weight: 500 !important;
    line-height: 1.08 !important;
    letter-spacing: -.02em !important;
    margin-bottom: 24px !important;
  }

  main.main .text-section__inner .sg-landing .sg-section .sg-lead {
    font-family: "Outfit", sans-serif !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
    margin-bottom: 32px !important;
  }

  main.main .text-section__inner .sg-landing .sg-section .sg-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    align-items: stretch !important;
  }

  main.main .text-section__inner .sg-landing > section.sg-section:first-of-type .sg-cards {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  main.main .text-section__inner .sg-landing .sg-card {
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
    padding: 14px 16px !important;
    border-radius: 12px !important;
  }

  main.main .text-section__inner .sg-landing > section.sg-section:first-of-type .sg-card {
    padding: 24px !important;
    background: #f8f9fa !important;
    border: 0 !important;
  }

  main.main .text-section__inner .sg-landing .sg-container:not(.sg-grid-2) > .sg-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  main.main .text-section__inner .sg-landing .sg-container:not(.sg-grid-2) > .sg-cards .sg-card {
    background: #f3f4f6 !important;
    border: 1px solid #e5e7eb !important;
  }

  main.main .text-section__inner .sg-landing .sg-media img,
  main.main .text-section__inner .sg-landing .sg-media video {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 768px) {
  main.main .text-section__inner .sg-landing .sg-container {
    width: 100% !important;
    max-width: none !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
  }

  main.main .text-section__inner .sg-landing .sg-container.sg-grid-2 {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 48px !important;
  }

  main.main .text-section__inner .sg-landing .sg-section h1,
  main.main .text-section__inner .sg-landing .sg-section h2 {
    font-family: "Clash Display", "Outfit", sans-serif !important;
    font-weight: 500 !important;
  }

  main.main .text-section__inner .sg-landing .sg-section .sg-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  main.main .text-section__inner .sg-landing > section.sg-section:first-of-type .sg-cards {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  main.main .text-section__inner .sg-landing .sg-container:not(.sg-grid-2) > .sg-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  main.main .text-section__inner .sg-landing .sg-card {
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
}

/* Replit 2026-09-09: the temporary ServiceDetail layout is left-aligned. */
main.main .text-section__inner .sg-landing .sg-section .sg-container.sg-grid-2 > div:first-child,
main.main .text-section__inner .sg-landing .sg-section .sg-container.sg-grid-2 > div:first-child h1,
main.main .text-section__inner .sg-landing .sg-section .sg-container.sg-grid-2 > div:first-child h2,
main.main .text-section__inner .sg-landing .sg-section .sg-container.sg-grid-2 > div:first-child .sg-lead,
main.main .text-section__inner .sg-landing .sg-section .sg-container:not(.sg-grid-2) > h1,
main.main .text-section__inner .sg-landing .sg-section .sg-container:not(.sg-grid-2) > h2,
main.main .text-section__inner .sg-landing .sg-section .sg-container:not(.sg-grid-2) > .sg-lead {
  text-align: left !important;
}

/* Replit 2026-09-09: match the temporary service canvas axis.
 * The WordPress theme constrains .text-section > .container to 68rem;
 * service pages need a full-width wrapper with a centered 1080px sg-container.
 */
@media (min-width: 769px) {
  body:is(.page-id-15, .page-id-2066, .page-id-2369, .page-id-2581, .page-id-1775, .page-id-1653, .page-id-1645, .page-id-1663) main.main .text-section > .container,
  body:is(.page-id-15, .page-id-2066, .page-id-2369, .page-id-2581, .page-id-1775, .page-id-1653, .page-id-1645, .page-id-1663) main.main .text-section__inner {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  body:is(.page-id-15, .page-id-2066, .page-id-2369, .page-id-2581, .page-id-1775, .page-id-1653, .page-id-1645, .page-id-1663) main.main .text-section > .container > h1 {
    width: min(1080px, 100%) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  body:is(.page-id-15, .page-id-2066, .page-id-2369, .page-id-2581, .page-id-1775, .page-id-1653, .page-id-1645, .page-id-1663) main.main .text-section__inner .sg-landing,
  body:is(.page-id-15, .page-id-2066, .page-id-2369, .page-id-2581, .page-id-1775, .page-id-1653, .page-id-1645, .page-id-1663) main.main .text-section__inner .sg-landing .sg-section {
    width: 100% !important;
  }

  body:is(.page-id-15, .page-id-2066, .page-id-2369, .page-id-2581, .page-id-1775, .page-id-1653, .page-id-1645, .page-id-1663) main.main .text-section__inner .sg-landing .sg-container {
    width: min(1080px, 100%) !important;
    max-width: 1080px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  body:is(.page-id-15, .page-id-2066, .page-id-2369, .page-id-2581, .page-id-1775, .page-id-1653, .page-id-1645, .page-id-1663) main.main .text-section__inner .sg-landing .sg-container {
    width: calc(100% - 48px) !important;
    max-width: 1080px !important;
  }
}

/* Replit 2026-09-09: keep the Services final contact copy visible. */
body:is(.page-id-15, .page-id-2066, .page-id-2369, .page-id-2581, .page-id-1775, .page-id-1653, .page-id-1645, .page-id-1663) main.main .text-section__inner .sg-landing .sg-section.sg-band .sg-lead {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}


/* Replit 2026-09-16: keep the Laser Hair Removal hero content and video in one split layout. */
@media (min-width: 769px) {
  body.page-id-1663 main.main .text-section__inner .sg-landing > section.sg-section:first-of-type .sg-container.sg-grid-2 {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .78fr) !important;
    column-gap: 64px !important;
    row-gap: 24px !important;
    align-items: start !important;
  }

  body.page-id-1663 main.main .text-section__inner .sg-landing > section.sg-section:first-of-type .sg-hero-copy {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body.page-id-1663 main.main .text-section__inner .sg-landing > section.sg-section:first-of-type > .sg-container > .sg-cards {
    grid-column: 1 !important;
    grid-row: 2 !important;
    margin-top: 0 !important;
    align-self: start !important;
  }

  body.page-id-1663 main.main .text-section__inner .sg-landing > section.sg-section:first-of-type .sg-video {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    align-self: stretch !important;
    min-height: 0 !important;
    height: 100% !important;
  }

  body.page-id-1663 main.main .text-section__inner .sg-landing > section.sg-section:first-of-type .sg-video video {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 768px) {
  body.page-id-1663 main.main .text-section__inner .sg-landing > section.sg-section:first-of-type .sg-hero-copy,
  body.page-id-1663 main.main .text-section__inner .sg-landing > section.sg-section:first-of-type > .sg-container > .sg-cards,
  body.page-id-1663 main.main .text-section__inner .sg-landing > section.sg-section:first-of-type .sg-video {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  body.page-id-1663 main.main .text-section__inner .sg-landing > section.sg-section:first-of-type .sg-video {
    height: auto !important;
    min-height: 0 !important;
  }

  body.page-id-1663 main.main .text-section__inner .sg-landing > section.sg-section:first-of-type .sg-video video {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    object-fit: contain !important;
  }
}


/* Replit 2026-09-16: group the first-section copy and feature cards in the left column. */
@media (min-width: 769px) {
  body.page-id-1663 main.main .text-section__inner .sg-landing > section.sg-section:first-of-type .sg-container.sg-grid-2 {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px) !important;
    column-gap: 64px !important;
    row-gap: 0 !important;
    align-items: start !important;
  }

  body.page-id-1663 main.main .text-section__inner .sg-landing > section.sg-section:first-of-type > .sg-container > .sg-hero-content {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    min-width: 0 !important;
  }

  body.page-id-1663 main.main .text-section__inner .sg-landing > section.sg-section:first-of-type > .sg-container > .sg-hero-content .sg-cards {
    margin-top: 0 !important;
  }

  body.page-id-1663 main.main .text-section__inner .sg-landing > section.sg-section:first-of-type .sg-video {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: start !important;
    height: auto !important;
    min-height: 0 !important;
  }

  body.page-id-1663 main.main .text-section__inner .sg-landing > section.sg-section:first-of-type .sg-video video {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 9 / 16 !important;
    object-fit: cover !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 768px) {
  body.page-id-1663 main.main .text-section__inner .sg-landing > section.sg-section:first-of-type > .sg-container > .sg-hero-content {
    grid-column: 1 !important;
    grid-row: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  body.page-id-1663 main.main .text-section__inner .sg-landing > section.sg-section:first-of-type .sg-video {
    grid-column: 1 !important;
    grid-row: auto !important;
    height: auto !important;
    min-height: 0 !important;
  }

  body.page-id-1663 main.main .text-section__inner .sg-landing > section.sg-section:first-of-type .sg-video video {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 9 / 16 !important;
    object-fit: contain !important;
  }
}
