#travel-deals-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px;
}

.td-header h1 {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.td-subhead {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Filters */
.td-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 12px;
}

.td-filter-btn {
  border: none;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  cursor: pointer;
  background: #f2f2f2;
  transition: background 0.2s, color 0.2s;
}

.td-filter-btn.active {
  background: #0077cc;
  color: #fff;
}

/* Grid */
.td-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

/* Deal Card */
.td-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 14px 14px 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.td-card-tag {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ffe9b3;
  color: #8a5a00;
}

.td-card-partner {
  font-size: 0.8rem;
  opacity: 0.8;
}

.td-card-title {
  font-weight: 700;
  font-size: 1rem;
}

.td-card-meta {
  font-size: 0.85rem;
  opacity: 0.9;
}

.td-card-price {
  font-weight: 700;
  color: #0077cc;
  font-size: 0.95rem;
}

.td-card-cta {
  margin-top: 6px;
  display: flex;
  justify-content: flex-end;
}

.td-card-cta a {
  text-decoration: none;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ff9900;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Category chips */
.td-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.75rem;
}

.td-chip {
  padding: 3px 8px;
  border-radius: 999px;
  background: #f3f3f3;
}

/* Small screen tweaks */
@media (max-width: 600px) {
  #travel-deals-layout {
    padding: 10px;
  }
}

.deal-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e7e3df;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.deal-card img.deal-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.deal-info {
  padding: 12px 14px;
}

.deal-provider {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 8px;
}
.td-card-img img {
  width: 100%;
  height: 120px;   /* ↓ shrink from 160px to 120px */
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  display: block;
}


.mega-content {
    max-height: 80vh;   /* fits inside screen */
    overflow-y: auto;   /* enables scrolling */
    padding-right: 10px; /* avoids scrollbar overlap */
}

#openMegaMenu {
    cursor: pointer !important;
}
.mega-title span[data-i18n="cat_travel_gear"],
.mega-title span[data-i18n="cat_travel_tech"] {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.mega-title span[data-i18n="cat_travel_gear"]::after,
.mega-title span[data-i18n="cat_travel_tech"]::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-40%); /* ← moves underline to the right */
    bottom: 0;

    width: 300px;   /* long */
    height: 2px;    /* thin */
    background-color: #ff9900;
    border-radius: 2px;
}

/* underline under the blurb for the first two sections */
.mega-group:nth-of-type(1) .mega-desc,
.mega-group:nth-of-type(2) .mega-desc {
    display: inline-block;
    padding-bottom: 6px;
    margin-bottom: 12px;
    border-bottom: 2px solid #ff9900;
}

/* remove any leftover underline on the title */
.mega-title::after,
.mega-title span::after,
.mega-title span[data-i18n]::after {
    content: none !important;
    border: none !important;
}
.mega-desc[data-i18n="cat_relaxing_desc"] {
    display: inline-block;
    padding-bottom: 6px;
    margin-bottom: 12px;
    border-bottom: 2px solid #ff9900;
}

/* HEADERS — make these blue */
.mega-menu .mega-col h3 {
    color: #003A5C !important;
    font-weight: 700 !important;
    margin-bottom: 6px;
}

/* LINKS — keep these charcoal */
.mega-menu .mega-col a {
    color: #333 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

.mega-menu .mega-col a:hover {
    color: #003A5C !important;
    text-decoration: underline !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: 60px !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 {
    margin-top: 20px !important;   /* move it down */
}
.bottom-trust-section {
    border-radius: 12px 12px 0 0 !important; 
    /* TL   TR   BR BL */
}

/* =============================== */
/* DESKTOP / ONLINE MEDIA VERSION  */
/* =============================== */

@media (min-width: 1024px) {
    .bottom-trust-section {
        display: flex;
        flex-direction: column;
        gap: 24px;

        margin: 40px auto;
        max-width: var(--container);
        padding: 28px;

        background: white;
        border-radius: var(--radius-lg);
        border: 1px solid var(--border);
        box-shadow: var(--shadow-sm);
    }

    .bottom-trust-section .trust-col {
        flex: 1;
    }

    .bottom-trust-section {
        flex-direction: row;
        flex-wrap: wrap;
    }
}


