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

:root {
    --primary-red: #E31E24; /* Motopazar Red */
    --text-dark: #111827;
    --text-gray: #6B7280;
    --border-gray: #374663;
    --input-bg: #F3F4F6;
    --white: #ffffff;
    --font-family: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background-color: #EDEDF0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* --- HEADER — Clean Trust V16.1 --- */
.main-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
    border-bottom: 1px solid #f0f0f0;
}

.header-accent {
    height: 3px;
    background: linear-gradient(90deg, #B91C1C, var(--primary-red), #ff4d4d, var(--primary-red), #B91C1C);
    background-size: 200% 100%;
    animation: accentShimmer 6s ease infinite;
}

@keyframes accentShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    height: 58px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    padding: 6px 20px 6px 0;
    background: none;
    border-radius: 0;
    transition: opacity 0.25s;
    border-right: 1px solid #e5e7eb;
    margin-right: 0.75rem;
}

.logo:hover { opacity: 0.82; }

.logo img {
    height: 30px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

.logo svg {
    height: 26px;
    width: auto;
}

/* Desktop Nav */
.header-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 1.25rem;
}

.header-nav a {
    text-decoration: none;
    color: #6b7280;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.22s ease;
    padding: 7px 14px;
    border-radius: 8px;
    position: relative;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.header-nav a i {
    font-size: 13px;
    opacity: 0.65;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-red);
    border-radius: 2px;
    transition: width 0.25s ease;
}

.header-nav a:hover {
    color: var(--primary-red);
    background: #fef2f2;
}

.header-nav a:hover::after {
    width: 50%;
}

.header-nav a:hover i { opacity: 1; }

/* Desktop Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

/* İlan Sorgula */
.header-link-query {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #9ca3af;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.22s;
    padding: 7px 12px;
    border-radius: 7px;
    letter-spacing: 0.2px;
}

.header-link-query i { font-size: 12px; }

.header-link-query:hover {
    color: var(--primary-red);
    background: #fef2f2;
    text-decoration: none;
}

/* Compat for old pages using .header-link-text */
.header-link-text {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    color: #9ca3af;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.2s;
    padding: 6px 10px;
    border-radius: 6px;
}
.header-link-text i { font-size: 12px; }
.header-link-text:hover { color: var(--primary-red); text-decoration: none; }

/* İlan Ver CTA */
.header-btn-sell {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    background: linear-gradient(135deg, #E31E24 0%, #c41920 100%);
    color: #fff;
    padding: 9px 20px;
    border-radius: 9px;
    font-weight: 700;
    font-size: 12px;
    border: none;
    transition: all 0.28s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 2px 8px rgba(227, 30, 36, 0.25);
    letter-spacing: 0.3px;
}

.header-btn-sell i { font-size: 13px; }

.header-btn-sell:hover {
    background: linear-gradient(135deg, #ff3338, #E31E24);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(227, 30, 36, 0.40);
    transform: translateY(-1px);
}

/* Giriş Yap / Profil */
.header-btn-user {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    background: #f9fafb;
    color: #374151;
    padding: 8px 17px;
    border-radius: 9px;
    font-weight: 600;
    font-size: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.25s ease;
    letter-spacing: 0.2px;
}

.header-btn-user i { font-size: 14px; }

.header-btn-user:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    text-decoration: none;
    background: #fef2f2;
    box-shadow: 0 0 8px rgba(227,30,36,0.08);
}

/* Compat: old header-right hidden */
.header-right { display: none; }

/* Mobile nav — clean pill links */
.header-mobile-nav {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1;
    margin: 0 6px;
}

.header-mobile-nav a {
    text-decoration: none;
    color: #6b7280;
    font-weight: 600;
    font-size: 10px;
    padding: 5px 8px;
    border-radius: 6px;
    transition: all 0.22s ease;
    white-space: nowrap;
    letter-spacing: 0.3px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #f9fafb;
    border: 1px solid #f0f0f0;
}

.header-mobile-nav a i {
    font-size: 10px;
    color: #9ca3af;
}

.header-mobile-nav a:hover,
.header-mobile-nav a:active {
    color: var(--primary-red);
    text-decoration: none;
    background: #fef2f2;
    border-color: #fecaca;
}

.header-mobile-nav a:hover i,
.header-mobile-nav a:active i {
    color: var(--primary-red);
}

.header-mobile-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1.5px;
    background: var(--primary-red);
    border-radius: 2px;
    transition: width 0.25s ease;
}

.header-mobile-nav a:hover::after,
.header-mobile-nav a:active::after {
    width: 50%;
}

.header-mobile-nav a.header-mobile-nav--query {
    color: var(--primary-red);
    border-color: #fecaca;
    background: #fef2f2;
    font-weight: 700;
}

.header-mobile-nav a.header-mobile-nav--query i {
    color: var(--primary-red);
}

/* Mobile right area */
.header-mobile-right {
    display: none;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Compat: old mobile sell button hidden */
.header-sell-mobile { display: none; }

/* Compat: keep old .link-text and .btn-outline for other pages that may use them */
.link-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
}

.link-text i { font-size: 1.2em; }
.link-text:hover { color: var(--primary-red); }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #000;
    border: 1.5px solid #000;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    background-color: white;
    transition: all 0.2s;
}

.btn-outline:hover { background-color: #f9fafb; }

/* ==================== DROPDOWN MENÜ ==================== */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown içindeki buton için düzeltme */
.dropdown .btn-outline {
    display: flex;
}

.dropdown-toggle {
    cursor: pointer;
    position: relative;
    padding-right: 2.5rem !important;
}

.dropdown-toggle i.bi-chevron-down {
    font-size: 0.8em;
    transition: transform 0.2s ease;
}

.dropdown-toggle.active i.bi-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 200px;
    background-color: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 9999;
    overflow: hidden;
    display: none;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    text-decoration: none;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    border-bottom: 1px solid #F3F4F6;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #F9FAFB;
    color: var(--primary-red);
}

.dropdown-item i {
    font-size: 16px;
    color: #6B7280;
    transition: color 0.2s;
}

.dropdown-item:hover i {
    color: var(--primary-red);
}

/* Mobil Dropdown */
.dropdown-mobile {
    position: relative;
}

.dropdown-toggle-mobile {
    cursor: pointer;
    position: relative;
}

.dropdown-menu-mobile {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 180px;
    background-color: white;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 100;
    overflow: hidden;
}

.dropdown-menu-mobile.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item-mobile {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #374151;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    border-bottom: 1px solid #F3F4F6;
}

.dropdown-item-mobile:last-child {
    border-bottom: none;
}

.dropdown-item-mobile:hover {
    background-color: #F9FAFB;
    color: var(--primary-red);
}

.dropdown-item-mobile i {
    font-size: 14px;
    color: #6B7280;
    transition: color 0.2s;
}

.dropdown-item-mobile:hover i {
    color: var(--primary-red);
}

/* Instagram Premium Button removed — V7 */

.btn-primary {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 0.7rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid var(--primary-red);
    transition: all 0.2s;
}

.btn-primary:hover {
    background-color: #c81e1e;
    border-color: #c81e1e;
    color: white;
}

/* --- BREADCRUMB --- */
.breadcrumb-section {
    background-color: white;
}

.breadcrumb-section .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #6B7280;
    margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #9CA3AF;
    font-size: 12px;
}

.breadcrumb-item a {
    text-decoration: none;
    color: #6B7280;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.breadcrumb-item.active {
    color: #000;
    font-weight: 700;
    margin-left: 0.2rem;
}

/* --- FOOTER (REV-112.1 Kompakt Beyaz Premium) --- */
.main-footer {
    position: relative;
    background: #ffffff;
    color: #4b5563;
    margin-top: auto;
    padding-top: 2rem;
    border-top: 3px solid var(--primary-red);
}

.footer-container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* --- TOP (logo + slogan) --- */
.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.55rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}
.footer-logo img {
    max-height: 42px !important;
    width: auto !important;
    opacity: 0.95;
}
.footer-slogan {
    max-width: 520px;
    font-size: 0.82rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
    text-align: center !important;
}

.footer-separator {
    height: 1px;
    background: #e5e7eb;
    border: 0;
    margin-bottom: 1.25rem;
}

/* --- CONTENT GRID (kompakt) --- */
.footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e5e7eb;
}

.footer-column { min-width: 0; }

.footer-column h3,
.footer-column .footer-heading {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Montserrat', 'Poppins', 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin: 0 0 0.75rem;
    color: #111827;
    text-transform: uppercase;
    padding-left: 0.7rem;
    cursor: default;
    user-select: none;
}
.footer-column h3::before,
.footer-column .footer-heading::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 3px; height: 14px;
    background: var(--primary-red);
    border-radius: 2px;
}
.footer-column .footer-heading i { display: none; }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 0.35rem; }
.footer-links a {
    text-decoration: none;
    color: #6b7280;
    font-size: 0.8rem;
    transition: color 0.2s ease;
    display: inline-block;
    padding: 0.1rem 0;
}
.footer-links a:hover { color: var(--primary-red); }

/* --- NEWSLETTER --- */
.newsletter-desc {
    color: #6b7280;
    font-size: 0.78rem;
    margin-bottom: 0.65rem;
    line-height: 1.5;
}
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.input-with-icon {
    position: relative;
    margin-bottom: 0;
}
.input-with-icon i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.95rem;
}
.input-with-icon input {
    width: 100%;
    height: 40px;
    padding: 0 0.85rem 0 2.5rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    /* iOS zoom onleme: 16px minimum */
    font-size: 16px;
    color: #111827;
    transition: all 0.2s ease;
    outline: none;
}
.input-with-icon input::placeholder { color: #9ca3af; font-size: 0.85rem; }
.input-with-icon input:focus {
    background: #fff;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(227,30,36,0.12);
}

.btn-newsletter {
    background: var(--primary-red);
    color: #fff;
    padding: 0;
    border: 0;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 40px;
    width: 100%;
}
.btn-newsletter:hover {
    background: #B91C1F;
    filter: brightness(1.02);
}
.btn-newsletter:disabled { opacity: 0.7; cursor: not-allowed; }

/* --- SOCIAL ICONS (kompakt, notr) --- */
.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.85rem 0;
    border: 0;
    justify-content: center;
}
.social-icon {
    width: 34px; height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
}
.social-icon:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: #fff;
}

/* --- BOTTOM BAR (sadece copyright) --- */
.footer-bottom {
    padding: 0.75rem 0 0.9rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.74rem;
    color: #6b7280;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}
.copyright-text {
    font-weight: 500;
}

/* Footer-bottom-links artik footer.php'den kaldirildi — ama legacy icin gizle */
.footer-bottom-links { display: none !important; }

/* --- PAYMENT METHODS --- */
.footer-payment-methods {
    padding: 0.6rem 0 1rem;
    border-top: 1px solid #e5e7eb;
    margin-top: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}
.payment-methods-label {
    font-size: 0.68rem;
    color: #9ca3af;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.payment-methods-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}
.payment-icon {
    height: 22px;
    width: auto;
    object-fit: contain;
    opacity: 0.95;
    transition: opacity 0.2s ease;
}
.payment-icon:hover { opacity: 1; }

/* --- MOBILE (<=991px) - kompakt 2 kolon, accordion YOK, cizgi YOK --- */
@media (max-width: 991px) {
    .main-footer { padding-top: 1.5rem; }
    .footer-container { padding: 0 0.85rem; }

    .footer-top {
        padding-bottom: 0.75rem;
        margin-bottom: 0.85rem;
        gap: 0.45rem;
    }
    .footer-logo img { max-height: 36px !important; }
    .footer-slogan { font-size: 0.76rem; padding: 0 0.25rem; }

    .footer-separator { margin-bottom: 1rem; }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem 0.85rem;
        padding-bottom: 1rem;
    }
    /* Newsletter full-width son kolonda */
    .footer-column:has(.newsletter-form) { grid-column: 1 / -1; }

    .footer-column h3,
    .footer-column .footer-heading {
        font-size: 0.75rem;
        margin-bottom: 0.55rem;
        padding: 0 0 0 0.6rem;
        cursor: default;
    }
    .footer-column h3::before,
    .footer-column .footer-heading::before {
        height: 12px;
    }
    .footer-links li { margin-bottom: 0.3rem; }
    .footer-links a { font-size: 0.76rem; padding: 0.08rem 0; }

    .social-icons { padding: 0.65rem 0; gap: 0.35rem; }
    .social-icon { width: 32px; height: 32px; font-size: 0.9rem; }

    .footer-bottom { padding: 0.7rem 0 0.85rem; font-size: 0.7rem; }

    .footer-payment-methods {
        padding: 0.55rem 0 0.9rem;
        gap: 0.5rem;
    }
    .payment-methods-label { font-size: 0.64rem; letter-spacing: 0.08em; }
    .payment-icon { height: 20px; }
}

/* Cok kucuk (<=375px) */
@media (max-width: 375px) {
    .footer-content { gap: 0.85rem 0.6rem; }
    .footer-column h3, .footer-column .footer-heading { font-size: 0.72rem; }
    .footer-links a { font-size: 0.74rem; }
    .social-icon { width: 30px; height: 30px; font-size: 0.85rem; }
    .footer-logo img { max-height: 34px !important; }
}

/* Desktop (>=992px) */
@media (min-width: 992px) {
    .main-footer { padding-top: 2.25rem; }
    .footer-container { padding: 0 1.5rem; }
    .footer-top {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
    .footer-slogan { text-align: right !important; font-size: 0.84rem; }
    .footer-separator { margin-bottom: 1.5rem; }

    .footer-content {
        grid-template-columns: 1fr 1fr 1fr 1fr 1.4fr;
        gap: 1.5rem;
        padding-bottom: 1.5rem;
    }
    .footer-column h3, .footer-column .footer-heading { font-size: 0.85rem; margin-bottom: 0.9rem; }

    .social-icons { padding: 1rem 0; }
    .social-icon { width: 36px; height: 36px; font-size: 1rem; }

    .footer-bottom {
        padding: 0.85rem 0 1rem;
        font-size: 0.76rem;
    }
    .footer-payment-methods {
        padding: 0.75rem 0 1.1rem;
        gap: 0.85rem;
    }
    .payment-icon { height: 24px; }
}

/* --- MOBİL STEPPER & MODAL --- */
.mobile-stepper-bar {
    background-color: #FFF1F2;
    padding: 1rem;
    margin: 1rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.mobile-stepper-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0;
}

.current-step-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.step-badge {
    background-color: var(--primary-red);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
}

.step-title {
    font-weight: 600;
    color: #000;
    font-size: 15px;
}

.mobile-stepper-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    display: none; /* Varsayılan kapalı */
    align-items: flex-end; /* Alttan çıkması için */
}

.mobile-stepper-modal.active {
    display: flex;
}

.modal-content {
    background-color: white;
    width: 100%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 1.5rem;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

.btn-close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6B7280;
    cursor: pointer;
}

.mobile-step-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-step-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: #F9FAFB;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
}

.mobile-step-item .badge {
    background-color: #E5E7EB;
    color: #374151;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    margin-right: 0.75rem;
    font-weight: 600;
    font-size: 12px;
}

/* Aktif Adım Stili (Modal İçinde) */
.mobile-step-item.active {
    background-color: #FFF1F2;
    color: #000;
    font-weight: 600;
}

.mobile-step-item.active .badge {
    background-color: var(--primary-red);
    color: white;
}

/* --- MOBİL ÖZEL (YENİ) --- */
.btn-mobile-instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #000;
    border: 1px solid #000;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 13px;
}

.mobile-page-header {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.mobile-page-header .container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-back-mobile {
    width: 40px;
    height: 40px;
    background-color: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #000;
    cursor: pointer;
}

.mobile-page-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

/* ==================== MOBİL HAMBURGER MENÜ ==================== */

/* Hamburger Butonu */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    border-radius: 9px;
    transition: all 0.22s;
}

.hamburger-btn:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}

.hamburger-btn:active {
    background: var(--primary-red);
    border-color: var(--primary-red);
}

.hamburger-line {
    display: block;
    width: 17px;
    height: 2px;
    background-color: #374151;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn:active .hamburger-line {
    background-color: #fff;
}

/* Hamburger Aktif Animasyonu */
.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobil Primary Button (Icon Only) - Desktop'ta gizli */
.btn-primary-mobile {
    display: none;
}

/* Mobil Outline Button (İlan Ver) - Desktop'ta gizli — compat */
.btn-outline-mobile {
    display: none;
}

/* Mobile sell CTA next to hamburger */
.header-mobile-sell {
    display: none;
}

/* Compat — old sell button mobile hidden */
.header-btn-sell-mobile { display: none; }
.header-right-mobile { display: none; }

/* Overlay - Varsayılan olarak gizli (JS ile kontrol edilir) */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Drawer Menü - Varsayılan olarak gizli (JS ile kontrol edilir) */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background-color: #fff;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}

.mobile-drawer.open {
    transform: translateX(0);
}

/* Drawer Header — dark premium with accent */
.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.25rem;
    background: linear-gradient(180deg, #1a1a1c 0%, #111113 100%);
    border-bottom: 3px solid var(--primary-red);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.mobile-drawer-logo img {
    height: 26px;
    width: auto;
}

.mobile-drawer-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border: none;
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
}

.mobile-drawer-close:hover {
    background-color: var(--primary-red);
    color: #fff;
}

/* Drawer İlan Ver CTA */
.mobile-drawer-cta {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    background: var(--primary-red);
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(227, 30, 36, 0.2);
}

.mobile-cta-btn:hover {
    background: #c81e1e;
    color: #fff;
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.3);
}

.mobile-cta-btn i {
    font-size: 16px;
}

/* Drawer Content */
.mobile-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

/* User Section */
.mobile-user-section {
    padding: 0 1.25rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 0.5rem;
}

.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: #fef2f2;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s;
}

.mobile-user-info:hover {
    background-color: #fee2e2;
}

.mobile-user-avatar {
    width: 44px;
    height: 44px;
    background-color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
}

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

.mobile-user-name {
    font-weight: 600;
    font-size: 15px;
    color: #111;
}

.mobile-user-label {
    font-size: 12px;
    color: #6b7280;
}

.mobile-user-info > i {
    color: #9ca3af;
    font-size: 14px;
}

.mobile-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1rem;
    background-color: var(--primary-red);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background-color 0.2s;
}

.mobile-login-btn:hover {
    background-color: #c81e1e;
    color: white;
}

.mobile-login-btn i {
    font-size: 18px;
}

/* Nav List */
.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1.25rem;
    text-decoration: none;
    color: #111;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
}

.mobile-nav-item:hover {
    background-color: #f9fafb;
    color: var(--primary-red);
}

.mobile-nav-item i {
    font-size: 20px;
    width: 24px;
    text-align: center;
    color: #6b7280;
    transition: color 0.2s;
}

.mobile-nav-item:hover i {
    color: var(--primary-red);
}

.mobile-nav-divider {
    height: 1px;
    background-color: #f3f4f6;
    margin: 0.5rem 1.25rem;
}

.mobile-nav-section-title {
    padding: 0.75rem 1.25rem 0.25rem;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Acil Acil vurgulu item */
.mobile-nav-item-highlight {
    color: var(--primary-red) !important;
}

.mobile-nav-item-highlight i {
    color: var(--primary-red) !important;
}

.mobile-nav-secondary .mobile-nav-item {
    font-size: 14px;
    color: #6b7280;
    padding: 0.75rem 1.25rem;
}

.mobile-nav-secondary .mobile-nav-item i {
    font-size: 18px;
}

/* Drawer Footer */
.mobile-drawer-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid #f3f4f6;
    background-color: #fafafa;
}

.mobile-social-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.mobile-social-icons a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #6b7280;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
}

.mobile-social-icons a:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}

.mobile-copyright {
    font-size: 11px;
    color: #9ca3af;
    margin: 0;
}

/* RESPONSIVE AYARLAR */
@media (max-width: 991px) {
    /* Desktop items gizle, mobil items göster */
    .header-actions, .header-nav, .header-right, .main-nav {
        display: none;
    }

    .header-mobile-nav {
        display: flex;
    }

    .header-mobile-right {
        display: flex;
    }
    
    .hamburger-btn {
        display: flex;
    }

    .main-header {
        background: #fff;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 6px rgba(0,0,0,0.03);
        border-bottom: 1px solid #f0f0f0;
    }

    .header-accent {
        height: 2px;
    }

    .header-mobile-nav a {
        padding: 4px 7px;
        font-size: 9.5px;
    }
    
    .header-container {
        padding: 0 0.625rem;
        height: 40px;
        justify-content: space-between;
    }

    .logo {
        border-right: none;
        margin-right: 0;
        padding-right: 0;
        padding: 0;
        flex-shrink: 0;
    }

    .logo img {
        height: 22px;
        max-width: 98px;
    }

    .logo svg {
        height: 20px;
    }

    .hamburger-btn {
        background: #f3f4f6;
        border: 1px solid #e5e7eb;
        backdrop-filter: none;
        width: 30px;
        height: 30px;
        border-radius: 7px;
        box-shadow: none;
        padding: 7px;
        gap: 3.5px;
    }

    .hamburger-btn:hover {
        background: #e5e7eb;
        border-color: #d1d5db;
    }

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

    .hamburger-line {
        background-color: #374151;
        width: 16px;
        height: 1.5px;
    }

    .hamburger-btn:active .hamburger-line {
        background-color: #fff;
    }

    .header-mobile-sell {
        display: none;
    }

    .btn-primary-mobile,
    .btn-outline-mobile,
    .header-btn-sell-mobile,
    .header-right-mobile { display: none; }

    /* Footer Accordion */
    .footer-content { 
        grid-template-columns: 1fr; 
        gap: 0; 
        padding-bottom: 1rem;
        border-bottom: none;
    }

    .footer-column {
        border-bottom: 1px solid #F3F4F6;
        padding: 1rem 0; 
    }

    .footer-column:last-child {
        border-bottom: none;
        padding-top: 1.5rem;
    }

    .footer-heading {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        margin-bottom: 0;
        font-size: 15px; 
    }

    .footer-links {
        display: none;
        margin-top: 0.8rem;
        padding-left: 0;
    }
    
    .footer-links li {
        margin-bottom: 0.6rem;
    }
    
    .footer-links a {
        font-size: 13px;
    }

    .footer-column.active .footer-links {
        display: block;
        animation: fadeIn 0.3s;
    }

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

    .footer-top { 
        flex-direction: column; 
        gap: 0.5rem; 
        margin-bottom: 1rem;
    }
    
    .footer-slogan { 
        text-align: left; 
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }
    
    .footer-separator {
        margin-bottom: 1rem;
    }
    
    .social-icons {
        padding: 1.5rem 0;
        justify-content: flex-start;
        gap: 1.2rem;
    }
    
    .social-icon {
        font-size: 1.4rem;
    }
    
    .footer-bottom { 
        flex-direction: column; 
        gap: 1rem; 
        align-items: flex-start; 
        padding: 1.5rem 0 2rem 0;
    }
    
    .footer-bottom-links { 
        flex-wrap: wrap; 
        gap: 0.8rem; 
        font-size: 12px;
    }
    
    .footer-payment-methods {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0 1.5rem 0;
    }
    
    .payment-methods-label {
        font-size: 12px;
    }
    
    .payment-icon {
        height: 28px;
    }
}

@media (max-width: 430px) {
    .header-container {
        padding: 0 0.375rem;
        height: 38px;
    }

    .logo img {
        height: 21px;
        max-width: 92px;
    }

    .header-mobile-nav {
        gap: 2px;
        margin: 0 3px;
    }

    .header-mobile-nav a {
        font-size: 8.5px;
        padding: 4px 6px;
        letter-spacing: 0.2px;
        border-radius: 5px;
        gap: 2px;
    }

    .header-mobile-nav a i {
        font-size: 8.5px;
    }

    .hamburger-btn {
        width: 32px;
        height: 32px;
        padding: 6px;
        gap: 3px;
        border-radius: 7px;
    }

    .hamburger-line {
        width: 14px;
        height: 1.5px;
    }
}
