body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f8f8;
}

/* Üst çubuk */
.top-bar {
    height: auto;
    min-height: 40px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    padding: 5px 0;
    font-size: 0.85rem;
}

/* İkinci çubuk */
.second-bar {
    height: auto;
    min-height: 80px;
    background-color: #fff;
    display: flex;
    align-items: center;
    padding: 10px 0;
}

/* Arama kutusu */
.search-container {
    position: relative;
    width: 100%;
}

.search-container .form-control {
    padding-right: 35px;
}

.search-container .fas.fa-search {
    color: #6c757d;
    cursor: pointer;
}

.search-container .fas.fa-search:hover {
    color: #3c8889;
}

/* Üçüncü çubuk */
.ucuncu-bar {
    height: auto;
    min-height: 50px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    padding: 15px 0;
    position: relative;
    z-index: 1040;
    border-bottom: 1px solid #e0e0e0;
}

/* Sol sütun tasarımı */
.left-column {
    background-color: #3c8889;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    font-weight: 500;
    padding: 10px 15px;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Sağ sütun tasarımı */
.right-column {
    position: relative;
    z-index: 1040;
    display: flex;
    align-items: center;
    min-height: 50px;
    flex-wrap: wrap;
    gap: 5px;
    padding: 0 15px;
}

/* Nav menü stilleri */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 15px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.nav-link:hover {
    background-color: rgba(60, 136, 137, 0.1);
    color: #3c8889;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 4px;
    display: none;
    z-index: 1050;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    font-size: 14px;
}

.dropdown-item:hover {
    background-color: rgba(60, 136, 137, 0.1);
    color: #3c8889;
}

/* Mobil görünüm düzenlemeleri */
@media (max-width: 767.98px) {
    body {
        font-size: 14px;
        overflow-x: hidden;
    }
    
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .ucuncu-bar {
        padding: 5px 0;
    }

    .left-column {
        margin-bottom: 10px;
        width: 100%;
        font-size: 14px;
        min-height: 40px;
        padding: 8px 10px;
    }

    .right-column {
        padding: 0 5px;
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: flex-start;
        gap: 5px;
    }
    
    .right-column::-webkit-scrollbar {
        display: none;
    }
    
    .nav-menu {
        padding: 0 5px;
        gap: 5px;
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        position: relative;
        z-index: 2000;
    }
    
    .nav-menu::-webkit-scrollbar {
        display: none;
    }
    
    .nav-link {
        padding: 8px 10px;
        font-size: 13px;
        white-space: nowrap;
    }

    .dropdown-menu {
        position: absolute;
        z-index: 2000;
        background-color: #fff;
        border: 1px solid #e0e0e0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        padding: 10px 0;
    }

    .category-button {
        width: 100%;
        margin: 2px 0;
    }

    .category-button .btn {
        width: 100%;
        text-align: left;
        padding: 8px;
        border-radius: 4px;
        background-color: #f8f8f8;
        margin: 2px 0;
        font-size: 13px;
    }

    .top-bar {
        font-size: 0.7rem;
        padding: 5px 0;
    }
    
    .top-bar .row > div {
        text-align: center !important;
    }

    .second-bar {
        padding: 8px 0;
    }

    .search-container {
        margin: 8px 0;
    }
    
    .search-container input {
        height: 38px;
        font-size: 14px;
    }
    
    .search-container button {
        height: 38px;
        font-size: 14px;
    }

    .product-card {
        margin-bottom: 15px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .product-card .card-body {
        padding: 10px;
    }
    
    .product-card .card-title {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .product-card .card-text {
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    .product-card .btn {
        padding: 4px 8px;
        font-size: 13px;
    }

    .carousel-item img {
        max-height: 180px;
    }

    .carousel-caption {
        padding: 8px 5px;
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 4px;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
    }

    .carousel-caption h5 {
        font-size: 14px;
        margin-bottom: 0;
    }

    .carousel-caption p {
        font-size: 12px;
        margin-bottom: 0;
        display: none;
    }
    
    .carousel-indicators {
        margin-bottom: 0;
    }
    
    .carousel-indicators button {
        width: 8px;
        height: 8px;
        border-radius: 50%;
    }
    
    .mobile-menu-toggle {
        display: block;
        padding: 8px 10px;
        font-size: 14px;
    }
    
    h4, .h4 {
        font-size: 18px;
    }
    
    .bg-white {
        padding: 10px !important;
    }
    
    .mb-4 {
        margin-bottom: 10px !important;
    }
    
    .py-4 {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    
    .blog-card .card-body {
        padding: 10px;
    }
    
    .blog-card .card-title {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .blog-card .card-text {
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    .blog-card .btn {
        padding: 4px 8px;
        font-size: 13px;
    }
    
    .col-md-4, .col-lg-3 {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .row {
        margin-left: -5px;
        margin-right: -5px;
    }

    /* Mobil üst menü düzenlemesi */
    .nav-menu {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
        z-index: 2000;
    }

    .nav-item {
        width: 100%;
        margin-bottom: 5px;
        position: relative;
    }

    .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 15px;
        background-color: #f8f9fa;
        border-radius: 4px;
        border: 1px solid #e0e0e0;
        font-size: 15px;
        width: 100%;
    }

    .nav-link::after {
        content: '\f054';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 12px;
        transition: transform 0.3s;
    }

    .nav-link.active {
        background-color: #3c8889;
        color: #fff;
        border-color: #3c8889;
    }

    .nav-link.active::after {
        transform: rotate(90deg);
    }

    .dropdown-menu {
        display: none;
        position: static;
        width: 100%;
        margin-top: 5px;
        margin-bottom: 10px;
        padding: 0;
        border: none;
        box-shadow: none;
        background-color: transparent;
        z-index: 2000;
    }

    .dropdown-item {
        padding: 10px 15px;
        background-color: #fff;
        margin-bottom: 2px;
        border-radius: 4px;
        border-left: 2px solid #3c8889;
    }

    .top-bar {
        height: auto;
        min-height: 30px;
        font-size: 0.75rem;
    }

    /* Mobil kategoriler menüsü */
    .category-menu {
        display: none;
        background-color: #fff;
        border-radius: 4px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        margin-top: 10px;
        padding: 15px;
        border: 1px solid #e0e0e0;
    }

    .category-menu.show {
        display: block;
    }

    .mobile-menu-toggle {
        display: block;
        width: 100%;
        padding: 12px 15px;
        background-color: #3c8889;
        color: #fff;
        border: none;
        border-radius: 4px;
        font-size: 15px;
        margin-bottom: 10px;
        text-align: left;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle:hover {
        background-color: #2d6e6f;
    }

    .mobile-menu-toggle i {
        margin-right: 8px;
        transition: transform 0.3s ease;
    }

    .mobile-menu-toggle.active i {
        transform: rotate(180deg);
    }

    .menu-button {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 12px 15px;
        background-color: #f8f9fa;
        border: 1px solid #e0e0e0;
        border-radius: 4px;
        color: #333;
        font-size: 14px;
        margin-bottom: 5px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .menu-button:hover,
    .menu-button.active {
        background-color: #3c8889;
        color: #fff;
        border-color: #3c8889;
    }

    .menu-button i {
        margin-right: 8px;
        font-size: 14px;
        width: 20px;
        text-align: center;
    }

    .menu-button::after {
        content: '\f054';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 12px;
        transition: transform 0.3s;
    }

    .menu-button.active::after {
        transform: rotate(90deg);
    }

    .mega-menu {
        display: none;
        padding: 10px 0 10px 35px;
        margin-bottom: 5px;
    }

    .mega-menu.show {
        display: block;
    }

    .mega-menu-item {
        margin-bottom: 8px;
    }

    .mega-menu-item a {
        display: flex;
        align-items: center;
        padding: 8px 12px;
        color: #333;
        text-decoration: none;
        font-size: 14px;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    .mega-menu-item a:hover {
        background-color: #f8f9fa;
        color: #3c8889;
    }

    .mega-menu-item i {
        margin-right: 8px;
        font-size: 12px;
        width: 16px;
        text-align: center;
    }

    /* Mobil mega menü stilleri */
    @media (max-width: 767.98px) {
        .mega-menu {
            display: none;
            position: static;
            width: 100%;
            margin: 5px 0;
            padding: 10px;
            border: none;
            box-shadow: none;
            background-color: #f8f9fa;
            border-left: 2px solid #3c8889;
        }

        .mega-menu.show {
            display: block;
        }
    }
}

/* Tablet görünüm iyileştirmeleri */
@media (min-width: 768px) and (max-width: 991.98px) {
    .carousel-item img {
        max-height: 300px;
    }

    .product-card .card-title {
        font-size: 1.1rem;
    }

    .product-card .card-text {
        font-size: 0.9rem;
    }
}

/* Küçük ekranlarda menü butonları */
.mobile-menu-toggle {
    display: none;
    background-color: #3c8889;
    color: white;
    border: none;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

@media (max-width: 767.98px) {
    .mobile-menu-toggle {
        display: block;
        margin-bottom: 10px;
    }

    .category-menu {
        display: none;
        border-radius: 4px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        margin-bottom: 15px;
    }

    .category-menu.show {
        display: block;
    }

    .menu-button {
        font-size: 13px;
        padding: 8px 10px;
        margin-bottom: 5px;
    }
    
    .mega-menu {
        width: 100% !important;
        left: 0 !important;
        position: static !important;
        box-shadow: none;
        border: 1px solid #eee;
        border-radius: 4px;
        margin-bottom: 5px;
        padding: 10px !important;
    }
    
    .mega-menu-item {
        margin-bottom: 5px;
    }
    
    .mega-menu-item a {
        font-size: 12px;
        padding: 6px 8px;
    }
}

/* Ürün kartları */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.product-card .card-img-top {
    height: 180px;
    object-fit: cover;
}

.product-card .btn-success {
    background-color: #3c8889;
    border-color: #3c8889;
    transition: all 0.3s ease;
}

.product-card .btn-success:hover {
    background-color: #2a6061;
    border-color: #2a6061;
}

/* Blog kartları */
.blog-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.blog-card img {
    /* height: 180px; */
    object-fit: cover;
}

/* Kategori menü stilleri */
.category-menu {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.category-button {
    position: relative;
    border-bottom: 1px solid #eee;
}

.category-button:last-child {
    border-bottom: none;
}

.menu-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 15px;
    background: none;
    border: none;
    text-align: left;
    color: #333;
    font-size: 14px;
    transition: all 0.2s ease;
    font-weight: 400;
}

.menu-button:hover {
    background: #f8f9fa;
    color: #3c8889;
}

.menu-button i.fa-folder {
    display: none;
}

.menu-button i.fa-chevron-right {
    font-size: 12px;
    color: #999;
    margin-left: auto;
}

.category-button:hover .menu-button i.fa-chevron-right {
    color: #3c8889;
}

.mega-menu {
    position: absolute;
    left: 100%;
    top: 0;
    width: 800px;
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 20px;
    border-radius: 8px;
    display: none;
    z-index: 1000;
}

.category-button:hover .mega-menu {
    display: block;
}

.mega-menu-link {
    display: block;
    text-decoration: none;
    color: #333;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mega-menu-link:hover {
    background: rgba(60,136,137,0.1);
    transform: translateX(5px);
    color: #3c8889;
}

.mega-menu-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 10px;
}

.mega-menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mega-menu-content h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.mega-menu-content p {
    font-size: 12px;
    margin-top: 5px;
    color: #666;
}

.mega-menu-column {
    padding: 10px;
}

@media (max-width: 991.98px) {
    .menu-button {
        padding: 15px;
        font-size: 15px;
    }
    
    .menu-button i.fa-chevron-right {
        transform: rotate(90deg);
    }
    
    .mega-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        padding: 10px 15px;
        background: #f8f9fa;
    }
    
    .mega-menu-image {
        height: 80px;
    }
    
    .mega-menu-content h6 {
        font-size: 13px;
    }
    
    .mega-menu-content p {
        font-size: 11px;
    }
}

/* Ürün Detay Sayfası Stilleri */
.main-image-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 500px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.thumbnail {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.thumbnail:hover, .thumbnail.active {
    border-color: #3c8889;
}

.product-info h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.quantity-selector button {
    width: 32px;
    height: 32px;
    border: 1px solid #e0e0e0;
    background: #fff;
    font-size: 16px;
}

.quantity-selector input {
    width: 60px;
    height: 32px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

/* Benzer Ürünler Slider Stilleri */
.product-slider {
    position: relative;
    padding: 0 40px;
}

.product-slider .row {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.product-slider .row::-webkit-scrollbar {
    display: none;
}

.product-card {
    transition: transform 0.3s ease;
}

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

.product-card .card-img-top {
    height: 400px;
    object-fit: contain;
    padding: 1rem;
}

.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #3c8889;
    border: none;
    border-radius: 50%;
    color: white;
    z-index: 1;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.slider-control:hover {
    opacity: 1;
}

.slider-control.prev {
    left: 0;
}

.slider-control.next {
    right: 0;
}

/* Ürün Listesi Sayfası Stilleri */
.filter-card {
    border: none;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.filter-card .form-label {
    font-weight: 500;
    color: #333;
}

.price-range-input {
    width: 80px;
    display: inline-block;
}

.product-grid-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.product-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(60,136,137,0.2);
}

.product-grid-card .card-img-top {
    height: 250px;
    object-fit: contain;
    padding: 1rem;
}

.category-badge {
    position: absolute;
    left: 10px;
    top: 10px;
    background-color: #3c8889;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.discount-badge {
    position: absolute;
    right: 10px;
    top: 10px;
    background-color: #dc3545;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Yeni Mega Menü Stilleri */
.mega-menu {
    position: absolute;
    left: 100%;
    top: 0;
    width: 800px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 20px;
    border-radius: 0 10px 10px 0;
    display: none;
    z-index: 1000;
}

.category-button:hover .mega-menu {
    display: block;
}

.mega-menu-link {
    display: block;
    text-decoration: none;
    color: #333;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mega-menu-link:hover {
    background: rgba(60,136,137,0.1);
    transform: translateX(5px);
    color: #3c8889;
}

.mega-menu-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 10px;
}

.mega-menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mega-menu-content h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.mega-menu-content p {
    font-size: 12px;
    margin-top: 5px;
    color: #666;
}

.mega-menu-column {
    padding: 10px;
}

@media (max-width: 991.98px) {
    .mega-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        padding: 10px 0;
    }
    
    .mega-menu-image {
        height: 80px;
    }
    
    .mega-menu-content h6 {
        font-size: 13px;
    }
    
    .mega-menu-content p {
        font-size: 11px;
    }
}

/* Ürün Açıklaması Stilleri */
.product-description {
    line-height: 1.6;
    color: #333;
}

.product-description h1,
.product-description h2,
.product-description h3,
.product-description h4,
.product-description h5,
.product-description h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #3c8889;
}

.product-description p {
    margin-bottom: 1rem;
}

.product-description ul,
.product-description ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.product-description img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 4px;
}

.product-description table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.product-description table th,
.product-description table td {
    padding: 0.5rem;
    border: 1px solid #e0e0e0;
}

.product-description blockquote {
    padding: 1rem;
    margin: 1rem 0;
    border-left: 4px solid #3c8889;
    background-color: #f8f9fa;
}

/* Footer responsive */
@media (max-width: 767.98px) {
    .footer-section {
        margin-bottom: 20px;
        text-align: center;
    }

    footer h5 {
        margin-top: 10px;
        font-size: 1.1rem;
    }

    footer ul li {
        margin-bottom: 8px;
    }

    footer .social-icons {
        justify-content: center;
        margin-top: 15px;
    }
}