.glass-types-widget {
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    max-width: 1700px;
    margin:0 auto;
    font-family: 'Poppins', sans-serif;
}

.glass-types-top {
    display: flex;
    gap: 65px;
    margin-bottom: 40px;
    width:100%;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.glass-types-left,
.glass-types-right {
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .glass-types-right {
        width: 100%;
        max-width: 785px;
        flex:1 0 785px;
    }
}

.glass-types-heading {
    margin: 0 0 37px 0;
    text-align: center !important;
    h2 {
        font-size: 65px !important;
        font-weight:400 !important;
        text-transform: uppercase;
    }
    p {
        font-weight: 300 !important;
        font-size: 19px !important;
        line-height: 29px !important;
    }
}

.glass-types-thumbs {
    display:grid;
    gap:32px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.glass-types-thumb {
    cursor: pointer;
    img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
        object-fit: cover;
        border-radius: 20px !important;
        overflow:hidden !important;
        transition:all 300ms ease;
    }
    &:hover,
    &.glass-types-thumb--active {
        img {
            box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.25);
            transform: translateY(-1px);
        }
    }
    .glass-types-thumb-data {
        padding-top:4px;
        display:block;
        text-align:center;
        width:100%;
        font-weight: 300 !important;
        font-size: 19px !important;
        line-height: 29px !important;
    }
    /* WYSIWYG copy for JS; main area shows the active description */
    .glass-types-thumb-description {
        display: none;
    }
}

.glass-types-main-image {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.glass-types-main-image img {
    display: block;
    width: 100%;
    aspect-ratio: 7 / 8;
    object-fit: cover;
}

.glass-types-bottom {
    width: 100%;
}

.glass-types-content-title {
    font-weight: 500 !important;
    font-size: 19px !important;
    line-height: 35px !important;
    margin:0 !important;
}

.glass-types-content-description {
    font-weight: 300 !important;
    font-size: 19px !important;
    line-height: 29px !important; 
    ul {
        list-style: disc;
        padding-left:28px
    }
}

@media screen and (max-width:580px) {
    .glass-types-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 15px;
    }
    .glass-types-left,
    .glass-types-right {
        width: 100%;
    }
    .glass-types-top {
        flex-direction: column;
        margin-bottom:18px;
        gap:15px;
    }
    .glass-types-heading {
        margin: 0 0 20px;
        font-size: 32px !important;
    }
    .glass-types-content-title {
        font-size: 24px !important;
        line-height: 32px !important;
    }
    .glass-types-heading {
        h2 {
            font-weight: 500 !important;
            font-size: 40px !important;
            line-height: 55px !important;
        }
        p {
            font-weight: 300 !important;
            font-size: 11px !important;
            line-height: 16px !important;
        }
    }
    .glass-types-content-description {
        font-weight: 300 !important;
        font-size: 11px !important;
        line-height: 16px !important;
    }
    .glass-types-thumb {
        .glass-types-thumb-data {
            font-weight: 300 !important;
            font-size: 11px !important;
            line-height: 16px !important;
        }
    }
}