* { box-sizing: border-box; }
:root { color-scheme: light; font: 16px/1.5 Inter, system-ui, -apple-system, sans-serif; color: #231f28; background: #f8f8fa; --ink: #231f28; --muted: #59545e; --line: #dddce1; --pink: #9c1764; --pale: #faf0f6; }
body { margin: 0; }
a { color: var(--pink); }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .53; }
[hidden], #countries:empty, #share-status:empty { display: none !important; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #be3788; outline-offset: 3px; }
.shell { max-width: 1220px; margin: auto; padding-inline: clamp(18px, 4vw, 48px); }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
nav, nav div, .section-head, .offer-head, .offer-foot, .toolbar, .shortbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
nav { min-height: 64px; }
nav img { display: block; max-width: 28vw; }
nav div { gap: clamp(12px, 3vw, 30px); }
nav a { color: var(--ink); font-size: .91rem; text-decoration: none; font-weight: 600; }
nav a:hover, .text-button:hover { text-decoration: underline; }
main { padding-block-end: 64px; }
.intro { padding-block: clamp(28px, 5vw, 62px) clamp(24px, 4vw, 42px); }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.15rem, 4.8vw, 3.65rem); line-height: 1.05; letter-spacing: -.055em; }
.intro p { margin-top: .7rem; color: var(--muted); max-width: 43rem; }
h2 { font-size: 1.19rem; letter-spacing: -.025em; }
h3 { font-size: clamp(1.04rem, 2vw, 1.25rem); line-height: 1.3; letter-spacing: -.025em; }
.layout { display: grid; grid-template-columns: minmax(235px, 285px) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: start; }
aside, .offer, #shortlist, #empty { background: #fff; border: 1px solid var(--line); border-radius: 16px; }
aside { display: grid; gap: 15px; padding: clamp(16px, 2.4vw, 24px); }
label { font-size: .83rem; font-weight: 650; display: grid; gap: 5px; }
select, input { width: 100%; min-width: 0; border: 1px solid #bdb9c1; border-radius: 8px; color: var(--ink); font-size: .94rem; font-weight: 450; padding: 9px 11px; background: #fff; min-height: 43px; }
select { text-overflow: ellipsis; }
.field { position: relative; }
.field input { padding-right: 48px; }
.field span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-weight: 500; font-size: .78rem; color: var(--muted); pointer-events: none; }
input[type=number] { appearance: textfield; }
input::-webkit-inner-spin-button { appearance: none; }
.filter-pair { display: grid; gap: 15px; }
button, .buy { border-radius: 8px; }
.text-button { background: transparent; border: 0; color: var(--pink); padding: 4px 0; font-size: .84rem; font-weight: 650; }
.secondary, .shortbar button, .buy { font-size: .9rem; font-weight: 650; padding: 9px 14px; }
.secondary { border: 1px solid #c6bec7; background: #fff; color: var(--ink); }
.secondary:hover { border-color: var(--pink); }
#countries, #short-items { display: flex; gap: 6px; flex-wrap: wrap; }
#countries { margin-top: -6px; }
#countries button, #short-items button { border: 1px solid #ddc7d6; color: #722052; background: var(--pale); font-family: inherit; font-weight: 600; font-size: .8rem; line-height: 1.35; padding: 5px 8px; }
.catalog { min-width: 0; }
.toolbar { margin: 0 0 12px; flex-wrap: wrap; }
.toolbar label { display: flex; align-items: center; color: var(--muted); gap: 8px; }
.toolbar select { width: auto; max-width: 100%; min-height: 38px; padding: 6px; }
.helper, .coverage, .detail, .provider, .source-date, .price-box small { color: var(--muted); font-size: .84rem; }
#disclosure { margin-bottom: 10px; }
#results, #short-items { list-style: none; padding: 0; margin: 0; }
#results { display: grid; gap: 12px; }
.offer { padding: clamp(14px, 2.4vw, 23px); }
.offer-head { align-items: flex-start; }
.offer-head > div { min-width: 0; }
.offer h3, .coverage, .plan-title, #short-items button { overflow-wrap: anywhere; }
.provider { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-bottom: 5px; }
.type-tag { display: inline-block; background: #f2f1f4; color: #514956; border-radius: 4px; line-height: 1.35; padding: 3px 6px; font-size: .75rem; }
.price-box { text-align: right; flex: none; }
.price-box strong { display: block; font-size: clamp(1.16rem, 2.4vw, 1.55rem); line-height: 1.25; }
.facts { display: flex; flex-wrap: wrap; gap: 10px clamp(20px, 4vw, 42px); margin: 16px 0 12px; }
.facts dt { color: var(--muted); font-size: .74rem; }
.facts dd { font-size: .92rem; font-weight: 620; margin: 2px 0 0; }
.coverage { margin: 6px 0; }
.coverage summary { cursor: pointer; width: fit-content; }
.coverage p { padding: 4px 0; }
.offer-foot { flex-wrap: wrap; justify-content: flex-start; border-top: 1px solid #eeedf0; padding-top: 12px; margin-top: 15px; }
.buy { color: #fff; background: var(--pink); text-decoration: none; display: inline-block; }
.buy:hover, .shortbar button:hover:enabled { background: #79104c; }
.compare-choice { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; color: var(--muted); cursor: pointer; min-height: 40px; }
.compare-choice input { accent-color: var(--pink); width: 17px; height: 17px; min-height: 0; margin: 0; }
#more { margin: 18px auto; display: block; }
#empty { padding: 22px; }
#empty p { margin: 5px 0 12px; color: var(--muted); }
#shortlist { margin-bottom: 18px; padding: 16px; border-color: #d8b8cb; }
.shortbar strong, .shortbar span { display: block; }
.shortbar span { color: var(--muted); font-size: .84rem; }
.shortbar button { color: white; background: var(--pink); border: 0; }
#short-items { margin-top: 10px; }
#compare-detail h2 { margin-top: 20px; }
#compare-table { overflow-x: auto; margin-top: 8px; }
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .85rem; }
th, td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 9px 12px; min-width: 140px; }
th:first-child { position: sticky; left: 0; background: #faf9fb; min-width: 95px; max-width: 110px; }
thead th { border-top: 1px solid var(--line); }
@media (max-width: 730px) {
  .layout { grid-template-columns: 1fr; }
  aside { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 12px; }
  .section-head, #countries, .filter-pair, #share-status, #share-fallback { grid-column: 1/-1; }
  #filters label:has(#destination) { grid-column: 1/-1; }
  .filter-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  #countries { margin: 0; }
  #share { align-self: center; }
}
@media (max-width: 420px) {
  .toolbar { align-items: start; gap: 7px; }
  .toolbar label { font-size: .77rem; }
  .toolbar select { font-size: .82rem; }
  .offer-head { gap: 5px; }
}
#filter-fields { display: grid; gap: 15px; }
#reset { justify-self: start; }
#mobile-filter-toggle { display: none; }
.network-check { display: flex; flex-direction: row; align-items: center; gap: 8px; min-height: 28px; }
.network-check input { margin: 0; width: 17px; min-height: 0; height: 17px; accent-color: var(--pink); }
.site-footer { border-top: 1px solid var(--line); background: white; }
.site-footer .shell { padding-block: 20px; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.site-footer a { color: var(--muted); font-size: .85rem; }
@media (max-width: 730px) {
  #mobile-filter-toggle { display: block; border: 1px solid #c6bec7; padding: 6px 12px; color: var(--pink); background: #fff; }
  #filter-fields { grid-column: 1 / -1; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; align-items: end; }
  #reset, .network-check { grid-column: 1 / -1; }
  .section-head { align-items: center; }
}

#trip-summary { display: none; }
@media (max-width: 730px) { #trip-summary:not(:empty) { display: block; } #mobile-filter-toggle { flex-shrink: 0; } }

.offer h3 a,.plan-title a,.provider a {color:inherit;text-decoration:underline;text-decoration-color:#d5bccb;text-underline-offset:.17em}
.offer h3 a:hover,.plan-title a:hover,.provider a:hover {color:var(--pink);text-decoration-color:currentColor}
@media (max-width:480px) {nav{flex-wrap:wrap;justify-content:flex-start;row-gap:6px;padding-block:10px}nav div{flex-wrap:wrap;column-gap:15px}nav a{font-size:.86rem}}
