
/*
 * Eduhol Mağaza 12-A tasarım düzeltmesi v23.2
 * Görünür tüm metinler en az 16px'tir.
 */

.edu-store-desktop-menu .edu-store-desktop-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 8px;
    min-width: auto;
    height: 100%;
    padding: 0 16px;
    color: inherit;
    border: 0;
    background: transparent;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.edu-store-desktop-menu .edu-store-desktop-button > i {
    font-size: 20px;
}

.edu-store-desktop-menu .edu-store-desktop-button > span {
    font-size: 16px;
    font-weight: 700;
}

.edu-store-desktop-menu.active .edu-store-desktop-button,
.edu-store-desktop-menu .edu-store-desktop-button:hover,
.edu-store-desktop-menu .edu-store-desktop-button:focus-visible {
    color: #f17565;
}

.edu-store-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.edu-store-header-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    color: #333 !important;
    border: 0;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    background: transparent;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    transition:
        color 160ms ease,
        background-color 160ms ease;
}

.edu-store-header-cart:hover,
.edu-store-header-cart:focus-visible {
    color: #f17565 !important;
    background: rgba(241, 117, 101, 0.06);
}

.edu-store-header-cart > i {
    color: #f17565;
    font-size: 21px;
}

.edu-store-header-cart > span,
.edu-store-header-cart b {
    font-size: 16px;
    font-weight: 700;
}

.edu-store-header-cart b {
    color: #f17565;
}

.edu-store-left-menu-item .up-menu-item {
    min-height: 46px;
}

.edu-store-left-menu-item .menu-text,
.edu-store-left-menu-item .menu-text > span {
    font-size: 16px;
}

.edu-store-left-menu-item .menu-text > i {
    color: #f17565;
    font-size: 20px;
}

.edu-store-left-menu-title {
    padding: 14px 14px 6px;
    color: #8b8b8b;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.edu-store-left-menu-title > span {
    font-size: 16px;
}

.edu-store-left-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    margin-left: auto;
    padding: 0 7px;
    color: #fff;
    border-radius: 999px;
    background: #f17565;
}

.edu-store-left-cart-count > span {
    font-size: 16px;
    font-weight: 800;
}

.edu-store-cart-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 6px;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #f17565;
    box-shadow: 0 5px 14px rgba(241, 117, 101, 0.28);
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
}

.edu-store-cart-badge > span {
    font-size: 16px;
    font-weight: 800;
}

.edu-store-cart-badge[hidden],
.edu-store-left-cart-count[hidden] {
    display: none !important;
}

/* Mobile Mağaza menü öğesi: mevcut alt menüyle aynı düzlemde, kare kutusuz. */
.edu-store-mobile-shop > a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    color: inherit;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    text-decoration: none !important;
}

.edu-store-mobile-shop > a > i {
    font-size: 25px;
}

.edu-store-mobile-shop.active > a,
.edu-store-mobile-shop > a:hover,
.edu-store-mobile-shop > a:focus-visible {
    color: #f17565;
}

.edu-store-mobile-shop.active > a::after {
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 22px;
    height: 3px;
    border-radius: 999px;
    background: #f17565;
    content: "";
    transform: translateX(-50%);
}

.edu-store-mobile-menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    font-size: 16px;
}

/*
 * Mobil sepet: alt menünün dışında, profil ikonunun tam üstünde,
 * sabit ve bağımsız modern FAB.
 */
.edu-store-mobile-cart-fab[hidden] {
    display: none !important;
}

.edu-store-mobile-cart-fab {
    position: fixed;
    right: 16px;
    bottom: 82px;
    z-index: 10020;
    display: none;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    color: #fff !important;
    border: 3px solid #fff;
    border-radius: 50%;
    background: linear-gradient(145deg, #f47f70, #eb6657);
    box-shadow:
        0 12px 28px rgba(44, 44, 44, 0.24),
        0 4px 12px rgba(241, 117, 101, 0.32);
    text-decoration: none !important;
    transition:
        transform 160ms ease,
        box-shadow 160ms ease;
}

.edu-store-mobile-cart-fab:hover,
.edu-store-mobile-cart-fab:focus-visible {
    transform: translateY(-2px);
    box-shadow:
        0 16px 34px rgba(44, 44, 44, 0.28),
        0 6px 16px rgba(241, 117, 101, 0.36);
}

.edu-store-mobile-cart-fab > i {
    font-size: 24px;
}

.edu-store-mobile-cart-fab .edu-store-cart-badge {
    top: -7px;
    right: -7px;
}

.edu-store-mobile-cart-fab-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    font-size: 16px;
}

.mobile-bottom-menu .mainmenu {
    width: 100%;
}

@media (max-width: 991px) {
    .edu-store-header-actions,
    .edu-store-desktop-menu {
        display: none !important;
    }

    .edu-store-mobile-cart-fab {
        display: inline-flex;
    }
}

@media (min-width: 992px) {
    .edu-store-mobile-shop,
    .edu-store-mobile-cart-fab {
        display: none !important;
    }
}

@media (max-width: 420px) {
    .edu-store-mobile-cart-fab {
        right: 12px;
        bottom: 78px;
        width: 52px;
        height: 52px;
    }
}
