/* Generic Product Types Section Styles */
.section-product-types {
    padding: 60px 0;
    background-color: #fff;
}

@media (max-width: 768px) {
    .section-product-types {
        padding: 48px 0;
    }
}

.section-product-types__container {
    margin: 0 auto;
    padding: 0 15px;
}

.section-product-types__header {
    margin-bottom: 2.5rem;
    margin-left: calc(10% + 5px);
    width: calc(80% - 10px);
}

.section-product-types__header.section-heading--center-layout {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.section-product-types__header h2 {
    color: #000;
    font-size: 3.7rem;
    font-weight: 700;
    line-height: 3rem;
}

@media (max-width: 768px) {
    .section-product-types__header h2 {
        font-size: 2.4rem;
        line-height: 3.2rem;
        margin-bottom: 12px;
    }
}

.section-product-types__header h4 {
    color: #00a6de;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 3.2rem;
    margin-bottom: 12px;
    text-transform: capitalize;
}

@media (max-width: 768px) {
    .section-product-types__header h4 {
        font-size: 1.8rem;
        line-height: 2.6rem;
    }
}

.section-product-types__header h5 {
    color: #000;
    font-size: 1.6rem;
    font-weight: 300;
    margin: 2rem auto;
}

@media (max-width: 768px) {
    .section-product-types__header h5 {
        font-size: 1.5rem;
        font-weight: 400;
        line-height: 2rem;
        margin-bottom: 0;
    }
}

.section-product-types__header-divider {
    border-bottom: 5px solid #00a6de;
    margin: 0 auto 40px;
    width: calc(20% - 70px);
}

@media (max-width: 768px) {
    .section-product-types__header-divider {
        height: 2.125rem;
        margin: 0 auto 20px;
        width: calc(40% - 10px);
    }
}

.section-product-types__grid {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
    margin: 20px auto 0;
    width: 90%;
}

@media (max-width: 768px) {
    .section-product-types__grid {
        flex-direction: column;
        gap: 10px;
        margin: 0 auto;
        width: 80%;
    }
}

.product-type-card {
    align-items: center;
    color: #000;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    height: auto;
    max-width: 215px;
    text-align: center;
    width: 215px;
}

@media (max-width: 768px) {
    .product-type-card {
        justify-content: center;
        margin-bottom: 30px;
        max-width: 100%;
        min-height: 0;
        width: 100%;
    }

    .product-type-card:last-child {
        margin-bottom: 0;
    }
}

.product-type-card__image {
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 6px;
    width: 215px;
    height: 270px;
}

@media (max-width: 768px) {
    .product-type-card__image {
        width: 100%;
    }
}

.product-type-card__title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 2.2rem;
}

.product-type-card__description {
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 2rem;
}
