﻿/*
 * SERVOX Purple Theme
 * File: purple.muhtar.css
 * Scope: index.php / shared landing page theme
 */

:root {
    --muhtar-purple: #680667;
    --muhtar-purple-soft: #9c8b9c;

    --muhtar-panel-1-start: #70065b;
    --muhtar-panel-1-end: #baa3b5;

    --muhtar-panel-2-start: #71055b;
    --muhtar-panel-2-end: #b88caf;

    --muhtar-panel-3-start: #930476;
    --muhtar-panel-3-end: #e4a5d7;

    --muhtar-panel-4-start: #b20890;
    --muhtar-panel-4-end: #d1b4cb;

    --muhtar-icon: #f0b7e5;
    --muhtar-white: #ffffff;
    --muhtar-border: rgba(104, 6, 103, 0.18);

    --muhtar-radius-sm: 10px;
    --muhtar-radius-md: 16px;
    --muhtar-radius-lg: 22px;

    --muhtar-shadow-sm: 0 4px 14px rgba(104, 6, 103, 0.10);
    --muhtar-shadow-md: 0 10px 30px rgba(104, 6, 103, 0.16);

    --muhtar-transition: 180ms ease;
}

/* Base */
html,
body {
    min-height: 100%;
    background: var(--muhtar-white);
}

body {
    margin: 0;
    color: #333333;
    font-family: Arial, Helvetica, sans-serif;
}

/* Gentelella-like heading scale */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 10px;
    margin-bottom: 10px;
    color: var(--muhtar-purple);
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    line-height: 1.1;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 14px;
}

h6 {
    font-size: 12px;
}

/* Small / secondary text */
small,
.small,
span.muhtar-small {
    font-family: "Times New Roman", Times, serif;
    font-size: 10pt;
    font-style: italic;
}

/* Main page background */
.page-background,
.main-container,
.right_col,
.main-content {
    background: var(--muhtar-white);
}

/* Footer */
.page-footer,
footer.page-footer {
    width: 100%;
    padding: 22px 24px;
    color: var(--muhtar-white);
    background: linear-gradient(
        135deg,
        var(--muhtar-purple) 0%,
        var(--muhtar-purple-soft) 100%
    );
    border-radius: var(--muhtar-radius-lg) var(--muhtar-radius-lg) 0 0;
    box-shadow: 0 -5px 18px rgba(104, 6, 103, 0.14);
}

.page-footer,
.page-footer p,
.page-footer a,
.page-footer h1,
.page-footer h2,
.page-footer h3,
.page-footer h4,
.page-footer h5,
.page-footer h6 {
    color: var(--muhtar-white);
}

/* Header */
.page-header,
header.page-header {
    width: 100%;
    padding: 22px 24px;
    color: var(--muhtar-white);
    background: linear-gradient(
        135deg,
        var(--muhtar-purple) 0%,
        var(--muhtar-purple-soft) 100%
    );
    border-radius: var(--muhtar-radius-lg) var(--muhtar-radius-lg) 0 0;
    box-shadow: 0 -5px 18px rgba(104, 6, 103, 0.14);
}

.page-header,
.page-header p,
.page-header a,
.page-header h1,
.page-header h2,
.page-header h3,
.page-header h4,
.page-header h5,
.page-header h6 {
    color: var(--muhtar-white);
}

/* Full-width hero / main panel */
.panel-full,
.muhtar-panel-full,
.x_panel.panel-full {
    width: 100%;
    color: var(--muhtar-white);
    background: linear-gradient(
        135deg,
        var(--muhtar-purple) 0%,
        var(--muhtar-purple-soft) 100%
    );
    border: 0;
    border-radius: var(--muhtar-radius-lg);
    box-shadow: var(--muhtar-shadow-md);
    overflow: hidden;
}

.panel-full h1,
.panel-full h2,
.panel-full h3,
.panel-full h4,
.panel-full h5,
.panel-full h6,
.panel-full p,
.panel-full a,
.panel-full span,
.muhtar-panel-full h1,
.muhtar-panel-full h2,
.muhtar-panel-full h3,
.muhtar-panel-full h4,
.muhtar-panel-full h5,
.muhtar-panel-full h6,
.muhtar-panel-full p,
.muhtar-panel-full a,
.muhtar-panel-full span {
    color: var(--muhtar-white);
}

/* Shared panel style */
.muhtar-panel,
.x_panel.muhtar-panel,
.panel.muhtar-panel {
    position: relative;
    border: 0;
    border-radius: var(--muhtar-radius-md);
    box-shadow: var(--muhtar-shadow-sm);
    overflow: hidden;
    transition:
        transform var(--muhtar-transition),
        box-shadow var(--muhtar-transition);
}

.muhtar-panel:hover {
    transform: translateY(-3px);
    box-shadow: var(--muhtar-shadow-md);
}

.muhtar-panel .x_title,
.muhtar-panel .panel-heading,
.muhtar-panel .panel-body,
.muhtar-panel .x_content {
    color: var(--muhtar-white);
    background: transparent;
    border: 0;
}

.muhtar-panel h1,
.muhtar-panel h2,
.muhtar-panel h3,
.muhtar-panel h4,
.muhtar-panel h5,
.muhtar-panel h6,
.muhtar-panel p,
.muhtar-panel a,
.muhtar-panel span {
    color: var(--muhtar-white);
}

/* Small panel gradients */
.muhtar-panel-1 {
    background: linear-gradient(
        135deg,
        var(--muhtar-panel-1-start) 0%,
        var(--muhtar-panel-1-end) 100%
    );
}

.muhtar-panel-2 {
    background: linear-gradient(
        135deg,
        var(--muhtar-panel-2-start) 0%,
        var(--muhtar-panel-2-end) 100%
    );
}

.muhtar-panel-3 {
    background: linear-gradient(
        135deg,
        var(--muhtar-panel-3-start) 0%,
        var(--muhtar-panel-3-end) 100%
    );
}

.muhtar-panel-4 {
    background: linear-gradient(
        135deg,
        var(--muhtar-panel-4-start) 0%,
        var(--muhtar-panel-4-end) 100%
    );
}

/* Font Awesome icons inside panels */
.muhtar-panel .fa,
.muhtar-panel .fas,
.muhtar-panel .far,
.muhtar-panel .fab,
.panel-full .fa,
.panel-full .fas,
.panel-full .far,
.panel-full .fab {
    color: var(--muhtar-icon);
}

/* CTS Main Header */

.cts-main-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    min-height: 84px;
}

.cts-main-header__logo {
    display: flex;
    align-items: center;
}

.cts-main-header__logo img {
    display: block;
    width: auto;
    max-width: 150px;
    max-height: 52px;
}

.cts-main-header__slogan {
    color: var(--muhtar-white);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.cts-main-header__menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.cts-login-dropdown {
    min-width: 150px;
    margin: 0;
    padding: 10px 16px;
    color: var(--muhtar-purple);
    background: var(--muhtar-white);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--muhtar-radius-sm);
    font-weight: 600;
}

.cts-login-dropdown:hover,
.cts-login-dropdown:focus,
.cts-login-dropdown:active {
    color: var(--muhtar-purple);
    background: #f7eef7;
    border-color: var(--muhtar-white);
}

.cts-login-dropdown .fa {
    margin-left: 8px;
    color: var(--muhtar-purple);
}

.cts-login-menu {
    min-width: 210px;
    margin-top: 10px;
    padding: 8px 0;
    border: 1px solid var(--muhtar-border);
    border-radius: var(--muhtar-radius-sm);
    box-shadow: var(--muhtar-shadow-md);
    overflow: hidden;
}

.cts-login-menu > li > a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--muhtar-purple);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

.cts-login-menu > li > a:hover,
.cts-login-menu > li > a:focus {
    color: var(--muhtar-white);
    background: var(--muhtar-purple);
}

.cts-login-menu > li > a .fa {
    width: 18px;
    color: inherit;
    text-align: center;
}

@media (max-width: 767px) {
    .cts-main-header {
        grid-template-columns: auto auto;
        gap: 14px;
        min-height: auto;
        padding: 16px;
    }

    .cts-main-header__logo img {
        max-width: 115px;
        max-height: 42px;
    }

    .cts-main-header__slogan {
        grid-column: 1 / -1;
        grid-row: 2;
        font-size: 19px;
        text-align: left;
    }

    .cts-login-dropdown {
        min-width: auto;
        padding: 9px 12px;
    }
}

/*
 * CTS discovery page
 * These are deliberately scoped to the landing page so the established
 * header and other Gentelella pages retain their existing appearance.
 */
.cts-discovery-page {
    width: 100%;
    padding: 0 0 32px;
    background: #ffffff;
}

.cts-discovery-page .cts-page-width,
.right_col {
    width: 100%;
    max-width: 1280px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 24px;
    padding-left: 24px;
}

.right_col {
    padding-top: 22px;
    padding-bottom: 32px;
    background: #ffffff;
}

.page-title {
    width: 100%;
    height: auto;
    margin: 0 0 18px;
    padding: 0;
}

.cts-search-section {
    padding: 34px 0 38px;
    color: #ffffff;
    background: linear-gradient(135deg, #680667 0%, #8e438d 100%);
}

.cts-search-intro {
    margin-bottom: 20px;
}

.cts-search-intro h1,
.cts-search-intro p {
    margin: 0;
    color: #ffffff;
}

.cts-search-intro h1 {
    font-size: clamp(27px, 4vw, 38px);
    font-weight: 700;
}

.cts-search-intro p {
    margin-top: 7px;
    font-size: 16px;
}

.cts-search-card {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(150px, 1fr) auto;
    align-items: end;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--muhtar-radius-md);
}

.cts-search-field {
    display: block;
    margin: 0;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.cts-search-field > span {
    display: block;
    margin: 0 0 6px;
}

.cts-search-field--query { min-width: 0; }

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

.form-control {
    display: block;
    width: 100%;
    height: 40px;
    padding: 8px 12px;
    color: #333333;
    background: #ffffff;
    background-image: none;
    border: 1px solid #d8cfd8;
    border-radius: 9px;
    box-shadow: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    transition: border-color var(--muhtar-transition), box-shadow var(--muhtar-transition);
}

/* =========================================================
   CTS COMPACT VEHICLE FORM
   Araç Bilgileri formu için dar ve dengeli alanlar
   ========================================================= */

.cts-vehicle-form-compact {
    width: 100%;
    max-width: 920px;
}

.cts-vehicle-form-compact__row {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(150px, 0.45fr);
    align-items: end;
    gap: 16px;
    margin-bottom: 14px;
}

.cts-vehicle-form-compact__row--model {
    grid-template-columns: minmax(360px, 1fr) minmax(100px, 0.28fr);
}

.cts-vehicle-form-compact__row--chassis {
    grid-template-columns: minmax(320px, 0.75fr);
}

.cts-vehicle-form-compact .form-group {
    min-width: 0;
    margin-bottom: 0;
}

.cts-vehicle-form-compact .form-control {
    width: 100%;
    max-width: 100%;
}

.cts-vehicle-form-compact__model-picker {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 130px;
    gap: 12px;
    align-items: stretch;
}

.cts-vehicle-form-compact__model-picker .btn {
    width: 100%;
    min-width: 0;
    margin: 0;
}

.cts-vehicle-form-compact__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

@media (max-width: 767px) {
    .cts-vehicle-form-compact {
        max-width: none;
    }

    .cts-vehicle-form-compact__row,
    .cts-vehicle-form-compact__row--model,
    .cts-vehicle-form-compact__row--chassis {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cts-vehicle-form-compact__model-picker {
        grid-template-columns: 1fr;
    }

    .cts-vehicle-form-compact__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cts-vehicle-form-compact__actions .btn,
    .cts-vehicle-form-compact__actions a {
        width: 100%;
    }
}

select.form-control {
    padding-right: 30px;
}

.form-control:focus {
    border-color: var(--muhtar-purple);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(104, 6, 103, 0.10);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    padding: 8px 15px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    transition: color var(--muhtar-transition), background-color var(--muhtar-transition), border-color var(--muhtar-transition), transform var(--muhtar-transition), box-shadow var(--muhtar-transition);
}

.btn-success { color: #ffffff; background: #218c5b; border-color: #218c5b; }
.btn-danger { color: #ffffff; background: #c93f4a; border-color: #c93f4a; }
.btn-info { color: #ffffff; background: #387ca8; border-color: #387ca8; }
.btn-success:hover, .btn-danger:hover, .btn-info:hover { color: #ffffff; transform: translateY(-1px); }
.btn-sm { min-height: 32px; padding: 6px 10px; font-size: 12px; }
.btn-block { display: flex; width: 100%; }

.cts-section {
    width: 100%;
    margin-top: 24px;
}

.cts-section-heading,
.cts-section__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.cts-section__title,
.cts-section-heading h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.cts-section__subtitle,
.cts-section-heading > span {
    margin: 4px 0 0;
    color: #6f6877;
}

.cts-section-heading > a,
.cts-more-link {
    color: var(--muhtar-purple);
    font-weight: 700;
    text-decoration: none;
}

.cts-type-scroller,
.cts-chip-list,
.cts-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cts-type-chip,
.yy-chip,
.yy-tip-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    color: #5f245f;
    background: #faf5fa;
    border: 1px solid rgba(104, 6, 103, 0.16);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.cts-type-chip--featured { color: #ffffff; background: var(--muhtar-purple); }

.alert {
    padding: 12px 16px;
    margin: 18px 0 0;
    border: 1px solid transparent;
    border-radius: 9px;
}

.alert-danger { color: #8c2330; background: #fff1f2; border-color: #f0bac0; }
.alert-warning { color: #765114; background: #fff8e7; border-color: #ead49a; }
.cts-alert { margin-top: 18px; }

.cts-search-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 18px;
    color: #625a66;
}

.cts-search-summary span { display: inline-flex; align-items: center; gap: 6px; }
.cts-search-summary .fa { color: var(--muhtar-purple); }

.cts-empty-state {
    margin-top: 24px;
    padding-top: 34px;
    padding-bottom: 34px;
    color: #6f6877;
    text-align: center;
    background: #fbf8fb;
    border: 1px dashed rgba(104, 6, 103, 0.25);
    border-radius: var(--muhtar-radius-md);
}

.cts-empty-state > .fa { font-size: 30px; color: var(--muhtar-purple); }
.cts-empty-state h2 { margin-bottom: 6px; font-size: 21px; }
.cts-empty-state p { margin: 0; }

.cts-business-grid,
.cts-featured-grid,
.cts-campaign-grid,
.cts-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.cts-listing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.cts-business-card,
.cts-featured-card,
.cts-campaign-card,
.cts-info-card,
.cts-listing-card,
.yy-card,
.portal-stat-box,
.x_panel {
    width: 100%;
    margin-bottom: 18px;
    padding: 16px 18px;
    color: #403a43;
    background: #ffffff;
    border: 1px solid rgba(104, 6, 103, 0.14);
    border-radius: var(--muhtar-radius-md);
    box-shadow: var(--muhtar-shadow-sm);
}

.cts-business-card,
.cts-featured-card,
.cts-campaign-card,
.yy-card {
    transition: transform var(--muhtar-transition), box-shadow var(--muhtar-transition);
}

.cts-business-card:hover,
.cts-featured-card:hover,
.cts-campaign-card:hover,
.yy-card:hover { transform: translateY(-2px); box-shadow: var(--muhtar-shadow-md); }

.cts-business-card__top { display: flex; align-items: flex-start; gap: 12px; }
.cts-business-card__top > div { min-width: 0; flex: 1; }
.cts-business-card h3, .cts-featured-card h3, .cts-campaign-card h3, .cts-info-card h3, .cts-listing-card h3 { margin: 0; font-size: 18px; font-weight: 700; }
.cts-business-card__top p { margin: 5px 0 0; color: #6f6877; font-size: 13px; }
.cts-business-card__top p .fa { margin-right: 4px; color: var(--muhtar-purple); }

.cts-business-logo,
.yy-logo-fallback {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    object-fit: contain;
    overflow: hidden;
    color: var(--muhtar-purple);
    background: #faf5fa;
    border: 1px solid rgba(104, 6, 103, 0.14);
    border-radius: 10px;
}

.cts-business-logo--fallback { font-size: 20px; }

.cts-rating,
.yy-score-badge { color: #8b6314; font-size: 13px; font-weight: 700; white-space: nowrap; }
.cts-rating .fa { margin-right: 3px; color: #d69a16; }
.cts-campaign-label,
.yy-kampanya-badge { display: inline-flex; gap: 6px; margin-top: 12px; padding: 5px 8px; color: #ffffff; background: #8c287d; border-radius: 999px; font-size: 12px; font-weight: 700; }
.cts-business-card__description,
.yy-desc { margin: 12px 0; color: #625a66; font-size: 14px; line-height: 1.5; }
.cts-business-card__meta,
.yy-meta { display: flex; gap: 14px; margin-bottom: 12px; color: #807681; font-size: 12px; }
.cts-card-link { margin-top: 14px; }

.cts-service-badge,
.yy-rozet {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}
.cts-service-badge.primary, .yy-rozet.primary { color: #ffffff; background: #680667; }
.cts-service-badge.info, .yy-rozet.info { color: #185b82; background: #e9f5fb; }
.cts-service-badge.success, .yy-rozet.success { color: #17653f; background: #eaf7ef; }
.cts-service-badge.warning, .yy-rozet.warning { color: #78540a; background: #fff5dc; }
.cts-service-badge.danger, .yy-rozet.danger { color: #8c2330; background: #fff0f1; }
.cts-service-badge.dark, .yy-rozet.dark { color: #ffffff; background: #4b414e; }
.cts-service-badge.default, .yy-rozet.default { color: #625a66; background: #f2edf2; }

.cts-featured-card__tag { display: inline-block; margin-bottom: 10px; color: #680667; font-size: 12px; font-weight: 700; }
.cts-featured-card strong { display: block; margin-top: 10px; color: var(--muhtar-purple); font-size: 30px; }
.cts-featured-card p { margin: 8px 0 0; color: #6f6877; }
.cts-featured-card p .fa { color: #d69a16; }
.cts-campaign-card > span { color: #8c287d; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.cts-campaign-card p, .cts-info-card p { color: #6f6877; line-height: 1.5; }
.cts-info-card > .fa { color: var(--muhtar-purple); font-size: 25px; }
.cts-info-card ul { margin: 12px 0 0; padding-left: 18px; color: #625a66; }
.cts-info-card li + li { margin-top: 5px; }

.cts-listing-card h3 { margin-bottom: 10px; }
.cts-listing-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 0; color: #403a43; border-top: 1px solid #eee7ee; text-decoration: none; }
.cts-listing-row:hover { color: var(--muhtar-purple); }
.cts-listing-row span { min-width: 0; }
.cts-listing-row small { display: block; margin-top: 3px; color: #807681; }
.cts-listing-row strong,
.sale-price { color: var(--muhtar-purple); white-space: nowrap; }
.sale-title { color: #403a43; font-weight: 700; }
.cts-more-link { display: inline-block; margin-top: 10px; }

.x_title { margin-bottom: 14px; padding: 0 0 9px; border-bottom: 1px solid rgba(104, 6, 103, 0.14); }
.x_title h1, .x_title h2, .x_title h3, .x_title h4 { margin: 0; color: var(--muhtar-purple); }
.x_content { position: relative; width: 100%; }
.x_panel::after, .x_content::after, .clearfix::after { display: table; clear: both; content: ""; }

.portal-stat-title { margin: 0; color: var(--muhtar-purple); font-weight: 700; }
.portal-help-text, .text-muted { color: #6f6877; }
.well { min-height: 20px; padding: 19px; margin-bottom: 20px; background: #fbf8fb; border: 1px solid rgba(104, 6, 103, 0.14); border-radius: 9px; }
.label, .badge { display: inline-block; padding: 3px 7px; color: #ffffff; background: var(--muhtar-purple); border-radius: 999px; font-size: 12px; font-weight: 700; }
.list-inline { padding-left: 0; margin-left: -5px; list-style: none; }
.list-inline > li { display: inline-block; padding-right: 5px; padding-left: 5px; }
.text-right { text-align: right; }

.table-responsive { width: 100%; min-height: .01%; overflow-x: auto; }
.table { width: 100%; max-width: 100%; margin-bottom: 20px; border-spacing: 0; border-collapse: collapse; }
.table > thead > tr > th { color: #5b4c5c; text-align: left; border-bottom: 2px solid rgba(104, 6, 103, 0.18); }
.table > tbody > tr > td, .table > tbody > tr > th, .table > thead > tr > th { padding: 10px; vertical-align: top; border-top: 1px solid #eee7ee; }
.table-striped > tbody > tr:nth-of-type(odd) { background: #fcf9fc; }
.table-hover > tbody > tr:hover { background: #f7eef7; }

.dropdown { position: relative; }
.dropdown-toggle { white-space: nowrap; }
.dropdown-menu { position: absolute; z-index: 1000; display: none; min-width: 160px; margin: 2px 0 0; list-style: none; background-color: #ffffff; background-clip: padding-box; }
.dropdown.open > .dropdown-menu { display: block; }
.dropdown-menu-right { right: 0; left: auto; }
.cts-site-header { position: relative; z-index: 20; }

@media (max-width: 991px) {
    .cts-business-grid, .cts-featured-grid, .cts-campaign-grid, .cts-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cts-search-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cts-search-submit { width: 100%; }
}

@media (max-width: 767px) {
    .cts-discovery-page .cts-page-width, .right_col { padding-right: 12px; padding-left: 12px; }
    .right_col { padding-top: 16px; padding-bottom: 24px; }
    .cts-search-section { padding: 24px 0; }
    .cts-search-card, .cts-business-grid, .cts-featured-grid, .cts-campaign-grid, .cts-info-grid, .cts-listing-grid { grid-template-columns: 1fr; }
    .cts-section-heading, .cts-section__header { align-items: flex-start; flex-direction: column; gap: 4px; }
    .cts-listing-row { align-items: flex-start; flex-direction: column; gap: 5px; }
}

/* =========================================================
   CTS LOGIN PAGE
   ========================================================= */

/* Login page layout */
body.cts-login-page {
    display: flex;
    flex-direction: column;
    min-width: 320px;
    min-height: 100vh;
    background: #ffffff;
}

.cts-login-header-inner,
.cts-page-container {
    width: 100%;
    max-width: 1120px;
    margin-right: auto;
    margin-left: auto;
}

.page-header .cts-login-home-link {
    color: var(--muhtar-purple);
    background: #ffffff;
    border-color: #ffffff;
}

.page-header .cts-login-home-link:hover,
.page-header .cts-login-home-link:focus {
    color: var(--muhtar-purple);
    background: #f7eef7;
    border-color: #ffffff;
}

.cts-login-main {
    flex: 1 0 auto;
    padding: 34px 24px;
    background: #ffffff;
}

/* Login card */
.cts-login-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(104, 6, 103, 0.14);
    border-radius: var(--muhtar-radius-lg);
    box-shadow: var(--muhtar-shadow-md);
}

.login-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.27fr) minmax(320px, 1fr);
}

/* Login story */
.login-story,
.login-panel {
    padding: 36px 38px;
}

.login-story {
    background: linear-gradient(145deg, #fbf5fb 0%, #ffffff 75%);
}

.brand-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 16px;
    padding: 7px 10px;
    color: var(--muhtar-purple);
    background: rgba(104, 6, 103, 0.08);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.login-title-top,
.welcome-title,
.panel-title {
    color: var(--muhtar-purple);
    font-weight: 700;
}

.login-title-top {
    margin: 0;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.15;
}

.login-title-sub {
    margin: 7px 0 26px;
    color: #6f6877;
    font-size: 14px;
    font-weight: 600;
}

.welcome-title { margin: 0 0 12px; font-size: 25px; }
.welcome-copy { max-width: 620px; margin: 0 0 12px; color: #5d5561; font-size: 15px; line-height: 1.65; }
.welcome-copy strong { color: #403a43; }

/* Feature list */
.cts-feature-list {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.cts-feature-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #4f4753;
    font-size: 14px;
    line-height: 1.55;
}

.cts-feature-list .fa { margin-top: 3px; color: var(--muhtar-purple); }
.story-foot { margin: 22px 0 0; color: var(--muhtar-purple); font-size: 15px; font-weight: 700; }

/* Login action panel */
.login-panel {
    border-left: 1px solid rgba(104, 6, 103, 0.14);
}

.panel-title { margin: 0 0 9px; font-size: 25px; }
.panel-copy { margin: 0 0 10px; color: #625a66; font-size: 14px; line-height: 1.6; }
.panel-copy--secondary { margin-bottom: 20px; color: #7b717f; }

/* Approval box */
.portal-approval-box {
    margin-bottom: 18px;
    padding: 15px;
    background: #fbf5fb;
    border: 1px solid rgba(104, 6, 103, 0.18);
    border-radius: 14px;
}

.portal-approval-box label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0;
    color: #403a43;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
    cursor: pointer;
}

.portal-approval-box input[type="checkbox"] { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 3px; accent-color: var(--muhtar-purple); }
.portal-approval-box a { color: var(--muhtar-purple); text-decoration: underline; }
.portal-approval-box a:focus { outline: 2px solid var(--muhtar-purple); outline-offset: 2px; }
.portal-approval-note { margin: 9px 0 0 26px; color: #6f6877; font-size: 12px; line-height: 1.5; }

/* Google button shell */
.cta-box { padding: 16px; background: #ffffff; border: 1px solid rgba(104, 6, 103, 0.16); border-radius: var(--muhtar-radius-md); }
.cta-box h3 { margin: 0 0 5px; color: var(--muhtar-purple); font-size: 17px; font-weight: 700; }
.cta-box > p { margin: 0 0 14px; color: #6f6877; font-size: 13px; line-height: 1.55; }
.google-button-shell { position: relative; min-height: 54px; overflow: hidden; background: #ffffff; border: 1px solid #d8cfd8; border-radius: 14px; box-shadow: var(--muhtar-shadow-sm); }
.google-button-host { display: flex; justify-content: center; min-width: 0; padding: 7px; }
.google-button-host > div { max-width: 100%; }
.google-button-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 10px 14px; color: #625a66; background: rgba(251, 245, 251, 0.96); font-size: 13px; font-weight: 600; line-height: 1.35; text-align: center; cursor: not-allowed; transition: opacity var(--muhtar-transition); }
.google-button-overlay.is-hidden { pointer-events: none; opacity: 0; }
.google-button-overlay:focus { outline: 2px solid var(--muhtar-purple); outline-offset: -3px; }

/* Messages */
.portal-message { display: none; margin: 0 0 18px; padding: 12px 14px; border: 1px solid transparent; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.portal-message.is-visible { display: block; }
.portal-message.is-error { color: #8c2330; background: #fff1f2; border-color: #f0bac0; }
.portal-message.is-info { color: var(--muhtar-purple); background: #fbf5fb; border-color: rgba(104, 6, 103, 0.2); }

/* Login security note and footer */
.login-footer { margin: 18px 0 0; padding-top: 16px; color: #6f6877; border-top: 1px solid rgba(104, 6, 103, 0.14); font-size: 12px; line-height: 1.55; }
.login-footer strong { color: #4f4753; }
.cts-login-page-footer { flex: 0 0 auto; margin-top: 0; border-radius: 0; font-size: 13px; text-align: center; }

/* Login responsive rules */
@media (max-width: 900px) {
    .login-grid { grid-template-columns: 1fr; }
    .login-panel { border-top: 1px solid rgba(104, 6, 103, 0.14); border-left: 0; }
}

@media (max-width: 767px) {
    .cts-login-main { padding: 20px 12px; }
    .cts-login-header-inner { padding-right: 0; padding-left: 0; }
    .login-story, .login-panel { padding: 22px 18px; }
    .cts-login-card { border-radius: var(--muhtar-radius-md); }
    .cts-login-page-footer { padding: 16px 12px; }
}

@media (max-width: 420px) {
    .cts-main-header__slogan { font-size: 17px; }
    .cts-login-home-link { padding: 8px 10px; font-size: 12px; }
    .login-title-top { font-size: 25px; }
    .welcome-title, .panel-title { font-size: 22px; }
    .portal-approval-note { margin-left: 0; }
}

/* =========================================================
   CTS HOME COMPONENTS
   ========================================================= */

.cts-home-section { margin-top: 30px; }
.cts-card { padding: 20px; color: #403a43; background: #ffffff; border: 1px solid rgba(104, 6, 103, 0.14); border-radius: var(--muhtar-radius-md); box-shadow: var(--muhtar-shadow-sm); }
.cts-home-hero { padding: 28px; background: linear-gradient(135deg, #fbf5fb 0%, #ffffff 78%); }
.cts-home-hero .cts-chip { display: inline-flex; gap: 7px; margin: 0 0 14px; padding: 7px 10px; color: var(--muhtar-purple); background: rgba(104, 6, 103, 0.08); border-radius: 999px; font-size: 12px; font-weight: 700; }
.cts-home-hero .cts-title { margin: 0; font-size: clamp(26px, 4vw, 34px); }
.cts-title { margin: 0; color: var(--muhtar-purple); font-size: 20px; font-weight: 700; line-height: 1.25; }
.cts-subtitle { margin: 7px 0 0; color: #6f6877; font-size: 14px; line-height: 1.55; }
.cts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cts-home-summary { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.cts-grid.cts-home-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 0; }
.cts-stat-card { min-height: 128px; }
.cts-stat-card .cts-title { display: block; margin-top: 10px; font-size: 25px; }
.cts-home-card, .cts-info-card { display: flex; flex-direction: column; align-items: flex-start; }
.cts-action-button { margin-top: 16px; }
.cts-home-summary .cts-action-button { flex: 0 0 auto; margin-top: 0; }
.cts-profile-card { max-width: 100%; }
.cts-profile-card .cts-feature-list { margin-top: 18px; }
.cts-message-box { margin: 18px 0 0; padding: 16px; color: #4f4753; background: #fbf8fb; border: 1px solid rgba(104, 6, 103, 0.16); border-radius: var(--muhtar-radius-sm); }
.cts-message-box summary { color: var(--muhtar-purple); font-weight: 700; cursor: pointer; }
.cts-message-box .cts-feature-list { margin: 16px 0 0; }
.cts-message-box label { display: grid; gap: 6px; color: #4f4753; font-size: 14px; font-weight: 600; }
.cts-message-box .form-control { margin: 0; }

@media (max-width: 991px) {
    .cts-grid.cts-home-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .cts-home-section { margin-top: 22px; }
    .cts-card, .cts-home-hero { padding: 18px; }
    .cts-grid, .cts-grid.cts-home-summary { grid-template-columns: 1fr; }
    .cts-home-summary { align-items: flex-start; flex-direction: column; gap: 10px; }
    .cts-home-summary .cts-action-button { width: 100%; }
}

/* Buttons */
.btn-primary,
button.btn-primary,
a.btn-primary {
    color: var(--muhtar-white);
    background-color: var(--muhtar-purple);
    border-color: var(--muhtar-purple);
    border-radius: var(--muhtar-radius-sm);
    font-family: Arial, Helvetica, sans-serif;
    transition:
        background-color var(--muhtar-transition),
        border-color var(--muhtar-transition),
        transform var(--muhtar-transition),
        box-shadow var(--muhtar-transition);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    color: var(--muhtar-white);
    background-color: #520550;
    border-color: #520550;
    box-shadow: 0 6px 16px rgba(104, 6, 103, 0.24);
    transform: translateY(-1px);
}

.btn-default,
button.btn-default,
a.btn-default {
    color: var(--muhtar-purple);
    background-color: var(--muhtar-white);
    border: 1px solid var(--muhtar-purple);
    border-radius: var(--muhtar-radius-sm);
    font-family: Arial, Helvetica, sans-serif;
    transition:
        color var(--muhtar-transition),
        background-color var(--muhtar-transition),
        transform var(--muhtar-transition),
        box-shadow var(--muhtar-transition);
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active {
    color: var(--muhtar-white);
    background-color: var(--muhtar-purple);
    border-color: var(--muhtar-purple);
    box-shadow: 0 6px 16px rgba(104, 6, 103, 0.18);
    transform: translateY(-1px);
}

/* Generic Gentelella panel rounding */
.x_panel,
.panel,
.tile,
.widget,
.dashboard_graph,
.quick-list,
.profile_details,
.well {
    border-radius: var(--muhtar-radius-md);
}

/* Optional helper classes */
.text-purple {
    color: var(--muhtar-purple) !important;
}

.bg-purple-gradient {
    color: var(--muhtar-white) !important;
    background: linear-gradient(
        135deg,
        var(--muhtar-purple) 0%,
        var(--muhtar-purple-soft) 100%
    ) !important;
}

.icon-purple-soft {
    color: var(--muhtar-icon) !important;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 18px;
    }

    .page-footer {
        padding: 18px 16px;
        border-radius: var(--muhtar-radius-md) var(--muhtar-radius-md) 0 0;
    }

    .panel-full,
    .muhtar-panel,
    .x_panel,
    .panel {
        border-radius: var(--muhtar-radius-md);
    }
}

/* =========================================================
   CTS LANDING PAGE SHOWCASE / NESTED PANELS / GRID PANELS
   Added for index.php showcase sections
   ========================================================= */

/* Shared page shell */
.cts-showcase {
    width: 100%;
    margin-top: 26px;
}

.cts-showcase + .cts-showcase {
    margin-top: 22px;
}

/* Main section panel */
.cts-showcase-panel {
    position: relative;
    width: 100%;
    padding: 18px;
    background: #ffffff;
    border: 1px solid rgba(104, 6, 103, 0.14);
    border-radius: var(--muhtar-radius-md);
    box-shadow: var(--muhtar-shadow-sm);
    overflow: hidden;
}

/* Soft nested panel */
.cts-showcase-panel__inner {
    width: 100%;
    padding: 14px;
    background: #fbf8fb;
    border: 1px solid rgba(104, 6, 103, 0.12);
    border-radius: 13px;
}

/* Section title bar */
.cts-showcase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.cts-showcase-title {
    margin: 0;
    color: var(--muhtar-purple);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
}

.cts-showcase-link {
    flex: 0 0 auto;
    color: var(--muhtar-purple);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.cts-showcase-link:hover,
.cts-showcase-link:focus {
    color: #520550;
    text-decoration: underline;
}

/* Optional colored section variants */
.cts-showcase-panel--gradient {
    color: #ffffff;
    background: linear-gradient(
        135deg,
        var(--muhtar-purple) 0%,
        #8e438d 100%
    );
    border: 0;
}

.cts-showcase-panel--gradient .cts-showcase-title,
.cts-showcase-panel--gradient .cts-showcase-link {
    color: #ffffff;
}

.cts-showcase-panel--soft-purple {
    background: linear-gradient(135deg, #fbf5fb 0%, #f5eaf5 100%);
}

.cts-showcase-panel--market {
    background: linear-gradient(135deg, #fff7fb 0%, #f4e5f2 100%);
    border-color: rgba(147, 4, 118, 0.18);
}

/* Generic responsive grids */
.cts-panel-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.cts-panel-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cts-panel-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cts-panel-grid--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cts-panel-grid--6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

/* Horizontal rail: useful for campaigns, vehicles and market listings */
.cts-panel-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(210px, 1fr);
    gap: 14px;
    padding-bottom: 6px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(104, 6, 103, 0.40) transparent;
}

.cts-panel-rail::-webkit-scrollbar {
    height: 8px;
}

.cts-panel-rail::-webkit-scrollbar-track {
    background: transparent;
}

.cts-panel-rail::-webkit-scrollbar-thumb {
    background: rgba(104, 6, 103, 0.32);
    border-radius: 999px;
}

/* Shared card foundation */
.cts-showcase-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    padding: 15px;
    color: #403a43;
    background: #ffffff;
    border: 1px solid rgba(104, 6, 103, 0.14);
    border-radius: 13px;
    box-shadow: 0 3px 12px rgba(104, 6, 103, 0.08);
    overflow: hidden;
    transition:
        transform var(--muhtar-transition),
        box-shadow var(--muhtar-transition),
        border-color var(--muhtar-transition);
}

.cts-showcase-card:hover {
    transform: translateY(-3px);
    border-color: rgba(104, 6, 103, 0.28);
    box-shadow: var(--muhtar-shadow-md);
}

.cts-showcase-card__media {
    position: relative;
    width: 100%;
    margin: -15px -15px 13px;
    padding-top: 62%;
    background: linear-gradient(135deg, #f4e9f4 0%, #e4d2e2 100%);
    overflow: hidden;
}

.cts-showcase-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cts-showcase-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    margin-bottom: 8px;
    color: #8c287d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.cts-showcase-card__title {
    margin: 0;
    color: var(--muhtar-purple);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

.cts-showcase-card__text {
    margin: 8px 0 0;
    color: #6f6877;
    font-size: 13px;
    line-height: 1.5;
}

.cts-showcase-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 12px;
    color: #807681;
    font-size: 12px;
}

.cts-showcase-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cts-showcase-card__meta .fa {
    color: var(--muhtar-purple);
}

.cts-showcase-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
}

.cts-showcase-card__price {
    color: var(--muhtar-purple);
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
}

.cts-showcase-card__action {
    color: var(--muhtar-purple);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.cts-showcase-card__action:hover,
.cts-showcase-card__action:focus {
    color: #520550;
    text-decoration: underline;
}

/* Campaign cards */
.cts-campaign-showcase {
    color: #ffffff;
    background: linear-gradient(
        135deg,
        #680667 0%,
        #934b92 100%
    );
    border: 0;
}

.cts-campaign-showcase .cts-showcase-title,
.cts-campaign-showcase .cts-showcase-link {
    color: #ffffff;
}

.cts-campaign-showcase .cts-showcase-panel__inner {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.22);
}

.cts-campaign-card--large {
    min-height: 260px;
    padding: 0;
}

.cts-campaign-card--large .cts-showcase-card__media {
    margin: 0;
    padding-top: 66%;
}

.cts-campaign-card--large .cts-showcase-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 15px;
}

/* Compact business / showcase cards */
.cts-showcase-card--compact {
    min-height: 150px;
}

.cts-showcase-card--compact .cts-showcase-card__title {
    font-size: 14px;
}

.cts-showcase-card--compact .cts-showcase-card__price {
    font-size: 18px;
}

/* Vehicle listing cards */
.cts-showcase-card--vehicle .cts-showcase-card__media {
    padding-top: 58%;
}

.cts-vehicle-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.cts-vehicle-spec {
    padding: 8px;
    color: #625a66;
    background: #fbf8fb;
    border: 1px solid rgba(104, 6, 103, 0.10);
    border-radius: 9px;
    font-size: 11px;
    text-align: center;
}

.cts-vehicle-spec strong {
    display: block;
    margin-top: 2px;
    color: #403a43;
    font-size: 12px;
}

/* Marketplace cards */
.cts-showcase-card--market .cts-showcase-card__media {
    padding-top: 72%;
}

.cts-market-condition {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: 10px;
    padding: 5px 8px;
    color: #5f245f;
    background: #faf0f8;
    border: 1px solid rgba(104, 6, 103, 0.12);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

/* Information cards */
.cts-info-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.cts-info-showcase-card {
    min-height: 210px;
}

.cts-info-showcase-card > .fa,
.cts-info-showcase-card__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    color: var(--muhtar-purple);
    background: #faf0f8;
    border-radius: 11px;
    font-size: 20px;
}

.cts-info-showcase-card ul {
    margin: 12px 0 0;
    padding-left: 18px;
    color: #625a66;
    font-size: 13px;
    line-height: 1.55;
}

.cts-info-showcase-card li + li {
    margin-top: 5px;
}

/* Empty / loading placeholders for new panels */
.cts-showcase-placeholder {
    display: grid;
    place-items: center;
    min-height: 150px;
    padding: 24px;
    color: #756b78;
    background: rgba(255, 255, 255, 0.66);
    border: 1px dashed rgba(104, 6, 103, 0.24);
    border-radius: 12px;
    text-align: center;
}

.cts-showcase-placeholder .fa {
    display: block;
    margin-bottom: 8px;
    color: var(--muhtar-purple);
    font-size: 26px;
}

/* Utility helpers */
.cts-mt-0 { margin-top: 0 !important; }
.cts-mt-1 { margin-top: 8px !important; }
.cts-mt-2 { margin-top: 16px !important; }
.cts-mt-3 { margin-top: 24px !important; }

.cts-span-2 { grid-column: span 2; }
.cts-span-3 { grid-column: span 3; }
.cts-span-full { grid-column: 1 / -1; }

/* Landing page spacing refinement */
.cts-discovery-page .right_col,
.cts-discovery-page .cts-page-width {
    box-sizing: border-box;
}

.cts-discovery-page .cts-section + .cts-showcase,
.cts-discovery-page .cts-showcase + .cts-section {
    margin-top: 26px;
}

/* Responsive */
@media (max-width: 1199px) {
    .cts-panel-grid--5,
    .cts-panel-grid--6 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .cts-info-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .cts-panel-grid,
    .cts-panel-grid--3,
    .cts-panel-grid--4,
    .cts-panel-grid--5,
    .cts-panel-grid--6 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cts-panel-rail {
        grid-auto-columns: minmax(240px, 46vw);
    }

    .cts-span-3 {
        grid-column: span 2;
    }
}

@media (max-width: 767px) {
    .cts-showcase {
        margin-top: 20px;
    }

    .cts-showcase-panel {
        padding: 13px;
        border-radius: 14px;
    }

    .cts-showcase-panel__inner {
        padding: 11px;
    }

    .cts-showcase-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .cts-showcase-title {
        font-size: 19px;
    }

    .cts-panel-grid,
    .cts-panel-grid--2,
    .cts-panel-grid--3,
    .cts-panel-grid--4,
    .cts-panel-grid--5,
    .cts-panel-grid--6,
    .cts-info-showcase-grid {
        grid-template-columns: 1fr;
    }

    .cts-panel-rail {
        grid-auto-columns: minmax(235px, 84vw);
    }

    .cts-span-2,
    .cts-span-3,
    .cts-span-full {
        grid-column: auto;
    }

    .cts-showcase-card__footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .cts-vehicle-specs {
        grid-template-columns: repeat(3, minmax(72px, 1fr));
    }
}

@media (max-width: 420px) {
    .cts-showcase-panel {
        padding: 11px;
    }

    .cts-panel-rail {
        grid-auto-columns: minmax(220px, 88vw);
    }

    .cts-vehicle-specs {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   SERVOX UI FRAMEWORK
   ===================================================== */

/* --- SECTION --- */
.servox-section {
    margin-bottom: 24px;
}

.servox-section__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.servox-section__heading {
    flex: 1;
    min-width: 0;
}

.servox-section__title {
    margin: 0;
    color: #680667;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}

.servox-section__subtitle {
    margin: 4px 0 0;
    color: #7a6f7d;
    font-size: 13px;
    line-height: 1.5;
}

.servox-section__action {
    flex: 0 0 auto;
}

/* --- PANEL --- */
.servox-panel {
    position: relative;
    width: 100%;
    padding: 18px;
    background: #ffffff;
    border: 1px solid rgba(104, 6, 103, 0.12);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(104, 6, 103, 0.06);
}

.servox-panel--white { background: #ffffff; }
.servox-panel--soft { background: #fbf8fb; }
.servox-panel--purple { background: linear-gradient(135deg, #680667 0%, #8e438d 100%); color: #ffffff; }
.servox-panel--market { background: linear-gradient(135deg, #fff7fb 0%, #f4e5f2 100%); border-color: rgba(147, 4, 118, 0.16); }
.servox-panel--flat { box-shadow: none; border-color: rgba(104, 6, 103, 0.08); }
.servox-panel--compact { padding: 12px; }
.servox-panel--spacious { padding: 28px 24px; }

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

.servox-panel__heading { flex: 1; min-width: 0; }
.servox-panel__title { margin: 0; color: #680667; font-size: 17px; font-weight: 700; line-height: 1.3; }
.servox-panel__subtitle { margin: 3px 0 0; color: #7a6f7d; font-size: 12px; }
.servox-panel__action { flex: 0 0 auto; }
.servox-panel__body { margin-bottom: 14px; }
.servox-panel__footer { margin-top: 14px; }

/* --- GRID PANEL --- */
.servox-grid-panel {
    padding: 14px;
    background: #fbf8fb;
    border: 1px solid rgba(104, 6, 103, 0.10);
    border-radius: 13px;
}

.servox-grid-panel--white { background: #ffffff; border-color: rgba(104, 6, 103, 0.08); }
.servox-grid-panel--soft { background: #fbf8fb; }
.servox-grid-panel--purple { background: rgba(255, 255, 255, 0.10); border-color: rgba(255, 255, 255, 0.22); }
.servox-grid-panel--glass { background: rgba(255, 255, 255, 0.66); backdrop-filter: blur(8px); }
.servox-grid-panel--market { background: rgba(255, 247, 251, 0.7); border-color: rgba(147, 4, 118, 0.12); }
.servox-grid-panel--flat { background: transparent; border: none; box-shadow: none; }

.servox-grid-panel__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.servox-grid-panel__heading { flex: 1; }
.servox-grid-panel__title { margin: 0; font-size: 15px; font-weight: 700; color: #680667; }
.servox-grid-panel__subtitle { margin: 2px 0 0; font-size: 12px; color: #7a6f7d; }
.servox-grid-panel__action { flex: 0 0 auto; }
.servox-grid-panel__body { margin-bottom: 12px; }
.servox-grid-panel__footer { margin-top: 12px; }

/* --- GRID --- */
.servox-grid-1 { display: grid; grid-template-columns: 1fr; gap: 14px; }
.servox-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.servox-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.servox-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.servox-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.servox-grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.servox-grid--dense { grid-auto-flow: dense; }
.servox-grid--wide { gap: 18px; }
.servox-grid--center { justify-items: center; }
.servox-grid--start { justify-items: start; }
.servox-grid--auto-fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.servox-grid--auto-fill { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.servox-grid-span-2 { grid-column: span 2; }
.servox-grid-span-3 { grid-column: span 3; }
.servox-grid-span-full { grid-column: 1 / -1; }

/* --- RAIL (yatay kaydırılabilir grid) --- */
.servox-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 1fr);
    gap: 14px;
    padding-bottom: 6px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(104, 6, 103, 0.35) transparent;
}

.servox-rail::-webkit-scrollbar { height: 7px; }
.servox-rail::-webkit-scrollbar-track { background: transparent; }
.servox-rail::-webkit-scrollbar-thumb { background: rgba(104, 6, 103, 0.30); border-radius: 999px; }
.servox-rail--compact { grid-auto-columns: minmax(200px, 1fr); }
.servox-rail--wide { grid-auto-columns: minmax(280px, 1fr); }

/* --- CARD --- */
.servox-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    padding: 16px;
    color: #403a43;
    background: #ffffff;
    border: 1px solid rgba(104, 6, 103, 0.12);
    border-radius: 13px;
    box-shadow: 0 2px 8px rgba(104, 6, 103, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.servox-card:hover {
    transform: translateY(-2px);
    border-color: rgba(104, 6, 103, 0.24);
    box-shadow: 0 6px 18px rgba(104, 6, 103, 0.12);
}

.servox-card--compact { min-height: 120px; padding: 13px; }
.servox-card--flat { box-shadow: none; border-color: rgba(104, 6, 103, 0.08); }
.servox-card--soft { background: #fbf8fb; }
.servox-card--accent { background: linear-gradient(135deg, #f9f2f9 0%, #f0e4ef 100%); border-color: rgba(104, 6, 103, 0.16); }
.servox-card--horizontal { flex-direction: row; align-items: center; gap: 14px; }

.servox-card__media {
    position: relative;
    width: 100%;
    margin: -16px -16px 12px;
    padding-top: 60%;
    background: linear-gradient(135deg, #f4e9f4 0%, #e4d2e2 100%);
    border-radius: 13px 13px 0 0;
    overflow: hidden;
}

.servox-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.servox-card__body { flex: 1; display: flex; flex-direction: column; }

.servox-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: flex-start;
    margin-bottom: 7px;
    color: #8c287d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.servox-card__title {
    margin: 0;
    color: #680667;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

.servox-card__subtitle {
    margin: 3px 0 0;
    color: #7a6f7d;
    font-size: 13px;
    line-height: 1.4;
}

.servox-card__text {
    margin: 7px 0 0;
    color: #6f6877;
    font-size: 13px;
    line-height: 1.5;
}

.servox-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-top: 10px;
    color: #807681;
    font-size: 12px;
}

.servox-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.servox-card__meta .fa { color: #680667; }

.servox-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
}

.servox-card__price {
    color: #680667;
    font-size: 19px;
    font-weight: 700;
    white-space: nowrap;
}

.servox-card__value {
    color: #680667;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.servox-card__action {
    color: #680667;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.servox-card__action:hover,
.servox-card__action:focus {
    color: #520550;
    text-decoration: underline;
}

/* --- CONTENT --- */
.servox-content-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.servox-content-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(104, 6, 103, 0.08);
    color: #504a52;
    font-size: 13px;
    line-height: 1.5;
}

.servox-content-list li:last-child { border-bottom: none; }

.servox-content-list .fa {
    flex: 0 0 auto;
    margin-top: 3px;
    color: #680667;
}

.servox-placeholder {
    display: grid;
    place-items: center;
    min-height: 140px;
    padding: 24px;
    color: #756b78;
    background: rgba(255, 255, 255, 0.55);
    border: 1px dashed rgba(104, 6, 103, 0.22);
    border-radius: 12px;
    text-align: center;
}

.servox-placeholder .fa {
    display: block;
    margin-bottom: 8px;
    color: #680667;
    font-size: 24px;
}

/* --- RESPONSIVE: SERVOX UI FRAMEWORK --- */
@media (max-width: 991px) {
    .servox-grid-4,
    .servox-grid-5,
    .servox-grid-6 { grid-template-columns: repeat(2, 1fr); }
    .servox-grid-span-2,
    .servox-grid-span-3 { grid-column: span 1; }
    .servox-rail { grid-auto-columns: minmax(220px, 46vw); }
}

@media (max-width: 767px) {
    .servox-section__header { flex-direction: column; gap: 6px; }
    .servox-panel { padding: 14px; }
    .servox-panel--spacious { padding: 20px 16px; }
    .servox-grid-2,
    .servox-grid-3,
    .servox-grid-4,
    .servox-grid-5,
    .servox-grid-6 { grid-template-columns: 1fr; }
    .servox-grid-span-2,
    .servox-grid-span-3,
    .servox-grid-span-full { grid-column: 1; }
    .servox-rail { grid-auto-columns: minmax(210px, 84vw); }
    .servox-card__footer { flex-direction: column; align-items: stretch; gap: 8px; }
    .servox-card__footer .btn { width: 100%; text-align: center; }
    .servox-card__value { font-size: 20px; }
    .servox-section__title { font-size: 18px; }
}

@media (max-width: 420px) {
    .servox-rail { grid-auto-columns: minmax(200px, 88vw); }
    .servox-card--compact { padding: 11px; }
}

/* Araç Seçim Kartı */
.arac-secim-karti {
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
    border: 1px solid rgba(104, 6, 103, .12);
}
.arac-secim-karti:hover {
    border-color: rgba(104, 6, 103, .32);
    box-shadow: 0 4px 16px rgba(104, 6, 103, .10);
    background: rgba(104, 6, 103, .02);
}
.arac-secim-karti:focus { outline: none; }
.arac-secim-karti:focus-visible { box-shadow: 0 0 0 2px rgba(104, 6, 103, .35); }
.arac-secim-karti.is-selected {
    border-color: #680667;
    background: rgba(104, 6, 103, .04);
    box-shadow: 0 4px 18px rgba(104, 6, 103, .14);
}
.arac-secim-karti.is-selected .servox-card__eyebrow {
    color: #680667;
    font-weight: 700;
}

/* --- POLIÇE SEÇİM KARTI --- */
.police-secim-karti {
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
    border: 1px solid rgba(104, 6, 103, .12);
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}
.police-secim-karti:hover {
    border-color: rgba(104, 6, 103, .32);
    box-shadow: 0 4px 16px rgba(104, 6, 103, .10);
    background: rgba(104, 6, 103, .02);
    text-decoration: none !important;
    color: inherit !important;
}
.police-secim-karti:focus { outline: none; }
.police-secim-karti:focus-visible { box-shadow: 0 0 0 2px rgba(104, 6, 103, .35); }
.police-secim-karti.is-selected {
    border-color: #680667;
    background: rgba(104, 6, 103, .04);
    box-shadow: 0 4px 18px rgba(104, 6, 103, .14);
}
.police-secim-karti.is-selected .servox-card__eyebrow {
    color: #680667;
    font-weight: 700;
}
.police-secim-karti__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.police-secim-karti__row:last-child {
    margin-bottom: 0;
}
.police-secim-karti__label {
    color: #7f8c8d;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .4px;
    font-weight: 700;
}
.police-secim-karti__value {
    font-weight: 700;
    color: #2A3F54;
    font-size: 13px;
}

/* --- MUAYENE SEÇİM KARTI --- */
.muayene-secim-karti {
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
    border: 1px solid rgba(104, 6, 103, .12);
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}
.muayene-secim-karti:hover {
    border-color: rgba(104, 6, 103, .32);
    box-shadow: 0 4px 16px rgba(104, 6, 103, .10);
    background: rgba(104, 6, 103, .02);
    text-decoration: none !important;
    color: inherit !important;
}
.muayene-secim-karti:focus { outline: none; }
.muayene-secim-karti:focus-visible { box-shadow: 0 0 0 2px rgba(104, 6, 103, .35); }
.muayene-secim-karti.is-selected {
    border-color: #680667;
    background: rgba(104, 6, 103, .04);
    box-shadow: 0 4px 18px rgba(104, 6, 103, .14);
}
.muayene-secim-karti.is-selected .servox-card__eyebrow {
    color: #680667;
    font-weight: 700;
}

/* --- HİZMET SEÇİM KARTI --- */
.hizmet-secim-karti {
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
    border: 1px solid rgba(104, 6, 103, .12);
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}
.hizmet-secim-karti:hover {
    border-color: rgba(104, 6, 103, .32);
    box-shadow: 0 4px 16px rgba(104, 6, 103, .10);
    background: rgba(104, 6, 103, .02);
    text-decoration: none !important;
    color: inherit !important;
}
.hizmet-secim-karti:focus { outline: none; }
.hizmet-secim-karti:focus-visible { box-shadow: 0 0 0 2px rgba(104, 6, 103, .35); }
.hizmet-secim-karti .servox-card__footer .btn { width: auto; }

/* =========================================================
   CTS VEHICLE FORM ROW LAYOUT
   Araç Bilgileri formu için kontrollü, kompakt satır sistemi
   ========================================================= */

.cts-vehicle-form {
    width: 100%;
    max-width: 760px;
}

.cts-vehicle-form__row {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    width: 100%;
    margin-bottom: 14px;
}

.cts-vehicle-form__field {
    min-width: 0;
    margin-bottom: 0;
}

.cts-vehicle-form__field--plate {
    flex: 0 1 270px;
}

.cts-vehicle-form__field--color {
    flex: 0 1 190px;
}

.cts-vehicle-form__field--model {
    flex: 1 1 460px;
    max-width: 560px;
}

.cts-vehicle-form__field--year {
    flex: 0 0 130px;
}

.cts-vehicle-form__field--chassis {
    flex: 0 1 460px;
    max-width: 560px;
}

.cts-vehicle-form__field .form-control {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
}

.cts-vehicle-form__model-picker {
    display: flex;
    align-items: stretch;
    gap: 12px;
    width: 100%;
}

.cts-vehicle-form__model-picker .form-control {
    flex: 1 1 auto;
    min-width: 0;
}

.cts-vehicle-form__model-picker .btn {
    flex: 0 0 120px;
    width: 120px;
    min-width: 120px;
    margin: 0;
    white-space: nowrap;
}

.cts-vehicle-form__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.cts-vehicle-form__actions .btn {
    margin: 0;
}

/* =========================================================
   CTS VEHICLE TWO-COLUMN LAYOUT
   Sol: araç listesi / Sağ: form
   ========================================================= */

.cts-vehicle-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.38fr) minmax(0, 0.62fr);
    gap: 24px;
    align-items: start;
}

.cts-vehicle-layout__list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(104, 6, 103, 0.12);
}

.cts-vehicle-layout__list-header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

.cts-vehicle-layout__list-items {
    display: grid;
    gap: 8px;
}

.cts-vehicle-list-card {
    display: block;
    padding: 12px 14px;
    text-decoration: none !important;
    color: inherit !important;
    border: 1px solid rgba(104, 6, 103, 0.12);
    border-radius: 10px;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.cts-vehicle-list-card:hover {
    border-color: rgba(104, 6, 103, 0.30);
    background: rgba(104, 6, 103, 0.02);
}

.cts-vehicle-list-card.is-selected {
    border-color: #680667;
    background: rgba(104, 6, 103, 0.04);
    box-shadow: 0 2px 10px rgba(104, 6, 103, 0.10);
}

.cts-vehicle-list-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.cts-vehicle-list-card__row + .cts-vehicle-list-card__row {
    margin-top: 4px;
}

.cts-vehicle-list-card__plaka {
    color: #680667;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.cts-vehicle-list-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    color: #17653f;
    background: #eaf7ef;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.cts-vehicle-list-card__model {
    color: #403a43;
    font-size: 13px;
    font-weight: 600;
}

.cts-vehicle-list-card__yil,
.cts-vehicle-list-card__renk {
    color: #7a6f7d;
    font-size: 12px;
}

.cts-vehicle-list-card__renk::before {
    content: "·";
    margin-right: 4px;
}

.cts-vehicle-layout__form-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(104, 6, 103, 0.12);
}

.cts-vehicle-layout__form-header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

.cts-vehicle-layout__form-header .servox-panel__subtitle {
    margin-top: 3px;
}

.cts-vehicle-layout__form .form-group {
    margin-bottom: 14px;
}

.cts-vehicle-layout__form .form-group label {
    display: block;
    margin-bottom: 4px;
    color: #504a52;
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 991px) {
    .cts-vehicle-form {
        max-width: 100%;
    }

    .cts-vehicle-form__field--model,
    .cts-vehicle-form__field--chassis {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .cts-vehicle-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .cts-vehicle-form__row {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .cts-vehicle-form__field--plate,
    .cts-vehicle-form__field--color,
    .cts-vehicle-form__field--model,
    .cts-vehicle-form__field--year,
    .cts-vehicle-form__field--chassis {
        flex: 1 1 auto;
        width: 100%;
        max-width: none;
    }

    .cts-vehicle-form__model-picker {
        flex-direction: column;
    }

    .cts-vehicle-form__model-picker .btn {
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
    }

    .cts-vehicle-form__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cts-vehicle-form__actions .btn,
    .cts-vehicle-form__actions a {
        width: 100%;
    }
}

/* --- POLIÇE / MUAYENE KART LİSTESİ GRID --- */
.kart-liste-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
@media (max-width: 991px) {
    .kart-liste-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .kart-liste-grid { grid-template-columns: 1fr; }
}

/* --- SERVOX INPUT-ACTION (inline input + button) --- */
.servox-input-action {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 12px;
}

.servox-input-action > label {
    grid-column: 1 / -1;
}

.servox-input-action .form-control {
    min-width: 0;
    margin: 0;
}

.servox-input-action .btn {
    min-width: 150px;
    height: 40px;
    margin: 0;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .servox-input-action {
        grid-template-columns: 1fr;
    }

    .servox-input-action .btn {
        width: 100%;
        min-width: 0;
    }
}

/* ============================================================
   TEKLIF TALEP OLUSTUR – Sayfa Ozel Siniflari
   ============================================================ */

.teklif-talep-main-layout {
    display: grid;
    grid-template-columns: minmax(260px, .38fr) minmax(0, .62fr);
    gap: 24px;
    align-items: start;
}

.teklif-arac-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.teklif-arac-card .servox-card__eyebrow {
    font-size: 13px;
    letter-spacing: 0.08em;
    color: #8c287d;
}

.teklif-arac-card .servox-card__title {
    font-size: 22px;
    letter-spacing: 0.02em;
}

.teklif-adim-listesi {
    margin: 0;
    padding: 0;
    list-style: none;
}

.teklif-adim-listesi li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(104, 6, 103, 0.08);
    color: #504a52;
    font-size: 13px;
}

.teklif-adim-listesi li:last-child {
    border-bottom: none;
}

.teklif-adim-listesi .fa {
    color: #680667;
    font-size: 14px;
}

.teklif-talep-form .form-group label {
    display: block;
    margin-bottom: 4px;
    color: #504a52;
    font-size: 13px;
    font-weight: 600;
}

.teklif-talep-form .help-block {
    margin-top: 6px;
    color: #807681;
    font-size: 12px;
}

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

.teklif-cevap-card {
    display: grid;
    grid-template-columns:
        minmax(180px, 1.3fr)
        minmax(140px, .9fr)
        minmax(170px, 1fr)
        minmax(120px, .7fr)
        auto;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
}

.teklif-cevap-card--bekleniyor {
    opacity: 0.72;
}

.teklif-cevap-card__request,
.teklif-cevap-card__business,
.teklif-cevap-card__price,
.teklif-cevap-card__meta,
.teklif-cevap-card__actions {
    min-width: 0;
}

.teklif-cevap-card__request .servox-card__eyebrow {
    margin-bottom: 2px;
}

.teklif-cevap-card__request .servox-card__title {
    font-size: 14px;
    margin-bottom: 2px;
}

.teklif-cevap-card__business .servox-card__eyebrow {
    margin-bottom: 2px;
}

.teklif-cevap-card__business .servox-card__title {
    font-size: 13px;
}

.teklif-cevap-card__business .servox-card__text {
    margin: 2px 0 0;
    font-size: 11px;
    color: #807681;
}

.teklif-cevap-card__price .servox-card__price {
    font-size: 16px;
    white-space: nowrap;
}

.teklif-cevap-card__price .servox-card__meta {
    margin-top: 4px;
}

.teklif-cevap-card__price .servox-card__text {
    margin: 2px 0 0;
    font-size: 11px;
    color: #807681;
}

.teklif-cevap-card__meta .servox-card__text {
    font-size: 12px;
    color: #6f6877;
    line-height: 1.4;
}

.teklif-cevap-card__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

@media (max-width: 991px) {
    .teklif-talep-main-layout {
        grid-template-columns: 1fr;
    }

    .teklif-cevap-card {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .teklif-cevap-card__actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .teklif-cevap-card {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .teklif-cevap-card__actions {
        justify-content: flex-start;
    }

    .teklif-cevap-card .btn {
        flex: 1;
        min-width: 0;
    }
}

/* ============================================================
   ANKET FORMU – Sayfa Ozel Siniflari
   ============================================================ */

.anket-shell {
    max-width: 980px;
    margin: 0 auto;
    padding: 18px 12px 34px;
}

.anket-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.anket-hero-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.anket-hero-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    padding: 7px;
    flex-shrink: 0;
}

.anket-hero-logo-fallback {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 26px;
    flex-shrink: 0;
}

.anket-hero-title {
    font-size: 24px;
    margin: 0 0 5px;
    color: #fff;
    font-weight: 700;
}

.anket-hero-subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

.anket-hero-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.anket-hero-meta-item {
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    padding: 10px;
    min-height: 60px;
}

.anket-hero-meta-item span {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.68);
    text-transform: uppercase;
}

.anket-hero-meta-item strong {
    display: block;
    margin-top: 5px;
    font-size: 15px;
    color: #fff;
    word-break: break-word;
}

.anket-question-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: #680667;
}

.anket-options {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.anket-option {
    position: relative;
    display: block;
    min-height: 74px;
    margin: 0;
    cursor: pointer;
}

.anket-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.anket-option span {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(104, 6, 103, 0.14);
    border-radius: 10px;
    background: #fff;
    color: #504a52;
    font-weight: 700;
    text-align: center;
    padding: 10px 6px;
    transition: all .16s ease;
}

.anket-option i {
    font-size: 22px;
    color: #a5a0a6;
}

.anket-option input:checked + span {
    border-color: #680667;
    background: rgba(104, 6, 103, 0.06);
    color: #680667;
    box-shadow: 0 4px 14px rgba(104, 6, 103, 0.14);
    transform: translateY(-1px);
}

.anket-option input:checked + span i {
    color: #680667;
}

.anket-option:hover span {
    border-color: rgba(104, 6, 103, 0.28);
    background: rgba(104, 6, 103, 0.02);
}

.anket-source-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.anket-form-label {
    display: block;
    margin-bottom: 4px;
    color: #504a52;
    font-size: 13px;
    font-weight: 600;
}

.anket-form-help {
    margin-top: 6px;
    color: #807681;
    font-size: 12px;
}

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

.anket-submit-wrap {
    margin-top: 16px;
}

.anket-submit {
    min-height: 52px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    padding: 12px 24px;
}

.anket-submit:disabled {
    opacity: 0.72;
}

.anket-done {
    text-align: center;
    padding: 34px 18px;
}

.anket-done-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.anket-done-icon {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(104, 6, 103, 0.08);
    color: #680667;
    font-size: 34px;
    margin-bottom: 8px;
}

.anket-done h2 {
    margin: 0;
    color: #680667;
    font-size: 22px;
    font-weight: 700;
}

.anket-done p {
    margin: 0;
    color: #6f6877;
    font-size: 14px;
}

.anket-done-sub {
    margin-top: 4px !important;
    font-size: 13px !important;
    color: #807681 !important;
}

.anket-google-box {
    display: none;
    margin-top: 18px;
    padding: 18px;
    border-radius: 10px;
    background: rgba(255, 248, 225, 0.6);
    border: 1px solid rgba(255, 227, 163, 0.6);
}

.anket-google-box h3 {
    margin: 0 0 8px;
    color: #504a52;
    font-size: 16px;
}

.anket-google-box p {
    margin: 0 0 12px;
    color: #6f6877;
    font-size: 13px;
}

/* CTS user_main campaign and sponsored business showcase: fixed media, compact layout. */
.cts-campaign-compact-rail {
    grid-auto-columns: minmax(420px, calc((100% - 14px) / 2));
}

.cts-campaign-compact-card {
    display: flex;
    align-items: stretch;
    gap: 14px;
    height: 156px;
    padding: 12px;
    color: #403a43;
    background: var(--muhtar-white);
    border: 1px solid var(--muhtar-border);
    border-radius: var(--muhtar-radius-md);
    box-shadow: var(--muhtar-shadow-sm);
    overflow: hidden;
    transition: transform var(--muhtar-transition), box-shadow var(--muhtar-transition), border-color var(--muhtar-transition);
}

.cts-campaign-compact-card:hover {
    border-color: var(--muhtar-purple);
    box-shadow: var(--muhtar-shadow-md);
    transform: translateY(-2px);
}

.cts-campaign-compact-card__media {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 130px;
    overflow: hidden;
    background: #fbf8fb;
    border: 1px solid var(--muhtar-border);
    border-radius: var(--muhtar-radius-sm);
}

.cts-campaign-compact-card__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cts-campaign-compact-card__content {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
}

.cts-campaign-compact-card__title {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--muhtar-purple);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.cts-campaign-compact-card__text {
    display: -webkit-box;
    margin: 5px 0;
    overflow: hidden;
    color: #6f6877;
    font-size: 13px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.cts-campaign-compact-card__meta,
.cts-sponsored-compact-card__meta {
    display: flex;
    gap: 4px 10px;
    min-width: 0;
    color: #6f6877;
    font-size: 11px;
    line-height: 1.25;
}

.cts-campaign-compact-card__meta {
    flex-wrap: wrap;
}

.cts-campaign-compact-card__meta span,
.cts-sponsored-compact-card__meta span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cts-campaign-compact-card__meta .fa,
.cts-sponsored-compact-card__meta .fa {
    color: var(--muhtar-purple);
}

.cts-campaign-compact-card__action,
.cts-sponsored-compact-card__action {
    align-self: flex-start;
    margin-top: auto;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.25;
}

.cts-sponsored-compact-card {
    display: flex;
    min-height: 262px;
    flex-direction: column;
    padding: 12px;
    color: #403a43;
    background: var(--muhtar-white);
    border: 1px solid var(--muhtar-border);
    border-radius: var(--muhtar-radius-md);
    box-shadow: var(--muhtar-shadow-sm);
    overflow: hidden;
    transition: transform var(--muhtar-transition), box-shadow var(--muhtar-transition), border-color var(--muhtar-transition);
}

.cts-sponsored-compact-card:hover {
    border-color: var(--muhtar-purple);
    box-shadow: var(--muhtar-shadow-md);
    transform: translateY(-2px);
}

.cts-sponsored-compact-card__media {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 92px;
    overflow: hidden;
    background: #fbf8fb;
    border: 1px solid var(--muhtar-border);
    border-radius: var(--muhtar-radius-sm);
}

.cts-sponsored-compact-card__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cts-sponsored-compact-card__content {
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
    padding-top: 9px;
}

.cts-sponsored-compact-card__tag {
    display: block;
    overflow: hidden;
    color: var(--muhtar-purple);
    font-size: 11px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cts-sponsored-compact-card__title {
    display: -webkit-box;
    margin: 3px 0 0;
    overflow: hidden;
    color: var(--muhtar-purple);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.cts-sponsored-compact-card__text {
    display: -webkit-box;
    margin: 4px 0;
    overflow: hidden;
    color: #6f6877;
    font-size: 12px;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.cts-sponsored-compact-card__meta {
    flex-direction: column;
}

@media (max-width: 767px) {
    .cts-campaign-compact-rail {
        grid-auto-columns: minmax(340px, 88vw);
    }

    .cts-campaign-compact-card {
        height: 146px;
        gap: 10px;
        padding: 10px;
    }

    .cts-campaign-compact-card__media {
        width: 120px;
        height: 124px;
    }

    .cts-sponsored-compact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 390px) {
    .cts-campaign-compact-rail {
        grid-auto-columns: minmax(250px, 92vw);
    }

    .cts-campaign-compact-card {
        height: auto;
        min-height: 0;
        flex-direction: column;
    }

    .cts-campaign-compact-card__media {
        width: 100%;
        height: 150px;
        max-height: 170px;
    }

    .cts-campaign-compact-card__image {
        max-height: 170px;
    }

    .cts-sponsored-compact-grid {
        grid-template-columns: 1fr;
    }
}

/* CTS user_main ads: independently scoped, touch-friendly compact carousel. */
.cts-ad-carousel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.cts-ad-carousel__viewport {
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(104, 6, 103, 0.35) transparent;
}

.cts-ad-carousel__viewport::-webkit-scrollbar { height: 7px; }
.cts-ad-carousel__viewport::-webkit-scrollbar-track { background: transparent; }
.cts-ad-carousel__viewport::-webkit-scrollbar-thumb { background: rgba(104, 6, 103, 0.30); border-radius: 999px; }

.cts-ad-carousel__track {
    display: flex;
    gap: 14px;
    width: 100%;
    min-width: 100%;
    padding: 2px 1px 8px;
}

.cts-ad-card {
    display: flex;
    flex: 0 0 calc((100% - 28px) / 3.28);
    align-items: stretch;
    gap: 12px;
    height: 154px;
    padding: 12px;
    color: #403a43;
    background: var(--muhtar-white);
    border: 1px solid var(--muhtar-border);
    border-radius: var(--muhtar-radius-md);
    box-shadow: var(--muhtar-shadow-sm);
    overflow: hidden;
    scroll-snap-align: start;
    transition: transform var(--muhtar-transition), box-shadow var(--muhtar-transition), border-color var(--muhtar-transition);
}

.cts-ad-card:hover {
    border-color: var(--muhtar-purple);
    box-shadow: var(--muhtar-shadow-md);
    transform: translateY(-2px);
}

.cts-ad-card__media {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 165px;
    height: 128px;
    overflow: hidden;
    background: #fbf8fb;
    border: 1px solid var(--muhtar-border);
    border-radius: var(--muhtar-radius-sm);
}

.cts-ad-card__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cts-ad-card__content {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
}

.cts-ad-card__tag {
    display: block;
    overflow: hidden;
    color: var(--muhtar-purple);
    font-size: 11px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cts-ad-card__title {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--muhtar-purple);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.cts-ad-card__text {
    display: -webkit-box;
    margin: 5px 0;
    overflow: hidden;
    color: #6f6877;
    font-size: 12px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.cts-ad-card__action {
    align-self: flex-start;
    margin-top: auto;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.25;
}

.cts-ad-carousel__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    color: var(--muhtar-purple);
    background: var(--muhtar-white);
    border: 1px solid var(--muhtar-border);
    border-radius: 50%;
    box-shadow: var(--muhtar-shadow-sm);
    transition: color var(--muhtar-transition), background-color var(--muhtar-transition), transform var(--muhtar-transition);
}

.cts-ad-carousel__nav:hover:not(:disabled),
.cts-ad-carousel__nav:focus:not(:disabled) {
    color: var(--muhtar-white);
    background: var(--muhtar-purple);
    transform: translateY(-1px);
}

.cts-ad-carousel__nav:disabled {
    cursor: default;
    opacity: 0.35;
}

@media (max-width: 991px) {
    .cts-ad-card { flex-basis: calc((100% - 14px) / 2.12); }
}

@media (max-width: 767px) {
    .cts-ad-carousel { gap: 7px; }
    .cts-ad-carousel__nav { width: 28px; height: 28px; }
    .cts-ad-card { flex-basis: 88%; }
    .cts-ad-card__media { width: 120px; height: 124px; }
}

@media (max-width: 390px) {
    .cts-ad-card { flex-basis: 92%; height: auto; min-height: 154px; gap: 10px; padding: 10px; }
    .cts-ad-card__media { width: 100px; height: 124px; }
    .cts-ad-carousel__nav { width: 25px; height: 25px; }
}

@media (max-width: 767px) {
    .anket-shell {
        padding: 10px 8px 24px;
    }

    .anket-hero-title {
        font-size: 20px;
    }

    .anket-hero-brand {
        align-items: flex-start;
    }

    .anket-hero-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .anket-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .anket-source-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .anket-option {
        min-height: 68px;
    }
}

/* =========================================================
   CTS MODAL SELECTION CARDS
   Marka / Model / Trim ve genel modal seçim listeleri
   ========================================================= */

/* Araç marka/model/trim modalları: sabit başlık/altlık, kaydırılabilir içerik */
.brand-model-modal .modal-content {
    display: flex;
    flex-direction: column;
    max-height: 70vh;
    overflow: hidden;
}

.brand-model-modal .modal-header,
.brand-model-modal .modal-footer {
    flex: 0 0 auto;
}

.brand-model-modal .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

.cts-modal-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin-top: 12px;
}

.cts-modal-select-card {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;
    min-height: 54px;
    padding: 10px 12px;

    color: #5f245f;
    background: #ffffff;

    border: 1px solid rgba(104, 6, 103, 0.18);
    border-radius: 10px;

    box-shadow: 0 2px 8px rgba(104, 6, 103, 0.07);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;

    cursor: pointer;
    user-select: none;

    transition:
        color var(--muhtar-transition),
        background-color var(--muhtar-transition),
        border-color var(--muhtar-transition),
        box-shadow var(--muhtar-transition),
        transform var(--muhtar-transition);
}

.cts-modal-select-card:hover,
.cts-modal-select-card:focus {
    color: var(--muhtar-purple);
    background: #faf5fa;

    border-color: rgba(104, 6, 103, 0.42);
    box-shadow: 0 5px 14px rgba(104, 6, 103, 0.13);

    transform: translateY(-2px);
    outline: none;
}

.cts-modal-select-card.is-selected,
.cts-modal-select-card.active {
    color: #ffffff;
    background: var(--muhtar-purple);
    border-color: var(--muhtar-purple);

    box-shadow: 0 5px 16px rgba(104, 6, 103, 0.22);
}

.cts-modal-select-card.is-selected:hover,
.cts-modal-select-card.active:hover {
    color: #ffffff;
    background: #520550;
    border-color: #520550;
}

/* Uzun model / trim isimleri düzgün kırılsın */
.cts-modal-select-card {
    overflow-wrap: anywhere;
    word-break: normal;
}

/* Trim listelerinde biraz daha geniş kart */
.cts-modal-card-grid--trim {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cts-modal-card-grid--trim .cts-modal-select-card {
    justify-content: flex-start;
    min-height: 58px;
    text-align: left;
}

/* Modal içindeki arama kutusu */
.cts-modal-search {
    width: 100%;
    margin: 0 0 14px;
}

/* Seçim bölümleri */
.cts-modal-selection-section {
    margin-top: 18px;
}

.cts-modal-selection-section:first-child {
    margin-top: 0;
}

.cts-modal-selection-title {
    margin: 0 0 10px;
    color: var(--muhtar-purple);
    font-size: 18px;
    font-weight: 600;
}

/* Tablet */
@media (max-width: 991px) {
    .cts-modal-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cts-modal-card-grid--trim {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Telefon */
@media (max-width: 767px) {
    .brand-model-modal .modal-content {
        max-height: 85vh;
    }

    .cts-modal-card-grid,
    .cts-modal-card-grid--trim {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .cts-modal-select-card {
        min-height: 50px;
        padding: 9px 10px;
        font-size: 12px;
    }
}

/* Çok dar telefon */
@media (max-width: 420px) {
    .cts-modal-card-grid,
    .cts-modal-card-grid--trim {
        grid-template-columns: 1fr;
    }
}
