﻿: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.) */
    --color-green: #3BAA07; /* Yeşil rengi*/
    /* 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-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.home-product {
    margin-bottom: 4rem;
}

.dynamic-banner-element {
    position: relative;
    width: 100%;
    height: var(--comp-heigth-banner);
    border-radius: var(--border-radius-md);
    color: white;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    font-family: sans-serif;
    margin: var(--spacing-rem-xs) auto;
    padding: 0 !important;
}

    .dynamic-banner-element .text-content {
        padding: 20px 40px;
        max-width: 60%;
        z-index: 1;
    }

    .dynamic-banner-element h2 {
        margin: 0 0 10px 0;
        font-size: 2.5em;
        font-weight: bold;
    }

    .dynamic-banner-element p {
        margin: 0;
        font-size: 1.1em;
        line-height: 1.5;
        max-width: 500px;
    }

.featured-categories-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.category-card {
    width: var(--comp-width-category);
    text-align: center;
}

    .category-card a {
        font-family: var(--font-family-primary);
        font-size: var(--font-size-xs);
        font-weight: var(--font-weight-medium);
        text-decoration: none;
        color: var(--color-dark);
        display: block;
    }

        .category-card a:hover .category-card-title {
            color: var(--color-a-hover);
        }

.category-card-image {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    max-width: 110px;
}

    .category-card-image img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.category-card-title {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-xxs-1);
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    color: var(--color-dark);
    display: block;
}

@media (max-width: 768px) {
    .dynamic-banner-element {
        position: relative;
        width: 100%;
        height: var(--comp-heigth-banner-mobil);
        border-radius: var(--border-radius-md);
        color: white;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow: hidden;
        font-family: sans-serif;
        margin: var(--spacing-rem-xs) auto;
        padding: 0 !important;
    }

        .dynamic-banner-element .text-content {
            max-width: 75%;
            z-index: 1;
            margin: auto;
        }

        .dynamic-banner-element h2 {
            width: 100%;
            margin: auto;
            text-align: center;
            font-family: var(--font-family-primary);
            font-size: var(--font-size-base);
            font-weight: var(--font-weight-bold);
        }

        .dynamic-banner-element p {
            width: 100%;
            margin: var(--spacing-xs) auto;
            text-align: center;
            font-family: var(--font-family-primary);
            font-size: var(--font-size-xs);
            font-weight: var(--font-weight-bold);
        }

    .featured-categories-container {
        justify-content: flex-start;
        gap: 16px;
    }

    .product-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 20px;
    }
}

.blog-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

    .blog-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 60%);
    z-index: 1;
}

.blog-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1.5rem;
    color: #fff;
    z-index: 2;
    width: 100%;
}

.blog-card.blog-card-large {
    min-height: 500px;
}

.blog-card-large .blog-card-title {
    font-family: var(--font-family-primary);
    font-size: 35px;
    font-weight: var(--font-weight-bold);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.blog-card.blog-card-small {
    min-height: 250px;
}

.blog-card-small .blog-card-title {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-bold);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.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;
    }

.add-to-cart-btn {
    padding: 0 !important;
}

.product-image {
    width: unset !important;
    border: unset !important;
    height: 150px !important;
    object-fit: contain;
    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;
}
