/* ==========================================
   ADMIN: JUMP META BOX
   ========================================== */
#jump_mb_root .jump-mb-content { padding: 10px; }
#jump_mb_root .jump-field-row { display: flex; margin-bottom: 15px; align-items: center; }
#jump_mb_root .jump-tier-header-row { border-top: 1px solid #eee; padding-top: 20px; margin-top: 20px; }
#jump_mb_root .jump-main-label { width: 180px; font-weight: 600; color: #333; flex-shrink: 0; text-align: left; }
#jump_mb_root .jump-input-group { flex-grow: 1; display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
#jump_mb_root .jump-input-group.jump-vertical { display: block; }
#jump_mb_root .jump-status-text { font-weight: bold; font-size: 14px; }
#jump_mb_root .jump-radio-label { margin-right: 10px; font-weight: normal; }
#jump_mb_root .j-t-row { margin-bottom: 8px; display: flex; gap: 10px; align-items: center; width: 100%; }
#jump_mb_root .jump-qty-input { width: 80px; }
#jump_mb_root .jump-price-input { width: 100px; }
#jump_mb_root .j-t-remove { color: red; text-decoration: none; font-weight: bold; font-size: 20px; margin-left: 10px; }

/* ==========================================
   FRONTEND: FLATSOME TIER TABLE
   ========================================== */
.jump-tier-wrapper {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 1.5rem;
    padding-top: 10px;
    border-top: 1px solid #ececec;
    clear: both;
    display: block !important;
}

.jump-tier-table {
    width: 100%;
    border: none !important;
    border-collapse: collapse;
    background: none !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.jump-tier-table thead th {
    padding: 8px 0 !important;
    border-bottom: 2px solid #ececec !important;
    font-size: 0.75em;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: none !important;
}

.jump-tier-qty-heading { text-align: left; }
.jump-tier-price-heading { text-align: right; }

.jump-tier-table tr {
    border-bottom: 1px solid #ececec !important;
    background: none !important;
}

.jump-tier-table tbody tr:last-child {
    border-bottom: none !important;
}

.jump-tier-table td {
    padding: 8px 0 !important;
    border: none !important;
    background: none !important;
    line-height: 1.2 !important;
}

.jump-tier-qty-label {
    text-align: left;
    font-size: 0.8em;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.jump-tier-price-value {
    text-align: right;
    font-weight: normal;
    color: #777;
    font-size: 1em;
}

/* ==========================================
   PHASE 3: DASHBOARD / catalogueUE
   ========================================== */
.jump-catalogue-grid {
    margin-bottom: 50px;
}

.jump-catalogue-item {
    transition: transform 0.2s ease;
    background: #fff;
    border-radius: 4px;
}

.jump-catalogue-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.jump-catalogue-item img {
    border-bottom: 1px solid #f1f1f1;
    margin-bottom: 15px;
}

.jump-catalogue-item h4 {
    margin: 0 0 15px 0;
    font-weight: 600;
    color: #333;
}

/* catalogue Grid Styles */
.jump-catalogue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 20px;
    transition: opacity 0.3s ease;
}

.jump-catalogue-item {
    border: 1px solid #ececec;
    padding: 15px;
    text-align: center;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.jump-catalogue-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.jump-catalogue-item h4 {
    font-size: 0.95em;
    margin: 0 0 15px 0;
    min-height: 40px;
}

.jump-request-btn {
    width: 100%;
    font-size: 0.8em !important;
}

#jump-catalogue-loader {
    font-size: 0.8em;
    color: #2271b1;
    font-weight: bold;
    text-transform: uppercase;
}

.jump-catalogue-pagination a:hover {
    background: #f7f7f7;
}

/* Flatsome-style pagination alignment */
.pagination-container ul {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 5px;
}
.pagination-container li a, .pagination-container li span {
    padding: 8px 14px;
    border: 1px solid #ececec;
    color: #333;
    text-decoration: none;
    font-weight: bold;
}
.pagination-container li span.current {
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
}

/* Ensure the Flatsome 'input-select' class is recognized */
.input-select {
    height: 40px;
    border: 1px solid #ececec;
    border-radius: 3px;
    padding: 0 10px;
    background-color: #fff;
    font-size: 0.9em;
}

/* Quick View Trigger */
.jump-qv-link {
    cursor: zoom-in;
    display: block;
}

.jump-qv-link:hover h4 {
    color: #2271b1 !important;
}

/* Lightbox Content Styling */
#jump-qv-content h2 {
    margin-top: 0;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    font-size: 1.8em;
}

#jump-qv-content .price {
    font-weight: bold;
    color: #111;
    margin-bottom: 20px;
}

#jump-qv-content .description {
    color: #666;
    line-height: 1.6;
}

/* Ensure Lightbox close button is visible */
.mfp-close-btn-in .mfp-close {
    color: #333;
}

/* Ensure Price column in Tiers is right aligned */
.jump-tier-table td:last-child, 
.jump-tier-table th:last-child {
    text-align: right !important;
}

/* Suite-wide hide number arrows for clean UI */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}

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

/* Ensure the unified metabox inputs look consistent */
.jump-input-wrap input[type="number"] {
    width: 100px;
    border: 1px solid #ddd;
    padding: 4px 8px;
    border-radius: 3px;
}