/* --- HEADER GENEL --- */
.logo-image {
    width: 100%;
}
.h14-top-bar {
    background-color: #1a2421;
    color: white;
    font-size: 13px;
}
.h14-top-bar a {
    color: #ccc;
    text-decoration: none;
}
.h14-logo-img {
    max-height: 50px;
    width: 100%;
    object-fit: contain;
    transition: 0.3s;
}
.h14-search-input {
    border-radius: 5px 0 0 5px !important;
    border: 1px solid #ddd;
}
.h14-search-input:focus {
    outline: none;
    box-shadow: none;
}
.h14-search-btn {
    background-color: #3e6d52;
    color: white;
    border-radius: 0 5px 5px 0 !important;
    border: none;
}
.h14-search-btn:hover {
    background-color: #3e6d52;
    color: white;
}
.h14-cart-box {
    background-color: #3e6d52;
    color: #ffffff;
}
.h14-main-nav {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    background: white;
}
.h14-nav-link {
    color: #333 !important;
    font-weight: 600;
    padding: 15px 18px !important;
}
.h14-nav-item .dropdown-menu a img {
    width: 100px;
}

@media (min-width: 992px) {
    .h14-nav-container {
        position: relative;
    }
    .h14-nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
    .h14-nav-item.h14-mega-area {
        position: static;
    }
    .h14-mega-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 20px;
        border-top: 3px solid #3e6d52;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-radius: 0 0 8px 8px;
    }
    .h14-standard-dropdown {
        min-width: 200px;
        border-top: 3px solid #3e6d52;
    }
    .dropdown-submenu {
        position: relative;
    }
    .dropdown-submenu > .dropdown-menu {
        display: none;
        position: absolute;
        left: 100%;
        top: 0;
        margin-left: 0;
        border-top: 2px solid #3e6d52;
    }
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
    .h14-submenu {
        min-width: 200px;
    }
    .h14-submenu-level3 {
        min-width: 180px;
    }
    .dropdown-submenu > .dropdown-toggle::after {
        content: '\f105';
        font-family: 'Font Awesome 6 Free';
        border: none;
        font-size: 18px;
        font-weight: bold;
        float: right;
        margin-left: auto;
    }
}
.h14-mega-title {
    font-weight: bold;
    color: #3e6d52;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    margin-bottom: 10px;
    display: block;
}
.h14-mega-list {
    list-style: none;
    padding: 0;
}
.h14-mega-list li a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    padding: 4px 0;
    display: block;
}
.h14-mega-list li a:hover {
    color: #3e6d52;
    padding-left: 5px;
    transition: 0.2s;
}

@media (max-width: 991px) {
    .h14-logo-img {
        max-height: 40px;
    }
    .h14-search-container {
        order: 3;
        margin-top: 15px;
    }
    .h14-mobile-dropdown-toggle {
        border: none !important;
        background: transparent !important;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .h14-mobile-dropdown-toggle::after {
        content: '▼';
        font-size: 12px;
        color: #3e6d52;
        transition: transform 0.3s ease;
    }
    .h14-mobile-dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(-180deg);
    }
    .h14-mobile-dropdown {
        display: none;
        padding: 10px 0;
    }
    .h14-mobile-dropdown.show {
        display: block;
    }
    .search-container {
        margin: 15px auto 0 auto;
    }
}
.h14-announcement-wrapper {
    height: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.h14-announcement-item {
    display: none;
    width: 100%;
    text-align: center;
}
.h14-announcement-item.active {
    display: block;
    color: #fff;
}
.h14-announcement-item.active a {
    color: #fff;
}
.search-container {
    margin: 0 auto 0 auto;
    position: relative;
}
.search-input-wrapper {
    position: relative;
    width: 100%;
}
.search-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
}
.search-input:focus {
    border-color: #4CAF50;
}
.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
}
.search-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-top: 8px;
    max-height: 500px;
    overflow-y: auto;
    z-index: 1100;
}
.search-results.active {
    display: block;
}
.result-section {
    padding: 15px;
}
.section-title {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-left: 5px;
}
.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-bottom: 8px;
}
.result-item:hover {
    background-color: #f8f8f8;
}
.product-name {
    font-size: 14px;
    color: #333;
    font-weight: 400;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 10px;
}
.product-price {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.original-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
}
.special-price {
    color: #e74c3c;
}
.no-results {
    padding: 30px;
    text-align: center;
    color: #999;
}
