/* Store Branding CSS - Global Default
 * This file contains the default header/navigation styles for all stores.
 * Individual stores can override this by uploading a custom CSS file.
 */

/* Compact Header/Nav - Modernized */
.store-nav {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px var(--shadow);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    min-width: 0;
    overflow: hidden;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link span {
    display: inline-block;
}

.store-logo {
    max-height: 90px;
    width: auto;
    display: block;
    transition: transform 0.2s ease;
}

.store-logo:hover {
    transform: scale(1.02);
}

.store-name-nav {
    font-weight: 800;
    font-size: 5.5rem;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.5px;
    line-height: 90px;
}

.store-name-header {
    font-weight: 800;
    font-size: 5.5rem;
    line-height: 90px; /* Match logo height exactly */
    color: var(--text);
    margin-left: 1rem;
    letter-spacing: -0.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary);
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    white-space: nowrap;
}

.cart-btn span.cart-text {
    display: inline-block;
}

.cart-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.back-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--primary);
}

.back-link span {
    display: inline-block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0.75rem 1rem;
    }
    
    .store-logo {
        max-height: 50px;
        max-width: 140px;
        width: auto;
        object-fit: contain;
    }
    
    .store-name-header {
        font-size: 1.1rem;
        line-height: 1.25;
        margin-left: 0.5rem;
        min-width: 0;
    }
    
    .store-name-nav {
        font-size: 1.1rem;
        line-height: 1.25;
        min-width: 0;
    }
    
    .cart-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .cart-btn span.cart-text {
        display: none;
    }
}

