/* Only the visible homepage price preview; the full guide keeps its own layout. */
.home-reference-prices { min-width: 0; max-width: 100%; padding-block: 24px; }
.home-reference-prices .home-price-results { min-width: 0; max-width: 100%; }
.home-reference-prices .home-price-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 8px; }
.home-reference-prices .home-price-heading h2 { margin: 0; color: var(--navy); font-size: clamp(23px,3vw,30px); }
.home-reference-prices .home-price-heading > a { display: inline-flex; align-items: center; min-height: 44px; color: var(--navy); font-weight: 600; }
.home-reference-prices .home-price-notice { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.home-reference-prices .home-price-strip { display: flex; flex-flow: row nowrap; width: 100%; min-width: 0; max-width: 100%; align-items: start; gap: 12px; padding: 2px 2px 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; }
/* Non-shrinking mobile tracks are shared by static HTML and runtime cards.
   Separate grow/shrink/basis declarations preserve a full-width fallback if a
   renderer cannot evaluate a calc expression. Six cards must never share one
   viewport by shrinking their text columns. */
.home-reference-prices .home-price-strip > .home-price-card { flex-grow: 0; flex-shrink: 0; flex-basis: 100%; flex-basis: calc(100% - 12px); width: 100%; width: calc(100% - 12px); min-width: 0; max-width: 100%; }
.home-reference-prices .home-price-card { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--navy); scroll-snap-align: start; overflow-wrap: anywhere; }
.home-reference-prices .home-price-hospital { display: inline-flex; align-items: center; min-height: 44px; color: var(--navy); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.home-reference-prices .home-price-title { margin-block: 4px 10px; font-size: 17px; line-height: 1.55; }
.home-reference-prices .home-price-kind { margin: 0; color: var(--muted); font-size: 12px; }
.home-reference-prices .home-price-amount { margin: 4px 0 10px; color: var(--navy); font-size: clamp(24px,3vw,29px); font-weight: 700; line-height: 1.4; }
/* Allow the KRW suffix and, at large text sizes, a long number to reflow rather
   than overflow or be clipped. Normal-sized source prices still fit one line. */
.home-reference-prices .home-price-line > .home-price-amount { min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: break-word; }
.home-reference-prices .home-price-scope { margin-block: 8px; font-size: 13px; line-height: 1.6; }
.home-reference-prices .home-price-scope > div { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 8px; margin-block: 4px; }
.home-reference-prices .home-price-scope dt { color: var(--muted); }
.home-reference-prices .home-price-scope dd { margin: 0; }
.home-reference-prices .home-price-eligibility { margin-block: 8px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.home-reference-prices .home-price-card > .muted, .home-reference-prices .home-price-expiry { margin-block: 4px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.home-reference-prices .home-price-expiry p { margin: 0; }
.home-reference-prices .home-price-details { margin-top: 10px; border-top: 1px solid var(--line); }
.home-reference-prices .home-price-details > summary { min-height: 44px; display: flex; align-items: center; gap: 8px; padding-block: 8px; color: var(--navy); font-weight: 600; font-size: 14px; cursor: pointer; list-style: none; }
.home-reference-prices .home-price-details > summary::after { content: '+'; margin-inline-start: auto; font-size: 22px; }
.home-reference-prices .home-price-details[open] > summary::after { content: '−'; }
.home-reference-prices .home-price-details > summary::-webkit-details-marker { display: none; }
.home-reference-prices .home-price-details > .reference-offer-card { padding: 0; border: 0; border-radius: 0; }
.home-reference-prices .home-price-details .reference-option-list > div, .home-reference-prices .home-price-details .reference-inclusions > div { gap: 8px; font-size: 13px; }
.home-reference-prices .home-price-details .reference-actions a { min-height: 44px; }
.home-reference-prices .reference-estimate { margin-block: 6px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.home-reference-prices a:focus-visible, .home-reference-prices summary:focus-visible, .home-reference-prices .home-price-strip:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
@media (min-width: 761px) {
  .home-reference-prices .home-price-strip { gap: 16px; }
  .home-reference-prices .home-price-strip > .home-price-card { flex-basis: 50%; flex-basis: calc((100% - 16px) / 2); width: 50%; width: calc((100% - 16px) / 2); }
}
@media (min-width: 1101px) {
  .home-reference-prices .home-price-strip > .home-price-card { flex-basis: 33.333333%; flex-basis: calc((100% - 32px) / 3); width: 33.333333%; width: calc((100% - 32px) / 3); }
}
@media (max-width: 700px) {
  .home-reference-prices { padding-block: 20px; }
  .home-reference-prices .home-price-card { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-reference-prices .home-price-strip { scroll-snap-type: none; }
}
