/* Weekend deals: /weekend-deals (cheapest Fri-Sun weekend per destination).
   Shares the heatmap palette: #3554d1 blue, #051036 navy, #697488 grey,
   #f5f7fb bands, teal #14a89e for savings. Hero classes come from heatmaps.css. */

/* ---- Hero extras ---------------------------------------------------- */
.wd-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; align-items: center; }
@media (max-width: 991px) { .wd-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.wd-stats { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 30px; }
.wd-stat b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -0.8px; line-height: 1.05; color: #fff; }
.wd-stat span { font-size: 13px; color: rgba(255,255,255,0.7); }
@media (max-width: 575px) { .wd-stats { gap: 18px 22px; } .wd-stat b { font-size: 24px; } }
.wd-art { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; transform: perspective(900px) rotateX(16deg) rotateY(-10deg) rotateZ(2deg); opacity: 0.95; }
.wd-art span { display: block; aspect-ratio: 1 / 1; border-radius: 8px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); }
.wd-art span.-hot { background: linear-gradient(135deg, #14a89e, #6cc46a); box-shadow: 0 8px 18px rgba(20,168,158,0.35); border-color: transparent; }
.wd-art span.-warm { background: rgba(53,84,209,0.55); border-color: transparent; }
@media (max-width: 991px) { .wd-art { display: none; } }

/* ---- Toolbar (count + sort) ---------------------------------------- */
.wd-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 24px; }
.wd-count { font-size: 14px; color: #697488; }
.wd-sort { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.wd-sort__label { font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: #697488; }
.wd-seg { display: inline-flex; background: #fff; border: 1.5px solid #dfe5f0; border-radius: 100px; padding: 3px; }
.wd-seg button { border: 0; background: transparent; color: #051036; font: inherit; font-size: 14px; font-weight: 600; padding: 7px 15px; border-radius: 100px; cursor: pointer; transition: all 0.12s; }
.wd-seg button:hover { color: #3554d1; }
.wd-seg button.-active { background: #051036; color: #fff; }
@media (max-width: 575px) { .wd-sort { margin-left: 0; width: 100%; } .wd-seg { flex: 1 1 auto; } .wd-seg button { flex: 1 1 50%; padding: 8px 10px; font-size: 13px; } }

/* ---- Destination grid ------------------------------------------------- */
.wd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1199px) { .wd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991px) { .wd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 479px) { .wd-grid { grid-template-columns: minmax(0, 1fr); } }
.wd-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e7ecf5; border-radius: 16px; overflow: hidden; color: #051036; box-shadow: 0 6px 20px rgba(5,16,54,0.05); transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; min-width: 0; }
.wd-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(5,16,54,0.12); border-color: #c9d4ee; }
.wd-card__photo { position: relative; display: block; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #1a2b4a, #2d4a7a); overflow: hidden; text-decoration: none; color: #fff; }
.wd-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); }
.wd-card:hover .wd-card__photo img { transform: scale(1.06); }
.wd-card__blank { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 40px; color: rgba(255,255,255,0.22); }
.wd-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,16,54,0) 40%, rgba(5,16,54,0.85) 100%); }
.wd-card__title { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; }
.wd-card__name { font-size: 19px; font-weight: 700; line-height: 1.2; color: #fff; letter-spacing: -0.3px; }
.wd-card__country { font-size: 13px; color: rgba(255,255,255,0.82); margin-top: 3px; }
.wd-card__save { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 100px; background: #14a89e; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.3px; box-shadow: 0 4px 12px rgba(5,16,54,0.25); }
.wd-card__save i { width: 7px; height: 7px; border-radius: 50%; background: #fff; display: inline-block; }
.wd-card__rank { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; }
.wd-card__body { display: flex; flex-direction: column; gap: 12px; padding: 16px 16px 14px; flex: 1 1 auto; }
.wd-card__when { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: #051036; letter-spacing: -0.2px; }
.wd-card__when i { color: #3554d1; font-size: 15px; }
.wd-card__prices { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.wd-card__total { font-size: 13px; color: #697488; }
.wd-card__total b { display: block; font-size: 24px; font-weight: 800; color: #051036; letter-spacing: -0.6px; line-height: 1.1; }
.wd-card__night { font-size: 13px; color: #697488; text-align: right; }
.wd-card__night b { display: block; font-size: 16px; font-weight: 700; color: #0f7f78; }
.wd-card__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; margin-top: auto; padding-top: 4px; }
.wd-card__go { display: inline-flex; flex: 1 1 auto; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 10px; background: #3554d1; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.wd-card__go:hover { background: #2a44b0; color: #fff; }
.wd-card__cal { font-size: 13px; font-weight: 700; color: #3554d1; text-decoration: none; white-space: nowrap; }
.wd-card__cal:hover { text-decoration: underline; color: #3554d1; }
@media (max-width: 575px) { .wd-card__go { padding: 10px 14px; font-size: 13px; } }

/* ---- Empty / notes --------------------------------------------------- */
.wd-empty { background: #fff; border: 1px dashed #c7d4f1; border-radius: 16px; padding: 50px 30px; text-align: center; }
.wd-empty i { font-size: 44px; color: #3554d1; opacity: 0.5; }
.wd-empty h2 { font-size: 24px; font-weight: 700; color: #051036; margin-top: 20px; }
.wd-empty p { font-size: 15px; color: #697488; margin-top: 10px; }
.wd-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 991px) { .wd-how { grid-template-columns: 1fr; } }
.wd-how__step { background: #fff; border: 1px solid #e7ecf5; border-radius: 16px; padding: 24px 24px 26px; box-shadow: 0 6px 20px rgba(5,16,54,0.05); }
.wd-how__num { width: 40px; height: 40px; border-radius: 12px; background: #051036; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; margin-bottom: 16px; }
.wd-how__step h3 { font-size: 18px; font-weight: 700; color: #051036; margin-bottom: 8px; }
.wd-how__step p { font-size: 16px; line-height: 1.6; color: #697488; margin: 0; }
.wd-note { font-size: 16px; line-height: 1.6; color: #697488; margin-top: 28px; }
.wd-note a { font-weight: 700; color: #3554d1; }
.wd-note a:hover { text-decoration: underline; }
