﻿:root {
    /* Renk Paleti */
    --color-primary-black: #000000; /* Ana siyah rengi */
    --color-primary-white: #FFFFFF; /* Ana beyaz rengi */
    --color-primary: #FFCE13; /* Ana marka rengi (Sarı) */
    --color-primary-dark: #e0a800; /* Ana rengin koyu tonu (hover) */
    --color-dark: #212121; /* Koyu arka planlar ve metinler */
    --color-light: #ffffff; /* Açık arka planlar (yüzeyler) */
    --color-background: #F8F7F5; /* Genel sayfa arka planı */
    --color-background-layout: #F8F7F5; /* Genel sayfa arka planı */
    --color-background-red: #D1512D; /* Genel sayfa arka planı */
    --color-text-primary: #333333; /* Ana metin rengi */
    --color-text-secondary: #6c757d; /* İkincil, gri metin rengi */
    --color-border: #dddddd; /* Kenarlık rengi */
    --color-border-light: #eeeeee; /* Daha açık kenarlık rengi */
    --color-accent-danger: red; /* Vurgu rengi (indirim vb.) */
    --color-a-hover: #e0a800; /* Vurgu rengi (indirim vb.) */
    /* Font ve Tipografi */
    --font-family-primary: 'Plus Jakarta Sans', sans-serif;
    --font-family-secondary: 'Inter', sans-serif;
    --font-size-xxs: 9px;
    --font-size-xxs-1: 11px;
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-h1: 24px;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    /* Boşluklar (Spacing) */
    --spacing-xs: 8px;
    --spacing-sm: 10px;
    --spacing-md: 15px;
    --spacing-lg: 20px;
    --spacing-xl: 30px;
    /* Boşluklar (Spacing) */
    --spacing-rem-xs: 1rem;
    --spacing-rem-sm: 2rem;
    --spacing-rem-md: 3rem;
    --spacing-rem-lg: 4rem;
    --spacing-rem-xl: 5rem;
    /* Kenarlık Yarıçapı (Border Radius) */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    /* Gölgeler (Box Shadow) */
    --box-shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
    --box-shadow-md: 0px 8px 16px rgba(0, 0, 0, 0.2);
    /* Geçişler (Transitions) */
    --transition-fast: 0.3s ease;
    --sidebar-bg-color: #ffffff;
    --sidebar-collapsed-width: 90.4px;
    --sidebar-expanded-width: 260px;
    --sidebar-icon-color: #6c757d;
    --sidebar-text-color: #343a40;
    --sidebar-active-bg: #FFCE13; /* Sarı renk */
    --sidebar-active-icon-color: #000000;
    --sidebar-separator-color: #e9ecef;
    --sidebar-transition-speed: 0.3s;
    /* Yükseklikler  */
    --comp-heigth-banner: 230px;
    --comp-heigth-banner-mobil: 170px;
    --comp-heigth-md: 8px;
    --comp-heigth-lg: 16px;
    /* Genişlikler  */
    --comp-width-category: 100px;
}

.product-main-image {
    transition: transform 0.3s ease;
}

.product-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .product-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

.add-to-cart-section .add-to-cart-btn {
    background-color: #FFCE13;
    border-color: #FFCE13;
    border-radius: 7px;
    padding: 6px 24px 6px 24px;
    width: 45%;
}

.price-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    flex-grow: 1;
    align-content: center;
}

.rating .fa-star {
    font-size: 0.9rem;
}

.document-item {
    transition: background-color 0.2s ease;
}

    .document-item:hover {
        background-color: #f8f9fa;
    }

.review-item {
    transition: all 0.2s ease;
}

.no-image-placeholder {
    border: 2px dashed #dee2e6;
}

.properties-container {
    box-shadow: 0 2px 10px rgba(246, 213, 92, 0.3);
}

.property-item {
    transition: all 0.2s ease;
    border: 1px solid rgba(246, 213, 92, 0.3);
}

    .property-item:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

.right-section h1.h2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 1.5rem;
}

.description-content {
    border: 1px solid #dee2e6;
    height: 100%;
    overflow-y: auto;
}

    .description-content::-webkit-scrollbar {
        width: 10px;
    }

    .description-content::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .description-content::-webkit-scrollbar-thumb {
        background: #FFCE13;
    }

        .description-content::-webkit-scrollbar-thumb:hover {
            background: #e6b800;
        }

    .description-content ul {
        list-style: unset !important;
    }

.nav-pills .nav-link {
    margin: 0 2px;
    font-weight: 500;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

    .nav-pills .nav-link:hover {
        background-color: #fff;
        border-color: #dee2e6;
        transform: translateY(-1px);
    }

    .nav-pills .nav-link.active {
        background-color: #fff;
        color: #000000;
        border-color: #FFCE13;
        box-shadow: 0 2px 10px rgba(13, 110, 253, 0.2);
    }

.product-tabs-container {
    border-radius: 10px;
    overflow: hidden;
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    min-height: 240px;
}

.tab-content {
    min-height: 325px;
}

.price-section-price {
    color: #000000;
    font-family: Inter;
    font-size: 20px;
    line-height: 30px;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.input-group-lg > .btn, .input-group-lg > .form-control, .input-group-lg > .form-select, .input-group-lg > .input-group-text {
    font-size: 1.05rem !important;
}


.right-section {
    justify-content: space-between;
    max-height: 500px;
}

.product-description {
    flex-grow: 1;
}


@media print {
    .nav-pills, .product-tabs-container .nav {
        display: none;
    }

    .tab-content {
        border: none !important;
        box-shadow: none !important;
    }
}

.pdf-container {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.accordion-button:not(.collapsed) {
    background-color: #fff3cd;
}

.alert {
    margin-bottom: 2rem !important;
}

.product-image-container {
    background-color: var(--color-primary-white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .product-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 20px;
    }

    #productTabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

        #productTabs::-webkit-scrollbar {
            display: none;
        }

        #productTabs .nav-item {
            flex-shrink: 0;
            flex-grow: 0;
        }

        #productTabs .nav-link {
            white-space: nowrap;
        }
}

.best-deals-section {
    font-family: Arial, sans-serif;
    margin: 40px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

    .section-header h2 {
        font-size: 24px;
        font-weight: bold;
    }

    .section-header .see-all-link {
        color: #f39c12;
        text-decoration: none;
        font-weight: bold;
    }

.best-deals-section {
    font-family: Arial, sans-serif;
    margin: 40px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

    .section-header h2 {
        font-size: 24px;
        font-weight: bold;
    }

    .section-header .see-all-link {
        color: #f39c12;
        text-decoration: none;
        font-weight: bold;
    }

.product-card {
    font-family: var(--font-family-secondary);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    position: relative;
    transition: box-shadow 0.3s ease;
    background: none !important;
}

    .product-card:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .product-card a.product-link {
        width: 100%;
        text-decoration: none;
        background-color: var(--color-primary-white) !important;
        border-top-left-radius: var(--border-radius-md);
        border-top-right-radius: var(--border-radius-md);
        margin-bottom: var(--spacing-md);
    }

    .product-card .card-title {
        font-size: var(--font-size-sm);
        font-weight: var(--font-weight-medium);
    }

    .product-card .card-text {
        font-size: var(--font-size-xs);
        font-weight: var(--font-weight-regular);
    }

    .product-card .card-body {
        padding: 10px !important;
    }

    .product-card .card-footer {
        padding: 10px !important;
    }

    .product-card .price-section {
        background: none !important;
    }

    .product-card .add-to-cart-btn {
        padding: 0 !important;
    }

.product-image {
    width: unset !important;
    border: unset !important;
    height: 150px !important;
    object-fit: cover;
    min-height: 200px;
    max-width: 100%;
}

.product-name {
    font-size: 14px;
    color: #333;
    height: 40px;
    overflow: hidden;
    margin-bottom: 10px;
    line-height: 1.4;
}

.price-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 5px;
}

.old-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.discount-badge {
    font-size: 12px;
    color: #e74c3c;
    background-color: #fdedec;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}

.current-price {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}
