:root {
    --featured-bg: #007bf3; 
    --featured-bg2: linear-gradient(90deg, #0061bd 0.36%, #0544a1 99.27%); 
    --see-deetsBg:  linear-gradient(90deg, #007bf3 50%, #45b7d1 100%);
    --txt-backWBlack: #e0e0e0; 
}

.dark-mode {
    --featured-bg: #0084fe;  
    --featured-bg2: linear-gradient(90deg, #0061bd 0.36%, #0048b3 99.27%);
    --see-deetsBg: linear-gradient(90deg, #007bf3 50%, #45b7d1 100%);
    --txt-backWBlack: #e0e0e0; 
}

.dealsFeaturedContainer {
    background: var(--featured-bg2);
    height:471px; 
    max-width: 100%; 
    margin: 0 auto; 
    padding: 1.1rem 0rem 0rem 2.5rem;
    margin: 1rem 1.25rem 2rem 0.75rem; 
    overflow: hidden;
    box-sizing: border-box; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.oLineNoDealsFeat {
    background:linear-gradient(98deg, #ffffff 30.36%, #e9e9e9 99.27%); 
}



.featuredDealsHeader {
    color: white;
    font-size: 2.35rem;
    font-weight: 800;
    z-index: 5;
    width: fit-content;
    padding-left: 0.1rem;
    margin-left: -0.5rem;
    border-radius: 0.5rem;
    letter-spacing: 0rem;
    line-height: 1.2;
    margin-bottom: 0.85rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border: 1px solid #1DA1F2;
    background:  linear-gradient(90deg, rgba(29, 161, 242, 0.2), rgba(109, 158, 235, 0.2)); 
    padding: 0.25rem 0.75rem;
}


.noFeaturedDealButton {
    background: #ffffff;
    border: 1px solid;
    color:#007dbd;
    transition: opacity 0.3s ease-in-out, transform 0.2s ease-in-out;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 6px;
    outline: none;
    cursor: pointer; 
    padding: 0.3rem 0.45rem;
}

.noFeaturedDealButton:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.regularDealsHeader {
    color: var(--dark-text);
    font-weight: 600; 
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    margin-left: 2rem;
}

.featured_deal_image {
    width: 100%;
    padding-top: 50.25%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px 10px 0px 0px;
    position: relative;
}

.arrow {
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    opacity: 0.9; 
    transition: opacity 0.22s ease-in-out; 
    padding: 0rem 0.25rem; 
}

.arrow:hover {
    opacity: 1; 
}

.left-arrow { 
    left: -0.15px;
}

.right-arrow {
    right: -0.15px;
}

.left-arrow.disabled,
.right-arrow.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.featuredSliderWrapper {
    position: relative;
    display: flex;
    justify-content: flex-start; 
    align-items: center;
    overflow: hidden;
    width: 100%;   
}

.featuredSlider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    transform: translateX(0);
    width: 100%; 
    height: 100%; 
}

.slider_businessName {
    font-size: 0.875rem;
    font-weight: 400;
    color: #212121;
    padding-left: 0.5rem;
    padding-top: 0.5rem;
}

.slider_detail_description {
    font-size: 1rem;
    font-weight: 700;
    color: #006add;
    padding-top: 1rem;
    opacity: 1;
    transition: text-decoration 0.32sease-in-out;
}



.featHeaderAndCallToAction {
    display: flex; 
    justify-content: space-between; 
}

.HotDealsNearbySVG {
    width: 150px; 
    height: auto; 
}

.noDealsFeatButton {
    font-family: "Inter"; 
    font-weight: 800; 
    color: #024769;
    background-color: #f9f9f9;
    border: 1px solid #024769;
    border-radius: 0.3rem;
    padding-top: 0.3rem; 
    padding-bottom: 0.3rem;
    opacity: 1; 
    transition: opacity 0.22s ease-in-out;  
    font-size: 1rem;
}

.noDealsFeatButton:hover {
    opacity: 0.7; 
}

.doYouWantToFeatureP {
    font-weight: 500;
    font-size: 0.875rem;
    font-family: 'Inter'; 
    color: #f3f3f3;
}

.doYouWantToFeatureButt {
    position: absolute;
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at 20% 20%, rgb(0, 60, 140) 0%, rgb(0, 80, 200) 50%, rgb(0, 40, 100, 0.95) 100%);
    outline: none;
    border-radius: 0.375rem;
    border: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.2;
    opacity: 1;
    cursor: pointer;
    transition: all 0.3s ease-in-out, box-shadow 0.4s ease, background 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    right: 1.05rem;
    padding: 0.65rem 1rem 0.45rem 1rem;
    top: 0.65rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25), 
                0 0 12px rgba(0, 80, 200, 0.5), 
                inset 0 1px 2px rgba(255, 255, 255, 0.3), 
                inset 0 -1px 2px rgba(0, 80, 200, 0.4); 
    transform-origin: center;
    text-rendering: optimizeLegibility;
    white-space: nowrap;
    will-change: transform, opacity, box-shadow, background;
    backface-visibility: hidden;
    background-size: 150% 150%;
    animation: subtlePulse 4s ease-in-out infinite;
}

/* Subtle gradient pulse animation */
@keyframes subtlePulse {
    0% { background-position: 20% 20%; }
    50% { background-position: 40% 40%; }
    100% { background-position: 20% 20%; }
}


.doYouWantToFeatureButt:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3),
                0 0 16px rgba(0, 80, 200, 0.7), 
                inset 0 1px 3px rgba(255, 255, 255, 0.4),
                inset 0 -1px 3px rgba(0, 80, 200, 0.5);
    background: radial-gradient(circle at 20% 20%, rgb(0, 70, 160) 0%, rgb(0, 90, 220) 50%, rgb(0, 40, 100, 0.95) 100%);
    filter: brightness(1.15);
}

.doYouWantToFeatureButt:active {
    transform: scale(0.98);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2),
                0 0 8px rgba(0, 80, 200, 0.4), 
                inset 0 1px 2px rgba(255, 255, 255, 0.2),
                inset 0 -1px 2px rgba(0, 80, 200, 0.4);
    filter: brightness(0.95);
    transition: all 0.15s ease-in-out;
}

.doYouWantToFeatureButt:focus {
    outline: 2px solid rgba(0, 80, 200, 0.7);
    outline-offset: 2px;
}

.doYouWantToFeatureButt:before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
    z-index: -1;
    border-radius: 0.5rem;
    opacity: 0;
    animation: shine 1.75s ease-in-out 5;
}

@keyframes shine {
    0% { opacity: 0; transform: translateX(-100%) skewX(-30deg); }
    20% { opacity: 0.8; transform: translateX(0) skewX(-30deg); }
    40% { opacity: 0; transform: translateX(100%) skewX(-30deg); }
    100% { opacity: 0; transform: translateX(100%) skewX(-30deg); }
}

.doYouWantToFeatureButt::after {
    content: "★";
    margin-left: 0.35rem;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    color: #d6eaff; 
    transition: transform 0.3s ease, color 0.3s ease;
}

.doYouWantToFeatureButt:hover::after {
    transform: scale(1.2) rotate(20deg);
    color: #ffffff;
}
.featuredSliderWrapper,
.featuredSlider,
.outLine,
.dealsH {
  -webkit-user-select: none;
  user-select: none;
  pointer-events: auto; 
}

.featuredSlider.dragging {
  pointer-events: auto;
}

.dealsH,
.dealsH * {
  pointer-events: auto;
  touch-action: manipulation; 
}


.featuredSliderWrapper {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
 
}

.featuredSlider {
  display: flex;
  transition: transform 0.3s ease-in-out; 
  transform: translateX(0);
  width: 100%;
  height: 100%;
  will-change: transform; 
  backface-visibility: hidden; 
  transform-style: preserve-3d; 
}

.dealsH {
  height: 100%;
  border-radius: 6px;
  position: relative;
  transform: translateZ(0); 
}

.featured_deal_image {
  width: 100%;
  padding-top: 50.25%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px 10px 0px 0px;
  position: relative;
  image-rendering: optimizeQuality; 
}

.featuredSlider.dragging {
  transition: none; 
  pointer-events: auto;
}

.outLine {
    width: 16.5rem; 
    height: 19.5rem; 
    background-color: #ffffff;
    border-radius: 6px;
    margin: 0.6rem 1rem 0.6rem 1rem;
    flex-shrink: 0;
    overflow: hidden; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); 
}

.featuredImageContainer {
    width: 100%;
    overflow: hidden;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.featuredImageDiv {
    width: 100%;
    padding-top: 56.25%; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.featuredMainTitle {
    color: #1a2526; 
    font-size: 0.95rem; 
    font-weight: 400; 
    line-height: 1.1; 
    margin: 0.5rem 0rem; 
    overflow-wrap: break-word; 
    font-family: 'Poppins'; 
    display: -webkit-box; 
    -webkit-box-orient: vertical;
    overflow: hidden; 
    -webkit-line-clamp: 1;
    letter-spacing: 0.1px;
    padding-top: 0.2rem;
    text-overflow: ellipsis;
    margin-left: 0.4rem; 
    margin-right: 0.25rem;
}

.featuredSubTitle {
    color: #1a2526;
    font-size: 1.1rem;
    min-height: 3.4rem;
    font-weight: 800;
    line-height: 1.1;
    padding: 0rem 0.15rem;
    overflow-wrap: break-word;
    font-family: 'Inter', sans-serif;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 3;
    text-overflow: ellipsis; 
    margin-left: 0.35rem; 
    margin-right: 0.25rem;
    margin-top: 0.5rem;
}

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

.featuredSeeDetailsButt, .featuredSeeDetailsButt2 {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 1rem;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    background: linear-gradient(90deg, #007bf3 50%, #45b7d1 100%);
    border: none;
    border-radius: 0 0 0px 0px;
    padding: 0.65rem 0;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15), 0 0 10px rgba(0, 123, 243, 0.3);
    transition: all 0.3s ease-in-out, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    overflow: hidden;
    will-change: transform;
    backface-visibility: hidden;
}

.featuredSeeDetailsButt:hover, .featuredSeeDetailsButt2:hover {
    transform: translateY(-0.5px) scale(1.02);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2), 0 0 15px rgba(0, 123, 243, 0.5);
    filter: brightness(1.1);
}

.featuredSeeDetailsButt:active, .featuredSeeDetailsButt2:active {
    transform: scale(0.98);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 8px rgba(0, 123, 243, 0.2);
    filter: brightness(0.95);
}

.featuredSeeDetailsButt:focus, .featuredSeeDetailsButt2:focus {
    outline: 2px solid rgba(0, 123, 243, 0.6);
    outline-offset: 2px;
}

.featuredSeeDetailsButt::after, .featuredSeeDetailsButt2::after {
    content: '›';
    margin-left: 0.4rem;
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 1em;
    vertical-align: baseline;
    line-height: 1;
}

.leftRightFeaturedContainer {
    display:flex; 
    position: absolute; 
}

.featuredSeeDetailsButt2 {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    bottom: -34px;
    padding: 0.65rem 0rem;
    background:  var(--see-deetsBg); /* Dark mode gradient for subtle depth */
    /* Darker shadows for dark mode */
    color: white; /* Keep white text for contrast */
}

.featuredSeeDetailsButt2:hover {
  
    filter: brightness(1.15); /* Slightly brighter on hover for visibility in dark mode */
}

.featuredSeeDetailsButt2:active {
   
    filter: brightness(0.85);
}

.featuredSeeDetailsButt2:focus {
    outline: 2px solid rgba(255, 255, 255, 0.3); /* Lighter outline for dark mode */
    outline-offset: 2px;
}

.leftRightFeaturedContainer {
    display:flex; 
    position: absolute; 
}

.hotDealsInCityContainer {
    display:flex;
    justify-content: space-between;
    margin-top: 1.35rem;
    font-size: 1.75rem;
}

.featuredSeeDetailsButt2 {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    bottom: -34px;
    padding: 0.65rem 0rem;
    box-shadow: none;
}


@media screen and (max-width: 476px) {
    .doYouWantToFeatureButt {
        position: absolute;
        top: auto;
        right: auto;
        bottom: 1rem;
    }

    .featuredDealMainTitle {
       -webkit-line-clamp: 2; 
        min-height: 2.1rem; 
    }

    .featuredSubTitle {
        -webkit-line-clamp: 3; 
        overflow: hidden; 
        min-height: 3.35rem;
    }

    .featuredMainTitle {
        margin-top: 0.3rem;
    }

}

@media screen and (max-width: 591px) {
    .featHeaderAndCallToAction {
        display: block;
    }

    .leftRightFeaturedContainer {
        top: 0.82rem;
        right: 1rem;
    }

    .doYouWantToFeatureP {
        margin-left: -0.35rem;
        margin-top: 0rem;
    }
}

@media screen and (min-width: 592px) and (max-width: 768px) {
    .leftRightFeaturedContainer {
        top: 0.875rem;
        left: 11.3rem;
    }
}

@media screen and (max-width: 1476px) {
    .dealsFeaturedContainer {
        margin: 0.5rem 0rem 0rem 0rem;
        border-radius: 0px;
        height: 370px;
        padding: 0.65rem 0rem 0rem 1.5rem;
    }

    .regularDealsHeader {
        margin-left: 0.95rem;
    }

    .outLine {
      
        margin: 0.6rem 0.5rem 0.6rem 0.5rem;
    }

    .featuredSubTitle {
        font-size: 1rem;
    }

    .featuredMainTitle {
        font-size: 0.9rem;
    }

    .featuredImageDiv {
        padding-top: 62%;
    }

    .featuredDealsHeader {
        font-size: 1.75rem;
        padding: 0.2rem 0.5rem 0.2rem 0.6rem;
        margin-bottom: 0.5rem;
    }

    .doYouWantToFeatureButt {
        font-size: 0.9rem;
    }

    .arrow {
        display: none !important;
    }
}

@media screen and (max-width: 768px) {
    .starFeatured {
        position: absolute;
        margin-left: 1.3rem;
        margin-top: 1.5rem;
        z-index: 2;
        rotate: 30deg;
    }
}

@media screen and (min-width: 768px) {
    .starFeatured {
        position: absolute;
        margin-left: 2.85rem;
        margin-top: 1.525rem;
        z-index: 2;
        rotate: 30deg;
    }

    .featuredDealsHeader {
        margin-left: 0.4rem;
    }

    .hotDealsInCityContainer {
        margin-top: 1rem;
    }
}

@media screen and (min-width: 768.1px) {
    .leftRightFeaturedContainer {
        bottom: 0.95rem;
        left: 2.6rem;
    }
}

@media screen and (min-width: 1476px) {
    .dealsFeaturedContainer {
        margin: 1.25rem 0rem 0.35rem 0rem;
    }
}

@media screen and (min-width: 1500px) {
    .dealsFeaturedContainer {
        border-radius: 1rem;
    }
}

/*Stuff for no featured deal section */
.outLineNoFeatured {
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.noFeaturedText {
    font-size: 1.1rem; 
    color: #1a2526; 
    font-weight: 800; 
    line-height: 1; 
    font-family: 'Inter';
}

.noFeaturedDealsButton {
    font-size: 1rem;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    background: linear-gradient(90deg, #007bf3 50%, #45b7d1 100%);
    border: none;
    border-radius: 0 0 0px 0px;
    padding: 0.65rem 1rem;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15), 0 0 10px rgba(0, 123, 243, 0.3);
    transition: all 0.3s ease-in-out, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    overflow: hidden;
    will-change: transform;
    backface-visibility: hidden;
    border-radius: 10px;
    opacity: 1; 
}

.noFeaturedDealsButton:active {
    transform: scale(0.98);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 8px rgba(0, 123, 243, 0.2);
    filter: brightness(0.95);
}

.noFeaturedDealsButton:focus {
    outline: 2px solid rgba(0, 123, 243, 0.6);
    outline-offset: 2px;
}

.noFeaturedDealsButton::after {
    content: '›';
    margin-left: 0.4rem;
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 1em;
    vertical-align: baseline;
    line-height: 1;
}

.noFeaturedDealsButton:hover::after {
    transform: translateX(6px);
}

.noFeaturedDealsButton:hover {
    opacity: 0.8; 
}

@media screen and (max-width: 475.9px) {
    .dealsFeaturedContainer {
        height: 387.5px;
    }

    .outline {
        height: 264px; 
    }

    .noFeatCont {
        margin-top: -0.5rem;
    }
}

@media screen and (min-width: 476px) {
     .noFeatCont {
        margin-top: 0.25rem;
    }
}

@media screen and (max-width: 576px ) {
    .noDealsSVGTextContainer {
        display:flex; 
        flex-direction:column; 
        justify-content: space-evenly;
        align-items:center; 
        height: 100%;
    }

    .outLineNoFeatured {
        margin:0.75rem 0.25rem;
        height: 250px;
        padding: 0rem 1.25rem 0.25rem 1.25rem;
        width: 250px;  
    }
    
    .HotDealsNearbySVG {
        width: 132px;
        height: auto;
        margin-top: 0.5rem;
    }

    .noFeaturedText {
        font-size: 1.25rem; 
        font-weight: 800; 
        line-height: 1.4;
    }

    .noFeaturedDealsButton {
        margin-top: 0.5rem;
    }

    #confirmLocationBtn {
        max-width: 75px;
    }
}

@media screen and (min-width: 576.1px) {
    .HotDealsNearbySVG {
        margin-right: 2rem;
        width: 130px; 
        height: auto;
        margin-top: -0.5rem;
    }

    .outLineNoFeatured {
        margin: 1rem auto 0rem auto;
        height: 220px;
        width: 464px; 
        max-width: 550px;
        padding: 1rem 1.5rem;
    }
    
    .noDealsSVGTextContainer {
        display:flex; 
        flex-direction: row;
        justify-content: center; 
        align-items:center; 
        height: 100%;
    }
    .noFeaturedText {
        font-size: 1.6rem; 
        font-weight: 800; 
        line-height: 1.1;
    }

    .promoteTodayText {
        margin-top: 0.5rem;
    }

     .noFeaturedDealsButton {
        margin-top: 1.4rem;
        font-size: 1.1rem;
    }
}

@media screen and (min-width: 1476px) {
      .HotDealsNearbySVG {
        margin-right: 2rem;
        width: 150px; 
        height: auto;
        margin-top: -0.5rem;
    }

    .outLineNoFeatured {
        margin: 1rem auto 0rem auto;
        height: 260px;
        width: 585px; 
        max-width: 590px;
        padding: 1rem 1rem;
    }
    
    .noFeaturedText {
        font-size: 2rem; 
        font-weight: 800; 
        line-height: 1.1;
    }

    .promoteTodayText {
        margin-top: 0.65rem;
    }

     .noFeaturedDealsButton {
        margin-top: 1.5rem;
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 476px) {
    .outLine {
        width: 195px;
        height: 260px;
    }

    .noFeaturedDealsButton {
        margin-top: 0.1rem;
        font-size: 0.9rem; 
        padding: 0.7rem 0.9rem; 
        margin-top: 0.75rem;
        width: 100%;
    }
}

@media screen and (min-width: 476px) and (max-width: 1476px) {
     .outLine {
        width: 217px;
        height: 284px;
    }
}

@media screen and (max-width: 576px) {
    .featuredDealsHeader {
        border: none; 
        background: transparent;
        margin-bottom: 0rem;
    }
}

@media  screen and (max-width: 768px) {
    .hotDealsInCity {
        margin-left: 1.25rem;
    }

    .hotDealsInCityContainer {
        font-size: 1.4rem;
    }
}


