*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --mint: #D5EDDA;     /* Светлая мята */
    --dark-mint: #82C690; /* Акцентная мята */
    --white: #ffffff;
    --black: #1d1d1f;    /* Глубокий серый (как у Apple) */
    --bg: #f5f5f7;       /* Фон страниц */
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--black);
    line-height: 1.5;
}

header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px); /* Эффект стекла */
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #e5e5e5;
}

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

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
}

.nav a {
    text-decoration: none;
    color: var(--black);
    font-size: 14px;
    transition: color 0.3s;
}

.nav a:hover { color: var(--dark-mint); }

.btn-mint {
    background: var(--dark-mint);
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
}

/* Сетка товаров */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    padding: 20px;
    text-decoration: none;
    color: var(--black);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.product-card img {
    max-width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 12px;
}

.product-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 10px 0;
    height: 42px;
    overflow: hidden;
}

.product-card .price {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-mint);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

main {
    animation: fadeInUp 0.6s ease-out;
}

/* Красивые заголовки */
h1, h2, h3 {
    letter-spacing: -0.02em;
}

/* Адаптивность для мобилок */
@media (max-width: 768px) {
    .product-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    
    h1 { font-size: 32px !important; }
    .container {
        padding: 0 15px;
}
.header-logo img {
    height: 44px;
    width: auto;
    display: block;
    transition: filter 0.25s ease, transform 0.25s ease;
}

.header-logo:hover img {
    filter: drop-shadow(0 0 3px rgba(0, 184, 148, 1))
            drop-shadow(0 0 6px rgba(0, 184, 148, 0.7));
    transform: translateY(-1px);
}