/* Gilroy Font - hesap.com.tr ile aynı font */
@import url('https://hesap.com.tr/assets/css/fonts.css');

/* Global Font */
* {
    font-family: "Gilroy", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.collection-search input {
    width: 100%;
    background: var(--hesap-bg-input);
    border: 1px solid var(--hesap-border);
    border-radius: var(--radius-md);
    color: var(--hesap-text-primary);
    padding: 10px 12px;
    margin-bottom: 10px;
}

.collection-list {
    max-height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 4px;
}

/* Custom Scrollbar for Collection List */
.collection-list::-webkit-scrollbar {
    width: 6px;
}

.collection-list::-webkit-scrollbar-track {
    background: var(--hesap-bg-input);
    border-radius: 3px;
}

.collection-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--hesap-orange) 0%, #d44a1c 100%);
    border-radius: 3px;
    transition: background 0.2s ease;
}

.collection-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--hesap-orange-hover) 0%, var(--hesap-orange) 100%);
}

/* Firefox Scrollbar */
.collection-list {
    scrollbar-width: thin;
    scrollbar-color: var(--hesap-orange) var(--hesap-bg-input);
}

/* ================================================
   HESAP.COM.TR DARK THEME - CS2 Skin Pazarı
   Birebir hesap.com.tr tasarımı
   ================================================ */

.cs2-skin-page {
    /* Hesap.com.tr Dark Palette (yakın tonlar) */
    --hesap-bg-primary: #1e1e1f;
    --hesap-bg-secondary: #1a1b1d;
    --hesap-bg-card: #1e1e1f;
    --hesap-bg-card-hover: #242527;
    --hesap-bg-input: #232427;

    /* Accent Colors */
    --hesap-orange: #f05a24;
    --hesap-orange-hover: #ff7643;
    --hesap-green: #0fa36a;
    --hesap-green-light: #12b879;
    --hesap-blue: #4c5be7;
    --hesap-purple: #7c4dff;
    --hesap-yellow: #ffd600;

    /* Text Colors */
    --hesap-text-primary: #f3f4f6;
    --hesap-text-secondary: rgba(243, 244, 246, 0.75);
    --hesap-text-muted: rgba(243, 244, 246, 0.55);
    --hesap-text-dim: rgba(243, 244, 246, 0.32);

    /* Borders */
    --hesap-border: #2d2d2f;
    --hesap-border-light: #2a2a2c;

    /* Shadows */
    --hesap-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --hesap-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.4);

    /* Gradients */
    --hesap-gradient-orange: linear-gradient(135deg, #f05a24 0%, #ff7643 100%);
    --hesap-gradient-dark: linear-gradient(180deg, #17181b 0%, #121315 100%);

    /* Rarity Colors (CS2) */
    --rarity-contraband: #e4ae39;
    --rarity-covert: #eb4b4b;
    --rarity-classified: #d32ce6;
    --rarity-restricted: #8847ff;
    --rarity-milspec: #4b69ff;
    --rarity-industrial: #5e98d9;
    --rarity-consumer: #b0c3d9;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 50px;
}

.cs2-skin-page {
    /* Font inherit from hesap.com.tr main.css */
    background: var(--hesap-bg-primary);
    color: var(--hesap-text-primary);
    line-height: 1.5;
    min-height: 100vh;
}

.cs2-skin-page a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cs2-skin-page a:hover {
    color: var(--hesap-orange);
}

.cs2-skin-page img {
    max-width: 100%;
    height: auto;
}

/* ================================================
   SLIDE MENU (Mobile - Birebir hesap.com.tr)
   ================================================ */
.hesap-slide-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: var(--hesap-bg-secondary);
    z-index: 2000;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.hesap-slide-menu.active {
    left: 0;
}

.slide-menu-header {
    padding: 20px;
    border-bottom: 1px solid var(--hesap-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.slide-menu-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--hesap-bg-card);
    border: none;
    color: var(--hesap-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-menu-user {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--hesap-border);
}

.slide-menu-user p {
    color: var(--hesap-text-secondary);
    margin-bottom: 15px;
}

.slide-menu-btns {
    display: flex;
    gap: 10px;
}

.slide-menu-btns .btn-hesap {
    flex: 1;
    padding: 12px;
}

.slide-menu-nav {
    padding: 10px 0;
}

.slide-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--hesap-text-secondary);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--hesap-border-light);
}

.slide-menu-item:hover {
    background: var(--hesap-bg-card);
    color: var(--hesap-text-primary);
}

.slide-menu-item i {
    width: 20px;
    text-align: center;
}

.slide-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.slide-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ================================================
   BUTTON STYLES (btn-hesap)
   ================================================ */
.btn-hesap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-hesap-primary {
    background: var(--hesap-gradient-orange);
    color: #fff;
}

.btn-hesap-primary:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8858 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 90, 36, 0.35);
    color: #fff;
}

.btn-hesap-outline {
    background: transparent;
    border: 1px solid var(--hesap-border);
    color: var(--hesap-text-secondary);
}

.btn-hesap-outline:hover {
    border-color: var(--hesap-orange);
    color: var(--hesap-orange);
    background: rgba(240, 90, 36, 0.1);
}

.btn-hesap-green {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
}

.btn-hesap-green:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35);
    color: #fff;
}

.btn-hesap i {
    font-size: 1rem;
}

/* ================================================
   BREADCRUMB
   ================================================ */
.hesap-breadcrumb {
    background-color: #1e1e1f !important;
    border-top: 1px solid #2d2d2f !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 18px 0 !important;
    margin: 0 !important;
    color: #b8b8b8;
}

.hesap-breadcrumb .container {
    background: transparent !important;
}

.hesap-breadcrumb .breadcrumb,
.hesap-breadcrumb ul.breadcrumb {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.hesap-breadcrumb .breadcrumb-item {
    font-size: 13px;
    color: #b8b8b8;
    display: flex;
    align-items: center;
}

.hesap-breadcrumb .breadcrumb-item a {
    color: #9ca3af;
    text-decoration: none;
}

.hesap-breadcrumb .breadcrumb-item a:hover {
    color: var(--hesap-orange);
}

.hesap-breadcrumb .breadcrumb-item.active {
    color: #d1d5db;
}

.hesap-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    padding: 0 8px;
    color: #6b7280;
    font-size: 0.9rem;
}

/* Hero (CS2 banner) */
.cs2-hero {
    background: linear-gradient(120deg, rgba(240, 90, 36, 0.08) 0%, rgba(23, 24, 27, 0.95) 40%, rgba(18, 19, 21, 0.98) 100%);
    border-bottom: 1px solid var(--hesap-border);
}

.cs2-hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 24px;
    padding: 26px 0;
}

.cs2-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(240, 90, 36, 0.15);
    color: var(--hesap-orange);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.2px;
    border: 1px solid rgba(240, 90, 36, 0.25);
    margin-bottom: 10px;
}

.cs2-hero h1 {
    font-size: 1.8rem;
    margin: 0 0 10px;
    color: var(--hesap-text-primary);
}

.cs2-hero p {
    color: var(--hesap-text-secondary);
    max-width: 620px;
}

.cs2-hero-visual {
    display: flex;
    justify-content: flex-end;
}

.cs2-hero-visual img {
    max-height: 200px;
    width: auto;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.35));
}

@media (max-width: 991px) {
    .cs2-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cs2-hero-visual {
        justify-content: center;
    }
}

/* ================================================
   BREADCRUMB
   ================================================ */
.hesap-breadcrumb {
    background: var(--hesap-bg-secondary);
    padding: 12px 0;
    border-bottom: 1px solid var(--hesap-border);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-item::after {
    content: '›';
    color: var(--hesap-text-dim);
}

.breadcrumb-item:last-child::after {
    display: none;
}

.breadcrumb-item a {
    color: var(--hesap-text-muted);
}

.breadcrumb-item a:hover {
    color: var(--hesap-orange);
}

.breadcrumb-item.active {
    color: var(--hesap-text-secondary);
}

/* ================================================
   PAGE HEADER
   ================================================ */
.page-header {
    background: var(--hesap-bg-secondary);
    padding: 20px 0;
    border-bottom: 1px solid var(--hesap-border);
}

.page-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hesap-text-primary);
    margin: 0;
}

.btn-ilan-ekle {
    background: #3d5afe;
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-ilan-ekle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(61, 90, 254, 0.4);
    color: #fff;
}

/* ================================================
   MAIN CONTENT LAYOUT
   ================================================ */
.main-content {
    padding: 24px 0;
    min-height: calc(100vh - 200px);
}

.content-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
}

@media (max-width: 991px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   FILTERS SIDEBAR
   ================================================ */
.filters-sidebar {
    position: sticky;
    top: 80px;
    height: fit-content;
}

.filter-card {
    background: var(--hesap-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--hesap-border);
    overflow: hidden;
}

.filter-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--hesap-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-card-header h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-clear-btn {
    font-size: 0.8rem;
    color: var(--hesap-orange);
    background: none;
    border: none;
    cursor: pointer;
}

.filter-clear-btn:hover {
    text-decoration: underline;
}

.filter-section {
    padding: 16px 20px;
    border-bottom: 1px solid var(--hesap-border);
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-section-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--hesap-text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Search Input */
.filter-search {
    display: flex;
    background: var(--hesap-bg-input);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--hesap-border);
}

.filter-search input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 14px;
    color: var(--hesap-text-primary);
    font-size: 0.9rem;
}

.filter-search input::placeholder {
    color: var(--hesap-text-muted);
}

.filter-search input:focus {
    outline: none;
}

.filter-search button {
    width: 44px;
    background: var(--hesap-orange);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.filter-search button:hover {
    background: var(--hesap-orange-hover);
}

/* Checkbox Filters */
.filter-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-checkbox-list.filter-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--hesap-bg-input);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid transparent;
}

.filter-checkbox:hover {
    background: var(--hesap-bg-card-hover);
}

.filter-checkbox input {
    display: none;
}

.filter-checkbox span {
    font-size: 0.9rem;
    color: var(--hesap-text-secondary);
}

.filter-checkbox.pill {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--hesap-border);
}

.filter-checkbox input:checked+span {
    color: #fff;
}

.filter-checkbox.pill input:checked+span {
    color: #fff;
}

.filter-checkbox.pill input:checked~span,
.filter-checkbox.pill input:checked~.rarity-dot {
    color: #fff;
}

.filter-checkbox.pill input:checked~span::before {
    content: '\2713';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--hesap-orange);
    color: #fff;
    font-size: 0.8rem;
}

.filter-checkbox.pill input:checked+span {
    color: #fff;
}

.filter-checkbox.pill input:checked~span {
    color: #fff;
}

.filter-checkbox.pill input:checked~span,
.filter-checkbox.pill input:checked~.rarity-dot,
.filter-checkbox input:checked+span {
    font-weight: 600;
}

.filter-checkbox.pill input:checked~span,
.filter-checkbox.pill:hover {
    border-color: var(--hesap-orange);
    box-shadow: 0 0 0 1px rgba(240, 90, 36, 0.2);
}

/* ================================================
   DUAL RANGE SLIDER (Price & Float)
   ================================================ */
.dual-range-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dual-range-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dual-range-inputs input[type="number"] {
    flex: 1;
    background: var(--hesap-bg-input);
    border: 1px solid var(--hesap-border);
    border-radius: var(--radius-md);
    color: var(--hesap-text-primary);
    padding: 10px 12px;
    font-size: 0.9rem;
    text-align: center;
    -moz-appearance: textfield;
}

.dual-range-inputs input[type="number"]::-webkit-outer-spin-button,
.dual-range-inputs input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.dual-range-inputs input[type="number"]:focus {
    outline: none;
    border-color: var(--hesap-orange);
}

.dual-range-sep {
    color: var(--hesap-text-muted);
    font-size: 1rem;
    font-weight: 500;
}

.dual-range-currency {
    color: var(--hesap-text-muted);
    font-size: 0.85rem;
}

.dual-range-track {
    position: relative;
    height: 24px;
    display: flex;
    align-items: center;
}

.dual-range-track::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--hesap-bg-input);
    border-radius: 3px;
    z-index: 1;
}

.dual-range-progress {
    position: absolute;
    height: 6px;
    background: linear-gradient(90deg, var(--hesap-orange) 0%, var(--hesap-orange-hover) 100%);
    border-radius: 3px;
    z-index: 2;
    pointer-events: none;
}

.dual-range-track input[type="range"] {
    position: absolute;
    width: 100%;
    height: 24px;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: none;
    z-index: 3;
}

.dual-range-track input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    background: transparent;
}

.dual-range-track input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--hesap-orange);
    border: 3px solid var(--hesap-bg-card);
    border-radius: 50%;
    cursor: grab;
    pointer-events: all;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    margin-top: -7px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dual-range-track input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 10px rgba(240, 90, 36, 0.5);
}

.dual-range-track input[type="range"]::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.2);
}

.dual-range-track input[type="range"]::-moz-range-track {
    height: 6px;
    background: transparent;
}

.dual-range-track input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--hesap-orange);
    border: 3px solid var(--hesap-bg-card);
    border-radius: 50%;
    cursor: grab;
    pointer-events: all;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dual-range-track input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 10px rgba(240, 90, 36, 0.5);
}

/* Higher z-index for max slider so both are accessible */
.dual-range-track input.dual-range-max {
    z-index: 4;
}

/* Select Dropdown */
.filter-select {
    width: 100%;
    padding: 12px 14px;
    background: var(--hesap-bg-input);
    border: 1px solid var(--hesap-border);
    border-radius: var(--radius-md);
    color: var(--hesap-text-primary);
    font-size: 0.9rem;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: var(--hesap-orange);
}

.filter-select option {
    background: var(--hesap-bg-card);
}

/* Rarity Filter */
.rarity-filter-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rarity-filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--hesap-bg-input);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.rarity-filter-item:hover {
    background: var(--hesap-bg-card-hover);
}

.rarity-filter-item input {
    display: none;
}

.rarity-filter-item input:checked+.rarity-dot {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
    transform: scale(1.2);
}

.rarity-dot {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.rarity-name {
    font-size: 0.85rem;
    color: var(--hesap-text-secondary);
}

/* ================================================
   PRODUCTS AREA
   ================================================ */
.products-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Toolbar */
.products-toolbar {
    background: var(--hesap-bg-card);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    border: 1px solid var(--hesap-border);
}

.toolbar-info {
    font-size: 0.95rem;
    color: var(--hesap-text-secondary);
}

.toolbar-info strong {
    color: var(--hesap-orange);
}

.toolbar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.toolbar-sort select {
    background: var(--hesap-bg-input);
    border: 1px solid var(--hesap-border);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    color: var(--hesap-text-primary);
    font-size: 0.85rem;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(0, 200, 83, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--hesap-green);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--hesap-green);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.9);
    }
}

/* ================================================
   PRODUCT CARDS GRID (Birebir hesap.com.tr)
   ================================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(260px, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: 16px;
}

.product-card {
    background: var(--hesap-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--hesap-border);
    overflow: hidden;
    transition: all 0.25s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--hesap-border);
    box-shadow: var(--hesap-shadow-hover);
}

.product-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    flex: 1;
}

/* Product Image */
.product-image {
    position: relative;
    padding: 20px;
    background: linear-gradient(180deg, var(--hesap-bg-card-hover) 0%, var(--hesap-bg-card) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 170px;
}

.product-image img {
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.product-badge.new {
    background: var(--hesap-green);
    color: #fff;
}

.product-badge.vitrin {
    background: var(--hesap-yellow);
    color: #000;
}

.btn-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: var(--hesap-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    opacity: 0;
    transition: all 0.2s ease;
}

.product-card:hover .btn-favorite {
    opacity: 1;
}

.btn-favorite:hover {
    background: var(--hesap-orange);
    color: #fff;
}

.btn-favorite.active {
    opacity: 1;
    background: var(--hesap-orange);
    color: #fff;
}

/* Product Info */
.product-info {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.product-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--hesap-text-muted);
    margin-bottom: 6px;
}

.product-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--hesap-text-primary);
    margin-bottom: 4px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.3;
    min-height: calc(1.3em * 2);
}

.product-name-text {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.rarity-indicator {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    flex-shrink: 0;
    margin-top: 5px;
}

.product-weapon {
    font-size: 0.8rem;
    color: var(--hesap-text-muted);
    margin: 0;
}

/* Wear Badge & Float Value */
.product-wear-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0;
}

.wear-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.wear-badge.wear-fn {
    background: #10b981;
    color: #fff;
}

.wear-badge.wear-mw {
    background: #34d399;
    color: #000;
}

.wear-badge.wear-ft {
    background: #fbbf24;
    color: #000;
}

.wear-badge.wear-ww {
    background: #f97316;
    color: #fff;
}

.wear-badge.wear-bs {
    background: #ef4444;
    color: #fff;
}

.float-value {
    font-size: 0.7rem;
    color: var(--hesap-text-muted);
    font-family: 'Consolas', 'Monaco', monospace;
}

/* Float Bar Visual */
.float-bar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.float-label {
    font-size: 0.65rem;
    color: var(--hesap-text-muted);
    font-family: 'Consolas', 'Monaco', monospace;
}

.float-bar {
    position: relative;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg,
            #10b981 0%,
            #34d399 7%,
            #fbbf24 15%,
            #f97316 38%,
            #ef4444 45%,
            #dc2626 100%);
}

.float-bar-marker {
    position: absolute;
    top: -3px;
    width: 2px;
    height: 10px;
    background: #fff;
    border-radius: 1px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    transform: translateX(-50%);
}

/* Product Footer */
.product-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--hesap-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-seller {
    display: flex;
    align-items: center;
    gap: 8px;
}

.seller-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--hesap-bg-input);
}

.seller-info {
    font-size: 0.75rem;
}

.seller-name {
    color: var(--hesap-text-secondary);
}

.seller-stats {
    color: var(--hesap-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.seller-stats i {
    color: var(--hesap-green);
    font-size: 0.65rem;
}

.product-price {
    text-align: right;
}

.price-current {
    font-size: 1rem;
    font-weight: 700;
    color: var(--hesap-green);
}

.price-old {
    font-size: 0.75rem;
    color: var(--hesap-text-muted);
    text-decoration: line-through;
}

.price-label {
    font-size: 0.85rem;
    color: var(--hesap-text-muted);
}

/* Rarity Line at Bottom */
.rarity-line {
    height: 3px;
    width: 100%;
}

/* ================================================
   NO RESULTS
   ================================================ */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: var(--hesap-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--hesap-border);
}

.no-results i {
    font-size: 3rem;
    color: var(--hesap-text-muted);
    margin-bottom: 16px;
}

.no-results h4 {
    color: var(--hesap-text-primary);
    margin-bottom: 8px;
}

.no-results p {
    color: var(--hesap-text-muted);
}

/* ================================================
   PAGINATION
   ================================================ */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.pagination {
    display: flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination .page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--hesap-bg-card);
    border: 1px solid var(--hesap-border);
    border-radius: var(--radius-md);
    color: var(--hesap-text-secondary);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.pagination .page-item .page-link:hover {
    background: var(--hesap-bg-card-hover);
    border-color: var(--hesap-text-muted);
    color: var(--hesap-text-primary);
}

.pagination .page-item.active .page-link {
    background: #3d5afe;
    border-color: #3d5afe;
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    opacity: 0.5;
    pointer-events: none;
}

/* ================================================
   HESAP.COM.TR FOOTER
   ================================================ */
.hesap-footer {
    background: var(--hesap-bg-secondary);
    border-top: 1px solid var(--hesap-border);
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand img {
    height: 32px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--hesap-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hesap-bg-card);
    border-radius: var(--radius-md);
    color: var(--hesap-text-muted);
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: var(--hesap-orange);
    color: #fff;
}

.footer-column h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--hesap-text-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--hesap-text-muted);
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--hesap-orange);
}

.footer-bottom {
    border-top: 1px solid var(--hesap-border);
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright {
    color: var(--hesap-text-muted);
    font-size: 0.85rem;
}

.footer-payments {
    display: flex;
    gap: 10px;
}

.footer-payments img {
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.footer-payments img:hover {
    opacity: 1;
}

.footer-badges {
    display: flex;
    gap: 15px;
}

.footer-badges img {
    height: 40px;
}

/* ================================================
   RESPONSIVE
   ================================================ */
.hamburger-btn {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--hesap-bg-card);
    border: 1px solid var(--hesap-border);
    color: var(--hesap-text-secondary);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991px) {
    .hamburger-btn {
        display: flex;
    }

    .hesap-nav {
        display: none;
    }

    .filters-sidebar {
        position: static;
    }

    .filter-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-name {
        font-size: 0.8rem;
    }

    .products-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar-actions {
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 1.2rem;
    }
}

/* ================================================
   UTILITIES (scoped to cs2 skin pages)
   ================================================ */
.cs2-skin-page .container {
    max-width: 1680px;
    width: min(94vw, 1680px);
    margin: 0 auto;
    padding: 0 18px;
}

.cs2-skin-page .d-none {
    display: none !important;
}

.cs2-skin-page .d-flex {
    display: flex !important;
}

.cs2-skin-page .d-block {
    display: block !important;
}

@media (min-width: 992px) {
    .cs2-skin-page .d-lg-none {
        display: none !important;
    }

    .cs2-skin-page .d-lg-flex {
        display: flex !important;
    }
}

.cs2-skin-page .text-center {
    text-align: center;
}

.cs2-skin-page .text-muted {
    color: var(--hesap-text-muted);
}

.cs2-skin-page .mb-0 {
    margin-bottom: 0;
}

.cs2-skin-page .mt-3 {
    margin-top: 1rem;
}

.cs2-skin-page .mb-3 {
    margin-bottom: 1rem;
}

.cs2-skin-page .gap-2 {
    gap: 0.5rem;
}

.cs2-skin-page .gap-3 {
    gap: 1rem;
}

.cs2-skin-page .flex-wrap {
    flex-wrap: wrap;
}

.cs2-skin-page .align-items-center {
    align-items: center;
}

.cs2-skin-page .justify-content-between {
    justify-content: space-between;
}

.cs2-skin-page .justify-content-center {
    justify-content: center;
}

/* ================================================
     Dark Mode helpers (matches hesap.com components)
     ================================================ */
body.dark .modern-orders-page {
    background: #121212 !important;
}

body.dark .modern-orders-header {
    background: #1e1e1f !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.dark .modern-orders-title {
    color: #fff !important;
}

body.dark .modern-orders-title i {
    color: #3d5afe !important;
}

body.dark .modern-filters .form-control,
body.dark .modern-filters .form-select {
    background-color: #2d2d2f !important;
    border-color: #37373b !important;
    color: #fff !important;
}

body.dark .modern-filters .form-control::placeholder,
body.dark .modern-filters .form-select {
    color: #9b9b9b !important;
}

body.dark .modern-filters .form-control:focus,
body.dark .modern-filters .form-select:focus {
    border-color: #3d5afe !important;
    box-shadow: 0 0 0 3px rgba(61, 90, 254, 0.2);
    background-color: #2d2d2f !important;
    color: #fff !important;
}

body.dark .modern-order-card {
    background: #1e1e1f !important;
    border-color: #2d2d2f !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.dark .modern-order-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

body.dark .modern-order-card.expanded {
    border-color: #3d5afe !important;
}

body.dark .modern-order-image {
    border-color: #37373b !important;
}

body.dark .modern-order-product-name {
    color: #fff !important;
}

body.dark .modern-order-meta,
body.dark .modern-order-meta-item {
    color: #9b9b9b !important;
}

body.dark .modern-order-id {
    background: #2d2d2f !important;
    color: #cecece !important;
}

body.dark .modern-order-status.pending {
    background: rgba(254, 243, 199, 0.2) !important;
    color: #fbbf24 !important;
}

body.dark .modern-order-status.processing {
    background: rgba(219, 234, 254, 0.2) !important;
    color: #60a5fa !important;
}

body.dark .modern-order-status.completed {
    background: rgba(209, 250, 229, 0.2) !important;
    color: #34d399 !important;
}

body.dark .modern-order-status.cancelled {
    background: rgba(254, 226, 226, 0.2) !important;
    color: #f87171 !important;
}

body.dark .modern-order-price {
    color: #fff !important;
}

body.dark .modern-order-price-label {
    color: #9b9b9b !important;
}

body.dark .modern-order-toggle {
    background: #2d2d2f !important;
    border-color: #37373b !important;
    color: #cecece !important;
}

body.dark .modern-order-toggle:hover {
    border-color: #3d5afe !important;
    color: #3d5afe !important;
}

body.dark .modern-order-toggle.expanded {
    background: #3d5afe !important;
    border-color: #3d5afe !important;
    color: #fff !important;
}

body.dark .modern-order-detail {
    border-top-color: #2d2d2f !important;
}

body.dark .modern-timeline-item:not(:last-child)::before {
    background: #2d2d2f !important;
}

body.dark .modern-timeline-title {
    color: #fff !important;
}

body.dark .modern-timeline-text {
    color: #9b9b9b !important;
}

body.dark .modern-order-keys {
    background: #2d2d2f !important;
}

body.dark .modern-order-keys-title {
    color: #cecece !important;
}

body.dark .modern-order-key-item {
    background: #1e1e1f !important;
    color: #cecece !important;
}

body.dark .modern-copy-btn {
    background: #2d2d2f !important;
    border-color: #37373b !important;
    color: #cecece !important;
}

body.dark .modern-copy-btn:hover {
    background: #3d5afe !important;
    border-color: #3d5afe !important;
    color: #fff !important;
}

body.dark .modern-action-btn {
    background: #2d2d2f !important;
    border-color: #37373b !important;
    color: #cecece !important;
}

body.dark .modern-action-btn:hover {
    border-color: #3d5afe !important;
    color: #3d5afe !important;
}

body.dark .modern-action-btn.primary {
    background: #3d5afe !important;
    border-color: transparent !important;
    color: #fff !important;
}

body.dark .modern-action-btn.primary:hover {
    background: #425efe !important;
    color: #fff !important;
}

body.dark .modern-empty-state {
    background: #1e1e1f !important;
}

body.dark .modern-empty-icon {
    color: #37373b !important;
}

body.dark .modern-empty-text {
    color: #9b9b9b !important;
}

body.dark .modern-pagination a {
    background: #1e1e1f !important;
    border-color: #2d2d2f !important;
    color: #cecece !important;
}

body.dark .modern-pagination a:hover {
    border-color: #3d5afe !important;
    color: #3d5afe !important;
}

body.dark .modern-pagination a.active {
    background: #3d5afe !important;
    border-color: transparent !important;
    color: #fff !important;
}

body.dark .modern-pagination span {
    background: #2d2d2f !important;
    border-color: #37373b !important;
    color: #4c4c52 !important;
}

body.dark .modern-stat-card {
    background: #1e1e1f !important;
    border-color: #2d2d2f !important;
}

body.dark .modern-stat-value {
    color: #fff !important;
}

body.dark .modern-stat-label {
    color: #9b9b9b !important;
}

body.dark .modern-quick-filter {
    background: #1e1e1f !important;
    border-color: #2d2d2f !important;
    color: #cecece !important;
}

body.dark .modern-quick-filter:hover {
    border-color: #3d5afe !important;
    color: #3d5afe !important;
}

body.dark .modern-quick-filter.active {
    background: #3d5afe !important;
    border-color: #3d5afe !important;
    color: #fff !important;
}

body.dark .modern-search-btn {
    color: #fff !important;
}

body.dark .modern-search-btn:hover {
    color: #fff !important;
}

body.dark .modern-bulk-review-btn {
    background: #11d377 !important;
    color: #fff !important;
}

body.dark .modern-bulk-review-btn:hover {
    background: #10c56f !important;
    color: #fff !important;
}

body.dark .modern-timeline-number {
    color: #fff !important;
}

body.dark .modern-order-key-item[style*="background: white"],
body.dark .modern-order-key-item[style*="background:white"] {
    background: #1e1e1f !important;
}

body.dark div[style*="background: white"],
body.dark div[style*="background:white"],
body.dark div[style*="padding: 12px; background: white"] {
    background: #1e1e1f !important;
}

body.dark .cancel-reason-box {
    background: #1e1e1f !important;
    color: #cecece !important;
}

body.dark .modern-order-total {
    background-color: #1e1e1f !important;
    border-color: #2d2d2f !important;
    color: #fff !important;
}

/* FORCE HEADER DARK MODE */
body.dark .site-header {
    background-color: #17181b !important;
    border-bottom-color: #2d2d2f !important;
}

body.dark .site-header .header-top {
    background-color: #1a1b1d !important;
    border-bottom-color: #2d2d2f !important;
}

body.dark .site-header .header-middle {
    background-color: #1e1e1f !important;
}

body.dark .site-header .header-bottom {
    background-color: #1e1e1f !important;
}

body.dark .site-header .nav-item {
    color: rgba(243, 244, 246, 0.75) !important;
}

body.dark .site-header .nav-item:hover {
    color: #f3f4f6 !important;
}

body.dark .site-header .logo .light {
    display: none !important;
}

body.dark .site-header .logo .dark {
    display: block !important;
}

/* FORCE FIX FOR ICONS */
.fa,
.fas,
.far,
.fab,
.fa-solid,
.fa-regular,
.fa-brands {
    font-family: "Font Awesome 6 Free" !important;
}

.ri,
[class^="ri-"],
[class*=" ri-"] {
    font-family: "remixicon" !important;
}

input[type="number"],
.dual-range-inputs input {
    font-family: inherit !important;
}