/* =============================================
   SaudiJabo — প্যাকেজের পাতা
   শুধু /package/<slug> ও /packages এ লোড হয়।

   ⚠️ Tailwind এখানে purge করা — অনেক ক্লাস নেই। তাই এই পাতার
      সব নিয়ম হাতে লেখা, Tailwind এর উপর নির্ভর করা হয়নি।

   ⚠️ মোবাইলে কিছুই যেন পাশে না গড়ায়: প্রতিটি grid এক কলাম দিয়ে
      শুরু, টেবিল মোড়ানো, লম্বা শব্দ ভাঙা, ছবি max-width:100%।
   ============================================= */

.pd { padding: 26px 0 50px; }
.pd-wrap { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 16px; }

/* লম্বা ঠিকানা বা শব্দ যেন পাতা চওড়া না করে */
.pd, .pd * { min-width: 0; }
.pd img { max-width: 100%; height: auto; }

.pd-preview {
  background: #fffbeb; border-bottom: 1px solid #fde68a; color: #92400e;
  font-size: 13.5px; padding: 11px 16px; text-align: center;
}
.pd-preview a { color: #92400e; font-weight: 700; }

.pd-crumb { font-size: 12.5px; color: #9ca3af; margin-bottom: 14px; }
.pd-crumb a { color: #1B4332; text-decoration: none; }
.pd-crumb span { margin: 0 5px; }

/* ---------- হেডার ---------- */
.pd-head { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 22px; }
@media (min-width: 900px) {
  .pd-head { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
}
.pd-cat {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  background: rgba(27, 67, 50, .08); color: #1B4332;
  border-radius: 6px; padding: 4px 10px; margin-bottom: 10px;
}
.pd-h1 {
  font-size: clamp(22px, 5.2vw, 32px); line-height: 1.35; font-weight: 800;
  color: #111827; margin: 0 0 10px; overflow-wrap: break-word; word-break: normal;
}
.pd-lead { font-size: 14.5px; line-height: 1.85; color: #4b5563; margin: 0 0 14px; }

.pd-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.pd-facts li {
  display: flex; align-items: center; gap: 6px; font-size: 13px; color: #374151;
  background: #f9fafb; border: 1px solid #f3f4f6; border-radius: 9px; padding: 7px 11px;
}

/* ---------- দামের বাক্স ---------- */
.pd-buy {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 16px;
  padding: 18px; box-shadow: 0 2px 14px rgba(0, 0, 0, .04);
}
@media (min-width: 900px) { .pd-buy { position: sticky; top: 90px; } }
.pd-was { font-size: 13.5px; color: #9ca3af; margin: 0 0 2px; text-decoration: line-through; }
.pd-off {
  background: #fef3c7; color: #92400e; font-size: 11.5px; font-weight: 700;
  border-radius: 6px; padding: 2px 8px; margin-left: 6px; text-decoration: none;
  display: inline-block;
}
.pd-price { font-size: 27px; font-weight: 800; color: #1B4332; margin: 0 0 4px; line-height: 1.3; }
.pd-price small { font-size: 14px; font-weight: 500; color: #9ca3af; }
.pd-price.pd-ask { font-size: 18px; }
.pd-dead { font-size: 12.5px; color: #6b7280; margin: 8px 0 0; line-height: 1.6; }
.pd-dead.is-late { color: #b91c1c; font-weight: 600; }

.pd-btns { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.pd-btns-c { flex-direction: row; flex-wrap: wrap; justify-content: center; }
.pd-wa, .pd-book, .pd-contact {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 48px; padding: 12px 16px; border-radius: 11px;
  font-size: 14.5px; font-weight: 700; text-decoration: none; text-align: center;
}
.pd-wa { background: #25D366; color: #fff; }
.pd-wa:hover { background: #1faa52; color: #fff; }
.pd-book { background: #1B4332; color: #fff; }
.pd-book:hover { background: #163a2a; color: #fff; }
.pd-contact { background: #fff; color: #1B4332; border: 1.5px solid #1B4332; }
.pd-contact:hover { background: #f0fdf4; color: #1B4332; }
.pd-note { font-size: 11.5px; color: #9ca3af; margin: 11px 0 0; line-height: 1.7; text-align: center; }

.pd-hero { border-radius: 16px; overflow: hidden; margin-bottom: 26px; }
.pd-hero img { width: 100%; display: block; object-fit: cover; max-height: 420px; }

/* ---------- সেকশন ---------- */
.pd-sec { margin-bottom: 30px; }
.pd-h2 {
  font-size: clamp(18px, 3.6vw, 22px); font-weight: 800; color: #111827;
  margin: 0 0 14px; padding-bottom: 9px; border-bottom: 2px solid #f0fdf4;
}
.pd-h3 { font-size: 14.5px; font-weight: 700; color: #1B4332; margin: 16px 0 9px; }
.pd-cards { display: grid; grid-template-columns: 1fr; gap: 13px; }
@media (min-width: 820px) { .pd-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- ফ্লাইট ---------- */
.pd-flight {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 15px;
}
.pd-fhead { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; flex-wrap: wrap; }
.pd-flogo { width: 38px; height: 38px; object-fit: contain; border-radius: 7px; flex: none; }
.pd-fair { flex: 1 1 120px; min-width: 0; }
.pd-fair strong { display: block; font-size: 14px; color: #111827; }
.pd-fno { font-size: 12px; color: #9ca3af; }
.pd-ftype {
  font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 4px 11px;
  background: #dcfce7; color: #166534; flex: none;
}
.pd-ftype.is-conn { background: #fef3c7; color: #92400e; }

/* রুট — মোবাইলেও তিন কলামই থাকে, কারণ মাঝেরটি সরু হয়ে যায় */
.pd-route { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.pd-port { min-width: 0; }
.pd-port strong {
  display: block; font-size: 13.5px; color: #111827; line-height: 1.5;
  overflow-wrap: break-word;
}
.pd-port span { display: block; font-size: 11.5px; color: #9ca3af; margin-top: 2px; }
.pd-port-r { text-align: right; }
.pd-arrow { display: flex; align-items: center; gap: 3px; color: #1B4332; }
.pd-line { width: 20px; height: 2px; background: #d1d5db; border-radius: 2px; }
.pd-plane { font-size: 13px; }

.pd-transit {
  font-size: 12.5px; color: #92400e; background: #fffbeb;
  border: 1px solid #fde68a; border-radius: 9px;
  padding: 8px 11px; margin: 12px 0 0; line-height: 1.7;
}
.pd-fmeta {
  list-style: none; display: flex; flex-wrap: wrap; gap: 5px 12px;
  padding: 0; margin: 12px 0 0; font-size: 12.5px; color: #4b5563;
}
.pd-fnote { font-size: 12.5px; color: #6b7280; margin: 9px 0 0; line-height: 1.7; }

/* ---------- হোটেল ---------- */
.pd-hotel { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 15px; }
.pd-hhead { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pd-hcity {
  display: inline-block; font-size: 11px; font-weight: 700;
  background: #f0fdf4; color: #1B4332; border-radius: 5px; padding: 2px 8px;
}
.pd-hname { font-size: 15.5px; font-weight: 700; color: #111827; margin: 6px 0 0; line-height: 1.45; }
.pd-stars { color: #D4AF37; font-size: 13px; flex: none; letter-spacing: 1px; }
.pd-dist {
  font-size: 13px; font-weight: 600; color: #1B4332; background: #f0fdf4;
  border-radius: 9px; padding: 9px 11px; margin: 11px 0 0; line-height: 1.7;
}
.pd-haddr { font-size: 12.5px; color: #6b7280; margin: 8px 0 0; line-height: 1.7; }
.pd-hmeta {
  list-style: none; display: flex; flex-wrap: wrap; gap: 5px 12px;
  padding: 0; margin: 11px 0 0; font-size: 12.5px; color: #4b5563;
}
.pd-himgs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.pd-himgs img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.pd-hnote { font-size: 12.5px; color: #6b7280; margin: 10px 0 0; line-height: 1.7; }
.pd-hsite {
  display: inline-block; font-size: 12.5px; font-weight: 600;
  color: #1B4332; margin-top: 10px;
}

/* ---------- যাতায়াত ---------- */
.pd-tgrid { display: grid; grid-template-columns: 1fr; gap: 9px; }
@media (min-width: 640px) { .pd-tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .pd-tgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pd-titem {
  display: flex; align-items: flex-start; gap: 10px;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px;
}
.pd-tico { font-size: 18px; flex: none; line-height: 1.4; }
.pd-titem strong { display: block; font-size: 13.5px; color: #111827; }
.pd-titem span { display: block; font-size: 12.5px; color: #6b7280; margin-top: 2px; line-height: 1.65; }

/* ---------- অন্তর্ভুক্ত / বাদ ---------- */
.pd-inex { display: grid; grid-template-columns: 1fr; gap: 13px; }
@media (min-width: 760px) { .pd-inex { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pd-in, .pd-ex { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 15px; }
.pd-in { border-color: #bbf7d0; }
.pd-ex { border-color: #fecaca; }
.pd-in h3, .pd-ex h3 { margin-top: 0; }
.pd-ex h3 { color: #b91c1c; }
.pd-in ul, .pd-ex ul, .pd-docs ul { list-style: none; padding: 0; margin: 0; }
.pd-in li, .pd-ex li, .pd-docs li {
  font-size: 13.5px; color: #374151; line-height: 1.75;
  padding: 7px 0 7px 22px; position: relative; border-bottom: 1px solid #f9fafb;
}
.pd-in li:last-child, .pd-ex li:last-child, .pd-docs li:last-child { border-bottom: 0; }
.pd-in li::before { content: "✓"; position: absolute; left: 0; color: #16a34a; font-weight: 700; }
.pd-ex li::before { content: "✕"; position: absolute; left: 0; color: #dc2626; font-weight: 700; }
.pd-docs li::before { content: "📄"; position: absolute; left: 0; font-size: 12px; }

/* ---------- ভিসা ---------- */
.pd-vgrid { display: grid; grid-template-columns: 1fr; gap: 15px; }
@media (min-width: 820px) { .pd-vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pd-docs { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 15px; }
.pd-docs h3 { margin-top: 0; }

/* টেবিল — মোবাইলে কখনো পাশে গড়ায় না, কারণ কলাম দুটিই নমনীয় */
.pd-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.pd-table th, .pd-table td {
  font-size: 13.5px; text-align: left; padding: 10px 12px;
  border-bottom: 1px solid #f3f4f6; vertical-align: top;
  overflow-wrap: break-word; word-break: break-word;
}
.pd-table th { width: 42%; color: #6b7280; font-weight: 600; background: #f9fafb; }
.pd-table td { color: #111827; }
.pd-table tr:last-child th, .pd-table tr:last-child td { border-bottom: 0; }

.pd-vtext { font-size: 13.5px; color: #4b5563; line-height: 1.9; margin: 13px 0 0; }
.pd-disc {
  font-size: 12.5px; color: #92400e; background: #fffbeb;
  border: 1px solid #fde68a; border-radius: 10px;
  padding: 11px 13px; margin: 15px 0 0; line-height: 1.8;
}
.pd-terms {
  font-size: 13px; color: #6b7280; line-height: 1.9;
  background: #f9fafb; border: 1px solid #f3f4f6; border-radius: 12px; padding: 14px;
}

/* ---------- বিস্তারিত লেখা ---------- */
.pd-rich { font-size: 15px; line-height: 1.95; color: #374151; }
.pd-rich h2, .pd-rich h3 { color: #111827; font-weight: 700; margin: 22px 0 10px; }
.pd-rich h2 { font-size: 19px; }
.pd-rich h3 { font-size: 16px; }
.pd-rich p { margin: 0 0 14px; }
.pd-rich ul, .pd-rich ol { margin: 0 0 14px; padding-left: 22px; }
.pd-rich li { margin-bottom: 7px; }
.pd-rich a { color: #1B4332; font-weight: 600; }
.pd-rich img { border-radius: 12px; margin: 10px 0; }
/* ভিতরের টেবিলও যেন পাতা চওড়া না করে */
.pd-rich table { width: 100%; display: block; overflow-x: auto; border-collapse: collapse; }
.pd-rich th, .pd-rich td { border: 1px solid #e5e7eb; padding: 8px 10px; font-size: 13.5px; }

/* ---------- গ্যালারি ---------- */
.pd-gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
@media (min-width: 640px) { .pd-gal { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 980px) { .pd-gal { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pd-gal img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 11px; display: block; }

/* ---------- শেষের CTA ---------- */
.pd-cta {
  background: #1B4332; border-radius: 18px; padding: 28px 20px;
  text-align: center; margin-bottom: 30px;
}
.pd-cta h2 { font-size: clamp(18px, 4vw, 23px); font-weight: 800; color: #fff; margin: 0 0 7px; }
.pd-cta p { font-size: 14px; color: rgba(255, 255, 255, .82); margin: 0 0 16px; line-height: 1.8; }
.pd-cta .pd-contact { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.pd-cta .pd-contact:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.pd-cta .pd-book { background: #D4AF37; color: #1B4332; }
.pd-cta .pd-book:hover { background: #c6a033; color: #1B4332; }

/* ---------- সম্পর্কিত ---------- */
.pd-rel { display: grid; grid-template-columns: 1fr; gap: 11px; }
@media (min-width: 700px) { .pd-rel { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pd-rcard {
  display: flex; gap: 11px; align-items: center; text-decoration: none;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 13px; padding: 11px;
}
.pd-rcard:hover { border-color: #1B4332; }
.pd-rcard img, .pd-rico {
  width: 60px; height: 60px; border-radius: 10px; object-fit: cover; flex: none;
  background: #f0fdf4; display: flex; align-items: center; justify-content: center; font-size: 25px;
}
.pd-rcard div { min-width: 0; }
.pd-rcard strong { display: block; font-size: 13.5px; color: #111827; line-height: 1.5; }
.pd-rcard span { display: block; font-size: 11.5px; color: #9ca3af; margin-top: 3px; }
.pd-rcard em { display: block; font-size: 14px; font-weight: 700; color: #1B4332; font-style: normal; margin-top: 4px; }

/* ---------- তালিকার পাতা (/packages) ---------- */
.pk-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .pk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .pk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pk-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid #f3f4f6; border-radius: 16px; overflow: hidden;
  text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.pk-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0, 0, 0, .08); }
.pk-img { height: 182px; background: #f0fdf4; display: flex; align-items: center; justify-content: center; font-size: 46px; position: relative; }
.pk-img img { width: 100%; height: 100%; object-fit: cover; }
.pk-tags { position: absolute; top: 10px; left: 10px; display: flex; gap: 5px; flex-wrap: wrap; }
.pk-tag { font-size: 11px; font-weight: 700; border-radius: 6px; padding: 3px 8px; background: #fff; color: #1B4332; }
.pk-tag.is-star { background: #D4AF37; color: #1B4332; }
.pk-tag.is-off { background: #fef3c7; color: #92400e; }
.pk-body { padding: 15px; display: flex; flex-direction: column; flex: 1 1 auto; }
.pk-cat { font-size: 11px; font-weight: 700; color: #1B4332; background: rgba(27, 67, 50, .08); border-radius: 5px; padding: 2px 8px; align-self: flex-start; }
.pk-title { font-size: 16px; font-weight: 700; color: #111827; margin: 9px 0 7px; line-height: 1.5; }
.pk-desc { font-size: 13px; color: #6b7280; line-height: 1.75; margin: 0 0 11px; }
.pk-meta { display: flex; flex-wrap: wrap; gap: 4px 11px; font-size: 12px; color: #9ca3af; margin-bottom: 12px; }
.pk-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 9px; margin-top: auto; flex-wrap: wrap; }
.pk-price strong { font-size: 19px; font-weight: 800; color: #1B4332; }
.pk-price s { display: block; font-size: 12px; color: #9ca3af; }
.pk-price span { font-size: 12.5px; color: #9ca3af; }
.pk-go { font-size: 13px; font-weight: 700; color: #fff; background: #1B4332; border-radius: 9px; padding: 9px 14px; white-space: nowrap; }
.pk-card:hover .pk-go { background: #163a2a; }
