:root {
    --maroon: #631000;
    --yellow: #FFBF00;
    --grey: #D9D9D9;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
}

.products-hero {
    background: #631000;
    color: #fff;
    padding: 80px 0;
    text-align: left;
}

.products-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #FFBF00;
}

.products-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.products-subtitle {
    font-size: 1.05rem;
    max-width: 620px;
    line-height: 1.6;
}

.products-main {
    padding: 60px 0 80px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(200px, 1fr));
    gap: 24px;
}

.category-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.category-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-name {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 16px 16px 6px;
    color: var(--maroon);
}

.category-text {
    padding: 0 16px 10px;
    line-height: 1.5;
    color: #444;
    flex: 1;
}

.category-cta {
    padding: 12px 16px 18px;
    font-weight: 600;
    color: var(--yellow);
}

@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(3, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .products-hero {
        padding: 60px 0;
        text-align: center;
    }

    .products-title {
        font-size: 2rem;
    }

    .products-subtitle {
        margin: 0 auto;
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
    }
}

@media (max-width: 540px) {
    .category-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }

    .products-title {
        font-size: 1.7rem;
    }

    .products-subtitle {
        font-size: 0.95rem;
    }
}

