/* Offer Popup Styles */
#offerPopupOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 32, 21, 0.9);
    /* brand darker color with opacity */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

#offerPopupOverlay.active {
    display: flex;
    opacity: 1;
}

.offer-popup-card {
    background: transparent;
    border-radius: 20px;
    width: 90%;
    max-width: 550px;
    /* flyer width */
    display: flex;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    transform: scale(0.85);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 90vh;
    overflow: visible;
    /* changed from hidden to allow corner button */
}

#offerPopupOverlay.active .offer-popup-card {
    transform: scale(1);
}

.offer-flyer-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.offer-popup-close {
    position: absolute;
    top: -20px;
    /* half of height */
    right: -20px;
    /* half of width */
    background: black;
    /* light grey circle like in screenshot */
    border: 3px solid #ffffff;
    /* white border for standout */
    color: #ffffff;
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10005;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}



/* Scroll Lock Utility */
body.no-scroll {
    overflow: hidden !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .offer-popup-card {
        max-width: 90%;
    }

    .offer-popup-close {
        top: 10px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}
    /* Top Marquee Styles */
    .top-marquee {
      background: #001d3d;
      color: white;
      height: 40px;
      display: flex;
      align-items: center;
      overflow: hidden;
      position: relative;
      font-family: 'Lato', sans-serif;
      border-bottom: 2px solid #ffc107;
    }

    .marquee-wrapper {
      flex: 1;
      overflow: hidden;
      display: flex;
      align-items: center;
    }

    .marquee-content {
      display: inline-block;
      white-space: nowrap;
      padding-left: 100%;
      animation: marquee 20s linear infinite;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      font-size: 14px;
    }

    @keyframes marquee {
      0% {
        transform: translate(0, 0);
      }

      100% {
        transform: translate(-100%, 0);
      }
    }

    .marquee-content span {
      margin-right: 50px;
      color: #ffc107;
    }

    .btn-offer-trigger {
      background: #ffc107;
      color: #001d3d;
      border: none;
      padding: 0 15px;
      height: 100%;
      font-weight: 900;
      cursor: pointer;
      white-space: nowrap;
      transition: background 0.3s;
      font-size: 13px;
      text-transform: uppercase;
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .btn-offer-trigger:hover {
      background: #ffdb4d;
    }

    .btn-offer-trigger i {
      font-size: 16px;
    }

    @media (max-width: 576px) {
      .marquee-content {
        font-size: 12px;
      }

      .btn-offer-trigger {
        padding: 0 10px;
        font-size: 11px;
      }
    }
