/* Only hide things INSIDE the notification system */
#notif-panel.hidden,
#notif-wrapper .hidden {
    display: none !important;
}


/* =============================== */
/* MAIN TWO-COLUMN LAYOUT          */
/* =============================== */

#index-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
    padding: 32px;
    box-sizing: border-box;
}

/* LEFT COLUMN */
#index-left {
    flex: 2.6;
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 900px;
    border-right: 1px solid rgba(0,0,0,0.05);
    padding-right: 24px;
}

/* RIGHT COLUMN */
#index-right {
    flex: 1;
    min-width: 0px;
    max-width: none !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
}

/* =============================== */
/* CONTOUR BLOCKS                  */
/* =============================== */

.contour-block {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    border: 1px solid #e7e3df;
}

.contour-block h2,
.contour-block h3 {
    margin-bottom: 16px;
    color: #2b2b2b;
    font-weight: 700;
}

/* =============================== */
/* GRID LAYOUT FOR DEAL CARDS      */
/* =============================== */

#index-left .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
    justify-content: flex-start;
}

#index-left .deal-card {
    margin: 0 auto;
}

#index-left .deal-card img {
    max-height: 160px !important;
    width: 100% !important;
    object-fit: contain;
}

/* =============================== */
/* REMIND-ME DRAWER                */
/* =============================== */

.ld-remind-panel {
    background: #ffffff !important;
    border-radius: 12px;
    padding: 0;
    border: 1px solid #ddd;
    color: #111 !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    margin-top: 18px;
}

.ld-remind-panel.open {
    max-height: 260px;
    padding: 16px;
}

/* =============================== */
/* CARD TEXT NORMALIZATION         */
/* =============================== */

.deal-card h3 {
    font-size: 20px;              /* slightly bigger */
    line-height: 1.35;            /* more breathing room */
    min-height: 46px;             /* adjusted for new line-height */
    display: -webkit-box;
    -webkit-line-clamp: 3;        /* still 2 lines max */
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 20px 0;                /* more space above/below */
}




/* =============================== */
/* LOGO AREA                       */
/* =============================== */

#logo-area img {
    width: 8%;
    height: auto;
}

/* =============================== */
/* BUTTON SYSTEM (FINAL OVERRIDES) */
/* =============================== */

.remind-me-btn,
.home-action-btn,
.gf-btn,
.ld-remind-save,
.view-basket-btn,
#viewBasketBtn,
.home-basket-btn {
    background: #D8D6D2 !important;
    color: #1A1A1A !important;
    border: 1px solid #B8B5AF !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    padding: 10px 16px !important;
}

.remind-me-btn:hover,
.home-action-btn:hover,
.gf-btn:hover,
.ld-remind-save:hover,
.view-basket-btn:hover,
#viewBasketBtn:hover,
.home-basket-btn:hover {
    background: #C9C7C2 !important;
    border-color: #A9A6A0 !important;
}

/* =============================== */
/* HERO SECTION                    */
/* =============================== */

.home-hero {
    width: 100%;
    padding: 32px 24px;
    background: linear-gradient(135deg, #D8D6D2, #B8B5AF);
    color: #333;
    border-radius: 18px;
    margin: 20px auto 30px auto;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

/* =============================== */
/* RIGHT SIDE PANELS               */
/* =============================== */

#homeReminderPanel,
.gift-finder {
    background: linear-gradient(135deg, #DDEAF5, #BFD4E6);
    border: 1px solid #B8B5AF;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    color: #1A1A1A;
}

/* =============================== */
/* CATEGORY BAR                    */
/* =============================== */

#billboard-categories {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    white-space: nowrap !important;
}

/* =============================== */
/* TRAVEL PANEL                    */
/* =============================== */

#travelPanel,
#travelPanel * {
    color: #1A1A1A !important;
}

#travelPanel {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
}


.updated {
    font-size: 12px;
    color: #777;
}

#homeRightMegaPanel,
#homeRightMegaPanel * {
    color: #333 !important;
}

/* =============================== */
/* NEW SCRIPT                      */
/* =============================== */



1/* Only hide things INSIDE the notification system */
#notif-panel.hidden,
#notif-wrapper .hidden {
    display: none !important;
}


/* =============================== */
/* MAIN TWO-COLUMN LAYOUT          */
/* =============================== */

#index-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
    padding: 32px;
    box-sizing: border-box;
}

/* LEFT COLUMN */
#index-left {
    flex: 2.6;
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 900px;
    border-right: 1px solid rgba(0,0,0,0.05);
    padding-right: 24px;
}

/* RIGHT COLUMN */
#index-right {
    flex: 1;
    min-width: 0px;
    max-width: none !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
}

/* =============================== */
/* CONTOUR BLOCKS                  */
/* =============================== */

.contour-block {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    border: 1px solid #e7e3df;
}

.contour-block h2,
.contour-block h3 {
    margin-bottom: 16px;
    color: #2b2b2b;
    font-weight: 700;
}

/* =============================== */
/* GRID LAYOUT FOR DEAL CARDS      */
/* =============================== */

#index-left .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
    justify-content: flex-start;
}

#index-left .deal-card {
    margin: 0 auto;
}

#index-left .deal-card img {
    max-height: 160px !important;
    width: 100% !important;
    object-fit: contain;
}

/* =============================== */
/* REMIND-ME DRAWER                */
/* =============================== */

.ld-remind-panel {
    background: #ffffff !important;
    border-radius: 12px;
    padding: 0;
    border: 1px solid #ddd;
    color: #111 !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    margin-top: 18px;
}

.ld-remind-panel.open {
    max-height: 260px;
    padding: 16px;
}

/* =============================== */
/* CARD TEXT NORMALIZATION         */
/* =============================== */

.deal-card h3 {
    font-size: 20px;              /* slightly bigger */
    line-height: 1.35;            /* more breathing room */
    min-height: 46px;             /* adjusted for new line-height */
    display: -webkit-box;
    -webkit-line-clamp: 3;        /* still 2 lines max */
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 20px 0;                /* more space above/below */
}




/* =============================== */
/* LOGO AREA                       */
/* =============================== */

#logo-area img {
    width: 8%;
    height: auto;
}

/* =============================== */
/* BUTTON SYSTEM (FINAL OVERRIDES) */
/* =============================== */

.remind-me-btn,
.home-action-btn,
.gf-btn,
.ld-remind-save,
.view-basket-btn,
#viewBasketBtn,
.home-basket-btn {
    background: #D8D6D2 !important;
    color: #1A1A1A !important;
    border: 1px solid #B8B5AF !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    padding: 10px 16px !important;
}

.remind-me-btn:hover,
.home-action-btn:hover,
.gf-btn:hover,
.ld-remind-save:hover,
.view-basket-btn:hover,
#viewBasketBtn:hover,
.home-basket-btn:hover {
    background: #C9C7C2 !important;
    border-color: #A9A6A0 !important;
}

/* =============================== */
/* HERO SECTION                    */
/* =============================== */

.home-hero {
    width: 100%;
    padding: 32px 24px;
    background: linear-gradient(135deg, #D8D6D2, #B8B5AF);
    color: #333;
    border-radius: 18px;
    margin: 20px auto 30px auto;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

/* =============================== */
/* RIGHT SIDE PANELS               */
/* =============================== */

#homeReminderPanel,
.gift-finder {
    background: linear-gradient(135deg, #DDEAF5, #BFD4E6);
    border: 1px solid #B8B5AF;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    color: #1A1A1A;
}

/* =============================== */
/* CATEGORY BAR                    */
/* =============================== */

#billboard-categories {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    white-space: nowrap !important;
}

/* =============================== */
/* TRAVEL PANEL                    */
/* =============================== */

#travelPanel,
#travelPanel * {
    color: #1A1A1A !important;
}

#travelPanel {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
}


.updated {
    font-size: 12px;
    color: #777;
}

#homeRightMegaPanel,
#homeRightMegaPanel * {
    color: #333 !important;
}

/* =============================== */
/* NEW SCRIPT                      */
/* =============================== */

/* Add spacing between View Deal and Remind Me buttons */
.deal-card .deal-button + .remind-me-btn {
    margin-top: 10px !important;
}

/* Add spacing between View Deal and Buy Now (RTS) */
.deal-card .deal-button + .rts-buy-now {
    margin-top: 10px !important;
}

/* =============================== */
/* FULL-WIDTH HORIZONTAL FOOTER    */
/* =============================== */

.bottom-trust-section {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 40px 60px !important;

    background: #ffffff !important;  /* white */
    color: #000000 !important;       /* black */

    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 40px !important;
}

/* Make each section inside footer behave like columns */
.bottom-trust-section > * {
    flex: 1 !important;
}

/* Headings */
.bottom-trust-section h3,
.bottom-trust-section h4 {
    color: #000 !important;
    border: none !important;
    margin-bottom: 10px !important;
}

/* Text */
.bottom-trust-section p {
    color: #333 !important;
}

/* Links */
.bottom-trust-section a {
    color: #000 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.bottom-trust-section a:hover {
    text-decoration: underline !important;
}

/* Remove all <hr> lines */
.bottom-trust-section hr {
    display: none !important;
}
.bottom-trust-section {
    width: 100% !important;
    margin: 0 !important;
    padding: 40px 60px !important;
    background: #ffffff !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 40px !important;
}

.bottom-trust-section .trust-col {
    flex: 1 1 0 !important;
    min-width: 200px !important;
}

.bottom-trust-section h3,
.bottom-trust-section h4 {
    color: #000 !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    border: none !important;
    padding: 0 !important;
}

.bottom-trust-section p,
.bottom-trust-section .trust-small {
    color: #333 !important;
    margin-bottom: 8px !important;
}

.bottom-trust-section a {
    color: #000 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.bottom-trust-section a:hover {
    text-decoration: underline !important;
}

.bottom-trust-section hr {
    display: none !important;
}
/* FULL TRANSPARENCY FOR LOGO AREA */
#logo-area {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* Remove any inherited background from parents */
#logo-area * {
    background: transparent !important;
}
body#index-page {
    background: transparent !important;
}

#travel-section {
    padding-top: 200px !important; /* adjust until it reaches above the logo */
    margin-top: -200px !important; /* pulls it upward behind the header */
}
#notif-wrapper {
    position: relative;
}

#notif-bell {
    position: relative;
    cursor: pointer;
}

.notif-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #d9534f;
    color: white;
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: bold;
}

#notif-panel {
    position: absolute;
    top: 40px;
    right: 0;
    width: 260px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 1rem;
    z-index: 99999;
}

#notif-panel h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.notif-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.notif-settings-link {
    display: block;
    margin-top: 1rem;
    text-align: center;
    background: #2f6f6f;
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    text-decoration: none;
}

/* PAGE LAYOUT */
#travel-utilities {
    max-width: 1300px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 40px 0 20px;
    color: #162f7b;
}

/* UNIVERSAL GRID */
.util-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

/* UNIVERSAL CARD */
.util-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border: 1px solid #e3e6f0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.util-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* HEADER */
.util-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.util-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #162f7b;
}

.util-sub {
    font-size: 0.9rem;
    color: #777;
}

/* BUTTONS */
.util-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.util-links a {
    flex: 1 1 120px;
    text-align: center;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: #003A5C;
    background: #f2f6ff;
    border: 1px solid #d0ddff;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.util-links a:hover {
    background: #003A5C;
    color: #fff;
    border-color: #003A5C;
}
/* Dropdown button */
.dropdown-btn {
    margin: 20px 0;
    padding: 10px 16px;
    background: #003A5C;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
}

.dropdown-btn:hover {
    background: #002C46;
}

/* Hidden section */
.hidden-airports {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

/* Spunk version of airport cards */
.airport-card.alt {
    background: linear-gradient(135deg, #ffffff, #f7fbff);
    border-left: 4px solid #003A5C;
}

/* Dropdown button */
.dropdown-btn {
    margin: 20px 0;
    padding: 10px 16px;
    background: #003A5C;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
}

.dropdown-btn:hover {
    background: #002C46;
}

/* Hidden airports container */
.hidden-airports {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

/* Spunk version of airport cards */
.airport-card.alt {
    background: linear-gradient(135deg, #ffffff, #f7fbff);
    border-left: 4px solid #003A5C;
}

/* Section titles */
.section-title {
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #003A5C;
}




.ld-remind-cancel {
    display: inline-block !important;
    background: #D8D6D2 !important;
    color: #1A1A1A !important;
    border: 1px solid #B8B5AF !important;
    border-radius: 8px !important;
    font-weight: 700 !important;

    padding: 9px 16px !important;   /* trimmed by 1px */
    line-height: 1 !important;      /* prevents vertical stretching */

}


/* Ensure the action row doesn't collapse */
.ld-remind-actions,
.ld-remind-buttons {
  display: flex !important;
  gap: 10px !important;
  justify-content: flex-end !important;
  align-items: center !important;
}

.ld-remind-cancel {
  position: relative !important;
  top: 1px !important;   /* try 1px, bump to 2px if needed */
}
.ld-remind-cancel {
    cursor: pointer !important;
}
.notif-hide-inline {
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    user-select: none;
}

.notif-hide-inline:hover {
    color: #2f6f6f;
    text-decoration: underline;
}

.light-blue {
    color: #4da3ff;
}
#travelToolsPanel a.light-blue {
    color: #4da3ff !important;
}

/* ============================================
   HOME PAGE — MOBILE FIXES
============================================ */
@media (max-width: 768px) {

    /* Remove horizontal scrolling */
    body {
        overflow-x: hidden !important;
    }

    /* Collapse the two-column layout */
    #index-layout {
        flex-direction: column !important;
        padding: 10px !important;
        gap: 20px !important;
    }

    #index-left,
    #index-right {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Contour blocks shrink properly */
    .contour-block {
        padding: 16px !important;
        margin-bottom: 20px !important;
    }

    /* Mega menu mobile layout */
    .mega-menu {
        top: 120px !important;
        width: 100% !important;
        left: 0 !important;
        padding: 16px !important;
        border-radius: 0 !important;
    }

    .mega-content {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    /* Billboard categories wrap */
    #billboard-categories {
        flex-wrap: wrap !important;
        gap: 10px !important;
        padding: 10px !important;
    }

    /* Logo area spacing */
    #logo-area img {
        max-width: 160px !important;
        margin: 10px auto !important;
    }

    /* Gift finder, reminders, travel tools */
    #homeRightMegaPanel,
    #travelToolsPanel,
    #travelMapPanel,
    #viatorWidgetBlock {
        padding: 16px !important;
        margin-top: 20px !important;
    }

    /* Trust section becomes stacked */
    .bottom-trust-section {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        padding: 20px !important;
    }

    .trust-col {
        width: 100% !important;
        text-align: left !important;
    }

    /* Weather rotate text */
    #weatherRotate {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    /* Viator iframe responsive */
    iframe {
        height: 200px !important;
    }
}
/* ONLY apply these to Mobile and Tablets */
@media (max-width: 1024px) {
    
    /* 1. Force the page to stay wide instead of squishing */
    body, #index-page, .travel-page {
        min-width: 1200px !important;
        overflow-x: auto !important; /* Lets users scroll sideways on their phones */
    }

    /* 2. Stop the main layout from stacking vertically */
    #index-layout, #travel-layout {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: 1200px !important;
    }

    /* 3. Force the cards to stay in their desktop grid size */
    .travel-grid, .deal-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, 220px) !important;
        width: 1200px !important;
    }

    /* 4. Ensure the sidebar/right panel stays to the side */
    #index-right {
        flex: 0 0 350px !important;
        display: block !important;
    }
}

#right-col,
#index-right,
#travelPanel {
    display: block;
    overflow: auto;
    padding-bottom: 40px;
}
#index-right {
    overflow: auto;
    padding-bottom: 40px;
}


#index-right {
    overflow: visible !important;
    padding-bottom: 40px;
}

.bottom-trust-section {
    margin-top: 32px;
}
.bottom-trust-section {
    margin-top: 48px !important;
}

.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

#homeRightMegaPanel h4[data-i18n="upcoming_events"] {
    margin-top: 20px !important;
}

#homeRightMegaPanel .home-actions {
    margin-bottom: 12px !important;
}
#destinationCarousel {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e7e3df;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    color: #333;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.7);
    border: none;
    font-size: 32px;
    padding: 4px 10px;
    cursor: pointer;
    border-radius: 6px;
    z-index: 10;
}

.carousel-arrow.left { left: 10px; }
.carousel-arrow.right { right: 10px; }

.carousel-caption {
    margin-top: 14px;
}

.carousel-caption h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.carousel-caption p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.carousel-viewmore {
    display: inline-block;
    padding: 8px 14px;
    background: #FF9900;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

/* FINAL OVERRIDE — MATCH INDEX CONTOUR BLOCK */
.bottom-trust-section {
    width: 100%;
    max-width: 1100px;
    margin: 40px auto;
    padding: 32px 40px;

    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid #e7e3df !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06) !important;

    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    gap: 40px !important;
}
.deal-card h3.hover-pointer {
  color: #232F3E; /* dark navy base */
  transition: color 0.25s ease;
}
.deal-card h3.hover-pointer:hover {
  color: #FF9900;
}

/* This centers the modal on the screen */
.welcome-lang {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6); /* Dimmed background */
    display: flex;               /* Required for centering */
    align-items: center;         /* Vertical center */
    justify-content: center;     /* Horizontal center */
    z-index: 100000;
}

.welcome-lang-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}




#welcomeLangModal img {
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
}

#welcomeLangModal p {
    color: #000000; /* CANDY RED */
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
    
}


#welcomeLangModal .welcome-lang-btn {
    background-color: #4CAF50; /* leaf green */
    color: white;
    font-weight: 700;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.25);
    transition: transform 0.15s ease, background-color 0.15s ease;
}

#welcomeLangModal .welcome-lang-btn:hover {
    background-color: #45a049; /* slightly darker leaf */
    transform: translateY(-2px);
}

#welcomeLangModal .welcome-lang-btn:active {
    transform: translateY(0);
    background-color: #3e8e41;
}
#welcomeLangModal .welcome-blurb {
    margin-top: -55px;  /* lift the whole block upward */
    margin-bottom: 50px; /* add breathing room above buttons */
}

#welcomeLangModal .welcome-lang-box {
    background: rgba(30, 144, 255, 0.28); /* #1E90FF with transparency */
    backdrop-filter: blur(8px);
    border-radius: 22px;
    padding: 30px 28px;
}

#welcomeLangModal {
    background: rgba(0, 0, 0, 0) !important; /* NO DARKNESS */
}

/* Group Title */
.mega-title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Group Description */
.mega-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

/* Column Titles */
.mega-col h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

/* Links */
.mega-col a {
    display: block;
    font-size: 14px;
    color: #222;
    padding: 3px 0;
}

/* Optional: subtle background tint per group */
.mega-group {
    background: rgba(255, 255, 255, 0.85);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}
/* Base group styling */
.mega-group {
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Travel Gear */
.mega-group:nth-child(1) {
    background: rgba(0, 120, 255, 0.06); /* soft blue */
}

/* Travel Tech */
.mega-group:nth-child(2) {
    background: rgba(0, 200, 180, 0.06); /* soft teal */
}

/* Family Travel */
.mega-group:nth-child(3) {
    background: rgba(255, 220, 0, 0.08); /* soft yellow */
}

/* Resort Wear */
.mega-group:nth-child(4) {
    background: rgba(255, 150, 80, 0.07); /* soft peach */
}

/* Relaxing */
.mega-group:nth-child(5) {
    background: rgba(180, 120, 255, 0.07); /* soft lavender */
}
.mega-title {
    font-size: 20px;
    font-weight: 800; /* stronger bold */
    color: #1a1a1a;
    margin-bottom: 4px;
}
.mega-col h3 {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
}

.review-count {
    color: #007bff !important; /* bright Amazon-style blue */
    font-weight: 600;
}

#homeRightMegaPanel h3 {
    color: #6CC24A !important;
    border-bottom: 2px solid #000 !important; /* bottom line only */
    padding-bottom: 4px !important;
    margin-top: 18px !important;   /* pushes it away from the element above */
    margin-bottom: 12px !important;
    display: block !important;
    width: 100% !important;
    border-top: none !important;   /* ensures no top line ever appears */
}


</style>

<style>
/* Make the circled h4 headers green */
#homeRightMegaPanel h4 {
    color: #6CC24A !important;
}

/* FLOATING MERENGUE PLAYER */
#fmp-container {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 10px 14px;
  background: rgba(0,0,0,0.78);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fmp-notes {
  font-size: 18px;
}

.fmp-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fmp-title {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fmp-progress {
  width: 180px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  overflow: hidden;
}

.fmp-progress-bar {
  width: 0;
  height: 100%;
  background: #ffb347;
  transition: width 0.15s linear;
}

.fmp-btn {
  border: none;
  outline: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #ffb347;
  color: #000;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.welcome-lang {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none; /* hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.welcome-lang:not(.hidden) {
    display: flex; /* show only when JS removes .hidden */
}

.welcome-lang-row {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
}

.welcome-lang-btn {
    flex: 1;
    margin: 0 6px;
    padding: 10px 14px;
    border-radius: 8px;
    border: none;
    background: #ff9900;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}


.hover-pointer {
    cursor: pointer;
}

.saved-pop {
    transform: scale(1.05);
    transition: 0.2s ease;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #ff3b30;
    color: white;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.view-more-link {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 14px;
    font-weight: 600;
    color: #146EB4; /* Amazon accent */
    text-decoration: none;
    cursor: pointer;
}

.view-more-link:hover {
    text-decoration: underline;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center; /* <-- THIS fixes the vertical alignment */
    margin-bottom: 8px;
}

.section-viewmore {
    font-size: 14px;
    font-weight: 600;
    color: #146EB4; /* Amazon accent */
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.section-viewmore:hover {
    text-decoration: underline;
}
.section-viewmore {
    position: relative;
    top: -5px; /* micro‑adjustment */
}
.pill-link {
    padding: 6px 14px;
    background: #146EB4; /* Amazon accent */
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    display: inline-block;
}

.pill-link:hover {
    opacity: 0.85;
}
.pill-link {
    position: relative;
    top: -10px; /* the sweet spot */
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.pill-link {
    padding: 6px 14px;
    background: #146EB4; /* same blue pill */
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    top: -10px; /* your magic number */
}

.pill-link:hover {
    opacity: 0.85;
}

function toSentenceCase(str) {
    if (!str) return "";
    str = str.toLowerCase();
    return str.charAt(0).toUpperCase() + str.slice(1);
}

img[src*="giftfinder3.png"] {
    width: 75% !important;       /* fill the width */
    height: 360px !important;     /* stretch vertically */
    object-fit: cover !important; /* no white space */
    display: block !important;
    margin: 0 auto !important;
}

#home-layout .grid > div {
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35) !important;
    background: rgba(0, 0, 0, 0.25) !important;
    border-radius: 14px !important;
    backdrop-filter: blur(4px);
}
.deal-card {
    background: rgba(0, 0, 0, 0.5) !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 14px !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25) !important;
    backdrop-filter: blur(4px) !important;
}

.deal-card {
    background: rgba(0, 0, 0, 0.25) !important;
    border: 2px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 14px !important;
    padding: 14px !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35) !important;
    backdrop-filter: blur(4px) !important;
}
/* Soft tint ONLY for product cards */
#home-layout .grid > div {
    background: rgba(0, 0, 0, 0.50) !important; /* very light tint */
    backdrop-filter: blur(4px) !important;      /* softens background */
    border-radius: 14px !important;
    padding: 12px !important;
}

.deal-price {
    color: #fff !important;          /* bright white for contrast */
    font-size: 22px !important;      /* bigger */
    font-weight: 900 !important;     /* bold */
    text-shadow: 0 0 8px rgba(0, 0, 0, 1) !important; /* strong glow for tablet */
}

.deal-card .travel-source .updated {
    color: #ffffff !important;
}

[data-i18n="amazon_travel_essentials"] {
    color: #ffffff !important;
}

.deal-card .deal-button {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 10px !important;
    backdrop-filter: blur(4px) !important;
    text-shadow: 0 0 6px rgba(0,0,0,0.5) !important;
}
.deal-card .remind-me-btn {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 10px !important;
    backdrop-filter: blur(4px) !important;
    text-shadow: 0 0 6px rgba(0,0,0,0.5) !important;
}
.dest-bell {
    width: 10px;          /* adjust size */
    display: block;
    margin: 0 auto;        /* center horizontally */
    margin-top: 20px;      /* push down */
    margin-bottom: 10px;   /* spacing below */
}
.mega-content {
    max-height: 80vh;   /* fits inside screen */
    overflow-y: auto;   /* enables scrolling */
    padding-right: 10px; /* avoids scrollbar overlap */
}
  .ld-remind-panel {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.35s ease;
        background: #fff;
        border-radius: 12px;
        padding: 0 16px;
        margin-top: 12px;
        border: 1px solid #ddd;
    }
    .ld-remind-panel.open {
        max-height: 200px;
        padding: 16px;
    }
    .ld-remind-panel label {
        font-weight: 600;
        display: block;
        margin-bottom: 6px;
    }
    .ld-remind-panel select {
        width: 100%;
        padding: 8px;
        margin-bottom: 10px;
    }
        .ld-remind-panel a {
        cursor: pointer;
        color: #555;
        font-size: 14px;
    }

.ld-remind-panel,
.ld-remind-panel * {
    color: #000 !important;
}

