/* ===================================================================
   deals.css — Uniforme live-aanbiedingen (vluchten + hotels/pakketten)
   Werkt samen met /assets/deals.js. Eén look op elke bestemmingspagina:
     • .deals-flights → Vliegtickets.nl   (data: vliegtickets_<land>.json)
     • .deals-hotels  → Vakantiediscounter/Prijsvrij (vakantiediscounter_<land>.json)
   Specialisten (Asiadirect, Booking, Tiqets, Corendon…) horen in de zijbalk.
   Huisstijl: cream/earth/amber/forest, past bij site-rhythm.
   =================================================================== */

.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}
.deals-src { margin-top: 1rem; font-size: .8rem; color: var(--muted, #7A6A5A); }
.deals-src a { color: inherit; }

/* ── Kaart (gedeelde basis) ─────────────────────────────────────── */
.deal-card {
  background: var(--white, #fff);
  border: 1px solid rgba(61, 43, 31, .08);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.deal-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(61, 43, 31, .1); }
.deal-body { padding: 1.05rem 1.15rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.deal-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: .7rem; border-top: 1px solid rgba(61, 43, 31, .07);
}
.deal-price {
  font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700;
  color: var(--amber-dk, #C2741B); line-height: 1;
}
.deal-price small { font-family: 'Inter', sans-serif; font-size: .68rem; color: var(--muted, #7A6A5A); font-weight: 400; }
.deal-btn {
  font-size: .8rem; font-weight: 700; text-decoration: none; white-space: nowrap;
  background: var(--amber, #E8892A); color: var(--earth, #3D2B1F);
  padding: .5rem .9rem; border-radius: 8px; transition: filter .2s;
}
.deal-btn:hover { filter: brightness(1.05); }

/* ── Vluchtkaart ────────────────────────────────────────────────── */
.deal-flight .deal-body { gap: .55rem; }
.deal-route { display: flex; align-items: center; gap: .55rem; }
.deal-code { font-family: 'Playfair Display', serif; font-size: 1.45rem; font-weight: 700; color: var(--earth, #3D2B1F); }
.deal-arrow { flex: 1; display: flex; align-items: center; justify-content: center; color: var(--amber, #E8892A); }
.deal-arrow::before, .deal-arrow::after { content: ''; flex: 1; height: 1px; background: var(--amber, #E8892A); opacity: .4; }
.deal-arrow span { padding: 0 .35rem; }
.deal-airline { font-weight: 600; font-size: .9rem; color: var(--earth, #3D2B1F); }
.deal-dates { font-size: .78rem; color: var(--muted, #7A6A5A); }

/* ── Hotelkaart ─────────────────────────────────────────────────── */
.deal-hotel .deal-photo { position: relative; }
.deal-hotel .deal-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: var(--sand, #EADED0); }
.deal-prov {
  position: absolute; top: .55rem; left: .55rem; max-width: 80%;
  font-size: .64rem; font-weight: 700; color: #FDFAF6;
  padding: .2rem .55rem; border-radius: 6px; letter-spacing: .01em;
}
.deal-prov.vd { background: var(--earth, #3D2B1F); }
.deal-prov.pv { background: #2F5D50; }
.deal-stars { color: var(--amber, #E8892A); font-size: .82rem; letter-spacing: .05em; }
.deal-name { font-weight: 700; font-size: .95rem; color: var(--earth, #3D2B1F); line-height: 1.3; }
.deal-meta { display: flex; flex-wrap: wrap; gap: .35rem .8rem; font-size: .76rem; color: var(--muted, #7A6A5A); }
.deal-board {
  align-self: flex-start; font-size: .68rem; font-weight: 700;
  background: var(--sand, #EADED0); color: var(--earth, #3D2B1F);
  padding: .18rem .6rem; border-radius: 20px;
}

/* ── Skeleton + fallback ────────────────────────────────────────── */
.deal-skeleton {
  background: linear-gradient(100deg, rgba(61,43,31,.05) 30%, rgba(61,43,31,.09) 50%, rgba(61,43,31,.05) 70%);
  background-size: 200% 100%; animation: deal-shimmer 1.3s infinite;
  border-radius: 14px; min-height: 150px;
}
@keyframes deal-shimmer { to { background-position: -200% 0; } }
.deals-fallback {
  grid-column: 1 / -1; background: var(--sand, #EADED0); border-radius: 12px;
  padding: 1.4rem 1.7rem; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.deals-fallback strong { color: var(--earth, #3D2B1F); }
.deals-fallback p { font-size: .82rem; color: var(--muted, #7A6A5A); margin: .3rem 0 0; }

/* ── Specialist-kaart (zijbalk) — uniform over alle landen ───────── */
.specialist-card {
  background: var(--white, #fff); border: 2px solid var(--amber, #E8892A);
  border-radius: 16px; overflow: hidden; margin-bottom: 1.2rem;
}
.spec-ribbon {
  background: var(--amber, #E8892A); color: var(--earth, #3D2B1F);
  font-weight: 700; font-size: .74rem; padding: .45rem .9rem;
  display: flex; align-items: center; gap: .4rem;
}
.spec-body { padding: 1.1rem; }
.spec-brand { display: flex; align-items: center; gap: .6rem; margin-bottom: .7rem; }
.spec-ico {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: var(--sand, #EADED0); display: flex; align-items: center; justify-content: center; font-size: 1.45rem;
}
.spec-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.2rem; color: var(--earth, #3D2B1F); line-height: 1.1; }
.spec-name .spec-accent { color: #2F5D50; }
.spec-usp { font-size: .85rem; color: var(--earth, #3D2B1F); line-height: 1.5; margin-bottom: .9rem; }

/* ── "Bekijk alle aanbiedingen"-knop onder een hotelblok ────────── */
.vd-more { text-align: center; margin-top: 2.2rem; }
.vd-more a {
  display: inline-block; border: 2px solid var(--amber, #E8892A); color: var(--amber-dk, #C2741B);
  font-weight: 700; font-size: .9rem; padding: .75rem 2rem; border-radius: 50px;
  text-decoration: none; transition: all .2s;
}
.vd-more a:hover { background: var(--amber, #E8892A); color: var(--earth, #3D2B1F); }
