/* style.css - Kuzgun Hırdavat Premium Tasarım Sistemi */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-main: #0b0f19;
    --bg-surface: #131b2e;
    --bg-surface-hover: #1e2942;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --accent-glow: rgba(245, 158, 11, 0.35);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(255, 255, 255, 0.06);
    --border-color-focus: rgba(245, 158, 11, 0.5);
    --success: #10b981;
    --danger: #ef4444;
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 2px 8px -2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 12px 24px -4px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 20px 40px -4px rgba(0, 0, 0, 0.8), 0 0 50px 0 rgba(245, 158, 11, 0.05);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Gradients */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.04) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.02) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button, input, textarea, select {
    font-family: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout Containers */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation */
header {
    background: rgba(19, 27, 46, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent);
}

.logo i {
    font-size: 28px;
    color: var(--accent);
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-icon-btn {
    position: relative;
    font-size: 22px;
    color: var(--text-secondary);
    padding: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-fast);
}

.cart-icon-btn:hover {
    color: var(--accent);
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px var(--accent-glow);
    animation: pulse 2s infinite;
}

.admin-btn {
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
}

.admin-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* FIRSAT ÜRÜNÜ (Hero Section) */
.hero-section {
    padding: 60px 0;
}

.hero-card {
    background: linear-gradient(135deg, rgba(19, 27, 46, 0.9) 0%, rgba(11, 15, 25, 0.95) 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, rgba(0,0,0,0) 80%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    margin-bottom: 24px;
    animation: float 3s ease-in-out infinite;
}

.hero-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 32px;
}

.hero-price-box {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-old-price {
    color: var(--text-muted);
    font-size: 18px;
    text-decoration: line-through;
}

.hero-new-price {
    color: var(--accent);
    font-size: 36px;
    font-weight: 800;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #000;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 20px var(--accent-glow);
    transition: var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-image {
    max-height: 400px;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.5));
    animation: hover-slow 6s ease-in-out infinite;
}

/* Category Filters */
.section-header {
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
    padding-left: 16px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 28px;
    background-color: var(--accent);
    border-radius: 4px;
    box-shadow: 0 0 10px var(--accent-glow);
}

.category-tabs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none; /* Firefox */
}

.category-tabs::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.category-tab {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.category-tab:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.category-tab.active {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    box-shadow: 0 4px 12px var(--accent-glow);
}

/* Product Cards Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}

.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.5), 0 0 30px 0 rgba(245, 158, 11, 0.05);
}

.product-image-container {
    position: relative;
    background: rgba(0, 0, 0, 0.15);
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.product-image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.discount-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--danger);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

.deal-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent);
    color: #000;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px var(--accent-glow);
}

.product-details {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-name {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 48px;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    margin-bottom: 20px;
}

.product-old-price {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
}

.btn-card-add {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.product-card:hover .btn-card-add {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    box-shadow: 0 4px 12px var(--accent-glow);
}

/* Cart Page */
.page-header {
    padding: 40px 0 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

.cart-items {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 2fr 1.2fr 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cart-item:first-child {
    padding-top: 0;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.cart-item-name {
    font-size: 16px;
    font-weight: 600;
}

.cart-item-name a:hover {
    color: var(--accent);
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
}

.qty-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.qty-input {
    width: 25px;
    text-align: center;
    font-weight: 600;
}

.cart-item-price {
    font-weight: 700;
    font-size: 16px;
    text-align: right;
}

.cart-item-remove {
    color: var(--text-muted);
    cursor: pointer;
    font-size: 18px;
    padding: 8px;
    border-radius: 50%;
}

.cart-item-remove:hover {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
}

/* Order Summary Box */
.summary-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    position: sticky;
    top: 104px;
    height: fit-content;
}

.summary-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--text-secondary);
}

.summary-row.total {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: 8px;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
}

.summary-row.total span:last-child {
    color: var(--accent);
}

.btn-checkout {
    width: 100%;
    margin-top: 24px;
    padding: 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #000;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--accent-glow);
    display: block;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

/* Checkout Forms */
.form-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 15px;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

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

/* Payment / IBAN Page */
.payment-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 40px;
}

.iban-box {
    background: rgba(0, 0, 0, 0.2);
    border: 1px dashed rgba(245, 158, 11, 0.4);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.iban-details h4 {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.iban-details p.bank {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.iban-details p.owner {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.iban-number-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.iban-val {
    font-family: monospace;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--accent);
}

.btn-copy {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent);
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-copy:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.copy-success-tip {
    font-size: 12px;
    color: var(--success);
    margin-top: 4px;
    display: none;
}

/* Upload Dekont Area */
.upload-container {
    border: 2px dashed var(--border-color);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.1);
    transition: var(--transition-fast);
    position: relative;
}

.upload-container:hover {
    border-color: var(--accent);
    background: rgba(245, 158, 11, 0.02);
}

.upload-icon {
    font-size: 40px;
    color: var(--text-muted);
    margin-bottom: 16px;
    transition: var(--transition-fast);
}

.upload-container:hover .upload-icon {
    color: var(--accent);
    transform: translateY(-4px);
}

.upload-container p {
    font-size: 15px;
    margin-bottom: 8px;
    font-weight: 500;
}

.upload-container span {
    font-size: 12px;
    color: var(--text-muted);
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.uploaded-file-preview {
    margin-top: 16px;
    font-size: 14px;
    color: var(--success);
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Success & Whatsapp Redirection */
.success-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    max-width: 600px;
    margin: 40px auto 80px;
    box-shadow: var(--shadow-lg);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 24px;
    animation: scale-up 0.5s ease-out;
}

.success-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

.success-desc {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 32px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    transition: var(--transition-fast);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

/* Admin Dashboard layout */
.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: var(--bg-surface);
    border-right: 1px solid var(--border-color);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
}

.admin-sidebar-logo {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 40px;
    padding-left: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.admin-menu-item:hover, .admin-menu-item.active {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
}

.admin-menu-item.active {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent);
    border-left: 3px solid var(--accent);
}

.admin-content {
    padding: 40px;
    background: var(--bg-main);
    overflow-y: auto;
}

/* Admin Cards / Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-info h5 {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.stat-info p {
    font-size: 28px;
    font-weight: 800;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

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

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

.stat-icon.info {
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
}

/* Admin Tables */
.admin-table-container {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow-x: auto;
    margin-bottom: 40px;
}

.admin-grid-2col {
    display: grid;
    grid-template-columns: var(--grid-cols, 1fr 1fr);
    gap: 30px;
    align-items: flex-start;
}

@media (max-width: 1024px) {
    .admin-grid-2col {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th {
    background: rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.admin-table td {
    padding: 16px 20px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

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

.admin-table tr:hover td {
    background: rgba(255, 255, 255, 0.01);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.badge-pending {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent);
}

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

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

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); box-shadow: 0 0 14px var(--accent-glow); }
    100% { transform: scale(1); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

@keyframes hover-slow {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes scale-up {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 30px;
}

/* Product Detail Page Styles */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    margin-top: 40px;
    margin-bottom: 80px;
}

.product-detail-img-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 450px;
    max-height: 550px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.product-detail-img-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    pointer-events: none;
}

.product-detail-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    z-index: 2;
    transition: transform var(--transition-smooth);
}

.product-detail-img-card:hover .product-detail-img {
    transform: scale(1.03);
}

.product-detail-info {
    display: flex;
    flex-direction: column;
}

.product-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

.product-detail-back:hover {
    color: var(--accent);
}

.product-detail-cat {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.product-detail-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.product-detail-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

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

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

.product-detail-price-box {
    display: flex;
    align-items: baseline;
    gap: 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    padding: 20px 24px;
    border-radius: 16px;
    margin-bottom: 30px;
}

.product-detail-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
}

.product-detail-old-price {
    font-size: 18px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-detail-discount {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
}

.product-detail-desc-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.product-detail-desc {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
    white-space: pre-line;
}

.product-detail-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.product-detail-qty {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    height: 48px;
}

.product-detail-qty-btn {
    width: 44px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.product-detail-qty-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.product-detail-qty-input {
    width: 40px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    background: none;
    border: none;
    outline: none;
}

.product-detail-add-btn {
    height: 48px;
    padding: 0 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #000;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--accent-glow);
    transition: var(--transition-fast);
}

.product-detail-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.product-detail-add-btn:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.product-detail-trust {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    color: var(--text-secondary);
}

.trust-item i {
    font-size: 18px;
    color: var(--accent);
}

.related-products-section {
    margin-top: 80px;
    border-top: 1px solid var(--border-color);
    padding-top: 60px;
    margin-bottom: 40px;
}

.related-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: left;
}

/* Responsive Styles & Mobile Compatibility */

/* Nav Toggle (CSS Hamburger) */
.nav-toggle-label {
    display: none;
}

@media (max-width: 1024px) {
    .hero-card {
        grid-template-columns: 1fr;
        padding: 32px;
        gap: 32px;
        text-align: center;
    }
    .hero-image-wrapper {
        order: -1;
    }
    .hero-image {
        max-height: 280px;
    }
    .hero-price-box {
        justify-content: center;
    }
    .hero-title {
        font-size: 32px;
    }
    .cart-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* Payment & Forms collapsing on tablets */
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .form-card, .payment-card {
        padding: 24px;
    }
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* Admin Layout Mobile Menu Drawer */
    .admin-page-container {
        flex-direction: column;
    }
    .admin-sidebar {
        position: fixed;
        top: 0;
        left: -260px;
        height: 100vh;
        width: 260px;
        z-index: 1000;
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-lg);
    }
    .admin-sidebar-toggle:checked ~ .admin-page-container .admin-sidebar {
        left: 0;
    }
    .admin-main-content {
        max-width: 100%;
        padding: 20px;
    }
    .admin-sidebar-toggle-label {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 24px;
        right: 24px;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: var(--accent);
        color: #000;
        font-size: 20px;
        cursor: pointer;
        z-index: 1001;
        box-shadow: 0 4px 20px var(--accent-glow);
        border: 1px solid rgba(255,255,255,0.1);
        transition: var(--transition-fast);
    }
    .admin-sidebar-toggle-label:hover {
        transform: scale(1.05);
    }
    /* Hamburger animasyonu */
    .admin-sidebar-toggle:checked ~ .admin-sidebar-toggle-label {
        background: var(--danger);
        color: #fff;
    }
}

@media (max-width: 768px) {
    /* Header & Mobile Navigation */
    .nav-toggle-label {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        color: var(--text-secondary);
        cursor: pointer;
        padding: 8px 12px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid var(--border-color);
        transition: var(--transition-fast);
    }
    .nav-toggle-label:hover {
        color: var(--text-primary);
        border-color: rgba(255,255,255,0.15);
    }
    .nav-menu {
        display: none;
    }
    .nav-toggle:checked ~ .nav-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(19, 27, 46, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-color);
        padding: 24px;
        gap: 16px;
        z-index: 99;
        animation: scale-up 0.2s ease-out;
    }
    .nav-toggle:checked ~ .nav-menu .nav-link {
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.02);
    }
    .nav-toggle:checked ~ .nav-menu .nav-link::after {
        display: none;
    }
    .nav-toggle:checked ~ .nav-toggle-label .menu-open-icon {
        display: none !important;
    }
    .nav-toggle:checked ~ .nav-toggle-label .menu-close-icon {
        display: block !important;
    }

    /* Section Headers */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .category-tabs {
        width: 100%;
    }

    /* Cart Items Mobile Grid */
    .cart-item {
        grid-template-columns: 80px 1fr;
        grid-template-areas: 
            "img details"
            "qty price"
            "remove remove";
        gap: 16px;
        padding: 16px 0;
    }
    .cart-item-img {
        grid-area: img;
        width: 80px;
        height: 80px;
    }
    .cart-item-details {
        grid-area: details;
    }
    .cart-item-qty {
        grid-area: qty;
        align-self: center;
    }
    .cart-item-price {
        grid-area: price;
        text-align: right;
        align-self: center;
    }
    .cart-item-remove {
        grid-area: remove;
        text-align: center;
        background: rgba(239, 68, 68, 0.05);
        border: 1px solid rgba(239, 68, 68, 0.1);
        width: 100%;
        border-radius: 8px;
        padding: 6px;
        color: var(--danger);
    }
    .cart-item-remove:hover {
        background: rgba(239, 68, 68, 0.1);
    }

    .form-card, .payment-card {
        padding: 20px;
    }
    .iban-box {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        align-items: center;
        padding: 20px;
    }
    .iban-val {
        font-size: 15px;
    }
    .btn-whatsapp {
        width: 100%;
    }
}

/* 2-Column Mobile Catalog styling */
@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }
    .header-container {
        padding: 0 16px;
    }
    .hero-title {
        font-size: 24px;
    }
    .hero-card {
        padding: 20px;
    }
    .hero-image {
        max-height: 200px;
    }
    .btn-primary {
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 10px;
    }
    
    /* 2 Columns grid for tight modern catalog */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0;
        margin-bottom: 40px;
    }
    .product-card {
        border-radius: 12px;
    }
    .product-image-container {
        height: 130px;
        padding: 10px;
    }
    .product-details {
        padding: 12px;
    }
    .product-name {
        font-size: 13px;
        height: 36px;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    .product-price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        margin-bottom: 12px;
    }
    .product-price {
        font-size: 15px;
    }
    .product-old-price {
        font-size: 11px;
    }
    .btn-card-add {
        padding: 8px;
        font-size: 12px;
        border-radius: 8px;
    }
    
    .discount-tag {
        font-size: 10px;
        padding: 2px 4px;
    }
    .deal-tag {
        font-size: 9px;
        padding: 2px 4px;
    }
}

/* Product Detail Page Mobile Adjustments */
@media (max-width: 1024px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .product-detail-img-card {
        min-height: 350px;
        max-height: 400px;
        padding: 30px;
    }
    .product-detail-title {
        font-size: 26px;
    }
}
@media (max-width: 768px) {
    .product-detail-layout {
        margin-bottom: 50px;
    }
    .product-detail-img-card {
        min-height: 300px;
        max-height: 350px;
    }
    .product-detail-title {
        font-size: 24px;
    }
    .product-detail-price {
        font-size: 26px;
    }
    .product-detail-trust {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .success-card {
        padding: 40px 24px;
        margin: 20px auto 40px;
        border-radius: 16px;
    }
    .success-title {
        font-size: 24px;
    }
}

/* Image Lightbox Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(11, 15, 25, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    justify-content: center;
    align-items: center;
}

.image-modal-content {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: zoom-in-animate 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes zoom-in-animate {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.image-modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--text-secondary);
    font-size: 40px;
    font-weight: bold;
    transition: var(--transition-fast);
    cursor: pointer;
    z-index: 2001;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 50%;
}

.image-modal-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .image-modal-content {
        max-width: 95%;
        max-height: 80vh;
    }
    .image-modal-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 32px;
    }
}


