/* =====================================================================
   Package detail page. Builds on vendor-profile-modern.css for the
   sidebar card, contact form, assurance list and mobile bar.
   ===================================================================== */
.pd-page { max-width: 1240px; margin: 0 auto; padding: 20px 24px 96px; overflow-x: clip; }
.pd-page .vd-crumbs { margin: 0 0 18px; }
.pd-page .vd-crumbs span[aria-current] { color: var(--ink); font-weight: 600; }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.pd-main { min-width: 0; }

/* ---------- Hero ---------- */
.pd-hero {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        radial-gradient(120% 140% at 100% 0%, var(--brand-50) 0%, rgba(255, 255, 255, 0) 55%),
        #fff;
}
.pd-hero-media {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(80% 80% at 20% 15%, rgba(250, 87, 84, .55) 0%, rgba(250, 87, 84, 0) 60%),
        radial-gradient(70% 70% at 90% 100%, rgba(99, 102, 241, .45) 0%, rgba(99, 102, 241, 0) 60%),
        #15121c;
}
.pd-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.pd-hero-ic {
    width: 92px;
    height: 92px;
    border-radius: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 36px;
}
.pd-hero-body { min-width: 0; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pd-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 14px 0 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
}
.pd-tag .svc-ic { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.pd-tag .svc-ic > i { font-size: 11px; }
.pd-tag.is-free { padding-left: 12px; border-color: #bbf7d0; background: #ecfdf5; color: #047857; }
.pd-tag.is-free i { font-size: 12px; }
.pd-title {
    margin: 0 0 18px !important;
    font-family: var(--font-serif) !important;
    font-weight: 500 !important;
    font-size: clamp(1.9rem, 3.2vw, 2.7rem) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
    color: var(--ink) !important;
    overflow-wrap: anywhere;
}
.pd-by {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    color: var(--ink);
    text-decoration: none;
}
.pd-by:hover { text-decoration: none; }
.pd-by:hover strong { color: var(--brand); }
.pd-by-avatar {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-gradient);
    color: #fff;
    font-family: var(--font-serif);
    font-size: 20px;
    box-shadow: var(--shadow-sm);
}
.pd-by-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.pd-by small { display: block; font-size: 12px; color: var(--muted); line-height: 1.2; }
.pd-by strong { display: block; font-size: 15.5px; font-weight: 700; line-height: 1.3; transition: color .2s; }
.pd-by-city, .pd-by-rating { font-size: 14px; color: var(--muted); }
.pd-by-city i { color: var(--brand); margin-right: 3px; font-size: 12px; }
.pd-by-rating { color: var(--ink); font-weight: 600; }
.pd-by-rating i { color: #f59e0b; font-size: 12px; }
.pd-by-rating em { font-style: normal; font-weight: 400; color: var(--muted); }

/* ---------- Facts ---------- */
/* Structured facts for the service, above the description */
.pd-quick-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 14px; margin: 0 0 18px; padding: 14px 16px; list-style: none; background: #f6faf7; border: 1px solid #dcefe3; border-radius: 14px; }
.pd-quick-facts li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: #1f2937; }
.pd-quick-facts li i { color: #17804d; font-size: 14px; }

.pd-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 20px 0 8px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
}
.pd-facts li { list-style: none; display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-left: 1px solid var(--line-soft); min-width: 0; }
.pd-facts li:first-child { border-left: 0; }
.pd-fact-ic { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.pd-facts strong { display: block; font-size: 1.08rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.pd-facts small { display: block; font-size: 12.5px; color: var(--muted); }

/* ---------- Sections ---------- */
.pd-section { padding: 36px 0; border-bottom: 1px solid var(--line-soft); }
.pd-section:last-child { border-bottom: 0; }
.pd-section .vp-h2 { margin-bottom: 18px !important; }
.pd-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pd-see-all { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.pd-see-all i { font-size: 11px; margin-left: 4px; transition: transform .2s; }
.pd-see-all:hover { color: var(--brand); text-decoration: none; }
.pd-see-all:hover i { transform: translateX(3px); }
.pd-muted { margin: 0; color: var(--muted); }
.pd-desc { font-size: 15.5px; line-height: 1.8; color: var(--text); overflow-wrap: anywhere; }

.pd-included { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 0; padding: 0; }
.pd-included li { list-style: none; display: flex; gap: 12px; font-size: 15px; line-height: 1.55; color: var(--text); }
.pd-included i {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ecfdf5;
    color: #16a34a;
    font-size: 10px;
}

/* Steps */
.pd-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; counter-reset: none; }
.pd-steps li {
    list-style: none;
    position: relative;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
}
.pd-step-n {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    border-radius: 11px;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}
.pd-steps li:last-child .pd-step-n { background: var(--brand); }
.pd-steps strong { display: block; margin-bottom: 4px; font-size: 15.5px; color: var(--ink); }
.pd-steps p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* Vendor card */
.pd-vendor {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
}
.pd-vendor-avatar.vp-avatar { width: 68px; height: 68px; border-radius: 20px; }
.pd-vendor-avatar.vp-avatar::before { font-size: 30px; }
.pd-vendor-body { flex: 1; min-width: 0; }
.pd-vendor-body strong { display: block; font-size: 1.1rem; color: var(--ink); }
.pd-vendor-body > span { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.pd-vendor-body > span .fa-map-marker-alt { color: var(--brand); font-size: 12px; }
.pd-star { color: #f59e0b; font-size: 12px; }
.pd-vendor-body p { margin: 8px 0 0; font-size: 14px; line-height: 1.65; color: var(--text); }
.pd-vendor-cta { flex-shrink: 0; white-space: nowrap; }
.pd-vendor-cta i { font-size: 11px; }

/* More packages */
.pd-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pd-more-card {
    display: flex;
    flex-direction: column;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    color: var(--ink);
    transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s;
    min-width: 0;
}
.pd-more-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; color: var(--ink); }
.pd-more-ic { width: 36px; height: 36px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.pd-more-ic > i { font-size: 14px; }
.pd-more-card strong { font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.pd-more-card small { margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.pd-more-price { margin-top: auto; padding-top: 14px; font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Sidebar ---------- */
.pd-aside.vp-aside { position: sticky; top: 96px; display: grid; gap: 16px; scroll-margin-top: 90px; }
.pd-book-price { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.pd-book-price small { display: block; font-size: 12.5px; color: var(--muted); }
.pd-book-price strong { font-size: 2.1rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.pd-book .btn-add-to-cart,
.pd-book .btn-enquire-secondary {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    margin: 0;
    padding: 0 20px;
    border: 0;
    border-radius: 14px;
    background: var(--brand-gradient);
    color: #fff !important;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 14px 28px -14px rgba(250, 87, 84, .8);
    cursor: pointer;
    transition: filter .2s, transform .2s;
}
.pd-book .btn-add-to-cart:hover,
.pd-book .btn-enquire-secondary:hover { filter: brightness(1.05); transform: translateY(-1px); text-decoration: none; }
.pd-book .btn-add-to-cart:disabled { opacity: .7; cursor: wait; transform: none; }
.pd-book .btn-add-to-cart.added { background: #16a34a; box-shadow: none; }
.pd-book .btn-enquire-secondary { background: var(--ink); box-shadow: none; }
.pd-book .enquire-arrow-icon { width: 20px; height: 20px; }
.pd-book-error { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #fef2f2; color: #b91c1c; font-size: 13.5px; }
.pd-save { width: 100%; justify-content: center; margin-top: 10px; height: 46px; }
.pd-book .vp-assure { margin-top: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .pd-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
    .pd-hero { grid-template-columns: 180px minmax(0, 1fr); gap: 22px; }
    .pd-steps, .pd-more { grid-template-columns: 1fr; }
}
@media (max-width: 991px) {
    .pd-grid { grid-template-columns: 1fr; }
    .pd-aside.vp-aside { position: static; }
    .pd-steps, .pd-more { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pd-page { padding-bottom: 120px; }
}
@media (max-width: 767px) {
    .pd-page { padding: 14px 16px 120px; }
    .pd-hero { grid-template-columns: 1fr; padding: 14px; border-radius: 22px; gap: 18px; }
    .pd-hero-media { aspect-ratio: 16 / 9; border-radius: 16px; }
    .pd-hero-body { padding: 0 6px 6px; }
    .pd-facts { grid-template-columns: 1fr; }
    .pd-facts li { border-left: 0; border-top: 1px solid var(--line-soft); }
    .pd-facts li:first-child { border-top: 0; }
    .pd-included, .pd-steps, .pd-more { grid-template-columns: 1fr; }
    .pd-vendor { flex-wrap: wrap; }
    .pd-vendor-cta { width: 100%; justify-content: center; }
}

/* Ask the vendor (main column) */
.pd-ask-sub { margin: -8px 0 18px; }
.pd-ask { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.pd-ask .contact-widget-vendor-detail h3,
.pd-ask .contact-widget-vendor-detail > p { display: none !important; }
.pd-ask .btn-primary-contact { justify-self: start; width: auto !important; padding-left: 28px !important; padding-right: 28px !important; }
.pd-ask-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border: 1px dashed var(--line);
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}
.pd-ask-link:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.pd-desc.vp-about { max-height: 8.2em; }
.pd-desc.vp-about.is-open { max-height: none; }
@media (max-width: 767px) {
    .pd-ask { padding: 18px; }
    .pd-ask .btn-primary-contact { width: 100% !important; }
}

/* Vendor line: name with city/rating underneath */
.pd-by { flex-wrap: nowrap; align-items: center; gap: 12px; }
.pd-by-avatar { flex: 0 0 48px; width: 48px; height: 48px; }
.pd-by-text { display: flex; flex-direction: column; min-width: 0; }
.pd-by-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 2px; font-size: 13.5px; color: var(--muted); }
.pd-by-meta i.fa-map-marker-alt { color: var(--brand); font-size: 12px; margin-right: 2px; }
.pd-by-meta .pd-by-rating { font-size: 13.5px; }

/* Booking button states. modern-pages.css forces a white background on
   .btn-enquire-secondary, which hid the white "View cart" text. */
.pd-book .btn-add-to-cart,
.pd-book .btn-enquire-secondary { border-radius: 999px !important; }
.pd-book .btn-enquire-secondary {
    background: var(--ink) !important;
    border: 0 !important;
    color: #fff !important;
}
.pd-book .btn-enquire-secondary:hover { background: #000 !important; }
.pd-book .btn-enquire-secondary i { font-size: 13px; }
.pd-in-cart {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #ecfdf5;
    color: #047857;
    font-size: 14px;
    font-weight: 600;
}
