.tvp-meta-field {
    margin-bottom: 15px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 5px;
}
.tvp-meta-field label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}
.tvp-meta-field input[type="text"],
.tvp-meta-field input[type="number"] {
    width: 100%;
    padding: 8px;
}
.tvp-package-row {
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
}
.remove-pkg {
    color: #fff;
    background: #dc3545;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    margin-top: 10px;
}
.remove-pkg:hover {
    background: #c82333;
}
.add-pkg {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}
.add-pkg:hover {
    background: #218838;
}


        /* Your existing grid CSS - keeping as is */
        .td-image { position: relative; }
        .td-badge { position: absolute; left: 8px; top: 8px; z-index: 9; background: rgba(255,255,255,0.9); padding: 0px 12px; border-radius: 20px; font-size: 13px; font-weight: 500; }
        .package-section { padding: 60px 8%; }
        .section-title { text-align: center; font-size: 32px; margin-bottom: 40px; }
        .package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
        .package-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.08); transition: 0.4s ease; }
        .package-card:hover { transform: translateY(-6px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
        .card-image { position: relative; height: 200px; overflow: hidden; }
        .card-image img { width: 100%; height: 100%; object-fit: cover; transition: 0.7s ease; }
        .package-card:hover .card-image img { transform: scale(1.1); }
        .overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 15px; background: linear-gradient(to top, rgba(0,0,0,0.6), transparent); display: flex; justify-content: space-between; }
        .badge { padding: 5px 12px; border-radius: 20px; font-size: 13px; font-weight: 500; background-color: #fff; color: #000; }
        .card-content { padding: 20px; }
        .card-content h3 { margin: 0 0 5px; font-size: 20px; }
        .features { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; color: #666; margin-bottom: 15px; }
        .divider { height: 1px; background: #eee; margin: 5px 0; }
        .price-section { display: flex; justify-content: space-between; align-items: end; }
        .price-section small { text-transform: uppercase; font-size: 11px; color: #888; }
        .price { font-size: 20px !important; font-weight: 500; color: #46BCEE !important; }
        .price span { font-size: 14px; font-weight: normal; color: #777; }
        .btn { background:#46BCEE !important; border: none; padding: 9px 16px; border-radius: 6px; font-weight: 600; cursor: pointer; transition: 0.3s; text-decoration: none; color: #fff !important; display: inline-block; }
        .btn:hover { opacity: 0.9; color: #000; }
        @media (max-width: 992px) { .package-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 600px) { .package-grid { grid-template-columns: 1fr; } }
        .tvp-stars { font-size: 16px; color: #c9a227; }
        .tvp-stars .star { margin-right: 2px; font-size: 20px; }
        .tvp-count { margin-bottom: 20px; font-size: 18px; font-weight: 500; }
  


        /* Main container */
        .tvp-booking-container {
            max-width: 800px;
            margin: 0 auto;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            margin-top: 50px;
        }

        /* Date Selection */
        .tvp-date-section {
            background: #fff;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }

        .tvp-date-label {
            font-size: 16px;
            font-weight: 600;
            color: #374151;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .tvp-date-label svg {
            width: 20px;
            height: 20px;
            fill: #46BCEE;
        }

        .tvp-date-input {
            width: 100%;
            padding: 14px;
            border: 2px solid #e5e7eb;
            border-radius: 10px;
            font-size: 15px;
            color: #1f2937;
            transition: all 0.3s;
            background: #f9fafb;
        }

        .tvp-date-input:focus {
            outline: none;
            border-color: #46BCEE;
            box-shadow: 0 0 0 4px rgba(70,188,238,0.1);
            background: #fff;
        }

        /* Packages Container */
        .tvp-packages {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 24px;
        }

        /* Package Card */
        .tvp-package-card {
            background: #fff;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 2px 4px rgba(0,0,0,0.02);
        }

        .tvp-package-card:hover {
            border-color: #46BCEE;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }

        .tvp-package-card.active {
            border-color: #46BCEE;
            border-width: 2px;
            box-shadow: 0 4px 12px rgba(70,188,238,0.15);
        }

        /* Package Header */
        .tvp-package-header {
            display: flex;
            align-items: flex-start;
            gap: 16px;
            padding: 20px;
            cursor: pointer;
            background: #fff;
            position: relative;
        }

        .tvp-package-header:hover {
            background: #f5fcfe;
        }

        /* Custom Checkbox */
        .tvp-package-checkbox {
            width: 24px;
            height: 24px;
            border: 2px solid #d1d5db;
            border-radius: 6px;
            margin-top: 2px;
            flex-shrink: 0;
            transition: all 0.2s;
            position: relative;
            background: #fff;
        }

        .tvp-package-card.active .tvp-package-checkbox {
            border-color: #46BCEE;
            background: #46BCEE;
        }

        .tvp-package-card.active .tvp-package-checkbox::after {
            content: "✓";
            color: white;
            font-size: 16px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-weight: bold;
        }

        .tvp-package-info {
            flex: 1;
        }

        .tvp-package-name {
            font-weight: 600;
            font-size: 16px;
            color: #111827;
            margin-bottom: 0px;
        }

        /* Recommended Badge */
        .tvp-default-badge {
            background: linear-gradient(135deg, #46BCEE, #fb923c);
            color: white;
            font-size: 11px;
            padding: 4px 10px;
            border-radius: 20px;
            font-weight: 600;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            margin-left: 10px;
        }

        .tvp-package-prices {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            font-size: 14px;
            color: #4b5563;
            margin-bottom:8px;
        }

        .tvp-package-prices span {
            display: flex;
            align-items: center;
            gap: 3px;
            background: #f3f4f6;
            padding: 3px 5px;
            border-radius: 20px;
        }

        .tvp-package-prices strong {
            color: #46BCEE;
            font-weight: 700;
            font-size: 15px;
        }

        /* Quantity Section */
        .tvp-quantity-section {
            padding: 20px;
            border-top: 1px solid #e5e7eb;
            display: none;
            background: #f9fafb;
        }

        .tvp-package-card.active .tvp-quantity-section {
            display: block;
        }

        .tvp-quantity-grid {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }

        .tvp-quantity-item {
            flex: 1;
            min-width: 90px;
        }

        .tvp-quantity-item label {
            display: block;
            font-size: 14px;
            color: #4b5563;
            margin-bottom: 8px;
            font-weight: 500;
        }

        .tvp-quantity-item label span {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        /* Quantity Selector */
        .tvp-quantity-selector {
            display: flex;
            align-items: center;
            background: #fff;
            border: 2px solid #e5e7eb;
            border-radius: 40px;
            overflow: hidden;
        }

        .tvp-quantity-btn {
            width: 30px;
            height: 30px;
            border: none;
            background: #f3f4f6;
            font-size: 14px;
            font-weight: 600;
            color: #4b5563;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

        .tvp-quantity-btn:hover:not(:disabled) {
            background: #46BCEE;
            color: white;
        }

        .tvp-quantity-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .tvp-quantity-input {
            width: 30px;
            height: 30px;
            border: none;
            text-align: center;
            font-size: 13px;
            font-weight: 500;
            color: #111827;
            background: transparent;
        }

        .tvp-quantity-input:focus {
            outline: none;
        }

        .tvp-quantity-input::-webkit-inner-spin-button,
        .tvp-quantity-input::-webkit-outer-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        .tvp-quantity-input[type=number] {
            -moz-appearance: textfield;
        }

        /* Booking Summary */
        .tvp-summary {
            background: #fff;
            border: 1px solid #e5e7eb;
            border-radius: 16px;
            padding: 24px;
            margin-top: 20px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }

        .tvp-summary-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 16px;
            border-bottom: 2px solid #f3f4f6;
        }

        .tvp-summary-title {
            font-weight: 600;
            font-size: 18px;
            color: #111827;
        }

        .tvp-summary-date {
            font-size: 14px;
            color: #6b7280;
            background: #f3f4f6;
            padding: 6px 12px;
            border-radius: 20px;
        }

        .tvp-selected-items {
            margin-bottom: 20px;
        }

        .tvp-selected-item {
            margin-bottom: 16px;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            overflow: hidden;
        }

        .tvp-item-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px;
            background: #f9fafb;
            cursor: pointer;
        }

        .tvp-item-name {
            font-weight: 600;
            color: #111827;
        }

        .tvp-item-total {
            font-weight: 700;
            color: #46BCEE;
        }

        .tvp-item-details {
            padding: 16px;
            background: #fff;
            border-top: 1px solid #e5e7eb;
        }

        .tvp-detail-row {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            color: #4b5563;
            border-bottom: 1px dashed #f3f4f6;
        }

        .tvp-detail-row:last-child {
            border-bottom: none;
        }

        .tvp-grand-total {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
            border-top: 2px solid #e5e7eb;
            font-weight: 700;
            font-size: 20px;
            color: #111827;
        }

        .tvp-total-amount {
            color: #46BCEE;
        }

        .tvp-submit-btn {
            width: 100%;
            background: linear-gradient(135deg, #46BCEE, #fb923c);
            color: white;
            border: none;
            padding: 16px;
            border-radius: 12px;
            font-size: 18px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .tvp-submit-btn:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(70,188,238,0.3);
        }

        .tvp-submit-btn:disabled {
            background: #d1d5db;
            cursor: not-allowed;
        }

        .tvp-empty-state {
            text-align: center;
            color: #9ca3af;
            padding: 30px;
            background: #f9fafb;
            border-radius: 12px;
        }

        @media (max-width: 640px) {
            .tvp-quantity-grid {
                flex-direction: column;
                gap: 16px;
            }
            
            .tvp-package-prices {
                flex-direction: column;
                gap: 8px;
            }
        }
        
        .tvp-notice {
            background: #f3f4f6;
            border-left: 4px solid #46BCEE;
            padding: 12px;
            border-radius: 4px;
            margin-bottom: 20px;
        }
        
        .tvp-error {
            background: #fee2e2;
            border: 1px solid #ef4444;
            color: #991b1b;
            padding: 12px;
            border-radius: 8px;
            margin-bottom: 20px;
        }
        
        .tvp-success {
            background: #dcfce7;
            border: 1px solid #22c55e;
            color: #166534;
            padding: 12px;
            border-radius: 8px;
            margin-bottom: 20px;
        }
        
        
        /* Filter Section Styles */
.tvp-filter-wrapper {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.tvp-filter-container {
    max-width: 800px;
    margin: 0 auto;
}

.tvp-filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.tvp-filter-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    flex: 1;
}

.tvp-filter-row label {
    font-weight: 600;
    color: #333;
    min-width: 100px;
}

.tvp-filter-select-wrapper {
    position: relative;
    flex: 1;
    min-width: 250px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.tvp-filter-select-wrapper select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 15px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tvp-filter-select-wrapper select:hover {
    border-color: #46BCEE;
}

.tvp-filter-select-wrapper select:focus {
    outline: none;
    border-color: #46BCEE;
    box-shadow: 0 0 0 3px rgba(70, 188, 238, 0.1);
}

.tvp-clear-filter {
    padding: 8px 15px;
    background: #dc3545;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tvp-clear-filter:hover {
    background: #c82333;
    color: white;
}

.tvp-results-count {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #dee2e6;
    color: #6c757d;
    font-size: 16px;
}

.tvp-results-count strong {
    color: #46BCEE;
}

.tvp-no-results {
    text-align: center;
    padding: 50px;
    background: #f8f9fa;
    border-radius: 10px;
    color: #6c757d;
    font-size: 18px;
    width: 100%;
}

/* Responsive styles */
@media (max-width: 768px) {
    .tvp-filter-row {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .tvp-filter-select-wrapper {
        width: 100%;
        flex-direction: column;
    }
    
    .tvp-clear-filter {
        width: 100%;
        text-align: center;
    }
}