/* bestauto24 – site.css */

html { scroll-behavior: smooth; }

.border-2 {
    border-width: 1px !important;
}

.bg-\[\#f2a63a\] {
    --tw-bg-opacity: 1;
    background-color: #fcd91e !important;
}

.bg-\[\#fcd91e\] {
    --tw-bg-opacity: 1;
    background-color: #4083c9 !important;
}

.bg-red-600 {
    --tw-bg-opacity: 1;
    background-color: rgb(220 38 38 / 75%);
}

.bg-emerald-600 {
    --tw-bg-opacity: 1;
    background-color: #60b300a8 !important;
}

.text-gray-300 {
    --tw-text-opacity: 1;
    color: #f6f7f7;
}

.text-orange-500 {
    --tw-text-opacity: 1;
    color: #1c3a5c !important;
}

.hover\:text-orange-500:hover {
    --tw-text-opacity: 1;
    color: #1c3a5c !important;
}

.group:hover .group-hover\:text-orange-500 {
    --tw-text-opacity: 1;
    color: #1c3a5c !important;
}

.text-\[\#f2a63a\] {
    --tw-text-opacity: 1;
    color: #fcd91e !important;
}

.home-hero__brand {
    color: #fcd91e !important;
}

.site-logo-text {
    text-decoration: none;
    color: #111827;
    line-height: 1;
}

.site-logo-text__wordmark {
    display: block;
    height: 60px;
    width: auto;
    max-width: 280px;
    flex-shrink: 0;
    object-fit: contain;
}

.header-main-row__logo .site-logo-text__wordmark {
    height: 60px;
    max-width: 260px;
}

.site-logo-text--footer .site-logo-text__wordmark {
    height: 56px;
    max-width: 220px;
}

.logo img {
    max-height: 56px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

.header-main-row__logo {
    grid-area: logo;
    align-self: center;
    line-height: 1;
    flex-shrink: 0;
}

.header-main-row__logo img {
    max-height: 60px;
    width: auto;
    height: auto;
    max-width: 260px;
    object-fit: contain;
    display: block;
}

.header-top-strip {
    font-size: 0.8125rem;
    letter-spacing: 0.01em;
    scrollbar-width: none;
    background-color: #4083c9;
}
.header-top-strip::-webkit-scrollbar {
    display: none;
}

.header-main-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "logo actions"
        "cats cats";
    align-items: center;
    gap: 0.125rem 0.5rem;
    padding: 0.125rem 0 0.25rem;
}
.header-category-nav {
    scrollbar-width: none;
    overflow: hidden;
    background-color: #fff;
}
.header-category-scroll {
    grid-area: cats;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
}
.header-category-scroll::-webkit-scrollbar {
    display: none;
}
.header-category-actions {
    grid-area: actions;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    justify-self: end;
    flex-shrink: 0;
}
.header-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    color: #374151;
    transition: background-color 0.15s ease;
}
.header-icon-btn:hover {
    background: #fff;
}
@media (max-width: 767px) {
    .header-icon-btn--desktop-only {
        display: none !important;
    }
    .header-sell-car-btn {
        height: 2rem;
        padding: 0 0.65rem;
        font-size: 0.75rem;
    }
}
.header-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    height: 2rem;
    padding: 0 0.75rem;
    border-radius: 25px;
    background: #fcd91e;
    color: #000;
    font-size: 0.8125rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}
.header-cta-btn:hover {
    background: #ddbc0c;
}
.header-cta-btn__text-short {
    display: inline;
}
.header-cta-btn__text {
    display: none;
}
@media (min-width: 768px) {
    .header-main-row {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        overflow: hidden;
        padding: 0.125rem 0;
    }
    .header-main-row__logo {
        order: 1;
        margin-right: 0.25rem;
        flex-shrink: 0;
    }
    .header-main-row__logo img,
    .header-main-row__logo .site-logo-text__wordmark {
        height: 60px;
        max-width: 240px;
    }
    .header-category-scroll {
        order: 2;
        display: flex;
        flex: 1 1 auto;
        min-width: 0;
        align-items: center;
        gap: 0.25rem;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .header-category-scroll::-webkit-scrollbar {
        display: none;
    }
    .header-category-link {
        order: unset;
        flex-shrink: 0;
        padding: 0.125rem 0.4rem;
    }
    .header-category-actions {
        order: 3;
        flex-shrink: 0;
        margin-left: auto;
        position: static;
        background: none;
        padding-left: 0.375rem;
    }
    .header-cta-btn {
        height: 2rem;
        padding: 0 0.875rem;
        font-size: 0.8125rem;
    }
    .header-cta-btn__text-short {
        display: none;
    }
    .header-cta-btn__text {
        display: inline;
    }
}
.header-category-nav::-webkit-scrollbar {
    display: none;
}
.header-category-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.15rem 0.4rem;
    border-radius: 0.625rem;
    color: #1c3a5c;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.header-category-link:hover {
    background: #fff;
    color: #1c3a5c;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.header-category-link__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: #fff;
    color: #374151;
    flex-shrink: 0;
    border: 1px solid #e5e7eb;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.header-category-link__icon svg {
    width: 1.25rem;
    height: auto;
}
.header-category-link:hover .header-category-link__icon {
    background: #fff;
    color: #fcd91e;
    border-color: #fcd91e;
}
.header-category-link__text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    line-height: 1.1;
}
.header-category-link__label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #1c3a5c;
}
.header-category-link__label-short {
    display: none;
}
.header-category-link__meta {
    font-size: 0.625rem;
    font-weight: 600;
    color: #6b7280;
    letter-spacing: 0.01em;
}
.header-category-link:hover .header-category-link__meta {
    color: #fb923c;
}
@media (max-width: 767px) {
    .header-top-strip {
        font-size: 0.75rem;
    }
    .header-top-strip__blog {
        display: none;
    }
    .header-main-row {
        gap: 0.125rem 0.25rem;
        padding: 0.125rem 0 0.25rem;
    }
    .header-category-scroll {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.25rem;
        overflow: visible;
        width: 100%;
        min-width: 0;
    }
    .header-category-link {
        flex-direction: column;
        align-items: center;
        gap: 0.2rem;
        padding: 0.25rem 0.125rem;
        min-width: 0;
        text-align: center;
        background: #fff;
        border: 1px solid #e5e7eb;
    }
    .header-category-link:hover {
        border-color: #111827;
        box-shadow: none;
    }
    .header-category-link__icon {
        width: 1.5rem;
        height: 1.5rem;
        border-radius: 50%;
        border: none;
        background: transparent;
    }
    .header-category-link__icon svg {
        width: 1rem;
    }
    .header-category-link__meta {
        display: none;
    }
    .header-category-link__label {
        font-size: 0.625rem;
        line-height: 1.15;
        white-space: normal;
        word-break: break-word;
        color: #1c3a5c;
    }
    .header-category-link__text:has(.header-category-link__label-short) .header-category-link__label:not(.header-category-link__label-short) {
        display: none;
    }
    .header-category-link__label-short {
        display: block;
    }
    .header-cta-btn {
        padding: 0 0.625rem;
        font-size: 0.75rem;
    }
    .header-main-row__logo .site-logo-text__wordmark {
        height: 44px;
        max-width: 200px;
    }
    .site-logo-text--footer .site-logo-text__wordmark {
        height: 48px;
        max-width: 180px;
    }
}
@media (max-width: 380px) {
    .header-category-scroll {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.header-category-badge {
    display: inline-flex;
    align-items: center;
    align-self: center;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    background: #231F1C;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Listing price — site-wide */
.listing-price {
    color: #0a3769;
    font-weight: 800;
}
.listing-price--hero {
    font-size: 1.5rem;
    line-height: 2rem;
}
@media (min-width: 768px) {
    .listing-price--hero {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
}
.listing-price--lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}
.listing-price--xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}
.listing-price--sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.listing-price--xs {
    font-size: 0.75rem;
    line-height: 1rem;
}
.listing-price__currency {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
}

/* Car card hover — thin black border only */
.car-card { transition: border-color .15s ease; }
.car-card:hover {
    border-color: #000 !important;
    box-shadow: none !important;
    transform: none !important;
}
.car-card-specs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.1875rem 0.625rem;
    border-radius: 10px;
    background-color: #edf5ff;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #6b7280;
}
.car-card-specs__sep {
    color: #9ca3af;
    font-weight: 400;
    line-height: 1;
    user-select: none;
}
.car-card-location-pin {
    width: 0.75rem;
    height: 0.75rem;
    flex-shrink: 0;
    color: #6b7280;
}
.car-card-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.75rem;
    border-radius: 0.375rem;
    background: #6c7689;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: background-color 0.15s ease;
}
.car-card:hover .car-card-detail-btn,
.car-list-row:hover .car-card-detail-btn,
.car-card-detail-btn:hover {
    background: #525a68;
}

/* Line clamp fallback */
.line-clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Ana sayfa hero */
.home-hero {
    background: #4d5257;
    --hero-card-overlap: 6rem;
    --hero-after-gap: 1.75rem;
}
.home-hero__inner {
    padding-top: 0.875rem;
    padding-bottom: 0;
}
@media (min-width: 768px) {
    .home-hero__inner {
        padding-top: 1.125rem;
    }
}
.home-hero__title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
}
@media (min-width: 768px) {
    .home-hero__title {
        font-size: 1.25rem;
    }
}
@media (min-width: 1024px) {
    .home-hero__title {
        font-size: 1.375rem;
    }
}
.home-hero-card {
    position: relative;
    z-index: 20;
    margin-top: 1.5rem;
    margin-bottom: calc(-1 * var(--hero-card-overlap));
}
@media (min-width: 768px) {
    .home-hero-card {
        margin-top: 1.875rem;
    }
}
@media (min-width: 1024px) {
    .home-hero-card {
        margin-top: 2.25rem;
    }
}
.home-hero-card button[type="submit"]:hover {
    background-color: #254c75 !important;
}
.home-hero-card select,
.home-hero-card input[type="search"] {
    border-color: #cbd5e1;
}

.home-hero-card form label.home-hero-field-label {
    display: block;
    font-size: 11px !important;
    line-height: 1.2;
    font-weight: 500;
    color: #9ca3af;
    letter-spacing: 0.01em;
    margin-bottom: 3px;
}
.home-after-hero {
    position: relative;
    z-index: 10;
    padding-top: var(
        --hero-after-padding,
        calc(var(--hero-card-overlap) + var(--hero-after-gap))
    ) !important;
    border-top: 1px solid #f3f4f6;
}
.home-after-hero__header {
    margin-bottom: 1.25rem;
}
@media (min-width: 768px) {
    .home-after-hero__header {
        margin-bottom: 1.5rem;
    }
}

.home-listings-section {
    background: #f4f4f4;
}

.popular-searches__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 768px) {
    .popular-searches__grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}
.popular-searches__panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
}
.popular-searches__panel-title {
    font-size: 0.9375rem;
    font-weight: 800;
    color: #1c3a5c;
    margin-bottom: 1rem;
}
.popular-searches__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.popular-searches__link {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    color: #374151;
    text-decoration: none;
    padding: 0.35rem 0.65rem;
    border-radius: 9999px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.popular-searches__link:hover {
    color: #1c3a5c;
    background: #edf5ff;
    border-color: #cbd5e1;
}

.car-card-wrapper .car-card {
    background: #fff;
}

/* Smooth img loading */
img { image-rendering: -webkit-optimize-contrast; }

/* İlan detay galerisi */
.ilan-gallery-main {
    min-height: 0;
}
.ilan-gallery-main img {
    display: block;
}
.ilan-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 15;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-top: -1.25rem;
    border: none;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.92);
    color: #111827;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
}
.ilan-gallery-nav:hover {
    background: #fff;
    transform: scale(1.05);
}
.ilan-gallery-nav--prev {
    left: 0.75rem;
}
.ilan-gallery-nav--next {
    right: 0.75rem;
}
.ilan-gallery-thumbs {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}
.ilan-gallery-thumbs::-webkit-scrollbar {
    height: 6px;
}
.ilan-gallery-thumbs::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}
.ilan-gallery-thumb {
    flex: 0 0 calc((100% - 2rem) / 5);
    width: calc((100% - 2rem) / 5);
    aspect-ratio: 3 / 2;
    border-color: #e5e7eb;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ilan-gallery-thumb:hover:not(.is-active) {
    border-color: #9ca3af;
}
.ilan-gallery-thumb.is-active {
    border-color: #231F1C;
    box-shadow: 0 0 0 1px #231F1C;
}

/* Site footer — her zaman sayfa sonunda */
.site-footer {
    margin-top: auto;
    padding-top: 4rem;
    position: relative;
    z-index: 0;
}

/* Kullanıcı / galeri paneli — arabam tarzı kokpit */
.panel-page {
    padding: 0 1rem 1.5rem;
    box-sizing: border-box;
    margin-top: 0;
}
@media (min-width: 768px) {
    .panel-page {
        padding: 0 1.5rem 2rem;
    }
}

/* Uzun formlar: sayfa akışı, footer formun altında */
.panel-page--flow .panel-container {
    max-height: none;
    height: auto;
    min-height: 0;
}
.panel-page--flow .panel-shell {
    overflow: visible;
    height: auto;
}
.panel-page--flow .panel-main {
    overflow: visible;
}
@media (min-width: 1024px) {
    .panel-page--flow .panel-sidebar {
        height: auto;
        min-height: 0;
        align-self: flex-start;
    }
}

.panel-container {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    /* height: calc(100dvh - 8.75rem); */
    min-height: 34rem;
    max-height: calc(100dvh - 8.75rem);
}
@media (max-width: 1023px) {
    .panel-container {
        height: auto;
        min-height: 0;
        max-height: none;
    }
}

.panel-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ececec;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}
@media (min-width: 1024px) {
    .panel-shell {
        flex-direction: row;
        align-items: stretch;
    }
}
@media (max-width: 1023px) {
    .panel-shell {
        height: auto;
    }
}

.panel-sidebar {
    flex-shrink: 0;
    width: 100%;
    background: #f6f7f7;
    color: #111827;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-right: 1px solid #e5e7eb;
}
@media (min-width: 1024px) {
    .panel-sidebar {
        width: 260px;
        height: 100%;
        min-height: 100%;
    }
}

.panel-sidebar-header {
    flex-shrink: 0;
    position: relative;
    padding: 1.25rem 1rem 1.25rem;
    background: #f6f7f7;
    border-bottom: 1px solid #e5e7eb;
}
.panel-sidebar-header::before {
    display: none;
}
.panel-sidebar-greeting {
    position: relative;
    z-index: 1;
    font-size: 0.875rem;
    font-weight: 700;
    color: #111827;
}
.panel-sidebar-avatar-wrap {
    position: relative;
    z-index: 1;
    margin-top: 0.875rem;
}
.panel-sidebar-avatar {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 9999px;
    border: 3px solid #fff;
    background: linear-gradient(145deg, #fcd91e, #e5c41a);
    color: #111827;
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.panel-sidebar-nav {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0.75rem 0 0.5rem;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.panel-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1.25rem;
    color: #111827;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}
.panel-nav-item:hover {
    background: rgba(0, 0, 0, 0.04);
    color: #000;
}
.panel-nav-item.is-active {
    color: #000;
    font-weight: 700;
    background: rgba(252, 217, 30, 0.22);
}
.panel-nav-item.is-active .panel-nav-icon {
    color: #111827;
}
.panel-nav-icon {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    color: #374151;
}
.panel-nav-badge {
    margin-left: auto;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.375rem;
    border-radius: 9999px;
    background: #fcd91e;
    color: #231F1C;
    font-size: 0.6875rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.panel-nav-label {
    flex: 1;
    min-width: 0;
}

.panel-sidebar-footer {
    flex-shrink: 0;
    margin-top: auto;
    padding: 0.75rem 0 1rem;
    border-top: 1px solid #e5e7eb;
    background: #f6f7f7;
}
.panel-sidebar-footer .panel-nav-item {
    color: #374151;
}
.panel-sidebar-footer .panel-nav-item:hover {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.06);
}

.panel-main {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    padding: 1.25rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
}
@media (min-width: 768px) {
    .panel-main {
        padding: 1.75rem 2rem 2.5rem;
    }
}

.panel-pull-request {
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.35rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.625rem;
    background: #f9fafb;
}
.panel-pull-request__title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 800;
    color: #111827;
}
.panel-pull-request__hint {
    margin: 0 0 1rem;
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.5;
}
.panel-pull-request__alert {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.5;
}
.panel-pull-request__alert.is-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}
.panel-pull-request__alert.is-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}
.panel-pull-request__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
@media (min-width: 768px) {
    .panel-pull-request__form {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-end;
    }
    .panel-pull-request__field {
        flex: 1 1 16rem;
        min-width: 0;
    }
}
.panel-pull-request__label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.panel-pull-request__input {
    width: 100%;
    height: 2.75rem;
    padding: 0 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background: #fff;
    font-size: 0.875rem;
}
.panel-pull-request__input:focus {
    outline: none;
    border-color: #fcd91e;
    box-shadow: 0 0 0 2px rgba(252, 217, 30, 0.25);
}
.panel-pull-request__scope {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin: 0;
    padding: 0;
    border: 0;
}
.panel-pull-request__scope .panel-pull-request__label {
    flex: 0 0 100%;
    margin-bottom: 0;
}
.panel-pull-request__choice {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
}
.panel-pull-request__choice input {
    width: 1rem;
    height: 1rem;
    accent-color: #111827;
}
.panel-pull-request__submit {
    flex-shrink: 0;
}

.panel-kokpit-banner {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #fcd91e 0%, #f5d018 50%, #e8c816 100%);
    padding: 1.75rem 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
@media (min-width: 768px) {
    .panel-kokpit-banner {
        padding: 2rem 2.25rem;
    }
}
.panel-kokpit-banner__title {
    font-size: 1.375rem;
    font-weight: 800;
    color: #231F1C;
    line-height: 1.3;
    max-width: 36rem;
}
@media (min-width: 768px) {
    .panel-kokpit-banner__title {
        font-size: 1.625rem;
    }
}
.panel-kokpit-banner__text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: rgba(35, 31, 28, 0.75);
    max-width: 32rem;
    line-height: 1.5;
}
.panel-kokpit-banner__icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 5rem;
    height: 5rem;
    opacity: 0.2;
    color: #231F1C;
}
@media (min-width: 768px) {
    .panel-kokpit-banner__icon {
        width: 7rem;
        height: 7rem;
        right: 2rem;
    }
}

.panel-action-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
@media (min-width: 768px) {
    .panel-action-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

.panel-action-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.125rem 1.25rem;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 0.375rem;
    transition: border-color 0.15s, box-shadow 0.15s;
    text-align: left;
}
.panel-action-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}
.panel-action-card__icon {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #231F1C;
}
.panel-action-card__icon svg {
    width: 2rem;
    height: 2rem;
}
.panel-action-card__body {
    flex: 1;
    min-width: 0;
}
.panel-action-card__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #231F1C;
}
.panel-action-card__desc {
    margin-top: 0.2rem;
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.45;
}
.panel-action-card__arrow {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    color: #9ca3af;
}

.panel-promo-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.25rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 0.375rem;
    align-items: center;
}
@media (min-width: 768px) {
    .panel-promo-card {
        grid-template-columns: auto 1fr auto;
        padding: 1.75rem 2rem;
    }
}
.panel-promo-card__visual {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(145deg, #231F1C, #3d3834);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fcd91e;
}
.panel-promo-card__visual svg {
    width: 2.75rem;
    height: 2.75rem;
}
.panel-promo-card__title {
    font-size: 1rem;
    font-weight: 800;
    color: #231F1C;
}
.panel-promo-card__text {
    margin-top: 0.35rem;
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.5;
}

.panel-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.panel-stat-box {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 0.375rem;
    padding: 1rem 1.125rem;
    text-align: center;
}
.panel-stat-box__label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #9ca3af;
}
.panel-stat-box__value {
    margin-top: 0.25rem;
    font-size: 1.75rem;
    font-weight: 800;
    color: #231F1C;
}

.panel-recent-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.25rem;
}
@media (min-width: 1024px) {
    .panel-recent-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.panel-recent-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 0.375rem;
    padding: 1.25rem;
}
.panel-recent-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.panel-recent-card__title {
    font-size: 0.9375rem;
    font-weight: 800;
    color: #231F1C;
}
.panel-recent-card__link {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
}
.panel-recent-card__link:hover {
    color: #231F1C;
}

.panel-nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: #4b5563;
    font-weight: 500;
}
.panel-nav-link:hover {
    background: #f9fafb;
    color: #111827;
}
.panel-nav-link.is-active {
    color: #111827;
    font-weight: 600;
    background: #f3f4f6;
    border-left: 2px solid #231F1C;
    padding-left: calc(1rem - 2px);
}
.panel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    padding: 0 1rem;
    border-radius: 0.375rem;
    background: #231F1C;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
}
.panel-btn:hover {
    background: #000;
}
.panel-content-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 0.375rem;
    padding: 1.25rem;
}
@media (min-width: 768px) {
    .panel-content-card {
        padding: 1.5rem;
    }
}
.panel-page-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #231F1C;
    margin-bottom: 0.25rem;
}
.panel-page-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
}
.panel-page-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.panel-link-btn {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.panel-link-btn:hover {
    color: #111827;
}
.panel-link-btn--danger {
    color: #dc2626;
}
.panel-link-btn--danger:hover {
    color: #b91c1c;
}
.panel-nav-label {
    flex: 1;
    min-width: 0;
}
.panel-empty {
    text-align: center;
    padding: 2.5rem 1rem;
}
.panel-empty__icon {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 0.75rem;
    color: #9ca3af;
}
.panel-empty__title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.375rem;
}
.panel-empty__text {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.25rem;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}
.panel-favorites-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.25rem;
}
@media (min-width: 640px) {
    .panel-favorites-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1024px) {
    .panel-favorites-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.panel-favorite-item {
    position: relative;
}
.panel-favorite-drop {
    position: absolute;
    top: -0.375rem;
    left: 0.75rem;
    z-index: 2;
    padding: 0.125rem 0.5rem;
    border-radius: 0.375rem;
    background: #059669;
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
}
.panel-favorite-remove {
    margin-top: 0.5rem;
    text-align: center;
}
.panel-compare-wrap {
    overflow-x: auto;
    margin: -0.25rem;
    padding: 0.25rem;
}
.panel-compare-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 0.875rem;
}
.panel-compare-table th,
.panel-compare-table td {
    border-bottom: 1px solid #f3f4f6;
    padding: 0.875rem 1rem;
    vertical-align: top;
    text-align: left;
}
.panel-compare-table thead th {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}
.panel-compare-table__feature {
    width: 9rem;
    font-weight: 700;
    color: #374151;
    background: #fafafa;
}
.panel-compare-table__car {
    min-width: 11rem;
}
.panel-compare-table__image {
    width: 100%;
    height: 6rem;
    object-fit: cover;
    border-radius: 0.375rem;
    background: #f3f4f6;
    margin-bottom: 0.5rem;
}
.panel-compare-table__title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.35;
    margin-bottom: 0.25rem;
}
.panel-compare-table__price {
    font-size: 0.875rem;
    font-weight: 800;
    color: #0a3769;
    margin-bottom: 0.5rem;
}

/* Boyalı / değişen parça diyagramı */
.damage-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid transparent;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}
.damage-badge--original {
    background-color: #9ca3af;
    border-color: #9ca3af;
    color: #fff;
}
.damage-badge--local-painted {
    background-color: #fcd91e;
    border-color: #fcd91e;
    color: #1f2937;
}
.damage-badge--painted {
    background-color: #4083c9;
    border-color: #4083c9;
    color: #fff;
}
.damage-badge--changed {
    background-color: #ff5e39;
    border-color: #ff5e39;
    color: #fff;
}

.damage-report {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    background: #fff;
}

.vehicle-damage-status {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 0 0 auto;
}

.vehicle-damage-status__content {
    display: flex;
    gap: 1.5rem;
    width: 100%;
}

.vehicle-damage-status .vehicle-map {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    color: #d1d5db;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1rem;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    background: #fafafa;
}

.vehicle-damage-status .vehicle-label {
    padding: 0.5rem;
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.vehicle-damage-status .vehicle-map .front,
.vehicle-damage-status .vehicle-map .mid,
.vehicle-damage-status .vehicle-map .rear {
    display: flex;
}

.vehicle-damage-status .vehicle-map .front,
.vehicle-damage-status .vehicle-map .rear {
    position: relative;
}

.vehicle-damage-status .vehicle-map .front .wrapper {
    width: 186px;
    height: 64px;
}

.vehicle-damage-status .vehicle-map .front .on-tampon {
    width: 145px;
    height: 42px;
    position: absolute;
    top: 0.125rem;
    left: 50%;
    transform: translateX(-50%);
}

.vehicle-damage-status .vehicle-map .front .on-tampon .action-button {
    top: 1.125rem;
}

.vehicle-damage-status .vehicle-map .rear .wrapper {
    width: 152px;
    height: 47px;
}

.vehicle-damage-status .vehicle-map .rear .arka-tampon {
    width: 145px;
    height: 42px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.vehicle-damage-status .vehicle-map .rear .arka-tampon .action-button {
    bottom: 6px;
    top: unset;
    transform: translateX(-50%);
}

.vehicle-damage-status .vehicle-map .mid {
    display: flex;
    align-items: center;
}

.vehicle-damage-status .vehicle-map .mid .center {
    position: relative;
}

.vehicle-damage-status .vehicle-map .mid .center .wrapper {
    width: 161px;
    height: 318px;
}

.vehicle-damage-status .vehicle-map .mid .center .motor-kaputu {
    width: 105px;
    height: 88px;
    position: absolute;
    top: 0.625rem;
    left: 50%;
    transform: translateX(-50%);
}

.vehicle-damage-status .vehicle-map .mid .center .tavan {
    width: 78px;
    height: 86px;
    position: absolute;
    top: 144px;
    left: 50%;
    transform: translateX(-50%);
}

.vehicle-damage-status .vehicle-map .mid .center .bagaj-kapagi {
    width: 106px;
    height: 42px;
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
}

.vehicle-damage-status .vehicle-map .mid .left,
.vehicle-damage-status .vehicle-map .mid .right {
    position: relative;
}

.vehicle-damage-status .vehicle-map .mid .left .wrapper,
.vehicle-damage-status .vehicle-map .mid .right .wrapper {
    width: 99px;
    height: 313px;
}

.vehicle-damage-status .vehicle-map .mid .left .sol-on-camurluk,
.vehicle-damage-status .vehicle-map .mid .right .sag-on-camurluk {
    width: 55px;
    height: 92px;
    position: absolute;
    left: 5px;
    top: 9px;
}

.vehicle-damage-status .vehicle-map .mid .right .sag-on-camurluk {
    left: unset;
    right: 5px;
}

.vehicle-damage-status .vehicle-map .mid .left .sol-on-camurluk .action-button {
    top: 14px;
    left: 1.5rem;
}

.vehicle-damage-status .vehicle-map .mid .right .sag-on-camurluk .action-button {
    top: 14px;
    left: unset;
    right: 0.5rem;
}

.vehicle-damage-status .vehicle-map .mid .left .sol-on-kapi,
.vehicle-damage-status .vehicle-map .mid .right .sag-on-kapi {
    width: 79px;
    height: 79px;
    position: absolute;
    left: 10px;
    top: 100px;
}

.vehicle-damage-status .vehicle-map .mid .right .sag-on-kapi {
    left: unset;
    right: 10px;
}

.vehicle-damage-status .vehicle-map .mid .left .sol-on-kapi .action-button,
.vehicle-damage-status .vehicle-map .mid .right .sag-on-kapi .action-button {
    left: 30px;
}

.vehicle-damage-status .vehicle-map .mid .right .sag-on-kapi .action-button {
    left: unset;
    right: 0.5rem;
}

.vehicle-damage-status .vehicle-map .mid .left .sol-arka-kapi,
.vehicle-damage-status .vehicle-map .mid .right .sag-arka-kapi {
    width: 79px;
    height: 72px;
    position: absolute;
    left: 10px;
    bottom: 68px;
}

.vehicle-damage-status .vehicle-map .mid .right .sag-arka-kapi {
    left: unset;
    right: 10px;
}

.vehicle-damage-status .vehicle-map .mid .left .sol-arka-kapi .action-button,
.vehicle-damage-status .vehicle-map .mid .right .sag-arka-kapi .action-button {
    left: 30px;
}

.vehicle-damage-status .vehicle-map .mid .right .sag-arka-kapi .action-button {
    left: unset;
    right: 0.5rem;
}

.vehicle-damage-status .vehicle-map .mid .left .sol-arka-camurluk,
.vehicle-damage-status .vehicle-map .mid .right .sag-arka-camurluk {
    width: 64px;
    height: 64px;
    position: absolute;
    left: 13px;
    bottom: 10px;
}

.vehicle-damage-status .vehicle-map .mid .right .sag-arka-camurluk {
    left: unset;
    right: 13px;
}

.vehicle-damage-status .vehicle-map .mid .left .sol-arka-camurluk .action-button,
.vehicle-damage-status .vehicle-map .mid .right .sag-arka-camurluk .action-button {
    left: 30px;
}

.vehicle-damage-status .vehicle-map .mid .right .sag-arka-camurluk .action-button {
    left: unset;
    right: 0.5rem;
}

.vehicle-damage-status .part-item {
    display: inline;
    cursor: default;
}

.vehicle-damage-status .part-item svg {
    width: 100%;
    height: 100%;
}

.vehicle-damage-status .part-item.orijinal,
.vehicle-damage-status .part-item.orijinal:hover {
    color: #9ca3af;
}

.vehicle-damage-status .part-item.lokal-boyali,
.vehicle-damage-status .part-item.lokal-boyali:hover {
    color: #fcd91e;
}

.vehicle-damage-status .part-item.boyali,
.vehicle-damage-status .part-item.boyali:hover {
    color: #4083c9;
}

.vehicle-damage-status .part-item.degisen,
.vehicle-damage-status .part-item.degisen:hover {
    color: #ff5e39;
}

.vehicle-damage-status .part-item .action-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    padding: 0;
    font-size: 0.75rem;
    font-weight: 700;
    width: 1.125rem;
    height: 1.125rem;
    text-transform: uppercase;
    color: currentColor;
    cursor: default;
    line-height: 1;
}

.vehicle-damage-status .part-item .action-button svg {
    width: 9px;
    height: 9px;
}

@media screen and (max-width: 768px) {
    .vehicle-damage-status__content {
        flex-direction: column;
        gap: 1rem;
    }

    .vehicle-damage-status .vehicle-map {
        padding: 0.25rem 0;
    }

    .vehicle-damage-status .vehicle-map .front .wrapper {
        width: 145px;
        height: 50px;
    }

    .vehicle-damage-status .vehicle-map .front .on-tampon {
        width: 113px;
        height: 33px;
    }

    .vehicle-damage-status .vehicle-map .rear .wrapper {
        width: 118px;
        height: 37px;
    }

    .vehicle-damage-status .vehicle-map .rear .arka-tampon {
        width: 113px;
        height: 33px;
    }

    .vehicle-damage-status .vehicle-map .mid .center {
        margin-left: -7px;
        margin-right: -7px;
    }

    .vehicle-damage-status .vehicle-map .mid .center .wrapper {
        width: 125px;
        height: 248px;
    }

    .vehicle-damage-status .vehicle-map .mid .center .motor-kaputu {
        width: 82px;
        height: 68px;
        top: 8px;
    }

    .vehicle-damage-status .vehicle-map .mid .center .tavan {
        width: 61px;
        height: 67px;
        top: 112px;
    }

    .vehicle-damage-status .vehicle-map .mid .center .bagaj-kapagi {
        width: 82px;
        bottom: 12px;
    }

    .vehicle-damage-status .vehicle-map .mid .left .wrapper,
    .vehicle-damage-status .vehicle-map .mid .right .wrapper {
        width: 77px;
        height: 244px;
    }

    .vehicle-damage-status .vehicle-map .mid .left .sol-on-camurluk,
    .vehicle-damage-status .vehicle-map .mid .right .sag-on-camurluk {
        width: 43px;
        height: 71px;
        top: 7px;
    }

    .vehicle-damage-status .vehicle-map .mid .left .sol-on-kapi,
    .vehicle-damage-status .vehicle-map .mid .right .sag-on-kapi {
        width: 62px;
        height: 62px;
        top: 78px;
    }

    .vehicle-damage-status .vehicle-map .mid .left .sol-arka-kapi,
    .vehicle-damage-status .vehicle-map .mid .right .sag-arka-kapi {
        width: 61px;
        height: 56px;
        bottom: 52px;
    }

    .vehicle-damage-status .vehicle-map .mid .left .sol-arka-camurluk,
    .vehicle-damage-status .vehicle-map .mid .right .sag-arka-camurluk {
        width: 50px;
        height: 50px;
        bottom: 8px;
        left: 10px;
    }

    .vehicle-damage-status .vehicle-map .mid .right .sag-arka-camurluk {
        right: 10px;
    }
}

.damage-lists {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    min-width: 180px;
}
.damage-lists ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
    color: #374151;
}
.damage-lists li + li {
    margin-top: 0.35rem;
}
.damage-list-title {
    font-weight: 700;
    margin-bottom: 0.5rem !important;
    padding-left: 1rem;
    position: relative;
}
.damage-list-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
}
.damage-list-title.damage-part--painted::before { background: #4083c9; }
.damage-list-title.damage-part--local-painted::before { background: #fcd91e; }
.damage-list-title.damage-part--changed::before { background: #ff5e39; }

.damage-lists ul li:not(.damage-list-title) {
    position: relative;
    padding-left: 0.875rem;
}
.damage-lists ul li:not(.damage-list-title)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: #000;
}

/* İlan detay iletişim formu */
.listing-inquiry-card {
    background-color: #e5e7eb;
}
.listing-inquiry-input {
    width: 100%;
    height: 44px;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0 0.875rem;
    font-size: 0.875rem;
    color: #111827;
    background: #fff;
}
.listing-inquiry-input:focus {
    outline: none;
    border-color: #0082c3;
    box-shadow: 0 0 0 1px #0082c3;
}
.listing-inquiry-textarea {
    height: auto;
    min-height: 110px;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    resize: vertical;
}
.listing-inquiry-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 48px;
    border: none;
    border-radius: 9999px;
    background: #0082c3;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
}
.listing-inquiry-submit:hover {
    background: #006da3;
}

.listing-inquiry-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.listing-inquiry-modal.is-open {
    display: flex;
}

body.listing-inquiry-modal-open {
    overflow: hidden;
}

.listing-inquiry-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}

.listing-inquiry-modal__panel {
    position: relative;
    width: min(100%, 32rem);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
    padding: 1.25rem;
}

.listing-inquiry-modal__header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-right: 2rem;
}

.listing-inquiry-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 9999px;
    background: #f3f4f6;
    color: #374151;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.listing-inquiry-modal__close:hover {
    background: #e5e7eb;
}

/* Sidebar hesaplama kartları */
.sidebar-calc-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.sidebar-calc-card--credit {
    border-color: #cbd5e1;
    background: #fcfeff;
}
.sidebar-calc-card--insurance {
    border-color: #d1d5db;
    background: #ffffff;
}

.dealer-sidebar-card {
    background: #cbd5e1;
}

.found-listings-card {
    background: #fffef4;
    border-color: #d7d1b2;
}
.listing-share-block__title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1c3a5c;
    margin: 0 0 0.75rem;
}
.listing-share-preview {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.625rem;
    border: 1px solid #d7d1b2;
    border-radius: 0.75rem;
    background: #fff;
}
.listing-share-preview__image {
    width: 4.5rem;
    height: 3.25rem;
    object-fit: cover;
    border-radius: 0.5rem;
    flex-shrink: 0;
    background: #f3f4f6;
}
.listing-share-preview__text {
    min-width: 0;
}
.listing-share-preview__title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #1c3a5c;
    line-height: 1.35;
    margin: 0 0 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.listing-share-preview__price {
    font-size: 0.8125rem;
    font-weight: 800;
    color: #0a3769;
    margin: 0;
}
.listing-share-block__actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
}
.listing-share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    min-height: 4.5rem;
    padding: 0.625rem 0.375rem;
    border: 1px solid #d7d1b2;
    border-radius: 0.75rem;
    background: #fff;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
    width: 100%;
    transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}
.listing-share-btn:hover {
    border-color: #1c3a5c;
    background: #fff;
    transform: translateY(-1px);
}
.listing-share-btn__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
}
.listing-share-btn__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}
.listing-share-btn__label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #374151;
    line-height: 1.2;
    text-align: center;
}
.listing-share-btn--whatsapp .listing-share-btn__icon {
    color: #25d366;
}
.listing-share-btn--x .listing-share-btn__icon {
    color: #111827;
}
.listing-share-btn--facebook .listing-share-btn__icon {
    color: #1877f2;
}
.listing-share-btn--instagram .listing-share-btn__icon {
    color: #e1306c;
}
.listing-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #111827;
}
.listing-description--plain {
    white-space: pre-line;
    font-weight: 600;
}
.listing-description p,
.listing-description ul,
.listing-description ol {
    margin: 0 0 0.75rem;
}
.listing-description p:last-child,
.listing-description ul:last-child,
.listing-description ol:last-child {
    margin-bottom: 0;
}
.listing-description ul,
.listing-description ol {
    padding-left: 1.25rem;
}
.listing-description a {
    color: #4083c9;
    text-decoration: underline;
}
@media (max-width: 420px) {
    .listing-share-block__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.found-listings-site-link {
    border: 1px solid #d7d1b2;
}
.found-listings-dealer-page-btn {
    background-color: #ffe768;
}
.found-listings-dealer-page-btn:hover {
    background-color: #f5db5c;
}
.sidebar-calc-title {
    font-size: 1rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.25rem;
}
.sidebar-calc-subtitle {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.4;
}
.sidebar-calc-field label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.35rem;
}
.sidebar-calc-input,
.sidebar-calc-select {
    width: 100%;
    height: 40px;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    background: #fff;
}
.sidebar-calc-input:focus,
.sidebar-calc-select:focus {
    outline: none;
    border-color: #0082c3;
    box-shadow: 0 0 0 1px #0082c3;
}
.sidebar-calc-input[readonly] {
    background: #f9fafb;
    color: #374151;
}
.sidebar-calc-result {
    margin-top: 1rem;
    padding: 0.875rem;
    border-radius: 0.75rem;
    background: #fff;
    border: 1px solid #e5e7eb;
}
.sidebar-calc-result-main {
    font-size: 1.375rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
}
.sidebar-calc-result-label {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.15rem;
}
.sidebar-calc-result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 0.75rem;
}
.sidebar-calc-result-item {
    font-size: 0.8125rem;
}
.sidebar-calc-result-item strong {
    display: block;
    font-size: 0.9375rem;
    color: #111827;
    margin-top: 0.15rem;
}
.sidebar-calc-note {
    margin-top: 0.75rem;
    font-size: 0.6875rem;
    color: #9ca3af;
    line-height: 1.45;
}
.sidebar-calc-offer-btn {
    display: block;
    width: 100%;
    margin-top: 1rem;
    height: 2.75rem;
    border: none;
    border-radius: 0.375rem;
    background: #0082c3;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.sidebar-calc-offer-btn:hover {
    background: #006da3;
}
.sidebar-calc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}
.sidebar-calc-badge-icon {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
}
.sidebar-calc-badge--credit { background: #fcd91e; color: #006da3; }
.sidebar-calc-badge--insurance { background: #fcd91e; color: #15803d; }

.car-card-wrapper {
    position: relative;
}
.car-card-favorite-slot {
    position: absolute;
    top: 0.625rem;
    left: 0.625rem;
    z-index: 20;
}
.favorite-toggle-form {
    margin: 0;
}
.favorite-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e5e7eb;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.favorite-btn svg {
    width: 0.6875rem;
    height: 0.6875rem;
}
.favorite-btn:hover {
    color: #ef4444;
    border-color: #fecaca;
    transform: scale(1.04);
}
.favorite-btn.is-active {
    color: #ef4444;
    border-color: #fca5a5;
    background: #fff;
}

.listing-toolbar {
    width: auto;
}

.listing-results-banner {
    background: #f3f4f6;
}

.listing-results-toolbar {
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 0.75rem;
}
    background: #e5e7eb;
    color: #4b5563;
    font-weight: 500;
}

.listing-crumb {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: 0.375rem;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.75rem;
    line-height: 1.25rem;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

a.listing-crumb:hover {
    background: #e5e7eb;
    color: #374151;
}

.listing-crumb--active {
    color: #374151;
}

.listing-sort-select {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right center;
    padding: 0 1.125rem 0 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2563eb;
    cursor: pointer;
}

.listing-sort-select:focus {
    outline: none;
}

.listing-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 0.25rem;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.15s ease;
}

.listing-view-btn:hover {
    color: #2563eb;
}

.listing-view-btn.is-active {
    color: #2563eb;
    background: transparent;
}

.car-list-row {
    position: relative;
}

.car-list-row__link {
    text-decoration: none;
    color: inherit;
}

.car-list-row__favorite {
    position: absolute;
    top: 0.625rem;
    left: 0.625rem;
    z-index: 20;
}

.dealer-listing-card {
    display: block;
    background: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.dealer-listing-card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}
.dealer-listing-card__header {
    background: #9ca3af;
    color: #1f2937;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.65rem 1rem;
    text-align: center;
}

.detail-section-header {
    background: #e5e7eb;
    color: #000;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.7rem 1.25rem;
}
.detail-section-header--flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.detail-section-header--flex a {
    color: #000;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    opacity: 0.95;
    white-space: nowrap;
}
.detail-section-header--flex a:hover {
    text-decoration: underline;
    opacity: 1;
}
.detail-subsection-header {
    background: #e5e7eb;
    color: #374151;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.5rem 1rem;
    margin-bottom: 0.75rem;
    border-radius: 0.25rem;
}
.detail-subsection-header.mt-section {
    margin-top: 1rem;
}
.dealer-listing-card__body {
    padding: 1rem;
}
.dealer-listing-card__top {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.dealer-listing-card__image-wrap {
    flex: 0 0 42%;
    max-width: 42%;
}
.dealer-listing-card__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0.25rem;
    background: #f3f4f6;
}
.dealer-listing-card__specs {
    flex: 1;
    min-width: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.dealer-listing-card__specs li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #4b5563;
    line-height: 1.2;
}
.dealer-listing-card__specs svg {
    flex-shrink: 0;
    color: #9ca3af;
}
.dealer-listing-card__title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #1c3a5c;
    line-height: 1.35;
    margin: 0 0 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dealer-listing-card__price {
    font-size: 0.875rem;
    font-weight: 800;
    color: #0a3769;
}
.dealer-listing-card__body--more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 10.5rem;
    text-align: center;
    gap: 0.75rem;
}
.dealer-listing-card__more-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
}
.dealer-listing-card__more-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
}
.dealer-listing-card--more:hover .dealer-listing-card__more-link {
    color: #111827;
    text-decoration: underline;
}

/* ── Araç Sat wizard ── */
.sell-car-steps {
    flex-wrap: wrap;
}
.sell-car-step {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.75rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
}
.sell-car-step span {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background: #f3f4f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    flex-shrink: 0;
}
.sell-car-step--active {
    border-color: #083565;
    color: #083565;
    background: #f0f4f8;
}
.sell-car-step--active span {
    background: #083565;
    color: #fff;
}
.sell-car-step--done {
    color: #059669;
    border-color: #a7f3d0;
}
.sell-car-step--done span {
    background: #d1fae5;
    color: #047857;
}
.sell-car-info {
    background: #f3f4f6;
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.5;
}
.sell-car-info p + p {
    margin-top: 0.35rem;
}
.sell-car-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.35rem;
}
.sell-car-input {
    width: 100%;
    height: 2.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    color: #111827;
    background: #fff;
}
.sell-car-input:focus {
    outline: none;
    border-color: #083565;
    box-shadow: 0 0 0 3px rgba(8, 53, 101, 0.12);
}
.sell-car-input:disabled {
    background: #f9fafb;
    color: #9ca3af;
}
.sell-car-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0 1.5rem;
    border-radius: 0.5rem;
    background: #fcd91e;
    color: #231F1C;
    font-size: 0.9375rem;
    font-weight: 700;
    border: 1px solid #e5c41a;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.sell-car-btn:hover {
    background: #254c75;
    border-color: #254c75;
    color: #fff;
}
.sell-car-btn--secondary {
    background: #fff;
    color: #083565;
    border: 1px solid #cbd5e1;
}
.sell-car-btn--secondary:hover {
    background: #f0f4f8;
    border-color: #083565;
    color: #083565;
}
.sell-car-damage-table__head,
.sell-car-damage-table__row {
    display: grid;
    grid-template-columns: 1fr repeat(4, 3.5rem);
    gap: 0.5rem;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}
.sell-car-damage-table__head {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.sell-car-radio {
    display: inline-flex;
    cursor: pointer;
}
.sell-car-radio input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.sell-car-radio span {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #d1d5db;
    border-radius: 9999px;
    display: inline-block;
    position: relative;
}
.sell-car-radio input:checked + span {
    border-color: #083565;
    background: #083565;
    box-shadow: inset 0 0 0 3px #fff;
}
.vehicle-damage-status--editable .part-item {
    cursor: pointer;
}
.vehicle-damage-status--editable .part-item:focus {
    outline: 2px solid #083565;
    outline-offset: 2px;
}
.header-sell-car-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    box-sizing: border-box;
    height: 2rem;
    padding: 0 0.85rem;
    border-radius: 4.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #ffffff;
    border: 1px solid #0a3769;
    background: #083565;
    white-space: nowrap;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}
.header-sell-car-btn:hover {
    background: #062d54;
    border-color: #062d54;
}
.sell-car-alert {
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.5;
}
.sell-car-alert strong {
    display: block;
    font-weight: 800;
    margin-bottom: 0.25rem;
}
.sell-car-alert--success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}
.sell-car-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    font-weight: 600;
}

.sell-car-form .car-form-gallery__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
@media (min-width: 768px) {
    .sell-car-form .car-form-gallery__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.sell-car-form .car-form-gallery__item {
    display: flex;
    align-items: stretch;
    gap: 0.875rem;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.875rem;
    background: #fff;
}
.sell-car-form .car-form-gallery__item.is-cover {
    border-color: #f2a63a;
    box-shadow: 0 0 0 1px rgba(242, 166, 58, 0.25);
}
.sell-car-form .car-form-gallery__thumb {
    position: relative;
    width: 7.5rem;
    height: 5.5rem;
    flex-shrink: 0;
    border-radius: 0.625rem;
    overflow: hidden;
    background: #f1f5f9;
}
.sell-car-form .car-form-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sell-car-form .car-form-gallery__cover-badge {
    position: absolute;
    top: 0.375rem;
    left: 0.375rem;
    padding: 0.125rem 0.45rem;
    border-radius: 9999px;
    background: #f2a63a;
    color: #1a1a2e;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.sell-car-form .car-form-gallery__url {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}
.sell-car-form .car-form-gallery__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.sell-car-form .car-form-gallery__btn {
    height: 2rem;
    padding: 0 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
}
.sell-car-form .car-form-gallery__btn--danger {
    color: #b91c1c;
    border-color: #fecaca;
}

/* ── Araç Sat minimal layout ── */
.sell-car-layout-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}
.sell-car-layout-header__inner {
    max-width: 56rem;
    margin: 0 auto;
    padding: 1rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sell-car-layout-logo.site-logo-text {
    display: inline-flex;
}
.sell-car-layout-logo .site-logo-text__wordmark {
    height: 2.25rem;
    width: auto;
}
.sell-car-layout-main {
    flex: 1;
}

/* ── Çerez bildirimi ── */
.cookie-banner,
.cookie-modal {
    z-index: 9999;
}

.cookie-banner.is-hidden,
.cookie-modal.is-hidden {
    display: none;
}

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    color: #111827;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -8px 32px rgba(8, 53, 101, 0.12);
    padding: 1.25rem 1rem 1.5rem;
}

.cookie-banner__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #475569;
    cursor: pointer;
}

.cookie-banner__close:hover {
    background: #f1f5f9;
    color: #083565;
}

.cookie-banner__inner {
    max-width: 80rem;
    margin: 0 auto;
    padding-right: 2.5rem;
}

.cookie-banner__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #083565;
    margin: 0 0 0.75rem;
}

.cookie-banner__body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cookie-banner__text {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #374151;
    margin: 0;
    max-width: 56rem;
}

.cookie-banner__text strong {
    color: #111827;
}

.cookie-banner__link {
    color: #083565;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner__link:hover {
    color: #0a3769;
}

.cookie-banner__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-width: 18rem;
    flex-shrink: 0;
}

.cookie-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: none;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.cookie-btn--primary {
    background: #083565;
    color: #fff;
    box-shadow: 0 4px 14px rgba(8, 53, 101, 0.22);
}

.cookie-btn--primary:hover {
    background: #0a3769;
}

.cookie-btn--secondary {
    background: #eef4fb;
    color: #083565;
}

.cookie-btn--secondary:hover {
    background: #dce8f5;
}

.cookie-btn--block {
    width: 100%;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}

.cookie-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
}

.cookie-modal__panel {
    position: relative;
    width: 100%;
    max-width: 42rem;
    max-height: min(70vh, 600px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 1.5rem 1.5rem 0 0;
    box-shadow: 0 -12px 40px rgba(8, 53, 101, 0.18);
    overflow: hidden;
}

.cookie-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
}

.cookie-modal__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #083565;
    margin: 0;
}

.cookie-modal__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #475569;
    cursor: pointer;
}

.cookie-modal__close:hover {
    background: #f1f5f9;
    color: #083565;
}

.cookie-modal__content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
}

.cookie-preferences {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cookie-pref-item {
    margin-bottom: 0.75rem;
}

.cookie-pref-item__head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.cookie-pref-item__checkbox {
    width: 1.125rem;
    height: 1.125rem;
    margin-top: 0.15rem;
    accent-color: #083565;
    flex-shrink: 0;
}

.cookie-pref-item__checkbox:disabled {
    cursor: not-allowed;
    opacity: 0.75;
}

.cookie-pref-item__title {
    font-size: 1rem;
    font-weight: 600;
    color: #1c3a5c;
}

.cookie-pref-item__desc {
    margin: 0.35rem 0 0 1.875rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #4b5563;
}

.cookie-modal__note {
    margin: 0.5rem 0 0;
    font-size: 0.875rem;
    color: #6b7280;
}

.cookie-modal__footer {
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid #e5e7eb;
    background: #fff;
}

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

/* ── Yasal sayfalar (çerez politikası vb.) ── */
.legal-page {
    max-width: 56rem;
    margin: 0 auto;
    padding: 2.5rem 1rem 4rem;
}

.legal-page__card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    box-shadow: 0 8px 30px rgba(8, 53, 101, 0.06);
    overflow: hidden;
}

.legal-page__header {
    padding: 2rem 1.75rem 1.5rem;
    border-bottom: 1px solid #eef2f7;
    background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}

.legal-page__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #083565;
}

.legal-page__title {
    margin: 0;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: #111827;
    line-height: 1.25;
}

.legal-page__meta {
    margin: 0.75rem 0 0;
    font-size: 0.875rem;
    color: #6b7280;
}

.legal-page__subtitle {
    margin: 0.35rem 0 0;
    font-size: 0.9375rem;
    color: #4b5563;
}

.legal-page__content {
    padding: 1.75rem;
}

.legal-section + .legal-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #f1f5f9;
}

.legal-section h2 {
    margin: 0 0 0.85rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #083565;
}

.legal-section h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #1c3a5c;
}

.legal-section p {
    margin: 0 0 0.85rem;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: #374151;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-link {
    color: #083565;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-link:hover {
    color: #0a3769;
}

.legal-list {
    margin: 0 0 0.85rem;
    padding-left: 1.25rem;
    color: #374151;
}

.legal-list li {
    margin-bottom: 0.45rem;
    line-height: 1.65;
    font-size: 0.9375rem;
}

.legal-info-box {
    padding: 1rem 1.15rem;
    border-radius: 0.75rem;
    background: #f8fbff;
    border: 1px solid #dce8f5;
}

.legal-info-box p {
    margin: 0 0 0.35rem;
    font-size: 0.9375rem;
    color: #374151;
}

.legal-info-box p:last-child {
    margin-bottom: 0;
}

.legal-cookie-types {
    display: grid;
    gap: 1rem;
}

.legal-cookie-type {
    padding: 1rem 1.15rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    background: #fafafa;
}

.legal-cookie-type p {
    margin: 0;
}

.legal-table-wrap {
    overflow-x: auto;
    margin: 1rem 0;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
}

.legal-table {
    width: 100%;
    min-width: 42rem;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.legal-table th,
.legal-table td {
    padding: 0.75rem 0.85rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #eef2f7;
}

.legal-table th {
    background: #f8fbff;
    color: #083565;
    font-weight: 700;
    white-space: nowrap;
}

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

.legal-table code {
    font-size: 0.8125rem;
    background: #f1f5f9;
    padding: 0.1rem 0.35rem;
    border-radius: 0.25rem;
    color: #1e293b;
}

.legal-note {
    font-size: 0.875rem !important;
    color: #6b7280 !important;
    font-style: italic;
}

.legal-page__actions {
    margin-top: 1.25rem;
}

@media (min-width: 768px) {
    .legal-page__header,
    .legal-page__content {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 768px) {
    .cookie-banner {
        padding: 1.5rem 1.5rem 1.75rem;
    }

    .cookie-banner__body {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .cookie-banner__actions {
        min-width: 16rem;
    }

    .cookie-modal {
        align-items: center;
        padding: 1.5rem;
    }

    .cookie-modal__panel {
        border-radius: 0.75rem;
        max-height: min(80vh, 640px);
    }
}
