/* Our Services: three compact picture cards at small-tablet widths. */
@media (min-width: 640px) and (max-width: 720px) {
  body.phlox-salon section#booking .booking-reviews > div,
  html[data-theme="organic"] body.phlox-salon section#booking .booking-reviews > div {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
  }

  body.phlox-salon section#booking .booking-reviews .eyebrow,
  body.phlox-salon section#booking .booking-reviews h2,
  html[data-theme="organic"] body.phlox-salon section#booking .booking-reviews .eyebrow,
  html[data-theme="organic"] body.phlox-salon section#booking .booking-reviews h2 {
    margin: 0 !important;
    white-space: nowrap !important;
  }

  body.phlox-salon section#booking .booking-reviews h2,
  html[data-theme="organic"] body.phlox-salon section#booking .booking-reviews h2 {
    font-size: 0.94rem !important;
  }

  body.phlox-salon section#booking .live-review-feed,
  html[data-theme="organic"] body.phlox-salon section#booking .live-review-feed {
    display: contents !important;
  }

  body.phlox-salon section#booking .live-review-title,
  html[data-theme="organic"] body.phlox-salon section#booking .live-review-title {
    display: flex !important;
    min-height: 0 !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.78rem !important;
    white-space: nowrap !important;
  }

  body.phlox-salon section#booking .live-review-title small,
  html[data-theme="organic"] body.phlox-salon section#booking .live-review-title small {
    display: none !important;
  }

  body.phlox-salon section#booking .live-review-item,
  html[data-theme="organic"] body.phlox-salon section#booking .live-review-item {
    grid-column: 1 / -1 !important;
    margin-top: 8px !important;
  }

  body.phlox-salon section#booking .selected-location-mini,
  html[data-theme="organic"] body.phlox-salon section#booking .selected-location-mini {
    display: flex !important;
    width: max-content !important;
    max-width: none !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    padding: 9px 12px !important;
  }

  body.phlox-salon section#booking .selected-location-mini strong,
  html[data-theme="organic"] body.phlox-salon section#booking .selected-location-mini strong {
    flex: 0 0 auto !important;
    color: #F0C597 !important;
    font-size: 0.9rem !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  body.phlox-salon section#booking .selected-location-mini span,
  html[data-theme="organic"] body.phlox-salon section#booking .selected-location-mini span {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    padding-left: 10px !important;
    border-left: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #FFFFFF !important;
    font-size: 0.76rem !important;
    font-weight: 650 !important;
    white-space: nowrap !important;
  }

  body.phlox-salon section#booking .selected-location-mini a,
  html[data-theme="organic"] body.phlox-salon section#booking .selected-location-mini a {
    flex: 0 0 auto !important;
    padding-left: 10px !important;
    border-left: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #E7F0DA !important;
    font-size: 0.82rem !important;
    font-weight: 850 !important;
    white-space: nowrap !important;
  }

  .phlox-salon .services-prices .price-controls,
  html[data-theme="organic"] .phlox-salon .services-prices .price-controls {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
  }

  .phlox-salon .services-prices .price-location-buttons,
  .phlox-salon .services-prices .price-mode-buttons,
  html[data-theme="organic"] .phlox-salon .services-prices .price-location-buttons,
  html[data-theme="organic"] .phlox-salon .services-prices .price-mode-buttons {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    min-width: 0 !important;
  }

  .phlox-salon .services-prices .price-location-buttons button,
  .phlox-salon .services-prices .price-mode-buttons button,
  html[data-theme="organic"] .phlox-salon .services-prices .price-location-buttons button,
  html[data-theme="organic"] .phlox-salon .services-prices .price-mode-buttons button {
    min-width: 0 !important;
    padding-inline: 10px !important;
    white-space: nowrap !important;
  }

  body.phlox-salon section.section.brand-qualities,
  html[data-theme="organic"] body.phlox-salon section.section.brand-qualities {
    display: block !important;
    width: calc(100% - 24px) !important;
    max-width: none !important;
    margin-inline: auto !important;
  }

  .phlox-salon .qualities-grid,
  html[data-theme="organic"] .phlox-salon .qualities-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .phlox-salon .qualities-grid .quality-art-card,
  html[data-theme="organic"] .phlox-salon .qualities-grid .quality-art-card {
    width: 100% !important;
    min-width: 0 !important;
    aspect-ratio: auto !important;
  }

  .phlox-salon .qualities-grid .quality-art-card img,
  html[data-theme="organic"] .phlox-salon .qualities-grid .quality-art-card img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 517 / 594 !important;
    object-fit: contain !important;
  }

  body.phlox-salon section.section.simple-about,
  html[data-theme="organic"] body.phlox-salon section.section.simple-about {
    display: grid !important;
    grid-template-columns: minmax(0, 1.2fr) minmax(210px, 0.8fr) !important;
    width: calc(100% - 24px) !important;
    max-width: none !important;
    margin-inline: auto !important;
    gap: 18px !important;
    align-items: center !important;
  }

  .phlox-salon .simple-about .split-image,
  html[data-theme="organic"] .phlox-salon .simple-about .split-image {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 260px !important;
    object-fit: contain !important;
  }

  .phlox-salon #mobileInfo .mobile-quick-actions,
  html[data-theme="organic"] .phlox-salon #mobileInfo .mobile-quick-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .phlox-salon #mobileInfo .mobile-quick-actions > a,
  .phlox-salon #mobileInfo .mobile-quick-actions > button,
  html[data-theme="organic"] .phlox-salon #mobileInfo .mobile-quick-actions > a,
  html[data-theme="organic"] .phlox-salon #mobileInfo .mobile-quick-actions > button {
    grid-column: auto !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .phlox-salon .services-preview-section,
  html[data-theme="organic"] .phlox-salon .services-preview-section {
    width: calc(100% - 24px) !important;
    max-width: none !important;
    margin-inline: auto !important;
  }

  .phlox-salon .service-preview-grid,
  html[data-theme="organic"] .phlox-salon .service-preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .phlox-salon .service-preview-grid .service-art-card,
  .phlox-salon .service-preview-grid article,
  html[data-theme="organic"] .phlox-salon .service-preview-grid .service-art-card,
  html[data-theme="organic"] .phlox-salon .service-preview-grid article {
    width: 100% !important;
    min-width: 0 !important;
  }

  .phlox-salon .service-preview-grid .service-art-card img,
  .phlox-salon .service-preview-grid img,
  html[data-theme="organic"] .phlox-salon .service-preview-grid .service-art-card img,
  html[data-theme="organic"] .phlox-salon .service-preview-grid img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
  }

  .phlox-salon .service-preview-grid .service-card-action,
  html[data-theme="organic"] .phlox-salon .service-preview-grid .service-card-action {
    flex-wrap: nowrap !important;
    gap: 4px !important;
    padding: 5px !important;
  }

  .phlox-salon .service-preview-grid .service-card-action .service-link-button,
  html[data-theme="organic"] .phlox-salon .service-preview-grid .service-card-action .service-link-button {
    min-width: 0 !important;
    min-height: 30px !important;
    padding: 0 5px !important;
    font-size: 0.58rem !important;
  }

  .phlox-salon .service-preview-grid .service-card-action .service-info-button,
  html[data-theme="organic"] .phlox-salon .service-preview-grid .service-card-action .service-info-button {
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    flex-basis: 30px !important;
  }
}
/* Compact booking summaries wherever the available width can hold one row. */
@media (min-width: 480px) {
  body.phlox-salon section#booking .booking-reviews > div,
  html[data-theme="organic"] body.phlox-salon section#booking .booking-reviews > div {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
  }

  body.phlox-salon section#booking .booking-reviews .eyebrow,
  body.phlox-salon section#booking .booking-reviews h2,
  html[data-theme="organic"] body.phlox-salon section#booking .booking-reviews .eyebrow,
  html[data-theme="organic"] body.phlox-salon section#booking .booking-reviews h2 {
    margin: 0 !important;
    white-space: nowrap !important;
  }

  body.phlox-salon section#booking .booking-reviews h2,
  html[data-theme="organic"] body.phlox-salon section#booking .booking-reviews h2 {
    font-size: 0.94rem !important;
  }

  body.phlox-salon section#booking .live-review-feed,
  html[data-theme="organic"] body.phlox-salon section#booking .live-review-feed {
    display: contents !important;
  }

  body.phlox-salon section#booking .live-review-title,
  html[data-theme="organic"] body.phlox-salon section#booking .live-review-title {
    display: flex !important;
    min-height: 0 !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.78rem !important;
    white-space: nowrap !important;
  }

  body.phlox-salon section#booking .live-review-title small,
  html[data-theme="organic"] body.phlox-salon section#booking .live-review-title small {
    display: none !important;
  }

  body.phlox-salon section#booking .live-review-item,
  html[data-theme="organic"] body.phlox-salon section#booking .live-review-item {
    grid-column: 1 / -1 !important;
    margin-top: 8px !important;
  }

  body.phlox-salon section#booking .selected-location-mini,
  html[data-theme="organic"] body.phlox-salon section#booking .selected-location-mini {
    display: flex !important;
    width: max-content !important;
    max-width: 100% !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    padding: 9px 12px !important;
  }

  body.phlox-salon section#booking .selected-location-mini strong,
  html[data-theme="organic"] body.phlox-salon section#booking .selected-location-mini strong {
    flex: 0 0 auto !important;
    color: #F0C597 !important;
    font-size: 0.9rem !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  body.phlox-salon section#booking .selected-location-mini span,
  html[data-theme="organic"] body.phlox-salon section#booking .selected-location-mini span {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    padding-left: 10px !important;
    border-left: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #FFFFFF !important;
    font-size: 0.76rem !important;
    font-weight: 650 !important;
    white-space: nowrap !important;
  }

  body.phlox-salon section#booking .selected-location-mini a,
  html[data-theme="organic"] body.phlox-salon section#booking .selected-location-mini a {
    flex: 0 0 auto !important;
    padding-left: 10px !important;
    border-left: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #E7F0DA !important;
    font-size: 0.82rem !important;
    font-weight: 850 !important;
    white-space: nowrap !important;
  }
}

/* Fill the viewport with Quick Info and keep the final FAQ close to the footer. */
@media (max-width: 900px) {
  body.phlox-salon #mobileInfo,
  html[data-theme="organic"] body.phlox-salon #mobileInfo {
    width: calc(100% - 16px) !important;
    max-width: none !important;
    margin: 8px auto 16px !important;
  }
}

body.phlox-salon main:has(> .homepage-faq:last-child),
html[data-theme="organic"] body.phlox-salon main:has(> .homepage-faq:last-child) {
  padding-bottom: 24px !important;
}

body.phlox-salon .homepage-faq,
html[data-theme="organic"] body.phlox-salon .homepage-faq {
  padding-bottom: 18px !important;
}
/* Keep the promotion-banner close glyph optically centered at every size. */
.phlox-salon .promo-ticker-close,
html[data-theme="organic"] .phlox-salon .promo-ticker-close {
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 1 !important;
  text-align: center !important;
}

.phlox-salon .promo-ticker-close::before,
html[data-theme="organic"] .phlox-salon .promo-ticker-close::before {
  content: "\00d7";
  display: block;
  color: inherit;
  font-family: Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-0.5px);
}

/* Keep all Services & Prices controls on one row across phone and tablet widths. */
@media (max-width: 720px) {
  .phlox-salon .services-prices .price-controls,
  html[data-theme="organic"] .phlox-salon .services-prices .price-controls {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 5px !important;
    width: 100% !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
  }

  .phlox-salon .services-prices .price-controls::-webkit-scrollbar,
  html[data-theme="organic"] .phlox-salon .services-prices .price-controls::-webkit-scrollbar {
    display: none !important;
  }

  .phlox-salon .services-prices .price-location-buttons,
  .phlox-salon .services-prices .price-mode-buttons,
  html[data-theme="organic"] .phlox-salon .services-prices .price-location-buttons,
  html[data-theme="organic"] .phlox-salon .services-prices .price-mode-buttons {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-wrap: nowrap !important;
    gap: 5px !important;
  }

  .phlox-salon .services-prices .price-controls button,
  html[data-theme="organic"] .phlox-salon .services-prices .price-controls button {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    padding: 8px 9px !important;
    font-size: 0.72rem !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 900px) {
  .phlox-salon .services-preview-section,
  html[data-theme="organic"] .phlox-salon .services-preview-section {
    width: calc(100% - 16px) !important;
    max-width: none !important;
    margin-inline: auto !important;
  }

  .phlox-salon .service-preview-grid,
  html[data-theme="organic"] .phlox-salon .service-preview-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .phlox-salon .service-preview-grid article,
  html[data-theme="organic"] .phlox-salon .service-preview-grid article {
    width: 100% !important;
    min-width: 0 !important;
  }

  .phlox-salon #mobileInfo .mobile-quick-actions,
  html[data-theme="organic"] .phlox-salon #mobileInfo .mobile-quick-actions {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 5px !important;
  }

  .phlox-salon #mobileInfo .mobile-quick-actions > a,
  .phlox-salon #mobileInfo .mobile-quick-actions > button,
  html[data-theme="organic"] .phlox-salon #mobileInfo .mobile-quick-actions > a,
  html[data-theme="organic"] .phlox-salon #mobileInfo .mobile-quick-actions > button {
    grid-column: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    padding-inline: 6px !important;
    white-space: nowrap !important;
  }
}
