/* Variables */
:root {
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-tertiary: #21262d;
    --bg-card: #1c2128;
    --border-color: #30363d;
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    --accent-primary: #225189;
    --accent-secondary: #238636;
    --star-color: #ffd700;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.2s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

a { color: var(--accent-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: #79c0ff; }
img {  height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }

.header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header .container { display: flex; justify-content: space-between; align-items: center; }

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo:hover { color: var(--text-primary); }
.logo-icon { font-size: 2.5rem; }
.logo-text .accent { color: var(--accent-primary); }

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

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active { color: var(--text-primary); background: var(--bg-tertiary); }

.btn-telegram {
    background: linear-gradient(135deg, #0088cc, #229ed9);
    color: white !important;
    padding: 10px 20px;
}

.btn-telegram:hover { background: linear-gradient(135deg, #006699, #1a8ac0); transform: translateY(-2px); }

.main { padding: 20px 0 25px 0; min-height: calc(100vh - 180px); }

.hero { text-align: center; margin-bottom: 40px; }

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle { color: var(--text-secondary); font-size: 1.1rem; }

.filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.filter-form { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; width: 100%; }
.search-box { display: flex; position: relative; }

.search-input {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 45px 12px 16px;
    color: var(--text-primary);
    font-size: 1rem;
    width: 280px;
    transition: var(--transition);
}

.search-input:focus { outline: none; border-color: var(--accent-primary); box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.2); }
.search-input::placeholder { color: var(--text-muted); }

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
}

.filter-group { display: flex; align-items: center; gap: 10px; }
.filter-group label { color: var(--text-secondary); font-weight: 500; }

.filter-group select {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
}

.filter-group select:focus { outline: none; border-color: var(--accent-primary); }
.results-count { color: var(--text-secondary); font-weight: 500; }

.shops-grid { max-width: 100%; 
    
    
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    box-sizing: border-box;
    width: 100%;
    
}

.shop-card { min-width: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.shop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent-primary); }

.shop-logo { width: 80px; height: 80px; border-radius: var(--radius);  flex-shrink: 0; }
.shop-logo img { width: 100%; height: 100%; object-fit: cover; }

.no-logo {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.shop-info { flex: 1; }
.shop-name { font-size: 1.3rem; font-weight: 600; text-transform: uppercase; margin-bottom: 4px; }
.shop-username { color: var(--text-muted); font-size: 0.9rem; display: block; margin-bottom: 8px; }
.shop-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.stars { color: var(--star-color); font-size: 1rem; }
.rating-value { font-weight: 600; text-transform: uppercase; color: var(--text-primary); }
.reviews-count { color: var(--text-muted); font-size: 0.9rem; }
.shop-desc { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.5; }
.shop-actions { display: flex; gap: 12px; margin-top: auto; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary { background: var(--accent-primary); color: white; }
.btn-primary:hover { background: #79c0ff; color: white; transform: translateY(-2px); }

.btn-secondary { background: var(--bg-tertiary); color: var(--text-primary); border: 1px solid var(--border-color); }
.btn-secondary:hover { background: var(--border-color); color: var(--text-primary); }
.btn-large { padding: 14px 28px; font-size: 1.1rem; }

.back-link { display: inline-block; padding: 12px 24px; background: #21262d; border: none; border-radius: 8px; color: #fff; margin-top: 0; margin-bottom: 20px; font-weight: 600; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.5px; transition: all 0.2s; }
.back-link:hover { background: #225189; color: #fff; }

.shop-profile {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.shop-logo-large { width: 300px; height: 300px; border-radius: var(--radius); overflow: hidden; flex-shrink: 0; }
.shop-logo-large img { width: 100%; height: 100%; object-fit: cover; }

.no-logo-large {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 700;
    color: white;
}

.shop-details h1 { font-size: 2rem; margin-bottom: 8px; }
.rating-large { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.stars-large { color: var(--star-color); font-size: 1.5rem; }
.rating-number { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; }
.total-reviews { color: var(--text-muted); }
.shop-description { color: var(--text-secondary); margin-bottom: 20px; line-height: 1.7; white-space: pre-line; }
.shop-buttons { display: flex; gap: 16px; }

.rating-breakdown {
    margin-bottom: 40px;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.rating-breakdown h2 { font-size: 1.3rem; margin-bottom: 20px; }
.rating-bars { display: flex; flex-direction: column; gap: 10px; }
.rating-row { display: flex; align-items: center; gap: 12px; }
.rating-label { width: 50px; color: var(--text-secondary); font-weight: 500; }

.bar-container { flex: 1; height: 12px; background: var(--bg-tertiary); border-radius: 6px;  }

.bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--star-color));
    border-radius: 6px;
    transition: width 0.5s ease;
}

.rating-count { width: 40px; text-align: right; color: var(--text-muted); font-size: 0.9rem; }

.reviews-section h2 { font-size: 1.3rem; margin-bottom: 20px; }
.reviews-list { display: flex; flex-direction: column; gap: 16px; }

.review-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
}

.review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.reviewer-name { font-weight: 600; text-transform: uppercase; display: block; }
.review-date { color: var(--text-muted); font-size: 0.85rem; }
.review-rating .stars { font-size: 0.9rem; }
.review-text { color: var(--text-secondary); line-height: 1.6; font-family: 'Exo 2', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; }
.no-reviews, .no-shops { text-align: center; padding: 60px 20px; color: var(--text-muted); }

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
    text-align: center;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .header .container { flex-direction: column; gap: 16px; }
    .filters {
    box-sizing: border-box;
    width: 100%; flex-direction: column; align-items: stretch; }
    .filter-form { flex-direction: column; }
    .search-input { width: 100%; }
    .shops-grid { max-width: 100%; 
    
    
    padding: 0;
    padding: 0;}
    .shop-profile { flex-direction: column; align-items: center; text-align: center; }
    .shop-buttons { justify-content: center; }
    .hero h1 { font-size: 2.5rem; }
}

/* Votes styling */
.votes-icon { color: var(--star-color); font-size: 1.1rem; }
.votes-icon-large { color: var(--star-color); font-size: 0.9rem; }

.stats-info {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Exo Bold font */
@font-face {
    font-family: 'Exo';
    src: url('/static/fonts/Exo-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

.hero h1, .shop-details h1, .logo-text {
    font-family: 'Exo', 'Inter', sans-serif;
    font-weight: 700;
}

/* Video logo */
.shop-logo video, .shop-logo-large video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

/* Comments count */
.comments-count {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-left: 4px;
}

.comments-badge {
    background: var(--bg-tertiary);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-left: 12px;
}

/* Emoji support */
.shop-name, .shop-desc, h1, h2, h3, p {
    font-family: 'Exo', 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
}

/* Hero title - larger and italic */
.hero h1 {
    font-size: 5rem !important;
    font-style: italic;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem !important;
    }
}

/* Larger logos on main page */
.shop-logo {
    width: 120px !important;
    height: 120px !important;
    border-radius: 16px;
}

.shop-logo img,
.shop-logo video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.no-logo {
    font-size: 3rem;
}

/* Better card layout with larger logo */
.shop-card { min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.shop-info {
    flex: 1;
}

.shop-actions {
    flex-direction: column;
    gap: 8px;
}

/* Flag icons */
.flag-icon {
    width: 24px;
    height: 18px;
    vertical-align: middle;
    margin: 0 2px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Header logo - Exo Bold Italic */
.logo-text {
    font-family: 'Exo', 'Inter', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 2.5rem;
}

/* No logo image */
.no-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* Header logo image */
.logo-img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    border-radius: 8px;
}

/* Logo overflow header */
.logo-img {
    margin: -18px 0;
}

.shop-buttons-under-logo {
    margin-top: 16px;
    text-align: center;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding: 20px;
}

.page-link {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.page-link:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.page-info {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Header search and right section */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-search {
    display: flex;
    position: relative;
}

.search-input-header {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 40px 10px 14px;
    color: var(--text-primary);
    font-size: 0.95rem;
    width: 220px;
    transition: var(--transition);
}

.search-input-header:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.2);
}

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

.search-btn-header {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    padding: 4px;
}

@media (max-width: 768px) {
    .header-right {
        flex-direction: column;
        gap: 12px;
    }
    .search-input-header {
        width: 100%;
    }
}

/* Shop logo column layout */
.shop-logo-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.shop-logo-column .rating-large {    justify-content: center;    margin: 0;}
.shop-logo-column .btn-telegram {
    width: 100%;
    text-align: center;
}

/* Country flags */
.shop-flags {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin: 8px 0;
}

.country-flag {
    height: 14px;
    width: auto;
    border-radius: 2px;
}

/* Responsive breakpoints */
@media (max-width: 768px) {
    .shops-grid { max-width: 100%; 
    
    
    padding: 0;
    padding: 0; grid-template-columns: repeat(2, 1fr); }
}



/* Additional responsive breakpoints */

@media (max-width: 900px) {
    .shops-grid { max-width: 100%; 
    
    
    padding: 0;
    padding: 0; grid-template-columns: repeat(2, 1fr); }
}

/* Filter search */
.filter-search {
    display: flex;
    align-items: center;
    gap: 8px;
}
.search-input-filter {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.9rem;
    width: 150px;
}
.search-input-filter:focus {
    outline: none;
    border-color: var(--accent-primary);
}
.reset-btn, .search-btn-filter {
    padding: 8px 12px;
    background: var(--accent-primary);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
}

/* Comments badge */
.comments-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-tertiary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-left: 8px;
}

/* Products Section */
.products-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

.products-section h2 {
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 1.5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.product-image {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #1a1a1a;
}

.product-image img,
.product-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-caption {
    padding: 1rem;
    font-size: 0.85rem;
    color: #ccc;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 200px;
    overflow-y: auto;
    line-height: 1.4;
}

/* Mobile responsive */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-caption {
        font-size: 0.8rem;
        max-height: 150px;
    }
}

/* Tabs */
.tabs-container {
    margin: 2rem 0;
}

.tabs-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0;
}

.tab-btn {
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    color: #888;
    font-size: 1rem;
    font-weight: 600; text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    color: #fff;
    border-bottom-color: #007bff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.no-content {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.no-content p {
    font-size: 1.1rem;
}

/* Mobile tabs */
@media (max-width: 576px) {
    .tabs-header {
        flex-direction: row;
        overflow-x: auto;
    }
    
    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }
}

/* Review Media Lightbox */
.review-media {
    margin: 10px 0;
}

.review-media img.review-image,
.review-media video.review-video {
    max-width: 400px;
    max-height: 400px;
    width: auto;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    object-fit: cover;
    transition: transform 0.2s;
}

.review-media img.review-image:hover {
    transform: scale(1.02);
}

/* Lightbox Overlay */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover {
    color: #ccc;
}

/* Product Lightbox with Caption */
.product-clickable {
    cursor: pointer;
    transition: transform 0.2s;
}

.product-clickable:hover {
    transform: scale(1.02);
}

.product-lightbox-content {
    display: flex;
    max-width: 90vw;
    max-height: 90vh;
    background: #1a1a2e;
    border-radius: 12px;
    overflow: hidden;
}

.product-lightbox-media {
    flex: 0 0 auto;
    max-width: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #21262d;
}

.product-lightbox-media img,
.product-lightbox-media video {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.product-lightbox-caption {
    flex: 1;
    padding: 30px;
    color: #fff;
    font-family: 'Exo 2', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    overflow-y: auto;
    max-width: 400px;
    min-width: 250px;
    white-space: pre-wrap;
}

@media (max-width: 768px) {
    .product-lightbox-content {
        flex-direction: column;
        max-height: 95vh;
    }
    .product-lightbox-media {
        max-width: 100%;
        max-height: 50vh;
    }
    .product-lightbox-caption {
        max-width: 100%;
        min-width: auto;
        max-height: 40vh;
    }
}

/* Lightbox Navigation */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 50px;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    z-index: 10001;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.lightbox-nav:hover {
    opacity: 1;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Unified Black Button Style */
.btn, .btn-primary, .btn-secondary, .btn-telegram, .search-btn, .search-btn-header, .reset-btn, .search-btn-filter {
    background: #21262d !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600; text-transform: uppercase;
    transition: background 0.2s;
}

.btn:hover, .btn-primary:hover, .btn-secondary:hover, .btn-telegram:hover, .search-btn:hover, .search-btn-header:hover, .reset-btn:hover, .search-btn-filter:hover {
    background: #225189 !important;
    transform: none !important;
}

.tab-btn {
    background: transparent !important;
    color: var(--text-secondary) !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
}

.tab-btn:hover, .tab-btn.active {
    background: transparent !important;
    color: #fff !important;
    border-bottom: 2px solid #fff !important;
}

/* Stats row inline */
.shop-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.shop-stats-row .stat-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Header logo styling */
.logo i {
    font-style: italic;
}

.logo .accent {
    color: var(--accent-primary);
}

/* Telegram button desktop */
.btn-telegram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: #0088cc;
    border-radius: 8px;
    color: white !important;
}

.btn-telegram:hover {
    background: #006699;
}

/* Desktop header improvements */
.header .logo {
    line-height: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    font-family: 'Exo 2', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
}

.header .btn-tg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #0088cc;
    border-radius: 8px;
}

.header .btn-tg svg {
    width: 22px;
    height: 22px;
    fill: white;
}

.header .btn-tg:hover {
    background: #006699;
}
.header .btn-cerberus {    display: inline-flex;    align-items: center;    justify-content: center;    width: 40px;    height: 40px;    border-radius: 8px;    overflow: hidden;}.header .btn-cerberus img {    width: 100%;    height: 100%;    object-fit: cover;}

/* Hide burger on desktop */
@media (min-width: 769px) {
    .burger-btn {
        display: none;
    }
    .sidebar, .sidebar-overlay {
        display: none;
    }
}


/* Results count styled like button */
.results-count {
    margin-left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
    white-space: nowrap;
    margin-left: auto;
}

/* CHECK button */
.check-btn {
    height: 42px;
    padding: 0 20px;
    background: var(--accent-primary);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.check-btn:hover {
    background: #1a4070;
}

/* Disabled select styling */
select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* Unified border radius */
.shop-card, .shop-logo, .shop-logo img, .shop-logo video {
    border-radius: 8px !important;
}

/* No shops found message */
.no-shops-message {
    font-family: 'Exo 2', sans-serif;
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 100px 20px;
    text-transform: uppercase;
    grid-column: 1 / -1;
}

/* Equal width for filter selects */
.filters .filter-group select {
    min-width: 140px;
    width: 140px;
}


/* Search and results aligned right */
.filter-form {
    justify-content: flex-start;
}
.filter-search {
    margin-left: auto;
    margin-right: 0;
}
.results-count {
    margin-left: 0;
    margin-left: 20px;
}

/* Hide mobile results count on desktop */
.mobile-results-count {
    display: none;
}

/* Filter layout - search right aligned */
.filter-search {
    margin-left: auto;
}

/* Hide mobile results on desktop */
.mobile-results-count {
    display: none;
}

/* EXO font for buttons and shop counts */
.btn, .btn-primary, .btn-secondary, .btn-telegram, .reset-btn, .search-btn-filter,
.results-count, .mobile-shop-count {
    font-family: 'Exo 2', sans-serif;
}

/* Back link EXO font */
.back-link {
    font-family: 'Exo 2', sans-serif;
}

/* Age Verification Popup */
.age-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.age-popup {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 40px;
    max-width: 600px;
    text-align: center;
    font-family: 'Exo 2', sans-serif;
}

.age-popup-text {
    color: #e6edf3;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 500;
}

.age-popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.age-btn {
    padding: 16px 24px;
    border: none;
    border-radius: 8px;
    font-family: 'Exo 2', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s;
}

.age-btn-confirm {
    background: #238636;
    color: white;
}

.age-btn-confirm:hover {
    background: #2ea043;
}

.age-btn-leave {
    background: #21262d;
    color: #f85149;
    border: 1px solid #f85149;
}

.age-btn-leave:hover {
    background: #f85149;
    color: white;
}

@media (max-width: 768px) {
    .age-popup {
        padding: 24px;
    }
    .age-popup-text {
        font-size: 14px;
    }
    .age-btn {
        font-size: 12px;
        padding: 14px 16px;
    }
}
