/*
 * LaMilka 0.4.65 — exact Lovable tour feature-band rendering.
 * Source of truth: src/components/TourSkeletonTemplate.tsx
 *
 * <1024px:
 *   mt-4 grid grid-cols-2 gap-x-2 gap-y-0.5 rounded-lg border
 *   px-2 py-1 text-[12.5px]; item px-2 py-0.5; no divider nodes.
 * >=1024px:
 *   mt-5 flex flex-wrap items-center justify-center gap-x-6
 *   rounded-lg border px-4 py-3 text-sm; literal "|" divider nodes.
 */

@media (max-width: 1023px) {
  html body .lamilka-detail__features {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: center !important;
    justify-content: normal !important;
    column-gap: 8px !important;
    row-gap: 2px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 16px 0 0 !important;
    padding: 4px 8px !important;
    border: 1px solid rgba(15, 27, 61, 0.12) !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: rgba(15, 27, 61, 0.80) !important;
    box-shadow: none !important;
    font-family: Inter, system-ui, sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 400 !important;
    line-height: 18.75px !important;
  }

  html body .lamilka-detail__features > span {
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 2px 8px !important;
    gap: 6px !important;
    border: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font: inherit !important;
    line-height: inherit !important;
    text-align: center !important;
  }

  /* Lovable mobile order: transfer + age, then inclusion + duration. */
  html body .lamilka-detail__features > span { order: 3 !important; }
  html body .lamilka-detail__features > span:has(.lamilka-tour-information-icon--transfer) { order: 1 !important; }
  html body .lamilka-detail__features > span:has(.lamilka-tour-information-icon--user) { order: 2 !important; }

  html body .lamilka-detail__features > span::before,
  html body .lamilka-detail__features > span::after {
    display: none !important;
    content: none !important;
  }

  html body .lamilka-detail__features > span > span {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    font: inherit !important;
    line-height: inherit !important;
    white-space: nowrap !important;
  }

  html body .lamilka-detail__features .lamilka-tour-information-icon,
  html body .lamilka-detail__features .lamilka-tour-information-icon svg {
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    flex: 0 0 16px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

@media (min-width: 1024px) {
  html body .lamilka-detail__features {
    box-sizing: border-box !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    column-gap: 24px !important;
    row-gap: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 20px 0 0 !important;
    padding: 12px 16px !important;
    border: 1px solid rgba(15, 27, 61, 0.12) !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: rgba(15, 27, 61, 0.80) !important;
    box-shadow: none !important;
    font-family: Inter, system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 20px !important;
  }

  html body .lamilka-detail__features > span {
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    order: 0 !important;
    min-width: 0 !important;
    min-height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 6px !important;
    border: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font: inherit !important;
    line-height: inherit !important;
    text-align: center !important;
  }

  html body .lamilka-detail__features > span::after {
    display: none !important;
    content: none !important;
  }

  /* Lovable renders a literal muted "|" child between FeatureChip nodes.
     The flex gap supplies 24px on each side of the glyph. */
  html body .lamilka-detail__features > span + span::before {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 24px 0 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
    border: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    content: "|" !important;
    font-family: Inter, system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 20px !important;
  }

  html body .lamilka-detail__features > span:first-child::before {
    display: none !important;
    content: none !important;
  }

  html body .lamilka-detail__features > span > span {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    font: inherit !important;
    line-height: inherit !important;
    white-space: nowrap !important;
  }

  html body .lamilka-detail__features .lamilka-tour-information-icon,
  html body .lamilka-detail__features .lamilka-tour-information-icon svg {
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    flex: 0 0 16px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}
