/* ============================================
   LM EVENTS - ITEM DETAIL PAGE
   Location: assets/css/services/item.css
   ============================================ */

.item-page {
    font-family: 'Inter', -apple-system, sans-serif;
    background: #f5f6fa;
    padding-top: 76px;
    min-height: 100vh;
}

/* Breadcrumb */
.item-breadcrumb {
    background: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #eef1f6;
    font-size: 13px;
}

.item-breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.item-breadcrumb a { color: #556070; text-decoration: none; }
.item-breadcrumb a:hover { color: #f39c12; }
.item-breadcrumb i { color: #c5cdd8; font-size: 10px; }
.item-breadcrumb span { color: #0f3460; font-weight: 600; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Main */
.item-main { padding: 24px 12px 60px; }

/* Gallery */
.gallery-wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    border: 1px solid #eef1f6;
    position: sticky;
    top: 90px;
}

.main-image {
    position: relative;
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border: 1px solid #f0f2f7;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.main-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #c5cdd8;
    gap: 10px;
}

.main-image-placeholder i { font-size: 60px; }

.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e74c3c;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.image-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
}

.thumbnail-strip {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.thumb-btn {
    flex: 0 0 auto;
    width: 68px;
    height: 68px;
    border-radius: 8px;
    border: 2px solid #eef1f6;
    background: #f8fafc;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
}

.thumb-btn.active {
    border-color: #f39c12;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.2);
}

.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }

/* Info */
.item-info {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #eef1f6;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(243, 156, 18, 0.12);
    color: #b9770e;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 12px;
}

.service-tag i { color: #f39c12; }

.item-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f3460;
    line-height: 1.3;
    margin-bottom: 16px;
}

/* Price block */
.price-block {
    background: linear-gradient(135deg, #fff8e6, #fffbf0);
    padding: 16px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid #f39c12;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.price-current {
    font-size: 28px;
    font-weight: 800;
    color: #e67e22;
}

.price-original {
    font-size: 15px;
    color: #a0a8b3;
    text-decoration: line-through;
}

.price-discount {
    background: #e74c3c;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
}

/* Variations */
.variation-section { margin-bottom: 20px; }

.variation-label-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
}

.variation-label { font-weight: 700; color: #333; }
.variation-selected { color: #8898aa; font-style: italic; }
.variation-selected.text-success { color: #1e8449 !important; font-weight: 600; font-style: normal; }

.variation-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variation-btn {
    background: #fff;
    border: 2px solid #d5dbe5;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #556070;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.variation-btn:hover:not(.active) {
    border-color: #f39c12;
    color: #b9770e;
}

.variation-btn.active {
    background: linear-gradient(135deg, #0f3460, #1a1a2e);
    border-color: #0f3460;
    color: #fff;
}

.variation-btn.active small { color: #f39c12; }

.variation-btn.active::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -6px;
    right: -6px;
    background: #f39c12;
    color: #fff;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Booking inputs */
.booking-inputs {
    background: #f8fafc;
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.input-group-item label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #556070;
    margin-bottom: 5px;
}

.input-group-item .form-control {
    border: 1.5px solid #d5dbe5;
    border-radius: 8px;
    font-size: 13px;
    padding: 7px 10px;
}

.input-group-item .form-control:focus {
    border-color: #f39c12;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.15);
}

/* Actions */
.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 10px;
    margin-bottom: 24px;
}

.action-buttons .btn {
    padding: 12px 20px;
    font-weight: 700;
    font-size: 14px;
    border-radius: 10px;
    transition: all 0.25s;
}

.btn-chat {
    background: #fff;
    border: 2px solid #f39c12;
    color: #b9770e;
}

.btn-chat:hover {
    background: rgba(243, 156, 18, 0.1);
    color: #a06600;
}

.btn-book {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    border: none;
    color: #fff;
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.35);
}

.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(243, 156, 18, 0.45);
    color: #fff;
}

/* Sections */
.detail-section { margin-bottom: 22px; }

.section-heading {
    font-size: 15px;
    font-weight: 700;
    color: #0f3460;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e0e5ec;
}

.description-content {
    font-size: 14px;
    color: #556070;
    line-height: 1.7;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.specs-table td {
    padding: 9px 12px;
    border-bottom: 1px solid #f2f4f8;
}

.specs-table td:first-child {
    width: 40%;
    color: #8898aa;
    font-weight: 500;
}

.specs-table td:last-child { color: #333; font-weight: 600; }

/* Related */
.related-section {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #eef1f6;
    margin-top: 24px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
}

.related-card {
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eef1f6;
    transition: all 0.2s;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: #f39c12;
}

.related-image {
    aspect-ratio: 1 / 1;
    background: #f8fafc;
}

.related-image img { width: 100%; height: 100%; object-fit: cover; }

.related-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c5cdd8;
    font-size: 32px;
}

.related-body { padding: 10px 12px; }

.related-body h6 {
    font-size: 13px;
    font-weight: 600;
    color: #0f3460;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 34px;
}

.related-price {
    font-size: 14px;
    font-weight: 800;
    color: #e67e22;
}

/* Booking Modal */
.booking-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 31, 58, 0.65);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.booking-modal.active { display: flex; }

.booking-modal-content {
    background: #fff;
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    animation: itemSlideUp 0.3s ease;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

@keyframes itemSlideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.booking-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid #eef1f6;
    background: #f8fafc;
    border-radius: 16px 16px 0 0;
}

.booking-modal-header h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0f3460;
    margin: 0;
}

.booking-modal-header button {
    background: transparent;
    border: none;
    color: #999;
    font-size: 20px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
}

.booking-modal-body { padding: 20px 22px; }

.booking-summary {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 10px;
    margin-bottom: 18px;
    border-left: 3px solid #f39c12;
}

.booking-summary-img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    background: #eef1f6;
    flex-shrink: 0;
}

.booking-summary-img img { width: 100%; height: 100%; object-fit: cover; }

.booking-summary-info h5 {
    font-size: 14px;
    font-weight: 700;
    color: #0f3460;
    margin-bottom: 3px;
}

.booking-price {
    font-size: 16px;
    font-weight: 800;
    color: #e67e22;
}

.booking-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 14px 22px;
    border-top: 1px solid #eef1f6;
    background: #f8fafc;
    border-radius: 0 0 16px 16px;
}

/* Chat */
.chat-modal {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 360px;
    max-width: 90vw;
    height: 440px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    z-index: 3100;
    overflow: hidden;
}

.chat-modal.active { display: flex; }

.chat-modal-header {
    background: #0f3460;
    color: #fff;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
}

.chat-modal-header button {
    background: none; border: none; color: #fff; font-size: 18px; cursor: pointer;
}

.chat-modal-body {
    flex: 1; overflow-y: auto; padding: 14px 16px; background: #f8f9fa;
}

.chat-message { margin-bottom: 10px; max-width: 85%; }
.chat-message.received { align-self: flex-start; }
.chat-message.sent { align-self: flex-end; margin-left: auto; }

.chat-message p {
    background: #fff;
    padding: 9px 13px;
    border-radius: 12px 12px 12px 0;
    margin: 0;
    font-size: 13.5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.chat-message.sent p {
    background: #f39c12;
    color: #fff;
    border-radius: 12px 12px 0 12px;
}

.chat-time { font-size: 10px; color: #aaa; display: block; margin-top: 3px; }

.chat-modal-footer {
    display: flex; padding: 10px 14px;
    border-top: 1px solid #eee; gap: 8px;
}

.chat-input {
    flex: 1; border: 1px solid #ddd; border-radius: 24px;
    padding: 9px 15px; font-size: 13.5px; outline: none;
}

.chat-input:focus { border-color: #f39c12; }

.chat-send {
    background: #f39c12; border: none; color: #fff;
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
}

/* Responsive */
@media (max-width: 992px) {
    .item-page { padding-top: 60px; }
    .item-main { padding: 16px 8px 40px; }
    .gallery-wrapper { position: static; }
    .item-info { padding: 18px; }
    .item-title { font-size: 18px; }
    .price-current { font-size: 22px; }
    .action-buttons { grid-template-columns: 1fr; }
    .booking-inputs { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .thumb-btn { width: 56px; height: 56px; }
    .chat-modal {
        width: 100%; right: 0; bottom: 0; height: 100%;
        border-radius: 0; max-width: 100%;
    }
}
/* Inclusions list (packages) */
.inclusions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.inclusions-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 13.5px;
    color: #556070;
    border-bottom: 1px solid #f2f4f8;
}

.inclusions-list li:last-child { border-bottom: none; }

.inclusions-list li i {
    color: #27ae60;
    font-size: 12px;
    margin-top: 4px;
    flex-shrink: 0;
}
/* ============================================
   QUANTITY STEPPER
   ============================================ */
.quantity-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    border-left: 3px solid #f39c12;
}

.qty-stepper {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid #d5dbe5;
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    background: #fff;
    border: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f3460;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: #f39c12;
    color: #fff;
}

.qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.qty-input {
    width: 50px;
    height: 36px;
    text-align: center;
    border: none;
    border-left: 1.5px solid #d5dbe5;
    border-right: 1.5px solid #d5dbe5;
    font-weight: 700;
    font-size: 14px;
    color: #0f3460;
    outline: none;
    background: #fff;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-total {
    font-size: 13px;
    color: #e67e22;
    font-weight: 700;
}
/* ============================================
   PRICE BREAKDOWN
   ============================================ */
.price-breakdown {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #d5dbe5;
    font-size: 13px;
}

.breakdown-base,
.breakdown-line {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
    color: #556070;
}

.breakdown-base {
    font-weight: 600;
    color: #0f3460;
}

.breakdown-line {
    color: #e67e22;
    font-weight: 500;
}

/* ============================================
   VARIATION GROUPS
   ============================================ */
.variation-group {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px dashed #eef1f6;
}

.variation-group:last-child {
    border-bottom: none;
    margin-bottom: 10px;
}

/* ============================================
   QUANTITY STEPPER
   ============================================ */
.quantity-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
    border-left: 3px solid #f39c12;
}

.qty-stepper {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid #d5dbe5;
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    background: #fff;
    border: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f3460;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.qty-btn:hover { background: #f39c12; color: #fff; }
.qty-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.qty-input {
    width: 50px;
    height: 36px;
    text-align: center;
    border: none;
    border-left: 1.5px solid #d5dbe5;
    border-right: 1.5px solid #d5dbe5;
    font-weight: 700;
    font-size: 14px;
    color: #0f3460;
    outline: none;
    background: #fff;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-total { font-size: 13px; color: #e67e22; font-weight: 700; }

/* ============================================
   MODAL SELECTIONS LIST
   ============================================ */
.modal-selections {
    background: #f8fafc;
    border-radius: 8px;
    padding: 8px 12px;
    border-left: 3px solid #f39c12;
    margin-top: 4px;
}

.selection-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 13px;
    border-bottom: 1px solid #eef1f6;
}

.selection-row:last-child { border-bottom: none; }

.selection-name { color: #0f3460; font-weight: 600; }
.selection-delta { color: #e67e22; font-weight: 700; }
/* ============================================
   VARIATION BUTTON — Toggle feedback
   ============================================ */
.variation-btn {
    position: relative;
    transition: all 0.2s ease;
}

.variation-btn:not(.active):hover {
    border-color: #f39c12;
    color: #b9770e;
    transform: translateY(-1px);
}

.variation-btn.active {
    background: linear-gradient(135deg, #0f3460, #1a1a2e);
    border-color: #0f3460;
    color: #fff;
    box-shadow: 0 4px 12px rgba(15, 52, 96, 0.25);
    transform: translateY(-1px);
}

.variation-btn.active small { color: #f39c12; }

/* Checkmark on selected */
.variation-btn.active::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -6px;
    right: -6px;
    background: #f39c12;
    color: #fff;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(243, 156, 18, 0.4);
    animation: checkPop 0.25s ease;
}

@keyframes checkPop {
    0%   { transform: scale(0); }
    60%  { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Hint text under groups */
.variation-label-row::after {
    content: '(click again to deselect)';
    font-size: 10.5px;
    color: #b0b8c4;
    font-style: italic;
    margin-left: 8px;
    display: none;
}

.variation-group:hover .variation-label-row::after {
    display: inline;
}

@media (max-width: 768px) {
    .variation-label-row::after { display: none !important; }
}
/* ============================================
   BOOKING MODAL — FORM VISIBILITY IMPROVEMENTS
   Clearer inputs, quieter hints
   ============================================ */

.booking-modal-body label.small.text-muted {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #0f3460 !important;
    text-transform: none;
    letter-spacing: 0.2px;
    margin-bottom: 6px;
    display: block;
}

/* Bigger, clearer inputs */
.booking-modal-body .form-control,
.booking-modal-body .form-control-sm {
    font-size: 14.5px !important;
    font-weight: 500 !important;
    color: #0f3460 !important;
    background: #ffffff !important;
    border: 2px solid #c5cdd8 !important;
    border-radius: 10px !important;
    padding: 11px 14px !important;
    height: auto !important;
    min-height: 44px;
    box-shadow: inset 0 1px 2px rgba(15, 52, 96, 0.04);
    transition: all 0.2s ease;
}

.booking-modal-body .form-control:hover,
.booking-modal-body .form-control-sm:hover {
    border-color: #98a4b8 !important;
}

.booking-modal-body .form-control:focus,
.booking-modal-body .form-control-sm:focus {
    border-color: #f39c12 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.18) !important;
    outline: none;
}

/* Select dropdowns */
.booking-modal-body select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230f3460' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    padding-right: 38px !important;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

/* Quieter placeholder text — reads as help, not content */
.booking-modal-body .form-control::placeholder {
    color: #b0b8c4 !important;
    font-weight: 400 !important;
    font-size: 13px !important;
    font-style: italic;
    opacity: 1;
}

.booking-modal-body .form-control:focus::placeholder {
    color: #d5dbe5 !important;
}

/* Read-only inputs (fixed-pax, etc.) */
.booking-modal-body .form-control[readonly] {
    background: #f5f6fa !important;
    color: #556070 !important;
    border-color: #eef1f6 !important;
    cursor: not-allowed;
}

/* Textarea */
.booking-modal-body textarea.form-control {
    min-height: 62px;
    resize: vertical;
    line-height: 1.5;
}

/* Hint text under inputs — small, calm, secondary */
.booking-modal-body small.text-muted {
    font-size: 11.5px !important;
    color: #8898aa !important;
    font-style: italic;
    display: block;
    margin-top: 4px;
    line-height: 1.4;
}

/* Specific: pax hint (base 100, extra ₱300) — keep it a bit visible */
.booking-modal-body label.small .text-warning,
.booking-modal-body label.small .text-muted {
    font-weight: 500 !important;
    font-size: 11.5px !important;
    font-style: normal;
}

/* Booking summary card — separate section */
.booking-summary {
    background: #f8fafc !important;
    border-left: 4px solid #f39c12 !important;
    border-radius: 10px !important;
    padding: 14px !important;
    margin-bottom: 16px !important;
}

/* Calendar container spacing */
#availabilityCalendar {
    margin-bottom: 16px;
}

/* Booking details row spacing */
.booking-details {
    background: #fafbfd;
    border-radius: 10px;
    padding: 14px;
    border: 1px solid #eef1f6;
    margin-top: 4px;
}

/* Section spacing in modal body */
.booking-modal-body .row.g-2 > [class*="col-"] {
    margin-bottom: 4px;
}

/* Alert in modal */
.booking-modal-body .alert {
    border-radius: 10px;
    font-size: 13px;
    padding: 10px 14px;
    margin-top: 12px !important;
}

/* Modal body scroll */
.booking-modal-body {
    padding: 20px 22px !important;
    max-height: 68vh;
    overflow-y: auto;
}

/* Modal scrollbar */
.booking-modal-body::-webkit-scrollbar { width: 6px; }
.booking-modal-body::-webkit-scrollbar-track { background: #f5f6fa; }
.booking-modal-body::-webkit-scrollbar-thumb { background: #d5dbe5; border-radius: 3px; }
.booking-modal-body::-webkit-scrollbar-thumb:hover { background: #b0b8c4; }
/* ============================================
   BIGGER BOOKING FORM (modal)
   ============================================ */
.booking-modal { padding: 24px; }
.booking-modal-content { max-width: 780px; max-height: 94vh; border-radius: 20px; }
.booking-modal-header { padding: 22px 32px; border-radius: 20px 20px 0 0; }
.booking-modal-header h3 { font-size: 21px; }
.booking-modal-header button { width: 40px; height: 40px; font-size: 22px; }

.booking-modal-body { padding: 28px 32px !important; max-height: 76vh !important; }
.booking-modal-body .row.g-2 { --bs-gutter-x: 1.1rem; --bs-gutter-y: 1.1rem; }
.booking-modal-body label.small.text-muted,
.booking-modal-body label.small { font-size: 13.5px !important; margin-bottom: 6px; }
.booking-modal-body .form-control,
.booking-modal-body .form-control-sm,
.booking-modal-body select.form-control {
    font-size: 16px !important;
    min-height: 50px;
    padding: 13px 16px !important;
}
.booking-modal-body textarea.form-control { min-height: 110px; }
.booking-modal-body small.text-muted { font-size: 12.5px !important; }

.booking-summary { padding: 16px; gap: 16px; margin-bottom: 22px; }
.booking-summary-img { width: 96px; height: 96px; border-radius: 10px; }
.booking-summary-info h5 { font-size: 17px; }
.booking-price { font-size: 20px; }

.booking-modal-footer { padding: 18px 32px; gap: 12px; }
.booking-modal-footer .btn { padding: 12px 26px; font-size: 15px; font-weight: 600; border-radius: 10px; }

@media (max-width: 576px) {
    .booking-modal { padding: 10px; }
    .booking-modal-header, .booking-modal-footer { padding-left: 18px; padding-right: 18px; }
    .booking-modal-body { padding: 20px 18px !important; max-height: 78vh !important; }
    .booking-summary-img { width: 72px; height: 72px; }
}
/* Back button */
.btn-back {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px; margin-right: 6px;
    background: #fff; border: 1px solid #f39c12; border-radius: 20px;
    color: #b9770e !important; font-weight: 600; font-size: 13px;
    text-decoration: none; transition: all 0.2s;
}
.btn-back:hover { background: #f39c12; color: #fff !important; }
.btn-back i { font-size: 11px; color: inherit; }

/* Dish picker */
.dish-open-btn {
    display: flex; align-items: center; gap: 10px; width: 100%;
    padding: 11px 14px; background: #fff8e6; border: 2px dashed #f39c12;
    border-radius: 10px; color: #b9770e; font-weight: 700; font-size: 14px;
    cursor: pointer; transition: all .2s;
}
.dish-open-btn:hover { background: #fdeccc; }
.dish-open-btn .fa-utensils { font-size: 16px; }
.dish-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.dish-chip {
    background: #e8f6ee; color: #1e8449; font-size: 12px; font-weight: 600;
    padding: 4px 10px; border-radius: 14px;
}
.dish-chip i { font-size: 10px; margin-right: 3px; }
.dish-modal {
    display: none; position: fixed; inset: 0; z-index: 3100;
    background: rgba(10, 31, 58, 0.65); backdrop-filter: blur(4px);
    align-items: center; justify-content: center; padding: 20px;
}
.dish-modal.active { display: flex; }
.dish-modal-content {
    background: #fff; border-radius: 16px; width: 100%; max-width: 480px;
    max-height: 88vh; display: flex; flex-direction: column;
    box-shadow: 0 30px 80px rgba(0,0,0,.4); animation: itemSlideUp .3s ease;
}
.dish-modal-header {
    display: flex; align-items: center; gap: 10px; justify-content: space-between;
    padding: 16px 20px; border-bottom: 1px solid #eef1f6; background: #f8fafc;
    border-radius: 16px 16px 0 0;
}
.dish-modal-close { background: none; border: none; font-size: 26px; line-height: 1; color: #556070; cursor: pointer; }
.dish-modal-body { padding: 16px 20px; overflow-y: auto; flex: 1; }
.dish-modal-footer { padding: 12px 20px; border-top: 1px solid #eef1f6; }
/* ============================================
   BOOKING FORM UI REFRESH
   ============================================ */
.booking-modal-content {
    display: flex; flex-direction: column; overflow: hidden;
}
.booking-modal-body { overflow-y: auto; flex: 1 1 auto; }
.booking-modal-header {
    background: linear-gradient(135deg, #0f3460, #1a1a2e);
    border-bottom: none;
}
.booking-modal-header h3 { color: #fff; }
.booking-modal-header button { color: rgba(255,255,255,.8); background: rgba(255,255,255,.12); }
.booking-modal-header button:hover { background: rgba(255,255,255,.25); color: #fff; }

/* numbered section titles */
.bk-section-title {
    display: flex; align-items: center; gap: 10px;
    font-size: 14px; font-weight: 700; color: #0f3460;
    margin: 6px 0 12px; letter-spacing: .2px;
}
.bk-section-title span {
    width: 24px; height: 24px; border-radius: 50%;
    background: #f39c12; color: #fff; font-size: 12px; font-weight: 800;
    display: inline-flex; align-items: center; justify-content: center;
}
.bk-section-title:not(:first-of-type) { margin-top: 22px; }

.booking-details { background: transparent; border: none; padding: 0; margin-top: 0; }
.booking-fields {
    background: #fafbfd; border: 1px solid #eef1f6; border-radius: 14px;
    padding: 18px 14px 12px; margin-left: 0; margin-right: 0;
}
.booking-details .booking-fields { margin-top: 0; }

.booking-modal-body .form-control:focus { transform: translateY(-1px); }
.booking-modal-body .form-control.is-invalid {
    border-color: #e74c3c !important;
    background-image: none !important;
    box-shadow: 0 0 0 4px rgba(231, 76, 60, .12) !important;
}
.booking-modal-body .form-control.is-valid {
    border-color: #27ae60 !important;
    background-image: none !important;
}
.booking-modal-body select.form-control.is-invalid,
.booking-modal-body select.form-control.is-valid {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230f3460' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
}
.booking-modal-body label.small.text-muted { font-size: 13px !important; }

/* sticky action bar */
.booking-modal-footer { flex: 0 0 auto; position: relative; box-shadow: 0 -6px 16px rgba(15,52,96,.06); }
.booking-modal-footer .btn-warning {
    background: linear-gradient(135deg, #f39c12, #e67e22); border: none; color: #fff;
    box-shadow: 0 4px 14px rgba(243,156,18,.35);
}
.booking-modal-footer .btn-warning:hover { filter: brightness(1.05); transform: translateY(-1px); }
.booking-modal-footer .btn-warning:disabled { opacity: .65; transform: none; }

@media (max-width: 576px) {
    .booking-modal { padding: 0; align-items: flex-end; }
    .booking-modal-content { max-height: 96vh; border-radius: 20px 20px 0 0; }
    .booking-modal-header { border-radius: 20px 20px 0 0; }
    .booking-modal-footer { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
    .booking-modal-footer .btn { flex: 1; }
    .booking-fields { padding: 14px 8px 8px; }
}

/* ============================================
   BOOKING FORM v2: two-column layout, icon inputs, footer summary
   ============================================ */
.booking-modal-content { max-width: 1020px !important; }
.booking-modal-header { padding: 20px 32px !important; }
.booking-modal-header h3 { font-size: 22px !important; letter-spacing: .2px; }

.bk-grid { display: grid; grid-template-columns: 1fr; gap: 8px 28px; }
@media (min-width: 900px) {
    .bk-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
    .bk-col-cal { position: sticky; top: 0; }
}
.bk-col .bk-section-title { margin-top: 0 !important; }

.booking-summary {
    background: linear-gradient(135deg, #fff8e6, #fff) !important;
    border: 1px solid #fdebd0 !important;
    border-left: 5px solid #f39c12 !important;
    box-shadow: 0 4px 16px rgba(243,156,18,.10);
}

/* icon inputs */
.bk-input { position: relative; }
.bk-input > i {
    position: absolute; left: 16px; top: 25px; transform: translateY(-50%);
    color: #f39c12; font-size: 15px; pointer-events: none; z-index: 2;
}
.bk-input.bk-input-area > i { top: 25px; }
.booking-modal-body .bk-input .form-control { padding-left: 44px !important; }
.booking-modal-body .bk-input select.form-control { padding-left: 44px !important; }

.booking-fields { background: #fff !important; border: 1px solid #e3e8ef !important; box-shadow: 0 2px 12px rgba(15,52,96,.05); }

/* footer: selected date summary on the left */
.booking-modal-footer { align-items: center; }
.bk-foot-summary { margin-right: auto; display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.bk-foot-summary small { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: #8898aa; font-style: normal; margin: 0; }
.bk-foot-summary strong { font-size: 15px; color: #a5aebb; font-weight: 700; }
.bk-foot-summary strong.set { color: #0f3460; }
.bk-foot-summary strong.set::before { content: "\f274"; font-family: "Font Awesome 5 Free", "Font Awesome 6 Free"; font-weight: 900; color: #27ae60; margin-right: 6px; }

@media (max-width: 576px) {
    .bk-foot-summary { display: none; }
    .bk-input > i { top: 25px; }
}
.bk-col .booking-fields, .bk-col-form .booking-fields { margin-top: 14px !important; }
.bk-col-form .booking-details { margin-top: 0; }

/* ---- input extras: guest stepper + notes counter ---- */
.bk-stepper { display: flex; align-items: stretch; gap: 8px; }
.bk-stepper input { text-align: center; flex: 1; min-width: 0; font-weight: 700 !important; }
.bk-stepper button {
    flex: 0 0 50px; border: 2px solid #c5cdd8; background: #fff; color: #0f3460;
    border-radius: 10px; font-size: 22px; font-weight: 700; line-height: 1; cursor: pointer; transition: all .15s;
}
.bk-stepper button:hover { background: #f39c12; border-color: #f39c12; color: #fff; }
.bk-stepper button:active { transform: scale(.95); }
.bk-counter { text-align: right; font-size: 11.5px; color: #8898aa; margin-top: 4px; }