@font-face {
    font-family: 'RobotoExtraBold';
    src: url(fonts/Roboto-Black.ttf) format('truetype');
}

@font-face {
    font-family: 'RobotoLightItalic';
    src: url(fonts/Roboto-LightItalic.ttf) format('truetype');
}

@font-face {
    font-family: 'RobotoLight';
    src: url(fonts/Roboto-Light.ttf) format('truetype');
}

@font-face {
    font-family: 'RobotoRegular';
    src: url(fonts/Roboto-Regular.ttf) format('truetype');
}

@font-face {
    font-family: 'RobotoBold';
    src: url(fonts/Roboto-Bold.ttf) format('truetype');
}

.products-main {
    background-color: #F6F0E6;
    padding-bottom: 100px;
}

.products-hero {
    background-color: #2E4A3A;
    padding: 72px 20px 56px;
    text-align: center;
    margin-bottom: 72px;
}

.products-label {
    font-family: 'RobotoLight', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #C89B3C;
    margin-bottom: 14px;
}

.products-title {
    font-family: 'RobotoExtraBold', sans-serif;
    font-size: 52px;
    font-weight: 700;
    color: #F6F0E6;
    margin-bottom: 12px;
}

.products-tagline {
    font-family: 'RobotoLight', sans-serif;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #D8C3A5;
    font-style: italic;
}

.back-link {
    display: inline-block;
    font-family: 'RobotoBold', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #df9a23;
    text-decoration: none;
    border-bottom: 1px solid #C89B3C;
    padding-bottom: 2px;
    transition: color 0.2s;
    margin-top: 12px;
}

.back-link:hover {
    color: #C89B3C;
}

.category-grid-main {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}
.category-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}

.category-card-main {
    text-decoration: none;
    width: 420px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 24px rgba(46, 74, 58, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.category-card {
    text-decoration: none;
    width: 300px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 24px rgba(46, 74, 58, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(46, 74, 58, 0.2);
}

.category-image-wrap {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image {
    transform: scale(1.06);
}

.category-card-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(46, 74, 58, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-card:hover .category-card-hover {
    opacity: 1;
}

.category-card-hover span {
    font-family: 'RobotoRegular', sans-serif;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #F6F0E6;
    border: 1px solid #F6F0E6;
    padding: 10px 24px;
    border-radius: 4px;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(31, 31, 31, 0.3) 100%);
}

.category-info {
    padding: 24px 26px 28px;
    background-color: #fff;
}

.category-name {
    font-family: 'RobotoBold', serif;
    font-size: 20px;
    color: #1F1F1F;
    margin-bottom: 8px;
}

.category-desc {
    font-family: 'RobotoLight', sans-serif;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 14px;
}

.category-price {
    font-family: 'RobotoRegular', serif;
    font-size: 20px;
    color: #2E4A3A;
}

.category-btn {
    display: inline-block;
    font-family: 'RobotoLight', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #2E4A3A;
    border-bottom: 2px solid #C89B3C;
    padding-bottom: 2px;
    transition: color 0.2s;
}

.category-card:hover .category-btn {
    color: #C89B3C;
}


@media (max-width: 768px) {
    .products-title {
        font-size: 36px;
    }

    .category-grid {
        gap: 24px;
    }

    .category-card {
        width: 280px;
    }

    .category-image-wrap {
        height: 260px;
    }
}