/* Default tema — görsel overrides */

@media (max-width: 768px) {
    .product-card-modern {
        border-radius: 2px;
    }
}
/* --- MOBİL SİDEBAR (MENÜ) MODERN AKORDİYON TASARIMI --- */
body .mobile-sidebar {
    width: 310px !important;box-shadow: -10px 0 30px rgba(0,0,0,0.2) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body .sidebar-header {
    padding: 16px 20px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body .sidebar-title-text {
    font-size: 18px;
    font-weight: 800;
}

body .sidebar-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

body .sidebar-content {
    padding: 16px 20px 80px 20px !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Auth Section */
body .sidebar-auth-section {
    margin-top: 10px !important;
    margin-bottom: 20px !important;
}

body .guest-btns-container {
    display: flex;
    gap: 10px;
    width: 100%;
}

body .sidebar-guest-btn {
    flex: 1;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

body .sidebar-guest-btn:active {
    transform: scale(0.97);
    opacity: 0.9;
}

body .sidebar-guest-btn.login-btn {
    background: #1a6edb !important;
    color: #ffffff !important;
}

body .sidebar-guest-btn.register-btn {
    background: #0ea569 !important;
    color: #ffffff !important;
}

/* User Logged In Styles */
body .user-info-sidebar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

body .user-avatar i {
    font-size: 38px;
    color: var(--primary-blue) !important;
}

body .user-details {
    display: flex;
    flex-direction: column;
}

body .user-name-label {
    display: block !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    color: var(--text-color) !important;
    margin-bottom: 3px !important;
}

body .user-balance-label {
    display: block !important;
    font-size: 12px !important;
    color: var(--text-muted) !important;
}

body .user-balance-label strong {
    color: #10b981 !important;
}

body .sidebar-user-actions {
    display: flex;
    gap: 8px;
    width: 100%;
}

body .sidebar-balance-btn,
body .sidebar-profile-btn {
    flex: 1;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    gap: 6px;
    transition: transform 0.15s ease;
}

body .sidebar-balance-btn:active,
body .sidebar-profile-btn:active {
    transform: scale(0.97);
}

body .sidebar-balance-btn {
    background: var(--primary-blue) !important;
    color: white !important;
}

/* Navigation Links & Accordion */
body .sidebar-nav-container {
    display: flex;
    flex-direction: column;
}

body .sidebar-nav-item,
body .accordion-header-link {
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding: 13px 16px;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

body .accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between !important;
    padding: 13px 16px;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

body .accordion-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

body .category-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    object-fit: cover;
}

body .category-icon-placeholder {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

body .accordion-chevron {
    font-size: 11px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

body .accordion-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body .accordion-body {
    padding: 4px 0;
    display: flex;
    flex-direction: column;
}

body .subcategory-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px 11px 36px;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

body .subcategory-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: cover;
}

body .subcategory-bullet {
    font-size: 6px;
    width: 20px;
    text-align: center;
}

/* ==========================================
   DARK THEME SPECIFIC STYLES (Default / Active)
   ========================================== */
html[data-theme="dark"] body .mobile-sidebar,
html:not([data-theme="light"]) body .mobile-sidebar {
    background: #0d0d0f !important;
    border-left: 1px solid rgba(255,255,255,0.06) !important;
}

html[data-theme="dark"] body .sidebar-header,
html:not([data-theme="light"]) body .sidebar-header {
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

html[data-theme="dark"] body .sidebar-title-text,
html:not([data-theme="light"]) body .sidebar-title-text {
    color: #ffffff !important;
}

html[data-theme="dark"] body .sidebar-profile-btn,
html:not([data-theme="light"]) body .sidebar-profile-btn {
    background: rgba(255,255,255,0.05) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
}

html[data-theme="dark"] body .sidebar-nav-item,
html[data-theme="dark"] body .accordion-header,
html[data-theme="dark"] body .accordion-header-link,
html:not([data-theme="light"]) body .sidebar-nav-item,
html:not([data-theme="light"]) body .accordion-header,
html:not([data-theme="light"]) body .accordion-header-link {
    color: #eeeeee !important;
    border-bottom: 1px solid rgba(255,255,255,0.04) !important;
}

html[data-theme="dark"] body .sidebar-nav-item:hover,
html[data-theme="dark"] body .accordion-header:hover,
html[data-theme="dark"] body .accordion-header-link:hover,
html:not([data-theme="light"]) body .sidebar-nav-item:hover,
html:not([data-theme="light"]) body .accordion-header:hover,
html:not([data-theme="light"]) body .accordion-header-link:hover {
    background: rgba(255,255,255,0.02) !important;
}

html[data-theme="dark"] body .sidebar-nav-item .menu-icon,
html:not([data-theme="light"]) body .sidebar-nav-item .menu-icon {
    color: #ffffff !important;
    opacity: 0.8;
}

html[data-theme="dark"] body .sidebar-divider,
html:not([data-theme="light"]) body .sidebar-divider {
    background: rgba(255,255,255,0.06) !important;
}

html[data-theme="dark"] body .sidebar-section-title,
html:not([data-theme="light"]) body .sidebar-section-title {
    color: #718096 !important;
    opacity: 0.8 !important;
}

html[data-theme="dark"] body .accordion-chevron,
html:not([data-theme="light"]) body .accordion-chevron {
    color: #ffffff !important;
    opacity: 0.4;
}

html[data-theme="dark"] body .accordion-collapse,
html:not([data-theme="light"]) body .accordion-collapse {
    background: rgba(0, 0, 0, 0.2) !important;
}

html[data-theme="dark"] body .subcategory-item,
html:not([data-theme="light"]) body .subcategory-item {
    color: #cbd5e0 !important;
    border-bottom: 1px dashed rgba(255,255,255,0.02) !important;
}

html[data-theme="dark"] body .subcategory-item:hover,
html:not([data-theme="light"]) body .subcategory-item:hover {
    background: rgba(255,255,255,0.02) !important;
    color: #ffffff !important;
}

html[data-theme="dark"] body .subcategory-bullet,
html:not([data-theme="light"]) body .subcategory-bullet {
    color: #ffffff !important;
    opacity: 0.3;
}

html[data-theme="dark"] body .category-icon-placeholder,
html:not([data-theme="light"]) body .category-icon-placeholder {
    color: #ffffff !important;
}


/* ==========================================
   LIGHT THEME SPECIFIC STYLES
   ========================================== */
html[data-theme="light"] body .mobile-sidebar {
    background: #ffffff !important;
    border-left: 1px solid rgba(0,0,0,0.08) !important;
}

html[data-theme="light"] body .sidebar-header {
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
}

html[data-theme="light"] body .sidebar-title-text {
    color: #121212 !important;
}

html[data-theme="light"] body .sidebar-profile-btn {
    background: rgba(0,0,0,0.04) !important;
    color: #121212 !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
}

html[data-theme="light"] body .sidebar-nav-item,
html[data-theme="light"] body .accordion-header,
html[data-theme="light"] body .accordion-header-link {
    color: #1a202c !important;
    border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}

html[data-theme="light"] body .sidebar-nav-item:hover,
html[data-theme="light"] body .accordion-header:hover,
html[data-theme="light"] body .accordion-header-link:hover {
    background: rgba(0,0,0,0.02) !important;
}

html[data-theme="light"] body .sidebar-nav-item .menu-icon {
    color: #1a202c !important;
    opacity: 0.8;
}

html[data-theme="light"] body .sidebar-divider {
    background: rgba(0,0,0,0.08) !important;
}

html[data-theme="light"] body .sidebar-section-title {
    color: #4a5568 !important;
    opacity: 0.8 !important;
}

html[data-theme="light"] body .accordion-chevron {
    color: #1a202c !important;
    opacity: 0.5;
}

html[data-theme="light"] body .accordion-collapse {
    background: rgba(0, 0, 0, 0.03) !important;
}

html[data-theme="light"] body .subcategory-item {
    color: #4a5568 !important;
    border-bottom: 1px dashed rgba(0,0,0,0.04) !important;
}

html[data-theme="light"] body .subcategory-item:hover {
    background: rgba(0,0,0,0.02) !important;
    color: #1a202c !important;
}

html[data-theme="light"] body .subcategory-bullet {
    color: #1a202c !important;
    opacity: 0.4;
}

html[data-theme="light"] body .category-icon-placeholder {
    color: #1a202c !important;
}
