/* ===== Self-hosted Inter font (umesto Google Fonts CDN — bio render-blocking) ===== */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/inter-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/inter-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/inter-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/inter-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/inter-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/inter-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/inter-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/inter-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/inter-800-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/inter-800-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ===== Self-hosted zastave (umesto flag-icons CDN — koristimo samo 3) ===== */
.fi { background-size: contain; background-position: 50%; background-repeat: no-repeat; position: relative; display: inline-block; width: 1.33333333em; line-height: 1em; vertical-align: middle; }
.fi:before { content: '\00a0'; }
.fi-rs { background-image: url(/icons/flags/rs.svg); }
.fi-gb { background-image: url(/icons/flags/gb.svg); }
.fi-ru { background-image: url(/icons/flags/ru.svg); }


/* ========================================================
   Sisarke — NanoBanana 2 Design System (Light Theme)
   ======================================================== */

/* ===== Variables ===== */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fc;
    --bg-card: #ffffff;
    --bg-card-hover: #fafafc;
    --bg-elevated: #f3f4f8;
    --bg-input: #f5f6fa;
    --accent: #7c3aed;
    --accent-hover: #6d28d9;
    --accent-light: #a78bfa;
    --accent-warm: #f59e0b;
    --accent-soft: rgba(124, 58, 237, 0.08);
    --accent-glow: rgba(124, 58, 237, 0.2);
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
    --gradient-warm: linear-gradient(135deg, #7c3aed 0%, #f59e0b 100%);
    --gradient-hero: linear-gradient(160deg, #f8f9fc 0%, #ffffff 40%, #f5f3ff 100%);
    --gradient-card: linear-gradient(135deg, rgba(124,58,237,0.03) 0%, transparent 100%);
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a68;
    --text-muted: #9295a6;
    --border-color: rgba(0, 0, 0, 0.06);
    --border-light: rgba(0, 0, 0, 0.1);
    --success: #059669;
    --success-light: #34d399;
    --success-bg: rgba(5, 150, 105, 0.08);
    --danger: #dc2626;
    --radius-sm: 12px;
    --radius: 16px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 100px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.08);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glass: blur(20px) saturate(1.6);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 62px;
}

main { flex: 1; }

a { color: var(--accent); transition: color var(--transition); text-decoration: none; }
a:hover { color: var(--accent-hover); }

::selection { background: var(--accent); color: #fff; }

/* ===== Navbar ===== */
.s-navbar {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: var(--glass);
    -webkit-backdrop-filter: var(--glass);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    padding: 0.6rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    transition: background var(--transition);
}

.s-navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7c3aed, #a78bfa, #c4b5fd, #7c3aed);
    background-size: 300% 100%;
    animation: navbar-gradient-slide 3s linear infinite;
    opacity: 1;
    transition: opacity 0.6s ease;
}

.s-navbar.loaded::before {
    opacity: 0;
}

@keyframes navbar-gradient-slide {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

.s-navbar .navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary) !important;
    text-decoration: none;
}

.s-navbar .nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-pill);
    transition: all var(--transition);
}

.s-navbar .nav-link:hover {
    color: var(--text-primary) !important;
    background: var(--bg-elevated);
}

.s-navbar .btn-link {
    color: var(--text-muted) !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: var(--radius-pill);
    padding: 0.5rem 1rem !important;
}

.s-navbar .btn-link:hover {
    color: var(--text-primary) !important;
    background: var(--bg-elevated);
}

.s-navbar .nav-cta {
    background: var(--gradient-primary);
    color: #fff !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.s-navbar .nav-cta:hover {
    background: var(--accent-soft);
    color: var(--accent) !important;
    border-color: var(--accent);
    box-shadow: none;
    transform: translateY(-1px);
}

/* Language switcher */
.s-lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill) !important;
    padding: 0.35rem 0.8rem 0.35rem 0.6rem !important;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    transition: all var(--transition);
}
.s-lang-toggle:hover { border-color: var(--accent); color: var(--accent) !important; }
.s-lang-toggle::after { margin-left: 0.1rem; }
.s-lang-btn-flag { width: 20px; border-radius: 2px; flex-shrink: 0; }
.s-lang-flag { width: 22px; border-radius: 3px; margin-right: 0.45rem; vertical-align: middle; }
.dropdown-menu .dropdown-item { display: flex; align-items: center; }

.s-navbar .dropdown-menu {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.s-navbar .dropdown-item {
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.s-navbar .dropdown-item:hover {
    color: var(--text-primary);
    background: var(--bg-elevated);
}

/* ===== Hero ===== */
.s-hero {
    background: var(--gradient-hero);
    padding: 5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

.s-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 55%);
    pointer-events: none;
    animation: floatOrb 8s ease-in-out infinite;
}

.s-hero::after {
    content: '';
    position: absolute;
    bottom: -35%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245,158,11,0.06) 0%, transparent 55%);
    pointer-events: none;
    animation: floatOrb 10s ease-in-out infinite reverse;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.s-hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.12;
    position: relative;
    color: var(--text-primary);
}

.s-hero .lead {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 1.5rem auto 0;
    position: relative;
    line-height: 1.7;
}

.s-hero .accent-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.s-trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.s-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    padding: 0.5rem 1.1rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.s-trust-badge strong { color: var(--text-primary); }
a.s-trust-badge-link {
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
    border-color: var(--accent-light);
}
a.s-trust-badge-link:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}
a.s-trust-badge-link:hover strong { color: var(--accent); }

.s-hero-cta {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

/* ===== Page Header ===== */
.s-page-header {
    background: var(--bg-secondary);
    padding: 2.5rem 0 2rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.s-page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124,58,237,0.04) 0%, transparent 60%);
    pointer-events: none;
}

.s-page-header h1 { font-weight: 800; letter-spacing: -0.5px; position: relative; }

.s-page-header .s-breadcrumb {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
}

.s-page-header .s-breadcrumb a { color: var(--accent); }
.s-page-header .s-breadcrumb a:hover { text-decoration: underline; }
.s-page-header .s-breadcrumb .separator { color: var(--text-muted); }
.s-page-header .s-breadcrumb .current { color: var(--text-secondary); }
.s-page-header .subtitle { color: var(--text-secondary); font-size: 0.95rem; position: relative; }

/* ===== Cards - Base ===== */
.s-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: all var(--transition);
    overflow: hidden;
}

.s-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ===== City Cards ===== */
.s-city-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
}

.s-city-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem 1.25rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    width: 190px;
    flex-shrink: 0;
}

.s-city-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity var(--transition);
}

.s-city-card:hover {
    color: var(--text-primary);
    border-color: var(--accent-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.s-city-card:hover::before { opacity: 1; }

.s-city-card h3 { font-weight: 700; font-size: 1.05rem; margin: 0; position: relative; }
.s-city-card .city-count { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.35rem; position: relative; }

/* ===== Bar Cards ===== */
.s-bar-card {
    -webkit-user-drag: none;
    user-drag: none;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition);
    height: 100%;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.s-bar-card:hover {
    color: var(--text-primary);
    border-color: var(--border-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.s-bar-card .card-image { height: 200px; overflow: hidden; position: relative; }
.s-bar-card .card-image img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
    -webkit-user-drag: none; user-drag: none; pointer-events: none;
    /* Radius i na samoj slici (ne samo na kartici): slika nosi view-transition-name,
       pa se tokom tranzicije renderuje van kartice — bez ovoga uglovi "iskoče" oštri. */
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.s-bar-card:hover .card-image img { transform: scale(1.06); }

.s-bar-card .card-placeholder {
    height: 200px;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    opacity: 0.3;
    -webkit-user-drag: none; user-drag: none;
}

.s-bar-card .card-badge { position: absolute; top: 0.5rem; right: 0.5rem; z-index: 2; }

.s-bar-card .card-body {
    padding: 1.25rem; flex: 1; display: flex; flex-direction: column;
    user-select: text; -webkit-user-select: text;
}
.s-bar-card .bar-name { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.25rem; }
.s-bar-card .bar-address { color: var(--text-muted); font-size: 0.85rem; margin-bottom: auto; }

.s-bar-card .card-footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.s-bar-card .bar-price { font-weight: 700; color: var(--accent); }

/* ===== Badges ===== */
.s-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.s-badge-open { background: var(--success-bg); color: var(--success); }
.s-badge-closed { background: var(--bg-elevated); color: var(--text-muted); }
.s-badge-top { background: var(--gradient-primary); color: #fff; }
.s-badge-outline { background: var(--bg-elevated); color: var(--text-secondary); border: 1px solid var(--border-color); }
.s-badge-premium { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); color: #fff; }

/* ===== Bar Detail ===== */
.s-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.s-detail-header h1 { font-weight: 800; font-size: 2rem; letter-spacing: -0.5px; margin-bottom: 0.25rem; }
.s-detail-header .bar-type { color: var(--text-muted); font-size: 0.9rem; }

.s-gallery {
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

/* border-radius i ovde zbog view-transition-name na prvoj slici (vidi .s-bar-card .card-image img) */
.s-gallery .carousel-item img { height: 420px; object-fit: cover; border-radius: var(--radius-xl); }
.s-gallery .carousel { position: relative; }

.s-carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(4px);
    top: 50%;
    transform: translateY(-50%);
    opacity: 1 !important;
    transition: background .2s;
    position: absolute;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 2;
}
.s-carousel-btn:hover { background: rgba(255, 255, 255, 0.92) !important; }
.s-carousel-btn.carousel-control-prev { left: 12px; }
.s-carousel-btn.carousel-control-next { right: 12px; }
.s-carousel-btn .carousel-control-prev-icon,
.s-carousel-btn .carousel-control-next-icon {
    width: 16px;
    height: 16px;
    filter: invert(0) brightness(0.2);
}

.s-carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}
.s-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.s-carousel-dot:hover { background: rgba(255, 255, 255, 0.8); }
.s-carousel-dot.active {
    background: var(--accent, #7c3aed);
    transform: scale(1.2);
}

.s-sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.s-sidebar-card h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 600;
}

.s-price-display { font-size: 1.75rem; font-weight: 800; color: var(--accent); line-height: 1; }
.s-price-display .currency { font-size: 1rem; color: var(--text-muted); font-weight: 500; margin-left: 0.25rem; }
.s-address { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.5; }

/* ===== CTA Buttons ===== */
.s-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    width: 100%;
}

.s-cta-phone {
    background: linear-gradient(135deg, #059669, #34d399);
    color: #fff;
}

.s-cta-phone:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.25);
}

.s-cta-whatsapp {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid rgba(5, 150, 105, 0.15);
}

.s-cta-whatsapp:hover {
    background: rgba(5, 150, 105, 0.12);
    color: var(--success);
    transform: translateY(-2px);
}

.s-cta-telegram {
    background: rgba(38, 165, 227, 0.08);
    color: #26a5e4;
    border: 1px solid rgba(38, 165, 227, 0.15);
}

.s-cta-telegram:hover {
    background: rgba(38, 165, 227, 0.14);
    color: #26a5e4;
    transform: translateY(-2px);
}

.s-cta-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.s-cta-outline:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-soft);
    transform: translateY(-2px);
}

.s-cta-stack { display: flex; flex-direction: column; gap: 0.75rem; }

/* ===== Working Hours ===== */
.s-hours-table { width: 100%; }
.s-hours-table tr { border-bottom: 1px solid var(--border-color); }
.s-hours-table tr:last-child { border-bottom: none; }
.s-hours-table td { padding: 0.55rem 0; font-size: 0.9rem; }
.s-hours-table .day-name { color: var(--text-secondary); }
.s-hours-table .day-hours { text-align: right; color: var(--text-primary); font-weight: 500; }
.s-hours-table .today { color: var(--accent) !important; font-weight: 700; }
.s-hours-table .closed-text { color: var(--text-muted); font-style: italic; }

/* ===== Working Hours Form ===== */
.s-hours-grid { display: flex; flex-direction: column; gap: 4px; }
.s-hours-row {
    display: grid;
    grid-template-columns: 110px 100px auto 100px auto;
    align-items: center;
    gap: 10px;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    border: 1px solid transparent;
    transition: all var(--transition);
}
@media (max-width: 575.98px) {
    .s-hours-row {
        grid-template-columns: 1fr 1fr;
        gap: 6px 10px;
        padding: 0.7rem 0.8rem;
    }
    .s-hours-day { grid-column: 1 / -1; }
    .s-hours-sep { display: none; }
    .s-hours-input { max-width: 100%; }
    .s-hours-row .form-check { grid-column: 1 / -1; }
}
.s-hours-row:hover { border-color: var(--border-color); }
.s-hours-row.s-hours-closed {
    opacity: 0.45;
    background: repeating-linear-gradient(
        -45deg,
        var(--bg-input),
        var(--bg-input) 6px,
        var(--bg-secondary) 6px,
        var(--bg-secondary) 12px
    );
}
.s-hours-day {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}
.s-hours-input {
    max-width: 100px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.s-hours-row .form-check { margin-bottom: 0; }
.s-hours-row .form-check-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    user-select: none;
}
.s-hours-sep {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
}

.s-price-row-clickable { cursor: pointer; transition: background-color 0.15s ease; border-radius: var(--radius-sm); }
.s-price-row-clickable:hover { background-color: var(--accent-soft); }
.s-price-expand-icon { color: var(--accent); font-size: 1.1rem; transition: transform 0.2s ease; }
.s-price-row-clickable[aria-expanded="true"] .s-price-expand-icon { transform: rotate(90deg); }
.s-price-desc-row td { border-bottom: 1px solid var(--border-color) !important; vertical-align: top !important; }
.s-price-desc-cell { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }

/* ===== Description ===== */
.s-description { color: var(--text-secondary); line-height: 1.8; font-size: 1rem; }
.s-description h2 { color: var(--text-primary); font-weight: 700; font-size: 1.2rem; margin-bottom: 0.75rem; }
.s-description h3 { color: var(--text-primary); font-weight: 600; font-size: 1rem; margin-bottom: 0.5rem; }

/* ===== Section Headers ===== */
.s-section-title {
    font-weight: 800;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.s-section-subtitle { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 2rem; }

.s-section-header {
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
}

/* ===== Footer ===== */
.s-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    margin-top: auto;
}

.s-footer .footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.s-footer .footer-tagline { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

.s-footer h6,
.s-footer .footer-heading {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.25rem;
}

.s-footer .footer-links { list-style: none; padding: 0; margin: 0; }
.s-footer .footer-links li { margin-bottom: 0.6rem; }
.s-footer a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color var(--transition); }
.s-footer a:hover { color: var(--accent); }

.s-footer .footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: 3rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== Login / Auth ===== */
.s-login-wrapper {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--bg-secondary);
}

.s-login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-lg);
}

.s-login-card h1 {
    font-weight: 800;
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

/* ===== Form Elements ===== */
.s-form .form-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 0.45rem;
}

.s-form .form-control,
.s-form .form-select {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 0.75rem 1.1rem;
    font-size: 0.95rem;
    transition: all var(--transition);
}

.s-form textarea.form-control {
    padding: 0.6rem 0.75rem;
}

.s-form .form-control:focus,
.s-form .form-select:focus {
    background: #fff;
    border-color: var(--accent);
    color: var(--text-primary);
    box-shadow: 0 0 0 4px var(--accent-soft);
    outline: none;
}

.s-form .form-control::placeholder { color: var(--text-muted); }

.s-form .form-check-input {
    background-color: var(--bg-input);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    width: 1.15em;
    height: 1.15em;
}

.s-form .form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

.s-form .form-check-label { color: var(--text-secondary); font-size: 0.9rem; }

/* Password toggle */
.s-password-wrap {
    position: relative;
}
.s-password-wrap .form-control {
    padding-right: 2.75rem;
}
.s-password-toggle {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0;
    transition: color 0.15s ease;
}
.s-password-toggle:hover {
    color: var(--text-primary);
}
.s-password-toggle svg {
    width: 20px;
    height: 20px;
    pointer-events: none;
}

/* ===== Buttons ===== */
.s-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    letter-spacing: 0.01em;
}

.s-btn-accent {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 2px 12px var(--accent-glow);
}

.s-btn-accent:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--accent-glow);
}

.s-btn-outline {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.s-btn-outline:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-soft);
    transform: translateY(-2px);
}

.s-btn-lg { padding: 0.9rem 2.25rem; font-size: 1rem; }
.s-btn-block { width: 100%; }

.s-btn-google {
    background: #fff;
    color: #3c4043;
    border: 1px solid var(--border-light);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.s-btn-google:hover {
    background: #f8f9fa;
    border-color: #dadce0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: #3c4043;
}

.s-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    gap: 1rem;
}
.s-divider::before,
.s-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}
.s-divider span {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== Alerts ===== */
.s-alert {
    background: var(--accent-soft);
    border: 1px solid rgba(124, 58, 237, 0.15);
    color: var(--accent);
    border-radius: var(--radius-pill);
    padding: 0.85rem 1.5rem;
    font-weight: 500;
    text-align: center;
}

/* ===== Pagination ===== */
.s-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    list-style: none;
    padding: 0;
}

.s-pagination a,
.s-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.s-pagination a {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.s-pagination a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

.s-pagination .active span {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 16px var(--accent-glow);
}

/* ===== Empty State ===== */
.s-empty { text-align: center; padding: 4rem 2rem; }
.s-empty h3 { color: var(--text-secondary); font-weight: 600; margin-bottom: 0.5rem; }
.s-empty p { color: var(--text-muted); }

/* ===== Admin / Owner Bootstrap overrides ===== */
.container .card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    color: var(--text-primary);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.container .card-header {
    background: var(--bg-secondary) !important;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 0 !important;
}

.container .list-group-item {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border-color);
    transition: all var(--transition);
}

.container .list-group-item-action:hover {
    background: var(--bg-elevated);
    color: var(--accent);
}

/* ===== Dashboard Cards ===== */
.s-dash-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.s-dash-card:hover:not(.s-dash-card--static) {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1) !important;
}

.s-dash-card--static {
    cursor: default;
}

/* ===== Dropzone ===== */
.s-dropzone {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md, 12px);
    background: var(--bg-secondary);
    padding: 32px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    user-select: none;
}

.s-dropzone:hover,
.s-dropzone-active {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.s-dropzone-disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: not-allowed;
    border-color: var(--border-light);
    background: var(--bg-elevated);
}

.s-dropzone-input {
    position: absolute;
    left: -9999px;
}

.s-dropzone-body { pointer-events: none; }

.s-dropzone-icon {
    color: var(--text-muted);
    margin-bottom: 10px;
    transition: color 0.2s;
}

.s-dropzone:hover .s-dropzone-icon,
.s-dropzone-active .s-dropzone-icon { color: var(--accent); }

.s-dropzone-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0 0 4px;
}

.s-dropzone-browse {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.s-dropzone-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
}

/* ===== Admin Image Management ===== */
.s-image-preview-grid,
.s-image-manage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

.s-image-manage-item {
    position: relative;
    cursor: grab;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: all var(--transition);
}

.s-image-manage-item:hover { border-color: var(--accent-light); }
.s-image-manage-item.dragging { opacity: 0.5; border-color: var(--accent); }
.s-image-manage-item.s-image-primary { border-color: var(--accent); }
.s-image-manage-item img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }

.s-image-primary-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.s-image-star-btn {
    position: absolute;
    bottom: 4px;
    left: 4px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s, background 0.2s;
}

.s-image-manage-item:hover .s-image-star-btn { opacity: 1; }
.s-image-star-btn.active {
    opacity: 1;
    background: var(--accent);
    color: #fff;
}

.s-image-delete-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--danger, #dc3545);
    color: #fff;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.s-image-manage-item:hover .s-image-delete-btn { opacity: 1; }

/* ===== Admin Data List (replaces tables) ===== */
.s-data-list {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.s-data-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition);
    cursor: pointer;
}
.s-data-row:last-child { border-bottom: none; }
.s-data-row:hover { background: var(--bg-elevated); color: var(--text-primary); }

.s-data-id {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 500;
    min-width: 36px;
    flex-shrink: 0;
}

.s-data-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-pill);
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.s-data-avatar-img {
    border-radius: var(--radius-pill);
    object-fit: cover;
    flex-shrink: 0;
}

.s-data-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.s-data-name { font-weight: 600; font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-data-meta { font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.s-data-badges { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.s-data-arrow {
    color: var(--text-muted);
    font-size: 1.3rem;
    font-weight: 300;
    flex-shrink: 0;
    transition: transform var(--transition);
}
.s-data-row:hover .s-data-arrow { transform: translateX(3px); color: var(--accent); }

.s-data-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Pills & Dots */
.s-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--bg-elevated);
    color: var(--text-muted);
    letter-spacing: 0.02em;
}
.s-pill-gold { background: rgba(245,158,11,0.12); color: #b45309; }
.s-pill-blue { background: rgba(99,102,241,0.1); color: #4f46e5; }

/* Package badges */
.s-package-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.s-package-basic { background: var(--bg-elevated); color: var(--text-secondary); }
.s-package-top { background: var(--accent-soft); color: var(--accent); }
.s-package-premium { background: var(--gradient-primary); color: #fff; }

.s-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    flex-shrink: 0;
}
.s-dot-green { background: var(--success); box-shadow: 0 0 0 3px var(--success-bg); }
.s-dot-red { background: var(--danger); box-shadow: 0 0 0 3px rgba(220,38,38,0.1); }

.s-approval-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
}
.s-approval-approved { background: rgba(34,197,94,0.12); color: #16a34a; }
.s-approval-rejected { background: rgba(239,68,68,0.12); color: #dc2626; }
.s-approval-pending  { background: rgba(59,130,246,0.12); color: #2563eb; }

.s-code-tag {
    font-size: 0.72rem;
    background: var(--bg-elevated);
    padding: 1px 6px;
    border-radius: 4px;
    color: var(--accent);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.s-count-badge {
    font-size: 0.65em;
    font-weight: 700;
    background: var(--accent-soft);
    color: var(--accent);
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    vertical-align: middle;
    margin-left: 4px;
}

/* Action buttons (inline in rows) */
.s-action-btn {
    border: 1px solid var(--border-color);
    background: transparent;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--text-secondary);
    flex-shrink: 0;
}
.s-action-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.s-action-danger:hover { border-color: var(--danger); color: var(--danger); background: rgba(220,38,38,0.06); }
.s-action-success:hover { border-color: var(--success); color: var(--success); background: var(--success-bg); }

/* Filter bar */
.s-filter-bar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 10px 16px;
    box-shadow: var(--shadow-sm);
}
.s-filter-bar-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.s-filter-bar .form-control {
    flex: 3;
    min-width: 0;
}
.s-filter-search {
    position: relative;
    flex: 3;
    min-width: 0;
}
.s-filter-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.4;
    pointer-events: none;
    z-index: 2;
}
.s-filter-search .form-control {
    padding-left: 38px !important;
    flex: none;
    width: 100%;
}
.s-filter-bar .ts-wrapper {
    flex: 1 1 0;
    min-width: 0;
    max-width: 180px;
}
.s-filter-bar .ts-wrapper .ts-control {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.s-filter-bar .ts-wrapper .ts-control > input {
    width: 0 !important;
    min-width: 0 !important;
}

/* Pagination */
.s-pagination { display: flex; gap: 4px; }
.s-page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all var(--transition);
}
.s-page-link:hover { background: var(--bg-elevated); color: var(--accent); }
.s-page-link.active { background: var(--accent); color: #fff; }

/* Tom Select overrides for admin */
.ts-wrapper .ts-control {
    background: var(--bg-input) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-sm) !important;
    padding: 0.25rem 0.5rem !important;
    font-size: 0.875rem !important;
    min-height: auto !important;
    cursor: pointer !important;
}
.ts-wrapper.focus .ts-control {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 4px var(--accent-soft) !important;
}
.ts-dropdown {
    border-radius: var(--radius-sm) !important;
    border-color: var(--border-color) !important;
    box-shadow: var(--shadow-lg) !important;
    margin-top: 4px !important;
}
.ts-dropdown .option {
    padding: 8px 12px !important;
    font-size: 0.88rem !important;
    border-radius: 6px !important;
    margin: 2px 4px !important;
    transition: all 0.15s ease !important;
}
.ts-dropdown .option:hover,
.ts-dropdown .option.active {
    background: var(--accent-soft) !important;
    color: var(--accent) !important;
}
.ts-dropdown .option.selected {
    background: var(--accent) !important;
    color: #fff !important;
}

/* Legacy table overrides (keep for any remaining tables) */
.container .table { color: var(--text-primary); --bs-table-bg: transparent; }
.container .table-light { --bs-table-bg: var(--bg-secondary); --bs-table-color: var(--text-primary); }
.container .table-hover > tbody > tr:hover { --bs-table-hover-bg: var(--bg-elevated); --bs-table-hover-color: var(--text-primary); }
.table-active { background-color: var(--accent-soft) !important; }

.container .form-control,
.container .form-select {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 0.25rem 0.5rem !important;
    font-size: 0.875rem !important;
    line-height: 1.5;
    transition: all var(--transition);
}

.container textarea.form-control {
    padding: 0.35rem 0.5rem;
}

.container .form-control:focus,
.container .form-select:focus {
    background: #fff;
    border-color: var(--accent);
    color: var(--text-primary);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

.container .form-label { color: var(--text-secondary); }
.s-req { color: #ef4444; font-weight: 700; }

.btn-warning {
    background: var(--gradient-primary) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: var(--radius-pill) !important;
    padding: 0.65rem 1.5rem !important;
    transition: all var(--transition);
}

.btn-warning:hover {
    box-shadow: 0 4px 16px var(--accent-glow) !important;
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--gradient-primary) !important;
    border: none !important;
    border-radius: var(--radius-pill) !important;
    color: #fff !important;
    font-weight: 600;
    transition: all var(--transition);
}

.btn-primary:hover {
    box-shadow: 0 4px 16px var(--accent-glow) !important;
    transform: translateY(-1px);
}

.text-muted { color: var(--text-muted) !important; }

.bg-primary { background: var(--gradient-primary) !important; border-radius: var(--radius-xl); }
.bg-success { background: linear-gradient(135deg, #059669, #34d399) !important; border-radius: var(--radius-xl); }
.bg-dark { background: var(--text-primary) !important; border-radius: var(--radius-xl); }
.bg-secondary { background: var(--bg-elevated) !important; }
.bg-info { background: linear-gradient(135deg, #6366f1, #818cf8) !important; border-radius: var(--radius-xl); }

.badge.bg-success { background: var(--success-bg) !important; color: var(--success) !important; border-radius: var(--radius-pill) !important; }
.badge.bg-danger { background: rgba(220,38,38,0.08) !important; color: var(--danger) !important; border-radius: var(--radius-pill) !important; }
.badge.bg-secondary { background: var(--bg-elevated) !important; color: var(--text-muted) !important; border-radius: var(--radius-pill) !important; }

.alert-success { background: var(--accent-soft); border-color: rgba(124,58,237,0.15); color: var(--accent); border-radius: var(--radius); }

.btn-outline-secondary {
    border-color: var(--border-light) !important;
    color: var(--text-secondary) !important;
    border-radius: var(--radius-pill) !important;
    transition: all var(--transition);
}

.btn-outline-secondary:hover {
    background: var(--accent-soft) !important;
    border-color: var(--accent) !important;
    color: var(--accent) !important;
}

.btn-outline-primary {
    border-color: var(--accent) !important;
    color: var(--accent) !important;
    border-radius: var(--radius-pill) !important;
    transition: all var(--transition);
}

.btn-outline-primary:hover {
    background: var(--accent-soft) !important;
    color: var(--accent-hover) !important;
}

.btn-lg {
    border-radius: var(--radius-pill) !important;
    padding: 0.75rem 2rem !important;
}

/* ===== Alt Section Background ===== */
.s-section-alt {
    background: var(--bg-secondary);
}

/* ===== Hero Search ===== */
.s-hero-search {
    max-width: 520px;
    margin: 2rem auto 0;
    position: relative;
    z-index: 20;
}

.s-search-box {
    position: relative;
}

.s-search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    z-index: 2;
}

.s-search-input {
    width: 100%;
    padding: 1rem 1.25rem 1rem 3.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    background: var(--bg-card);
    font-size: 1rem;
    color: var(--text-primary);
    box-shadow: var(--shadow);
    transition: all var(--transition);
    outline: none;
}

.s-search-input:focus {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg), 0 0 0 4px var(--accent-soft);
}

.s-search-input::placeholder {
    color: var(--text-muted);
}

.s-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
    padding: 0.5rem;
}

.s-search-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    font-size: 0.95rem;
}

.s-search-item:hover {
    background: var(--bg-elevated);
    color: var(--accent);
}

.s-search-item small {
    color: var(--text-muted);
    margin-left: 0.25rem;
}

.s-search-type {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.s-search-hookah {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ===== City Card Enhancements ===== */
.s-city-icon {
    color: var(--accent);
    margin-bottom: 0.75rem;
    opacity: 0.6;
    transition: opacity var(--transition);
}

.s-city-card:hover .s-city-icon {
    opacity: 1;
}

/* ===== Steps / How It Works ===== */
.s-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.s-step {
    text-align: center;
    position: relative;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.s-step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.s-step-number {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.12;
    line-height: 1;
}

.s-step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-soft), rgba(124, 58, 237, 0.15));
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.12);
}

.s-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.s-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ===== Reviews Grid ===== */
.s-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.s-review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    overflow: hidden;
}

.s-review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.s-review-stars {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    letter-spacing: 2px;
}

.s-star-filled {
    color: #f59e0b;
}

.s-star-empty {
    color: var(--border-color);
}

.s-review-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    min-height: 3.2rem;
}

.s-review-source {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.s-review-source a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.s-review-source a:hover {
    text-decoration: underline;
}

/* ===== Owner CTA Section ===== */
.s-owner-cta {
    padding: 4rem 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.s-owner-cta::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124,58,237,0.06) 0%, transparent 60%);
    pointer-events: none;
}

.s-owner-cta-inner {
    max-width: 560px;
    margin: 0 auto;
}

.s-owner-cta h2 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.s-owner-cta p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* ===== SEO Text ===== */
.s-seo-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== Bar Type Badge (in cards) ===== */
.bar-type-badge {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .s-hero { padding: 2.5rem 0 2rem; }
    .s-city-card { width: 150px; }
    .s-gallery .carousel-item img { height: 260px; }
    .s-detail-header h1 { font-size: 1.5rem; }
    .s-login-card { padding: 1.75rem; }
    .s-trust-badges { gap: 0.5rem; }
    .s-trust-badge { font-size: 0.78rem; padding: 0.4rem 0.8rem; }
    .s-steps-grid { grid-template-columns: 1fr; gap: 0.5rem; }
    .s-step { padding: 1.5rem 1rem; }
    .s-step-icon { width: 52px; height: 52px; }
    .s-step-icon svg { width: 24px; height: 24px; }
    .s-reviews-grid { grid-template-columns: 1fr; }
    .s-owner-cta { padding: 3rem 0; }
    .s-owner-cta h2 { font-size: 1.4rem; }
    .s-hero-search { margin-top: 1.5rem; }
    .s-search-input { padding: 0.85rem 1rem 0.85rem 2.75rem; font-size: 0.9rem; }
    .s-search-icon { left: 1rem; }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.s-animate-in { animation: fadeInUp 0.6s ease forwards; }
.s-animate-in:nth-child(2) { animation-delay: 0.06s; }
.s-animate-in:nth-child(3) { animation-delay: 0.12s; }
.s-animate-in:nth-child(4) { animation-delay: 0.18s; }
.s-animate-in:nth-child(5) { animation-delay: 0.24s; }
.s-animate-in:nth-child(6) { animation-delay: 0.3s; }
.s-animate-in:nth-child(7) { animation-delay: 0.36s; }
.s-animate-in:nth-child(8) { animation-delay: 0.42s; }

/* ===== Map ===== */
.s-map-detail {
    width: 100%;
    height: 300px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

/* ===== Map Marker Animations ===== */
@keyframes s-marker-drop {
    0% { transform: translateY(-30px) scale(0.4); opacity: 0; }
    60% { transform: translateY(4px) scale(1.05); opacity: 1; }
    80% { transform: translateY(-2px) scale(0.98); }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes s-marker-bounce {
    0%, 100% { transform: translateY(0); }
    30% { transform: translateY(-12px); }
    50% { transform: translateY(0); }
    70% { transform: translateY(-6px); }
}
@keyframes s-marker-pulse {
    0% { box-shadow: 0 0 0 0 rgba(124,58,237,0.5); }
    70% { box-shadow: 0 0 0 12px rgba(124,58,237,0); }
    100% { box-shadow: 0 0 0 0 rgba(124,58,237,0); }
}
@keyframes s-cluster-pop {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes s-cluster-ring-pulse {
    0% { transform: translate(-50%,-50%) scale(1); opacity: 0.45; }
    50% { transform: translate(-50%,-50%) scale(1.35); opacity: 0; }
    100% { transform: translate(-50%,-50%) scale(1); opacity: 0.45; }
}
@keyframes s-user-pulse {
    0% { box-shadow: 0 0 0 0 rgba(99,102,241,0.6); }
    70% { box-shadow: 0 0 0 16px rgba(99,102,241,0); }
    100% { box-shadow: 0 0 0 0 rgba(99,102,241,0); }
}
@keyframes pinGlow {
    0%, 100% { transform: scale(0.85); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 0.25; }
}
/* Uvodni "pad" pina pri prvom crtanju mape.
   fill-mode: both drži pin na 0% keyframe-u (opacity: 0) dok traje
   animation-delay — zato pin mora da izađe iz ove animacije čim je odigra,
   inače ga svaki sledeći restart sakrije. */
.s-marker-pin { animation: s-marker-drop 0.4s ease-out both; }

/* Mirno stanje: uvodna animacija je odigrala i više se ne primenjuje.
   Klasu dodaje JS na animationend (vidi createAdvancedMarker). Bez ovoga je
   mouseleave vraćao animation-name na s-marker-drop, browser bi to shvatio
   kao novu animaciju i ponovo je pokrenuo — sa inline animation-delay-om od
   i*30ms, pa je pin nestajao i po sekundu i po pre nego što se vrati. */
.s-marker-pin.s-marker-settled { animation: none; }
.s-marker-pin.s-marker-settled:hover,
.s-marker-pin.s-marker-settled.s-marker-active { animation: s-marker-bounce 0.45s ease; }

/* Fallback ako JS ne stigne da postavi s-marker-settled: bounce i dalje radi,
   samo bez zaštite od restarta. */
.s-marker-pin:hover { animation: s-marker-bounce 0.45s ease; }
.s-marker-active { animation: s-marker-bounce 0.45s ease !important; }

@media (prefers-reduced-motion: reduce) {
    .s-marker-pin,
    .s-marker-pin:hover,
    .s-marker-pin.s-marker-settled:hover,
    .s-marker-active { animation: none !important; }
}
.s-cluster-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.s-cluster-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border-radius: 50%;
    border: 2px solid rgba(124,58,237,0.35);
    animation: s-cluster-ring-pulse 2.5s ease-in-out infinite;
    pointer-events: none;
}
.s-cluster-bubble {
    position: relative;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(124,58,237,0.85) 0%, rgba(168,85,247,0.75) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255,255,255,0.4);
    box-shadow: 0 4px 16px rgba(124,58,237,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    animation: s-cluster-pop 0.35s cubic-bezier(0.34,1.56,0.64,1) both;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.s-cluster-wrapper:hover .s-cluster-bubble {
    transform: scale(1.12);
    box-shadow: 0 6px 24px rgba(124,58,237,0.5), inset 0 1px 0 rgba(255,255,255,0.25);
}
.s-cluster-wrapper:hover .s-cluster-ring { animation-play-state: paused; opacity: 0.7; }
.s-cluster-count { display: inline-block; text-shadow: 0 1px 3px rgba(0,0,0,0.25); transition: transform 0.3s ease, opacity 0.3s ease; }
.s-user-dot { animation: s-user-pulse 1.5s ease infinite; }

.s-map-page { display: flex; flex-direction: column; height: calc(100vh - 60px); }
.s-map-dark {
    filter: invert(1) hue-rotate(180deg);
}
.s-map-dark img,
.s-map-dark .s-cluster-bubble,
.s-map-dark .s-marker-pin,
.s-map-dark .s-user-dot {
    filter: invert(1) hue-rotate(180deg);
}

.s-map-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
    gap: 1rem;
    flex-wrap: wrap;
}

.s-map-toolbar h1 { font-size: 1.1rem; font-weight: 700; margin: 0; white-space: nowrap; }
.s-map-wrapper { flex: 1; position: relative; display: flex; min-height: 0; }
.s-map-container { flex: 1; min-height: 400px; }

/* ===== Nearest Panel ===== */
.s-nearest-panel {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 360px;
    max-height: calc(100% - 2rem);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    z-index: 10;
    overflow: hidden;
}

.s-nearest-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.s-nearest-header h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-primary);
}

.s-nearest-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    border-radius: var(--radius-pill);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.s-nearest-close:hover { color: var(--text-primary); background: var(--bg-elevated); }
.s-nearest-list { padding: 0.75rem; overflow-y: auto; flex: 1; }

.s-nearest-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition);
    cursor: pointer;
    gap: 0.75rem;
}

.s-nearest-item:hover { background: var(--bg-elevated); color: var(--text-primary); }
.s-nearest-item-main { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }

.s-nearest-rank {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-pill);
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.s-nearest-name { font-weight: 600; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-nearest-meta { color: var(--text-muted); font-size: 0.78rem; }
.s-nearest-dist { font-weight: 700; font-size: 0.85rem; color: var(--accent); white-space: nowrap; flex-shrink: 0; }
.s-nearest-thumb { width: 40px; height: 40px; border-radius: var(--radius); object-fit: cover; flex-shrink: 0; }

/* ===== Map Filters ===== */
.s-map-filters {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.s-map-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.s-map-search-icon {
    position: absolute;
    left: 10px;
    color: var(--text-muted);
    pointer-events: none;
}
.s-map-search {
    padding: 6px 10px 6px 32px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.85rem;
    width: 180px;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.s-map-search:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.s-dropdown {
    position: relative;
}
.s-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition);
}
.s-dropdown-trigger:hover { border-color: var(--accent); }
.s-dropdown-trigger svg { color: var(--text-muted); transition: transform 0.2s ease; }
.s-dropdown.open .s-dropdown-trigger { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.s-dropdown.open .s-dropdown-trigger svg { transform: rotate(180deg); }
.s-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 100;
    max-height: 240px;
    overflow-y: auto;
    padding: 4px;
}
.s-dropdown.open .s-dropdown-menu { display: block; }
.s-dropdown-item {
    display: block;
    width: 100%;
    padding: 7px 12px;
    border: none;
    background: none;
    color: var(--text-primary);
    font-size: 0.85rem;
    text-align: left;
    cursor: pointer;
    border-radius: calc(var(--radius) - 2px);
    transition: all var(--transition);
    white-space: nowrap;
}
.s-dropdown-item:hover { background: var(--bg-elevated); }
.s-dropdown-item.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.s-map-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.82rem;
    color: var(--text-secondary);
    user-select: none;
    white-space: nowrap;
}
.s-map-toggle input { display: none; }
.s-map-toggle-dot {
    width: 34px;
    height: 18px;
    border-radius: 9px;
    background: var(--border-color);
    position: relative;
    transition: background var(--transition);
    flex-shrink: 0;
}
.s-map-toggle-dot::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    transition: transform var(--transition);
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.s-map-toggle input:checked + .s-map-toggle-dot {
    background: #10b981;
}
.s-map-toggle input:checked + .s-map-toggle-dot::after {
    transform: translateX(16px);
}
.s-map-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
    flex-shrink: 0;
}
.s-map-icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.s-btn-sm { padding: 6px 14px; font-size: 0.82rem; }

/* ===== Map Tooltip ===== */
.s-marker-tooltip {
    position: fixed;
    z-index: 10000;
    background: #1a1a2e;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    transform: translateX(-50%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.s-marker-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #1a1a2e;
}

/* Mobile action buttons (hidden on desktop) */
.s-map-mobile-actions { display: none; }

/* ===== Map Mobile ===== */
@media (max-width: 768px) {
    .s-map-toolbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem 1rem;
        gap: 0.5rem;
    }
    .s-map-mobile-actions {
        display: flex;
        gap: 0.5rem;
        width: 100%;
    }
    .s-map-mobile-actions .s-btn {
        flex: 1;
        justify-content: center;
    }
    .s-map-filters {
        width: 100%;
        display: none;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        align-items: center;
    }
    .s-map-filters.is-open {
        display: flex;
    }
    .s-map-search { width: 100%; flex: 1; min-width: 0; }
    .s-map-search-wrap { width: 100%; min-width: 0; }
    .s-dropdown { flex: 1; min-width: 0; }
    .s-dropdown-trigger { width: 100%; }
    .s-dropdown-menu { right: 0; }
    .s-map-btn-text { display: none; }
    .s-btn-sm { padding: 6px 10px; }
    /* Hide desktop nearest button on mobile (mobile actions has its own) */
    .s-map-filters #btnNearest { display: none; }
    .s-nearest-panel {
        position: absolute;
        top: 1rem;
        bottom: auto;
        left: 0.5rem;
        right: 0.5rem;
        width: auto;
        max-height: 45vh;
        border-radius: var(--radius-xl);
        padding: 0;
    }
    .s-nearest-header { padding: 0.5rem 0.75rem 0.35rem; border-bottom: none; }
    .s-nearest-header h3 { font-size: 0.82rem; }
    .s-nearest-close { font-size: 1.1rem; padding: 0.15rem 0.3rem; }
    .s-nearest-list { padding: 0.25rem 0.75rem 0.5rem; }
    .s-nearest-item { padding: 0.3rem 0; gap: 0.4rem; }
    .s-nearest-item-main { gap: 0.4rem; }
    .s-nearest-rank { width: 22px; height: 22px; font-size: 0.65rem; min-width: 22px; }
    .s-nearest-name { font-size: 0.8rem; line-height: 1.2; }
    .s-nearest-meta { font-size: 0.68rem; line-height: 1.2; }
    .s-nearest-dist { font-size: 0.75rem; }
    .s-nearest-thumb { width: 30px; height: 30px; border-radius: 5px; }
    .s-nearest-panel .s-btn-block { font-size: 0.8rem; padding: 0.4rem; margin-top: 0.3rem !important; }
    .s-map-page { height: calc(100vh - 60px); height: calc(100dvh - 60px); }
    /* Filter toggle active state */
    #btnFilterToggle.is-active {
        background: var(--accent);
        color: #fff;
        border-color: var(--accent);
    }
}

/* ===== Toast Notifications ===== */
.s-toast {
    position: fixed;
    top: 1.2rem;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    z-index: 10000;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
    max-width: 480px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.s-toast-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.s-toast-error {
    background: #ff4757;
    color: #fff;
}
.s-toast-success {
    background: #2ed573;
    color: #fff;
}
.s-toast-info {
    background: var(--accent);
    color: #fff;
}

/* ===== Confirm Modal ===== */
.s-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity .2s ease;
}
.s-confirm-overlay.s-confirm-visible { opacity: 1; }
.s-confirm-box {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 2rem 2rem 1.5rem;
    max-width: 380px;
    width: 90%;
    text-align: center;
    transform: scale(0.92) translateY(8px);
    transition: transform .2s ease;
}
.s-confirm-visible .s-confirm-box { transform: scale(1) translateY(0); }
.s-confirm-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #fef2f2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.s-confirm-icon svg { width: 26px; height: 26px; color: #ef4444; }
.s-confirm-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.35rem;
}
.s-confirm-msg {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.45;
}
.s-confirm-actions { display: flex; gap: 0.75rem; justify-content: center; }
.s-confirm-actions button {
    flex: 1;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.88rem;
    border: none;
    cursor: pointer;
    transition: background .15s, box-shadow .15s;
}
.s-confirm-cancel {
    background: var(--bg-soft);
    color: var(--text);
}
.s-confirm-cancel:hover { background: #e5e7eb; }
.s-confirm-ok {
    background: #ef4444;
    color: #fff;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}
.s-confirm-ok:hover { background: #dc2626; box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35); }

/* ===== Promotion & Event cards ===== */
.s-promo-card, .s-event-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 12px 16px;
}
.s-promo-card {
    border-left: 3px solid var(--accent);
}
.s-event-card {
    border-left: 3px solid #8b5cf6;
}

/* ===== Claim Business CTA ===== */
.s-cta-accent {
    display: block;
    text-align: center;
    padding: 10px 16px;
    border-radius: var(--radius);
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition);
}
.s-cta-accent:hover {
    background: var(--accent-light);
    color: #fff;
    box-shadow: var(--shadow-md);
}

/* ===== Google Maps InfoWindow (desktop) ===== */
/* Strip all native padding/margins from InfoWindow wrappers */
.gm-style .gm-style-iw-d { overflow: hidden !important; padding: 0 !important; }
.gm-style .gm-style-iw-c { border-radius: var(--radius) !important; padding: 0 !important; box-shadow: var(--shadow-lg) !important; overflow: visible !important; }
.gm-style .gm-style-iw-ch { display: none !important; height: 0 !important; padding: 0 !important; margin: 0 !important; }
.gm-style .gm-style-iw { padding: 0 !important; }
.gm-style .gm-style-iw-d > div { padding: 0 !important; }
/* Close button: white circle with black X */
.gm-style .gm-style-iw-c button.gm-ui-hover-effect {
    top: 6px !important;
    right: 6px !important;
    left: auto !important;
    width: 26px !important;
    height: 26px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.85) !important;
    border-radius: 50% !important;
    z-index: 10;
    opacity: 1 !important;
}
.gm-style .gm-style-iw-c button.gm-ui-hover-effect > span {
    margin: 0 !important;
    width: 14px !important;
    height: 14px !important;
}

/* Desktop InfoWindow card */
.s-iw-card {
    display: block;
    font-family: Inter, system-ui, sans-serif;
    color: var(--text-primary);
    width: 260px;
    text-decoration: none;
    border-radius: var(--radius);
    overflow: hidden;
}
.s-iw-card:hover { color: var(--text-primary); text-decoration: none; }
.s-iw-image {
    position: relative;
    overflow: hidden;
}
.s-iw-image img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
}
.s-iw-image::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.35));
}
.s-iw-badge {
    position: absolute;
    top: 8px; left: 8px;
    padding: 2px 8px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 1;
}
.s-iw-badge-premium { color: #fbbf24; }
.s-iw-badge-top { color: #c4b5fd; }
.s-iw-body { padding: 10px 12px 12px; }
.s-iw-card:not(:has(.s-iw-image)) .s-iw-body { padding-top: 14px; }
.s-iw-name {
    font-weight: 700;
    font-size: 13px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.s-iw-inline-badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
}
.s-iw-inline-badge-premium { background: #fef3c7; color: #b45309; }
.s-iw-inline-badge-top { background: #ede9fe; color: #7c3aed; }
.s-iw-location {
    color: var(--text-muted);
    font-size: 11px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.s-iw-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.s-iw-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}
.s-iw-pill-open { background: #ecfdf5; color: #059669; }
.s-iw-pill-closed { background: #fef2f2; color: #dc2626; }
.s-iw-pill-rating { background: #fffbeb; color: #b45309; }
.s-iw-pill-rating .s-iw-pill-sub { color: #9ca3af; font-weight: 400; }
.s-iw-hours { color: var(--text-muted); font-size: 11px; }
.s-iw-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    display: inline-block;
}
.s-iw-dot-open { background: #10b981; }
.s-iw-dot-closed { background: #ef4444; }
.s-iw-cta {
    display: block;
    width: 100%;
    padding: 8px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--transition);
}
.s-iw-cta:hover { background: var(--accent-hover); color: #fff; text-decoration: none; }

/* ===== Bottom Sheet (mobile) ===== */
.s-bar-sheet-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1035;
}
.s-bar-sheet-overlay.is-open { display: block; }

.s-bar-sheet {
    display: block;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 1040;
    background: var(--bg-card);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    box-shadow: 0 -4px 30px rgba(0,0,0,0.12);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 85vh;
    overflow: hidden;
    will-change: transform;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
}
.s-bar-sheet.is-open {
    transform: translateY(0);
    visibility: visible;
}
.s-bar-sheet.is-dragging {
    transition: none;
}

.s-bar-sheet-handle {
    display: flex;
    justify-content: center;
    padding: 10px 0 4px;
    cursor: grab;
}
.s-bar-sheet-handle::before {
    content: '';
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: var(--border-light);
}

/* Sheet content */
.s-bar-sheet-expanded {
    display: none;
    padding: 0 16px 20px;
    overflow-y: auto;
}
.s-bar-sheet.is-open .s-bar-sheet-expanded { display: block; }

.s-bar-sheet-hero {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 12px;
}
.s-bar-sheet-hero img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.s-bar-sheet-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 50px;
    background: linear-gradient(transparent, rgba(0,0,0,0.35));
}
.s-bar-sheet-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}
.s-bar-sheet-name {
    font-weight: 700;
    font-size: 17px;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
}
.s-bar-sheet-location {
    color: var(--text-muted);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}
.s-bar-sheet-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.s-bar-sheet-cta {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--transition);
}
.s-bar-sheet-cta:hover { background: var(--accent-hover); color: #fff; text-decoration: none; }

/* Hide bottom sheet on desktop, hide InfoWindow on mobile */
@media (min-width: 769px) {
    .s-bar-sheet, .s-bar-sheet-overlay { display: none !important; }
}
@media (max-width: 768px) {
    .gm-style-iw, .gm-style-iw-c, .gm-style-iw-t { display: none !important; }
}

/* ===== Map responsive ===== */
@media (max-width: 768px) {
    .s-map-page { height: calc(100vh - 56px); }
    .s-map-toolbar { padding: 0.5rem 1rem; }
    .s-map-toolbar h1 { font-size: 0.95rem; }
    .s-nearest-panel { width: calc(100% - 1rem); left: 0.5rem; right: 0.5rem; top: 1rem; bottom: auto; max-height: 50%; }
    .s-map-detail { height: 240px; }
}

/* ===== Native View Transitions ===== */
@view-transition {
    navigation: auto;
}

/* Miran, brz crossfade — bez scale "pulsa" koji je vizuelno treskao stranicu
   (najuočljivije pri promeni jezika, gde je layout identičan). */
::view-transition-old(root) {
    animation: 120ms cubic-bezier(0.4, 0, 1, 1) both fade-out;
}

::view-transition-new(root) {
    animation: 160ms cubic-bezier(0, 0, 0.2, 1) 40ms both fade-in;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root),
    ::view-transition-new(root) { animation: none; }
}

/* ===== Flatpickr Custom Theme ===== */
.flatpickr-calendar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg, 12px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    font-family: 'Inter', sans-serif;
    padding: 0;
    overflow: hidden;
}
.flatpickr-calendar.arrowTop::before,
.flatpickr-calendar.arrowTop::after,
.flatpickr-calendar.arrowBottom::before,
.flatpickr-calendar.arrowBottom::after { display: none; }
.flatpickr-months {
    background: var(--gradient-primary);
    padding: 8px 4px;
    border-radius: 0;
}
.flatpickr-months .flatpickr-month { height: 36px; }
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    color: #fff;
    fill: #fff;
    padding: 6px 10px;
    top: 6px;
}
.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg { fill: rgba(255,255,255,.7); }
.flatpickr-current-month {
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
    padding-top: 4px;
}
.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: transparent;
    color: #fff;
    font-weight: 600;
    border: none;
}
.flatpickr-current-month .flatpickr-monthDropdown-months option { color: var(--text-primary); background: var(--bg-card); }
.flatpickr-current-month input.cur-year {
    color: #fff;
    font-weight: 600;
}
span.flatpickr-weekday {
    color: var(--text-muted);
    font-weight: 600;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.flatpickr-calendar { min-width: 310px; }
.flatpickr-days { padding: 4px 8px 8px; }
.dayContainer { min-width: 290px; max-width: 290px; }
.flatpickr-day {
    color: var(--text-primary);
    border-radius: 8px;
    font-weight: 500;
    font-size: .85rem;
    line-height: 38px;
    height: 38px;
    max-width: 38px;
    margin: 1px;
    border: none;
    transition: all .15s;
}
.flatpickr-day:hover {
    background: var(--accent-soft);
    color: var(--accent);
    border: none;
}
.flatpickr-day.today {
    border: 2px solid var(--accent-light);
    background: transparent;
    color: var(--accent);
}
.flatpickr-day.today:hover { background: var(--accent-soft); }
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: var(--accent);
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px var(--accent-glow);
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    color: var(--text-muted);
    opacity: .4;
}
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover { background: var(--bg-elevated); }
.flatpickr-input {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239295a6' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5M1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    padding-right: 32px !important;
}
.flatpickr-input[readonly] { background-color: var(--bg-input, #f5f6fa); }

/* ===== Admin Tabs ===== */
.s-admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border-color, #e0e0e0);
}
.s-admin-tabs.nav-tabs { border-bottom: 2px solid var(--border-color, #e0e0e0); }
.s-admin-tabs .nav-item { margin: 0; flex: 1 1 auto; text-align: center; }
.s-admin-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 8px !important;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted, #888);
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    margin-bottom: -2px;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.s-admin-tabs .nav-link svg { opacity: 0.45; transition: opacity 0.2s; }
.s-admin-tabs .nav-link:hover svg { opacity: 0.8; }
.s-admin-tabs .nav-link.active svg { opacity: 1; stroke: var(--accent); }
.s-admin-tabs .nav-link:hover {
    color: var(--text-primary, #333);
    border-bottom-color: var(--accent-light, #c4b5fd) !important;
    background: transparent !important;
}
.s-admin-tabs .nav-link.active {
    color: var(--accent) !important;
    font-weight: 600;
    background: transparent !important;
    border-bottom: 2px solid var(--accent) !important;
    box-shadow: none;
}

/* ===== Nav Icon Links ===== */
.s-nav-icon-link { display: inline-flex; align-items: center; gap: 5px; }
.s-nav-icon-link svg { opacity: 0.5; transition: opacity 0.2s; }
.s-nav-icon-link:hover svg { opacity: 1; }

/* ===== Action Buttons ===== */
.s-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary, #555);
    background: var(--bg-elevated, #f5f6fa);
    border: 1px solid var(--border-color, #e0e0e0);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
}
.s-action-btn:hover {
    color: var(--accent);
    border-color: var(--accent-light);
    background: var(--accent-soft, #f0ebff);
    box-shadow: 0 2px 8px rgba(108, 92, 231, 0.1);
}
.s-action-btn svg { opacity: 0.6; transition: opacity 0.2s; }
.s-action-btn:hover svg { opacity: 1; stroke: var(--accent); }
.s-action-btn.s-action-primary {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
}
.s-action-btn.s-action-primary:hover {
    background: var(--accent-dark, #5a3fd4);
    border-color: var(--accent-dark, #5a3fd4);
    box-shadow: 0 2px 12px var(--accent-glow, rgba(108, 92, 231, 0.3));
}
.s-action-btn.s-action-primary svg { opacity: 0.9; stroke: #fff; }
.s-action-btn.s-action-primary:hover svg { opacity: 1; stroke: #fff; }

.s-action-btn.s-action-danger-filled {
    color: #fff;
    background: var(--danger);
    border-color: var(--danger);
}
.s-action-btn.s-action-danger-filled:hover {
    background: #b91c1c;
    border-color: #b91c1c;
    color: #fff;
    box-shadow: 0 2px 12px rgba(220, 38, 38, 0.25);
}
.s-action-btn.s-action-danger-filled svg { opacity: 0.9; stroke: #fff; }
.s-action-btn.s-action-danger-filled:hover svg { opacity: 1; stroke: #fff; }

/* ===== Back Button ===== */
.s-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary, #555);
    background: var(--bg-elevated, #f5f6fa);
    border: 1px solid var(--border-color, #e0e0e0);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.s-back-btn:hover {
    color: var(--accent);
    border-color: var(--accent-light);
    background: var(--accent-soft, #f0ebff);
    box-shadow: 0 2px 8px rgba(108, 92, 231, 0.1);
}
.s-back-btn svg {
    opacity: 0.5;
    transition: opacity 0.2s;
}
.s-back-btn:hover svg {
    opacity: 1;
    stroke: var(--accent);
}

/* ===== City Page — Intro ===== */
.s-city-intro {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 640px;
    line-height: 1.7;
    margin-top: 0.5rem;
}

/* ===== City Page — Filter Bar ===== */
.s-city-filters {
    padding: 0.75rem 0;
}

.s-city-filter-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 0;
    box-shadow: var(--shadow-sm);
}

.s-filter-row-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
}

.s-filter-divider {
    height: 1px;
    background: var(--border-color);
}

.s-filter-row-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    background: var(--bg-secondary);
}

.s-filter-group-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.s-filter-sep {
    width: 1px;
    height: 20px;
    background: var(--border-color);
    flex-shrink: 0;
}

.s-filter-kinds {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
    min-width: 0;
}
.s-filter-kinds::-webkit-scrollbar { display: none; }

.s-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    border: 1.5px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition);
    flex-shrink: 0;
}
.s-filter-pill svg { flex-shrink: 0; }
.s-filter-pill:hover {
    border-color: var(--accent-light);
    color: var(--accent);
    background: var(--accent-soft);
}
.s-filter-pill.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 8px var(--accent-glow);
}

.s-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
    padding: 0.3rem 0.75rem 0.3rem 0.5rem;
    border-radius: var(--radius-pill);
    transition: background var(--transition);
}
.s-filter-toggle:hover { background: var(--accent-soft); }
.s-filter-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }

.s-toggle-track {
    position: relative;
    width: 38px;
    height: 22px;
    background: var(--bg-elevated);
    border: 1.5px solid var(--border-color);
    border-radius: 22px;
    transition: all var(--transition);
    flex-shrink: 0;
}
.s-toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.s-filter-toggle input:checked + .s-toggle-track {
    background: var(--success);
    border-color: var(--success);
}
.s-filter-toggle input:checked + .s-toggle-track .s-toggle-thumb {
    left: 18px;
    background: #fff;
}
.s-toggle-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color var(--transition);
}
.s-filter-toggle input:checked ~ .s-toggle-label { color: var(--success); }

.s-filter-select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.s-filter-select-icon {
    position: absolute;
    left: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    z-index: 1;
    opacity: 0.7;
}

.s-filter-select {
    appearance: none;
    -webkit-appearance: none;
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-pill);
    padding: 0.45rem 2.2rem 0.45rem 2rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239295a6' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.65rem center;
    background-size: 12px;
    outline: none;
}
.s-filter-select:hover {
    border-color: var(--accent-light);
    background-color: var(--accent-soft);
}
.s-filter-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.s-filter-view-toggle {
    display: inline-flex;
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-pill);
    overflow: hidden;
    flex-shrink: 0;
}
.s-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}
.s-view-btn span { display: none; }
.s-view-btn:hover { color: var(--text-primary); background: var(--bg-elevated); }
.s-view-btn.active {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 2px 8px var(--accent-glow);
}
.s-view-btn.active span { display: inline; }
.s-view-btn + .s-view-btn { border-left: 1px solid var(--border-color); }

/* Custom single-select dropdown */
.s-filter-dropdown {
    position: relative;
}
.s-filter-dropdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.7rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-pill);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}
.s-filter-dropdown-btn:hover {
    border-color: var(--accent-light);
    background: var(--accent-soft);
}
.s-filter-dropdown-btn.has-selection {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}
.s-filter-dropdown-chevron {
    transition: transform 0.2s ease;
    opacity: 0.5;
    flex-shrink: 0;
}
.s-filter-dropdown.open .s-filter-dropdown-chevron {
    transform: rotate(180deg);
}
.s-filter-dropdown-menu {
    display: none;
    position: fixed;
    min-width: 200px;
    max-height: 340px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 6px;
    z-index: 9999;
}
.s-filter-dropdown.open .s-filter-dropdown-menu { display: block; }
.s-filter-dropdown-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.15s ease;
    white-space: nowrap;
}
.s-filter-dropdown-option::before {
    content: '';
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--border-light);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.15s ease;
}
.s-filter-dropdown-option:hover {
    background: var(--accent-soft);
    color: var(--text-primary);
}
.s-filter-dropdown-option.active {
    color: var(--accent);
    font-weight: 600;
    background: var(--accent-soft);
}
.s-filter-dropdown-option.active::before {
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: inset 0 0 0 2.5px #fff;
}

/* Multi-select filter dropdown */
.s-filter-multi {
    position: relative;
}
.s-filter-multi-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.7rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-pill);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}
.s-filter-multi-btn:hover {
    border-color: var(--accent-light);
    background: var(--accent-soft);
}
.s-filter-multi-btn.has-selection {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}
.s-filter-multi-chevron {
    transition: transform 0.2s ease;
    opacity: 0.5;
    flex-shrink: 0;
}
.s-filter-multi.open .s-filter-multi-chevron {
    transform: rotate(180deg);
}
.s-filter-multi-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
}
.s-filter-multi-menu {
    display: none;
    position: fixed;
    min-width: 200px;
    max-height: 300px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 6px;
    z-index: 9999;
}
.s-filter-multi.open .s-filter-multi-menu { display: block; }

.s-filter-multi-option {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-secondary);
    user-select: none;
}
.s-filter-multi-option:hover { background: var(--accent-soft); color: var(--text-primary); }
.s-filter-multi-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1.5px solid var(--border-light);
    background: var(--bg-card);
    cursor: pointer;
    accent-color: var(--accent);
    flex-shrink: 0;
}
.s-filter-multi-option input[type="checkbox"]:checked + span {
    color: var(--accent);
    font-weight: 600;
}

.s-filter-clear {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(220, 38, 38, 0.06);
    color: var(--danger);
    border: 1.5px solid rgba(220, 38, 38, 0.15);
    cursor: pointer;
    transition: all var(--transition);
    flex-shrink: 0;
}
.s-filter-clear:hover {
    background: rgba(220, 38, 38, 0.12);
    border-color: rgba(220, 38, 38, 0.3);
}

/* ===== City Page — Map+List Split View ===== */
.s-city-map-view { width: 100%; }

.s-map-split {
    display: flex;
    height: calc(100vh - 220px);
    min-height: 500px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.s-map-list {
    width: 400px;
    min-width: 320px;
    max-width: 420px;
    overflow-y: auto;
    border-right: 1px solid var(--border-color);
    background: var(--bg-card);
    flex-shrink: 0;
}

.s-map-list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition);
    cursor: pointer;
}
.s-map-list-item:last-child { border-bottom: none; }
.s-map-list-item:hover { background: var(--bg-elevated); }
.s-map-list-item.s-map-list-active {
    background: var(--accent-soft);
    border-left: 3px solid var(--accent);
}

.s-map-list-link {
    display: flex;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    flex: 1;
    min-width: 0;
}
.s-map-list-link:hover { color: var(--text-primary); }

.s-map-list-img {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}
.s-map-list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s-map-list-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.s-map-list-name { font-weight: 700; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-map-list-addr { font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-map-list-meta { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.25rem; flex-wrap: wrap; }
.s-map-list-price { font-size: 0.78rem; font-weight: 700; color: var(--accent); }

.s-map-list-go {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: all var(--transition);
}
.s-map-list-go:hover {
    background: var(--accent-soft);
    color: var(--accent);
}

.s-map-panel { flex: 1; min-width: 0; position: relative; }
.s-city-map-container { width: 100%; height: 100%; }

.s-badge-sm { font-size: 0.65rem; padding: 0.2rem 0.55rem; }

/* ===== City page responsive ===== */
@media (max-width: 991px) {
    .s-map-split {
        flex-direction: column;
        height: auto;
        min-height: 0;
    }
    .s-map-list {
        width: 100%;
        max-width: none;
        min-width: 0;
        max-height: 300px;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        order: 2;
    }
    .s-map-panel {
        height: 400px;
        order: 1;
    }
}

@media (max-width: 768px) {
    .s-filter-row-top { padding: 0.6rem 0.75rem; }
    .s-filter-row-bottom { padding: 0.5rem 0.75rem; flex-wrap: wrap; }
    .s-filter-group-left { gap: 0.5rem; }
    .s-filter-sep { display: none; }
    .s-filter-view-toggle { width: 100%; justify-content: center; margin-top: 0.25rem; }
    .s-view-btn { flex: 1; justify-content: center; }
    .s-view-btn span { display: inline; }
    .s-city-intro { font-size: 0.82rem; }
    .s-map-panel { height: 300px; }
}

/* ===== Events Carousel & Cards ===== */
.s-events-carousel-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}
.s-events-carousel {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.5rem 0;
    scroll-behavior: smooth;
    max-width: 100%;
}
.s-events-carousel::-webkit-scrollbar { display: none; }

.s-carousel-arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.s-carousel-arrow:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

.s-event-carousel-card,
.s-event-grid-card {
    display: flex;
    flex-direction: column;
    min-width: 280px;
    max-width: 300px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
    scroll-snap-align: start;
    flex-shrink: 0;
}
.s-event-carousel-card:hover,
.s-event-grid-card:hover {
    border-color: var(--accent-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.s-event-card-img {
    position: relative;
    width: 100%;
    height: 170px;
    overflow: hidden;
    background: var(--bg-elevated);
}
.s-event-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.s-event-carousel-card:hover .s-event-card-img img,
.s-event-grid-card:hover .s-event-card-img img {
    transform: scale(1.05);
}
.s-event-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    opacity: 0.4;
}
.s-event-card-date {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-radius: 10px;
    padding: 0.35rem 0.65rem;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.s-event-date-day {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent);
}
.s-event-date-month {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.s-event-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.s-event-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.s-event-card-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.s-event-card-bar,
.s-event-card-time {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.s-event-card-bar svg,
.s-event-card-time svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* Events listing page grid */
.s-events-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}
.s-event-grid-card {
    min-width: unset;
    width: 320px;
    flex-shrink: 0;
    max-width: unset;
}

/* Events empty state */
.s-events-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    min-height: 40vh;
}
.s-events-empty-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-soft), rgba(124, 58, 237, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent);
    animation: s-empty-float 3s ease-in-out infinite;
}
@@keyframes s-empty-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.s-events-empty-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}
.s-events-empty-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    max-width: 360px;
}

/* ===== City Filter Pills ===== */
.s-city-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}
.s-city-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}
.s-city-pill:hover {
    border-color: var(--accent-light);
    color: var(--accent);
    background: var(--accent-soft);
}
.s-city-pill.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.s-city-pill.active .s-city-pill-count {
    background: rgba(255,255,255,0.25);
    color: #fff;
}
.s-city-pill svg { opacity: 0.45; flex-shrink: 0; }
.s-city-pill.active svg { opacity: 0.9; }
.s-city-pill-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    height: 1.4rem;
    padding: 0 0.35rem;
    border-radius: 99px;
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
}

/* ===== Promotion Price ===== */
.s-promo-price {
    display: inline-block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.25rem;
}
.s-promo-price-inline {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 1px 8px;
    border-radius: var(--radius-pill);
}

/* ===== Promotions Badge ===== */
.s-promo-card-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #ff6b35, #f7c948);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.65rem;
    border-radius: 8px;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.35);
    text-transform: uppercase;
}
.s-promo-card-badge svg { stroke: #fff; }

.s-promo-carousel-card .s-event-card-img::after,
.s-promo-grid-card .s-event-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px 14px 0 0;
    background: linear-gradient(135deg, rgba(255,107,53,0.08), rgba(247,201,72,0.08));
    pointer-events: none;
}

@media (max-width: 768px) {
    .s-carousel-arrow { display: none; }
    .s-events-carousel { padding: 0.5rem 0.25rem; }
    .s-event-carousel-card { min-width: 260px; }
    .s-events-grid { justify-content: center; }
    .s-event-grid-card { width: 100%; }
}

/* ===== Shop ===== */
.s-shop-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.s-shop-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}
.s-shop-tab:hover {
    border-color: var(--accent-light);
    color: var(--accent);
    background: var(--accent-soft);
}
.s-shop-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.s-shop-tab.active .s-shop-tab-count {
    background: rgba(255,255,255,0.25);
    color: #fff;
}
.s-shop-tab svg { opacity: 0.5; flex-shrink: 0; }
.s-shop-tab.active svg { opacity: 0.9; }
.s-shop-tab-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    opacity: 0.4;
    flex-shrink: 0;
}
.s-shop-tab.active .s-shop-tab-icon {
    opacity: 1;
    filter: brightness(0) invert(1);
}
.s-shop-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    height: 1.4rem;
    padding: 0 0.35rem;
    border-radius: 99px;
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
}

.s-shop-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.s-shop-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem 5rem;
}
.s-shop-empty-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-soft), rgba(124, 58, 237, 0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent);
    animation: s-empty-float 3s ease-in-out infinite;
}
.s-shop-empty-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.4rem;
}
.s-shop-empty-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0 0 0.5rem;
    max-width: 340px;
    line-height: 1.5;
}

.s-shop-card {
    width: 280px;
    flex-shrink: 0;
    background: var(--bg-card);
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.s-shop-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.s-shop-card-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-secondary);
}
.s-shop-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.s-shop-condition-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.s-badge-new { background: #10b981; color: #fff; }
.s-badge-used { background: #f59e0b; color: #fff; }
.s-shop-detail-info .s-shop-condition-badge {
    position: static;
}
.s-shop-card-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.s-shop-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.s-shop-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0 0 0.5rem;
}
.s-shop-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: auto;
}

/* Shop detail */
.s-shop-gallery-main {
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
    background: var(--bg-secondary);
    aspect-ratio: 4/3;
    position: relative;
}
.s-shop-gallery-main img { width: 100%; height: 100%; object-fit: contain; }

.s-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.85);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.2s;
    z-index: 2;
    backdrop-filter: blur(4px);
}
.s-gallery-arrow:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transform: translateY(-50%) scale(1.08);
}
.s-gallery-arrow-left { left: 10px; }
.s-gallery-arrow-right { right: 10px; }

.s-gallery-counter {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    z-index: 2;
    backdrop-filter: blur(4px);
}
.s-shop-gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}
.s-shop-thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    background: var(--bg-secondary);
    transition: border-color 0.2s;
}
.s-shop-thumb img { width: 100%; height: 100%; object-fit: cover; }
.s-shop-thumb.active, .s-shop-thumb:hover { border-color: var(--accent); }

.s-shop-detail-info {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg, 16px);
    padding: 1.5rem;
}
.s-shop-detail-title { font-size: 1.5rem; font-weight: 700; margin: 0 0 0.5rem; }
.s-shop-detail-price { font-size: 1.75rem; font-weight: 800; color: var(--accent); margin: 0 0 1rem; }
.s-shop-detail-desc { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 1rem; line-height: 1.6; }
.s-shop-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.s-shop-detail-meta span { display: inline-flex; align-items: center; gap: 4px; }
.s-shop-category-badge {
    padding: 3px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--accent-soft);
    color: var(--accent);
}

.s-shop-contact { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.s-shop-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--bg-secondary);
    color: var(--text-primary);
    text-decoration: none;
    border: 1px solid var(--border-color);
    transition: all 0.2s;
}
.s-shop-contact-btn:hover { border-color: var(--accent); color: var(--accent); }
.s-shop-contact-btn.s-shop-wa { background: #25D366; color: #fff; border-color: #25D366; }
.s-shop-contact-btn.s-shop-wa:hover { background: #128C7E; border-color: #128C7E; color: #fff; }

.s-shop-login-prompt {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md, 12px);
    background: var(--bg-secondary);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.s-shop-login-prompt a { color: var(--accent); font-weight: 600; }

/* Radio cards for category/condition */
.s-radio-card {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.75rem;
    border: 1.5px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}
.s-radio-card input { display: none; }
.s-radio-card:hover { border-color: var(--accent-light); background: var(--accent-soft); }
.s-radio-card:has(input:checked) {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.s-radio-card span { display: inline-flex; align-items: center; gap: 0.3rem; }
.s-radio-card-icon { width: 14px; height: 14px; object-fit: contain; opacity: 0.5; flex-shrink: 0; }
.s-radio-card:has(input:checked) .s-radio-card-icon { opacity: 1; filter: brightness(0) invert(1); }

/* Checkbox cards for delivery method */
.s-checkbox-card {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
    background: var(--bg-primary);
}
.s-checkbox-card input { display: none; }
.s-checkbox-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    transition: all 0.2s;
}
.s-checkbox-card:has(input:checked) {
    background: rgba(124, 58, 237, 0.06);
    border-color: var(--accent);
}
.s-checkbox-card:has(input:checked) .s-checkbox-card-icon {
    background: var(--accent);
    color: #fff;
}
.s-checkbox-card:hover { border-color: var(--accent); }

/* ===== Shop form layout ===== */
.s-form-section {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.15rem;
    margin-bottom: 0.75rem;
}
.s-form-section-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.6rem;
}
.s-form-section-title svg { color: var(--accent); flex-shrink: 0; width: 15px; height: 15px; }

.s-form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.s-form-required { color: var(--accent); }
.s-form-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

.s-form-input {
    display: block;
    width: 100%;
    padding: 0.42rem 0.7rem;
    font-size: 0.85rem;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.s-form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08);
}
.s-form-input::placeholder { color: var(--text-muted); }

textarea.s-form-input { resize: vertical; min-height: 68px; }

.s-form-select {
    display: block;
    width: 100%;
    padding: 0.42rem 2.2rem 0.42rem 0.7rem;
    font-size: 0.85rem;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
    color: var(--text-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}
.s-form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08);
}

.s-input-group {
    display: flex;
    align-items: stretch;
}
.s-input-group .s-form-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    flex: 1;
}
.s-input-suffix {
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-color);
    border-left: none;
    border-radius: 0 8px 8px 0;
}

/* Custom form select (dropdown for forms) */
.s-form-dropdown {
    position: relative;
}
.s-form-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.42rem 0.7rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    background: var(--bg-primary);
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    text-align: left;
}
.s-form-dropdown-btn:hover { border-color: var(--accent-light); }
.s-form-dropdown-btn:focus,
.s-form-dropdown.open .s-form-dropdown-btn {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08);
}
.s-form-dropdown-btn .s-fdd-placeholder { color: var(--text-muted); }
.s-form-dropdown-chevron {
    flex-shrink: 0;
    opacity: 0.45;
    transition: transform 0.2s ease;
}
.s-form-dropdown.open .s-form-dropdown-chevron { transform: rotate(180deg); }
.s-form-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 260px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 4px;
    z-index: 1000;
}
.s-form-dropdown.open .s-form-dropdown-menu { display: block; }
.s-form-dropdown-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.15s ease;
}
.s-form-dropdown-option:hover {
    background: var(--accent-soft);
    color: var(--accent);
}
.s-form-dropdown-option.selected {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
}

.s-form-actions {
    display: flex;
    gap: 0.75rem;
    padding-top: 0.5rem;
    margin-bottom: 1rem;
}
.s-action-lg {
    padding: 0.4rem 1rem !important;
    font-size: 0.84rem !important;
}

/* Custom toggle switch */
.s-status-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.s-status-toggle-info { display: flex; flex-direction: column; gap: 0.15rem; }
.s-status-toggle-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.s-status-toggle-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.s-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
}
.s-switch input { display: none; }
.s-switch-slider {
    position: absolute;
    inset: 0;
    background: var(--border-color);
    border-radius: 24px;
    transition: background 0.25s, box-shadow 0.25s;
}
.s-switch-slider::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.25s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.s-switch input:checked + .s-switch-slider {
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}
.s-switch input:checked + .s-switch-slider::before {
    transform: translateX(20px);
}

.s-form-danger-zone {
    border-color: rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.025);
    padding: 0.75rem 1rem;
}

/* Prev/Next listing navigation */
.s-shop-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    gap: 1rem;
}
.s-shop-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-primary);
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
}
.s-shop-nav-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(124, 58, 237, 0.04);
}

/* Delivery method badges on cards/detail */
.s-shop-delivery-badges { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.35rem; }
.s-shop-delivery-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 6px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

/* Admin ban button */
.s-action-danger {
    background: #ef4444;
    color: #fff;
    border-color: #ef4444;
}
.s-action-danger:hover { background: #dc2626; border-color: #dc2626; color: #fff; }

.s-action-activate {
    color: #16a34a;
    border-color: #bbf7d0;
    background: #f0fdf4;
}
.s-action-activate:hover { color: #15803d; border-color: #16a34a; background: #dcfce7; }

.s-action-deactivate {
    color: #d97706;
    border-color: #fde68a;
    background: #fffbeb;
}
.s-action-deactivate:hover { color: #b45309; border-color: #d97706; background: #fef3c7; }

@media (max-width: 768px) {
    .s-shop-card { width: 100%; }
    .s-shop-detail-title { font-size: 1.25rem; }
    .s-shop-detail-price { font-size: 1.4rem; }
    .s-form-section { padding: 0.75rem; }
    .s-form-actions { flex-direction: column; }
    .s-form-actions .s-action-btn { width: 100%; justify-content: center; }
}

/* ===== Profile Page ===== */
.s-profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg, 16px);
    margin-bottom: 1.5rem;
}
.s-profile-avatar-wrap { flex-shrink: 0; }
.s-profile-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-soft);
}
.s-profile-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-light, #a78bfa));
    text-transform: uppercase;
}
.s-profile-header-info { flex: 1; min-width: 0; }
.s-profile-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-primary);
}
.s-profile-meta {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0.25rem 0 0.75rem;
}
.s-profile-stats {
    display: flex;
    gap: 1.5rem;
}
.s-profile-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.s-profile-stat-num {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.s-profile-stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.15rem;
}

.s-profile-tabs {
    display: flex;
    gap: 0.25rem;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 1.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.s-profile-tabs::-webkit-scrollbar { display: none; }
.s-profile-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}
.s-profile-tab:hover { color: var(--text-primary); }
.s-profile-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}
.s-profile-tab-count {
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 100px;
    line-height: 1.4;
}
.s-profile-tab.active .s-profile-tab-count {
    background: var(--accent);
    color: #fff;
}

.s-profile-panel { animation: s-fadeIn 0.3s ease; }
@keyframes s-fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.s-profile-avatar-edit {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.s-profile-avatar-preview img,
.s-profile-avatar-placeholder-lg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-color);
}
.s-profile-avatar-placeholder-lg {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-light, #a78bfa));
    text-transform: uppercase;
}
.s-profile-avatar-actions { display: flex; flex-direction: column; gap: 0.5rem; }

.s-profile-google-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md, 12px);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Profile - Favorites */
.s-profile-grid { display: flex; flex-direction: column; gap: 0.5rem; }
.s-profile-fav-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md, 12px);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}
.s-profile-fav-card:hover {
    border-color: var(--accent-light);
    background: var(--accent-soft);
    transform: translateX(4px);
}
.s-profile-fav-info { flex: 1; min-width: 0; }
.s-profile-fav-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    color: var(--text-primary);
}
.s-profile-fav-info p {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}
.s-profile-fav-arrow { color: var(--text-muted); flex-shrink: 0; }

/* Profile - Reviews */
.s-profile-review-list { display: flex; flex-direction: column; gap: 0.75rem; }
.s-profile-review-card {
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md, 12px);
}
.s-profile-review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.s-profile-review-bar {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--accent);
    text-decoration: none;
}
.s-profile-review-bar:hover { text-decoration: underline; }
.s-profile-review-date { font-size: 0.78rem; color: var(--text-muted); }
.s-profile-review-stars { display: flex; gap: 2px; margin-bottom: 0.5rem; }
.s-profile-review-comment {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}
.s-profile-review-reply {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: var(--accent-soft);
    border-radius: var(--radius-sm, 8px);
    border-left: 3px solid var(--accent);
}
.s-profile-review-reply-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.s-profile-review-reply p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0.25rem 0 0;
    line-height: 1.5;
}

/* Profile - Empty state */
.s-profile-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3.5rem 2rem;
}
.s-profile-empty-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-soft), rgba(124, 58, 237, 0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--accent);
    animation: s-empty-float 3s ease-in-out infinite;
}
.s-profile-empty-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.35rem;
}
.s-profile-empty-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
    max-width: 320px;
    line-height: 1.5;
}

/* Profile - Toast banners */
.s-toast-banner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md, 12px);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    animation: s-fadeIn 0.3s ease;
}
.s-toast-success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.s-toast-error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

@media (max-width: 600px) {
    .s-profile-header { flex-direction: column; text-align: center; padding: 1.5rem 1rem; }
    .s-profile-stats { justify-content: center; }
    .s-profile-name { font-size: 1.25rem; }
    .s-profile-meta { justify-content: center; }
    .s-profile-tab { padding: 0.55rem 0.7rem; font-size: 0.75rem; }
}

/* ===== Password Toggle ===== */
.s-password-wrap {
    position: relative;
}
.s-password-wrap .s-form-input { padding-right: 2.75rem; }
.s-password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}
.s-password-toggle:hover { color: var(--accent); }

/* ===== Bottom Tab Bar (mobile) ===== */
.s-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: var(--glass);
    -webkit-backdrop-filter: var(--glass);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.35rem 0;
    padding-bottom: calc(0.35rem + env(safe-area-inset-bottom, 0px));
}

.s-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.6rem;
    font-weight: 500;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius);
    transition: color 0.25s ease, transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

.s-bottom-nav-item svg {
    flex-shrink: 0;
    transition: transform 0.25s ease, stroke-width 0.25s ease;
}

/* Active state: accent color, filled icon feel, scale up */
.s-bottom-nav-item.active {
    color: var(--accent);
}

.s-bottom-nav-item.active svg {
    transform: scale(1.15);
    stroke-width: 2.4;
    filter: drop-shadow(0 1px 3px rgba(124, 58, 237, 0.25));
}

/* Hide label on all items, show dot instead */
.s-bottom-nav-item span {
    font-size: 0;
    opacity: 0;
    height: 0;
}

/* Muted dot for inactive items */
.s-bottom-nav-item:not(.active)::after {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-muted);
    opacity: 0.35;
    margin-top: 0.15rem;
}

/* Purple line indicator above active item */
.s-bottom-nav-item.active::before {
    content: '';
    position: absolute;
    top: -0.35rem;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    border-radius: 0 0 3px 3px;
}

/* Purple dot below active label */
.s-bottom-nav-item.active::after {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    margin-top: 0.1rem;
}

/* Tap bounce */
.s-bottom-nav-item:active svg {
    transform: scale(0.9);
}

@media (max-width: 991.98px) {
    body { padding-bottom: 64px; }
    .s-footer { margin-bottom: 64px; }
    .s-bar-sheet { bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}

/* ===== City List View (mobile) ===== */
.s-city-list-view .s-map-list {
    width: 100%;
    max-width: 100%;
    border-right: none;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ===== PWA Install Button ===== */
.s-pwa-install-btn {
    gap: 0.4rem;
    border-color: var(--accent);
    color: var(--accent);
}
.s-pwa-install-btn:hover {
    background: var(--accent);
    color: #fff;
}

/* ===== PWA Install Bottom Sheet ===== */
.s-pwa-sheet {
    position: fixed;
    bottom: 64px;
    left: 0;
    right: 0;
    z-index: 1029;
    padding: 0.75rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    transform: translateY(calc(100% + 64px));
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}
.s-pwa-sheet-visible {
    transform: translateY(0);
    pointer-events: auto;
}
.s-pwa-sheet-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: var(--glass);
    -webkit-backdrop-filter: var(--glass);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg, 1rem);
    padding: 0.875rem 1rem;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
}
.s-pwa-sheet-icon {
    border-radius: 12px;
    flex-shrink: 0;
}
.s-pwa-sheet-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
    min-width: 0;
}
.s-pwa-sheet-title {
    font-size: 0.9rem;
    color: var(--heading);
}
.s-pwa-sheet-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.3;
}
.s-pwa-sheet-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}
.s-pwa-sheet-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.7rem;
    cursor: pointer;
    padding: 0;
}

/* ===== Skeleton / Page Transition ===== */
main.s-page-ready { opacity: 1 !important; }

/* ========================================================
   Dark Theme
   Aktivira se preko [data-theme="dark"] na <html>.
   Većina sajta koristi promenljive iz :root, pa je dovoljno
   njih preklopiti; ispod su još i pojedinačni override-i za
   mesta gde su boje bile hardkodovane.
   ======================================================== */

:root { color-scheme: light; }

:root[data-theme="dark"] {
    color-scheme: dark;

    --bg-primary: #0f0f17;
    --bg-secondary: #14141f;
    --bg-card: #1a1a27;
    --bg-card-hover: #21212f;
    --bg-elevated: #242433;
    --bg-input: #1e1e2c;

    --accent: #a78bfa;
    --accent-hover: #c4b5fd;
    --accent-light: #c4b5fd;
    --accent-warm: #fbbf24;
    --accent-soft: rgba(167, 139, 250, 0.14);
    --accent-glow: rgba(167, 139, 250, 0.3);

    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
    --gradient-warm: linear-gradient(135deg, #8b5cf6 0%, #f59e0b 100%);
    --gradient-hero: linear-gradient(160deg, #16162a 0%, #0f0f17 45%, #1b1233 100%);
    --gradient-card: linear-gradient(135deg, rgba(167, 139, 250, 0.06) 0%, transparent 100%);

    --text-primary: #ecebf5;
    --text-secondary: #b6b4c8;
    --text-muted: #85839c;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.15);

    --success: #34d399;
    --success-light: #6ee7b7;
    --success-bg: rgba(52, 211, 153, 0.13);
    --danger: #f87171;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.55), 0 4px 12px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 40px rgba(167, 139, 250, 0.12);

    /* Navbar (staklo) */
    --navbar-bg: rgba(15, 15, 23, 0.6);
    --navbar-bg-scrolled: rgba(15, 15, 23, 0.88);
    --navbar-border: rgba(255, 255, 255, 0.06);
    --navbar-border-scrolled: rgba(255, 255, 255, 0.1);

    /* Skeleton */
    --skel-bg: #14141f;
    --skel-from: #1c1c2a;
    --skel-to: #26263a;
}

:root {
    --navbar-bg: rgba(255, 255, 255, 0.55);
    --navbar-bg-scrolled: rgba(255, 255, 255, 0.82);
    --navbar-border: rgba(0, 0, 0, 0.04);
    --navbar-border-scrolled: rgba(0, 0, 0, 0.08);
    --skel-bg: #fff;
    --skel-from: #f0f0f0;
    --skel-to: #e8e8e8;
}

/* Navbar koristi promenljive umesto inline JS boja */
.s-navbar {
    background: var(--navbar-bg);
    border-bottom: 1px solid var(--navbar-border);
    transition: background var(--transition), border-color var(--transition);
}
.s-navbar.s-navbar-scrolled {
    background: var(--navbar-bg-scrolled);
    border-bottom-color: var(--navbar-border-scrolled);
}

/* ===== Theme toggle dugme ===== */
.s-theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
    flex-shrink: 0;
}
.s-theme-toggle:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-soft);
}
.s-theme-toggle svg { width: 17px; height: 17px; display: block; }
.s-theme-toggle .s-theme-icon-dark { display: none; }
:root[data-theme="dark"] .s-theme-toggle .s-theme-icon-light { display: none; }
:root[data-theme="dark"] .s-theme-toggle .s-theme-icon-dark { display: block; }

/* ===== Override-i za hardkodovane svetle površine ===== */
:root[data-theme="dark"] .s-form .form-control,
:root[data-theme="dark"] .s-form .form-select,
:root[data-theme="dark"] .s-form .form-control:focus,
:root[data-theme="dark"] .s-form .form-select:focus,
:root[data-theme="dark"] .container .form-select:focus {
    background-color: var(--bg-input);
    color: var(--text-primary);
}

:root[data-theme="dark"] .s-form .form-select,
:root[data-theme="dark"] .s-form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23b6b4c8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

:root[data-theme="dark"] .s-btn-google {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-color: var(--border-light);
}
:root[data-theme="dark"] .s-btn-google:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-light);
    color: var(--text-primary);
}

:root[data-theme="dark"] .s-confirm-box { background: var(--bg-card); }
:root[data-theme="dark"] .s-confirm-icon { background: rgba(248, 113, 113, 0.14); }
:root[data-theme="dark"] .s-confirm-cancel:hover { background: var(--bg-elevated); }

:root[data-theme="dark"] .s-carousel-btn { background: rgba(26, 26, 39, 0.72) !important; color: var(--text-primary); }
:root[data-theme="dark"] .s-carousel-btn:hover { background: rgba(26, 26, 39, 0.94) !important; }
:root[data-theme="dark"] .s-carousel-dot { background: rgba(255, 255, 255, 0.32); }
:root[data-theme="dark"] .s-carousel-dot:hover { background: rgba(255, 255, 255, 0.6); }

:root[data-theme="dark"] .s-filter-dropdown-menu,
:root[data-theme="dark"] .s-filter-multi-menu,
:root[data-theme="dark"] .s-form-dropdown-menu,
:root[data-theme="dark"] .s-event-card-date,
:root[data-theme="dark"] .s-bottom-nav,
:root[data-theme="dark"] .s-pwa-sheet-card {
    background: rgba(26, 26, 39, 0.94);
    border-color: var(--border-color);
}

:root[data-theme="dark"] .s-gallery-arrow { background: rgba(26, 26, 39, 0.8); color: var(--text-primary); }
:root[data-theme="dark"] .s-gallery-arrow:hover { background: var(--bg-card); }

:root[data-theme="dark"] .s-action-activate { background: rgba(16, 185, 129, 0.1); }
:root[data-theme="dark"] .s-action-activate:hover { background: rgba(16, 185, 129, 0.2); color: #34d399; border-color: #34d399; }
:root[data-theme="dark"] .s-action-deactivate { background: rgba(245, 158, 11, 0.1); }
:root[data-theme="dark"] .s-action-deactivate:hover { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border-color: #fbbf24; }

/* Skeleton overlay (inline stilovi u _Layout-u koriste ove promenljive) */
.s-skeleton-overlay { background: var(--skel-bg); }
.s-skel-bar, .s-skel-tab {
    background: linear-gradient(90deg, var(--skel-from) 25%, var(--skel-to) 50%, var(--skel-from) 75%);
    background-size: 200% 100%;
}
.s-skel-tabs { border-bottom-color: var(--border-color); }

/* Search input u hero sekciji */
.s-search-input {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border-color);
    box-shadow: var(--shadow);
}
.s-search-icon { color: var(--text-muted); }

/* Google Maps InfoWindow ostaje beo (Google ga sam crta) —
   tekst u njemu forsiramo na tamnu boju da ostane čitljiv. */
:root[data-theme="dark"] .gm-style .gm-style-iw-c,
:root[data-theme="dark"] .gm-style .gm-style-iw-d {
    color: #1a1a2e;
}

/* Slike malo utišati u dark modu da ne "gore" */
:root[data-theme="dark"] .s-card img,
:root[data-theme="dark"] .s-bar-image img {
    filter: brightness(0.92);
}

/* ===== FAQ (schema.org FAQPage — vidljiv sadržaj) ===== */
.s-faq { max-width: 820px; }
.s-faq-title {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}
.s-faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.s-faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.s-faq-item[open] { border-color: var(--accent-light); box-shadow: var(--shadow-sm); }
.s-faq-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--text-primary);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.s-faq-item summary::-webkit-details-marker { display: none; }
.s-faq-item summary::after {
    content: '+';
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--accent);
    line-height: 1;
    flex-shrink: 0;
    transition: transform var(--transition);
}
.s-faq-item[open] summary::after { content: '\2212'; }
.s-faq-item p {
    margin: 0.85rem 0 0;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ===== Bar Detail Redesign (s-bd-*) ===== */

/* Hero */
.s-bd-hero {
    position: relative;
    overflow: hidden;
    background: #17141f;
    color: #fff;
    padding: 28px 0 96px;
}
.s-bd-hero-bg {
    position: absolute;
    inset: -40px;
    background-size: cover;
    background-position: center;
    filter: blur(24px) brightness(0.35) saturate(1.2);
    transform: scale(1.1);
}
.s-bd-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(23,20,31,0.2) 0%, rgba(23,20,31,0.55) 60%, rgba(23,20,31,0.9) 100%);
    pointer-events: none;
}
.s-bd-hero-noimg {
    background: radial-gradient(1200px 500px at 15% -10%, rgba(124,58,237,0.35), transparent 60%),
                radial-gradient(900px 400px at 90% 10%, rgba(245,158,11,0.18), transparent 55%),
                #17141f;
}
.s-bd-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    pointer-events: none;
}
.s-bd-hero-glow-1 { width: 420px; height: 420px; background: rgba(124,58,237,0.35); top: -180px; left: -100px; }
.s-bd-hero-glow-2 { width: 340px; height: 340px; background: rgba(245,158,11,0.16); bottom: -160px; right: -60px; }
.s-bd-hero-inner { position: relative; z-index: 2; }

.s-bd-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    font-size: 0.82rem;
}
.s-bd-breadcrumb li a { color: rgba(255,255,255,0.55); }
.s-bd-breadcrumb li a:hover { color: #fff; }
.s-bd-breadcrumb .separator { color: rgba(255,255,255,0.3); }
.s-bd-breadcrumb .current { color: rgba(255,255,255,0.85); }

.s-bd-hero-chips { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.s-bd-kind-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.85);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.s-bd-title {
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0 0 16px;
    color: #fff;
}

.s-bd-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-bottom: 26px;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.75);
}
.s-bd-meta-item { display: inline-flex; align-items: center; gap: 7px; }
.s-bd-meta-item svg { opacity: 0.7; flex-shrink: 0; }
.s-bd-meta-rating { font-weight: 700; color: #fff; }
.s-bd-star { color: #fbbf24; }
.s-bd-meta-dim { color: rgba(255,255,255,0.5); font-weight: 400; }

.s-bd-open-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}
.s-bd-open-pill.is-open { background: rgba(52,211,153,0.15); color: #6ee7b7; border: 1px solid rgba(52,211,153,0.3); }
.s-bd-open-pill.is-closed { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.15); }
.s-bd-open-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.s-bd-open-pill.is-open .s-bd-open-dot { animation: bdPulse 2s ease-in-out infinite; }
@keyframes bdPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(110,231,183,0.5); }
    50% { box-shadow: 0 0 0 5px rgba(110,231,183,0); }
}

.s-bd-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.s-bd-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    text-decoration: none;
    transition: all 0.2s ease;
}
.s-bd-action:hover { background: rgba(255,255,255,0.2); color: #fff; transform: translateY(-1px); }
.s-bd-action-primary { background: var(--gradient-primary); border-color: transparent; box-shadow: 0 8px 24px rgba(124,58,237,0.35); }
.s-bd-action-primary:hover { box-shadow: 0 10px 28px rgba(124,58,237,0.5); }
.s-bd-action-whatsapp { background: #1faa59; border-color: transparent; }
.s-bd-action-whatsapp:hover { background: #22c063; }

/* Srce za omiljene — okrugla ikonica u heroju */
.s-bd-fav {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #fff;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.2s ease;
}
.s-bd-fav:hover { background: rgba(255,255,255,0.2); transform: scale(1.08); }
.s-bd-fav.is-fav { color: #fb7185; background: rgba(244,63,94,0.18); border-color: rgba(244,63,94,0.4); }
.s-bd-fav.is-fav:hover { background: rgba(244,63,94,0.28); }
.s-fav-pop { animation: favPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes favPop {
    0% { transform: scale(0.8); }
    55% { transform: scale(1.25); }
    100% { transform: scale(1); }
}
@media (max-width: 575px) {
    .s-bd-hero-actions .s-bd-fav { flex: 0 0 auto; }
}

/* Quick facts strip — preklapa dno heroja */
.s-bd-body { position: relative; z-index: 3; }
.s-bd-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: -58px;
    margin-bottom: 34px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.s-bd-fact {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 20px 22px;
    min-width: 0;
}
/* min-width:0 dozvoljava ellipsis — bez ovoga nowrap vrednosti razvlače grid van viewporta */
.s-bd-fact > div:last-child { min-width: 0; flex: 1; }
.s-bd-fact + .s-bd-fact { border-left: 1px solid var(--border-color); }
.s-bd-fact-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--accent-soft);
    color: var(--accent);
}
.s-bd-fact-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2px;
}
.s-bd-fact-value {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Sekcije */
.s-bd-section { margin-bottom: 40px; }
.s-bd-eyebrow {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
}
.s-bd-h2 {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: 16px;
}
.s-bd-h3 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.s-bd-desc { font-size: 1rem; line-height: 1.75; color: var(--text-secondary); margin: 0; max-width: 68ch; }
.s-bd-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }

.s-bd-gallery { margin-bottom: 36px; }

/* Brendovi */
.s-bd-brands { display: flex; flex-direction: column; gap: 18px; }
.s-bd-chiprow { display: flex; flex-wrap: wrap; gap: 8px; }
.s-bd-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 15px;
    border-radius: var(--radius-pill);
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid transparent;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s ease;
}
.s-bd-chip:hover { border-color: var(--accent); }
.s-bd-chip-alt { background: var(--bg-elevated); color: var(--text-secondary); }
.s-bd-chip-alt:hover { border-color: var(--text-muted); }

/* Cenovnik */
.s-bd-pricelist {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 8px 22px;
    box-shadow: var(--shadow-sm);
}
.s-bd-price-item + .s-bd-price-item { border-top: 1px solid var(--border-color); }
.s-bd-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 15px 0;
}
.s-bd-price-clickable { cursor: pointer; }
.s-bd-price-clickable:hover .s-bd-price-name { color: var(--accent); }
.s-bd-price-name { font-weight: 600; color: var(--text-primary); font-size: 0.95rem; transition: color 0.2s ease; }
.s-bd-price-expand { display: inline-block; color: var(--text-muted); transition: transform 0.2s ease; margin-left: 4px; }
.s-bd-price-clickable[aria-expanded="true"] .s-bd-price-expand { transform: rotate(90deg); }
.s-bd-price-leader {
    flex: 1;
    border-bottom: 2px dotted var(--border-light);
    transform: translateY(-4px);
    min-width: 24px;
}
.s-bd-price-amount { font-weight: 800; color: var(--accent); font-size: 1rem; white-space: nowrap; }
.s-bd-price-amount small { font-weight: 600; font-size: 0.72rem; color: var(--text-muted); }
.s-bd-price-desc {
    margin: 0;
    padding: 0 0 15px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* Promocije / dogadjaji */
.s-bd-offer-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 16px 18px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
}
.s-bd-offer-img { width: 92px; height: 92px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.s-bd-offer-body { flex: 1; min-width: 0; }
.s-bd-offer-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.s-bd-offer-top strong { color: var(--text-primary); }
.s-bd-offer-price { font-weight: 800; color: var(--accent); white-space: nowrap; }
.s-bd-offer-desc { color: var(--text-secondary); font-size: 0.88rem; margin: 0 0 6px; line-height: 1.55; }
.s-bd-offer-date { color: var(--text-muted); font-size: 0.78rem; }

/* Mapa */
.s-bd-map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-color); }
.s-bd-map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}
.s-bd-map-link:hover { text-decoration: underline; color: var(--accent-hover); }

/* Recenzije */
.s-bd-review-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.s-bd-review-summary { display: inline-flex; align-items: center; gap: 10px; }
.s-bd-review-avg { font-size: 1.6rem; font-weight: 800; color: var(--text-primary); line-height: 1; }
.s-bd-review-stars { color: #f59e0b; letter-spacing: 2px; font-size: 0.95rem; white-space: nowrap; }
.s-bd-review-count {
    background: var(--bg-elevated);
    color: var(--text-secondary);
    border-radius: var(--radius-pill);
    padding: 3px 11px;
    font-size: 0.78rem;
    font-weight: 700;
}
/* Composer za recenziju — kompaktan, širi se na fokus */
.s-bd-composer {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 10px 14px;
    margin-bottom: 22px;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.s-bd-composer:focus-within {
    border-color: var(--accent-light);
    box-shadow: 0 0 0 4px var(--accent-soft);
}
.s-bd-composer-main { display: flex; align-items: flex-start; gap: 12px; }
.s-bd-composer-avatar {
    width: 36px;
    height: 36px;
    margin-top: 3px;
}
.s-bd-composer-input {
    flex: 1;
    border: none;
    outline: none;
    resize: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 10px 0;
    min-height: 42px;
    max-height: 220px;
    overflow-y: auto;
}
.s-bd-composer-input::placeholder { color: var(--text-muted); }
.s-bd-composer-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding-left: 48px;
    transition: max-height 0.3s ease, opacity 0.25s ease, margin 0.3s ease;
}
.s-bd-composer:focus-within .s-bd-composer-footer,
.s-bd-composer.is-active .s-bd-composer-footer {
    max-height: 90px;
    opacity: 1;
    margin-top: 4px;
    margin-bottom: 4px;
}
.s-bd-composer-rate { display: flex; align-items: center; gap: 12px; }
.s-bd-composer-send {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border: none;
    border-radius: var(--radius-pill);
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px var(--accent-glow);
    transition: all 0.2s ease;
}
.s-bd-composer-send:hover { transform: translateY(-1px); box-shadow: 0 6px 18px var(--accent-glow); }
@media (max-width: 575px) {
    .s-bd-composer-footer { padding-left: 0; }
}
.s-bd-signin-note { margin-bottom: 22px; }
.s-bd-signin-note a { color: var(--accent); font-weight: 600; }

/* CSS-only zvezdice: red obrnut da :hover/:checked "~" oboji sve levo */
.s-star-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.s-star-input input { position: absolute; opacity: 0; pointer-events: none; }
.s-star-input label {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--border-light);
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
    user-select: none;
}
.s-star-input label:hover { transform: scale(1.15); }
.s-star-input label:hover,
.s-star-input label:hover ~ label,
.s-star-input input:checked ~ label { color: #f59e0b; }

.s-bd-review-list { display: flex; flex-direction: column; gap: 12px; }
.s-bd-review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    box-shadow: var(--shadow-sm);
}
.s-bd-review-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.s-bd-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.s-bd-review-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.s-bd-review-who strong { color: var(--text-primary); font-size: 0.92rem; }
.s-bd-review-who small { color: var(--text-muted); font-size: 0.75rem; }
.s-bd-review-text { color: var(--text-secondary); line-height: 1.6; margin: 0; font-size: 0.93rem; }
.s-bd-owner-reply {
    margin-top: 12px;
    padding: 10px 14px;
    border-left: 3px solid var(--accent-warm);
    background: rgba(245,158,11,0.07);
    border-radius: 0 10px 10px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.s-bd-owner-reply strong { color: var(--text-primary); }

/* Sidebar */
.s-bd-side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px; }
.s-bd-side-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}
.s-bd-side-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
}

/* Kontakt — info redovi + red brand ikonica */
.s-bd-contact-rows { display: flex; flex-direction: column; }
.s-bd-contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 8px;
    margin: 0 -8px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s ease;
}
.s-bd-contact-row:hover { background: var(--accent-soft); }
.s-bd-contact-row:hover .s-bd-contact-val { color: var(--accent); }
.s-bd-contact-ic {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--bg-elevated);
    color: var(--text-secondary);
}
.s-bd-contact-row:hover .s-bd-contact-ic { background: var(--accent-soft); color: var(--accent); }
.s-bd-contact-val {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.88rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.15s ease;
}
.s-bd-social-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}
.s-bd-social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: transform 0.15s ease, filter 0.15s ease;
}
.s-bd-social:hover { transform: translateY(-2px) scale(1.06); filter: brightness(1.1); color: #fff; }
.s-bd-social-wa { background: #25d366; }
.s-bd-social-tg { background: #229ed9; }
.s-bd-social-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.s-bd-social-fb { background: #1877f2; }
.s-bd-social-tt { background: #161823; }
:root[data-theme="dark"] .s-bd-social-tt { background: #2c2e3e; }

/* Radno vreme */
.s-bd-hours { display: flex; flex-direction: column; }
.s-bd-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 0.88rem;
}
.s-bd-hours-row.is-today { background: var(--accent-soft); }
.s-bd-hours-day { color: var(--text-secondary); font-weight: 500; }
.s-bd-hours-row.is-today .s-bd-hours-day,
.s-bd-hours-row.is-today .s-bd-hours-time { color: var(--accent); font-weight: 700; }
.s-bd-hours-time { color: var(--text-primary); font-weight: 600; font-variant-numeric: tabular-nums; }
.s-bd-hours-closed { color: var(--text-muted); font-weight: 500; }

/* Ostali barovi — zasebna traka */
.s-bd-others-band {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-top: 1px solid var(--border-color);
    padding: 52px 0 60px;
    margin-top: 34px;
}
.s-bd-other-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}
.s-bd-other-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-glow); }
.s-bd-other-media {
    position: relative;
    height: 148px;
    background: radial-gradient(320px 180px at 20% 0%, rgba(124,58,237,0.22), transparent 65%),
                linear-gradient(150deg, var(--bg-elevated) 0%, var(--accent-soft) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.s-bd-other-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.s-bd-other-card:hover .s-bd-other-media img { transform: scale(1.05); }
.s-bd-other-ph {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.35;
    user-select: none;
}
.s-bd-other-badge { position: absolute; top: 10px; right: 10px; }
.s-bd-other-body {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 14px 44px 15px 17px;
}
.s-bd-other-name { font-weight: 700; color: var(--text-primary); font-size: 0.98rem; }
.s-bd-other-kind { font-size: 0.72rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.s-bd-other-arrow {
    position: absolute;
    right: 17px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    opacity: 0;
    transition: all 0.25s ease;
}
.s-bd-other-card:hover .s-bd-other-arrow { opacity: 1; color: var(--accent); right: 13px; }

/* Responsive */
@media (max-width: 991px) {
    .s-bd-hero { padding-bottom: 84px; }
    .s-bd-facts { grid-template-columns: 1fr 1fr; }
    .s-bd-fact { padding: 15px 17px; }
    .s-bd-fact + .s-bd-fact { border-left: none; }
    .s-bd-fact:nth-child(even) { border-left: 1px solid var(--border-color); }
    .s-bd-fact:nth-child(n+3) { border-top: 1px solid var(--border-color); }
    /* Neparan poslednji box (npr. 3. od 3) zauzima ceo red — bez prazne ćelije desno */
    .s-bd-fact:last-child:nth-child(odd) { grid-column: 1 / -1; }
    /* Na telefonu vrednosti smeju u više redova — adresa mora cela da se vidi */
    .s-bd-fact-value { white-space: normal; overflow: visible; }
    .s-bd-side { position: static; }
}
@media (max-width: 575px) {
    .s-bd-hero { padding-top: 18px; }
    .s-bd-meta-row { gap: 8px 14px; }
    .s-bd-hero-actions .s-bd-action { flex: 1; justify-content: center; }
    .s-bd-facts { grid-template-columns: 1fr 1fr; margin-top: -52px; }
    .s-bd-fact-value { font-size: 0.82rem; }
    .s-bd-pricelist { padding: 4px 16px; }
}

/* Dark tema — kartice na tamnoj pozadini dobijaju dublju senku */
:root[data-theme="dark"] .s-bd-facts,
:root[data-theme="dark"] .s-bd-side-card,
:root[data-theme="dark"] .s-bd-review-card { box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
:root[data-theme="dark"] .s-bd-hero { background-color: #100d17; }
:root[data-theme="dark"] .s-bd-price-leader { border-bottom-color: rgba(255,255,255,0.12); }

/* ===== Placeholder — znatno svetliji od unetog teksta ===== */
.form-control::placeholder,
textarea.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.5;
}
:root[data-theme="dark"] .form-control::placeholder,
:root[data-theme="dark"] textarea.form-control::placeholder {
    opacity: 0.45;
}
/* ===== Home: pretraga po tipu lokala ===== */
.s-kind-section { padding: 72px 0; }
.s-kind-sub { color: var(--text-muted); margin: -6px 0 30px; }
.s-kind-chips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    max-width: 980px;
    margin: 0 auto;
}
.s-kind-chip {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 26px 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
    overflow: hidden;
}
.s-kind-chip::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 0;
    background: var(--gradient-primary);
    transition: height 0.25s ease;
}
.s-kind-chip:hover {
    transform: translateY(-4px);
    border-color: var(--accent-glow);
    box-shadow: var(--shadow-lg);
}
.s-kind-chip:hover::before { height: 4px; }
.s-kind-ic {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--accent-soft);
    color: var(--accent);
    transition: all 0.25s ease;
}
.s-kind-chip:hover .s-kind-ic {
    background: var(--gradient-primary);
    color: #fff;
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 8px 20px var(--accent-glow);
}
.s-kind-name { font-weight: 700; color: var(--text-primary); font-size: 0.92rem; line-height: 1.25; }
.s-kind-count {
    background: var(--bg-elevated);
    color: var(--text-muted);
    border-radius: var(--radius-pill);
    padding: 2px 11px;
    font-size: 0.74rem;
    font-weight: 700;
    transition: all 0.25s ease;
}
.s-kind-chip:hover .s-kind-count { background: var(--accent-soft); color: var(--accent); }
@media (max-width: 575px) {
    .s-kind-chips { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .s-kind-chip { padding: 20px 10px 16px; }
    .s-kind-ic { width: 50px; height: 50px; }
}
/* ===== Cookie consent banner ===== */
.s-cookie-banner {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: min(680px, calc(100% - 24px));
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 3000;
    font-size: 0.88rem;
}
.s-cookie-text { color: var(--text-primary); flex: 1; }
.s-cookie-text a { color: var(--accent); text-decoration: underline; }
.s-cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.s-cookie-btn {
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    color: var(--text-primary);
}
.s-cookie-accept { background: var(--accent); border-color: var(--accent); color: #fff; }
.s-cookie-accept:hover { filter: brightness(1.1); }
.s-cookie-decline:hover { border-color: var(--border-light); }
@media (max-width: 576px) {
    .s-cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
    .s-cookie-actions { justify-content: center; }
}
