
[hidden] { display: none !important; }
:root {
  --brand: #4F7A63;          /* sage green: icons, accents (theme color) */
  --brand-dark: #3A5C4A;     /* hover */
  --brand-soft: #EEF4F0;
  --accent: #D4A24C;         /* gold CTA buttons, "Pasul X" highlights */
  --accent-hover: #8C6A2A;   /* CTA hover (dark gold, white text) */
  --ink: #252525;
  --ink-2: #363333;
  --muted: #747474;
  --line: #E3E7E2;
  --light: #F7F5F0;          /* section background (cream) */
  --white: #FFFFFF;
  --footer: #0F1712;
  --footer-text: #C2C2C2;
  --success: #007F4E;
  --danger: #D62839;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(37, 37, 37, .08);
  --font-head: "Nunito", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* smooth scrolling everywhere: anchor links here, the mouse wheel in js/smooth-scroll.js */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html:has(.site-header) { scroll-padding-top: 80px; } /* sections land below the sticky header */
@media (max-width: 1020px) { html:has(.site-header) { scroll-padding-top: 68px; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 16px/1.7 var(--font-body);
}
img, video { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.hl { color: var(--accent); }
.brand { color: var(--brand); }
.stack > * + * { margin-top: 1rem; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.spacer { flex: 1; }
.hidden { display: none !important; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .92em; }

/* ---------- header / footer ---------- */
/* site header: floating glass pill (public site) */
.site-header { position: sticky; top: 0; z-index: 30; padding: 10px 0; pointer-events: none; }
.site-header .container { max-width: calc(var(--max) + 40px); }
.hdr { pointer-events: auto; position: relative; display: flex; align-items: center; gap: 12px; height: 66px; padding: 0 10px 0 16px;
  border-radius: 99px; background: rgba(255, 255, 255, .84); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 0 0 1px rgba(26, 18, 48, .07), 0 8px 28px -14px rgba(26, 18, 48, .25); transition: box-shadow .3s ease, background .3s ease; }
.site-header.scrolled .hdr { background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 1px rgba(26, 18, 48, .06), 0 18px 44px -18px rgba(26, 18, 48, .42); }
/* logo: one flat brand colour (mark + wordmark), white wordmark on dark backgrounds */
.brand-logo { display: inline-flex; align-items: center; gap: 6px; flex: none; color: #FF3D8B; }
.brand-logo:hover { color: #FF3D8B; }
.brand-mark { width: 36px; height: 36px; flex: none; transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.brand-logo:hover .brand-mark { transform: rotate(10deg); } /* the polaroid straightens up */
.brand-word { font: 700 1.5rem/1 "Inter", system-ui, sans-serif; letter-spacing: -.045em; }
.brand-logo-light, .brand-logo-light:hover { color: #fff; margin-bottom: 16px; }
.site-footer .brand-logo-light, .site-footer .brand-logo-light:hover { color: #fff; } /* beats the grey `.site-footer a` */
.nav { display: flex; align-items: center; flex: 1; gap: 8px; }
.nav-links { display: flex; gap: 2px; margin: 0 auto; }
.nav-links a, .hdr-account { padding: 10px 15px; border-radius: 99px; color: #222222; font: 600 15px/1 "Plus Jakarta Sans", var(--font-body); transition: background .2s, color .2s; }
.nav-links a:hover, .hdr-account:hover { background: #F2F2F2; color: #222222; }
.nav-links a.is-active, .hdr-account.is-active { background: #FFF0F5; color: #D81B67; }
.nav-actions { display: flex; align-items: center; gap: 4px; }
.hdr-account { display: inline-flex; align-items: center; gap: 8px; }
.hdr-account svg, .hdr-icon svg { width: 20px; height: 20px; flex: none; }
.hdr-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #6A6A6A; transition: background .2s, color .2s, transform .4s; }
.hdr-icon:hover { background: #F2F2F2; color: #222222; transform: rotate(60deg); }
.hdr-icon-label { display: none; }
.hdr-cta { display: inline-flex; align-items: center; gap: 8px; margin-left: 4px; padding: 13px 22px; border-radius: 99px; color: #fff;
  font: 700 15px/1 "Plus Jakarta Sans", var(--font-body); background: #D81B67; transition: background .2s; }
.hdr-cta:hover, .hdr-cta:focus-visible { color: #fff; background: #B8135A; }
.nav-toggle { display: none; position: relative; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #222222; cursor: pointer; flex: none; }
.nav-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s ease, opacity .2s ease, top .3s ease; }
.nav-toggle span:nth-child(1) { top: 16px; } .nav-toggle span:nth-child(2) { top: 22px; } .nav-toggle span:nth-child(3) { top: 28px; }
.menu-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .hdr { height: 62px; padding: 0 8px 0 14px; }
  .nav { position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 8px; padding: 12px;
    border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px rgba(26, 18, 48, .06), 0 30px 60px -20px rgba(26, 18, 48, .4);
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top center; transition: opacity .25s ease, transform .25s ease, visibility 0s .25s; }
  .nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease; }
  .nav-links { flex-direction: column; margin: 0; gap: 2px; }
  .nav-links a, .hdr-account { padding: 15px 18px; border-radius: 18px; font-size: 1.05rem; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 2px; border-top: 1px solid #EBEBEB; padding-top: 8px; }
  .hdr-icon { width: auto; height: auto; justify-content: start; display: flex; gap: 8px; padding: 15px 18px; border-radius: 18px; font: 600 1.05rem/1 "Plus Jakarta Sans", var(--font-body); }
  .hdr-icon:hover { transform: none; }
  .hdr-icon-label { display: inline; }
  .hdr-cta { justify-content: center; margin: 6px 0 0; padding: 17px 22px; font-size: 1.05rem; }
}
@media (max-width: 380px) { .brand-word { font-size: 1.3rem; } .brand-mark { width: 32px; height: 32px; } }
@media (prefers-reduced-motion: reduce) { .hdr, .nav, .nav-toggle span, .brand-mark, .hdr-icon { transition: none !important; } }
.logo img { height: 52px; width: auto; }
.site-footer { background: var(--footer); color: var(--footer-text); padding: 56px 0 28px; margin-top: 80px; font-size: 15px; }
.site-footer a { color: var(--footer-text); }
.site-footer a:hover { color: var(--white); }
.site-footer h4 { color: var(--white); font-size: 1.05rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; }
.footer-grid > :only-child, .footer-grid:not(:has(> :nth-child(4))) { grid-template-columns: 2fr 1fr 1fr; }
.footer-events { line-height: 1.5 !important; }
.footer-events li { margin-bottom: 10px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; line-height: 2.1; }
.footer-bottom { border-top: 1px solid #222; margin-top: 36px; padding-top: 20px; font-size: 14px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 13px; opacity: .8; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent); color: #000; border: 0; cursor: pointer;
  font: 500 15px/1 var(--font-body); padding: 15px 25px; border-radius: 0;
  transition: background .2s, color .2s, transform .1s; text-align: center;
}
.btn:hover, .btn:focus-visible { background: var(--accent-hover); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn-brand { background: var(--brand); color: var(--white); }
.btn-brand:hover, .btn-brand:focus-visible { background: var(--brand-dark); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--light); color: var(--ink); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #a51d2b; }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- sections ---------- */
.section { padding: 80px 0; }
.section-light { background: var(--light); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.eyebrow { display: inline-block; color: var(--brand); font-family: var(--font-head); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin-bottom: 10px; }

.hero { background: linear-gradient(180deg, #FFFFFF 0%, #F3F3F3 100%); padding: 72px 0 88px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 520px; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 440px; justify-self: center; width: 100%; }
.hero-art .phone { position: absolute; inset: 8% 22%; background: var(--white); border-radius: 36px; box-shadow: var(--shadow); border: 10px solid var(--ink); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 26px 8px 8px; }
.hero-art .phone span { border-radius: 8px; background: var(--brand-soft); }
.hero-art .phone span:nth-child(3n) { background: #F3E3C0; }
.hero-art .phone span:nth-child(4n) { background: #D5E6DA; }
.hero-art .bubble { position: absolute; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 16px; font-weight: 700; font-family: var(--font-head); font-size: .95rem; }
.hero-art .b1 { left: 0; top: 18%; } .hero-art .b2 { right: 0; bottom: 20%; }
.hero-art .heart { position: absolute; color: var(--brand); font-size: 40px; right: 10%; top: 6%; }
@media (max-width: 860px) { .hero .container { grid-template-columns: 1fr; } .hero-art { max-width: 320px; } }

/* "Cum funcționează" — 4 connected step cards (vertical timeline on phones) */
.section-steps { position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 10% 0%, #EEF4F0 0%, transparent 70%),
              radial-gradient(500px 280px at 95% 100%, #F8EED8 0%, transparent 70%), var(--white); }
.steps { list-style: none; margin: 0; padding: 0; position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.steps::before { /* dotted path behind the icons */
  content: ""; position: absolute; top: 44px; left: 12.5%; right: 12.5%; height: 0;
  border-top: 3px dotted #B9D1C1; z-index: 0; }
.step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center;
  opacity: 0; transform: translateY(18px); animation: step-in .6s ease forwards; animation-delay: calc(var(--i) * .12s); }
@keyframes step-in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .step { animation: none; opacity: 1; transform: none; } }
.step-badge { position: relative; width: 88px; height: 88px; margin-bottom: 20px; }
.step-icon { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-dark) 100%);
  box-shadow: 0 0 0 8px var(--white), 0 12px 28px rgba(79, 122, 99, .35); transition: transform .25s ease; }
.step-icon svg { width: 38px; height: 38px; }
.step-num { position: absolute; top: -4px; right: -6px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: #000; font: 800 15px/32px var(--font-head); text-align: center;
  box-shadow: 0 0 0 4px var(--white); }
.step-body { background: var(--white); border-radius: var(--radius); padding: 22px 20px 20px; width: 100%; flex: 1;
  box-shadow: var(--shadow); border-top: 4px solid transparent; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.step-label { display: inline-block; font: 800 .75rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft); padding: 6px 10px; border-radius: 99px; margin-bottom: 12px; }
.step-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step-body p { color: var(--muted); font-size: .95rem; margin: 0; }
.step:hover .step-icon { transform: scale(1.06) rotate(-4deg); }
.step:hover .step-body { transform: translateY(-4px); border-top-color: var(--accent); box-shadow: 0 16px 36px rgba(37, 37, 37, .12); }
.steps-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 44px; }

@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .steps::before { display: none; }
}
@media (max-width: 600px) { /* vertical timeline */
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .steps::before { display: block; top: 30px; bottom: 30px; left: 31px; right: auto; height: auto; border-top: 0; border-left: 3px dotted #B9D1C1; }
  .step { flex-direction: row; align-items: flex-start; text-align: left; gap: 16px; }
  .step-badge, .step-icon { width: 64px; height: 64px; flex: none; margin: 0; }
  .step-icon { box-shadow: 0 0 0 6px var(--white), 0 8px 20px rgba(79, 122, 99, .3); }
  .step-icon svg { width: 28px; height: 28px; }
  .step-num { width: 26px; height: 26px; font-size: 13px; line-height: 26px; }
  .step-body { padding: 16px 18px; }
}

.icon-circle { width: 64px; height: 64px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.icon-circle svg { width: 30px; height: 30px; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip { background: var(--white); border: 1px solid var(--line); padding: 10px 18px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; }

/* ---------- cards / pricing ---------- */
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.card-flat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; align-items: stretch; }
.plan { display: flex; flex-direction: column; position: relative; border: 2px solid transparent; }
.plan.featured { border-color: var(--brand); }
.plan .badge-top { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.plan .price { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: var(--ink); margin: 8px 0 4px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; flex: 1; }
.plan li { padding: 7px 0 7px 28px; position: relative; border-bottom: 1px dashed var(--line); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 14px; height: 8px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }

.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* ---------- forms ---------- */
label { display: block; font-weight: 500; margin-bottom: 6px; }
.field { margin-bottom: 18px; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number],
input[type=datetime-local], input[type=time], input[type=url], select, textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: var(--white); transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
textarea { min-height: 96px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 6px; accent-color: var(--brand); width: 18px; height: 18px; flex: none; }
.error-text { color: var(--danger); font-size: .9rem; margin-top: 4px; }
.has-error input { border-color: var(--danger); }
.hp { position: absolute; left: -9999px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }
.pin-input { text-align: center; font-family: ui-monospace, monospace; font-size: 1.6rem !important; letter-spacing: .35em; text-transform: uppercase; }

/* ---------- alerts / badges ---------- */
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; border: 1px solid; }
.alert-success { background: #E7F6EF; border-color: #A6DCC3; color: #04503A; }
.alert-error { background: #FDECEE; border-color: #F5B5BD; color: #8A1422; }
.alert-info { background: var(--brand-soft); border-color: #C5DACB; color: #2C4A3A; }
.alert-warn { background: #FFF6DE; border-color: #FFDD85; color: #6B4A00; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: var(--light); color: var(--muted); }
.badge-active { background: #E7F6EF; color: var(--success); }
.badge-pending { background: #FFF6DE; color: #8A6100; }
.badge-scheduled { background: #EDE7FF; color: #5B21B6; }
.badge-paid { background: #FDECEE; color: var(--danger); }
.badge-expired, .badge-cancelled { background: #EEE; color: #777; }

/* ---------- order page ---------- */
.order-grid { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: start; }
.order-grid-even { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .order-grid, .order-grid-even { grid-template-columns: 1fr; } }
.qr-box img { width: 100%; max-width: 300px; margin: 0 auto 16px; border-radius: 8px; }
.pin-display { font-family: ui-monospace, monospace; font-size: 1.8rem; font-weight: 700; letter-spacing: .25em; color: var(--brand); }
.kv { display: grid; grid-template-columns: minmax(auto, max-content) minmax(0, 1fr); gap: 6px 18px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; word-break: break-word; }
.copy-field { display: flex; gap: 8px; }
.copy-field input { font-size: 14px; }
.meter { height: 8px; background: var(--light); border-radius: 99px; overflow: hidden; }
.meter > span { display: block; height: 100%; background: var(--brand); border-radius: 99px; }

/* ---------- event (guest) page ---------- */
.event-header { background: var(--white); border-bottom: 1px solid var(--line); }
.event-header .container { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.event-header .logo img { height: 40px; }
.event-hero { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; padding: 36px 0 30px; }
.event-hero h1 { color: #fff; margin-bottom: 6px; font-size: clamp(1.7rem, 5vw, 2.6rem); }
.event-hero .meta { opacity: .9; font-size: .95rem; display: flex; gap: 18px; flex-wrap: wrap; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 18px 0 4px; scrollbar-width: none; }
.tab { flex: none; padding: 9px 18px; border-radius: 999px; background: var(--light); color: var(--ink); font-weight: 700; font-family: var(--font-head); border: 0; cursor: pointer; font-size: .95rem; }
.tab.active { background: var(--ink); color: #fff; }
.tab .count { opacity: .6; font-weight: 600; margin-left: 4px; }

.dropzone { margin: 18px 0; border: 2px dashed #B9D1C1; background: var(--brand-soft); border-radius: var(--radius); padding: 26px 18px; text-align: center; cursor: pointer; transition: background .2s, border-color .2s; }
.dropzone.drag { background: #DCEBE1; border-color: var(--brand); }
.dropzone strong { font-family: var(--font-head); font-size: 1.15rem; display: block; color: var(--ink); }
.dropzone .icon-circle { margin: 0 auto 10px; width: 54px; height: 54px; }
.upload-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.upload-item { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.upload-item .bar { height: 5px; background: var(--light); border-radius: 9px; margin-top: 6px; overflow: hidden; }
.upload-item .bar span { display: block; height: 100%; width: 0; background: var(--brand); transition: width .2s; }
.upload-item.done .bar span { background: var(--success); }
.upload-item.failed { border-color: #F5B5BD; color: var(--danger); }

.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
@media (min-width: 760px) { .media-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; } }
.media-item { position: relative; aspect-ratio: 1; background: var(--light); border-radius: 8px; overflow: hidden; cursor: zoom-in; border: 0; padding: 0; }
.media-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.media-item:hover img { transform: scale(1.04); }
.media-item.locked { cursor: pointer; }
.media-item.locked img { filter: blur(10px) saturate(.8); transform: scale(1.25); }
.media-item.locked:hover img { transform: scale(1.25); }
.media-item.locked .lock { position: absolute; inset: 0; display: grid; place-items: center; font-size: 28px; text-shadow: 0 2px 8px rgba(0,0,0,.45); }
.media-item .play { position: absolute; inset: auto 8px 8px auto; background: rgba(0,0,0,.6); color: #fff; border-radius: 99px; padding: 2px 10px; font-size: 12px; font-weight: 700; }
.auto-hide-row:has(input:not(:checked)) select { opacity: .5; }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); }

.lightbox { position: fixed; inset: 0; background: rgba(6, 10, 8, .96); z-index: 100; display: flex; align-items: center; justify-content: center; }
.lightbox img, .lightbox video { max-width: 96vw; max-height: 84vh; object-fit: contain; }
.lightbox .lb-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 12px; align-items: center; padding: 14px 16px; color: #ddd; font-size: 14px; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.lightbox .lb-bar a { color: #fff; }
.lb-btn { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: var(--brand); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- slideshow ---------- */
.slideshow { position: fixed; inset: 0; background: #000; overflow: hidden; color: #fff; font-family: var(--font-body); }
.slideshow .slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 1.2s ease; }
.slideshow .slide.show { opacity: 1; }
.slideshow .slide img, .slideshow .slide video { max-width: 100%; max-height: 100%; object-fit: contain; }
.slideshow .slide .bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(30px) brightness(.45); z-index: -1; }
.ss-corner { position: absolute; right: 24px; bottom: 24px; background: rgba(255,255,255,.95); color: var(--ink); border-radius: var(--radius); padding: 14px; text-align: center; width: 190px; z-index: 5; }
.ss-corner img { width: 100%; }
.ss-corner strong { font-family: var(--font-head); font-size: .95rem; display: block; margin-top: 6px; line-height: 1.25; }
.ss-title { position: absolute; left: 28px; top: 22px; z-index: 5; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.ss-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-family: var(--font-head); font-size: 2rem; }

/* ---------- admin ---------- */
.admin-body { background: var(--light); }
.admin-shell { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.admin-side { background: var(--footer); color: var(--footer-text); padding: 22px 14px; }
.admin-side .logo img { height: 44px; margin: 0 8px 24px; filter: brightness(1.1); }
.admin-side a { display: block; color: var(--footer-text); padding: 10px 12px; border-radius: 8px; font-weight: 500; }
.admin-side a:hover, .admin-side a.active { background: #1A231E; color: #fff; }
.admin-side form button { background: none; border: 0; color: var(--footer-text); padding: 10px 12px; font: inherit; cursor: pointer; }
.admin-main { padding: 28px; min-width: 0; }
.admin-main h1 { font-size: 1.8rem; }
@media (max-width: 820px) { .admin-shell { grid-template-columns: 1fr; } .admin-side { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; } .admin-side .logo img { margin: 0 8px; height: 34px; } .admin-main { padding: 16px; } }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat { background: var(--white); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.stat .v { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; }
.stat .l { color: var(--muted); font-size: .9rem; }
.table-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
table.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: #FAFAFB; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #F6FAF7; }
.admin-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
@media (max-width: 1100px) { .admin-grid { grid-template-columns: 1fr; } }
.admin-media { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.admin-media figure { margin: 0; position: relative; }
.admin-media img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 6px; background: var(--light); }
.admin-media figcaption { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-media form { position: absolute; top: 4px; right: 4px; }
.admin-media form button { background: rgba(0,0,0,.65); color: #fff; border: 0; border-radius: 6px; cursor: pointer; padding: 2px 7px; }
.pager { display: flex; gap: 8px; margin-top: 16px; }

@media print {
  .site-header, .site-footer, .no-print { display: none !important; }
  .card { box-shadow: none; }
}

.checkout-grid { grid-template-columns: 1fr 320px; }
@media (max-width: 860px) { .checkout-grid { grid-template-columns: 1fr; } }

/* ---------- admin additions ---------- */
.admin-side { display: flex; flex-direction: column; }
.admin-side nav { flex: 1; }
.admin-side .logo { display: block; padding: 0 !important; background: none !important; }
.admin-subnav { margin: 2px 0 8px 14px; border-left: 2px solid #26322B; padding-left: 6px; }
.admin-subnav a { padding: 6px 10px; font-size: 14px; }
.admin-logout { display: flex; align-items: center; gap: 8px; border-top: 1px solid #1A231E; padding-top: 12px; margin-top: 12px; }
.admin-logout span { padding-left: 12px; color: #87918B; }
.pill { display: inline-block; background: var(--brand); color: #fff; border-radius: 99px; font-size: 11px; font-weight: 700; padding: 1px 8px; margin-left: 4px; }
.badge-processing { background: #FDECEE; color: var(--danger); }
.badge-suspended { background: #FFF6DE; color: #8A6100; }
.badge-unpaid { background: #FFF6DE; color: #8A6100; }
.badge-refunded { background: #EEE; color: #777; }
.badge-paid-pay { background: #E7F6EF; color: var(--success); }
.settings-form { max-width: 760px; }
.settings-form .hint { color: var(--muted); font-size: .85rem; margin-top: 4px; }
.secret-wrap { display: flex; gap: 8px; }
.secret-wrap button { flex: none; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.timeline li:last-child { border-bottom: 0; }
.timeline .dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; background: #bbb; }
.timeline .ev-success .dot { background: var(--success); }
.timeline .ev-warning .dot { background: var(--accent); }
.timeline .ev-error .dot { background: var(--danger); }
.timeline .ev-error .msg { color: #8A1422; font-weight: 500; }
.timeline .meta { color: var(--muted); font-size: 12px; }
.contact-line { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.contact-line a { font-weight: 500; }
.pay-options { display: grid; gap: 10px; }
.pay-option { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; font-weight: 400; margin: 0; }
.pay-option:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.pay-option input { accent-color: var(--brand); margin-top: 5px; width: 18px; height: 18px; flex: none; }
.pay-option strong { display: block; font-family: var(--font-head); }
.pay-option span.muted { font-size: .9rem; }

a.stat { display: block; color: inherit; }
a.stat:hover { color: inherit; box-shadow: 0 10px 30px rgba(79, 122, 99,.18); }

/* ---------- admin: e-mails ---------- */
.email-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.email-card { display: block; color: inherit; border: 1.5px solid transparent; transition: border-color .2s; }
.email-card:hover { color: inherit; border-color: var(--brand); }
.email-editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 16px; }
@media (max-width: 1200px) { .email-editor { grid-template-columns: 1fr; } }
.email-preview { position: sticky; top: 16px; }
.email-preview iframe { width: 100%; height: 78vh; min-height: 560px; border: 1px solid var(--line); border-radius: var(--radius); background: #F5F5F7; }
.email-subject { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin-bottom: 8px; font-size: 14px; }
code.ph { background: var(--brand-soft); color: var(--brand-dark); padding: 1px 6px; border-radius: 5px; cursor: pointer; }
code.ph:hover { background: var(--brand); color: #fff; }

/* ---------- test payment mode ---------- */
.test-banner { background: repeating-linear-gradient(45deg, #FFB400, #FFB400 14px, #FFC933 14px, #FFC933 28px); color: #000;
  font: 800 .95rem/1.3 var(--font-head); text-align: center; padding: 12px 16px; border-radius: var(--radius) var(--radius) 0 0; margin-bottom: -6px; }
.test-banner + .card { border-top-left-radius: 0; border-top-right-radius: 0; }
.fake-card { background: var(--light); border-radius: 12px; padding: 16px 16px 0; margin-bottom: 18px; }
.fake-card input[disabled] { background: #fff; color: var(--muted); font-family: ui-monospace, monospace; }
.badge-test { background: #FFB400; color: #000; }
.test-strip { background: #FFB400; color: #000; text-align: center; font-weight: 700; font-size: 13px; padding: 6px 12px; }
.test-strip a { color: #000; text-decoration: underline; }

/* ---------- checkout summary ---------- */
.checkout-summary { position: sticky; top: 96px; }
.sum-lines { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 12px; display: grid; gap: 8px; font-size: .95rem; }
.sum-lines .row { flex-wrap: nowrap; gap: 8px; }
.sum-total { border-top: 1px dashed var(--line); padding-top: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; }
@media (max-width: 860px) { .checkout-summary { position: static; } }
.checkout-grid > * { min-width: 0; } /* long inputs / theme cards must not widen the page */
@media (max-width: 860px) {
  .checkout-grid { gap: 16px; }
  .checkout-summary { order: -1; } /* product + total first on phones */
}
@media (max-width: 600px) {
  .checkout-grid > .card { padding: 20px 16px; }
  .checkout-grid .theme-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

.admin-themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.admin-theme.is-hidden { opacity: .6; }

/* ---------- admin: dropbox accounts ---------- */
.dbx-accounts { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 16px; }
.dbx-card.is-off { opacity: .65; }
.dbx-prio { width: 34px; height: 34px; border-radius: 50%; background: var(--light); display: grid; place-items: center; font: 800 14px var(--font-head); flex: none; }
.dbx-bar { display: flex; height: 12px; background: #E7F6EF; border-radius: 99px; overflow: hidden; margin-top: 14px; }
.dbx-bar .u { background: var(--brand); }
.dbx-bar .r { background: #E8CF9A; }
.dbx-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; }
.dbx-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.dbx-legend i.u { background: var(--brand); } .dbx-legend i.r { background: #E8CF9A; } .dbx-legend i.f { background: #DDE3DF; }
@media (max-width: 480px) { .dbx-accounts { grid-template-columns: 1fr; } }

/* ---------- customer account ("Contul meu") ---------- */
.acc-nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.acc-nav a { padding: 8px 14px; border-radius: 99px; color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.acc-nav a.active, .acc-nav a:hover { background: var(--white); color: var(--brand); box-shadow: var(--shadow); }
.acc-nav form { margin: 0; }
.acc-orders { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.acc-order { display: flex; flex-direction: column; gap: 8px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; color: var(--ink); border: 2px solid transparent; transition: border-color .15s, transform .15s; }
.acc-order:hover { border-color: var(--brand); transform: translateY(-2px); color: var(--ink); }
.acc-order-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.acc-order-name { font-family: var(--font-head); font-size: 1.2rem; line-height: 1.3; word-break: break-word; }
.acc-order-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.acc-order-go { margin-top: auto; padding-top: 6px; color: var(--brand); font-weight: 700; font-size: .95rem; }
.acc-flags { display: flex; flex-wrap: wrap; gap: 6px; }
.acc-flags .flag { font-size: .78rem; padding: 3px 10px; border-radius: 99px; background: #FFF6DE; color: #6B4A00; }
.acc-flags .flag.on { background: var(--brand-soft); color: #2C4A3A; }
.acc-flags .flag.off { background: #FDE8E6; color: #8A2A1F; }
/* expired / cancelled: grey, nothing to change */
.acc-order.closed { filter: grayscale(1); opacity: .62; background: #F1F1F1; box-shadow: none; }
.acc-order.closed:hover { opacity: .85; border-color: #CCC; transform: none; }
.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.acc-grid > * { min-width: 0; }
.acc-grid.closed { filter: grayscale(1); opacity: .7; }
.acc-settings fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.acc-settings fieldset:disabled input, .acc-settings fieldset:disabled select { background: #F1F1F1; color: #888; cursor: not-allowed; }
.seg { display: flex; background: var(--light); border-radius: 99px; padding: 4px; margin-bottom: 18px; }
.seg-btn { flex: 1; text-align: center; padding: 9px 12px; border-radius: 99px; color: var(--muted); font-weight: 700; font-size: .95rem; }
.seg-btn.active { background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
@media (max-width: 860px) { .acc-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .acc-grid .card, .acc-order { padding: 18px 16px; } .acc-orders { grid-template-columns: 1fr; } }

/* ---------- admin login (same palette as the public site) ---------- */
.adm-login { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 88px 16px 48px;
  color: #fff; font-family: "Plus Jakarta Sans", var(--font-body); background: #1D1D20; }
.adm-back { position: absolute; top: 20px; left: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px 11px 14px; border-radius: 99px;
  color: #fff; font-weight: 600; font-size: .95rem; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .2s, box-shadow .2s; }
.adm-back svg { width: 18px; height: 18px; transition: transform .2s; }
.adm-back:hover, .adm-back:focus-visible { color: #fff; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.adm-back:hover svg { transform: translateX(-3px); }

.adm-login-box { width: 100%; max-width: 420px; display: flex; flex-direction: column; align-items: center; }
.adm-logo { margin-bottom: 26px; }
.adm-logo .brand-mark { width: 44px; height: 44px; }
.adm-logo .brand-word { font-size: 1.9rem; }
.adm-card { width: 100%; padding: 34px 30px 30px; border-radius: 28px; background: #fff; color: #222222;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); animation: adm-in .6s cubic-bezier(.2, 1.2, .4, 1) both; }
@keyframes adm-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.adm-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 99px; background: #FFF0F5; color: #D81B67;
  font: 800 .72rem/1.2 "Plus Jakarta Sans", var(--font-body); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.adm-pill svg { width: 14px; height: 14px; }
.adm-card h1 { font: 800 1.75rem/1.15 "Unbounded", var(--font-head); letter-spacing: -.02em; margin: 0 0 8px; color: #222222; }
.adm-sub { color: #6A6A6A; margin: 0 0 24px; font-size: .97rem; }
.adm-card label { font-weight: 600; font-size: .9rem; color: #222222; }
.adm-card input[type=text], .adm-card input[type=password] { border-radius: 14px; border-color: #B0B0B0; background: #fff; padding: 14px 16px; }
.adm-card input:focus { border-color: #D81B67; background: #fff; box-shadow: 0 0 0 4px #FBD9E6; }
.adm-submit { width: 100%; margin-top: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 17px 24px; border: 0; border-radius: 99px;
  cursor: pointer; color: #fff; font: 700 16px/1 "Plus Jakarta Sans", var(--font-body);
  background: #D81B67; transition: background .2s; }
.adm-submit svg { width: 18px; height: 18px; transition: transform .2s; }
.adm-submit:hover, .adm-submit:focus-visible { background: #B8135A; }
.adm-submit:hover svg { transform: translateX(4px); }
.adm-back-bottom { margin-top: 22px; color: #B9B9C0; font-size: .92rem; font-weight: 600; }
.adm-back-bottom:hover { color: #fff; }
@media (max-width: 480px) { .adm-card { padding: 28px 20px 22px; border-radius: 24px; } .adm-back { top: 14px; left: 14px; } }
@media (prefers-reduced-motion: reduce) { .adm-login *, .adm-login *::before { animation: none !important; } }

/* WhatsApp button + ANPC badges (all public pages) */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 900; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0,0,0,.25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.footer-badges img { height: 50px; width: auto; display: block; border-radius: 6px; }

/* ---------- "(?)" help (help_tip() in src/helpers.php), Simple / Advanced view (js/modes.js), guided tour (js/tour.js) ---------- */
.help-tip { position: relative; display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; margin: 0 0 0 6px; padding: 0; border: 1.5px solid currentColor; border-radius: 50%; background: none; color: var(--muted); font: 700 13px/1 var(--font-body); vertical-align: middle; cursor: pointer; }
.help-tip::after { content: ""; position: absolute; inset: -11px; } /* 44px to tap */
.help-tip:hover { color: var(--brand); }
.help-tip:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; color: var(--brand); }
.help-pop { width: min(420px, calc(100vw - 32px)); margin: auto; padding: 20px 22px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--a-card, var(--white)); color: var(--a-ink, var(--ink)); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .45); font-size: 15px; line-height: 1.55; text-align: left; }
.admin-body .help-pop { background: var(--white); color: var(--ink); }
.help-pop::backdrop { background: rgba(0, 0, 0, .35); }
.help-pop h4 { margin: 0 0 8px; font-size: 1.05rem; }
.help-pop p { margin: 0 0 10px; }
.help-pop .btn { margin-top: 4px; }

.mode-switch { display: inline-flex; align-items: center; gap: 6px 12px; flex-wrap: wrap; }
.mode-seg { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 99px; background: var(--a-card, var(--white)); }
.mode-seg button { min-height: 38px; padding: 0 16px; border: 0; border-radius: 99px; background: none; color: var(--a-ink, var(--ink)); font: 600 14px var(--font-body); cursor: pointer; }
.mode-seg button[aria-pressed="true"] { background: var(--a-ink, var(--ink)); color: var(--a-card, var(--white)); }
.mode-seg button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.admin-body .mode-seg { background: var(--white); }
.admin-body .mode-seg button { color: var(--ink); }
.admin-body .mode-seg button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.mode-note { color: var(--muted); font-size: 13px; }
.is-simple [data-adv] { display: none !important; }

.tour-box { position: fixed; z-index: 1000; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(440px, calc(100vw - 24px)); padding: 14px 18px 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--a-card, var(--white)); color: var(--a-ink, var(--ink)); box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .5); }
.tour-top { display: flex; align-items: center; justify-content: space-between; }
.tour-n { color: var(--muted); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tour-x { width: 44px; height: 44px; margin: -8px -12px -8px 0; border: 0; background: none; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; }
.tour-box h4 { margin: 0 0 6px; font-size: 1.1rem; }
.tour-box p { margin: 0 0 14px; line-height: 1.5; }
.tour-btns { display: flex; justify-content: flex-end; gap: 8px; }
.tour-lit { outline: 3px solid var(--brand); outline-offset: 6px; scroll-margin: 90px 0 230px; animation: tour-pulse 1.4s ease-out 2; }
@keyframes tour-pulse { from { box-shadow: 0 0 0 0 rgba(216, 27, 103, .45); } to { box-shadow: 0 0 0 18px rgba(216, 27, 103, 0); } }
@media (prefers-reduced-motion: reduce) { .tour-lit { animation: none; } }
@media print { .help-tip, .help-pop, .mode-switch, .tour-box { display: none !important; } }
.plans-later { margin: 18px 0 0; text-align: center; }

/* People of an RSVP answer (views/partials/rsvp-people.php): guest form on /i/{token}, the hosts' forms */
.rp { display: grid; gap: 8px; margin-top: 6px; }
.rp-head, .rp-row { display: grid; grid-template-columns: minmax(0, 1fr) 40px; gap: 8px; align-items: center; }
.rp-has-kid .rp-head, .rp-has-kid .rp-row { grid-template-columns: minmax(0, 1fr) minmax(92px, .45fr) 40px; }
.rp-has-menu .rp-head, .rp-has-menu .rp-row { grid-template-columns: minmax(0, 1fr) minmax(110px, .55fr) 40px; }
.rp-has-kid.rp-has-menu .rp-head, .rp-has-kid.rp-has-menu .rp-row { grid-template-columns: minmax(0, 1fr) minmax(92px, .45fr) minmax(110px, .55fr) 40px; }
.rp-head span { font-size: 12px; font-weight: 600; opacity: .75; }
.rp-list { display: grid; gap: 8px; }
.rp-row input[type=text], .rp-row select { width: 100%; min-width: 0; margin: 0; }
.rp-remove { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; color: inherit; font-size: 22px; line-height: 1; opacity: .6; cursor: pointer; }
.rp-remove:hover, .rp-remove:focus-visible { opacity: 1; background: rgba(127, 127, 127, .15); }
.rp-remove[hidden] { display: block !important; visibility: hidden; }
.rp-add { justify-self: start; min-height: 40px; padding: 6px 2px; border: 0; background: none; color: inherit; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
@media (max-width: 520px) {
  .rp-head { display: none; }
  .rp-has-kid .rp-row, .rp-has-menu .rp-row, .rp-has-kid.rp-has-menu .rp-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px; padding-bottom: 10px; border-bottom: 1px solid rgba(127, 127, 127, .25); }
  .rp-has-kid .rp-row input[type=text], .rp-has-menu .rp-row input[type=text] { grid-column: 1 / -1; }
  .rp-has-kid:not(.rp-has-menu) .rp-row select, .rp-has-menu:not(.rp-has-kid) .rp-row select { grid-column: 1 / 3; }
}
