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

html, body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    height: 100%;
}

.page-wrapper {
    min-height: 100vh;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #000000;
    z-index: 1000;
    padding: 20px 0;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.5;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #000000;
    color: #ffffff;
}

.hero-content h1 {
    font-size: 72px;
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    letter-spacing: 4px;
    font-weight: 300;
}

.collections-section {
    max-width: 1400px;
    margin: 100px auto;
    padding: 0 40px;
}

.section-title {
    font-size: 48px;
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 60px;
    text-align: center;
}

.collection-card {
    border: 1px solid #000000;
    margin-bottom: 40px;
    cursor: pointer;
    transition: all 0.3s;
}

.collection-header {
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    transition: background-color 0.3s;
}

.collection-header:hover {
    background-color: #f8f8f8;
}

.collection-title {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.collection-title, .category-title { cursor: pointer; }

.expand-icon {
    font-size: 32px;
    transition: transform 0.28s cubic-bezier(.2,.8,.2,1);
    user-select: none;
    display: inline-block;
    transform-origin: center;
}

.collection-card.active .expand-icon {
    transform: rotate(180deg);
}

.collection-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.collection-card.active .collection-content {
    max-height: 5000px;
}

/* Category collapse styles (per-category toggles inside a collection) */
.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

/* category toggles: small circular dot on the right */
.category .expand-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    border-radius: 50%;
    border: 2px solid #000;
    background: transparent;
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
    vertical-align: middle;
    line-height: 0;
    box-sizing: border-box;
    cursor: pointer;
}

    /* larger logo for hero */
    .hero-logo--large img,
    .hero-img--large {
        height: 300px;
    }

    @media (max-width: 768px) {
        .hero-logo--large img,
        .hero-img--large {
            height: 180px;
        }
    }
.category .expand-icon:focus {
    outline: 2px solid #333;
    outline-offset: 2px;
}

.category.active .expand-icon {
    background-color: #000;
    border-color: #000;
    transform: scale(1.05);
}

.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease;
}

.category.active .category-content {
    max-height: 5000px;
}

.categories {
    padding: 40px;
    background-color: #fafafa;
}

.category {
    margin-bottom: 60px;
}

.category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #000000;
}

.garment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.garment-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    transition: transform 0.3s;
}

.garment-item:hover {
    transform: translateY(-5px);
}

.garment-image {
    width: 100%;
    aspect-ratio: 3/4;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #999;
    letter-spacing: 2px;
}

.garment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.garment-info {
    padding: 20px;
    text-align: center;
}

.garment-name {
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
}

footer {
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 60px 40px;
    margin-top: 100px;
}

footer p {
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 300;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
        letter-spacing: 4px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .section-title {
        font-size: 32px;
    }

    .collection-title {
        font-size: 24px;
    }

    .garment-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    nav {
        padding: 0 20px;
    }

    .nav-links {
        gap: 20px;
        font-size: 12px;
    }

    .collections-section {
        padding: 0 20px;
        margin: 60px auto;
    }

    .collection-header {
        padding: 20px;
    }

    .categories {
        padding: 20px;
    }
}
