.tg-header__actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: auto;
}

.tg-header__action {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border-radius: 6px;
    height: 40px;
    width: auto;
    margin-right: 12px;
}

.tg-header__action:last-child {
    margin-right: 0;
}

.tg-header__action span {
    font-size: 13px;
    color: #1c2126;
    margin: 0;
    padding: 0;
}

.tg-header__action:hover * {
    color: #ebcc00;
}

.tg-header__action svg {
    width: 22px;
    height: 22px;
    stroke: #1c2126;
    stroke-width: 2;
    fill: none;
}

.tg-header__action:hover svg {
    stroke: #ebcc00;
}

.tg-header__action-count {
    position: absolute;
    top: -3px;
    right: 9px;
    background: #ebcc00;
    color: #231f20 !important;
    font-size: 11px !important;
    font-weight: 400;
    border-radius: 50%;
    padding: 2px 5px;
    min-width: 15px;
    height: 15px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.tg-header__action--pulse {
    animation: pulse 0.3s ease-in-out;
}

.tg-header__action-count {
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.tg-header__action:active {
    transform: scale(0.95);
}

@media (max-width: 992px) {

    .tg-header__action span {
        display: none;
    }
    .tg-header__action {
        height: auto;
    }
    .tg-header__action svg {
        width: 27px;
        height: 27px;
    }
    .tg-catalog__btn {
        padding: 10px 8px;
        gap: 5px;
    }
    a.tg-header__logo {
        width: 140px;
    }
}
@media (max-width: 768px) {
    .tg-header__actions {
        gap: 14px;
    }
    span#cartCount {
        display: block;
        left: 10px;
        top: -5px;
    }
    .tg-header__action {
        margin-right: 8px;
        height: auto;
    }

    .tg-header__action:last-child {
        margin-right: 0;
    }

    .tg-header__action span {
        display: none;
    }

    .tg-header__action,.tg-header__menu-btn {
        display: none;
    }

    button.tg-header__action {
        height: 24px;
        width: 100%;
        margin: 0;
        padding: 0;
    }
}

@media (max-width: 480px) {
    .tg-header__action {
        width: 40px;
        height: 40px;
        padding: 8px;
    }

    .tg-header__action svg {
        width: 24px;
        height: 24px;
    }
}
button {
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


