/* A-jour Telegram Mini App - Fixed Styles */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.logo {
    width: 300px;
    height: auto;
    border-radius: 12px;
    background-color: white;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    color: #2481cc;
    margin: 0;
    display: none;
}

.main-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.nav-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 100px;
    position: relative;
}

.nav-button:hover {
    border-color: #2481cc;
    background-color: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(36, 129, 204, 0.15);
}

.nav-button:active {
    transform: translateY(0);
}

.icon {
    width: 32px;
    height: 32px;
    fill: #2481cc;
    margin-bottom: 8px;
}

.nav-button span {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    text-align: center;
}

.cart-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 320px) {
    .container {
        padding: 15px;
    }
    
    .nav-button {
        padding: 15px 10px;
        min-height: 80px;
    }
    
    .icon {
        width: 24px;
        height: 24px;
    }
}