/* ============================================
   8bitedge Deals
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Electrolize&display=swap');

/* ---- Base ---- */
.deals-main,
.deals-container,
.deals-card,
.deals-filters,
.deals-topbar {
    font-family: 'Electrolize', sans-serif;
}

.deals-main {
    width: 100%;
    padding: 24px 0 0;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1d35 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.deals-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 217, 255, 0.025) 0px,
        transparent 2px,
        transparent 4px,
        rgba(0, 217, 255, 0.025) 6px
    );
    pointer-events: none;
    z-index: 0;
}

.deals-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px 40px;
    position: relative;
    z-index: 1;
}

/* ---- Guest unlock banner ---- */
.deals-unlock-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    padding: 12px 16px;
    background: rgba(10, 10, 20, 0.65);
    border: 1px solid rgba(0, 217, 255, 0.25);
    flex-wrap: wrap;
}

.deals-unlock-copy { flex: 1 1 280px; min-width: 0; }

.deals-unlock-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #e8f6ff;
    margin: 0 0 3px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.deals-unlock-sub {
    font-size: 0.78rem;
    color: #b8b8c8;
    margin: 0;
    line-height: 1.6;
}

.deals-unlock-cta {
    flex-shrink: 0;
    padding: 6px 16px;
    border: 1px solid rgba(0, 217, 255, 0.5);
    color: #00d9ff;
    font-family: 'Electrolize', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.deals-unlock-cta:hover {
    background: rgba(0, 217, 255, 0.08);
    border-color: rgba(0, 217, 255, 0.8);
    color: #00d9ff;
    text-decoration: none;
}

/* ---- Card ---- */
.deals-card {
    background: rgba(10, 10, 20, 0.65);
    border: 1px solid rgba(0, 217, 255, 0.25);
    overflow: hidden;
}

/* ---- Topbar ---- */
.deals-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 16px;
    border-bottom: 1px solid rgba(0, 217, 255, 0.15);
    background: rgba(10, 10, 20, 0.5);
    flex-wrap: wrap;
}

/* ---- Live status ---- */
.deals-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #00d9ff;
    flex-shrink: 0;
}

.deals-status-dots { display: flex; gap: 3px; align-items: center; }

.deals-status-dots span {
    width: 5px;
    height: 5px;
    background: #00d9ff;
    animation: dot-blink 1s step-end infinite;
}

.deals-status-dots span:nth-child(2) { animation-delay: 0.33s; }
.deals-status-dots span:nth-child(3) { animation-delay: 0.66s; }

@keyframes dot-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.15; }
}

.deals-status-live { color: #00ff41; }
.deals-status-live .deals-status-dots span { background: #00ff41; animation: none; }
.deals-status-reconnecting { color: #00d9ff; }
.deals-status-error { color: rgba(255, 80, 80, 0.85); }
.deals-status-error .deals-status-dots span { background: rgba(255, 80, 80, 0.85); }

/* ---- Filters ---- */
.deals-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Row of the three Min Savings fields, sitting under the stacked label. */
.deals-savings-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 12px;
}

.filter-group { display: flex; align-items: center; gap: 6px; }

.filter-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #00d9ff;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
}

.filter-select {
    background: rgba(10, 10, 20, 0.65);
    border: 1px solid rgba(0, 217, 255, 0.25);
    color: #e8f6ff;
    padding: 4px 24px 4px 8px;
    font-family: 'Electrolize', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%2300d9ff' d='M5 7L1 3h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 6px center;
    border-radius: 0;
    transition: border-color 0.2s ease;
}

.filter-select:focus { outline: none; border-color: rgba(0, 217, 255, 0.55); }
.filter-select option { background: #0a0e27; color: #e8f6ff; }

.filter-clear-btn {
    padding: 4px 12px;
    background: transparent;
    border: 1px solid rgba(0, 217, 255, 0.3);
    color: rgba(0, 217, 255, 0.7);
    font-family: 'Electrolize', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.filter-clear-btn:hover {
    background: rgba(255, 68, 102, 0.08);
    border-color: rgba(255, 68, 102, 0.5);
    color: #ff4466;
}

/* ---- Type / Condition pill filters ---- */
.deals-pill {
    font-family: 'Electrolize', sans-serif;
    background: rgba(10, 10, 20, 0.65);
    border: 1px solid rgba(0, 217, 255, 0.3);
    color: rgba(0, 217, 255, 0.7);
    padding: 4px 11px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    border-radius: 0;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.deals-pill:hover {
    border-color: #00d9ff;
    color: #00d9ff;
}

.deals-pill.active {
    background: #00d9ff;
    border-color: #00d9ff;
    color: #0a0e27;
    box-shadow: 0 0 12px rgba(0, 217, 255, 0.45);
}

/* ---- Table container ---- */
.deals-table-container { overflow-x: auto; }

.deals-table-container::-webkit-scrollbar { height: 5px; }
.deals-table-container::-webkit-scrollbar-track { background: rgba(10, 10, 20, 0.65); }
.deals-table-container::-webkit-scrollbar-thumb { background: rgba(0, 217, 255, 0.25); }
.deals-table-container::-webkit-scrollbar-thumb:hover { background: rgba(0, 217, 255, 0.45); }

/* ---- Table ---- */
table.deals-table { width: 100%; border-collapse: separate; border-spacing: 0; }

table.deals-table thead th {
    background: rgba(10, 10, 20, 0.7);
    color: rgba(0, 217, 255, 0.65);
    font-family: 'Electrolize', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 9px 10px;
    border-bottom: 1px solid rgba(0, 217, 255, 0.18);
    white-space: nowrap;
    /* Sorting is dropdown-only -- headers aren't clickable. */
    cursor: default;
}

/* Hide the DataTables sort-arrow icons so headers don't look orderable. */
table.deals-table thead th span.dt-column-order { display: none; }

table.deals-table tbody tr {
    background: rgba(10, 10, 20, 0.55);
    border-bottom: 1px solid rgba(0, 217, 255, 0.07);
    transition: background 0.15s ease;
}

table.deals-table tbody tr:hover { background: rgba(0, 217, 255, 0.04); }

table.deals-table tbody td {
    color: #b8b8c8;
    padding: 0 10px;
    height: 52px;
    vertical-align: middle;
    border: none;
    font-size: 0.81rem;
    font-family: 'Electrolize', sans-serif;
}

table.deals-table tbody td a { color: #c8e8f4; text-decoration: none; }
table.deals-table tbody td a:hover { color: #e8f6ff; }

/* Thumbnail column */
.col-thumb { width: 52px !important; padding: 4px 6px 4px 10px !important; }

.row-thumb {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: cover;
    border: 1px solid rgba(0, 217, 255, 0.18);
    background: rgba(10, 10, 20, 0.8);
}

/* Intel button column */
.col-intel { width: 70px !important; }

.intel-btn {
    padding: 5px 10px;
    background: transparent;
    border: 1px solid rgba(0, 255, 65, 0.3);
    color: rgba(0, 255, 65, 0.75);
    font-family: 'Electrolize', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.intel-btn:hover {
    background: rgba(0, 255, 65, 0.07);
    border-color: rgba(0, 255, 65, 0.6);
    color: #00ff41;
    box-shadow: 0 0 8px rgba(0, 255, 65, 0.2);
}

/* Prevent wrapping on specific columns */
table.deals-table td.col-nowrap,
table.deals-table th.col-nowrap {
    white-space: nowrap;
}

/* Price value */
.price-value {
    color: #e8f6ff;
    font-weight: 700;
    font-size: 0.88rem;
}

/* ---- Guest blur ---- */
.blurred-price {
    display: inline-block;
    filter: blur(5px);
    -webkit-filter: blur(5px);
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
    color: rgba(0, 217, 255, 0.7);
}

/* ---- Deal Intel Modal ---- */
.deal-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(4, 4, 12, 0.82);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.deal-modal {
    background: #0b0f28;
    border: 1px solid rgba(0, 217, 255, 0.28);
    border-radius: 10px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.6);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    font-family: 'Electrolize', sans-serif;
}

.deal-modal::-webkit-scrollbar { width: 4px; }
.deal-modal::-webkit-scrollbar-track { background: rgba(10, 10, 20, 0.65); }
.deal-modal::-webkit-scrollbar-thumb { background: rgba(0, 217, 255, 0.25); }

/* Modal header bar */
.deal-modal-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 18px;
    background: rgba(11, 15, 40, 0.9);
    border-bottom: 1px solid rgba(0, 217, 255, 0.12);
    position: sticky;
    top: 0;
    z-index: 2;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.deal-modal-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.66rem;
    font-weight: 700;
    color: rgba(0, 217, 255, 0.65);
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.deal-modal-dot {
    width: 6px;
    height: 6px;
    background: #00d9ff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 217, 255, 0.8);
    flex-shrink: 0;
}

.deal-modal-close {
    background: none;
    border: none;
    color: rgba(184, 184, 200, 0.5);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
    transition: color 0.2s ease;
}

.deal-modal-close:hover { color: #e8f6ff; }

/* Body: vertical stack of cards */
.deal-modal-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Hero — cover image + identity */
.dm-hero { display: flex; gap: 14px; align-items: flex-start; }

.dm-hero-img {
    flex: 0 0 auto;
    width: 116px;
    height: 116px;
    border: 1px solid rgba(0, 217, 255, 0.18);
    border-radius: 6px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}
.dm-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.dm-hero-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }

.dm-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    color: #e8f6ff;
}
.dm-title-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #e8f6ff;
    text-decoration: underline;
    text-decoration-color: rgba(0, 217, 255, 0.4);
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.dm-title-link:hover { color: #00d9ff; text-decoration-color: #00d9ff; }
.dm-title-icon { flex-shrink: 0; opacity: 0.5; transition: opacity 0.15s ease; }
.dm-title-link:hover .dm-title-icon { opacity: 1; }

.dm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dm-chip {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(184, 184, 200, 0.7);
    padding: 3px 9px;
    border: 1px solid rgba(184, 184, 200, 0.18);
    border-radius: 999px;
    white-space: nowrap;
}
.dm-chip-console { color: #00d9ff; border-color: rgba(0, 217, 255, 0.4); background: rgba(0, 217, 255, 0.06); }
.dm-chip-type { color: rgba(255, 199, 0, 0.9); border-color: rgba(255, 199, 0, 0.3); }

.dm-listing-text {
    margin: 0;
    font-size: 0.76rem;
    line-height: 1.4;
    color: rgba(184, 184, 200, 0.6);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* The deal — asking vs market vs savings */
.dm-deal {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    border: 1px solid rgba(0, 217, 255, 0.14);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 217, 255, 0.025);
}
.dm-deal-cell { padding: 12px 14px; border-left: 1px solid rgba(0, 217, 255, 0.1); }
.dm-deal-cell:first-child { border-left: none; }
.dm-deal-label {
    font-size: 0.58rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(184, 184, 200, 0.5);
    margin-bottom: 6px;
    white-space: nowrap;
}
.dm-deal-val { font-size: 1.15rem; font-weight: 700; color: #e8f6ff; }
.dm-deal-buy { font-size: 0.95rem; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.dm-deal-tag {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 999px;
    color: #00d9ff;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.35);
}
.dm-deal-save .dm-deal-val {
    color: #00ff41;
    text-shadow: 0 0 14px rgba(0, 255, 65, 0.25);
    display: flex;
    align-items: baseline;
    gap: 7px;
    flex-wrap: wrap;
}
.dm-save-badge {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid rgba(0, 255, 65, 0.35);
    color: #00ff41;
    white-space: nowrap;
    text-shadow: none;
}

/* PriceCharting breakdown */
.dm-pc-head {
    font-size: 0.62rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(0, 217, 255, 0.45);
    margin-bottom: 9px;
}
.dm-pc-head a { color: #00d9ff; text-decoration: none; }
.dm-pc-head a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dm-pc-plat { color: rgba(184, 184, 200, 0.45); }

.dm-pc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dm-pc-cell {
    padding: 10px 12px;
    border: 1px solid rgba(0, 217, 255, 0.12);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.015);
}
.dm-pc-cell.is-match {
    border-color: rgba(0, 217, 255, 0.5);
    background: rgba(0, 217, 255, 0.07);
}
.dm-pc-label {
    font-size: 0.58rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(0, 217, 255, 0.5);
    margin-bottom: 5px;
}
.dm-pc-val { font-size: 0.95rem; font-weight: 700; color: #e8f6ff; }

/* Additional photos */
.dm-thumbs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.dm-thumbs::-webkit-scrollbar { height: 3px; }
.dm-thumbs::-webkit-scrollbar-thumb { background: rgba(0, 217, 255, 0.2); }
.dm-thumb {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border: 1px solid rgba(0, 217, 255, 0.12);
    border-radius: 4px;
    overflow: hidden;
}
.dm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Footer */
.dm-foot { display: flex; flex-direction: column; gap: 10px; }
.dm-close-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 11px 16px;
    background: rgba(0, 217, 255, 0.06);
    border: 1px solid rgba(0, 217, 255, 0.35);
    color: #00d9ff;
    font-family: 'Electrolize', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.dm-close-btn:hover {
    background: rgba(0, 217, 255, 0.14);
    border-color: #00d9ff;
    color: #e8f6ff;
}

.dm-guest-note { margin: 0; font-size: 0.74rem; color: rgba(184, 184, 200, 0.55); text-align: center; }
.dm-guest-note a { color: #00d9ff; text-decoration: underline; text-underline-offset: 3px; }

/* ---- Sort dropdown + Type/Condition pills ---- */
/* Sort, Type and Condition share this top-row cell; lay them out in a row,
   bottom-aligned so each control sits under its stacked label. */
div.dt-container div.dt-layout-cell.deals-sort-cell {
    padding: 8px 12px !important;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 8px 18px;
}

.deals-sort-wrap,
.deals-filter-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.deals-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.deals-sort-label {
    display: block;
    font-family: 'Electrolize', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(0, 217, 255, 0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: left;
    margin: 0;
    padding: 0;
}

.deals-sort-select {
    background: rgba(10, 10, 20, 0.65);
    border: 1px solid rgba(0, 217, 255, 0.25);
    color: #e8f6ff;
    padding: 5px 28px 5px 10px;
    font-family: 'Electrolize', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%2300d9ff' d='M5 7L1 3h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    border-radius: 0;
    transition: border-color 0.2s ease;
    min-width: 180px;
}

.deals-sort-select:focus { outline: none; border-color: rgba(0, 217, 255, 0.55); }
.deals-sort-select option { background: #0a0e27; color: #e8f6ff; }

/* ---- DataTables chrome ---- */
div.dt-container div.dt-layout-row {
    background: rgba(10, 10, 20, 0.65);
    border-bottom: 1px solid rgba(0, 217, 255, 0.12);
    margin: 0 !important;
}

div.dt-container div.dt-layout-cell { padding: 0 !important; }

div.dt-container div.dt-search { padding: 8px 12px; }

/* Top-row end cell holds the Search box plus the relocated Clear button.
   The `div.dt-layout-row` in the selector is required to out-specify
   DataTables' own `...dt-layout-row div.dt-layout-cell { align-items:center }`
   default -- otherwise flex-end is ignored. Bottom-align so the button lines
   up with the Search input; the 8px margin-bottom cancels .dt-search's bottom
   padding so the button's bottom meets the input's bottom (not the search
   box's). padding-right restores the right gutter the cell's padding:0 strips
   (the button, now the last child, would otherwise sit flush to the edge). */
div.dt-container div.dt-layout-row div.dt-layout-cell.deals-search-cell {
    align-items: flex-end;
    padding-right: 12px !important;
}

div.dt-container div.dt-layout-cell.deals-search-cell .filter-clear-btn {
    flex: 0 0 auto;
    margin-bottom: 8px;
}

div.dt-container div.dt-search label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(0, 217, 255, 0.5) !important;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-family: 'Electrolize', sans-serif;
}

div.dt-container div.dt-search input,
div.dt-container div.dt-search input.dt-input {
    background: rgba(10, 10, 20, 0.65) !important;
    border: 1px solid rgba(0, 217, 255, 0.22) !important;
    border-radius: 0 !important;
    color: #e8f6ff !important;
    padding: 5px 8px !important;
    font-size: 0.78rem !important;
    font-family: 'Electrolize', sans-serif !important;
    min-width: 200px !important;
    box-shadow: none !important;
    -webkit-text-fill-color: #e8f6ff !important;
}

div.dt-container div.dt-search input::placeholder {
    color: rgba(184, 184, 200, 0.3) !important;
}

div.dt-container div.dt-search input:focus {
    outline: none !important;
    border-color: rgba(0, 217, 255, 0.5) !important;
}

div.dt-container div.dt-info {
    color: rgba(184, 184, 200, 0.5) !important;
    padding: 8px 12px;
    font-size: 0.7rem;
    font-family: 'Electrolize', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

div.dt-container div.dt-paging { padding: 6px 12px; }

div.dt-container .dt-paging .dt-paging-button {
    background: transparent;
    border: 1px solid rgba(0, 217, 255, 0.2) !important;
    border-radius: 0 !important;
    color: rgba(0, 217, 255, 0.65) !important;
    padding: 4px 10px;
    margin: 0 2px;
    font-family: 'Electrolize', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

div.dt-container .dt-paging .dt-paging-button:hover {
    background: rgba(0, 217, 255, 0.07) !important;
    border-color: rgba(0, 217, 255, 0.45) !important;
    color: #00d9ff !important;
}

div.dt-container .dt-paging .dt-paging-button.current,
div.dt-container .dt-paging .dt-paging-button.current:hover {
    background: rgba(0, 217, 255, 0.12) !important;
    border-color: rgba(0, 217, 255, 0.45) !important;
    color: #e8f6ff !important;
}

div.dt-container .dt-paging .dt-paging-button.disabled,
div.dt-container .dt-paging .dt-paging-button.disabled:hover {
    background: transparent !important;
    border-color: rgba(0, 217, 255, 0.08) !important;
    color: rgba(0, 217, 255, 0.2) !important;
    cursor: not-allowed;
}

div.dt-container .dt-paging .dt-paging-button.ellipsis,
div.dt-container .dt-paging .dt-paging-button.ellipsis:hover {
    background: transparent !important;
    border: none !important;
    color: rgba(184, 184, 200, 0.4) !important;
    cursor: default;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .deals-topbar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
    .deals-unlock-banner { flex-direction: column; align-items: flex-start; }
    .deals-unlock-cta { width: 100%; text-align: center; display: block; }
    .deal-modal-overlay { padding: 0; align-items: flex-end; }
    .deal-modal { max-width: 100%; max-height: 88vh; border-radius: 12px 12px 0 0; border-bottom: none; }
    .dm-hero-img { width: 92px; height: 92px; }
    .dm-deal-label { white-space: normal; }
}

/* AI accuracy disclaimer (mirrors the /search results disclaimer). */
.search-disclaimer {
    width: 100%;
    max-width: 760px;
    margin: 24px auto 8px;
    padding: 0 20px;
    font-family: 'Electrolize', sans-serif;
    font-size: 0.72rem;
    line-height: 1.5;
    letter-spacing: 0.3px;
    text-align: left;
    color: #B8B8C8;
}
