body {
    background-color: #eceef4;
    color: rgba(0, 0, 0, 0.54);
}

.collection-breadcrumbs {
    width: 85%;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 16px;
    padding-left: 8px;
}

.collection {
    width: 85%;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 16px;
    margin-bottom: 16px;
}

@media (max-width: 800px){
    .collection {
        width: 100%;
        display: flex;
        flex-direction: column;
        margin-top: 0px;
    }
}

/*-------Collection Details---------*/

.collection .collection-details {
    width: 60%;
    display: inline-block;
    vertical-align: top;      
}

.collection-details .merchant-list {
    overflow: auto;
    border-radius: 12px;
    background-color: white;
    padding: 20px 12px 20px;
}

.merchant-list .error {
    color: #666e72;
    text-align: center;
    padding: 32px;
    padding-bottom: 12px;
    font-weight: bold;
    font-size: 24px;
    background: white;
    border-radius: 12px;
}

.merchant-list .cta-holder {
    margin: 24px 0;
    text-align: center;
    clear: both;
    position: relative;
    top: 16px;
}

.cta-holder .no-collection-cta {
    padding: 10px 12px;
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: inline-block;
    background: rgb(46,16,142);
    background: linear-gradient(152deg, rgba(46,16,142,1) 0%, rgba(239,28,116,1) 100%);
}

.error .no-collection-found {
    width: 100%;
}

@media (max-width: 800px){
    .collection .collection-details {
        width: 100%;
        display: block;       
    }

    .collection-details .merchant-list {
        padding: 8px;
        background: #fff;
        overflow: hidden;
    }
}

/*-------Collection Header---------*/

.collection-details .collection-header {
    width: 100%;
    height: auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.12);
    margin-bottom: 16px;
}

.collection-header .collection-banner-holder {
    height: 256px;
    overflow: hidden;
}

.collection-banner-holder .collection-banner {
    width: 100%;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    overflow: hidden;
    object-position: 0 -24px;
}

.collection-header .collection-name {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.4;
    text-align: left;
    padding-top: 16px;
    padding-bottom: 4px;
    padding-left: 16px;
    color: rgba(0, 0, 0, 0.87)
}

.collection-header .collection-description {
    font-size: 16px;
    line-height: 1.25;
    text-align: left;
    padding-left: 16px;
    padding-bottom: 16px;
}

.collection-name .places {
    font-size: 16px;
    font-weight: 500;
}

@media (max-width: 800px){
    .collection-details .collection-header-holder {
        padding-left: 0;
        padding-right: 0;
    }

    .collection-header-holder .collection-header {
        border-radius: 0;
    }

    .collection-header .collection-banner-holder {
        height: auto;
    }

    .collection-banner-holder .collection-banner {
        border-radius: 0;
    }

    .collection-header .collection-name {
        padding-left: 0;
        padding-top: 4px;
    }

    .collection-header .collection-description {
        padding-left: 0;
    }

    .collection-header .collection-headings {
        padding: 8px 16px;
    }
}

/*--------------Other Collections--------------*/

.collection-details .other-collections {
    background-color: #fff;
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.12);
    padding: 16px;
    display: block;
    margin: 8px;
    margin-top: 24px;
    clear: both;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4;
    text-align: left;
    color: rgba(0, 0, 0, 0.87);
}

/*-------Collection Card---------*/

.collections-list-holder .collection-card-holder {
    width: 33%;
    display: inline-block;
    float: left;
    padding: 8px;
}

.collection-card-holder .collection-card {
    width: 100%;
    background-color: white;
    border-radius: 8px;
    height: auto;
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.12);
}

.collection-card .collection-card-details {
    overflow: hidden;
    position: relative;
    height: 105px;
}

.collection-card-details img {
    width: 100%;
    height: 100%;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.collection-card-details h4 {
    position: absolute;
    right: 0;
    bottom: 0;
    border-top-left-radius: 4px;
    padding: 2px 6px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 12px;
    line-height: 1.33;
    text-align: center;
}

.collection-card h3 {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.25;
    text-align: left;
    color: rgba(0, 0, 0, 0.87);
    padding: 0 8px;
    margin-top: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.collection-card h5 {
    font-size: 14px;
    line-height: 1.43;
    color: rgba(0, 0, 0, 0.54);
    text-align: left;
    padding: 0 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 40px;
}

.collection-details .center {
    text-align: center;
    padding: 16px;
    clear: both;
}

.collection-details .view-all-collections {
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    background-color: #338aed;
    padding: 8px 16px;
    margin: 16px;
    border-radius: 4px;
}

@media (max-width: 800px) {
    .collections-list-holder .collection-card-holder {
        width: 50%;
  }

    .collection-card-holder .collection-card {
        border-radius: 4px;
    }
    

    .collection-card-details img {
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
    }

    .collection-banner-holder .collection-banner {
        object-position: initial;
    }
}

/*-------Gap---------*/

.collection .gap {
    width: 4%;
    display: inline-block;
}

@media (max-width: 800px) {
  .collection .gap {
        width: 0%;
    }
}

/*-------Sidebar---------*/

.collection .sidebar{
    width: 36%;
    display: inline-block;
}

@media (max-width: 800px) {
    .collection .sidebar {
        width: 100%;
        display: block;
    }
}

.vouchers {
    display: inline-block;
    width: 50%;
    float: left;
    padding: 0 8px;
    margin-bottom: 16px;
}

.vouchers .voucher {
    cursor: pointer;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    text-align: left;
    background: #fff;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.vouchers .voucher:hover {
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.12);
}

.vouchers .banner-holder {
    height: 104px;
    object-fit: fill;
    background: #e5e5e5;
    overflow: hidden;
    position: relative;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    display: block;
    height: 76px;
    width: 76px;
    border-radius: 4px;
    display: inline-block;
    vertical-align: middle;
    z-index: 1;
    margin-top: 8px;
    margin-left: 12px;
}

.banner-holder .banner {
    height: 100%;
    width: 100%;
    object-fit: cover;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    transition: all .5s;
}

.banner-holder.loaded .banner {
    opacity: 1;
}

.banner-holder .voucher-banner {
    opacity: 1;
    width: 100%;
    height: 100%;	
}

.voucher .detail-holder {
    display: inline-block;
    vertical-align: middle;
    padding-left: 10px;
    margin-top: 8px;
    width: 74%;
    min-height: 72px;
}

.voucher .voucher-merchant-details {
    width: 100%;
    position: relative;
}

.voucher .voucher-merchant-details .merchant-logo {
    position: absolute;
    top: 12px;
    left: 16px;
    height: 40px;
    width: 40px;
    border-radius: 2px;
    border: solid 1px #e5e5e5;
    z-index: 20;
}

.voucher .voucher-merchant-details h3 {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.25;
    color: rgba(0, 0, 0, 0.87);
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    height: 20px;
    display: -webkit-box;
}

.voucher .voucher-merchant-details .location {
    padding-left: 64px;
}

.voucher .voucher-merchant-details .locality {
  font-size: 14px;
  line-height: 1.43;
  color: rgba(0, 0, 0, 0.87);
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  height: 20px;
  display: -webkit-box;
}

.voucher .voucher-details {
    width: 100%;
    padding: 12px 16px;
    padding-top: 0;
    position: relative;
}

.voucher-details h3 {
    font-size: 14px;
    line-height: 1.43;
    color: rgba(0, 0, 0, 0.54);
}

.voucher-details h3 .voucher-price {
    color: rgba(0, 0, 0, 0.54);
    font-weight: bold;
}

.voucher-details h5 {
    font-size: 14px;
    line-height: 1.43;
    color: rgba(0, 0, 0, 0.54);
}

.voucher-details .voucher-off {
    position: absolute;
    right: 16px;
    bottom: 0;
    border: none;
    border-radius: 2px;
    background-color: #00ACB7;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.43;
    color: #ffffff;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.voucher-footer .voucher-details {
    display: inline-block;
    padding: 0;
    width: 100%;
}

.voucher-details .starting-from {
    font-size: 12px;
    line-height: 16px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.87);
}

.starting-from .voucher-usable-percent {
    background: #00bfa5;
    color: #fff;
    padding: 4px;
    border-radius: 4px;
    margin-left: 2px;
    font-size: 10px;
    vertical-align: middle;
}

.voucher-details .bought-redemption {
    font-size: 10px;
    color: rgba(0,0,0,.54);
    margin-top: 8px;
    line-height: 16px;
    margin-top: 4px;
}

.voucher-details .payments-info {
    margin-top: 2px;
    font-size: 10px;
    color: rgba(0,0,0,0.87);
    position: relative;
}

.payments-info .payments::before {
    content: "+";
    margin-right: 6px;
    position: relative;
}

.payments-info .payments:first-child::before {
    content: "";
    margin: 0;
}

.payments-info .payment-icon {
    height: 16px;
    vertical-align: middle;
}

.payments-info .payments {
    margin-right: 6px;
    font-weight: bold;
}

.payments.magic-pay {
    color: #7e58c2
}

.voucher-footer .redeem-cta {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
}

.redeem-cta .redeem-icon {
    vertical-align: middle;
}

.voucher .voucher-merchant-details .locality {
    font-size: 10px;
    line-height: 12px;
    height: auto;
    color: rgba(0, 0, 0, 0.87);
}

.voucher .subcat {
    font-size: 10px;
    line-height: 12px;
    color: rgba(0, 0, 0, 0.54);
}

.voucher-merchant-details .magicpay {
    margin-top: 4px
}

.voucher-merchant-details .cft-detail-row {
    margin-top: 6px;
    font-size: 10px;
    line-height: 12px;
    color: rgba(0, 0, 0, 0.87);
}

.cft-detail-row .earn-msg::before {
    content: ".";
    margin: 0 2px;
    position: relative;
    bottom: 2px;
    font-size: 16px;
}

.cft-detail-row .earn-msg {
    font-weight: bold;
}

.magicpay .icon {
    vertical-align: middle
}

.magicpay .magicpay-text {
    vertical-align: middle;
    color: rgba(0,0,0,.54);
    font-size: 12px;
}

.detail-holder .merchant-actions {
    margin-top: 8px;
}

.merchant-banner-holder .rating {
    top: 16px;
}

@media (max-width: 800px) {
    .vouchers .arrow-holder {
        width: 100%;
    }

    .vouchers {
        width: 100%;
        padding: 0;
        margin-bottom: 0;
    }

    .vouchers .voucher {
        box-shadow: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.12);
        padding: 16px 8px;
        border-radius: 0;
        margin-bottom: 0;
    }
    
    .vouchers .banner-holder {
        height: 76px;
        width: 76px;
        border-radius: 4px;
        display: inline-block;
        vertical-align: middle;
        position: absolute;
        z-index: 1;
        margin: 0;
    }

    .vouchers .voucher:hover {
        box-shadow: none
    }

    .voucher-details .voucher-off {
        position: relative;
        right: auto;
        transform: none;
        margin-top: 4px;
    }

    .voucher .voucher-details {
        padding: 0 8px 8px;
        border-radius: 8px;
    }

    .voucher .detail-holder {
        position: relative;
        padding-left: 80px;
        min-height: 80px;
        margin: 0;
        width: 100%;
    }

    .detail-holder .merchant-actions {
        padding: 4px 8px;
        margin: 0;
    }

    .voucher .voucher-merchant-details {
        padding: 8px;
        padding-left: 4px;
        padding-top: 0;
        display: inline-block;
        width: 100%;
        border-radius: 8px;
        vertical-align: top;
        max-width: none;
    }

    .voucher .voucher-merchant-details h3 {
        padding-left: 0;
    }

    .voucher .voucher-merchant-details .locality {
        padding-left: 0;
    }

    .voucher .voucher-footer {
        background: #f7f7fa;
        margin: 0;
        margin-top: 16px;
        padding: 12px;
        position: relative;
        border-radius: 8px;
        position: relative;
    }
    
    .voucher-footer .voucher-details {
        display: inline-block;
        padding: 0;
        width: 100%;
    }
    
    .voucher-details .starting-from {
        font-size: 12px;
        line-height: 16px;
        font-weight: bold;
        color: rgba(0, 0, 0, 0.87);
    }
    
    .starting-from .voucher-usable-percent {
        background: #00bfa5;
        color: #fff;
        padding: 4px;
        border-radius: 4px;
        margin-left: 2px;
        font-size: 10px;
        vertical-align: middle;
    }
    
    .voucher-details .bought-redemption {
        font-size: 10px;
        color: rgba(0,0,0,.54);
        margin-top: 8px;
        line-height: 16px;
        margin-top: 4px;
    }
    
    .voucher-details .payments-info {
        margin-top: 2px;
        font-size: 10px;
        color: rgba(0,0,0,0.87);
        position: relative;
    }
    
    .payments-info .payments::before {
        content: "+";
        margin-right: 6px;
        position: relative;
    }
    
    .payments-info .payments:first-child::before {
        content: "";
        margin: 0;
    }
    
    .payments-info .payment-icon {
        height: 16px;
        vertical-align: middle;
    }
    
    .payments-info .payments {
        margin-right: 6px;
        font-weight: bold;
    }

    .payments.magic-pay {
        color: #7e58c2
    }
    
    .voucher-footer .redeem-cta {
        position: absolute;
        top: 50%;
        right: 8px;
        transform: translateY(-50%);
    }
    
    .redeem-cta .redeem-icon {
        vertical-align: middle;
    }

    .voucher .voucher-merchant-details .locality {
        font-size: 10px;
        line-height: 12px;
        height: auto;
        color: rgba(0, 0, 0, 0.87);
    }

    .voucher .subcat {
        font-size: 10px;
        line-height: 12px;
        color: rgba(0, 0, 0, 0.54);
    }

    .voucher-merchant-details .magicpay {
        margin-top: 4px
    }

    .voucher-merchant-details .cft-detail-row {
        margin-top: 6px;
        font-size: 10px;
        line-height: 12px;
        color: rgba(0, 0, 0, 0.87);
    }

    .cft-detail-row .earn-msg::before {
        content: ".";
        margin: 0 2px;
        position: relative;
        bottom: 2px;
        font-size: 16px;
    }

    .cft-detail-row .earn-msg {
        font-weight: bold;
    }
    
    .magicpay .icon {
        vertical-align: middle
    }
    
    .magicpay .magicpay-text {
        vertical-align: middle;
        color: rgba(0,0,0,.54);
        font-size: 12px;
    }
}

/* Sort */
.collection-details .filters {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 0;
    padding-bottom: 20px;
}

.filters .filter {
    padding: 8px 12px;
    background: #fff;
    color: rgba(0,0,0,.54);
    display: inline-block;
    border-radius: 4px;
    margin: 0 8px;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.12);
}

.filters .filter:first-child {
    margin-left: 0;
}

.filter.active {
    background-color: #ef1c74;
    color: #fff;
}

.filters .filter:hover {
    background-color: #ef1c74;
    color: #fff;
}

@media(max-width: 800px) {
    .collection-details .filters {
        padding-bottom: 10px;
    }
    .filters .filter:first-child {
        margin-left: 8px;
    }
}

::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

@media(max-width: 960px) {
    .header .header-search {
        display: none;
    }

    .collection .sidebar {
        width: 100%;
        display: block;
    }

    .collection .collection-details {
        width: 100%;
        display: block;
    }

    .header .search {
        top: 0;
        line-height: 36px;
        display: block !important;
    }
}

@media(max-width: 800px) {
    .header .search {
        line-height: 45px;
    }

    /* Hero banners */

    .banners-holder {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        padding: 16px 0;
        height: 214px;
        display: flex;
        scroll-behavior: smooth;
        border-bottom: 1px solid #e0e0e0;
    }

    .banners-holder .banner-image-holder {
        cursor: pointer;
        display: inline-block;
        background: #fff;
        margin-right: 8px;
    }

    .banners-holder .banner-image-holder:first-child {
        padding-left: 6px;
    }

    .banner-image-holder .banner-image {
        height: 180px;
        object-fit: fill;
        background: #e5e5e5;
        position: relative;
        border-radius: 8px;
        box-shadow: 0 3px 8px 0 rgba(0,0,0,.12);
    }

}