:root {
    --forest: #173a2b;
    --forest-2: #24533c;
    --forest-3: #10271d;
    --cream: #f5f0e6;
    --paper: #fffdf8;
    --soft: #edf0e9;
    --ink: #202720;
    --muted: #687269;
    --gold: #c4934f;
    --line: #ddd7ca;
    --danger: #a32727;
    --success: #17643f;
    --shadow: 0 20px 60px rgba(24, 48, 34, .16);
    --shadow-small: 0 10px 30px rgba(24, 48, 34, .10);
    --radius: 24px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
}
body.lightbox-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
code { padding: .08em .38em; border-radius: .35em; background: rgba(23, 58, 43, .08); }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 92px 0; }
.section-soft { background: var(--soft); }
.eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.eyebrow-light { color: #efd9b5; }
.eyebrow-gold { color: #f0d1a1; }
.section-title {
    margin: .48rem 0 1.15rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.05;
    letter-spacing: -.025em;
}
.text-muted { color: var(--muted); }
.button {
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 780;
    line-height: 1;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid rgba(196, 147, 79, .42);
    outline-offset: 3px;
}
.button-primary { color: white; background: var(--forest); box-shadow: 0 10px 26px rgba(23, 58, 43, .22); }
.button-primary:hover { background: var(--forest-2); }
.button-secondary { color: var(--forest); border-color: var(--forest); background: transparent; }
.button-secondary:hover { background: rgba(23, 58, 43, .07); }
.button-outline-light { color: white; border-color: rgba(255, 255, 255, .72); background: rgba(255, 255, 255, .07); }
.button-outline-light:hover { background: rgba(255, 255, 255, .16); }
.button-light { color: var(--forest); background: white; }
.button-small { min-height: 40px; padding: 10px 17px; font-size: .9rem; }
.button-block { width: 100%; }

.site-header {
    position: fixed;
    z-index: 100;
    inset: 0 0 auto;
    border-bottom: 1px solid rgba(221, 215, 202, .65);
    background: rgba(255, 253, 248, .91);
    backdrop-filter: blur(14px);
    transition: box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled { box-shadow: 0 8px 28px rgba(19, 42, 29, .10); background: rgba(255, 253, 248, .97); }
.nav-shell { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border: 1px solid var(--forest);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--forest);
}
.brand-mark svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linejoin: round; }
.brand strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; line-height: 1.1; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: .94rem; font-weight: 680; }
.main-nav > a:not(.button):hover { color: var(--forest-2); }
.nav-booking { margin-left: 4px; }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.menu-button span { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: .2s ease; }
.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
    min-height: 760px;
    padding-top: 78px;
    position: relative;
    overflow: hidden;
    display: grid;
    align-items: center;
    color: white;
    background: var(--forest-3);
}
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 23, 14, .90) 0%, rgba(7, 23, 14, .64) 50%, rgba(7, 23, 14, .27) 100%);
}
.hero-grid {
    position: relative;
    z-index: 2;
    padding: 76px 0 62px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) 390px;
    gap: 58px;
    align-items: center;
}
.hero-copy h1 {
    max-width: 740px;
    margin: .5rem 0 .2rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.3rem, 7vw, 6.1rem);
    line-height: .94;
    letter-spacing: -.045em;
}
.hero-tagline { margin: .55rem 0 .75rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 2.4vw, 2rem); color: #f0dcc0; }
.hero-copy > p:not(.hero-tagline) { max-width: 630px; color: rgba(255, 255, 255, .84); font-size: 1.06rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 40px; }
.hero-facts div { min-width: 100px; padding-right: 20px; border-right: 1px solid rgba(255, 255, 255, .2); }
.hero-facts div:last-child { border-right: 0; }
.hero-facts strong { display: block; font-size: 1.12rem; }
.hero-facts span { color: rgba(255, 255, 255, .68); font-size: .8rem; }
.booking-card {
    padding: 27px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 26px;
    color: var(--ink);
    background: rgba(255, 253, 248, .97);
    box-shadow: 0 28px 75px rgba(0, 0, 0, .3);
}
.booking-card h2 { margin: .3rem 0 .3rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.75rem; }
.booking-card-heading > p { margin: 0 0 20px; color: var(--muted); font-size: .9rem; }
.booking-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; margin: 0 0 6px; color: #4d584e; font-size: .78rem; font-weight: 800; }
.field input, .field select, .field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 13px;
    color: var(--ink);
    background: white;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest-2); box-shadow: 0 0 0 3px rgba(36, 83, 60, .09); outline: none; }
.field-validation-error, .validation-summary-errors { color: var(--danger); font-size: .78rem; }
.field-validation-error { display: block; margin-top: 5px; }
.input-validation-error { border-color: var(--danger) !important; }
.validation-summary ul { margin: 0 0 14px; padding-left: 20px; }
.booking-card .button-block { margin-top: 15px; }
.booking-note { margin: 12px 0 0; text-align: center; color: var(--muted); font-size: .76rem; }

.feature-strip { border-bottom: 1px solid var(--line); background: var(--cream); }
.feature-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature-strip article { min-height: 96px; padding: 20px 18px; border-right: 1px solid var(--line); display: flex; align-items: center; justify-content: center; gap: 13px; }
.feature-strip article:last-child { border-right: 0; }
.feature-icon { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: white; box-shadow: var(--shadow-small); }
.feature-strip strong, .feature-strip small { display: block; }
.feature-strip small { margin-top: 2px; color: var(--muted); font-size: .78rem; }

.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; }
.about-content > p { max-width: 630px; }
.amenity-grid { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.amenity-card { min-height: 100px; padding: 17px; border: 1px solid var(--line); border-radius: 18px; display: flex; gap: 13px; background: white; }
.amenity-card > span { width: 34px; flex: 0 0 auto; font-size: 1.35rem; }
.amenity-card strong { display: block; }
.amenity-card p { margin: 3px 0 0; color: var(--muted); font-size: .84rem; }
.about-visual { position: relative; }
.about-visual > img { width: 100%; height: 590px; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.rating-card { position: absolute; left: -30px; bottom: 28px; min-width: 245px; padding: 18px 20px; border-radius: 18px; display: flex; align-items: center; gap: 14px; background: white; box-shadow: var(--shadow); }
.rating-card > strong { color: var(--forest); font-family: Georgia, "Times New Roman", serif; font-size: 2.5rem; line-height: 1; }
.rating-card b, .rating-card span { display: block; }
.rating-card span { color: var(--muted); font-size: .78rem; }

.section-heading { margin-bottom: 30px; display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.section-heading p { max-width: 520px; margin: 0 0 8px; color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; grid-template-rows: 260px 260px; gap: 16px; }
.gallery-item { position: relative; min-width: 0; padding: 0; overflow: hidden; border: 0; border-radius: 20px; background: #d8ddd7; cursor: zoom-in; }
.gallery-item:first-child { grid-row: 1 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .58)); }
.gallery-item > span { position: absolute; z-index: 2; left: 17px; right: 17px; bottom: 15px; color: white; font-weight: 780; text-align: left; text-shadow: 0 2px 12px rgba(0, 0, 0, .55); }

.attractions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.attraction-card { min-height: 250px; padding: 27px; border: 1px solid var(--line); border-radius: 22px; display: flex; flex-direction: column; background: white; box-shadow: 0 10px 28px rgba(30, 55, 38, .05); }
.attraction-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.attraction-top span { font-size: 2rem; }
.attraction-top strong { color: var(--forest); font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; }
.attraction-card h3 { margin: auto 0 8px; padding-top: 24px; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; }
.attraction-card p { margin: 0; color: var(--muted); }

.reviews-section { color: white; background: var(--forest); }
.reviews-section .section-title { max-width: 520px; }
.reviews-section p { color: rgba(255, 255, 255, .72); }
.reviews-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.large-rating { margin: 10px 0 -4px; color: #f0d1a1; font-family: Georgia, "Times New Roman", serif; font-size: clamp(4.8rem, 9vw, 7rem); line-height: 1; }
.review-card { margin: 0; padding: 36px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 24px; background: rgba(255, 255, 255, .08); box-shadow: 0 25px 65px rgba(0, 0, 0, .15); }
.review-card .stars { color: #ffd483; letter-spacing: .13em; }
.review-card p { margin: 18px 0; color: white; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.2rem, 2.2vw, 1.65rem); line-height: 1.45; }
.review-card footer { color: rgba(255, 255, 255, .65); font-size: .86rem; }

.contact-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 58px; align-items: start; }
.contact-copy > p { max-width: 570px; }
.contact-details { margin-top: 28px; border-top: 1px solid var(--line); }
.contact-details > a, .contact-details > div { min-height: 72px; padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 15px; }
.contact-details > a > span, .contact-details > div > span { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; color: white; background: var(--forest); }
.contact-details small, .contact-details strong { display: block; }
.contact-details small { color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.contact-form { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--cream); box-shadow: var(--shadow-small); }
.contact-form h3 { margin: 0 0 22px; font-family: Georgia, "Times New Roman", serif; font-size: 1.8rem; }
.contact-form .field { margin-bottom: 15px; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.consent { margin: 6px 0 17px; display: flex; align-items: flex-start; gap: 10px; font-size: .82rem; }
.consent input { margin-top: 4px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-help { display: block; margin-top: 12px; color: var(--muted); text-align: center; }
.form-status { margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; font-size: .88rem; }
.form-status.success { color: var(--success); border: 1px solid rgba(23, 100, 63, .25); background: rgba(23, 100, 63, .08); }
.form-status.error { color: var(--danger); border: 1px solid rgba(163, 39, 39, .25); background: rgba(163, 39, 39, .08); }

.site-footer { padding: 50px 0 25px; color: white; background: var(--forest-3); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .75fr .85fr 1fr; gap: 38px; }
.brand-footer .brand-mark { color: white; border-color: rgba(255, 255, 255, .65); }
.brand-footer small { color: rgba(255, 255, 255, .62); }
.footer-grid h2 { margin: 0 0 12px; font-size: .92rem; }
.footer-grid p, .footer-grid a, .footer-grid span { color: rgba(255, 255, 255, .68); font-size: .86rem; }
.footer-grid a, .footer-grid > div > span { display: block; margin: 7px 0; }
.footer-grid a:hover { color: white; }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 20px; color: rgba(255, 255, 255, .48); font-size: .78rem; }

.cookie-banner { position: fixed; z-index: 120; left: 18px; right: 18px; bottom: 18px; max-width: 760px; margin-inline: auto; padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: white; box-shadow: var(--shadow); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; color: var(--muted); font-size: .83rem; }
.cookie-banner > div { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.cookie-banner a { color: var(--forest); font-size: .82rem; font-weight: 700; }

.mobile-reservation { display: none; }
.lightbox { position: fixed; z-index: 200; inset: 0; padding: 70px 24px 30px; background: rgba(5, 12, 8, .93); }
.lightbox[hidden] { display: none; }
.lightbox figure { width: min(1150px, 100%); height: 100%; margin: auto; display: grid; grid-template-rows: minmax(0, 1fr) auto; align-items: center; justify-items: center; }
.lightbox img { max-width: 100%; max-height: 78vh; border-radius: 14px; object-fit: contain; }
.lightbox figcaption { padding-top: 16px; color: white; }
.lightbox-close { position: absolute; top: 16px; right: 22px; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; color: white; background: rgba(255, 255, 255, .08); font-size: 2rem; cursor: pointer; }

.legal-page { min-height: 70vh; padding: 150px 0 90px; }
.legal-content { max-width: 850px; }
.legal-content h1 { margin: .5rem 0 1.5rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.4rem, 5vw, 4.3rem); line-height: 1; }
.legal-content h2 { margin-top: 2rem; font-family: Georgia, "Times New Roman", serif; }
.legal-content p { color: var(--muted); }
.error-page { text-align: center; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1020px) {
    .menu-button { display: block; }
    .main-nav {
        position: fixed;
        top: 78px;
        left: 20px;
        right: 20px;
        padding: 14px 18px 18px;
        border: 1px solid var(--line);
        border-radius: 20px;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        background: white;
        box-shadow: var(--shadow);
    }
    .main-nav.open { display: flex; }
    .main-nav > a:not(.button) { padding: 12px 3px; border-bottom: 1px solid var(--line); }
    .nav-booking { margin: 14px 0 0; }
    .hero { min-height: auto; }
    .hero-grid { grid-template-columns: 1fr; gap: 38px; padding: 90px 0 58px; }
    .booking-card { max-width: 650px; }
    .feature-strip-grid { grid-template-columns: 1fr 1fr; }
    .feature-strip article:nth-child(2) { border-right: 0; }
    .feature-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .about-grid, .reviews-grid, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
    .about-visual > img { height: 510px; }
    .rating-card { left: 20px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 330px 240px 240px; }
    .gallery-item:first-child { grid-column: 1 / -1; grid-row: auto; }
    .attractions-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
    html { scroll-padding-top: 72px; }
    body { padding-bottom: 78px; }
    .container { width: min(var(--container), calc(100% - 28px)); }
    .section { padding: 64px 0; }
    .nav-shell { min-height: 70px; }
    .brand-mark { width: 38px; height: 38px; }
    .brand strong { font-size: 1.05rem; }
    .brand small { font-size: .65rem; }
    .main-nav { top: 70px; left: 14px; right: 14px; }
    .hero { padding-top: 70px; }
    .hero-image { object-position: 52% center; }
    .hero-overlay { background: linear-gradient(180deg, rgba(7, 23, 14, .42) 0%, rgba(7, 23, 14, .78) 48%, rgba(7, 23, 14, .96) 100%); }
    .hero-grid { padding: 68px 0 40px; }
    .hero-copy h1 { font-size: clamp(3.2rem, 17vw, 4.4rem); }
    .hero-tagline { font-size: 1.35rem; }
    .hero-actions .button { width: 100%; }
    .hero-facts { gap: 14px; margin-top: 28px; }
    .hero-facts div { width: calc(50% - 7px); min-width: 0; padding: 0; border-right: 0; }
    .booking-card { padding: 21px; border-radius: 21px; }
    .booking-fields { grid-template-columns: 1fr; }
    .field-full { grid-column: auto; }
    .feature-strip article { min-height: 88px; padding: 16px 9px; justify-content: flex-start; }
    .feature-icon { width: 36px; height: 36px; }
    .feature-strip strong { font-size: .86rem; }
    .feature-strip small { font-size: .7rem; }
    .amenity-grid { grid-template-columns: 1fr; }
    .about-visual > img { height: 410px; }
    .rating-card { position: relative; left: auto; bottom: auto; margin: -28px 14px 0; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
    .gallery-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
    .gallery-item, .gallery-item:first-child { min-width: 84vw; height: 360px; grid-column: auto; grid-row: auto; scroll-snap-align: start; }
    .attractions-grid { grid-template-columns: 1fr; }
    .attraction-card { min-height: 220px; }
    .review-card { padding: 24px; }
    .contact-form { padding: 22px; }
    .contact-form-row { grid-template-columns: 1fr; gap: 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { align-items: flex-start; flex-direction: column; }
    .cookie-banner { bottom: 88px; align-items: stretch; flex-direction: column; gap: 12px; }
    .cookie-banner > div { justify-content: space-between; }
    .mobile-reservation {
        position: fixed;
        z-index: 110;
        left: 12px;
        right: 12px;
        bottom: 10px;
        min-height: 62px;
        padding: 8px 8px 8px 17px;
        border: 1px solid rgba(221, 215, 202, .85);
        border-radius: 999px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        background: white;
        box-shadow: 0 16px 45px rgba(0, 0, 0, .26);
    }
    .mobile-reservation small, .mobile-reservation strong { display: block; }
    .mobile-reservation small { color: var(--muted); font-size: .68rem; }
    .mobile-reservation strong { font-size: .86rem; }
    .legal-page { padding: 120px 0 70px; }
}

/* ===== Własna rezerwacja, płatności i panel administratora ===== */
.availability-section { border-top: 1px solid var(--border); }
.availability-calendar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.calendar-month { padding: 22px; border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(29, 49, 35, .06); }
.calendar-month h3 { margin: 0 0 16px; text-align: center; font-size: 1.08rem; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.calendar-weekday { padding: 4px 0 8px; color: var(--muted); text-align: center; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.calendar-day { aspect-ratio: 1; display: grid; place-items: center; border-radius: 9px; font-size: .8rem; font-weight: 700; }
.calendar-day.free { background: #edf6ef; color: #214c2f; }
.calendar-day.busy { background: #f7e4e0; color: #8d2f25; text-decoration: line-through; }
.calendar-day.today { outline: 2px solid #d4a94d; outline-offset: 1px; }
.calendar-day.past { opacity: .42; }
.calendar-day.empty { background: transparent; }
.calendar-legend { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 20px; color: var(--muted); font-size: .85rem; }
.calendar-legend span { display: inline-flex; align-items: center; gap: 8px; }
.calendar-legend i { width: 17px; height: 17px; border-radius: 5px; }
.legend-free { background: #edf6ef; }
.legend-busy { background: #f7e4e0; }
.legend-today { background: white; outline: 2px solid #d4a94d; }
.calendar-error { grid-column: 1 / -1; padding: 20px; border-radius: 12px; background: #f7e4e0; color: #8d2f25; }

.page-hero { position: relative; padding: 150px 0 80px; background: linear-gradient(135deg, #183a26, #2c5a3a); color: white; }
.compact-hero { padding-bottom: 65px; }
.page-hero h1 { max-width: 780px; margin: 10px 0 12px; color: white; font-size: clamp(2.2rem, 5vw, 4rem); }
.page-hero p { max-width: 720px; margin: 0; color: rgba(255,255,255,.78); font-size: 1.05rem; }
.booking-process-section { background: #f7f5ef; }
.booking-process-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, .7fr); gap: 34px; align-items: start; }
.reservation-form { display: grid; gap: 20px; }
.form-panel { padding: 28px; border: 1px solid var(--border); border-radius: 20px; background: white; box-shadow: 0 12px 32px rgba(28, 44, 33, .06); }
.step-title { margin-bottom: 22px; display: flex; gap: 14px; align-items: flex-start; }
.step-title > span { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font-weight: 800; }
.step-title h2 { margin: 0 0 4px; font-size: 1.35rem; }
.step-title p { margin: 0; color: var(--muted); font-size: .86rem; }
.checkbox-card { min-height: 66px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; display: flex; gap: 11px; align-items: center; cursor: pointer; }
.checkbox-card input { width: 20px; height: 20px; }
.checkbox-card span, .checkbox-card strong, .checkbox-card small { display: block; }
.checkbox-card small { margin-top: 2px; color: var(--muted); }
.availability-message { margin-top: 16px; padding: 13px 15px; border-radius: 12px; font-size: .88rem; }
.availability-message.available { background: #edf6ef; color: #215131; }
.availability-message.unavailable { background: #f7e4e0; color: #8d2f25; }
.availability-message.loading { background: #f3efe3; color: #6f5b26; }
.consent-box { padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: #faf9f5; }
.button-large { min-height: 56px; margin-top: 20px; font-size: 1rem; }
.button[disabled], button[disabled] { opacity: .5; cursor: not-allowed; }
.secure-note { margin: 14px 0 0; color: var(--muted); text-align: center; font-size: .77rem; line-height: 1.5; }
.price-summary { position: sticky; top: 96px; overflow: hidden; border: 1px solid var(--border); border-radius: 22px; background: white; box-shadow: 0 18px 46px rgba(28, 44, 33, .1); }
.price-summary > img { width: 100%; height: 220px; object-fit: cover; }
.price-summary-body { padding: 24px; }
.price-summary h2 { margin: 8px 0 18px; font-size: 1.5rem; }
.price-summary dl, .simple-details { margin: 0; }
.price-summary dl > div, .simple-details > div { padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; }
.price-summary dt, .simple-details dt { color: var(--muted); }
.price-summary dd, .simple-details dd { margin: 0; text-align: right; font-weight: 700; }
.price-summary .summary-total { margin-top: 6px; border-bottom: none; font-size: 1.05rem; }
.price-summary .summary-pay { margin: 4px -10px 0; padding: 14px 10px; border: 0; border-radius: 10px; background: #edf6ef; color: #214c2f; font-size: 1.08rem; }
.price-summary-body > p { margin: 18px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.55; }

.payment-page { min-height: 76vh; padding-top: 140px; background: #f7f5ef; }
.narrow-container { max-width: 720px; }
.payment-card { padding: clamp(26px, 6vw, 52px); border: 1px solid var(--border); border-radius: 24px; background: white; text-align: center; box-shadow: 0 18px 50px rgba(28,44,33,.1); }
.payment-card h1 { margin: 14px 0; font-size: clamp(2rem, 5vw, 3.2rem); }
.payment-card > p { color: var(--muted); line-height: 1.65; }
.success-icon { width: 76px; height: 76px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: #e1f2e5; color: #236236; font-size: 2.2rem; font-weight: 900; }
.status-badge { display: inline-flex; padding: 7px 12px; border-radius: 999px; font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.status-badge.success { background: #e1f2e5; color: #236236; }
.status-badge.warning { background: #fff1c9; color: #745600; }
.status-badge.error { background: #f7e4e0; color: #8d2f25; }
.confirmation-code { margin: 24px auto; padding: 15px; border: 1px dashed #8aa292; border-radius: 12px; background: #f3f8f4; color: #214c2f; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.15rem; font-weight: 900; letter-spacing: .06em; }
.payment-amount { margin: 22px 0; color: var(--green); font-size: clamp(2.2rem, 7vw, 4rem); font-weight: 900; }
.demo-payment-card { border-top: 5px solid #d4a94d; }
.text-link { margin-top: 18px; display: inline-block; color: var(--green); font-weight: 700; }

.admin-login-body { min-height: 100vh; padding: 24px; display: grid; place-items: center; background: radial-gradient(circle at top, #315e40, #13291c 70%); }
.admin-login-card { width: min(440px, 100%); padding: 36px; border-radius: 22px; background: white; box-shadow: 0 24px 70px rgba(0,0,0,.3); }
.admin-login-card h1 { margin: 10px 0 24px; font-size: 2.2rem; }
.admin-brand { margin-bottom: 30px; color: var(--green); }
.admin-login-card .text-link { width: 100%; text-align: center; }
.admin-body { min-height: 100vh; background: #f1f3ef; color: #1c2c21; }
.admin-header { position: sticky; z-index: 20; top: 0; min-height: 72px; padding: 12px clamp(18px, 4vw, 54px); display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #183a26; color: white; box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.admin-header .brand { color: white; }
.admin-header-actions { display: flex; align-items: center; gap: 10px; }
.admin-main { width: min(1500px, calc(100% - 36px)); margin: 0 auto; padding: 38px 0 70px; }
.admin-title-row { margin-bottom: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.admin-title-row h1 { margin: 4px 0 0; font-size: clamp(2rem, 4vw, 3.2rem); }
.admin-alert { margin-bottom: 20px; padding: 14px 18px; border-radius: 12px; font-weight: 700; }
.admin-alert.success { background: #e1f2e5; color: #236236; }
.admin-alert.error { background: #f7e4e0; color: #8d2f25; }
.admin-stats { margin-bottom: 22px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.admin-stats article { padding: 22px; border: 1px solid #dfe5df; border-radius: 16px; background: white; box-shadow: 0 8px 22px rgba(28,44,33,.05); }
.admin-stats strong { display: block; color: #183a26; font-size: 2.1rem; }
.admin-stats span { color: #657268; font-size: .82rem; }
.admin-panel { margin-bottom: 22px; padding: 24px; border: 1px solid #dfe5df; border-radius: 18px; background: white; box-shadow: 0 8px 22px rgba(28,44,33,.05); }
.admin-panel-heading { margin-bottom: 18px; display: flex; justify-content: space-between; gap: 20px; }
.admin-panel-heading h2 { margin: 0 0 4px; font-size: 1.35rem; }
.admin-panel-heading p { margin: 0; color: #657268; font-size: .84rem; }
.sync-info-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.sync-info-grid > div { min-width: 0; padding: 15px; border-radius: 12px; background: #f5f7f3; }
.sync-info-grid small, .sync-info-grid strong, .sync-info-grid code { display: block; }
.sync-info-grid small { margin-bottom: 6px; color: #657268; }
.sync-info-grid code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.table-scroll { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.admin-table th { padding: 12px 10px; border-bottom: 2px solid #dfe5df; color: #657268; text-align: left; text-transform: uppercase; letter-spacing: .04em; font-size: .68rem; }
.admin-table td { min-width: 120px; padding: 14px 10px; border-bottom: 1px solid #e6ebe6; vertical-align: top; }
.admin-table td small, .admin-table td strong { display: block; }
.admin-table td small { margin-top: 4px; color: #718078; line-height: 1.45; }
.table-status { padding: 5px 8px; border-radius: 999px; display: inline-block; font-size: .68rem; font-weight: 800; }
.status-confirmed { background: #e1f2e5; color: #236236; }
.status-pendingpayment { background: #fff1c9; color: #745600; }
.status-cancelled, .status-expired { background: #f0e7e5; color: #79524d; }
.table-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.table-actions form { margin: 0; }
.table-actions button { padding: 6px 9px; border: 0; border-radius: 7px; background: #e7efe9; color: #214c2f; font-size: .72rem; font-weight: 800; cursor: pointer; }
.table-actions button.danger { background: #f7e4e0; color: #8d2f25; }
.admin-two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.admin-form .button { margin-top: 10px; }
.block-list { margin-top: 20px; display: grid; gap: 9px; }
.block-list > div { padding: 12px; border: 1px solid #e4e9e4; border-radius: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.block-list strong, .block-list small { display: block; }
.block-list small { margin-top: 3px; color: #718078; }
.danger-link { border: 0; background: transparent; color: #a23b2d; font-weight: 800; cursor: pointer; }
.log-list { display: grid; gap: 8px; }
.log-list > div { padding: 11px 13px; border-left: 4px solid #85a58e; display: grid; grid-template-columns: 150px 170px 1fr; gap: 12px; background: #f7f9f6; font-size: .78rem; }
.log-list > div.fail { border-color: #c65b4d; background: #fbf1ef; }
.log-list time { color: #718078; }

@media (max-width: 1000px) {
    .availability-calendar { grid-template-columns: 1fr 1fr; }
    .calendar-month:last-child { grid-column: 1 / -1; max-width: calc(50% - 11px); }
    .booking-process-grid { grid-template-columns: 1fr; }
    .price-summary { position: static; }
    .price-summary > img { height: 300px; }
    .admin-stats { grid-template-columns: 1fr 1fr; }
    .sync-info-grid { grid-template-columns: 1fr; }
    .admin-two-columns { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .availability-calendar { grid-template-columns: 1fr; }
    .calendar-month:last-child { grid-column: auto; max-width: none; }
    .calendar-month { padding: 16px; }
    .page-hero { padding: 118px 0 48px; }
    .form-panel { padding: 20px; }
    .price-summary > img { height: 210px; }
    .payment-page { padding-top: 110px; }
    .payment-card { border-radius: 18px; }
    .admin-header { align-items: flex-start; flex-direction: column; }
    .admin-header-actions { width: 100%; }
    .admin-header-actions .button, .admin-header-actions form { flex: 1; }
    .admin-header-actions form .button { width: 100%; }
    .admin-main { width: min(100% - 20px, 1500px); padding-top: 24px; }
    .admin-title-row { align-items: stretch; flex-direction: column; }
    .admin-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
    .admin-stats article { padding: 16px; }
    .admin-stats strong { font-size: 1.6rem; }
    .admin-panel { padding: 16px; }
    .log-list > div { grid-template-columns: 1fr; gap: 3px; }
}

/* CMS, sklep przed przyjazdem i rozszerzenia rezerwacji */
.site-announcement{padding:.65rem 0;background:#e6f0eb;border-bottom:1px solid rgba(23,58,43,.15)}.site-announcement .container{display:flex;align-items:center;justify-content:space-between;gap:1rem}.site-announcement strong{display:block}.site-announcement span{font-size:.9rem}.banner-promotion{background:#fff0c7}.banner-warning{background:#ffe0dc}.cms-rich-text{line-height:1.75}.cms-rich-text h2,.cms-rich-text h3{margin-top:1.3rem}.prearrival-teaser{background:linear-gradient(180deg,#fff,#f5f1e7)}.store-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.4rem}.store-category-card{background:#fff;border:1px solid rgba(23,58,43,.12);border-radius:20px;padding:1.5rem;box-shadow:0 12px 30px rgba(26,39,31,.06)}.store-category-card>span{font-size:2rem}.store-category-card ul{list-style:none;padding:0;margin:1rem 0 0}.store-category-card li{display:flex;justify-content:space-between;gap:1rem;padding:.7rem 0;border-top:1px solid #e8ece9}.reviews-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.store-tabs{display:flex;gap:.6rem;overflow:auto;margin-bottom:1.5rem}.store-tabs button{border:1px solid #ccd8d1;background:#fff;border-radius:999px;padding:.8rem 1.1rem;white-space:nowrap;font-weight:700}.store-tabs button.active{background:#173a2b;color:#fff}.store-tab-panel{display:none}.store-tab-panel.active{display:block}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem}.product-card{overflow:hidden;border:1px solid #dde5e0;border-radius:18px;background:#fff}.product-card img{width:100%;height:210px;object-fit:cover}.product-card>div{padding:1.2rem}.product-card h3{margin:.35rem 0}.product-category{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em}.product-price{display:block;margin-top:1rem;color:#173a2b;font-size:1.15rem}.store-callout{margin-top:2rem;padding:1.5rem;border-radius:20px;background:#173a2b;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:1rem}.prearrival-order>section+section{margin-top:1.4rem}.prearrival-order h3{margin:0}.order-products{display:grid;gap:.7rem}.order-products article{display:grid;grid-template-columns:1fr auto;gap:1rem;align-items:center;padding:1rem;border:1px solid #dde5e0;border-radius:14px;background:#fff}.order-products small,.order-products b{display:block}.order-products b{color:#173a2b;margin-top:.3rem}.order-products label{font-size:.8rem;font-weight:700}.order-products select{display:block;min-width:76px;margin-top:.3rem}.discount-field{margin-top:1.2rem}.inline-field{display:flex;gap:.6rem}.discount-row{color:#18794e}.reservation-extras{margin:0;padding-left:1rem}.reservation-extras .done{text-decoration:line-through;color:#708078}
.admin-nav{display:flex;align-items:center;gap:.25rem;flex:1;margin-left:1rem}.admin-nav a{color:#fff;padding:.65rem .75rem;border-radius:9px;font-size:.9rem}.admin-nav a:hover{background:rgba(255,255,255,.1)}.admin-user{color:#dce9e2;font-size:.85rem}.admin-menu-toggle{display:none}.cms-editor-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:2rem}.admin-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.field-span{grid-column:1/-1}.compact-admin-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:.65rem;align-items:end}.cms-list{display:grid;gap:.7rem;margin-top:1.2rem}.cms-list>article{display:flex;align-items:center;gap:1rem;padding:1rem;border:1px solid #dce5df;border-radius:14px;background:#fff}.cms-list>article>div:first-child{flex:1}.cms-list img{width:105px;height:80px;object-fit:cover;border-radius:9px}.cms-inline-edit{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:.5rem;align-items:center;flex:1}.cms-inline-edit input,.cms-inline-edit textarea,.cms-inline-edit select,.compact-admin-form input,.compact-admin-form select{min-width:0;padding:.65rem;border:1px solid #ccd7d0;border-radius:8px}.cms-inline-edit textarea{min-height:70px}.cms-inline-edit label{font-size:.8rem}.cms-actions{display:flex;gap:.25rem}.cms-actions form{margin:0}.cms-list button,.cms-actions button,.inline-password-form button{border:0;border-radius:8px;padding:.55rem .7rem;background:#e7efe9;cursor:pointer}.cms-list button.danger,.cms-actions button.danger{background:#fbe1df;color:#9c1c13}.role-grid{display:flex;flex-wrap:wrap;gap:1rem;margin:1rem 0}.role-grid label{padding:.8rem 1rem;border:1px solid #dce5df;border-radius:10px}.inline-password-form{display:flex;gap:.4rem}.inline-password-form input{max-width:160px}.preparation-list{display:grid;gap:.7rem}.preparation-list article{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;border:1px solid #dce5df;border-radius:12px}.preparation-list article.prepared{opacity:.6;background:#edf5ef}.preparation-list small{display:block}.user-admin-card{flex-wrap:wrap}.admin-header-actions form{margin:0}
@media(max-width:1000px){.admin-nav{position:absolute;left:0;right:0;top:70px;background:#173a2b;padding:1rem;display:none;flex-direction:column;align-items:stretch;z-index:40}.admin-nav.open{display:flex}.admin-menu-toggle{display:block}.admin-user{display:none}.cms-editor-grid{grid-template-columns:1fr}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reviews-cards{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.site-announcement .container,.store-callout,.preparation-list article{align-items:flex-start;flex-direction:column}.store-category-grid,.product-grid,.reviews-cards,.admin-form-grid{grid-template-columns:1fr}.cms-list>article{align-items:stretch;flex-direction:column}.cms-list img{width:100%;height:180px}.cms-inline-edit{width:100%;grid-template-columns:1fr}.cms-actions{width:100%}.order-products article{grid-template-columns:1fr}.inline-field{flex-direction:column}.admin-header .brand span:last-child{display:none}}
