:root {
    --red: #c41e3a;
    --red-dark: #8f1229;
    --red-glow: rgba(196,30,58,0.18);
    --bg: #f4f5f7;
    --border: #e5e7eb;
    --text: #111827;
    --text-2: #374151;
    --muted: #6b7280;
    --muted-light: #9ca3af;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* -- NAVBAR -- */
.navbar { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.navbar-inner { max-width: 1300px; margin: 0 auto; padding: 0 1.25rem; height: 64px; display: flex; align-items: center; gap: 0.75rem; }
/* ── NAVBAR DROPDOWN ── */
.nav-dropdown-wrap {
    position: relative;
}

.nav-dropdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    background: transparent;
    border: none;
    border-radius: 9999px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-2);
    cursor: pointer;
    transition: all 0.2s;
}
.nav-dropdown-btn:hover { background: var(--bg); color: var(--text); }
.nav-dropdown-btn i.arrow { font-size: 0.65rem; transition: transform 0.2s; }
.nav-dropdown-wrap.open .nav-dropdown-btn i.arrow { transform: rotate(180deg); }

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 220px;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 200;
    overflow: hidden;
}
.nav-dropdown-wrap.open .nav-dropdown-menu { display: block; }

.nav-dropdown-section {
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border);
}
.nav-dropdown-section:last-child { border-bottom: none; }

.nav-dropdown-label {
    padding: 0.35rem 1rem 0.2rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 1rem;
    text-decoration: none;
    color: var(--text-2);
    font-size: 0.86rem;
    font-weight: 500;
    transition: background 0.15s;
}
.nav-dropdown-item:hover { background: var(--bg); color: var(--text); }
.nav-dropdown-item i {
    width: 16px;
    text-align: center;
    font-size: 0.82rem;
    color: var(--muted);
    flex-shrink: 0;
}
.nav-dropdown-item:hover i { color: var(--red); }
.nav-dropdown-item.active { color: var(--red); font-weight: 600; }
.nav-dropdown-item.active i { color: var(--red); }

/* ── MOBILE MENU prosireni ── */
.mobile-menu-inner { gap: 0; }

.mob-nav-links {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--border);
    padding: 0.4rem 0;
}

.mob-nav-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 1.25rem;
    text-decoration: none;
    color: var(--text-2);
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.15s;
}
.mob-nav-item:hover { background: var(--bg); }
.mob-nav-item i {
    width: 18px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
    flex-shrink: 0;
}

.mob-nav-section-label {
    padding: 0.75rem 1.25rem 0.25rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mob-nav-sep { height: 1px; background: var(--border); margin: 0.25rem 0; }

.mob-search-section {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.mob-btns-section {
    padding: 0.75rem 1.25rem;
    display: flex;
    gap: 0.5rem;
}
.mob-btns-section .btn { flex: 1; justify-content: center; }
.logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; flex-shrink: 0; }
.logo-mark { width: 36px; height: 36px; background: var(--red); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; color: white; letter-spacing: -0.5px; }
.logo-text { font-weight: 800; font-size: 1.3rem; color: var(--text); letter-spacing: -0.5px; }
.logo-text span { color: var(--red); }

.nav-search { flex: 1; max-width: 380px; position: relative; display: none; }
@media (min-width: 768px) { .nav-search { display: block; } }
.nav-search input { width: 100%; padding: 0.52rem 1rem 0.52rem 2.4rem; border: 1.5px solid var(--border); border-radius: 9999px; font-family: inherit; font-size: 0.88rem; background: var(--bg); color: var(--text); outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.nav-search input:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-glow); background: white; }
.nav-search-icon { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 0.78rem; pointer-events: none; }
.nav-favs {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-favs:hover { color: var(--red); }

.nav-favs.has-favs { color: var(--red); }
.nav-favs.has-favs i { font-weight: 900; }

.nav-favs-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--red);
    color: white;
    font-size: 0.62rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
    display: none;
}

.nav-favs.has-favs .nav-favs-count { display: flex; }
.nav-actions { display: flex; align-items: center; gap: 0.4rem; margin-left: auto; flex-shrink: 0; }

.btn { display: inline-flex; align-items: center; gap: 0.4rem; font-family: inherit; font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: all 0.2s; border: none; text-decoration: none; white-space: nowrap; border-radius: 9999px; }
.btn-ghost { background: transparent; color: var(--text-2); padding: 0.45rem 0.85rem; }
.btn-ghost:hover { background: var(--bg); }
.btn-outline { background: transparent; color: var(--red); border: 1.5px solid var(--red); padding: 0.42rem 1rem; }
.btn-outline:hover { background: var(--red); color: white; }
.btn-primary { background: var(--red); color: white; padding: 0.5rem 1.1rem; box-shadow: 0 2px 8px var(--red-glow); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }

.nav-hide-mobile { display: none; }
@media (min-width: 768px) { .nav-hide-mobile { display: inline-flex; } }
.btn-label { display: none; }
@media (min-width: 480px) { .btn-label { display: inline; } }

.hamburger { display: flex; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 0.4rem; flex-shrink: 0; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
@media (min-width: 768px) { .hamburger { display: none; } }

.mobile-menu { display: none; background: white; border-bottom: 1px solid var(--border); }
.mobile-menu.open { display: block; }
.mobile-menu-inner { max-width: 1300px; margin: 0 auto; padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.mob-search-wrap { position: relative; }
.mob-search-wrap input { width: 100%; padding: 0.65rem 1rem 0.65rem 2.5rem; border: 1.5px solid var(--border); border-radius: 9999px; font-family: inherit; font-size: 0.9rem; outline: none; }
.mob-search-wrap input:focus { border-color: var(--red); }
.mob-search-icon { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 0.8rem; pointer-events: none; }
.mobile-btns { display: flex; gap: 0.5rem; }
.mobile-btns .btn { flex: 1; justify-content: center; }

/* -- SECTION UTILITIES -- */
.section-wrap { max-width: 1300px; margin: 2rem auto 0; padding: 0 1.25rem; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.section-title { font-size: 1.15rem; font-weight: 700; color: var(--text); letter-spacing: -0.3px; }
.section-link { font-size: 0.83rem; font-weight: 600; color: var(--red); text-decoration: none; display: flex; align-items: center; gap: 0.3rem; }
.section-link:hover { text-decoration: underline; }

/* -- FILTER BAR -- */
.filter-bar { max-width: 1300px; margin: 1rem auto 0; padding: 0 1.25rem; display: none; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.filter-bar.visible { display: flex; }
.filter-label { font-size: 0.79rem; color: var(--muted); font-weight: 600; }
.filter-tag { display: inline-flex; align-items: center; gap: 0.4rem; background: #fde8ec; color: var(--red); font-size: 0.79rem; font-weight: 600; padding: 0.28rem 0.65rem; border-radius: 9999px; }
.filter-tag button { background: none; border: none; cursor: pointer; color: var(--red); font-size: 0.75rem; padding: 0; line-height: 1; opacity: 0.65; }
.filter-tag button:hover { opacity: 1; }

/* -- MODAL -- */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 200; align-items: center; justify-content: center; padding: 1rem; backdrop-filter: blur(4px); }
.modal-overlay.open { display: flex; }
.modal-box { background: white; border-radius: 20px; width: 100%; max-width: 540px; max-height: 90vh; overflow-y: auto; animation: slideUp 0.3s cubic-bezier(0.16,1,0.3,1); }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.modal-header { padding: 1.5rem 1.75rem 1rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
.modal-header h2 { font-size: 1.2rem; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 0.5rem; }
.modal-header h2 i { color: var(--red); }
.modal-close { width: 32px; height: 32px; border: none; background: var(--bg); border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: var(--muted); transition: all 0.2s; }
.modal-close:hover { background: #fde8ec; color: var(--red); }

.modal-body { padding: 1.5rem 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.83rem; font-weight: 600; color: var(--text-2); margin-bottom: 0.4rem; }
.form-control { width: 100%; padding: 0.65rem 0.9rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-family: inherit; font-size: 0.9rem; color: var(--text); background: white; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.form-control:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-glow); }
textarea.form-control { resize: vertical; min-height: 90px; }
.form-hint { font-size: 0.74rem; color: var(--muted); margin-top: 0.3rem; }

.modal-footer { padding: 1rem 1.75rem 1.5rem; border-top: 1px solid var(--border); }
.btn-submit { width: 100%; background: var(--red); color: white; padding: 0.85rem; border: none; border-radius: 9999px; font-family: inherit; font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: background 0.2s; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.btn-submit:hover { background: var(--red-dark); }
.modal-disclaimer { font-size: 0.72rem; color: var(--muted); text-align: center; margin-top: 0.75rem; display: flex; align-items: center; justify-content: center; gap: 0.4rem; }
.modal-disclaimer i { color: var(--red); }

/* -- TOAST -- */
.toast { position: fixed; bottom: -0.5rem; right: 1.5rem; background: #111827; color: white; padding: 0.75rem 1.25rem; border-radius: 10px; font-size: 0.88rem; font-weight: 500; display: flex; align-items: center; gap: 0.6rem; box-shadow: 0 8px 24px rgba(0,0,0,0.25); z-index: 999; transform: translateY(120%); transition: transform 0.35s cubic-bezier(0.16,1,0.3,1); }
.toast.show { transform: translateY(0); }
.toast i { color: #4ade80; }

/* -- FAB -- */
.fab { display: none; position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90; width: 56px; height: 56px; background: var(--red); border: none; border-radius: 50%; color: white; font-size: 1.35rem; cursor: pointer; box-shadow: 0 4px 20px rgba(196,30,58,0.5); align-items: center; justify-content: center; transition: transform 0.2s; }
.fab:hover { transform: scale(1.1); }
@media (max-width: 640px) { .fab { display: flex; } }

/* -- FOOTER -- */
.footer { background: #0d1117; color: #6b7280; margin-top: 4rem; padding: 3rem 1.25rem 0; }
.footer-inner { max-width: 1300px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid #1f2937; }
@media (max-width: 768px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand-logo { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.footer-logo-text { font-weight: 800; font-size: 1.2rem; color: white; letter-spacing: -0.5px; }
.footer-logo-text span { color: var(--red); }
.footer-brand p { font-size: 0.82rem; line-height: 1.7; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 0.9rem; }
.social-btn { width: 34px; height: 34px; border-radius: 8px; background: #1f2937; display: flex; align-items: center; justify-content: center; color: #9ca3af; text-decoration: none; font-size: 0.85rem; transition: all 0.2s; }
.social-btn:hover { background: var(--red); color: white; }
.footer-col h5 { color: #f9fafb; font-size: 0.87rem; font-weight: 700; margin-bottom: 1rem; }
.footer-col a { display: flex; align-items: center; gap: 0.5rem; color: #6b7280; text-decoration: none; font-size: 0.82rem; margin-bottom: 0.55rem; transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-col a i { width: 14px; font-size: 0.78rem; color: #4b5563; }
.footer-bottom { padding: 1.25rem 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; font-size: 0.77rem; }