
.store-profile-modern {
    background: var(--bg-white, #fff);
    border-radius: 16px; 
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color, #e2e8f0);
    box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.profile-top-area {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* -----------------------------------------
   LOGO KUTUSU & "INSTAGRAM" HALKASI
   ----------------------------------------- */
.compact-logo-box {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 12px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: relative;
    border: 1px solid var(--border-color, #f1f5f9);
    transition: transform 0.2s ease;
}


.compact-logo-box.has-new-content {
    border: 2px solid transparent; 
    
    background-image: linear-gradient(#fff, #fff), 
                      linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    background-origin: border-box;
    background-clip: content-box, border-box;
    padding: 2px; 
}

.compact-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}
.compact-logo-box .btn-fav-store {
    position: absolute;
    top: -8px;   
    right: -8px; 
    width: 36px;
    height: 36px;
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 50%; 
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.12); 
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 0;
}


.compact-logo-box .btn-fav-store:hover {
    transform: scale(1.15); 
    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
    border-color: #e0e0e0;
}


.compact-logo-box .btn-fav-store svg {
    fill: transparent;
    stroke: #666;
    stroke-width: 2px;
    transition: all 0.3s ease;
}



.compact-logo-box .btn-fav-store.active {
    border-color: #ffeff5;
    background-color: #fff;
}

.compact-logo-box .btn-fav-store.active svg {
    fill: #e0245e; 
    stroke: #e0245e;
    animation: heartPop 0.3s ease-in-out;
}


@keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}



@media (max-width: 768px) {
    .compact-logo-box .btn-fav-store {
top: -8px;
        right: -10px;
        width: 32px; 
        height: 32px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15); 
    }
}


.new-badge-dot {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 14px;
    height: 14px;
    background: #ef4444; 
    border: 2px solid #fff;
    border-radius: 50%;
    z-index: 5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}


.external-link-icon {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    z-index: 10;
    transition: all 0.2s;
}

.external-link-icon:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateX(-50%) scale(1.1);
}

/* -----------------------------------------
   BİLGİ ALANI (BAŞLIK & META)
   ----------------------------------------- */
.profile-info {
    flex: 1;
    min-width: 0; 
}

.store-main-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main, #1e293b);
    margin: 0 0 4px 0;
    line-height: 1.2;
    
    
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.store-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-muted, #64748b);
    font-weight: 500;
}

/* -----------------------------------------
   SCROLL TABS (SEKMELER)
   ----------------------------------------- */
.scroll-tabs-container {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
    padding-top: 15px;
    padding-bottom: 5px;
    border-top: 1px solid var(--border-color, #f1f5f9);
    
    
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.scroll-tabs-container::-webkit-scrollbar { display: none; }

.scroll-tab {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    background: var(--bg-body, #f8fafc);
    border: 1px solid var(--border-color, #e2e8f0);
    color: var(--text-muted, #475569);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
}

.scroll-tab:hover {
    background: #fff;
    border-color: #cbd5e1;
    color: var(--text-main);
}

.scroll-tab.active {
    background: var(--bg-primary-light, #eff6ff); 
    border-color: rgba(0, 123, 255, 0.2);
    color: var(--primary-color);
}


.tab-count {
    background: #fff;
    color: var(--primary-color);
    font-size: 0.75rem;
    padding: 1px 6px;
    border-radius: 6px;
    font-weight: 800;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}


.fav-tab-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
}

.fav-tab-btn.active {
    background: #fef2f2; 
    color: #ef4444;       
    border-color: #fca5a5;
}

/* -----------------------------------------
   RESPONSIVE
   ----------------------------------------- */
@media (max-width: 576px) {
    .store-profile-modern {
        padding: 16px;
        gap: 12px;
        border-radius: 0; 
        border-left: none;
        border-right: none;
    }

    .store-main-title {
        font-size: 1.2rem;
    }

    .compact-logo-box {
        width: 60px;
        height: 60px;
    }
    
    .external-link-icon {
        width: 20px; height: 20px;
        bottom: -6px;
    }
}

    
    .status-badge {
        display: inline-flex; align-items: center; gap: 6px;
        padding: 3px 10px; border-radius: 50px;
        font-size: 0.75rem; font-weight: 700; margin-left: 8px; vertical-align: middle;
    }
    .status-badge.open { background-color: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
    .status-badge.closed { background-color: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
    .status-dot { width: 6px; height: 6px; border-radius: 50%; background-color: currentColor; }


    
    .card-box {
        background: #fff; border: 1px solid var(--gray-200);
        border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
        padding: 20px; margin-bottom: 24px; overflow: hidden;
    }

    
    .featured-flyer-card {
        background: #fff; border: 1px solid var(--gray-200);
        border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
        margin-bottom: 30px; overflow: hidden; transition: transform 0.2s;
    }
    .featured-flyer-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

    .flyer-inner-flex { display: flex; flex-wrap: wrap; }
    .flyer-preview-side {
        background: var(--gray-100); padding: 20px;
        display: flex; align-items: center; justify-content: center;
        position: relative; flex: 0 0 100%;
    }
    .flyer-content-side {
        padding: 25px; flex: 0 0 100%;
        display: flex; flex-direction: column; justify-content: center;
    }
    @media (min-width: 768px) {
        .flyer-preview-side { flex: 0 0 40%; max-width: 40%; }
        .flyer-content-side { flex: 0 0 60%; max-width: 60%; }
    }
    .badge-urgent {
        position: absolute; top: 10px; right: 10px;
        background: var(--danger-color); color: #fff;
        padding: 4px 12px; border-radius: 20px;
        font-size: 0.75rem; font-weight: 700;
    }

    
    .btn-main {
        display: inline-flex; align-items: center; justify-content: center;
        width: 100%; max-width: 280px; padding: 12px;
        background: var(--primary-color); color: #fff;
        border-radius: 50px; font-weight: 600; text-decoration: none;
        transition: background 0.2s; margin-top: 15px;
    }
    .btn-main:hover { background: var(--primary-dark); color: #fff; }

    
    .comp-item {
        display: flex; align-items: center; padding: 12px 0;
        border-bottom: 1px solid var(--gray-100);
        color: var(--gray-700); text-decoration: none;
    }
    .comp-item:last-child { border-bottom: none; }
    .comp-logo {
        width: 44px; height: 44px; flex-shrink: 0;
        border: 1px solid var(--gray-200); padding: 2px;
        border-radius: 8px; margin-right: 12px;
        display: flex; align-items: center; justify-content: center;
        background: #fff;
    }

    
    
    .contact-list-item { display: flex; align-items: flex-start; margin-bottom: 15px; color: var(--gray-700); font-size: 0.95rem; }
    .contact-icon-box {
        min-width: 32px; height: 32px; background: #f1f5f9;
        border-radius: 8px; display: flex; align-items: center; justify-content: center;
        margin-right: 12px; color: var(--primary-color);
    }