/* Header Styles extracted from style.css */
.header {
    background-color: #ffffff;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Mobile specific sticky reinforcement (some mobile browsers drop sticky without prefix) */
@media (max-width: 768px) {
    .header {
        position: -webkit-sticky; /* Safari / iOS */
        position: sticky;
        top: 0;
        z-index: 1100; /* Keep above other fixed elements like bottom menu */
        backface-visibility: hidden; /* Rendering optimization */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    /* Ensure ancestors don't block sticky due to overflow */
    body, .main-content, .container { overflow: visible; }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 95%;
}

.header-brand {
    display: flex;
    align-items: center;
}

.logo-container {
    position: relative;
    margin-right: 10px;
    padding: 2px;
    border-radius: 50%;
    background: linear-gradient(45deg, #E1306C, #FD1D1D, #F77737);
}

.brand-logo-img, .brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    display: block;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e0e0e0;
    color: #333;
    font-size: 18px;
    font-weight: bold;
}

.verified-badge {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 14px;
    height: 14px;
}

.store-name-header {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.header-actions {
    display: flex;
    align-items: center;
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #4a5568;
    font-size: 1.2rem;
    padding: 6px;
}

.action-btn:hover {
    color: #2d3748;
}
