/* ══════════════════════════════════════════════════════════════
   Vinařství Na Lišce – Redesigned Stylesheet
   Dark luxury · Black & White · Righteous nav · České středohoří
   ══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Righteous&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&display=swap');

:root {
    --wine: #e0526a;
    --wine-deep: #c93352;
    --wine-soft: #e87d8e;
    --wine-blush: #f0a8b2;

    --gold: #d4aa60;
    --gold-light: #e8c87a;
    --gold-muted: #c49a50;

    --earth: #888;
    --earth-light: #aaa;

    /* Dark theme */
    --cream: #0f0f0f;
    --cream-warm: #151515;
    --cream-mid: #252525;
    --parchment: #1a1a1a;

    --text: #f0f0f0;
    --text-mid: #c0c0c0;
    --text-light: #888888;
    --text-on-dark: #f0f0f0;

    --white: #ffffff;
    --black: #000000;
    --success: #4aaa6a;
    --error: #e05555;
    --info: #5a9bbf;

    --r-sm: 14px;
    --r-md: 20px;
    --r-lg: 28px;
    --r-xl: 36px;
    --r-full: 9999px;

    --shadow-sm: 0 2px 12px rgba(0,0,0,0.3);
    --shadow-md: 0 6px 24px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.5);
    --shadow-xl: 0 20px 64px rgba(0,0,0,0.6);

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --t: 0.35s var(--ease);
    --t-slow: 0.6s var(--ease);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background: #0a0a0a;
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.15;
}

a { color: var(--wine); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--wine-deep); }
img { max-width: 100%; height: auto; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ══════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════
   NAVIGATION – dark theme, vždy tmavá
   ══════════════════════════════════════════════════════════════ */

.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 20px 0; transition: all var(--t);
}

.navbar.scrolled {
    background: rgba(8,8,8,0.92);
    backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
    padding: 14px 0;
}

.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1180px; margin: 0 auto; padding: 0 32px;
}

/* Logo */
.nav-logo {
    display: flex; align-items: center; gap: 11px;
    font-family: 'Righteous', cursive;
    font-size: 1rem; font-weight: 400; color: #ffffff;
    letter-spacing: 0.14em; text-transform: uppercase;
    text-decoration: none;
    transition: opacity var(--t);
}
.nav-logo:hover { opacity: 0.8; color: #ffffff; }
.nav-logo img {
    height: 38px; width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.nav-logo .logo-fallback {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}

/* Desktop nav links */
.nav-links {
    display: flex; list-style: none; gap: 2px; align-items: center;
}
.nav-links a {
    padding: 8px 18px; border-radius: var(--r-full);
    color: rgba(255,255,255,0.65); font-weight: 500; font-size: 0.88rem;
    transition: all var(--t); letter-spacing: 0.01em;
    font-family: 'Montserrat', sans-serif; text-decoration: none;
}
.nav-links a:hover { color: #ffffff; background: rgba(255,255,255,0.07); }
.nav-links a.active { color: #ffffff; background: rgba(255,255,255,0.1); }

/* Přihlásit se tlačítko */
.nav-links .btn-nav {
    background: #ffffff; color: #000000;
    padding: 9px 22px; font-weight: 700; font-size: 0.85rem;
    border-radius: var(--r-full); margin-left: 6px;
    letter-spacing: 0.02em;
}
.nav-links .btn-nav:hover {
    background: rgba(255,255,255,0.88); color: #000;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.12);
}

/* Scrolled stav je stejný – vždy dark */
.navbar:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.65); }
.navbar:not(.scrolled) .nav-links a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.navbar:not(.scrolled) .nav-links a.active { color: #fff; background: rgba(255,255,255,0.1); }
.navbar:not(.scrolled) .nav-logo { color: #ffffff; }
.navbar:not(.scrolled) .nav-links .btn-nav { background: #ffffff; color: #000; border: none; }
.navbar:not(.scrolled) .nav-links .btn-nav:hover { background: rgba(255,255,255,0.88); }

/* ── Burger ── */
.nav-toggle {
    display: none;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 0;
    cursor: pointer;
    padding: 10px;
    border: none; background: none;
    z-index: 1200; position: relative;
    width: 44px; height: 44px;
}
.nav-toggle span {
    width: 22px; height: 1.5px;
    background: #ffffff;
    border-radius: 2px;
    display: block;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    position: absolute;
}
.nav-toggle span:nth-child(1) { transform: translateY(-7px); }
.nav-toggle span:nth-child(2) { transform: translateY(0); width: 16px; margin-left: 0; }
.nav-toggle span:nth-child(3) { transform: translateY(7px); }

/* Křížek */
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
    width: 22px;
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0; transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
    width: 22px;
}

/* Burger je vždy bílý (web je dark) */
.navbar:not(.scrolled) .nav-toggle span { background: #ffffff; }
.navbar:not(.scrolled) .nav-toggle[aria-expanded="true"] span { background: #ffffff; }

/* ── Mobilní slide menu – dark ── */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-links {
        position: fixed; top: 0; right: -100%;
        width: 78%; max-width: 320px; height: 100vh;
        background: #0e0e0e;
        border-left: 1px solid rgba(255,255,255,0.08);
        flex-direction: column;
        padding: 88px 20px 32px;
        gap: 2px;
        transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
        box-shadow: -20px 0 60px rgba(0,0,0,0.6);
        z-index: 1150;
    }
    .nav-links.open { right: 0; }

    .nav-links a,
    .navbar:not(.scrolled) .nav-links a {
        width: 100%; padding: 14px 18px;
        border-radius: 12px;
        font-size: 0.98rem; font-weight: 500;
        color: rgba(255,255,255,0.7) !important;
        background: transparent;
        border: none;
    }
    .nav-links a:hover,
    .navbar:not(.scrolled) .nav-links a:hover {
        background: rgba(255,255,255,0.06) !important;
        color: #ffffff !important;
    }
    .nav-links a.active,
    .navbar:not(.scrolled) .nav-links a.active {
        background: rgba(255,255,255,0.08) !important;
        color: #ffffff !important;
    }

    /* Přihlásit se v menu */
    .nav-links .btn-nav,
    .navbar:not(.scrolled) .nav-links .btn-nav {
        background: #ffffff !important;
        color: #000000 !important;
        border: none !important;
        margin-top: 12px;
        text-align: center;
        justify-content: center;
    }
    .nav-links .btn-nav:hover,
    .navbar:not(.scrolled) .nav-links .btn-nav:hover {
        background: rgba(255,255,255,0.88) !important;
    }

    .nav-overlay {
        display: none; position: fixed; inset: 0;
        background: rgba(0,0,0,0.6);
        backdrop-filter: blur(4px);
        z-index: 1100;
    }
    .nav-overlay.open { display: block; }
}

/* ══════════════════════════════════════════════════════════════
   USER DROPDOWN – dark
   ══════════════════════════════════════════════════════════════ */

.nav-user-wrap { position: relative; }

.nav-user-btn {
    display: flex; align-items: center; gap: 9px;
    padding: 7px 14px 7px 8px;
    border-radius: var(--r-full);
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.05);
    cursor: pointer; transition: all var(--t);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem; font-weight: 500;
    color: rgba(255,255,255,0.8);
}
.nav-user-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
    color: #ffffff;
}
.navbar:not(.scrolled) .nav-user-btn {
    border-color: rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.8);
}
.navbar:not(.scrolled) .nav-user-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
}

.nav-user-avatar {
    width: 26px; height: 26px; border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: #ffffff; font-size: 0.75rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    text-transform: uppercase; flex-shrink: 0;
    letter-spacing: 0.05em;
}
.navbar:not(.scrolled) .nav-user-avatar {
    background: rgba(255,255,255,0.15);
    color: #ffffff;
}

.nav-user-name {
    max-width: 90px; overflow: hidden;
    text-overflow: ellipsis; white-space: nowrap;
    color: rgba(255,255,255,0.8);
}
.nav-user-chevron {
    opacity: 0.4; flex-shrink: 0;
    transition: transform var(--t);
}
.nav-user-btn[aria-expanded="true"] .nav-user-chevron { transform: rotate(180deg); opacity: 0.7; }

/* Dropdown panel – dark */
.nav-user-dropdown {
    display: none;
    position: absolute; top: calc(100% + 12px); right: 0;
    min-width: 220px;
    background: #141414;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
    overflow: hidden;
    z-index: 2000;
    animation: dropdownIn 0.2s var(--ease);
}
.nav-user-dropdown.open { display: block; }

@keyframes dropdownIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.nav-dropdown-header {
    padding: 16px 18px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.03);
}
.nav-dropdown-header strong {
    display: block; font-size: 0.9rem; color: #ffffff !important; font-weight: 600;
}
.nav-dropdown-header span {
    font-size: 0.76rem; color: rgba(255,255,255,0.4) !important;
    margin-top: 2px; display: block;
}

.nav-user-dropdown a {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 18px;
    font-size: 0.88rem; font-weight: 500;
    color: rgba(255,255,255,0.65) !important;
    transition: all var(--t);
    text-decoration: none;
}
.nav-user-dropdown a:hover,
.nav-user-dropdown a.active {
    background: rgba(255,255,255,0.06);
    color: #ffffff !important;
}
.nav-user-dropdown a svg { opacity: 0.4; flex-shrink: 0; transition: opacity var(--t); }
.nav-user-dropdown a:hover svg { opacity: 0.8; }

.nav-dropdown-divider {
    height: 1px; background: rgba(255,255,255,0.07); margin: 4px 0;
}
.nav-dropdown-logout { color: #ff6b6b !important; }
.nav-dropdown-logout:hover {
    background: rgba(255,80,80,0.08) !important;
    color: #ff8080 !important;
}

/* Mobilní dropdown – součást slide menu */
@media (max-width: 768px) {
    .nav-user-dropdown {
        position: static;
        box-shadow: none;
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 12px;
        background: rgba(255,255,255,0.04);
        margin: 6px 0;
        animation: none;
    }
    .nav-user-btn {
        width: 100%;
        border-radius: 12px;
        padding: 14px 20px;
        font-size: 1rem;
    }
}

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */

.hero {
    min-height: 100vh; display: flex; align-items: center;
    justify-content: center; text-align: center;
    position: relative; overflow: hidden;
    background: #050505;
}

.hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(212,170,96,0.07) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(224,82,106,0.06) 0%, transparent 50%);
}

/* Grain texture overlay */
.hero::after {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    background-size: 200px;
    opacity: 0.4;
    pointer-events: none;
}

.hero-wave {
    position: absolute; bottom: -2px; left: 0; right: 0; z-index: 3;
}
.hero-wave svg {
    display: block; width: 100%; height: auto;
}
/* Override SVG fill to dark */
.hero-wave path { fill: #0a0a0a !important; }

.hero-content {
    position: relative; z-index: 4;
    padding: 140px 28px 180px; max-width: 780px;
}

@media (max-width: 600px) {
    .hero-content {
        padding: 110px 20px 140px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }
    .hero-buttons .btn {
        width: min(320px, 90vw);
        justify-content: center;
    }
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 28px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--r-full);
    color: rgba(255,255,255,0.7); font-size: 0.82rem;
    font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase;
    margin-bottom: 32px; backdrop-filter: blur(8px);
}

.hero-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.hero-logo img {
    max-width: min(420px, 82vw);
    height: auto;
    filter: brightness(0) invert(1) drop-shadow(0 10px 30px rgba(255,255,255,0.15));
}

.hero-logo-fallback {
    font-size: 4rem;
}

.hero h1 {
    font-size: clamp(2rem, 5.5vw, 4rem);
    color: var(--text-on-dark); margin-bottom: 24px;
    font-weight: 500; letter-spacing: -0.02em;
}

.hero h1 em {
    color: #ffffff; font-style: italic; font-weight: 500;
}

.hero-subtitle {
    font-size: 1.15rem; color: rgba(244,237,226,0.75);
    max-width: 500px; margin: 0 auto 44px; line-height: 1.8;
    font-weight: 300;
}

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════ */

.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 34px; border-radius: var(--r-full);
    font-family: 'Montserrat', sans-serif; font-weight: 600;
    font-size: 0.92rem; cursor: pointer; border: none;
    transition: all var(--t); text-decoration: none; line-height: 1;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: #ffffff; color: #000000;
}
.btn-primary:hover {
    background: #e8e8e8; transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,255,255,0.15); color: #000000;
}

.btn-secondary {
    background: transparent; color: var(--text-on-dark);
    border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.4); color: var(--text-on-dark);
}

.btn-outline {
    background: transparent; color: var(--wine);
    border: 1.5px solid var(--wine);
}
.btn-outline:hover {
    background: var(--wine); color: var(--text-on-dark);
}

.btn-wine {
    background: #ffffff; color: #000000;
}
.btn-wine:hover {
    background: #e8e8e8; transform: translateY(-2px);
    box-shadow: var(--shadow-md); color: #000000;
}

.btn-sm { padding: 10px 22px; font-size: 0.82rem; }
.btn-lg { padding: 17px 40px; font-size: 0.98rem; }
.btn-danger { background: var(--error); color: white; }
.btn-danger:hover { background: #8a2222; color: white; }
.btn-success { background: var(--success); color: white; }
.btn-success:hover { background: #3a6649; color: white; }

/* ══════════════════════════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════════════════════════ */

.section { padding: 110px 0; }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    color: #ffffff; margin-bottom: 16px;
    font-weight: 500; letter-spacing: -0.02em;
}
.section-header p {
    font-size: 1.05rem; color: var(--text-light);
    max-width: 520px; margin: 0 auto; font-weight: 300;
}

.section-alt { background: #111111; }

.section-dark {
    background: #000000; color: var(--text-on-dark);
    position: relative; overflow: hidden;
}
.section-dark::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(212,170,96,0.05) 0%, transparent 60%);
}
.section-dark .section-header h2 { color: #ffffff; }
.section-dark .section-header p { color: rgba(240,240,240,0.5); }

/* ══════════════════════════════════════════════════════════════
   WINE CARDS
   ══════════════════════════════════════════════════════════════ */

.wine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 28px;
    justify-items: stretch;
}
/* Zarovnání posledního řádku na střed přes flexbox wrapper */
.wine-grid-centered {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
}
.wine-grid-centered .wine-card {
    flex: 0 1 270px;
    max-width: 360px;
    min-width: 240px;
}

.wine-card {
    background: #1a1a1a; border-radius: var(--r-xl);
    overflow: hidden; box-shadow: var(--shadow-sm);
    transition: all var(--t); display: flex; flex-direction: column;
    text-decoration: none; color: inherit;
    border: 1px solid rgba(255,255,255,0.06);
}
.wine-card:hover {
    transform: translateY(-8px) scale(1.01); box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    color: inherit; border-color: rgba(255,255,255,0.12);
}

.wine-card-image {
    aspect-ratio: 3/4; overflow: hidden;
    background: linear-gradient(145deg, #222, #1a1a1a);
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.wine-card-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform var(--t-slow);
}
.wine-card:hover .wine-card-image img { transform: scale(1.06); }

.wine-card-image .no-image { font-size: 4rem; opacity: 0.2; }

.wine-card-badge {
    position: absolute; top: 16px; left: 16px;
    padding: 6px 16px; border-radius: var(--r-full);
    font-size: 0.72rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1.2px;
    backdrop-filter: blur(8px);
}
.badge-bile { background: rgba(220,192,122,0.25); color: #8a6d3b; border: 1px solid rgba(220,192,122,0.3); }
.badge-cervene { background: rgba(107,39,55,0.15); color: #6b2737; border: 1px solid rgba(107,39,55,0.2); }
.badge-ruzove { background: rgba(201,145,158,0.2); color: #8c4356; border: 1px solid rgba(201,145,158,0.25); }
.badge-sumive { background: rgba(58,107,140,0.15); color: #3a6b8c; border: 1px solid rgba(58,107,140,0.2); }

.wine-card-body { padding: 24px 24px 8px; flex: 1; }
.wine-card-body h3 {
    font-size: 1.35rem; margin-bottom: 6px; color: #ffffff;
    font-weight: 600;
}
.wine-card-meta {
    font-size: 0.82rem; color: var(--text-light);
    margin-bottom: 10px; font-weight: 400;
}
.wine-card-body p {
    font-size: 0.88rem; color: var(--text-mid); line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 3;
    -webkit-box-orient: vertical; overflow: hidden;
}

.wine-card-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 24px 20px; margin-top: auto;
}
.wine-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem; font-weight: 700; color: var(--wine);
}
.wine-price small {
    font-size: 0.6em; font-weight: 400; color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
}

/* ══════════════════════════════════════════════════════════════
   FILTER TABS
   ══════════════════════════════════════════════════════════════ */

.filter-tabs {
    display: flex; gap: 8px; justify-content: center;
    margin-bottom: 48px; flex-wrap: wrap;
}
.filter-tab {
    padding: 10px 26px; border-radius: var(--r-full);
    font-size: 0.88rem; font-weight: 500; color: var(--text-mid);
    background: #1a1a1a; border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer; transition: all var(--t); text-decoration: none;
}
.filter-tab:hover, .filter-tab.active {
    background: #ffffff; color: #000000;
    border-color: #ffffff;
}

/* ══════════════════════════════════════════════════════════════
   WINE DETAIL – GALLERY WITH ZOOM
   ══════════════════════════════════════════════════════════════ */

.wine-detail {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: start; padding: 60px 0;
}

.wine-gallery { position: relative; }

.wine-gallery-main {
    border-radius: var(--r-xl); overflow: hidden;
    aspect-ratio: 3/4; background: var(--cream-warm);
    box-shadow: var(--shadow-lg); cursor: zoom-in;
    position: relative;
}
.wine-gallery-main img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.15s ease;
}

/* Zoom lens effect */
.wine-gallery-main .zoom-lens {
    display: none; position: absolute;
    width: 180px; height: 180px;
    border: 3px solid rgba(255,255,255,0.8);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1), var(--shadow-lg);
    pointer-events: none;
    background-repeat: no-repeat;
    z-index: 10;
}
.wine-gallery-main:hover .zoom-lens { display: block; }

.wine-thumbs {
    display: flex; gap: 10px; margin-top: 16px;
    overflow-x: auto; padding-bottom: 4px;
}
.wine-thumb {
    width: 72px; height: 96px; border-radius: var(--r-md);
    overflow: hidden; cursor: pointer; flex-shrink: 0;
    border: 2px solid transparent; transition: all var(--t);
    opacity: 0.6;
}
.wine-thumb.active, .wine-thumb:hover {
    border-color: var(--wine); opacity: 1;
}
.wine-thumb img { width: 100%; height: 100%; object-fit: cover; }

.wine-detail-info h1 {
    font-size: 2.6rem; color: var(--wine-deep);
    margin-bottom: 12px; font-weight: 500;
}

.wine-specs { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.wine-spec {
    padding: 8px 20px; background: var(--cream-warm);
    border-radius: var(--r-full); font-size: 0.82rem;
    font-weight: 500; color: var(--text-mid);
    border: 1px solid var(--cream-mid);
}

.wine-html-desc {
    margin: 28px 0; color: var(--text-mid); line-height: 1.9;
    font-size: 0.98rem;
}
.wine-html-desc h3 { font-size: 1.3rem; color: var(--wine-deep); margin: 24px 0 10px; }
.wine-html-desc p { margin-bottom: 14px; }
.wine-html-desc ul, .wine-html-desc ol { padding-left: 24px; margin-bottom: 14px; }
.wine-html-desc strong { color: var(--text); }
.wine-html-desc table { width:100%; border-collapse:collapse; margin: 16px 0; }
.wine-html-desc table td, .wine-html-desc table th {
    padding: 10px 14px; border-bottom: 1px solid var(--cream-mid);
    text-align: left;
}

.wine-detail-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem; font-weight: 700; color: var(--wine);
    margin: 32px 0;
}

@media (max-width: 768px) {
    .wine-detail { grid-template-columns: 1fr; gap: 32px; }
}

/* ══════════════════════════════════════════════════════════════
   GALLERY
   ══════════════════════════════════════════════════════════════ */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.gallery-item {
    border-radius: var(--r-lg); overflow: hidden;
    aspect-ratio: 4/3; position: relative; cursor: pointer;
    box-shadow: var(--shadow-sm);
}
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform var(--t-slow);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(28,20,16,0.7) 0%, transparent 50%);
    opacity: 0; transition: opacity var(--t);
    display: flex; align-items: flex-end; padding: 24px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay h4 { color: var(--text-on-dark); font-size: 1.1rem; }

.lightbox {
    display: none; position: fixed; inset: 0; z-index: 2000;
    background: rgba(0,0,0,0.92); align-items: center;
    justify-content: center; padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img {
    max-width: 90vw; max-height: 85vh; border-radius: var(--r-lg);
    object-fit: contain;
}
.lightbox-close {
    position: absolute; top: 24px; right: 24px;
    width: 52px; height: 52px; border-radius: var(--r-full);
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    color: white; font-size: 1.5rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--t);
}
.lightbox-close:hover { background: rgba(255,255,255,0.15); }

/* ══════════════════════════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════════════════════════ */

.form-card {
    background: #141414; border-radius: var(--r-xl);
    padding: 52px; box-shadow: var(--shadow-md);
    max-width: 560px; margin: 0 auto;
    border: 1px solid rgba(255,255,255,0.07);
}
.form-card h2 {
    font-size: 2rem; color: #ffffff; margin-bottom: 8px;
    font-weight: 500;
}
.form-card .subtitle { color: var(--text-light); margin-bottom: 36px; }

.form-group { margin-bottom: 22px; }
.form-group label {
    display: block; font-weight: 500; font-size: 0.88rem;
    color: var(--text-mid); margin-bottom: 8px;
}
.form-control {
    width: 100%; padding: 14px 20px;
    border: 1.5px solid rgba(255,255,255,0.1); border-radius: var(--r-md);
    font-family: 'Montserrat', sans-serif; font-size: 0.92rem;
    color: var(--text); background: #1a1a1a;
    transition: all var(--t); outline: none;
}
.form-control:focus {
    border-color: rgba(255,255,255,0.35); background: #222;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.04);
}
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center;
    padding-right: 40px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

.form-check { display: flex; align-items: center; gap: 10px; }
.form-check input[type="checkbox"] {
    width: 20px; height: 20px; border-radius: 6px; accent-color: var(--wine);
}
.form-actions { margin-top: 32px; }
.form-actions .btn { width: 100%; justify-content: center; }
.form-footer { text-align: center; margin-top: 24px; font-size: 0.9rem; color: var(--text-light); }

/* ══════════════════════════════════════════════════════════════
   FLASH MESSAGES
   ══════════════════════════════════════════════════════════════ */

.flash-messages {
    position: fixed; top: 90px; right: 24px; z-index: 1500;
    display: flex; flex-direction: column; gap: 10px; max-width: 420px;
}
.flash {
    padding: 16px 24px; border-radius: var(--r-md);
    font-size: 0.9rem; font-weight: 500;
    box-shadow: var(--shadow-lg); animation: flashIn 0.4s ease-out;
    display: flex; align-items: center; gap: 12px;
}
.flash-success { background: #e8f5e9; color: #2e7d32; border-left: 4px solid var(--success); }
.flash-error { background: #ffebee; color: #c62828; border-left: 4px solid var(--error); }
.flash-info { background: #e3f2fd; color: #1565c0; border-left: 4px solid var(--info); }
.flash-close { margin-left: auto; background: none; border: none; cursor: pointer; font-size: 1.2rem; opacity: 0.5; color: inherit; }

@keyframes flashIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ══════════════════════════════════════════════════════════════
   PAGE HEADER
   ══════════════════════════════════════════════════════════════ */

.page-header {
    padding: 150px 0 100px; text-align: center;
    background: #000000;
    position: relative; overflow: hidden;
}
.page-header::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(212,170,96,0.06) 0%, transparent 50%);
    z-index: 1;
}
.page-header::after {
    content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 80px;
    background: #0a0a0a;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    z-index: 3;
}
.page-header h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    color: var(--text-on-dark); position: relative; z-index: 2;
    font-weight: 500;
}
.page-header p {
    color: rgba(244,237,226,0.85);
    margin-top: 12px; position: relative; z-index: 2;
    font-size: 1.05rem; font-weight: 300;
    padding-bottom: 20px;
}

/* ══════════════════════════════════════════════════════════════
   FEATURES
   ══════════════════════════════════════════════════════════════ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}
.feature-card {
    padding: 40px 32px; border-radius: var(--r-xl);
    background: #141414; box-shadow: var(--shadow-sm);
    transition: all var(--t); text-align: center;
    border: 1px solid rgba(255,255,255,0.06);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(255,255,255,0.12); }
.feature-icon {
    width: 68px; height: 68px; border-radius: var(--r-lg);
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(212,170,96,0.08));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; margin: 0 auto 20px;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: #ffffff; font-weight: 600; }
.feature-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* ══════════════════════════════════════════════════════════════
   PROFILE PAGE
   ══════════════════════════════════════════════════════════════ */

.profile-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: start;
}

.profile-forms { display: flex; flex-direction: column; gap: 28px; }

.profile-card {
    background: #141414; border-radius: var(--r-xl);
    padding: 36px 40px; box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255,255,255,0.07);
}

.profile-card-header {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 28px; padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.profile-card-icon {
    width: 48px; height: 48px; border-radius: var(--r-md);
    background: linear-gradient(135deg, rgba(107,39,55,0.08), rgba(196,163,90,0.08));
    display: flex; align-items: center; justify-content: center;
    color: var(--wine); flex-shrink: 0;
}

.profile-card-header h2 { font-size: 1.3rem; color: var(--wine-deep); font-weight: 600; margin-bottom: 3px; }
.profile-card-header p { font-size: 0.83rem; color: var(--text-light); }
.profile-card .form-actions { margin-top: 24px; }
.profile-card .form-actions .btn { width: auto; }

.profile-reservations {
    background: #141414; border-radius: var(--r-xl);
    padding: 36px 40px; box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255,255,255,0.07);
}

.profile-res-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 28px; padding-bottom: 20px;
    border-bottom: 1px solid var(--cream-mid);
}
.profile-res-header h2 { font-size: 1.3rem; color: var(--wine-deep); font-weight: 600; }

.profile-reservations .reservation-list { max-width: 100%; }

.profile-reservations .reservation-card {
    display: flex; align-items: flex-start;
    justify-content: space-between; gap: 16px;
    padding: 20px 22px;
    border: 1px solid var(--cream-mid); border-radius: var(--r-lg);
    box-shadow: none; transition: border-color var(--t), box-shadow var(--t);
}
.profile-reservations .reservation-card:hover {
    border-color: rgba(107,39,55,0.2); box-shadow: var(--shadow-sm);
}

.res-info { flex: 1; min-width: 0; }

.res-top {
    display: flex; align-items: center; gap: 10px;
    flex-wrap: wrap; margin-bottom: 8px;
}

.res-type-label { font-size: 0.88rem; font-weight: 600; color: var(--wine-deep); }

.res-meta {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    font-size: 0.8rem; color: var(--text-light); margin-bottom: 8px;
}
.res-id { font-family: monospace; }

.res-items { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

.res-item-chip {
    padding: 3px 12px; background: var(--cream-warm);
    border: 1px solid var(--cream-mid); border-radius: var(--r-full);
    font-size: 0.78rem; color: var(--text-mid);
}

.res-note { margin-top: 8px; font-size: 0.82rem; color: var(--text-light); font-style: italic; }

.res-cancel-form { flex-shrink: 0; }

.res-cancel-btn {
    background: transparent; color: var(--error);
    border: 1px solid rgba(168,50,50,0.25);
    display: flex; align-items: center; gap: 5px;
    padding: 7px 14px;
}
.res-cancel-btn:hover {
    background: rgba(168,50,50,0.06); color: var(--error); border-color: var(--error);
}

.profile-empty { text-align: center; padding: 48px 20px; color: var(--text-light); }
.profile-empty-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.4; }
.profile-empty p { font-size: 0.95rem; }

@media (max-width: 900px) { .profile-layout { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
    .profile-card, .profile-reservations { padding: 24px 20px; }
}

/* ══════════════════════════════════════════════════════════════
   RESERVATION
   ══════════════════════════════════════════════════════════════ */

.reservation-form {
    background: #141414; border-radius: var(--r-xl);
    padding: 52px; box-shadow: var(--shadow-md);
    max-width: 800px; margin: 0 auto;
    border: 1px solid rgba(255,255,255,0.07);
}

.reservation-type-tabs { display: flex; gap: 12px; margin-bottom: 36px; }
.res-type-tab {
    flex: 1; padding: 22px; border-radius: var(--r-lg);
    border: 1.5px solid rgba(255,255,255,0.1); background: #1a1a1a;
    cursor: pointer; text-align: center; transition: all var(--t);
}
.res-type-tab.active { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.05); }
.res-type-tab h4 { font-size: 1rem; color: #ffffff; margin-bottom: 4px; }
.res-type-tab p { font-size: 0.78rem; color: var(--text-light); }

.wine-select-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px; margin: 24px 0;
}
.wine-select-item {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 18px; border-radius: var(--r-md);
    border: 1px solid var(--cream-mid); background: var(--cream);
    transition: all var(--t);
}
.wine-select-item.selected { border-color: var(--wine); background: rgba(107,39,55,0.03); }
.wine-select-item .wine-name { flex: 1; font-weight: 500; font-size: 0.88rem; }
.wine-select-item .wine-price-sm { font-weight: 600; color: var(--wine); font-size: 0.85rem; }
.wine-qty-input {
    width: 58px; padding: 6px 8px; border: 1px solid var(--cream-mid);
    border-radius: var(--r-sm); text-align: center; font-size: 0.88rem;
}

/* ══════════════════════════════════════════════════════════════
   RESERVATIONS LIST
   ══════════════════════════════════════════════════════════════ */

.reservation-list { display: flex; flex-direction: column; gap: 16px; max-width: 800px; margin: 0 auto; }
.reservation-card {
    background: #1a1a1a; border-radius: var(--r-lg);
    padding: 28px; box-shadow: var(--shadow-sm);
    display: flex; align-items: flex-start; gap: 20px;
    border: 1px solid rgba(255,255,255,0.07);
}
.res-status {
    padding: 6px 16px; border-radius: var(--r-full);
    font-size: 0.78rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.status-pending { background: #fff3e0; color: #e65100; }
.status-confirmed { background: #e8f5e9; color: #2e7d32; }
.status-cancelled { background: #ffebee; color: #c62828; }

/* ══════════════════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════════════════ */

.about-content {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.about-text h2 {
    font-size: 2.2rem; color: var(--wine-deep); margin-bottom: 20px;
    font-weight: 500;
}
.about-text p { color: var(--text-mid); margin-bottom: 16px; line-height: 1.9; }
.about-image {
    border-radius: var(--r-xl); overflow: hidden;
    aspect-ratio: 4/5; background: var(--cream-warm);
}
.about-image img { width:100%; height:100%; object-fit:cover; }

@media (max-width: 768px) {
    .about-content { grid-template-columns: 1fr; gap: 32px; }
    .form-card, .reservation-form { padding: 28px; }
    .form-row, .form-row-3 { grid-template-columns: 1fr; }
    .section { padding: 70px 0; }
    .reservation-type-tabs { flex-direction: column; }
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */

.footer {
    background: var(--black); color: rgba(244,237,226,0.5);
    padding: 80px 0 40px;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px; margin-bottom: 60px;
}
.footer h4 { color: #ffffff; font-size: 1rem; margin-bottom: 20px; font-weight: 600; }
.footer-brand {
    font-family: 'Righteous', cursive;
    font-size: 1.4rem; color: #ffffff;
    margin-bottom: 16px; font-weight: 400;
    display: flex; align-items: center; gap: 10px;
    letter-spacing: 0.03em;
}
.footer-brand img { height: 36px; border-radius: 8px; filter: brightness(0) invert(1); }
.footer-desc { font-size: 0.88rem; line-height: 1.8; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: rgba(240,240,240,0.45); font-size: 0.88rem; transition: color var(--t); }
.footer-links a:hover { color: #ffffff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 28px; text-align: center; font-size: 0.82rem;
}

@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════════
   ADMIN – vlastní světlé proměnné, izolované od dark public tématu
   ══════════════════════════════════════════════════════════════ */

/* Přepis CSS proměnných v celém admin kontextu na světlé hodnoty */
.admin-layout,
.admin-mobile-bar,
.admin-mobile-menu {
    --cream:       #faf7f2;
    --cream-warm:  #f4ede2;
    --cream-mid:   #e8ddd0;
    --parchment:   #f0e9dc;
    --text:        #2a1f1a;
    --text-mid:    #5a4d42;
    --text-light:  #8a7d72;
    --white:       #ffffff;
    --black:       #1c1410;
    --wine:        #6b2737;
    --wine-deep:   #3d1520;
    --wine-soft:   #8c4356;
    --shadow-sm:   0 2px 12px rgba(42,31,26,0.06);
    --shadow-md:   0 6px 24px rgba(42,31,26,0.08);
    --shadow-lg:   0 12px 48px rgba(42,31,26,0.12);
}

/* Body background jen pro admin stránky */
body:has(.admin-layout) {
    background: #f5f0eb !important;
    color: #2a1f1a !important;
}

.admin-layout { display: flex; min-height: 100vh; padding-top: 72px; }

.admin-sidebar {
    width: 260px; background: #ffffff;
    border-right: 1px solid #e8ddd0;
    padding: 32px 0; position: fixed; top: 72px; bottom: 0; overflow-y: auto;
    box-shadow: 2px 0 12px rgba(42,31,26,0.04);
}
.admin-sidebar-nav { list-style: none; padding: 0 16px; }
.admin-sidebar-nav a {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 18px; border-radius: var(--r-md);
    color: #5a4d42; font-weight: 500; font-size: 0.9rem;
    transition: all var(--t); margin-bottom: 4px;
    text-decoration: none;
}
.admin-sidebar-nav a:hover { background: rgba(107,39,55,0.06); color: #6b2737; }
.admin-sidebar-nav a.active { background: rgba(107,39,55,0.09); color: #6b2737; font-weight: 600; }
.admin-sidebar-nav .nav-icon { font-size: 1.15rem; }
.admin-sidebar-nav li:last-child a { color: #8a7d72; }
.admin-sidebar-nav li:last-child a:hover { color: #6b2737; }

.admin-main {
    flex: 1; margin-left: 260px; padding: 32px 40px;
    background: #f5f0eb; min-height: 100vh;
    color: #2a1f1a;
}
.admin-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 32px;
}
.admin-header h1 { font-size: 1.8rem; color: #3d1520; font-weight: 500; }
.admin-header h1, .admin-main h1, .admin-main h2, .admin-main h3 { color: #3d1520; }
.admin-main p, .admin-main td, .admin-main label { color: #2a1f1a; }

/* Stat cards */
.stats-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 20px; margin-bottom: 40px;
}
.stat-card {
    background: #ffffff; padding: 28px; border-radius: var(--r-lg);
    box-shadow: 0 2px 12px rgba(42,31,26,0.06);
    border: 1px solid #e8ddd0;
}
.stat-card .stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem; font-weight: 700; color: #6b2737;
}
.stat-card .stat-label { font-size: 0.82rem; color: #8a7d72; margin-top: 4px; }

/* Admin table */
.admin-table-wrap {
    background: #ffffff; border-radius: var(--r-lg);
    box-shadow: 0 2px 12px rgba(42,31,26,0.06); overflow-x: auto;
    border: 1px solid #e8ddd0;
}
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
    text-align: left; padding: 14px 20px; font-size: 0.78rem;
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
    color: #8a7d72; background: #faf7f2;
    border-bottom: 1px solid #e8ddd0;
}
.admin-table td {
    padding: 14px 20px; border-bottom: 1px solid #f4ede2;
    font-size: 0.88rem; vertical-align: middle; color: #2a1f1a;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #faf7f2; }
.admin-table .thumb { width: 48px; height: 48px; border-radius: var(--r-sm); object-fit: cover; }
.admin-table .actions { display: flex; gap: 8px; }
.admin-table a { color: #6b2737; }
.admin-table a:hover { color: #3d1520; }

/* Admin form */
.admin-form {
    background: #ffffff; border-radius: var(--r-xl);
    padding: 44px; box-shadow: 0 2px 12px rgba(42,31,26,0.06);
    max-width: 780px; border: 1px solid #e8ddd0;
}
.admin-form label { color: #5a4d42 !important; }
.admin-form .form-control {
    background: #faf7f2 !important; color: #2a1f1a !important;
    border-color: #e8ddd0 !important;
}
.admin-form .form-control:focus {
    border-color: #6b2737 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(107,39,55,0.06) !important;
}

/* Form controls inside admin-main globally */
.admin-main .form-control {
    background: #faf7f2; color: #2a1f1a;
    border: 1.5px solid #e8ddd0;
}
.admin-main .form-control:focus {
    border-color: #6b2737; background: #ffffff;
    box-shadow: 0 0 0 4px rgba(107,39,55,0.06);
}
.admin-main .form-group label { color: #5a4d42; }
.admin-main select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a4d42' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}

/* Buttons in admin */
.admin-main .btn-outline {
    background: transparent; color: #6b2737; border: 1.5px solid #6b2737;
}
.admin-main .btn-outline:hover { background: #6b2737; color: #fff; }
.admin-main .btn-wine { background: #6b2737; color: #fff; }
.admin-main .btn-wine:hover { background: #3d1520; color: #fff; }
.admin-main .btn-primary { background: #6b2737; color: #fff; }
.admin-main .btn-primary:hover { background: #3d1520; color: #fff; box-shadow: 0 8px 24px rgba(107,39,55,0.3); }

/* Image preview */
.image-preview-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.image-preview-item {
    position: relative; width: 120px; height: 160px;
    border-radius: var(--r-md); overflow: hidden;
    border: 2px solid #e8ddd0;
}
.image-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.image-preview-item .primary-badge {
    position: absolute; top: 6px; left: 6px;
    background: rgba(255,255,255,0.92); color: #3d1520;
    padding: 2px 8px; border-radius: var(--r-full);
    font-size: 0.7rem; font-weight: 600;
}
.image-preview-item .delete-btn {
    position: absolute; top: 6px; right: 6px;
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--error); color: white; border: none;
    font-size: 0.75rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}

/* Quill editor */
.ql-toolbar { border-radius: var(--r-md) var(--r-md) 0 0 !important; border-color: #e8ddd0 !important; background: #faf7f2; }
.ql-container { border-radius: 0 0 var(--r-md) var(--r-md) !important; border-color: #e8ddd0 !important; min-height: 200px; font-family: 'Montserrat', sans-serif !important; background: #fff; }
.ql-editor { font-size: 0.95rem; line-height: 1.7; color: #2a1f1a; }

/* ── Admin mobilní navigace ── */
.admin-mobile-bar {
    display: none;
    position: fixed; top: 72px; left: 0; right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e8ddd0;
    padding: 0 16px;
    z-index: 900;
    box-shadow: 0 2px 8px rgba(42,31,26,0.08);
}
.admin-mobile-nav-toggle {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 4px;
    background: none; border: none; cursor: pointer;
    font-family: 'Montserrat', sans-serif; font-size: 0.95rem;
    font-weight: 600; color: #3d1520;
    width: 100%;
}
.admin-mobile-nav-toggle svg { transition: transform 0.25s var(--ease); }
.admin-mobile-nav-toggle.open svg { transform: rotate(180deg); }
.admin-mobile-menu {
    display: none; padding: 8px 0 16px;
    border-top: 1px solid #e8ddd0; background: #ffffff;
}
.admin-mobile-menu.open { display: block; }
.admin-mobile-menu a {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 16px; border-radius: var(--r-md);
    color: #5a4d42; font-weight: 500; font-size: 0.95rem;
    transition: all var(--t); margin-bottom: 2px; text-decoration: none;
}
.admin-mobile-menu a:hover, .admin-mobile-menu a.active {
    background: rgba(107,39,55,0.07); color: #6b2737;
}
.admin-mobile-menu .nav-icon { font-size: 1.1rem; }

/* Scrolled navbar v admin – vždy světlý */
body:has(.admin-layout) .navbar {
    background: rgba(255,255,255,0.97) !important;
    backdrop-filter: blur(24px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
body:has(.admin-layout) .navbar .nav-links a { color: #5a4d42 !important; }
body:has(.admin-layout) .navbar .nav-links a:hover { color: #6b2737 !important; background: rgba(107,39,55,0.06) !important; }
body:has(.admin-layout) .navbar .nav-logo { color: #3d1520 !important; }
body:has(.admin-layout) .navbar .nav-logo img { filter: none !important; }
body:has(.admin-layout) .navbar .nav-toggle span { background: #2a1f1a !important; }
body:has(.admin-layout) .navbar .nav-user-btn { color: #5a4d42 !important; border-color: rgba(107,39,55,0.2) !important; }

@media (max-width: 1024px) {
    .admin-sidebar { display: none; }
    .admin-main { margin-left: 0; padding: 24px 20px; padding-top: 60px; }
    .admin-mobile-bar { display: block; }
}
@media (max-width: 600px) {
    .admin-main { padding: 16px; padding-top: 60px; }
    .admin-form { padding: 24px 20px; }
    .admin-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ══════════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════════ */

.fade-up {
    opacity: 0; transform: translateY(28px);
    transition: all 0.7s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ══════════════════════════════════════════════════════════════
   UTILITY
   ══════════════════════════════════════════════════════════════ */

.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.d-flex { display: flex; }
.gap-2 { gap: 16px; }
.hidden { display: none; }

/* ══════════════════════════════════════════════════════════════
   SKIP-LINK
   ══════════════════════════════════════════════════════════════ */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 9999;
}
.skip-link:focus {
  left: 10px;
}


/* ══════════════════════════════════════════════════════════════
   AGE GATE
   ══════════════════════════════════════════════════════════════ */

/* ══ AGE GATE ════════════════════════════════════════════════ */
.age-gate {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    opacity: 0; transition: opacity 0.4s var(--ease);
    pointer-events: none;
}
.age-gate-visible { opacity: 1; pointer-events: all; }
.age-gate-hiding  { opacity: 0; pointer-events: none; }

.age-gate-backdrop {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(28,10,18,0.97) 0%, rgba(60,20,35,0.97) 100%);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
/* Dekorativní puntíky na pozadí */
.age-gate-backdrop::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(196,163,90,0.08) 1px, transparent 1px);
    background-size: 32px 32px;
}

.age-gate-box {
    position: relative; z-index: 1;
    background: var(--white);
    border-radius: 28px;
    padding: 52px 48px 44px;
    max-width: 460px; width: 100%;
    text-align: center;
    box-shadow: 0 32px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(196,163,90,0.15);
    transform: translateY(0) scale(1);
    transition: transform 0.4s var(--ease);
}
.age-gate:not(.age-gate-visible) .age-gate-box {
    transform: translateY(20px) scale(0.97);
}

.age-gate-wine-glass {
    width: 64px; height: 80px; margin: 0 auto 20px;
    animation: wineRock 3s ease-in-out infinite;
}
.age-gate-wine-glass svg { width: 100%; height: 100%; }
@keyframes wineRock {
    0%, 100% { transform: rotate(-4deg); }
    50%       { transform: rotate(4deg); }
}

.age-gate-label {
    display: inline-block;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: rgba(255,255,255,0.5);
    background: rgba(107,39,55,0.06);
    padding: 5px 16px; border-radius: 999px;
    border: 1px solid rgba(196,163,90,0.25);
    margin-bottom: 20px;
}

.age-gate-box h2 {
    font-size: clamp(1.35rem, 3.5vw, 1.75rem);
    color: var(--wine-deep);
    margin-bottom: 12px;
    font-weight: 600; line-height: 1.4;
}

.age-gate-sub {
    color: var(--text-mid);
    font-size: 0.9rem; line-height: 1.7;
    margin-bottom: 0;
}

.age-gate-question {
    font-size: 1rem;
    font-weight: 600;
    color: var(--wine-deep);
    margin: 28px 0 16px;
}

.age-gate-buttons {
    display: flex; flex-direction: column;
    gap: 10px; margin-bottom: 24px;
}

.btn-age-yes {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    padding: 16px 28px; border-radius: 16px;
    background: linear-gradient(135deg, var(--wine) 0%, var(--wine-deep) 100%);
    color: white; border: none; cursor: pointer;
    font-family: 'Montserrat', sans-serif; font-weight: 600;
    transition: all 0.25s var(--ease);
    box-shadow: 0 4px 20px rgba(107,39,55,0.35);
}
.btn-age-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(107,39,55,0.45);
}
.btn-age-yes .age-btn-icon { font-size: 1.4rem; }
.btn-age-yes span:not(.age-btn-icon) { font-size: 1rem; }
.btn-age-yes small {
    display: block; font-size: 0.72rem; font-weight: 400;
    opacity: 0.75; margin-top: 1px;
}

.btn-age-no {
    display: flex; flex-direction: column; align-items: center;
    padding: 12px 28px; border-radius: 14px;
    background: transparent; color: var(--text-light);
    border: 1.5px solid var(--cream-mid); cursor: pointer;
    font-family: 'Montserrat', sans-serif; font-size: 0.88rem;
    transition: all 0.2s var(--ease);
}
.btn-age-no:hover { border-color: var(--text-light); color: var(--text-mid); }
.btn-age-no small { font-size: 0.72rem; opacity: 0.6; margin-top: 1px; }

.age-gate-note {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Odmítnutí */
.age-gate-denied .age-gate-backdrop {
    background: linear-gradient(135deg, rgba(10,5,5,0.99) 0%, rgba(30,8,12,0.99) 100%);
}
.age-gate-denied .age-gate-box {
    background: rgba(40,10,18,0.95);
    border: 1px solid rgba(255,255,255,0.08);
}
.age-gate-denied .age-gate-box h2,
.age-gate-denied .age-gate-box p {
    color: rgba(244,237,226,0.9);
}
.age-gate-denied .age-gate-note {
    color: rgba(244,237,226,0.35);
}

@media (max-width: 480px) {
    .age-gate-box { padding: 40px 24px 32px; }
}

/* ══ COOKIE LIŠTA ═════════════════════════════════════════════ */
.cookie-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000;
    transform: translateY(100%);
    transition: transform 0.4s var(--ease);
}
.cookie-bar-visible { transform: translateY(0); }

.cookie-bar-inner {
    display: flex; align-items: center; gap: 16px;
    background: var(--wine-deep);
    color: rgba(244,237,226,0.9);
    padding: 16px 24px;
    font-size: 0.85rem; line-height: 1.6;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
}
.cookie-bar-icon { font-size: 1.3rem; flex-shrink: 0; }
.cookie-bar-inner p { flex: 1; margin: 0; }
.cookie-bar-inner a { color: rgba(255,255,255,0.7); text-decoration: underline; }
.cookie-bar-btn {
    flex-shrink: 0; padding: 9px 22px; border-radius: 999px;
    background: #ffffff; color: #000000;
    border: none; cursor: pointer; font-weight: 700;
    font-family: 'Montserrat', sans-serif; font-size: 0.88rem;
    transition: all 0.2s var(--ease); white-space: nowrap;
}
.cookie-bar-btn:hover { background: #e8e8e8; transform: translateY(-1px); }

.footer-sep { margin: 0 8px; opacity: 0.4; }
.footer-bottom a { color: rgba(240,240,240,0.45); transition: color var(--t); }
.footer-bottom a:hover { color: #ffffff; }

@media (max-width: 600px) {
    .cookie-bar-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
    .cookie-bar-btn { width: 100%; text-align: center; }
}

/* ══════════════════════════════════════════════════════════════
   WINE DETAIL – FULL WIDTH DESCRIPTION
   ══════════════════════════════════════════════════════════════ */

.wine-desc-full {
    max-width: 860px;
    margin: 0 auto;
}

.wine-desc-full-header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--cream-mid);
}

.wine-desc-full-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--wine-deep);
    font-weight: 500;
    margin-bottom: 12px;
}

.wine-desc-full-header p {
    font-size: 1.05rem;
    color: var(--text-light);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.wine-html-desc--full {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-mid);
    /* Bez columns – rozbíjí grid layouty */
}

/* ── Wine sold-out badge ── */
.wine-card-sold-out {
    position: absolute; bottom: 10px; left: 10px;
    background: rgba(30,20,15,0.75);
    backdrop-filter: blur(6px);
    color: rgba(244,237,226,0.9);
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    padding: 5px 11px; border-radius: 999px;
    pointer-events: none;
}
.wine-card--unavailable .wine-card-image img {
    filter: grayscale(40%) opacity(0.85);
}
.wine-card--unavailable .wine-card-image .no-image {
    filter: grayscale(60%) opacity(0.6);
}
.wine-price-unavailable {
    color: var(--text-light); font-size: 0.82rem; font-style: italic;
}

/* ── Wine parametry tabulka ── */
.wine-params-table {
    margin: 20px 0;
    border: 1px solid var(--cream-mid);
    border-radius: var(--r-md);
    overflow: hidden;
    font-size: 0.85rem;
}
.wp-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 9px 14px; gap: 12px;
    border-bottom: 1px solid var(--cream-warm);
}
.wp-row:last-child { border-bottom: none; }
.wp-row:nth-child(even) { background: var(--cream); }
.wp-row span:first-child { color: var(--text-light); font-size: 0.8rem; }
.wp-row span:last-child { color: var(--text); font-weight: 500; text-align: right; }

/* ── Wine sekce s obrázkem (wine-section) ── */
.wine-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--cream-mid);
    border-radius: 20px;
    overflow: hidden;
    margin: 24px 0;
    background: var(--white);
}
.wine-section.rev .ws-img { order: 2; }
.wine-section.rev .ws-text { order: 1; }

.ws-img { background: var(--cream); min-height: 260px; }
.ws-img img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 260px; }

.ws-text {
    padding: 32px 36px;
    display: flex; flex-direction: column; justify-content: center;
    gap: 10px;
}
.ws-eyebrow {
    font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.14em;
    color: #b388ff; margin: 0;
}
.ws-text h3 {
    font-size: 1.3rem; color: var(--wine-deep);
    font-weight: 600; margin: 0; line-height: 1.3;
}
.ws-text p { color: var(--text-mid); line-height: 1.75; margin: 0; font-size: 0.95rem; }

@media (max-width: 700px) {
    .wine-section { grid-template-columns: 1fr; }
    .wine-section.rev .ws-img,
    .wine-section.rev .ws-text { order: unset; }
    .ws-img { min-height: 200px; }
    .ws-img img { min-height: 200px; }
    .ws-text { padding: 22px 20px; }
}

/* ── Wine FAQ ── */
.wine-faq { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--cream-mid); }
.wine-faq > h3 {
    font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.14em;
    color: var(--text-light); margin-bottom: 16px;
}
.faq-item {
    border: 1px solid var(--cream-mid); border-radius: 16px;
    padding: 16px 20px; margin-bottom: 10px;
    background: rgba(255,255,255,0.7);
}
.faq-q { font-weight: 600; color: var(--text); margin-bottom: 6px; font-size: 0.95rem; }
.faq-a { color: var(--text-mid); font-size: 0.9rem; line-height: 1.7; margin: 0; }

.wine-html-desc--full h2,
.wine-html-desc--full h3 {
    column-span: all;
    color: var(--wine-deep);
    margin: 32px 0 16px;
}

.wine-html-desc--full h2 { font-size: 1.7rem; }
.wine-html-desc--full h3 { font-size: 1.35rem; }

.wine-html-desc--full p { margin-bottom: 18px; }

.wine-html-desc--full strong { color: var(--text); }

.wine-html-desc--full ul,
.wine-html-desc--full ol {
    padding-left: 22px;
    margin-bottom: 18px;
}

.wine-html-desc--full table {
    column-span: all;
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.wine-html-desc--full table td,
.wine-html-desc--full table th {
    padding: 12px 16px;
    border-bottom: 1px solid var(--cream-mid);
    text-align: left;
}

.wine-html-desc--full table th {
    font-weight: 600;
    color: var(--wine-deep);
    background: var(--cream);
}

@media (max-width: 768px) {
    .wine-html-desc--full {
        columns: 1;
        font-size: 0.97rem;
    }
}

/* ══════════════════════════════════════════════════════════════
   KOŠTY A AKCE
   ══════════════════════════════════════════════════════════════ */

.events-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 820px;
    margin: 0 auto;
}

.event-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: var(--cream-warm);
    border: 1px solid var(--cream-mid);
    border-radius: var(--r-lg);
    padding: 24px 28px;
    transition: border-color var(--t), transform var(--t);
}

.event-card--upcoming {
    border-left: 3px solid rgba(255,255,255,0.25);
}

.event-card--upcoming:hover {
    border-color: rgba(255,255,255,0.3);
    transform: translateX(4px);
}

.event-card--past {
    opacity: 0.55;
}

.event-date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    background: var(--cream-mid);
    border-radius: var(--r-md);
    padding: 10px 12px;
    text-align: center;
    flex-shrink: 0;
}

.event-day {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text);
}

.event-month {
    font-size: 0.72rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.event-body {
    flex: 1;
    min-width: 0;
}

.event-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.3;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 10px;
}

.event-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.event-meta-item svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.event-description {
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 12px;
    margin-top: 4px;
}

.event-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 14px;
    border-radius: var(--r-full);
    transition: all var(--t);
    text-decoration: none;
}

.event-link:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.35);
    color: var(--text);
}

.event-link--muted {
    color: var(--text-light);
    border-color: var(--cream-mid);
}

.event-link--muted:hover {
    color: var(--text-mid);
}

.events-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}

.events-empty-icon {
    display: block;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.events-empty h3 {
    font-size: 1.3rem;
    color: var(--text-mid);
    margin-bottom: 10px;
}

.events-empty p {
    font-size: 0.95rem;
}

.events-list--archive .event-date-box {
    background: transparent;
    border: 1px solid var(--cream-mid);
}

@media (max-width: 520px) {
    .event-card {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }
    .event-date-box {
        flex-direction: row;
        gap: 8px;
        align-items: baseline;
        width: auto;
        padding: 6px 14px;
    }
    .event-day { font-size: 1.3rem; }
    .event-month { margin-top: 0; font-size: 0.8rem; }
}
