body {
    height: auto;
    min-height: 100%;
}

#discover-react {
    margin-top: 36px;
}

#discover-react.no-margin {
    margin-top: 0;
}

.discover-page {
    margin-bottom: 60px;
    margin-top: 12px;
}

.discover-page .voucher-collection-container {
    width: 100%;
    margin: auto;
}

.discover-page .discover-container {
    width: 96%;
    margin: auto;
    overflow-x: scroll;
}

.discover-page #discover-strip-home-react {
    height: auto;
}

.discover-page #discover-strip-home-react .category {
    min-width: 100px;
    min-height: 100px;
}

.discover-page .category .category_icon {
    width: 80px;
    height: 80px;
}

.infinite-load-container .loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-filters {
    display: flex;
    gap: 12px;
    overflow: scroll;
    padding: 12px calc(12px + 10%);
    width: 100%;
    background: white;
    z-index: 9;
    box-shadow: 0px 5px 12px rgb(55 62 125 / 8%);
}

@media (max-width:800px) {
    .quick-filters {
        border-radius: 0px;
        justify-content: flex-start;
        top: 122px;
        padding: 12px;
    }
}

.quick-filters>* {
    cursor: pointer;
}

.quick-filters .m-filter,
.quick-filters .q-filter {
    display: flex;
    min-width: max-content;
    align-items: center;
    gap: 0.6666667em;
    color: rgb(79, 79, 79);
    font-size: 12px;
    line-height: 1.333333em;
    padding: 0.6666667em;
    border: 0.5px solid #e8e8e8;
    border-radius: 0.6666667em;
}

.m-filter .m-filter-selection-count {
    padding: 2px;
    background-color: white;
    color: #6561E8;
    font-weight: 600;
    border-radius: 2px;
}

.q-filter .filter-logo {
    width: 18px;
    height: 18px;
}

.q-filter.disable {
    opacity: 0.4;
    pointer-events: none;
}

.q-filter.active,
.m-filter.active,
.q-filter.sort {
    background-color: #6561E8;
    color: white;
    font-weight: 600;
    border-color: #6561E8;
    order: -1;
}


.discover-page .store-result-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 20px;
    justify-content: center;
    padding: 12px 12px;
    width: 96%;
    margin: auto;
}

.store-result-container .store-card {
    width: 100%;
    /* display: flex; */
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 20px;
    justify-self: center;
    overflow: hidden;
    max-width: 420px;
    min-height: 230px;
    max-height: 260px;
}

.store-result-container .store-card:hover {
    box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.12);
}

.store-card .info-container {
    flex-basis: 100%;
    min-width: 0px;
    margin: 12px auto;
    padding: 0 8px;
}

.info-container .all-outlet-cta {
    font-size: 10px;
    line-height: 14px;
    color: #6561E8;
    background-color: #F5F5F5;
    border-radius: 6px;
    padding: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    font-weight: 600;
}

.all-outlet-cta .see-more-icon {
    height: 14px;
}

.info-container .row {
    display: flex;
    padding: 2px 0px;
    align-items: center;
}

.info-container .row.row-1 {
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.row.row-3,
.row.row-2,
.row.row-4 {
    font-size: 10px;
    line-height: 14px;
    color: #A0A0A0;
    min-height: 14px;
}

.row-2{
    justify-content: space-between;
    align-items: baseline;
}
.row-1 .name {
    overflow: hidden;
    color: var(--Primary-Black, #333);
    font-feature-settings: 'clig' off, 'liga' off;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-family: Poppins, 'sans-serif';
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px; /* 140% */
    padding: 4px 0;
}

.store_subtitle{
    color:  #696969;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Poppins, 'sans-serif';
    font-size: 16px !important;
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 125% */
}

.store_subtitle p{
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
      
}

.row-1 .save-message {
    font-size: 10px;
    line-height: 14px;
    font-weight: 600;
    color: #6561E8;
    display: flex;
    align-items: center;
    min-width: max-content;
    gap: 2px;
}

.store-card .rating-divider {
    display: flex;
    align-items: center;
}

.save_percent{
    font-size: 24px !important;
    line-height: 24px !important;
}
.rating-divider .divide {
    flex-basis: 100%;
    border: 1px solid #F5F5F5;
}

.rating-divider .rating-holder {
    display: flex;
    align-items: center;
    gap: 2px;
    color: white;
    font-size: 10px;
    line-height: 1.2em;
    border-radius: 2em;
    padding: 0.2em 0.6em;
}

.rating-holder .star-icon {
    width: 10px;
}

.save-message .wallet-icon {
    width: 14px;
}

.store-card .store-image-holder {
    width: 100%;
    min-width: 36%;
    min-height: 90px;
    max-height: 140px;
    display: block;
    position: relative;
    overflow: hidden;
}

.save_voucher_tag{
    border-radius: 0px 16px; 
    position:absolute; 
    top:0; 
    right:0; 
    font-weight:600;
     padding:6px 4px;
}

.misc_text1_style{
    text-align:right;
     width:50%;
      line-height:20px
}

.misc_text2_style{
    font-weight: 400;
}

.store_subtitle p{
    line-height: 20px;
}
.save_voucher_tag_text{
    text-align:center;
     line-height:20px; 
     font-size:16px
}

.store-image-holder .store-image {
    border-radius: 20px;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 90px;
    max-height: 140px;
    object-fit: cover;
}

.store-image-holder .store-tag {
    position: absolute;
    width: 80px;
    height: 20px;
    left: 10px;
    bottom: 10px;
}

@media (min-width: 800px) {

    .discover-page .voucher-collection-container,
    .discover-page .discover-container,
    .discover-page .store-result-container {
        width: 80%;
    }

    .discover-page .store-result-container {
        margin-top: 12px;
    }

    .row-1 .save-message {
        font-size: 12px;
        line-height: 16px;
    }

    .save-message .wallet-icon {
        height: 16px;
    }

    .row.row-3,
    .row.row-2,
    .row.row-4 {
        font-size: 14px;
        line-height: 20px;
    }

    .info-container .all-outlet-cta {
        font-size: 12px;
        line-height: 16px;
    }

    .all-outlet-cta .see-more-icon {
        height: 16px;
    }

    .rating-divider .rating-holder {
        font-size: 12px;
    }

    .dialog-body.filter {
        min-height: 500px;
    }
}

/* Dialog Boxes */

.fullscreen-loader,
.dialog-holder {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0px;
    left: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.12);
    z-index: 100;
    cursor: auto;
}

.dialog-holder .dialog-body {
    width: 100%;
    max-width: 450px;
    background: white;
    border-radius: 26px;
    display: flex;
    flex-direction: column;
    z-index: 100;
    max-height: 400px;
    min-height: 400px;
    position: relative;
}

@media (max-width:800px) {
    .discover-page {
        margin-top: 70px;
    }
    
    .dialog-holder .dialog-body {
        max-width: 360px;
    }

    .store_subtitle{
        font-size: 14px !important;
    }

    .row-1 .name {
        font-size: 18px;
        line-height: 20px;
    }
}

.dialog-body .filter-dialog-header,
.dialog-body .sort-dialog-header {
    display: flex;
    align-items: center;
    padding: 16px;
    justify-content: space-between;
    box-shadow: rgba(55, 62, 125, 0.08) 0px 5px 12px;
}

.filter-dialog-header .right-holder {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 32px;
}

.right-holder .text {
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
    color: rgb(51, 51, 51);
}

.filter-dialog-header .clear-filter-text {
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    text-align: right;
    color: rgb(236, 60, 60);
}

.dialog-body .filters {
    display: grid;
    grid-template-columns: 1fr 2fr;
    flex-grow: 1;
    overflow: hidden;
}

.filters .filterNames {
    background: rgba(224, 224, 224, 0.25);
    overflow: scroll;
}

.filterNames .filter-name {
    padding: 16px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    background: transparent;
    border: 0.01px solid rgb(232, 232, 232);
    cursor: pointer;
}

.filter-name.selected {
    color: rgb(101, 97, 232);
    font-weight: 600;
    background: white;
    border-right: 0px;
}

.filters .filter-options {
    background-color: white;
    display: flex;
    flex-direction: column;
    padding: 0px 20px;
    gap: 6px;
    overflow-x: hidden;
    overflow-y: scroll;
    position: relative;
}

.filter-options>label:last-child {
    margin-bottom: 50px;
}

.filter-options .filter-search {
    position: sticky;
    top: 0px;
    width: 100%;
    padding: 4px;
    background-color: white;
    z-index: 2;
}

.filter-search>input[type="text"] {
    width: 100%;
    border: 1px solid #A0A0A0;
    border-radius: 10px;
    caret-color: #6561E8;
    padding: 10px 14px;
}

.filter-options .MuiFormControlLabel-label {
    font-size: 14px;
    line-height: 20px;
    color: #333;
    font-weight: 500;
}

.filter-options .MuiSvgIcon-fontSizeSmall {
    font-size: 18px;
}

.filter-options .PrivateSwitchBase-root-1 {
    padding: 4px;
}

.filter-options .MuiCheckbox-colorSecondary.Mui-checked {
    color: rgb(101, 97, 232);
}

.dialog-body .MuiCheckbox-colorSecondary.Mui-checked:hover {
    background-color: rgba(101, 197, 232, 0.04);
}

.filter-options .MuiFormControlLabel-root {
    margin: 0px;
}

.filter-options .range-message {
    font-size: 14px;
    line-height: 18px;
    color: #A0A0A0;
}

.filter-options .current-values {
    font-size: 16px;
    line-height: 20px;
    color: #191C32;
    font-weight: 500;
}

.filter-options .slider-holder {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 6px;
}

.slider-holder .MuiSlider-root {
    color: #6561E8;
}

.slider-holder .MuiSlider-thumb {
    background-color: white;
    border: 1px solid;
}

.slider-holder .min-max-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    line-height: 16px;
    color: #A0A0A0;
}

.dialog-body .dialog-footer {
    position: sticky;
    top: 0px;
    padding: 16px;
    width: 100%;
    border-radius: 24px 24px 0px 0px;
}

.dialog-footer .apply-filters {
    width: 100%;
    background: linear-gradient(46.38deg, #6D6BED 20.46%, #8F8BF2 52.47%, #DBD0FE 110.16%);
    box-shadow: 0px 3px 0px #8E8CFE;
    border-radius: 8px;
    border: 0px;
    font-size: 16px;
    line-height: 20px;
    color: white;
    font-weight: 700;
    text-align: center;
    padding: 10px;
}

.dialog-body .sort-dialog-header {
    padding: 24px 16px;
}

.sort-dialog-header .heading {
    font-size: 16px;
    line-height: 16px;
    color: #333;
    font-weight: 600;
}

.dialog-body .filter-dialog-header {
    border-radius: 26px;
}

.dialog-body .sort-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
}

.sort-options .MuiRadio-colorSecondary.Mui-checked {
    color: #6561E8;
}

/* No Result Screen */

.no-results {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.no-results .no-result-logo {
    width: 40%;
    min-width: 196px;
    min-height: 196px;
}

.no-result-logo .no-results-found-icon {
    max-width: 100%;
    max-height: 100%;
}

.no-results .no-results-text {
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    font-weight: 600;
    color: #333;
}

.no-results .no-results-message {
    font-size: 12px;
    line-height: 14px;
    text-align: center;
    color: #A0A0A0;
}

a[data-type="dropdown_navigation"] .MuiButtonBase-root {
    display: flex;
    padding: 6px 16px;
    justify-content: flex-start;
}