/* ===== Header Actions ===== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 15px;
}

/* ===== Header Cart Button ===== */
.header-cart-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 42px;
    min-width: 42px;
    padding: 0 13px;
    border: 1px solid #dfe7e9;
    border-radius: 13px;
    background: #ffffff;
    color: #38545d;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.header-cart-button:hover {
    background: #f7fafb;
    border-color: #cbd9dc;
    color: #294852;
    transform: translateY(-1px);
}

.header-cart-button:active {
    transform: translateY(0);
}

.header-cart-button i {
    font-size: 18px;
    line-height: 1;
}

.header-cart-text {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.header-cart-count {
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 50px;
    background: #3d606a;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

/* ===== Mobile Cart Button (فقط دکمه‌ی موبایل) ===== */
.mobile-cart-button {
    position: relative;
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .header-actions {
        gap: 8px;
        margin-right: 0;
    }

    .header-cart-button {
        width: 40px;
        height: 40px;
        min-width: 40px;
        padding: 0;
        border-radius: 11px;
    }

    .header-cart-text {
        display: none;
    }

    .header-cart-button i {
        font-size: 17px;
    }

    .header-cart-count {
        position: absolute;
        top: -5px;
        right: -5px;
        min-width: 17px;
        height: 17px;
        padding: 0 4px;
        font-size: 9px;
        border: 2px solid #ffffff;
    }
}