/* ==========================================================================
   PACKAGE DETAIL PAGE STYLES - FULLY RESPONSIVE ACROSS ALL DEVICES
   Discoveryala - Safari Jeep Tours & Wildlife Expeditions
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Package Detail Header (Hero / Title / Standalone Image & Gallery)
   -------------------------------------------------------------------------- */
.package-detail-header-section {
    padding: 120px 0 44px;
    background-color: var(--bg-pastel-cream);
    border-bottom: 1px solid rgba(71, 81, 40, 0.12);
    position: relative;
    overflow: hidden;
}

.package-header-grid {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 48px;
    align-items: center;
}

.package-header-left {
    min-width: 0; /* Prevents flex/grid blowouts */
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    font-size: 0.82rem;
    color: #666666;
    margin-bottom: 16px;
    line-height: 1.4;
    word-break: break-word;
}

.breadcrumb-nav a {
    color: #475128;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
    color: #233325;
    text-decoration: underline;
}

.breadcrumb-nav span {
    color: #999999;
}

.active-crumb {
    color: #333333;
    font-weight: 600;
}

.header-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.detail-header-title {
    font-size: 2.5rem;
    color: #233325;
    line-height: 1.22;
    margin-bottom: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    word-break: break-word;
}

.detail-header-subtitle {
    font-size: 1.02rem;
    color: #475128;
    margin-bottom: 22px;
    font-weight: 500;
    line-height: 1.6;
}

.detail-meta-pills-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.meta-pill-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #E7EBD9;
    color: #475128;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: var(--radius-pill, 50px);
    white-space: nowrap;
    transition: background 0.2s ease;
}

/* Right-Side Standalone Image & Gallery Container */
.package-header-right {
    min-width: 0;
    width: 100%;
}

.header-img-container {
    width: 100%;
    height: 330px;
    border-radius: var(--radius-card, 18px);
    overflow: hidden;
    box-shadow: 0 14px 38px rgba(71, 81, 40, 0.12);
    position: relative;
    background: #E5EAD8;
}

.header-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.header-img-container:hover img {
    transform: scale(1.03);
}

/* Gallery Thumbnails */
.gallery-thumbs-row {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.gallery-thumbs-row::-webkit-scrollbar {
    height: 4px;
}

.gallery-thumbs-row::-webkit-scrollbar-thumb {
    background: rgba(96, 108, 56, 0.3);
    border-radius: 4px;
}

.gallery-thumb-item {
    width: 72px;
    height: 52px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    flex-shrink: 0;
    transition: border-color 0.2s ease, transform 0.2s ease;
    background: #E5EAD8;
}

.gallery-thumb-item:hover {
    transform: translateY(-2px);
}

.gallery-thumb-item.active {
    border-color: #606C38;
}

.gallery-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --------------------------------------------------------------------------
   2. Main Package Detail Layout (Two Columns)
   -------------------------------------------------------------------------- */
.package-detail-section {
    padding: 48px 0 90px;
    background-color: var(--bg-pastel-cream);
}

.package-detail-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 56px;
    align-items: start;
}

.detail-left-col {
    min-width: 0; /* Prevents overflow from tables / code blocks */
}

.detail-right-col {
    min-width: 0;
}

/* Detail Blocks */
.detail-block {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 0 34px 0;
    margin-bottom: 34px;
    border-bottom: 1px solid rgba(71, 81, 40, 0.12) !important;
}

.detail-block:last-child {
    border-bottom: none !important;
    padding-bottom: 0;
    margin-bottom: 0;
}

.detail-block-title {
    font-size: 1.3rem;
    color: #475128;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
}

.detail-description-p {
    font-size: 0.95rem;
    line-height: 1.85;
    color: #333333;
    white-space: pre-line;
}

/* Specs Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 8px;
}

.spec-item {
    background: transparent !important;
    padding: 2px 0 2px 14px;
    border: none !important;
    border-left: 2.5px solid #606C38 !important;
}

.spec-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #475128;
    font-weight: 700;
    margin-bottom: 2px;
}

.spec-value {
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--text-primary, #233325);
    word-break: break-word;
}

/* Highlights Grid */
.highlights-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.highlight-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: transparent !important;
    padding: 2px 0;
    border: none !important;
}

.highlight-icon {
    color: #606C38;
    font-size: 0.95rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.highlight-text {
    font-size: 0.92rem;
    color: var(--text-primary, #233325);
    line-height: 1.55;
    word-break: break-word;
}

/* Inclusions & Exclusions Grid */
.inc-exc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.inc-card, .exc-card {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.inc-title {
    color: #475128;
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.exc-title {
    color: #C0392B;
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.inc-list, .exc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.inc-list li {
    font-size: 0.88rem;
    color: #233325;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.inc-list li i {
    color: #606C38;
    margin-top: 3px;
    flex-shrink: 0;
}

.exc-list li {
    font-size: 0.88rem;
    color: #4A2323;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.exc-list li i {
    color: #C0392B;
    margin-top: 3px;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   3. AEO Optimized Components (Direct Answers, Comparison Table, Tracker Tip)
   -------------------------------------------------------------------------- */
.aeo-direct-answer-card {
    background-color: transparent;
    border: none;
    padding: 10px 0 20px;
    margin: 16px 0 28px;
}

.aeo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(96, 108, 56, 0.08);
    color: #475128;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.aeo-question {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #233325;
    margin: 0 0 10px 0;
    font-weight: 700;
    line-height: 1.35;
}

.aeo-answer-p {
    font-size: 1.02rem;
    line-height: 1.75;
    color: #2D3748;
    margin: 0 0 14px 0;
}

.aeo-key-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    padding-top: 8px;
    font-size: 0.88rem;
    color: #4A5568;
}

.aeo-key-points span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.aeo-key-points span i {
    color: #606C38;
}

/* Table Scroll Hint (Visible on mobile touch screens) */
.table-scroll-hint {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #606C38;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.aeo-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 16px 0 28px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.aeo-table-wrapper::-webkit-scrollbar {
    height: 5px;
}

.aeo-table-wrapper::-webkit-scrollbar-thumb {
    background: rgba(96, 108, 56, 0.3);
    border-radius: 4px;
}

.aeo-comparison-table {
    width: 100%;
    min-width: 520px; /* Crucial: stops narrow phones from squishing table cells */
    border-collapse: collapse;
    background-color: transparent;
    font-size: 0.92rem;
    text-align: left;
}

.aeo-comparison-table th {
    background-color: transparent;
    color: #233325;
    padding: 14px 16px;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    border: none;
    border-bottom: 2px solid rgba(96, 108, 56, 0.2);
}

.aeo-comparison-table td {
    padding: 14px 16px;
    border: none;
    border-bottom: 1px solid rgba(96, 108, 56, 0.1);
    color: #2D3748;
    line-height: 1.55;
    vertical-align: top;
    background-color: transparent;
}

.aeo-comparison-table tr:last-child td {
    border-bottom: none;
}

/* Tracker Tip Box */
.aeo-tracker-tip {
    background-color: transparent;
    border: none;
    padding: 16px 0;
    margin: 20px 0;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.aeo-tracker-tip .tip-icon {
    background: #606C38;
    color: #FFFFFF;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.aeo-tracker-tip .tip-content h4 {
    margin: 0 0 6px 0;
    font-family: var(--font-heading);
    color: #233325;
    font-size: 1.05rem;
    font-weight: 700;
}

.aeo-tracker-tip .tip-content p {
    margin: 0;
    font-size: 0.93rem;
    color: #4A5568;
    line-height: 1.65;
}

/* FAQ Accordion */
.aeo-faq-wrapper {
    margin: 28px 0 36px;
}

.aeo-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aeo-faq-item {
    border: none;
    border-radius: 16px;
    background-color: rgba(96, 108, 56, 0.05);
    overflow: hidden;
    transition: background-color 0.2s ease;
}

.aeo-faq-item.active {
    background-color: rgba(96, 108, 56, 0.08);
}

.aeo-faq-q-btn {
    width: 100%;
    min-height: 48px;
    padding: 18px 22px;
    background-color: transparent;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: #233325;
    gap: 16px;
    transition: background-color 0.2s;
}

.aeo-faq-q-btn:hover {
    background-color: rgba(96, 108, 56, 0.04);
}

.aeo-faq-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(96, 108, 56, 0.12);
    color: #606C38;
    font-size: 0.85rem;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.aeo-faq-item.active .aeo-faq-icon {
    transform: rotate(180deg);
    background: #606C38;
    color: #FFFFFF;
}

.aeo-faq-answer {
    display: none;
    padding: 0 22px 20px;
    color: #3D4F3F;
    font-size: 0.96rem;
    line-height: 1.7;
    background-color: transparent;
}

.aeo-faq-item.active .aeo-faq-answer {
    display: block;
}

/* Cluster Nav */
.aeo-cluster-nav {
    background-color: transparent;
    border: none;
    padding: 20px 0;
    margin: 28px 0;
}

.aeo-cluster-nav h4 {
    margin: 0 0 14px 0;
    font-family: var(--font-heading);
    color: #233325;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.aeo-cluster-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.aeo-cluster-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(96, 108, 56, 0.08);
    border: none;
    color: #475128;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.aeo-cluster-link:hover {
    background-color: #606C38;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(96, 108, 56, 0.18);
}

/* --------------------------------------------------------------------------
   4. Right Column Sticky Reservation Card
   -------------------------------------------------------------------------- */
.booking-sticky-card {
    position: sticky;
    top: 96px;
    background: transparent;
    border-radius: 0;
    border: none;
    padding: 0;
    box-shadow: none;
    transition: all 0.3s ease;
}

.booking-price-header {
    margin-bottom: 16px;
    padding-bottom: 0;
}

.booking-price-amount {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    color: #475128;
    line-height: 1.05;
    margin-top: 4px;
}

.booking-price-unit {
    font-size: 0.85rem;
    color: #666666;
    margin-top: 6px;
    font-weight: 500;
}

.addons-breakdown-box {
    background: transparent;
    border-top: 1px solid rgba(71, 81, 40, 0.12);
    border-bottom: 1px solid rgba(71, 81, 40, 0.12);
    padding: 16px 0;
    margin-bottom: 24px;
}

.addon-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: 10px;
    color: #333333;
    gap: 8px;
}

.addon-row:last-child {
    margin-bottom: 0;
}

.addon-val {
    font-weight: 700;
    color: #475128;
    text-align: right;
    word-break: break-word;
}

.btn-reserve-package {
    width: 100%;
    display: block;
    text-align: center;
    background: #606C38;
    color: #FFFFFF;
    padding: 16px 20px;
    border-radius: var(--radius-pill, 50px);
    font-family: var(--font-brand, inherit);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(96, 108, 56, 0.25);
    transition: var(--transition, all 0.3s ease);
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}

.btn-reserve-package:hover {
    background: #475128;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(96, 108, 56, 0.4);
}


/* --------------------------------------------------------------------------
   6. Related Safari Packages Section
   -------------------------------------------------------------------------- */
.other-packages-section {
    padding: 70px 0;
    background: var(--bg-pastel-cream);
}

.other-packages-header {
    margin-bottom: 44px;
}

.other-camp-card {
    background: transparent;
    box-shadow: none;
    border: none;
    margin-bottom: 48px;
}

.other-camp-image {
    border-radius: var(--radius-card, 16px);
    overflow: hidden;
    position: relative;
    height: 320px;
}

.other-camp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.other-camp-details {
    padding: 14px 28px;
}

.other-camp-details .camp-title,
.camp-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    color: var(--text-primary, #233325);
    margin-bottom: 14px;
    font-weight: 800;
}

.other-camp-details .camp-title a,
.other-camp-details .camp-title a:link,
.other-camp-details .camp-title a:visited,
.other-camp-details .camp-title a:active,
.camp-title a,
.camp-title a:link,
.camp-title a:visited,
.camp-title a:active,
.camp-title-link,
.camp-title-link:link,
.camp-title-link:visited,
.camp-title-link:active {
    color: #233325 !important;
    text-decoration: none !important;
    transition: color 0.25s ease;
}

.other-camp-details .camp-title a:hover,
.camp-title a:hover,
.camp-title-link:hover {
    color: #606C38 !important;
    text-decoration: none !important;
}

.other-camp-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #475128;
    margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   7. Interactive Reservation Form Modal
   -------------------------------------------------------------------------- */
.booking-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(18, 33, 24, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    box-sizing: border-box;
}

.booking-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.booking-modal-card {
    background: #FAF6EE;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 24px;
    padding: 36px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(71, 81, 40, 0.2);
    animation: modalSlideUp 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-sizing: border-box;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(71, 81, 40, 0.1);
    color: #475128;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition, all 0.2s ease);
    z-index: 10;
}

.modal-close-btn:hover {
    background: #606C38;
    color: #FFFFFF;
    transform: rotate(90deg);
}

.modal-package-badge {
    display: inline-block;
    background: #E7EBD9;
    color: #475128;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: var(--radius-pill, 50px);
    margin-bottom: 8px;
}

.modal-package-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #233325;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.25;
    padding-right: 40px; /* Space for close button */
    word-break: break-word;
}

/* Modal Form Fields */
.form-step-section {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(71, 81, 40, 0.12);
}

.form-step-section:last-of-type {
    border-bottom: none;
}

.step-num-title {
    font-family: var(--font-brand, inherit);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #606C38;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 14px;
}

.form-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.form-field-group label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #333333;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(71, 81, 40, 0.25);
    background: #FFFFFF;
    font-family: var(--font-body, inherit);
    font-size: 16px; /* Prevents auto-zoom on iOS */
    color: #233325;
    outline: none;
    transition: var(--transition, all 0.2s ease);
    box-sizing: border-box;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: #606C38;
    box-shadow: 0 0 0 3px rgba(96, 108, 56, 0.15);
}

.phone-input-group {
    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 8px;
}

#phone_code {
    min-width: 0;
    font-size: 15px;
    padding: 12px 8px;
}

/* Checkbox Toggle Addon Items */
.toggle-addon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FFFFFF;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid rgba(71, 81, 40, 0.18);
    margin-bottom: 10px;
    cursor: pointer;
    transition: var(--transition, all 0.2s ease);
    gap: 10px;
}

.toggle-addon-item:hover {
    border-color: #606C38;
    background: #F8FAF5;
}

.addon-toggle-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #233325;
}

.addon-toggle-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #606C38;
    cursor: pointer;
    flex-shrink: 0;
}

.addon-toggle-price {
    font-weight: 800;
    color: #475128;
    font-size: 0.9rem;
    text-align: right;
    white-space: nowrap;
}

/* Modal Summary Box */
.modal-summary-box {
    background: #E7EBD9;
    border-radius: 16px;
    padding: 20px;
    margin: 22px 0;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    margin-bottom: 8px;
    color: #333333;
    gap: 10px;
}

.summary-line.total-line {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #475128;
    border-top: 1px dashed rgba(71, 81, 40, 0.3);
    padding-top: 12px;
    margin-top: 10px;
    margin-bottom: 0;
}

/* Guest Age Breakdown Grid */
.guest-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.guest-type-box {
    background: #FFFFFF;
    border: 1px solid rgba(71, 81, 40, 0.2);
    border-radius: 14px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.guest-type-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #233325;
}

.guest-type-sub {
    font-size: 0.7rem;
    color: #606C38;
    font-weight: 600;
}

/* Meal Count Input Sub-wrapper */
.meal-count-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F8FAF5;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px dashed rgba(71, 81, 40, 0.25);
    margin-top: 8px;
    margin-bottom: 12px;
}

.meal-count-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #475128;
}

.meal-count-input {
    width: 70px;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid rgba(71, 81, 40, 0.3);
    text-align: center;
    font-weight: 700;
    font-size: 16px;
}

/* --------------------------------------------------------------------------
   8. Success Confirmation Modal
   -------------------------------------------------------------------------- */
.success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(18, 33, 24, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    box-sizing: border-box;
}

.success-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.success-modal-card {
    background: #FAF6EE;
    width: 100%;
    max-width: 520px;
    border-radius: 28px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    border: 2px solid #D4AF37;
    position: relative;
    animation: successBadgePop 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-sizing: border-box;
}

@keyframes successBadgePop {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(25px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.success-icon-ring {
    width: 76px;
    height: 76px;
    background: linear-gradient(135deg, #606C38 0%, #475128 100%);
    color: #D4AF37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 18px;
    box-shadow: 0 10px 25px rgba(96, 108, 56, 0.3);
    border: 3px solid #D4AF37;
}

.success-modal-title {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    color: #233325;
    margin-bottom: 10px;
    line-height: 1.2;
}

.success-modal-subtitle {
    font-size: 0.95rem;
    color: #475128;
    margin-bottom: 22px;
    line-height: 1.6;
}

.success-ref-box {
    background: #E7EBD9;
    border: 1px dashed rgba(71, 81, 40, 0.3);
    border-radius: 14px;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #475128;
    margin-bottom: 22px;
    display: inline-block;
}

.btn-success-close {
    background: #606C38;
    color: #FFFFFF;
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius-pill, 50px);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition, all 0.2s ease);
    box-shadow: 0 6px 20px rgba(96, 108, 56, 0.25);
}

.btn-success-close:hover {
    background: #475128;
    transform: translateY(-2px);
}


/* ==========================================================================
   MULTI-DEVICE RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* --------------------------------------------------------------------------
   A. Small Laptops & Desktops (max-width: 1200px)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .package-header-grid {
        grid-template-columns: 1fr 420px;
        gap: 36px;
    }

    .package-detail-grid {
        grid-template-columns: 1fr 330px;
        gap: 40px;
    }

    .detail-header-title {
        font-size: 2.3rem;
    }
}

/* --------------------------------------------------------------------------
   B. Tablets (Landscape & Portrait) (max-width: 992px)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .package-detail-header-section {
        padding: 100px 0 32px;
    }

    .package-header-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .header-img-container {
        height: clamp(250px, 48vw, 360px);
    }

    .detail-header-title {
        font-size: 2.05rem;
    }

    .package-detail-section {
        padding: 32px 0 70px;
    }

    .package-detail-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    /* Elevated Booking Card when stacked on Tablet & Mobile */
    .booking-sticky-card {
        position: static !important;
        top: auto !important;
        background: #FFFFFF !important;
        border-radius: 20px !important;
        padding: 28px 24px !important;
        border: 1px solid rgba(71, 81, 40, 0.16) !important;
        box-shadow: 0 8px 30px rgba(71, 81, 40, 0.08) !important;
        margin-top: 10px;
    }

    .addons-breakdown-box {
        background: #FAF8F2 !important;
        border-radius: 12px;
        padding: 14px 16px !important;
        border: 1px solid rgba(71, 81, 40, 0.1) !important;
    }
}

/* --------------------------------------------------------------------------
   C. Large Phones & Small Tablets (max-width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .package-detail-header-section {
        padding: 85px 0 24px;
    }

    .detail-header-title {
        font-size: 1.7rem;
        line-height: 1.25;
        margin-bottom: 10px;
    }

    .detail-header-subtitle {
        font-size: 0.92rem;
        margin-bottom: 16px;
    }

    .header-img-container {
        height: clamp(210px, 55vw, 290px);
        border-radius: 16px;
    }

    .gallery-thumb-item {
        width: 64px;
        height: 46px;
    }

    .package-detail-section {
        padding: 24px 0 50px;
    }

    .detail-block {
        padding: 0 0 24px 0;
        margin-bottom: 24px;
    }

    .detail-block-title {
        font-size: 1.15rem;
        margin-bottom: 12px;
    }

    .specs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px 12px;
    }

    .inc-exc-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    /* Comparison Table Horizontal Touch Scrolling */
    .table-scroll-hint {
        display: flex;
    }

    .aeo-table-wrapper {
        margin: 12px 0 20px;
    }

    .aeo-comparison-table th,
    .aeo-comparison-table td {
        padding: 11px 12px;
        font-size: 0.86rem;
    }

    .aeo-faq-q-btn {
        padding: 14px 16px;
        font-size: 0.95rem;
        gap: 12px;
    }

    .aeo-faq-answer {
        padding: 0 16px 16px;
        font-size: 0.9rem;
    }

    .aeo-tracker-tip {
        gap: 14px;
        padding: 14px 0;
    }

    .aeo-tracker-tip .tip-icon {
        width: 38px;
        height: 38px;
        font-size: 1.05rem;
    }

    .aeo-tracker-tip .tip-content h4 {
        font-size: 0.98rem;
    }

    .aeo-tracker-tip .tip-content p {
        font-size: 0.88rem;
        line-height: 1.6;
    }

    /* Related Packages Section */
    .other-packages-section {
        padding: 44px 0 60px !important;
    }

    .other-packages-header {
        margin-bottom: 28px;
    }

    .other-camp-card {
        margin-bottom: 32px;
    }

    .other-camp-image {
        height: 220px;
        border-radius: 14px;
    }

    .other-camp-details {
        padding: 16px 4px !important;
    }

    .other-camp-price {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    /* Booking Modal Responsive Adjustments */
    .booking-modal-overlay {
        padding: 12px;
    }

    .booking-modal-card {
        padding: 24px 18px;
        border-radius: 20px;
        max-height: 88vh;
    }

    .modal-close-btn {
        top: 14px;
        right: 14px;
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }

    .modal-package-title {
        font-size: 1.35rem;
        margin-bottom: 18px;
        padding-right: 32px;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .phone-input-group {
        grid-template-columns: 96px 1fr;
    }
}

/* --------------------------------------------------------------------------
   D. Standard Mobile Phones (max-width: 560px)
   -------------------------------------------------------------------------- */
@media (max-width: 560px) {
    .package-detail-header-section {
        padding: 78px 0 20px;
    }

    .breadcrumb-nav {
        font-size: 0.75rem;
        margin-bottom: 10px;
    }

    .detail-header-title {
        font-size: 1.45rem;
        line-height: 1.25;
    }

    .meta-pill-dark {
        font-size: 0.72rem;
        padding: 5px 12px;
    }

    .header-img-container {
        height: 200px;
        border-radius: 14px;
    }

    .gallery-thumb-item {
        width: 56px;
        height: 40px;
        border-radius: 6px;
    }

    .aeo-key-points {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 10px;
        font-size: 0.8rem;
    }

    .booking-sticky-card {
        padding: 20px 16px !important;
        border-radius: 16px !important;
    }

    .booking-price-amount {
        font-size: 2.15rem;
    }

    /* Smart Mobile Guest Breakdown: Horizontal Row saves 200px vertical space */
    .guest-breakdown-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .guest-type-box {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 14px;
        gap: 8px;
    }

    .guest-type-box .form-input {
        width: 76px;
        margin-top: 0 !important;
        padding: 8px 10px;
        text-align: center;
        font-size: 16px;
    }

    .modal-summary-box {
        padding: 14px;
        margin: 16px 0;
    }

    .summary-line {
        font-size: 0.82rem;
    }

    .summary-line.total-line {
        font-size: 1.15rem;
    }

    .toggle-addon-item {
        padding: 12px 14px;
        flex-wrap: wrap;
    }

    .addon-toggle-left {
        font-size: 0.84rem;
    }

    .addon-toggle-price {
        font-size: 0.82rem;
    }

    .success-modal-card {
        padding: 28px 16px;
        border-radius: 20px;
    }

    .success-icon-ring {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
        margin-bottom: 14px;
    }

    .success-modal-title {
        font-size: 1.35rem;
    }

    .success-modal-subtitle {
        font-size: 0.88rem;
        margin-bottom: 18px;
    }

    .btn-success-close {
        width: 100%;
        padding: 12px 16px;
        font-size: 0.84rem;
    }
}

/* --------------------------------------------------------------------------
   E. Ultra-Compact Mobile Phones (max-width: 380px)
   -------------------------------------------------------------------------- */
@media (max-width: 380px) {
    .detail-header-title {
        font-size: 1.3rem;
    }

    .specs-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .aeo-key-points {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .phone-input-group {
        grid-template-columns: 86px 1fr;
    }

    .booking-price-amount {
        font-size: 1.95rem;
    }

    .btn-reserve-package {
        font-size: 0.82rem;
        padding: 13px 14px;
        letter-spacing: 1px;
    }
}
