body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    line-height: normal;
}

.collection-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    font-size: 60px;
    color: #000;
    text-align: center;
}

/* 🔹 Header */
.header {
    background-color: #f7f7f7;
    height: 298px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.title,
.tagline {
    padding: 10px;
}

.shop-by {
    margin: 0;
    text-transform: uppercase;
}

.shop-by-collection-container {
    position: relative;
}

.discover-the-lates {
    font-size: 23px;
    font-weight: 300;
}

/* 🔹 Category Grid */
.category {
    display: flex;
    flex-direction: column;
    font-size: 40px;
    color: #fff;
    width: 100%;
}

.category-row-1 {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

/* 🔹 Category Box - Always Square */
.category1 {
    width: calc(100% / 3);      /* 3 per row */
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    box-sizing: border-box;
}

/* 🔹 Text Block Centered in Each Box */
.category-name-parent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* ✅ Centered vertically */
    gap: 7px;
}

.category-name,
.view-button {
    display: flex;
    justify-content: center;
    color: white;
    text-transform: capitalize;
}

.view-button {
    font-size: 20px;
    border-bottom: 1px solid #fff;
}

/* 🔹 Responsive Adjustments */
@media (max-width: 1024px) {
    .category1 {
        width: 50%; /* 2 per row on tablets */
    }
}

@media (max-width: 640px) {
    .category1 {
        width: 100%; /* 1 per row on mobile */
    }
}
