/* ============================================================
   pazarsc Items — gold theme
   --primary-green: #e6c14a
   --accent-glow-green: rgba(230,193,74,0.25)
   ============================================================ */

/* ---------- Section / Layout ---------- */
.ip-section { max-width: 1680px; margin: 0 auto; padding: 0 16px; }

.ip-accent {
    color: var(--accent, #e6c14a);
    text-shadow: 0 0 18px var(--accent-glow, rgba(230,193,74,0.25));
}

.ip-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 22px;
    margin-top: 20px;
}
@media (max-width: 980px) {
    .ip-layout { grid-template-columns: 1fr; }
}

/* ---------- Sidebar ---------- */
.ip-sidebar {
    background: rgba(15, 18, 16, 0.6);
    border: 1px solid rgba(230,193,74,0.12);
    border-radius: 12px;
    padding: 16px;
    align-self: start;
    position: sticky;
    top: 70px;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    backdrop-filter: blur(6px);
}
@media (max-width: 980px) {
    .ip-sidebar { position: static; max-height: none; }
}
.ip-counter {
    color: white;
    font-size: 13px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(230,193,74,0.1);
}
.ip-counter strong {
    color: var(--accent, #e6c14a);
    font-size: 18px;
    font-weight: 800;
}

.ip-filter-group {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ip-filter-group:last-of-type { border-bottom: 0; }

.ip-filter-title {
    color: var(--accent, #e6c14a);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ip-price-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}
.ip-input {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.08);
    color: white;
    padding: 7px 9px;
    border-radius: 6px;
    font-size: 13px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.15s;
}
.ip-input:focus { border-color: var(--accent, #e6c14a); }

.ip-checkbox-list {
    max-height: 220px;
    overflow-y: auto;
    padding-right: 4px;
}
.ip-checkbox-list::-webkit-scrollbar { width: 5px; }
.ip-checkbox-list::-webkit-scrollbar-thumb { background: rgba(230,193,74,0.25); border-radius: 3px; }
.ip-checkbox-list::-webkit-scrollbar-track { background: transparent; }

.ip-check-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    cursor: pointer;
    color: #c4c4cc;
    font-size: 13px;
    transition: color 0.12s;
}
.ip-check-row:hover { color: var(--accent, #e6c14a); }
.ip-check-row input[type="checkbox"] {
    margin: 0;
    accent-color: var(--accent, #e6c14a);
    cursor: pointer;
}
.ip-check-row .ip-check-count {
    margin-left: auto;
    color: #6b6b75;
    font-size: 11px;
}

.ip-btn-green {
    background: linear-gradient(135deg, #b08d2e, #e6c14a);
    color: #000;
    border: 0;
    border-radius: 6px;
    padding: 8px 14px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.4px;
    cursor: pointer;
    box-shadow: 0 0 12px var(--accent-glow, rgba(230,193,74,0.25));
    transition: transform 0.12s, box-shadow 0.12s;
}
.ip-btn-green:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 18px rgba(230,193,74,0.5);
}
/* legacy alias */
.ip-btn-orange { background: linear-gradient(135deg, #b08d2e, #e6c14a); color: #000; border: 0; border-radius: 6px; padding: 8px 14px; font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: 0.4px; cursor: pointer; box-shadow: 0 0 12px var(--accent-glow, rgba(230,193,74,0.25)); }
.ip-btn-orange:hover { transform: translateY(-1px); box-shadow: 0 0 18px rgba(230,193,74,0.5); }
.ip-btn-sm { padding: 6px 10px; font-size: 11px; width: 100%; }

/* ---------- Bonus Slider Filters (dinamik) ---------- */
.ip-slider-row {
    margin: 10px 0 14px;
}
.ip-slider-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    color: #c4c4cc;
    font-size: 12px;
    font-weight: 600;
    gap: 8px;
}
.ip-slider-value {
    color: var(--accent, #e6c14a);
    background: rgba(230,193,74,0.08);
    border: 1px solid rgba(230,193,74,0.3);
    padding: 1px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    min-width: 28px;
    text-align: center;
}
.ip-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    transition: background 0.15s;
}
.ip-slider:hover {
    background: rgba(255,255,255,0.18);
}
.ip-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: var(--accent, #e6c14a);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 8px var(--accent-glow, rgba(230,193,74,0.5));
    transition: transform 0.12s, box-shadow 0.12s;
}
.ip-slider::-webkit-slider-thumb:hover {
    transform: scale(1.18);
    box-shadow: 0 0 14px rgba(230,193,74,0.85);
}
.ip-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--accent, #e6c14a);
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    box-shadow: 0 0 8px var(--accent-glow, rgba(230,193,74,0.5));
}
.ip-slider::-moz-range-track {
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}

@media (max-width: 980px) {
    .ip-slider-row { margin: 12px 0 16px; }
    .ip-slider { height: 6px; }
    .ip-slider::-webkit-slider-thumb { width: 18px; height: 18px; }
    .ip-slider::-moz-range-thumb { width: 18px; height: 18px; }
}

.ip-btn-reset {
    background: transparent;
    border: 1px solid #ef4444;
    color: #ef4444;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    cursor: pointer;
    width: 100%;
    transition: all 0.15s;
}
.ip-btn-reset:hover {
    background: #ef4444;
    color: white;
}

/* ---------- Main / Topbar ---------- */
.ip-main { min-width: 0; }

.ip-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.ip-search-wrap {
    flex: 1;
    min-width: 200px;
    position: relative;
}
.ip-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b6b75;
    pointer-events: none;
}
/* Search bar — itemara koyu yeşil */
.ip-search-input {
    width: 100%;
    background: rgb(7, 74, 36);
    border: 0;
    color: #ffffff;
    padding: 11px 16px 11px 38px;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    transition: background 0.15s;
}
.ip-search-input::placeholder { color: rgba(255, 255, 255, 0.5); }
.ip-search-input:focus { background: rgb(11, 100, 50); }
.ip-search-icon { color: rgba(255, 255, 255, 0.6); }

.ip-sort-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.ip-sort-btn {
    background: rgb(7, 74, 36);
    border: 0;
    color: #41ec8b;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
    letter-spacing: 0.2px;
}
.ip-sort-btn:hover {
    background: rgb(11, 100, 50);
}
.ip-sort-btn.active {
    background: rgb(23, 201, 100);
    color: #ffffff;
    font-weight: 600;
}

/* ---------- Grid (cards) — 4 sutun sabit, responsive breakpoints ---------- */
.ip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
@media (max-width: 1400px) { .ip-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 980px)  { .ip-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 560px)  { .ip-grid { grid-template-columns: 1fr; } }

.ip-card {
    background: rgba(20, 22, 28, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    position: relative;
}
.ip-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.12);
}

.ip-card-header {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 14px 12px 8px;
    gap: 8px;
}
.ip-card-server {
    flex: 1;
    text-align: left;
    padding: 4px 10px;
    background: rgb(23, 201, 100);
    border: 0;
    border-radius: 7px;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    max-width: fit-content;
    text-transform: uppercase;
}
.ip-card-server-all { background: rgb(7, 74, 36); color: #41ec8b; }
.ip-card-icon {
    width: 44px; height: 44px;
    object-fit: contain;
    background: transparent;
    padding: 2px;
}
.ip-card-listings {
    flex: 0 0 auto;
}
.ip-card-listings span {
    display: inline-block;
    color: #ffffff;
    padding: 4px 11px;
    border-radius: 7px;
    border: 0;
    font-size: 11px;
    font-weight: 600;
    background: rgb(23, 201, 100);
    letter-spacing: 0.2px;
}

.ip-card-name {
    color: #a05096;             /* KOPAZAR item-normal magenta */
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    padding: 0 12px;
    margin: 6px 0 2px;
    letter-spacing: 0.15px;
    line-height: 1.25;
}
/* Type renkleri Kopazar theme.css birebir */
.ip-card-name-reverse  { color: #f286a6; }   /* item-reverse pink */
.ip-card-name-unique   { color: #d0c689; }   /* item-unique gold/khaki */
.ip-card-name-rare     { color: #c2c41b; }   /* item-rare yellow-green */
.ip-card-name-draki    { color: #a78bfa; }
.ip-card-name-cospre   { color: #c084fc; }
.ip-card-name-set      { color: #c70002; }   /* item-set red (kopazar) */

.ip-card-subtitle {
    text-align: center;
    font-size: 11.5px;
    font-weight: 600;
    color: #d4d4d8;
    margin: 2px 0 4px;
    padding: 0 12px;
    font-style: italic;
    opacity: 0.85;
}
.ip-card-subtitle.ip-card-name-reverse  { color: #f286a6; }
.ip-card-subtitle.ip-card-name-unique   { color: #fbbf24; }
.ip-card-subtitle.ip-card-name-rare     { color: #f9a8d4; }
.ip-card-subtitle.ip-card-name-draki    { color: #a78bfa; }

.ip-card-category {
    text-align: center;
    font-size: 11px;
    color: #8a8a93;
    margin: 0 0 8px;
    letter-spacing: 0.4px;
}

.ip-card-tags {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 4px 0;
    flex-wrap: wrap;
    padding: 0 8px;
}
.ip-card-kind {
    color: var(--accent, #e6c14a);
    background: rgba(230,193,74,0.08);
    border: 1px solid rgba(230,193,74,0.3);
    padding: 1px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}
.ip-card-type {
    padding: 1px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #d4d4d8;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
}
.ip-card-type-unique  { color: var(--accent, #e6c14a); border-color: rgba(230,193,74,0.4); background: rgba(230,193,74,0.08); }
.ip-card-type-rare    { color: #f9a8d4; border-color: rgba(249, 168, 212, 0.4); background: rgba(249, 168, 212, 0.08); }
.ip-card-type-reverse { color: #f87171; border-color: rgba(248, 113, 113, 0.4); background: rgba(248, 113, 113, 0.08); }
.ip-card-type-draki   { color: #60a5fa; border-color: rgba(96, 165, 250, 0.4); background: rgba(96, 165, 250, 0.08); }
.ip-card-type-cospre  { color: #c084fc; border-color: rgba(192, 132, 252, 0.4); background: rgba(192, 132, 252, 0.08); }

.ip-card-plus {
    color: var(--accent, #e6c14a);
    background: rgba(230,193,74,0.1);
    border: 1px solid rgba(230,193,74,0.35);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.ip-card-body {
    flex: 1;
    padding: 4px 14px 10px;
    overflow: hidden;
}
.ip-card-stats {
    color: #d4d4d8;
    font-size: 11.5px;
    line-height: 1.6;
}
.ip-card-stat {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}
.ip-card-stat-label, .ip-card-stat-val {
    font-weight: 600;
    font-size: 12px;
}
/* Kopazar stat renk kodu (theme.css'ten birebir):
 *   base       → tema metni #e8e8ec
 *   bonus      → lime    #88c329
 *   damage     → mint    #39da95
 *   required   → kirmizi #ff4949
 *   resist     → celik   #546f78
 *   defense    → cyan    #5cd1e5 (per-weapon)
 */
.ip-card-stat-base     .ip-card-stat-label,
.ip-card-stat-base     .ip-card-stat-val     { color: #e8e8ec; }
.ip-card-stat-bonus    .ip-card-stat-label,
.ip-card-stat-bonus    .ip-card-stat-val     { color: #88c329; }
.ip-card-stat-damage   .ip-card-stat-label,
.ip-card-stat-damage   .ip-card-stat-val     { color: #39da95; }
.ip-card-stat-required .ip-card-stat-label,
.ip-card-stat-required .ip-card-stat-val     { color: #ff4949; }
.ip-card-stat-resist   .ip-card-stat-label,
.ip-card-stat-resist   .ip-card-stat-val     { color: #546f78; }
.ip-card-stat-defense  .ip-card-stat-label,
.ip-card-stat-defense  .ip-card-stat-val     { color: #5cd1e5; }

/* Stats — fade YOK (icerigi gizliyordu), tam goster */
.ip-card-stats { line-height: 1.55; }
.ip-card-stat-empty {
    text-align: center;
    color: #6b6b75;
    font-style: italic;
    font-size: 11px;
    padding: 20px 0;
}
/* Server fallback (stats yokken per-server min fiyat) */
.ip-card-stat-server .ip-card-stat-label { color: #f9cb80; font-weight: 700; }   /* sunucu adı altın */
.ip-card-stat-server .ip-card-stat-val   { color: #41ec8b; font-weight: 700; }   /* min fiyat yeşil */
.ip-card-stat-listings { color: #6b6b75; font-weight: 500; font-size: 10.5px; }

.ip-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.25);
    margin-top: auto;
    gap: 10px;
}
.ip-card-prices {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    gap: 3px;
}
.ip-card-price-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.ip-card-price-label {
    font-size: 11px;
    color: #41ec8b;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1;
}
.ip-card-price-label-max { color: #f4256d; }
.ip-price-min { color: #41ec8b; font-size: 20px; font-weight: 700; }
.ip-price-max { color: #f4256d; font-size: 20px; font-weight: 700; }

.ip-detay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #41ec8b;
    padding: 10px 22px;
    background: rgb(7, 74, 36);
    border: 0;
    border-radius: 12px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    letter-spacing: 0.2px;
    transition: background 0.15s, transform 0.12s;
}
.ip-detay-btn:hover {
    transform: translateY(-1px);
    background: rgb(11, 100, 50);
}

/* ---------- Expand panel ---------- */
.ip-card.is-expanded {
    grid-column: 1 / -1;
    min-height: auto;
    /* DIS border + shadow yok — sadece .ip-card-summary uzerinde olacak */
    border-color: transparent;
    box-shadow: none;
    background: transparent;
}
/* Expanded kart: summary 360px ortali kompakt kart, border + bg + shadow burada.
 * Detay panel altta full-width kalir. */
.ip-card.is-expanded .ip-card-summary {
    max-width: 360px;
    margin: 0 auto;
    background: rgba(20, 22, 28, 0.85);
    border: 1px solid var(--accent, #e6c14a);
    border-radius: 15px;
    box-shadow: 0 0 22px var(--accent-glow, rgba(230,193,74,0.3));
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.ip-card.is-expanded .ip-card-header {
    justify-content: space-between;
}
/* Non-expanded'da summary saydam (kart border zaten cevre) */
.ip-card-summary {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ip-offers-panel {
    display: none;
    padding: 14px 18px;
    border-top: 2px solid var(--accent, #e6c14a);
    background: rgba(0, 0, 0, 0.4);
}
.ip-card.is-expanded .ip-offers-panel { display: block; }

/* Set filter toolbar (per-item, sadece set ilani varsa goster) */
.ip-offers-setfilter {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(230, 193, 74, 0.15);
    border-radius: 8px;
    flex-wrap: wrap;
    font-size: 12px;
}
.ip-offers-setfilter-label {
    color: var(--accent-gold-bright, #f0d165);
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-size: 11px;
}
.ip-offers-setfilter label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #d0d0d8;
    cursor: pointer;
    user-select: none;
}
.ip-offers-setfilter label:hover { color: var(--accent-gold-bright, #f0d165); }
.ip-offers-setfilter input[type="radio"] {
    accent-color: var(--accent-gold, #e6c14a);
    cursor: pointer;
    margin: 0;
}
.ip-offers-setfilter-count {
    color: #8a8a93;
    font-size: 11px;
}

/* SET / N-parca badge (her row'un satici cell'inde) */
.ip-offer-badge {
    display: inline-block;
    padding: 2px 7px;
    margin-right: 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    vertical-align: middle;
    line-height: 1.4;
}
.ip-offer-badge-set {
    background: linear-gradient(135deg, #00d9ff, #0099cc);
    color: #0a0e1a;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 8px rgba(0, 217, 255, 0.35);
}
.ip-offer-row-set { background: rgba(0, 217, 255, 0.04); }

.ip-offers-title {
    color: var(--accent, #e6c14a);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---------- Itemara-stili detail 3-kolon layout ---------- */
.ip-detail-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 18px;
    align-items: flex-start;
}
.ip-detail-main { min-width: 0; }

/* Sag sticky info kart */
.ip-detail-info {
    position: sticky;
    top: 90px;
}
.ip-detail-info-card {
    background: rgba(20, 22, 36, 0.85);
    border: 1px solid rgba(230, 193, 74, 0.2);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.ip-detail-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ip-detail-info-server {
    flex: 0 0 auto;
    padding: 4px 10px;
    background: rgba(230, 193, 74, 0.15);
    color: var(--accent-gold-bright, #f0d165);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.6px;
    border-radius: 6px;
    border: 1px solid rgba(230, 193, 74, 0.3);
}
.ip-detail-info-icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.6));
}
.ip-detail-info-card .ip-offer-site-logo {
    height: 28px;
    max-width: 100px;
    margin-left: auto;
}
.ip-detail-info-name {
    color: #e8e8ec;
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 4px;
    letter-spacing: 0.2px;
    line-height: 1.25;
}
.ip-detail-info-name-reverse { color: #f472b6; }
.ip-detail-info-name-unique  { color: #fbbf24; }
.ip-detail-info-name-rare    { color: #60a5fa; }
.ip-detail-info-name-draki   { color: #a78bfa; }
.ip-detail-info-sub {
    color: #8a8a93;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}
.ip-detail-info-stats {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ip-detail-info-stat {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 12px;
}
.ip-detail-info-stat span { color: #8a8a93; }
.ip-detail-info-stat strong {
    color: #e8e8ec;
    font-weight: 700;
    font-size: 13px;
}
.ip-detail-info-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 16px;
    background: rgb(23, 201, 100);
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.4px;
    transition: background 0.15s, transform 0.15s;
    text-align: center;
}
.ip-detail-info-cta strong {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #ffffff;
}
.ip-detail-info-cta:hover {
    transform: translateY(-1px);
    background: rgb(34, 220, 115);
}
.ip-detail-info-cta-disabled { opacity: 0.5; pointer-events: none; }

@media (max-width: 1100px) {
    .ip-detail-layout { grid-template-columns: 1fr; }
    .ip-detail-info { position: static; }
    .ip-detail-info-card { margin-top: 12px; }
}

/* ---------- Listing row (itemara stilinde) ---------- */
.ip-offers-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ip-offer-row {
    position: relative;
    display: grid;
    grid-template-columns: 56px minmax(180px, 1.4fr) minmax(95px, 0.85fr) minmax(85px, 0.6fr) minmax(140px, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 12px 14px 14px 12px;
    background: rgba(20, 22, 36, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.ip-offer-row:hover {
    background: rgba(230, 193, 74, 0.05);
    border-color: rgba(230, 193, 74, 0.25);
    transform: translateY(-1px);
}
.ip-offer-row-set {
    background: linear-gradient(90deg, rgba(0, 217, 255, 0.06), rgba(20, 22, 36, 0.6) 45%);
    border-color: rgba(0, 217, 255, 0.18);
}
.ip-offer-row-set:hover {
    background: linear-gradient(90deg, rgba(0, 217, 255, 0.12), rgba(230, 193, 74, 0.05) 60%);
    border-color: rgba(0, 217, 255, 0.4);
}

/* Üst-sağ tarih */
.ip-offer-time {
    position: absolute;
    top: 6px;
    right: 12px;
    font-size: 10.5px;
    color: #6b6b75;
    letter-spacing: 0.3px;
}

/* Ikon + badge overlay */
.ip-offer-icon-wrap {
    position: relative;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ip-offer-item-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.6));
}
.ip-offer-icon-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 13px;
    font-size: 11px;
    font-weight: 900;
    line-height: 24px;
    text-align: center;
    border: 2px solid #0a0e1a;
    letter-spacing: 0.3px;
    z-index: 2;
}
.ip-offer-icon-badge-num {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #0a0e1a;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}
.ip-offer-icon-badge-set {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #0a0e1a;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
    font-size: 9.5px;
    letter-spacing: 0.5px;
}

/* Item adı (type'a göre renk — itemara birebir) */
.ip-offer-name {
    color: #e8e8ec;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: 0.2px;
}
.ip-offer-name-reverse { color: #f286a6; }   /* itemara pink */
.ip-offer-name-unique  { color: #fbbf24; }
.ip-offer-name-rare    { color: #f9a8d4; }
.ip-offer-name-draki   { color: #a78bfa; }

/* Satıcı logosu */
.ip-offer-vendor {
    display: flex;
    align-items: center;
    justify-content: center;
}
.ip-offer-site-logo {
    height: 28px;
    max-width: 110px;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.5));
}
.ip-offer-site-fb {
    color: var(--accent-gold-bright, #f0d165);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

/* Sunucu metni — itemara plain text bright gold */
.ip-offer-server-chip {
    color: #f9cb80;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.3px;
    white-space: nowrap;
    text-align: center;
}

/* Fiyat blok */
.ip-offer-price-wrap {
    display: flex;
    flex-direction: column;
    gap: 1px;
    align-items: flex-start;
    line-height: 1.2;
}
.ip-offer-price-main {
    color: #f9cb80;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.2px;
}
.ip-offer-price-sub {
    color: #6b6b75;
    font-size: 11px;
    font-weight: 600;
}
.ip-offer-price-meta {
    color: #8a8a93;
    font-size: 10.5px;
    font-weight: 500;
}

/* Action — itemara koyu yesil incele button (bg #074a24 + text #41ec8b) */
.ip-offer-action { display: flex; align-items: center; }
.ip-offer-go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    background: rgb(7, 74, 36);
    color: #41ec8b;
    text-decoration: none;
    border-radius: 12px;
    border: 0;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.2px;
    white-space: nowrap;
    transition: background 0.15s, transform 0.12s;
}
.ip-offer-go:hover {
    background: rgb(11, 100, 50);
    transform: translateY(-1px);
}
.ip-offer-go-disabled {
    background: transparent;
    color: #555;
    pointer-events: none;
}

/* Responsive: tablet/mobile da listing kartlari */
@media (max-width: 980px) {
    .ip-offer-row {
        grid-template-columns: 52px 1fr auto;
        grid-template-areas:
            "icon name vendor"
            "icon server price"
            "icon . action";
        gap: 6px 12px;
        padding: 10px 12px 12px;
    }
    .ip-offer-icon-wrap { grid-area: icon; }
    .ip-offer-name { grid-area: name; font-size: 13.5px; }
    .ip-offer-vendor { grid-area: vendor; justify-content: flex-end; }
    .ip-offer-server-chip { grid-area: server; font-size: 11.5px; padding: 3px 9px; }
    .ip-offer-price-wrap { grid-area: price; align-items: flex-end; }
    .ip-offer-price-main { font-size: 15px; }
    .ip-offer-action { grid-area: action; justify-content: flex-end; }
    .ip-offer-go { padding: 7px 14px; font-size: 11px; }
    .ip-offer-time { top: 4px; right: 10px; }
}

.ip-offers-empty {
    padding: 20px;
    text-align: center;
    color: #6b6b75;
    font-size: 13px;
}

/* ---------- Pagination ---------- */
.ip-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding-bottom: 20px;
}
.ip-page-btn {
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.1);
    color: #e8e8ec;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.12s;
    min-width: 36px;
    text-align: center;
}
.ip-page-btn:hover {
    background: var(--accent, #e6c14a);
    color: #000;
    border-color: var(--accent, #e6c14a);
}
.ip-page-btn.active {
    background: var(--accent, #e6c14a);
    color: #000;
    border-color: var(--accent, #e6c14a);
    font-weight: 800;
    box-shadow: 0 0 10px var(--accent-glow, rgba(230,193,74,0.3));
}
.ip-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.ip-page-ellipsis {
    color: #6b6b75;
    padding: 7px 4px;
    font-weight: 700;
}

/* ---------- Empty / Loading ---------- */
.ip-empty {
    grid-column: 1 / -1;
    padding: 60px 20px;
    text-align: center;
    color: #6b6b75;
    font-size: 14px;
    background: rgba(15, 20, 17, 0.7);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.05);
}

@media (max-width: 720px) {
    .ip-topbar { flex-direction: column; align-items: stretch; }
    .ip-sort-group { justify-content: center; }
    .ip-offers-table thead { display: none; }
    .ip-offers-table tbody tr {
        display: block;
        padding: 10px;
        border-radius: 6px;
        border: 1px solid rgba(255,255,255,0.06);
        margin-bottom: 8px;
    }
    .ip-offers-table td {
        display: inline-block;
        padding: 3px 8px;
    }
    .ip-offer-go { display: block; margin-top: 6px; text-align: center; }
}

/* ============================================================
 * ITEMARA tema override — sadece items sayfasinda aktif
 * KO/Rise tabs + grid bg + pagination color = itemara birebir
 * ============================================================ */
.gb-game-tabs {
    background: transparent;
    border: 0;
    padding: 0;
    gap: 8px;
}
.gb-game-tab {
    background: rgb(7, 74, 36);
    color: #41ec8b;
    border-radius: 12px;
    padding: 9px 18px;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.2px;
    text-transform: none;
}
.gb-game-tab:hover {
    background: rgb(11, 100, 50);
    color: #ffffff;
}
.gb-game-tab.active {
    background: rgb(23, 201, 100);
    color: #ffffff;
    box-shadow: none;
}

/* Pagination — itemara pill yesil */
.ip-page-btn {
    background: rgb(7, 74, 36);
    color: #41ec8b;
    border: 0;
    border-radius: 10px;
}
.ip-page-btn:hover {
    background: rgb(11, 100, 50);
    color: #ffffff;
    border: 0;
}
.ip-page-btn.active {
    background: rgb(23, 201, 100);
    color: #ffffff;
    box-shadow: none;
    border: 0;
}
.ip-page-btn:disabled { background: rgba(7, 74, 36, 0.3); color: rgba(65, 236, 139, 0.3); }

/* Card subtle border match itemara */
.ip-card {
    background: rgba(15, 20, 17, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.ip-card:hover {
    border-color: rgba(23, 201, 100, 0.4);
    box-shadow: 0 0 20px rgba(23, 201, 100, 0.15);
}

/* Sidebar filter accent yesil */
.ip-check-row input[type="checkbox"] { accent-color: rgb(23, 201, 100); }

/* "X ilan bulundu" sayisi yesil itemara accent */
#ip-count {
    color: #41ec8b !important;
    font-weight: 700;
}
