/* WooCommerce Mobil Alt Bar Stilleri */

.wc-mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--wc-mobile-bottom-bar-color, #ffffff);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    justify-content: space-around;
    align-items: center;
    padding: 5px 0;
}

@media screen and (max-width: 768px) {
    .wc-mobile-bottom-bar {
        display: flex;
    }
    
    body {
        margin-bottom: 60px;
    }
}

.wc-mobile-bottom-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    font-size: 10px;
    position: relative;
    padding: 5px;
    flex: 1;
    text-align: center;
}

.wc-mobile-bottom-bar-item:hover,
.wc-mobile-bottom-bar-item:focus {
    color: var(--wc-mobile-bottom-bar-active-color, #f44336);
}

.wc-mobile-bottom-bar-item .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.wc-mobile-bottom-bar-label {
    margin-top: 2px;
}

.wc-mobile-bottom-bar-cart-count {
    position: absolute;
    top: 0;
    right: 50%;
    transform: translateX(8px);
    background-color: var(--wc-mobile-bottom-bar-active-color, #f44336);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

/* Kategori Çekmecesi Stilleri */
.wc-mobile-category-drawer {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 70%;
    background-color: #fff;
    z-index: 1000;
    transition: bottom 0.3s ease;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
}

.wc-mobile-category-drawer.active {
    bottom: 0;
}

.wc-mobile-category-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 2;
}

.wc-mobile-category-drawer-header h3 {
    margin: 0;
    font-size: 18px;
}

.wc-mobile-category-drawer-close {
    cursor: pointer;
    color: #333;
    font-size: 24px;
}

.wc-mobile-category-drawer-content {
    padding: 15px 20px;
}

/* Kategori listesi */
.wc-mobile-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.wc-mobile-categories-list li {
    margin-bottom: 5px;
}

.wc-mobile-categories-list li a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: all 0.2s ease;
}

.wc-mobile-categories-list li a:hover,
.wc-mobile-categories-list li a:focus {
    color: var(--wc-mobile-bottom-bar-active-color, #f44336);
    background-color: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.wc-mobile-category-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.wc-mobile-category-drawer-overlay.active {
    display: block;
}