@font-face {
    font-family: 'Lato';
    src: url('../assets/fonts/lato/Lato-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* body {
    font-family:  'Lato', sans-serif;
} */

.page-wrapper .page-body-wrapper {
    background-color: white;
}

* {
    scrollbar-color: transparent transparent !important;
}


.page-header .header-wrapper .header-logo-wrapper i{
    font-size: 20px;
    color: #38a3a5;
}
.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper {
    width: 225px;
}

.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .sidebar-main .sidebar-links .simplebar-wrapper .simplebar-mask .simplebar-content-wrapper .simplebar-content > li .sidebar-link {
    display: flex;
    align-items: center;
}

.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .sidebar-main .sidebar-links .simplebar-wrapper .simplebar-mask .simplebar-content-wrapper .simplebar-content > li .sidebar-link.active {
    margin-bottom: 0px;
}

.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .sidebar-main .sidebar-links .simplebar-wrapper .simplebar-mask .simplebar-content-wrapper .simplebar-content > li .sidebar-link.active {
    background-color: white;
}

.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .sidebar-main .sidebar-links li a span {
    color: #38a3a5;
}

.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .sidebar-main .sidebar-links .simplebar-wrapper .simplebar-mask .simplebar-content-wrapper .simplebar-content > li .sidebar-link.active span {
    color: #fb549a;
}


.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .sidebar-main .sidebar-links li a svg {
    width: 29px;
    height: 29px;
    margin-right: 10px;
    vertical-align: -2px;
    float: none;
    transition: all 0.3s ease;
}

.page-wrapper .page-body-wrapper div.sidebar-wrapper .sidebar-main .sidebar-links .simplebar-wrapper .simplebar-mask .simplebar-content-wrapper .simplebar-content > li a.active svg path {
    fill: #fb549a;
}

.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .sidebar-main .sidebar-links .simplebar-wrapper .simplebar-mask .simplebar-content-wrapper .simplebar-content > li .sidebar-link::after {
    content: none;
    color: white;
}

.page-wrapper.compact-wrapper .page-header .header-wrapper .toggle-sidebar {
    border-right: none !important;
}

.green-content {
    color: #38a3a5;
}

.background {
    background-color: #faf8fa;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.3);
}

.row img {
    display: block;
    margin: auto;
}


.logo img {
    max-width: 180px;
    height: auto; 
    margin: 0 auto;
}

.brands-list,
.menus-list,
.trending-list,
.latest-promotion-list {
    overflow: hidden;
    width: 100%;
}


.sidebar {
    position: fixed;
    left: 0px;
    /* Sidebar initially hidden off the screen */
    z-index: 1000;
    padding: 0;
    overflow-x: hidden;
    transition: left 0.3s ease;
    /* Smooth transition for sidebar */
    width: 250px;
    /* Width of the sidebar */
    background-color: black;
    height: 100%;
}

.sidebar.open {
    left: 0;
    /* Show sidebar when open */
}

.navbar-toggler {
    outline: none;
}

/* Optional styles for the content when the sidebar is open */
.page-body-wrapper {
    transition: margin-left 0.3s ease;
    /* Smooth transition for page content */
}

.page-body-wrapper.sidebar-open {
    margin-left: 250px;
    /* Adjust based on the sidebar width */
}

.page-body .category {
    background-color: #ffffff;
}

.bg-overlay.active {
    top: 45px !important;
}

.fixed-ratio-image {
    width: 240px;
    height: 150px;
    object-fit: cover;
    /* This will cover the container and maintain aspect ratio */
}

.image-random{
    width: 200px;
    height: 150px;
}

h1 {
    color: #003366;
}

a {
    color: inherit;
    /* Inherits color from the parent */
    text-decoration: none;
    /* Removes underline */
}

p{
    letter-spacing: normal;
    line-height: normal;
}

.page-wrapper .page-body-wrapper .card {
    margin-bottom: 0px;
}

.banner .banner-image {
    display: block;
    height: 220px;
    border-radius: 10px;
    object-fit: cover;
    width: 100%;
}

.whats-trending-title, 
.latest-promotion-title,
.deals-of-the-day .title{
    font-size: 24px; 
    font-weight: 500; 
    text-align: left; 
    color: #036;
}

.whats-trending-card,
.latest-promotion-card{
    width: 200px !important; 
    height: 300px;
    gap: 4px;
    box-shadow: none;
}

.whats-trending-card img,
.latest-promotion-card img{
    width: 200px !important; 
    height: 150px !important;
}


.whats-trending-card .card-title,
.latest-promotion-card .card-title{
    color: #fb549a;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px !important;
}

.whats-trending-card .card-text, .whats-trending-card .card-text span, .whats-trending-card .card-text span p,
.latest-promotion-card .card-text, .latest-promotion-card .card-text span, .latest-promotion-card .card-text p {
    color: #0a519d;
    font-size: 13px;
    margin-top: 0px;
    font-family: Rubik, sans-serif !important;
    line-height: normal !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block; 
    max-width: 100%;
}
.whats-trending-card .card-text ul,
.latest-promotion-card  .card-text ul {
    list-style-type: none; 
    padding-left: 0; 
    margin: 0; 
}
.whats-trending-card  .card-text ul,
.latest-promotion-card  .card-text ul li {
    display: inline; 
    margin-right: 0.5rem; 
}
.whats-trending-card .card-text ul li:not(:first-child),
.latest-promotion-card .card-text ul li:not(:first-child),
.whats-trending-card .card-text p:not(:first-child),
.latest-promotion-card .card-text p:not(:first-child) {
    display: none; 
}

.deals-of-the-day img{
    height: 220px;
    object-fit: cover;
}

.deals-of-the-day .merchant-business-name{
    font-size: 12px; 
    text-align: left; 
    color: #036;
    margin-bottom: 5px;
}

.deals-of-the-day .card-body {
    width: 100%;
    max-width: 100%;
    overflow: hidden; 
}


.deals-of-the-day .card-title {
    color: #fb549a;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px !important;
    letter-spacing: normal;
    overflow: hidden; 
    text-overflow: ellipsis; 
    white-space: nowrap; 
    display: block; 
    width: 100%; 
}

.deals-of-the-day .card-content {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    align-self: stretch; 
}


.price-discount {
    display: flex; 
    justify-content: flex-start; 
    align-items: flex-start; 
    gap: 12px;
}


.original-price {
    font-size: 16px;
    text-align: left;
    color: #a4a3a3;
}

.promotion-price {
    font-size: 16px;
    text-align: left;
    color: #fb549a;
    font-weight: 500;
}

.deals-of-the-day .location {
    display: flex; 
    justify-content: flex-start; 
    gap: 4px;
}


.deals-of-the-day .location .location-icon svg{
   width: 18px;
   height: 19px; 
}
.deals-of-the-day .location p{
    font-size: 14px; 
    text-align: left; 
    color: #036;
 }

.deals-of-the-day .card-text, .deals-of-the-day .card-text span, .deals-of-the-day .card-text p{
    margin-top: 0px;
    font-size: 13px; 
    text-align: left; 
    color: #0a519d;
    font-family: Rubik, sans-serif !important;
    line-height: normal !important;
    display: inline-block;
    overflow: hidden; 
    text-overflow: ellipsis; 
    max-width: 100%;
    white-space: nowrap;
}

.deals-of-the-day .card-text ul {
    list-style-type: none; 
    padding-left: 0; 
    margin: 0; 
}

.deals-of-the-day .card-text ul li {
    display: inline; 
    margin-right: 0.5rem; 
}
.deals-of-the-day .card-text ul li:not(:first-child) {
    display: none; 

}


.deals-of-the-day{
    margin-bottom: 20px !important;
}

.first-random, 
.second-random{
    margin-bottom: 40px !important;
}

.third-random{
    margin-bottom: 60px !important;
}

.first-random .first-random-promo:hover,
.second-random .second-random-promo:hover,
.third-random .third-random-promo:hover {
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.3);
}

.first-random .category-title,
.second-random .category-title,
.third-random .category-title{
    display: flex; 
    justify-content: flex-start; 
    flex-grow: 1;  
    gap: 6px;
    padding-top: 5px;
    padding-left: 5px;
}

.first-random .category-title p,
.second-random .category-title p,
.third-random .category-title p{
    font-size: 24px; 
    font-weight: 700; 
    text-align: left; 
    color: #036;
}

.first-random .category-title svg path,
.second-random .category-title svg path,
.third-random .category-title svg path{
    stroke: #fb549a;
}

.first-random .card-merchant,
.second-random .card-merchant,
.third-random .card-merchant {
    font-size: 12px; 
    text-align: left; 
    color: #036;
    margin-bottom: 2px;
}

.first-random .card-title,
.second-random .card-title,
.third-random .card-title {
    font-size: 18px; 
    font-weight: 500; 
    text-align: left; 
    color: #fb549a;
}

.first-random .location,
.second-random .location,
.third-random .location {
    display: flex; 
    justify-content: flex-start; 
    gap: 4px;
    margin-bottom: 10px;
}

.first-random .location svg,
.second-random .location svg,
.third-random .location svg {
    width: 16px;
    height: 16px;
}

.first-random .location p,
.second-random .location p,
.third-random .location p{
    font-size: 14px;
    text-align: left; 
    color: #036;
}

.first-random .price-discount,
.second-random .price-discount,
.third-random .price-discount {
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
    align-self: stretch; 
}

.first-random .price-discount .original-price,
.second-random .price-discount .original-price,
.third-random .price-discount .original-price{
    font-size: 18px; 
    text-align: left; 
    color: #88c1ed;
    text-decoration: line-through;
}

.first-random .price-discount .promotion-price,
.second-random .price-discount .promotion-price,
.third-random .price-discount .promotion-price{
    font-size: 18px; 
    font-weight: 500; 
    text-align: left; 
    color: #fb549a;
}

.first-random .discount-percentage,
.second-random .discount-percentage,
.third-random .discount-percentage {
    font-size: 16px;
    padding: 4px 8px;
    background-color: #57cc99;
}


.btn-category{
    height: 50px;
}

.btn-category .btn-category-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-category .btn-category-content .btn-category-icon{
    display: flex;
    align-items: center;
}

.btn-category .btn-category-content svg{
    font-size: 1rem;
    line-height: 1.25rem;
}

.btn-category .btn-category-content .category-text{
    font-size: 12px;
    margin-left: 5px;
    line-height: 14px;
}


.green-content {
    color: #38a3a5;
}


.deals-of-day-title {
    font-size: 12px;
    color: #104070;
}

.card-merchant {
    font-size: 12px;
    color: #104070;
}

.first-random-promo, .third-random-promo{
    background-color: #fff9fa;
    border-radius: 15px 0 0 15px;
}

.second-random-promo{
    background-color: #f4eee6;
    border-radius: 15px 0 0 15px;
}

.horizontal-line {
    margin-top: 0;
    margin-bottom: 10px;
}

.card .first-random-promo-card-list, 
.card .second-random-promo-card-list,
.card .third-random-promo-card-list {
    background-color: #ffffff !important;
    box-shadow: none;
    border-radius: 15px !important;
}

.tap-top{
    background-color: #c31162;
    opacity: 0.5;
    box-shadow: none;
}

.tap-top svg{
    margin-top: 5px;
    width: 15px;
    height: 15px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three columns with equal width */
    gap: 10px;
}

.menu-list-category {
  margin: 20px 0;
}

.menu-list-category .btn-category{
    background-color: #f5fafa;
    color: #62b6b8;
    padding: 4px 6px;
}

.menu-list-category .btn-category .row {
    display: flex;
    align-items: center;
}
.menu-list-category .btn-category .col-auto {
    padding-right: 5px; /* Adjust as needed */
}

.menu-list-category .btn-category .menu-text {
   font-size: 12px;
   padding-left: 0px;
}

.btn-pink {
    background-color: #fb549a !important;
    color: white !important;
}

.btn-pink svg path {
    fill: white !important;
}

.card-text ul{
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
    font-family: "Open Sans", Arial, sans-serif;
    letter-spacing: normal;
    margin-top: 0px;
    margin-bottom: 0px;
}

.card-text li{
    display: list-item;
    text-align: -webkit-match-parent;
    unicode-bidi: isolate;
}

.hidden-location{
    visibility: hidden;
}
  
@media (min-width: 0px) and (max-width: 767px) {
    .col-sm-6 {
        flex: 0 0 auto;
        width: 100%;
    }
    .main-content {
        max-width: 100%; 
        margin: 0 auto;
    }

    .page-wrapper.compact-wrapper .page-header {
        margin-left: 0 !important;
    }

    .page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper {
        height: 100%;
    }

    .tap-top {
        bottom: 55px;
        right: 40px;
        color: #fff;
        background: #c31162;
        border: none;
        box-shadow: none;
    }

    .single-random-promo {
        width: 115% !important;
    }

    .multiple-random-promo{
        width: 105% !important;
    }

}

/* Additional styles for landscape orientation on smaller devices */
@media (min-width: 0px) and (max-width: 767px) and (orientation: landscape) {
    .col-sm-6 {
        flex: 0 0 auto;
        width: 100%;
    }
    .main-content {
        max-width: 375px; 
        margin: 0 auto;
    }

    .page-wrapper.compact-wrapper .page-header {
        margin-left: 0 !important;
        width: 375px !important;
    }

    .page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper {
        height: 100%;
    }

    .tap-top {
        right: 220px;
        color: #fff;
        background: #c31162;
        border: none;
        box-shadow: none;
    }

    .single-random-promo {
        width: 115% !important;
    }

    .multiple-random-promo{
        width: 105% !important;
    }

}

/* Additional styles for portrait orientation on larger devices 820px*/
@media (min-width: 768px)  and (max-width: 820px)  {
    .col-sm-6 {
        flex: 0 0 auto;
        width: 100%;
    }
    .page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper {
        height: 100%;
    }
    .main-content {
        max-width: 374px; 
        margin: 0 auto;
    }
    .page-wrapper.compact-wrapper .page-header {
        margin-left: 0 !important;
        width: 375px !important;
    }

    .tap-top {
        bottom: 50px;
        right: 240px;
        color: #fff;
        background: #c31162;
        border: none;
        box-shadow: none;
    }

    .single-random-promo {
        width: 120% !important;
    }

    .multiple-random-promo{
        width: 110% !important;
    }

}

@media (min-width: 821px)  {
    .col-sm-6 {
        flex: 0 0 auto;
        width: 100%;
    }
    .page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper {
        height: 100%;
    }
    .main-content {
        max-width: 80%; 
        margin: 0 auto;
    }
    .page-wrapper.compact-wrapper .page-header {
        width: calc(80% - 265px) !important;
    }
    .page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper {
        width: 265px;
    }

    .tap-top {
        right: 120px;
        color: #fff;
        background: #c31162;
        border: none;
        box-shadow: none;
    }

    .single-random-promo {
        width: 120% !important;
    }

    .multiple-random-promo{
        width: 110% !important;
    }

    .cookies-divider {
        width: 100%;
    }

    .banner img{
        height: 300px !important;
    }

}

@media (min-width: 912px) {
    .page-wrapper.compact-wrapper .page-header {
        width: calc(80% - 1px) !important;
    }

    .deals-of-the-day .d-flex{
        display: block !important;
        align-items: center;
    }

    .deals-of-the-day img{
        width: 100%;
        height: 340px;
    }
    
}

@media (min-width: 1024px) {
    .page-wrapper.compact-wrapper .page-header {
        width: calc(80% - 265px) !important;
    }
   
    .deals-of-the-day .d-flex{
        display: block !important;
        align-items: center;
    }

    .deals-of-the-day img{
        width: 100%;
        height: 340px;
    }
}

@media only screen and (max-width: 991.98px) {
    .page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper {
        top: 56px !important;
    }
    .bg-overlay.active {
        top: 56px !important;
    }

    .page-wrapper .page-header .header-wrapper {
        padding: 13px 15px !important;
    }
    .simplebar-content-wrapper {
        top: 0px;
    }

    .simplebar-mask {
        top: 0px !important;
    }

}