/* --- MAĞAZA ÖZEL STİLLERİ (shop-custom.css) --- */

/* 1. SEPET BUTONU ÖZELLEŞTİRMESİ */
/* Sadece .shop-cart-btn sınıfına sahip olanları etkiler */
.shop-cart-btn {
    display: flex !important;
    align-items: stretch !important; /* Siyah kutunun dikeyde tam kaplaması için */
    justify-content: space-between;
    height: 50px !important;
    min-width: 140px;
    background-color: #fff;
    border-radius: 50px !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-decoration: none !important;
    overflow: hidden !important; /* Siyah kutunun taşmaması için şart */
    transition: transform 0.3s ease;
}

/* Sepet Sol Kısım (İkon ve Fiyat) */
.shop-cart-btn .left-content {
    display: flex !important;
    align-items: center;
    padding-left: 20px !important;
    flex: 1;
}

/* Sepet Sağ Kısım (Siyah Adet Kutusu) */
.shop-cart-btn .count-box {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-color: #121212;
    color: #fff;
    width: 60px !important;
    height: auto !important; /* Stretch sayesinde full boy */
    border-radius: 0 !important;
    margin: 0 !important;
    font-size: 16px;
    font-weight: bold;
}

/* İkon ve Yazı Ayarları */
.shop-cart-btn i { color: #fca311; font-size: 18px; margin-right: 8px; line-height: 1; }
.shop-cart-btn .price-text { color: #000; font-weight: 700; font-size: 15px; margin-top: 2px; line-height: 1; }


/* 2. DİL BUTONU ÖZELLEŞTİRMESİ */
/* Dropdown olduğu için overflow: visible olmak ZORUNDA */
.shop-lang-btn {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* En üstte durması için */
    cursor: pointer;
    width: 80px !important;
    height: 50px !important;
    padding: 0 !important;
    background-color: #fff;
    border-radius: 50px !important;
    margin-left: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #f2f2f2;
    overflow: visible !important; /* DÜZELTME: Dropdown'ın görünmesi için bu visible olmalı */
}

/* Bayrak Görseli */
.shop-lang-btn .current-flag {
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: block;
    border-radius: 50px !important; /* Parent visible olduğu için radius'u buraya verdik */
}

/* Dropdown Menü */
.shop-lang-dropdown {
    display: none;
    position: absolute;
    top: 60px; /* Butonun hemen altı */
    left: 50%;
    transform: translateX(-50%); /* Ortalamak için */
    width: 100%;
    min-width: 60px;
    background-color: #121212;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 10px;
    z-index: 10000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.shop-lang-btn.active .shop-lang-dropdown {
    display: grid !important;
    gap: 8px;
}

.shop-lang-dropdown li {
    width: 100% !important;
    height: 30px !important;
    border-radius: 4px;
    background-size: cover !important;
    background-position: center !important;
    cursor: pointer;
    list-style: none;
    border: 1px solid #444;
}

.shop-lang-dropdown li:hover {
    border-color: #fca311;
    transform: scale(1.05);
}

/* Sticky Header İçin Özel Ayar (Küçülmeyi Engelleme) */
.sticky-actions-group .shop-cart-btn,
.sticky-actions-group .shop-lang-btn {
    transform: none !important;
    margin-top: 0 !important;
}