
/* İNDEX KOD BAŞLANGIÇ*/
 
 
    .web-premium-container {
        --primary-accent: #2b59ff;
        --soft-bg: #f4f7ff;
        --dark-slate: #1e293b;
        --muted-gray: #64748b;
        --border-light: #f1f5f9;
        
        max-width: 1400px;
        margin: 0 auto;
        font-family: 'Inter', -apple-system, sans-serif;
        padding: 40px 20px;
        color: var(--dark-slate);
    }

    /* Üst Bilgilendirme Kartları */
    .premium-info-grid {
        background-color: var(--soft-bg);
        border-radius: 20px;
        padding: 40px 30px;
        display: flex;
        justify-content: space-between;
        gap: 25px;
        margin-bottom: 50px;
    }

    .info-block {
        display: flex;
        align-items: center; /* İkonu metinle ortalar */
        gap: 15px;
        flex: 1;
    }

    .info-block svg {
        width: 40px;
        height: 40px;
        color: var(--primary-accent);
        flex-shrink: 0;
    }

    .info-detail h3 {
        margin: 0 0 4px 0;
        font-size: 16px;
        font-weight: 700;
        white-space: nowrap; /* Yazıların yan yana kalmasını sağlar */
    }

    .info-detail p {
        margin: 0;
        font-size: 13px;
        color: var(--muted-gray);
        line-height: 1.4;
    }

    /* Başlık ve Yönlendirme */
    .portal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
        padding: 0 5px;
    }

    .portal-header h2 {
        font-size: 24px;
        font-weight: 800;
        margin: 0;
    }

    .link-all-cats {
        color: var(--primary-accent);
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    /* Kategori Kartları (Yatay Düzen) */
    .category-mosaic-wrapper {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 15px;
    }

    .cat-item-box {
        background: #ffffff;
        border: 1px solid var(--border-light);
        border-radius: 12px;
        padding: 15px 20px;
        display: flex;
        align-items: center; /* İkon sola, metin sağa */
        gap: 12px;
        text-decoration: none;
        transition: all 0.3s ease;
        min-width: 0; /* İçeriğin taşmasını önler */
    }

    .cat-item-box:hover {
        border-color: var(--primary-accent);
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(43, 89, 255, 0.06);
    }

    .cat-img-shell {
        background-color: #f8fafc;
        width: 45px;
        height: 45px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .cat-img-shell img {
        width: 24px;
        height: 24px;
        object-fit: contain;
    }

    .cat-text-group {
        display: flex;
        flex-direction: column;
        overflow: hidden; /* Taşmayı engeller */
    }

    .cat-label {
        font-weight: 700;
        font-size: 15px;
        color: var(--dark-slate);
        white-space: nowrap; /* Tek satırda tutar */
    }

    .cat-count-info {
        font-size: 12px;
        color: var(--muted-gray);
        white-space: nowrap;
    }

    /* Mobil Düzenleme */
    @media (max-width: 1200px) {
        .category-mosaic-wrapper { grid-template-columns: repeat(3, 1fr); }
        .premium-info-grid { flex-wrap: wrap; }
    }
    @media (max-width: 640px) {
        .category-mosaic-wrapper { grid-template-columns: repeat(2, 1fr); }
    }
 

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
}

#productWrapper {
    width: 100%;
}
 
.showcase-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 0;      
    margin: 0;
    width: 100%;
}

.item-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Elemanları en yukarıdan başlayarak ardı ardına dizer */
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #222222;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    height: 100%;
}

.item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
 
.card-media {
    position: relative;
    width: 100%;
    /* GÖRSEL BURADA UFALTILDI: Aspect-ratio 1/1 yerine 4/3 yapılarak dikey yükseklik azaltıldı */
    aspect-ratio: 4 / 3;     
    overflow: hidden;
    background-color: #f7f7f7;
}

.card-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Rozet Taşıyıcı */
.badge-ribbons {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.ribbon-vip, .ribbon-featured {
    font-size: 11px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 6px;
    color: #fff;
}

.ribbon-vip {
    background: #ffb100;
}

.ribbon-featured {
    background: #007bff;
}

.bookmark-action {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: background 0.2s, color 0.2s;
    color: #ff3b4d;
}

.bookmark-action:hover {
    background: #ffffff;
    color:#0061ff;
}

/* ===== İÇERİK ALANI (TÜM BOŞLUKLAR SIFIRLANDI) ===== */
.card-details {
    padding: 8px 12px 12px 12px; /* Üst boşluk azaltıldı, alt ve yanlar korundu */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 2px; /* Başlık, fiyat ve konum arasındaki minimum boşluk */
}

.item-heading {
    font-size: 15px;
    font-weight: 400;
    color: #222222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    margin: 0 !important; /* Tarayıcıların verdiği tüm varsayılan boşlukları sıfırlar */
    padding: 0;
    line-height: 1.2;
}

.item-price-tag {
    font-size: 20px;
    font-weight: 800;
    color: #000000;  
    display: block;
    margin: 0 !important; /* Tüm dış boşluklar sıfırlandı */
    padding: 0;
    line-height: 1.2;
}

/* Alt Bilgiler Satırı */
.meta-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 0 !important; /* Konumu en alta iten 'auto' değeri kaldırıldı, direkt fiyata yapışacak */
    padding-top: 2px; /* Fiyat ile konum arasındaki ince çizgi/boşluk hassasiyeti */
}

.meta-geo {
    font-size: 13px;
    color: #888888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 !important;
    padding: 0;
}

.meta-date {
    font-size: 11px;
    color: #999;
    white-space: nowrap;
    margin: 0 !important;
    padding: 0;
}

/* ===== MEDYA SORGULARI ===== */
@media(max-width: 992px) {
    .showcase-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

@media(max-width: 768px) {
    .showcase-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .item-price-tag {
        font-size: 17px;
    }
    .item-heading {
        font-size: 14px;
    }
}

@media(max-width: 480px) {
    .showcase-container {
        gap: 6px;
    }
    .card-details {
        padding: 6px 8px;
        gap: 1px; /* Mobilde neredeyse sıfıra yakın boşluk */
    }
}
.loc-wrap{position:relative;display:inline-block;font-family:Arial}
.loc-btn{display:flex;align-items:center;gap:6px;padding:8px 10px;border:1px solid #ddd;border-radius:8px;background:#fff;cursor:pointer}
.loc-panel{position:absolute;top:100%;left:0;width:340px;max-width:95vw;background:#fff;border:1px solid #eee;display:none;z-index:9999}
.loc-panel.active{display:block}

.loc-top{display:flex;justify-content:space-between;padding:10px;border-bottom:1px solid #eee}
.loc-x{cursor:pointer;font-size:18px}
.list{max-height:420px;overflow:auto}

.selected{padding:10px;background:#eef6ff;border-bottom:1px solid #eee;display:flex;justify-content:space-between;align-items:center}

.loc-item{padding:10px;display:flex;justify-content:space-between;cursor:pointer}
.loc-item:hover{background:#f6f6f6}
    .dropdown-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 9999;
        min-width: 200px;
        background: #fff;
        border: 1px solid #ddd;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        margin-top: 5px;
        border-radius: 4px;
        
        /* Sadece bu iki satır eklendi */
        max-height: 300px;
        overflow-y: auto;
    }

    .dropdown-list.open {
        display: block;
    }

    .dropdown-list a {
        display: block;
        padding: 10px 15px;
        text-decoration: none;
        color: #333;
        font-family: sans-serif;
        font-size: 14px;
        border-bottom: 1px solid #f5f5f5;
    }

    .dropdown-list a:hover {
        background-color: #f8f8f8;
    }
.dark-mode-container{
    display:flex;
    align-items:center;
    gap:10px;
}

/* SWITCH YAN YANA KALSIN */
.switch{
    position:relative;
    display:inline-flex;
    align-items:center;
}

/* SLIDER */
.slider-round{
    width:42px;
    height:22px;
    background:#9ca3af; /* kapalı = gri */
    border-radius:34px;
    display:inline-block;
    position:relative;
    transition:.3s;
    cursor:pointer;
}

.slider-round:before{
    content:"";
    position:absolute;
    width:16px;
    height:16px;
    left:3px;
    bottom:3px;
    background:#fff;
    border-radius:50%;
    transition:.3s;
}

/* AÇIK DURUM */
#darkModeToggle:checked + .slider-round{
    background:#0061ff;
}

#darkModeToggle:checked + .slider-round:before{
    transform:translateX(20px);
}
.search-wrapper{
    position: sticky;
    top: 65px;
    z-index: 999;
    background: #fff;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.search-box{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-box input{
    flex: 1;
    height: 44px;
    border: 1px solid #ddd;
    outline: none;
    border-radius: 25px;
    padding: 0 15px;
    background: #f5f5f5;
}

.search-box .search-btn{
width: 35px;
    height: 35px;
    background:#1f6feb;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
}

 
@media (min-width: 768px) {
    .search-wrapper{
        display: none;
    }
}
 

/* ===== DARK MODE ===== */
body.dark {
    background:#121212;
    color:#eee;
}

body.dark .card,
body.dark .cat-box {
    background:#1e1e1e;
}

body.dark .location {
    color:#aaa;
}

/* ===== HERO ===== */
.hero {
    position:relative;
    background:linear-gradient(135deg,#ff3b4d,#ff6b81);
    border-radius:20px;
    padding:50px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    color:#fff;
    margin:25px 0;
    min-height:420px;
    overflow:hidden;
}

.hero-text {
    max-width:500px;
    z-index:2;
}

.hero-text h1 {
    font-size:42px;
    font-weight:700;
}

.hero-text p {
    margin:15px 0;
    font-size:16px;
    opacity:0.9;
}

/* BUTTON */
.btn-primary {
    display:inline-flex;
    align-items:center;
    padding:12px 22px;
    background:#fff;
    color:#ff3b4d;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
}

.btn-primary:hover {
    background:#f02f42;
    color:#fff;
}

/* HERO IMAGE */
.hero-car {
    position:absolute;
    right:0;
    bottom:0;
    height:100%;
    max-height:380px;
    object-fit:contain;
}

/* ===== CATEGORY ===== */
.cat-slider {
    position:relative;
    display:flex;
    align-items:center;
    background:#f5f6f8;
    padding:15px 40px;
    border-radius:12px;
}

.categories-wrapper {
    overflow-x:auto;
    width:100%;
    scrollbar-width: none;
}

.categories {
    display:flex;
    gap:15px;
}

.cat-box {
    flex:0 0 110px;
    height:110px;
    background:#fff;
    border-radius:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid #eee;
    transition:0.2s;
}

.cat-box:hover {
    transform:translateY(-5px);
}

.cat-link {
    text-decoration:none;
    color:#444;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:6px;
}

.cat-icon img {
    width:40px;
    height:40px;
    object-fit:contain;
}

.cat-name {
    font-size:13px;
    text-align:center;
}

/* ===== GRID ===== */
.grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
    margin-top:20px;
}

.card {
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    transition:0.2s;
}

.card:hover {
    transform:translateY(-5px);
}

.card img {
    width:100%;
    height:180px;
    object-fit:cover;
}

.card-body {
    padding:10px;
}

.price {
    font-weight:bold;
    margin-top:5px;
    color:#212529;
}

.location {
    font-size:13px;
    opacity:0.7;
}

/* ARROWS */
.cat-arrow {
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:35px;
    height:35px;
    border-radius:50%;
    border:none;
    cursor:pointer;
    background:#fff;
}

.cat-arrow.left { left:5px; }
.cat-arrow.right { right:5px; }

/* ===== MOBILE ===== */
@media(max-width:768px){

    .hero {
        flex-direction:column;
        text-align:center;
        padding:30px 20px;
        min-height:auto;
    }

    .hero-text h1 {
        font-size:28px;
    }

    .hero-car {
        position:relative;
        height:200px;
        margin-top:20px;
    }

    .grid {
        grid-template-columns:repeat(2,1fr);
    }

    .cat-box {
        flex:0 0 90px;
        height:90px;
    }
}

.location-bar {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    margin-bottom: 0px;
}

.loc-text {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.loc-icon-bg {
    width: 50px;
    height: 50px;
    background: rgba(0,97,255,0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 22px;
}

.loc-text h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.loc-text p {
    font-size: 13px;
    color: #999;
}

.loc-fields {
    display: flex;
    gap: 15px;
    flex: 2;
}
.btn-loc-submit {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0 35px;
    border-radius: 12px;
    font-weight: 700;
    height: 50px;
    cursor: pointer;
}
.loc-fields select {
    flex: 1;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    font-size: 14px;
    color: var(--text-dark);
    outline: none;
}

.btn-loc-submit {
    background: #0061ff;
    color: white;
    border: none;
    padding: 0 35px;
    border-radius: 12px;
    font-weight: 700;
    height: 50px;
    cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {
    .location-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .loc-fields {
        flex-direction: column;
    }

    .btn-loc-submit {
        width: 100%;
    }
}
.fav-btn{
    position:absolute;
    top:10px;
    right:10px;
    width:36px;
    height:36px;
    border-radius:50%;
    border:none;
    background:#fff;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:10;
}

.fav-btn i{
    font-size:16px;
    color:#444;
}

.fav-btn.active i{
    color:#1f5eff;
}
.konum {
display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #888;
    line-height: 1.2;
}
.header-bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:10px 14px;
    font-family:'Inter',sans-serif;
    max-width:1300px;
    margin:0 auto;
    box-sizing:border-box;
}

/* SOL BUTON */
.cat-trigger{
    background:#0061ff;
    color:#fff;
    padding:10px 16px;
    border-radius:10px;
    border:none;
    font-weight:700;
    display:flex;
    align-items:center;
    gap:8px;
    cursor:pointer;
    white-space:nowrap;
    flex-shrink:0;
}

/* ORTA MENÜ */
.nav-links{
    display:flex;
    align-items:center;
    gap:8px;
    list-style:none;
    margin:0;
    padding:0;
    flex:1;
    min-width:0;
    overflow-x:auto;
}

.nav-links::-webkit-scrollbar{ display:none; }

.nav-link-item{
    display:flex;
    align-items:center;
    gap:6px;
    padding:7px 12px;
    background:#fff;
    border:1px solid #eee;
    border-radius:12px;
    text-decoration:none;
    color:#1f2937;
    font-size:13px;
    font-weight:600;
    white-space:nowrap;
    flex-shrink:0;
}

.nav-link-item i{
    color:#0061ff;
    font-size:14px;
}

.nav-link-item:hover{
    border-color:#0061ff;
    background:#f0f7ff;
}

/* DARK MODE */
.dark-mode-container{
    display:flex;
    align-items:center;
    gap:8px;
    flex-shrink:0;
}

/* TOGGLE */
.switch{
    position:relative;
    display:inline-block;
    width:42px;
    height:22px;
}

.switch input{
    opacity:0;
    width:0;
    height:0;
}

.slider-round{
    position:absolute;
    cursor:pointer;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background:#0061ff;
    border-radius:34px;
    transition:.3s;
}

.slider-round:before{
    position:absolute;
    content:"";
    height:16px;
    width:16px;
    left:3px;
    bottom:3px;
    background:#fff;
    border-radius:50%;
    transition:.3s;
}

input:checked + .slider-round:before{
    transform:translateX(20px);
}

/* DARK MODE SUPPORT */
body.dark-mode .nav-link-item{
    background:#1e1e1e;
    border-color:#333;
    color:#e0e0e0;
}

@media (max-width: 992px){


    .web-premium-container {
        --primary-accent: #2b59ff;
        --soft-bg: #f4f7ff;
        --dark-slate: #1e293b;
        --muted-gray: #64748b;
        --border-light: #f1f5f9;
        
        max-width: 1400px;
        margin: 0 auto;
        font-family: 'Inter', -apple-system, sans-serif;
        padding: 40px 20px;
        color: var(--dark-slate);
    }

    /* Üst Bilgilendirme Kartları */
    .premium-info-grid {
        background-color: var(--soft-bg);
        border-radius: 20px;
        padding: 40px 30px;
        display: flex;
        justify-content: space-between;
        gap: 25px;
        margin-bottom: 0px;
    }

    .info-block {
        display: flex;
        align-items: center; /* İkonu metinle ortalar */
        gap: 15px;
        flex: 1;
    }

    .info-block svg {
        width: 40px;
        height: 40px;
        color: var(--primary-accent);
        flex-shrink: 0;
    }

    .info-detail h3 {
        margin: 0 0 4px 0;
        font-size: 16px;
        font-weight: 700;
        white-space: nowrap; /* Yazıların yan yana kalmasını sağlar */
    }

    .info-detail p {
        margin: 0;
        font-size: 13px;
        color: var(--muted-gray);
        line-height: 1.4;
    }

    /* Başlık ve Yönlendirme */
    .portal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
        padding: 0 5px;
    }

    .portal-header h2 {
        font-size: 24px;
        font-weight: 800;
        margin: 0;
    }

    .link-all-cats {
        color: var(--primary-accent);
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    /* Kategori Kartları (Yatay Düzen) */
    .category-mosaic-wrapper {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 15px;
    }

    .cat-item-box {
        background: #ffffff;
        border: 1px solid var(--border-light);
        border-radius: 12px;
        padding: 15px 20px;
        display: flex;
        align-items: center; /* İkon sola, metin sağa */
        gap: 12px;
        text-decoration: none;
        transition: all 0.3s ease;
        min-width: 0; /* İçeriğin taşmasını önler */
    }

    .cat-item-box:hover {
        border-color: var(--primary-accent);
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(43, 89, 255, 0.06);
    }

    .cat-img-shell {
        background-color: #f8fafc;
        width: 45px;
        height: 45px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .cat-img-shell img {
        width: 24px;
        height: 24px;
        object-fit: contain;
    }

    .cat-text-group {
        display: flex;
        flex-direction: column;
        overflow: hidden; /* Taşmayı engeller */
    }

    .cat-label {
        font-weight: 700;
        font-size: 15px;
        color: var(--dark-slate);
        white-space: nowrap; /* Tek satırda tutar */
    }

    .cat-count-info {
        font-size: 12px;
        color: var(--muted-gray);
        white-space: nowrap;
    }

    /* Mobil Düzenleme */
    @media (max-width: 1200px) {
        .category-mosaic-wrapper { grid-template-columns: repeat(3, 1fr); }
        .premium-info-grid { flex-wrap: wrap; }
    }
    @media (max-width: 640px) {
        .category-mosaic-wrapper { grid-template-columns: repeat(2, 1fr); }
    }


/* İNDEX KOD SON */