/* ============= GENEL STILLER ============= */
/*:root {
    --primary-color: #3490dc;
    --secondary-color: #6c757d;
    --success-color: #38c172;
    --danger-color: #e3342f;
    --warning-color: #ffed4a;
    --info-color: #6cb2eb;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --body-bg: #f8fafc;
    --body-color: #212529;
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-size-base: 1rem;
    --border-radius: 0.25rem;
    --box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}*/

body {
    font-family: var(--font-family-sans-serif);
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--body-color);
    background-color: var(--body-bg);
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: #1c6ac1;
    text-decoration: underline;
}

/* ============= HEADER STILLER ============= */
.top-bar {
    font-size: 0.85rem;
}

.main-header {
    background-color: #fff;
    box-shadow: var(--box-shadow);
}

.bg-header {
    --bs-bg-opacity: 1;
    background-color: var(--header-bg-color);
}

.site-logo img {
    max-height: 50px;
}

.category-nav {
    border-bottom: 1px solid #eee;
}

.category-nav .nav-link {
    font-weight: 500;
    padding: 0.8rem 1rem;
    color: rgba(255, 255, 255, 0.85);
}

.category-nav .nav-link:hover,
.category-nav .nav-link.active {
    color: #fff;
}

/* Mobile menü */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.mobile-menu-overlay.show {
    display: block;
}

/* ============= ANA SAYFA STILLER ============= */
/* Ana Slider */
.slider-content {
    max-width: 500px;
    color: var(--slider-text-color);
}

.slider-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--slider-text-color);
}

.slider-subtitle {
    font-size: 1.2rem;
    opacity: 0.85;
    color: var(--slider-text-color);
}

.slider-description {
    font-size: 1rem;
    opacity: 0.8;
    color: var(--slider-text-color);
}

/* Kategoriler */
.category-card {
    margin-bottom: 1.5rem;
    position: relative;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-title {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Bölüm Başlıkları */
.section-title {
    position: relative;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.section-heading {
    margin-bottom: 1.5rem;
}

/* Banner */
.banner {
    overflow: hidden;
    position: relative;
}

.banner img {
    transition: transform 0.5s ease;
}

.banner:hover img {
    transform: scale(1.05);
}

.banner-content {
    z-index: 1;
}

.banner-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.banner-subtitle {
    font-size: 1rem;
}

/* Özellikler */
.feature-box {
    padding: 1.5rem;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.feature-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ============= ÜRÜN KART STILLER ============= */
.product-card {
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-thumbnail {
    padding-top: 100%;
    position: relative;
    overflow: hidden;
}

.product-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-thumbnail img {
    transform: scale(1.05);
}

.product-hover-image {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-card:hover .product-hover-image {
    opacity: 1;
}

.product-actions {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.product-info .product-actions {
    opacity: 1;
}

.product-title {
    font-weight: 500;
    line-height: 1.3;
    height: 2.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.85em;
}

.product-price .current-price {
    font-weight: 600;
    color: #000;
}

.rating-stars i {
    color: #ffc107;
}

.rating-count {
    color: #6c757d;
    font-size: 0.85em;
}

/* Renk seçenekleri */
.color-options {
    display: flex;
    flex-wrap: wrap;
}

.color-option {
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
}

.color-circle {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #ddd;
}

.color-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    font-size: 10px;
    background-color: #f0f0f0;
    border-radius: 50%;
}

/* ============= ÜRÜN LİSTESİ STILLER ============= */
.product-tools {
    padding: 0.75rem 0;
    margin-bottom: 1.5rem;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.sort-select,
.view-buttons {
    display: flex;
    align-items: center;
}

.view-btn.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    background-color: #f0f0f0;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
}

.filter-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.filter-scrollable {
    max-height: 200px;
    overflow-y: auto;
}

.filter-group {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.filter-group:last-child {
    border-bottom: none;
}

/* ============= ÜRÜN DETAY STILLER ============= */
.product-detail {
    margin-bottom: 3rem;
}

.product-gallery .swiper-slide {
    cursor: pointer;
}

.product-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-price-wrap {
    margin: 1rem 0;
}

.product-price-wrap .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.1rem;
}

.product-price-wrap .current-price {
    color: #000;
    font-weight: 600;
}

.discount-badge {
    vertical-align: middle;
}

/* Varyasyonlar */
.variation-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.color-label {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    border: 2px solid #e9e9e9;
}

.form-check-input:checked + .color-label {
    border: 2px solid #000;
    box-shadow: 0 0 0 1px #fff, 0 0 0 3px #000;
}

.size-label {
    min-width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0 10px;
}

.form-check-input:checked + .size-label {
    border-color: #000;
    background-color: #000;
    color: #fff;
}

/* Miktar seçici */
.quantity-selector {
    width: 180px;
}

/* ============= SEPET VE ÖDEME STILLER ============= */
.checkout-steps {
    margin-bottom: 2rem;
}

.checkout-steps .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
    z-index: 1;
}

.checkout-steps .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.checkout-steps .step.active .step-number {
    background-color: var(--primary-color);
    color: white;
}

.checkout-steps .connector {
    flex-grow: 1;
    height: 2px;
    background-color: #e9ecef;
    margin-top: 20px;
}

.checkout-steps .connector.active {
    background-color: var(--primary-color);
}

/* Yıldız Derecelendirme */
.rating-select {
    display: inline-block;
}

.stars {
    display: inline-flex;
    flex-direction: row-reverse;
}

.stars input[type="radio"] {
    display: none;
}

.stars label {
    color: #ddd;
    font-size: 2rem;
    padding: 0 5px;
    cursor: pointer;
}

.stars label::before {
    content: '\2605';
}

.stars input[type="radio"]:checked ~ label {
    color: #ffb700;
}

.stars label:hover,
.stars label:hover ~ label {
    color: #ffb700;
}

/* ============= FOOTER STILLER ============= */
.site-footer {
    background-color: #fff;
}

.main-footer {
    padding: 3rem 0;
}

.bg-footer {
    --bs-bg-opacity: 1;
    background-color: var(--footer-bg-color);
}

.bottom-footer {
    padding: 1.5rem 0;
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    position: relative;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #6c757d;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* ============= YARDIMCI SINIFLAR ============= */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

/* Toast bildirimler */
.toast-container {
    z-index: 9999;
}

/* Özelleştirilmiş Breadcrumb Stilleri */
.breadcrumb-section {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.breadcrumb {
    padding: 0.5rem 0;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "\f054"; /* Font Awesome chevron-right ikonu */
    font-family: "bootstrap-icons";
    font-size: 0.75rem;
    color: #6c757d;
    vertical-align: middle;
}

.breadcrumb-item a {
    color: var(--bs-primary, #3490dc);
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: var(--bs-primary-dark, #1c6ac1);
}

.breadcrumb-item.active {
    color: #6c757d;
    font-weight: 500;
}

/* Alternatif Stil: Pill şeklinde */
.breadcrumb-pills .breadcrumb-item {
    background-color: #fff;
    border-radius: 50px;
    padding: 0.3rem 0.8rem;
    margin-right: 0.5rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.breadcrumb-pills .breadcrumb-item + .breadcrumb-item::before {
    content: "";
    padding: 0;
    margin: 0;
}

.breadcrumb-pills .breadcrumb-item.active {
    background-color: var(--bs-primary, #3490dc);
    color: #fff;
}

/* Alternatif Stil: Çizgi Ayırıcılı */
.breadcrumb-line .breadcrumb-item + .breadcrumb-item::before {
    content: "|";
    font-size: 0.9rem;
    color: #dee2e6;
}

/* Alternatif Stil: Ok Şeklinde */
.breadcrumb-arrows .breadcrumb {
    margin-left: -0.75rem;
}

.breadcrumb-arrows .breadcrumb-item {
    background-color: #e9ecef;
    padding: 0.4rem 1.5rem;
    position: relative;
}

.breadcrumb-arrows .breadcrumb-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -0.75rem;
    top: 0;
    bottom: 0;
    width: 1.5rem;
    background-color: #e9ecef;
    clip-path: polygon(0 0, 0 100%, 100% 50%);
    z-index: 1;
}

.breadcrumb-arrows .breadcrumb-item + .breadcrumb-item {
    margin-left: 0;
    padding-left: 2rem;
}

.breadcrumb-arrows .breadcrumb-item + .breadcrumb-item::before {
    content: none;
}

.breadcrumb-arrows .breadcrumb-item.active {
    background-color: var(--bs-primary, #3490dc);
    color: #fff;
}

.breadcrumb-arrows .breadcrumb-item.active::after {
    background-color: var(--bs-primary, #3490dc);
}

.cursor-pointer {
    cursor: pointer;
}

.brands-slider {
    height: 6rem;
}

.whatsapp-icon {
    position: fixed;
    left: 10px;
    bottom: 10px;
    z-index: 999999;
}
.whatsapp-icon i {
    font-size: 35px;
}

/* Sepet */
.mini-cart-content {
    min-width: 270px;
    padding: 10px;
}

/* search */
.search-results-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 400px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ddd;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    margin-top: -1px;
}

.search-results-container .search-results-group {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.search-results-container .search-results-group h6 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #6c757d;
    margin-bottom: 8px;
}

.search-results-container .search-result-item {
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
    text-decoration: none;
    color: inherit;
    margin-bottom: 5px;
}

.search-results-container .search-result-item:hover {
    background-color: #f8f9fa;
}

.search-results-container .search-result-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 10px;
    border-radius: 4px;
    border: 1px solid #eee;
}

.search-results-container .search-result-item .search-item-content {
    flex: 1;
}

.search-results-container .search-result-item .search-item-title {
    font-weight: 500;
    margin-bottom: 2px;
    color: #212529;
}

.search-results-container .search-result-item .search-item-meta {
    font-size: 0.8rem;
    color: #6c757d;
}

.search-results-container .search-result-item .search-item-price {
    font-weight: 600;
    color: #0d6efd;
}

.search-results-container .search-footer {
    padding: 10px 15px;
    text-align: center;
    border-top: 1px solid #eee;
    background-color: #f8f9fa;
}

.search-results-container .no-results {
    padding: 20px;
    text-align: center;
    color: #6c757d;
}

.search-item-content .price-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-item-old-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 0.9em;
}

.search-item-price {
    font-weight: 600;
    color: #0d6efd;
}

/* sidebar */
.account-sidebar {
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
    min-height: calc(100vh - 56px);
}
.account-sidebar .nav-link {
    color: #495057;
    border-radius: 0;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.account-sidebar .nav-link:hover {
    background-color: #e9ecef;
}
.account-sidebar .nav-link.active {
    color: #fff;
    background-color: #0d6efd;
}
.account-sidebar .nav-link i {
    margin-right: 10px;
}
.form-container {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    padding: 20px;
}
.page-header {
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

/* Responsive için ek sınıflar */
@media (max-width: 767.98px) {
    .slider-title {
        font-size: 1.75rem;
    }

    .slider-description {
        display: none;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .checkout-steps .step-text {
        font-size: 0.75rem;
    }

    .checkout-steps .step {
        width: 60px;
    }

    .breadcrumb {
        font-size: 0.85rem;
    }

    .breadcrumb-arrows .breadcrumb-item {
        padding: 0.3rem 1.2rem;
    }

    .breadcrumb-arrows .breadcrumb-item + .breadcrumb-item {
        padding-left: 1.5rem;
    }
}
