.total-deals {
    color: #2439EA;
    font-weight: 700;
    font-size: 15px;
}

.brand-card {
    border-radius: 15px;
    box-shadow: rgba(100, 100, 111, 0.2) 0 5px 15px 4px;
    padding: 3%;
    border: 0;
}

.brand-card:hover {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.brand-card-body {
    margin-top:1rem;
    padding: 3%;
}

.deal-brand-name {
    position: relative;
    z-index: 2;
}

.deal-brand-name-large {
    position: relative;
    z-index: 2;
    font-size: 1.5em;
    line-height: 1.4;
    margin-bottom:10px;
}

.thumbnail-img {
    width: 70px;
    height: auto;
}

.brand-card-logo-thumb {
    position:absolute;
    width: 66px;
    height: 66px;
    right: 3%;
    bottom: -33px;
    z-index: 50;
    border-radius: 6px;
    background-color: white;
    overflow:hidden;
    box-shadow: rgba(100, 100, 111, 0.2) 0 5px 15px 4px;
}

@media (max-width: 575px) {
    .brand-card-logo-thumb {
        width:35px;
        height:35px;
        bottom:5px;
    }
}

/* For sm - small devices (≥576px) */
@media screen and (max-width: 600px) {
    .brand-card-logo-thumb {
        width:40px;
        height:40px;
        bottom:-20px;
    }
}

/* For md - medium devices (≥768px) */
@media (min-width: 768px) {

}

/* For lg - large devices (≥992px) */
@media (min-width: 992px) {

}


.brand-card-logo-thumb.right {
    left: 3%;
    bottom:3%;
}

.sob-deal-page-img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    object-fit: cover;
}

.sob-polaroid {
    position: relative;
    width: 100%;
    /*box-shadow: 4px 4px 7px rgba(0, 0, 0, 0.15);*/
    text-align: center;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-card-image-holder {
    position: relative;
    width: 100%;
    /*box-shadow: 4px 4px 7px rgba(0, 0, 0, 0.15);*/
    text-align: center;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*@media screen and (min-width: 768px) {
    .sob-polaroid {
        aspect-ratio: 5/4;
    }
}*/

@media screen and (max-width: 400px) {
    .brand-card-logo-thumb {
        width:30px;
        height:30px;
        bottom:5px;
    }
}

@media screen and (max-width: 578px) {
    .deal-brand-name-large {
        font-size: 1em;
    }

    .deal-brand-name {
        font-size: 0.7rem;
    }

    .total-deals {
        font-size: 0.7rem;
    }
}

@media screen and (min-width: 579px) and (max-width: 769px) {
    .deal-brand-name-large {
        font-size: 1.2em;
    }

    .deal-brand-name {
        font-size: 0.8rem;
    }

    .total-deals {
        font-size: 0.8rem;
    }
}

@media screen and (min-width: 401px) and (max-width:768px) {
    .sob-polaroid {
        object-fit: cover;
        aspect-ratio: 1/1;
        overflow: hidden;
    }
}

@media screen and (min-width: 768px) {
    .brand-card-body .text-truncate {
        max-width: 80%;
    }
}