/* Mobil Uyumlu Stok Yönetim Sistemi CSS */

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --border-color: #e5e7eb;
    --text-color: #111827;
    --text-light: #6b7280;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--light-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    touch-action: manipulation;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
}

.app-container {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    position: relative;
}

.icon-btn {
    position: relative;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
}

.icon-btn:active {
    background: var(--light-color);
    transform: scale(0.95);
}

.badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.user-menu {
    position: relative;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    display: none;
    z-index: 1001;
    overflow: hidden;
}

.user-dropdown.show {
    display: block;
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    min-height: 44px;
}

.user-dropdown a:active {
    background: var(--light-color);
}

.user-dropdown a i {
    width: 20px;
    text-align: center;
}

/* Sidebar */
.sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
    overflow-y: auto;
    padding-top: 0;
    display: flex;
    flex-direction: column;
}

.sidebar.open {
    left: 0;
}

/* Burger Menü Butonu */
.burger-menu-btn {
    position: fixed;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    border: none;
    font-size: 1.75rem;
    color: white;
    cursor: pointer;
    padding: 1rem;
    min-width: 56px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
}

.burger-menu-btn:active {
    background: var(--primary-dark);
    transform: scale(0.95);
}

.burger-menu-btn:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-lg);
}

/* Sidebar Header */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 1rem;
    border-bottom: 1px solid var(--border-color);
    background: white;
    flex-shrink: 0;
    min-height: 40px;
}

.sidebar-title {
    font-size: 0.9rem;
    font-weight: 600;
    flex: 1;
    margin: 0;
    padding: 0 0.5rem;
}

.sidebar-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.sidebar-close:active {
    background: var(--light-color);
    transform: scale(0.95);
}

/* Sidebar Profil Bölümü */
.sidebar-profile {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-avatar {
    width: auto;
    height: 60px;
    max-width: 100px;
    object-fit: contain;
    border: none;
    flex-shrink: 0;
    background: transparent;
}

.profile-details {
    flex: 1;
    min-width: 0;
}

.profile-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-role {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Sidebar Footer */
.sidebar-footer {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    background: white;
    padding: 0.25rem 0;
}

.profile-menu {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.4rem;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    min-height: 40px;
    font-size: 0.9rem;
}

.profile-menu-item:active {
    background: var(--light-color);
}

.profile-menu-item.active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

.profile-menu-item i {
    width: 18px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.profile-menu-item.active i {
    color: var(--primary-color);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    min-height: 64px;
    font-size: 1.05rem;
    font-weight: 500;
    border-left: 4px solid transparent;
    border-radius: var(--radius-sm);
    margin: 0.25rem 0.75rem;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.nav-item:active {
    background: var(--light-color);
    transform: scale(0.98);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-item.active {
    background: var(--primary-color);
    color: white;
    border-left-color: var(--primary-dark);
    font-weight: 600;
    box-shadow: var(--shadow);
}

.nav-item.active i {
    color: white;
}

.nav-item.warning {
    color: var(--warning-color);
    border-left-color: var(--warning-color);
}

.nav-item.warning.active {
    background: var(--warning-color);
    color: white;
}

.nav-item i {
    font-size: 1.35rem;
    width: 28px;
    text-align: center;
    color: var(--text-light);
}

.nav-item.active i {
    color: white;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: var(--transition);
}

.overlay.show {
    display: block;
    opacity: 1;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 1rem;
    max-width: 100%;
    overflow-x: hidden;
}

/* Cards */
.card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    min-height: 44px;
    touch-action: manipulation;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:active {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-icon {
    padding: 0.75rem;
    min-width: 44px;
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    min-height: 56px;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition);
    min-height: 44px;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.product-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
    min-height: 180px;
}

.product-card:active {
    transform: scale(0.98);
    box-shadow: var(--shadow-lg);
}

.product-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    background: var(--light-color);
}

.product-image-placeholder {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 600;
}

.product-info {
    padding: 0.75rem;
}

.product-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-stock {
    font-size: 0.85rem;
    color: var(--text-light);
}

.product-stock.low {
    color: var(--warning-color);
    font-weight: 600;
}

.product-stock.out {
    color: var(--danger-color);
    font-weight: 600;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background: var(--light-color);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
}

.table tr:last-child td {
    border-bottom: none;
}

.table tr:active {
    background: var(--light-color);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary-color);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: var(--radius);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.modal-close:active {
    background: var(--light-color);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    display: flex;
    gap: 0.75rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    justify-content: flex-end;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary-color);
    border-left: 4px solid var(--secondary-color);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    border-left: 4px solid var(--danger-color);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
    border-left: 4px solid var(--warning-color);
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem;
    text-align: center;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

/* Search Bar */
.search-bar {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-bar input {
    padding-left: 3rem;
}

.search-bar i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

/* Compact Header */
.card-header-compact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.search-form-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    margin: 0;
}

.form-control-compact {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    min-height: 36px;
    transition: var(--transition);
    margin: 0;
}

.form-control-compact:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

/* Kategori Filtre Butonları */
.kategori-filtre-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
}

.kategori-btn {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: white;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kategori-btn:active {
    transform: scale(0.98);
}

.kategori-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    font-weight: 600;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.action-buttons .btn {
    flex: 1;
    min-width: 200px;
    justify-content: center;
}

/* Image Upload */
.image-upload {
    position: relative;
    display: inline-block;
    width: 100%;
}

.image-preview {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    border: 2px solid var(--border-color);
}

.image-upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--light-color);
    cursor: pointer;
    transition: var(--transition);
    min-height: 120px;
}

.image-upload-btn:active {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

/* Responsive */
@media (min-width: 768px) {
    .main-content {
        flex: 1;
        padding: 2rem;
    }
    
    .burger-menu-btn {
        top: 1.5rem;
        left: 1.5rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

/* Loading Spinner */
.spinner {
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* Sepet İkonu */
.sepet-icon-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: white;
    border: none;
    box-shadow: var(--shadow-lg);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.sepet-icon-btn:active {
    transform: scale(0.95);
}

.sepet-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border: 2px solid white;
}

/* Sepet Drawer */
.sepet-drawer {
    position: fixed;
    top: 0;
    right: -600px;
    width: 600px;
    max-width: 90vw;
    height: 100vh;
    background: white;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sepet-drawer.open {
    right: 0;
}

.sepet-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: white;
    flex-shrink: 0;
}

.sepet-drawer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sepet-count {
    color: var(--text-light);
    font-weight: 400;
}

.sepet-close-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.sepet-close-btn:active {
    background: var(--light-color);
}

.sepet-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    -webkit-overflow-scrolling: touch;
}

/* Sepet Overlay */
.sepet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: var(--transition);
}

.sepet-overlay.show {
    display: block;
    opacity: 1;
}

/* Ödeme Yöntemi Butonları */
.odeme-yontemi-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.odeme-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: white;
    cursor: pointer;
    transition: var(--transition);
    min-height: 80px;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
}

.odeme-btn i {
    font-size: 1.5rem;
    color: var(--text-light);
}

.odeme-btn span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
}

.odeme-btn:active {
    transform: scale(0.98);
}

.odeme-btn.active,
input[type="radio"]:checked + .odeme-btn {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.1);
}

.odeme-btn.active i,
input[type="radio"]:checked + .odeme-btn i {
    color: var(--primary-color);
}

.odeme-btn.active span,
input[type="radio"]:checked + .odeme-btn span {
    color: var(--primary-color);
    font-weight: 600;
}

/* Miktar Kontrol */
.miktar-kontrol {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.miktar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--light-color);
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--border-color);
    min-width: 36px;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
}

.miktar-btn:active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(0.95);
}

.miktar-azalt {
    border-color: var(--danger-color);
    color: var(--danger-color);
}

.miktar-azalt:active {
    background: var(--danger-color);
    color: white;
}

.miktar-artir {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.miktar-artir:active {
    background: var(--secondary-color);
    color: white;
}

.miktar-deger {
    font-weight: 600;
    font-size: 1.1rem;
    min-width: 40px;
    text-align: center;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .sepet-drawer {
        width: 100vw;
        right: -100vw;
    }
}

@media (max-width: 480px) {
    .sepet-icon-btn {
        bottom: 1rem;
        right: 1rem;
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }
    
    .odeme-yontemi-buttons {
        gap: 0.5rem;
    }
    
    .odeme-btn {
        padding: 0.75rem;
        min-height: 70px;
    }
    
    .odeme-btn i {
        font-size: 1.25rem;
    }
    
    .odeme-btn span {
        font-size: 0.85rem;
    }
    
    .miktar-kontrol {
        gap: 0.5rem;
    }
    
    .miktar-btn {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }
    
    .miktar-deger {
        font-size: 1rem;
        min-width: 35px;
    }
}

