﻿/* === GENEL DEĞİŞKENLER VE TEMEL STİLLER === */
html, body {
    overflow-x: hidden;
}

:root {
    /* Doğa yeşilleri ve DERİNLİK KATAN DEĞİŞKENLER (Mevcut Tonların Birebir Korundu) */
    --dln-primary-blue: #2e7d32; /* Zengin Çimen/Yaprak Yeşili */
    --dln-secondary-blue: #4caf50; /* Canlı Doğa Yeşili */
    --dln-dark-blue: #1b5e20; /* Derin Orman/Yosun Yeşili (Çok Koyu) */
    --dln-light-blue: #c8e6c9; /* Çok Açık Yumuşak Filiz Yeşili */
    --dln-text-light: #ffffff;
    --dln-text-dark: #333333;
    --dln-text-muted: #6c757d;
    --dln-border-color: #dee2e6;
    --dln-sea-green: #a9dfbf; /* Açık Nane/Adaçayı Yeşili */
    --dln-sand: #f4fbf4; /* Çok Hafif Yeşilimsi Doğa Beyazı Arka Plan */
    --dln-danger: #dc3545;
    /* YENİ: Yüksek Derinlik Veren Degrade ve Katman Gölgeleri */
    --dln-grad-primary: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    --dln-grad-secondary: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    --dln-grad-card: linear-gradient(180deg, #ffffff 0%, #f7fcf7 100%);
    --dln-grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(244, 251, 244, 0.75) 100%);
    /* Profesyonel 3D Katmanlı Gölgeler */
    --dln-shadow-subtle: 0 4px 12px -2px rgba(27, 94, 32, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --dln-shadow-card: 0 8px 24px -4px rgba(27, 94, 32, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
    --dln-shadow-hover: 0 16px 32px -6px rgba(27, 94, 32, 0.16), 0 6px 12px -2px rgba(0, 0, 0, 0.06);
    --dln-shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

html {
    font-size: 12px;
}

body {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    color: var(--dln-text-dark);
    background-color: var(--dln-sand);
    padding-top: 165px;
}

/* === SAYFA YERLEŞİMİ STİLLERİ === */
.dln-page-container {
    max-width: 1600px;
    margin: 10px auto 0 auto;
    padding: 0 15px;
}

#dln-sidebar .dln-sidebar-inner {
    max-height: calc(100vh - 185px);
    overflow-y: auto;
    padding: 15px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(46, 125, 50, 0.12);
    box-shadow: var(--dln-shadow-card);
}

.dln-sidebar-title {
    font-size: 1.2rem;
    font-weight: 600;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--dln-light-blue);
    color: var(--dln-dark-blue);
}

/* Header/Footer içindeki sarmalayıcı */
.dln-main-wrapper {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

a {
    text-decoration: none;
    color: var(--dln-primary-blue);
    transition: all 0.2s ease-in-out;
}

    a:hover {
        color: var(--dln-dark-blue);
    }

/* === HEADER BÖLÜMÜ === */
.dln-header.fixed-top {
    z-index: 1030;
    background: var(--dln-grad-glass) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px 0 rgba(27, 94, 32, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.dln-top-bar {
    background-color: var(--dln-light-blue);
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(46, 125, 50, 0.15);
    box-shadow: var(--dln-shadow-inset);
}

    .dln-top-bar a {
        color: var(--dln-dark-blue);
        margin-right: 15px;
        transition: color 0.2s ease;
    }

    .dln-top-bar .dln-user-actions a,
    .dln-top-bar .dln-user-actions .dropdown-toggle {
        color: var(--dln-dark-blue);
    }

    .dln-top-bar a:hover {
        color: var(--dln-primary-blue);
    }

    .dln-top-bar i {
        margin-right: 5px;
    }

.dln-separator {
    color: var(--dln-text-muted);
    margin: 0 5px;
}

.dln-main-header {
    padding: 1.5rem 0;
}

.dln-logo-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    .dln-logo-area img {
        max-height: 50px;
        margin-bottom: 5px;
        margin-right: 0;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
    }

.dln-company-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dln-dark-blue);
    letter-spacing: 0.5px;
}

.dln-header-icon {
    display: flex;
    align-items: center;
    color: var(--dln-text-dark);
    margin-left: 20px;
    position: relative;
    transition: transform 0.2s ease;
}

    .dln-header-icon:hover {
        transform: translateY(-2px);
    }

    .dln-header-icon i {
        font-size: 1.5rem;
        color: var(--dln-text-muted);
    }

    .dln-header-icon span {
        margin-left: 8px;
        font-size: 0.9rem;
    }

    .dln-header-icon .badge {
        position: absolute;
        top: -5px;
        right: -10px;
    }

/* === ANA MENÜ BARI === */
.dln-menu-bar {
    background: var(--dln-grad-primary) !important;
    padding: 0;
    box-shadow: 0 4px 15px rgba(27, 94, 32, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Yeni Kategori Barı için Stiller */
.dln-category-bar {
    background: var(--dln-grad-secondary) !important;
    padding: 0;
    border-bottom: 1px solid var(--dln-dark-blue);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* --- YENİ KATEGORİ STİLLERİ --- */
.dln-category-dropdown .btn {
    background-color: var(--dln-primary-blue);
    color: var(--dln-text-light);
    border: none;
    border-radius: 0;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    width: 377px;
    text-align: left;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,0.2);
}

    .dln-category-dropdown .btn:hover {
        background-color: var(--dln-secondary-blue);
    }

.dln-category-dropdown .dropdown-menu {
    border-radius: 0 0 12px 12px;
    border: 1px solid rgba(46, 125, 50, 0.15);
    margin-top: 0;
    padding: 8px 0;
    box-shadow: var(--dln-shadow-hover);
}

#category-dropdown-menu {
    max-height: 75vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    #category-dropdown-menu::-webkit-scrollbar {
        width: 8px;
        background-color: transparent;
    }

    #category-dropdown-menu::-webkit-scrollbar-track {
        background: transparent;
    }

    #category-dropdown-menu::-webkit-scrollbar-thumb {
        background-color: transparent;
        border-radius: 4px;
    }

    #category-dropdown-menu:hover::-webkit-scrollbar-thumb {
        background-color: #ccc;
    }

    #category-dropdown-menu .nav-link,
    #mobile-category-menu .nav-link {
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
        transition: all 0.2s ease;
        border-radius: 6px;
        margin: 2px 8px;
        padding-left: 1.5rem;
    }

        #category-dropdown-menu .nav-link[data-bs-toggle="collapse"],
        #mobile-category-menu .nav-link[data-bs-toggle="collapse"] {
            color: var(--dln-dark-blue);
            font-weight: 600;
        }

    #category-dropdown-menu .collapse .nav-link,
    #mobile-category-menu .collapse .nav-link {
        color: var(--dln-primary-blue);
        font-weight: 400;
        font-size: 0.9rem;
    }

    #category-dropdown-menu .nav-link.active,
    #mobile-category-menu .nav-link.active {
        color: var(--dln-danger);
        font-weight: 600;
        background-color: rgba(220, 53, 69, 0.08);
    }

    #category-dropdown-menu .nav-link[data-bs-toggle="collapse"]:not(.collapsed),
    #mobile-category-menu .nav-link[data-bs-toggle="collapse"]:not(.collapsed) {
        color: var(--dln-danger);
        background-color: rgba(220, 53, 69, 0.05);
    }

    #category-dropdown-menu .collapse .nav.ms-3,
    #mobile-category-menu .collapse .nav.ms-3 {
        margin-left: 1.75rem !important;
    }

    #category-dropdown-menu .nav-link:not(.active):hover,
    #mobile-category-menu .nav-link:not(.active):hover {
        color: var(--dln-dark-blue);
        background-color: var(--dln-light-blue);
        transform: translateX(4px);
    }

.dln-main-nav {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

    .dln-main-nav li a {
        color: var(--dln-text-light);
        padding: 1rem 1.2rem;
        display: block;
        font-size: 1rem;
        font-weight: 500;
        transition: all 0.2s ease;
    }

        .dln-main-nav li a:hover {
            background-color: rgba(255, 255, 255, 0.15);
            text-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }

.dln-menu-bar .d-flex {
    justify-content: space-between;
}

.dln-menu-center {
    flex-grow: 1;
    display: flex;
}

.dln-menu-right {
    display: flex;
    align-items: center;
    color: var(--dln-text-light);
}

/* === FOOTER BÖLÜMÜ === */
.dln-footer {
    background: linear-gradient(180deg, #f0f7f0 0%, #e1f0e1 100%) !important;
    color: var(--dln-text-dark);
    padding: 4rem 0 1rem 0;
    border-top: 4px solid var(--dln-secondary-blue) !important;
    margin-top: 2rem;
    box-shadow: inset 0 12px 20px -10px rgba(27, 94, 32, 0.12);
}

    .dln-footer .dln-logo-area {
        margin-bottom: 1rem;
    }

.dln-footer-about {
    color: var(--dln-text-muted);
    font-size: 0.9rem;
}

.dln-footer h5 {
    color: var(--dln-primary-blue);
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.dln-footer .list-unstyled li {
    margin-bottom: 0.7rem;
}

.dln-footer .list-unstyled a {
    color: var(--dln-text-muted);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

    .dln-footer .list-unstyled a:hover {
        color: var(--dln-primary-blue);
        padding-left: 5px;
    }

.dln-social-icons {
    display: flex;
    padding: 0;
    margin-top: 1.5rem;
}

    .dln-social-icons a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: var(--dln-grad-primary);
        color: var(--dln-text-light);
        border-radius: 50%;
        margin-right: 10px;
        transition: all 0.25s ease;
        box-shadow: 0 4px 10px rgba(27, 94, 32, 0.2);
    }

        .dln-social-icons a:hover {
            transform: translateY(-4px) scale(1.05);
            box-shadow: 0 8px 16px rgba(27, 94, 32, 0.3);
        }

.dln-footer-bottom {
    border-top: 1px solid rgba(46, 125, 50, 0.15);
    padding-top: 1rem;
    margin-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--dln-text-muted);
}

/* === BİLEŞEN VE ÖZEL ALAN STİLLERİ === */
#slider-row {
    margin-bottom: 2rem;
}

#main-slider.carousel {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: var(--dln-shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

#main-slider .carousel-item, #main-slider .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

#main-slider .carousel-caption h5 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.7);
}

.dln-flag-icon {
    width: 20px;
    height: 15px;
    margin-right: 8px;
    border: 1px solid #ccc;
    vertical-align: middle;
}

.dln-accordion-icon {
    font-size: 1.1em;
    margin-top: 4px;
    transition: color 0.3s ease, transform 0.3s ease;
}

    .dln-accordion-icon.fa-square-plus {
        color: #198754;
    }

    .dln-accordion-icon.fa-square-minus {
        color: #dc3545;
        transform: rotate(180deg);
    }

/* === ÜRÜN KARTI STİLLERİ (RESİM TAŞMASINI %100 ÇÖZEN KURAL) === */
.product-card {
    background: var(--dln-grad-card) !important;
    border: 1px solid rgba(46, 125, 50, 0.18) !important;
    border-radius: 12px !important;
    box-shadow: var(--dln-shadow-subtle) !important;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    position: relative;
    overflow: hidden;
}

    .product-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    }

    .product-card:hover {
        transform: translateY(-6px) !important;
        box-shadow: var(--dln-shadow-hover) !important;
        border-color: var(--dln-secondary-blue) !important;
    }

    /* Resmin durduğu beyaz kutu */
    .product-card .product-media {
        position: relative;
        width: 100%;
        height: 180px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background-color: #ffffff;
        border-radius: 10px 10px 0 0;
        padding: 10px;
        box-sizing: border-box;
        overflow: hidden;
    }

        /* Kutu içindeki resim */
        .product-card .product-media img {
            /* Sırrı burada: width/height 'auto' olacak ki resim kendi oranını bozmasın */
            width: auto !important;
            height: auto !important;
            /* Ama kutudan büyükse en fazla kutu kadar büyüyebilsin */
            max-width: 100% !important;
            max-height: 100% !important;
            object-fit: contain !important;
            margin: auto !important;
        }

    .product-card:hover .product-media img {
        transform: scale(1.04) !important;
    }

    .product-card .card-body {
        text-align: center;
        padding: 0.6rem 0.75rem !important;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

.product-stock-code {
    font-size: 0.75rem !important;
    font-weight: 600;
    color: var(--dln-text-muted);
    text-align: center;
    margin-bottom: 0.3rem !important;
    background: #ffffff !important;
    padding: 3px 6px !important;
    border-radius: 6px !important;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06) !important;
}

.product-brand {
    font-size: 0.7rem !important;
    color: var(--dln-secondary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-bottom: 0.1rem !important;
}

.product-title {
    font-size: 0.85rem !important;
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.25 !important;
}

    .product-title a {
        color: var(--dln-dark-blue);
    }

        .product-title a:hover {
            color: var(--dln-primary-blue);
        }

.product-category {
    font-size: 0.7rem !important;
    color: #888;
    margin-bottom: 0.3rem !important;
}

.price-container {
    margin-top: auto;
    padding-top: 0.5rem !important;
    margin-bottom: 0;
}

.original-price {
    font-size: 0.8rem !important;
    color: var(--dln-text-muted);
    margin-right: 4px;
    font-weight: 500;
    text-decoration: line-through;
}

.try-price {
    font-size: 1.1rem !important;
    font-weight: 800;
    color: var(--dln-danger);
    text-shadow: 0 1px 2px rgba(220, 53, 69, 0.15);
}

.tax-info {
    font-size: 0.65rem !important;
    color: #aaa;
}

.product-action-vertical {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateX(15px);
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .product-action-vertical {
    opacity: 1;
    transform: translateX(0);
}

.btn-product-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px !important;
    height: 32px !important;
    background-color: #fff;
    color: var(--dln-text-dark);
    border-radius: 50%;
    margin-bottom: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    font-size: 0.85rem !important;
    transition: all 0.2s ease;
}

    .btn-product-icon:hover {
        background: var(--dln-grad-primary);
        color: #fff;
        transform: scale(1.1);
    }

/* Kategori Sayfası Breadcrumb */
.breadcrumb-container {
    padding: 0 0 1rem 0;
    font-size: 1.5rem;
}

.breadcrumb-parent {
    color: var(--dln-text-muted);
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #ccc;
}

.breadcrumb-child {
    color: var(--dln-text-dark);
    font-weight: 600;
}

/* RTL UYUMLULUK STİLLERİ */
[dir="rtl"] .dln-page-container {
    direction: rtl;
}

[dir="rtl"] .dln-main-nav {
    margin-right: 20px;
    margin-left: 0;
}

[dir="rtl"] .dln-header-icon {
    margin-right: 20px;
    margin-left: 0;
}

[dir="rtl"] .dln-social-icons a {
    margin-left: 10px;
    margin-right: 0;
}

[dir="rtl"] .dln-flag-icon {
    margin-left: 8px;
    margin-right: 0;
}

[dir="rtl"] .dln-top-bar a {
    margin-left: 15px;
    margin-right: 0;
}

/* MOBİL MENÜ STİLLERİ */
.dln-mobile-nav-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dln-text-light);
    padding: 0.5rem 1rem;
}

.dln-mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

    .dln-mobile-nav-overlay.show {
        opacity: 1;
        visibility: visible;
    }

.dln-mobile-nav-wrapper {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100%;
    background-color: #ffffff;
    z-index: 1045;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 8px 0 24px rgba(0,0,0,0.15);
}

[dir="rtl"] .dln-mobile-nav-wrapper {
    left: auto;
    right: -320px;
    transition: right 0.3s ease;
}

.dln-mobile-nav-overlay.show .dln-mobile-nav-wrapper {
    left: 0;
}

[dir="rtl"] .dln-mobile-nav-overlay.show .dln-mobile-nav-wrapper {
    right: 0;
}

.dln-mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--dln-grad-primary);
    color: var(--dln-text-light);
}

    .dln-mobile-nav-header h5 {
        margin: 0;
        font-size: 1.1rem;
    }

#mobile-nav-close-btn {
    background: none;
    border: none;
    color: var(--dln-text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

.dln-mobile-nav-content {
    flex-grow: 1;
    overflow-y: auto;
}

#mobile-category-menu {
    border: none;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
}

@media (max-width: 992px) {
    .dln-menu-center {
        display: none !important;
    }
}

/* === ÜRÜN DETAY SAYFASI STİLLERİ === */
.product-detail-container {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--dln-shadow-card);
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.main-image-container {
    position: relative;
    z-index: 1;
    border-radius: .5rem;
}

    .main-image-container img {
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .main-image-container:hover {
        z-index: 1100;
    }

        .main-image-container:hover img {
            transform: scale(1.3);
            box-shadow: 0 12px 36px rgba(0,0,0,0.22);
        }

/* YÜRÜYEN SLAYT STİLLERİ */
.ticker-row {
    margin-bottom: 2rem;
}

.ticker-container {
    width: 100%;
    overflow: hidden;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 10px 0;
    box-sizing: border-box;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);
}

.ticker-content {
    display: flex;
    width: fit-content;
    animation: ticker-animation 60s linear infinite;
}

.ticker-container:hover .ticker-content {
    animation-play-state: paused;
}

.ticker-item {
    display: flex;
    align-items: center;
    padding: 0 2rem;
    text-decoration: none;
    color: #212529;
    flex-shrink: 0;
}

    .ticker-item:hover {
        background-color: #e9ecef;
    }

    .ticker-item img {
        width: 50px;
        height: 50px;
        object-fit: contain;
        margin-right: 15px;
    }

.ticker-item-text .name {
    font-weight: 600;
    white-space: nowrap;
}

.ticker-item-text .slogan {
    font-size: 0.85em;
    color: #6c757d;
    white-space: nowrap;
}

@keyframes ticker-animation {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* SONSUZ KAYAN ÜRÜN BANDI (MARQUEE) */
.slider-container {
    overflow: hidden;
    padding: 10px 0;
    position: relative;
    width: 100%;
}

    .slider-container:hover .slider-track {
        animation-play-state: paused;
    }

.slider-track {
    display: flex;
    animation: marquee-scroll 40s linear infinite;
    width: fit-content;
}

.slide-item {
    flex-shrink: 0;
    width: 210px !important;
    margin: 0 10px !important;
}

.slider-product-image {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 5px;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* AJAX ARAMA ÖNERİLERİ STİLLERİ */
#search-suggestions-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border: 1px solid var(--dln-border-color);
    border-top: none;
    z-index: 1050;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: var(--dln-shadow-hover);
    border-radius: 0 0 12px 12px;
}

.suggestion-item {
    display: flex;
    align-items: flex-start;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--dln-text-dark);
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

    .suggestion-item:last-child {
        border-bottom: none;
    }

    .suggestion-item:hover {
        background-color: var(--dln-sand);
    }

.suggestion-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-right: 15px;
    border: 1px solid var(--dln-border-color);
    border-radius: 6px;
    flex-shrink: 0;
}

.suggestion-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 50px;
}

.suggestion-stockcode {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--dln-primary-blue);
    margin-bottom: 4px;
}

.suggestion-name {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
}

.suggestion-no-result {
    padding: 15px;
    text-align: center;
    color: var(--dln-text-muted);
    font-style: italic;
}

.disabled-footer-menu {
    opacity: 0.6;
}

    .disabled-footer-menu li a {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }

.disabled-menu-item {
    opacity: 0.6;
}

    .disabled-menu-item a {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }

/* KATEGORİ MENÜSÜ DISABLED LİNK STİLİ */
#category-dropdown-menu .nav-link.disabled, #mobile-category-menu .nav-link.disabled {
    color: #adb5bd;
    pointer-events: none;
    cursor: not-allowed;
    background-color: transparent;
}

/* WHATSAPP FLOAT BUTONU STİLLERİ */
.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 1000;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #FFF;
    padding: 12px 24px;
    border-radius: 30px;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(18, 140, 126, 0.4);
    transition: all 0.3s ease;
    animation: blinker 2s infinite;
}

    .whatsapp-float:hover {
        color: #FFF;
        transform: scale(1.08) translateY(-2px);
        box-shadow: 0 10px 24px rgba(18, 140, 126, 0.5);
        animation-play-state: paused;
    }

    .whatsapp-float i {
        font-family: "Font Awesome 6 Brands";
        font-weight: 400;
        font-size: 28px;
        margin-right: 10px;
    }

@keyframes blinker {
    50% {
        opacity: 0.85;
        box-shadow: 0 4px 12px rgba(18, 140, 126, 0.25);
    }
}

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 25px;
}

/* MOBİL TOP-BAR DÜZENLEMESİ */
@media (max-width: 991.98px) {
    .dln-top-bar .col-12 {
        flex-direction: column !important;
    }

    .dln-contact-info {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        margin-bottom: 8px;
    }

    .dln-user-actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .dln-top-bar a {
        margin: 2px 8px;
    }

    .top-bar-mobile-contacts {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        padding-top: 5px;
        padding-bottom: 5px;
        border-bottom: 1px solid var(--dln-border-color);
    }

    .top-bar-mobile-actions {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    #top-bar-container .d-lg-none a {
        margin: 2px 8px;
    }
}

/* ÇEREZ MODAL (ALT) */
#cookieConsentModal.modal {
    top: auto !important;
    bottom: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: flex-end !important;
}

#cookieConsentModal .modal-dialog {
    margin: 0 !important;
    width: 50% !important;
    max-width: 100% !important;
    align-self: flex-end !important;
}

#cookieConsentModal.show .modal-dialog {
    transform: translateY(0%);
}

#cookieConsentModal .modal-content {
    border-radius: 0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border: none;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.15);
}

#cookieConsentModal .btn-cookie {
    padding: 8px 20px;
    font-weight: 500;
    border: none;
    border-radius: 5px;
    color: white;
}

#cookieConsentModal .btn-accept {
    background-color: #4CAF50;
}

#cookieConsentModal .btn-reject {
    background-color: #f44336;
}

.modal-backdrop {
    pointer-events: none !important;
    opacity: 0 !important;
}

#cookieConsentModal:not(.show) {
    display: none !important;
    visibility: hidden !important;
}

/* MOBİL HEADER DÜZENLEMESİ */
@media (max-width: 991.98px) {
    .dln-top-bar {
        padding: 2px 0;
        font-size: 0.7rem;
    }

    .top-bar-mobile-contacts {
        margin-bottom: 0;
        border-bottom: none;
    }

        .top-bar-mobile-contacts a {
            margin: 0 2px !important;
        }

    .top-bar-mobile-actions {
        margin-top: 0;
    }

    .dln-main-header {
        padding: 0.5rem 0;
    }

    .dln-logo-area {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 0;
        padding: 0;
    }

        .dln-logo-area img {
            max-height: 35px !important;
            max-width: 100%;
            object-fit: contain;
            margin: 0 !important;
        }

    .dln-company-title {
        display: none !important;
    }

    #search-form-wrapper {
        margin-top: 0;
        width: 100%;
    }

    #search-input {
        height: 35px;
        font-size: 0.85rem;
        border-radius: 4px 0 0 4px;
    }

    .btn-primary {
        height: 35px;
        padding: 0 12px;
        border-radius: 0 4px 4px 0;
    }

    body {
        padding-top: 110px !important;
    }
}

/* === SEPET İKONU VE RENK YÖNETİMİ === */
#cart-icon-container {
    font-size: 1.4rem !important;
    font-weight: 900 !important;
    align-items: center;
    display: flex;
    text-decoration: none;
    color: var(--dln-text-dark);
    transition: all 0.3s ease;
}

    #cart-icon-container i {
        font-size: 3rem !important;
        margin-right: 10px;
        color: var(--dln-danger);
        transition: color 0.3s ease, transform 0.3s ease;
        filter: drop-shadow(0 2px 4px rgba(220, 53, 69, 0.2));
    }

#cart-badge-count {
    font-size: 1.2rem !important;
    font-weight: 900 !important;
    padding: 0 !important;
    width: 38px !important;
    height: 38px !important;
    background-color: var(--dln-danger) !important;
    color: #fff !important;
    position: absolute;
    top: -10px !important;
    right: -15px !important;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#cart-icon-container.cart-full i {
    color: #28a745 !important;
    filter: drop-shadow(0 2px 4px rgba(40, 167, 69, 0.2));
}

#cart-icon-container.cart-full #cart-badge-count {
    background-color: #28a745 !important;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

#cart-icon-container:hover i {
    transform: scale(1.1);
}

@keyframes cart-bounce {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }

    100% {
        transform: scale(1);
    }
}

.cart-anim {
    animation: cart-bounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sub-menu-icon {
    transition: transform 0.3s ease-in-out;
    transform: rotate(180deg);
}

.nav-link.collapsed .sub-menu-icon {
    transform: rotate(0deg);
}

/* === GİRİŞ VE KAYIT BUTONLARI ÖZEL STİLİ (ZENGİN DEGRADE & DERİNLİK) === */
.dln-btn-custom {
    background: var(--dln-grad-primary) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(27, 94, 32, 0.3) !important;
}

    .dln-btn-custom i {
        color: #ffffff !important;
    }

    .dln-btn-custom:hover {
        background: var(--dln-grad-secondary) !important;
        color: #ffffff !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(27, 94, 32, 0.4) !important;
    }

/* ÜST MENÜLER HOVER RENGI */
.dln-top-bar .dropdown-menu a:hover, .dln-top-bar .dropdown-menu .dropdown-item:hover {
    background-color: #e8f5e9 !important;
    color: #1b5e20 !important;
}

/* HIZLI SEPETE EKLENME OVERLAY */
.product-card .product-media {
    position: relative;
}

.product-added-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(25, 135, 84, 0.95);
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
}

    .product-added-overlay.show {
        opacity: 1;
        visibility: visible;
    }

    .product-added-overlay i {
        font-size: 3rem;
        margin-bottom: 10px;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    }

    .product-added-overlay span {
        font-size: 1.1rem;
        font-weight: 700;
    }
