/* ============================================
   YEDEK PARÇA MODÜLÜ - ANA CSS DOSYASI
   ============================================ */

/* ============================================
   LİSTE SAYFASI STİLLERİ
   ============================================ */

/* Ana Container */
.yedek-parca-main-div {
    width: 100%;
    padding: 60px 0;
    min-height: 100vh;
}

.yedek-parca-main-div .container {
    max-width: 1400px;
}

.yedek-parca-main-div h1 {
    font-size: 36px;
    margin-bottom: 30px;
    text-align: center;
}

/* Liste Grid - 3 Sütun */
.yedek-parca-liste-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

/* Filtre Alanı */
.yedek-parca-filter {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.yedek-parca-filter .form-control {
    height: 45px;
    border-radius: 8px;
    border: 2px solid #ecf0f1;
    transition: all 0.3s ease;
}

.yedek-parca-filter .form-control:focus {
    border-color: #44434B;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.yedek-parca-filter .btn-primary {
    height: 45px;
    border-radius: 8px;
    background: linear-gradient(135deg, #44434B 0%, #44434B 100%);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.yedek-parca-filter .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Ürün Kartı */
.yedek-parca-box {
    width: 100%;
    max-width: 100%;
    margin: 0 0 30px 0;
    display: inline-block;
}

.yedek-parca-box-in {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.yedek-parca-box-in:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Stok Badge */
.stok-badge {
    position: absolute;
    top: 20px;
    left: -35px;
    background: rgba(231, 76, 60, 0.95);
    color: white;
    padding: 8px 40px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transform: rotate(-45deg);
    transform-origin: center;
}

/* Görsel Alanı */
.yedek-parca-img {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #f8f9fa;
}

.yedek-parca-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.yedek-parca-box-in:hover .yedek-parca-img img {
    transform: scale(1.1);
}

.yedek-parca-img .ovrly {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    transition: all 0.3s ease;
}

.yedek-parca-box-in:hover .yedek-parca-img .ovrly {
    background: rgba(0,0,0,0.3);
}

/* Butonlar */
.yedek-parca-img .buttons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 5;
}

.yedek-parca-box-in:hover .yedek-parca-img .buttons {
    opacity: 1;
}

.yedek-parca-img .buttons .text {
    padding: 12px 25px;
    background: white;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.yedek-parca-img .buttons .text:hover {
    background: linear-gradient(135deg, #44434B 0%, #44434B 100%);
    color: white;
    transform: translateY(-2px);
}

.yedek-parca-img .buttons .text i {
    margin-right: 5px;
}

/* İçerik Alanı */
.yedek-parca-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Parça Kodu */
.parca-kodu {
    font-size: 13px;
    color: #7f8c8d;
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

.parca-kodu i {
    margin-right: 5px;
    color: #44434B;
}

/* Başlık */
.yedek-parca-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    min-height: 50px;
}

.yedek-parca-content h3 a {
    color: #2c3e50;
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.yedek-parca-content h3 a:hover {
    color: #44434B;
}

/* Kategori ve Marka */
.kategori-info,
.marka-info {
    font-size: 14px;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 700;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 8px;
    display: inline-block;
}

.kategori-info i,
.marka-info i {
    margin-right: 5px;
    color: #44434B;
}

/* Ana Sayfa Marka */
.yedek-parca-marka {
    font-size: 14px;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 700;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 8px;
    display: inline-block;
}

.yedek-parca-marka i {
    margin-right: 5px;
    color: #44434B;
}

/* Fiyat */
.fiyat-eski {
    font-size: 14px;
    color: #95a5a6;
    text-decoration: line-through;
    display: block;
    margin-bottom: 5px;
}

.fiyat-yeni {
    font-size: 26px;
    font-weight: 800;
    color: #27ae60;
    margin-top: 10px;
}

/* Buton Alanı */
.btn-actions {
    padding: 15px;
    border-top: 2px solid #ecf0f1;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-siparis,
.btn-whatsapp {
    flex: 1;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 120px;
}

.btn-siparis {
    background: linear-gradient(135deg, #44434B 0%, #44434B 100%);
    color: white;
}

.btn-siparis:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

.btn-siparis i,
.btn-whatsapp i {
    margin-right: 5px;
}

/* Sayfalama */
.pagination {
    margin-top: 40px;
}

.pagination .page-link {
    border-radius: 8px;
    margin: 0 5px;
    border: 2px solid #ecf0f1;
    color: #2c3e50;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #44434B 0%, #44434B 100%);
    border-color: #44434B;
    color: white;
}

.pagination .page-link:hover {
    background: #f8f9fa;
    border-color: #44434B;
    color: #44434B;
}

/* Responsive - Liste Sayfası */
@media (max-width: 1200px) {
    .yedek-parca-liste-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .yedek-parca-main-div h1 {
        font-size: 28px;
    }
    
    .yedek-parca-liste-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .yedek-parca-box {
        max-width: 100%;
    }
    
    .yedek-parca-img {
        height: 220px;
    }
    
    .btn-actions {
        flex-direction: column;
    }
    
    .btn-siparis,
    .btn-whatsapp {
        width: 100%;
    }
}


/* ============================================
   ANA SAYFA MODÜLÜ STİLLERİ
   ============================================ */

/* Ana Container */
.yedek-parca-home-main {
    width: 100%;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.products-home-main-div-inside {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

/* Ürün Kartı */
.yedek-parca-box-home {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
}

.yedek-parca-box-home:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.yedek-parca-box-home-in {
    position: relative;
}

/* İndirim Badge */
.yedek-parca-badge {
    position: absolute;
    top: 20px;
    left: -35px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 8px 40px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    transform: rotate(-45deg);
    transform-origin: center;
}

.yedek-parca-badge i {
    margin-right: 5px;
}

/* Görsel Alanı */
.yedek-parca-img-home {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #f8f9fa;
}

.yedek-parca-img-home img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.yedek-parca-box-home:hover .yedek-parca-img-home img {
    transform: scale(1.1);
}

.yedek-parca-img-home .ovrly {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    transition: all 0.3s ease;
}

.yedek-parca-box-home:hover .yedek-parca-img-home .ovrly {
    background: rgba(0,0,0,0.3);
}

/* Butonlar */
.yedek-parca-img-home .buttons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 5;
}

.yedek-parca-box-home:hover .yedek-parca-img-home .buttons {
    opacity: 1;
}

.yedek-parca-img-home .buttons .text {
    padding: 12px 25px;
    background: white;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    border: none;
    cursor: pointer;
}

.yedek-parca-img-home .buttons .text:hover {
    background: linear-gradient(135deg, #44434B 0%, #44434B 100%);
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

.yedek-parca-img-home .buttons .text i {
    margin-right: 5px;
}

/* İçerik Alanı */
.yedek-parca-content-home {
    padding: 20px;
}

/* Parça Kodu */
.yedek-parca-kod {
    font-size: 13px;
    color: #7f8c8d;
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

.yedek-parca-kod i {
    margin-right: 5px;
    color: #44434B;
}

/* Başlık */
.yedek-parca-baslik {
    margin-bottom: 12px;
}

.yedek-parca-baslik-in a {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.yedek-parca-baslik-in a:hover {
    color: #44434B;
}

/* Kategori */
.yedek-parca-kategori {
    font-size: 13px;
    color: #95a5a6;
    margin-bottom: 8px;
}

.yedek-parca-kategori i {
    margin-right: 5px;
    color: #44434B;
}

/* Stok Badge */
.yedek-parca-stok-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.yedek-parca-stok-yok {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.yedek-parca-stok-yok i {
    margin-right: 5px;
}

/* Fiyat */
.yedek-parca-fiyat {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #ecf0f1;
}

.yedek-parca-fiyat h1 {
    font-size: 26px;
    font-weight: 800;
    color: #27ae60;
    margin: 0;
}

/* Boş Durum */
.yedek-parca-home-empty {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    grid-column: 1 / -1;
}

.yedek-parca-home-empty i {
    font-size: 80px;
    color: #ecf0f1;
    margin-bottom: 20px;
    display: block;
}

.yedek-parca-home-empty div {
    font-size: 18px;
    color: #95a5a6;
    font-weight: 500;
}

/* CTA Butonu */
.yedek-parca-cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #44434B 0%, #44434B 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.yedek-parca-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
    color: white;
}

.yedek-parca-cta-button i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.yedek-parca-cta-button:hover i {
    transform: translateX(5px);
}

/* Responsive - Ana Sayfa */
@media (max-width: 768px) {
    .products-home-main-div-inside {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .yedek-parca-img-home {
        height: 220px;
    }
    
    .yedek-parca-baslik-in a {
        font-size: 16px;
    }
    
    .yedek-parca-fiyat h1 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .products-home-main-div-inside {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   SİPARİŞ MODAL STİLLERİ
   ============================================ */

.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 50px rgba(0,0,0,0.2);
}

.modal-header {
    background: linear-gradient(135deg, #44434B 0%, #44434B 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 20px 25px;
    border: none;
}

.modal-title {
    font-weight: 700;
    font-size: 20px;
}

.modal-header .close {
    color: white;
    opacity: 1;
    text-shadow: none;
    font-size: 28px;
}

.modal-header .close:hover {
    color: #f8f9fa;
}

.modal-body {
    padding: 30px;
}

/* Form Stilleri */
.siparis-form-group {
    margin-bottom: 20px;
}

.siparis-form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.siparis-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.siparis-form-control:focus {
    outline: none;
    border-color: #44434B;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.siparis-form-control[readonly] {
    background: #f8f9fa;
    color: #7f8c8d;
}

.siparis-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.siparis-form-half {
    flex: 1;
    margin-bottom: 0;
}

/* Gönder Butonu */
.btn-siparis-gonder {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #44434B 0%, #44434B 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-siparis-gonder:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-siparis-gonder i {
    margin-right: 8px;
}

/* Buton Stilleri - Sipariş Trigger */
.siparis-btn-trigger {
    background: white !important;
    color: #2c3e50 !important;
    border: none;
    cursor: pointer;
}

.siparis-btn-trigger:hover {
    background: linear-gradient(135deg, #44434B 0%, #44434B 100%) !important;
    color: white !important;
}

/* Responsive - Modal */
@media (max-width: 768px) {
    .modal-body {
        padding: 20px;
    }
    
    .siparis-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .siparis-form-half {
        margin-bottom: 20px;
    }
}


/* ============================================
   KATEGORI TAB STİLLERİ (ANA SAYFA)
   ============================================ */

#yp-tab-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.yedek-parca-tabs {
    width: 100%;
    height: auto;
    margin: 0 auto 35px;
    text-align: center;
    overflow: hidden;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.yedek-parca-tabs li {
    display: inline-block;
    height: auto;
    margin: 0;
}

.yedek-parca-tabs li a {
    outline: none;
    font-size: 15px;
    font-family: 'Open Sans', Arial;
    font-weight: 600;
    padding: 12px 25px;
    text-decoration: none;
    border: 2px solid #ecf0f1;
    border-radius: 25px;
    background: white;
    color: #2c3e50;
    transition: all 0.3s ease;
    display: inline-block;
}

.yedek-parca-tabs li a:hover {
    border-color: #44434B;
    color: #44434B;
    transform: translateY(-2px);
}

.yedek-parca-tabs li a.active {
    font-weight: 700;
    border-color: #44434B;
    background: linear-gradient(135deg, #44434B 0%, #44434B 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.yedek-parca-tab-content {
    width: 100%;
    margin: 0 auto;
    display: none;
    min-height: 400px;
}

.yedek-parca-tab-content.active {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.yedek-parca-tab-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.yedek-parca-tab-empty i {
    font-size: 80px;
    color: #ecf0f1;
    margin-bottom: 20px;
    display: block;
}

.yedek-parca-tab-empty div {
    font-size: 18px;
    color: #95a5a6;
    font-weight: 500;
}

/* Responsive - Tabs */
@media (max-width: 1400px) {
    .yedek-parca-tab-content.active {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .yedek-parca-tab-content.active {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .yedek-parca-tabs {
        gap: 5px;
    }
    
    .yedek-parca-tabs li {
        margin: 0;
    }
    
    .yedek-parca-tabs li a {
        font-size: 13px;
        padding: 10px 18px;
    }
    
    .yedek-parca-tab-content.active {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


/* ============================================
   SOL MENÜ (SİDEBAR) STİLLERİ
   ============================================ */

.yedek-parca-sidebar {
    margin-bottom: 30px;
}

.yedek-parca-sidebar-box {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.yedek-parca-sidebar-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #44434B;
}

.yedek-parca-sidebar-box h3 i {
    margin-right: 10px;
    color: #44434B;
    font-size: 18px;
}

.yedek-parca-kategori-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.yedek-parca-kategori-menu li {
    margin-bottom: 10px;
}

.yedek-parca-kategori-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 600;
    background: #f8f9fa;
}

.yedek-parca-kategori-menu li a:hover {
    background: #e9ecef;
    color: #44434B;
    padding-left: 22px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.yedek-parca-kategori-menu li.active a {
    background: linear-gradient(135deg, #44434B 0%, #44434B 100%);
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(68, 67, 75, 0.3);
}

.yedek-parca-kategori-menu li a i {
    margin-right: 10px;
    font-size: 14px;
}

.yedek-parca-kategori-menu li a .badge {
    background: #44434B;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    min-width: 30px;
    text-align: center;
}

.yedek-parca-kategori-menu li.active a .badge {
    background: rgba(255,255,255,0.3);
    color: white;
}

/* Filtre Üst Bölüm */
.yedek-parca-filter-top {
    background: white;
    border-radius: 15px;
    padding: 15px 20px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.filter-aktif-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: linear-gradient(135deg, #44434B 0%, #44434B 100%);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.filter-tag a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.filter-tag a:hover {
    opacity: 1;
}

.filter-temizle {
    padding: 8px 15px;
    background: #e74c3c;
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.filter-temizle:hover {
    background: #c0392b;
    color: white;
    transform: translateY(-2px);
}

.filter-temizle i {
    margin-right: 5px;
}

/* Responsive - Sidebar */
@media (max-width: 768px) {
    .yedek-parca-sidebar {
        margin-bottom: 30px;
    }
    
    .yedek-parca-sidebar-box {
        margin-bottom: 15px;
    }
    
    .filter-aktif-tags {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ============================================
   DETAYLAR BUTONLARI
   ============================================ */

/* Ana Sayfa Detaylar Butonu */
.yedek-parca-detay-btn-home {
    padding: 15px;
    border-top: 2px solid #ecf0f1;
    margin-top: auto;
}

.btn-detay-home {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #44434B 0%, #44434B 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-detay-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.btn-detay-home i {
    margin-right: 5px;
}

/* Liste Sayfası Detaylar Butonu */
.btn-detay-liste {
    flex: 1;
    padding: 12px 20px;
    background: linear-gradient(135deg, #44434B 0%, #44434B 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 120px;
}

.btn-detay-liste:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.btn-detay-liste i {
    margin-right: 5px;
}

/* Liste Sayfası Tam Genişlik Detaylar Butonu */
.btn-detay-liste-full {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #44434B 0%, #44434B 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-detay-liste-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.btn-detay-liste-full i {
    margin-right: 5px;
}

/* Kart yapısını flex yap */
.yedek-parca-box-home-in {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.yedek-parca-content-home {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.yedek-parca-box-in {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.yedek-parca-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Responsive - Detaylar Butonları */
@media (max-width: 768px) {
    .btn-detay-liste {
        width: 100%;
        margin-bottom: 10px;
    }
}


/* ============================================
   RİBBON (KURDELE) RESPONSIVE
   ============================================ */

@media (max-width: 480px) {
    .yedek-parca-badge,
    .stok-badge {
        top: 15px;
        left: -30px;
        padding: 6px 35px;
        font-size: 11px;
    }
}


/* Alt Kategori Stilleri */
.yedek-parca-kategori-menu li.alt-kategori a {
    padding-left: 30px;
    font-size: 14px;
    font-weight: 500;
    background: #f1f3f5;
}

.yedek-parca-kategori-menu li.alt-kategori a:hover {
    padding-left: 36px;
    background: #e9ecef;
}

.yedek-parca-kategori-menu li.alt-kategori.active a {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
}

.yedek-parca-kategori-menu li.alt-kategori a i {
    font-size: 12px;
    color: #6c757d;
}

.yedek-parca-kategori-menu li.alt-kategori.active a i {
    color: white;
}


/* ============================================
   MOBİL SİDEBAR TOGGLE
   ============================================ */

.yedek-parca-mobile-toggle {
    display: none;
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(135deg, #44434B 0%, #44434B 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(68, 67, 75, 0.3);
}

.yedek-parca-mobile-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(68, 67, 75, 0.4);
}

.yedek-parca-mobile-toggle i {
    margin-right: 10px;
}

/* Mobil Responsive */
@media (max-width: 768px) {
    .yedek-parca-mobile-toggle {
        display: block;
    }
    
    .yedek-parca-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: white;
        z-index: 9999;
        overflow-y: auto;
        padding: 20px;
        box-shadow: 2px 0 20px rgba(0,0,0,0.3);
        transition: transform 0.3s ease;
        transform: translateX(-100%);
    }
    
    .yedek-parca-sidebar.active {
        transform: translateX(0);
    }
    
    .yedek-parca-sidebar-box {
        margin-bottom: 20px;
    }
    
    .yedek-parca-sidebar-box:first-child {
        margin-top: 20px;
    }
}

/* Mobil Overlay - Arka Plan Karartma */
.yedek-parca-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.yedek-parca-sidebar-overlay.active {
    display: block;
    opacity: 1;
}

