* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:
        system-ui,
        -apple-system,
        sans-serif;
    background: #f8f9fa;
    color: #fff;
    line-height: 1.5;
    background-color: #0a0a12;
}

footer {
    text-align: center;
    padding: 20px 0;
    color: #eee;
    background-color: #1e1e2e;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    font-size: 1.2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
}

.category-header {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #6b48ff, #00d4ff);
    color: white;
    padding: 10px 30px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.category-header h2 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.category-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.product {
    background: #1e1e2e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.product img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #fff;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
    color: #fff;
}

.product p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 12px;
}

section {
    margin-bottom: 100px;
}

.auto-grid {
    margin: 0 auto;
    max-width: 900px;
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 10px;
    justify-content: center;
    max-height: calc(2 * 60px + 1 * 10px);
    overflow: hidden;
}

.auto-grid>* {
    flex: 1 1 280px;
    min-width: 0;
    max-width: 45%;
    box-sizing: border-box;
}

.auto-grid:has(> :nth-child(4)) {
    grid-template-columns: repeat(2, 1fr);
}

.product .btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    align-self: center;
    justify-content: center;

    background: #6b48ff;
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}

.product .btn:hover {
    background: #5439cc;
}

@media (max-width: 600px) {
    .category-header h2 {
        font-size: 2.2rem;
    }

    .category-header {
        padding: 50px 15px;
    }
}