.banner-content {
    color: white;
}

#main-category-banner {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    height: 60vw;
    max-height: 100vh;
    min-height: 33vw;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.page.single-vanities-category-details #main-category-banner {
    background-position: right;
}
.more-info {
    color: white;
    border: none;
    background: none;
    font-weight: 500;
    text-transform: uppercase;
}
.modal-content {
    padding: 10px 30px;
}
.page.faucets-category-details #main-category-banner {
    background-position: top;
}
.page.console-tables-category-details #main-category-banner {
    height: 50vw;
}
.page.samples-category-details #main-category-banner, .page.console-tables-category-details #main-category-banner {
    background-position: bottom;
}
.page.single-vanities-category-details #main-category-banner .banner-content {
    right: 0;
    width: min-content;
    text-align: right;
}
.page.double-vanities-category-details #main-category-banner .banner-content {
    width: min-content;
}
#main-category-banner .banner-content {
    position: absolute;
    bottom: 0;
    padding: 30px;
    display: none;
}
#main-category-banner .banner-content h1, #main-category-banner .banner-content h2 {
    margin-bottom: 10px;
}

#category-description {
    background: #000;
    color: white;
    padding: 30px;
    text-align: center;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#category-description p {
    margin: auto;
}

#exit-banner {
    background-position: center;
    background-size: cover;
    height: 33vw;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#exit-banner .banner-content {
    padding: 30px;
    margin: auto;
}
#exit-banner .banner-content.center {
    text-align: center;
}
#exit-banner .banner-content.right {
    text-align: right;
    position: absolute;
    right: 0;
}
#exit-banner .banner-content h2 {
    margin-bottom: .5rem;
}
#exit-banner h2, #exit-banner-mobile-content h2 {
    text-transform: uppercase;
    font-family: "Playfair Display", serif;
    font-size: 28px;
    line-height: 40px;    
    letter-spacing: .2em;
}

.page.vanities-category-details #exit-banner .banner-content, 
.page.faucets-category-details #exit-banner .banner-content, 
.page.samples-category-details #exit-banner .banner-content {
    height: 100%;
    width: 100%;
    text-align: center;
    background-color: rgba(0,0,0,.3);
}

/* category Content */
#category-details-content {
    margin: 20px 0 0;
}
#category-details-content h2 {
    letter-spacing: .1rem;
}
#category-details-content h3 {
    letter-spacing: .03rem;
    margin-bottom: 10px;
}
#category-details-content .details-section {
    padding: 30px;
}
#category-details-content .details-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
#category-details-content .details-header {
    background: #000;
    color: #fff;
    text-align: center;
}
#category-details-content .details-footer {
    text-align: center;
    background-color: #eee;
}
#category-details-content .details-footer .button-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
#category-details-content ul {
    padding-left: 1.5rem;
}
#category-details-content ul p {
    margin-bottom: .5rem;
}

@media (min-width: 576px) {
    #main-category-banner .banner-content {
        padding: 40px;
    }
    #exit-banner .banner-content {
        padding: 40px;
    }
    .modal-content {
        padding: 20px 40px;
    }
    #category-details-content .details-section {
        padding: 40px;
    }
}

@media (min-width: 768px) {
    .page.console-tables-category-details #main-category-banner {
        height: 50vw;
    }
    #main-category-banner .banner-content {
        padding: 60px;
        display: block;
    }
    #category-description {
        padding: 60px;
        display: none;
    }
    #category-description p {
        max-width: 600px;
    }
    #exit-banner .banner-content {
        padding: 60px;
    }
    #exit-banner .banner-content.right {
        text-align: right !important;
    }
    #exit-banner .banner-content.left, #exit-banner .banner-content.right {
        position: absolute;
        bottom: 0;
    }
    #exit-banner h2, #exit-banner-mobile-content h2 {
        font-size: 40px;
        line-height: 58px;
    }
    .page.vanities-category-details #exit-banner .banner-content, 
    .page.faucets-category-details #exit-banner .banner-content, 
    .page.samples-category-details #exit-banner .banner-content {
        height: auto;
        width: inherit;
        text-align: inherit;
        background-color: inherit;
    }
    #category-details-content .details-section {
        padding: 40px 60px;
    }
}

@media (min-width: 992px) {
    #main-category-banner {
        height: 50vw;
    }
    .page.console-tables-category-details #main-category-banner,
    .page.samples-category-details #main-category-banner {
        height: 40vw;
    }
    #main-category-banner .banner-content.banner-content {
        padding: 80px;
    }
    #category-description {
        padding: 80px;
    }
    #category-description p {
        max-width: 700px;
    }
    #exit-banner .banner-content {
        padding: 80px;
    }
    #category-details-content .details-section {
        padding: 40px 80px;
    }
    #category-details-content .details-row {
        justify-content: space-between;
        flex-direction: row;
        gap: 40px;
    }
    #category-details-content .details-row > div {
        flex: 1;
    }
}

@media (min-width: 1200px) {
    #main-category-banner {
        min-height: 25vw;
    }
    .page.console-tables-category-details #main-category-banner, 
    .page.samples-category-details #main-category-banner {
        height: 35vw;
    }
    #main-category-banner .banner-content.banner-content {
        padding: 100px;
    }
    #category-description {
        padding: 100px;
    }
    #category-description p {
        max-width: 800px;
    }
    #exit-banner .banner-content {
        padding: 100px;
    }
    #category-details-content .details-section {
        padding: 60px 100px;
    }
    #category-details-content .details-row {
        gap: 60px;
    }
}

@media (min-width: 1400px) {
    #main-category-banner {
        height: 40vw;
    }
    .page.console-tables-category-details #main-category-banner {
        height: 30vw;
    }
    #category-description p {
        max-width: 1000px;
    }
    .page.samples-category-details #main-category-banner {
        background-image: url('https://cdn.vanderloc.com/images/pages/category-details/samples-banner.jpg') !important;
        height: 25vw;
    }
    #category-details-content .details-row, 
    #category-details-content .details-header h2, 
    #category-details-content .details-header p, 
    #category-details-content .details-footer h3, 
    #category-details-content .details-footer p {
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }
}