/* /se (BETA) — Švedijos kainų paieška */
.se-page { overflow-x: clip; min-height: 100vh; background: var(--bg-primary); color: var(--text-primary); font-family: var(--font-ui, Inter, system-ui, sans-serif); }
:root[data-theme="light"] .se-page { background: #f6f6f9; }

/* ── Header ─────────────────────────────────────────────────────────── */
.se-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: .85rem; padding: .95rem 1.3rem; background: color-mix(in srgb, var(--bg-primary) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-subtle); }
:root[data-theme="light"] .se-top { background: rgba(246,246,249,.9); }
.se-logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; font-weight: 800; letter-spacing: .07em; font-size: .88rem; }
.se-logo i { font-style: normal; width: 32px; height: 32px; border-radius: 9px; background: var(--accent-solid, #7c3aed); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset; }
.se-pill { background: #f59e0b; color: #1c1300; font-weight: 800; font-size: .64rem; letter-spacing: .09em; padding: .2rem .55rem; border-radius: 99px; }
.se-sp { flex: 1; }
.se-lang { display: flex; gap: .15rem; padding: .2rem; border-radius: 99px; background: var(--bg-secondary); border: 1px solid var(--border-subtle); }
:root[data-theme="light"] .se-lang { background: #fff; }
.se-lang button { border: none; background: transparent; color: inherit; font: inherit; font-size: .72rem; font-weight: 700; padding: .32rem .6rem; border-radius: 99px; cursor: pointer; }
.se-lang button[aria-pressed="true"] { background: var(--accent-solid, #7c3aed); color: #fff; }
.se-home { white-space: nowrap; font-size: .78rem; color: var(--text-muted); text-decoration: none; padding: .3rem .5rem; }
.se-home:hover { color: var(--text-primary); }

/* ── Layout ─────────────────────────────────────────────────────────── */
.se-beta { margin: 1rem auto 0; width: min(760px, calc(100% - 32px)); padding: .65rem .9rem; border-radius: 12px; background: rgba(245,158,11,.14); border: 1px solid rgba(245,158,11,.4); font-size: .8rem; line-height: 1.4; }
.se-wrap { position: relative; width: min(1080px, calc(100% - 32px)); margin: 0 auto; padding-bottom: 7rem; }

/* Atmosfera už herojaus — ramus, vienas akcentas, kaip likusiuose brand puslapiuose. */
.se-wrap::before {
  content: ''; position: absolute; top: -2rem; left: 50%; transform: translateX(-50%);
  width: 60rem; height: 26rem; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent-solid, #7c3aed) 16%, transparent), transparent 72%);
}
:root[data-theme="light"] .se-wrap::before { opacity: .5; }

/* ── Herojus ────────────────────────────────────────────────────────── */
.se-hero { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; padding: 2.6rem 0 1.3rem; text-align: center; }
.se-hero h1 {
  font-family: var(--font-display, 'Source Serif 4', Georgia, serif); font-weight: 700;
  font-size: clamp(2.1rem, 5.2vw, 3.1rem); line-height: 1.08; margin: 0 0 .7rem; letter-spacing: -.015em;
}
.se-hero p { color: var(--text-muted); margin: 0 auto 1.3rem; max-width: 34rem; font-size: 1rem; line-height: 1.5; }
.se-form { display: flex; gap: .5rem; }
.se-input { flex: 1; min-width: 0; padding: 1rem 1.15rem; font: inherit; font-size: 1.05rem; border-radius: 16px; border: 2px solid var(--border-subtle); background: var(--bg-secondary); color: inherit; }
:root[data-theme="light"] .se-input { background: #fff; }
.se-input:focus { outline: none; border-color: var(--accent-solid, #7c3aed); }
.se-chips { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: .9rem; }
.se-chip { border: 1px solid var(--border-subtle); background: var(--bg-secondary); color: inherit; font: inherit; font-size: .82rem; padding: .35rem .8rem; border-radius: 99px; cursor: pointer; transition: border-color .15s; }
.se-chip:hover { border-color: var(--border-hover); }
:root[data-theme="light"] .se-chip { background: #fff; }
.se-state { position: relative; z-index: 1; text-align: center; color: var(--text-muted); font-size: .9rem; min-height: 1.4rem; margin: .8rem 0; }

.se-scan { flex: none; width: 54px; display: grid; place-items: center; border: 2px solid var(--border-subtle); border-radius: 16px; background: var(--bg-secondary); color: var(--text-secondary); cursor: pointer; transition: border-color .15s, color .15s; }
.se-scan:hover { border-color: var(--accent-solid, #7c3aed); color: var(--accent-solid, #7c3aed); }
:root[data-theme="light"] .se-scan { background: #fff; }

/* ── Rezultatų / pasiūlymų tinklelis (kortelės — .ts-card iš tourist.css) ─ */
#seResults, #seDeals { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: .65rem; }
@media (min-width: 760px) {
  #seResults, #seDeals { grid-template-columns: 1fr 1fr; }
}

/* ── Sekcijų antraštės ──────────────────────────────────────────────── */
.se-sec { position: relative; z-index: 1; margin-top: 2.8rem; }
.se-sec h2 {
  font-family: var(--font-display, 'Source Serif 4', Georgia, serif); font-weight: 700;
  font-size: 1.5rem; letter-spacing: -.01em; margin: 0 0 .25rem;
}
.se-sec > p { margin: 0 0 1.1rem; font-size: .85rem; color: var(--text-muted); }

/* ── Švedija vs Lietuva ─────────────────────────────────────────────── */
.se-basket { position: relative; z-index: 1; margin: 2.8rem auto 0; max-width: 640px; padding: 1.4rem 1.5rem 1.1rem; border-radius: 18px; background: var(--bg-secondary); border: 1px solid var(--border-subtle); }
:root[data-theme="light"] .se-basket { background: #fff; }
.se-basket h3 {
  font-family: var(--font-display, 'Source Serif 4', Georgia, serif); font-weight: 700;
  margin: 0 0 .2rem; font-size: 1.25rem;
}
.se-basket p { margin: 0 0 .8rem; font-size: .78rem; color: var(--text-muted); }
.se-basket table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.se-basket th { text-align: right; font-size: .68rem; font-weight: 700; letter-spacing: .04em; color: var(--text-muted); padding: 0 .3rem .5rem; }
.se-basket td { padding: .55rem .3rem; border-top: 1px solid var(--border-subtle); text-align: right; font-variant-numeric: tabular-nums; }
.se-basket th:first-child, .se-basket td:first-child { text-align: left; }
.se-basket td small { display: block; opacity: .5; font-size: .78em; margin-top: .1rem; }
.se-basket .b { font-weight: 800; color: var(--accent-primary, #a78bfa); }

/* ── Kur perka vietiniai (tinklų kortelės) ──────────────────────────── */
#seChains { display: grid; grid-template-columns: 1fr; gap: .7rem; }
@media (min-width: 760px) {
  #seChains { grid-template-columns: 1fr 1fr; }
}
.se-chain { padding: 1.1rem 1.2rem; border-radius: 16px; background: var(--bg-secondary); border: 1px solid var(--border-subtle); transition: border-color .15s; }
.se-chain:hover { border-color: var(--border-hover); }
:root[data-theme="light"] .se-chain { background: #fff; }
.se-chain-h { display: flex; align-items: center; gap: .6rem; }
.se-chain-h b { font-size: 1.02rem; }
.se-mark { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-weight: 800; flex: none; }
.se-dots { margin-left: auto; color: var(--accent-solid, #7c3aed); letter-spacing: 2px; font-size: .8rem; }
.se-np { font-size: .62rem; font-weight: 700; padding: .05rem .4rem; border-radius: 99px; background: rgba(120,120,140,.16); color: var(--text-muted); }
.se-chain p { margin: .55rem 0 0; font-size: .84rem; line-height: 1.48; color: var(--text-secondary, inherit); }
.se-chain .se-pc { margin-top: .35rem; }
.se-chain .se-loy { margin-top: .6rem; padding-top: .6rem; border-top: 1px dashed var(--border-subtle); font-size: .82rem; }
.se-chain .se-loy-h { margin: 0; }
.se-chain .se-loy-note { margin: .3rem 0 0; color: var(--text-muted); font-size: .93em; line-height: 1.45; }
.se-chain .se-loy-link { display: inline-block; margin-top: .4rem; color: var(--accent-solid, #7c3aed); font-weight: 700; text-decoration: none; font-size: .88em; }
.se-chain .se-loy-link:hover { text-decoration: underline; }

.se-foot { position: relative; z-index: 1; text-align: center; color: var(--text-muted); font-size: .75rem; padding: 2.5rem 1rem 1rem; }
.se-more { position: relative; z-index: 1; display: block; margin: .9rem auto 0; padding: .7rem 1.6rem; border-radius: 99px; border: 1px solid var(--border-subtle); background: var(--bg-secondary); color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
.se-more[hidden] { display: none; }

@media (max-width: 400px) {
  .se-home { display: none; }
  .se-top { gap: .5rem; padding: .7rem .85rem; }
  .se-wrap::before { width: 34rem; height: 18rem; }
}

/* dekoratyvinis švytėjimas (::before) neturi plėsti puslapio į šoną mobiliajame */
.se-page, .se-wrap { overflow-x: clip; }
