:root {
    --rausch: #FF385C;
    --rausch-dark: #E31C5F;
    --rausch-press: #C90E4B;
    --ink: #222222;
    --muted: #717171;
    --line: #EBEBEB;
    --line-strong: #DDDDDD;
    --bg: #ffffff;
    --soft: #F7F7F7;
    --card: #ffffff;
    --danger: #C13515;
    --radius: 16px;
    --radius-lg: 20px;
    --shadow: 0 6px 20px rgba(0, 0, 0, .08);
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, .06);
    --maxw: 600px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --serif: "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body { margin: 0; padding: 0; }

body {
    font-family: var(--font);
    background-color: var(--bg);
    background-image: linear-gradient(180deg, #f6e3d1 0%, #f9ecdd 40%, rgba(255, 255, 255, 0) 100%);
    background-repeat: no-repeat;
    background-size: 100% 360px;
    color: var(--ink);
    line-height: 1.5;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
}

a { color: var(--ink); text-decoration: none; }

/* ---------- Header ---------- */
.app-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: calc(12px + env(safe-area-inset-top)) 18px 12px;
    background: transparent;
    backdrop-filter: saturate(160%) blur(8px);
    -webkit-backdrop-filter: saturate(160%) blur(8px);
}
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; }
.brand-emoji { font-size: 1.25rem; }
.brand-name { font-size: 1rem; letter-spacing: -0.02em; }
.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid var(--line-strong);
    color: var(--ink);
    padding: 7px 14px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    white-space: nowrap;
    transition: box-shadow .15s ease, border-color .15s ease;
}
.lang-toggle:hover { box-shadow: var(--shadow-soft); border-color: var(--ink); }

/* ---------- Main ---------- */
.app-main { max-width: var(--maxw); margin: 0 auto; padding: 20px 20px 8px; }

.page-title { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; margin: 6px 0 18px; }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 14px;
    font-weight: 600;
    font-size: .9rem;
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Hero ---------- */
.hero { padding: 8px 2px 26px; }
.hero-kicker {
    margin: 0 0 8px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--rausch);
}
.hero h1 { margin: 0 0 10px; font-size: 2rem; line-height: 1.1; font-weight: 800; letter-spacing: -0.035em; }
.tagline { margin: 0; color: var(--muted); font-size: 1.02rem; }

/* ---------- Quick actions ---------- */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 0 0 28px;
}
.qa {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: none;
    border: 0;
    padding: 4px;
    color: var(--ink);
    font: inherit;
    cursor: pointer;
}
.qa-ic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--soft);
    border: 1px solid var(--line);
    font-size: 1.5rem;
    transition: transform .12s ease, box-shadow .15s ease;
}
.qa:hover .qa-ic, .qa.copied .qa-ic { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.qa-label { font-size: .78rem; font-weight: 600; text-align: center; }
.qa-sos .qa-ic { background: #fff0ef; border-color: #f6d4cf; }
.qa-sos .qa-label { color: var(--danger); }

/* ---------- Section list ---------- */
.section-list-wrap { margin-bottom: 8px; }
.list-heading { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 12px; }
.section-list {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.section-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    transition: background .12s ease;
}
.section-row:last-child { border-bottom: 0; }
.section-row:active, .section-row:hover { background: var(--soft); }
.sr-ic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 14px;
    background: var(--soft);
    font-size: 1.35rem;
}
.sr-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.sr-title { font-weight: 700; font-size: 1rem; }
.sr-sub { font-size: .85rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-chevron { color: var(--line-strong); font-size: 1.6rem; line-height: 1; }

/* ---------- Extras CTA ---------- */
.extras-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0 8px;
    background: linear-gradient(120deg, var(--rausch), var(--rausch-dark));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: 0 10px 24px rgba(255, 56, 92, .28);
}
.extras-cta .ec-ic { font-size: 1.7rem; }
.ec-text { display: flex; flex-direction: column; flex: 1; }
.ec-text strong { font-size: 1.05rem; font-weight: 700; }
.ec-text small { opacity: .9; }
.ec-arrow { font-size: 1.6rem; }

/* ---------- Section page ---------- */
.section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.section-emoji {
    display: flex; align-items: center; justify-content: center;
    width: 54px; height: 54px; border-radius: 16px; background: var(--soft); font-size: 1.7rem; flex-shrink: 0;
}
.section-head h1 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; margin: 0; }
.section-body { font-size: 1.02rem; }
.section-body p { margin: 16px 0; }
.section-body ul { margin: 16px 0; padding-left: 4px; list-style: none; }
.section-body li { position: relative; margin: 10px 0; padding-left: 26px; }
.section-body li::before {
    content: ""; position: absolute; left: 4px; top: .62em;
    width: 7px; height: 7px; border-radius: 50%; background: var(--rausch);
}
.section-body h2, .section-body h3, .section-body h4 { font-family: var(--serif); letter-spacing: -0.01em; margin: 22px 0 8px; }
.section-body h2 { font-size: 1.35rem; }
.section-body h3 { font-size: 1.15rem; }
.section-body img { max-width: 100%; height: auto; border-radius: 14px; margin: 12px 0; display: block; }
.section-body a { color: var(--rausch); text-decoration: underline; text-underline-offset: 2px; }
.section-body blockquote { margin: 16px 0; padding: 4px 16px; border-left: 3px solid var(--rausch); color: var(--muted); font-style: italic; }
.section-body ol { margin: 16px 0; padding-left: 22px; }
.section-body ol li { padding-left: 4px; }
.section-body ol li::before { content: none; }
.section-body .ql-align-center { text-align: center; }
.section-body .ql-align-right { text-align: right; }
.section-body .ql-align-justify { text-align: justify; }
.section-body .ql-align-center img { margin-left: auto; margin-right: auto; }
.section-body .ql-align-right img { margin-left: auto; }

.wifi-card { background: var(--soft); border-radius: var(--radius); padding: 6px 16px; margin-bottom: 18px; }
.wifi-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; }
.wifi-row + .wifi-row { border-top: 1px solid var(--line); }
.wifi-key { width: 88px; color: var(--muted); font-size: .85rem; }
.wifi-val { flex: 1; font-weight: 700; font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.copy-btn { background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .85rem; cursor: pointer; }

/* ---------- Buttons ---------- */
.big-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 18px;
    background: linear-gradient(120deg, var(--rausch), var(--rausch-dark));
    color: #fff;
    border: 0;
    border-radius: 14px;
    padding: 16px;
    font-size: 1.02rem;
    font-weight: 700;
    cursor: pointer;
    transition: filter .15s ease;
}
.big-btn:hover { filter: brightness(.96); }
.big-btn.ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.big-btn.danger { background: var(--danger); }
.contact-buttons { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Extras ---------- */
.extras-list { display: flex; flex-direction: column; gap: 14px; }
.extra-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow-soft);
}
.extra-ic {
    display: flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 14px; background: var(--soft); font-size: 1.6rem;
}
.extra-info h3 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 700; }
.extra-info p { margin: 0 0 8px; color: var(--muted); font-size: .9rem; }
.extra-price { font-weight: 800; font-size: 1.02rem; }
.extra-rule { display: block; margin-top: 6px; font-size: .8rem; color: var(--muted); }
.extra-add { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin-top: 2px; }
.qty-stepper { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.qstep { width: 40px; height: 40px; border: 0; background: #fff; color: var(--ink); font-size: 1.3rem; cursor: pointer; }
.qstep:hover { background: var(--soft); }
.qty-stepper input { width: 42px; height: 40px; border: 0; text-align: center; font-size: 1rem; font-weight: 600; -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.add-btn { flex: 1; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 11px; font-weight: 700; cursor: pointer; }
.add-btn:hover { background: #000; }

/* ---------- Cart ---------- */
.cart-block, .order-summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-top: 22px; }
.cart-block h2, .order-summary h2 { margin: 0 0 12px; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; }
.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-line { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cl-title { flex: 1; }
.cl-price { font-weight: 700; }
.cl-remove button { background: none; border: 0; color: var(--muted); font-size: 1.05rem; cursor: pointer; padding: 4px; }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line-strong); font-size: 1.1rem; font-weight: 700; }

.checkout-bar {
    position: sticky;
    bottom: calc(86px + env(safe-area-inset-bottom));
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    background: linear-gradient(120deg, var(--rausch), var(--rausch-dark));
    color: #fff;
    border-radius: 14px;
    padding: 16px 18px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(255, 56, 92, .3);
}

/* ---------- Forms ---------- */
.guest-form { margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.guest-form h2 { margin: 0; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; }
.guest-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .88rem; }
.guest-form input, .guest-form textarea {
    font: inherit;
    padding: 14px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: var(--card);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.guest-form input:focus, .guest-form textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 2px rgba(34,34,34,.08); }
.guest-form .err { color: var(--danger); font-weight: 500; font-style: normal; font-size: .82rem; }
.info-note { background: var(--soft); border-radius: 12px; padding: 14px; font-size: .9rem; color: var(--muted); }
.form-row2 { display: flex; gap: 12px; }
.form-row2 label { flex: 1; }
.cl-rule { display: block; font-size: .76rem; color: var(--muted); font-weight: 500; margin-top: 2px; }
.checkout-alert { background: #fff0ef; border: 1px solid #f6d4cf; color: var(--danger); border-radius: 12px; padding: 8px 14px; margin-top: 16px; }
.checkout-alert p { margin: 6px 0; font-size: .9rem; }

/* ---------- Pay ---------- */
.order-summary.compact { padding: 14px 18px; }
.sumup-mount { margin-top: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.pay-status { margin-top: 14px; padding: 14px; border-radius: 12px; }
.pay-status.error { background: #fff0ef; color: var(--danger); }

/* ---------- Result ---------- */
.result-page { text-align: center; padding-top: 16px; }
.result-icon { font-size: 3.2rem; }
.result-page h1 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; margin: 10px 0; }
.result-sub { color: var(--muted); }
.result-ref { margin: 14px 0; }
.result-items { text-align: left; margin: 18px 0; }

.empty-note { color: var(--muted); text-align: center; padding: 48px 0; }

/* ---------- Bottom nav ---------- */
.bottom-nav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 30;
    display: flex;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(180%) blur(12px);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 11px 0 9px;
    color: var(--muted);
    font-size: .7rem;
    font-weight: 600;
    position: relative;
}
.bottom-nav a.active { color: var(--rausch); }
.bottom-nav .ic { font-size: 1.3rem; }
.bottom-nav .badge {
    position: absolute;
    top: 6px;
    right: 50%;
    transform: translateX(20px);
    background: var(--rausch);
    color: #fff;
    font-size: .62rem;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    font-weight: 700;
}

@media (max-width: 360px) {
    .hero h1 { font-size: 1.7rem; }
    .qa-ic { width: 52px; height: 52px; }
}

/* ---------- Serif display headings ---------- */
.hero h1,
.page-title,
.list-heading,
.section-head h1,
.sr-title,
.extra-info h3,
.cart-block h2,
.order-summary h2,
.guest-form h2,
.result-page h1 {
    font-family: var(--serif);
    letter-spacing: -0.005em;
    font-weight: 700;
}
.hero h1, .section-head h1, .page-title, .result-page h1 { font-weight: 800; }
.sr-title { font-size: 1.05rem; }

/* ---------- Hero with background image ---------- */
.hero--image {
    position: relative;
    margin: 4px 0 26px;
    padding: 30px 22px 22px;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 22px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    color: #fff;
    box-shadow: var(--shadow);
}
.hero--image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, .12) 40%, rgba(0, 0, 0, .62) 100%);
}
.hero--image > * { position: relative; z-index: 1; }
.hero--image .hero-kicker { color: #fff; opacity: .92; }
.hero--image h1 { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.hero--image .tagline { color: rgba(255, 255, 255, .94); }
