/* =================================================================
   CSS VARIABLES & RESET
================================================================= */

/* Dark Theme (Default) */
:root,
html.dark-theme {
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-card: #242424;
    --bg-hover: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #808080;
    --accent-color: #e50914;
    --accent-hover: #f40612;
    --accent-rgb: 229, 9, 20;
    --border-color: #333333;
    --success: #22c55e;
    --warning: #fbbf24;
    --danger: #ef4444;
    
    /* Header specific */
    --header-bg: rgba(15, 15, 15, 0.95);
    --input-bg: #242424;
    --input-border: #333333;
    --dropdown-bg: #1a1a1a;
    --icon-color: #b3b3b3;
    
    /* Özel renkler */
    --price-color: #e50914;
    --price-old-color: #808080;
    --rating-color: #fbbf24;
}

/* Light Theme */
html.light-theme {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-card: #ffffff;
    --bg-hover: #f0f0f0;
    --text-primary: #0f0f0f;
    --text-secondary: #525252;
    --text-muted: #737373;
    --accent-color: #e50914;
    --accent-hover: #f40612;
    --accent-rgb: 229, 9, 20;
    --border-color: #e5e5e5;
    --success: #22c55e;
    --warning: #fbbf24;
    --danger: #ef4444;
    
    /* Header specific */
    --header-bg: rgba(255, 255, 255, 0.95);
    --input-bg: #f5f5f5;
    --input-border: #e5e5e5;
    --dropdown-bg: #ffffff;
    --icon-color: #525252;
    
    /* Özel renkler */
    --price-color: #0f0f0f;
    --price-old-color: #737373;
    --rating-color: #fbbf24;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* Genel text elemanları için otomatik renk */
h1, h2, h3, h4, h5, h6,
p, span, div, label {
    color: var(--text-primary);
}

/* Input ve form elemanları */
input,
select,
textarea,
.form-input,
.form-control {
    background: var(--input-bg);
    color: var(--text-primary);
    border-color: var(--input-border);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

/* Fiyat elemanları */
.price-current,
.current-price,
.product-price,
.price-text {
    color: var(--price-color);
}

.price-old,
.old-price {
    color: var(--price-old-color);
}

/* Yıldızlar */
.rating-stars,
.review-rating {
    color: var(--rating-color);
}

/* Kartlar */
.card,
.product-card,
.settings-section,
.review-item {
    background: var(--bg-card);
    border-color: var(--border-color);
}

/* Butonlar */
.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-hover);
}

/* Quantity selector */
.quantity-selector {
    background: var(--bg-card);
    border-color: var(--border-color);
}

.qty-btn {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.qty-btn:hover {
    background: var(--bg-hover);
}

#quantity {
    color: var(--text-primary);
    background: transparent;
}

/* Trust badges */
.product-trust-badges {
    background: var(--bg-secondary);
}

.trust-badge {
    color: var(--text-primary);
}

.trust-badge i {
    color: var(--accent-color);
}
/* ==========================================
   LIGHT THEME - TÜM BEYAZ YAZILAR SİYAH OLSUN
   ========================================== */

.light-theme * {
    color: #0f0f0f !important;
}

/* Sadece belirli elemanlar beyaz kalsın */
.light-theme .btn-add-to-cart,
.light-theme .btn-primary,
.light-theme .btn-login {
    color: #ffffff !important;
}

.light-theme .category-btn.active,
.light-theme .badge,
.light-theme .notification-badge,
.light-theme .cart-price-badge {
    color: #ffffff !important;
}

/* Accent color korunsun */
.light-theme .price-current,
.light-theme .current-price,
.light-theme .product-price,
.light-theme .accent-color {
    color: #e50914 !important;
}

/* Rating yıldızları altın rengi kalsın */
.light-theme .rating-stars i,
.light-theme .review-rating i {
    color: #fbbf24 !important;
}

/* İkonlar */
.light-theme .trust-badge i,
.light-theme i.ri-flashlight-line,
.light-theme i.ri-shield-check-line,
.light-theme i.ri-customer-service-2-line {
    color: #e50914 !important;
}

/* Muted text */
.light-theme .text-muted,
.light-theme .rating-text,
.light-theme .review-date,
.light-theme .form-help {
    color: #737373 !important;
}

/* Input placeholder */
.light-theme input::placeholder,
.light-theme textarea::placeholder {
    color: #9ca3af !important;
}
/* =================================================================
   HEADER STYLES (Update existing with variables)
================================================================= */

.oyunata-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--icon-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.theme-toggle:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.header-search input {
    width: 100%;
    height: 56px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    padding: 0 1rem 0 3rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.2s;
}

.header-search input::placeholder {
    color: var(--text-muted);
}

.header-search input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}

.header-search .search-icon {
    color: var(--icon-color);
}

.header-icon {
    color: var(--icon-color);
    background: transparent;
}

.header-icon:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.notification-bell {
    color: var(--icon-color);
    background: transparent;
}

.notification-bell:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.user-btn:hover {
    background: var(--bg-hover);
}

.user-avatar {
    background: var(--bg-card);
    color: var(--icon-color);
}

/* Category Nav */
.category-nav {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.category-item {
    color: var(--text-secondary);
}

.category-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.category-icon {
    background: var(--bg-card);
}

/* Dropdowns */
.notification-panel,
.user-panel {
    background: var(--dropdown-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

html.light-theme .notification-panel,
html.light-theme .user-panel {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.notification-header,
.user-panel-header {
    border-bottom: 1px solid var(--border-color);
}

.notification-item {
    border-bottom: 1px solid var(--border-color);
}

.notification-item:hover {
    background: var(--bg-hover);
}

.notification-item.unread {
    background: rgba(229, 9, 20, 0.05);
}

.notification-content p {
    color: var(--text-secondary);
}

.notification-time {
    color: var(--text-muted);
}

.user-avatar-large {
    background: var(--bg-card);
    color: var(--icon-color);
}

.user-panel-header p {
    color: var(--text-muted);
}

.user-panel-links a {
    color: var(--text-secondary);
}

.user-panel-links a:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

/* Category Dropdown */
.category-dropdown-inner {
    background: var(--dropdown-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

html.light-theme .category-dropdown-inner {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.sub-category-item {
    color: var(--text-muted);
}

.sub-category-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.sub-icon {
    background: var(--bg-card);
}

/* Mobile Sidebar */
.mobile-sidebar {
    background: var(--bg-secondary);
}

.sidebar-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.sidebar-close:hover {
    background: var(--bg-hover);
}

.sidebar-user {
    background: var(--bg-card);
}

.sidebar-search input {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.sidebar-search i {
    color: var(--icon-color);
}

.sidebar-link {
    color: var(--text-secondary);
}

.sidebar-link:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.sidebar-divider {
    color: var(--text-muted);
}

/* Product & Category Cards */
.product-card,
.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.product-card:hover,
.category-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.2);
}

html.light-theme .product-card:hover,
html.light-theme .category-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.empty-state-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Page wrapper */
.page-wrapper {
    background: var(--bg-primary);
}

/* =================================================================
   LAYOUT
================================================================= */
.main-content {
    min-height: calc(100vh - 200px);
    padding-bottom: 80px;
}

@media (min-width: 769px) {
    .main-content {
        padding-bottom: 0;
    }
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-6, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, 
.col-md-8, .col-md-9, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8 {
    padding: 0 15px;
    width: 100%;
}

.col-6 {
    width: 50%;
}

@media (min-width: 768px) {
    .col-md-2 { width: 16.666%; }
    .col-md-3 { width: 25%; }
    .col-md-4 { width: 33.333%; }
    .col-md-5 { width: 41.666%; }
    .col-md-6 { width: 50%; }
    .col-md-8 { width: 66.666%; }
    .col-md-9 { width: 75%; }
}

@media (min-width: 992px) {
    .col-lg-4 { width: 33.333%; }
    .col-lg-5 { width: 41.666%; }
    .col-lg-6 { width: 50%; }
    .col-lg-7 { width: 58.333%; }
    .col-lg-8 { width: 66.666%; }
}

.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.d-flex {
    display: flex !important;
}

@media (min-width: 768px) {
    .d-md-none { display: none !important; }
    .d-md-block { display: block !important; }
    .d-md-flex { display: flex !important; }
}

.justify-content-center {
    justify-content: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.align-items-center {
    align-items: center !important;
}

.text-center {
    text-align: center !important;
}

.g-3 > * {
    padding: 0 7.5px;
    margin-bottom: 15px;
}

/* =================================================================
   BUTTONS
================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(229, 9, 20, 0.4);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-primary);
    border-color: var(--accent-color);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-success:hover {
    background: #16a34a;
}

.btn-warning {
    background: var(--warning);
    color: #1a1a1a;
}

.btn-warning:hover {
    background: #f59e0b;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

/* =================================================================
   FORM CONTROLS
================================================================= */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.form-group label i {
    margin-right: 5px;
    color: var(--accent-color);
}

.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--bg-primary);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* =================================================================
   ALERTS
================================================================= */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert i {
    font-size: 20px;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--success);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger);
}

.alert-warning {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: var(--warning);
}

/* =================================================================
   BADGES
================================================================= */
.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-warning {
    background: rgba(251, 191, 36, 0.1);
    color: var(--warning);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* =================================================================
   PAGE UTILITIES
================================================================= */
.page-wrapper {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-title i {
    color: var(--accent-color);
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
    font-size: 14px;
}

.page-breadcrumb a {
    color: var(--text-secondary);
    transition: color 0.3s;
}

.page-breadcrumb a:hover {
    color: var(--accent-color);
}

.page-breadcrumb i {
    color: var(--text-secondary);
    font-size: 16px;
}

.page-breadcrumb span {
    color: var(--text-primary);
}

.empty-state-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 80px 20px;
    text-align: center;
}

.empty-state-box i {
    font-size: 80px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    display: block;
}

.empty-state-box h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.empty-state-box p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2,
.section-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header h2 i,
.section-header h3 i {
    color: var(--accent-color);
}

.view-all {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.view-all:hover {
    color: var(--accent-color);
}
/* ==========================================
   GLOBAL VARIABLES & RESET
   ========================================== */

:root {
    --primary: #DD0E2C;
    --primary-hover: #c20d27;
    --dark-900: #1c1c1c;
    --dark-800: #242424;
    --dark-700: #2d2d2d;
    --dark-600: #3a3a3a;
    --dark-500: #4a4a4a;
    --surface: rgba(28, 28, 28, 0.95);
    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    --border-color: #3a3a3a;
}

.light-theme {
    --dark-900: #ffffff;
    --dark-800: #f9fafb;
    --dark-700: #f3f4f6;
    --dark-600: #e5e7eb;
    --dark-500: #d1d5db;
    --surface: rgba(255, 255, 255, 0.95);
    --text-primary: #111827;
    --text-secondary: #374151;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--dark-900);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ==========================================
   HEADER - STYLE
   ========================================== */

.oyunata-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--surface);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    height: 80px;
}

/* Header Left */
.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.75rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s;
}

.mobile-menu-btn:hover {
    color: var(--primary);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--primary);
}

.logo-light {
    display: none;
}

.desktop-logo {
    display: flex;
}

.mobile-logo {
    display: none;
}

/* Theme Toggle Button */
.theme-toggle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer !important;
    transition: all 0.2s;
    position: relative;
    z-index: 100;
    pointer-events: auto !important;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: var(--bg-hover);
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-toggle i {
    font-size: 1.25rem;
    color: var(--text-primary);
    position: absolute;
    transition: all 0.3s;
    pointer-events: none;
}

.theme-icon-light {
    display: block;
}

.theme-icon-dark {
    display: none;
}

.light-theme .theme-icon-light {
    display: none;
}

.light-theme .theme-icon-dark {
    display: block;
}

/* Header Search */
.header-search {
    flex: 1;
    max-width: 600px;
}

.header-search form {
    position: relative;
    width: 100%;
}

.header-search input {
    width: 100%;
    height: 56px;
    background: var(--dark-700);
    border: 1px solid var(--dark-500);
    border-radius: 8px;
    padding: 0 1rem 0 3rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.2s;
}

.header-search input::placeholder {
    color: var(--text-muted);
}

.header-search input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(221, 14, 44, 0.1);
}

.header-search .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.25rem;
    pointer-events: none;
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-icon {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
}

.header-icon:hover {
    color: var(--text-primary);
    background: var(--dark-700);
}

.header-icon .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* Notification Bell */
.notification-bell {
    position: relative;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.notification-bell:hover {
    color: var(--text-primary);
    background: var(--dark-700);
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Notification Dropdown */
.notification-dropdown {
    position: relative;
}

.notification-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 400px;
    background: var(--dark-900);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 600px;
    overflow: hidden;
}

.notification-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-header h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.mark-all-read {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s;
}

.mark-all-read:hover {
    opacity: 0.8;
}

.notification-list {
    max-height: 480px;
    overflow-y: auto;
}

.notification-list::-webkit-scrollbar {
    width: 6px;
}

.notification-list::-webkit-scrollbar-track {
    background: var(--dark-800);
}

.notification-list::-webkit-scrollbar-thumb {
    background: var(--dark-600);
    border-radius: 3px;
}

.notification-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--dark-700);
    transition: all 0.2s;
    cursor: pointer;
    position: relative;
}

.notification-item:hover {
    background: var(--dark-800);
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item.unread {
    background: rgba(221, 14, 44, 0.05);
}

.notif-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(221, 14, 44, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notif-icon i {
    color: var(--primary);
    font-size: 1.25rem;
}

.notification-content {
    flex: 1;
}

.notification-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0 0 6px 0;
    line-height: 1.5;
}

.notification-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.unread-dot {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.notification-empty {
    padding: 4rem 1.5rem;
    text-align: center;
}

.notification-empty i {
    font-size: 3.5rem;
    color: var(--text-muted);
    opacity: 0.4;
    margin-bottom: 1rem;
}

.notification-empty p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin: 0;
}

/* Login Button */
.btn-login {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-login:hover {
    background: var(--primary-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(221, 14, 44, 0.3);
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.user-btn:hover {
    background: var(--dark-700);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--dark-700);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.125rem;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.user-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-balance {
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 600;
}

.dropdown-arrow {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.user-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 280px;
    background: var(--dark-900);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-panel-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
}

.user-avatar-large {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--dark-700);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.5rem;
}

.user-panel-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.user-panel-header p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0 0 8px 0;
}

.user-balance-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 6px;
}

.user-panel-links {
    padding: 0.5rem;
}

.user-panel-links a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 0.9375rem;
}

.user-panel-links a:hover {
    background: var(--dark-700);
    color: var(--text-primary);
}

.user-panel-links a i {
    font-size: 1.125rem;
    width: 20px;
}

.user-panel-links a.text-danger {
    color: #ef4444;
}

.user-panel-links a.text-danger:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* ==========================================
   CATEGORY NAVIGATION
   ========================================== */

.category-nav {
    position: sticky;
    top: 80px;
    z-index: 999;
    background: var(--dark-900);
    border-bottom: 1px solid var(--border-color);
}

.category-scroll-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.category-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.category-list {
    display: flex;
    gap: 0.25rem;
    padding: 1rem 0;
    margin: 0;
    list-style: none;
    flex-wrap: nowrap;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s;
}

.category-item:hover {
    background: var(--dark-600);
    color: var(--text-primary);
}

.category-item.featured {
    background: var(--primary);
    color: #fff;
}

.category-item.featured:hover {
    background: var(--primary-hover);
}

.category-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--dark-600);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* --- Kategori Dropdown Düzenlemesi --- */

.has-dropdown {
    position: relative; /* Alt menünün buna göre hizalanması için şart */
}

.category-dropdown {
    /* Fixed yerine Absolute kullanıyoruz ki kategorinin altına yapışsın */
    position: absolute; 
    top: 100%; /* Tam altına yerleştirir */
    left: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 10px 0 0 0; /* Navbar ile menü arasındaki ince boşluk */
    min-width: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
    pointer-events: none;
    /* En üstte görünmesi için çok yüksek bir değer */
    z-index: 999999 !important; 
}

.has-dropdown:hover .category-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

.category-dropdown-inner {
    /* Arka planın okunabilir olması için koyu ve hafif şeffaf */
    background: rgba(28, 28, 28, 0.98); 
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8); /* Gölgeyi belirginleştirdik */
    padding: 0.6rem;
    min-width: 260px;
    display: block; /* İçeriğin kaybolmaması için */
}

/* Navigasyon barında overflow varsa dropdown gözükmez, bunu engelliyoruz */
.category-nav, 
.category-scroll-wrapper, 
.container {
    overflow: visible !important; 
}

/* --- Diğer Elemanlarla Uyum --- */

.sub-category-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem;
    color: #b5b5b5; /* var(--text-muted) */
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s;
}

.sub-category-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transform: translateX(5px);
}

.sub-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sayfa içeriğinin navbarın altında kalmaması için */
.categories-page, main {
    position: relative;
    z-index: 1; /* İçeriği bir alt katmana alıyoruz */
}

/* 1. Kategori Navigasyon barının altındaki dış boşluğu sıfırlıyoruz */
.category-nav {
    margin-bottom: 0 !important;
}

/* 2. Sayfa içeriğinin en üstündeki boşluğu 10px yapıyoruz */
/* Bu kod kategoriler, ödeme ve diğer genel sayfaları kapsar */
.categories-page .container,
main,
.checkout-page,
.product-detail-section {
    padding-top: 75px !important; /* 2rem veya 2.5rem olan boşluğu 10px'e düşürdük */
    margin-top: 0 !important;
}

/* 3. Checkout sayfasındaki özel main boşluğunu da düzeltelim */
main[style*="padding: 2.5rem 0"] {
    padding-top: 10px !important;
}

/* 4. Breadcrumb (Ana Sayfa > Kategori) kısmındaki üst boşluğu da kısalım */
.page-header-section, 
.breadcrumb-section {
    margin-top: 5px !important;
}

/* ==========================================
   MOBILE SIDEBAR
   ========================================== */

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    height: 100vh;
    background: var(--dark-900);
    z-index: 2000;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
}

.mobile-sidebar.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: var(--dark-900);
    z-index: 10;
}

.sidebar-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.sidebar-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.sidebar-close:hover {
    background: var(--dark-700);
}

.sidebar-content {
    padding: 1rem;
}

.sidebar-user {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--dark-800);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.sidebar-user h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.sidebar-user p {
    font-size: 0.9375rem;
    color: #10b981;
    font-weight: 600;
    margin: 0;
}

.sidebar-search {
    margin-bottom: 1.5rem;
}

.sidebar-search form {
    position: relative;
}

.sidebar-search input {
    width: 100%;
    padding: 0.875rem 0.875rem 0.875rem 2.75rem;
    background: var(--dark-800);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.sidebar-search i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.125rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s;
    position: relative;
}

.sidebar-link:hover {
    background: var(--dark-700);
    color: var(--text-primary);
}

.sidebar-link i {
    font-size: 1.25rem;
    width: 24px;
}

.sidebar-link .badge {
    margin-left: auto;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
}

.sidebar-link.text-danger {
    color: #ef4444;
}

.sidebar-link.text-danger:hover {
    background: rgba(239, 68, 68, 0.1);
}

.sidebar-divider {
    margin: 1.5rem 0 0.75rem 0;
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================
   MAIN CONTENT
   ========================================== */

.main-content {
    margin-top: 144px; /* 80px header + 64px category nav */
    min-height: calc(100vh - 144px);
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

.desktop-only {
    display: flex;
}

.text-danger {
    color: #ef4444;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .desktop-logo {
        display: none;
    }
    
    .mobile-logo {
        display: flex;
    }
    
    .mobile-logo img {
        height: 32px;
        max-width: 120px;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .header-search {
        display: none;
    }
    
    .category-nav {
        display: none;
    }
    
    .header-wrapper {
        height: 64px;
    }
    
    .main-content {
        margin-top: 64px;
    }
    
    .notification-panel,
    .user-panel {
        width: 320px;
        right: -1rem;
    }
}

@media (max-width: 480px) {
    .notification-panel {
        width: calc(100vw - 2rem);
        right: 1rem;
        left: 1rem;
    }
}
/* ========================================
   MOBILE MENU - STYLE (Dark/Light Uyumlu)
   ======================================== */

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Backdrop */
.mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

/* Menu Panel */
.mobile-menu-panel {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: var(--bg-primary);
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active .mobile-menu-panel {
    transform: translateX(0);
}

/* Header */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-logo img {
    height: 2rem;
    width: auto;
}

.mobile-menu-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-theme-btn,
.mobile-close-btn {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: none;
    border-radius: 0.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-theme-btn:hover,
.mobile-close-btn:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.mobile-theme-btn i,
.mobile-close-btn i {
    font-size: 1.25rem;
}

/* Search */
.mobile-menu-search {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-search form {
    position: relative;
}

.mobile-menu-search input {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    color: var(--text-primary);
    font-size: 0.875rem;
    transition: border-color 0.3s ease;
}

.mobile-menu-search input::placeholder {
    color: var(--text-muted);
}

.mobile-menu-search input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.mobile-menu-search i {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
}

/* Quick Links */
.mobile-quick-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.quick-link-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.quick-link-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.quick-link-btn i {
    font-size: 1.25rem;
}

.quick-link-btn span {
    font-size: 0.875rem;
    font-weight: 500;
}

.quick-link-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent-color);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.125rem 0.375rem;
    border-radius: 0.5rem;
    min-width: 1.25rem;
    text-align: center;
}

/* Menu Content */
.mobile-menu-content {
    padding: 1rem;
}

.mobile-menu-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Menu Item */
.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.mobile-menu-item:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.mobile-menu-item.active {
    background: var(--accent-color);
    color: #ffffff;
}

.mobile-menu-item i {
    font-size: 1.25rem;
}

.category-icon {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
}

.mobile-menu-item span {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Footer */
.mobile-menu-footer {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Tablet ve üstü gizle */
@media (min-width: 769px) {
    .mobile-menu-overlay {
        display: none !important;
    }
}

/* Scrollbar Styling - Dark Theme */
.dark-theme .mobile-menu-panel::-webkit-scrollbar {
    width: 6px;
}

.dark-theme .mobile-menu-panel::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.dark-theme .mobile-menu-panel::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 3px;
}

.dark-theme .mobile-menu-panel::-webkit-scrollbar-thumb:hover {
    background: #444444;
}

/* Scrollbar Styling - Light Theme */
.light-theme .mobile-menu-panel::-webkit-scrollbar {
    width: 6px;
}

.light-theme .mobile-menu-panel::-webkit-scrollbar-track {
    background: #f3f4f6;
}

.light-theme .mobile-menu-panel::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.light-theme .mobile-menu-panel::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}
/* =================================================================
   MOBILE SIDEBAR
================================================================= */
.mobile-sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    z-index: 1001;
    transition: left 0.3s;
    overflow-y: auto;
}

.mobile-sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-logo {
    font-size: 22px;
    font-weight: 700;
}

.sidebar-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    padding: 5px;
}

.sidebar-content {
    padding: 20px;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-primary);
    border-radius: 10px;
    margin-bottom: 20px;
}

.sidebar-user .user-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), #ff4757);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.sidebar-user h5 {
    margin: 0;
    font-size: 16px;
    color: var(--text-primary);
}

.sidebar-user p {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--text-secondary);
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.3s;
}

.sidebar-link:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.sidebar-link i {
    font-size: 18px;
}

.sidebar-link.text-danger {
    color: var(--danger);
}

.sidebar-link.text-danger:hover {
    background: rgba(239, 68, 68, 0.1);
}

.sidebar-divider {
    margin: 15px 0;
    padding: 10px 15px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}
/* header-style.css */
.ata-main-header {
    background: rgba(26, 26, 26, 0.98) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    height: 75px;
    position: fixed;
    top: 0; left: 0; width: 100%; z-index: 9999;
    display: flex; align-items: center;
}

/* Sitenin geri kalanını etkilememesi için özel prefixli arama kutusu */
.ata-search-box {
    background: #252525 !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 12px;
    padding: 8px 15px 8px 40px;
    color: white !important;
    width: 100%;
}

/* Kullanıcı Dropdown İzolasyonu */
.ata-user-dropdown {
    display: none;
    position: absolute;
    right: 0; top: 60px;
    width: 250px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    z-index: 10000;
}
.ata-user-dropdown.active { display: block; }

/* Mobil Alt Bar */
.ata-mobile-nav {
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    height: 65px;
    background: #111;
    border-top: 1px solid #222;
    display: flex; justify-content: space-around; align-items: center;
    z-index: 9999;
}

@media (min-width: 768px) { .ata-mobile-nav { display: none; } }

.ata-m-item { text-align: center; color: #888; font-size: 11px; text-decoration: none; }
.ata-m-item i { font-size: 20px; display: block; }
.ata-m-item.active { color: #e63946; }

/* ==========================================
   FOOTER STYLES
   ========================================== */

.main-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Footer About */
.footer-about {
    max-width: 320px;
}

.footer-logo {
    margin-bottom: 1.25rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
    max-width: 180px;
}

.footer-logo .logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-logo .logo-text span {
    color: var(--accent-color);
}

.footer-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.25rem;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Footer Columns */
.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    letter-spacing: -0.2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    transition: all 0.2s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.payment-icon {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: all 0.2s;
}

.payment-icon:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Security Badges */
.security-badges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.security-badge i {
    color: var(--success);
    font-size: 1.25rem;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.footer-bottom-links a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: var(--accent-color);
}

.footer-bottom-links .separator {
    color: var(--border-color);
}

/* ========================================
   MOBILE BOTTOM NAVIGATION 
   ======================================== */

.mobile-bottom-nav-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none;
    animation: fadeInUp 0.3s ease-out;
}

@media (max-width: 768px) {
    .mobile-bottom-nav-wrapper {
        display: block;
    }
    
    /* Footer'a padding ekle */
    body {
        padding-bottom: 80px;
    }
}

/* Glassmorphism Background */
.mobile-bottom-nav-bg {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);
}

/* Navigation Container */
.mobile-bottom-nav {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.75rem 0.5rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
}

/* Nav Item */
.mobile-nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Icon Wrapper (Normal) */
.nav-icon-wrapper {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    color: #9ca3af;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-icon-wrapper i {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

/* Active State */
.mobile-nav-item.active .nav-icon-wrapper {
    background: rgba(221, 14, 44, 0.1);
    color: #dd0e2c;
}

/* Hover State */
.mobile-nav-item:not(.active):hover .nav-icon-wrapper {
    color: #ffffff;
}

/* Label */
.nav-label {
    font-size: 0.625rem;
    font-weight: 500;
    color: #6b7280;
    transition: color 0.3s ease;
    margin-top: 0.25rem;
}

.mobile-nav-item.active .nav-label {
    color: #dd0e2c;
}

.mobile-nav-item:not(.active):hover .nav-label {
    color: #9ca3af;
}

/* Active Indicator (Üstte Çizgi) */
.nav-active-indicator {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2rem;
    height: 0.25rem;
    background: #dd0e2c;
    border-radius: 0 0 0.25rem 0.25rem;
    box-shadow: 0 0 10px rgba(221, 14, 44, 0.5);
}

/* Center Item (Sepet - Büyük) */
.mobile-nav-item.center-item {
    margin-top: -1.5rem;
}

.nav-icon-wrapper-center {
    position: relative;
    width: 3.5rem;
    height: 3.5rem;
    background: #1f2937;
    border: 4px solid #0f0f0f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1d5db;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-icon-wrapper-center i {
    font-size: 1.5rem;
}

.mobile-nav-item.center-item:hover .nav-icon-wrapper-center {
    background: #374151;
    color: #ffffff;
    transform: translateY(-4px);
}

/* Cart Badge */
.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #dd0e2c;
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.125rem 0.375rem;
    border-radius: 0.5rem;
    min-width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(221, 14, 44, 0.4);
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Safe Area Support (iPhone notch) */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .mobile-bottom-nav {
        padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
    }
}

/* Tablet'te Gizle */
@media (min-width: 769px) {
    .mobile-bottom-nav-wrapper {
        display: none !important;
    }
    
    body {
        padding-bottom: 0 !important;
    }
}

/* Küçük Ekranlar */
@media (max-width: 360px) {
    .nav-icon-wrapper {
        width: 2rem;
        height: 2rem;
    }
    
    .nav-icon-wrapper i {
        font-size: 1.25rem;
    }
    
    .nav-icon-wrapper-center {
        width: 3rem;
        height: 3rem;
    }
    
    .nav-label {
        font-size: 0.5625rem;
    }
}
/* ==========================================
   RESPONSIVE - FOOTER
   ========================================== */

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-about {
        grid-column: 1 / -1;
        max-width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }
    
    .main-footer {
        padding: 3rem 0 6rem;
        margin-top: 4rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-about {
        grid-column: 1 / -1;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-col {
        text-align: left;
    }
    
    .social-links {
        justify-content: flex-start;
    }
    
    .payment-methods {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .mobile-bottom-nav .nav-item {
        font-size: 0.7rem;
    }
    
    .mobile-bottom-nav .nav-item i {
        font-size: 1.375rem;
    }
}

/* ==========================================
   OLD CATEGORY CLASSES (Backward Compatibility)
   ========================================== */

.page-wrapper {
    min-height: 100vh;
    padding-top: 80px;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.page-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.page-breadcrumb a:hover {
    color: #fff;
}

.page-breadcrumb i {
    color: #4b5563;
}

.page-breadcrumb span {
    color: #6b7280;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.empty-state-box {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.empty-state-box i {
    font-size: 4rem;
    color: var(--text-muted);
    opacity: 0.5;
    margin-bottom: 1rem;
    display: block;
}

.empty-state-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.empty-state-box p {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
}

/* Old category-card (fallback) */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.category-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s;
}

.category-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
}

.category-card img {
    width: 100%;
    aspect-ratio: 168 / 227;
    object-fit: cover;
    transition: transform 0.5s;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-placeholder {
    width: 100%;
    aspect-ratio: 168 / 227;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-size: 4rem;
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(18, 18, 21, 0.9) 0%, transparent 100%);
}

.category-overlay h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.25rem 0;
}

.category-overlay p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================
   PRODUCTS SECTION
   ========================================== */

.products-section {
    margin: 4rem 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

html.light-theme .product-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-secondary);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 3rem;
}

.product-badge-discount {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: var(--accent-color);
    color: #fff;
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.product-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.old-price {
    font-size: 0.875rem;
    color: #ea5757;
    text-decoration: line-through;
}

.new-price,
.current-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #92fb78;
}

.btn-add-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    background: var(--accent-color);
    color: #fff;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: auto;
}

.btn-add-cart:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.4);
    color: #fff;
}

/* ==========================================
   RESPONSIVE - MOBILE SPACING FIX
   ========================================== */

@media (max-width: 768px) {
    /* Main content spacing */
    .main-content {
        margin-top: 64px;
        padding-bottom: 80px; /* Mobile bottom nav için */
    }
    
    /* Slider spacing */
    .hero-slider-section {
        margin-bottom: 0;
    }
    
    .slider-wrapper {
        padding: 0.75rem 0 0;
    }
    
    .slider-container {
        aspect-ratio: 16 / 9;
        border-radius: 12px;
    }
    
    .slide-content {
        padding: 1rem;
    }
    
    .slide-title {
        font-size: 1.125rem;
        margin-bottom: 0.375rem;
    }
    
    .slide-subtitle {
        font-size: 0.8125rem;
        margin-bottom: 0.75rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .slide-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }
    
    .slider-dots {
        bottom: 0.75rem;
    }
    
    .slider-dot {
        width: 0.5rem;
        height: 0.5rem;
    }
    
    .slider-dot.active {
        width: 1.5rem;
    }
    
    /* Features section - Compact */
    .features-section {
        margin: 1.5rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 0.625rem;
    }
    
    .feature-card {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
    }
    
    .feature-icon i {
        font-size: 1.25rem;
    }
    
    .feature-content h3 {
        font-size: 0.9375rem;
    }
    
    .feature-content p {
        font-size: 0.8125rem;
    }
    
    /* Categories section */
    .categories-section {
        margin: 2rem 0;
    }
    
    .section-header {
        margin-bottom: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.25rem;
    }
    
    .section-header h2 i {
        font-size: 1.375rem;
    }
    
    .view-all-btn {
        font-size: 0.875rem;
    }
    
    .category-grid-home {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .category-card-home {
        border-radius: 12px;
    }
    
    .category-overlay {
        padding: 1rem;
    }
    
    .category-overlay h3 {
        font-size: 1rem;
    }
    
    /* Products section */
    .products-section {
        margin: 2rem 0;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .product-card {
        border-radius: 12px;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-info h3 {
        font-size: 0.9375rem;
        margin-bottom: 0.5rem;
    }
    
    .product-price {
        margin-bottom: 0.75rem;
    }
    
    .old-price {
        font-size: 0.8125rem;
    }
    
    .new-price,
    .current-price {
        font-size: 1.125rem;
    }
    
    .btn-add-cart {
        padding: 0.625rem;
        font-size: 0.875rem;
    }
    
    .product-badge-discount {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    /* Container padding */
    .container {
        padding: 0 0.75rem;
    }
    
    /* Slider - More compact */
    .slider-wrapper {
        padding: 0.5rem 0 0;
    }
    
    .slider-container {
        border-radius: 10px;
    }
    
    .slide-content {
        padding: 0.75rem;
    }
    
    .slide-title {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .slide-subtitle {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
        -webkit-line-clamp: 1;
    }
    
    .slide-btn {
        padding: 0.4rem 0.875rem;
        font-size: 0.75rem;
    }
    
    /* Features - Very compact */
    .features-section {
        margin: 1rem 0;
    }
    
    .feature-card {
        padding: 0.875rem;
    }
    
    .feature-icon {
        width: 36px;
        height: 36px;
    }
    
    .feature-icon i {
        font-size: 1.125rem;
    }
    
    .feature-content h3 {
        font-size: 0.875rem;
    }
    
    .feature-content p {
        font-size: 0.75rem;
    }
    
    /* Sections spacing */
    .categories-section,
    .products-section {
        margin: 1.5rem 0;
    }
    
    .section-header {
        margin-bottom: 0.875rem;
    }
    
    .section-header h2 {
        font-size: 1.125rem;
    }
    
    .view-all-btn {
        font-size: 0.8125rem;
    }
    
    /* Category grid - Single column for very small screens */
    .category-grid-home {
        gap: 0.625rem;
    }
    
    /* Product grid */
    .product-grid {
        gap: 0.625rem;
    }
    
    .product-info {
        padding: 0.875rem;
    }
    
    .product-info h3 {
        font-size: 0.875rem;
    }
    
    .btn-add-cart {
        padding: 0.5rem;
        font-size: 0.8125rem;
    }
    
    .btn-add-cart i {
        display: none; /* Icon'u gizle, daha fazla yer açsın */
    }
}

/* Ultra small screens - Tek kolon */
@media (max-width: 360px) {
    .category-grid-home,
    .product-grid {
        grid-template-columns: 1fr;
    }
}
/* ==========================================
   CONTAINER & SPACING
   ========================================== */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Remove extra spacing from sections */
section {
    position: relative;
}

/* Page wrapper */
.page-wrapper {
    min-height: calc(100vh - 144px);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .page-wrapper {
        min-height: calc(100vh - 64px);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
}
/* ==========================================
   TOAST NOTIFICATIONS
   ========================================== */

.toast {
    position: fixed;
    top: 100px;
    right: -400px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transition: right 0.3s ease;
    min-width: 300px;
    max-width: 400px;
}

.toast.show {
    right: 1rem;
}

.toast i {
    font-size: 1.5rem;
}

.toast-success {
    border-color: var(--success);
}

.toast-success i {
    color: var(--success);
}

.toast-error {
    border-color: var(--danger);
}

.toast-error i {
    color: var(--danger);
}

.toast-info {
    border-color: var(--accent-color);
}

.toast-info i {
    color: var(--accent-color);
}

.toast span {
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 500;
}

@media (max-width: 480px) {
    .toast {
        right: -100%;
        left: -100%;
        margin: 0 1rem;
        min-width: auto;
    }
    
    .toast.show {
        right: 1rem;
        left: 1rem;
    }
}
/* ==========================================
   GLOBAL FIXES
   ========================================== */

html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

/* ==========================================
   PRODUCT DETAIL PAGE -  STYLE
   ========================================== */

.product-detail-page {
    min-height: 100vh;
    padding: 1.5rem 0 2rem;
    overflow-x: hidden;
}

/* Breadcrumb */
.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.product-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.product-breadcrumb a:hover {
    color: #fff;
}

.product-breadcrumb i {
    color: #4b5563;
    font-size: 0.875rem;
}

.product-breadcrumb span {
    color: #6b7280;
}

/* Product Grid - 12 Column System */
.product-detail-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Product Image - 5 columns */
.product-detail-image {
    grid-column: span 5;
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 168 / 227;
    width: 100%;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-image-wrapper:hover img {
    transform: scale(1.05);
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-size: 4rem;
}

.product-discount-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.375rem 0.75rem;
    background: var(--accent-color);
    color: #fff;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
}

/* Product Content - 7 columns */
.product-detail-content {
    grid-column: span 7;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Category Badge */
.product-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: rgba(229, 9, 20, 0.1);
    color: var(--accent-color);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    width: fit-content;
    transition: all 0.2s;
}

.product-category-badge:hover {
    background: rgba(229, 9, 20, 0.2);
    color: var(--accent-color);
}

/* Title */
.product-detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin: 0;
}

/* Rating */
.product-rating-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-stars {
    display: flex;
    color: #374151;
    font-size: 1.125rem;
}

.rating-stars i.filled {
    color: #fbbf24;
}

.rating-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* Price */
.product-detail-price {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    margin: 0.5rem 0;
}

.price-current {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.price-old {
    font-size: 1.25rem;
    color: #6b7280;
    text-decoration: line-through;
}

/* Cart Section */
.product-cart-section {
    margin-top: 1rem;
}

.quantity-cart-row {
    display: flex;
    gap: 1rem;
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    width: auto;
}

.qty-btn {
    width: 3.5rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.qty-btn:hover {
    color: #fff;
    background: var(--bg-hover);
}

.qty-btn:first-child {
    border-right: 1px solid var(--border-color);
}

.qty-btn:last-child {
    border-left: 1px solid var(--border-color);
}

.qty-btn i {
    font-size: 1.25rem;
}

.quantity-selector input {
    width: 5rem;
    height: 3rem;
    background: transparent;
    border: none;
    text-align: center;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    outline: none;
}

/* Add to Cart Button */
.btn-add-to-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 16px rgba(229, 9, 20, 0.2);
}

.btn-add-to-cart:hover:not(:disabled) {
    background: var(--accent-hover);
    transform: scale(1.02);
    box-shadow: 0 12px 24px rgba(229, 9, 20, 0.3);
}

.btn-add-to-cart:disabled {
    background: var(--bg-secondary);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
}

.btn-add-to-cart i {
    font-size: 1.25rem;
}

.cart-price-badge {
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.875rem;
}

/* Trust Badges */
.product-trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.trust-badge {
    text-align: center;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.trust-badge i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.trust-badge:nth-child(1) i {
    color: #10b981;
}

.trust-badge:nth-child(2) i {
    color: #fbbf24;
}

.trust-badge:nth-child(3) i {
    color: var(--accent-color);
}

.trust-badge span {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
}

/* ==========================================
   PRODUCT TABS
   ========================================== */

.product-tabs-section {
    margin-top: 2rem;
}

.product-tabs-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.product-tabs-header::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    position: relative;
    padding-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.tab-btn:hover {
    color: #fff;
}

.tab-count {
    background: var(--bg-card);
    font-size: 0.875rem;
    padding: 0.125rem 0.625rem;
    border-radius: 9999px;
    color: #fff;
}

.product-tabs-content {
    min-height: 200px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeInTab 0.3s ease;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-description-content {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    padding: 1.5rem;
    color: #d1d5db;
    line-height: 1.75;
}

.product-description-content p {
    margin-bottom: 1rem;
}

.product-description-content strong {
    color: #fff;
}

.product-reviews-empty {
    text-align: center;
    padding: 3rem 0;
    color: #6b7280;
}

.product-reviews-empty i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

/* ==========================================
   SIMILAR PRODUCTS
   ========================================== */

.similar-products-section {
    margin-top: 2rem;
}

.similar-products-section .section-header {
    margin-bottom: 1.5rem;
}

.similar-products-section .section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.similar-products-section .section-header h2 i {
    color: var(--accent-color);
}

/* ==========================================
   RESPONSIVE - PRODUCT DETAIL
   ========================================== */

@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .product-detail-image,
    .product-detail-content {
        grid-column: span 12;
    }
    
    .product-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .product-detail-page {
        padding: 1rem 0 2rem;
    }
    
    .product-breadcrumb {
        font-size: 0.8125rem;
        margin-bottom: 1rem;
        gap: 0.375rem;
    }
    
    .product-detail-grid {
        gap: 1.5rem;
    }
    
    .product-detail-content {
        gap: 0.875rem;
    }
    
    .product-detail-title {
        font-size: 1.5rem;
    }
    
    .price-current {
        font-size: 2rem;
    }
    
    .price-old {
        font-size: 1.125rem;
    }
    
    .quantity-cart-row {
        flex-direction: column;
    }
    
    .quantity-selector {
        width: 100%;
    }
    
    .product-trust-badges {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .tab-btn {
        font-size: 1rem;
        padding-bottom: 0.875rem;
    }
    
    .product-description-content {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .product-detail-page {
        padding: 0.75rem 0 1.5rem;
    }
    
    .product-breadcrumb {
        font-size: 0.75rem;
        margin-bottom: 0.875rem;
    }
    
    .product-detail-grid {
        gap: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .product-discount-badge {
        top: 0.75rem;
        left: 0.75rem;
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .product-detail-content {
        gap: 0.75rem;
    }
    
    .product-detail-title {
        font-size: 1.25rem;
    }
    
    .rating-stars {
        font-size: 1rem;
    }
    
    .rating-text {
        font-size: 0.8125rem;
    }
    
    .product-detail-price {
        gap: 0.75rem;
    }
    
    .price-current {
        font-size: 1.75rem;
    }
    
    .price-old {
        font-size: 1rem;
    }
    
    .product-cart-section {
        margin-top: 0.75rem;
    }
    
    .btn-add-to-cart {
        font-size: 0.9375rem;
        padding: 0.75rem 1rem;
    }
    
    .btn-add-to-cart span:nth-child(2) {
        display: none;
    }
    
    .cart-price-badge {
        padding: 0.375rem 0.625rem;
        font-size: 0.8125rem;
    }
    
    .product-trust-badges {
        gap: 0.625rem;
    }
    
    .trust-badge {
        padding: 0.875rem;
    }
    
    .trust-badge i {
        font-size: 1.25rem;
        margin-bottom: 0.375rem;
    }
    
    .trust-badge span {
        font-size: 0.8125rem;
    }
    
    .product-tabs-section {
        margin-top: 1.5rem;
    }
    
    .product-tabs-header {
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .tab-btn {
        font-size: 0.9375rem;
    }
    
    .product-description-content {
        padding: 1rem;
        font-size: 0.875rem;
    }
    
    .similar-products-section {
        margin-top: 1.5rem;
    }
}
/* =================================================================
   CART PAGE
================================================================= */
.empty-cart-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 80px 20px;
    text-align: center;
}

.empty-cart-box i {
    font-size: 80px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    display: block;
}

.empty-cart-box h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.empty-cart-box p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.cart-items-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
}

.cart-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    margin-bottom: 15px;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-image .product-placeholder {
    width: 100px;
    height: 100px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.item-price {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-input input {
    width: 60px;
    padding: 8px;
    text-align: center;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
}

.btn-remove-item {
    color: var(--danger);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.3s;
}

.btn-remove-item:hover {
    opacity: 0.7;
}

.cart-item-total {
    display: flex;
    align-items: center;
}

.total-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-color);
}

.cart-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.coupon-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
}

.coupon-box h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.coupon-box h4 i {
    color: var(--accent-color);
}

.coupon-input-group {
    display: flex;
    gap: 10px;
}

.coupon-input-group input {
    flex: 1;
}

.btn-coupon {
    padding: 12px 20px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-coupon:hover {
    background: var(--accent-hover);
}

.applied-coupon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    color: var(--success);
}

.applied-coupon div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-remove-coupon {
    background: none;
    border: none;
    color: var(--success);
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    transition: opacity 0.3s;
}

.btn-remove-coupon:hover {
    opacity: 0.7;
}

.cart-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    position: sticky;
    top: 100px;
}

.cart-summary h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-summary h4 i {
    color: var(--accent-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.summary-row.discount {
    color: var(--success);
}

.summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: 15px 0;
}

.summary-row.total {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.summary-row.total span:last-child {
    color: var(--accent-color);
}

.btn-checkout {
    width: 100%;
    padding: 14px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-checkout:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(229, 9, 20, 0.4);
}

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-secondary);
}

.secure-badge i {
    color: var(--success);
    font-size: 16px;
}

@media (max-width: 768px) {
    .cart-item {
        flex-direction: column;
    }
    
    .cart-item-image {
        width: 100%;
        height: 200px;
    }
    
    .cart-item-image .product-placeholder {
        width: 100%;
        height: 200px;
    }
    
    .cart-item-total {
        justify-content: space-between;
    }
    
    .cart-actions {
        flex-direction: column;
    }
}
/* =================================================================
   CHECKOUT PAGE
================================================================= */
.checkout-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
}

.checkout-section h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-section h3 i {
    color: var(--accent-color);
}

.user-info-display {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 10px;
}

.user-info-display p {
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 14px;
}

.user-info-display p:last-child {
    margin-bottom: 0;
}

.user-info-display strong {
    color: var(--text-primary);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-methods h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.payment-method-item {
    display: block;
    cursor: pointer;
}

.payment-method-item input[type="radio"] {
    display: none;
}

.payment-method-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s;
}

.payment-method-item input[type="radio"]:checked + .payment-method-content {
    border-color: var(--accent-color);
    background: rgba(229, 9, 20, 0.05);
}

.payment-method-content:hover {
    border-color: var(--accent-color);
}

.payment-method-content i {
    font-size: 28px;
    color: var(--accent-color);
}

.payment-method-content > div {
    flex: 1;
}

.payment-method-content span {
    display: block;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.payment-method-content small {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
}

.btn-checkout-submit {
    width: 100%;
    padding: 16px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-checkout-submit:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(229, 9, 20, 0.4);
}

.order-summary-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    position: sticky;
    top: 100px;
}

.order-summary-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-summary-box h3 i {
    color: var(--accent-color);
}

.order-items {
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.order-item:last-child {
    border-bottom: none;
}

/* =================================================================
   ORDER SUCCESS PAGE
================================================================= */
.success-page {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: successPulse 1.5s ease-in-out;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(34, 197, 94, 0);
    }
}

.success-icon i {
    font-size: 50px;
    color: white;
}

.success-page h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.success-message {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.order-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.info-item {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
}

.info-item i {
    font-size: 32px;
    color: var(--accent-color);
    margin-bottom: 10px;
    display: block;
}

.info-item span {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.info-item strong {
    display: block;
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 700;
}

.order-items-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 40px;
    text-align: left;
}

.order-items-box h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.order-item-row:last-child {
    border-bottom: none;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .success-page h1 {
        font-size: 24px;
    }
    
    .order-info-grid {
        grid-template-columns: 1fr;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .success-actions .btn {
        width: 100%;
    }
}

/* =================================================================
   DASHBOARD
================================================================= */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.stat-card.balance .stat-icon {
    background: linear-gradient(135deg, var(--accent-color), #ff4757);
    color: white;
}

.stat-card.orders .stat-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.stat-card.spent .stat-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.stat-info {
    flex: 1;
}

.stat-info span {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.stat-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.stat-action {
    padding: 8px 15px;
    background: var(--accent-color);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
}

.stat-action:hover {
    background: var(--accent-hover);
}

.quick-actions {
    margin-bottom: 40px;
}

.quick-actions h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.quick-actions h3 i {
    color: var(--accent-color);
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.action-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.action-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.action-card i {
    font-size: 32px;
    color: var(--accent-color);
}

.action-card span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.recent-orders-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
}

.recent-orders-section .section-header {
    margin-bottom: 20px;
}

.recent-orders-section h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.recent-orders-section h3 i {
    color: var(--accent-color);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 60px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    display: block;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.orders-table-responsive {
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table thead {
    background: var(--bg-secondary);
}

.orders-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.orders-table td {
    padding: 15px;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.orders-table tr:last-child td {
    border-bottom: none;
}

.btn-table-action {
    padding: 8px 15px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.btn-table-action:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .action-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .orders-table {
        font-size: 12px;
    }
    
    .orders-table th,
    .orders-table td {
        padding: 10px;
    }
}
/* =================================================================
   ORDERS PAGE
================================================================= */
.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.order-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.order-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.order-card-header {
    padding: 20px;
    background: var(--bg-secondary);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--border-color);
}

.order-card-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.order-card-header p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.order-card-body {
    padding: 20px;
}

.order-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
}

.order-detail-row span {
    color: var(--text-secondary);
}

.order-detail-row strong {
    color: var(--text-primary);
}

.order-detail-row .text-primary {
    color: var(--accent-color);
}

.order-card-footer {
    padding: 15px 20px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.btn-view-order {
    width: 100%;
    padding: 10px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-view-order:hover {
    background: var(--accent-hover);
}

@media (max-width: 768px) {
    .orders-grid {
        grid-template-columns: 1fr;
    }
}

/* =================================================================
   ORDER DETAIL PAGE
================================================================= */
.order-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.detail-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    margin-bottom: 25px;
    overflow: hidden;
}

.detail-section.sticky {
    position: sticky;
    top: 100px;
}

.detail-section-header {
    padding: 20px 25px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-section-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.detail-section-body {
    padding: 25px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.info-row span i {
    color: var(--accent-color);
}

.info-row strong {
    color: var(--text-primary);
    font-size: 14px;
}

.order-product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 10px;
    margin-bottom: 15px;
}

.order-product-item:last-child {
    margin-bottom: 0;
}

.product-item-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.product-item-info p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.product-item-total strong {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-color);
}

.payment-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
}

.payment-status.success {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.payment-status.warning {
    background: rgba(251, 191, 36, 0.1);
    color: var(--warning);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.payment-status i {
    font-size: 20px;
}

/* =================================================================
   BALANCE PAGE
================================================================= */
.balance-display-card {
    background: linear-gradient(135deg, var(--accent-color), #ff4757);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.3);
}

.balance-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    flex-shrink: 0;
}

.balance-info {
    flex: 1;
}

.balance-info span {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

.balance-info h2 {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin: 0;
}

.btn-load {
    padding: 12px 24px;
    background: white;
    color: var(--accent-color);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-load:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.load-balance-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

.load-balance-section h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.load-balance-section h3 i {
    color: var(--accent-color);
}

.load-balance-section p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.amount-presets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.preset-btn {
    padding: 15px 10px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.preset-btn:hover,
.preset-btn.active {
    border-color: var(--accent-color);
    background: rgba(229, 9, 20, 0.1);
    color: var(--accent-color);
}

.balance-history-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
}

.balance-history-section h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.balance-history-section h3 i {
    color: var(--accent-color);
}

.transactions-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s;
}

.transaction-item:hover {
    border-color: var(--accent-color);
    transform: translateX(5px);
}

.transaction-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.transaction-icon.credit {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.transaction-icon.debit {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.transaction-info {
    flex: 1;
}

.transaction-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.transaction-info p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.transaction-amount {
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

.transaction-amount.credit {
    color: var(--success);
}

.transaction-amount.debit {
    color: var(--danger);
}

.info-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
}

.info-box h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-box h4 i {
    color: var(--accent-color);
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
    padding-left: 20px;
    position: relative;
}

.info-box li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

.info-box li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .balance-display-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .balance-info h2 {
        font-size: 32px;
    }
    
    .amount-presets {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .transaction-item {
        padding: 15px;
    }
    
    .transaction-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .transaction-amount {
        font-size: 15px;
    }
}
/* =================================================================
   PROFILE / SETTINGS PAGE
================================================================= */
.settings-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
}

.settings-section h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.settings-section h3 i {
    color: var(--accent-color);
}

/* =================================================================
   PAYMENT PROCESS PAGE
================================================================= */
.payment-process-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 40px;
}

.payment-header {
    text-align: center;
    margin-bottom: 30px;
}

.payment-header i {
    font-size: 60px;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: block;
}

.payment-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.payment-header p {
    color: var(--text-secondary);
    font-size: 15px;
}

.payment-amount-display {
    text-align: center;
    padding: 25px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 30px;
}

.payment-amount-display span {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.payment-amount-display h3 {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0;
}

.payment-security {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 13px;
}

.payment-security i {
    color: var(--success);
    font-size: 16px;
}

/* =================================================================
   AUTH PAGES (LOGIN, REGISTER)
================================================================= */
.auth-page {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), #ff4757);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    margin: 0 auto 20px;
}

.auth-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 15px;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .btn-block {
    margin-top: 10px;
    padding: 14px;
    font-size: 16px;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.auth-footer p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.auth-footer a {
    color: var(--accent-color);
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .auth-card {
        padding: 30px 20px;
    }
    
    .auth-header h2 {
        font-size: 24px;
    }
}

/* =================================================================
   BLOG PAGES
================================================================= */
.blog-categories-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.category-filter-btn {
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.category-filter-btn:hover,
.category-filter-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.blog-link {
    display: block;
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 20px;
}

.blog-category {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(229, 9, 20, 0.1);
    color: var(--accent-color);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.blog-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-secondary);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-meta i {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* =================================================================
   BLOG DETAIL PAGE
================================================================= */
.blog-detail-page {
    margin-top: 30px;
}

.blog-article {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 40px;
}

.blog-article-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.blog-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-article-header {
    padding: 30px;
}

.blog-article-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.blog-article-header .blog-meta {
    margin-top: 15px;
}

.blog-article-content {
    padding: 30px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
}

.related-blogs {
    margin-top: 40px;
}

.related-blogs h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-blogs h3 i {
    color: var(--accent-color);
}

.related-blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.related-blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.related-blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.related-blog-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.related-blog-card h4 {
    padding: 15px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-blog-card p {
    padding: 0 15px 15px;
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
}

.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.sidebar-widget h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-widget h4 i {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .blog-article-image {
        height: 250px;
    }
    
    .blog-article-header h1 {
        font-size: 24px;
    }
    
    .blog-article-content {
        font-size: 15px;
    }
}

/* =================================================================
   STATIC PAGE
================================================================= */
.static-page {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 40px;
}

.page-content {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .static-page {
        padding: 25px 20px;
    }
    
    .page-content {
        font-size: 15px;
    }
}
/* =================================================================
   CONTACT PAGE
================================================================= */
.contact-form-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
}

.contact-form-section h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.contact-info-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
}

.contact-info-box h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info-box h4 i {
    color: var(--accent-color);
}

.contact-info-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-item i {
    font-size: 24px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.contact-info-item strong {
    display: block;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.contact-info-item p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.social-links-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
}

.social-links-box h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links-box h4 i {
    color: var(--accent-color);
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.social-link {
    padding: 15px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #e1306c;
    color: white;
}

.social-link.twitter:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.social-link.discord:hover {
    background: #5865F2;
    border-color: #5865F2;
    color: white;
}

.social-link.youtube:hover {
    background: #FF0000;
    border-color: #FF0000;
    color: white;
}

/* =================================================================
   SEARCH PAGE
================================================================= */
.search-page {
    margin-top: 30px;
}

.search-info {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.search-info p {
    margin: 0;
    color: var(--text-secondary);
}

.search-info strong {
    color: var(--accent-color);
}

.search-box-large {
    margin-bottom: 40px;
}

.search-box-large form {
    display: flex;
    gap: 10px;
}

.search-box-large input {
    flex: 1;
    padding: 15px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 16px;
}

.search-box-large input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.search-box-large button {
    padding: 15px 30px;
}

@media (max-width: 768px) {
    .search-box-large form {
        flex-direction: column;
    }
}

/* =================================================================
   FAQ PAGE
================================================================= */
.faq-section {
    margin-bottom: 40px;
}

.faq-category-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question.active {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.faq-question h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

.faq-question i {
    font-size: 20px;
    color: var(--accent-color);
    transition: transform 0.3s;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 20px 20px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* =================================================================
   POPUP MODAL
================================================================= */
.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
}

.modal .btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1;
    background: var(--bg-secondary);
    opacity: 1;
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.popup-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

.popup-content {
    padding: 30px;
    text-align: center;
}

.popup-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.popup-content p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

/* =================================================================
   BACK TO TOP BUTTON
================================================================= */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(229, 9, 20, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 80px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* =================================================================
   RESPONSIVE UTILITIES
================================================================= */
@media (max-width: 576px) {
    .page-wrapper {
        padding: 20px 0;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .section-header h2,
    .section-header h3 {
        font-size: 20px;
    }
}

/* =================================================================
   SCROLLBAR STYLING
================================================================= */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* =================================================================
   LOADING SPINNER
================================================================= */
.ri-spin {
    animation: ri-spin 1s linear infinite;
}

@keyframes ri-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* =================================================================
   TRANSITIONS & ANIMATIONS
================================================================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* =================================================================
   PRINT STYLES
================================================================= */
@media print {
    .main-header,
    .top-bar,
    .main-footer,
    .mobile-bottom-nav,
    .back-to-top,
    .mobile-sidebar,
    .sidebar-overlay {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}
/* =================================================================
   CATEGORY NAVIGATION BAR
================================================================= */
.category-nav {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
}

.category-nav-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: none;
}

.category-nav-wrapper::-webkit-scrollbar {
    display: none;
}

.category-nav-item {
    padding: 15px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.category-nav-item:hover {
    color: var(--accent-color);
    background: var(--bg-secondary);
}

.category-nav-item.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.category-nav-item i {
    font-size: 16px;
}
/* Slider button stili ekle */
.slider-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    color: white;
    font-weight: 700;
    margin-top: 15px;
    transition: all 0.3s;
}

.slider-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}
/* Toast Notification */
.custom-toast {
    position: fixed;
    top: 80px;
    right: 20px;
    background: var(--card-bg);
    color: var(--text-primary);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    border-left: 4px solid;
}

.custom-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.custom-toast i {
    font-size: 24px;
}

.custom-toast.toast-success {
    border-left-color: #10b981;
}

.custom-toast.toast-success i {
    color: #10b981;
}

.custom-toast.toast-error {
    border-left-color: #ef4444;
}

.custom-toast.toast-error i {
    color: #ef4444;
}

.custom-toast.toast-info {
    border-left-color: #3b82f6;
}

.custom-toast.toast-info i {
    color: #3b82f6;
}

/* Loading animation */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.rotating {
    animation: rotate 1s linear infinite;
}

@media (max-width: 768px) {
    .custom-toast {
        top: 70px;
        right: 15px;
        left: 15px;
        width: auto;
    }
}