/**
 * Nexus Framework - Temel CSS
 */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

header,
.site-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 45%, #334155 100%);
    color: #f8fafc;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav a {
    color: #f8fafc;
    text-decoration: none;
    transition: color 0.2s, background 0.2s, transform 0.2s;
}

main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    background: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Footer Sticky */
html, body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: auto;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

footer p {
    margin: 5px 0;
    color: rgba(255,255,255,0.8);
}

footer .footer-credit {
    margin-top: 10px;
    font-size: 0.9em;
}

footer a {
    color: rgba(255,255,255,0.9);
    text-decoration: underline;
    transition: color 0.3s;
}

footer a:hover {
    color: white;
    text-decoration: none;
}

/* Auth Pages */
.auth-container {
    max-width: 450px;
    margin: 40px auto;
    padding: 20px;
}

.auth-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid rgba(102, 126, 234, 0.15);
}

.auth-container .form-control {
    background: #f8f9fc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    color: #1e293b;
    transition: border-color 0.2s, background 0.2s;
}
.auth-container .form-control:focus {
    border-color: #667eea;
    background: #fff;
    outline: none;
}
.auth-container .form-control.error {
    border-color: #dc2626;
    background: #fef2f2;
}
.auth-container .form-group label {
    color: #475569;
    font-weight: 500;
    margin-bottom: 6px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 20px;
}
.auth-logo img {
    display: inline-block;
    width: 96px;
    height: 96px;
    border-radius: 16px;
    object-fit: contain;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.auth-box h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #1e293b;
    font-weight: 600;
}

/* Mobil: Login formu daha belirgin, zemin ile form alanları renk ayrımı */
@media (max-width: 768px) {
    .auth-container {
        padding: 16px;
        margin: 24px auto;
        min-height: 0;
    }
    .auth-box {
        background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
        padding: 28px 24px;
        border-radius: 16px;
        border: 2px solid rgba(102, 126, 234, 0.25);
        box-shadow: 0 8px 32px rgba(102, 126, 234, 0.12), 0 2px 8px rgba(0,0,0,0.06);
    }
    .auth-container .form-control {
        background: #fff;
        border: 2px solid #c7d2fe;
        border-radius: 12px;
        padding: 14px 16px;
        font-size: 16px;
    }
    .auth-container .form-control:focus {
        border-color: #667eea;
        background: #fefefe;
        box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
    }
    .auth-box h2 {
        color: #334155;
        font-size: 1.35rem;
    }
    .auth-container .btn-primary {
        border-radius: 12px;
        padding: 14px;
        font-weight: 600;
        box-shadow: 0 4px 14px rgba(102, 126, 234, 0.35);
    }
    .auth-links a {
        color: #667eea;
        font-weight: 500;
    }
}

.auth-hint {
    margin: -10px 0 20px;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

.form-hint-activation {
    margin-top: 6px;
    color: #0d6efd;
    font-size: 0.8em;
    font-weight: normal;
    line-height: 1.35;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
}

.auth-links a {
    color: #007bff;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

.legal-checkboxes { margin-top: 1rem; }
.legal-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #444;
}
.legal-check input { margin-top: 3px; flex-shrink: 0; accent-color: #667eea; }
.legal-check a { color: #667eea; text-decoration: underline; }

.footer-legal { margin-bottom: 0.5rem; font-size: 0.9rem; }
.footer-legal a { color: rgba(255,255,255,0.85); text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }

.btn-block {
    width: 100%;
    display: block;
    text-align: center;
}

/* Honeypot field gizle */
.d-none {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Flash: header menüden hemen sonra, normal akışta */
.flash {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    margin: 0;
    border-radius: 0;
    border-left: none;
    border-bottom: 4px solid;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.flash-text {
    flex: 1;
    text-align: center;
    min-width: 0;
}

.flash-text a {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
}

.flash-close {
    flex-shrink: 0;
    margin-left: auto;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: rgba(0,0,0,0.1);
    color: inherit;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 6px;
    opacity: 0.85;
    transition: opacity 0.2s, background 0.2s;
}

.flash-close:hover {
    opacity: 1;
    background: rgba(0,0,0,0.15);
}

.flash-success {
    background-color: #d4edda;
    color: #155724;
    border-color: #28a745;
}

.flash-error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #dc3545;
}

.flash-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-color: #17a2b8;
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.95em;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.required-asterisk {
    color: #dc3545;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
}

/* Welcome Section */
.welcome-section {
    text-align: center;
    padding: 40px 0;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
}

.welcome-section h1 {
    font-size: 3em;
    margin-bottom: 15px;
    color: white;
}

.welcome-message {
    font-size: 1.3em;
    margin-bottom: 10px;
}

.version {
    font-size: 0.9em;
    opacity: 0.9;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.feature-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-card h3 {
    color: #333;
    margin-bottom: 10px;
}

.feature-card p {
    color: #666;
    margin: 0;
}

/* Quick Start */
.quick-start {
    margin: 40px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
}

.code-example {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 20px;
    border-radius: 5px;
    overflow-x: auto;
}

.code-example pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.code-example code {
    color: #f8f8f2;
}

/* Quick Links */
.quick-links {
    margin-top: 40px;
}

.quick-links ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.quick-links li {
    padding: 0;
}

.btn-link {
    display: inline-block;
    padding: 12px 24px;
    background: #007bff;
    color: white !important;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-link:hover {
    background: #0056b3;
    text-decoration: none;
}

/* Product Detail Styles */
.product-detail {
    margin-top: 30px;
}

.product-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.product-info p {
    margin: 15px 0;
    font-size: 16px;
}

.product-info strong {
    color: #333;
    min-width: 150px;
    display: inline-block;
}

.detail-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

.detail-table th {
    background: #e9ecef;
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid #dee2e6;
    width: 200px;
}

.detail-table td {
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
}

.detail-table tr:hover {
    background: #f8f9fa;
}

.product-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #dee2e6;
}

.product-actions .btn {
    margin-right: 10px;
    margin-bottom: 10px;
}

.alert {
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 5px;
    margin: 20px 0;
}

.alert p {
    margin-bottom: 15px;
    color: #856404;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 3em;
    margin-bottom: 15px;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Slogan slide - iki metin sırayla */
.hero-subtitle-slider {
    margin-bottom: 30px;
    min-height: 5em;
    position: relative;
    text-align: center;
}

.hero-subtitle-slide {
    margin: 0;
    font-size: 1.3em;
    line-height: 1.5;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    padding: 2px;
    box-sizing: border-box;
    opacity: 0;
    animation: hero-slide-fade 14s ease-in-out infinite;
}

.hero-subtitle-slide-1 {
    animation-name: hero-slide-fade-1;
}

.hero-subtitle-slide-2 {
    animation-name: hero-slide-fade-2;
}

@keyframes hero-slide-fade-1 {
    0%, 45% { opacity: 0.95; }
    52%, 100% { opacity: 0; }
}

@keyframes hero-slide-fade-2 {
    0%, 52% { opacity: 0; }
    60%, 95% { opacity: 0.95; }
    100% { opacity: 0; }
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1em;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: #667eea;
}

/* Categories Section */
.categories-section {
    margin: 40px 0;
    position: relative;
    z-index: 10;
}

.section-title {
    font-size: 2em;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.category-card {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    z-index: 10;
}

.category-card .category-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #667eea;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: bold;
    min-width: 25px;
    text-align: center;
    z-index: 15;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    text-decoration: none;
    color: #667eea;
    z-index: 20;
}

.category-card.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}
.category-card.active .category-icon { color: rgba(255,255,255,0.95); }
.category-card.active .category-badge { background: rgba(255,255,255,0.3); color: white; }

.category-icon {
    font-size: 3em;
    color: #667eea;
    margin-bottom: 15px;
}

.category-card h3 {
    margin: 0;
    font-size: 1.1em;
}

/* Products Section */
.products-section {
    margin: 40px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}

.product-image {
    width: 100%;
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.new-badge {
    background: #28a745;
    color: white;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-placeholder {
    color: #ccc;
    font-size: 3em;
}

.product-info {
    padding: 20px;
}

.product-title {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    color: #333;
}

.product-description {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
    min-height: 50px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
    gap: 10px;
}

.product-badges {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.product-price {
    font-size: 1.3em;
    font-weight: bold;
    color: #28a745;
}

.product-meta-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.product-date {
    color: #666;
    font-size: 0.85em;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-date i {
    color: #999;
    font-size: 0.9em;
}

.product-views {
    color: #666;
    font-size: 0.9em;
}

.product-views i {
    margin-right: 5px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.85rem 20px;
    position: relative;
    gap: 1rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #f8fafc;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
}

.nav-brand:hover {
    color: #f8fafc;
    text-decoration: none;
    transform: translateY(-1px);
    opacity: 0.95;
}

.nav-brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    border-radius: 10px;
    font-size: 1rem;
}

.nav-brand-text {
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.35rem;
    align-items: center;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 10px;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.nav-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-link i {
    font-size: 0.9em;
    opacity: 0.9;
}

.nav-link-arrow,
.nav-link-badge,
.nav-link-meta,
.nav-menu-divider {
    display: none;
}

.nav-link-text {
    display: inline-flex;
    align-items: center;
}

.nav-link:hover {
    background: rgba(56, 189, 248, 0.12);
    color: #f8fafc;
}

.nav-link-cta {
    background: rgba(56, 189, 248, 0.15);
    color: #7dd3fc;
}

.nav-link-cta:hover {
    background: rgba(56, 189, 248, 0.25);
    color: #bae6fd;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 10px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.nav-btn i { font-size: 0.9em; opacity: 0.9; }
.nav-btn:hover { background: rgba(56, 189, 248, 0.12); color: #f8fafc; }

/* Bildirim butonu: diğer menü öğeleriyle aynı görünsün (button varsayılan kutusu kaldırıldı) */
.nav-links .nav-btn-push,
.nav-links button.nav-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: inherit;
    font: inherit;
}
.nav-links .nav-btn-push:hover,
.nav-links button.nav-btn:hover {
    background: rgba(56, 189, 248, 0.12);
    color: #f8fafc;
}

/* Üye Bilgilerim dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
    background: transparent;
    border: none;
    cursor: pointer;
    color: inherit;
    font: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 10px;
    text-decoration: none;
    white-space: nowrap;
}
.nav-dropdown-trigger:hover { background: rgba(56, 189, 248, 0.12); color: #f8fafc; }
.nav-dropdown-chevron { font-size: 0.7em; margin-left: 0.2rem; opacity: 0.8; transition: transform 0.2s; }
.nav-dropdown.open .nav-dropdown-chevron { transform: rotate(180deg); }
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.35rem;
    min-width: 200px;
    background: #1e293b;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    padding: 0.4rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    z-index: 1001;
    border: 1px solid rgba(248,250,252,0.1);
}
.nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.95rem;
    width: 100%;
    text-align: left;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, color 0.15s;
}
.nav-dropdown-item:hover { background: rgba(56, 189, 248, 0.15); color: #f8fafc; }
.nav-dropdown-item i { width: 1.2em; opacity: 0.9; }
.nav-dropdown-item-logout:hover { background: rgba(248, 113, 113, 0.15); color: #fca5a5; }
.nav-dropdown-item-btn { width: 100%; }
@media (max-width: 768px) {
    .nav-dropdown-menu {
        position: static;
        margin-top: 0.25rem;
        margin-left: 0;
        margin-right: 0;
        box-shadow: none;
        background: rgba(0,0,0,0.15);
        border-radius: 8px;
        padding: 0.25rem 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }
    .nav-dropdown.open .nav-dropdown-menu { display: block; }
    .nav-dropdown-trigger { width: 100%; justify-content: flex-start; }
    .nav-dropdown-item { padding: 0.6rem 1rem; }
}

.nav-btn-install {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
}
.nav-btn-install:hover {
    background: rgba(34, 197, 94, 0.25);
    color: #bbf7d0;
}
/* Masaüstünde Uygulama Yükle butonunu gizle */
@media (min-width: 769px) {
    .nav-btn-install { display: none !important; }
}
/* Ana ekrana eklendiyse (PWA standalone) butonu gizle */
@media (display-mode: standalone) {
    .nav-btn-install { display: none !important; }
}
.nav-btn-install.hide-install-btn { display: none !important; }

.nav-btn-ghost {
    border: 1px solid rgba(248, 250, 252, 0.35);
    color: #f8fafc;
}

.nav-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(248, 250, 252, 0.5);
}

.nav-btn-primary {
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
    color: #fff !important;
    box-shadow: 0 2px 10px rgba(14, 165, 233, 0.35);
}

.nav-btn-primary:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.4);
}

.nav-admin {
    background: rgba(139, 92, 246, 0.2);
    color: #c4b5fd !important;
}

.nav-admin:hover {
    background: rgba(139, 92, 246, 0.3);
    color: #e9d5ff !important;
}

.nav-link-logout {
    color: #94a3b8;
}

.nav-link-logout:hover {
    background: rgba(248, 113, 113, 0.15);
    color: #fca5a5;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    transition: background 0.2s, border-color 0.2s;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2.5px;
    background: #e2e8f0;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active {
    background: rgba(56, 189, 248, 0.2);
    border-color: rgba(56, 189, 248, 0.4);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav overlay (mobile) */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.menu-open {
    overflow: hidden;
}

/* Uygulama Yükle – iOS talimat modalı */
.install-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.install-modal.is-open {
    opacity: 1;
    visibility: visible;
}
.install-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
}
.install-modal-content {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #1e293b;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.install-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.install-modal-header h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #f8fafc;
}
.install-modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 10px;
    color: #e2e8f0;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.install-modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}
.install-modal-body {
    padding: 1.25rem 1.25rem 1.5rem;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.55;
}
.install-modal-body p { margin: 0 0 0.75rem; }
.install-modal-body ol {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}
.install-modal-body li { margin-bottom: 0.5rem; }
.install-modal-hint {
    margin-top: 1rem !important;
    padding: 0.75rem 1rem;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 10px;
    font-size: 0.9rem;
    color: #bae6fd;
}

body.install-modal-open { overflow: hidden; }

/* Mobil: Sağ altta yuvarlak İlan Ekle (FAB) – sadece cep telefonu */
.fab-mobile-add {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #667eea;
    color: #fff;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.5);
    z-index: 999;
    transition: transform 0.2s, box-shadow 0.2s;
}
.fab-mobile-add:hover, .fab-mobile-add:focus { color: #fff; transform: scale(1.05); box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6); }
.fab-mobile-add .fab-icon {
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    margin-top: -2px;
}
@media (max-width: 768px) {
    .fab-mobile-add { display: flex; }
}
@media (min-width: 769px) {
    .fab-mobile-add { display: none !important; }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Admin sayfaları: masaüstünde de sayfa genişliği kadar açılsın */
.admin-page .container {
    max-width: 100%;
    width: 100%;
    padding: 0 24px;
}

main {
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    min-height: calc(100vh - 200px);
}

/* Products Page */
.products-page {
    padding: 40px 0;
}

.category-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
}

.category-actions .back-to-listings {
    margin: 0;
}

.category-filter-tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.category-filter-tabs .filter-tab {
    padding: 8px 16px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.category-filter-tabs .filter-tab:hover {
    background: #e0e0e0;
    color: #333;
}

.category-filter-tabs .filter-tab.active {
    background: #667eea;
    color: #fff;
}

.page-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #333;
}

.categories-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.filter-btn {
    padding: 10px 20px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #667eea;
    color: white;
    text-decoration: none;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state i {
    font-size: 4em;
    color: #ccc;
    margin-bottom: 20px;
}

.empty-state h3 {
    margin-bottom: 10px;
}

.empty-state a {
    color: #667eea;
}

/* Sayfalama (Önceki / Sonraki) */
.pagination-wrap {
    margin-top: 28px;
    padding: 16px 0;
}
.pagination-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.pagination-info {
    font-size: 0.95rem;
    color: #555;
}
.pagination-btn.disabled {
    pointer-events: none;
    opacity: 0.6;
}
@media (max-width: 480px) {
    .pagination-inner {
        flex-direction: column;
    }
}

/* Product Detail Page */
.product-detail-page {
    padding: 40px 0;
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.product-images {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.main-image {
    width: 100%;
    margin-bottom: 15px;
}

.main-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Image Carousel */
.image-carousel {
    position: relative;
    width: 100%;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    touch-action: pan-y pinch-zoom;
    user-select: none;
    -webkit-user-select: none;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.carousel-btn:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn i {
    font-size: 1.2em;
    color: #333;
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 15px;
    border-radius: 20px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: white;
    transform: scale(1.3);
}

.carousel-counter {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 10;
}

.image-placeholder-large {
    width: 100%;
    height: 500px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #ccc;
}

.image-placeholder-large i {
    font-size: 5em;
    margin-bottom: 15px;
}

.thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #667eea;
    transform: scale(1.05);
}

.product-info-detail {
    padding: 20px;
}

.product-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.product-title-detail {
    font-size: 2em;
    margin: 0;
    color: #333;
}
.product-title-icon {
    color: #667eea;
    font-size: 1.4rem;
}
.product-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}
.product-price-big {
    font-size: 3rem;
    font-weight: bold;
    color: #28a745;
}
.product-price-icon {
    color: #28a745;
    font-size: 2rem;
}

.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    color: #666;
    font-size: 0.9em;
}

.category-badge,
.views-count,
.created-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.category-badge {
    background: #e7f3ff;
    padding: 5px 15px;
    border-radius: 20px;
    color: #007bff;
}

.product-seller-firma {
    margin-bottom: 16px;
    font-size: 0.95em;
}
.product-seller-firma i {
    margin-right: 6px;
    color: #667eea;
}
.product-seller-firma a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}
.product-seller-firma a:hover {
    text-decoration: underline;
}

.product-price-detail {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}
.product-price-detail .price {
    font-size: 2.5em;
    font-weight: bold;
    color: #28a745;
}
.product-price-row .product-price-big {
    font-size: 3rem;
    font-weight: bold;
    color: #28a745;
}

.product-features {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-label {
    font-weight: 600;
    color: #333;
    min-width: 80px;
}

.feature-value {
    display: flex;
    align-items: center;
}

/* Badge Stilleri */
.badge {
    display: inline-block;
    padding: 6px 12px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 6px;
}

.badge-success {
    background-color: #28a745;
    color: white;
}

.badge-warning {
    background-color: #ffc107;
    color: #333;
}

.badge-info {
    background-color: #17a2b8;
    color: white;
}

.badge-secondary {
    background-color: #6c757d;
    color: white;
}

.product-features-text {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.product-features-text h3 {
    margin-bottom: 12px;
    color: #333;
    font-size: 1.1em;
}

.product-features-text .features-content {
    line-height: 1.7;
    color: #444;
    white-space: pre-wrap;
}

/* Form: label + Yapay Zeka İle Doldur butonu aynı satırda */
.form-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.form-group-header label {
    margin-bottom: 0;
}

/* İlan listesi arama formu - Ara butonu formun sağında sabit */
.products-search-form {
    margin-bottom: 20px;
}

.products-search-form .search-input-wrap {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    max-width: 500px;
}

.products-search-form .search-input-wrap input {
    flex: 1;
    min-width: 0;
}

.products-search-form .search-input-wrap .btn {
    flex-shrink: 0;
}

/* Detay sayfası etiketler */
.product-tags-detail {
    margin: 20px 0;
}

.product-tags-detail h3 {
    margin-bottom: 10px;
    color: #333;
    font-size: 1.1em;
}

.product-tags-detail .tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-tags-detail .tag-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 0.9em;
    color: #555;
}

.product-description-detail {
    margin: 30px 0;
    line-height: 1.8;
}

.product-description-detail h3 {
    margin-bottom: 15px;
    color: #333;
}

.product-actions {
    margin: 30px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-favorite-buttons {
    width: 100%;
    margin-bottom: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.product-favorite-buttons form {
    margin: 0;
}

.product-favorite-buttons .btn-favorite {
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 8px;
    border: 1.5px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    background: transparent;
}
.product-favorite-buttons .btn-favorite i {
    font-size: 0.95em;
    color: inherit;
}
/* Favori butonları: turuncu çerçeve, yazı siyah */
.product-favorite-buttons .btn-favorite {
    color: #1a1a1a !important;
    border: 1.5px solid #ea580c !important;
    background: transparent !important;
}
.product-favorite-buttons .btn-favorite:hover {
    background: rgba(234, 88, 12, 0.08) !important;
    color: #1a1a1a !important;
    border-color: #ea580c !important;
}

.btn-success {
    background: #25d366;
    color: white;
}

.btn-success:hover {
    background: #128c7e;
    color: white;
}

.btn-outline-success {
    background: transparent;
    color: #25d366;
    border: 2px solid #25d366;
}

.btn-outline-success:hover {
    background: #25d366;
    color: white;
    border-color: #25d366;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
    color: white;
}

.seller-info {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.seller-info h3 {
    margin-bottom: 15px;
}

.related-products {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #eee;
}

.related-products h2 {
    margin-bottom: 30px;
    color: #333;
}

/* Add Product Page */
.add-product-page {
    padding: 20px 0;
    max-width: 900px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
}

.page-title {
    font-size: 2em;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.page-title i {
    color: #667eea;
}

.page-subtitle {
    color: #666;
    font-size: 1.1em;
}

.product-form {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.form-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

.section-title i {
    color: #667eea;
}

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

@media (max-width: 768px) {
    .add-product-page {
        padding: 10px 0;
    }
    
    .product-form {
        padding: 20px 15px;
        border-radius: 10px;
        margin: 0 10px;
    }
    
    .page-header {
        padding: 15px 10px;
        margin-bottom: 20px;
    }
    
    .page-title {
        font-size: 1.5em;
        flex-direction: column;
        gap: 5px;
    }
    
    .page-subtitle {
        font-size: 0.95em;
    }
    
    .form-section {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
    
    .section-title {
        font-size: 1.1em;
        flex-wrap: wrap;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-control {
        font-size: 16px; /* iOS zoom önleme */
        padding: 12px 15px;
    }
    
    .file-upload-label {
        padding: 30px 15px;
    }
    
    .file-upload-label i {
        font-size: 2em;
    }
    
    .file-upload-label span {
        font-size: 1em;
    }
    
    .image-preview-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }
    
    .preview-thumb {
        height: 100px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-submit,
    .btn-cancel {
        width: 100%;
        min-width: auto;
    }
    
    /* Auth Pages */
    .auth-container {
        padding: 20px 15px;
        margin: 20px auto;
    }
    
    /* Products Table */
    .products-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Product Detail Actions */
    .product-actions .btn-lg {
        width: 100%;
        font-size: 1em;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .product-form {
        padding: 15px 10px;
        margin: 0 5px;
    }
    
    .page-title {
        font-size: 1.3em;
    }
    
    .section-title {
        font-size: 1em;
    }
    
    .form-control {
        padding: 10px 12px;
    }
    
    textarea.form-control {
        min-height: 120px;
    }
    
    .checkbox-label {
        font-size: 1.1em;
    }
    
    .checkmark {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
        border-width: 2px;
        margin-right: 12px;
    }
    
    .checkbox-label input[type="checkbox"]:checked + .checkmark::after {
        font-size: 12px;
    }
    
    .checkbox-text {
        font-size: 1em;
    }
    
    .form-row.has-warranty-period {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-row.has-warranty-period .warranty-checkbox {
        align-self: stretch;
    }
}

.form-actions {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-submit {
    min-width: 200px;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-cancel {
    min-width: 150px;
    padding: 15px 30px;
    font-size: 1em;
    text-align: center;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
    display: inline-block;
}

.btn-secondary:hover {
    background: #5a6268;
    color: white;
}

/* File Upload Styling */
.file-upload-label {
    display: block;
    padding: 40px 20px;
    border: 3px dashed #667eea;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #f8f9ff;
    margin-bottom: 15px;
}

.file-upload-label:hover {
    background: #f0f2ff;
    border-color: #5568d3;
}

.file-upload-label i {
    font-size: 2.5em;
    color: #667eea;
    display: block;
    margin-bottom: 10px;
}

.file-upload-label span {
    font-size: 1.1em;
    color: #667eea;
    font-weight: 600;
}

.file-input {
    display: none;
}

.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.preview-thumb {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.preview-thumb:hover {
    transform: scale(1.05);
}

/* Checkbox Styling */
.warranty-checkbox {
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1.1em;
    user-select: none;
    margin: 0;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    display: inline-block;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    border: 2px solid #667eea;
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s;
    flex-shrink: 0;
    background: white;
    box-shadow: 0 1px 3px rgba(102, 126, 234, 0.25);
}

.checkbox-label:hover .checkmark {
    border-color: #5568d3;
    box-shadow: 0 3px 6px rgba(102, 126, 234, 0.3);
    transform: scale(1.05);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
    box-shadow: 0 3px 8px rgba(102, 126, 234, 0.4);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
}

.checkbox-text {
    color: #333;
    font-weight: 500;
}

.warranty-period-group {
    margin-top: 0;
    display: flex;
    flex-direction: column;
}

.warranty-period-group label {
    margin-bottom: 8px;
}

/* Garanti süresi alanı görünür olduğunda */
.form-row.has-warranty-period {
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 20px;
}

.form-row.has-warranty-period .warranty-checkbox {
    align-self: center;
    margin-bottom: 0;
}

.form-row.has-warranty-period .warranty-period-group {
    display: flex !important;
}

.warranty-period-group {
    margin-top: 15px;
}

.form-text {
    display: block;
    margin-top: 5px;
    font-size: 0.875em;
    color: #6c757d;
}

/* Products List Styles */
.total-info {
    padding: 15px;
    background: #e7f3ff;
    border-left: 4px solid #007bff;
    margin-bottom: 20px;
    border-radius: 4px;
}

.products-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

.products-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.products-table thead {
    background: #2c3e50;
    color: white;
}

.products-table th {
    padding: 15px;
    text-align: left;
    font-weight: bold;
}

.products-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #dee2e6;
}

.products-table tbody tr:hover {
    background: #f8f9fa;
}

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

.products-table .price {
    color: #28a745;
    font-weight: bold;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
    background: #17a2b8;
    color: white;
    border: none;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;
}

.btn-sm:hover {
    background: #138496;
}

.actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #dee2e6;
}

/* Hero Notice - Komisyon Bilgilendirmesi */
.hero-notice {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 20px 30px;
    margin: 30px auto 40px;
    max-width: 800px;
}

.notice-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.notice-content i {
    font-size: 2em;
    color: #4ade80;
    margin-top: 5px;
    flex-shrink: 0;
}

.notice-text {
    flex: 1;
}

.notice-text strong {
    display: block;
    font-size: 1.3em;
    margin-bottom: 8px;
    color: white;
}

.notice-text p {
    margin: 0;
    font-size: 1em;
    opacity: 0.95;
    color: white;
}

/* Corporate Section */
.corporate-section {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 50px 20px;
    margin: 40px 0;
}

.corporate-card {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.corporate-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    color: white;
}

.corporate-content {
    flex: 1;
}

.corporate-content h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #333;
}

.corporate-content p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-outline-primary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Benefits Section */
.benefits-section {
    padding: 60px 20px;
    background: #f8f9fa;
    margin: 40px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid #667eea;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2em;
    color: white;
}

.benefit-card h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #333;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.benefits-cta {
    text-align: center;
    margin-top: 50px;
}

.benefits-cta .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 18px 40px;
    font-size: 1.2em;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.3s;
}

.benefits-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
}

/* Corporate Page Styles */
.corporate-page {
    padding: 40px 0;
}

.corporate-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 40px;
}

.corporate-hero-content h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: white;
}

.corporate-subtitle {
    font-size: 1.2em;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

.corporate-icon-large {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 3em;
}

.corporate-notice {
    background: #e7f3ff;
    border-left: 4px solid #007bff;
    padding: 20px 25px;
    border-radius: 8px;
    margin-bottom: 40px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.corporate-notice .notice-icon {
    font-size: 2em;
    color: #007bff;
    flex-shrink: 0;
}

.corporate-notice .notice-text strong {
    display: block;
    font-size: 1.2em;
    margin-bottom: 8px;
    color: #333;
}

.corporate-notice .notice-text p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.corporate-cta {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 50px 20px;
    text-align: center;
    border-radius: 15px;
    margin-top: 60px;
}

.corporate-cta h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: white;
}

.corporate-cta p {
    font-size: 1.1em;
    margin-bottom: 30px;
    opacity: 0.95;
}

.corporate-cta .btn-primary {
    background: white;
    color: #667eea;
    padding: 18px 40px;
    font-size: 1.2em;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.corporate-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* Nav Corporate Button (gizli olsa da stil hazır) */
.nav-corporate {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white !important;
    padding: 8px 15px !important;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-corporate:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .site-header {
        padding: 0;
    }
    
    .navbar {
        flex-direction: row;
        padding: 0.75rem 16px;
        flex-wrap: wrap;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-overlay {
        display: block;
        pointer-events: none;
    }
    
    .nav-overlay.active {
        pointer-events: auto;
        opacity: 1;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 88vw);
        max-width: 320px;
        background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
        flex-direction: column;
        padding: 5.5rem 1rem 1.5rem;
        gap: 0.5rem;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        overflow-y: auto;
        animation: navSlideIn 0.35s ease;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-menu-divider {
        display: block !important;
        width: 100%;
        height: 1px;
        margin: 0.5rem 0;
        background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.25), transparent);
        flex-shrink: 0;
    }
    
    .nav-links .nav-link {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 1rem 1rem;
        margin: 0;
        border-radius: 16px;
        font-size: 1rem;
        font-weight: 500;
        justify-content: flex-start;
        gap: 1rem;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.06);
        transition: all 0.25s ease;
        color: #e2e8f0;
        text-decoration: none;
        position: relative;
        min-height: 56px;
    }
    
    .nav-links .nav-link:hover {
        background: rgba(56, 189, 248, 0.12);
        border-color: rgba(56, 189, 248, 0.2);
        transform: translateX(4px);
    }
    
    .nav-links .nav-link-icon {
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        border-radius: 14px;
        align-items: center;
        justify-content: center;
        background: rgba(56, 189, 248, 0.15);
        color: #7dd3fc;
    }
    
    .nav-links .nav-link-icon i {
        font-size: 1.1rem;
    }
    
    .nav-links .nav-link-cta .nav-link-icon {
        background: linear-gradient(135deg, rgba(14, 165, 233, 0.35) 0%, rgba(56, 189, 248, 0.25) 100%);
        color: #bae6fd;
    }
    
    .nav-links .nav-link-cta {
        background: linear-gradient(135deg, rgba(14, 165, 233, 0.12) 0%, rgba(56, 189, 248, 0.08) 100%);
        border-color: rgba(56, 189, 248, 0.2);
    }
    
    .nav-links .nav-link-cta:hover {
        background: linear-gradient(135deg, rgba(14, 165, 233, 0.2) 0%, rgba(56, 189, 248, 0.15) 100%);
        border-color: rgba(56, 189, 248, 0.35);
    }
    
    .nav-links .nav-admin .nav-link-icon {
        background: rgba(139, 92, 246, 0.25);
        color: #c4b5fd;
    }
    
    .nav-links .nav-admin {
        background: rgba(139, 92, 246, 0.06);
        border-color: rgba(139, 92, 246, 0.15);
    }
    
    .nav-links .nav-admin:hover {
        background: rgba(139, 92, 246, 0.12);
        border-color: rgba(139, 92, 246, 0.25);
    }
    
    .nav-links .nav-link-logout .nav-link-icon {
        background: rgba(148, 163, 184, 0.2);
        color: #94a3b8;
    }
    
    .nav-links .nav-link-logout:hover {
        background: rgba(248, 113, 113, 0.1);
        border-color: rgba(248, 113, 113, 0.2);
    }
    
    .nav-links .nav-link-logout:hover .nav-link-icon {
        background: rgba(248, 113, 113, 0.2);
        color: #fca5a5;
    }
    
    .nav-links .nav-link-text {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 0.1rem;
        min-width: 0;
    }
    
    .nav-links .nav-link-label {
        text-align: left;
        font-weight: 600;
        font-size: 1rem;
    }
    
    .nav-links .nav-link-meta {
        display: block !important;
        font-size: 0.8rem;
        font-weight: 400;
        color: #94a3b8;
    }
    
    .nav-links .nav-link-badge {
        display: inline-flex !important;
        align-items: center;
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        background: linear-gradient(135deg, #0ea5e9, #38bdf8);
        color: #fff;
        border-radius: 8px;
        flex-shrink: 0;
    }
    
    .nav-links .nav-link-arrow {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.06);
        color: #94a3b8;
        font-size: 0.7rem;
        transition: all 0.2s;
    }
    
    .nav-links .nav-link:hover .nav-link-arrow {
        background: rgba(56, 189, 248, 0.2);
        color: #7dd3fc;
    }
    
    .nav-links .nav-btn-primary {
        background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%) !important;
        border-color: rgba(56, 189, 248, 0.5) !important;
        color: #fff !important;
        justify-content: center;
        padding: 1.1rem 1.25rem;
        box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35);
    }
    
    .nav-links .nav-btn-primary .nav-link-icon {
        background: rgba(255, 255, 255, 0.25) !important;
        color: #fff !important;
    }
    
    .nav-links .nav-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(14, 165, 233, 0.45);
    }
    
    .nav-links .nav-btn-ghost {
        background: transparent !important;
        border: 1px solid rgba(248, 250, 252, 0.25) !important;
        justify-content: center;
    }
    
    .nav-links .nav-btn-ghost .nav-link-icon {
        background: rgba(255, 255, 255, 0.08) !important;
    }
    
    .nav-brand-icon {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }
    
    .nav-brand-text {
        font-size: 1.1rem;
    }
    
    .nav-corporate {
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
        color: white !important;
        border-radius: 12px;
        font-weight: 600;
    }
    
    @keyframes navSlideIn {
        from {
            opacity: 0;
            transform: translateX(24px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    /* Container */
    .container {
        padding: 0 15px;
    }
    
    /* Admin sayfaları: alt butonlar mobilde taşmasın */
    .admin-page .container {
        max-width: 100%;
        overflow-x: hidden;
    }
    .admin-page .admin-links {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .admin-page .admin-links .btn {
        flex: 1 1 calc(50% - 6px);
        min-width: 0;
        max-width: 100%;
        justify-content: center;
        padding: 10px 8px;
        font-size: 0.85rem;
        box-sizing: border-box;
    }
    @media (max-width: 400px) {
        .admin-page .admin-links .btn {
            flex: 1 1 100%;
        }
    }
    
    /* Hero Section - mobilde daha hoş görünüm */
    .hero-section {
        padding: 40px 15px;
        margin-bottom: 30px;
        background: linear-gradient(160deg, #667eea 0%, #764ba2 50%, #5a3d8a 100%);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), inset 0 -1px 0 rgba(0,0,0,0.08);
        position: relative;
    }
    
    .hero-section .container {
        position: relative;
        z-index: 1;
    }
    
    .hero-title {
        font-size: 1.8em;
        margin-bottom: 12px;
        text-shadow: 0 1px 2px rgba(0,0,0,0.2), 0 2px 8px rgba(0,0,0,0.15);
        letter-spacing: 0.02em;
    }
    
    .hero-subtitle-slider {
        margin-bottom: 20px;
        min-height: 6.5em;
        max-width: 92%;
        margin-left: auto;
        margin-right: auto;
        padding: 26px 20px;
        padding-bottom: 24px;
        background: rgba(255,255,255,0.16);
        border-radius: 14px;
        box-shadow: 0 0 0 1px #eab308, 0 2px 12px rgba(0,0,0,0.1);
        border: 1px solid rgba(255,255,255,0.22);
    }
    
    .hero-subtitle-slide {
        font-size: 1em;
        line-height: 1.55;
        padding: 12px 8px;
        padding-bottom: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    /* Categories */
    .categories-section {
        margin: 30px 0;
    }
    
    .section-title {
        font-size: 1.5em;
        margin-bottom: 20px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Tüm ilanlar sayfasında mobilde kategoriler 2 sütun */
    .categories-section-products .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .category-card {
        padding: 20px 15px;
    }
    
    .category-icon {
        font-size: 2.5em;
        margin-bottom: 10px;
    }
    
    .category-card h3 {
        font-size: 1em;
    }
    
    /* Products Grid - mobilde 2 sütun (kategori kartları gibi) */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    /* Ürün kartı mobil: yazı ve boşluklar küçültüldü, 2 sütunda okunaklı */
    .products-grid .product-card .product-image {
        height: 130px;
    }
    .products-grid .product-card .product-info {
        padding: 10px 12px;
    }
    .products-grid .product-card .product-title {
        font-size: 0.8em;
        margin-bottom: 6px;
        line-height: 1.25;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .products-grid .product-card .product-description {
        font-size: 0.7em;
        margin-bottom: 8px;
        min-height: 36px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .products-grid .product-card .product-price {
        font-size: 0.95em;
    }
    .products-grid .product-card .product-footer {
        padding-top: 8px;
        gap: 6px;
    }
    .products-grid .product-card .product-date {
        font-size: 0.7em;
    }
    .products-grid .product-card .product-badges .badge {
        font-size: 0.6rem !important;
        padding: 2px 5px;
    }
    .products-grid .product-card .product-views {
        font-size: 0.7em;
    }
    
    .products-section {
        margin: 30px 0;
    }
    
    /* Product Detail */
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-images {
        position: relative;
        top: 0;
    }
    
    .thumbnails {
        gap: 8px;
    }
    
    .thumbnail {
        width: 70px;
        height: 70px;
    }
    
    .carousel-container {
        height: 400px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn i {
        font-size: 1em;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .carousel-indicators {
        bottom: 15px;
        padding: 6px 12px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
    
    .carousel-counter {
        top: 10px;
        right: 10px;
        padding: 5px 10px;
        font-size: 0.8rem;
    }
    
    .main-image img,
    .image-placeholder-large {
        height: 300px;
    }
    
    .product-title-detail {
        font-size: 1.5em;
    }
    
    .product-price-detail .price {
        font-size: 2em;
    }
    .product-price-row .product-price-big {
        font-size: 2.25rem;
    }
    
    .product-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    /* Page Title */
    .page-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    
    /* Categories Filter - mobilde de 2 sütun (kategoriler alt alta tek sütun olmasın) */
    .categories-filter {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .filter-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    
    /* Corporate */
    .corporate-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .corporate-hero {
        padding: 40px 15px;
    }
    
    .corporate-hero-content h1 {
        font-size: 1.8em;
    }
    
    .corporate-subtitle {
        font-size: 1em;
    }
    
    .corporate-notice {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .corporate-cta {
        padding: 30px 15px;
    }
    
    .corporate-cta h2 {
        font-size: 1.5em;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero-notice {
        padding: 15px 20px;
        margin: 20px auto;
    }
    
    .notice-content {
        flex-direction: column;
        text-align: center;
    }
    
    .notice-content i {
        margin: 0 auto;
    }
    
    /* Offers */
    .offer-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .offer-price {
        text-align: left;
    }
    
    .offer-actions {
        flex-direction: column;
    }
    
    .offer-actions .btn {
        width: 100%;
    }
    
    /* Main */
    main {
        padding: 0;
    }
    
    /* Footer */
    footer {
        padding: 20px 15px;
        font-size: 0.9em;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .carousel-container {
        height: 300px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
    }
    
    .carousel-prev {
        left: 5px;
    }
    
    .carousel-next {
        right: 5px;
    }
    
    .hero-title {
        font-size: 1.5em;
    }
    
    .hero-subtitle-slider {
        padding: 24px 18px;
        padding-bottom: 24px;
        max-width: 96%;
        min-height: 6em;
    }
    
    .hero-subtitle-slide {
        font-size: 0.9em;
        padding: 12px 8px;
        padding-bottom: 16px;
    }
    
    .section-title {
        font-size: 1.3em;
    }
    
    /* Mobilde de kategoriler 2 sütun kalsın (tek sütun çirkin görünüyor) */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    /* Tüm ilanlar sayfasında mobilde kategoriler 2 sütun */
    .categories-section-products .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .category-card {
        padding: 12px 8px;
    }
    
    .category-card h3 {
        font-size: 0.9em;
    }
    
    .category-icon {
        font-size: 2em;
        margin-bottom: 8px;
    }
    
    /* Ürün listesi mobilde (cep) 2 sütun - bu breakpoint'te de açıkça ver */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    /* Çok dar ekranda ürün kartı daha kompakt */
    .products-grid .product-card .product-image {
        height: 110px;
    }
    .products-grid .product-card .product-info {
        padding: 8px 10px;
    }
    .products-grid .product-card .product-title {
        font-size: 0.75em;
        -webkit-line-clamp: 2;
    }
    .products-grid .product-card .product-description {
        font-size: 0.65em;
        min-height: 32px;
        -webkit-line-clamp: 2;
    }
    .products-grid .product-card .product-price {
        font-size: 0.9em;
    }
    .products-grid .product-card .product-badges .badge {
        font-size: 0.55rem !important;
    }
    
    .page-title {
        font-size: 1.5em;
    }
    
    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
        padding: 8px;
    }
    
    .mobile-menu-toggle span {
        height: 2.5px;
    }
}

/* Offers Page Styles */
.offers-page {
    padding: 40px 0;
}

.offers-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.offer-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}

.offer-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.offer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.offer-product h3 {
    margin: 0 0 10px 0;
    font-size: 1.3em;
}

.offer-product h3 a {
    color: #333;
    text-decoration: none;
}

.offer-product h3 a:hover {
    color: #667eea;
}

.offer-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-accepted {
    background: #d4edda;
    color: #155724;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.status-expired {
    background: #e2e3e5;
    color: #383d41;
}

.offer-price {
    text-align: right;
}

.original-price {
    display: block;
    font-size: 0.9em;
    color: #666;
    text-decoration: line-through;
    margin-bottom: 5px;
}

.offer-price-value {
    display: block;
    font-size: 1.5em;
    font-weight: bold;
    color: #28a745;
}

.offer-body {
    margin-bottom: 20px;
}

.buyer-info, .seller-info {
    margin-bottom: 15px;
}

.buyer-info p, .seller-info p {
    margin: 5px 0;
    color: #666;
}

.offer-message {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.offer-message strong {
    display: block;
    margin-bottom: 8px;
    color: #333;
}

.offer-message p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.offer-date {
    color: #999;
    font-size: 0.9em;
    margin-top: 15px;
}

.offer-actions {
    display: flex;
    gap: 10px;
    padding-top: 15px;
    border-top: 2px solid #eee;
}

.offer-actions .btn {
    padding: 10px 20px;
}

.offer-actions .btn-success {
    background: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.offer-actions .btn-success:hover {
    background: #218838;
}

.offer-actions .btn-danger {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.offer-actions .btn-danger:hover {
    background: #c82333;
}

/* Existing Images */
.existing-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.existing-image-item {
    position: relative;
    display: inline-block;
}

.existing-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-remove-image {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.btn-remove-image:hover {
    background: #c82333;
    transform: scale(1.1);
}

.cart-page { padding: 10px 0 40px; }
.cart-table td { vertical-align: middle; }
.cart-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 16px 0 28px;
    flex-wrap: wrap;
}
.cart-total { font-size: 1.2rem; }
.cart-checkout {
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
    max-width: 560px;
}
.cart-add-form { display: inline-block; }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

