/* Travelicious – Plan Your Trip Widget v1.0.0 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Lato:wght@400;700;900&family=Caveat:wght@600;700&display=swap');

/* ── Reset ─────────────────────────────────────────────────── */
.trav-pyt-section *,
.trav-pyt-section *::before,
.trav-pyt-section *::after { box-sizing: border-box; }

/* ── Section wrapper ────────────────────────────────────────── */
.trav-pyt-section {
  background-color: #EAF3FB;
  padding: 56px 24px 64px;
  font-family: 'Lato', sans-serif;
  width: 100%;
}

.trav-pyt-inner {
  max-width: 1140px;
  margin: 0 auto;
}

/* ── Header ─────────────────────────────────────────────────── */
.trav-pyt-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.trav-pyt-header__left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.trav-pyt-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: #FEF3CD;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trav-pyt-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #1B2A4A;
  line-height: 1.1;
  margin: 0 0 6px;
}

.trav-pyt-section-subtitle {
  font-size: 1rem;
  color: #4A5568;
  font-weight: 400;
  line-height: 1.5;
  max-width: 340px;
  margin: 0;
}

.trav-pyt-accent {
  font-family: 'Caveat', cursive;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1B2A4A;
  text-align: right;
  line-height: 1.6;
  transform: rotate(-1.5deg);
  white-space: nowrap;
  padding-top: 6px;
  flex-shrink: 0;
}

/* ── Cards grid ─────────────────────────────────────────────── */
.trav-pyt-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

/* ── Single card ────────────────────────────────────────────── */
.trav-pyt-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(27, 42, 74, 0.09);
  display: flex;
  flex-direction: row;
  overflow: visible;
  position: relative;
  min-height: 260px;
  border: 2px solid transparent;
  transition: box-shadow 0.2s, transform 0.2s;
}

.trav-pyt-card:hover {
  box-shadow: 0 8px 30px rgba(27, 42, 74, 0.14);
  transform: translateY(-2px);
}

.trav-pyt-card--featured {
  border-color: #F5B731;
  box-shadow: 0 6px 28px rgba(27, 42, 74, 0.14);
}

/* ── BEST VALUE badge ───────────────────────────────────────── */
.trav-pyt-badge-best {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #D6336C;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 50px;
  white-space: nowrap;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(214, 51, 108, 0.35);
}

/* ── Product image area ─────────────────────────────────────── */
.trav-pyt-card__img {
  flex: 0 0 38%;
  max-width: 38%;
  border-radius: 12px 0 0 12px;
  overflow: hidden;
  background: #D8EAF5;
  position: relative;
  min-height: 240px;
}

.trav-pyt-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trav-pyt-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #7A99B8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
}

/* ── Card body ──────────────────────────────────────────────── */
.trav-pyt-card__body {
  flex: 1;
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
}

.trav-pyt-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1B2A4A;
  line-height: 1.25;
  margin: 0 0 7px;
}

.trav-pyt-card-desc {
  font-size: 0.82rem;
  color: #5A6A7E;
  line-height: 1.55;
  margin: 0 0 12px;
}

/* ── Price row ──────────────────────────────────────────────── */
.trav-pyt-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.trav-pyt-price {
  font-size: 1.45rem;
  font-weight: 900;
  color: #1B2A4A;
  letter-spacing: -0.5px;
  font-family: 'Lato', sans-serif;
}

.trav-pyt-save {
  background: #D6336C;
  color: #fff;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
}

/* ── Bullet list ────────────────────────────────────────────── */
.trav-pyt-bullets {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.trav-pyt-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.8rem;
  color: #3D4F63;
  line-height: 1.4;
}

.trav-pyt-check {
  flex-shrink: 0;
  margin-top: 1px;
  color: #2B7A5E;
}

/* ── CTA button ─────────────────────────────────────────────── */
.trav-pyt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background-color: #F5B731;
  color: #1B2A4A;
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 11px 18px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 3px 10px rgba(245, 183, 49, 0.3);
}

.trav-pyt-btn:hover {
  background-color: #e5a820;
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(245, 183, 49, 0.4);
  color: #1B2A4A;
  text-decoration: none;
}

.trav-pyt-btn--featured {
  background-color: #1B2A4A;
  color: #F5B731;
  box-shadow: 0 3px 10px rgba(27, 42, 74, 0.25);
}

.trav-pyt-btn--featured:hover {
  background-color: #253860;
  color: #F5B731;
  box-shadow: 0 5px 16px rgba(27, 42, 74, 0.3);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .trav-pyt-cards {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .trav-pyt-card {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .trav-pyt-header {
    flex-direction: column;
  }
  .trav-pyt-accent {
    text-align: left;
    transform: none;
    white-space: normal;
  }
  .trav-pyt-section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 560px) {
  .trav-pyt-card {
    flex-direction: column;
    max-width: 100%;
  }
  .trav-pyt-card__img {
    flex: none;
    max-width: 100%;
    border-radius: 12px 12px 0 0;
    min-height: 200px;
  }
  .trav-pyt-header__left {
    flex-direction: column;
    align-items: flex-start;
  }
  .trav-pyt-section-title {
    font-size: 1.6rem;
  }
}
