/* ===== YENİ SABİT BUTONLAR ===== */
/* --- ORTAK AYARLAR --- */
.play-button {
    position: fixed;
    top: 50%;
    transform: translateY(-50%) scale(1);
    display: none; /* Varsayılan olarak gizli */
    align-items: center;
    justify-content: center;
    
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px; /* 8px × 1.75 = 14px */
    font-weight: 700;
    
    box-shadow: 0 5px 18px rgba(0,0,0,0.3); /* 3px × 1.75 ≈ 5px, 10px × 1.75 ≈ 18px */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    z-index: 998;
    width: max-content;
    cursor: pointer;
}

/* --- SAĞ BUTON (KIRMIZI - Nereden Alınır) --- */
.play-button.right {
    background: linear-gradient(135deg, #e00000, #b40000);
    right: 9px; /* 5px × 1.75 ≈ 9px */
    border-radius: 14px 53px 53px 14px; /* 8px × 1.75 = 14px, 30px × 1.75 ≈ 53px */
    padding: 9px 32px 9px 18px; /* 5px × 1.75 ≈ 9px, 18px × 1.75 ≈ 32px, 10px × 1.75 ≈ 18px */
}

.play-button.right .text-container {
    text-align: left;
    margin-right: 7px; /* 4px × 1.75 = 7px */
}

/* Sağ buton hover: Parlak Kırmızı */
.play-button.right:hover {
    background: linear-gradient(135deg, #ff1a1a, #c90000);
    padding-right: 40px; /* 23px × 1.75 ≈ 40px */
    transform: translateY(-50%) translateX(-4px) scale(1.02); /* 2px × 1.75 ≈ 4px */
    box-shadow: 0 9px 23px rgba(200,0,0,0.4); /* 5px × 1.75 ≈ 9px, 13px × 1.75 ≈ 23px */
}

/* --- SOL BUTON (GRİ - Ürünleri Keşfet) --- */
.play-button.left {
    background: linear-gradient(135deg, #5e5e5e, #3d3d3d);
    left: 9px; /* 5px × 1.75 ≈ 9px */
    border-radius: 53px 14px 14px 53px; /* 30px × 1.75 ≈ 53px, 8px × 1.75 = 14px */
    padding: 9px 18px 9px 32px; /* 5px × 1.75 ≈ 9px, 10px × 1.75 ≈ 18px, 18px × 1.75 ≈ 32px */
    flex-direction: row-reverse;
}

.play-button.left .text-container {
    text-align: right;
    margin-left: 7px; /* 4px × 1.75 = 7px */
}

/* Sol buton hover: Daha Açık Gri */
.play-button.left:hover {
    background: linear-gradient(135deg, #757575, #4f4f4f);
    padding-left: 40px; /* 23px × 1.75 ≈ 40px */
    transform: translateY(-50%) translateX(4px) scale(1.02); /* 2px × 1.75 ≈ 4px */
    box-shadow: 0 9px 23px rgba(0,0,0,0.4); /* 5px × 1.75 ≈ 9px, 13px × 1.75 ≈ 23px */
}

/* --- İÇERİK METİNLERİ --- */
.play-button .text-container {
    display: flex;
    flex-direction: column;
}

.play-button .text-container span {
    display: block;
    line-height: 1.1;
}

.play-button .text-container span:first-child {
    font-size: 0.9em; 
    opacity: 0.95;
    font-weight: 500;
}

.play-button .question-mark {
    font-size: 21px; /* 12px × 1.75 = 21px */
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2px; /* 1px × 1.75 ≈ 2px */
}

/* SOL BUTON: Sadece where-to-buy modunda görünür */
body.where-to-buy-mode .play-button.left {
    display: flex;
}

/* SAĞ BUTON: Sadece il seçildiğinde görünür (JavaScript ile kontrol) */
.play-button.right.visible {
    display: flex;
}

/* SAĞ BUTON: where-to-buy modunda GİZLİ */
body.where-to-buy-mode .play-button.right {
    display: none !important;
}

/* Responsive ayarlar */
@media (max-width: 968px) {
    .play-button {
        font-size: 11px; /* 14px → 11px */
        padding: 7px 24px 7px 14px !important;
    }
    
    .play-button.left {
        padding: 7px 14px 7px 24px !important;
    }
    
    .play-button .question-mark {
        font-size: 16px; /* 21px → 16px */
    }
    
    .play-button.right:hover,
    .play-button.left:hover {
        transform: translateY(-50%) scale(1.02);
        padding: 7px 24px 7px 14px !important;
    }
    
    .play-button.left:hover {
        padding: 7px 14px 7px 24px !important;
    }
}

@media (max-width: 480px) {
    .play-button {
        font-size: 9px;
    }
    
    .play-button .question-mark {
        font-size: 13px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    height: auto;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    height: auto;
    overflow-x: hidden;
}

:root {
    --primary-red: #E30613;
    --dark-red: #B30510;
    --light-gray: #F5F5F5;
    --medium-gray: #E0E0E0;
    --dark-gray: #333333;
    --text-gray: #666666;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #FFFFFF;
    padding-top: 140px;
    margin: 0;
    padding-bottom: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* SABIT HEADER - Daha Kompakt */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 999;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

header.scrolled {
    padding: 3px 0;
}

.header-top {
    background: var(--primary-red);
    padding: 12px 0;
    transition: all 0.3s ease;
}

header.scrolled .header-top {
    padding: 8px 0;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    font-size: 2em;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

header.scrolled .logo {
    font-size: 1.6em;
}

.logo-icon {
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1em;
    font-weight: 700;
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.4em;
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.header-stats {
    display: flex;
    gap: 25px;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 1.5em;
    font-weight: bold;
    display: block;
    transition: all 0.3s ease;
}

header.scrolled .stat-number {
    font-size: 1.2em;
}

.stat-label {
    font-size: 0.8em;
    opacity: 0.9;
}

.header-bottom {
    background: white;
    padding: 10px 0;
    border-bottom: 1px solid var(--medium-gray);
}

.search-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.search-input {
    width: 100%;
    padding: 10px 45px 10px 18px;
    border: 2px solid var(--medium-gray);
    border-radius: 50px;
    font-size: 0.95em;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}


/* MAIN CONTENT */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8px 20px 0;
    flex: 1;
    width: 100%;
}

.page-title {
    text-align: center;
    margin-bottom: 10px;
}

.page-title h1 {
    font-size: 1.8em;
    color: var(--dark-gray);
    margin-bottom: 3px;
}

.page-title h1 .highlight {
    color: var(--primary-red);
}

.page-subtitle {
    font-size: 0.95em;
    color: var(--text-gray);
}

.main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-top: 8px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    height: 552px;
    border: 1px solid var(--medium-gray);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#map {
    height: 100%;
    width: 100%;
}

.products-panel {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    height: 552px;
    overflow-y: auto;
    border: 1px solid var(--medium-gray);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel-header {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--dark-gray);
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary-red);
}

.product-count {
    color: var(--primary-red);
    font-size: 0.8em;
    font-weight: normal;
}

.product-card {
    background: white;
    border: 1px solid var(--medium-gray);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s;
    border-left: 4px solid var(--primary-red);
    display: flex;
    gap: 15px;
    align-items: center;
}

.product-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(227, 6, 19, 0.15);
    border-left-width: 6px;
}

.product-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    background: var(--light-gray);
}

.product-info {
    flex: 1;
}

.product-name {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.product-meta {
    display: flex;
    gap: 5px;              /* ✅ 8px → 5px */
    flex-wrap: wrap;
    margin-top: 8px;       /* ✅ 10px → 8px */
}

.badge {
    background: var(--light-gray);
    color: var(--text-gray);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    text-align: center;
}

.badge.city {
    background: var(--primary-red);
    color: white;
}

.badge.type {
    background: var(--dark-gray);
    color: white;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-gray);
}

.empty-state svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    opacity: 0.3;
}

/* MODAL */
/* ========================================
   LIGHTBOX - BÜYÜK FOTOĞRAF GÖRÜNTÜSÜ
   ======================================== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 20000;
    cursor: zoom-out;
    padding: 20px;
}

.lightbox-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    animation: zoomIn 0.3s ease;
}

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

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: rotate(90deg);
}

.lightbox-caption {
    text-align: center;
    color: white;
    margin-top: 15px;
    font-size: 1.1em;
    font-weight: 500;
}

.lightbox-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85em;
}

/* ========================================
   MODAL OVERLAY - ORTAK
   ======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
    overflow-y: auto;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes flipIn {
    from { 
        opacity: 0; 
        transform: perspective(1000px) rotateY(-15deg) scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: perspective(1000px) rotateY(0) scale(1); 
    }
}

/* ========================================
   ÜRÜN MODAL - MODERN KART
   ======================================== */
.modal-card {
    background: transparent;
    max-width: 420px;
    width: 100%;
    animation: flipIn 0.5s ease;
}

.modal-card .card-inner {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.3),
        0 0 0 1px rgba(255,255,255,0.1);
    position: relative;
}

.modal-card .modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 50%;
    font-size: 22px;
    color: var(--dark-gray);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 20;
}

.modal-card .modal-close:hover {
    background: var(--primary-red);
    color: white;
    transform: scale(1.1) rotate(90deg);
}

.modal-product .card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    cursor: zoom-in;
}

.modal-product .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.modal-product .card-image:hover img {
    transform: scale(1.05);
}

.modal-product .card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    pointer-events: none;
}

.modal-product .card-image.no-image {
    display: none;
}

/* Zoom hint icon */
.modal-product .zoom-hint {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 5;
}

.modal-product .card-image:hover .zoom-hint {
    opacity: 1;
}

.modal-card .modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 50%;
    font-size: 22px;
    color: var(--dark-gray);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 10;
}

.modal-card .modal-close:hover {
    background: var(--primary-red);
    color: white;
    transform: scale(1.1) rotate(90deg);
}

/* Kesik şerit tasarımı */
.modal-product .city-ribbon {
    position: absolute;
    bottom: 15px;
    left: 20px;
    background: var(--primary-red);
    color: white;
    padding: 8px 20px;
    font-weight: 700;
    font-size: 0.9em;
    z-index: 5;
    clip-path: polygon(0 0, 100% 0, 95% 50%, 100% 100%, 0 100%);
    padding-right: 30px;
    box-shadow: 0 4px 15px rgba(227, 6, 19, 0.4);
}

.modal-card .card-content {
    padding: 25px;
}

.modal-card .product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.6em;
    color: var(--dark-gray);
    margin-bottom: 12px;
    line-height: 1.3;
}

.modal-card .meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.modal-card .chip {
    background: #f5f5f5;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8em;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.modal-card .chip:hover {
    background: #eee;
}

.modal-card .chip.type {
    background: var(--dark-gray);
    color: white;
}

.modal-card .chip.status {
    background: #d4edda;
    color: #155724;
}

.modal-card .info-box {
    background: linear-gradient(135deg, #fafafa, #f5f5f5);
    padding: 18px;
    border-radius: 16px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.modal-card .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #e0e0e0;
}

.modal-card .info-row:last-child {
    border-bottom: none;
}

.modal-card .info-label {
    font-size: 0.8em;
    color: var(--text-gray);
}

.modal-card .info-value {
    font-size: 0.9em;
    color: var(--dark-gray);
    font-weight: 600;
    text-align: right;
    max-width: 60%;
}

.modal-card .action-row {
    display: flex;
    gap: 10px;
}

.modal-card .btn-icon {
    width: 50px;
    height: 50px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 14px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-card .btn-icon:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateY(-2px);
}

.modal-card .btn-main {
    flex: 1;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red), #B30510);
    border: none;
    border-radius: 14px;
    color: white;
    font-weight: 600;
    font-size: 0.95em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.modal-card .btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(227, 6, 19, 0.4);
}

/* ========================================
   SATIŞ NOKTASI MODAL - YEŞİL TEMA
   ======================================== */
.modal-store .card-header {
    position: relative;
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    padding: 30px 25px;
    overflow: hidden;
}

.modal-store .card-header::before {
    content: '🏪';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 100px;
    opacity: 0.1;
}

.modal-store .modal-close {
    background: rgba(255,255,255,0.2);
    color: white;
}

.modal-store .modal-close:hover {
    background: white;
    color: #28a745;
}

.modal-store .store-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5em;
    color: white;
    margin-bottom: 10px;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

.modal-store .location-ribbon {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    color: #1e7e34;
    padding: 8px 20px;
    font-weight: 700;
    font-size: 0.85em;
    clip-path: polygon(0 0, 100% 0, 95% 50%, 100% 100%, 0 100%);
    padding-right: 30px;
    position: relative;
    z-index: 2;
}

.modal-store .chip.type {
    background: #28a745;
    color: white;
}

.modal-store .chip.rating {
    background: #fff3cd;
    color: #856404;
}

.modal-store .info-box {
    background: linear-gradient(135deg, #f0fff4, #e8f5e9);
    border: 1px solid #c8e6c9;
}

.modal-store .info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed #c8e6c9;
}

.modal-store .info-item:last-child {
    border-bottom: none;
}

.modal-store .info-icon {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.modal-store .info-text {
    flex: 1;
}

.modal-store .info-text .info-label {
    font-size: 0.7em;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.modal-store .info-text .info-value {
    font-size: 0.9em;
    color: var(--dark-gray);
    font-weight: 500;
    text-align: left;
    max-width: 100%;
}

.modal-store .info-text .info-value a {
    color: #28a745;
    text-decoration: none;
    font-weight: 600;
}

.modal-store .info-text .info-value a:hover {
    text-decoration: underline;
}

.modal-store .products-section {
    margin-bottom: 20px;
}

.modal-store .section-title {
    font-size: 0.75em;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.modal-store .product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.modal-store .product-tag {
    background: white;
    border: 1.5px solid #e0e0e0;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85em;
    color: var(--dark-gray);
    transition: all 0.2s ease;
    cursor: pointer;
}

.modal-store .product-tag:hover {
    border-color: #28a745;
    background: #f0fff4;
}

.modal-store .btn-icon:hover {
    border-color: #28a745;
    color: #28a745;
}

.modal-store .btn-icon.call:hover {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.modal-store .btn-main {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}

.modal-store .btn-main:hover {
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

/* ========================================
   STORE MODAL - SCROLLABLE PRODUCTS
   ======================================== */
.modal-store .products-count {
    font-weight: 400;
    color: var(--text-gray);
    font-size: 0.9em;
}

.modal-store .product-tags-scroll {
    max-height: 120px;
    overflow-y: auto;
    margin-top: 10px;
    padding-right: 5px;
    
    /* Modern scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #28a745 #e8f5e9;
}

/* Webkit scrollbar (Chrome, Safari, Edge) */
.modal-store .product-tags-scroll::-webkit-scrollbar {
    width: 6px;
}

.modal-store .product-tags-scroll::-webkit-scrollbar-track {
    background: #e8f5e9;
    border-radius: 10px;
}

.modal-store .product-tags-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #28a745, #1e7e34);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.modal-store .product-tags-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #2dbc4e, #28a745);
}

/* Scroll indicator - fade effect at bottom */
.modal-store .products-section {
    position: relative;
}

.modal-store .products-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 10px;
    height: 25px;
    background: linear-gradient(to top, white, transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-store .products-section.has-scroll::after {
    opacity: 1;
}

.detail-section {
    margin-top: 30px;
    padding: 25px;
    background: var(--light-gray);
    border-radius: 10px;
}

.detail-section h3 {
    margin-bottom: 15px;
    color: var(--dark-gray);
    font-size: 1.3em;
}

.detail-section p {
    color: var(--text-gray);
    line-height: 1.6;
}

.action-button {
    display: inline-block;
    background: var(--primary-red);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s;
}

.action-button:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 6, 19, 0.3);
}

/* Scrollbar */
.products-panel::-webkit-scrollbar {
    width: 8px;
}

.products-panel::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 10px;
}

.products-panel::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 10px;
}

.products-panel::-webkit-scrollbar-thumb:hover {
    background: var(--dark-red);
}

/* Loading */
.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-gray);
}

.spinner {
    border: 4px solid var(--light-gray);
    border-top: 4px solid var(--primary-red);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* FOOTER - Tek Satır, Kompakt */
footer {
    background: var(--dark-gray);
    color: white;
    padding: 20px 20px 12px;
    margin-top: 15px;
    margin-bottom: 0;
    flex-shrink: 0;
    width: 100%;
    position: relative;
    z-index: 950; /* Çizgilerin (900) üstünde, Modal (1000) altında */
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-section h3 {
    margin-bottom: 5px;
    color: var(--primary-red);
    font-size: 0.95em;
}

.footer-section ul {
    list-style: none;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-section ul li {
    margin-bottom: 0;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
    font-size: 0.85em;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-section p {
    line-height: 1.3;
    opacity: 0.9;
    font-size: 0.85em;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-links a {
    display: inline-block;
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
    font-size: 0.8em;
}

/* RESPONSIVE */
@media (max-width: 968px) {
    body {
        padding-top: 220px;
    }

    .header-stats {
        display: none;
    }

    .logo {
        font-size: 1.6em !important;
    }

    .search-container {
        flex-direction: column;
    }

    .main-content {
        grid-template-columns: 1fr;
    }

    .map-container,
    .products-panel {
        height: 575px;
    }

    .product-image {
        width: 80px !important;
        height: 80px !important;
    }

    .page-title h1 {
        font-size: 1.8em;
    }

    .page-subtitle {
        font-size: 1em;
    }

    /* Modal responsive */
    .modal-card {
        max-width: 95%;
    }
    
    .modal-product .card-image {
        height: 180px;
    }
    
    .modal-card .product-name,
    .modal-store .store-name {
        font-size: 1.35em;
    }
    
    .modal-card .card-content {
        padding: 20px;
    }
    
    .lightbox-close {
        top: -45px;
        width: 40px;
        height: 40px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-section ul {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .logo-sub {
        display: none;
    }

    .filter-btn {
        font-size: 0.8em;
        padding: 8px 15px;
    }

    .product-card {
        flex-direction: column;
        text-align: center;
    }

    .product-image {
        width: 100% !important;
        height: 150px !important;
    }
}

/* Alt boşluk önleme */
body::after {
    content: '';
    display: block;
    height: 0;
    margin: 0;
    padding: 0;
}

footer::after {
    content: '';
    display: block;
    height: 0;
    margin: 0;
    padding: 0;
}