@media (max-width: 768px) {
    .nav {
        flex-direction: column;
    }

    .banner-slider .owl-carousel .item img {
        width: 100%;
        height: auto !important;
    }

    .owl-cat .circle-img {
        margin: 5px;
    }

    .owl-cat .category-item p {
        font-size: 12px;
        font-weight: 400;
    }

    /* menü Accordion Başlıkları */
    .offcanvas-body .accordion-button {
        font-size: 16px;
        font-weight: bold;
        background-color: #ffffff;
        color: #333;
        border: none;
    }

    .offcanvas-body .accordion-button:focus {
        box-shadow: none;
    }

    .offcanvas-body .accordion-body a {
        display: block;
        padding: 5px 0;
        color: #555;
        text-decoration: none;
    }

    .offcanvas-body .accordion-body a:hover {
        color: #ff6600;
    }

    /* footer Accordion Başlıkları */
    #footerAccordion .accordion-button {
        font-size: 16px;
        font-weight: bold;
        background-color: #ffffff;
        color: #333;
        border: none;
    }

    #footerAccordion .accordion-button:focus {
        box-shadow: none;
    }

    #footerAccordion .accordion-body a {
        display: block;
        padding: 5px 0;
        color: #555;
        text-decoration: none;
    }

    #footerAccordion .accordion-body a:hover {
        color: #ff6600;
    }

    .footer-links {
        padding: 15px 0;
    }

    .footer-links a {
        display: block;
        color: #555;
        text-decoration: none;
        padding: 5px 0;
    }

    .footer-links a:hover {
        color: #ff6600;
    }

    .accordion-body i {
        font-size: 20px;
        color: #444;
        transition: color 0.3s ease-in-out;
    }

    .accordion-body i:hover {
        color: #ff6600;
    }

    .company-desc {
        padding-top: 30px;
        padding-bottom: 20px;
    }

    .text-muted {
        margin-bottom: 10px !important;
    }

    .topheader,
    .webheader {
        display: none;
    }

    .fixed-top {
        display: block;
    }

    .custom-badge {
        font-size: 10px;
        padding: 3px 7px;
        display: table;
        margin: 5px 0px;
    }

    .all-badge {
        position: absolute;
        left: 5px;
    }

    .urun-slider .card .card-title {
        height: 72px;
    }

    .navbar-brand {
        padding-right: inherit;
    }

    main {
        padding-top: 93px;
    }

    .fixed-top input {
        font-size: 12px !important;
    }

    #searchBox {
        position: relative;
        display: flex;
        align-items: center;
        width: 100%;
    }

    #searchBox .search-input {
        width: 100%;
        padding: 10px 40px 10px 15px;
        /* Sağ tarafa buton için boşluk bırak */
        border: 1px solid #ccc;
        border-radius: 20px;
        font-size: 18px;
    }

    #searchBox .search-button {
        position: absolute;
        right: 30px;
        background: none;
        border: none;
        cursor: pointer;
        font-size: 18px;
        color: #666;
    }

    .max-wcontent {
        padding: 0px;
    }

    .close-btn {
        position: absolute;
        top: -60px;
        right: 23px;
        border: none;
        color: #000;
    }

    .pg-product-title {
        font-size: 24px;
        padding-top: 20px;
    }

    /* Mobilde sekmeleri alt alta koy */
    .product-tabs {
        flex-direction: column;
        margin-top: 30px;
    }

    .product-tabs .prd-nav-item {
        width: 100%;
    }

    .product-tabs .nav-link {
        text-align: left;
        padding: 10px;
        border-bottom: 1px solid #ddd;
        display: block;
        width: 100%;
        margin-top: 0px;
    }

    .product-tabs .nav-link.active {
        background: #f8f9fa;
    }

    #sabit-footer {
        position: fixed;
        bottom: -100px;
        /* Başlangıçta aşağıda gizli */
        left: 0;
        width: 100%;
        z-index: 1050;
        background: white;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        transition: bottom 0.3s ease-in-out;
        opacity: 0;
    }

    #sabit-footer.show {
        bottom: 0;
        /* Kaydırınca yukarı çıksın */
        opacity: 1;
    }

    #sabit-footer .btn-orange {
        width: auto;
        padding: 6px;
        font-weight: 400;
    }

    .gender-selection {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .gender-option {
        max-width: 100%;
        width: 100%;
    }

    .user-content .accordion-button:not(.collapsed)::after {
        display: inline-block;
    }

    .user-content .accordion-button::after {
        display: inline-block;
    }

    .quantity-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .price-container {
        display: block;
    }

    .filter-panel .accordion-button::after {
        display: inherit;
    }

    .filter-panel .accordion-button {

        padding: 15px;
    }


}

@media (min-width: 768px) {

    /* Webde tüm akordeon menülerin açık kalmasını sağlar */
    .filter-panel .accordion-collapse {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
    }
}


/* Mobilde breadcrumb'ı kısaltma */
@media (max-width: 576px) {
    .breadcrumb {
        display: flex;
        max-width: 100%;
        overflow: hidden;
    }

    .breadcrumb-item {
        display: inline-block;
        max-width: 40%;
        /* Mobilde her öğeye maksimum genişlik */
        overflow: hidden;
        text-overflow: ellipsis;
        /* Sığmayan metni "..." ile göster */
        white-space: nowrap;
    }

    .breadcrumb-item:first-child {
        max-width: 10%;
    }

    .breadcrumb-item:last-child {
        max-width: 90%;
        /* Son öğeyi biraz daha uzun bırak */
    }
}

@media (max-width: 992px) {
    .col-lg-4 {
        margin-top: 20px;
        text-align: center !important;
    }

    .filter-zoom  {
        position: relative; /* Mobilde normal konumuna geri gelsin */
        max-height: none;
    }
}