/* ── Booking Form Wrap ── */
.pmx-bb-wrap {
    max-width: 1200px;
    border: 1px solid #ddd;
    padding: 24px;
    border-radius: 12px;
}
.pmx-bb-wrap label {
    display: block;
    margin-top: 14px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.pmx-bb-wrap input[type="text"],
.pmx-bb-wrap input[type="email"],
.pmx-bb-wrap input[type="date"],
.pmx-bb-wrap input[type="time"],
.pmx-bb-wrap input[type="number"],
.pmx-bb-wrap select,
.pmx-bb-wrap textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
}
.pmx-bb-wrap input[type="number"]::-webkit-inner-spin-button {
    opacity: 1;
}
.pmx-bb-wrap small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #888;
}

/* ── Row layout ── */
.pmx-bb-row {
    display: flex;
    gap: 14px;
    margin-top: 14px;
}
.pmx-bb-row > div {
    flex: 1;
    min-width: 0;
}
.pmx-bb-row > div label {
    margin-top: 0;
}

/* Date + Time bilkul barbar; Pay in full same row right side */
.pmx-bb-row-date-time {
    gap: 14px;
    align-items: flex-end;
}
.pmx-bb-date-time-group {
    display: flex;
    gap: 10px;
    flex: 1;
    min-width: 0;
}
.pmx-bb-date-time-group > div:not(.pmx-bb-pay-in-full-wrap) {
    flex: 1;
    min-width: 0;
}
.pmx-bb-date-time-group .pmx-bb-pay-in-full-wrap {
    flex: 0 0 auto;
    margin-top: 0;
    margin-bottom: 2px;
    position: relative;
    align-self: flex-end;
}
/* Pay in full – time-slot jaisa button shape */
.pmx-pay-full-btn {
    display: inline-block;
    padding: 9px 12px;
    font-size: 14px;
    color: #333;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    margin: 0;
    font-family: inherit;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.pmx-pay-full-btn:hover {
    background: #ebebeb;
    border-color: #ccc;
}
.pmx-pay-full-btn[aria-pressed="true"],
.pmx-pay-full-btn.selected {
    background: #e7f3ff;
    border-color: #135e96;
    color: #135e96;
    font-weight: 500;
}

.pmx-one-slot,
.pmx-no-slot {
    display: inline-block;
    padding: 9px 12px;
    font-size: 14px;
    color: #333;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.pmx-no-slot { color: #888; }

/* 3-column row for contact fields */
.pmx-bb-row-3 > div {
    flex: 1;
    min-width: 0;
}
@media (max-width: 640px) {
    .pmx-package-cards {
        flex-wrap: wrap;
    }
    .pmx-package-card {
        flex: 1 1 calc(50% - 10px);
    }
    .pmx-bb-row,
    .pmx-bb-row-3 {
        flex-direction: column;
        gap: 0;
    }
    .pmx-bb-row-date-time {
        flex-direction: column;
        align-items: stretch;
    }
    .pmx-bb-date-time-group {
        flex-direction: column;
    }
}

/* ── Package Cards Outer Reset ── */
.pmx-package-cards-outer {
    width: 100%;
    overflow: visible;
}
.pmx-package-cards-outer *,
.pmx-package-cards-outer *::before,
.pmx-package-cards-outer *::after {
    box-sizing: border-box;
}

/* ── Package Cards: grid 3 cols = 3 top, 2 bottom ── */
.pmx-bb-wrap .pmx-package-cards-outer .pmx-package-cards,
.pmx-package-cards {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    margin-top: 16px !important;
    margin-bottom: 28px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 8px 4px !important;
    list-style: none !important;
}
@media (max-width: 900px) {
    .pmx-package-cards { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 500px) {
    .pmx-package-cards { grid-template-columns: 1fr !important; }
}

/* ── Individual Card ── */
.pmx-bb-wrap .pmx-package-cards .pmx-package-card,
.pmx-package-cards .pmx-package-card {
    box-sizing: border-box !important;
    overflow: hidden !important;
    min-width: 0 !important;

    display: flex !important;
    flex-direction: column !important;

    background: #fff !important;
    border: 2px solid #e6e6e6 !important;
    border-radius: 18px !important;
    padding: 30px 22px 24px !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: border-color 0.25s, transform 0.22s !important;
    box-shadow: none !important;
    position: relative !important;
}
.pmx-package-card:hover {
    border-color: #a0b4c8 !important;
    box-shadow: none !important;
    transform: translateY(-4px) !important;
}
.pmx-bb-wrap .pmx-package-cards .pmx-package-card.selected,
.pmx-package-cards .pmx-package-card.selected {
    border: 3px solid #135e96 !important;
    box-shadow: none !important;
    transform: translateY(-6px) !important;
}

.pmx-package-card-inner {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
}

/* ── Card Header ── */
.pmx-pkg-header {
    margin-bottom: 4px;
}
.pmx-pkg-name {
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    color: #999 !important;
    text-transform: uppercase !important;
    margin: 0 0 6px !important;
    line-height: 1.2 !important;
}
.pmx-package-card.selected .pmx-pkg-name {
    color: #2271b1 !important;
}

/* Price - stay inside card, no overlap */
.pmx-pkg-header {
    overflow: hidden !important;
    min-width: 0 !important;
}
.pmx-pkg-price-wrap {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 14px 0 4px !important;
    gap: 1px !important;
    overflow: hidden !important;
    min-width: 0 !important;
}
.pmx-pkg-currency {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #222 !important;
    margin-top: 10px !important;
    line-height: 1 !important;
}
.pmx-pkg-amount {
    font-size: 64px !important;
    font-weight: 800 !important;
    color: #222 !important;
    line-height: 1 !important;
}
.pmx-package-card.selected .pmx-pkg-currency,
.pmx-package-card.selected .pmx-pkg-amount {
    color: #2271b1 !important;
}
.pmx-pkg-price-note {
    font-size: 12px !important;
    color: #bbb !important;
    margin: 2px 0 0 !important;
    letter-spacing: 0.3px !important;
}

/* ── New content layout inside cards (badge, duration, list) ── */
.pmx-pkg-content {
    text-align: left !important;
    font-size: 14px !important;
    color: #333 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    flex: 1 1 auto !important;
}

.pmx-pkg-tag-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    align-items: center !important;
}

.pmx-pkg-badge {
    display: inline-flex !important;
    align-items: center !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    background: #fff3cd !important;
    color: #795548 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.7px !important;
}

.pmx-pkg-pill {
    display: inline-flex !important;
    align-items: center !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.7px !important;
}
.pmx-pill-premium {
    background: #1f2937 !important;
    color: #f9fafb !important;
}

.pmx-pkg-duration {
    font-size: 13px !important;
    color: #4b5563 !important;
    font-weight: 500 !important;
}

.pmx-pkg-hook {
    margin: 4px 0 0 0 !important;
    font-size: 13px !important;
    color: #111827 !important;
    line-height: 1.5 !important;
}

.pmx-pkg-from {
    margin-top: 4px !important;
    font-size: 13px !important;
    color: #374151 !important;
}
.pmx-pkg-from strong {
    font-size: 15px !important;
    color: #111827 !important;
}

.pmx-pkg-feature-list {
    list-style: none !important;
    padding: 10px 0 0 0 !important;
    margin: 0 !important;
    border-top: 1px solid #f3f4f6 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}
.pmx-pkg-feature-list li {
    font-size: 16px !important;
    color: #4b5563 !important;
    display: flex !important;
    gap: 6px !important;
    line-height: 1.4 !important;
}

/* ── Divider ── */
.pmx-pkg-divider {
    border: none;
    border-top: 1px solid #f0f0f0;
    margin: 18px 0 14px;
}

/* ── Feature List ── */
.pmx-pkg-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px !important;
    text-align: left !important;
    flex: 1 !important;              /* push footer to bottom */
}
.pmx-pkg-features li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 9px !important;
    font-size: 13px !important;
    color: #555 !important;
    padding: 7px 0 !important;
    border-bottom: 1px solid #f5f5f5 !important;
    line-height: 1.45 !important;
}
.pmx-pkg-features li:last-child {
    border-bottom: none !important;
}
.pmx-pkg-features li::before {
    content: "✓" !important;
    display: inline-block !important;
    color: #2271b1 !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    flex-shrink: 0 !important;
    margin-top: 1px !important;
}

/* ── Footer / Button ── */
.pmx-pkg-footer {
    margin-top: auto !important;
    padding-top: 16px !important;
}
.pmx-reserve-btn {
    display: block !important;
    width: 100% !important;
    background: #d4d4d4 !important;
    color: #666 !important;
    border: none !important;
    padding: 13px 18px !important;
    border-radius: 40px !important;
    cursor: pointer !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s !important;
}
.pmx-reserve-btn:hover {
    background: #bbb !important;
    color: #333 !important;
}
.pmx-package-card.selected .pmx-reserve-btn {
    background: #2271b1 !important;
    color: #fff !important;
    box-shadow: 0 5px 16px rgba(34,113,177,0.38) !important;
}
.pmx-package-card.selected .pmx-reserve-btn:hover {
    background: #135e96 !important;
}

/* ── Selected Package Bar ── */
.pmx-selected-package-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #e8f4fd;
    border-radius: 8px;
    border: 1px solid #c8e1f7;
    margin-top: 20px;
    margin-bottom: 4px;
}
.pmx-selected-label {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
}
#pmx-selected-package-name {
    font-weight: 700;
    color: #1a5e9a;
    font-size: 15px;
    flex: 1;
}
#pmx-change-package {
    background: none;
    border: 1px solid #2271b1;
    color: #2271b1;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    width: auto;
}
#pmx-change-package:hover {
    background: #2271b1;
    color: #fff;
}

/* ── Price Summary ── */
.pmx-bb-price {
    margin-top: 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f2fc 100%);
    border-radius: 12px;
    border: 1px solid #c8dff5;
    border-left: 4px solid #2271b1;
}
.pmx-bb-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 15px;
    color: #444;
}
.pmx-bb-price-row:not(:last-child) {
    border-bottom: 1px solid #d4eaf7;
}
.pmx-bb-price-row span {
    font-weight: 500;
}
.pmx-bb-price-row strong {
    font-size: 16px;
    color: #2271b1;
}
.pmx-bb-price-deposit strong {
    color: #c67c0d;
}
.pmx-bb-price-remaining strong {
    font-size: 18px;
    color: #c62828;
}

/* ── Book Now Button ── */
.pmx-bb-wrap button[type="submit"],
.pmx-bb-wrap #pmx-book-now-btn,
.pmx-bb-wrap .pmx-book-now-button {
    margin-top: 18px;
    padding: 13px 24px;
    border-radius: 10px;
    background: #2271b1;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    transition: background 0.2s;
    position: relative;
    z-index: 10;
}
.pmx-bb-wrap button[type="submit"]:hover,
.pmx-bb-wrap #pmx-book-now-btn:hover,
.pmx-bb-wrap .pmx-book-now-button:hover {
    background: #135e96;
}
.pmx-bb-wrap button[type="submit"]:disabled,
.pmx-bb-wrap #pmx-book-now-btn:disabled,
.pmx-bb-wrap .pmx-book-now-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
}

/* ── Messages ── */
.pmx-success {
    margin-top: 12px;
    padding: 10px 14px;
    border-left: 4px solid #2e7d32;
    background: #e8f5e9;
    border-radius: 6px;
}
.pmx-error {
    margin-top: 12px;
    padding: 10px 14px;
    border-left: 4px solid #c62828;
    background: #ffebee;
    border-radius: 6px;
}
.pmx-bb-note {
    font-size: 12px;
    color: #888;
    margin-top: 10px;
}

/* ══════════════════════════════════════
   User Dashboard Styles
══════════════════════════════════════ */
.pmx-user-dashboard { max-width: 1200px; margin: 0 auto; padding: 20px; }
.pmx-dashboard-header { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 2px solid #e0e0e0; }
.pmx-dashboard-header h2 { margin: 0 0 10px; color: #333; font-size: 28px; }
.pmx-dashboard-header p { margin: 0; color: #666; font-size: 16px; }

.pmx-empty-state { text-align: center; padding: 60px 20px; background: #f9f9f9; border-radius: 12px; }
.pmx-empty-state p { margin-bottom: 20px; font-size: 18px; color: #666; }

.pmx-bookings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 24px; margin-top: 20px; }

.pmx-booking-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 12px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: transform 0.2s, box-shadow 0.2s; }
.pmx-booking-card:hover { transform: translateY(-4px); box-shadow: 0 4px 12px rgba(0,0,0,0.12); }

.pmx-booking-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #e0e0e0; }
.pmx-booking-id { display: flex; align-items: center; gap: 12px; flex: 1; }
.pmx-booking-id strong { font-size: 18px; color: #333; }
.pmx-status-badge { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; text-transform: uppercase; }
.pmx-status-badge.status-pending { background: #fff3cd; color: #856404; }
.pmx-status-badge.status-confirmed { background: #d1ecf1; color: #0c5460; }
.pmx-status-badge.status-in_event { background: #d4edda; color: #155724; }
.pmx-status-badge.status-completed { background: #d4edda; color: #155724; }
.pmx-status-badge.status-cancelled { background: #f8d7da; color: #721c24; }
.pmx-booking-date { color: #666; font-size: 14px; }

.pmx-booking-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px; }
.pmx-detail-item { display: flex; flex-direction: column; gap: 4px; }
.pmx-label { font-size: 12px; color: #999; text-transform: uppercase; letter-spacing: 0.5px; }
.pmx-value { font-size: 15px; color: #333; font-weight: 500; }

.pmx-booking-pricing { background: #f8f9fa; padding: 16px; border-radius: 8px; margin-bottom: 20px; }
.pmx-price-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.pmx-price-row:not(:last-child) { border-bottom: 1px solid #e0e0e0; }
.pmx-price-row span { color: #666; }
.pmx-price-row strong { color: #333; font-size: 16px; }

.pmx-invoice-section, .pmx-payments-section { margin-top: 20px; padding-top: 20px; border-top: 1px solid #e0e0e0; }
.pmx-invoice-section h4, .pmx-payments-section h4 { margin: 0 0 16px; font-size: 16px; color: #333; }
.pmx-invoice-items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.pmx-invoice-item { display: flex; justify-content: space-between; padding: 8px 12px; background: #f8f9fa; border-radius: 6px; font-size: 14px; }

.pmx-payments-list { display: flex; flex-direction: column; gap: 8px; }
.pmx-payment-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: #f8f9fa; border-radius: 6px; font-size: 14px; }
.pmx-payment-method { color: #666; font-size: 12px; text-transform: uppercase; }
.pmx-payment-date { color: #999; font-size: 12px; }

.pmx-payment-summary { margin-top: 20px; padding: 20px; background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); border-radius: 12px; border: 2px solid #dee2e6; }
.pmx-summary-header { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid #dee2e6; }
.pmx-summary-header h4 { margin: 0; font-size: 18px; color: #333; font-weight: 600; }
.pmx-summary-items { display: flex; flex-direction: column; gap: 12px; }
.pmx-summary-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #fff; border-radius: 8px; border-left: 4px solid #2271b1; }
.pmx-summary-item.pmx-remaining-item { border-left-color: #c62828; background: #fff5f5; font-weight: 600; }
.pmx-summary-label { font-size: 15px; color: #666; font-weight: 500; }
.pmx-summary-value { font-size: 16px; color: #333; font-weight: 600; }
.pmx-summary-value.pmx-total-amount { color: #2271b1; font-size: 18px; }
.pmx-summary-value.pmx-paid-amount { color: #2e7d32; font-size: 18px; }
.pmx-summary-value.pmx-remaining-amount { color: #c62828; font-size: 20px; font-weight: 700; }

.pmx-booking-actions { margin-top: 20px; padding-top: 20px; border-top: 1px solid #e0e0e0; }
.pmx-btn { display: inline-block; padding: 12px 24px; border-radius: 8px; text-decoration: none; font-weight: 600; text-align: center; transition: all 0.2s; border: none; cursor: pointer; font-size: 14px; }
.pmx-btn-primary { background: #2271b1; color: #fff; }
.pmx-btn-primary:hover { background: #135e96; color: #fff; }
.pmx-btn-secondary { background: #f0f0f1; color: #2c3338; }
.pmx-btn-secondary:hover { background: #dcdcde; }

/* Extra styles for booking cards + modal */
.pmx-pkg-header-centered {
    text-align: center !important;
}

.pmx-pkg-name-large {
    font-size: 18px !important;
}

.pmx-card-top-badges {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    background: #eff6ff !important;
    margin: 0 auto 12px auto !important;
}

.pmx-card-main-badge {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #2271B1 !important;
}

.pmx-card-secondary-badge {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #f9fafb !important;
    background: #111827 !important;
    padding: 3px 10px !important;
    border-radius: 999px !important;
}

.pmx-card-price-block {
    margin-top: 8px !important;
}

.pmx-card-price-amount {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-end !important;
    gap: 2px !important;
}

.pmx-card-currency {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #2271B1 !important;
}

.pmx-card-number {
    font-size: 54px !important;
    font-weight: 800 !important;
    color: #2271B1 !important;
}

.pmx-card-price-label {
    font-size: 12px !important;
    color: #6b7280 !important;
    margin-top: 2px !important;
}

.pmx-card-price-label-top {
    margin-top: 10px !important;
    margin-bottom: 4px !important;
}

.pmx-card-duration-line {
    font-size: 13px !important;
    color: #4b5563 !important;
    margin-top: 10px !important;
    max-width: 100%;
    text-align: center;
}

.pmx-card-duration-hours {
    font-weight: 600 !important;
}

.pmx-card-duration-time {
    font-weight: 400 !important;
    color: #6b7280 !important;
}

.pmx-card-duration-sep {
    margin: 0 4px !important;
    color: #9ca3af !important;
}

.pmx-card-body {
    margin-top: 12px !important;
    text-align: center !important;
    min-height: 32px !important;
}

.pmx-card-hook {
    font-size: 13px !important;
    color: #111827 !important;
}

.pmx-card-footer {
    margin-top: 18px !important;
    display: flex !important;
    gap: 10px !important;
    justify-content: center !important;
}

.pmx-view-more-btn {
    flex: 0 0 auto !important;
    padding: 11px 18px !important;
    border-radius: 999px !important;
    border: 1px solid #d1d5db !important;
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    text-transform: none !important;
}

.pmx-view-more-btn:hover {
    background: #f3f4f6 !important;
}

.pmx-card-footer .pmx-reserve-btn {
    flex: 1 1 auto !important;
}

.pmx-pkg-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 9999;
}

.pmx-pkg-modal-backdrop.pmx-open {
    display: flex;
}

.pmx-pkg-modal {
    max-width: 880px;
    width: 100%;
    background: #ffffff;
    border-radius: 24px;
    padding: 28px 32px 24px;
    position: relative;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35);
}

.pmx-pkg-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    border: none;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
    color: #6b7280;
}

.pmx-pkg-modal-header {
    text-align: left;
    margin-bottom: 16px;
}

.pmx-pkg-modal-title {
    margin: 8px 0 2px;
    font-size: 22px;
    letter-spacing: 2px;
}

.pmx-modal-duration {
    margin-top: 4px !important;
}

.pmx-modal-price {
    margin-top: 10px !important;
}

.pmx-modal-hook {
    margin-top: 10px !important;
    font-size: 14px !important;
}

.pmx-modal-subtitle {
    margin-top: 16px;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
}

.pmx-modal-feature-list {
    margin-top: 0 !important;
}

.pmx-pkg-modal-footer {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.pmx-modal-reserve-btn {
    width: auto !important;
    max-width: none !important;
}

.pmx-modal-close-secondary {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    cursor: pointer;
}

body.pmx-modal-open {
    overflow: hidden;
}
/* =========================================
   Booking Wrapper
   ========================================= */

.pmx-bb-wrap {
  max-width: 1297px;
  margin: 40px auto;
  padding: 32px 32px 28px;
  border-radius: 32px;
  border: none;
  /* background: radial-gradient(circle at top left, #e0f2ff 0, #f9fafb 48%, #eef2ff 100%); */
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.15);
}

.pmx-bb-wrap > h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

/* =========================================
   Cards Grid
   ========================================= */

.pmx-package-cards-outer {
  width: 100%;
  overflow: visible;
}
.pmx-package-cards-outer *,
.pmx-package-cards-outer *::before,
.pmx-package-cards-outer *::after {
  box-sizing: border-box;
}

.pmx-bb-wrap .pmx-package-cards-outer .pmx-package-cards,
.pmx-package-cards {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  margin-top: 20px !important;
  margin-bottom: 32px !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 8px 4px !important;
  list-style: none !important;
}

/* 1 card per row on <= 900px */
@media (max-width: 900px) {
  .pmx-package-cards {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .pmx-bb-wrap {
    margin: 24px auto;
    padding: 20px 16px 18px;
    border-radius: 20px;
    box-shadow: none;
  }

  .pmx-card-number {
    font-size: 36px !important;
  }

  .pmx-card-footer {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  .pmx-view-more-btn,
  .pmx-card-footer .pmx-reserve-btn {
    width: 100% !important;
  }
}

/* =========================================
   Individual Card
   ========================================= */

.pmx-bb-wrap .pmx-package-cards .pmx-package-card,
.pmx-package-cards .pmx-package-card {
  box-sizing: border-box !important;
  overflow: hidden !important;
  min-width: 0 !important;

  display: flex !important;
  flex-direction: column !important;

  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 26px !important;
  padding: 26px 22px 22px !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: border-color 0.18s ease-out,
              transform 0.18s ease-out !important;
  box-shadow: none !important;
  position: relative !important;
}

.pmx-package-card:hover {
  border-color: #cbd5f5 !important;
  box-shadow: none !important;
  transform: translateY(-6px) !important;
}

.pmx-bb-wrap .pmx-package-cards .pmx-package-card.selected,
.pmx-package-cards .pmx-package-card.selected {
  border: 3px solid #135e96 !important;
  box-shadow: none !important;
  transform: translateY(-6px) !important;
}

.pmx-package-card-inner {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
}

/* =========================================
   Card Header (badge + price + duration)
   ========================================= */

.pmx-pkg-header {
  margin-bottom: 4px;
  overflow: hidden !important;
  min-width: 0 !important;
}

.pmx-pkg-header-centered {
  text-align: center !important;
}

/* Name */
.pmx-pkg-name {
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 2px !important;
  color: #999 !important;
  text-transform: uppercase !important;
  margin: 0 0 6px !important;
  line-height: 1.2 !important;
  text-align: center !important;
}
.pmx-pkg-name-large {
  font-size: 16px !important;
  letter-spacing: 1.8px !important;
  color: #6b7280 !important;
}
.pmx-package-card.selected .pmx-pkg-name {
  color: #2271b1 !important;
}

/* Badge row */
.pmx-card-top-badges {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  background: #eff6ff !important;
  margin: 0 auto 10px auto !important;
}
.pmx-card-main-badge {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  color: #2271B1 !important;
}
.pmx-card-secondary-badge {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  color: #f9fafb !important;
  background: #111827 !important;
  padding: 3px 10px !important;
  border-radius: 999px !important;
}

/* Price */
.pmx-card-price-label {
  font-size: 12px !important;
  color: #111827 !important;
  margin-top: 2px !important;
  display: block !important;
  text-align: center !important;
  font-weight: 700 !important;
  font-style: italic !important;
}
.pmx-card-price-label-top {
  margin-top: 10px !important;
  margin-bottom: 6px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: #1f2937 !important;
  display: block !important;
  text-align: center !important;
  font-style: italic !important;
}

/* Popup (modal) – STARTING FROM above price, same style as card */
.pmx-modal-price {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
}
.pmx-modal-price .pmx-card-price-label,
.pmx-modal-price .pmx-card-price-label-top {
  order: 0 !important;
  text-align: left !important;
  margin-top: 0 !important;
  margin-bottom: 4px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: #1f2937 !important;
  font-style: italic !important;
}
.pmx-modal-price .pmx-card-price-amount {
  order: 1 !important;
  justify-content: flex-start !important;
  align-items: baseline !important;   /* $ and number same line/baseline */
  white-space: nowrap !important;     /* prevent wrapping under each other */
  gap: 4px !important;
}
.pmx-card-price-block {
  margin-top: 4px !important;
}
.pmx-card-price-amount {
  display: flex !important;
  justify-content: center !important;
  align-items: flex-end !important;
  gap: 2px !important;
}
.pmx-card-currency {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #2271B1 !important;
}
.pmx-card-number {
  font-size: 48px !important;
  font-weight: 800 !important;
  color: #2271B1 !important;
}

/* Duration on cards — old layout: one line, tight (10:00am-2:00pm) */
.pmx-card-duration-line {
  font-size: 14px !important;
  color: #4b5563 !important;
  margin-top: 6px !important;
  line-height: 1.3 !important;
  min-height: 18px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  text-align: center;
  max-width: 100%;
  padding: 0 6px;
  box-sizing: border-box;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.pmx-bb-wrap.pmx-card-time-full .pmx-card-duration-line {
  font-size: 11.5px !important;
}

.pmx-bb-wrap.pmx-card-time-compact .pmx-card-duration-line {
  font-size: 12.5px !important;
}

/* Milestone: two slots — slightly smaller, centered wrap if needed on narrow screens */
.pmx-card-duration-line.pmx-card-duration-multi {
  font-size: 10.5px !important;
  line-height: 1.25 !important;
  min-height: 22px !important;
  white-space: normal;
  flex-wrap: wrap;
  max-width: 92%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .pmx-card-duration-line.pmx-card-duration-multi {
    font-size: 10px !important;
  }
}

.pmx-card-duration-hours {
  font-weight: 700 !important;
}
.pmx-card-duration-time {
  font-weight: 400 !important;
  color: #6b7280 !important;
}
.pmx-card-duration-sep {
  margin: 0 4px !important;
  color: #9ca3af !important;
}

/* =========================================
   Card Body (empty – no text there)
   ========================================= */

.pmx-card-body {
  margin-top: 12px !important;
  text-align: center !important;
  min-height: 16px !important;
}

/* =========================================
   Card Footer / Buttons (aligned)
   ========================================= */

.pmx-card-footer {
  margin-top: auto !important;    /* footer always at bottom of card */
  display: flex !important;
  gap: 10px !important;
  justify-content: center !important;
}

.pmx-view-more-btn {
  flex: 0 0 auto !important;
  padding: 11px 20px !important;
  border-radius: 999px !important;
  border: 1px solid #d1d5db !important;
  background: #ffffff !important;
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  text-transform: none !important;
}
.pmx-view-more-btn:hover {
  background: #f3f4f6 !important;
}

.pmx-card-footer .pmx-reserve-btn {
  flex: 1 1 auto !important;
  display: block !important;
  padding: 11px 18px !important;
  border-radius: 999px !important;
  background: #000000 !important;
  color: #ffffff !important;
  border: none !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  cursor: pointer !important;
}
.pmx-card-footer .pmx-reserve-btn:hover {
  background: #2271B1 !important;
}

/* =========================================
   Modal (View More)
   ========================================= */

.pmx-pkg-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
}
.pmx-pkg-modal-backdrop.pmx-open {
  display: flex;
}

.pmx-pkg-modal {
  max-width: 452px;
  width: 100%;
  background: #ffffff;
  border-radius: 24px;
  padding: 28px 32px 24px;
  position: relative;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35);
}

.pmx-pkg-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  color: #6b7280;
}

.pmx-pkg-modal-header {
  text-align: left;
  margin-bottom: 16px;
}
.pmx-pkg-modal-title {
  margin: 8px 0 2px;
  font-size: 22px;
  letter-spacing: 2px;
}
.pmx-modal-duration {
  margin-top: 4px !important;
}
.pmx-modal-price {
  margin-top: 10px !important;
}
.pmx-modal-hook {
  margin-top: 10px !important;
  font-size: 14px !important;
}

/* What's Included list */
.pmx-modal-subtitle {
  margin-top: 16px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}
.pmx-modal-feature-list {
  margin-top: 0 !important;
}

/* Modal footer */
.pmx-pkg-modal-footer {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.pmx-modal-close-secondary {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  cursor: pointer;
  font-size: 13px;
}
.pmx-modal-close-secondary:hover {
  background: #f3f4f6;
}

/* Prevent background scroll when modal open */
body.pmx-modal-open {
  overflow: hidden;
}
.pmx-modal-duration {
    text-align: left;
    display: block;
    width: 100%;
}
/* amount row left */
.pmx-modal-price .pmx-card-price-amount{
  justify-content: flex-start !important;
}.pmx-card-duration-line.pmx-modal-duration {
    text-align: left !important;
    font-weight: bold !important;
    margin-top: 10px !important;
    margin-bottom: 13px;
}

/* =========================================
   Hard override: mobile = 1 card per row
   ========================================= */
@media (max-width: 800px) {
  .pmx-bb-wrap .pmx-package-cards-outer .pmx-package-cards,
  .pmx-package-cards {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}
.pmx-modal-price .pmx-card-price-amount {
  order: 1 !important;
  justify-content: flex-start !important;
  align-items: baseline !important;   /* $ and number same line/baseline */
  white-space: nowrap !important;     /* prevent wrapping under each other */
  gap: 4px !important;
}




a.pmx-modal-close-secondary{
    background:#2271B1 !important;
    color:white !important;
}




/* Selected card border - high specificity to override theme */
#pmx-package-cards .pmx-package-card.selected,
.pmx-package-cards-outer .pmx-package-card.selected {
    border: 2px solid #135e96 !important;
}

#pmx-package-cards .pmx-package-card-inner[data-package-id="2731"]{ order:1; } /* TRANQUILITY $750 */
#pmx-package-cards .pmx-package-card-inner[data-package-id="2672"]{ order:2; } /* SUNSET $800 */
#pmx-package-cards .pmx-package-card-inner[data-package-id="2670"]{ order:3; } /* SERENITY $900 */
#pmx-package-cards .pmx-package-card-inner[data-package-id="2671"]{ order:4; } /* PARADISE $1000 */
#pmx-package-cards .pmx-package-card-inner[data-package-id="2730"]{ order:5; } /* MILESTONE $1300 */


p.pmx-bb-note {
    display: none ! IMPORTANT;
}


