.cart-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}
.custom-quantity {
    display: flex;
    align-items: center;
    background: #f3f4f6;
    border-radius: 8px;
    overflow: hidden;
}
.custom-quantity button {
    background: #e5e7eb;
    border: none;
    padding: 8px;
    cursor: pointer;
    transition: background 0.2s;
}
.custom-quantity button:hover {
    background: #d1d5db;
}
.custom-quantity svg {
    width: 20px;
    height: 20px;
}
.custom-quantity input.qty {
    width: 50px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 15px;
    padding: 8px 0;
}
form.cart .single_add_to_cart_button {
    background: linear-gradient(90deg, #ff6b6b, #c0392b) !important;
    color: #fff !important;
    padding: 0 20px !important;
    border-radius: 8px !important;
    border: none !important;
    font-family: 'YekanBakhFaNum-Light', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important; /* تراز عمودی وسط */
    justify-content: center !important; /* تراز افقی وسط */
    gap: 8px !important;
    height: 38px !important; /* هم‌تراز با custom-quantity */
    line-height: 1 !important;
    text-align: center !important;
    box-sizing: border-box !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-radius 0.3s ease !important;
}
form.cart .single_add_to_cart_button:hover {
    background: linear-gradient(90deg, #ff8787, #e74c3c) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.4) !important;
}
form.cart .single_add_to_cart_button:active {
    background: linear-gradient(90deg, #e74c3c, #a1281f) !important;
    transform: scaleX(1.2) scaleY(0.9) !important; /* افکت دمبل */
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3) !important;
    transition: transform 0.2s ease, border-radius 0.2s ease !important;
}
form.cart .single_add_to_cart_button svg.cart-icon {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
    margin: 0 !important; /* حذف حاشیه‌های احتمالی */
}
form.cart .single_add_to_cart_button span {
    font-size: 14px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
form.cart .single_add_to_cart_button:active svg.cart-icon {
    transform: rotate(20deg) !important;
}
@media (max-width: 768px) {
    form.cart .single_add_to_cart_button {
        padding: 0 16px !important;
        font-size: 13px !important;
        height: 34px !important;
    }
    form.cart .single_add_to_cart_button svg.cart-icon {
        width: 16px !important;
        height: 16px !important;
    }
    form.cart .single_add_to_cart_button span {
        font-size: 13px !important;
    }
}