/* =========================================================
   HERSEYILANIMDA.COM
   Main Application CSS
   Version: 20261002.1
   ========================================================= */


/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #c89d25a8, #cca535);
    border-radius: 999px;
}

::-webkit-scrollbar-track {
    background: transparent;
}


/* =========================================================
   ROOT
   ========================================================= */

:root {
    --main: #e74c3c;
    --bg: #f7f8fa;
    --text: #2b2b2b;
    --card: #ffffff;
    --muted: #6b7280;
    --border: #e5e7eb;
    --radius: 14px;
    --shadow: 0 8px 32px rgba(0, 0, 0, .08);
}

[hidden] {
    display: none !important;
}

/* =========================================================
   GENERAL
   ========================================================= */

html,
body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}


/* =========================================================
   HEADER
   ========================================================= */

header {
    z-index: 9999;
}

.header-profile-photo {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* =========================================================
   HEADER USER DROPDOWN
   ========================================================= */

.header-user-dropdown {
    position: relative;
}


/* Dropdown Button */

.header-user-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 34px;
    padding: 3px 8px;

    font-size: 13px;
    font-weight: 500;

    white-space: nowrap;

    background: #fff;
    border: 1px solid #6c757d;
    border-radius: 4px;
    color: #6c757d;
}


/* Hover */

.header-user-dropdown .dropdown-toggle:hover,
.header-user-dropdown .dropdown-toggle:focus {
    background: #f8f9fa;
    border-color: #495057;
    color: #495057;
}


/* Profile Photo */

.header-user-dropdown .header-profile-photo {
    width: 28px !important;
    height: 28px !important;

    min-width: 28px !important;
    min-height: 28px !important;

    max-width: 28px !important;
    max-height: 28px !important;

    flex: 0 0 28px;

    display: block;

    object-fit: cover;
    object-position: center;

    border-radius: 50%;
}


/* Username */

.header-user-dropdown .header-user-name {
    display: block;

    max-width: 130px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* Bootstrap Arrow */

.header-user-dropdown .dropdown-toggle::after {
    margin-left: 2px;
    vertical-align: middle;
}


/* Dropdown Menu */

.header-user-dropdown .dropdown-menu {
    min-width: 210px;

    margin-top: 6px !important;
    padding: 6px;

    background: #fff;

    border: 1px solid #dee2e6;
    border-radius: 6px;

    box-shadow:
        0 6px 18px
        rgba(0, 0, 0, 0.12);

    z-index: 1050;
}


/* Dropdown Items */

.header-user-dropdown .dropdown-item {
    display: flex;
    align-items: center;

    gap: 9px;

    padding: 9px 11px;

    font-size: 14px;

    color: #343a40;

    border-radius: 4px;

    transition:
        background-color .15s ease,
        color .15s ease;
}


/* Icons */

.header-user-dropdown .dropdown-item i {
    width: 18px;

    text-align: center;

    color: #6c757d;
}


/* Item Hover */

.header-user-dropdown .dropdown-item:hover,
.header-user-dropdown .dropdown-item:focus {
    background: #f5f6f7;
    color: #212529;
}


/* Divider */

.header-user-dropdown .dropdown-divider {
    margin: 5px 0;
}


/* Logout */

.header-user-dropdown .dropdown-item.text-danger {
    color: #dc3545 !important;
}

.header-user-dropdown .dropdown-item.text-danger i {
    color: #dc3545;
}

.header-user-dropdown .dropdown-item.text-danger:hover {
    background: #fff5f5;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .header-user-dropdown .dropdown-toggle {
        min-height: 32px;

        padding: 2px 6px;

        gap: 5px;
    }

    .header-user-dropdown .header-profile-photo {
        width: 26px !important;
        height: 26px !important;

        min-width: 26px !important;
        min-height: 26px !important;

        max-width: 26px !important;
        max-height: 26px !important;

        flex-basis: 26px;
    }

    .header-user-dropdown .header-user-name {
        max-width: 90px;
    }

    .header-user-dropdown .dropdown-menu {
        min-width: 200px;
    }

}

/* =========================================================
   MOBILE USER DROPDOWN
   ========================================================= */

.navbar-user-m .header-user-dropdown {
    position: relative;
    display: inline-flex;
}


/* Dropdown Button */

.navbar-user-m .header-user-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;

    height: 32px;
    padding: 2px 6px;

    background: #fff;
    border: 1px solid #6c757d;
    border-radius: 4px;

    color: #6c757d;

    font-size: 12px;
    font-weight: 500;

    line-height: 1;
    white-space: nowrap;
}


/* Profile Photo */

.navbar-user-m .header-user-dropdown .header-profile-photo {
    width: 26px !important;
    height: 26px !important;

    min-width: 26px !important;
    min-height: 26px !important;

    max-width: 26px !important;
    max-height: 26px !important;

    flex: 0 0 26px;

    display: block;

    border-radius: 50%;

    object-fit: cover;
    object-position: center;
}


/* User Name */

.navbar-user-m .header-user-dropdown .header-user-name {
    display: block;

    max-width: 85px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* Arrow */

.navbar-user-m .header-user-dropdown .dropdown-toggle::after {
    margin-left: 1px;
}


/* Dropdown Menu */

.navbar-user-m .header-user-dropdown .dropdown-menu {
    min-width: 200px;

    margin-top: 5px !important;
    padding: 6px;

    background: #fff;

    border: 1px solid #dee2e6;
    border-radius: 6px;

    box-shadow: 0 6px 18px rgba(0, 0, 0, .14);

    z-index: 1060;
}


/* Dropdown Items */

.navbar-user-m .header-user-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 9px;

    padding: 9px 10px;

    border-radius: 4px;

    color: #343a40;

    font-size: 13px;
    line-height: 1.3;
}


/* Icons */

.navbar-user-m .header-user-dropdown .dropdown-item i {
    width: 17px;

    text-align: center;

    color: #6c757d;
}


/* Hover */

.navbar-user-m .header-user-dropdown .dropdown-item:hover,
.navbar-user-m .header-user-dropdown .dropdown-item:focus {
    background: #f5f6f7;
}


/* Divider */

.navbar-user-m .header-user-dropdown .dropdown-divider {
    margin: 5px 0;
}


/* Logout */

.navbar-user-m .header-user-dropdown .dropdown-item.text-danger,
.navbar-user-m .header-user-dropdown .dropdown-item.text-danger i {
    color: #dc3545 !important;
}

.navbar-user-m .header-user-dropdown .dropdown-item.text-danger:hover {
    background: #fff5f5;
}


.header-wrapper {
    max-width: 1320px;
    margin: auto;
}

.logo {
    width: auto;
    height: 50px;
    border-radius: 8px;
    filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, .4));
    transition: transform .2s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.auth-logo img {
    display: block;
    width: auto;
    height: 65px;
    max-width: 220px;
    object-fit: contain;
}

.auth-head p {
    margin: 0;
}

.search-bar input {
    border-radius: 30px !important;
    padding-left: 15px;
}

.search-bar button {
    border-radius: 50%;
    width: 44px;
    height: 44px;
}

.header-icons a {
    color: #333;
    transition: color .2s ease;
    font-weight: 500;
}

.header-icons a:hover {
    color: #dc3545;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    background: #f9f9f9 !important;
    text-align: center;
    text-decoration: none;
    padding: 16px 0;
    border-top: 1px solid #ddd;
}

footer a {
    text-decoration: none;
}

@media (max-width: 650px) {
    footer {
        display: none !important;
    }
}


.g-recaptcha {
    display: flex;
    justify-content: center;
}


.app-links-mobil {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    flex-direction: row;
    align-items: center;
}
.app-links-mobil a img {
    width: 150px;
    height: 45px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.app-links-mobil a:hover img {
    transform: translateY(-3px);
}
.app-links-mobil a.disabled img {
    opacity: 0.4;
    filter: grayscale(100%);
    cursor: not-allowed;
}
@media (max-width: 768px) {
    .app-links-mobil {
        flex-direction: column;
    }
    .app-links-mobil a img {
        width: 180px;
        height: 50px;
    }
}
.app-links-mobil a.disabled {
    pointer-events: none;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn.ghost {
    background: #f9b800;
    border: 1px solid #eaeaea;
    color: #fff;
}

.btn.primary {
    background: #03A9F4;
    color: #fff;
    border: 1px solid transparent;
}


/* =========================================================
   BADGES
   ========================================================= */

.badge {
    font-size: .7rem;
    padding: 4px 6px;
}


/* =========================================================
   LIVE SEARCH
   ========================================================= */

#searchResults-m,
#searchResults-d {
    position: absolute !important;
    top: 42px !important;
    width: 93% !important;
}

.live-search-result-image {
    display: block;
    width: 75px !important;
    height: 75px !important;
    min-width: 75px;
    flex: 0 0 40px;
    object-fit: contain !important;
}

#searchResults-m a:hover,
#searchResults-d a:hover {
    color: #fff !important;
    background-color: #ebb462 !important;
    box-shadow: inset 2px 2px 12px 4px rgba(0, 0, 0, .1);
}

.container-category {
    flex: 1;
    display: flex;
    gap: 0px;
    margin-top: 10px;
    flex-direction: column;
}

.container-search {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 25px;
  margin-top: 25px;
}
.sidebar {
  flex: 0 0 280px;
}
.sidebar {
  width: auto;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  height: fit-content;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.sidebar h5 {
  font-size: 1rem;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}
.sidebar label {
  font-size: .9rem;
  color: #555;
}
.sidebar input, .sidebar select {
  width: 100%;
  margin-bottom: 10px;
}


.ads-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

@media (max-width: 767.98px) {

    .ads-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px !important;
    }

    .ads-grid > * {
        width: 100% !important;
        min-width: 0;
    }

}


.card-ad-category {
  width: 180px;
  height: auto;
  background: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  transition: all 0.25s ease;
  text-align: center;
}
.card-ad-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
.card-ad-category img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  background: #f9f9f9;
}

.card-ad-category .price {
  color: #d63031;
  font-weight: 600;
  font-size: 0.95rem;
}
.card-ad-category .title {
  font-size: 0.9rem;
  color: #222;
  height: 25px;
  line-height: 1.2;
  overflow: hidden;
}
.card-ad-category .meta {
  font-size: 0.8rem;
  color: #777;
}


.card-ad {
  width: 180px;
  height: 250px;
  background: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  transition: all 0.25s ease;
  text-align: center;
}
.card-ad:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
.card-ad img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  background: #f9f9f9;
}
.card-body {
  padding: 8px;
}
.card-ad .price {
  color: #d63031;
  font-weight: 600;
  font-size: 0.95rem;
}
.card-ad .title {
  font-size: 0.9rem;
  color: #222;
  height: 25px;
  line-height: 1.2;
  overflow: hidden;
}
.card-ad .meta {
  font-size: 0.8rem;
  color: #777;
}

@media(max-width: 992px){
  .container-search {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
  }
}


/* =========================================================
   SELECT2
   ========================================================= */

.select2-container--default .select2-selection--single {
    height: 44px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.select2-selection__rendered {
    line-height: 44px !important;
}

.select2-selection__arrow {
    height: 44px !important;
}


/* =========================================================
   CAROUSEL
   ========================================================= */

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
    width: 2rem;
    height: 2rem;
    opacity: .8;
    transition: transform .2s ease, opacity .2s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    transform: scale(1.15);
    opacity: 1;
}

.carousel-control-next,
.carousel-control-prev {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4%;
    padding: 0;
    background: rgba(0, 0, 0, 0);
    border: none;
    transition: background .2s ease, opacity .2s ease;
    opacity: .6;
}

.carousel-control-next:hover,
.carousel-control-prev:hover {
    background: rgba(0, 128, 0, .2);
    color: #198754;
    opacity: 1;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    header {
        text-align: center;
    }

    header .logo {
        height: 35px;
    }

    header .actions {
        width: 100%;
        justify-content: center;
    }

    #liveSearchForm {
        width: 100%;
        margin-top: 8px;
    }

    #searchResults-m,
    #searchResults-d {
        max-height: 280px;
    }

    .carousel-control-next,
    .carousel-control-prev {
        width: 10%;
    }

    .navbar-user-container-m {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .navbar-user-box-m {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .navbar-user-m {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex-wrap: nowrap;
        width: 100%;
        gap: 5px;
    }

    .navbar-user {
        display: none;
    }
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 769px) {

    .navbar-user-mobil {
        display: none;
    }

    .navbar-user-container-m {
        display: none;
    }

    .navbar-user {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
}

.live-search-form {
    max-width: 600px;
}

.search-results {
    top: 100%;
    left: 0;
    z-index: 1050;
    display: none;
    max-height: 350px;
    overflow: auto;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer-brand {
    color: #f9b800 !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 600 !important;
}

.footer-menu a {
    text-decoration: none;
}

.footer-social a {
    text-decoration: none;
}

.footer-tool-link {
    margin-left: 15px;
}

.footer-tool-light {
    color: #bbdceb !important;
}

.footer-instagram-tool {
    margin-left: 15px;
    color: antiquewhite !important;
}


/* =========================================================
   APP DOWNLOAD
   ========================================================= */

.app-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 15px 0;
}

.app-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    text-decoration: none;
}

.app-download img {
    display: block;
    width: auto !important;
    height: 40px !important;
    max-width: 140px;
    object-fit: contain;
}

.app-download.disabled {
    opacity: .45;
    cursor: default;
    pointer-events: none;
}


/* =========================================================
   COPYRIGHT
   ========================================================= */

.footer-copyright {
    font-size: 13px;
}

.footer-manager-link {
    color: #fff !important;
    font-size: 4px;
}


/* =========================================================
   SCROLL TOP
   ========================================================= */

#scrollTopBtn {
    position: fixed;
    right: 20px;
    bottom: 20px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #dc3545;
    color: #fff;

    text-decoration: none;

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity .2s ease,
        visibility .2s ease,
        transform .2s ease;

    z-index: 1050;
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollTopBtn:hover {
    color: #fff;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .footer-menu {
        line-height: 2;
    }

    .app-links {
        flex-wrap: wrap;
    }

    .app-download img {
        height: 36px !important;
        max-width: 125px;
    }

}


/* =========================================================
   HOME / INDEX
   ========================================================= */

* {
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   HOME HERO
   ========================================================= */

.hero {
    padding: 40px 0 22px;
    background: linear-gradient(
        180deg,
        #fff 0,
        #fff 55%,
        #f8f9fb 100%
    );
    display: none;
}

.intro {
    font-size: 24px;
    font-weight: 400;
    margin: 3px 0 15px;
}

.title {
    font-size: 28px;
    font-weight: 800;
    margin: 8px 0 6px;
}

.subtitle {
    color: var(--muted);
    font-size: 15px;
}


/* =========================================================
   HOME SEARCH
   ========================================================= */

.search-card {
    margin-top: 18px;
    background: var(--card);
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
}

.search-row {
    display: grid;
    grid-template-columns:
        1.2fr
        1fr
        1fr
        .7fr
        .7fr
        auto;
    gap: 10px;
}

.search-row .input,
.search-row select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
}

.search-btn {
    padding: 11px 18px;
    border-radius: 10px;
    border: 0;
    background: var(--main);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.search-btn:hover {
    filter: brightness(.95);
}


/* =========================================================
   HOME SECTIONS
   ========================================================= */

.section {
    padding: 15px 0 8px;
}

.section h3 {
    font-size: 18px;
    margin: 0 0 14px;
}

.home-section {
    margin-top: 1.5rem;
}


/* =========================================================
   HOME CATEGORIES
   ========================================================= */

.cat-grid {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap !important;
    gap: 3px !important;
    overflow: visible;
}

.cat-card {
    position: relative;
    width: auto;
    height: 100px;
    background: #fff;
    border: 1px solid #eee;
    transition:
        transform .25s ease,
        box-shadow .25s ease;
    overflow: visible !important;
    cursor: pointer;
    z-index: 1;

    display: flex;
    justify-content: center;
    align-items: center;

    flex: 1 1 0;
    min-width: 0;
}

.cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, .15);
    z-index: 10;
}

.cat-card > a {
    width: 100%;
    font-size: 14px;
    color: #5e6367 !important;
}

.cat-icon {
    width: 38px !important;
    height: 38px !important;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   SUB CATEGORIES
   ========================================================= */

.subcat-menu {
    position: absolute;
    top: 100%;
    left: 0;

    width: 220px;

    background: #fff;
    border-radius: 8px;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, .15);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-10px);

    transition:
        opacity .25s ease,
        visibility .25s ease,
        transform .25s ease;

    z-index: 9999;

    overflow: hidden;
}

.cat-card:hover .subcat-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.subcat-menu li {
    padding: 6px 10px;
    font-size: .9rem;
    border-bottom: 1px solid #f0f0f0;
}

.subcat-menu li:last-child {
    border-bottom: none;
}

.subcat-menu a {
    color: #333 !important;
    display: flex;
    text-decoration: none;
}

.subcat-menu a:hover {
    color: #dc3545 !important;
    background: #f9f9f9;
}


/* =========================================================
   HOME CARDS
   ========================================================= */

.hover-card {
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.hover-card:hover {
    transform: scale(1.03);
    box-shadow:
        0 6px 14px rgba(0, 0, 0, .15);
}


/* =========================================================
   VITRIN
   ========================================================= */

.vitrin-carousel {
    height: auto;
}

.vitrin-card {
    width: auto;
    height: 225px;
    overflow: hidden;
}

.vitrin-card-image {
    height: 150px;
    background: #f8f8f8;
    overflow: hidden;
}

.vitrin-card-image img,
.listing-image-contain {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

.vitrin-card-body {
    height: 100px;
    overflow: hidden;
}

.vitrin-card-title {
    font-size: .9rem;
    line-height: 1.1;
}

.vitrin-card-price {
    font-size: .95rem;
}


/* =========================================================
   FEATURED
   ========================================================= */

.featured-carousel {
    height: 160px;
}

.featured-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.featured-card {
    width: 150px;
    height: 150px;
    overflow: hidden;
    margin: 5px;
}

.featured-card-image {
    overflow: hidden;
}

.featured-card-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.featured-card-title {
    font-size: .85rem;
    line-height: 1.1;
}

.featured-card-price {
    font-size: .9rem;
}


/* =========================================================
   REAL ESTATE
   ========================================================= */

.real-estate-carousel {
    height: 205px;
}

.real-estate-card {
    height: 200px;
    overflow: hidden;
}

.real-estate-image {
    width: auto;
    height: 100%;
}

.real-estate-image img,
.listing-image-cover {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    display: block;
}

.real-estate-body {
    width: 60%;
}


/* =========================================================
   ADSENSE
   ========================================================= */

.home-ad-vitrin {
    display: block;
    width: 100%;
    height: 225px;
}

.home-ad-featured {
    display: block;
    width: 150px;
    height: 150px;
}

.home-ad-realestate {
    display: block;
    width: 100%;
    height: auto;
}


/* =========================================================
   HOME TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .search-row {
        grid-template-columns:
            1fr
            1fr
            1fr;

        gap: 8px;
    }

}


/* =========================================================
   HOME MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .hero {
        display: none;
    }

    .intro {
        font-size: 22px;
        margin: 0 0 25px;
    }

    .real-estate {
        display: none;
    }

    .cat-icon {
        width: 28px !important;
        height: 28px !important;
    }

    .cat-card > a {
        font-size: 8px;
    }

    .card.flex-row {
        flex-direction: column;
    }

    .card-img-left {
        width: 100% !important;
        min-width: unset;
    }

}


/* =========================================================
   AD POST / WIZARD
   ========================================================= */

.wrap {
    max-width: 900px;
    margin: 60px auto;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px 48px;
}


/* =========================================================
   AD POST HEADINGS
   ========================================================= */

.wrap h1 {
    text-align: center;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 24px;
    letter-spacing: .2px;
}


/* =========================================================
   AD POST FORM
   ========================================================= */

.wrap label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: var(--text);
}

.wrap input,
.wrap select,
.wrap textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    background: #fff;
    color: var(--text);

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.wrap input:focus,
.wrap select:focus,
.wrap textarea:focus {
    border-color: var(--main);
    outline: none;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, .15);
}

.wrap input[type="checkbox"] {
    cursor: pointer;
}

.wrap .form-check-label {
    margin-left: 11px;
    padding: 4px;
}

.wrap textarea {
    min-height: 120px;
    resize: vertical;
    margin-bottom: 25px;
}


/* =========================================================
   AD POST ROWS
   ========================================================= */

.wrap .row,
.wrap .row-3 {
    display: grid;
    gap: 18px;
    margin-bottom: 24px;
}

.wrap .row {
    grid-template-columns: 1fr 1fr;
}

.wrap .row-3 {
    grid-template-columns: 1fr 1fr 1fr;
}


/* =========================================================
   AD POST MESSAGE
   ========================================================= */

.wrap .msg {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 24px;
    font-weight: 500;
}


/* =========================================================
   AD POST MEDIA DROP
   ========================================================= */

.wrap .drop {
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
    color: var(--muted);
    cursor: pointer;
    font-weight: 500;
    background: #fafafa;

    transition: all .25s ease;

    margin-bottom: 14px;
}

.wrap .drop:hover {
    border-color: var(--main);
    color: var(--main);
    background: #fff;
}


/* =========================================================
   AD POST MEDIA PREVIEW
   ========================================================= */

.wrap .preview {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fill,
            minmax(140px, 1fr)
        );

    gap: 14px;
    margin-top: 14px;
    margin-bottom: 32px;
}

.wrap .media-item {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

.wrap .media-item img,
.wrap .media-item video {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: cover;
}


/* =========================================================
   AD POST MEDIA REMOVE
   ========================================================= */

.wrap .remove {
    position: absolute;
    top: 10px;
    right: 10px;

    font-size: 14px;

    border: 1px solid red;
    border-radius: 3px;

    color: #fff;
    background: red;
}

.wrap .remove:hover {
    color: red;
    background: #fff;
}


/* =========================================================
   AD POST MEDIA BADGE
   ========================================================= */

.wrap .media-item .badge {
    position: absolute;
    top: 6px;
    left: 6px;

    background: rgba(0, 0, 0, .6);
    color: #fff;

    font-size: 12px;
    padding: 2px 6px;
    border-radius: 6px;
}


/* =========================================================
   AD POST MAP
   ========================================================= */

.wrap .map {
    width: 100%;
    height: 340px;

    border: 1px solid var(--border);
    border-radius: 12px;

    margin-top: 10px;
}


/* =========================================================
   AD POST DESKTOP
   ========================================================= */

@media (min-width: 768px) {

    .wrap .col-md-3 {
        flex: 0 0 auto;
        width: 30%;
    }

}


/* =========================================================
   AD POST MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .wrap {
        margin: 25px 12px;
        padding: 28px 22px;
    }

    .wrap .row,
    .wrap .row-3 {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   AD WIZARD - CATEGORY
   ========================================================= */

.ad-category-breadcrumb {
    margin: 16px 0 24px;
    padding: 18px 20px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: 12px;
}


/* =========================================================
   CATEGORY SEARCH
   ========================================================= */

.ad-category-search {
    display: flex;
    align-items: center;
    gap: 18px;
}

.wrap .ad-category-search label {
    flex: 0 0 auto;

    margin: 0;

    font-size: 14px;
    font-weight: 700;

    color: #374151;
}

.wrap .ad-category-search input {
    width: 100%;
    min-width: 0;

    padding: 9px 0;

    border: 0;
    border-radius: 0;

    background: transparent;

    box-shadow: none;

    font-size: 14px;
}

.wrap .ad-category-search input:focus {
    border: 0;
    box-shadow: none;
}


/* =========================================================
   CATEGORY PATH
   ========================================================= */

.ad-category-path {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    margin-top: 14px;
    padding-top: 14px;

    border-top: 1px solid #f0f1f3;
}

.ad-category-path-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    min-width: 0;
}

.ad-category-path-content > i {
    color: #64748b;
    font-size: 14px;
}

#catPath {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 5px;

    color: #2563eb;

    font-size: 14px;
    font-weight: 500;
}

#catPath .crumb {
    cursor: pointer;

    transition: color .15s ease;
}

#catPath .crumb:hover {
    color: #1d4ed8;
    text-decoration: underline;
}


/* =========================================================
   CHANGE CATEGORY
   ========================================================= */

.ad-category-change {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 7px 11px;

    border: 1px solid #d1d5db;
    border-radius: 8px;

    background: #fff;
    color: #64748b;

    font-size: 13px;
    font-weight: 500;

    cursor: pointer;

    transition:
        background .15s ease,
        color .15s ease,
        border-color .15s ease;
}

.ad-category-change:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #334155;
}

.ad-category-change[hidden] {
    display: none !important;
}


/* =========================================================
   MAIN CATEGORY GRID
   ========================================================= */

.ad-category-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;

    margin-bottom: 20px;
}

.wrap .cat-box {
    width: 100%;
    min-height: 110px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 16px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: #fff;
    color: #334155;

    font-family: inherit;

    cursor: pointer;

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease,
        background .18s ease;
}

.wrap .cat-box:hover {
    transform: translateY(-2px);

    border-color: #cbd5e1;

    box-shadow:
        0 8px 22px
        rgba(15, 23, 42, .07);
}

.wrap .cat-box.active {
    background: #f8fbff;

    border-color: #3b82f6;

    box-shadow:
        0 0 0 3px
        rgba(59, 130, 246, .10);
}

.cat-box-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-box-icon img {
    display: block;

    width: 40px !important;
    height: 40px !important;

    object-fit: contain;
}

.cat-box-title {
    font-size: 14px;
    font-weight: 500;

    line-height: 1.35;

    text-align: center;
}

select.form-select {
    min-width: 220px;
    font-size: 16px;
    cursor: pointer;
    color: #3e86bfcf;
}
select.form-select option {
    color: ;
    background: ;
}
select:-internal-list-box option:checked {
    background-color: green !important;
    color: white !important;
}
.form-select[multiple], .form-select[size]:not([size="1"]) {
    padding-right: .75rem;
    background-image: none;
    box-shadow: inset 1px 2px 3px #b5a4a4f2;
}

option:hover { color: #fff; background-color: green; font-weight: 500; }


/* =========================================================
   SUB CATEGORY LEVELS
   ========================================================= */

.ad-category-levels {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;

    align-items: start;
}

.ad-category-levels > div:empty {
    display: none;
}


/* =========================================================
   CATEGORY SELECT
   ========================================================= */

.ad-category-levels select.form-select {
    width: 100%;
    min-width: 0;

    font-size: 14px;

    color: #475569;

    border: 1px solid #dbe1e8;
    border-radius: 10px;

    background-color: #fff;
}

.ad-category-levels .form-select[multiple],
.ad-category-levels .form-select[size]:not([size="1"]) {
    min-height: 210px;

    padding: 8px;

    background-image: none;

    box-shadow: none;
}


/* =========================================================
   CATEGORY SEARCH INSIDE LEVEL
   ========================================================= */

.cat-search-wrap {
    margin-bottom: 8px;
}

.wrap .cat-search {
    width: 100%;

    padding: 10px 12px;

    border: 1px solid #dbe1e8;
    border-radius: 9px;

    background: #fff;

    font-size: 13px;
}

.wrap .cat-search:focus {
    border-color: #94a3b8;

    box-shadow:
        0 0 0 3px
        rgba(148, 163, 184, .12);
}


/* =========================================================
   CATEGORY FEATURES BUTTON
   ========================================================= */

#bt {
    margin-top: 22px;
}

#bt:empty {
    display: none;
}

#goNext {
    width: 100%;

    min-height: 44px;

    border-radius: 9px;

    font-weight: 600;
}


/* =========================================================
   FEATURES
   ========================================================= */

#featureFields {
    margin-top: 24px;
}


/*
|--------------------------------------------------------------------------
| category_modul_get eski Bootstrap satırlarını normalize et
|--------------------------------------------------------------------------
*/

#featureFields .row {
    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px 28px;

    margin:
        0 !important;

    padding:
        20px 16px 24px;
}


/*
|--------------------------------------------------------------------------
| Bootstrap col genişliklerini Features içinde iptal et
|--------------------------------------------------------------------------
*/

#featureFields .row > [class*="col-"] {
    width: auto !important;
    max-width: none !important;

    flex: none !important;

    padding: 0 !important;

    margin: 0 !important;
}


/* =========================================================
   FEATURE PANEL
   ========================================================= */

#featureFields .card,
#featureFields .panel {
    overflow: hidden;

    border: 1px solid #dbe3ea !important;
    border-radius: 12px !important;

    background: #fff !important;

    box-shadow:
        0 4px 16px
        rgba(15, 23, 42, .04);
}


/* =========================================================
   FEATURE HEADERS
   ========================================================= */

#featureFields .card-header,
#featureFields .panel-heading {
    padding: 13px 16px !important;

    border: 0 !important;
    border-bottom:
        1px solid #e5e7eb !important;

    background: #f8fafc !important;

    color: #0f172a !important;

    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   FEATURE LABEL
   ========================================================= */

#featureFields label {
    display: block;

    margin-bottom: 7px;

    color: #64748b;

    font-size: 13px;
    font-weight: 600;

    line-height: 1.35;
}


/* =========================================================
   FEATURE INPUTS
   ========================================================= */

.wrap #featureFields input:not([type="checkbox"]):not([type="radio"]),
.wrap #featureFields select,
.wrap #featureFields textarea {
    width: 100% !important;

    min-width: 0;

    padding: 11px 12px;

    border: 1px solid #dbe1e8;
    border-radius: 9px;

    background: #fff;

    color: #1f2937;

    font-size: 14px;

    box-shadow: none;

    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.wrap #featureFields input:not([type="checkbox"]):not([type="radio"]):focus,
.wrap #featureFields select:focus,
.wrap #featureFields textarea:focus {
    border-color: #3b82f6;

    outline: none;

    box-shadow:
        0 0 0 3px
        rgba(59, 130, 246, .10);
}


/* =========================================================
   FEATURE CHECKBOX / RADIO
   ========================================================= */

#featureFields input[type="checkbox"],
#featureFields input[type="radio"] {
    width: auto !important;
}

#featureFields .form-check {
    display: flex;
    align-items: center;

    gap: 8px;

    min-height: 32px;
}

#featureFields .form-check-label {
    margin: 0;

    color: #475569;

    font-weight: 500;
}


/* =========================================================
   AD WIZARD RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .ad-category-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .ad-category-levels {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    #featureFields .row {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 700px) {

    .ad-category-breadcrumb {
        padding: 15px;
    }

    .ad-category-search {
        display: block;
    }

    .wrap .ad-category-search input {
        margin-top: 4px;
    }

    .ad-category-path {
        align-items: flex-start;
        flex-direction: column;
    }

    .ad-category-change {
        width: 100%;
        justify-content: center;
    }

    .ad-category-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 9px;
    }

    .wrap .cat-box {
        min-height: 96px;
        padding: 12px 8px;
    }

    .cat-box-icon,
    .cat-box-icon img {
        width: 34px !important;
        height: 34px !important;
    }

    .ad-category-levels {
        grid-template-columns: 1fr;
    }

    #featureFields .row {
        grid-template-columns: 1fr;

        gap: 18px;

        padding:
            18px 14px 20px;
    }

}


/* =========================================================
   AD WIZARD
   ========================================================= */

.ad-wizard-main {
    flex: 1;
    width: 100%;
}

.ad-wizard {
    max-width: 900px;
}

.ad-wizard-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 18px;
}

.ad-wizard .ad-wizard-header h1 {
    margin: 4px 0 5px;

    text-align: left;

    font-size: 25px;
    line-height: 1.25;
}

.ad-wizard-header p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
}

.ad-wizard-step {
    color: #16a34a;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .4px;
}


/* =========================================================
   PROGRESS
   ========================================================= */

.ad-wizard-progress {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 7px;

    margin-bottom: 30px;
}

.ad-wizard-progress span {
    height: 4px;

    border-radius: 999px;

    background: #e5e7eb;
}

.ad-wizard-progress span.completed,
.ad-wizard-progress span.active {
    background: #198754;
}


/* =========================================================
   FORM
   ========================================================= */

.ad-form-group {
    margin-bottom: 24px;
}

.wrap .ad-form-group label {
    margin-bottom: 8px;

    color: #374151;

    font-size: 14px;
    font-weight: 650;
}

.required {
    color: #dc3545;
}

.wrap .ad-form-group input,
.wrap .ad-form-group select,
.wrap .ad-form-group textarea {
    width: 100%;

    border: 1px solid #dbe1e8;
    border-radius: 10px;

    background: #fff;

    font-size: 14px;

    box-shadow: none;
}

.wrap .ad-form-group input,
.wrap .ad-form-group select {
    min-height: 46px;
}

.wrap .ad-form-group textarea {
    min-height: 180px;

    margin-bottom: 0;

    line-height: 1.6;

    resize: vertical;
}

.wrap .ad-form-group input:focus,
.wrap .ad-form-group select:focus,
.wrap .ad-form-group textarea:focus {
    border-color: #3b82f6;

    box-shadow:
        0 0 0 3px
        rgba(59, 130, 246, .10);
}


/* =========================================================
   HELP / COUNTER
   ========================================================= */

.ad-form-help {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-top: 7px;

    color: #94a3b8;

    font-size: 12px;
}

.ad-character-counter {
    flex: 0 0 auto;

    font-variant-numeric: tabular-nums;
}


/* =========================================================
   PRICE
   ========================================================= */

.ad-price-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 2fr)
        minmax(180px, 1fr);

    gap: 18px;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.ad-wizard-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-top: 32px;
    padding-top: 24px;

    border-top: 1px solid #edf0f2;
}

.ad-wizard-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 44px;

    padding-left: 20px;
    padding-right: 20px;

    border-radius: 9px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .ad-wizard {
        max-width: none;
    }

    .ad-price-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ad-form-help {
        align-items: flex-start;
    }

    .ad-wizard-actions .btn {
        flex: 1;
    }

}


/* =========================================================
   AD WIZARD - MEDIA
   ========================================================= */

.ad-media-drop {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 230px;

    padding: 35px 24px;

    border: 2px dashed #d7dee7;
    border-radius: 14px;

    background: #fafbfc;

    text-align: center;

    cursor: pointer;

    transition:
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease;
}

.ad-media-drop:hover,
.ad-media-drop.dragover {
    border-color: #3b82f6;

    background: #f7faff;

    box-shadow:
        0 0 0 4px
        rgba(59, 130, 246, .06);
}

.ad-media-drop-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 13px;

    border-radius: 50%;

    background: #eef5ff;
    color: #3b82f6;

    font-size: 23px;
}

.ad-media-drop strong {
    color: #1f2937;

    font-size: 15px;
    font-weight: 700;
}

.ad-media-drop p {
    margin: 6px 0;

    color: #64748b;

    font-size: 13px;
}

.ad-media-drop > span {
    color: #94a3b8;

    font-size: 12px;
}


/* =========================================================
   MEDIA TOOLBAR
   ========================================================= */

.ad-media-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 25px;
    margin-bottom: 12px;

    color: #475569;

    font-size: 13px;
    font-weight: 650;
}


/* =========================================================
   MEDIA PREVIEW
   ========================================================= */

.ad-media-preview {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;
}

.ad-media-preview:empty {
    display: none;
}

.ad-media-item {
    position: relative;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    border: 1px solid #e2e8f0;
    border-radius: 11px;

    background: #f8fafc;
}

.ad-media-item img,
.ad-media-item video {
    display: block;

    width: 100% !important;
    height: 100% !important;

    object-fit: contain;
}


/* =========================================================
   MEDIA REMOVE
   ========================================================= */

.ad-media-remove {
    position: absolute;

    top: 7px;
    right: 7px;

    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(15, 23, 42, .78);
    color: #fff;

    font-size: 12px;

    cursor: pointer;

    transition:
        background .15s ease,
        transform .15s ease;
}

.ad-media-remove:hover {
    background: #dc2626;

    transform: scale(1.05);
}


/* =========================================================
   COVER / TYPE
   ========================================================= */

.ad-media-cover {
    position: absolute;

    left: 7px;
    bottom: 7px;

    padding: 4px 7px;

    border-radius: 6px;

    background: rgba(15, 23, 42, .78);
    color: #fff;

    font-size: 10px;
    font-weight: 600;
}

.ad-media-type {
    position: absolute;

    left: 7px;
    top: 7px;

    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(15, 23, 42, .78);
    color: #fff;

    font-size: 11px;
}


/* =========================================================
   MEDIA HELP
   ========================================================= */

.ad-media-help {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    margin-top: 18px;
    padding: 12px 14px;

    border-radius: 9px;

    background: #f8fafc;
    color: #64748b;

    font-size: 12px;
    line-height: 1.5;
}

.ad-media-help i {
    margin-top: 2px;

    color: #3b82f6;
}


/* =========================================================
   MEDIA RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .ad-media-preview {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}

@media (max-width: 700px) {

    .ad-media-drop {
        min-height: 190px;

        padding: 28px 18px;
    }

    .ad-media-preview {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   AD POST - STEP 4 - MAP
   ========================================================= */

.ad-map-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.ad-map-heading > div {
    min-width: 0;
}

.ad-map-heading label {
    display: block;
    margin: 0 0 4px;
    color: #1e293b;
    font-size: 14px;
    font-weight: 700;
}

.ad-map-heading p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   MAP RESET BUTTON
   ========================================================= */

.ad-map-reset {
    appearance: none;
    -webkit-appearance: none;

    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 38px;
    padding: 8px 13px;

    border: 1px solid #d7dee7;
    border-radius: 9px;

    background: #fff;
    color: #475569;

    font-family: inherit;
    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    transition:
        border-color .15s ease,
        background .15s ease,
        color .15s ease,
        box-shadow .15s ease,
        transform .15s ease;
}

.ad-map-reset:hover {
    border-color: #198754;
    background: #f0fdf4;
    color: #198754;
}

.ad-map-reset:active {
    transform: translateY(1px);
}

.ad-map-reset:focus {
    outline: none;
    border-color: #198754;
    box-shadow: 0 0 0 3px rgba(25, 135, 84, .12);
}


/* =========================================================
   GOOGLE MAP
   ========================================================= */

.ad-location-map {
    position: relative;

    display: block;

    width: 100%;
    height: 340px;
    min-height: 340px;

    overflow: hidden;

    border: 1px solid #dbe2ea;
    border-radius: 12px;

    background: #f1f5f9;
}


/* Google Maps iç görselleri global img CSS'den etkilenmesin */

.ad-location-map img {
    max-width: none !important;
}


/* =========================================================
   LOCATION SUMMARY
   ========================================================= */

.ad-location-summary {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-top: 14px;
    padding: 12px 14px;

    border: 1px solid #e2e8f0;
    border-radius: 9px;

    background: #f8fafc;
    color: #64748b;

    font-size: 13px;
}

.ad-location-summary i {
    color: #198754;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {

    .ad-map-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .ad-map-reset {
        align-self: flex-start;
    }

    .ad-location-map {
        height: 280px;
        min-height: 280px;
    }

}


/* =========================================================
   AD POST - STEP 5 / FINAL
   ========================================================= */

.ad-final-section {
    margin-top: 24px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.ad-final-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.ad-final-section-head h2 {
    margin: 0;
    color: #1f2937;
    font-size: 16px;
    font-weight: 700;
}

.ad-final-section-head p {
    margin: 4px 0 0;
    color: #94a3b8;
    font-size: 12px;
}

.ad-final-edit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;

    padding: 6px 10px;

    border: 1px solid #e2e8f0;
    border-radius: 7px;

    background: #fff;
    color: #64748b;

    font-size: 12px;
    font-weight: 600;
    text-decoration: none;

    transition:
        border-color .15s ease,
        color .15s ease,
        background .15s ease;
}

.ad-final-edit:hover {
    border-color: #198754;
    background: #f0fdf4;
    color: #198754;
}


/* =========================================================
   FINAL MEDIA
   ========================================================= */

.ad-final-media {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.ad-final-media-item {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;

    overflow: hidden;

    border: 1px solid #e5e7eb;
    border-radius: 10px;

    background: #f8fafc;
}

.ad-final-media-item img,
.ad-final-media-item video {
    display: block;

    width: 100% !important;
    height: 100% !important;

    max-width: 100%;

    object-fit: contain;
}

.ad-final-media-type {
    position: absolute;
    right: 8px;
    bottom: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    border-radius: 50%;

    background: rgba(15, 23, 42, .75);
    color: #fff;

    font-size: 11px;
}


/* =========================================================
   CATEGORY
   ========================================================= */

.ad-final-category {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 13px 14px;

    border-radius: 9px;

    background: #f8fafc;
    color: #475569;

    font-size: 13px;
}

.ad-final-category i {
    color: #198754;
}


/* =========================================================
   BASIC INFO
   ========================================================= */

.ad-final-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ad-final-info-row {
    padding: 14px;

    border: 1px solid #e5e7eb;
    border-radius: 9px;

    background: #f8fafc;
}

.ad-final-info-row > span {
    display: block;
    margin-bottom: 5px;

    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
}

.ad-final-info-row > strong {
    display: block;

    color: #1e293b;
    font-size: 14px;
    font-weight: 700;
}

.ad-final-price {
    color: #198754 !important;
    font-size: 17px !important;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.ad-final-description {
    margin-top: 12px;
    padding: 14px;

    border: 1px solid #e5e7eb;
    border-radius: 9px;

    background: #fff;
}

.ad-final-label {
    display: block;
    margin-bottom: 7px;

    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
}

.ad-final-description p {
    margin: 0;

    color: #475569;

    font-size: 13px;
    line-height: 1.65;

    white-space: normal;
    overflow-wrap: anywhere;
}


/* =========================================================
   FEATURE SUMMARY
   ========================================================= */

.ad-final-feature-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ad-final-feature-summary span {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 9px 12px;

    border-radius: 8px;

    background: #f8fafc;
    color: #475569;

    font-size: 12px;
}

.ad-final-feature-summary i {
    color: #198754;
}


/* =========================================================
   LOCATION
   ========================================================= */

.ad-final-location {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    padding: 14px;

    border-radius: 9px;

    background: #f8fafc;
}

.ad-final-location-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    width: 36px;
    height: 36px;

    border-radius: 50%;

    background: #ecfdf5;
    color: #198754;
}

.ad-final-location strong {
    display: block;

    color: #1e293b;

    font-size: 13px;
    font-weight: 700;
}

.ad-final-location p {
    margin: 4px 0 0;

    color: #64748b;

    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   FINAL NOTICE
   ========================================================= */

.ad-final-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin-top: 24px;
    padding: 14px;

    border: 1px solid #bbf7d0;
    border-radius: 10px;

    background: #f0fdf4;
}

.ad-final-notice > i {
    margin-top: 2px;

    color: #198754;
    font-size: 18px;
}

.ad-final-notice strong {
    display: block;

    color: #166534;

    font-size: 13px;
}

.ad-final-notice p {
    margin: 3px 0 0;

    color: #4b5563;

    font-size: 12px;
}


/* =========================================================
   PUBLISH BUTTON
   ========================================================= */

.ad-publish-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-width: 150px;
}


/* =========================================================
   FINAL MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .ad-final-section {
        padding: 15px;
    }

    .ad-final-media {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ad-final-info {
        grid-template-columns: 1fr;
    }

    .ad-final-section-head {
        gap: 10px;
    }

}


/* =========================================================
   AD POST SUCCESS
   ========================================================= */

.ad-success {
    padding: 36px 10px;
    text-align: center;
}

.ad-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 72px;
    height: 72px;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: #ecfdf5;
    color: #198754;

    font-size: 30px;
}

.ad-success h1 {
    margin: 8px 0 8px;

    font-size: 25px;
    font-weight: 800;

    color: #1e293b;
}

.ad-success > p {
    margin: 0 auto 24px;

    color: #64748b;
    font-size: 13px;
}

.ad-success-code {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;

    min-width: 180px;

    padding: 14px 24px;
    margin-bottom: 18px;

    border: 1px solid #d1fae5;
    border-radius: 10px;

    background: #f0fdf4;
}

.ad-success-code span {
    color: #64748b;

    font-size: 11px;
    font-weight: 600;
}

.ad-success-code strong {
    color: #198754;

    font-size: 18px;
    letter-spacing: .5px;
}

.ad-success-title {
    margin: 0 auto 26px;

    max-width: 500px;

    color: #334155;

    font-size: 14px;
    font-weight: 600;
}

.ad-success-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 10px;
}

.ad-success-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-width: 145px;
}

@media (max-width: 600px) {

    .ad-success {
        padding: 25px 0;
    }

    .ad-success-actions {
        flex-direction: column;
    }

    .ad-success-actions .btn {
        width: 100%;
    }

}


.support-card {
    max-width: 620px;
    margin: 32px auto 0;
    padding: 24px;
    background: #effcf4;
    border: 1px solid #ccebd7;
    border-radius: 14px;
    text-align: left;
}

.support-card-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
    color: #198754;
    font-size: 17px;
}

.support-card-title i {
    font-size: 18px;
}

.support-card-text {
    margin: 0 0 17px;
    color: #59636f;
    font-size: 13px;
    line-height: 1.7;
}

.support-iban-box {
    padding: 17px;
    background: #fff;
    border: 1px solid #d8dee5;
    border-radius: 9px;
}

.support-iban-label {
    margin-bottom: 10px;
    color: #77808c;
    font-size: 12px;
}

.support-iban-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.support-iban-row > strong {
    color: #374151;
    font-size: 14px;
    letter-spacing: .2px;
    word-break: break-word;
}

.support-copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 0 0 auto;
    padding: 9px 14px;
    background: #fff;
    color: #198754;
    border: 1px solid #d8dee5;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s ease;
}

.support-copy-btn:hover {
    background: #f3fbf6;
    border-color: #198754;
}

.support-details {
    margin-top: 17px;
    padding-top: 15px;
    border-top: 1px solid #edf0f2;
}

.support-details > div {
    display: flex;
    gap: 5px;
    margin-top: 5px;
    color: #667085;
    font-size: 12px;
}

.support-details strong {
    color: #4b5563;
}

@media (max-width: 600px) {

    .support-card {
        padding: 18px;
    }

    .support-iban-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .support-copy-btn {
        width: 100%;
    }

}


*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,sans-serif;color:var(--text);background:var(--bg);}
a{color:inherit;text-decoration:none}

/* Navbar */
.nav{
  position:sticky;top:0;z-index:50;background:rgba(255,255,255,.9);
  backdrop-filter:saturate(180%) blur(10px);border-bottom:1px solid #eee;
}
.nav .inner{display:flex;align-items:center;justify-content:space-between;height:64px}
.brand{display:flex;align-items:center;gap:12px}
.brand img {
    width: 150px;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.5));
    border-radius: 6px;
}
.brand .name{font-weight:800;font-size:18px;letter-spacing:.2px}
.actions{display:flex;align-items:center;gap:10px}

/* Hero */
.hero {
    padding: 40px 0 22px;
    background: linear-gradient(180deg, #fff 0, #fff 55%, #f8f9fb 100%);
    display: none;
}
.intro {
    font-size: 24px;
    font-weight: 400;
    margin: 3px 0 15px;
}

.title{font-size:28px;font-weight:800;margin:8px 0 6px}
.subtitle{color:var(--muted);font-size:15px}

/* Search card */
.search-card{
  margin-top:18px;background:var(--card);border:1px solid #eee;border-radius:var(--radius);
  padding:14px;box-shadow:0 8px 30px rgba(0,0,0,.06)
}
.search-row{display:grid;grid-template-columns:1.2fr 1fr 1fr 0.7fr 0.7fr auto;gap:10px}
.input,select{
  width:100%;padding:11px 12px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;font-size:14px
}
.search-btn{padding:11px 18px;border-radius:10px;border:0;background:var(--main);color:#fff;font-weight:700;cursor:pointer}
.search-btn:hover{filter:brightness(.95)}

/* Quick categories */
.section {
    padding: 15px 0 8px;
}
.section h3 {
    font-size: 18px;
    margin:0 0 14px;
}

.cat-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow: unset;
}
.cat-card {
    position: relative;
    width: auto;
    height: 100px;
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.25s ease;
    overflow: visible !important;
    cursor: pointer;
    z-index: 1;
    display: flex;
    justify-content: center;
    flex: 1;
    align-items: center;
}
.cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    z-index: 10;
}
.cat-card a {
    font-size: 14px;
    color: #5e6367 !important;
}
.cat-icon {
    width: 38px;
    height: 38px;
    object-fit: contain;
    display: block;
    margin: auto;
}
.subcat-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 9999;
    overflow: hidden;
}
.cat-card:hover .subcat-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.subcat-menu li {
    padding: 6px 10px;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0;
}
.subcat-menu li:last-child {
    border-bottom: none;
}
.subcat-menu a {
    color: #333;
    display: block;
    text-decoration: none;
}
.subcat-menu a:hover {
    color: #dc3545;
    background: #f9f9f9;
}

/* Cards grid */
.grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.card{
  background:var(--card);border:1px solid #eee;border-radius:16px;overflow:hidden;
  transition:transform .15s ease, box-shadow .15s ease
}
.card:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(0,0,0,.08)}
.thumb{
  display:block;
  background:#f1f1f1;
  height:160px;
  background: #fff;
  background-size:200% 200%
  animation:shine 1.8s ease-in-out infinite;
}
.card a {
    flex: 0 0 160px;
    text-decoration: none !important;
}
a {
    text-decoration: none !important;
}
@keyframes shine{0%{background-position:200% 0}100%{background-position:-200% 0}}
.content{padding:12px}
.meta{color:var(--muted);font-size:12px;margin-top:4px}

/* Footer */
.footer{padding:28px 0;color:#9aa2af;font-size:13px}

/* Responsive */
@media (max-width:1024px){
  .grid{grid-template-columns:repeat(3,1fr)}
  .cat-grid{grid-template-columns:repeat(3,1fr)}
  .search-row{grid-template-columns:1fr 1fr 1fr;gap:8px}
}
@media (max-width:640px){
  .grid{grid-template-columns:repeat(2,1fr)}
  .cat-grid{grid-template-columns:repeat(2,1fr)}
  .brand .name{display:none}
}

@media (max-width: 768px) {
  .hero {
    display: none;
  }
  .intro {
    font-size: 22px;
    margin: 0px 0 25px;
  }
  .real-estate {
    display: none;
  }
  .cat-icon {
      width: 28px;
      height: 28px;
  }
  .cat-card a {
      font-size: 10px;
  }
}
.hover-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.hover-card:hover { transform: scale(1.03); box-shadow: 0 6px 14px rgba(0,0,0,0.15); }
@media (max-width:768px) {
  .card.flex-row { flex-direction: column; }
  .card-img-left { width:100%!important; min-width:unset; }
}
.carousel-inner {
    height: 368px;
    display: flex;
    align-items: center;
}
.carousel-inner img {
    height: 368px;
    object-fit: contain;
}
@media (min-width: 768px) and (max-width: 1024px) {
    .carousel-inner {
        height: auto;
    }
    .carousel-inner img {
        height: auto;
    }
}
.carousel-control-prev-icon, .carousel-control-next-icon {
    filter: invert(1);
}
.kategori-menu {
    /*position: relative;*/
    border-radius: 10px;
    overflow: visible;
    box-shadow: var(--bs-box-shadow)!important;
    height: 368px;
    overflow: auto;
}
.kategori-menu .list-group-item {
    display: flex;
    justify-content: flex-start;
    background: #fff;
    border: none;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    padding: 12px 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: static;
    font-size: 14px;
    gap: 5px;
}
.kategori-menu .list-group-item:hover {
    color: #fff;
    background-color: #f55f18;
}
.kategori-link {
    text-decoration: none;
    color: #000;
    font-weight: 600;
    display: block;
}
.kategori-link:hover {
    color: #fff;
}
.alt-kategori-box {
    display: none;
    position: absolute;
    top: 0;
    left: 95%;
    width: 800px;
    height: 368px;
    /*background: #fff no-repeat center/cover;*/
    background: #fff no-repeat right/contain;
    /*background: rgba(255,255,255,0.75) no-repeat right/contain;*/
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    padding: 25px;
    list-style: none;
    z-index: 99;
    animation: fadeIn 0.3s ease;
    overflow: auto;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}
.kategori-menu .list-group-item:hover > .alt-kategori-box {
  display: block;
}
.alt-kategori-box li {
  margin-bottom: 10px;
}
.alt-kategori-box li a {
  color: #0097d7;
  text-decoration: none;
  font-size: 22px;
  font-weight: 400;
  transition: color 0.2s ease;
}
.alt-kategori-box li a:hover {
  color: #00000036;
}
.alt-kategori-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4; /* opacity burada */
  z-index: 0;
}
.alt-kategori-box * {
  position: relative;
  z-index: 1;
}


.grid {
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(250px,1fr));
    gap:20px
}
.card {
    border:none;
    border-radius:10px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 3px 10px rgba(0,0,0,.08);
    transition:.25s
}
.card:hover {
    transform:translateY(-3px)
}
.card img {
    width:100%;
    height:200px;
    object-fit:cover
}
.price {
    color:#e74c3c;
    font-weight:600;
    margin-top:6px;
    font-size:17px
}
.city {
    color:#777;
    font-size:12px;
    margin-bottom: 10px;
}
.breadcrumb-modern {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 15px;
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,.1);
    margin-top: 15px;
}
.breadcrumb-modern a {
    color:#e74c3c;
    font-weight:500;
    text-decoration:none
}
.breadcrumb-modern a:hover {
    text-decoration:underline
}
input {
    height: 44px;
}


.ad-container {
    margin: 40px auto;
    margin-top: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
@media (max-width:768px){
    .ad-container{
        width: -webkit-fill-available;
    }
}
.ad-image { width: 100%; height: 450px; object-fit: contain; }
.ad-body { 
    padding: 30px;
}
.ad-body a { 
    text-decoration: none;
}
.desc { margin-top: 20px; color: #333; line-height: 1.6; }
.share-buttons i {
    font-size: 1.5rem;
    margin-right: 8px;
    cursor: pointer;
    color: #444;
    transition: 0.3s;
    font-weight: 600;
}
.share-buttons i:hover { color: #e74c3c; transform: scale(1.1); }
.related h4 { margin-top: 40px; font-weight: 600; }
.related .card {
    border: none;
    border-radius: 10px;
    transition: 0.3s;
}
.related .card:hover { transform: scale(1.02); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.related .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.related .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.related .card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-img-top {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 8px 8px 0 0;
}
.map-container {
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  overflow: hidden;
  border-radius: 12px;
}
.seller-card {
  background: #fff;
  padding: 18px 22px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  line-height: 1.7;
  margin-top: 15px;
  font-size: 15px;
  transition: all 0.3s ease;
  border: 1px solid #eee;
}
.seller-card:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}
.seller-card strong {
  color: #333;
}
.seller-card a {
  color: #e74c3c;
  text-decoration: none;
  font-weight: 600;
}
.seller-card a:hover {
  text-decoration: underline;
}
.seller-info h4 {
  font-weight: 600;
  margin-bottom: 10px;
  color: #222;
}
@media (max-width: 768px) {
  .seller-card {
    font-size: 14px;
    padding: 14px 18px;
  }
}
.img-thumbnail.active-thumb {
  border: 3px solid #e74c3c;
  opacity: 1;
  transform: scale(1.05);
  transition: 0.2s ease;
}
.img-thumbnail {
  opacity: 0.8;
  transition: 0.2s ease;
}
.img-thumbnail:hover {
  opacity: 1;
}
.breadcrumb-modern {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
    width: 100%;
    margin: 10px auto;
    margin-bottom: 0px;
    overflow: auto;
    gap: 6px;
    font-size: 15px;
    background: #f8f9fa;
    padding: 16px 14px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
@media (max-width:768px){
    .breadcrumb-modern {
        width: -webkit-fill-available;
        padding: 4px 10px;
        font-size: 12px;
    }
}
.breadcrumb-modern a {
    color: #616d73;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
}
.breadcrumb-modern a:hover {
  color: #c0392b;
  transform: translateY(-1px);
}
.breadcrumb-modern span {
  color: #888;
  font-size: 16px;
}
.btn-panel {
  background: #e74c3c;
  color: #fff;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.2s;
}
.btn-panel:hover {
  filter: brightness(0.9);
}
.thumbs {
    display: flex;
    gap: 8px;
    justify-content: center;
}
.thumb {
  width: 90px; height: 70px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #000;
}
.thumb > img, .thumb > video {
  width: 100%; height: 100%;
  object-fit: contain; display: block;
}
.thumb video { pointer-events: none; }
.thumb video::-webkit-media-controls { display:none !important; }
.thumb video::-moz-media-controls { display:none !important; }
.thumb.active {
  border: 3px solid #e74c3c;
  opacity: 1;
  transform: scale(1.05);
  transition: 0.2s ease;
}
#detail,
#features {
  overflow-x: hidden;
  overflow-y: auto;
  max-width: 100%;
  word-wrap: break-word;
  min-height: 400px;
  max-height: 800px;
}
#detail img, 
#detail picture, 
#detail iframe, 
#detail video,
#features img,
#features picture,
#features iframe,
#features video {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 15px auto;
  border-radius: 8px;
}
#detail p,
#features p {
  margin-bottom: 12px;
  line-height: 1.6;
}
#detail table,
#features table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  display: block;
}
#detail td, 
#detail th,
#features td,
#features th {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}


.category-ads-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
}

@media (max-width: 1199.98px) {

    .category-ads-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}

@media (max-width: 767.98px) {

    .category-ads-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

}


.paint-map-container {
    background: #fffef7;
    border: 1px solid #ffeaa5;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.flex-grow-1 {
    flex-grow: 1!important;
    margin-left: 40px;
}
.part-list-orjinal {
    width: 400px;
}
@media (max-width: 768px) {
    .paint-map-container {
        flex-wrap: wrap-reverse;
        justify-content: center;
    }
    .flex-grow-1 {
        flex-grow: 0!important;
        margin-top: 10px;
        margin-left: 0px;
    }
    .part-list-orjinal {
        width: auto;
    }
}
.car-map {
    width: 300px;
    height: auto;
}
.car-part {
    fill: #d9d9d9; /* Orijinal: Gri */
    stroke: #aaa;
    stroke-width: 1.5;
    cursor: pointer;
    transition: fill 0.3s ease, transform 0.2s ease;
    transform-origin: center center;
}
.car-part:hover {
    transform: scale(1.10);
    z-index: 9999;
}
.part-list li {
  transition: transform 0.15s ease, color 0.15s ease;
  color: #7f7c78;
  cursor: pointer;
}
.part-list li.hovered {
  transform: scale(1.05);
  color: #12418b;
  font-weight: 600;
}
.legend span {
    margin-right: 15px;
    font-size: 13px;
}
.tooltip-part {
    display: none;
    position: absolute;
    top: 55px;
    left: 72px;
    width: 200px;
    background: rgba(20,20,20,0.9);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    pointer-events: none;
    z-index: 9999;
}
@media (max-width: 768px) {
    .tooltip-part {
        top: 45px;
        left: 70px;
    }
}

.btn-ad-git {
    display: flex;
    width: auto;
    margin-top: 8px;
    padding: 6px 12px;
    background-color: #f9b900;
    color: #fff;
    border-radius: 6px;
    font-size: 23px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: 0.2s ease;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.btn-ad-git:hover {
    background-color: #03A9F4;
}


/* =========================================================
   USER PANEL
   ========================================================= */

.user-panel {
    width: 100%;
    padding: 24px 16px;
}

.user-panel-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;

    display: flex;
    align-items: flex-start;
    gap: 24px;
}


/* SIDEBAR */

.user-sidebar {
    width: 230px;
    flex: 0 0 230px;

    background: #fff;

    border: 1px solid #e5e7eb;
    border-radius: 10px;

    overflow: hidden;
}

.user-sidebar-nav {
    padding: 8px;
}

.user-sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;

    width: 100%;

    padding: 11px 12px;

    color: #495057;

    font-size: 14px;
    font-weight: 500;

    text-decoration: none;

    border-radius: 7px;

    transition:
        background-color .15s ease,
        color .15s ease;
}

.user-sidebar-link i {
    width: 20px;
    text-align: center;
    color: #6c757d;
}

.user-sidebar-link:hover {
    background: #f5f6f7;
    color: #212529;
}

.user-sidebar-link.active {
    background: #f1f3f5;
    color: #dc3545;
    font-weight: 600;
}

.user-sidebar-link.active i {
    color: #dc3545;
}

.user-sidebar-divider {
    height: 1px;
    margin: 7px 4px;
    background: #e9ecef;
}

.user-sidebar-logout,
.user-sidebar-logout i {
    color: #dc3545;
}


/* CONTENT */

.user-panel-content {
    flex: 1;
    min-width: 0;
}

.user-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 20px;
    padding: 20px;

    background: #fff;

    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.user-page-header h1 {
    margin: 0 0 4px;

    font-size: 22px;
    font-weight: 700;
}

.user-page-header p {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
}


/* =========================================================
   USER PANEL MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .user-panel {
        padding: 12px;
    }

    .user-panel-container {
        display: block;
    }

    .user-sidebar {
        width: 100%;
        margin-bottom: 15px;
    }

    .user-sidebar-nav {
        display: flex;
        overflow-x: auto;
        gap: 4px;
    }

    .user-sidebar-link {
        width: auto;
        flex: 0 0 auto;

        padding: 9px 11px;

        white-space: nowrap;
    }

    .user-sidebar-divider {
        display: none;
    }

    .user-page-header {
        padding: 15px;
    }

}


/* =========================================================
   USER DASHBOARD
   ========================================================= */

.user-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 20px;
    margin-bottom: 20px;

    background: #fff;

    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.user-dashboard-profile {
    display: flex;
    align-items: center;
    gap: 14px;

    min-width: 0;
}

.user-dashboard-avatar {
    width: 58px;
    height: 58px;

    min-width: 58px;

    border-radius: 50%;

    object-fit: cover;
    object-position: center;

    border: 1px solid #e5e7eb;
}

.user-dashboard-profile h1 {
    margin: 0 0 4px;

    font-size: 21px;
    font-weight: 700;

    color: #212529;
}

.user-dashboard-profile p {
    margin: 0;

    font-size: 13px;

    color: #6c757d;
}

.user-dashboard-post-ad {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    flex: 0 0 auto;

    padding: 9px 14px;

    border-radius: 6px;

    background: #dc3545;
    color: #fff;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;
}

.user-dashboard-post-ad:hover {
    color: #fff;
    opacity: .9;
}


/* =========================================================
   STATISTICS
   ========================================================= */

.user-dashboard-stats {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 15px;

    margin-bottom: 20px;
}

.user-stat-card {
    display: flex;
    align-items: center;
    gap: 13px;

    min-width: 0;

    padding: 18px;

    background: #fff;

    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.user-stat-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #f5f6f7;

    font-size: 17px;

    color: #6c757d;
}

.user-stat-card > div:last-child {
    min-width: 0;
}

.user-stat-card span {
    display: block;

    margin-bottom: 2px;

    font-size: 12px;

    color: #6c757d;
}

.user-stat-card strong {
    display: block;

    font-size: 22px;
    line-height: 1.2;

    color: #212529;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.user-dashboard-section {
    padding: 20px;
    margin-bottom: 20px;

    background: #fff;

    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.user-dashboard-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 16px;
}

.user-dashboard-section-header h2 {
    margin: 0;

    font-size: 18px;
    font-weight: 700;

    color: #212529;
}

.user-dashboard-section-header p {
    margin: 3px 0 0;

    font-size: 13px;

    color: #6c757d;
}

.user-dashboard-section-header > a {
    flex: 0 0 auto;

    color: #6c757d;

    font-size: 13px;
    font-weight: 500;

    text-decoration: none;
}

.user-dashboard-section-header > a:hover {
    color: #212529;
}


/* =========================================================
   ADS
   ========================================================= */

.user-dashboard-ads {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 15px;
}

.user-dashboard-ad {
    min-width: 0;

    overflow: hidden;

    background: #fff;

    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.user-dashboard-ad-image {
    display: block;

    width: 100%;
    height: 145px;

    overflow: hidden;

    background: #f5f6f7;
}

.user-dashboard-ad-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

.user-dashboard-ad-body {
    padding: 12px;
}

.user-dashboard-ad-title {
    display: -webkit-box;

    overflow: hidden;

    min-height: 38px;

    color: #212529;

    font-size: 14px;
    font-weight: 600;
    line-height: 19px;

    text-decoration: none;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.user-dashboard-ad-title:hover {
    color: #dc3545;
}

.user-dashboard-ad-price {
    margin-top: 8px;

    color: #dc3545;

    font-size: 16px;
    font-weight: 700;
}

.user-dashboard-ad-location {
    margin-top: 8px;

    overflow: hidden;

    color: #6c757d;

    font-size: 12px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dashboard-ad-location i {
    margin-right: 3px;
}

.user-dashboard-ad-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;

    margin-top: 10px;
    padding-top: 9px;

    border-top: 1px solid #f0f0f0;

    color: #868e96;

    font-size: 11px;
}

.user-dashboard-ad-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}


/* =========================================================
   EMPTY
   ========================================================= */

.user-dashboard-empty {
    padding: 38px 20px;

    text-align: center;

    color: #6c757d;
}

.user-dashboard-empty > i {
    display: block;

    margin-bottom: 12px;

    font-size: 30px;
}

.user-dashboard-empty strong {
    display: block;

    margin-bottom: 4px;

    color: #343a40;
}

.user-dashboard-empty p {
    margin: 0 0 15px;

    font-size: 13px;
}

.user-dashboard-empty a {
    display: inline-flex;

    padding: 8px 14px;

    background: #dc3545;
    color: #fff;

    border-radius: 6px;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;
}


/* =========================================================
   QUICK ACTIONS
   ========================================================= */

.user-dashboard-actions {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 10px;
}

.user-dashboard-actions > a {
    display: flex;
    align-items: center;
    gap: 9px;

    padding: 13px;

    background: #f8f9fa;

    border: 1px solid #e9ecef;
    border-radius: 7px;

    color: #495057;

    font-size: 13px;
    font-weight: 500;

    text-decoration: none;
}

.user-dashboard-actions > a:hover {
    background: #f1f3f5;
    color: #212529;
}

.user-dashboard-actions i {
    width: 18px;

    text-align: center;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .user-dashboard-header {
        padding: 14px;
    }

    .user-dashboard-avatar {
        width: 46px;
        height: 46px;

        min-width: 46px;
    }

    .user-dashboard-profile h1 {
        font-size: 17px;
    }

    .user-dashboard-profile p {
        display: none;
    }

    .user-dashboard-post-ad {
        padding: 8px 10px;

        font-size: 12px;
    }


    .user-dashboard-stats {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 7px;
    }

    .user-stat-card {
        display: block;

        padding: 12px 8px;

        text-align: center;
    }

    .user-stat-icon {
        width: 34px;
        height: 34px;

        margin: 0 auto 7px;

        font-size: 14px;
    }

    .user-stat-card span {
        font-size: 10px;
    }

    .user-stat-card strong {
        font-size: 18px;
    }


    .user-dashboard-section {
        padding: 14px;
    }

    .user-dashboard-ads {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 9px;
    }

    .user-dashboard-ad-image {
        height: 120px;
    }

    .user-dashboard-ad-body {
        padding: 9px;
    }

    .user-dashboard-ad-title {
        min-height: 34px;

        font-size: 12px;
        line-height: 17px;
    }

    .user-dashboard-ad-price {
        font-size: 14px;
    }

    .user-dashboard-ad-meta {
        display: block;
    }

    .user-dashboard-ad-meta span {
        margin-right: 8px;
    }


    .user-dashboard-actions {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .user-dashboard-profile {
        gap: 9px;
    }

    .user-dashboard-avatar {
        width: 40px;
        height: 40px;

        min-width: 40px;
    }

    .user-dashboard-profile h1 {
        font-size: 15px;
    }

    .user-dashboard-post-ad span {
        display: none;
    }

}


/* =========================================================
   USER ADS
   ========================================================= */

.user-ads-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 20px;
    margin-bottom: 15px;

    background: #fff;

    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.user-ads-header h1 {
    margin: 0 0 4px;

    font-size: 22px;
    font-weight: 700;

    color: #212529;
}

.user-ads-header p {
    margin: 0;

    color: #6c757d;

    font-size: 13px;
}

.user-ads-new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    flex: 0 0 auto;

    padding: 9px 14px;

    background: #dc3545;
    color: #fff;

    border-radius: 6px;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;
}

.user-ads-new:hover {
    color: #fff;
    opacity: .9;
}


/* =========================================================
   FILTER
   ========================================================= */

.user-ads-filter {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 14px;
    margin-bottom: 10px;

    background: #fff;

    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.user-ads-search {
    position: relative;

    flex: 1;
    min-width: 0;
}

.user-ads-search > i {
    position: absolute;

    top: 50%;
    left: 13px;

    transform: translateY(-50%);

    color: #adb5bd;

    font-size: 13px;

    pointer-events: none;
}

.user-ads-search input {
    width: 100%;
    height: 40px;

    padding: 0 12px 0 37px;

    background: #fff;

    border: 1px solid #dee2e6;
    border-radius: 6px;

    outline: none;

    color: #212529;

    font-size: 13px;
}

.user-ads-search input:focus {
    border-color: #adb5bd;
}

.user-ads-status {
    width: 180px;
    height: 40px;

    padding: 0 10px;

    background: #fff;

    border: 1px solid #dee2e6;
    border-radius: 6px;

    color: #495057;

    font-size: 13px;

    outline: none;
}

.user-ads-filter-button {
    height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    padding: 0 14px;

    background: #343a40;
    color: #fff;

    border: 0;
    border-radius: 6px;

    font-size: 13px;
    font-weight: 500;

    cursor: pointer;
}

.user-ads-filter-clear {
    display: inline-flex;
    align-items: center;

    height: 40px;

    padding: 0 10px;

    color: #6c757d;

    font-size: 12px;

    text-decoration: none;
}


/* =========================================================
   RESULT
   ========================================================= */

.user-ads-result {
    display: flex;
    align-items: center;

    min-height: 35px;

    padding: 0 3px;

    color: #6c757d;

    font-size: 12px;
}

.user-ads-result strong {
    color: #343a40;
}


/* =========================================================
   LIST
   ========================================================= */

.user-ads-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.user-ad-item {
    display: grid;

    grid-template-columns:
        180px minmax(0, 1fr) 125px;

    min-height: 145px;

    overflow: hidden;

    background: #fff;

    border: 1px solid #e5e7eb;
    border-radius: 10px;
}


/* IMAGE */

.user-ad-image {
    position: relative;

    display: block;

    width: 180px;
    height: 100%;

    min-height: 145px;

    overflow: hidden;

    background: #f5f6f7;
}

.user-ad-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;
}

.user-ad-showcase {
    position: absolute;

    top: 8px;
    left: 8px;

    display: inline-flex;
    align-items: center;
    gap: 4px;

    padding: 4px 7px;

    background: rgba(33, 37, 41, .85);
    color: #fff;

    border-radius: 5px;

    font-size: 10px;
    font-weight: 600;
}


/* CONTENT */

.user-ad-content {
    min-width: 0;

    padding: 15px;
}

.user-ad-category {
    margin-bottom: 5px;

    overflow: hidden;

    color: #868e96;

    font-size: 11px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-ad-content h2 {
    margin: 0;
}

.user-ad-content h2 a {
    display: block;

    overflow: hidden;

    color: #212529;

    font-size: 16px;
    font-weight: 600;

    text-decoration: none;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-ad-content h2 a:hover {
    color: #dc3545;
}

.user-ad-price {
    margin-top: 8px;

    color: #dc3545;

    font-size: 17px;
    font-weight: 700;
}

.user-ad-location {
    margin-top: 8px;

    overflow: hidden;

    color: #6c757d;

    font-size: 12px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-ad-location i {
    margin-right: 3px;
}

.user-ad-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 11px;

    color: #868e96;

    font-size: 11px;
}

.user-ad-info > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.user-ad-status {
    padding: 3px 7px;

    background: #f1f3f5;

    border-radius: 4px;

    color: #495057;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.user-ad-actions {
    display: flex;
    flex-direction: column;

    border-left: 1px solid #f0f0f0;
}

.user-ad-action {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;

    width: 100%;

    padding: 0 14px;

    background: #fff;

    border: 0;
    border-bottom: 1px solid #f0f0f0;

    color: #495057;

    font-family: inherit;
    font-size: 12px;
    font-weight: 500;

    text-align: left;
    text-decoration: none;

    cursor: pointer;
}

.user-ad-action:last-child {
    border-bottom: 0;
}

.user-ad-action i {
    width: 15px;

    text-align: center;
}

.user-ad-action:hover {
    background: #f8f9fa;
    color: #212529;
}

.user-ad-delete {
    color: #dc3545;
}

.user-ad-delete:hover {
    background: #fff5f5;
    color: #dc3545;
}


/* =========================================================
   EMPTY
   ========================================================= */

.user-ads-empty {
    padding: 50px 20px;

    background: #fff;

    border: 1px solid #e5e7eb;
    border-radius: 10px;

    text-align: center;

    color: #6c757d;
}

.user-ads-empty > i {
    margin-bottom: 12px;

    font-size: 32px;

    color: #adb5bd;
}

.user-ads-empty h2 {
    margin: 0 0 5px;

    color: #343a40;

    font-size: 18px;
}

.user-ads-empty p {
    margin: 0 0 15px;

    font-size: 13px;
}

.user-ads-empty a {
    display: inline-flex;

    padding: 8px 14px;

    background: #dc3545;
    color: #fff;

    border-radius: 6px;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.user-ads-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    margin-top: 20px;
}

.user-ads-page {
    min-width: 35px;
    height: 35px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 8px;

    background: #fff;

    border: 1px solid #dee2e6;
    border-radius: 5px;

    color: #495057;

    font-size: 12px;
    font-weight: 500;

    text-decoration: none;
}

.user-ads-page:hover {
    background: #f8f9fa;
    color: #212529;
}

.user-ads-page.active {
    background: #343a40;
    border-color: #343a40;
    color: #fff;
}

.user-ads-page-dots {
    padding: 0 4px;

    color: #868e96;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .user-ad-item {
        grid-template-columns:
            150px minmax(0, 1fr) 110px;
    }

    .user-ad-image {
        width: 150px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .user-ads-header {
        padding: 14px;
    }

    .user-ads-header h1 {
        font-size: 18px;
    }

    .user-ads-header p {
        font-size: 11px;
    }

    .user-ads-new {
        padding: 8px 10px;

        font-size: 12px;
    }


    .user-ads-filter {
        display: grid;

        grid-template-columns:
            minmax(0, 1fr) auto;

        gap: 8px;

        padding: 10px;
    }

    .user-ads-search {
        grid-column: 1 / -1;
    }

    .user-ads-status {
        width: 100%;
    }

    .user-ads-filter-clear {
        grid-column: 1 / -1;

        justify-content: center;

        height: 30px;
    }


    .user-ad-item {
        grid-template-columns:
            110px minmax(0, 1fr);

        min-height: 125px;
    }

    .user-ad-image {
        width: 110px;
        min-height: 125px;
    }

    .user-ad-content {
        padding: 11px;
    }

    .user-ad-category {
        font-size: 10px;
    }

    .user-ad-content h2 a {
        font-size: 13px;
    }

    .user-ad-price {
        margin-top: 6px;

        font-size: 14px;
    }

    .user-ad-location {
        margin-top: 6px;

        font-size: 10px;
    }

    .user-ad-info {
        gap: 8px;

        margin-top: 7px;

        font-size: 10px;
    }


    .user-ad-actions {
        grid-column: 1 / -1;

        flex-direction: row;

        border-top: 1px solid #f0f0f0;
        border-left: 0;
    }

    .user-ad-action {
        justify-content: center;

        min-height: 38px;

        padding: 7px;

        border-right: 1px solid #f0f0f0;
        border-bottom: 0;
    }

    .user-ad-action:last-child {
        border-right: 0;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .user-ads-header p {
        display: none;
    }

    .user-ad-item {
        grid-template-columns:
            95px minmax(0, 1fr);
    }

    .user-ad-image {
        width: 95px;
    }

    .user-ad-info {
        display: none;
    }

    .user-ad-action span {
        font-size: 11px;
    }

}


/* =========================================================
   USER COMMON PAGES
   ========================================================= */

.user-page-card {
    padding: 20px;

    background: #fff;

    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.user-page-empty {
    padding: 45px 20px;

    text-align: center;

    color: #6c757d;
}

.user-page-empty > i {
    display: block;

    margin-bottom: 12px;

    color: #adb5bd;

    font-size: 32px;
}

.user-page-empty h2 {
    margin: 0 0 6px;

    color: #343a40;

    font-size: 18px;
    font-weight: 600;
}

.user-page-empty p {
    margin: 0;

    font-size: 13px;
}


/* PROFILE */

.user-profile-simple {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-profile-simple-photo {
    width: 80px !important;
    height: 80px !important;

    min-width: 80px !important;
    max-width: 80px !important;

    min-height: 80px !important;
    max-height: 80px !important;

    object-fit: cover;
    object-position: center;

    border-radius: 50%;

    border: 1px solid #e5e7eb;
}

.user-profile-simple h2 {
    margin: 0 0 5px;

    color: #212529;

    font-size: 19px;
}

.user-profile-simple p {
    margin: 0;

    color: #6c757d;

    font-size: 13px;
}


/* MOBILE */

@media (max-width: 767.98px) {

    .user-page-card {
        padding: 14px;
    }

    .user-page-empty {
        padding: 35px 10px;
    }

    .user-profile-simple-photo {
        width: 60px !important;
        height: 60px !important;

        min-width: 60px !important;
        max-width: 60px !important;

        min-height: 60px !important;
        max-height: 60px !important;
    }

    .user-profile-simple h2 {
        font-size: 16px;
    }

}


/* =========================================================
   PWA KURULUM BANNER
========================================================= */

.pwa-install-banner[hidden] {
    display: none !important;
}

.pwa-install-banner {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;

    width: min(420px, calc(100% - 32px));
    min-height: 76px;
    padding: 12px;

    display: flex;
    align-items: center;
    gap: 12px;

    border: 1px solid #282828;
    border-radius: 18px;

    background: #111;
    color: #fff;

    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.35);
}

.pwa-install-content {
    min-width: 0;
    flex: 1;

    display: flex;
    align-items: center;
    gap: 11px;
}

.pwa-install-content img {
    width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px;

    border-radius: 12px;
    object-fit: cover;
}

.pwa-install-content div {
    min-width: 0;
}

.pwa-install-content b,
.pwa-install-content small {
    display: block;
}

.pwa-install-content b {
    margin-bottom: 3px;
    color: #fff;
    font-size: 14px;
}

.pwa-install-content small {
    color: #aaa;
    font-size: 11px;
    line-height: 1.4;
}

.pwa-install-button {
    flex: none;
    padding: 9px 14px;

    border: 0;
    border-radius: 10px;

    background: #c20d3d;
    color: #fff;

    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.pwa-install-close {
    width: 30px;
    height: 30px;
    flex: none;

    display: grid;
    place-items: center;

    padding: 0;
    border: 0;
    border-radius: 50%;

    background: #252525;
    color: #ccc;

    cursor: pointer;
}

@media (max-width: 650px) {
    .pwa-install-banner {
        right: 10px;

        /* Mobil alt menünün üzerinde */
        bottom: calc(74px + env(safe-area-inset-bottom));

        width: calc(100% - 20px);
        padding: 10px;
        border-radius: 15px;
    }

    .pwa-install-content img {
        width: 42px !important;
        height: 42px !important;
        flex-basis: 42px;
    }

    .pwa-install-content small {
        max-width: 155px;
    }

    .pwa-install-button {
        padding: 8px 11px;
    }
}

@media (max-width: 650px) {
    body:has(.pwa-install-banner:not([hidden])) {
        padding-bottom:
            calc(100px + env(safe-area-inset-bottom));
    }
}

.pc-notification-enable {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 9999;

    gap: 8px;

    padding: 10px 16px;
    border: 0;
    border-radius: 10px;

    background: var(--pg-primary, #c20d3d);
    color: #fff;

    font: inherit;
    font-weight: 600;
    cursor: pointer;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.pc-notification-enable:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.pc-notification-enable:active {
    transform: translateY(0);
}

.pc-notification-enable:disabled {
    opacity: 0.55;
    cursor: wait;
}

.pc-notification-enable[hidden] {
    display: none !important;
}

.pc-notification-enable i {
    font-size: 16px;
}

@media (max-width: 650px) {
    .pc-notification-enable {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: calc(
            10px + env(safe-area-inset-bottom)
        );

        width: auto;
        max-width: none;
        box-sizing: border-box;
        z-index: 9999;
    }
}