/* Ürünler Sayfası - Özel CSS Dosyası */
/* Bu dosya urunler.html ve urun_detay.html sayfalarının CSS kodlarını içerir */

/* ========================================
   GENEL SAYFA TASARIMI
   ======================================== */

/* Sayfa Genel Tasarım İyileştirmeleri */
#content {
    background: #f8f9fa;
}

#header {
    background-color: #333 !important;
}

.content-wrap {
    padding: 40px 0;
}

/* Sayfa Başlığı - İki Kolonlu Düzen */
#page-title {
    padding: 30px 0 !important;
    height: auto !important;
    background-color: #333 !important;
    margin-bottom: 0;
    margin-top: 0 !important;
}

.page-title-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.page-title-left {
    flex: 0 0 auto;
    max-width: 50%;
}

.page-title-right {
    flex: 1;
    max-width: 500px;
}

#page-title h1 {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

#page-title span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0;

}

#page-title .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 10px 0 0 0 !important;
}

#page-title .breadcrumb li {
    color: rgba(255, 255, 255, 0.8);
}

#page-title .breadcrumb li a {
    color: white;
}

/* ========================================
   ÜRÜN LİSTESİ - GRID TASARIMI
   ======================================== */

/* Ürün Grid Standartlaştırma - 4'lü Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.product-card {
    height: 480px;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.product-image-container {
    height: 280px;
    position: relative;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
}

.product-image-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.product-content {
    height: 210px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title-fixed {
    flex: 1;
    margin-bottom: 12px;
    min-height: 80px;
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.product-group-name {
    font-size: 11px;
    font-weight: 600;
    color: #42619e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-special-code {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    border-radius: 4px;
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-title-fixed h3 {
    font-size: 15px;
    line-height: 18px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    color: #333;
}

.product-title-fixed h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title-fixed h3 a:hover {
    color: #42619e;
}

.product-price-fixed {
    font-weight: 700;
    color: #42619e;
    font-size: 18px;
    margin: 12px 0;
    padding: 8px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.product-details-fixed {
    font-size: 12px;
    line-height: 16px;
    color: #666;
}

.product-details-fixed div {
    margin: 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-details-fixed div strong {
    color: #42619e;
    min-width: 60px;
}

.product-details-fixed div .badge {
    background: #42619e;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.stock-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 8px;
}

.stock-badge.in-stock {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.stock-badge.out-of-stock {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Başlık Tasarımı */
.fancy-title h3 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.fancy-title {
    margin-bottom: 30px;
    display: none;
    
}

/* ========================================
   FİLTRE VE ARAMA BÖLÜMÜ
   ======================================== */

/* Modern Filter Section */
.filter-section {
    background: white;
    border-radius: 12px;
    padding: 20px 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin-top: 0;
}

/* Modern Search Bar - In Page Title */
.page-title-right .modern-search-wrapper {
    margin-bottom: 0;
}

.page-title-right .modern-search-container {
    position: relative;
    width: 100%;
}

.modern-search-form {
    position: relative;
    margin-bottom: 0px;
}

.modern-search-input-wrapper {
    position: relative;
    background: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.modern-search-input-wrapper:hover {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modern-search-input-wrapper:focus-within {
    border-color: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.modern-search-input-wrapper .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 16px;
    z-index: 2;
    transition: all 0.3s ease;
    pointer-events: none;
}

.modern-search-input-wrapper:focus-within .search-icon {
    color: #42619e;
}

.modern-search-input {
    width: 100%;
    padding: 10px 100px 10px 45px;
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 400;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

.modern-search-input::placeholder {
    color: #999;
    font-weight: 400;
}

.modern-search-input:focus::placeholder {
    color: #bbb;
}

.modern-search-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px 20px;
    background: linear-gradient(135deg, #2d4373 0%, #1e2f52 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modern-search-btn:hover {
    background: linear-gradient(135deg, #1e2f52 0%, #152238 100%);
    transform: translateY(-50%) scale(1.05);
}

.modern-search-btn:active {
    transform: translateY(-50%) scale(0.98);
}

.modern-search-btn i {
    font-size: 13px;
}

/* Clear Button */
.search-clear-btn {
    position: absolute;
    right: 130px;
    top: 50%;
    transform: translateY(-50%);
    background: #f8f9fa;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #666;
}

.search-clear-btn:hover {
    background: #e9ecef;
    color: #333;
    transform: translateY(-50%) scale(1.1);
}

.search-clear-btn.active {
    display: flex;
}

/* Advanced Filters Toggle */
.advanced-filters-toggle {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-help-text {
    color: #666;
    font-size: 13px;
    font-style: italic;
    line-height: 1.4;
}

.toggle-filters-btn {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    padding: 5px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #42619e;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.toggle-filters-btn:hover {
    background: linear-gradient(135deg, #42619e 0%, #365287 100%);
    color: white;
    border-color: #42619e;
    box-shadow: 0 4px 12px rgba(66, 97, 158, 0.2);
    transform: translateY(-2px);
}

.toggle-filters-btn i {
    transition: transform 0.3s ease;
}

.toggle-filters-btn.active i {
    transform: rotate(180deg);
}

/* Advanced Filters Content */
.advanced-filters-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin-top 0.3s ease;
    opacity: 0;
    margin-top: 0;
}

.advanced-filters-content.active {
    max-height: 1000px;
    opacity: 1;
    margin-top: 25px;
}

.filters-inner {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 20px;
    border: 2px solid #e9ecef;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: end;
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 190px;
    max-width: 190px;
    flex: 0 1 auto;
}

.filter-group.dynamic-category {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-group label i {
    color: #42619e;
    font-size: 14px;
}

.filter-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 14px;
    color: #333;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2342619e' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.filter-select:hover {
    border-color: #42619e;
    box-shadow: 0 2px 8px rgba(66, 97, 158, 0.1);
}

.filter-select:focus {
    outline: none;
    border-color: #42619e;
    box-shadow: 0 0 0 3px rgba(66, 97, 158, 0.1);
}

.filter-buttons-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

.filter-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.filter-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn-primary {
    background: linear-gradient(135deg, #42619e 0%, #365287 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(66, 97, 158, 0.25);
}

.filter-btn-primary:hover {
    background: linear-gradient(135deg, #365287 0%, #2d4373 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(66, 97, 158, 0.35);
}

.filter-btn-secondary {
    background: white;
    color: #666;
    border: 2px solid #e9ecef;
}

.filter-btn-secondary:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
    transform: translateY(-2px);
}

/* Accordion Filter Styles - Keep for compatibility */
.filter-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0;
    transition: all 0.3s ease;
}

.filter-toggle h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-toggle i.toggle-icon {
    font-size: 14px;
    color: #666;
    transition: transform 0.3s ease;
    z-index: 9999;
}

.filter-section.open .filter-toggle i.toggle-icon {
    transform: rotate(180deg);
    color: #009ee0;
}

.filter-section.open .filter-toggle h3 {
    color: #009ee0;
}

.filter-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, margin-top 0.3s ease;
    opacity: 0;
    margin-top: 0;
}

.filter-section.open .filter-content {
    max-height: 1000px;
    opacity: 1;
    margin-top: 20px;
    overflow: visible;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.loading-overlay.active {
    display: flex;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #e9ecef;
    border-top-color: #42619e;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   SIDEBAR KATEGORİLER
   ======================================== */

.sidebar .widget {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sidebar .widget h4 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #42619e;
    position: relative;
}

.sidebar .widget h4:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #42619e;
}

.sidebar .iconlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar .iconlist li {
    margin-bottom: 3px;
    transition: all 0.3s ease;
}

.sidebar .iconlist li a {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    text-decoration: none;
    color: #555;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #e9ecef;
    background: #fff;
    position: relative;
}

.sidebar .iconlist li a:hover {
    background: #f8f9fa;
    color: #42619e;
    border-color: #42619e;
    transform: translateX(2px);
}

/* Seviye bazlı indent ve renkler - Site rengi tonları */
.sidebar .iconlist li[data-level="0"] a {
    background: linear-gradient(135deg, #42619e 0%, #365287 100%);
    color: white;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 15px;
    border: none;
    box-shadow: 0 2px 5px rgba(66, 97, 158, 0.2);
    margin-bottom: 4px;
}

.sidebar .iconlist li[data-level="0"] a:hover {
    background: linear-gradient(135deg, #365287 0%, #2d4373 100%);
    box-shadow: 0 3px 8px rgba(66, 97, 158, 0.3);
    transform: translateX(3px);
}

.sidebar .iconlist li[data-level="1"] a {
    margin-left: 20px;
    background: #f0f4ff;
    color: #42619e;
    border-left: 3px solid #42619e;
    font-size: 13px;
}

.sidebar .iconlist li[data-level="1"] a:hover {
    background: #e6edff;
    color: #2d4373;
}

.sidebar .iconlist li[data-level="2"] a {
    margin-left: 40px;
    background: #f8faff;
    color: #5a7ab8;
    border-left: 2px solid #6b8fcf;
    font-size: 12px;
}

.sidebar .iconlist li[data-level="2"] a:hover {
    background: #f0f4ff;
    color: #42619e;
}

.sidebar .iconlist li[data-level="3"] a {
    margin-left: 60px;
    background: #fafbff;
    color: #7a92c7;
    border-left: 2px solid #8fa4d4;
    font-size: 12px;
}

.sidebar .iconlist li[data-level="3"] a:hover {
    background: #f5f7ff;
    color: #5a7ab8;
}

.sidebar .iconlist li[data-level="4"] a {
    margin-left: 80px;
    background: #fcfdff;
    color: #9aadd6;
    border-left: 1px solid #b0bde0;
    font-size: 11px;
}

.sidebar .iconlist li[data-level="4"] a:hover {
    background: #f8faff;
    color: #7a92c7;
}

.sidebar .iconlist li a .category-icon {
    margin-right: 8px;
    font-size: 14px;
    opacity: 0.8;
}

.sidebar .iconlist li a .category-count {
    background: rgba(66, 97, 158, 0.15);
    color: #42619e;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    margin-left: auto;
}

.sidebar .iconlist li[data-level="0"] a .category-count {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

/* Aktif Kategori */
.sidebar .iconlist li a.button-red {
    background: #e74c3c;
    color: white;
    border-color: #c0392b;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
    transform: translateX(3px);
    font-weight: 600;
}

.sidebar .iconlist li a.button-red:hover {
    background: #c0392b;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.sidebar .iconlist li a.button-red .category-count {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Tüm Ürünler butonu */
.sidebar .iconlist li.tum-urunler a {
    background: linear-gradient(135deg, #42619e 0%, #365287 100%);
    color: white;
    font-weight: 600;
    font-size: 14px;
    padding: 14px 15px;
    border: none;
    box-shadow: 0 3px 8px rgba(66, 97, 158, 0.25);
    margin-bottom: 15px;
}

.sidebar .iconlist li.tum-urunler a:hover {
    background: linear-gradient(135deg, #365287 0%, #2d4373 100%);
    box-shadow: 0 4px 12px rgba(66, 97, 158, 0.35);
    transform: translateX(3px);
}

.sidebar .iconlist li.tum-urunler a.button-red {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.sidebar .iconlist li.tum-urunler a.button-red:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
}

/* Mesaj Kutusu Tasarımı */
.style-msg.alertmsg {
    background: linear-gradient(135deg, #e8f4fd 0%, #f0f8ff 100%);
    border: none;
    border-left: 4px solid #42619e;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(66, 97, 158, 0.1);
    margin: 30px 0;
}

.style-msg .sb-msg {
    padding: 20px;
    color: #42619e;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.style-msg .sb-msg i {
    font-size: 24px;
    color: #42619e;
}

.style-msg .sb-msg strong {
    color: #2d4373;
    font-weight: 600;
}

/* İletişim Widget Tasarımı */
.sidebar address {
    font-style: normal;
    line-height: 1.6;
    color: #666;
}

.sidebar address strong {
    color: #333;
    display: block;
    margin-top: 8px;
    margin-bottom: 4px;
}

.sidebar address abbr {
    color: #42619e;
    font-weight: 600;
}

/* ========================================
   ÜRÜN DETAY SAYFASI
   ======================================== */

/* Modern Ürün Detay Sayfası Tasarımı */
.product-detail-container {
    padding: 30px 0;
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Görsel Alanı */
.product-image-section {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.product-image-main {
    background: white;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.product-image-main:hover {
    box-shadow: 0 8px 24px rgba(0, 158, 224, 0.15);
}

/* Bilgi Alanı */
.product-info-section {
    background: white;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Ürün Başlık ve Meta */
.product-meta-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-group-name-detail {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: inline-block;
    transition: all 0.3s ease;
}

.product-special-code-detail {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    display: inline-block;
    transition: all 0.3s ease;
}

.product-title-main {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

/* Bilgi Kartı */
.info-card {
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.info-card-title {
    color: #009ee0;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card-title i {
    font-size: 20px;
}

.info-table {
    width: 100%;
    border: none;
}

.info-table tr {
    border-bottom: 1px solid #e9ecef;
    transition: background 0.2s ease;
}

.info-table tr:hover {
    background: rgba(0, 158, 224, 0.03);
}

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

.info-table td {
    padding: 12px 0;
    vertical-align: top;
}

.info-table td:first-child {
    font-weight: 600;
    color: #495057;
    width: 35%;
    padding-right: 15px;
}

.info-table td:last-child {
    color: #6c757d;
}

/* Kategori Breadcrumb - Modern Badge Tasarımı */
.category-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.category-breadcrumb a {
    color: #009ee0;
    text-decoration: none;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: #f0f8ff;
    border: 1px solid #d4ebf7;
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.category-breadcrumb a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 158, 224, 0.1), transparent);
    transition: left 0.5s ease;
}

.category-breadcrumb a:hover::before {
    left: 100%;
}

.category-breadcrumb a:hover {
    background: #009ee0;
    color: #ffffff;
    border-color: #009ee0;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 158, 224, 0.3);
}

.category-breadcrumb span {
    color: #9e9e9e;
    font-weight: 400;
    font-size: 12px;
    padding: 0 2px;
    user-select: none;
}

/* Kategori Listesi - Modern Açık Tasarım */
.category-list-container {
    /* background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    border: 2px solid #e9ecef; */
}

.category-list-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #dee2e6;
}

.category-list-header i {
    color: #28a745;
    font-size: 16px;
}

.category-list-header span {
    color: #495057;
    font-weight: 600;
    font-size: 14px;
}

.category-list-header .badge {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.category-list-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 8px;
}

.category-list-items::-webkit-scrollbar {
    width: 6px;
}

.category-list-items::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 3px;
}

.category-list-items::-webkit-scrollbar-thumb {
    background: #009ee0;
    border-radius: 3px;
}

.category-list-item {
    padding: 10px 10px;
    font-size: 13px;
    color: #495057;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.category-list-item:hover {
    background: #f0f8ff;
    border-left-color: #009ee0;
    box-shadow: 0 2px 8px rgba(0, 158, 224, 0.15);
}

.category-breadcrumb-path {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    line-height: 1.6;
}

.category-breadcrumb-path .kategori-link {
    color: #009ee0;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.category-breadcrumb-path .kategori-text {
    color: #6c757d;
    padding: 4px 8px;
    font-weight: 500;
}

.category-breadcrumb-path .kategori-separator {
    color: #9e9e9e;
    font-weight: 400;
    user-select: none;
}

/* Açıklama Bölümü */
.category-list-item-text {
    flex: 1;
    line-height: 1.4;
}

/* Açıklama Bölümü */
.description-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}

.description-card h4 {
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.description-content {
    line-height: 1.8;
    color: #495057;
    font-size: 15px;
}

/* Buton Container */
.action-buttons-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

/* WhatsApp Sipariş Butonu */
.whatsapp-order-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    width: 100%;
}

.whatsapp-order-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: white;
}

.whatsapp-order-btn i {
    font-size: 24px;
}

.whatsapp-order-btn:active {
    transform: translateY(-1px);
}

/* Hemen Ara Butonu */
.call-now-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #009ee0 0%, #007bb5 100%);
    color: white;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 158, 224, 0.3);
    width: 100%;
}

.call-now-btn:hover {
    background: linear-gradient(135deg, #007bb5 0%, #006399 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 158, 224, 0.4);
    color: white;
}

.call-now-btn i {
    font-size: 24px;
}

.call-now-btn:active {
    transform: translateY(-1px);
}

/* Sosyal Medya Paylaşım */
.social-share {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid #e9ecef;
}

.social-share-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-share-title i {
    color: #009ee0;
    font-size: 18px;
}

.social-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.social-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    color: white;
}

.social-share-btn i {
    font-size: 16px;
}

/* Platform Renkleri */
.social-share-btn.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d5dbf 100%);
}

.social-share-btn.facebook:hover {
    background: linear-gradient(135deg, #0d5dbf 0%, #094a99 100%);
}

.social-share-btn.x-twitter {
    background: linear-gradient(135deg, #000000 0%, #14171a 100%);
}

.social-share-btn.x-twitter:hover {
    background: linear-gradient(135deg, #14171a 0%, #2c3e50 100%);
}

.social-share-btn.linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
}

.social-share-btn.linkedin:hover {
    background: linear-gradient(135deg, #005885 0%, #004466 100%);
}

.social-share-btn.pinterest {
    background: linear-gradient(135deg, #E60023 0%, #bd001c 100%);
}

.social-share-btn.pinterest:hover {
    background: linear-gradient(135deg, #bd001c 0%, #990017 100%);
}

.social-share-btn.email {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.social-share-btn.email:hover {
    background: linear-gradient(135deg, #495057 0%, #343a40 100%);
}

.social-share-btn.copy-link {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

.social-share-btn.copy-link:hover {
    background: linear-gradient(135deg, #1e7e34 0%, #155724 100%);
}

.social-share-btn.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.social-share-btn.whatsapp:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
}

/* Kopyalama bildirimi */
.copy-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(40, 167, 69, 0.4);
    font-weight: 600;
    display: none;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    animation: slideInUp 0.3s ease-out;
}

.copy-notification.show {
    display: flex;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* İlgili Ürünler */
.related-products-section {
    margin-top: 50px;
}

.related-products-title {
    color: #1a1a1a;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.related-products-container {
    background: white;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.related-products-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.related-product {
    background: #f8f9fa;
    padding: 20px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-product:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 158, 224, 0.2);
    border-color: #009ee0;
}

.related-product-image {
    height: 140px;
    background: white;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 15px;
}

.related-product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.related-product:hover .related-product-image img {
    transform: scale(1.1);
}

.related-product-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.related-product-meta span {
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-product-meta .group-badge {
    color: #009ee0;
    background: linear-gradient(135deg, #e6f7ff 0%, #cceeff 100%);
    border-left: 2px solid #009ee0;
}

.related-product-meta .code-badge {
    color: #666;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.related-product-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 10px 0;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.related-product-code {
    font-size: 11px;
    color: #6c757d;
    margin-bottom: 12px;
}

.related-product-btn {
    background: linear-gradient(135deg, #009ee0 0%, #007bb5 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.related-product-btn:hover {
    background: linear-gradient(135deg, #007bb5 0%, #006399 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 158, 224, 0.4);
    color: white;
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-detail-wrapper,
.related-products-section {
    animation: fadeInUp 0.6s ease-out;
}

/* ========================================
   RESPONSIVE TASARIM
   ======================================== */

/* Tablet - 1200px */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .product-card {
        height: 430px;
    }

    .product-image-container {
        height: 220px;
    }
}

/* Tablet - 992px */
@media (max-width: 992px) {
    .page-title-content {
        gap: 30px;
    }

    .page-title-left {
        max-width: 45%;
    }

    .page-title-right {
        max-width: 450px;
    }

    #page-title h1 {
        font-size: 22px;
    }

    .modern-search-input {
        font-size: 12px;
        padding: 9px 90px 9px 40px;
    }

    .modern-search-btn {
        padding: 9px 18px;
        font-size: 12px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .product-card {
        height: 410px;
    }

    .product-image-container {
        height: 200px;
    }

    .product-content {
        padding: 16px;
    }

    .content-wrap {
        padding: 30px 0;
    }

    .filter-section {
        padding: 20px 25px;
    }

    .filter-row {
        gap: 15px;
    }

    .filter-group {
        min-width: 180px;
        max-width: 220px;
    }

    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-image-section {
        position: relative;
        top: 0;
    }

    .related-products-scroll {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }
}

/* Mobile - 768px */
@media (max-width: 768px) {

    /* Stack page title elements vertically on mobile */
    .page-title-content {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .page-title-left,
    .page-title-right {
        max-width: 100%;
    }

    #page-title {
        padding: 25px 0 !important;
    }

    #page-title h1 {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .modern-search-input {
        font-size: 13px;
        padding: 10px 95px 10px 42px;
    }

    .modern-search-input-wrapper .search-icon {
        left: 16px;
        font-size: 15px;
    }

    .modern-search-btn {
        padding: 10px 18px;
        font-size: 12px;
    }

    .search-clear-btn {
        right: 95px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-card {
        height: 380px;
    }

    .product-image-container {
        height: 180px;
    }

    .product-content {
        padding: 14px;
        height: 200px;
    }

    .product-title-fixed {
        min-height: 90px;
    }

    .product-title-fixed h3 {
        font-size: 14px;
        line-height: 16px;
    }

    .product-price-fixed {
        font-size: 16px;
    }

    .content-wrap {
        padding: 20px 0;
    }

    .fancy-title h3 {
        font-size: 20px;
    }

    .filter-section {
        padding: 20px 15px;
    }

    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        min-width: 100%;
        max-width: 100%;
    }

    .filters-inner {
        padding: 20px;
    }

    .product-detail-container {
        padding: 20px 0;
    }

    .product-image-main,
    .product-info-section,
    .info-card,
    .description-card {
        padding: 20px;
        border-radius: 10px;
    }

    .product-title-main {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .whatsapp-order-btn,
    .call-now-btn {
        padding: 12px 24px;
        font-size: 15px;
    }

    .whatsapp-order-btn i,
    .call-now-btn i {
        font-size: 20px;
    }

    .action-buttons-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .info-card-title {
        font-size: 16px;
    }

    .info-table td:first-child {
        width: 40%;
        font-size: 13px;
    }

    .info-table td:last-child {
        font-size: 13px;
    }

    .related-products-scroll {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .related-product {
        padding: 15px;
    }

    .related-product-image {
        height: 100px;
    }

    .related-products-title {
        font-size: 20px;
    }

    .category-breadcrumb {
        font-size: 12px;
    }
}

/* Mobile - 576px */
@media (max-width: 576px) {
    .filter-help-text {
        font-size: 12px;
        width: 100%;
        margin-top: 5px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-card {
        height: 400px;
    }

    .product-image-container {
        height: 200px;
    }

    .product-content {
        padding: 16px;
        height: 200px;
    }

    .product-title-fixed {
        min-height: 70px;
    }

    .product-title-fixed h3 {
        font-size: 15px;
        line-height: 18px;
    }

    .product-price-fixed {
        font-size: 17px;
    }

    .filter-section {
        padding: 20px 15px;
    }

    .modern-search-input {
        padding: 12px 100px 12px 45px;
        font-size: 13px;
    }

    .modern-search-input-wrapper .search-icon {
        left: 16px;
        font-size: 18px;
    }

    .modern-search-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .search-clear-btn {
        right: 100px;
        width: 28px;
        height: 28px;
    }

    .toggle-filters-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .filter-buttons {
        flex-direction: column;
        width: 100%;
    }

    .filter-btn {
        width: 100%;
        justify-content: center;
    }

    .product-meta-detail {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-title-main {
        font-size: 20px;
    }

    .info-table td {
        display: block;
        width: 100% !important;
        padding: 8px 0;
    }

    .info-table td:first-child {
        font-weight: 700;
        color: #009ee0;
        margin-bottom: 4px;
    }

    .info-table tr {
        padding: 10px 0;
        display: block;
    }

    .related-products-scroll {
        grid-template-columns: 1fr;
    }

    .social-share-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .social-share-btn i {
        font-size: 14px;
    }

    .copy-notification {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 14px;
    }
}