/* ============================================
   PROGRAM DETAIL PAGE — Gayatri
   ============================================ */

.pd {
    --pd-orange: #F57C00;
    --pd-orange-soft: rgba(245, 124, 0, 0.12);
    --pd-text: #1f2937;
    --pd-muted: #6b7280;
    --pd-border: rgba(15, 23, 42, 0.08);
    --pd-radius: 16px;
    background: #f7f5f2;
    padding-bottom: 72px;
}

.pd-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #1a1410;
    /* Clear fixed site header so breadcrumb/title are not clipped */
    padding-top: 110px;
}

.pd-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(18, 12, 8, 0.35) 0%,
        rgba(18, 12, 8, 0.55) 40%,
        rgba(18, 12, 8, 0.88) 100%
    );
}

.pd-hero__content {
    position: relative;
    z-index: 2;
    color: #fff;
    box-sizing: border-box;
    width: 100%;
    max-width: var(--container-max, 1200px);
    margin-left: auto;
    margin-right: auto;
    padding: 28px 24px 44px;
}

.pd-body {
    margin-top: 0;
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--container-max, 1200px);
    margin-left: auto;
    margin-right: auto;
    padding: 40px 24px 0;
    box-sizing: border-box;
}

.pd-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    margin-bottom: 16px;
    opacity: 0.92;
    line-height: 1.4;
}

.pd-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.pd-breadcrumb a:hover {
    color: var(--pd-orange);
}

.pd-breadcrumb span {
    opacity: 0.7;
}

.pd-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.pd-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.pd-badge--status {
    background: var(--pd-orange);
    border-color: transparent;
}

.pd-hero__title {
    font-size: clamp(1.75rem, 4.5vw, 3rem);
    font-weight: 750;
    line-height: 1.2;
    margin: 0 0 16px;
    max-width: 20ch;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
    word-break: break-word;
}

.pd-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    font-size: 0.92rem;
}

.pd-hero__meta > span {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 7px 12px;
    line-height: 1.3;
}

.pd-hero__meta i {
    color: #ffb347;
    margin-right: 6px;
}

.pd-body > .row > .col-lg-8 {
    margin-top: 24px;
    padding-top: 0;
}

.pd-body > .row > .col-lg-4 {
    margin-top: 24px;
}

.pd-lead {
    font-size: 1.12rem;
    line-height: 1.65;
    color: var(--pd-text);
    background: #fff;
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius);
    padding: 20px 22px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
    margin-bottom: 18px;
}

.pd-panel {
    background: #fff;
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius);
    padding: 24px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
    margin-bottom: 18px;
}

.pd-panel--soft {
    background: linear-gradient(180deg, #fff 0%, #fff8f1 100%);
}

.pd-panel__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--pd-text);
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.pd-rich {
    color: #374151;
    line-height: 1.7;
    font-size: 0.98rem;
}

.pd-rich :where(p, ul, ol) {
    margin-bottom: 0.85rem;
}

.pd-rich :where(ul, ol) {
    padding-left: 1.2rem;
}

.pd-rich--list ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.pd-rich--list li {
    position: relative;
    padding: 8px 0 8px 28px;
    border-bottom: 1px solid var(--pd-border);
}

.pd-rich--list li:last-child {
    border-bottom: 0;
}

.pd-rich--list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--pd-orange-soft);
    color: var(--pd-orange);
    font-size: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 20px;
}

.pd-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.pd-info-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius);
    padding: 16px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.03);
}

.pd-info-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--pd-orange-soft);
    color: var(--pd-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pd-info-card__label {
    display: block;
    font-size: 0.75rem;
    color: var(--pd-muted);
    margin-bottom: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pd-info-card strong {
    font-size: 0.95rem;
    color: var(--pd-text);
}

.pd-facility {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--pd-border);
    background: #fafafa;
    height: 100%;
}

.pd-facility i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pd-facility.is-yes i {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
}

.pd-facility.is-no i {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

.pd-facility strong {
    display: block;
    margin-bottom: 4px;
    color: var(--pd-text);
}

.pd-facility p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--pd-muted);
    line-height: 1.5;
}

.pd-facility__charge {
    color: var(--pd-orange) !important;
    font-weight: 600;
    margin-top: 6px !important;
}

.pd-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.pd-gallery__item {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 1;
    background: #f3f4f6;
}

.pd-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.pd-gallery__item:hover img {
    transform: scale(1.05);
}

.pd-book {
    background: #fff;
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    padding: 24px;
    position: sticky;
    top: 96px;
}

.pd-book__price-wrap {
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--pd-border);
}

.pd-book__old {
    display: inline-block;
    text-decoration: line-through;
    color: var(--pd-muted);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.pd-book__price {
    font-size: 2rem;
    font-weight: 750;
    color: var(--pd-orange);
    line-height: 1.1;
}

.pd-book__price span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--pd-muted);
}

.pd-book__save {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
    font-size: 0.78rem;
    font-weight: 650;
}

.pd-book__facts {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}

.pd-book__facts li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--pd-border);
    font-size: 0.9rem;
}

.pd-book__facts li span {
    color: var(--pd-muted);
}

.pd-book__facts li strong {
    color: var(--pd-text);
    text-align: right;
    font-weight: 650;
}

.pd-slots {
    margin-bottom: 18px;
    padding: 14px;
    border-radius: 14px;
    background: #fff8f1;
    border: 1px solid rgba(245, 124, 0, 0.18);
}

.pd-slots__head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.84rem;
    margin-bottom: 10px;
}

.pd-slots__head span {
    color: var(--pd-muted);
}

.pd-slots__bar {
    height: 8px;
    border-radius: 99px;
    background: rgba(245, 124, 0, 0.15);
    overflow: hidden;
}

.pd-slots__bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #F57C00, #ff9800);
    border-radius: 99px;
}

.pd-slots__meta {
    margin-top: 8px;
    font-size: 0.78rem;
    color: var(--pd-muted);
}

.pd-book__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #F57C00, #ef6c00);
    color: #fff !important;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none !important;
    box-shadow: 0 12px 28px rgba(245, 124, 0, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pd-book__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(245, 124, 0, 0.34);
    color: #fff !important;
}

.pd-book__btn.is-disabled {
    background: #9ca3af;
    box-shadow: none;
    pointer-events: none;
    cursor: not-allowed;
}

.pd-book__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
    color: var(--pd-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.pd-book__link:hover {
    color: var(--pd-orange);
}

.pd-related {
    margin-top: 48px;
}

.pd-related__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.pd-related__head h2 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
}

.pd-related__head a {
    color: var(--pd-orange);
    font-weight: 650;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .pd-hero {
        min-height: 340px;
        padding-top: 96px;
    }

    .pd-hero__content {
        padding: 20px 20px 32px;
    }

    .pd-body {
        margin-top: 0;
        padding: 28px 20px 0;
    }

    .pd-body > .row > .col-lg-8,
    .pd-body > .row > .col-lg-4 {
        margin-top: 12px;
        padding-top: 0;
    }

    .pd-book {
        position: static;
    }

    .pd-hero__title {
        max-width: none;
        font-size: clamp(1.55rem, 6vw, 2.1rem);
    }
}

@media (max-width: 767.98px) {
    .pd-info-grid,
    .pd-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .pd-hero {
        min-height: 300px;
        padding-top: 88px;
        align-items: flex-end;
    }

    .pd-hero__content {
        padding: 16px 16px 24px;
    }

    .pd-body {
        padding: 24px 16px 0;
    }

    .pd-breadcrumb {
        font-size: 0.75rem;
        margin-bottom: 12px;
        gap: 6px;
    }

    .pd-hero__badges {
        margin-bottom: 10px;
        gap: 6px;
    }

    .pd-badge {
        padding: 5px 10px;
        font-size: 0.7rem;
    }

    .pd-hero__meta {
        gap: 8px;
        font-size: 0.8rem;
    }

    .pd-hero__meta > span {
        padding: 6px 10px;
    }

    .pd-panel {
        padding: 18px 16px;
    }

    .pd-lead {
        padding: 16px;
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .pd-info-grid {
        grid-template-columns: 1fr;
    }

    .pd-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .pd-hero {
        min-height: 280px;
        padding-top: 84px;
    }

    .pd-hero__content {
        padding: 14px 16px 22px;
    }

    .pd-body {
        padding: 20px 16px 0;
    }

    .pd-hero__title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
}
