﻿/* Construction-themed palette */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Black+Ops+One&display=swap');
/* Optional local font face for Zuume Rough Bold (add file to assets/fonts to enable) */
/* Zuume Rough family (use modern woff2/woff with ttf fallback) */
@font-face {
    font-family: 'Zuume Rough';
    src: local('Zuume Rough Regular'), local('ZuumeRough-Regular'),
         url('fonts/ZuumeRough-Regular.woff2') format('woff2'),
         url('fonts/ZuumeRough-Regular.woff') format('woff'),
         url('fonts/ZuumeRough-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Zuume Rough';
    src: local('Zuume Rough Italic'), local('ZuumeRough-Italic'),
         url('fonts/ZuumeRough-Italic.woff2') format('woff2'),
         url('fonts/ZuumeRough-Italic.woff') format('woff'),
         url('fonts/ZuumeRough-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Zuume Rough';
    src: local('Zuume Rough Bold'), local('ZuumeRough-Bold'),
         url('fonts/ZuumeRough-Bold.woff2') format('woff2'),
         url('fonts/ZuumeRough-Bold.woff') format('woff'),
         url('fonts/ZuumeRough-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Zuume Rough';
    src: local('Zuume Rough Bold Italic'), local('ZuumeRough-BoldItalic'),
         url('fonts/ZuumeRough-BoldItalic.woff2') format('woff2'),
         url('fonts/ZuumeRough-BoldItalic.woff') format('woff'),
         url('fonts/ZuumeRough-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* Genel sayfa ayarları */
:root {
    /* Primary Palette */
    --primary: #f8cd07; /* Construction Yellow */
    --accent: #5b752d; /* Operator Green */
    --success: #5b752d; /* Olive Green */
    --danger: #b33939; /* Rust Red */
    --warning: #e65100; /* Safety Orange */
    --light: #ffffff; /* Clean White */
    --dark: #2b2b2b; /* Dark Charcoal */
    --gray: #6e6e6e; /* Concrete Gray */
    --light-gray: #f8f9fa; /* Light background */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
}

*, *::before, *::after {
    box-sizing: border-box;
}

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

/* Generic responsive image helpers */
.img-fluid { max-width: 100%; height: auto; }
.img-cover { width: 100%; height: 100%; object-fit: cover; }
.img-contain { width: 100%; height: 100%; object-fit: contain; }
.img-rounded { border-radius: 12px; }

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: var(--light);
    color: var(--dark);
    min-height: 100vh;
    line-height: 1.6;
    font-size: 16px;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Enhanced button and form controls */
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    -webkit-appearance: none;
    appearance: none;
    background-color: var(--success); /* Default background for buttons */
    border: 1px solid var(--success);
    color: var(--light); /* Default text color for buttons */
    cursor: pointer;
    transition: all 0.2s ease;
}

input[type="range"] {
    accent-color: var(--success);
}

/* Themed Header (1.ai.png inspired) applied to existing <header> */
header {
    position: relative;
    z-index: 1000;
    background: linear-gradient(180deg, #ffe89a, #f8cd07 60%, #f7c300);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0; /* full-bleed header, no side gaps */
    box-shadow: none; /* remove dark line below header */
}
header .logo { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; width: 100%; overflow: hidden; padding-bottom: clamp(12px, 2.8vw, 28px); }
header .logo img { position: relative; z-index: 2; width: min(320px, 72vw); height: auto; filter: drop-shadow(0 6px 10px rgba(0,0,0,0.2)); }

/* Merged TireBanner overlays only the banner/logo area, not the menu */
header .logo::before {
    content: "";
    position: absolute;
    z-index: 1; /* under logo image */
    top: -6vw;        /* start outside the screen */
    left: 0; right: 0;
    height: clamp(160px, 28vw, 380px);
    background: url('images/TireBanner.png') top center / cover no-repeat;
    opacity: .95;                 /* keep white visible on yellow */
    pointer-events: none;
    mix-blend-mode: normal;       /* do not darken white artwork */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25)) contrast(1.06) saturate(1.05);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimizeQuality;
    /* Fade the tire banner slightly before the logo area ends so it never overlaps the menu */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 62%, rgba(0,0,0,0) 95%);
            mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 62%, rgba(0,0,0,0) 95%);
}

/* Tire textures at both sides */
/* Single merged tire banner overlay (both sides in one image) */
header::before { content: none; }
header::after { content: none; }

/* Navigation bar */
header nav {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; justify-items: center;
    width: 100vw; background: #fff; border-top: 0; border-bottom: 0; /* clean edges */
    margin-top: 0; padding: 8px 12px; left: 50%; transform: translateX(-50%);
    position: relative; z-index: 3; /* keep menu above tire overlay */
}
/* Ensure no yellow seam shows due to subpixel rounding */
header nav::before { content:""; position:absolute; left:0; right:0; top:-2px; height:2px; background:#fff; z-index:2; }
/* Always-visible yellow line under the menu */
header nav::after { content:""; position:absolute; left:0; right:0; bottom:0; height:4px; background: var(--primary); z-index:3; }

/* Subtle vignette for a more authentic banner look */
header .logo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1; /* over ::before, under logo img */
    background:
      radial-gradient(120% 90% at 50% 10%, rgba(0,0,0,0.10), rgba(0,0,0,0.02) 45%, rgba(0,0,0,0) 70%),
      repeating-linear-gradient(45deg, rgba(0,0,0,0.015) 0, rgba(0,0,0,0.015) 2px, transparent 2px, transparent 4px);
    pointer-events: none;
}
header nav a { position: relative; padding: 10px 6px; font-weight: 700; color: #111827; text-decoration: none; font-size: 1.02rem; }
header nav a::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 2px; height: 3px; background: #f8cd07; opacity: .55; transform: scaleX(0); transform-origin: center; transition: transform .2s ease; }
header nav a:hover::after { transform: scaleX(1); }
header nav a.operator-login { color: #000; }

/* Enhanced Container with better desktop spacing */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Hero section to match mock */
.hero {
    text-align: center;
    max-width: 760px;
    margin: 22px auto 16px;
}
.hero-title {
    font-family: 'Black Ops One', 'Bebas Neue', Impact, system-ui, sans-serif;
    letter-spacing: 1px;
    font-size: clamp(28px, 8vw, 54px);
    text-transform: uppercase;
    line-height: 1.05;
    color: #111827;
    margin: 0 0 14px 0;
}
.hero-lead {
    font-size: clamp(16px, 3.8vw, 20px);
    color: #374151;
}
.hero-lead em { font-style: normal; font-weight: 800; }

/* Enhanced Form Box */
.form-box {
    background: var(--light);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    border: 1px solid #e5e7eb;
}

.form-box h2 {
    margin-top: -6vw;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--dark);
}

.panel-section-title {
    margin-top: 0;
}

.panel-section-title--workspace {
    margin-bottom: 12px;
    font-size: 1.08rem;
    color: #5a4f34;
    letter-spacing: 0.01em;
}

.seller-listings__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.seller-listings__header h2 {
    margin: 0;
}

.seller-listings__new {
    white-space: nowrap;
}

.seller-listings {
    display: grid;
    gap: 10px;
}

.seller-listings__item {
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    color: var(--dark);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.seller-listings__item strong {
    color: var(--dark);
    font-size: 1rem;
    line-height: 1.3;
}

.seller-listings__item span,
.seller-listings__item small {
    color: #6b7280;
    line-height: 1.4;
}

.seller-listings__item:hover {
    text-decoration: none;
    border-color: rgba(91, 117, 45, 0.4);
    box-shadow: var(--shadow-md);
}

.seller-listings__item.is-active {
    border-color: rgba(91, 117, 45, 0.42);
    background: rgba(91, 117, 45, 0.06);
}

.seller-listings__item--new {
    border-style: dashed;
    align-content: center;
    min-height: 96px;
}

.seller-listings__empty {
    display: grid;
    gap: 6px;
    margin: 0;
    color: #6b7280;
    padding: 14px;
    border: 1px dashed #d9d2c5;
    border-radius: 14px;
    background: #faf8f1;
    line-height: 1.6;
}

.seller-listings__empty a {
    font-weight: 700;
}

.seller-listings__empty strong {
    color: var(--dark);
}

.seller-listings__empty--wide {
    grid-column: 1 / -1;
}

.seller-listing-actions {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
    padding: 15px 16px;
    border: 1px solid rgba(226, 220, 208, 0.95);
    border-radius: 16px;
    background: linear-gradient(180deg, #fffefb 0%, #faf8f2 100%);
}

.seller-listing-actions__meta {
    display: grid;
    gap: 4px;
}

.seller-listing-actions__meta strong {
    color: var(--dark);
    line-height: 1.3;
    font-size: 1rem;
}

.seller-listing-actions__meta span,
.seller-listing-actions__hint {
    color: #6b7280;
    line-height: 1.45;
}

.seller-listing-actions__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.seller-listing-actions__danger-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(217, 210, 197, 0.95);
}

.seller-listing-actions__button {
    min-height: 44px;
}

.seller-listing-actions__button--secondary {
    background: #ffffff;
    border-color: #d1d5db;
    color: #374151;
}

.seller-listing-actions__button--secondary:hover {
    color: #111827;
    border-color: rgba(91, 117, 45, 0.4);
}

.seller-listing-actions__button--danger {
    padding-inline: 8px;
    border-color: transparent;
    background: transparent;
    color: #9a3412;
    box-shadow: none;
}

.seller-listing-actions__button--danger:hover {
    background: rgba(154, 52, 18, 0.08);
    color: #7c2d12;
}

.seller-account-summary {
    display: grid;
    gap: 10px;
}

.seller-account-summary__item {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
}

.seller-account-summary__item span,
.seller-account-summary__note,
.seller-listing-form-note {
    color: #6b7280;
    line-height: 1.45;
}

.seller-account-summary__item strong {
    color: var(--dark);
    line-height: 1.3;
}

.seller-account-summary__note {
    margin: 14px 0 0;
}

.seller-account-logo {
    margin: 14px 0;
    text-align: center;
}

.seller-account-logo img {
    max-width: 150px;
    max-height: 150px;
    border-radius: 12px;
}

.seller-listing-form-note {
    margin: 0 0 18px;
}

.seller-listing-form-note--compact {
    margin-top: -8px;
}

.seller-listing-form-note--status {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid #ece8dd;
    border-radius: 999px;
    background: #f7f7f5;
    color: #4b5563;
    font-weight: 600;
}

.seller-listing-form-note--status[data-state="dirty"] {
    background: rgba(247, 181, 0, 0.14);
    border-color: rgba(247, 181, 0, 0.24);
    color: #8a6700;
}

.seller-listing-form-note--status[data-state="warning"] {
    background: rgba(186, 26, 26, 0.1);
    border-color: rgba(186, 26, 26, 0.2);
    color: #b42318;
}

.seller-listing-form-note--status[data-state="pending"] {
    background: rgba(39, 94, 254, 0.1);
    border-color: rgba(39, 94, 254, 0.18);
    color: #275efe;
}

.seller-listing-form-note--status[data-state="success"] {
    background: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.2);
    color: #1f7a35;
}

@media (min-width: 601px) {
    .seller-listings {
        grid-template-columns: minmax(0, 1fr);
    }

    .seller-account-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .seller-listings__header {
        flex-direction: column;
        align-items: stretch;
    }

    .seller-listings__new {
        text-align: center;
    }

    .seller-listing-actions__buttons {
        flex-direction: column;
    }

    .seller-listing-actions__button {
        width: 100%;
    }
}

.seller-flow-box,
.seller-listings-box,
.seller-account-box,
.seller-listing-form-box {
    border-color: #e8e5dc;
    box-shadow: 0 16px 34px rgba(17, 24, 39, 0.06);
}

.seller-flow-box h2,
.seller-listings-box h2,
.seller-account-box h2,
.seller-listing-form-box h2 {
    margin-top: 0;
}

.seller-flow-box {
    background: linear-gradient(180deg, #fffdfa 0%, #f8f4eb 100%);
}

.seller-flow-box__top {
    display: grid;
    gap: 18px;
}

.seller-flow-box__copy p {
    margin: 8px 0 0;
    color: #5b6472;
    line-height: 1.6;
}

.seller-flow-box__stats {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seller-flow-box__stat,
.seller-listings__current {
    padding: 14px 16px;
    border: 1px solid rgba(91, 117, 45, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.84);
}

.seller-flow-box__stat span,
.seller-listings__current-label,
.seller-listings__lead,
.seller-form-subheading p,
.seller-account-panel summary span,
.seller-account-panel__lead,
.seller-form-sections__item {
    color: #6b7280;
}

.seller-flow-box__stat strong,
.seller-listings__current strong {
    display: block;
    margin-top: 6px;
    color: var(--dark);
    font-size: 1.15rem;
}

.seller-flow-steps {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 18px;
}

.seller-flow-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(91, 117, 45, 0.1);
}

.seller-flow-step strong {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #f0f5e4;
    color: var(--primary);
    flex-shrink: 0;
}

.register-intro {
    display: grid;
    gap: 14px;
    margin-bottom: 20px;
}

.register-intro__text {
    margin: 0;
    color: #5b6472;
    line-height: 1.6;
}

.seller-listings__header-copy {
    display: grid;
    gap: 6px;
}

.seller-section-step {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f4f1e8;
    color: #5f4d18;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.seller-section-step--editing {
    background: rgba(91, 117, 45, 0.12);
    color: var(--primary);
}

.seller-listings__lead {
    margin: 0;
    color: #4b5563;
    line-height: 1.45;
}

.seller-listings__lead--compact {
    max-width: 56ch;
}

.seller-listings__lead strong {
    color: var(--dark);
}

.seller-listings__intro {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.seller-listings__intro h2 {
    margin: 0;
}

.seller-listings__header-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.seller-listings__primary-actions {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}

.seller-listings__primary-actions > * {
    min-width: 0;
}

.seller-listings__tools {
    width: 100%;
}

.seller-listings__tools-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid rgba(217, 210, 197, 0.95);
    border-radius: 999px;
    background: #ffffff;
    color: #2f3640;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.seller-listings__tools-summary strong {
    color: var(--dark);
    font-size: 0.95rem;
    line-height: 1.3;
}

.seller-listings__tools-summary small {
    color: #6b7280;
    font-weight: 600;
    line-height: 1.35;
}

.seller-listings__tools-summary::-webkit-details-marker {
    display: none;
}

.seller-listings__tools[open] .seller-listings__tools-summary {
    border-color: rgba(91, 117, 45, 0.24);
    background: rgba(91, 117, 45, 0.05);
}

.seller-listings__tools-body {
    display: grid;
    gap: 12px;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid rgba(217, 210, 197, 0.92);
    border-radius: 18px;
    background: linear-gradient(180deg, #fffef9, #f8f5ec);
}

.seller-listings__search {
    display: grid;
    gap: 6px;
    max-width: 420px;
}

.seller-listings__search-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #4b5563;
}

.seller-listings__search input {
    width: 100%;
    min-height: 48px;
    border-radius: 16px;
    border: 1px solid rgba(217, 210, 197, 0.95);
    background: #ffffff;
    color: #111827;
    font-size: 0.98rem;
    font-weight: 600;
    padding: 12px 14px;
    box-shadow: inset 0 1px 2px rgba(17, 24, 39, 0.04);
}

.seller-listings__search input:focus {
    outline: 3px solid rgba(37, 99, 235, 0.16);
    border-color: #2563eb;
}

.seller-listings__search-status {
    margin: 0;
    color: #596274;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
}

.seller-listings__search-feedback {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.seller-listings__view-summary {
    margin: -2px 0 14px;
    color: #6b7280;
    font-size: 0.87rem;
    font-weight: 700;
    line-height: 1.4;
}

.seller-listings__match {
    padding: 0 2px;
    border-radius: 6px;
    background: rgba(248, 205, 7, 0.22);
    color: inherit;
}

.seller-listings__view-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.seller-listings__view-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(217, 210, 197, 0.95);
    background: #ffffff;
    color: #4b5563;
    font-size: 0.92rem;
    font-weight: 700;
}

.seller-listings__view-filter.is-active,
.seller-listings__view-filter[aria-pressed="true"] {
    border-color: rgba(91, 117, 45, 0.28);
    background: rgba(91, 117, 45, 0.1);
    color: var(--primary);
}

.seller-listings__view-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(245, 242, 232, 0.96);
    color: #5f4d18;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.seller-listings__view-filter.is-active .seller-listings__view-filter-count,
.seller-listings__view-filter[aria-pressed="true"] .seller-listings__view-filter-count {
    background: rgba(91, 117, 45, 0.14);
    color: var(--primary);
}

.seller-listings__header--list {
    align-items: flex-start;
    gap: 16px;
}

.seller-listings__header-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f4f1e8;
    color: #5f4d18;
    font-size: 0.86rem;
    font-weight: 700;
    white-space: nowrap;
}

.seller-listings__header-stat strong {
    font-size: 0.98rem;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.seller-editor-shell__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    margin-bottom: 16px;
    border-radius: 999px;
    border: 1px solid rgba(91, 117, 45, 0.18);
    background: rgba(255, 255, 255, 0.86);
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.seller-editor-shell__back:hover,
.seller-editor-shell__back:focus-visible {
    border-color: rgba(91, 117, 45, 0.3);
    background: #ffffff;
    outline: none;
}

.seller-listings__create-picker {
    width: 100%;
    min-width: 0;
}

.seller-listings__create-picker summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.seller-listings__create-picker summary::-webkit-details-marker {
    display: none;
}

.seller-listings__create-picker[open] summary {
    box-shadow: 0 10px 20px rgba(17, 24, 39, 0.08);
}

.seller-listings__create-menu {
    display: grid;
    gap: 10px;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid rgba(217, 210, 197, 0.92);
    border-radius: 18px;
    background: linear-gradient(180deg, #fffef9, #f8f5ec);
}

.seller-listings__create-option {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(217, 210, 197, 0.95);
    background: #fff;
    color: #2f3640;
    text-decoration: none;
}

.seller-listings__create-option strong {
    color: var(--dark);
}

.seller-listings__create-option small {
    color: #6b7280;
    line-height: 1.4;
}

.seller-listings__create-option:hover,
.seller-listings__create-option:focus-visible {
    border-color: rgba(91, 117, 45, 0.28);
    background: rgba(91, 117, 45, 0.06);
    outline: none;
}

.seller-listings__create-picker--empty {
    width: 100%;
    margin-top: 6px;
}

.seller-listings__create-picker--empty summary {
    width: 100%;
}

.seller-listings__quickstart {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
    padding: 12px;
    border: 1px solid rgba(217, 210, 197, 0.85);
    border-radius: 18px;
    background: linear-gradient(180deg, #fcfbf7, #f8f5ec);
}

.seller-listings__quickstart-copy {
    display: grid;
    gap: 4px;
}

.seller-listings__quickstart-copy strong {
    color: var(--dark);
}

.seller-listings__quickstart-copy span {
    color: #4b5563;
    line-height: 1.5;
}

.seller-listings__quickstart-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.seller-listings__quicktype {
    display: grid;
    place-items: center;
    min-height: 64px;
    padding: 12px 10px;
    border-radius: 16px;
    border: 1px solid rgba(217, 210, 197, 0.95);
    background: #ffffff;
    color: #2f3640;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.seller-listings__quicktype:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(17, 24, 39, 0.08);
}

.seller-listings__quicktype.is-active {
    border-color: rgba(91, 117, 45, 0.38);
    background: rgba(91, 117, 45, 0.12);
    color: var(--primary);
    box-shadow: inset 0 0 0 1px rgba(91, 117, 45, 0.08);
}

.seller-listings__current {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(91, 117, 45, 0.18);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(91, 117, 45, 0.06), #fbfaf6);
}

.seller-listings__current-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.seller-listings__current small {
    color: #4b5563;
    line-height: 1.45;
}

.seller-listings {
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: unset;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
    scrollbar-width: auto;
}

.seller-listings__item {
    min-width: 0;
    scroll-snap-align: unset;
    gap: 6px 10px;
    padding: 11px 12px;
    border-radius: 10px;
    border-color: rgba(217, 210, 197, 0.92);
    box-shadow: none;
}

.seller-listings__item--compact {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.seller-listings__item--compact .seller-listings__price,
.seller-listings__item--compact .seller-listings__meta,
.seller-listings__item--compact .seller-listings__open {
    grid-column: 1 / -1;
}

.seller-listings__item--compact:hover,
.seller-listings__item--compact:focus-visible {
    border-color: rgba(91, 117, 45, 0.36);
    background: #fffef9;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
    outline: none;
}

.seller-listings__item > span:not(.seller-listings__badges):not(.seller-listings__open):not(.seller-listings__badge),
.seller-listings__item > small:not(.seller-listings__price):not(.seller-listings__supporting):not(.seller-listings__meta) {
    display: none;
}

.seller-listings__item strong,
.seller-listings__title {
    font-size: 0.98rem;
    line-height: 1.35;
    min-width: 0;
}

.seller-listings__title {
    grid-column: 1 / -1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.seller-listings__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.seller-listings__badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.seller-listings__item .seller-listings__badge {
    color: #374151;
}

.seller-listings__badge--type {
    background: rgba(248, 205, 7, 0.18);
    color: #6c5500;
}

.seller-listings__item .seller-listings__badge--type {
    color: #6c5500;
}

.seller-listings__badge--status.is-online {
    background: rgba(22, 101, 52, 0.12);
    color: #166534;
}

.seller-listings__item .seller-listings__badge--status.is-online {
    color: #166534;
}

.seller-listings__badge--status.is-passive {
    background: rgba(148, 163, 184, 0.18);
    color: #475569;
}

.seller-listings__item .seller-listings__badge--status.is-passive {
    color: #475569;
}

.seller-listings__price {
    display: block;
    color: #4b5563;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.seller-listings__item .seller-listings__price {
    color: #4b5563;
}

.seller-listings__supporting {
    display: block;
    color: #6b7280;
    line-height: 1.42;
}

.seller-listings__helper-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.seller-listings__meta {
    display: block;
    color: #6b7280;
    line-height: 1.35;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.seller-listings__item .seller-listings__meta {
    color: #6b7280;
}

.seller-listings__open {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 800;
    white-space: nowrap;
}

.seller-listings__item .seller-listings__open {
    color: var(--primary);
}

.seller-listings__open::after {
    content: '›';
    font-size: 1rem;
}

.seller-listings__item.is-active {
    border-color: rgba(91, 117, 45, 0.38);
    background: rgba(91, 117, 45, 0.08);
    box-shadow: inset 0 0 0 1px rgba(91, 117, 45, 0.08);
}

.seller-listings__item--flash {
    border-color: rgba(91, 117, 45, 0.32);
    background: rgba(91, 117, 45, 0.05);
}

.seller-listings__item--flash-active {
    box-shadow: 0 0 0 3px rgba(91, 117, 45, 0.12), 0 14px 28px rgba(17, 24, 39, 0.08);
}

.seller-listings__item--new {
    background: linear-gradient(180deg, #fffef9, #f8f5ec);
}

.seller-listings__item--helper {
    border-style: dashed;
    background: #fbfaf6;
    box-shadow: none;
    padding: 14px;
}

.seller-listings__item--wide {
    grid-column: 1 / -1;
}

.seller-listings__new {
    align-self: start;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 1rem;
}

@media (min-width: 760px) {
    .seller-listings__primary-actions {
        grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
        align-items: start;
    }

    .seller-listings__create-menu {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .seller-listings__item--compact {
        grid-template-columns: minmax(180px, 1.2fr) auto auto minmax(130px, 0.75fr) minmax(160px, 1fr) auto;
        gap: 8px 12px;
    }

    .seller-listings__title,
    .seller-listings__item--compact .seller-listings__price,
    .seller-listings__item--compact .seller-listings__meta,
    .seller-listings__item--compact .seller-listings__open {
        grid-column: auto;
    }

    .seller-listings__open {
        justify-self: end;
    }
}

.seller-listings__summary-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f5f2e8;
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.seller-listings__badge--create {
    background: rgba(248, 205, 7, 0.18);
    color: #6c5500;
}

.seller-listings__badge--active-form {
    background: rgba(91, 117, 45, 0.14);
    color: var(--primary);
}

.seller-account-box--secondary {
    background: linear-gradient(180deg, #fcfcfb 0%, #faf8f3 100%);
    border-color: rgba(226, 220, 208, 0.95);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.04);
}

.seller-account-panel {
    border: 0;
}

.seller-account-panel summary {
    display: grid;
    gap: 4px;
    list-style: none;
    cursor: pointer;
}

.seller-account-panel summary::-webkit-details-marker {
    display: none;
}

.seller-account-panel summary strong {
    color: var(--dark);
}

.seller-account-panel__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(91, 117, 45, 0.08);
    color: #516635;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.3;
}

.seller-account-panel__status[data-state="dirty"] {
    background: rgba(247, 181, 0, 0.14);
    color: #8a6700;
}

.seller-account-panel__status[data-state="warning"] {
    background: rgba(186, 26, 26, 0.1);
    color: #b42318;
}

.seller-account-panel__status[data-state="pending"] {
    background: rgba(39, 94, 254, 0.1);
    color: #275efe;
}

.seller-account-panel__status[data-state="success"] {
    background: rgba(40, 167, 69, 0.1);
    color: #1f7a35;
}

.seller-account-panel__detail {
    display: block;
    color: #5f6b7a;
    font-size: 0.82rem;
    line-height: 1.35;
}

.seller-account-panel__body {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(226, 220, 208, 0.9);
}

.seller-account-box--secondary [data-account-summary="total"],
.seller-account-box--secondary [data-account-summary="online"],
.seller-account-box--secondary [data-account-summary="passive"] {
    display: none;
}

.seller-account-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.seller-flow-box--editor {
    background: linear-gradient(180deg, #fffdf8 0%, #f8f4ea 100%);
}

.seller-flow-box__top--editor {
    grid-template-columns: minmax(0, 1fr);
}

.seller-flow-box__copy--editor {
    display: grid;
    gap: 8px;
    max-width: 56ch;
}

.seller-flow-box__copy--editor h2 {
    margin-bottom: 0;
}

.seller-flow-box__copy--editor p {
    max-width: 54ch;
}

.seller-editor-shell__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 2px;
}

.seller-flow-box--editor .seller-listings__summary-badge {
    min-height: 32px;
    padding: 0 11px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(217, 210, 197, 0.95);
    color: #4a4234;
    box-shadow: none;
}

.seller-listing-form-intro {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
    padding: 14px;
    border: 1px solid rgba(226, 220, 208, 0.95);
    border-radius: 18px;
    background: linear-gradient(180deg, #fffefb, #f8f5ed);
}

.seller-listing-form-intro__header {
    display: grid;
    gap: 5px;
}

.seller-listing-form-intro__eyebrow {
    color: #4a4234;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.35;
}

.seller-listing-form-focus {
    display: grid;
    gap: 6px;
    padding: 15px 16px;
    border: 1px solid rgba(226, 220, 208, 0.95);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.seller-listing-form-focus span {
    color: #6b7280;
    font-size: 0.88rem;
    font-weight: 600;
}

.seller-listing-form-focus strong {
    color: var(--dark);
    line-height: 1.35;
}

.seller-listing-form-focus__title {
    color: #5b6472;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.45;
}

.seller-listing-form-focus__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.seller-listing-form-intro .seller-listing-form-note {
    margin: 0;
}

.seller-listing-form-note--workspace {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(226, 220, 208, 0.95);
}

.seller-listing-form-box form > .seller-listing-form-note {
    display: block;
    margin-top: -6px;
}

.seller-form-sections {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 2px;
}

.seller-form-sections__item {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 13px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e6e0d2;
    cursor: pointer;
    font: inherit;
    font-size: 0.91rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.seller-form-sections__item:hover,
.seller-form-sections__item:focus-visible {
    border-color: #d6d0c2;
    background: #fcfbf8;
    outline: none;
}

.seller-form-sections__item.is-active {
    border-color: rgba(91, 117, 45, 0.28);
    background: rgba(91, 117, 45, 0.12);
    color: var(--dark);
    box-shadow: inset 0 0 0 1px rgba(91, 117, 45, 0.08);
}

.seller-form-subheading {
    margin: 32px 0 16px;
    padding-top: 18px;
    border-top: 1px solid #ece6d9;
    scroll-margin-top: 92px;
}

.seller-listing-actions__button--danger {
    padding-inline: 8px;
    border-color: transparent;
    background: transparent;
    color: #9a3412;
    box-shadow: none;
}

.seller-listing-actions__button--danger:hover {
    background: rgba(154, 52, 18, 0.08);
    color: #7c2d12;
}

.seller-form-subheading--first {
    margin-top: 8px;
    padding-top: 0;
    border-top: 0;
}

.seller-form-subheading h3 {
    margin: 0 0 6px;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
}

.seller-form-subheading p {
    margin: 0;
    line-height: 1.55;
}

.seller-location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.seller-location-advanced {
    margin-top: 10px;
    border: 1px solid #ece8dd;
    border-radius: 14px;
    background: #fafaf9;
    overflow: hidden;
}

.seller-location-advanced summary {
    padding: 14px 16px;
    cursor: pointer;
    font-weight: 600;
    color: #374151;
}

.seller-location-advanced__fields {
    display: grid;
    gap: 10px;
    padding: 0 16px 16px;
}

.seller-listing-form-box--workspace {
    background: linear-gradient(180deg, #fffdfa 0%, #fbf9f3 100%);
}

.seller-form-footer {
    display: grid;
    gap: 10px;
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid #ebe7de;
    background: linear-gradient(180deg, rgba(249, 247, 241, 0) 0%, rgba(249, 247, 241, 0.94) 40%);
}

.seller-form-footer .btn {
    width: 100%;
    min-height: 52px;
    font-size: 1rem;
}

.seller-form-footer__status {
    justify-content: center;
    margin-bottom: 0;
}

@media (min-width: 601px) {
    .seller-flow-box__top {
        grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.9fr);
        align-items: start;
    }

    .seller-flow-box__top--editor {
        grid-template-columns: minmax(0, 1fr);
    }

    .seller-listings__primary-actions {
        grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
        align-items: start;
    }

    .seller-listings {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .seller-flow-box,
    .seller-listings-box,
    .seller-account-box,
    .seller-listing-form-box {
        padding: 22px 18px;
    }

    .seller-flow-box__stats,
    .seller-flow-steps,
    .seller-account-summary {
        grid-template-columns: 1fr;
    }

    .seller-listings__quicktype {
        width: 100%;
        padding-inline: 8px;
        font-size: 0.94rem;
    }

    .seller-listings__header-stats {
        gap: 6px;
    }

    .seller-listings__search {
        max-width: none;
    }

    .seller-listings__tools-summary {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding-block: 10px;
    }

    .seller-listings__header-stat {
        min-height: 28px;
        padding: 0 9px;
        font-size: 0.82rem;
    }

    .seller-listings__header-stat strong {
        font-size: 0.92rem;
    }

    .seller-listings__summary-badge {
        min-height: 36px;
        padding: 0 12px;
        font-size: 0.92rem;
    }

    .seller-listing-form-note {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .seller-flow-box--editor {
        padding-bottom: 18px;
    }

    .seller-editor-shell__meta {
        gap: 6px;
    }

    .seller-listing-form-intro {
        padding: 13px;
    }

    .seller-form-sections {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        margin-inline: -2px;
        padding-inline: 2px;
        scrollbar-width: none;
    }

    .seller-form-sections::-webkit-scrollbar {
        display: none;
    }

    .seller-form-sections__item {
        flex: 0 0 auto;
        min-height: 35px;
        padding: 0 12px;
        font-size: 0.89rem;
    }

    .seller-listing-form-note--status {
        padding: 9px 12px;
        line-height: 1.45;
    }

    .seller-location-actions {
        flex-direction: column;
    }

    .seller-location-actions .btn {
        width: 100%;
    }

    .seller-form-footer {
        position: sticky;
        bottom: max(10px, env(safe-area-inset-bottom));
        padding: 14px 12px calc(12px + env(safe-area-inset-bottom));
        margin: 24px -6px -6px;
        border: 1px solid rgba(91, 117, 45, 0.12);
        border-radius: 16px;
        box-shadow: 0 12px 28px rgba(17, 24, 39, 0.12);
    }
}

@media (max-width: 480px) {
    .seller-listings {
        grid-template-columns: 1fr;
    }

    .seller-listings__tools-summary {
        padding: 12px 13px;
    }

    .seller-listings__tools-body {
        padding: 12px 13px 13px;
    }

    .seller-listings__quickstart-actions {
        grid-template-columns: 1fr;
    }
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group--required label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.form-group--required label::after {
    content: 'Zorunlu';
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.08);
    color: #374151;
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1;
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: #6b7280;
    line-height: 1.45;
}

.form-guide-note {
    margin: 10px 0 14px;
    padding: 10px 12px;
    border: 1px solid rgba(217, 210, 197, 0.88);
    border-radius: 14px;
    background: rgba(250, 248, 241, 0.92);
    color: #4b5563;
    line-height: 1.55;
}

.listing-type-help {
    font-weight: 600;
    color: #4b5563;
}

.seller-location-note {
    display: block;
    margin-top: 8px;
    color: #4b5563;
    line-height: 1.45;
}

.seller-photo-capacity-note {
    display: block;
    margin-top: 6px;
    color: #4b5563;
    line-height: 1.45;
    font-weight: 600;
}

.form-group small.file-selection-note--warning {
    color: #991b1b;
    font-weight: 700;
}

.form-group small.file-selection-note--success {
    color: #166534;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius-sm);
    background: var(--light);
    box-sizing: border-box;
    font-size: 16px;
    transition: all 0.2s ease;
}

.form-group input[aria-invalid="true"] {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.10);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(91, 117, 45, 0.1);
}

.category-picker {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.category-picker__select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.category-picker__chip {
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    color: #111827;
    padding: 10px 12px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
    overflow-wrap: anywhere;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.category-picker__chip::before {
    content: "";
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    border: 2px solid #cbd5e1;
    border-radius: 5px;
    background: #f8fafc;
    box-sizing: border-box;
}

.category-picker__chip:hover {
    border-color: #9ca3af;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.category-picker__chip:focus-visible {
    outline: 3px solid rgba(248, 205, 7, 0.35);
    outline-offset: 2px;
}

.category-picker__chip.is-active,
.category-picker__chip[aria-pressed="true"] {
    background: #111827;
    border-color: #111827;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.18);
}

.category-picker__chip.is-active::before,
.category-picker__chip[aria-pressed="true"]::before {
    border-color: #f8cd07;
    background: #f8cd07;
    box-shadow: inset 0 0 0 4px #111827;
}

.category-picker__chip:active {
    transform: scale(0.98);
}

.category-picker__hint--mobile {
    display: none;
}

@media (max-width: 600px) {
    .category-picker {
        grid-template-columns: 1fr;
    }

    .category-picker__hint--desktop {
        display: none !important;
    }

    .category-picker__hint--mobile {
        display: block;
    }
}

.photo-manager {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.photo-manager__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 10px;
}
.photo-manager__item {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 8px;
    background: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.photo-manager__item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 6px;
    transition: opacity 0.2s ease, filter 0.2s ease;
}
.photo-manager__item--pending {
    border-color: #fca5a5;
    background: #fff7f7;
    box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.12);
}
.photo-manager__item--pending::after {
    content: 'Silinecek';
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(185, 28, 28, 0.92);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.photo-manager__item--pending img {
    opacity: 0.55;
    filter: saturate(0.72);
}
.photo-manager__remove {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    font-size: 13px;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
    font-weight: 600;
    cursor: pointer;
}
.photo-manager__item--pending .photo-manager__remove {
    border-color: #fecaca;
    background: #fff1f2;
    color: #b91c1c;
}
.photo-manager__remove span {
    flex: 1 1 auto;
    line-height: 1.35;
}
.photo-manager__remove input {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    accent-color: var(--primary);
}
.photo-manager__remove:focus-within {
    border-color: #b45309;
    box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.12);
}

.form-feedback {
    margin: 12px 0;
    padding: 10px 14px;
    border: 1px solid #facc15;
    background: #fef3c7;
    border-radius: 10px;
    font-size: 14px;
    list-style: disc inside;
    color: #92400e;
}
.form-feedback li + li {
    margin-top: 4px;
}


/* Enhanced Button */
.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--dark); /* Ensure text is dark on primary background */
    padding: 14px 28px;
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

.btn:hover {
    background-color: var(--warning);
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Enhanced Location Log */
.location-log {
    background: var(--light-gray);
    padding: 16px;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 15px;
    border: 1px solid #e5e7eb;
}

/* Enhanced Cards Grid */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.list-summary {
    margin-top: 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-weight: 600;
    font-size: clamp(0.95rem, 2.6vw, 1.05rem);
    color: #1f2937;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Listings toolbar (mobile-first) */
.listings-toolbar {
    position: sticky;
    top: 0;
    z-index: 900;
    margin: 6px 0 8px;
    padding: 8px 10px;
    border-radius: 18px;
    border: 1px solid rgba(229, 231, 235, 0.9);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

body.page-mode-satilik .listings-toolbar,
body.page-mode-kiralik .listings-toolbar,
body.page-mode-harfiyat .listings-toolbar {
    border-top: 3px solid var(--listing-accent, var(--primary));
}

/* Simplified listings pages (satılık / kiralık / harfiyat): hide legacy filter UI */
body.page-mode-satilik #distance-scope-toggle,
body.page-mode-satilik .filters-intro,
body.page-mode-satilik #accordion-root,
body.page-mode-satilik #geo-collapsible,
body.page-mode-kiralik .filters-intro,
body.page-mode-kiralik #accordion-root,
body.page-mode-kiralik #geo-collapsible,
body.page-mode-harfiyat .filters-intro,
body.page-mode-harfiyat #accordion-root,
body.page-mode-harfiyat #geo-collapsible {
    display: none !important;
}

/* Simplified listings pages (satılık / kiralık / harfiyat): calmer background so cards pop */
body.page-mode-satilik,
body.page-mode-kiralik,
body.page-mode-harfiyat {
    background: linear-gradient(180deg, #f8f9fa, #ffffff 260px);
}

body.page-mode-satilik {
    --listing-accent: var(--primary);
    --listing-accent-soft: rgba(248, 205, 7, 0.16);
}

body.page-mode-kiralik {
    --listing-accent: var(--primary);
    --listing-accent-soft: rgba(248, 205, 7, 0.16);
}

body.page-mode-harfiyat {
    --listing-accent: #f59e0b;
    --listing-accent-soft: rgba(245, 158, 11, 0.14);
}

body.page-mode-satilik header,
body.page-mode-kiralik header,
body.page-mode-harfiyat header {
    position: sticky;
    top: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 10px 16px;
    background: linear-gradient(180deg, #ffe89a, #f8cd07 72%, #f7c300);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

body.page-mode-satilik header nav,
body.page-mode-kiralik header nav,
body.page-mode-harfiyat header nav {
    display: none;
}

body.page-mode-satilik .listing-app-header__title,
body.page-mode-kiralik .listing-app-header__title,
body.page-mode-harfiyat .listing-app-header__title {
    margin: 0;
}

body.page-mode-satilik .listing-app-header__brand,
body.page-mode-kiralik .listing-app-header__brand,
body.page-mode-harfiyat .listing-app-header__brand {
    display: inline-block;
    color: #111827;
    text-decoration: none;
    font-size: clamp(1rem, 3.6vw, 1.14rem);
    font-weight: 900;
    letter-spacing: 0.02em;
}

.listings-shell {
    margin-top: 12px;
    padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px));
}

.list-summary {
    margin-top: 0;
    margin-bottom: 8px;
    min-height: 48px;
    padding: 12px 14px;
    align-items: flex-start;
    justify-content: flex-start;
    border: 1px solid rgba(229, 231, 235, 0.92);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
    font-size: 0.92rem;
    line-height: 1.45;
}

.urgent-mode-banner {
    margin-bottom: 10px;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(239, 68, 68, 0.28);
    background: linear-gradient(180deg, rgba(254, 226, 226, 0.96), rgba(254, 202, 202, 0.98));
    color: #991b1b;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.4;
    box-shadow: 0 14px 28px rgba(239, 68, 68, 0.10);
}

.listings-first-tip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    padding: 11px 12px;
    border-radius: 16px;
    background: #f8f5ec;
    border: 1px solid rgba(217, 210, 197, 0.92);
    color: #4b5563;
    font-size: 0.92rem;
    line-height: 1.4;
}

.listings-first-tip__dismiss {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--primary);
    font: inherit;
    font-weight: 800;
    padding: 0;
    white-space: nowrap;
}

.active-filters {
    margin-bottom: 12px;
    padding: 0 2px;
}

.listings-bottom-dock {
    position: fixed;
    left: 50%;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    z-index: 2100;
    width: min(520px, calc(100% - 18px));
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(229, 231, 235, 0.96);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(12px);
}

.listings-bottom-dock__btn {
    position: relative;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    pointer-events: auto;
    min-height: 72px;
    border: 0;
    border-radius: 22px;
    background: #f8fafc;
    color: #111827;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 4px;
    padding: 10px 8px;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.listings-bottom-dock__btn:hover,
.listings-bottom-dock__btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.1);
}

.listings-bottom-dock__btn[aria-expanded="true"],
.listings-bottom-dock__btn.is-active {
    background: #111827;
    color: #ffffff;
}

.listings-bottom-dock__icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.listings-bottom-dock__icon svg {
    width: 22px;
    height: 22px;
}

.listings-bottom-dock__icon--emoji {
    width: auto;
    height: auto;
    font-size: 1.15rem;
    line-height: 1;
}

.listings-bottom-dock__label {
    font-size: 0.84rem;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
}

.listings-bottom-dock__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 1.9em;
    font-size: 0.76rem;
    font-weight: 700;
    color: #596274;
    line-height: 1.1;
    text-align: center;
}

.listings-bottom-dock__btn[aria-expanded="true"] .listings-bottom-dock__meta,
.listings-bottom-dock__btn.is-active .listings-bottom-dock__meta {
    color: rgba(255, 255, 255, 0.82);
}

.listings-bottom-dock__btn--urgent {
    background: linear-gradient(180deg, #fff1f2, #ffe4e6);
    color: #9f1239;
}

.listings-bottom-dock__btn--urgent:hover,
.listings-bottom-dock__btn--urgent:focus-visible {
    box-shadow: 0 12px 24px rgba(190, 24, 93, 0.12);
}

.listings-bottom-dock__btn--urgent.is-active {
    background: linear-gradient(180deg, #ef4444, #dc2626);
    color: #ffffff;
}

.listings-bottom-dock__btn--urgent.is-active .listings-bottom-dock__meta {
    color: rgba(255, 255, 255, 0.88);
}

.listings-toolbar {
    display: grid;
    gap: 8px;
    margin-bottom: 10px;
}

.listings-toolbar__titles {
    min-width: 0;
}

.listings-toolbar__title {
    margin: 0;
    font-size: clamp(17px, 4.2vw, 22px);
    font-weight: 900;
    letter-spacing: 0.2px;
    line-height: 1.14;
    color: #111827;
}

.listings-toolbar__subtitle {
    margin: 2px 0 0;
    font-size: 0.86rem;
    line-height: 1.35;
    font-weight: 600;
    color: #4b5563;
    max-width: 44ch;
}

.listings-toolbar__status {
    display: grid;
    gap: 6px;
}

.listings-toolbar__actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.toolbar-chip--filters {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 0.94rem;
    gap: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.toolbar-chip--filters[aria-expanded="true"],
.toolbar-chip--filters.is-active {
    border-color: rgba(17, 24, 39, 0.16);
    background: #111827;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.16);
}

#listing-scope-hint {
    margin: 0;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.active-filters[hidden] {
    display: none !important;
}

.active-filters__label {
    color: #4b5563;
    font-size: 0.92rem;
    font-weight: 700;
}

.active-filters__chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #1f2937;
    font-size: 0.88rem;
    font-weight: 700;
}

.active-filters__chip--action {
    appearance: none;
    border: 0;
    cursor: pointer;
    gap: 8px;
    text-align: left;
}

.active-filters__chip--action:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.18);
    outline-offset: 2px;
}

.active-filters__chip-remove {
    font-size: 1rem;
    line-height: 1;
    color: #6b7280;
}

.active-filters__clear {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: underline;
    cursor: pointer;
    padding: 6px 0;
}

.active-filters__clear:hover,
.active-filters__clear:focus-visible {
    color: var(--primary);
}

.browse-scope-menu {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.browse-scope-menu::-webkit-scrollbar {
    height: 8px;
}

.browse-scope-menu::-webkit-scrollbar-thumb {
    background: rgba(107, 114, 128, 0.35);
    border-radius: 999px;
}

.browse-scope-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    touch-action: manipulation;
}

.browse-scope-btn[aria-pressed="true"] {
    background: #111827;
    border-color: #111827;
    color: #ffffff;
    box-shadow: 0 14px 26px rgba(17, 24, 39, 0.16);
}

.optional-filters__count {
    position: absolute;
    top: 6px;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.92);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.toolbar-chip--filters[aria-expanded="true"] .optional-filters__count,
.toolbar-chip--filters.is-active .optional-filters__count {
    background: rgba(255, 255, 255, 0.18);
}

.sheet__panel--dock {
    max-width: 520px;
    max-height: min(72vh, 560px);
    border-radius: 28px 28px 0 0;
    padding: 16px 16px 18px;
}

.sheet__panel--filters {
    max-width: 520px;
}

.sheet__panel--scope,
.sheet__panel--location {
    max-width: 460px;
}

.filters-sheet__body {
    padding: 12px 4px 12px;
    display: grid;
    gap: 14px;
}

.scope-sheet__body {
    display: grid;
    gap: 10px;
    padding: 12px 2px 4px;
}

.scope-sheet__option {
    appearance: none;
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #f8fafc;
    color: #111827;
    text-align: left;
    padding: 14px 16px;
    display: grid;
    gap: 4px;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.scope-sheet__option:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 20px rgba(15, 23, 42, 0.08);
}

.scope-sheet__option-title {
    font-size: 0.98rem;
    font-weight: 900;
    line-height: 1.2;
}

.scope-sheet__option-meta {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    color: #6b7280;
}

.scope-sheet__option[aria-pressed="true"] {
    background: #111827;
    border-color: #111827;
    color: #ffffff;
    box-shadow: 0 16px 26px rgba(17, 24, 39, 0.16);
}

.scope-sheet__option[aria-pressed="true"] .scope-sheet__option-meta {
    color: rgba(255, 255, 255, 0.82);
}

.scope-sheet__option--urgent {
    border-color: rgba(185, 28, 28, 0.18);
    background: rgba(220, 38, 38, 0.06);
}

.scope-sheet__option--urgent[aria-pressed="true"] {
    background: #b91c1c;
    border-color: #b91c1c;
    box-shadow: 0 16px 28px rgba(185, 28, 28, 0.22);
}

.scope-sheet__hint {
    margin: 12px 4px 2px;
}

.location-sheet__body {
    display: grid;
    gap: 12px;
    padding: 12px 2px 4px;
}

.location-sheet__field {
    margin-top: 2px;
}

.location-sheet__status {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}

.location-sheet__actions {
    display: grid;
    gap: 10px;
}

.location-sheet__manual-actions {
    display: grid;
    gap: 10px;
}

.location-sheet__manual-help {
    margin: -4px 0 0;
}

.location-sheet__steps {
    margin: -2px 0 2px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(91, 117, 45, 0.08);
    color: #4b5563;
}

.filters-sheet__field {
    display: grid;
    gap: 8px;
}

.filters-sheet__label {
    font-size: 0.94rem;
    font-weight: 800;
    color: #111827;
}

.filters-sheet__field input[type="search"],
.filters-sheet__field input[type="text"],
.filters-sheet__field select {
    width: 100%;
    min-height: 52px;
    border-radius: 16px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #111827;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 14px;
    box-shadow: inset 0 1px 2px rgba(17, 24, 39, 0.04);
}

.filters-sheet__field input[type="search"]:focus,
.filters-sheet__field input[type="text"]:focus,
.filters-sheet__field select:focus {
    outline: 3px solid rgba(37, 99, 235, 0.18);
    border-color: #2563eb;
}

.filters-sheet__field input.is-invalid {
    border-color: #dc2626;
    background: #fff7f7;
}

.filters-sheet__field input.is-invalid:focus {
    outline: 3px solid rgba(220, 38, 38, 0.16);
    border-color: #dc2626;
}

.filters-sheet__chip-group {
    grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
}

.filters-sheet__price-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.filters-sheet__subfield {
    display: grid;
    gap: 6px;
}

.filters-sheet__sublabel {
    font-size: 0.83rem;
    font-weight: 700;
    color: #4b5563;
}

.filters-sheet__field[hidden] {
    display: none;
}

.filters-sheet__note {
    margin: -2px 0 0;
}

.filters-sheet__note--status {
    margin-top: 0;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(17, 24, 39, 0.04);
    color: #4b5563;
    font-weight: 700;
    line-height: 1.4;
}

.filters-sheet__note--error {
    background: rgba(220, 38, 38, 0.08);
    color: #b91c1c;
}

.filters-sheet__actions {
    position: sticky;
    bottom: 0;
    z-index: 2;
    padding: 14px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, #ffffff 28%);
    border-top: 1px solid #e5e7eb;
}

.filters-sheet__actions .btn:disabled {
    opacity: 0.58;
    cursor: not-allowed;
    box-shadow: none;
}

@media (max-width: 600px) {
    body.page-mode-satilik header,
    body.page-mode-kiralik header,
    body.page-mode-harfiyat header {
        min-height: 56px;
        padding: 8px 14px;
    }

    .listings-shell {
        margin-top: 10px;
        padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px));
    }

    .list-summary {
        padding: 11px 12px;
        font-size: 0.88rem;
        line-height: 1.4;
        margin-bottom: 7px;
    }

    .listings-first-tip {
        align-items: flex-start;
        padding: 10px 11px;
        font-size: 0.86rem;
    }

    .listings-first-tip__dismiss {
        padding-top: 1px;
    }

    .active-filters {
        gap: 7px;
    }

    .active-filters__chip {
        min-height: 30px;
        font-size: 0.82rem;
    }

    .listings-bottom-dock {
        width: calc(100% - 14px);
        bottom: calc(8px + env(safe-area-inset-bottom, 0px));
        padding: 7px;
        gap: 7px;
        border-radius: 24px;
    }

    .listings-bottom-dock__btn {
        min-height: 68px;
        border-radius: 18px;
        padding: 9px 6px;
    }

    .listings-bottom-dock__label {
        font-size: 0.78rem;
    }

    .listings-bottom-dock__meta {
        font-size: 0.72rem;
    }

    .sheet__panel--dock {
        padding: 14px 14px 18px;
    }

    .browse-scope-menu {
        gap: 8px;
        margin-right: -4px;
        padding-right: 4px;
    }

    .browse-scope-btn {
        min-height: 52px;
        padding: 12px 14px;
        font-size: 0.96rem;
    }

    .listings-toolbar {
        gap: 7px;
        padding: 8px 9px;
    }

    .listings-toolbar__title {
        font-size: clamp(17px, 4.9vw, 20px);
    }

    .listings-toolbar__subtitle {
        font-size: 0.82rem;
        line-height: 1.3;
        max-width: 34ch;
    }

    .active-filters {
        align-items: flex-start;
    }

    .active-filters__clear {
        width: 100%;
        text-align: left;
    }

    .toolbar-chip--filters {
        width: 100%;
        justify-content: space-between;
    }

    .filters-sheet__actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .filters-sheet__price-grid {
        grid-template-columns: 1fr;
    }
}

.toolbar-chip {
    appearance: none;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #111827;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.toolbar-chip:hover {
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.toolbar-chip:focus-visible,
.toolbar-icon-btn:focus-visible,
.sheet__clear:focus-visible,
.sheet__close:focus-visible,
.category-grid__btn:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 2px;
}

.toolbar-chip--urgent {
    border-color: rgba(220, 38, 38, 0.35);
    background: rgba(220, 38, 38, 0.08);
    color: #b91c1c;
}

.browse-scope-btn--urgent[aria-pressed="false"] {
    background: rgba(220, 38, 38, 0.08);
    color: #b91c1c;
}

.toolbar-chip--urgent[aria-pressed="true"] {
    background: #b91c1c;
    border-color: #b91c1c;
    color: #ffffff;
    box-shadow: 0 14px 26px rgba(185, 28, 28, 0.25);
}

.toolbar-icon-btn {
    appearance: none;
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #111827;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.toolbar-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    line-height: 1;
}

.toolbar-icon-btn:hover {
    background: #f9fafb;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.business-sections {
    display: grid;
    gap: 18px;
}

.category-section {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 14px;
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

/* Simplified listings pages: flatter category sections */
body.page-mode-satilik .category-section,
body.page-mode-kiralik .category-section,
body.page-mode-harfiyat .category-section {
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
}

body.page-mode-satilik .category-header,
body.page-mode-kiralik .category-header,
body.page-mode-harfiyat .category-header {
    padding: 6px 4px 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.category-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.category-header h2 {
    margin: 0;
    font-size: clamp(18px, 4.5vw, 22px);
    font-weight: 900;
    color: #111827;
}

.category-meta {
    font-size: 0.9rem;
    font-weight: 700;
    color: #4b5563;
    white-space: nowrap;
}

.cards.category-cards {
    margin-top: 0;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Category sheet (grid toggle) */
body.sheet-open {
    overflow: hidden;
}

.sheet {
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: grid;
    place-items: end center;
}

.sheet--dock {
    place-items: end center;
}

.sheet[hidden] {
    display: none;
}

.sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
}

.sheet__panel {
    position: relative;
    width: 100%;
    max-width: 980px;
    max-height: min(85vh, 780px);
    background: #ffffff;
    border-radius: 22px 22px 0 0;
    border: 1px solid #e5e7eb;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    padding: 14px 14px 18px;
    overflow: auto;
}

.sheet__header {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.sheet__header h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 900;
    color: #111827;
}

.sheet__clear {
    appearance: none;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #111827;
    border-radius: 999px;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 0.98rem;
    font-weight: 900;
    cursor: pointer;
}

.sheet__clear:hover {
    background: #ffffff;
}

.sheet__hint {
    margin: 12px 0 0;
    color: #4b5563;
    font-size: 0.95rem;
    font-weight: 600;
}

.sheet__hint--secondary {
    margin-top: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #596274;
}

.sheet__close {
    appearance: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #111827;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sheet__close:hover {
    background: #f9fafb;
}

.category-grid {
    display: grid;
    gap: 10px;
    padding: 12px 0 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-grid__btn {
    appearance: none;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 16px;
    min-height: 52px;
    padding: 12px 12px 10px;
    cursor: pointer;
    text-align: left;
    font-weight: 900;
    font-size: 1rem;
    line-height: 1.35;
    color: #111827;
}

.category-grid__btn:hover {
    background: #ffffff;
}

.category-grid__btn[aria-pressed="true"] {
    background: #111827;
    color: #ffffff;
    border-color: #111827;
}

.category-grid__btn[aria-pressed="true"] .category-grid__count {
    color: rgba(255, 255, 255, 0.82);
}

.category-grid__count {
    display: block;
    margin-top: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #6b7280;
}

@media (min-width: 600px) {
    .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .sheet {
        place-items: center;
        padding: 24px;
    }
    .sheet--dock {
        place-items: end center;
    }
    .sheet__panel {
        border-radius: 22px;
        max-width: 720px;
    }
}

/* Details sheet */
.sheet__panel--details {
    max-width: 720px;
}

.details-sheet__body {
    padding: 12px 4px 4px;
    display: grid;
    gap: 12px;
}

.details-sheet__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.details-sheet__section {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #f9fafb;
}

.details-sheet__row {
    margin: 0;
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.55;
}

.details-sheet__row b {
    color: #111827;
}

.details-sheet__row--html > div {
    margin-top: 6px;
}

.details-sheet__text {
    white-space: pre-line;
    word-break: break-word;
}

.details-sheet__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.details-action {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 999px;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: 900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.details-action--call {
    background: linear-gradient(180deg, #f8cd07, #f59e0b);
    border-color: rgba(146, 64, 14, 0.32);
    color: #111827;
}

.details-action--route {
    background: linear-gradient(180deg, #f8cd07, #f59e0b);
    border-color: rgba(146, 64, 14, 0.32);
    color: #111827;
}

.details-action--whatsapp {
    background: linear-gradient(180deg, #25d366, #16a34a);
    border-color: rgba(21, 128, 61, 0.32);
    color: #ffffff;
}

.details-action--report {
    background: linear-gradient(180deg, #f97316, #ea580c);
    border-color: rgba(154, 52, 18, 0.28);
    color: #ffffff;
}

.details-action--share {
    background: linear-gradient(180deg, #111827, #1f2937);
    border-color: rgba(17, 24, 39, 0.28);
    color: #ffffff;
}

.details-action--call::before {
    content: "📱";
}

.details-action--route::before {
    content: "🗺️";
}

.details-action--whatsapp::before {
    content: "💬";
}

.details-action--report::before {
    content: "🚩";
}

.details-action--share::before {
    content: "↗";
}

.details-action:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
    text-decoration: none;
}

.details-action:disabled {
    opacity: 0.72;
    cursor: wait;
    transform: none;
    filter: none;
}

.details-report {
    gap: 0;
}

.details-report__summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fafaf8;
    cursor: pointer;
    list-style: none;
}

.details-report__summary::-webkit-details-marker {
    display: none;
}

.details-report__summary::after {
    content: '›';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 24px;
    color: #6b7280;
    font-size: 1.2rem;
    font-weight: 800;
    transform: rotate(90deg);
    transition: transform 0.18s ease;
}

.details-report[open] .details-report__summary {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    background: #ffffff;
}

.details-report[open] .details-report__summary::after {
    transform: rotate(-90deg);
}

.details-report__summary-copy {
    display: grid;
    gap: 3px;
}

.details-report__summary-title {
    font-weight: 800;
    color: #111827;
}

.details-report__summary-note {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #6b7280;
}

.details-report__content {
    display: grid;
    gap: 10px;
    padding: 12px 2px 0;
}

.details-report__title {
    margin: 0;
    font-weight: 800;
    color: #111827;
}

.details-report__hint {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #4b5563;
}

.details-report__form {
    display: grid;
    gap: 10px;
}

.details-report__label {
    display: grid;
    gap: 6px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #374151;
}

.details-report__label select,
.details-report__label textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #ffffff;
    padding: 12px 14px;
    font: inherit;
    color: #111827;
}

.details-report__label textarea {
    min-height: 96px;
    resize: vertical;
}

.details-report__buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

@media (max-width: 420px) {
    .details-sheet__actions,
    .details-report__buttons {
        grid-template-columns: 1fr;
    }

    .details-report__summary {
        padding: 13px 14px;
    }
}

.details-report__secondary {
    appearance: none;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #ffffff;
    color: #111827;
    font-size: 0.95rem;
    font-weight: 800;
    padding: 12px 14px;
}

.details-report__feedback {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #374151;
}

.details-report__feedback--success {
    color: #166534;
}

.details-report__feedback--error {
    color: #991b1b;
}

@media (prefers-reduced-motion: reduce) {
    .toolbar-chip,
    .toolbar-icon-btn,
    .browse-scope-btn {
        transition: none;
    }
}

.list-footer {
    margin-top: 16px;
    display: grid;
    gap: 8px;
    justify-items: center;
    text-align: center;
}

.list-footer__status {
    margin: 0;
    font-size: 0.95rem;
    color: #4b5563;
    max-width: 520px;
    line-height: 1.6;
}

.list-footer__jump {
    font-size: 0.9rem;
    color: var(--accent);
    text-decoration: underline;
    font-weight: 700;
}

.list-footer__jump:focus,
.list-footer__jump:hover {
    color: var(--primary);
}

.load-more-btn {
    min-width: 220px;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
}

.empty-state {
    margin: 24px 0;
    padding: 18px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    text-align: center;
    color: #4b5563;
}

.empty-state--rich {
    text-align: left;
}

.empty-state__title {
    margin: 0 0 6px;
    font-size: 1.1rem;
    font-weight: 900;
    color: #111827;
}

.empty-state__text {
    margin: 0 0 14px;
    font-size: 0.98rem;
    font-weight: 600;
    color: #4b5563;
    line-height: 1.55;
}

.empty-state__hint {
    margin: -4px 0 14px;
    color: #6b7280;
    line-height: 1.5;
}

.empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn--small {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 800;
}

.btn--ghost {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #111827;
}

.btn--ghost:hover {
    background: #f9fafb;
    color: #111827;
    transform: translateY(-1px);
}

/* Skeleton loading */
.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.skeleton-card {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.06);
    padding: 14px;
}

.skeleton {
    border-radius: 12px;
    background: linear-gradient(90deg, #eef2f7 0%, #f5f7fb 35%, #eef2f7 70%);
    background-size: 200% 100%;
    animation: shimmer 1.2s ease-in-out infinite;
}

.skeleton-media {
    aspect-ratio: 16 / 9;
    width: 100%;
    border-radius: 14px;
    margin-bottom: 12px;
}

.skeleton-title {
    height: 16px;
    width: 70%;
    margin-bottom: 10px;
}

.skeleton-chips {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.skeleton-chip {
    height: 28px;
    width: 30%;
    border-radius: 999px;
}

.skeleton-line {
    height: 12px;
    width: 100%;
    margin-bottom: 8px;
}

.skeleton-line.short {
    width: 65%;
    margin-bottom: 14px;
}

.skeleton-actions {
    display: flex;
    gap: 10px;
}

.skeleton-btn {
    height: 40px;
    width: 50%;
    border-radius: 14px;
}

@keyframes shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: 0 0; }
}

@media (max-width: 600px) {
    .list-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .load-more-btn {
        width: 100%;
    }
    .list-footer {
        gap: 10px;
    }
    .list-footer__status {
        font-size: 0.98rem;
        line-height: 1.55;
    }
    .list-footer__jump {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 36px;
        padding: 2px 0;
        font-size: 0.92rem;
    }
    .card {
        padding: 18px;
    }
}

.card {
    background: var(--light);
    padding: 24px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 0 0 1px rgba(248, 205, 7, 0.16) inset, var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    border: 1px solid rgba(17, 24, 39, 0.10);
    position: relative;
    overflow: hidden;
}

/* Consistent media area to avoid image distortion */
.card-media {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}
.card-media__stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--light-gray);
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-media__stage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimizeQuality;
}
.card-media__stage--interactive {
    cursor: zoom-in;
}
.card-media__stage--interactive:focus-visible {
    outline: 3px solid rgba(248, 205, 7, 0.35);
    outline-offset: 2px;
}
.card-media__count {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    padding: 4px 6px;
    border-radius: 999px;
    pointer-events: none;
}
.card-media__thumbs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
}
.card-media__thumb {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    width: 64px;
    height: 64px;
    padding: 0;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}
.card-media__thumb--active {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.2);
}
.card-media__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0.92;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 0 1px rgba(248, 205, 7, 0.22) inset, var(--shadow-lg);
}

.card:hover::before {
    opacity: 1;
}

.card:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 0 0 3px rgba(248, 205, 7, 0.35), 0 0 0 1px rgba(248, 205, 7, 0.18) inset, var(--shadow-md);
}

/* Listings cards (satılık / kiralık): simple, tap-friendly */
body.page-mode-satilik .card,
body.page-mode-kiralik .card,
body.page-mode-harfiyat .card {
    cursor: pointer;
    border: 2px solid rgba(248, 205, 7, 0.55);
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff, #fbfbfb);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
    padding: 14px;
    display: grid;
    grid-template-columns: minmax(104px, 132px) minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
}

body.page-mode-satilik .card::before,
body.page-mode-kiralik .card::before,
body.page-mode-harfiyat .card::before {
    content: none;
}

body.page-mode-satilik .card:hover,
body.page-mode-kiralik .card:hover,
body.page-mode-harfiyat .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 54px rgba(0, 0, 0, 0.14);
}

body.page-mode-satilik .card:focus-within,
body.page-mode-kiralik .card:focus-within,
body.page-mode-harfiyat .card:focus-within,
body.page-mode-satilik .card.card--tappable:focus-visible,
body.page-mode-kiralik .card.card--tappable:focus-visible,
body.page-mode-harfiyat .card.card--tappable:focus-visible {
    transform: translateY(0);
    box-shadow: 0 0 0 4px rgba(248, 205, 7, 0.22), 0 26px 54px rgba(0, 0, 0, 0.14);
    outline: none;
}

body.page-mode-satilik .card:active,
body.page-mode-kiralik .card:active,
body.page-mode-harfiyat .card:active {
    transform: translateY(-1px);
}

body.page-mode-satilik .card.is-opening,
body.page-mode-kiralik .card.is-opening,
body.page-mode-harfiyat .card.is-opening {
    transform: translateY(-1px) scale(0.995);
    box-shadow: 0 0 0 3px rgba(248, 205, 7, 0.18), 0 18px 32px rgba(0, 0, 0, 0.12);
}

body.page-mode-satilik .card-media__stage,
body.page-mode-kiralik .card-media__stage,
body.page-mode-harfiyat .card-media__stage {
    border-radius: 18px;
    min-height: 100%;
    height: 100%;
}

body.page-mode-satilik .card-media__stage--placeholder,
body.page-mode-kiralik .card-media__stage--placeholder,
body.page-mode-harfiyat .card-media__stage--placeholder {
    background: linear-gradient(180deg, rgba(248, 205, 7, 0.14), rgba(248, 205, 7, 0.04));
    border-color: rgba(248, 205, 7, 0.28);
}

.card-media__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 6px;
    padding: 14px;
}

.card-media__placeholder-type {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.08);
    color: #111827;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.card-media__placeholder-title {
    font-size: 1rem;
    font-weight: 900;
    color: #111827;
    line-height: 1.2;
}

.card-media__placeholder-hint {
    font-size: 0.8rem;
    font-weight: 700;
    color: #6b7280;
    line-height: 1.3;
}

body.page-mode-satilik .card-media__thumbs,
body.page-mode-kiralik .card-media__thumbs,
body.page-mode-harfiyat .card-media__thumbs {
    display: none;
}

body.page-mode-satilik .details-sheet__media .card-media__thumbs,
body.page-mode-kiralik .details-sheet__media .card-media__thumbs,
body.page-mode-harfiyat .details-sheet__media .card-media__thumbs {
    display: flex;
}

body.page-mode-satilik .details-sheet__media-hint,
body.page-mode-kiralik .details-sheet__media-hint,
body.page-mode-harfiyat .details-sheet__media-hint {
    margin: 8px 2px 0;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
    color: #6b7280;
}

body.page-mode-satilik .card-header,
body.page-mode-kiralik .card-header,
body.page-mode-harfiyat .card-header {
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 6px;
}

body.page-mode-satilik .card h3,
body.page-mode-kiralik .card h3,
body.page-mode-harfiyat .card h3 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 900;
    color: #111827;
    line-height: 1.25;
}

body.page-mode-satilik .fact-chips,
body.page-mode-kiralik .fact-chips,
body.page-mode-harfiyat .fact-chips {
    gap: 8px;
    margin: 0 0 8px;
}

body.page-mode-satilik .fact-chip,
body.page-mode-kiralik .fact-chip,
body.page-mode-harfiyat .fact-chip {
    padding: 7px 10px;
    font-size: 0.82rem;
    border-radius: 999px;
    border-color: rgba(17, 24, 39, 0.08);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.06);
}

body.page-mode-satilik .fact-chip--distance,
body.page-mode-kiralik .fact-chip--distance,
body.page-mode-harfiyat .fact-chip--distance {
    background: rgba(124, 58, 237, 0.12);
    border-color: rgba(124, 58, 237, 0.22);
    color: #5b21b6;
}

body.page-mode-satilik .fact-chip--price,
body.page-mode-kiralik .fact-chip--price,
body.page-mode-harfiyat .fact-chip--price {
    background: rgba(6, 182, 212, 0.14);
    border-color: rgba(6, 182, 212, 0.25);
    color: #155e75;
}

body.page-mode-satilik .fact-chip--online,
body.page-mode-kiralik .fact-chip--online,
body.page-mode-harfiyat .fact-chip--online {
    background: rgba(248, 205, 7, 0.18);
    border-color: rgba(248, 205, 7, 0.38);
    color: #92400e;
}

body.page-mode-satilik .fact-chip--offline,
body.page-mode-kiralik .fact-chip--offline,
body.page-mode-harfiyat .fact-chip--offline {
    background: rgba(220, 38, 38, 0.10);
    border-color: rgba(220, 38, 38, 0.22);
    color: #991b1b;
}

body.page-mode-satilik .card-subtitle,
body.page-mode-kiralik .card-subtitle,
body.page-mode-harfiyat .card-subtitle {
    color: #6b7280;
    margin: 0 0 8px;
    font-size: 0.9rem;
}

body.page-mode-satilik .card-avatar,
body.page-mode-kiralik .card-avatar,
body.page-mode-harfiyat .card-avatar {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff, #f3f4f6);
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.10);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    position: relative;
    overflow: hidden;
}

body.page-mode-satilik .card-avatar__img,
body.page-mode-kiralik .card-avatar__img,
body.page-mode-harfiyat .card-avatar__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-mode-satilik .card-avatar__text,
body.page-mode-kiralik .card-avatar__text,
body.page-mode-harfiyat .card-avatar__text {
    font-weight: 900;
    color: #4b5563;
    letter-spacing: 0.6px;
    font-size: 0.9rem;
}

body.page-mode-satilik .card-avatar--has-img .card-avatar__text,
body.page-mode-kiralik .card-avatar--has-img .card-avatar__text,
body.page-mode-harfiyat .card-avatar--has-img .card-avatar__text {
    opacity: 0;
}

body.page-mode-satilik .card-avatar--online::after,
body.page-mode-kiralik .card-avatar--online::after,
body.page-mode-harfiyat .card-avatar--online::after {
    content: "";
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #f8cd07;
    border: 2px solid #ffffff;
    box-shadow: 0 8px 16px rgba(248, 205, 7, 0.32);
}

body.page-mode-satilik .card-avatar--offline::after,
body.page-mode-kiralik .card-avatar--offline::after,
body.page-mode-harfiyat .card-avatar--offline::after {
    content: "";
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #ef4444;
    border: 2px solid #ffffff;
    box-shadow: 0 8px 16px rgba(239, 68, 68, 0.25);
}

.card .info {
    flex: 1;
    min-width: 0;
}

.card h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
}

.card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.fact-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}

.fact-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #111827;
    font-weight: 900;
    font-size: 0.85rem;
    line-height: 1;
    white-space: nowrap;
}

.fact-chip--distance {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #3730a3;
}

.fact-chip--price {
    background: #ecfeff;
    border-color: #a5f3fc;
    color: #155e75;
}

.fact-chip--online {
    background: rgba(22, 163, 74, 0.10);
    border-color: rgba(22, 163, 74, 0.25);
    color: #166534;
}

.fact-chip--offline {
    background: rgba(220, 38, 38, 0.10);
    border-color: rgba(220, 38, 38, 0.25);
    color: #991b1b;
}

.card-details {
    margin-top: 8px;
    border-top: 1px solid #e5e7eb;
    padding-top: 10px;
}

.card-details summary {
    cursor: pointer;
    font-weight: 900;
    color: #111827;
    font-size: 0.95rem;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.card-details summary::-webkit-details-marker {
    display: none;
}

.card-details summary::after {
    content: "▾";
    font-size: 16px;
    color: #6b7280;
    transition: transform 0.15s ease;
}

.card-details[open] summary::after {
    transform: rotate(-180deg);
}

.card-details__body {
    margin-top: 10px;
    display: grid;
    gap: 8px;
}

.card .card-details__body .card-details__item {
    margin: 0;
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.55;
}

.card .card-details__body .card-details__item b {
    color: #111827;
}

.card p {
    margin: 5px 0;
    font-size: 0.95rem;
    color: var(--gray);
}

.card-description {
    white-space: pre-line;
    word-break: break-word;
}

.card-subtitle {
    margin: 0 0 12px;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #6b7280;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-open-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: -2px 0 6px;
    color: #6b7280;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.4;
}

.card-open-hint::after {
    content: '›';
    font-size: 1rem;
    color: #111827;
}

.card .actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.card .actions a {
    padding: 10px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: all 0.2s ease;
    font-weight: 600;
    flex: 1;
    text-align: center;
}

.card .actions a.call {
    background-color: var(--success);
    color: var(--light);
}

.card .actions a.call:hover {
    background-color: #476022;
    transform: translateY(-1px);
    text-decoration: none;
}

.card .actions a.route {
    background-color: var(--accent);
    color: var(--light);
}

.card .actions a.route:hover {
    background-color: #4a6226;
    transform: translateY(-1px);
    text-decoration: none;
}

.card .actions a.call::before {
    content: '📱 ';
    margin-right: 6px;
}

.card .actions a.route::before {
    content: '🗺️ ';
    margin-right: 6px;
}

body.page-mode-satilik .card-media,
body.page-mode-kiralik .card-media,
body.page-mode-harfiyat .card-media {
    margin: 0;
    min-width: 0;
}

body.page-mode-satilik .card-media__stage img,
body.page-mode-kiralik .card-media__stage img,
body.page-mode-harfiyat .card-media__stage img {
    height: 100%;
    min-height: 120px;
}

body.page-mode-satilik .card-body,
body.page-mode-kiralik .card-body,
body.page-mode-harfiyat .card-body {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 10px;
}

body.page-mode-satilik .card .info,
body.page-mode-kiralik .card .info,
body.page-mode-harfiyat .card .info {
    display: grid;
    gap: 8px;
    align-content: start;
}

/* Simplified listings pages: cleaner action layout + details CTA */
body.page-mode-satilik .card .actions,
body.page-mode-kiralik .card .actions,
body.page-mode-harfiyat .card .actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 4px;
}

body.page-mode-satilik .card .actions a.call::before,
body.page-mode-kiralik .card .actions a.call::before,
body.page-mode-harfiyat .card .actions a.call::before {
    content: '📱';
    margin-right: 0;
}

body.page-mode-satilik .card .actions a.route::before,
body.page-mode-kiralik .card .actions a.route::before,
body.page-mode-harfiyat .card .actions a.route::before {
    content: '🗺️';
    margin-right: 0;
}

body.page-mode-satilik .card .actions a,
body.page-mode-kiralik .card .actions a,
body.page-mode-harfiyat .card .actions a,
body.page-mode-satilik .card .actions button,
body.page-mode-kiralik .card .actions button,
body.page-mode-harfiyat .card .actions button {
    width: 100%;
    padding: 12px 14px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.10);
    transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    text-decoration: none;
    flex: initial;
}

body.page-mode-satilik .card .actions a.call,
body.page-mode-kiralik .card .actions a.call,
body.page-mode-harfiyat .card .actions a.call {
    background: linear-gradient(180deg, #f8cd07, #f59e0b);
    border-color: rgba(146, 64, 14, 0.32);
    color: #111827;
    box-shadow: 0 18px 34px rgba(248, 205, 7, 0.26);
}

body.page-mode-satilik .card .actions a.route,
body.page-mode-kiralik .card .actions a.route,
body.page-mode-harfiyat .card .actions a.route {
    background: linear-gradient(180deg, #f8cd07, #f59e0b);
    border-color: rgba(146, 64, 14, 0.32);
    color: #111827;
    box-shadow: 0 18px 34px rgba(248, 205, 7, 0.22);
}

body.page-mode-satilik .card .actions a.call:hover,
body.page-mode-kiralik .card .actions a.call:hover,
body.page-mode-harfiyat .card .actions a.call:hover {
    filter: brightness(1.03);
}

body.page-mode-satilik .card .actions a.route:hover,
body.page-mode-kiralik .card .actions a.route:hover,
body.page-mode-harfiyat .card .actions a.route:hover {
    filter: brightness(1.03);
    box-shadow: 0 22px 44px rgba(248, 205, 7, 0.28);
}

body.page-mode-satilik .card .actions a:hover,
body.page-mode-kiralik .card .actions a:hover,
body.page-mode-harfiyat .card .actions a:hover {
    transform: translateY(-1px);
    filter: brightness(1.01);
    text-decoration: none;
}

body.page-mode-satilik .card .actions a:active,
body.page-mode-kiralik .card .actions a:active,
body.page-mode-harfiyat .card .actions a:active,
body.page-mode-satilik .card .actions button:active,
body.page-mode-kiralik .card .actions button:active,
body.page-mode-harfiyat .card .actions button:active {
    transform: translateY(0);
    filter: brightness(0.99);
}

/* Enhanced Status Badges */
.status-online,
.status-offline {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 2px solid;
}

.status-online { 
    background: rgba(22,163,74,0.1); 
    color: var(--success); 
    border-color: rgba(22,163,74,0.3); 
}

.status-offline { 
    background: rgba(220,38,38,0.1); 
    color: var(--danger); 
    border-color: rgba(220,38,38,0.3); 
}

/* Enhanced Dashboard */
.dashboard-section {
    margin-bottom: 40px;
}

.dashboard-section h3 {
    margin-top: -6vw;
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: var(--dark);
}

/* Enhanced Controls */
.controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    backdrop-filter: saturate(180%) blur(10px);
    background: rgba(255,255,255,0.8);
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

/* Enhanced Accordion */
/* Default summary styling */
details > summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 16px 20px;
    border-radius: var(--border-radius-sm);
    border: 2px solid #e5e7eb;
    background: var(--light);
    font-weight: 600;
    line-height: 1.35;
    transition: all 0.2s ease;
}

/* Call-to-action pill buttons (three stacked) by section */
#sec-location > summary,
#sec-categories > summary,
#sec-advanced > summary {
    border: 0; background: #cfcfcf; color: #111827; padding: 16px 18px; border-radius: 18px; text-align: center; font-weight: 800; box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}
#sec-location > summary { background:#ffffff; box-shadow: 0 10px 18px rgba(0,0,0,0.2); }
#sec-location > summary:hover,
#sec-categories > summary:hover,
#sec-advanced > summary:hover { filter: brightness(0.98); transform: translateY(-1px); }
#sec-location > summary::-webkit-details-marker,
#sec-categories > summary::-webkit-details-marker,
#sec-advanced > summary::-webkit-details-marker { display:none; }

details > summary:hover {
    border-color: var(--accent);
}

details[open] > summary {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
}

details > summary::-webkit-details-marker { display: none; }

#sec-location > summary {
    background: #e0f7fa;
    border-color: #4dd0e1;
}

#sec-location[open] > summary {
    background: #4dd0e1;
    border-color: #26c6da;
    color: var(--dark);
}
/* Content wrapper for Konum & Mesafe */
#sec-location > div {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px;
    box-shadow: var(--shadow-sm);
}
/* Small pill badge to show current distance */
#sec-location > summary .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--primary);
    color: var(--dark);
    border: 1px solid rgba(0,0,0,0.08);
    font-size: .85rem;
}

#sec-categories > summary {
    background: #fff3e0;
    border-color: #ffb74d;
}

#sec-categories[open] > summary {
    background: #ffb74d;
    border-color: #ffa726;
    color: var(--dark);
}

#sec-advanced > summary {
    background: #e8f5e9;
    border-color: #81c784;
}

#sec-advanced[open] > summary {
    background: #81c784;
    border-color: #66bb6a;
    color: var(--dark);
}

.inline-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
}

.chip {
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 9999px;
    border: 2px solid #e5e7eb;
    background: var(--light);
    color: var(--dark); /* Ensure chip text is dark */
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.chip:hover {
    border-color: var(--accent);
    transform: translateY(-1px);
}

.chip.active {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
}

.category-chip-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    overflow: visible;
    padding-bottom: 0;
}

.category-chip {
    position: relative;
    display: block;
}

.category-chip__input {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.category-chip .chip {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 14px;
}

.category-chip__input:checked + .chip {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
}

.category-chip__input:focus-visible + .chip {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(91, 117, 45, 0.18);
}

@media (max-width: 600px) {
    .category-chip-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .category-chip .chip {
        font-size: 0.88rem;
        padding: 10px 12px;
    }
}

.toggle input[type="checkbox"] {
    margin-right: 8px;
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

.toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    font-size: 1rem;
    line-height: 1.45;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.controls label {
    font-weight: 600;
    color: var(--dark);
}

.field-hint {
    display: block;
    margin-top: 6px;
    color: #6b7280;
    line-height: 1.45;
    font-size: 0.95rem;
}

.controls input[type="range"] {
    width: 100%;
    accent-color: var(--success);
    -webkit-appearance: none;
    height: 8px;
    border-radius: 4px;
    background: #e5e7eb; /* gradient fill applied inline via JS */
    outline: none;
}

.distance-hint { margin-top: 6px; color:#6b7280; font-size:.92rem; }

.controls input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    background: var(--success);
    height: 20px;
    width: 20px;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -6px; /* Adjust to align with track */
}

.controls input[type="range"]::-webkit-slider-runnable-track {
    background: #e5e7eb;
    height: 8px;
    border-radius: 4px;
}

.controls input[type="text"],
.controls input[type="search"],
.controls select {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius-sm);
    background: var(--light);
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    font-size: 16px;
    transition: all 0.2s ease;
}

.controls input[type="text"]:focus,
.controls input[type="search"]:focus,
.controls select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(91, 117, 45, 0.1);
}

.controls button:not(.chip) {
    padding: 12px 20px;
    border: none;
    border-radius: var(--border-radius-sm);
    background: var(--primary);
    color: var(--dark); /* Ensure text is dark on primary background */
    cursor: pointer;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.controls button:not(.chip):hover {
    background: var(--warning);
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.controls button:not(.chip):focus-visible,
.chip:focus-visible,
details > summary:focus-visible,
.seller-listings__item:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(91, 117, 45, 0.18);
}

/* Smart fuzzy suggestions under manual location input */
#location-smart-choices {
    margin-top: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
#location-smart-choices .smart-title {
    padding: 10px 12px;
    font-weight: 700;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}
#location-smart-choices .smart-title--plain {
    border-bottom: 0;
}
#location-smart-choices .smart-help {
    padding: 8px 12px;
    font-size: 0.92rem;
    color: #4b5563;
    background: #ffffff;
    border-bottom: 1px solid #f3f4f6;
}
#location-smart-choices .smart-list { display: grid; gap: 0; }
#location-smart-choices .smart-item {
    display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px;
    min-height: 52px; padding: 12px 14px; text-align: left; background: #fff; border: 0; border-top: 1px solid #f3f4f6; cursor: pointer;
}
#location-smart-choices .smart-item:hover { background: #f9fafb; }
#location-smart-choices .smart-name { font-weight: 600; color: #111827; }
#location-smart-choices .smart-meta { font-size: .9rem; color: #6b7280; }
#location-smart-choices .smart-cta { font-weight: 800; color: var(--accent); }

.loading {
    text-align: center;
    color: var(--primary);
    font-weight: 600;
    padding: 20px;
}
.loading--inline {
    display: grid;
    justify-items: center;
    gap: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
}
.loading--inline .spinner {
    margin-bottom: 0;
}
.loading-error {
    text-align: center;
    color: var(--danger);
    font-weight: 600;
    padding: 18px;
    line-height: 1.45;
}

.notice {
    margin-bottom: 20px;
    padding: 16px 20px;
    border-radius: var(--border-radius-sm);
    background: var(--primary);
    color: var(--dark);
    border: 2px solid var(--dark);
    font-size: 0.95rem;
    font-weight: 500;
}

.notice--inline {
    margin: 0;
    padding: 12px 14px;
    border-width: 1px;
    font-weight: 600;
}

.list-summary__notice {
    display: grid;
    gap: 12px;
}

.list-summary__notice-text {
    line-height: 1.55;
}

.list-summary__notice-actions {
    gap: 8px;
}
/* If notice has no content, hide it to avoid an empty yellow bar */
.notice:empty { display: none; padding: 0; border-width: 0; margin: 0; }

.spinner {
    border: 4px solid #e5e7eb;
    border-top-color: var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.page-loader {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(6px);
    z-index: 9999;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.page-loader--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.page-loader__inner {
    width: min(320px, 100%);
    padding: 28px 24px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
    display: grid;
    gap: 16px;
    text-align: center;
    transform: translateY(0);
    transition: transform 0.35s ease;
}
.page-loader__logo {
    width: clamp(64px, 18vw, 96px);
    margin: 0 auto;
}
.page-loader__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
}
.page-loader__hint {
    margin: 0;
    font-size: 0.95rem;
    color: #4b5563;
}
.page-loader__spinner {
    width: 48px;
    height: 48px;
}
.page-loader--hidden .page-loader__inner {
    transform: translateY(8px);
}

/* Enhanced Admin Table */
.admin-inline-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 16px;
}

.admin-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(91, 117, 45, 0.10);
    border: 1px solid rgba(91, 117, 45, 0.20);
    color: #3f521f;
    font-size: 0.92rem;
    font-weight: 800;
}

.admin-summary-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    color: #374151;
    background: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.admin-summary-link.is-active {
    background: rgba(249, 115, 22, 0.10);
    border-color: rgba(234, 88, 12, 0.28);
    color: #9a3412;
}

.admin-inline-note {
    margin-top: 6px;
    font-size: 0.86rem;
    line-height: 1.45;
    color: #9a3412;
    font-weight: 700;
}

.admin-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.admin-summary__card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    padding: 12px 14px;
    box-shadow: var(--shadow-sm);
}

.admin-summary__label {
    display: block;
    font-size: 0.88rem;
    color: #6b7280;
    margin-bottom: 6px;
}

.admin-summary__card strong {
    display: block;
    font-size: 1.35rem;
    line-height: 1.1;
    color: #111827;
}

.admin-filterbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.admin-filterchip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    color: #374151;
    background: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.admin-filterchip--active {
    background: rgba(249, 115, 22, 0.10);
    border-color: rgba(234, 88, 12, 0.28);
    color: #9a3412;
}

.admin-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-row--attention td:first-child {
    border-left: 4px solid #ea580c;
    font-weight: 800;
}

.admin-report-cell {
    display: grid;
    gap: 4px;
    min-width: 180px;
}

.admin-report-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.14);
    color: #9a3412;
    font-size: 0.84rem;
    font-weight: 800;
}

.admin-report-meta {
    color: #4b5563;
    line-height: 1.45;
}

.admin-empty {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #4b5563;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.admin-table th,
.admin-table td {
    border: 1px solid #e5e7eb;
    padding: 12px 16px;
    text-align: left;
}

/* Admin and dashboard image previews: keep logos tidy */
.form-box img[alt*="Logo"],
.admin-table img,
.form-box .logo img {
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
}

.admin-table th {
    background: var(--light-gray);
    color: var(--dark);
    font-weight: 600;
}

.admin-table tr:nth-child(even) {
    background: rgba(248, 249, 250, 0.5);
}

.admin-table tr.admin-row--reported {
    background: rgba(249, 115, 22, 0.06);
}

.admin-table tr.admin-row--reported td:first-child {
    border-left: 4px solid #f97316;
    font-weight: 800;
}

.admin-table tr.log-row--report {
    background: rgba(249, 115, 22, 0.08);
}

.admin-table tr.log-row--report td:first-child {
    border-left: 4px solid #ea580c;
    font-weight: 800;
}

.log-details {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.log-details li {
    margin-bottom: 6px;
}

/* Desktop Specific Enhancements */
@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
    
    .cards {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
    }
    
    .controls {
        flex-direction: row;
        align-items: flex-end;
        gap: 30px;
    }
    
    .inline-controls {
        min-width: 200px;
    }
    
    .form-box {
        padding: 40px;
    }
    
    .card .actions {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .cards {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    }
    
    .controls {
        position: sticky;
        top: 100px;
        z-index: 100;
    }
}

/* Mobile Responsive Design */
@media (max-width: 767px) {
    /* Mobile-friendly banner/nav */
    header { padding-top: 0; }
    header .logo img { width: min(200px, 60vw); }
    header .logo::before {
        top: -12vw;
        /* Extend banner deeper and fade later so it meets the menu */
        height: clamp(200px, 44vw, 380px);
        -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 96%, rgba(0,0,0,0) 100%);
                mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 96%, rgba(0,0,0,0) 100%);
    }
    header nav { gap: 0; justify-content: space-between; padding: 4px 8px; }
    header nav a { font-size: 0.98rem; padding: 10px 4px; }
    
    .container {
        margin: 20px auto;
        padding: 0 15px;
    }
    
    .controls {
        position: static;
        top: auto;
        z-index: auto;
        padding: 16px;
    }
    
    .card {
        padding: 20px;
    }

    body.page-mode-satilik .card,
    body.page-mode-kiralik .card,
    body.page-mode-harfiyat .card {
        grid-template-columns: 108px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    body.page-mode-satilik .card-media__stage img,
    body.page-mode-kiralik .card-media__stage img,
    body.page-mode-harfiyat .card-media__stage img {
        min-height: 104px;
    }

    .card-media__placeholder {
        padding: 12px;
        gap: 5px;
    }

    .card-media__placeholder-title {
        font-size: 0.92rem;
    }

    .card-media__placeholder-hint {
        font-size: 0.75rem;
    }
    
    .card .actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .card .actions a {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    body.page-mode-satilik .card .actions,
    body.page-mode-kiralik .card .actions,
    body.page-mode-harfiyat .card .actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 2px;
    }
    
    .form-box {
        padding: 20px;
        margin-bottom: 20px;
    }

    .photo-manager__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    
    #business-list {
        margin-top: 15px;
    }
    
    .controls > div {
        width: 100%;
    }
    
    .admin-table th,
    .admin-table td {
        font-size: 0.85rem;
        padding: 8px 10px;
}

    .inline-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .inline-controls .btn,
    .inline-controls button:not(.chip) {
        width: 100%;
    }

    .chip-group {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    body.page-mode-satilik .card .actions,
    body.page-mode-kiralik .card .actions,
    body.page-mode-harfiyat .card .actions {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    body.page-mode-satilik .card .actions a,
    body.page-mode-kiralik .card .actions a,
    body.page-mode-harfiyat .card .actions a,
    body.page-mode-satilik .card .actions button,
    body.page-mode-kiralik .card .actions button,
    body.page-mode-harfiyat .card .actions button {
        line-height: 1.2;
        box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
    }
}

@media (max-width: 420px) {
    body.page-mode-satilik .card,
    body.page-mode-kiralik .card,
    body.page-mode-harfiyat .card {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 10px;
    }

    body.page-mode-satilik .card h3,
    body.page-mode-kiralik .card h3,
    body.page-mode-harfiyat .card h3 {
        font-size: 1.05rem;
    }

    body.page-mode-satilik .fact-chip,
    body.page-mode-kiralik .fact-chip,
    body.page-mode-harfiyat .fact-chip {
        font-size: 0.84rem;
        padding: 6px 9px;
    }
}

/* Auth pages (login) */
body.page-login {
    background: linear-gradient(180deg, #f5f1eb, #f2f2f2 55%, #ffffff 100%);
    color: #111827;
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: calc(18px + env(safe-area-inset-top, 0px)) 14px calc(34px + env(safe-area-inset-bottom, 0px));
}

.auth-card {
    width: 100%;
    max-width: 560px;
    background: #fdfbf8;
    border-radius: 28px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.10);
    padding: 22px 16px 18px;
}

.auth-logo {
    width: min(240px, 70vw);
    height: auto;
    display: block;
    margin: 6px auto 10px;
}

.auth-title {
    margin: 8px 0 8px;
    text-align: center;
    font-size: clamp(26px, 7vw, 40px);
    font-weight: 900;
    letter-spacing: 0.2px;
    color: #111827;
}

.auth-subtitle {
    margin: 0 auto 16px;
    max-width: 40ch;
    text-align: center;
    font-size: 16px;
    line-height: 1.55;
    color: #4b5563;
}

.auth-body {
    margin-top: 14px;
    display: grid;
    gap: 14px;
    align-items: stretch;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    padding: 14px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(245, 241, 235, 0.78));
    border: 1px solid rgba(17, 24, 39, 0.06);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.auth-illustration {
    border-radius: 18px;
    overflow: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
    min-height: 340px;
}

.auth-illustration img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.auth-form-card {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.10);
    padding: 18px;
    backdrop-filter: blur(14px);
    position: relative;
    z-index: 2;
    margin-left: -50px;
    align-self: center;
}

.auth-control + .auth-control {
    margin-top: 12px;
}

.auth-label {
    display: block;
    margin: 10px 2px 6px;
    font-size: 0.92rem;
    font-weight: 900;
    color: #111827;
}

.auth-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(17, 24, 39, 0.10);
    background: rgba(243, 244, 246, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 12px 26px rgba(15, 23, 42, 0.10);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.auth-input:focus-within {
    border-color: rgba(17, 24, 39, 0.28);
    box-shadow: 0 0 0 4px rgba(248, 205, 7, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 14px 30px rgba(0, 0, 0, 0.10);
}

.auth-input input {
    width: 100%;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: #111827;
    font-size: 18px;
    padding: 0;
}

.auth-submit,
.auth-register__btn,
.auth-home {
    touch-action: manipulation;
}

.auth-prefix {
    font-weight: 900;
    color: #111827;
    font-size: 18px;
}

.auth-caret {
    font-size: 14px;
    color: #6b7280;
}

.auth-divider {
    width: 1px;
    height: 26px;
    background: #e5e7eb;
    flex: 0 0 auto;
}

.auth-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex: 0 0 auto;
}

.auth-input--icon .auth-icon {
    width: 42px;
    height: 42px;
    box-sizing: border-box;
    padding: 9px;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8cd07, #f59e0b);
    border: 1px solid rgba(146, 64, 14, 0.22);
    box-shadow: 0 12px 22px rgba(245, 158, 11, 0.22);
}

.auth-error {
    margin-bottom: 12px;
    border-radius: 14px;
    padding: 10px 12px;
    background: rgba(220, 38, 38, 0.10);
    border: 1px solid rgba(220, 38, 38, 0.25);
    color: #991b1b;
    font-weight: 800;
    line-height: 1.35;
}

.auth-submit {
    width: 100%;
    margin-top: 14px;
    border: none;
    border-radius: 18px;
    padding: 16px 16px;
    background: linear-gradient(180deg, #2b2f36, #111827);
    color: #ffffff;
    font-weight: 900;
    font-size: 1.14rem;
    box-shadow: 0 18px 34px rgba(17, 24, 39, 0.25);
    transition: transform 0.18s ease, filter 0.18s ease;
}

.auth-submit:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.auth-submit:focus-visible {
    outline: 3px solid rgba(17, 24, 39, 0.25);
    outline-offset: 2px;
}

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

.auth-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-weight: 900;
    font-size: 1rem;
    color: #6b7280;
    text-decoration: none;
}

.auth-link:hover {
    color: #111827;
    text-decoration: underline;
}

body.page-login .kvkk-inline-note {
    margin-top: 10px;
    text-align: center;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #6b7280;
}

body.page-login .kvkk-inline-note button {
    appearance: none;
    background: none;
    border: none;
    padding: 0;
    color: #111827;
    font-weight: 900;
    text-decoration: underline;
    cursor: pointer;
}

.auth-register {
    margin-top: 16px;
    padding: 14px 14px 12px;
    border-radius: 18px;
    border: 2px solid rgba(245, 158, 11, 0.55);
    background: rgba(255, 255, 255, 0.78);
    text-align: center;
}

.auth-register__title {
    margin: 0 0 10px;
    font-weight: 900;
    color: #374151;
}

.auth-register__btn {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    padding: 14px 16px;
    background: linear-gradient(180deg, #f8cd07, #f59e0b);
    color: #111827;
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 0 18px 34px rgba(245, 158, 11, 0.30);
    text-decoration: none;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.auth-register__btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
    text-decoration: none;
}

.auth-home {
    margin-top: 12px;
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    padding: 14px 16px;
    border: 1px solid rgba(17, 24, 39, 0.10);
    background: rgba(17, 24, 39, 0.06);
    color: #111827;
    font-weight: 900;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 10px 22px rgba(15, 23, 42, 0.08);
}

.auth-home:hover {
    background: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

/* Captcha block (kept for security, styled lightly) */
.auth-control--captcha {
    margin-top: 12px;
    border-top: 1px solid rgba(17, 24, 39, 0.06);
    padding-top: 10px;
}

.auth-control--captcha .auth-label {
    margin: 0 2px 6px;
    text-align: center;
    color: #4b5563;
    font-weight: 800;
    font-size: 0.9rem;
}

.auth-control--captcha .auth-input {
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(17, 24, 39, 0.10);
}

.auth-control--captcha .auth-input input {
    text-align: center;
    letter-spacing: 0.4px;
    font-weight: 900;
    font-size: 15px;
    color: #111827;
    -moz-appearance: textfield;
}

.auth-control--captcha .auth-input input::-webkit-outer-spin-button,
.auth-control--captcha .auth-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.auth-control--captcha .auth-input:focus-within {
    border-color: rgba(17, 24, 39, 0.22);
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.06), 0 10px 22px rgba(0, 0, 0, 0.06);
}

@media (max-width: 600px) {
    .auth-card {
        border-radius: 24px;
        padding: 18px 14px 16px;
    }
    .auth-body {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px;
    }
    .auth-illustration {
        display: none;
    }
    .auth-form-card {
        padding: 16px;
        margin-left: 0;
    }
    .auth-input {
        padding: 15px 16px;
        border-radius: 18px;
    }
    .auth-input--icon .auth-icon {
        width: 40px;
        height: 40px;
        padding: 8px;
        border-radius: 15px;
    }
    .auth-submit,
    .auth-register__btn,
    .auth-home {
        min-height: 52px;
    }
    .listings-toolbar__row {
        align-items: stretch;
    }
    .listings-toolbar__buttons {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .toolbar-chip--urgent {
        flex: 1 1 150px;
    }
}

@media (min-width: 560px) {
    .auth-card {
        padding: 26px 20px 20px;
    }
    .auth-body {
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
        gap: 18px;
        align-items: stretch;
        padding: 18px;
    }
    .auth-illustration {
        min-height: 420px;
    }
    .auth-form-card {
        margin-left: -120px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-submit,
    .auth-register__btn {
        transition: none;
    }
}

/* Hero overrides for existing inline block on index.php */
.slogan-box h1 {
    /* Prefer Zuume Rough Bold if available, fallback to Black Ops One */
    font-family: 'Zuume Rough', 'Zuume Rough Bold', 'Black Ops One', 'Poppins', system-ui, sans-serif !important;
    text-transform: none !important; /* preserve proper Turkish diacritics */
    letter-spacing: 1px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    font-size: clamp(30px, 9vw, 60px) !important;
    /* Solid dark fill with a very light outline to retain roughness without merging dots */
    -webkit-text-fill-color: #111827 !important;
    color: #111827 !important;
    -webkit-text-stroke: .15px rgba(15, 23, 42, 0.6) !important;
    text-shadow: none !important;
}
.slogan-box p { font-size: clamp(16px, 3.8vw, 20px) !important; }


/* Fullscreen Image Viewer */
#img-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
}
#img-lightbox.active { display: flex; }
#img-lightbox .lb-canvas {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
#img-lightbox img {
    max-width: 100vw;
    max-height: 100vh;
    transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--scale, 1));
    transition: transform .12s ease-out;
    will-change: transform;
    touch-action: none; /* we implement our own pan/zoom */
    user-select: none;
}
#img-lightbox .lb-toolbar {
    position: absolute;
    top: env(safe-area-inset-top, 8px);
    left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
}
#img-lightbox .lb-toolbar .group { display: inline-flex; gap: 8px; }
#img-lightbox .lb-btn, #img-lightbox .lb-link {
    appearance: none; border: 0; border-radius: 12px; padding: 10px 12px;
    background: rgba(255,255,255,0.1); color: #fff; font-weight: 700; cursor: pointer;
    text-decoration: none;
}
#img-lightbox .lb-btn:hover, #img-lightbox .lb-link:hover { background: rgba(255,255,255,0.18); }
#img-lightbox .lb-close { font-weight: 900; }
#img-lightbox .lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.52);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
#img-lightbox .lb-nav[hidden] { display: none; }
#img-lightbox .lb-nav--prev { left: max(12px, env(safe-area-inset-left, 12px)); }
#img-lightbox .lb-nav--next { right: max(12px, env(safe-area-inset-right, 12px)); }
#img-lightbox .lb-counter {
    position: absolute;
    bottom: calc(env(safe-area-inset-bottom, 10px) + 58px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 72px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.72);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
    text-align: center;
}
#img-lightbox .lb-hint {
    position: absolute; bottom: env(safe-area-inset-bottom, 10px); left: 0; right: 0;
    text-align: center; color: #e5e7eb; font-size: .9rem; padding: 8px 12px;
}

@media (max-width: 767px){
  #img-lightbox .lb-btn, #img-lightbox .lb-link { padding: 10px; font-size: 0.95rem; }
  #img-lightbox .lb-nav {
    width: 48px;
    height: 48px;
    font-size: 1.7rem;
  }
  #img-lightbox .lb-counter {
    bottom: calc(env(safe-area-inset-bottom, 10px) + 54px);
    font-size: 0.86rem;
  }
}
# Monochrome hero appearance (keep things crisp and readable)
.slogan-box {
    background: #ffffff !important;
    color: #111827 !important;
    box-shadow: 0 10px 26px rgba(0,0,0,0.10) !important;
    border: 2px solid #1118270f !important;
    position: relative;
    max-width: 720px !important;
    margin: 20px auto !important;
}
/* Tough mono accent bars */
.slogan-box::before,
.slogan-box::after {
    content: "";
    position: absolute;
    left: 8px; right: 8px;
    height: 4px;
    background: #111827;
    opacity: .12;
}
.slogan-box::before { top: 10px; }
.slogan-box::after { bottom: 10px; }
/* Remove animated/colored background inside hero */
.slogan-box > div:first-child { display: none !important; }
/* Remove emoji in hero title (first span was used for emoji) */
.slogan-box h1 > span:first-child { display: none !important; }
/* Remove any gradient text fills in hero, keep it monochrome */
.slogan-box h1 span,
.slogan-box .line-2 strong,
.slogan-box [style*="linear-gradient"],
.slogan-box [style*="background: linear-gradient"] {
    background: none !important;
    -webkit-background-clip: initial !important;
    color: #111827 !important;
    box-shadow: none !important;
}
/* Hide legacy hero when present */
.slogan-box[data-legacy="1"] { display: none !important; }
/* Style the second line emphasis as a monochrome pill */
.slogan-box .line-2 strong {
    display: inline-block !important;
    background: #11182710 !important;
    color: #111827 !important;
    border: 1px solid #11182720 !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
}
/* Tone down hero animations for a calm mono look */
.slogan-box *, .slogan-box h1 { animation: none !important; }
/* Slightly higher contrast for hero copy */
.slogan-box p { color: #2d3748 !important; }

/* Subtle mono texture that keeps it monochrome and mobile friendly */
/* Remove textured lines for a clean mono background */
.slogan-box { background-image: none !important; }

/* Better text placement: centered on mobile, left on larger screens */
@media (min-width: 768px) {
  .slogan-box { text-align: left !important; padding: 44px 40px !important; max-width: 720px !important; margin-left: auto !important; margin-right: auto !important; }
  .slogan-box h1 { margin-bottom: 8px !important; }
  .slogan-box p { margin-top: 6px !important; }
}

/* Monochrome pill style used in hero second line */
.slogan-box .mono-pill {
  background: #11182710;
  color: #111827;
  border: 1px solid #11182720;
  padding: 4px 10px;
  border-radius: 999px;
}

/* Mobile-first hero spacing tweaks */
@media (max-width: 480px){
  .slogan-box { padding: 28px 18px !important; border-radius: 18px !important; }
  /* Improve Turkish diacritics rendering; keep dark fill on mobile too */
  .slogan-box h1 {
    font-size: clamp(28px, 10vw, 44px) !important;
    letter-spacing: .8px !important;
    line-height: 1.12 !important;
    text-transform: none !important; /* preserve proper İ/ü shapes */
    -webkit-font-smoothing: antialiased;
    font-kerning: none;
    font-variant-ligatures: none;
    text-rendering: geometricPrecision;
    -webkit-text-fill-color: #111827 !important;
    color: #111827 !important;
    -webkit-text-stroke: .12px rgba(15, 23, 42, 0.5) !important;
    text-shadow: none !important;
  }
  .slogan-box p { font-size: clamp(14px, 4vw, 18px) !important; }
}

/* Seller dashboard: clean app-style panel */
body.seller-dashboard-page {
    background: #f5f6f8;
    color: #111827;
}

body.seller-dashboard-page header {
    position: sticky;
    top: 0;
    z-index: 1200;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(10px);
}

body.seller-dashboard-page header h1 {
    margin: 0;
    color: #111827;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.2;
}

body.seller-dashboard-page header nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

body.seller-dashboard-page header nav a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 8px;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.1;
    text-decoration: none;
}

body.seller-dashboard-page header nav a:hover,
body.seller-dashboard-page header nav a:focus-visible {
    background: #f3f4f6;
    color: #111827;
    outline: none;
}

body.seller-dashboard-page header nav a::after {
    display: none;
}

body.seller-dashboard-page .container {
    max-width: 980px;
    margin: 0 auto;
    padding: 16px 16px 96px;
}

body.seller-dashboard-page .form-box {
    margin-bottom: 12px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

body.seller-dashboard-page .form-box h2,
body.seller-dashboard-page .panel-section-title {
    margin-top: 0;
    margin-bottom: 12px;
    color: #111827;
    font-size: 1.2rem;
    line-height: 1.25;
}

body.seller-dashboard-page .seller-flow-box,
body.seller-dashboard-page .seller-listings-box,
body.seller-dashboard-page .seller-account-box,
body.seller-dashboard-page .seller-listing-form-box {
    background: #ffffff;
    border-color: #e5e7eb;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

body.seller-dashboard-page .seller-section-step {
    color: #4b5563;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

body.seller-dashboard-page .seller-flow-box__copy p,
body.seller-dashboard-page .seller-flow-box__copy--editor p {
    color: #4b5563;
    line-height: 1.5;
}

body.seller-dashboard-page .seller-flow-box__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
}

body.seller-dashboard-page .seller-flow-box__stat {
    min-width: 0;
    padding: 10px 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: center;
}

body.seller-dashboard-page .seller-flow-box__stat + .seller-flow-box__stat {
    border-left: 1px solid #e5e7eb;
}

body.seller-dashboard-page .seller-flow-box__stat span {
    color: #6b7280;
    font-size: 0.76rem;
    font-weight: 750;
    line-height: 1.2;
}

body.seller-dashboard-page .seller-flow-box__stat strong {
    margin-top: 3px;
    color: #111827;
    font-size: 1.12rem;
    line-height: 1;
}

body.seller-dashboard-page .seller-listings__primary-actions {
    display: grid;
    gap: 10px;
}

body.seller-dashboard-page .seller-listings__create-picker {
    position: relative;
}

body.seller-dashboard-page .seller-listings__new {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid #111827;
    border-radius: 8px;
    background: #111827;
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 850;
    line-height: 1.1;
    cursor: pointer;
}

body.seller-dashboard-page .seller-listings__create-picker[open] .seller-listings__new,
body.seller-dashboard-page .seller-listings__new:hover,
body.seller-dashboard-page .seller-listings__new:focus-visible {
    background: #1f2937;
    border-color: #1f2937;
    color: #ffffff;
    outline: none;
}

body.seller-dashboard-page .seller-listings__create-menu {
    margin-top: 8px;
    padding: 6px;
    gap: 6px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
}

body.seller-dashboard-page .seller-listings__create-option {
    min-height: 54px;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
    color: #111827;
    box-shadow: none;
}

body.seller-dashboard-page .seller-listings__create-option:hover,
body.seller-dashboard-page .seller-listings__create-option:focus-visible {
    border-color: #9ca3af;
    background: #ffffff;
    color: #111827;
    transform: none;
    outline: none;
}

body.seller-dashboard-page .seller-listings__tools,
body.seller-dashboard-page .seller-listings__tools-summary,
body.seller-dashboard-page .seller-listings__tools-body {
    border-radius: 8px;
}

body.seller-dashboard-page .seller-listings__tools {
    border: 1px solid #e5e7eb;
    background: #ffffff;
}

body.seller-dashboard-page .seller-listings__tools-summary {
    min-height: 48px;
    padding: 10px 12px;
    background: #f9fafb;
}

body.seller-dashboard-page .seller-listings__item {
    border-radius: 8px;
    border-color: #e5e7eb;
    background: #ffffff;
    box-shadow: none;
}

body.seller-dashboard-page .seller-listings__item--compact {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 8px;
    padding: 12px;
}

body.seller-dashboard-page .seller-listings__title {
    color: #111827;
    font-size: 0.98rem;
    font-weight: 850;
    line-height: 1.28;
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
}

body.seller-dashboard-page .seller-listings__badge {
    min-height: 24px;
    padding: 0 8px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 800;
}

body.seller-dashboard-page .seller-listings__price,
body.seller-dashboard-page .seller-listings__meta {
    min-width: 0;
    color: #4b5563;
    font-size: 0.88rem;
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
}

body.seller-dashboard-page .seller-listings__open {
    justify-content: flex-end;
    color: #111827;
    font-size: 0.88rem;
    font-weight: 850;
}

body.seller-dashboard-page .seller-listings__item--compact:hover,
body.seller-dashboard-page .seller-listings__item--compact:focus-visible {
    border-color: #9ca3af;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

body.seller-dashboard-page .seller-editor-shell__back {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-bottom: 12px;
    padding: 0 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    color: #111827;
    font-weight: 800;
    line-height: 1.15;
    text-decoration: none;
}

body.seller-dashboard-page .seller-listing-form-intro,
body.seller-dashboard-page .seller-listing-form-focus,
body.seller-dashboard-page .seller-listing-form-note--workspace,
body.seller-dashboard-page .seller-listing-actions,
body.seller-dashboard-page .form-guide-note,
body.seller-dashboard-page .seller-location-advanced {
    border-color: #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
    box-shadow: none;
}

body.seller-dashboard-page .seller-form-sections {
    gap: 6px;
}

body.seller-dashboard-page .seller-form-sections__item {
    min-height: 36px;
    border-radius: 8px;
    border-color: #d1d5db;
    background: #ffffff;
    color: #374151;
    font-weight: 800;
}

body.seller-dashboard-page .seller-form-sections__item.is-active {
    border-color: #111827;
    background: #111827;
    color: #ffffff;
    box-shadow: none;
}

body.seller-dashboard-page .seller-form-subheading {
    margin: 26px 0 12px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

body.seller-dashboard-page .seller-form-subheading--first {
    margin-top: 4px;
    padding-top: 0;
    border-top: 0;
}

body.seller-dashboard-page .seller-form-subheading h3 {
    color: #111827;
    font-size: 1rem;
    line-height: 1.25;
}

body.seller-dashboard-page .seller-form-subheading p {
    color: #6b7280;
    line-height: 1.45;
}

body.seller-dashboard-page .form-group {
    margin-bottom: 16px;
}

body.seller-dashboard-page .form-group label {
    margin-bottom: 7px;
    color: #111827;
    font-size: 0.95rem;
    font-weight: 800;
}

body.seller-dashboard-page .form-group input,
body.seller-dashboard-page .form-group select,
body.seller-dashboard-page .form-group textarea {
    min-height: 46px;
    padding: 11px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    color: #111827;
    box-shadow: none;
}

body.seller-dashboard-page .form-group textarea {
    min-height: 112px;
    resize: vertical;
}

body.seller-dashboard-page .form-group input:focus,
body.seller-dashboard-page .form-group select:focus,
body.seller-dashboard-page .form-group textarea:focus {
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.10);
}

body.seller-dashboard-page .form-group small {
    color: #6b7280;
    font-size: 0.86rem;
}

body.seller-dashboard-page .category-chip-group {
    gap: 8px;
}

body.seller-dashboard-page .category-chip .chip {
    min-height: 42px;
    border-width: 1px;
    border-radius: 8px;
    background: #ffffff;
    color: #111827;
    font-size: 0.88rem;
    line-height: 1.2;
}

body.seller-dashboard-page .category-chip__input:checked + .chip {
    border-color: #111827;
    background: #111827;
    color: #ffffff;
}

body.seller-dashboard-page .seller-location-actions {
    gap: 8px;
}

body.seller-dashboard-page .btn {
    min-height: 46px;
    padding: 11px 16px;
    border-radius: 8px;
    background: #111827;
    border-color: #111827;
    color: #ffffff;
    box-shadow: none;
    font-weight: 850;
}

body.seller-dashboard-page .btn:hover,
body.seller-dashboard-page .btn:focus-visible {
    background: #1f2937;
    border-color: #1f2937;
    color: #ffffff;
    transform: none;
    box-shadow: none;
    outline: none;
}

body.seller-dashboard-page .btn--ghost,
body.seller-dashboard-page .seller-listing-actions__button--secondary {
    background: #ffffff;
    border-color: #d1d5db;
    color: #111827;
}

body.seller-dashboard-page .seller-listing-actions__button--danger {
    background: #ffffff;
    border-color: #fecaca;
    color: #991b1b;
}

body.seller-dashboard-page .photo-manager__grid {
    gap: 8px;
}

body.seller-dashboard-page .photo-manager__item,
body.seller-dashboard-page .photo-manager__remove {
    border-radius: 8px;
}

body.seller-dashboard-page .seller-form-footer {
    border-color: #e5e7eb;
    background: #ffffff;
}

@media (max-width: 600px) {
    body.seller-dashboard-page header {
        min-height: 54px;
        padding: 8px 12px;
    }

    body.seller-dashboard-page header h1 {
        font-size: 1rem;
    }

    body.seller-dashboard-page header nav {
        gap: 4px;
    }

    body.seller-dashboard-page header nav a {
        min-height: 34px;
        padding: 0 8px;
        font-size: 0.82rem;
    }

    body.seller-dashboard-page .container {
        padding: 12px 10px 96px;
    }

    body.seller-dashboard-page .form-box,
    body.seller-dashboard-page .seller-flow-box,
    body.seller-dashboard-page .seller-listings-box,
    body.seller-dashboard-page .seller-account-box,
    body.seller-dashboard-page .seller-listing-form-box {
        padding: 14px;
        border-radius: 8px;
    }

    body.seller-dashboard-page .seller-flow-box__copy p {
        display: none;
    }

    body.seller-dashboard-page .seller-flow-box__stats {
        margin-top: 2px;
    }

    body.seller-dashboard-page .seller-listings__primary-actions {
        gap: 8px;
    }

    body.seller-dashboard-page .seller-listings__create-menu {
        position: static;
        grid-template-columns: 1fr;
        box-shadow: none;
    }

    body.seller-dashboard-page .seller-listings__tools-summary {
        align-items: stretch;
    }

    body.seller-dashboard-page .seller-listings__view-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    body.seller-dashboard-page .seller-listings__view-filter {
        min-height: 42px;
        border-radius: 8px;
    }

    body.seller-dashboard-page .seller-listings__item--compact {
        padding: 11px;
    }

    body.seller-dashboard-page .seller-editor-shell__back {
        width: 100%;
    }

    body.seller-dashboard-page .seller-listing-form-intro {
        gap: 10px;
        padding: 11px;
    }

    body.seller-dashboard-page .seller-listing-form-focus {
        padding: 11px;
    }

    body.seller-dashboard-page .seller-form-sections {
        position: sticky;
        top: 54px;
        z-index: 40;
        margin: 0 -11px;
        padding: 8px 11px;
        background: rgba(255, 255, 255, 0.96);
        border-top: 1px solid #e5e7eb;
        border-bottom: 1px solid #e5e7eb;
        backdrop-filter: blur(8px);
    }

    body.seller-dashboard-page .seller-form-sections__item {
        min-width: 72px;
        min-height: 34px;
        padding: 0 10px;
        font-size: 0.84rem;
    }

    body.seller-dashboard-page .seller-form-subheading {
        margin: 22px 0 10px;
        scroll-margin-top: 112px;
    }

    body.seller-dashboard-page .form-guide-note,
    body.seller-dashboard-page .seller-listing-form-note--workspace {
        padding: 9px 10px;
    }

    body.seller-dashboard-page .category-chip-group {
        grid-template-columns: 1fr 1fr;
    }

    body.seller-dashboard-page .seller-location-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    body.seller-dashboard-page .seller-form-footer {
        bottom: max(8px, env(safe-area-inset-bottom));
        margin: 22px -6px -6px;
        padding: 10px;
        border-radius: 8px;
        box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
    }

    body.seller-dashboard-page .seller-form-footer .btn {
        min-height: 50px;
    }

    body.seller-dashboard-page .seller-form-footer__status {
        display: none;
    }
}

@media (max-width: 380px) {
    body.seller-dashboard-page header {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    body.seller-dashboard-page header nav {
        width: 100%;
        justify-content: space-between;
    }

    body.seller-dashboard-page header nav a {
        flex: 1 1 auto;
    }

    body.seller-dashboard-page .category-chip-group,
    body.seller-dashboard-page .seller-listings__view-filters {
        grid-template-columns: 1fr;
    }
}

/* Public listing pages: simpler, steadier app chrome */
body.page-mode-satilik,
body.page-mode-kiralik,
body.page-mode-harfiyat {
    background: #f5f6f8;
}

body.page-mode-satilik header,
body.page-mode-kiralik header,
body.page-mode-harfiyat header {
    min-height: 56px;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(10px);
}

body.page-mode-satilik header::before,
body.page-mode-kiralik header::before,
body.page-mode-harfiyat header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #f8cd07;
}

body.page-mode-satilik .listing-app-header__brand,
body.page-mode-kiralik .listing-app-header__brand,
body.page-mode-harfiyat .listing-app-header__brand {
    color: #111827;
    font-size: 1.02rem;
    font-weight: 900;
    letter-spacing: 0;
}

body.page-mode-satilik .listings-shell,
body.page-mode-kiralik .listings-shell,
body.page-mode-harfiyat .listings-shell {
    margin-top: 10px;
    padding-bottom: calc(94px + env(safe-area-inset-bottom, 0px));
}

body.page-mode-satilik .list-summary,
body.page-mode-kiralik .list-summary,
body.page-mode-harfiyat .list-summary,
body.page-mode-satilik .listings-first-tip,
body.page-mode-kiralik .listings-first-tip,
body.page-mode-harfiyat .listings-first-tip,
body.page-mode-satilik .urgent-mode-banner,
body.page-mode-kiralik .urgent-mode-banner,
body.page-mode-harfiyat .urgent-mode-banner {
    border-radius: 12px;
    border-color: #e5e7eb;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

body.page-mode-satilik .urgent-mode-banner,
body.page-mode-kiralik .urgent-mode-banner,
body.page-mode-harfiyat .urgent-mode-banner {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #9a3412;
}

body.page-mode-satilik .category-header,
body.page-mode-kiralik .category-header,
body.page-mode-harfiyat .category-header {
    padding: 4px 2px 9px;
    margin-bottom: 10px;
    border-bottom-color: #e5e7eb;
}

body.page-mode-satilik .category-header h2,
body.page-mode-kiralik .category-header h2,
body.page-mode-harfiyat .category-header h2 {
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0;
}

body.page-mode-satilik .category-meta,
body.page-mode-kiralik .category-meta,
body.page-mode-harfiyat .category-meta {
    color: #6b7280;
    font-size: 0.86rem;
}

body.page-mode-satilik .cards.category-cards,
body.page-mode-kiralik .cards.category-cards,
body.page-mode-harfiyat .cards.category-cards {
    gap: 12px;
}

body.page-mode-satilik .card,
body.page-mode-kiralik .card,
body.page-mode-harfiyat .card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    padding: 12px;
    gap: 12px;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

body.page-mode-satilik .card:hover,
body.page-mode-kiralik .card:hover,
body.page-mode-harfiyat .card:hover,
body.page-mode-satilik .card:focus-within,
body.page-mode-kiralik .card:focus-within,
body.page-mode-harfiyat .card:focus-within {
    border-color: #cbd5e1;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.10);
    transform: translateY(-1px);
}

body.page-mode-satilik .card-media__stage,
body.page-mode-kiralik .card-media__stage,
body.page-mode-harfiyat .card-media__stage {
    border-radius: 12px;
    background: #f3f4f6;
    border-color: #e5e7eb;
}

body.page-mode-satilik .card h3,
body.page-mode-kiralik .card h3,
body.page-mode-harfiyat .card h3 {
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0;
}

body.page-mode-satilik .card-subtitle,
body.page-mode-kiralik .card-subtitle,
body.page-mode-harfiyat .card-subtitle {
    color: #6b7280;
    font-size: 0.88rem;
    line-height: 1.35;
}

body.page-mode-satilik .fact-chip,
body.page-mode-kiralik .fact-chip,
body.page-mode-harfiyat .fact-chip {
    min-height: 28px;
    padding: 6px 9px;
    border-radius: 8px;
    background: #f9fafb;
    border-color: #e5e7eb;
    color: #374151;
    box-shadow: none;
    font-size: 0.8rem;
    font-weight: 800;
}

body.page-mode-satilik .fact-chip--price,
body.page-mode-kiralik .fact-chip--price,
body.page-mode-harfiyat .fact-chip--price {
    background: #ecfdf5;
    border-color: #bbf7d0;
    color: #166534;
}

body.page-mode-satilik .fact-chip--distance,
body.page-mode-kiralik .fact-chip--distance,
body.page-mode-harfiyat .fact-chip--distance {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

body.page-mode-satilik .fact-chip--online,
body.page-mode-kiralik .fact-chip--online,
body.page-mode-harfiyat .fact-chip--online {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

body.page-mode-satilik .listings-bottom-dock,
body.page-mode-kiralik .listings-bottom-dock,
body.page-mode-harfiyat .listings-bottom-dock {
    width: min(500px, calc(100% - 16px));
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    padding: 5px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    border-color: #e5e7eb;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
}

body.page-mode-satilik .listings-bottom-dock__btn,
body.page-mode-kiralik .listings-bottom-dock__btn,
body.page-mode-harfiyat .listings-bottom-dock__btn {
    min-height: 58px;
    border-radius: 12px;
    background: #f9fafb;
    gap: 2px;
    padding: 7px 4px;
    transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

body.page-mode-satilik .listings-bottom-dock__btn:hover,
body.page-mode-kiralik .listings-bottom-dock__btn:hover,
body.page-mode-harfiyat .listings-bottom-dock__btn:hover,
body.page-mode-satilik .listings-bottom-dock__btn:focus-visible,
body.page-mode-kiralik .listings-bottom-dock__btn:focus-visible,
body.page-mode-harfiyat .listings-bottom-dock__btn:focus-visible {
    transform: none;
    box-shadow: none;
    outline: 2px solid rgba(17, 24, 39, 0.12);
    outline-offset: 2px;
}

body.page-mode-satilik .listings-bottom-dock__btn[aria-expanded="true"],
body.page-mode-kiralik .listings-bottom-dock__btn[aria-expanded="true"],
body.page-mode-harfiyat .listings-bottom-dock__btn[aria-expanded="true"],
body.page-mode-satilik .listings-bottom-dock__btn.is-active,
body.page-mode-kiralik .listings-bottom-dock__btn.is-active,
body.page-mode-harfiyat .listings-bottom-dock__btn.is-active {
    background: #111827;
    color: #ffffff;
}

body.page-mode-satilik .listings-bottom-dock__btn--urgent,
body.page-mode-kiralik .listings-bottom-dock__btn--urgent,
body.page-mode-harfiyat .listings-bottom-dock__btn--urgent {
    background: #fff7ed;
    color: #9a3412;
}

body.page-mode-satilik .listings-bottom-dock__btn--urgent.is-active,
body.page-mode-kiralik .listings-bottom-dock__btn--urgent.is-active,
body.page-mode-harfiyat .listings-bottom-dock__btn--urgent.is-active {
    background: #b91c1c;
    color: #ffffff;
}

body.page-mode-satilik .listings-bottom-dock__icon,
body.page-mode-kiralik .listings-bottom-dock__icon,
body.page-mode-harfiyat .listings-bottom-dock__icon,
body.page-mode-satilik .listings-bottom-dock__icon svg,
body.page-mode-kiralik .listings-bottom-dock__icon svg,
body.page-mode-harfiyat .listings-bottom-dock__icon svg {
    width: 19px;
    height: 19px;
}

body.page-mode-satilik .listings-bottom-dock__label,
body.page-mode-kiralik .listings-bottom-dock__label,
body.page-mode-harfiyat .listings-bottom-dock__label {
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0;
}

body.page-mode-satilik .listings-bottom-dock__meta,
body.page-mode-kiralik .listings-bottom-dock__meta,
body.page-mode-harfiyat .listings-bottom-dock__meta {
    min-height: 1.2em;
    color: #6b7280;
    font-size: 0.68rem;
    font-weight: 800;
}

body.page-mode-satilik .optional-filters__count,
body.page-mode-kiralik .optional-filters__count,
body.page-mode-harfiyat .optional-filters__count {
    top: 4px;
    right: 4px;
    min-width: 18px;
    min-height: 18px;
    padding: 0 6px;
    font-size: 0.68rem;
}

body.page-mode-satilik .sheet__backdrop,
body.page-mode-kiralik .sheet__backdrop,
body.page-mode-harfiyat .sheet__backdrop {
    background: rgba(15, 23, 42, 0.42);
}

body.page-mode-satilik .sheet__panel,
body.page-mode-kiralik .sheet__panel,
body.page-mode-harfiyat .sheet__panel {
    border-radius: 18px 18px 0 0;
    border-color: #e5e7eb;
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.28);
    overscroll-behavior: contain;
}

body.page-mode-satilik .sheet__panel--dock,
body.page-mode-kiralik .sheet__panel--dock,
body.page-mode-harfiyat .sheet__panel--dock {
    max-height: min(84dvh, 620px);
    padding: 14px;
}

body.page-mode-satilik .sheet__header,
body.page-mode-kiralik .sheet__header,
body.page-mode-harfiyat .sheet__header {
    align-items: flex-start;
    border-bottom-color: #e5e7eb;
}

body.page-mode-satilik .sheet__header h2,
body.page-mode-kiralik .sheet__header h2,
body.page-mode-harfiyat .sheet__header h2 {
    font-size: 1.04rem;
}

body.page-mode-satilik .sheet__close,
body.page-mode-kiralik .sheet__close,
body.page-mode-harfiyat .sheet__close {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

body.page-mode-satilik .filters-sheet__field input[type="search"],
body.page-mode-kiralik .filters-sheet__field input[type="search"],
body.page-mode-harfiyat .filters-sheet__field input[type="search"],
body.page-mode-satilik .filters-sheet__field input[type="text"],
body.page-mode-kiralik .filters-sheet__field input[type="text"],
body.page-mode-harfiyat .filters-sheet__field input[type="text"],
body.page-mode-satilik .filters-sheet__field select,
body.page-mode-kiralik .filters-sheet__field select,
body.page-mode-harfiyat .filters-sheet__field select {
    min-height: 46px;
    border-radius: 10px;
    box-shadow: none;
}

body.page-mode-satilik .filters-sheet__chip-group,
body.page-mode-kiralik .filters-sheet__chip-group,
body.page-mode-harfiyat .filters-sheet__chip-group {
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
}

body.page-mode-satilik .filters-sheet__chip-group .chip,
body.page-mode-kiralik .filters-sheet__chip-group .chip,
body.page-mode-harfiyat .filters-sheet__chip-group .chip {
    min-height: 40px;
    border-width: 1px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: none;
    font-size: 0.84rem;
}

body.page-mode-satilik .filters-sheet__actions,
body.page-mode-kiralik .filters-sheet__actions,
body.page-mode-harfiyat .filters-sheet__actions {
    gap: 8px;
    padding-top: 10px;
}

@media (max-width: 600px) {
    body.page-mode-satilik .container,
    body.page-mode-kiralik .container,
    body.page-mode-harfiyat .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    body.page-mode-satilik .card,
    body.page-mode-kiralik .card,
    body.page-mode-harfiyat .card {
        grid-template-columns: 102px minmax(0, 1fr);
        border-radius: 12px;
        padding: 10px;
        gap: 10px;
    }

    body.page-mode-satilik .card-media__stage,
    body.page-mode-kiralik .card-media__stage,
    body.page-mode-harfiyat .card-media__stage {
        border-radius: 10px;
    }

    body.page-mode-satilik .fact-chips,
    body.page-mode-kiralik .fact-chips,
    body.page-mode-harfiyat .fact-chips {
        gap: 6px;
    }

    body.page-mode-satilik .fact-chip,
    body.page-mode-kiralik .fact-chip,
    body.page-mode-harfiyat .fact-chip {
        padding: 5px 7px;
        font-size: 0.76rem;
    }

    body.page-mode-satilik .filters-sheet__actions,
    body.page-mode-kiralik .filters-sheet__actions,
    body.page-mode-harfiyat .filters-sheet__actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    body.page-mode-satilik .card,
    body.page-mode-kiralik .card,
    body.page-mode-harfiyat .card {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    body.page-mode-satilik .listings-bottom-dock__meta,
    body.page-mode-kiralik .listings-bottom-dock__meta,
    body.page-mode-harfiyat .listings-bottom-dock__meta {
        display: none;
    }

    body.page-mode-satilik .listings-bottom-dock__btn,
    body.page-mode-kiralik .listings-bottom-dock__btn,
    body.page-mode-harfiyat .listings-bottom-dock__btn {
        min-height: 52px;
    }
}
