/* =========================================
   La Paletta – café & crêpes
   Černobílý web podle loga: černý kruh, bílé ručně psané písmo.
   ========================================= */

:root {
    --ink: #000000;
    --ink-2: #0b0b0b;
    --paper: #ffffff;
    --text-main: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.62);
    --text-faint: rgba(255, 255, 255, 0.38);
    --line: rgba(255, 255, 255, 0.14);
    --line-strong: rgba(255, 255, 255, 0.28);
    --shell: rgba(255, 255, 255, 0.04);
    --accent-color: #ffffff;
    --bg-color: #000000;
    --border-color: rgba(255, 255, 255, 0.14);
    --alert: #c1121f;

    --font-display: 'Shadows Into Light Two', 'Comic Sans MS', cursive;
    --font-body: 'Geist', system-ui, sans-serif;
    --font-hand: 'Mali', 'Comic Sans MS', cursive;

    --ease: cubic-bezier(0.32, 0.72, 0, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    --radius: 28px;
    --bezel: 6px;
    --gutter: clamp(20px, 5vw, 64px);
    --section-y: clamp(96px, 14vw, 176px);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    background: var(--ink);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

::selection {
    background: var(--paper);
    color: var(--ink);
}

/* Jemné zrno přes celý web (fixní, bez vlivu na scroll) */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.main-content {
    flex: 1;
}

/* ---------- Typografie ---------- */
.display {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.01em;
}

/* Zvýraznění v nadpisech – ručně „podtržené“ jako fixou */
.display em,
.section-title em {
    font-style: normal;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C 40 3, 90 10, 130 5 S 185 4, 198 7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left 96% / 100% 0.16em;
    padding-bottom: 0.06em;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.8rem, 6.4vw, 5rem);
    line-height: 1.02;
    letter-spacing: 0.01em;
    margin-bottom: 28px;
}

/* Popisek sekce: text dvakrát podtržený (místo „pilulky“) */
.eyebrow {
    display: inline-block;
    font-family: var(--font-hand);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--paper);
    padding-bottom: 5px;
    border-bottom: 3px double currentColor;
    margin-bottom: 26px;
}

.hand {
    font-family: var(--font-hand);
    font-weight: 400;
    letter-spacing: 0.01em;
}

.lead {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 34em;
}

.section {
    padding: var(--section-y) var(--gutter);
    position: relative;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
}

/* ---------- Tlačítka (vždy stejný design vedle sebe) ---------- */
.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 8px 8px 8px 24px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--paper);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: background-color 0.6s var(--ease), color 0.6s var(--ease), border-color 0.6s var(--ease), transform 0.4s var(--ease);
}

.cta-button .btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--paper);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.6s var(--ease), background-color 0.6s var(--ease), color 0.6s var(--ease);
}

.cta-button .btn-icon svg {
    width: 16px;
    height: 16px;
}

.cta-button:hover {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--paper);
}

.cta-button:hover .btn-icon {
    background: var(--ink);
    color: var(--paper);
    transform: translate(3px, -1px) scale(1.05);
}

.cta-button:active {
    transform: scale(0.98);
}

/* ---------- Double-bezel rámeček pro fotky a karty ---------- */
.bezel {
    padding: var(--bezel);
    border-radius: var(--radius);
    background: var(--shell);
    border: 1px solid var(--line);
}

.bezel-core {
    border-radius: calc(var(--radius) - var(--bezel));
    overflow: hidden;
    position: relative;
    background: var(--ink-2);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.bezel-core img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Scroll reveal ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

.js .reveal[data-delay="1"] { transition-delay: 0.12s; }
.js .reveal[data-delay="2"] { transition-delay: 0.24s; }
.js .reveal[data-delay="3"] { transition-delay: 0.36s; }

/* =========================================
   Closure banner (dočasné uzavření z adminu)
   ========================================= */
#closure-banner {
    background-color: var(--alert);
    color: #fff;
    text-align: center;
    padding: 10px 50px;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    position: relative;
    display: none;
}

#closure-banner p {
    max-width: 800px;
    margin: 0 auto;
    letter-spacing: 0.02em;
}

/* =========================================
   Hlavička
   ========================================= */
.site-header {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px var(--gutter);
    border-bottom: 1px solid var(--line);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.nav-logo img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    transition: transform 1.2s var(--ease);
}

.nav-logo:hover img {
    transform: rotate(-12deg);
}

.nav-logo-sub {
    font-family: var(--font-hand);
    font-size: 17px;
    line-height: 1.1;
    color: var(--text-secondary);
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    position: relative;
    transition: color 0.5s var(--ease);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 1px;
    background: var(--paper);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s var(--ease);
}

.nav-link:hover,
.nav-link.is-current {
    color: var(--paper);
}

.nav-link:hover::after,
.nav-link.is-current::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Sekundární navigace (sem se na desktopu vkládá stav otevírací doby) */
.nav-secondary-container {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.02em;
    font-family: var(--font-body);
    color: var(--text-secondary);
    padding-right: 64px;
}

.nav-secondary-item a {
    color: var(--paper);
    white-space: nowrap;
}

/* =========================================
   Hamburger + fullscreen menu
   ========================================= */
.menu-icon {
    position: fixed;
    top: 30px;
    right: var(--gutter);
    width: 44px;
    height: 44px;
    z-index: 10001;
    cursor: pointer;
    mix-blend-mode: difference;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-icon span {
    position: absolute;
    width: 26px;
    height: 1.5px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.7s var(--ease), opacity 0.4s var(--ease);
}

.menu-icon span:nth-child(1) { transform: translateY(-8px); }
.menu-icon span:nth-child(2) { transform: none; }
.menu-icon span:nth-child(3) { transform: translateY(8px); width: 16px; margin-left: 10px; }

.menu-icon.active span:nth-child(1) { transform: rotate(45deg); }
.menu-icon.active span:nth-child(2) { opacity: 0; transform: translateX(10px); }
.menu-icon.active span:nth-child(3) { transform: rotate(-45deg); width: 26px; margin-left: 0; }

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s var(--ease), visibility 0s linear 0.7s;
    overflow-y: auto;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.7s var(--ease), visibility 0s linear 0s;
}

.mobile-menu-content {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 110px var(--gutter) 48px;
    max-width: 1240px;
    margin: 0 auto;
}

.mobile-menu-link {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 8vw, 4.8rem);
    line-height: 1.1;
    letter-spacing: 0.01em;
    color: var(--paper);
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 18px;
    padding: clamp(8px, 1.4vw, 12px) 0;
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), color 0.4s var(--ease);
}

.mobile-menu-link small {
    font-family: var(--font-hand);
    font-size: 16px;
    color: var(--text-faint);
    letter-spacing: 0;
}

.mobile-menu-link:hover {
    color: var(--text-secondary);
}

.mobile-menu.active .mobile-menu-link {
    opacity: 1;
    transform: none;
}

.mobile-menu.active .mobile-menu-link:nth-child(1) { transition-delay: 0.10s; }
.mobile-menu.active .mobile-menu-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu-link:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu.active .mobile-menu-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-menu-link:nth-child(5) { transition-delay: 0.30s; }
.mobile-menu.active .mobile-menu-link:nth-child(6) { transition-delay: 0.35s; }

.mobile-menu-meta {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    font-size: 14px;
    color: var(--text-secondary);
}

.mobile-menu-meta a {
    color: var(--paper);
}

/* =========================================
   Hero
   ========================================= */
.hero-section {
    padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(56px, 8vw, 112px);
}

.hero-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}

.hero-title {
    font-size: clamp(3.6rem, 9.5vw, 8.4rem);
    margin-bottom: 28px;
}

.hero-title .hand-note {
    display: block;
    font-family: var(--font-hand);
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    letter-spacing: 0;
    line-height: 1.2;
    color: var(--text-secondary);
    margin-top: 30px;
    transform: rotate(-2deg);
    transform-origin: left;
}

.hero-copy .lead {
    margin-bottom: 40px;
}

.hero-visual {
    position: relative;
}

.hero-photo .bezel-core {
    aspect-ratio: 4 / 5;
}

.hero-photo .bezel-core img {
    object-position: 30% 50%;
}

.hero-caption {
    position: absolute;
    left: 22px;
    bottom: 20px;
    font-family: var(--font-hand);
    font-size: 17px;
    color: #fff;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7);
}

/* Kruhové razítko – motiv loga. Uprostřed živý stav otevírací doby. */
.stamp {
    position: absolute;
    top: -46px;
    left: -46px;
    width: 172px;
    height: 172px;
    border-radius: 50%;
    background: var(--ink);
    border: 1px solid var(--line-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.stamp-ring {
    position: absolute;
    inset: 8px;
    animation: spin 28s linear infinite;
}

.stamp-ring text {
    fill: var(--paper);
    font-family: var(--font-body);
    font-size: 10.5px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.stamp-center {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.05;
    gap: 2px;
}

.stamp-state {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.stamp-state::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    margin-right: 6px;
    vertical-align: 1px;
}

.stamp[data-state="open"] .stamp-state::before {
    animation: pulse 2s var(--ease) infinite;
}

.stamp-hours {
    font-family: var(--font-hand);
    font-size: 17px;
    color: var(--text-secondary);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

/* =========================================
   Denní nabídka
   ========================================= */
.daily-menu-section {
    border-top: 1px solid var(--line);
}

.daily-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 48px;
}

.menu-note {
    font-size: 14px;
    color: var(--text-faint);
    margin-top: 32px;
    text-align: center;
}

/* ---------- Položky menu (sdílené pro denní, stálé i nápoje) ---------- */
.menu-grid {
    max-width: 880px;
    margin: 0 auto;
    display: grid;
    gap: 56px;
}

.menu-category {
    margin-bottom: 0 !important;
}

.category-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: 0.01em;
    line-height: 1;
    padding-bottom: 18px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--line-strong);
}

.menu-item {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.item-name {
    font-size: 17px;
    font-weight: 400;
    color: var(--paper);
}

.item-dots {
    flex: 1;
    min-width: 20px;
    border-bottom: 1px dotted var(--line-strong);
    transform: translateY(-5px);
}

.item-price {
    white-space: nowrap;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: var(--paper);
}

.menu-date {
    text-align: center;
    margin-bottom: 40px;
    font-family: var(--font-hand);
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.menu-footer-note {
    margin-top: 32px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 15px;
}

.menu-empty {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px 0;
}

.menu-fallback {
    text-align: center;
    padding: 56px 24px;
}

.menu-fallback p {
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.menu-fallback .display {
    font-size: 2.2rem;
    color: var(--paper);
    margin-bottom: 12px;
}

/* =========================================
   O nás – kapitoly (fotka + text)
   ========================================= */
.about-intro {
    max-width: 1240px;
    margin: 0 auto clamp(64px, 9vw, 120px);
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: clamp(32px, 6vw, 96px);
    align-items: end;
}

.chapter {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 7vw, 120px);
    align-items: center;
    padding: clamp(40px, 5vw, 64px) 0;
}

.chapter + .chapter {
    border-top: 1px solid var(--line);
}

.chapter:nth-of-type(even) .chapter-media {
    order: 2;
}

.chapter-media .bezel-core {
    aspect-ratio: 1 / 1;
    border-radius: 50%;
}

.chapter-media.bezel {
    border-radius: 50%;
    max-width: 520px;
    width: 100%;
    justify-self: center;
}

.chapter-num {
    font-family: var(--font-hand);
    font-size: 1.4rem;
    color: var(--text-faint);
    display: block;
    margin-bottom: 14px;
}

.chapter-text h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.2rem, 4.4vw, 3.6rem);
    line-height: 1.02;
    letter-spacing: 0.01em;
    margin-bottom: 22px;
}

.chapter-text p {
    color: var(--text-secondary);
    max-width: 30em;
}

.chapter-text p + p {
    margin-top: 14px;
}

/* =========================================
   Slideshow
   ========================================= */
.slideshow-section {
    border-top: 1px solid var(--line);
}

.slideshow-head {
    max-width: 1240px;
    margin: 0 auto 48px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.slideshow-wrap {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
}

.slideshow {
    position: relative;
    aspect-ratio: 1 / 1;
    width: 100%;
}

.slideshow .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.2s var(--ease), transform 5s var(--ease-out);
}

.slideshow .slide.active {
    opacity: 1;
    transform: scale(1);
}

.slideshow-side {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.slide-counter {
    font-family: var(--font-display);
    font-size: clamp(4rem, 9vw, 7.5rem);
    line-height: 0.9;
    letter-spacing: 0.01em;
}

.slide-counter small {
    font-size: 0.35em;
    color: var(--text-faint);
    letter-spacing: 0;
}

.slide-caption {
    font-family: var(--font-hand);
    font-size: 1.5rem;
    color: var(--text-secondary);
    min-height: 2.4em;
}

.slide-progress {
    height: 1px;
    background: var(--line);
    position: relative;
    overflow: hidden;
}

.slide-progress span {
    position: absolute;
    inset: 0;
    background: var(--paper);
    transform: scaleX(0);
    transform-origin: left;
}

.slide-progress span.run {
    transform: scaleX(1);
    transition: transform 4s linear;
}

/* =========================================
   Rozcestník – nabídka
   ========================================= */
.offer-section {
    background: var(--paper);
    color: var(--ink);
}

.offer-section .eyebrow {
    color: var(--ink);
}

.offer-section .section-title em {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C 40 3, 90 10, 130 5 S 185 4, 198 7' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.offer-section .lead {
    color: rgba(0, 0, 0, 0.6);
}

.offer-grid {
    max-width: 1240px;
    margin: 56px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.offer-card {
    border-radius: var(--radius);
    padding: var(--bezel);
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.offer-card-core {
    border-radius: calc(var(--radius) - var(--bezel));
    background: var(--ink);
    color: var(--paper);
    padding: clamp(28px, 4vw, 48px);
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    overflow: hidden;
}

.offer-card-core::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    right: -90px;
    top: -90px;
    border-radius: 50%;
    border: 1px solid var(--line);
    transition: transform 1.2s var(--ease);
}

.offer-card:hover .offer-card-core::after {
    transform: scale(1.25);
}

.offer-card h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    line-height: 1;
    letter-spacing: 0.01em;
}

.offer-card p {
    color: var(--text-secondary);
    max-width: 26em;
    flex: 1;
}

.offer-card .cta-button {
    align-self: flex-start;
}

/* =========================================
   Recenze
   ========================================= */
.references-section {
    border-top: 1px solid var(--line);
}

.reference-slider-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Šipky jsou nahoře u nadpisu – neskáčou podle délky recenze */
.reference-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.reference-head .section-title {
    margin-bottom: 0;
}

.reference-item {
    display: none;
}

.reference-item.active {
    display: block;
    animation: refIn 0.8s var(--ease-out) both;
}

@keyframes refIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

.reference-text {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    line-height: 1.45;
    margin-bottom: 24px;
}

.reference-author {
    font-family: var(--font-hand);
    font-size: 1.35rem;
    color: var(--text-secondary);
}

.reference-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.slider-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.5s var(--ease), color 0.5s var(--ease), transform 0.4s var(--ease);
}

.slider-btn svg {
    width: 18px;
    height: 18px;
}

.slider-btn:hover {
    background: var(--paper);
    color: var(--ink);
}

.slider-btn:active {
    transform: scale(0.95);
}

/* =========================================
   Kde nás najdete / kontakt
   ========================================= */
.find-section {
    border-top: 1px solid var(--line);
}

.find-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}

.info-list {
    list-style: none;
    margin-top: 36px;
    border-top: 1px solid var(--line);
}

.info-list li {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.info-list .label {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-faint);
    padding-top: 3px;
}

.info-list a {
    border-bottom: 1px solid var(--line-strong);
    transition: border-color 0.4s var(--ease);
}

.info-list a:hover {
    border-color: var(--paper);
}

.info-note {
    font-family: var(--font-hand);
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-top: 28px;
    transform: rotate(-1.5deg);
    transform-origin: left;
}

#contact-opening-hours p,
.hours-list p {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    max-width: 320px;
}

/* Klikatelná „mapa" – kreslená ve stylu loga */
.map-card {
    display: block;
}

.map-card .bezel-core {
    aspect-ratio: 1 / 1;
    background:
        linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 44px 44px,
        linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 44px 44px,
        var(--ink-2);
}

.map-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Pozice podle Map Google: ulička hned pod halou 22 */
.map-pin {
    position: absolute;
    left: 37.5%;
    top: 34.5%;
    transform: translate(-50%, -50%);
    width: clamp(56px, 16%, 80px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    transition: transform 0.9s var(--ease);
}

.map-pin img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.map-pin::before {
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    animation: ripple 2.8s var(--ease-out) infinite;
}

.map-label-here {
    left: calc(37.5% + clamp(36px, 10%, 50px));
    top: 34.5%;
    transform: translateY(-50%);
}

.map-card:hover .map-pin {
    transform: translate(-50%, -50%) scale(1.08);
}

@keyframes ripple {
    from { transform: scale(0.8); opacity: 1; }
    to { transform: scale(1.6); opacity: 0; }
}

.map-label {
    position: absolute;
    white-space: nowrap;
    font-family: var(--font-hand);
    font-size: 1.15rem;
    color: var(--text-secondary);
}

.map-cta {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    padding: 12px 12px 12px 20px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid var(--line-strong);
}

.map-cta .btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--paper);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s var(--ease);
}

.map-cta .btn-icon svg {
    width: 14px;
    height: 14px;
}

.map-card:hover .map-cta .btn-icon {
    transform: translate(3px, -1px) scale(1.05);
}

/* =========================================
   Podstránky
   ========================================= */
.page-hero {
    padding: clamp(56px, 9vw, 120px) var(--gutter) clamp(40px, 6vw, 72px);
    border-bottom: 1px solid var(--line);
}

.page-hero .container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.page-title {
    font-size: clamp(3.4rem, 10vw, 8rem);
}

.page-hero .hand {
    font-size: 1.4rem;
    color: var(--text-secondary);
    transform: rotate(-2deg);
}

.page-body {
    padding: clamp(56px, 8vw, 112px) var(--gutter) var(--section-y);
}

.back-row {
    max-width: 880px;
    margin: 64px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.allergen-note {
    max-width: 880px;
    margin: 40px auto 0;
    font-size: 14px;
    color: var(--text-faint);
}

/* Galerie */
.gallery-grid {
    max-width: 1240px;
    margin: 0 auto;
    columns: 3 280px;
    column-gap: 16px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 16px;
    display: block;
    width: 100%;
    cursor: zoom-in;
}

.gallery-item .bezel-core img {
    transition: transform 1.2s var(--ease);
}

.gallery-item:hover .bezel-core img {
    transform: scale(1.04);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s var(--ease), visibility 0s linear 0s;
}

.lightbox img {
    max-width: 100%;
    max-height: 88dvh;
    border-radius: 20px;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    font-size: 26px;
    line-height: 1;
}

/* Kontakt karta */
.contact-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}

.contact-card .bezel-core {
    padding: clamp(28px, 4vw, 48px);
}

.contact-card h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 1;
    margin-bottom: 8px;
}

/* Právní text */
.legal-text-container {
    max-width: 760px;
    margin: 0 auto;
}

.legal-text-container h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 2rem;
    margin: 40px 0 12px;
}

.legal-text-container p {
    color: var(--text-secondary);
}

/* =========================================
   Patička
   ========================================= */
.footer {
    border-top: 1px solid var(--line);
    padding: clamp(72px, 10vw, 120px) var(--gutter) 32px;
    position: relative;
    overflow: hidden;
}

.footer-top {
    max-width: 1240px;
    margin: 0 auto 64px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px 28px;
}

.footer-top img {
    width: min(440px, 80vw);
    height: auto;
}

.footer-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    color: var(--text-secondary);
    transform: rotate(-4deg);
    transform-origin: left bottom;
    margin-bottom: 6px;
}

.footer-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 16px;
}

.footer-col p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.footer-col a {
    color: var(--paper);
}

.footer-col a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}

.footer-social a:hover {
    background: var(--paper);
    color: var(--ink);
    text-decoration: none;
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    max-width: 1240px;
    margin: 56px auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: var(--text-faint);
}

.footer-bottom a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* =========================================
   Stav otevírací doby
   ========================================= */
#opening-status-bar {
    width: 100%;
    padding: 8px 45px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 13px;
    letter-spacing: 0.04em;
    z-index: 9998;
    position: relative;
    border-bottom: 1px solid var(--line);
}

#opening-status-bar.status-open {
    background: var(--paper);
    color: var(--ink);
}

#opening-status-bar.status-closed {
    background: var(--ink);
    color: var(--paper);
}

.status-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.status-badge {
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 30px;
    letter-spacing: 0.12em;
    font-size: 0.85em;
    border: 1px solid currentColor;
}

.status-hours {
    font-weight: 400;
}

/* Desktop: splyne se sekundární navigací */
#opening-status-bar.desktop-inline {
    width: auto;
    padding: 0;
    border-bottom: none;
    display: flex;
    align-items: center;
    background: transparent !important;
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    letter-spacing: inherit !important;
    text-transform: none !important;
}

#opening-status-bar.desktop-inline .status-bar-inner {
    justify-content: flex-start;
    gap: 10px;
}

#opening-status-bar.desktop-inline .status-hours {
    font-weight: inherit !important;
    color: var(--text-secondary) !important;
}

#opening-status-bar.desktop-inline .status-badge {
    border-radius: 30px;
    padding: 4px 10px;
    font-size: inherit;
    letter-spacing: inherit;
    font-weight: 500;
    background: transparent;
    color: var(--paper);
    border: 1px solid var(--line-strong);
}

#opening-status-bar.desktop-inline.status-open .status-badge {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--paper);
}

/* =========================================
   Informační pop-up z adminu
   ========================================= */
.banner-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    background-color: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10002;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 1;
    transition: opacity 0.3s var(--ease);
}

.banner-overlay.fade-out {
    opacity: 0;
}

.banner-popup-content {
    background: var(--paper);
    color: var(--ink);
    position: relative;
    max-width: 480px;
    width: 100%;
    padding: 56px 40px 44px;
    text-align: center;
    border-radius: 32px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    animation: popIn 0.6s var(--ease-out) forwards;
}

@keyframes popIn {
    0% { transform: scale(0.9) translateY(12px); opacity: 0; }
    100% { transform: none; opacity: 1; }
}

.banner-popup-content h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 2.4rem;
    line-height: 1.05;
    letter-spacing: 0.01em;
    margin-bottom: 16px;
}

.banner-popup-content p {
    font-size: 1.05rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
}

.banner-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: var(--ink);
    font-size: 1.6rem;
    line-height: 1;
    transition: transform 0.4s var(--ease), background-color 0.4s var(--ease), color 0.4s var(--ease);
}

.banner-close-btn:hover {
    background: var(--ink);
    color: var(--paper);
    transform: rotate(90deg);
}

/* =========================================
   Responzivita
   ========================================= */
@media (max-width: 1100px) {
    .nav-container {
        display: none;
    }
}

@media (max-width: 900px) {
    .hero-grid,
    .about-intro,
    .chapter,
    .slideshow-wrap,
    .find-grid,
    .contact-grid,
    .offer-grid {
        grid-template-columns: 1fr;
    }

    .chapter:nth-of-type(even) .chapter-media {
        order: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 16px;
    }

    .nav-secondary-container {
        display: none;
    }

    .site-header {
        padding: 18px 20px;
    }

    .nav-logo img {
        width: 52px;
        height: 52px;
    }

    .menu-icon {
        top: 22px;
        right: 12px;
    }
    #opening-status-bar {
        font-size: 12px !important;
        padding: 8px 45px !important;
    }

    .status-badge {
        font-size: 11px !important;
        padding: 3px 8px !important;
    }

    .hero-section {
        padding-top: 40px;
    }

    .stamp {
        width: 128px;
        height: 128px;
        top: -40px;
        left: auto;
        right: -8px;
    }

    .stamp-ring text {
        font-size: 13px;
    }

    .stamp-center {
        width: 72px;
        height: 72px;
    }

    .stamp-state {
        font-size: 8.5px;
    }

    .stamp-hours {
        font-size: 14px;
    }

    .hero-photo .bezel-core {
        aspect-ratio: 4 / 4.4;
    }

    .chapter-media.bezel {
        max-width: 88%;
    }

    .menu-grid {
        width: 100%;
        max-width: 90vw;
    }

    /* Podle náčrtu: na mobilu nejdřív fotka stánku, pak text */
    .hero-visual {
        order: -1;
        margin-top: 44px;
    }

    .hero-grid {
        gap: 36px;
    }

    .item-name {
        font-size: 16px;
    }

    .info-list li {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .slider-btn {
        width: 44px;
        height: 44px;
    }

    .cta-button {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}
