/* Connectoras Lists — δημόσιες σελίδες. ΠΑΝΩ στο cnx.css: χρώματα, γραμματοσειρά,
   ακτίνες και σκιές είναι τα tokens του portal (και η μάρκα του πελάτη από το branding).
   Logical properties παντού (inline-start/end) ώστε αραβικά/εβραϊκά να γυρίζουν σωστά. */

body.lp { background: var(--bg); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Footer ΠΑΝΤΑ στο κάτω μέρος: η σελίδα πιάνει όλο το ύψος και το <main> τρώει τον χώρο
   που περισσεύει. Σε μεγάλη σελίδα το footer απλώς ακολουθεί το περιεχόμενο. dvh για κινητά
   (η μπάρα διεύθυνσης αλλάζει το ύψος), vh ως εφεδρεία. */
.lp-wrap { max-width: 780px; margin: 0 auto; padding: 0 16px 20px;
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.lp-wrap > main { flex: 1 0 auto; }
.lp-wrap > .lp-foot { flex-shrink: 0; }

.lp-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 0; min-height: 64px;
}
.lp-logo { display: flex; align-items: center; min-height: 38px; font-weight: 750; color: var(--ink); }
.lp-logo img { max-height: 38px; max-width: 180px; display: block; }
.lp-top .select { width: auto; min-width: 128px; }

.lp-hero {
  position: relative; overflow: hidden;
  background: var(--brand-dark); color: #fff;
  border-radius: var(--r-xl); padding: 28px 24px 24px; margin-bottom: 16px;
  box-shadow: var(--sh-2);
}
.lp-hero::after {
  content: ""; position: absolute; inset-inline-end: -60px; top: -60px; width: 220px; height: 220px;
  border-radius: 50%; background: var(--brand-accent); opacity: .22; pointer-events: none;
}
/* Φωτογραφία λίστας: γεμίζει την κορυφή του πλαισίου, από άκρη σε άκρη. Χωρίς φωτογραφία
   η κλάση δεν μπαίνει και το πλαίσιο μένει όπως ήταν. Ο διακοσμητικός κύκλος φεύγει όταν
   υπάρχει φωτογραφία — θα έπεφτε πάνω της. */
.lp-hero__img { display: block; width: calc(100% + 48px); max-width: none; margin: -28px -24px 20px;
  aspect-ratio: 16 / 9; max-height: 380px; object-fit: cover; background: var(--brand-dark); }
.lp-hero--cover::after { display: none; }
@media (max-width: 560px) {
  .lp-hero__img { width: calc(100% + 36px); margin: -22px -18px 16px; }
}
.lp-eyebrow { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; font-weight: 700; }
.lp-hero h1 { color: #fff; font-size: clamp(1.6rem, 5.5vw, 2.3rem); margin: 6px 0 4px; line-height: 1.15; }
.lp-hero .lp-sub { opacity: .9; margin: 0; }
.lp-hero .lp-msg { margin: 14px 0 0; white-space: pre-line; opacity: .95; max-width: 60ch; }
.lp-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font-size: 13.5px; opacity: .92; }

.lp-bar { height: 10px; border-radius: 99px; background: rgba(255,255,255,.22); overflow: hidden; margin-top: 16px; }
.lp-bar > span { display: block; height: 100%; background: #fff; border-radius: 99px; transition: width .6s ease; }
.lp-bar--ink { background: var(--line); }
.lp-bar--ink > span { background: var(--brand); }

.lp-tabs { display: flex; gap: 6px; padding: 5px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 99px; margin-bottom: 14px; }
.lp-tab { flex: 1; border: 0; background: transparent; font: inherit; font-weight: 650; color: var(--ink-2);
  padding: 10px 12px; border-radius: 99px; cursor: pointer; min-height: 44px; }
.lp-tab[aria-selected="true"] { background: var(--brand); color: var(--on-brand); }
.lp-tab:focus-visible { outline: 3px solid var(--brand-glow); outline-offset: 2px; }

.lp-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 4px; }
.lp-chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 650;
  padding: 8px 16px; border-radius: 99px; cursor: pointer; min-height: 40px; }
.lp-chip:hover, .lp-chip.is-on { border-color: var(--brand); color: var(--brand); }

.lp-gifts { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.lp-gift { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--sh-1); }
.lp-gift__img { aspect-ratio: 4 / 3; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.lp-gift__img img { width: 100%; height: 100%; object-fit: contain; }
.lp-gift__img svg { width: 46px; height: 46px; color: var(--ink-3); }
.lp-gift__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.lp-gift__name { font-weight: 650; line-height: 1.3; }
.lp-gift__price { font-weight: 800; font-size: 1.1rem; }
.lp-gift__left { font-size: 12.5px; color: var(--ink-2); }
.lp-gift .btn { margin-top: auto; }
.lp-gift.is-done { opacity: .6; }

.lp-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px; box-shadow: var(--sh-1); margin-bottom: 14px; }
.lp-card h2 { font-size: 1.1rem; margin-bottom: 10px; }
.lp-secure { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--ink-2); margin-top: 10px; }
.lp-secure svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px; }

.lp-center { text-align: center; padding: 36px 18px; }
.lp-center h1 { margin-bottom: 8px; }
.lp-big { font-size: 46px; line-height: 1; margin-bottom: 10px; }

.lp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.lp-stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.lp-stat b { display: block; font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.lp-stat span { font-size: 12.5px; color: var(--ink-2); }

.lp-wishes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lp-wish { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; background: var(--surface-2); }
.lp-wish__head { display: flex; justify-content: space-between; gap: 10px; font-weight: 650; }
.lp-wish__text { margin: 6px 0 0; white-space: pre-line; }
.lp-wish__meta { font-size: 12px; color: var(--ink-3); margin-top: 4px; }

.lp-share { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.lp-share canvas { width: 150px; height: 150px; background: #fff; border-radius: var(--r-sm); padding: 6px; }
.lp-link { display: flex; gap: 8px; }
.lp-link .input { flex: 1; min-width: 0; direction: ltr; }

.lp-foot { text-align: center; font-size: 12.5px; color: var(--ink-3); margin-top: 32px;
  padding-top: 18px; border-top: 1px solid var(--line); }
.lp-foot p { margin: 0 0 6px; }
.lp-foot a { color: var(--ink-2); }
.lp-foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-bottom: 10px; }
.lp-foot__links a { font-weight: 600; padding: 4px 0; }
.lp-foot__who { color: var(--ink-2); }
.lp-foot__by { margin-top: 10px !important; }

.lp-legal h2 { margin-top: 26px; scroll-margin-top: 16px; }
.lp-legal h3 { margin-top: 16px; font-size: 1rem; }
.lp-legal p, .lp-legal li { line-height: 1.65; }
.lp-legal ul { padding-inline-start: 20px; }
.lp-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.lp-toc a { border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; background: var(--surface); font-weight: 600; }

.lp-sticky { position: sticky; bottom: 0; padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg) 70%, transparent); }
.lp-sticky .btn { width: 100%; min-height: 50px; font-size: 1rem; }

@media (max-width: 560px) {
  .lp-share { grid-template-columns: 1fr; justify-items: center; }
  .lp-stats { grid-template-columns: 1fr 1fr; }
  .lp-hero { padding: 22px 18px 20px; }
}
