/* =====================================================================
   PACKAGE DETAIL (new UI) — classes prefixed "pd-"
   ===================================================================== */

.pd-page {
    --pd-orange: #f97316;
    --pd-orange-dark: #ea580c;
    --pd-orange-soft: #fff4ec;
    --pd-text: #1f2937;
    --pd-muted: #6b7280;
    padding-bottom: 60px;
    background: #f8f6f3;
    color: var(--pd-text);
    font-family: "Poppins", sans-serif;
}

.pd-page h1,
.pd-page h2,
.pd-page h3 { font-family: inherit; margin: 0; }
.pd-page p { margin: 0; }

/* ---------- Hero ---------- */
.pd-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px 80px;
    border-radius: 0 0 28px 28px;
    border-bottom: 5px solid var(--pd-orange);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}

.pd-hero-inner { max-width: 900px; }

.pd-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    padding: 5px 16px;
    border-radius: 30px;
    background: var(--pd-orange);
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.pd-hero h1 {
    margin-bottom: 10px;
    font-size: clamp(28px, 4.2vw, 46px);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.pd-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 14px;
    font-size: 16px;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.92);
}

.pd-crumb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.pd-crumb:hover { color: #fff; background: rgba(255, 255, 255, 0.3); }

/* ---------- Info bar ---------- */
.pd-infobar {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: -34px auto 0;
    padding: 16px 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 40px;
    border-radius: 40px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    font-size: 15px;
}

.pd-infobar span { display: inline-flex; align-items: center; gap: 8px; }
.pd-infobar i { color: var(--pd-orange); }
.pd-infobar strong { font-weight: 600; }

/* ---------- Layout ---------- */
.pd-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pd-row {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 32px;
    margin-top: 36px;
    align-items: start;
}

.pd-card {
    padding: 30px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.pd-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px !important;
    font-size: 24px;
    font-weight: 700;
}

.pd-card-title i { color: var(--pd-orange); }

/* Rich text written in the admin editor */
.pd-rich {
    font-size: 15px;
    line-height: 1.8;
    color: #4b5563;
    overflow-wrap: anywhere;
}

.pd-rich p,
.pd-rich ul,
.pd-rich ol { margin: 0 0 0.75rem; }
.pd-rich > :last-child { margin-bottom: 0; }
.pd-rich img { max-width: 100%; height: auto; border-radius: 10px; }

.pd-image {
    height: 100%;
    min-height: 300px;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.pd-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Itinerary ---------- */
.pd-day {
    display: flex;
    gap: 16px;
    padding: 18px;
    border: 1px solid #f1ede8;
    border-radius: 16px;
    background: #fbfaf8;
}

.pd-day + .pd-day { margin-top: 14px; }

.pd-day-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--pd-orange);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
    color: #fff;
    font-weight: 700;
}

.pd-day h3 {
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: 700;
}

.pd-day .pd-rich { font-size: 14px; line-height: 1.65; }

/* ---------- Booking card ---------- */
.pd-book {
    position: sticky;
    top: 100px;
}

.pd-price {
    margin-bottom: 18px !important;
    font-size: 15px;
    color: var(--pd-muted);
}

.pd-price strong {
    margin-right: 4px;
    font-size: 30px;
    font-weight: 800;
    color: var(--pd-text);
}

.pd-field { margin-bottom: 16px; }

.pd-field label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
}

.pd-field label i { color: var(--pd-orange); }

.pd-field input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.pd-field input:focus { border-color: var(--pd-orange); background: #fff; }

.pd-error {
    margin-top: 4px;
    font-size: 12px;
    color: #dc2626;
}

.pd-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border: none;
    border-radius: 40px;
    background: var(--pd-orange);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.pd-btn:hover {
    color: #fff;
    background: var(--pd-orange-dark);
    transform: translateY(-2px);
}

.pd-note {
    margin-top: 14px !important;
    font-size: 14px;
    text-align: center;
    color: var(--pd-muted);
}

.pd-note a { color: var(--pd-orange); font-weight: 600; }

/* ---------- Activities ---------- */
.pd-section-head {
    margin: 56px 0 28px;
    text-align: center;
}

.pd-section-head h2 {
    font-size: 30px;
    font-weight: 800;
}

.pd-section-head h2 i { margin-right: 8px; color: var(--pd-orange); }

.pd-section-head p {
    margin-top: 6px !important;
    color: var(--pd-muted);
}

.pd-activities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px 36px;
}

.pd-activity {
    width: 140px;
    text-align: center;
}

.pd-activity-icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    color: var(--pd-orange);
    font-size: 26px;
    transition: transform 0.3s ease;
}

.pd-activity:hover .pd-activity-icon { transform: translateY(-4px); }

.pd-activity h3 {
    font-size: 15px;
    font-weight: 600;
}

.pd-activity-meta {
    margin-top: 2px !important;
    font-size: 12px;
    color: var(--pd-muted);
}

.pd-activity-meta .is-price { color: var(--pd-orange-dark); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .pd-row { grid-template-columns: 1fr; }
    .pd-book { position: static; }
    .pd-image { min-height: 260px; }
}

@media (max-width: 576px) {
    .pd-hero { min-height: 240px; padding: 40px 16px 70px; border-radius: 0 0 20px 20px; }
    .pd-hero-meta { font-size: 14px; }
    .pd-infobar { margin: -30px 16px 0; padding: 14px 18px; border-radius: 20px; gap: 8px 20px; font-size: 14px; }
    .pd-card { padding: 22px 18px; }
    .pd-card-title { font-size: 20px; }
    .pd-day { padding: 14px; gap: 12px; }
    .pd-day-num { width: 34px; height: 34px; font-size: 14px; }
    .pd-section-head h2 { font-size: 24px; }
    .pd-activities { gap: 22px 16px; }
    .pd-activity { width: 120px; }
}
